@univerjs-pro/sheets-pivot-ui 0.4.2 → 0.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -0
- package/lib/cjs/locale/fa-IR.js +1 -0
- package/lib/cjs/locale/ru-RU.js +1 -0
- package/lib/cjs/locale/vi-VN.js +1 -0
- package/lib/cjs/locale/zh-CN.js +1 -0
- package/lib/cjs/locale/zh-TW.js +1 -0
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -0
- package/lib/es/locale/fa-IR.js +1 -0
- package/lib/es/locale/ru-RU.js +1 -0
- package/lib/es/locale/vi-VN.js +1 -0
- package/lib/es/locale/zh-CN.js +1 -0
- package/lib/es/locale/zh-TW.js +1 -0
- package/lib/types/index.d.ts +63 -15
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -0
- package/lib/umd/locale/fa-IR.js +1 -0
- package/lib/umd/locale/ru-RU.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -0
- package/lib/umd/locale/zh-CN.js +1 -0
- package/lib/umd/locale/zh-TW.js +1 -0
- package/package.json +37 -28
- package/lib/locale/en-US.json +0 -100
- package/lib/locale/fa-IR.json +0 -100
- package/lib/locale/ru-RU.json +0 -100
- package/lib/locale/vi-VN.json +0 -100
- package/lib/locale/zh-CN.json +0 -100
- package/lib/locale/zh-TW.json +0 -100
- package/lib/types/commands/commands/add-pivot-field.command.d.ts +0 -3
- package/lib/types/commands/commands/add-pivot-table.command.d.ts +0 -3
- package/lib/types/commands/commands/move-pivot-field.command.d.ts +0 -3
- package/lib/types/commands/commands/pivot-drill-down.command.d.ts +0 -3
- package/lib/types/commands/commands/remove-pivot-field.command.d.ts +0 -3
- package/lib/types/commands/commands/set-pivot-collapse.command.d.ts +0 -3
- package/lib/types/commands/commands/set-pivot-filter.command.d.ts +0 -3
- package/lib/types/commands/commands/set-pivot-sort.command.d.ts +0 -3
- package/lib/types/commands/commands/update-pivot-setting.command.d.ts +0 -3
- package/lib/types/commands/commands/update-pivot-source.command.d.ts +0 -3
- package/lib/types/commands/commands/update-value-position.command.d.ts +0 -3
- package/lib/types/commands/operations/open-pivot-filter-panel.operation.d.ts +0 -3
- package/lib/types/commands/operations/open-pivot-range-panel.operation.d.ts +0 -2
- package/lib/types/commands/operations/open-pivot-setting-dialog.operation.d.ts +0 -3
- package/lib/types/commands/operations/open-pivot-table-panel.operation.d.ts +0 -3
- package/lib/types/const.d.ts +0 -18
- package/lib/types/controllers/config.schema.d.ts +0 -7
- package/lib/types/controllers/menu.schema.d.ts +0 -2
- package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +0 -12
- package/lib/types/controllers/sheets-pivot-confirm.controller.d.ts +0 -19
- package/lib/types/controllers/sheets-pivot-edit.controller.d.ts +0 -13
- package/lib/types/controllers/sheets-pivot-menu.controller.d.ts +0 -9
- package/lib/types/controllers/sheets-pivot-paint-format.controller.d.ts +0 -12
- package/lib/types/controllers/sheets-pivot-panel.controller.d.ts +0 -23
- package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +0 -7
- package/lib/types/controllers/sheets-pivot-print.controller.d.ts +0 -10
- package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +0 -22
- package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +0 -9
- package/lib/types/controllers/sheets-pivot-render.controller.d.ts +0 -21
- package/lib/types/controllers/sheets-pivot-toolbar.controller.d.ts +0 -10
- package/lib/types/locale/en-US.d.ts +0 -3
- package/lib/types/locale/fa-IR.d.ts +0 -3
- package/lib/types/locale/ru-RU.d.ts +0 -3
- package/lib/types/locale/vi-VN.d.ts +0 -3
- package/lib/types/locale/zh-CN.d.ts +0 -101
- package/lib/types/locale/zh-TW.d.ts +0 -3
- package/lib/types/plugin.d.ts +0 -19
- package/lib/types/services/sheets-pivot-ui.service.d.ts +0 -45
- package/lib/types/type.d.ts +0 -100
- package/lib/types/util.d.ts +0 -11
- package/lib/types/views/components/PivotFilterPanel.d.ts +0 -9
- package/lib/types/views/components/PivotNumfmtDialog.d.ts +0 -13
- package/lib/types/views/components/PivotPanel.d.ts +0 -19
- package/lib/types/views/components/PivotPanelArea.d.ts +0 -19
- package/lib/types/views/components/PivotPanelSourceRange.d.ts +0 -10
- package/lib/types/views/components/PivotSourceList.d.ts +0 -18
- package/lib/types/views/components/PivotTableRangeSelector.d.ts +0 -24
- package/lib/types/views/components/SettingDialog.d.ts +0 -14
- package/lib/types/views/components/const.d.ts +0 -24
- package/lib/types/views/components/util.d.ts +0 -87
- package/lib/types/views/menu.d.ts +0 -3
- package/lib/types/views/widgets/drawing.d.ts +0 -8
- package/lib/types/views/widgets/icons.d.ts +0 -5
- package/lib/types/views/widgets/pivot-button.shape.d.ts +0 -35
package/README.md
CHANGED
@@ -1 +1,33 @@
|
|
1
|
-
# @univerjs/sheet-pivot-ui
|
1
|
+
# @univerjs/sheet-pivot-ui
|
2
|
+
|
3
|
+
|
4
|
+
[](https://npmjs.org/packages/@univerjs/sheet-pivot)
|
5
|
+
[](https://img.shields.io/npm/l/@univerjs/sheet-pivot)
|
6
|
+

|
7
|
+

|
8
|
+
|
9
|
+
## Introduction
|
10
|
+
|
11
|
+
A pivot table is a powerful data analysis tool used for quickly and dynamically summarizing and analyzing large volumes of data. It allows users to group, filter, sort, and aggregate raw data across different dimensions, revealing patterns and trends within the data. By dragging and dropping fields to define rows, columns, and values, users can create cross-tabulated tables for multi-level data summarization. Common functions include sum, count, average, maximum/minimum, and more, enabling users to derive valuable insights from complex data. Pivot tables are ideal for scenarios such as financial analysis, business monitoring, and sales data reporting.
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
### Installation
|
16
|
+
|
17
|
+
```shell
|
18
|
+
# Using npm
|
19
|
+
npm install @univerjs/sheet-pivot-ui @univerjs/sheet-pivot
|
20
|
+
|
21
|
+
# Using pnpm
|
22
|
+
pnpm add @univerjs/sheet-pivot-ui @univerjs/sheet-pivot
|
23
|
+
```
|
24
|
+
|
25
|
+
### Import
|
26
|
+
|
27
|
+
```ts
|
28
|
+
import { UniverSheetsPivotTablePlugin } from '@univerjs-pro/sheets-pivot';
|
29
|
+
import { UniverSheetsPivotTableUIPlugin } from '@univerjs-pro/sheets-pivot-ui';
|
30
|
+
|
31
|
+
univer.registerPlugin(UniverSheetsPivotTablePlugin);
|
32
|
+
univer.registerPlugin(UniverSheetsPivotTableUIPlugin);
|
33
|
+
```
|