mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
42 lines
1.4 KiB
Markdown
42 lines
1.4 KiB
Markdown
# @univerjs/sheets-sort-ui
|
|
|
|
[](https://npmjs.com/package/@univerjs/sheets-sort-ui)
|
|
[](https://npmjs.com/package/@univerjs/sheets-sort-ui)
|
|
[](https://npmjs.com/package/@univerjs/sheets-sort-ui)
|
|
|
|
`@univerjs/sheets-sort-ui` adds sorting menus and panels for Univer Sheets.
|
|
|
|
## Package Overview
|
|
|
|
| Package | UMD global | CSS | Locales | Facade entry |
|
|
| --- | --- | :---: | :---: | :---: |
|
|
| `@univerjs/sheets-sort-ui` | `UniverSheetsSortUi` | Yes | Yes | No |
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
pnpm add @univerjs/sheets-sort-ui
|
|
# or
|
|
npm install @univerjs/sheets-sort-ui
|
|
```
|
|
|
|
Keep all `@univerjs/*` packages on the same version.
|
|
|
|
## Usage
|
|
|
|
```ts
|
|
import '@univerjs/sheets-sort-ui/lib/index.css';
|
|
import EnUS from '@univerjs/sheets-sort-ui/locale/en-US';
|
|
import { UniverSheetsSortUIPlugin } from '@univerjs/sheets-sort-ui';
|
|
|
|
univer.registerPlugin(UniverSheetsSortUIPlugin);
|
|
|
|
// Merge EnUS into your Univer locale map when this package contributes UI text.
|
|
```
|
|
|
|
## Resources
|
|
|
|
- [Documentation](https://docs.univer.ai)
|
|
- [NPM package](https://npmjs.com/package/@univerjs/sheets-sort-ui)
|
|
- [GitHub repository](https://github.com/dream-num/univer)
|