@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.
Files changed (84) hide show
  1. package/README.md +33 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -0
  4. package/lib/cjs/locale/fa-IR.js +1 -0
  5. package/lib/cjs/locale/ru-RU.js +1 -0
  6. package/lib/cjs/locale/vi-VN.js +1 -0
  7. package/lib/cjs/locale/zh-CN.js +1 -0
  8. package/lib/cjs/locale/zh-TW.js +1 -0
  9. package/lib/es/index.js +1 -1
  10. package/lib/es/locale/en-US.js +1 -0
  11. package/lib/es/locale/fa-IR.js +1 -0
  12. package/lib/es/locale/ru-RU.js +1 -0
  13. package/lib/es/locale/vi-VN.js +1 -0
  14. package/lib/es/locale/zh-CN.js +1 -0
  15. package/lib/es/locale/zh-TW.js +1 -0
  16. package/lib/types/index.d.ts +63 -15
  17. package/lib/umd/index.js +1 -1
  18. package/lib/umd/locale/en-US.js +1 -0
  19. package/lib/umd/locale/fa-IR.js +1 -0
  20. package/lib/umd/locale/ru-RU.js +1 -0
  21. package/lib/umd/locale/vi-VN.js +1 -0
  22. package/lib/umd/locale/zh-CN.js +1 -0
  23. package/lib/umd/locale/zh-TW.js +1 -0
  24. package/package.json +37 -28
  25. package/lib/locale/en-US.json +0 -100
  26. package/lib/locale/fa-IR.json +0 -100
  27. package/lib/locale/ru-RU.json +0 -100
  28. package/lib/locale/vi-VN.json +0 -100
  29. package/lib/locale/zh-CN.json +0 -100
  30. package/lib/locale/zh-TW.json +0 -100
  31. package/lib/types/commands/commands/add-pivot-field.command.d.ts +0 -3
  32. package/lib/types/commands/commands/add-pivot-table.command.d.ts +0 -3
  33. package/lib/types/commands/commands/move-pivot-field.command.d.ts +0 -3
  34. package/lib/types/commands/commands/pivot-drill-down.command.d.ts +0 -3
  35. package/lib/types/commands/commands/remove-pivot-field.command.d.ts +0 -3
  36. package/lib/types/commands/commands/set-pivot-collapse.command.d.ts +0 -3
  37. package/lib/types/commands/commands/set-pivot-filter.command.d.ts +0 -3
  38. package/lib/types/commands/commands/set-pivot-sort.command.d.ts +0 -3
  39. package/lib/types/commands/commands/update-pivot-setting.command.d.ts +0 -3
  40. package/lib/types/commands/commands/update-pivot-source.command.d.ts +0 -3
  41. package/lib/types/commands/commands/update-value-position.command.d.ts +0 -3
  42. package/lib/types/commands/operations/open-pivot-filter-panel.operation.d.ts +0 -3
  43. package/lib/types/commands/operations/open-pivot-range-panel.operation.d.ts +0 -2
  44. package/lib/types/commands/operations/open-pivot-setting-dialog.operation.d.ts +0 -3
  45. package/lib/types/commands/operations/open-pivot-table-panel.operation.d.ts +0 -3
  46. package/lib/types/const.d.ts +0 -18
  47. package/lib/types/controllers/config.schema.d.ts +0 -7
  48. package/lib/types/controllers/menu.schema.d.ts +0 -2
  49. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +0 -12
  50. package/lib/types/controllers/sheets-pivot-confirm.controller.d.ts +0 -19
  51. package/lib/types/controllers/sheets-pivot-edit.controller.d.ts +0 -13
  52. package/lib/types/controllers/sheets-pivot-menu.controller.d.ts +0 -9
  53. package/lib/types/controllers/sheets-pivot-paint-format.controller.d.ts +0 -12
  54. package/lib/types/controllers/sheets-pivot-panel.controller.d.ts +0 -23
  55. package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +0 -7
  56. package/lib/types/controllers/sheets-pivot-print.controller.d.ts +0 -10
  57. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +0 -22
  58. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +0 -9
  59. package/lib/types/controllers/sheets-pivot-render.controller.d.ts +0 -21
  60. package/lib/types/controllers/sheets-pivot-toolbar.controller.d.ts +0 -10
  61. package/lib/types/locale/en-US.d.ts +0 -3
  62. package/lib/types/locale/fa-IR.d.ts +0 -3
  63. package/lib/types/locale/ru-RU.d.ts +0 -3
  64. package/lib/types/locale/vi-VN.d.ts +0 -3
  65. package/lib/types/locale/zh-CN.d.ts +0 -101
  66. package/lib/types/locale/zh-TW.d.ts +0 -3
  67. package/lib/types/plugin.d.ts +0 -19
  68. package/lib/types/services/sheets-pivot-ui.service.d.ts +0 -45
  69. package/lib/types/type.d.ts +0 -100
  70. package/lib/types/util.d.ts +0 -11
  71. package/lib/types/views/components/PivotFilterPanel.d.ts +0 -9
  72. package/lib/types/views/components/PivotNumfmtDialog.d.ts +0 -13
  73. package/lib/types/views/components/PivotPanel.d.ts +0 -19
  74. package/lib/types/views/components/PivotPanelArea.d.ts +0 -19
  75. package/lib/types/views/components/PivotPanelSourceRange.d.ts +0 -10
  76. package/lib/types/views/components/PivotSourceList.d.ts +0 -18
  77. package/lib/types/views/components/PivotTableRangeSelector.d.ts +0 -24
  78. package/lib/types/views/components/SettingDialog.d.ts +0 -14
  79. package/lib/types/views/components/const.d.ts +0 -24
  80. package/lib/types/views/components/util.d.ts +0 -87
  81. package/lib/types/views/menu.d.ts +0 -3
  82. package/lib/types/views/widgets/drawing.d.ts +0 -8
  83. package/lib/types/views/widgets/icons.d.ts +0 -5
  84. 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
+ [![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
+ ```