@univerjs-pro/sheets-pivot-ui 0.4.1 → 0.4.2-nightly.202410301606

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.
Files changed (51) hide show
  1. package/README.md +33 -1
  2. package/lib/es/index.js +1 -1
  3. package/lib/locale/en-US.js +1 -0
  4. package/lib/locale/fa-IR.js +1 -0
  5. package/lib/locale/ru-RU.js +1 -0
  6. package/lib/locale/vi-VN.js +1 -0
  7. package/lib/locale/zh-CN.js +1 -0
  8. package/lib/locale/zh-TW.js +1 -0
  9. package/lib/types/const.d.ts +0 -1
  10. package/lib/types/controllers/sheets-pivot-confirm.controller.d.ts +1 -3
  11. package/lib/types/controllers/sheets-pivot-intercept-ui.controller.d.ts +16 -0
  12. package/lib/types/controllers/sheets-pivot-render.controller.d.ts +1 -1
  13. package/lib/types/index.d.ts +0 -10
  14. package/lib/types/type.d.ts +2 -72
  15. package/lib/types/util.d.ts +1 -4
  16. package/lib/types/views/components/PivotFilterPanel.d.ts +1 -1
  17. package/lib/types/views/components/PivotSourceList.d.ts +1 -1
  18. package/lib/types/views/components/util.d.ts +1 -1
  19. package/lib/types/views/menu.d.ts +1 -1
  20. package/lib/types/views/widgets/pivot-button.shape.d.ts +2 -2
  21. package/lib/umd/index.js +1 -1
  22. package/lib/umd/locale/en-US.js +1 -0
  23. package/lib/umd/locale/fa-IR.js +1 -0
  24. package/lib/umd/locale/ru-RU.js +1 -0
  25. package/lib/umd/locale/vi-VN.js +1 -0
  26. package/lib/umd/locale/zh-CN.js +1 -0
  27. package/lib/umd/locale/zh-TW.js +1 -0
  28. package/package.json +30 -28
  29. package/lib/cjs/index.js +0 -1
  30. package/lib/locale/en-US.json +0 -100
  31. package/lib/locale/fa-IR.json +0 -100
  32. package/lib/locale/ru-RU.json +0 -100
  33. package/lib/locale/vi-VN.json +0 -100
  34. package/lib/locale/zh-CN.json +0 -100
  35. package/lib/locale/zh-TW.json +0 -100
  36. package/lib/types/commands/commands/add-pivot-field.command.d.ts +0 -3
  37. package/lib/types/commands/commands/add-pivot-table.command.d.ts +0 -3
  38. package/lib/types/commands/commands/move-pivot-field.command.d.ts +0 -3
  39. package/lib/types/commands/commands/pivot-drill-down.command.d.ts +0 -3
  40. package/lib/types/commands/commands/remove-pivot-field.command.d.ts +0 -3
  41. package/lib/types/commands/commands/set-pivot-collapse.command.d.ts +0 -3
  42. package/lib/types/commands/commands/set-pivot-filter.command.d.ts +0 -3
  43. package/lib/types/commands/commands/set-pivot-sort.command.d.ts +0 -3
  44. package/lib/types/commands/commands/update-pivot-setting.command.d.ts +0 -3
  45. package/lib/types/commands/commands/update-pivot-source.command.d.ts +0 -3
  46. package/lib/types/commands/commands/update-value-position.command.d.ts +0 -3
  47. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +0 -12
  48. package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +0 -7
  49. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +0 -22
  50. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +0 -9
  51. package/lib/types/services/sheets-pivot-ui.service.d.ts +0 -45
package/README.md CHANGED
@@ -1 +1,33 @@
1
- # @univerjs/sheet-pivot-ui
1
+ # @univerjs/sheet-pivot-ui
2
+
3
+
4
+ [![npm version](https://img.shields.io/npm/v/@univerjs/sheet-pivot)](https://npmjs.org/packages/@univerjs/sheet-pivot)
5
+ [![license](https://img.shields.io/npm/l/@univerjs/sheet-pivot)](https://img.shields.io/npm/l/@univerjs/sheet-pivot)
6
+ ![CSS Included](https://img.shields.io/badge/CSS_Included-blue?logo=CSS3)
7
+ ![i18n](https://img.shields.io/badge/zh--CN%20%7C%20en--US-cornflowerblue?label=i18n)
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
+ ```