@univerjs-pro/sheets-pivot-ui 0.17.0 → 0.18.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 (92) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.css +542 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/sk-SK.js +1 -1
  38. package/lib/locale/vi-VN.js +1 -1
  39. package/lib/locale/zh-CN.js +1 -1
  40. package/lib/locale/zh-TW.js +1 -1
  41. package/lib/types/commands/operations/open-pivot-filter-panel.operation.d.ts +2 -2
  42. package/lib/types/commands/operations/open-pivot-range-panel.operation.d.ts +1 -1
  43. package/lib/types/commands/operations/open-pivot-setting-dialog.operation.d.ts +2 -2
  44. package/lib/types/commands/operations/open-pivot-table-panel.operation.d.ts +2 -2
  45. package/lib/types/controllers/config.schema.d.ts +1 -1
  46. package/lib/types/controllers/menu.schema.d.ts +1 -1
  47. package/lib/types/controllers/sheets-pivot-clipboard.controller.d.ts +10 -0
  48. package/lib/types/controllers/sheets-pivot-panel.controller.d.ts +1 -1
  49. package/lib/types/controllers/sheets-pivot-render.controller.d.ts +3 -2
  50. package/lib/types/controllers/sheets-pivot-selection.controller.d.ts +3 -2
  51. package/lib/types/locale/ca-ES.d.ts +1 -1
  52. package/lib/types/locale/es-ES.d.ts +1 -1
  53. package/lib/types/locale/fa-IR.d.ts +1 -1
  54. package/lib/types/locale/fr-FR.d.ts +1 -1
  55. package/lib/types/locale/ja-JP.d.ts +1 -1
  56. package/lib/types/locale/ko-KR.d.ts +1 -1
  57. package/lib/types/locale/ru-RU.d.ts +1 -1
  58. package/lib/types/locale/sk-SK.d.ts +1 -1
  59. package/lib/types/locale/vi-VN.d.ts +1 -1
  60. package/lib/types/locale/zh-CN.d.ts +1 -1
  61. package/lib/types/locale/zh-TW.d.ts +1 -1
  62. package/lib/types/plugin.d.ts +1 -1
  63. package/lib/types/type.d.ts +2 -2
  64. package/lib/types/util.d.ts +1 -1
  65. package/lib/types/views/components/PivotDnd.d.ts +1 -1
  66. package/lib/types/views/components/PivotFilterPanel.d.ts +1 -1
  67. package/lib/types/views/components/PivotNumfmtDialog.d.ts +1 -1
  68. package/lib/types/views/components/PivotPanel.d.ts +3 -3
  69. package/lib/types/views/components/PivotPanelArea.d.ts +1 -1
  70. package/lib/types/views/components/PivotPanelSourceRange.d.ts +1 -1
  71. package/lib/types/views/components/PivotSourceList.d.ts +1 -1
  72. package/lib/types/views/components/PivotTableRangeSelector.d.ts +1 -1
  73. package/lib/types/views/components/SettingDialog.d.ts +1 -1
  74. package/lib/types/views/components/util.d.ts +4 -3
  75. package/lib/types/views/menu.d.ts +2 -2
  76. package/lib/types/views/widgets/drawing.d.ts +1 -1
  77. package/lib/types/views/widgets/pivot-button.shape.d.ts +2 -1
  78. package/lib/types/views/widgets/pivot-move.shape.d.ts +2 -1
  79. package/lib/umd/index.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/en-US.js +1 -1
  82. package/lib/umd/locale/es-ES.js +1 -1
  83. package/lib/umd/locale/fa-IR.js +1 -1
  84. package/lib/umd/locale/fr-FR.js +1 -1
  85. package/lib/umd/locale/ja-JP.js +1 -1
  86. package/lib/umd/locale/ko-KR.js +1 -1
  87. package/lib/umd/locale/ru-RU.js +1 -1
  88. package/lib/umd/locale/sk-SK.js +1 -1
  89. package/lib/umd/locale/vi-VN.js +1 -1
  90. package/lib/umd/locale/zh-CN.js +1 -1
  91. package/lib/umd/locale/zh-TW.js +1 -1
  92. package/package.json +17 -16
@@ -1 +1 @@
1
- const _0x4ac805=_0x1c0f;function _0x1c0f(_0x3a978a,_0x2fddbb){_0x3a978a=_0x3a978a-0xd0;const _0x26c96e=_0x26c9();let _0x1c0f00=_0x26c96e[_0x3a978a];return _0x1c0f00;}function _0x26c9(){const _0x3256c6=['會計數字格式可對一欄數值進行貨幣符號和小數點對齊。','無法編輯受保護的工作表中的數據透視表','拖動字段到以下區域','目標區域中已有數據,該操作將覆蓋原有數據,是否繼續?','無法對所選單元格進行此更改,因為它會影響資料透視表。請使用字段列表更改報表。如果您試圖插入或刪除單元格,請移動資料透視表,然後再試。','添加到欄','移動到列','152736EzDpGO','匯總方式','不能和源數據重疊','拖動字段填充為欄','字段名稱','列和欄的計算結果','最小值','(空白)','數值計數','字段設置','現有工作表','常規格式不包含任何特定的數字格式。','請選擇數據源','拖動字段填充為列','格式類型','數字格式','數據源範圍','平均值','5401YLvZPF','191619iUhWjY','數據源','Σ數值','4973478eLSpxy','最大值','移除字段','6eaRgSs','篩選字段','插入數據透視表','清除篩選','6tHWoxY','數據源字段','添加到篩選','日期格式將日期和時間系列數值顯示為日期值。','4377540FuNyia','新工作表','千分位符','貨幣類型','標準差','190769kozCVJ','4ncCQBU','源字段名:','移動到欄','無效的數據大小','11552320jDWPQN','總體標準差','資料透視表','430JMGrOS','數據源已經更新','11718329csnyTS'];_0x26c9=function(){return _0x3256c6;};return _0x26c9();}(function(_0x56a68c,_0x538a74){const _0x2e567c=_0x1c0f,_0x29709f=_0x56a68c();while(!![]){try{const _0x591850=-parseInt(_0x2e567c(0xd7))/0x1*(-parseInt(_0x2e567c(0x106))/0x2)+-parseInt(_0x2e567c(0xff))/0x3*(-parseInt(_0x2e567c(0xd8))/0x4)+parseInt(_0x2e567c(0xd2))/0x5+-parseInt(_0x2e567c(0x102))/0x6*(-parseInt(_0x2e567c(0xe1))/0x7)+parseInt(_0x2e567c(0xdc))/0x8+-parseInt(_0x2e567c(0xfc))/0x9*(-parseInt(_0x2e567c(0xdf))/0xa)+-parseInt(_0x2e567c(0xfb))/0xb*(parseInt(_0x2e567c(0xe9))/0xc);if(_0x591850===_0x538a74)break;else _0x29709f['push'](_0x29709f['shift']());}catch(_0x1e551c){_0x29709f['push'](_0x29709f['shift']());}}}(_0x26c9,0xd93c1));const e={'sheets-pivot-panel':{'title':_0x4ac805(0xde),'sourceRangeLabel':_0x4ac805(0xfd),'sourceRangePlaceholder':_0x4ac805(0xe0),'sourceFieldTile':_0x4ac805(0x107),'sourceFieldDescription':_0x4ac805(0xe4),'filter':'篩選','column':'欄','row':'列','value':'值','multipleValue':_0x4ac805(0xfe),'filterDesc':'拖入字段篩選數據','columnDesc':_0x4ac805(0xec),'rowDesc':_0x4ac805(0xf6),'valueDesc':_0x4ac805(0xee),'addToFilter':_0x4ac805(0xd0),'addToColumn':_0x4ac805(0xe7),'addToRow':'添加到列','addToValue':'添加到值','removeField':_0x4ac805(0x101),'filterField':_0x4ac805(0x103),'fieldSettings':_0x4ac805(0xf2),'moveToRow':_0x4ac805(0xe8),'moveToColumn':_0x4ac805(0xda),'dialog':{'fieldName':_0x4ac805(0xed),'sourceName':_0x4ac805(0xd9),'summarizeBy':_0x4ac805(0xea),'format':_0x4ac805(0xf8),'ok':'確定','cancel':'取消','filter':{'ascending':'升序','descending':'降序','selectAll':'全選','clearFilter':_0x4ac805(0x105),'blank':_0x4ac805(0xf0),'cancel':'取消','confirm':'確定'},'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x4ac805(0xd4),'fieldSetting':_0x4ac805(0xf2),'formatTypes':_0x4ac805(0xf7),'confirm':'確定','cancel':'取消','generalDesc':_0x4ac805(0xf4),'accountingDesc':_0x4ac805(0xe2),'currencyDesc':'貨幣格式用於表示一般貨幣數值,會計格式可以對一欄數值進行小數點對齊。','dateDesc':_0x4ac805(0xd1),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':'小數位數','currencyTypes':_0x4ac805(0xd5),'negativeNumberTypes':'負數類型','dateTypes':'日期類型'},'source':{'insertPivotTable':_0x4ac805(0x104),'sourceData':_0x4ac805(0xf9),'position':'透視表放置位置','newSheet':_0x4ac805(0xd3),'existingSheet':_0x4ac805(0xf3),'intersect':_0x4ac805(0xeb)}},'subtotal':{'average':_0x4ac805(0xfa),'count':'計數','countNums':_0x4ac805(0xf1),'max':_0x4ac805(0x100),'min':_0x4ac805(0xef),'product':'乘積','stdDev':_0x4ac805(0xd6),'stdDevp':_0x4ac805(0xdd),'sum':'求和','var':'方差','varp':'總體方差'},'subTotalText':'匯總','grandTotalText':'總計','perform':{'tips':'提示','info':_0x4ac805(0xe5),'confirm':'確認','cancel':'取消','rowColError':_0x4ac805(0xe6)},'msg':{'emptySourceRange':_0x4ac805(0xf5),'invalidSize':_0x4ac805(0xdb),'mergeCellError':'合併單元格無法插入數據透視表','editCellError':'無法編輯數據透視表中的單元格','permissionError':_0x4ac805(0xe3)}}};export{e as default};
1
+ const _0x4b18ec=_0x5079;(function(_0x5607a4,_0x16fa84){const _0x2d9b4b=_0x5079,_0x2a218d=_0x5607a4();while(!![]){try{const _0x35784a=-parseInt(_0x2d9b4b(0x11b))/0x1+-parseInt(_0x2d9b4b(0xf8))/0x2+parseInt(_0x2d9b4b(0xf0))/0x3*(-parseInt(_0x2d9b4b(0x10c))/0x4)+-parseInt(_0x2d9b4b(0x11a))/0x5+-parseInt(_0x2d9b4b(0xff))/0x6+parseInt(_0x2d9b4b(0x107))/0x7*(parseInt(_0x2d9b4b(0xf9))/0x8)+parseInt(_0x2d9b4b(0xea))/0x9;if(_0x35784a===_0x16fa84)break;else _0x2a218d['push'](_0x2a218d['shift']());}catch(_0x2b9885){_0x2a218d['push'](_0x2a218d['shift']());}}}(_0x51e6,0xf100d));function _0x51e6(){const _0x1cc7f4=['標準差','Σ數值','9777030ECQvZd','拖動字段填充為欄','移動到列','不能和源數據重疊','(空白)','資料透視表','篩選字段','無效的數據大小','2868845KdnnrD','貨幣格式用於表示一般貨幣數值,會計格式可以對一欄數值進行小數點對齊。','數據源範圍','移動到欄','插入數據透視表','36212iGUxZL','添加到欄','數據源已經更新','拖動字段到以下區域','總體方差','格式類型','小數位數','移除字段','目標區域中已有數據,該操作將覆蓋原有數據,是否繼續?','列和欄的計算結果','無法編輯數據透視表中的單元格','源字段名:','添加到列','最大值','1707010jEoXnN','1132449RIkdCG','日期格式將日期和時間系列數值顯示為日期值。','清除篩選','總體標準差','平均值','合併單元格無法插入數據透視表','會計數字格式可對一欄數值進行貨幣符號和小數點對齊。','54094158ZSafHf','拖入字段篩選數據','拖動字段填充為列','貨幣類型','新工作表','日期類型','453nHuIju','最小值','千分位符','無法編輯受保護的工作表中的數據透視表','字段設置','無法對所選單元格進行此更改,因為它會影響資料透視表。請使用字段列表更改報表。如果您試圖插入或刪除單元格,請移動資料透視表,然後再試。','添加到篩選','字段名稱','1925578IuAvXJ','8FvVtgz','數值計數','添加到值','匯總方式'];_0x51e6=function(){return _0x1cc7f4;};return _0x51e6();}const e={'sheets-pivot-panel':{'title':_0x4b18ec(0x104),'sourceRangeLabel':'數據源','sourceRangePlaceholder':_0x4b18ec(0x10e),'sourceFieldTile':'數據源字段','sourceFieldDescription':_0x4b18ec(0x10f),'filter':'篩選','column':'欄','row':'列','value':'值','multipleValue':_0x4b18ec(0xfe),'filterDesc':_0x4b18ec(0xeb),'columnDesc':_0x4b18ec(0x100),'rowDesc':_0x4b18ec(0xec),'valueDesc':_0x4b18ec(0x115),'addToFilter':_0x4b18ec(0xf6),'addToColumn':_0x4b18ec(0x10d),'addToRow':_0x4b18ec(0x118),'addToValue':_0x4b18ec(0xfb),'removeField':_0x4b18ec(0x113),'filterField':_0x4b18ec(0x105),'fieldSettings':_0x4b18ec(0xf4),'moveToRow':_0x4b18ec(0x101),'moveToColumn':_0x4b18ec(0x10a),'dialog':{'fieldName':_0x4b18ec(0xf7),'sourceName':_0x4b18ec(0x117),'summarizeBy':_0x4b18ec(0xfc),'format':'數字格式','ok':'確定','cancel':'取消','filter':{'ascending':'升序','descending':'降序','selectAll':'全選','clearFilter':_0x4b18ec(0x11d),'blank':_0x4b18ec(0x103),'cancel':'取消','confirm':'確定'},'numfmt':{'general':'常規','accounting':'會計','currency':'貨幣','date':'日期','thousandthPercentile':_0x4b18ec(0xf2),'fieldSetting':'字段設置','formatTypes':_0x4b18ec(0x111),'confirm':'確定','cancel':'取消','generalDesc':'常規格式不包含任何特定的數字格式。','accountingDesc':_0x4b18ec(0xe9),'currencyDesc':_0x4b18ec(0x108),'dateDesc':_0x4b18ec(0x11c),'thousandthPercentileDesc':'千分位符格式用於一般數字的表示,貨幣和會計格式則提供貨幣值計算的專用格式。','decimalPlaces':_0x4b18ec(0x112),'currencyTypes':_0x4b18ec(0xed),'negativeNumberTypes':'負數類型','dateTypes':_0x4b18ec(0xef)},'source':{'insertPivotTable':_0x4b18ec(0x10b),'sourceData':_0x4b18ec(0x109),'position':'透視表放置位置','newSheet':_0x4b18ec(0xee),'existingSheet':'現有工作表','intersect':_0x4b18ec(0x102)}},'subtotal':{'average':_0x4b18ec(0xe7),'count':'計數','countNums':_0x4b18ec(0xfa),'max':_0x4b18ec(0x119),'min':_0x4b18ec(0xf1),'product':'乘積','stdDev':_0x4b18ec(0xfd),'stdDevp':_0x4b18ec(0x11e),'sum':'求和','var':'方差','varp':_0x4b18ec(0x110)},'subTotalText':'匯總','grandTotalText':'總計','perform':{'tips':'提示','info':_0x4b18ec(0x114),'confirm':'確認','cancel':'取消','rowColError':_0x4b18ec(0xf5)},'msg':{'emptySourceRange':'請選擇數據源','invalidSize':_0x4b18ec(0x106),'mergeCellError':_0x4b18ec(0xe8),'editCellError':_0x4b18ec(0x116),'permissionError':_0x4b18ec(0xf3)}}};function _0x5079(_0x279561,_0x15e797){_0x279561=_0x279561-0xe7;const _0x51e6c9=_0x51e6();let _0x507975=_0x51e6c9[_0x279561];return _0x507975;}export{e as default};
@@ -1,3 +1,3 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { IOpenPivotTableFilterPanelOperationParams } from '../../type';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { IOpenPivotTableFilterPanelOperationParams } from '../../type';
3
3
  export declare const OpenPivotTableFilterPanelOperation: ICommand<IOpenPivotTableFilterPanelOperationParams>;
@@ -1,2 +1,2 @@
1
- import { ICommand } from '@univerjs/core';
1
+ import type { ICommand } from '@univerjs/core';
2
2
  export declare const OpenPivotTableRangeSelectorPanelOperation: ICommand;
@@ -1,3 +1,3 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { IOpenPivotTableFieldSettingDialogOperationParams } from '../../type';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { IOpenPivotTableFieldSettingDialogOperationParams } from '../../type';
3
3
  export declare const OpenPivotTableFieldSettingDialogOperation: ICommand<IOpenPivotTableFieldSettingDialogOperationParams>;
@@ -1,3 +1,3 @@
1
- import { ICommand } from '@univerjs/core';
2
- import { IOpenPivotTablePanelOperationParams } from '../../type';
1
+ import type { ICommand } from '@univerjs/core';
2
+ import type { IOpenPivotTablePanelOperationParams } from '../../type';
3
3
  export declare const OpenPivotTablePanelOperation: ICommand<IOpenPivotTablePanelOperationParams>;
@@ -1,4 +1,4 @@
1
- import { MenuConfig } from '@univerjs/ui';
1
+ import type { MenuConfig } from '@univerjs/ui';
2
2
  export declare const SHEETS_PIVOT_UI_PLUGIN_CONFIG_KEY = "sheets-pivot-ui.config";
3
3
  export declare const configSymbol: unique symbol;
4
4
  export interface IUniverSheetsPivotUIConfig {
@@ -1,2 +1,2 @@
1
- import { MenuSchemaType } from '@univerjs/ui';
1
+ import type { MenuSchemaType } from '@univerjs/ui';
2
2
  export declare const menuSchema: MenuSchemaType;
@@ -0,0 +1,10 @@
1
+ import { SheetsPivotTableAdaptorModel } from '@univerjs-pro/sheets-pivot';
2
+ import { Disposable, IUniverInstanceService } from '@univerjs/core';
3
+ import { ISheetClipboardService } from '@univerjs/sheets-ui';
4
+ export declare class SheetsPivotTableClipboardController extends Disposable {
5
+ private readonly _univerInstanceService;
6
+ private readonly _sheetsPivotTableAdaptorModel;
7
+ private readonly _sheetClipboardService;
8
+ constructor(_univerInstanceService: IUniverInstanceService, _sheetsPivotTableAdaptorModel: SheetsPivotTableAdaptorModel, _sheetClipboardService: ISheetClipboardService);
9
+ private _initialize;
10
+ }
@@ -13,7 +13,7 @@ export declare class SheetsPivotTablePanelController extends Disposable {
13
13
  private _permissionService;
14
14
  private _pivotTableId;
15
15
  private _pivotTablePanelVisible$;
16
- pivotTablePanelVisible$: import('rxjs').Observable<boolean>;
16
+ pivotTablePanelVisible$: import("rxjs").Observable<boolean>;
17
17
  constructor(_sheetsSelectionsService: SheetsSelectionsService, _univerInstanceService: IUniverInstanceService, _sheetsPivotTableAdaptorModel: SheetsPivotTableAdaptorModel, _commandService: ICommandService, _sidebarService: ISidebarService, _dialogService: IDialogService, _injector: Injector, _permissionService: IPermissionService);
18
18
  private _isRangeSelectorFocus;
19
19
  setIsRangeSelectorFocus(focus: boolean): void;
@@ -1,6 +1,7 @@
1
- import { Workbook, Disposable, ICommandService, Injector, IPermissionService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
1
+ import type { Workbook } from '@univerjs/core';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { SheetsPivotTableAdaptorModel, SheetsPivotTableConfigModel } from '@univerjs-pro/sheets-pivot';
4
+ import { Disposable, ICommandService, Injector, IPermissionService } from '@univerjs/core';
4
5
  import { SheetPermissionCheckController } from '@univerjs/sheets';
5
6
  import { SheetSkeletonManagerService } from '@univerjs/sheets-ui';
6
7
  export declare class SheetsPivotRenderController extends Disposable implements IRenderModule {
@@ -1,6 +1,7 @@
1
- import { Workbook, Disposable, ICommandService } from '@univerjs/core';
2
- import { IRenderContext, IRenderModule } from '@univerjs/engine-render';
1
+ import type { Workbook } from '@univerjs/core';
2
+ import type { IRenderContext, IRenderModule } from '@univerjs/engine-render';
3
3
  import { SheetsPivotTableAdaptorModel } from '@univerjs-pro/sheets-pivot';
4
+ import { Disposable, ICommandService } from '@univerjs/core';
4
5
  import { SheetsSelectionsService } from '@univerjs/sheets';
5
6
  import { ISheetSelectionRenderService, SheetSkeletonManagerService } from '@univerjs/sheets-ui';
6
7
  export declare class SheetsPivotSelectionRenderController extends Disposable implements IRenderModule {
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,3 +1,3 @@
1
- import { default as enUS } from './en-US';
1
+ import type enUS from './en-US';
2
2
  declare const locale: typeof enUS;
3
3
  export default locale;
@@ -1,4 +1,4 @@
1
- import { IUniverSheetsPivotUIConfig } from './controllers/config.schema';
1
+ import type { IUniverSheetsPivotUIConfig } from './controllers/config.schema';
2
2
  import { ICommandService, IConfigService, Injector, Plugin, UniverInstanceType } from '@univerjs/core';
3
3
  import { IRenderManagerService } from '@univerjs/engine-render';
4
4
  export declare class UniverSheetsPivotTableUIPlugin extends Plugin {
@@ -1,5 +1,5 @@
1
- import { IPivotTableFilterInfo, IPivotTableSortInfo, PivotDataFieldDataTypeEnum } from '@univerjs-pro/engine-pivot';
2
- import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotTableFilterInfo, IPivotTableSortInfo, PivotDataFieldDataTypeEnum } from '@univerjs-pro/engine-pivot';
2
+ import type { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
3
3
  export interface IOpenPivotTablePanelOperationParams {
4
4
  pivotTableId: string;
5
5
  }
@@ -1,4 +1,4 @@
1
- import { PivotView } from '@univerjs-pro/engine-pivot';
1
+ import type { PivotView } from '@univerjs-pro/engine-pivot';
2
2
  export declare function getPivotRowColCount(view: PivotView, startCell: {
3
3
  row: number;
4
4
  col: number;
@@ -1,4 +1,4 @@
1
- import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
1
+ import type { CSSProperties, HTMLAttributes, ReactNode } from 'react';
2
2
  export interface IDraggableLocation {
3
3
  droppableId: string;
4
4
  index: number;
@@ -1,4 +1,4 @@
1
- import { IFilterItemInfo } from '../../type';
1
+ import type { IFilterItemInfo } from '../../type';
2
2
  interface IPivotFilterPanelProps {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,4 +1,4 @@
1
- import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
2
2
  interface IPivotNumfmtPanelProps {
3
3
  unitId: string;
4
4
  subUnitId: string;
@@ -1,6 +1,6 @@
1
- import { IPivotPanelDataInfo } from '@univerjs-pro/sheets-pivot';
2
- import { Nullable } from '@univerjs/core';
3
- import { IDraggableLocation } from './PivotDnd';
1
+ import type { IPivotPanelDataInfo } from '@univerjs-pro/sheets-pivot';
2
+ import type { Nullable } from '@univerjs/core';
3
+ import type { IDraggableLocation } from './PivotDnd';
4
4
  interface IPivotPanelProps {
5
5
  pivotTableId: string;
6
6
  version: number;
@@ -1,4 +1,4 @@
1
- import { IPivotPanelDataInfo, IPivotPanelTableListItemBase, IPivotTableConfig } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotPanelDataInfo, IPivotPanelTableListItemBase, IPivotTableConfig } from '@univerjs-pro/sheets-pivot';
2
2
  import { PivotPanelAreaType } from './util';
3
3
  interface IPivotFieldAreaItemProps {
4
4
  areaType: PivotPanelAreaType;
@@ -1,4 +1,4 @@
1
- import { IPivotTableConfig, IUnitRangeNameWithSubUnitId } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotTableConfig, IUnitRangeNameWithSubUnitId } from '@univerjs-pro/sheets-pivot';
2
2
  interface IPivotSourceRangeProps {
3
3
  sourceRangeInfo: IUnitRangeNameWithSubUnitId;
4
4
  pivotTableId: string;
@@ -1,4 +1,4 @@
1
- import { IPivotPanelDataInfo, IPivotPanelSourceList } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotPanelDataInfo, IPivotPanelSourceList } from '@univerjs-pro/sheets-pivot';
2
2
  interface IPivotSourceListProps {
3
3
  sourceList: IPivotPanelSourceList[];
4
4
  refreshHandler: () => void;
@@ -1,4 +1,4 @@
1
- import { IRange } from '@univerjs/core';
1
+ import type { IRange } from '@univerjs/core';
2
2
  import { PositionType } from '@univerjs-pro/sheets-pivot';
3
3
  export interface IPivotTableRangeSelectorReturns {
4
4
  sourceRange: IRange;
@@ -1,4 +1,4 @@
1
- import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
1
+ import type { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '@univerjs-pro/sheets-pivot';
2
2
  interface IPivotFilterPanelProps {
3
3
  pivotTableId: string;
4
4
  tableFieldId: string;
@@ -1,6 +1,7 @@
1
- import { IPivotTableFilterInfo, PivotSubtotalTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum } from '@univerjs-pro/engine-pivot';
2
- import { IPivotPanelDataInfo, IUnitRangeNameWithSubUnitId } from '@univerjs-pro/sheets-pivot';
3
- import { ICommandService, IRange, Nullable, Worksheet } from '@univerjs/core';
1
+ import type { IPivotTableFilterInfo } from '@univerjs-pro/engine-pivot';
2
+ import type { IPivotPanelDataInfo, IUnitRangeNameWithSubUnitId } from '@univerjs-pro/sheets-pivot';
3
+ import type { ICommandService, IRange, Nullable, Worksheet } from '@univerjs/core';
4
+ import { PivotSubtotalTypeEnum, PivotTableFiledAreaEnum, PivotTableValuePositionEnum } from '@univerjs-pro/engine-pivot';
4
5
  import { PivotFilterStatus } from '../../const';
5
6
  export declare const PivotDropId = "PivotDropId";
6
7
  export declare const PivotMultipleValueId = "PivotMultipleValueId";
@@ -1,3 +1,3 @@
1
- import { IAccessor } from '@univerjs/core';
2
- import { IMenuItem } from '@univerjs/ui';
1
+ import type { IAccessor } from '@univerjs/core';
2
+ import type { IMenuItem } from '@univerjs/ui';
3
3
  export declare function sheetsPivotTableToolbarMenuFactory(accessor: IAccessor): IMenuItem;
@@ -1,4 +1,4 @@
1
- import { UniverRenderingContext2D } from '@univerjs/engine-render';
1
+ import type { UniverRenderingContext2D } from '@univerjs/engine-render';
2
2
  export declare const PIVOT_BUTTON_EMPTY: Path2D;
3
3
  export declare class PivotButton {
4
4
  static drawNoSetting(ctx: UniverRenderingContext2D, size: number, fgColor: string, bgColor: string): void;
@@ -1,6 +1,7 @@
1
- import { IMouseEvent, IPointerEvent, IShapeProps, UniverRenderingContext2D, Shape } from '@univerjs/engine-render';
1
+ import type { IMouseEvent, IPointerEvent, IShapeProps, UniverRenderingContext2D } from '@univerjs/engine-render';
2
2
  import { PivotCellStyleTypeEnum } from '@univerjs-pro/engine-pivot';
3
3
  import { ICommandService, ThemeService } from '@univerjs/core';
4
+ import { Shape } from '@univerjs/engine-render';
4
5
  export declare const PIVOT_ICON_SIZE = 16;
5
6
  export declare const PIVOT_PADDING_SIZE = 1;
6
7
  export declare const PIVOT_EXPEND_SIZE = 12;
@@ -1,4 +1,5 @@
1
- import { IShapeProps, UniverRenderingContext, UniverRenderingContext2D, Shape } from '@univerjs/engine-render';
1
+ import type { IShapeProps, UniverRenderingContext, UniverRenderingContext2D } from '@univerjs/engine-render';
2
+ import { Shape } from '@univerjs/engine-render';
2
3
  export declare const SHEET_PIVOT_MOVE_KEY = "SHEET_PIVOT_MOVE_KEY";
3
4
  interface ISheetPivotTableMoveShapeProps {
4
5
  }