@univerjs-pro/sheets-pivot 0.5.0-alpha.0 → 0.5.0-beta.1

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 (89) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/ru-RU.js +1 -1
  6. package/lib/cjs/locale/vi-VN.js +1 -1
  7. package/lib/cjs/locale/zh-CN.js +1 -1
  8. package/lib/cjs/locale/zh-TW.js +1 -1
  9. package/lib/es/facade.js +1 -1
  10. package/lib/es/index.js +1 -1
  11. package/lib/es/locale/en-US.js +1 -1
  12. package/lib/es/locale/fa-IR.js +1 -1
  13. package/lib/es/locale/ru-RU.js +1 -1
  14. package/lib/es/locale/vi-VN.js +1 -1
  15. package/lib/es/locale/zh-CN.js +1 -1
  16. package/lib/es/locale/zh-TW.js +1 -1
  17. package/lib/types/commands/command/add-pivot-field.command.d.ts +11 -0
  18. package/lib/types/commands/command/add-pivot-table-with-config.command.d.ts +3 -0
  19. package/lib/types/commands/command/add-pivot-table.command.d.ts +9 -0
  20. package/lib/types/commands/command/move-pivot-field.command.d.ts +11 -0
  21. package/lib/types/commands/command/pivot-drill-down.command.d.ts +6 -0
  22. package/lib/types/commands/command/remove-pivot-field.command.d.ts +8 -0
  23. package/lib/types/commands/command/set-pivot-collapse.command.d.ts +9 -0
  24. package/lib/types/commands/command/set-pivot-filter.command.d.ts +10 -0
  25. package/lib/types/commands/command/set-pivot-sort.command.d.ts +10 -0
  26. package/lib/types/commands/command/update-pivot-setting.command.d.ts +15 -0
  27. package/lib/types/commands/command/update-pivot-source.command.d.ts +9 -0
  28. package/lib/types/commands/command/update-value-position.command.d.ts +8 -0
  29. package/lib/types/commands/command/util.d.ts +14 -0
  30. package/lib/types/commands/mutations/add-pivot-field.mutation.d.ts +3 -0
  31. package/lib/types/commands/mutations/add-pivot-table.mutation.d.ts +3 -0
  32. package/lib/types/commands/mutations/change-apply-util.d.ts +15 -0
  33. package/lib/types/commands/mutations/pivot-data-communication.mutation.d.ts +7 -0
  34. package/lib/types/commands/mutations/remove-pivot-field.mutation.d.ts +3 -0
  35. package/lib/types/commands/mutations/remove-pivot-table.mutation.d.ts +3 -0
  36. package/lib/types/commands/mutations/rename-pivot-field.mutation.d.ts +3 -0
  37. package/lib/types/commands/mutations/set-pivot-collapse.mutation.d.ts +3 -0
  38. package/lib/types/commands/mutations/set-pivot-field-format.mutation.d.ts +3 -0
  39. package/lib/types/commands/mutations/set-pivot-filter.mutation.d.ts +3 -0
  40. package/lib/types/commands/mutations/set-pivot-option.mutation.d.ts +3 -0
  41. package/lib/types/commands/mutations/set-pivot-position.mutation.d.ts +3 -0
  42. package/lib/types/commands/mutations/set-pivot-sort.mutation.d.ts +3 -0
  43. package/lib/types/commands/mutations/set-pivot-subtotal-type.mutation.d.ts +3 -0
  44. package/lib/types/commands/mutations/update-field-position.mutation.d.ts +3 -0
  45. package/lib/types/commands/mutations/update-pivot-field-source-info.mutation.d.ts +3 -0
  46. package/lib/types/commands/mutations/update-pivot-table-source.mutation.d.ts +3 -0
  47. package/lib/types/commands/mutations/update-value-position.mutation.d.ts +3 -0
  48. package/lib/types/commands/operations/pivot-table-dirty-view.operation.d.ts +3 -0
  49. package/lib/types/common/const.d.ts +64 -0
  50. package/lib/types/const/const.d.ts +107 -0
  51. package/lib/types/const/template.d.ts +885 -0
  52. package/lib/types/const/type.d.ts +525 -0
  53. package/lib/types/controllers/config.schema.d.ts +6 -0
  54. package/lib/types/controllers/const.d.ts +1 -0
  55. package/lib/types/controllers/sheets-pivot-caculate.controller.d.ts +44 -0
  56. package/lib/types/controllers/sheets-pivot-clear.controller.d.ts +12 -0
  57. package/lib/types/controllers/sheets-pivot-interceptor.controller.d.ts +21 -0
  58. package/lib/types/controllers/sheets-pivot-permission.controller.d.ts +7 -0
  59. package/lib/types/controllers/sheets-pivot-ref-range.controller.d.ts +21 -0
  60. package/lib/types/controllers/sheets-pivot-remove-sheet.controller.d.ts +9 -0
  61. package/lib/types/controllers/sheets-pivot-rpc.controller.d.ts +20 -0
  62. package/lib/types/facade/f-pivot-table.d.ts +83 -0
  63. package/lib/types/facade/f-workbook.d.ts +72 -0
  64. package/lib/types/facade/index.d.ts +2 -0
  65. package/lib/types/index.d.ts +52 -1158
  66. package/lib/types/locale/en-US.d.ts +3 -0
  67. package/lib/types/locale/fa-IR.d.ts +3 -0
  68. package/lib/types/locale/ru-RU.d.ts +3 -0
  69. package/lib/types/locale/vi-VN.d.ts +3 -0
  70. package/lib/types/locale/zh-CN.d.ts +31 -0
  71. package/lib/types/locale/zh-TW.d.ts +3 -0
  72. package/lib/types/models/sheets-pivot-config-model.d.ts +58 -0
  73. package/lib/types/models/sheets-pivot-data-field-manager.d.ts +77 -0
  74. package/lib/types/models/sheets-pivot-data-source-model.d.ts +101 -0
  75. package/lib/types/models/sheets-pivot-table-adaptor-model.d.ts +54 -0
  76. package/lib/types/models/view-util.d.ts +16 -0
  77. package/lib/types/plugin.d.ts +17 -0
  78. package/lib/types/services/sheets-pivot-rpc.service.d.ts +11 -0
  79. package/lib/types/services/sheets-pivot-table.service.d.ts +18 -0
  80. package/lib/types/util.d.ts +84 -0
  81. package/lib/umd/facade.js +1 -1
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/en-US.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/ru-RU.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +14 -14
@@ -1 +1 @@
1
- const _0x302f04=_0xb323;(function(_0x1ead17,_0xa901e0){const _0x4eaa0b=_0xb323,_0x71e299=_0x1ead17();while(!![]){try{const _0x174d22=-parseInt(_0x4eaa0b(0x150))/0x1*(parseInt(_0x4eaa0b(0x143))/0x2)+parseInt(_0x4eaa0b(0x137))/0x3*(parseInt(_0x4eaa0b(0x145))/0x4)+-parseInt(_0x4eaa0b(0x142))/0x5+-parseInt(_0x4eaa0b(0x140))/0x6*(parseInt(_0x4eaa0b(0x136))/0x7)+parseInt(_0x4eaa0b(0x13c))/0x8*(-parseInt(_0x4eaa0b(0x13d))/0x9)+parseInt(_0x4eaa0b(0x13a))/0xa*(parseInt(_0x4eaa0b(0x14a))/0xb)+-parseInt(_0x4eaa0b(0x14c))/0xc*(-parseInt(_0x4eaa0b(0x134))/0xd);if(_0x174d22===_0xa901e0)break;else _0x71e299['push'](_0x71e299['shift']());}catch(_0x40af21){_0x71e299['push'](_0x71e299['shift']());}}}(_0x1bae,0xe51f8));function _0xb323(_0x590e17,_0x36138c){const _0x1bae20=_0x1bae();return _0xb323=function(_0xb32338,_0x1948ea){_0xb32338=_0xb32338-0x134;let _0x435416=_0x1bae20[_0xb32338];return _0x435416;},_0xb323(_0x590e17,_0x36138c);}const a={'sheets-pivot':{'blankValue':_0x302f04(0x13e),'columnName':'Column\x20','subTotalText':'Total','grandTotalText':'Grand\x20Total','valueText':_0x302f04(0x151),'averageName':'Average\x20of\x20','countName':'Count\x20of\x20','countNumsName':_0x302f04(0x148),'maxName':_0x302f04(0x14d),'minName':_0x302f04(0x144),'productName':_0x302f04(0x14e),'stdDevName':_0x302f04(0x13b),'stdDevpName':_0x302f04(0x135),'sumName':_0x302f04(0x139),'varName':_0x302f04(0x141),'varpName':_0x302f04(0x146),'subTotal':'Subtotal','grandTotal':_0x302f04(0x149),'value':_0x302f04(0x147),'blank':_0x302f04(0x138),'emptyPivot':{'filter':_0x302f04(0x13f),'row':_0x302f04(0x14f),'column':_0x302f04(0x14b),'values':'Values'}}};export{a as default};function _0x1bae(){const _0x2ae3cc=['Filter','172230WPGMrA','Var\x20of\x20','2028780HqNAAz','40scaFFj','Min\x20of\x20','8aGnwJj','Varp\x20of\x20','value','Count\x20of\x20','Grand\x20Total','33GKNucx','Column','12iZEnnN','Max\x20of\x20','Product\x20of\x20','Row','24499LpuGaQ','Value','26106561JAIfhb','StdDevp\x20of\x20','63RhCQTL','2357013iPvEMK','blank','Sum\x20of\x20','518650OQEQsw','StdDev\x20of\x20','40mVIeMF','2956617XPVvER','(Blank)'];_0x1bae=function(){return _0x2ae3cc;};return _0x1bae();}
1
+ const _0x5c6f54=_0x8d5a;function _0x4a27(){const _0x1fd4c3=['187158DlEdKG','Max\x20of\x20','StdDev\x20of\x20','Sum\x20of\x20','(Blank)','Filter','25KiQOyt','Total','blank','342188DaymcD','175060IWeEZy','Grand\x20Total','573546vmcqvl','7564NsSyRy','value','493520FiQZye','Min\x20of\x20','387thuKGy','Count\x20of\x20','Average\x20of\x20','Product\x20of\x20','813dKySWR','Row','195019oenzON','Var\x20of\x20','StdDevp\x20of\x20','Values'];_0x4a27=function(){return _0x1fd4c3;};return _0x4a27();}function _0x8d5a(_0x53c5be,_0x541502){const _0x4a2769=_0x4a27();return _0x8d5a=function(_0x8d5a34,_0x5600f2){_0x8d5a34=_0x8d5a34-0x1a9;let _0x5cb964=_0x4a2769[_0x8d5a34];return _0x5cb964;},_0x8d5a(_0x53c5be,_0x541502);}(function(_0x2efc4c,_0x312b86){const _0x17ba28=_0x8d5a,_0x532b1a=_0x2efc4c();while(!![]){try{const _0x1f7533=-parseInt(_0x17ba28(0x1c3))/0x1+parseInt(_0x17ba28(0x1b8))/0x2+parseInt(_0x17ba28(0x1c1))/0x3*(-parseInt(_0x17ba28(0x1b9))/0x4)+parseInt(_0x17ba28(0x1b2))/0x5*(-parseInt(_0x17ba28(0x1ac))/0x6)+parseInt(_0x17ba28(0x1b5))/0x7+parseInt(_0x17ba28(0x1bb))/0x8+parseInt(_0x17ba28(0x1bd))/0x9*(parseInt(_0x17ba28(0x1b6))/0xa);if(_0x1f7533===_0x312b86)break;else _0x532b1a['push'](_0x532b1a['shift']());}catch(_0x54cc2d){_0x532b1a['push'](_0x532b1a['shift']());}}}(_0x4a27,0x45fc4));const a={'sheets-pivot':{'blankValue':_0x5c6f54(0x1b0),'columnName':'Column\x20','subTotalText':_0x5c6f54(0x1b3),'grandTotalText':_0x5c6f54(0x1b7),'valueText':'Value','averageName':_0x5c6f54(0x1bf),'countName':'Count\x20of\x20','countNumsName':_0x5c6f54(0x1be),'maxName':_0x5c6f54(0x1ad),'minName':_0x5c6f54(0x1bc),'productName':_0x5c6f54(0x1c0),'stdDevName':_0x5c6f54(0x1ae),'stdDevpName':_0x5c6f54(0x1aa),'sumName':_0x5c6f54(0x1af),'varName':_0x5c6f54(0x1a9),'varpName':'Varp\x20of\x20','subTotal':'Subtotal','grandTotal':_0x5c6f54(0x1b7),'value':_0x5c6f54(0x1ba),'blank':_0x5c6f54(0x1b4),'emptyPivot':{'filter':_0x5c6f54(0x1b1),'row':_0x5c6f54(0x1c2),'column':'Column','values':_0x5c6f54(0x1ab)}}};export{a as default};
@@ -1 +1 @@
1
- const _0x35a1cc=_0x4e08;function _0x4e08(_0x558d01,_0x5188c0){const _0x3c2faa=_0x3c2f();return _0x4e08=function(_0x4e080d,_0x5e9cb5){_0x4e080d=_0x4e080d-0x1de;let _0x4c2314=_0x3c2faa[_0x4e080d];return _0x4c2314;},_0x4e08(_0x558d01,_0x5188c0);}(function(_0x12d446,_0x1d9d50){const _0x3e0447=_0x4e08,_0x561c58=_0x12d446();while(!![]){try{const _0x15872a=parseInt(_0x3e0447(0x1f4))/0x1+-parseInt(_0x3e0447(0x1ed))/0x2+parseInt(_0x3e0447(0x1f6))/0x3+-parseInt(_0x3e0447(0x1f1))/0x4+-parseInt(_0x3e0447(0x1df))/0x5*(parseInt(_0x3e0447(0x1f3))/0x6)+-parseInt(_0x3e0447(0x1ec))/0x7*(parseInt(_0x3e0447(0x1e6))/0x8)+parseInt(_0x3e0447(0x1f5))/0x9*(parseInt(_0x3e0447(0x1f2))/0xa);if(_0x15872a===_0x1d9d50)break;else _0x561c58['push'](_0x561c58['shift']());}catch(_0x274748){_0x561c58['push'](_0x561c58['shift']());}}}(_0x3c2f,0x51162));const a={'sheets-pivot':{'blankValue':'(خالی)','columnName':_0x35a1cc(0x1ef),'subTotalText':_0x35a1cc(0x1ea),'grandTotalText':'کل','valueText':'مقدار','averageName':_0x35a1cc(0x1ee),'countName':_0x35a1cc(0x1e1),'countNumsName':_0x35a1cc(0x1e9),'maxName':_0x35a1cc(0x1e0),'minName':_0x35a1cc(0x1e3),'productName':_0x35a1cc(0x1de),'stdDevName':'انحراف\x20معیار\x20از\x20','stdDevpName':_0x35a1cc(0x1e4),'sumName':'جمع\x20از\x20','varName':_0x35a1cc(0x1eb),'varpName':_0x35a1cc(0x1f0),'subTotal':_0x35a1cc(0x1ea),'grandTotal':'کل','value':'مقدار','blank':_0x35a1cc(0x1e8),'emptyPivot':{'filter':_0x35a1cc(0x1e7),'row':_0x35a1cc(0x1e2),'column':_0x35a1cc(0x1e5),'values':'مقادیر'}}};export{a as default};function _0x3c2f(){const _0x591b4b=['387690wGsHRp','299712VkAnju','1163007sAnSdM','703320gYSlOt','ضرب\x20از\x20','5GqEVBi','بیشترین\x20از\x20','تعداد\x20از\x20','سطر','کمترین\x20از\x20','انحراف\x20معیار\x20کلی\x20از\x20','ستون','3394736PgbKAF','فیلتر','خالی','تعداد\x20اعداد\x20از\x20','جمع','واریانس\x20از\x20','7BVNHpx','313410zFbWdr','میانگین\x20از\x20','ستون\x20','واریانس\x20کلی\x20از\x20','293008vifDkS','40UxcWiO'];_0x3c2f=function(){return _0x591b4b;};return _0x3c2f();}
1
+ const _0x3c2ea0=_0x581d;(function(_0x28c04d,_0x1a87c6){const _0x2701d3=_0x581d,_0x507635=_0x28c04d();while(!![]){try{const _0x296653=-parseInt(_0x2701d3(0x15f))/0x1*(-parseInt(_0x2701d3(0x14c))/0x2)+-parseInt(_0x2701d3(0x15c))/0x3*(parseInt(_0x2701d3(0x153))/0x4)+parseInt(_0x2701d3(0x14a))/0x5+-parseInt(_0x2701d3(0x159))/0x6*(-parseInt(_0x2701d3(0x15a))/0x7)+parseInt(_0x2701d3(0x147))/0x8*(parseInt(_0x2701d3(0x160))/0x9)+parseInt(_0x2701d3(0x14d))/0xa*(-parseInt(_0x2701d3(0x158))/0xb)+-parseInt(_0x2701d3(0x145))/0xc;if(_0x296653===_0x1a87c6)break;else _0x507635['push'](_0x507635['shift']());}catch(_0x314d69){_0x507635['push'](_0x507635['shift']());}}}(_0x30aa,0x57900));function _0x581d(_0x3fa558,_0x48fa8b){const _0x30aa92=_0x30aa();return _0x581d=function(_0x581d4e,_0x2e7240){_0x581d4e=_0x581d4e-0x143;let _0xd175f1=_0x30aa92[_0x581d4e];return _0xd175f1;},_0x581d(_0x3fa558,_0x48fa8b);}const a={'sheets-pivot':{'blankValue':_0x3c2ea0(0x14f),'columnName':_0x3c2ea0(0x146),'subTotalText':'جمع','grandTotalText':'کل','valueText':_0x3c2ea0(0x14e),'averageName':_0x3c2ea0(0x152),'countName':_0x3c2ea0(0x157),'countNumsName':_0x3c2ea0(0x156),'maxName':_0x3c2ea0(0x148),'minName':_0x3c2ea0(0x154),'productName':_0x3c2ea0(0x155),'stdDevName':_0x3c2ea0(0x151),'stdDevpName':_0x3c2ea0(0x15e),'sumName':_0x3c2ea0(0x143),'varName':_0x3c2ea0(0x15d),'varpName':_0x3c2ea0(0x15b),'subTotal':_0x3c2ea0(0x14b),'grandTotal':'کل','value':_0x3c2ea0(0x14e),'blank':'خالی','emptyPivot':{'filter':_0x3c2ea0(0x144),'row':_0x3c2ea0(0x150),'column':_0x3c2ea0(0x149),'values':'مقادیر'}}};export{a as default};function _0x30aa(){const _0x448c5e=['تعداد\x20از\x20','5445QuhSPB','2275242YyaKsp','7BUibmJ','واریانس\x20کلی\x20از\x20','465SpiymU','واریانس\x20از\x20','انحراف\x20معیار\x20کلی\x20از\x20','4GMVuDn','9SVVmkJ','جمع\x20از\x20','فیلتر','11041560SJZmcm','ستون\x20','345904WnMcad','بیشترین\x20از\x20','ستون','1971465fctJYz','جمع','338464aeVqez','4150TuYgUj','مقدار','(خالی)','سطر','انحراف\x20معیار\x20از\x20','میانگین\x20از\x20','244BzKIlM','کمترین\x20از\x20','ضرب\x20از\x20','تعداد\x20اعداد\x20از\x20'];_0x30aa=function(){return _0x448c5e;};return _0x30aa();}
@@ -1 +1 @@
1
- const _0x32a387=_0x59f1;(function(_0x42507e,_0xc4440f){const _0x3b370d=_0x59f1,_0x3ac88f=_0x42507e();while(!![]){try{const _0x8bc2f3=-parseInt(_0x3b370d(0x17f))/0x1+parseInt(_0x3b370d(0x167))/0x2+-parseInt(_0x3b370d(0x174))/0x3*(parseInt(_0x3b370d(0x16d))/0x4)+-parseInt(_0x3b370d(0x16e))/0x5+-parseInt(_0x3b370d(0x179))/0x6*(parseInt(_0x3b370d(0x173))/0x7)+-parseInt(_0x3b370d(0x16f))/0x8+-parseInt(_0x3b370d(0x17b))/0x9*(-parseInt(_0x3b370d(0x177))/0xa);if(_0x8bc2f3===_0xc4440f)break;else _0x3ac88f['push'](_0x3ac88f['shift']());}catch(_0x2fa2b5){_0x3ac88f['push'](_0x3ac88f['shift']());}}}(_0x3d4e,0x5a1bf));function _0x59f1(_0x522ee3,_0x1012f6){const _0x3d4e28=_0x3d4e();return _0x59f1=function(_0x59f1fe,_0x2edaab){_0x59f1fe=_0x59f1fe-0x167;let _0x3d695d=_0x3d4e28[_0x59f1fe];return _0x3d695d;},_0x59f1(_0x522ee3,_0x1012f6);}const a={'sheets-pivot':{'blankValue':'(Пусто)','columnName':_0x32a387(0x17d),'subTotalText':'Промежуточный\x20итог','grandTotalText':'Общий\x20итог','valueText':'Значение','averageName':_0x32a387(0x178),'countName':_0x32a387(0x170),'countNumsName':'Число\x20по\x20','maxName':_0x32a387(0x175),'minName':'Минимум\x20по\x20','productName':_0x32a387(0x16a),'stdDevName':_0x32a387(0x171),'stdDevpName':_0x32a387(0x17c),'sumName':_0x32a387(0x172),'varName':_0x32a387(0x16c),'varpName':_0x32a387(0x176),'subTotal':_0x32a387(0x180),'grandTotal':_0x32a387(0x168),'value':'Значение','blank':_0x32a387(0x17a),'emptyPivot':{'filter':'Фильтр','row':_0x32a387(0x169),'column':_0x32a387(0x16b),'values':_0x32a387(0x17e)}}};function _0x3d4e(){const _0x547f21=['Сумма\x20по\x20','21QqtZkY','38247IZvxQo','Максимум\x20по\x20','Общая\x20дисперсия\x20по\x20','109820xQVwqG','Среднее\x20по\x20','827778gyGDdm','Пусто','1458ODPZFO','Общее\x20стандартное\x20отклонение\x20по\x20','Столбец\x20','Значение','260595HaAPBu','Промежуточный\x20итог','1448188iuxxey','Общий\x20итог','Строка','Произведение\x20по\x20','Столбец','Дисперсия\x20по\x20','136czKxFC','3666205yjrFxG','2343200KnynTN','Количество\x20по\x20','Стандартное\x20отклонение\x20по\x20'];_0x3d4e=function(){return _0x547f21;};return _0x3d4e();}export{a as default};
1
+ function _0x3ed8(_0x34048e,_0x5c1e1c){const _0x4293f8=_0x4293();return _0x3ed8=function(_0x3ed85e,_0x54ae84){_0x3ed85e=_0x3ed85e-0x8f;let _0x439df2=_0x4293f8[_0x3ed85e];return _0x439df2;},_0x3ed8(_0x34048e,_0x5c1e1c);}const _0x216e9c=_0x3ed8;(function(_0x6280d9,_0x178ccb){const _0x104f60=_0x3ed8,_0x3b88b9=_0x6280d9();while(!![]){try{const _0x4edcb8=-parseInt(_0x104f60(0x98))/0x1*(-parseInt(_0x104f60(0x92))/0x2)+-parseInt(_0x104f60(0x9a))/0x3*(-parseInt(_0x104f60(0x97))/0x4)+parseInt(_0x104f60(0xad))/0x5+parseInt(_0x104f60(0xa2))/0x6*(parseInt(_0x104f60(0xa0))/0x7)+-parseInt(_0x104f60(0x96))/0x8*(-parseInt(_0x104f60(0x99))/0x9)+-parseInt(_0x104f60(0x9f))/0xa+-parseInt(_0x104f60(0xa3))/0xb;if(_0x4edcb8===_0x178ccb)break;else _0x3b88b9['push'](_0x3b88b9['shift']());}catch(_0x4d5cb9){_0x3b88b9['push'](_0x3b88b9['shift']());}}}(_0x4293,0x778db));const a={'sheets-pivot':{'blankValue':_0x216e9c(0xac),'columnName':_0x216e9c(0xa6),'subTotalText':'Промежуточный\x20итог','grandTotalText':_0x216e9c(0xaa),'valueText':_0x216e9c(0xa8),'averageName':_0x216e9c(0x9b),'countName':_0x216e9c(0xa9),'countNumsName':_0x216e9c(0x8f),'maxName':_0x216e9c(0x9e),'minName':_0x216e9c(0x91),'productName':_0x216e9c(0x90),'stdDevName':_0x216e9c(0xa1),'stdDevpName':_0x216e9c(0xa5),'sumName':_0x216e9c(0xa7),'varName':_0x216e9c(0x94),'varpName':_0x216e9c(0xa4),'subTotal':_0x216e9c(0x9d),'grandTotal':_0x216e9c(0xaa),'value':'Значение','blank':_0x216e9c(0x9c),'emptyPivot':{'filter':_0x216e9c(0xab),'row':_0x216e9c(0x95),'column':_0x216e9c(0x93),'values':_0x216e9c(0xa8)}}};export{a as default};function _0x4293(){const _0x847064=['Среднее\x20по\x20','Пусто','Промежуточный\x20итог','Максимум\x20по\x20','6320650vTDxmX','40649rkvrbb','Стандартное\x20отклонение\x20по\x20','36CuxyUz','18105120bEezCa','Общая\x20дисперсия\x20по\x20','Общее\x20стандартное\x20отклонение\x20по\x20','Столбец\x20','Сумма\x20по\x20','Значение','Количество\x20по\x20','Общий\x20итог','Фильтр','(Пусто)','4303090dnZmoJ','Число\x20по\x20','Произведение\x20по\x20','Минимум\x20по\x20','26VTDSPc','Столбец','Дисперсия\x20по\x20','Строка','56GlCrEr','345944VzTAJE','56267tNbDOp','1021887LxPXZt','12nyYYYG'];_0x4293=function(){return _0x847064;};return _0x4293();}
@@ -1 +1 @@
1
- function _0x51c7(_0x34125a,_0x1f3141){const _0x4f5fc1=_0x4f5f();return _0x51c7=function(_0x51c79c,_0x4eb8a6){_0x51c79c=_0x51c79c-0x1db;let _0x51d9b9=_0x4f5fc1[_0x51c79c];return _0x51d9b9;},_0x51c7(_0x34125a,_0x1f3141);}const _0x166246=_0x51c7;(function(_0x32939f,_0x3f6f32){const _0x264a43=_0x51c7,_0x53f7b1=_0x32939f();while(!![]){try{const _0x194de6=parseInt(_0x264a43(0x1dc))/0x1+parseInt(_0x264a43(0x1f4))/0x2+parseInt(_0x264a43(0x1e3))/0x3*(-parseInt(_0x264a43(0x1f5))/0x4)+parseInt(_0x264a43(0x1db))/0x5+parseInt(_0x264a43(0x1ea))/0x6*(parseInt(_0x264a43(0x1f1))/0x7)+-parseInt(_0x264a43(0x1eb))/0x8+parseInt(_0x264a43(0x1e9))/0x9;if(_0x194de6===_0x3f6f32)break;else _0x53f7b1['push'](_0x53f7b1['shift']());}catch(_0x56923d){_0x53f7b1['push'](_0x53f7b1['shift']());}}}(_0x4f5f,0x66c10));function _0x4f5f(){const _0x407198=['Tổng:','(Trống)','Cột','1552446VmSlmQ','6FBLFNt','5061440hoKdHM','Giá\x20trị','Giá\x20trị\x20tối\x20thiểu:','Giá\x20trị\x20trung\x20bình:','Giá\x20trị\x20tối\x20đa:','Tích:','2636144ICydxR','Tổng\x20phụ','Phương\x20sai:','31586hFKVpG','7160tEoMqr','2076075SPhBQv','737556tFekSI','Độ\x20lệch\x20chuẩn:','Phương\x20sai\x20toàn\x20phần:','Số\x20lượng:','Tổng\x20cộng','Trống','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','1113LJAeeA','Hàng','Lọc'];_0x4f5f=function(){return _0x407198;};return _0x4f5f();}const a={'sheets-pivot':{'blankValue':_0x166246(0x1e7),'columnName':'Cột\x20','subTotalText':_0x166246(0x1f2),'grandTotalText':_0x166246(0x1e0),'valueText':_0x166246(0x1ec),'averageName':_0x166246(0x1ee),'countName':_0x166246(0x1df),'countNumsName':'Số\x20lượng\x20số:','maxName':_0x166246(0x1ef),'minName':_0x166246(0x1ed),'productName':_0x166246(0x1f0),'stdDevName':_0x166246(0x1dd),'stdDevpName':_0x166246(0x1e2),'sumName':_0x166246(0x1e6),'varName':_0x166246(0x1f3),'varpName':_0x166246(0x1de),'subTotal':'Tổng\x20phụ','grandTotal':'Tổng\x20cộng','value':'Giá\x20trị','blank':_0x166246(0x1e1),'emptyPivot':{'filter':_0x166246(0x1e5),'row':_0x166246(0x1e4),'column':_0x166246(0x1e8),'values':_0x166246(0x1ec)}}};export{a as default};
1
+ function _0x2e2e(){const _0x2c99f0=['250704LdcNZC','324443ebBLWz','Giá\x20trị','Phương\x20sai:','8793oKBekm','Giá\x20trị\x20tối\x20thiểu:','Giá\x20trị\x20trung\x20bình:','Tích:','Cột','45965LBJOsz','Độ\x20lệch\x20chuẩn\x20toàn\x20phần:','Tổng\x20cộng','Tổng\x20phụ','Cột\x20','(Trống)','151947TfYfZo','Số\x20lượng\x20số:','Độ\x20lệch\x20chuẩn:','1096iBGVMi','Trống','230446TsBOOH','Giá\x20trị\x20tối\x20đa:','Số\x20lượng:','Tổng:','1012842PTwaCS','2xzDNFR'];_0x2e2e=function(){return _0x2c99f0;};return _0x2e2e();}const _0xfdeb7d=_0x22c2;function _0x22c2(_0x4ce587,_0x16b302){const _0x2e2e1c=_0x2e2e();return _0x22c2=function(_0x22c2f6,_0x390614){_0x22c2f6=_0x22c2f6-0xa6;let _0x43e8bc=_0x2e2e1c[_0x22c2f6];return _0x43e8bc;},_0x22c2(_0x4ce587,_0x16b302);}(function(_0xcfd5e0,_0x3ca2a6){const _0x29a281=_0x22c2,_0x1ab901=_0xcfd5e0();while(!![]){try{const _0x292f55=parseInt(_0x29a281(0xbf))/0x1*(parseInt(_0x29a281(0xaa))/0x2)+parseInt(_0x29a281(0xba))/0x3+-parseInt(_0x29a281(0xab))/0x4+-parseInt(_0x29a281(0xb4))/0x5+-parseInt(_0x29a281(0xa9))/0x6+-parseInt(_0x29a281(0xac))/0x7+-parseInt(_0x29a281(0xbd))/0x8*(-parseInt(_0x29a281(0xaf))/0x9);if(_0x292f55===_0x3ca2a6)break;else _0x1ab901['push'](_0x1ab901['shift']());}catch(_0x2803d5){_0x1ab901['push'](_0x1ab901['shift']());}}}(_0x2e2e,0x1f3af));const a={'sheets-pivot':{'blankValue':_0xfdeb7d(0xb9),'columnName':_0xfdeb7d(0xb8),'subTotalText':_0xfdeb7d(0xb7),'grandTotalText':'Tổng\x20cộng','valueText':_0xfdeb7d(0xad),'averageName':_0xfdeb7d(0xb1),'countName':_0xfdeb7d(0xa7),'countNumsName':_0xfdeb7d(0xbb),'maxName':_0xfdeb7d(0xa6),'minName':_0xfdeb7d(0xb0),'productName':_0xfdeb7d(0xb2),'stdDevName':_0xfdeb7d(0xbc),'stdDevpName':_0xfdeb7d(0xb5),'sumName':_0xfdeb7d(0xa8),'varName':_0xfdeb7d(0xae),'varpName':'Phương\x20sai\x20toàn\x20phần:','subTotal':_0xfdeb7d(0xb7),'grandTotal':_0xfdeb7d(0xb6),'value':'Giá\x20trị','blank':_0xfdeb7d(0xbe),'emptyPivot':{'filter':'Lọc','row':'Hàng','column':_0xfdeb7d(0xb3),'values':_0xfdeb7d(0xad)}}};export{a as default};
@@ -1 +1 @@
1
- const _0x458f8f=_0x3e3b;(function(_0x1a3b8f,_0x315c89){const _0x2513ec=_0x3e3b,_0xff2877=_0x1a3b8f();while(!![]){try{const _0x3c0a71=-parseInt(_0x2513ec(0x75))/0x1+parseInt(_0x2513ec(0x81))/0x2+parseInt(_0x2513ec(0x73))/0x3+-parseInt(_0x2513ec(0x7b))/0x4*(-parseInt(_0x2513ec(0x7d))/0x5)+-parseInt(_0x2513ec(0x82))/0x6*(-parseInt(_0x2513ec(0x79))/0x7)+-parseInt(_0x2513ec(0x7e))/0x8*(-parseInt(_0x2513ec(0x70))/0x9)+parseInt(_0x2513ec(0x7a))/0xa*(-parseInt(_0x2513ec(0x71))/0xb);if(_0x3c0a71===_0x315c89)break;else _0xff2877['push'](_0xff2877['shift']());}catch(_0x20200a){_0xff2877['push'](_0xff2877['shift']());}}}(_0x1a9b,0xa1136));const a={'sheets-pivot':{'blankValue':_0x458f8f(0x78),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0x458f8f(0x6f),'countName':_0x458f8f(0x80),'countNumsName':'数值计数项:','maxName':_0x458f8f(0x76),'minName':_0x458f8f(0x74),'productName':_0x458f8f(0x77),'stdDevName':_0x458f8f(0x7c),'stdDevpName':_0x458f8f(0x72),'sumName':'求和项:','varName':_0x458f8f(0x7f),'varpName':'总体方差项:','subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};function _0x3e3b(_0x553b54,_0x3ce624){const _0x1a9bcf=_0x1a9b();return _0x3e3b=function(_0x3e3b61,_0x1b710f){_0x3e3b61=_0x3e3b61-0x6f;let _0x88935c=_0x1a9bcf[_0x3e3b61];return _0x88935c;},_0x3e3b(_0x553b54,_0x3ce624);}function _0x1a9b(){const _0x36e469=['方差项:','计数项:','2317594BWFDmj','74076ebyISJ','平均值项:','844983MzlneZ','297MVZlFL','总体标准偏差项:','1067706meBFWw','最小值项:','388024QNhMJD','最大值项:','乘积项:','(空白)','413COYffi','557180hENVtn','109608XgfiPP','标准偏差项:','5dhZKDB','24qNqsyW'];_0x1a9b=function(){return _0x36e469;};return _0x1a9b();}export{a as default};
1
+ function _0x4dad(){const _0x50ecad=['平均值项:','方差项:','30iniMWh','最小值项:','16fQjdCY','2713122BTpVFe','418761Daoglg','244136CPbLda','349983dCUTMK','求和项:','计数项:','792406IHbHjI','最大值项:','30dNhpmA','(空白)','1roCLzz','763675VpDoPX','55oLkvMz','标准偏差项:','1427712Tibqyo'];_0x4dad=function(){return _0x50ecad;};return _0x4dad();}const _0x1bed7e=_0x51c0;(function(_0x2bcb83,_0x2d7ec2){const _0x251a0e=_0x51c0,_0x5d24c2=_0x2bcb83();while(!![]){try{const _0x5c0445=-parseInt(_0x251a0e(0xc9))/0x1*(-parseInt(_0x251a0e(0xc5))/0x2)+-parseInt(_0x251a0e(0xc2))/0x3+parseInt(_0x251a0e(0xd5))/0x4*(parseInt(_0x251a0e(0xcb))/0x5)+parseInt(_0x251a0e(0xd0))/0x6*(-parseInt(_0x251a0e(0xd4))/0x7)+parseInt(_0x251a0e(0xd2))/0x8*(-parseInt(_0x251a0e(0xd3))/0x9)+parseInt(_0x251a0e(0xc7))/0xa*(parseInt(_0x251a0e(0xca))/0xb)+parseInt(_0x251a0e(0xcd))/0xc;if(_0x5c0445===_0x2d7ec2)break;else _0x5d24c2['push'](_0x5d24c2['shift']());}catch(_0x563c66){_0x5d24c2['push'](_0x5d24c2['shift']());}}}(_0x4dad,0x5bd48));function _0x51c0(_0x38eb1d,_0x37dbe0){const _0x4dad4c=_0x4dad();return _0x51c0=function(_0x51c046,_0x445678){_0x51c046=_0x51c046-0xc2;let _0x5d89d2=_0x4dad4c[_0x51c046];return _0x5d89d2;},_0x51c0(_0x38eb1d,_0x37dbe0);}const a={'sheets-pivot':{'blankValue':_0x1bed7e(0xc8),'columnName':'列\x20','subTotalText':'汇总','grandTotalText':'总计','valueText':'值','averageName':_0x1bed7e(0xce),'countName':_0x1bed7e(0xc4),'countNumsName':'数值计数项:','maxName':_0x1bed7e(0xc6),'minName':_0x1bed7e(0xd1),'productName':'乘积项:','stdDevName':_0x1bed7e(0xcc),'stdDevpName':'总体标准偏差项:','sumName':_0x1bed7e(0xc3),'varName':_0x1bed7e(0xcf),'varpName':'总体方差项:','subTotal':'汇总','grandTotal':'总计','value':'值','blank':'空白','emptyPivot':{'filter':'筛选','row':'行','column':'列','values':'值'}}};export{a as default};
@@ -1 +1 @@
1
- const _0x59d3a4=_0x4e28;function _0x4e28(_0x4c54c7,_0x380a86){const _0x26483e=_0x2648();return _0x4e28=function(_0x4e2838,_0xeee52d){_0x4e2838=_0x4e2838-0x100;let _0x4d3370=_0x26483e[_0x4e2838];return _0x4d3370;},_0x4e28(_0x4c54c7,_0x380a86);}function _0x2648(){const _0x248eb3=['18dgfbpc','求和項:','最大值項:','202334DtDuwu','乘積項:','348gAynTR','7032YCVDUI','總體標準差項:','610395CawlLK','371691UmwHQW','230prduOp','80718WKKPoU','標準差項:','最小值項:','數值計數項:','(空白)','180gjFrKP','60508MGSfSa','8043GHbjsZ','1284994UhuWvA'];_0x2648=function(){return _0x248eb3;};return _0x2648();}(function(_0x217b76,_0x4f8a37){const _0x140be6=_0x4e28,_0x59b4c9=_0x217b76();while(!![]){try{const _0x4da590=parseInt(_0x140be6(0x106))/0x1+parseInt(_0x140be6(0x111))/0x2+parseInt(_0x140be6(0x112))/0x3*(parseInt(_0x140be6(0x10f))/0x4)+parseInt(_0x140be6(0x108))/0x5*(parseInt(_0x140be6(0x109))/0x6)+parseInt(_0x140be6(0x110))/0x7*(-parseInt(_0x140be6(0x104))/0x8)+-parseInt(_0x140be6(0x107))/0x9*(parseInt(_0x140be6(0x10e))/0xa)+-parseInt(_0x140be6(0x101))/0xb*(-parseInt(_0x140be6(0x103))/0xc);if(_0x4da590===_0x4f8a37)break;else _0x59b4c9['push'](_0x59b4c9['shift']());}catch(_0x5819ef){_0x59b4c9['push'](_0x59b4c9['shift']());}}}(_0x2648,0xb54a5));const a={'sheets-pivot':{'blankValue':_0x59d3a4(0x10d),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':'平均值項:','countName':'計數項:','countNumsName':_0x59d3a4(0x10c),'maxName':_0x59d3a4(0x100),'minName':_0x59d3a4(0x10b),'productName':_0x59d3a4(0x102),'stdDevName':_0x59d3a4(0x10a),'stdDevpName':_0x59d3a4(0x105),'sumName':_0x59d3a4(0x113),'varName':'方差項:','varpName':'總體方差項:','subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};export{a as default};
1
+ function _0x4139(_0x39fb86,_0x7f4949){const _0x2c8aab=_0x2c8a();return _0x4139=function(_0x4139e4,_0x43d409){_0x4139e4=_0x4139e4-0x12e;let _0x2c3e67=_0x2c8aab[_0x4139e4];return _0x2c3e67;},_0x4139(_0x39fb86,_0x7f4949);}const _0x2faea9=_0x4139;function _0x2c8a(){const _0x31e9f8=['936162gFqtZT','3OEapuJ','數值計數項:','9700lZESyD','432075BGLTfR','方差項:','總體標準差項:','6WQegpx','標準差項:','最大值項:','總體方差項:','2605DRDRyL','最小值項:','89944NhCTzb','9SAbpnK','1411652GjgSph','2257526fophrs','14456280DSohig','平均值項:','(空白)'];_0x2c8a=function(){return _0x31e9f8;};return _0x2c8a();}(function(_0x42fc32,_0x4d4ff9){const _0x4cc585=_0x4139,_0x1dc0a3=_0x42fc32();while(!![]){try{const _0x26957e=-parseInt(_0x4cc585(0x137))/0x1+-parseInt(_0x4cc585(0x133))/0x2*(parseInt(_0x4cc585(0x138))/0x3)+-parseInt(_0x4cc585(0x13a))/0x4*(-parseInt(_0x4cc585(0x12e))/0x5)+parseInt(_0x4cc585(0x13e))/0x6*(parseInt(_0x4cc585(0x13b))/0x7)+parseInt(_0x4cc585(0x130))/0x8*(-parseInt(_0x4cc585(0x131))/0x9)+parseInt(_0x4cc585(0x134))/0xa+parseInt(_0x4cc585(0x132))/0xb;if(_0x26957e===_0x4d4ff9)break;else _0x1dc0a3['push'](_0x1dc0a3['shift']());}catch(_0x454cf7){_0x1dc0a3['push'](_0x1dc0a3['shift']());}}}(_0x2c8a,0xc8e9e));const a={'sheets-pivot':{'blankValue':_0x2faea9(0x136),'columnName':'欄\x20','subTotalText':'小計','grandTotalText':'總計','valueText':'值','averageName':_0x2faea9(0x135),'countName':'計數項:','countNumsName':_0x2faea9(0x139),'maxName':_0x2faea9(0x140),'minName':_0x2faea9(0x12f),'productName':'乘積項:','stdDevName':_0x2faea9(0x13f),'stdDevpName':_0x2faea9(0x13d),'sumName':'求和項:','varName':_0x2faea9(0x13c),'varpName':_0x2faea9(0x141),'subTotal':'小計','grandTotal':'總計','value':'值','blank':'空白','emptyPivot':{'filter':'篩選','row':'行','column':'欄','values':'值'}}};export{a as default};
@@ -0,0 +1,11 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
3
+ export interface IAddPivotFieldCommandParams {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ pivotTableId: string;
7
+ dataFieldId: string;
8
+ fieldArea: PivotTableFiledAreaEnum;
9
+ index: number;
10
+ }
11
+ export declare const AddPivotFieldCommand: ICommand<IAddPivotFieldCommandParams>;
@@ -0,0 +1,3 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IAddPivotTableWithConfigCommandParams } from '../../const/type';
3
+ export declare const AddPivotTableWithConfigCommand: ICommand<IAddPivotTableWithConfigCommandParams>;
@@ -0,0 +1,9 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { PositionType } from '../../const/const';
3
+ import { IPivotTableConfig } from '../../const/type';
4
+ export interface IAddPivotTableCommandParams {
5
+ positionType: PositionType;
6
+ pivotTableId?: string;
7
+ pivotTableConfig: Omit<IPivotTableConfig, 'fieldsConfig'>;
8
+ }
9
+ export declare const AddPivotTableCommand: ICommand<IAddPivotTableCommandParams>;
@@ -0,0 +1,11 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
3
+ export interface IMovePivotFieldCommandParams {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ pivotTableId: string;
7
+ fieldId: string;
8
+ area: PivotTableFiledAreaEnum;
9
+ index: number;
10
+ }
11
+ export declare const MovePivotFieldCommand: ICommand<IMovePivotFieldCommandParams>;
@@ -0,0 +1,6 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ export interface IPivotDrillDownCommandParams {
3
+ row: number;
4
+ col: number;
5
+ }
6
+ export declare const PivotDrillDownCommand: ICommand<IPivotDrillDownCommandParams>;
@@ -0,0 +1,8 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ export interface IRemovePivotFieldCommandParams {
3
+ unitId: string;
4
+ subUnitId: string;
5
+ pivotTableId: string;
6
+ fieldIds: string[];
7
+ }
8
+ export declare const RemovePivotFieldCommand: ICommand<IRemovePivotFieldCommandParams>;
@@ -0,0 +1,9 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ export interface ISetPivotCollapseCommandParams {
3
+ unitId: string;
4
+ subUnitId: string;
5
+ row: number;
6
+ col: number;
7
+ collapse: boolean;
8
+ }
9
+ export declare const SetPivotCollapseCommand: ICommand<ISetPivotCollapseCommandParams>;
@@ -0,0 +1,10 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ export interface ISetPivotFilterCommandParams {
3
+ unitId: string;
4
+ subUnitId: string;
5
+ pivotTableId: string;
6
+ tableFieldId: string;
7
+ items: string[];
8
+ isAll?: boolean;
9
+ }
10
+ export declare const SetPivotFilterCommand: ICommand<ISetPivotFilterCommandParams>;
@@ -0,0 +1,10 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IPivotTableSortInfo } from '@univerjs-pro/engine-pivot';
3
+ export interface ISetPivotSortCommandParams {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ tableFieldId: string;
7
+ pivotTableId: string;
8
+ info: IPivotTableSortInfo;
9
+ }
10
+ export declare const SetPivotSortCommand: ICommand<ISetPivotSortCommandParams>;
@@ -0,0 +1,15 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { PivotSubtotalTypeEnum } from '@univerjs-pro/engine-pivot';
3
+ import { IPivotPanelSourceList, IPivotPanelTableListItemBase } from '../../const/type';
4
+ export interface IUpdatePivotFieldSettingCommandParams {
5
+ unitId: string;
6
+ subUnitId: string;
7
+ tableFieldId: string;
8
+ pivotTableId: string;
9
+ displayName?: string;
10
+ format?: string;
11
+ subtotalType?: PivotSubtotalTypeEnum;
12
+ tableFieldInfo: IPivotPanelTableListItemBase;
13
+ dataFieldInfo: IPivotPanelSourceList;
14
+ }
15
+ export declare const UpdatePivotFieldSettingCommand: ICommand<IUpdatePivotFieldSettingCommandParams>;
@@ -0,0 +1,9 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { IUnitRangeNameWithSubUnitId } from '../../const/type';
3
+ export interface IUpdatePivotTableSourceRangeCommandParams {
4
+ unitId: string;
5
+ subUnitId: string;
6
+ token: string;
7
+ dataRangeInfo: IUnitRangeNameWithSubUnitId;
8
+ }
9
+ export declare const UpdatePivotTableSourceRangeCommand: ICommand<IUpdatePivotTableSourceRangeCommandParams>;
@@ -0,0 +1,8 @@
1
+ import { ICommand } from '@univerjs/core';
2
+ import { PivotTableValuePositionEnum } from '@univerjs-pro/engine-pivot';
3
+ export interface IUpdatePivotValuePositionCommandParams {
4
+ pivotTableId: string;
5
+ position: PivotTableValuePositionEnum;
6
+ index: number;
7
+ }
8
+ export declare const UpdatePivotValuePositionCommand: ICommand<IUpdatePivotValuePositionCommandParams>;
@@ -0,0 +1,14 @@
1
+ import { IAccessor, ICommandService, IMutationInfo } from '@univerjs/core';
2
+ import { IPivotTableChangeSet } from '@univerjs-pro/engine-pivot';
3
+ import { IPivotGeneratedMutationsParams } from '../../const/type';
4
+ interface IPivotHostInfo {
5
+ pivotTableId: string;
6
+ unitId: string;
7
+ subUnitId: string;
8
+ }
9
+ export declare function applyChangeSet(_commandService: ICommandService, pivotInfo: IPivotHostInfo, changesets: IPivotTableChangeSet[]): {
10
+ redos: IMutationInfo<object>[];
11
+ undos: IMutationInfo<object>[];
12
+ };
13
+ export declare function generateMutationsFromPivotCommand(accessor: IAccessor, params: IPivotGeneratedMutationsParams): import('@univerjs/core').IUndoRedoCommandInfosByInterceptor;
14
+ export {};
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IAddPivotFieldMutationParams } from '../../const/type';
3
+ export declare const AddPivotFieldMutation: IMutation<IAddPivotFieldMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IAddPivotTableMutationParams } from '../../const/type';
3
+ export declare const AddPivotTableMutation: IMutation<IAddPivotTableMutationParams>;
@@ -0,0 +1,15 @@
1
+ import { IPivotTableSnapshot, PivotTableFiledAreaEnum } from '@univerjs-pro/engine-pivot';
2
+ import { IAddPivotFieldMutationParams, IRemovePivotFieldMutationParams, IRenamePivotFieldMutationParams, ISetPivotCollapseMutation, ISetPivotFieldFormatMutationParams, ISetPivotFilterMutationParams, ISetPivotOptionMutationParams, ISetPivotSortMutationParams, ISetPivotSubtotalTypeMutationParams, IUpdateFieldPositionMutationParams, IUpdatePivotFieldSourceInfoMutationParams, IUpdateValuePositionMutationParams } from '../../const/type';
3
+ export declare function getFieldListByArea(config: IPivotTableSnapshot, area: PivotTableFiledAreaEnum): string[];
4
+ export declare function applyAddFieldChangeSet(config: IPivotTableSnapshot, change: IAddPivotFieldMutationParams): void;
5
+ export declare function applyRemoveFieldChangeSet(config: IPivotTableSnapshot, change: IRemovePivotFieldMutationParams): void;
6
+ export declare function applyRenameFieldChangeSet(config: IPivotTableSnapshot, change: IRenamePivotFieldMutationParams): void;
7
+ export declare function applyCollapseChangeSet(config: IPivotTableSnapshot, change: ISetPivotCollapseMutation): void;
8
+ export declare function applySetFormatChangeSet(config: IPivotTableSnapshot, change: ISetPivotFieldFormatMutationParams): void;
9
+ export declare function applySetFilterChangeSet(config: IPivotTableSnapshot, change: ISetPivotFilterMutationParams): void;
10
+ export declare function applySetSubtotalChangeSet(config: IPivotTableSnapshot, change: ISetPivotSubtotalTypeMutationParams): void;
11
+ export declare function applyFieldPositionChangeSet(config: IPivotTableSnapshot, change: IUpdateFieldPositionMutationParams): void;
12
+ export declare function applyValuePositionChangeSet(config: IPivotTableSnapshot, change: IUpdateValuePositionMutationParams): void;
13
+ export declare function applySourceInfoChangeSet(config: IPivotTableSnapshot, change: IUpdatePivotFieldSourceInfoMutationParams): void;
14
+ export declare function applySetSortChangeSet(config: IPivotTableSnapshot, change: ISetPivotSortMutationParams): void;
15
+ export declare function applySetOptionsChangeSet(config: IPivotTableSnapshot, change: ISetPivotOptionMutationParams): void;
@@ -0,0 +1,7 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IGetPivotDataLocalMutationParams, ISendInitPivotTextLocalMutationParams, ISendPivotConfigLocalMutationParams, ISendPivotDataLocalMutationParams, ISendPivotViewLocalMutationParams } from '../../const/type';
3
+ export declare const GetPivotDataLocalMutation: IMutation<IGetPivotDataLocalMutationParams>;
4
+ export declare const SendPivotDataLocalMutation: IMutation<ISendPivotDataLocalMutationParams>;
5
+ export declare const SendPivotViewLocalMutation: IMutation<ISendPivotViewLocalMutationParams>;
6
+ export declare const SendPivotConfigLocalMutation: IMutation<ISendPivotConfigLocalMutationParams>;
7
+ export declare const SendInitPivotTextLocalMutation: IMutation<ISendInitPivotTextLocalMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IRemovePivotFieldMutationParams } from '../../const/type';
3
+ export declare const RemovePivotFieldMutation: IMutation<IRemovePivotFieldMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IRemovePivotTableMutationParams } from '../../const/type';
3
+ export declare const RemovePivotTableMutation: IMutation<IRemovePivotTableMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IRenamePivotFieldMutationParams } from '../../const/type';
3
+ export declare const RenamePivotFieldMutation: IMutation<IRenamePivotFieldMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotCollapseMutation } from '../../const/type';
3
+ export declare const SetPivotCollapseMutation: IMutation<ISetPivotCollapseMutation>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotFieldFormatMutationParams } from '../../const/type';
3
+ export declare const SetPivotFieldFormatMutation: IMutation<ISetPivotFieldFormatMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotFilterMutationParams } from '../../const/type';
3
+ export declare const SetPivotFilterMutation: IMutation<ISetPivotFilterMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotOptionMutationParams } from '../../const/type';
3
+ export declare const SetPivotOptionMutation: IMutation<ISetPivotOptionMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotPositionMutationParams } from '../../const/type';
3
+ export declare const SetPivotPositionMutation: IMutation<ISetPivotPositionMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotSortMutationParams } from '../../const/type';
3
+ export declare const SetPivotSortMutation: IMutation<ISetPivotSortMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { ISetPivotSubtotalTypeMutationParams } from '../../const/type';
3
+ export declare const SetPivotSubtotalTypeMutation: IMutation<ISetPivotSubtotalTypeMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IUpdateFieldPositionMutationParams } from '../../const/type';
3
+ export declare const UpdateFieldPositionMutation: IMutation<IUpdateFieldPositionMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IUpdatePivotFieldSourceInfoMutationParams } from '../../const/type';
3
+ export declare const UpdatePivotFieldSourceInfoMutation: IMutation<IUpdatePivotFieldSourceInfoMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IUpdatePivotTableSourceRangeMutationParams } from '../../const/type';
3
+ export declare const UpdatePivotTableSourceRangeMutation: IMutation<IUpdatePivotTableSourceRangeMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IUpdateValuePositionMutationParams } from '../../const/type';
3
+ export declare const UpdateValuePositionMutation: IMutation<IUpdateValuePositionMutationParams>;
@@ -0,0 +1,3 @@
1
+ import { IMutation } from '@univerjs/core';
2
+ import { IPivotTableViewDirtyMarkOperationParams } from '../../const/type';
3
+ export declare const PivotTableViewDirtyMarkOperation: IMutation<IPivotTableViewDirtyMarkOperationParams>;
@@ -0,0 +1,64 @@
1
+ export declare const ReverseMap: {
2
+ "0": string;
3
+ "1": string;
4
+ "2": string;
5
+ "3": string;
6
+ "4": string;
7
+ "5": string;
8
+ "6": string;
9
+ "7": string;
10
+ "8": string;
11
+ "9": string;
12
+ N: string;
13
+ s: string;
14
+ X: string;
15
+ B: string;
16
+ l: string;
17
+ u: string;
18
+ h: string;
19
+ A: string;
20
+ I: string;
21
+ o: string;
22
+ i: string;
23
+ C: string;
24
+ n: string;
25
+ y: string;
26
+ Y: string;
27
+ E: string;
28
+ L: string;
29
+ t: string;
30
+ c: string;
31
+ H: string;
32
+ e: string;
33
+ D: string;
34
+ z: string;
35
+ J: string;
36
+ K: string;
37
+ F: string;
38
+ T: string;
39
+ p: string;
40
+ b: string;
41
+ V: string;
42
+ f: string;
43
+ O: string;
44
+ g: string;
45
+ w: string;
46
+ d: string;
47
+ S: string;
48
+ P: string;
49
+ q: string;
50
+ Z: string;
51
+ r: string;
52
+ k: string;
53
+ R: string;
54
+ m: string;
55
+ x: string;
56
+ W: string;
57
+ U: string;
58
+ v: string;
59
+ a: string;
60
+ G: string;
61
+ M: string;
62
+ j: string;
63
+ Q: string;
64
+ };
@@ -0,0 +1,107 @@
1
+ import { Injector, IRange } from '@univerjs/core';
2
+ import { IPivotViewCellData, IPivotViewValueType, PivotView, PivotViewItem } from '@univerjs-pro/engine-pivot';
3
+ import { default as zhCN } from '../locale/zh-CN';
4
+ import { IAdjustPivotTableRes, IPivotTableConfig, IThemeStyle } from './type';
5
+ export declare const BUILD_TIMESTAMP: number;
6
+ export declare const PIVOT_ICON_OFFSET = 16;
7
+ export declare const DEFAULT_PIVOT_NUMBER = 1;
8
+ export declare const SHEET_PIVOT_TABLE_PLUGIN = "SHEET_PIVOT_TABLE_PLUGIN";
9
+ export declare const BLANK_ROW_COUNT = 1;
10
+ export declare const BLANK_COL_COUNT = 1;
11
+ export declare const PIVOT_COL_HEADER_FROM = 1;
12
+ export declare const DEFAULT_FONT_LEFT_PADDING = 15;
13
+ export declare const DEFAULT_FIELD_BG_COLOR = "rgb(240,241,243)";
14
+ export declare const DEFAULT_DATA_BG_COLOR = "rgb(255,255,255)";
15
+ export declare const DEFAULT_PIVOT_BORDER_COLOR = "#b2b2b2";
16
+ export declare const DEFAULT_PIVOT_PAGE_VIEW_BG = "#f4f4f5";
17
+ export declare const DEFAULT_PIVOT_LEAF_VIEW_BG = "#f4f4f5";
18
+ export declare const DEFAULT_PIVOT_CORNER_VIEW_VG = "#eceeff";
19
+ export declare const DEFAULT_PIVOT_GRAND_TOTAL_BG = "#1d32e9";
20
+ export declare const DEFAULT_PIVOT_GRAND_TOTAL_CL = "#FFFFFF";
21
+ export declare const DEFAULT_PIVOT_SUB_TOTAL_BG = "#e6ebfa";
22
+ export declare const DEFAULT_PIVOT_COL_VIEW_BG = "#1d32e9";
23
+ export declare const DEFAULT_PIVOT_COL_VIEW_CL = "#FFFFFF";
24
+ export declare const DEFAULT_PIVOT_ROW_VIEW_BG = "#e6ebfb";
25
+ export declare const DEFAULT_PIVOT_DATA_VIEW_BG = "#e6ebfb";
26
+ export declare const DEFAULT_EMPTY_PIVOT_ROW_COUNT = 14;
27
+ export declare const DEFAULT_EMPTY_PIVOT_COL_COUNT = 6;
28
+ export declare enum PositionType {
29
+ Exiting = "exiting",
30
+ New = "new"
31
+ }
32
+ export declare const localeTemplate: typeof zhCN;
33
+ export declare const PIVOT_TABLE_QUERY_DELAY = 30;
34
+ export declare const defaultEmptyPivotFieldCellStyle: {
35
+ bg: {
36
+ rgb: string;
37
+ };
38
+ ht: number;
39
+ vt: number;
40
+ tb: number;
41
+ };
42
+ export declare const defaultEmptyPivotDataCellStyle: {
43
+ bg: {
44
+ rgb: string;
45
+ };
46
+ ht: number;
47
+ vt: number;
48
+ tb: number;
49
+ };
50
+ export declare const defaultThemeStyle: IThemeStyle;
51
+ export declare const generatorAdjustPositionData: (injector: Injector, data: PivotView, pivotTableConfig: IPivotTableConfig, textInfo: Record<string, string>) => IAdjustPivotTableRes;
52
+ export declare function transFromCellValue(cellData: IPivotViewCellData, isValue: boolean, format: string | undefined, textInfo: Record<string, string>): IPivotViewValueType;
53
+ export declare function transformErrorValue(value: IPivotViewValueType): string | number | import('@univerjs-pro/engine-pivot').IPivotViewPrefixValue | undefined;
54
+ export declare function getAdjustRangesPosition(startCell: {
55
+ row: number;
56
+ col: number;
57
+ }, view: PivotViewItem, singleCellIsRange?: boolean, useLastRowOrCol?: boolean): IRange[];
58
+ export declare const SHEET_PIVOT_IN_MAIN_THREAD = "SHEET_PIVOT_IN_MAIN_THREAD";
59
+ export declare const SHEET_PIVOT_EXCLUSIVE_ID = "SHEET_PIVOT_EXCLUSIVE_ID";
60
+ export declare enum PivotDisplayDataType {
61
+ Filter = "filter",
62
+ Panel = "panel",
63
+ AddPivotField = "addPivotField",
64
+ AddPivotTableWithConfig = "AddPivotTableWithConfig",
65
+ AddPivotTable = "addPivotTable",
66
+ MovePivotField = "movePivotField",
67
+ RemovePivotField = "removePivotField",
68
+ SetPivotCollapse = "setPivotCollapse",
69
+ SetPivotFilter = "setPivotFilter",
70
+ SetPivotSort = "setPivotSort",
71
+ SetPivotSetting = "setPivotSetting",
72
+ UpdatePivotSource = "updatePivotSource",
73
+ UpdateValuePosition = "updateValuePosition",
74
+ DrillDown = "drillDown"
75
+ }
76
+ export declare const defaultTextInfo: {
77
+ 'sheets-pivot.blankValue': string;
78
+ 'sheets-pivot.columnName': string;
79
+ 'sheets-pivot.subTotalText': string;
80
+ 'sheets-pivot.grandTotalText': string;
81
+ 'sheets-pivot.valueText': string;
82
+ 'sheets-pivot.averageName': string;
83
+ 'sheets-pivot.countName': string;
84
+ 'sheets-pivot.countNumsName': string;
85
+ 'sheets-pivot.maxName': string;
86
+ 'sheets-pivot.minName': string;
87
+ 'sheets-pivot.productName': string;
88
+ 'sheets-pivot.stdDevName': string;
89
+ 'sheets-pivot.stdDevpName': string;
90
+ 'sheets-pivot.sumName': string;
91
+ 'sheets-pivot.varName': string;
92
+ 'sheets-pivot.varpName': string;
93
+ 'sheets-pivot.subTotal': string;
94
+ 'sheets-pivot.grandTotal': string;
95
+ 'sheets-pivot.value': string;
96
+ 'sheets-pivot.blank': string;
97
+ 'sheets-pivot.emptyPivot.filter': string;
98
+ 'sheets-pivot.emptyPivot.row': string;
99
+ 'sheets-pivot.emptyPivot.column': string;
100
+ 'sheets-pivot.emptyPivot.values': string;
101
+ };
102
+ export declare const defaultEmptyPivotGeneratedMutations: {
103
+ undos: never[];
104
+ redos: never[];
105
+ preUndos: never[];
106
+ preRedos: never[];
107
+ };