@univerjs-pro/sheets-chart 1.0.0-alpha.8 → 1.0.0-beta.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 (101) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/chart-source/source-util.d.ts +0 -20
  65. package/lib/types/commands/chart-persisted-context.d.ts +3 -0
  66. package/lib/types/commands/commands/sheets-chart-update-config.command.d.ts +7 -3
  67. package/lib/types/commands/mutations/sheets-chart-update-config.mutation.d.ts +3 -3
  68. package/lib/types/common/util.d.ts +2 -0
  69. package/lib/types/config/config.d.ts +0 -2
  70. package/lib/types/facade/index.d.ts +2 -2
  71. package/lib/types/index.d.ts +10 -3
  72. package/lib/types/locale/en-US.d.ts +37 -2
  73. package/lib/types/plugin.d.ts +0 -1
  74. package/lib/types/services/chart-model.service.d.ts +12 -14
  75. package/lib/types/services/sheet-chart-range-watcher.d.ts +5 -5
  76. package/lib/types/services/sheets-chart.service.d.ts +4 -5
  77. package/lib/umd/facade.js +1 -1
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -1
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -1
  87. package/lib/umd/locale/it-IT.js +1 -1
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -1
  91. package/lib/umd/locale/pt-BR.js +1 -1
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -1
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +9 -9
  99. package/lib/types/chart-builder/index.d.ts +0 -10
  100. package/lib/types/facade/chart/index.d.ts +0 -2
  101. package/lib/types/models/chart-model.d.ts +0 -22
@@ -1 +1 @@
1
- function _0x5945(){const _0x597d02=['High','Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','Own\x20value','617458hOQPys','Giá\x20trị\x20lớn\x20nhất','Danh\x20mục\x20{0}','Hierarchy','Tần\x20suất','4HsqaHg','1536899CPTsBH','Phần\x20tư\x20thứ\x20ba','Giá\x20trị\x20nhỏ\x20nhất','Children','24nxlRxi','Tổng\x20phụ','5303892ghjmcX','11DtVzBn','Frequency','Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp','Giá\x20trị\x20âm','OHLC','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','113015HRJOcG','(Trống)','2027202Vrpfjf','Nguồn\x20dữ\x20liệu\x20cho\x20biểu\x20đồ\x20quan\x20hệ\x20là\x20ma\x20trận\x20đồng\x20từ\x20với\x20cột\x20loại\x20bổ\x20sung\x20ở\x20cột\x20thứ\x20hai','Giá\x20trị\x20dương','Value','16624224FURDyo','Chuỗi','160uAMYBO','126tKfhAW','Close','586134GyeJsf'];_0x5945=function(){return _0x597d02;};return _0x5945();}const _0x4840a2=_0x44f5;function _0x44f5(_0x1f08ec,_0x539fa0){_0x1f08ec=_0x1f08ec-0xba;const _0x5945b9=_0x5945();let _0x44f5e6=_0x5945b9[_0x1f08ec];return _0x44f5e6;}(function(_0x5d3c59,_0x244849){const _0x296d8e=_0x44f5,_0x3edd8f=_0x5d3c59();while(!![]){try{const _0x3667af=parseInt(_0x296d8e(0xcd))/0x1+-parseInt(_0x296d8e(0xd2))/0x2*(-parseInt(_0x296d8e(0xc0))/0x3)+-parseInt(_0x296d8e(0xd9))/0x4+-parseInt(_0x296d8e(0xbe))/0x5*(-parseInt(_0x296d8e(0xc7))/0x6)+-parseInt(_0x296d8e(0xd3))/0x7*(parseInt(_0x296d8e(0xd7))/0x8)+-parseInt(_0x296d8e(0xc9))/0x9*(parseInt(_0x296d8e(0xc6))/0xa)+-parseInt(_0x296d8e(0xda))/0xb*(-parseInt(_0x296d8e(0xc4))/0xc);if(_0x3667af===_0x244849)break;else _0x3edd8f['push'](_0x3edd8f['shift']());}catch(_0x7a52e4){_0x3edd8f['push'](_0x3edd8f['shift']());}}}(_0x5945,0xc3de9));const e={'sheets-chart':{'category':'Danh\x20mục','series':_0x4840a2(0xc5),'seriesDefaultName':'Loạt\x20{0}','categoryDefaultName':_0x4840a2(0xcf),'blank':_0x4840a2(0xbf),'msg':{'emptyTips':_0x4840a2(0xcb),'sankeyCircularTips':_0x4840a2(0xba)},'bubble':{'emptyTips':_0x4840a2(0xbd)},'relation':{'emptyTips':_0x4840a2(0xc1)},'cloud':{'word':'Từ','frequency':_0x4840a2(0xd1)},'waterfall':{'positive':_0x4840a2(0xc2),'negative':_0x4840a2(0xbb),'subtotal':_0x4840a2(0xd8)},'pareto':{'lineName':'Tỷ\x20lệ\x20tích\x20lũy'},'candlestick':{'series':_0x4840a2(0xbc),'category':'Category','open':'Open','high':_0x4840a2(0xca),'low':'Low','close':_0x4840a2(0xc8)},'boxplot':{'min':_0x4840a2(0xd5),'q1':'Phần\x20tư\x20thứ\x20nhất','median':'Trung\x20v','q3':_0x4840a2(0xd4),'max':_0x4840a2(0xce)},'histogram':{'frequency':_0x4840a2(0xdb)},'treemap':{'hierarchy':_0x4840a2(0xd0),'value':_0x4840a2(0xc3),'ownValue':_0x4840a2(0xcc),'children':_0x4840a2(0xd6)}}};module['exports']=e;
1
+ function _0x5455(_0x2c4dc7,_0x4e3250){_0x2c4dc7=_0x2c4dc7-0x194;const _0x313ddf=_0x313d();let _0x545595=_0x313ddf[_0x2c4dc7];return _0x545595;}const _0x3f0139=_0x5455;(function(_0x36112f,_0x1d193c){const _0x4af0fd=_0x5455,_0x38c366=_0x36112f();while(!![]){try{const _0x4c7bed=parseInt(_0x4af0fd(0x199))/0x1*(parseInt(_0x4af0fd(0x1b7))/0x2)+parseInt(_0x4af0fd(0x1a8))/0x3+-parseInt(_0x4af0fd(0x1b1))/0x4*(parseInt(_0x4af0fd(0x1c3))/0x5)+-parseInt(_0x4af0fd(0x1a1))/0x6+-parseInt(_0x4af0fd(0x1a3))/0x7*(parseInt(_0x4af0fd(0x1a4))/0x8)+-parseInt(_0x4af0fd(0x1b0))/0x9*(-parseInt(_0x4af0fd(0x1b2))/0xa)+-parseInt(_0x4af0fd(0x1ad))/0xb*(parseInt(_0x4af0fd(0x197))/0xc);if(_0x4c7bed===_0x1d193c)break;else _0x38c366['push'](_0x38c366['shift']());}catch(_0xfc67b6){_0x38c366['push'](_0x38c366['shift']());}}}(_0x313d,0xc6d8b));function _0x313d(){const _0x1f632e=['9272gmdHnq','Một\x20trường\x20biểu\x20đồ\x20đã\x20chọn\x20không\x20còn\x20khả\x20dụng.','Tổng\x20phụ','Giá\x20trị\x20nhỏ\x20nhất','3472479SxlLPA','Nguồn','Thành\x20phần','exports','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','10943669DPxbId','Danh\x20mục\x20{0}','Giá\x20trị\x20âm','9aYpJdM','6316YshJjb','14656340wFcphJ','Biểu\x20đồ\x20này\x20cần\x20thêm\x20trường\x20nhãn.','Tỷ\x20lệ\x20tích\x20lũy','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20một\x20trường\x20nhãn\x20và\x20đúng\x20một\x20trường\x20giá\x20trị.','Các\x20trường\x20đã\x20chọn\x20không\x20tạo\x20thành\x20cấu\x20trúc\x20dữ\x20liệu\x20hợp\x20lệ\x20cho\x20biểu\x20đồ\x20này.','31888YjegPU','Giá\x20mở\x20cửa','Trung\x20vị','Nhãn','Số\x20lượng\x20mối\x20quan\x20hệ','Phần\x20tư\x20thứ\x20nhất','Loại\x20biểu\x20đồ\x20này\x20không\x20có\x20chính\x20sách\x20sử\x20dụng\x20trường.','Phần\x20tử\x20con','Mục\x20tiêu','(Trống)','Nguồn\x20dữ\x20liệu\x20cho\x20biểu\x20đồ\x20quan\x20hệ\x20là\x20ma\x20trận\x20đồng\x20từ\x20với\x20cột\x20loại\x20bổ\x20sung\x20ở\x20cột\x20thứ\x20hai','Hệ\x20thống\x20phân\x20cấp','60MHEvrH','Chuỗi\x20OHLC','Cấu\x20hình\x20biểu\x20đồ\x20dây\x20cung\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20góc,\x20bán\x20kính,\x20độ\x20mờ\x20và\x20kích\x20thước.','Giá\x20trị\x20riêng','Cấu\x20hình\x20biểu\x20đồ\x20đồng\x20hồ\x20không\x20hợp\x20lệ.\x20Hãy\x20kiểm\x20tra\x20thang\x20đo,\x20phạm\x20vi,\x20tỷ\x20lệ\x20và\x20kích\x20thước.','Phần\x20tư\x20thứ\x20ba','Giá\x20thấp\x20nhất','12RjNWBH','Category','56YuETIg','Giá\x20trị\x20liên\x20kết','Giá\x20trị\x20dương','Trường\x20giá\x20trị','Tần\x20suất','Giá\x20cao\x20nhất','Biểu\x20đồ\x20dây\x20cung\x20cần\x20các\x20trường\x20Nguồn\x20và\x20Đích\x20khác\x20nhau\x20cùng\x20một\x20trường\x20Giá\x20trị\x20khác\x20biệt\x20không\x20bắt\x20buộc.','Trường\x20phân\x20cấp','8867460Zyxltk','Biểu\x20đồ\x20này\x20cần\x20thêm\x20trường\x20giá\x20trị\x20số.','1267iZbDXb'];_0x313d=function(){return _0x1f632e;};return _0x313d();}const e={'sheets-chart':{'seriesDefaultName':'Loạt\x20{0}','categoryDefaultName':_0x3f0139(0x1ae),'blank':_0x3f0139(0x1c0),'msg':{'emptyTips':'Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','sankeyCircularTips':'Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp'},'bubble':{'emptyTips':_0x3f0139(0x1ac)},'relation':{'emptyTips':_0x3f0139(0x1c1)},'cloud':{'word':'Từ','frequency':_0x3f0139(0x19d)},'waterfall':{'positive':_0x3f0139(0x19b),'negative':_0x3f0139(0x1af),'subtotal':_0x3f0139(0x1a6)},'pareto':{'lineName':_0x3f0139(0x1b4)},'boxplot':{'min':_0x3f0139(0x1a7),'q1':_0x3f0139(0x1bc),'median':_0x3f0139(0x1b9),'q3':_0x3f0139(0x195),'max':'Giá\x20trị\x20lớn\x20nhất'},'candlestick':{'series':_0x3f0139(0x1c4),'category':_0x3f0139(0x198),'open':_0x3f0139(0x1b8),'high':_0x3f0139(0x19e),'low':_0x3f0139(0x196),'close':'Giá\x20đóng\x20cửa'},'histogram':{'frequency':_0x3f0139(0x19d)},'pie':{'aggregateOther':'Khác','aggregateMembers':_0x3f0139(0x1aa)},'treemap':{'hierarchy':_0x3f0139(0x1a0),'value':_0x3f0139(0x19c),'ownValue':_0x3f0139(0x1c6),'children':'Phần\x20tử\x20con','diagnostic':'Biểu\x20đồ\x20cây\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.'},'sunburst':{'hierarchy':_0x3f0139(0x1c2),'value':'Value','ownValue':_0x3f0139(0x1c6),'children':_0x3f0139(0x1be),'diagnostic':'Biểu\x20đồ\x20sunburst\x20cần\x20ít\x20nhất\x20một\x20trường\x20phân\x20cấp\x20và\x20một\x20trường\x20giá\x20trị\x20số.'},'gauge':{'label':_0x3f0139(0x1ba),'value':'Value','emptyDiagnostic':'Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','mappingDiagnostic':_0x3f0139(0x1b5),'configDiagnostic':_0x3f0139(0x194)},'chord':{'emptyDiagnostic':'Biểu\x20đồ\x20dây\x20cung\x20cần\x20ít\x20nhất\x20một\x20quan\x20hệ\x20có\x20trọng\x20số\x20dương\x20giữa\x20hai\x20nút\x20khác\x20nhau.','mappingDiagnostic':_0x3f0139(0x19f),'configDiagnostic':_0x3f0139(0x1c5),'source':_0x3f0139(0x1a9),'target':_0x3f0139(0x1bf),'value':'Value','count':_0x3f0139(0x1bb),'associatedValue':_0x3f0139(0x19a)},'chartField':{'missingCategoryFields':_0x3f0139(0x1b3),'missingSeriesFields':_0x3f0139(0x1a2),'invalidFieldIndex':_0x3f0139(0x1a5),'invalidValueFieldType':'Trường\x20giá\x20trị\x20đã\x20chọn\x20không\x20chứa\x20dữ\x20liệu\x20số.','invalidDataStructure':_0x3f0139(0x1b6),'unsupportedChartType':_0x3f0139(0x1bd)}}};module[_0x3f0139(0x1ab)]=e;
@@ -1 +1 @@
1
- const _0x2419e4=_0x22c0;(function(_0x4d147f,_0x12b398){const _0x500356=_0x22c0,_0x4ee41c=_0x4d147f();while(!![]){try{const _0x21d4e8=parseInt(_0x500356(0x1a3))/0x1*(-parseInt(_0x500356(0x190))/0x2)+parseInt(_0x500356(0x18e))/0x3*(parseInt(_0x500356(0x18f))/0x4)+parseInt(_0x500356(0x1a4))/0x5+parseInt(_0x500356(0x193))/0x6*(-parseInt(_0x500356(0x1a5))/0x7)+parseInt(_0x500356(0x191))/0x8+parseInt(_0x500356(0x19c))/0x9*(parseInt(_0x500356(0x194))/0xa)+parseInt(_0x500356(0x197))/0xb;if(_0x21d4e8===_0x12b398)break;else _0x4ee41c['push'](_0x4ee41c['shift']());}catch(_0x41b64d){_0x4ee41c['push'](_0x4ee41c['shift']());}}}(_0x1410,0xbeb1e));function _0x22c0(_0xfa0b61,_0x556ecd){_0xfa0b61=_0xfa0b61-0x18d;const _0x14108b=_0x1410();let _0x22c0dc=_0x14108b[_0xfa0b61];return _0x22c0dc;}const e={'sheets-chart':{'category':'类别','series':'系列','seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x2419e4(0x19d),'blank':'()','msg':{'emptyTips':_0x2419e4(0x195),'sankeyCircularTips':'桑基图不能包含循环数据'},'bubble':{'emptyTips':_0x2419e4(0x18d)},'relation':{'emptyTips':_0x2419e4(0x19f)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x2419e4(0x192)},'candlestick':{'series':_0x2419e4(0x1a1),'category':_0x2419e4(0x1a2),'open':_0x2419e4(0x19a),'high':_0x2419e4(0x19e),'low':_0x2419e4(0x199),'close':_0x2419e4(0x1a7)},'boxplot':{'min':_0x2419e4(0x1a0),'q1':_0x2419e4(0x196),'median':_0x2419e4(0x19b),'q3':_0x2419e4(0x1a6),'max':'最大值'},'histogram':{'frequency':'频数'},'treemap':{'hierarchy':'层级','value':'值','ownValue':_0x2419e4(0x198),'children':'子项'}}};function _0x1410(){const _0x4c3484=['OHLC','Category','3pyvuXP','776760GNDukh','880054YTmWzC','第三四分位数','Close','气泡图至少需要2列,X轴、Y轴。','3odASaI','3926432drJIrI','36954KTWakV','7848128kpzmjl','累积占比','72lsauhj','10LtbjKx','请先添加系列开始数据可视化','第一四分位数','2442451TTzILi','自身值','Low','Open','中位数','46476pZbLEl','类别\x20{0}','High','关系图数据源为额外添加类型列在第二列的共词矩阵','最小值'];_0x1410=function(){return _0x4c3484;};return _0x1410();}module['exports']=e;
1
+ const _0x19ce51=_0x2c6d;function _0x255e(){const _0x3a9db0=['仪表图需要一个标签字段且只能有一个数值字段。','42YjytUu','矩形树图至少需要一个层级字段和一个数值字段。','系列\x20{0}','812340tpniHQ','请先添加系列开始数据可视化','关联值','第三四分位数','3483326ffQPRN','数值字段','最大值','15gvzVTJ','仪表图至少需要一个有限数值。','110803jFXpFx','弦图至少需要两个不同节点之间的一条正权重关系。','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','此图表需要更多标签字段。','第一四分位数','气泡图至少需要2列,X轴、Y轴。','324YHHJmo','此图表类型没有字段使用规则。','旭日图至少需要一个层级字段和一个数值字段。','所选图表字段已不可用。','自身值','53256JzaLue','(空)','OHLC\x20系列','关系计数','Value','Category','关系图数据源为额外添加类型列在第二列的共词矩阵','751PsDFET','24rbLdsF','此图表需要更多数值字段。','中位数','507447oJwnjZ','最小值','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','所选字段无法构成此图表所需的有效数据结构。','exports','所选值字段不包含数值数据。','累积占比','成员数','279700XhadDr'];_0x255e=function(){return _0x3a9db0;};return _0x255e();}function _0x2c6d(_0x298d88,_0x546401){_0x298d88=_0x298d88-0x14d;const _0x255ebf=_0x255e();let _0x2c6d11=_0x255ebf[_0x298d88];return _0x2c6d11;}(function(_0x233565,_0x5e9cb9){const _0x4aefb2=_0x2c6d,_0x31094c=_0x233565();while(!![]){try{const _0x215b68=parseInt(_0x4aefb2(0x169))/0x1*(-parseInt(_0x4aefb2(0x15d))/0x2)+parseInt(_0x4aefb2(0x155))/0x3*(parseInt(_0x4aefb2(0x162))/0x4)+-parseInt(_0x4aefb2(0x14e))/0x5+parseInt(_0x4aefb2(0x177))/0x6*(-parseInt(_0x4aefb2(0x157))/0x7)+parseInt(_0x4aefb2(0x16a))/0x8*(parseInt(_0x4aefb2(0x16d))/0x9)+-parseInt(_0x4aefb2(0x175))/0xa+parseInt(_0x4aefb2(0x152))/0xb;if(_0x215b68===_0x5e9cb9)break;else _0x31094c['push'](_0x31094c['shift']());}catch(_0x4d45d9){_0x31094c['push'](_0x31094c['shift']());}}}(_0x255e,0x1f9ca));const e={'sheets-chart':{'seriesDefaultName':_0x19ce51(0x14d),'categoryDefaultName':'类别\x20{0}','blank':_0x19ce51(0x163),'msg':{'emptyTips':_0x19ce51(0x14f),'sankeyCircularTips':'桑基图不能包含循环数据'},'bubble':{'emptyTips':_0x19ce51(0x15c)},'relation':{'emptyTips':_0x19ce51(0x168)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x19ce51(0x173)},'boxplot':{'min':_0x19ce51(0x16e),'q1':_0x19ce51(0x15b),'median':_0x19ce51(0x16c),'q3':_0x19ce51(0x151),'max':_0x19ce51(0x154)},'candlestick':{'series':_0x19ce51(0x164),'category':_0x19ce51(0x167),'open':'开盘','high':'最高','low':'最低','close':'收盘'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x19ce51(0x174)},'treemap':{'hierarchy':'层级字段','value':_0x19ce51(0x153),'ownValue':_0x19ce51(0x161),'children':'子项','diagnostic':_0x19ce51(0x178)},'sunburst':{'hierarchy':'层级','value':_0x19ce51(0x166),'ownValue':_0x19ce51(0x161),'children':'子项','diagnostic':_0x19ce51(0x15f)},'gauge':{'label':'标签','value':_0x19ce51(0x166),'emptyDiagnostic':_0x19ce51(0x156),'mappingDiagnostic':_0x19ce51(0x176),'configDiagnostic':_0x19ce51(0x159)},'chord':{'emptyDiagnostic':_0x19ce51(0x158),'mappingDiagnostic':_0x19ce51(0x16f),'configDiagnostic':'弦图配置无效,请检查角度、半径、不透明度和尺寸。','source':'来源','target':'目标','value':_0x19ce51(0x166),'count':_0x19ce51(0x165),'associatedValue':_0x19ce51(0x150)},'chartField':{'missingCategoryFields':_0x19ce51(0x15a),'missingSeriesFields':_0x19ce51(0x16b),'invalidFieldIndex':_0x19ce51(0x160),'invalidValueFieldType':_0x19ce51(0x172),'invalidDataStructure':_0x19ce51(0x170),'unsupportedChartType':_0x19ce51(0x15e)}}};module[_0x19ce51(0x171)]=e;
@@ -1 +1 @@
1
- const _0x2a856a=_0x4c11;function _0xe6a5(){const _0x4dd439=['1097763TGDsvm','Close','76LuVCQV','系列\x20{0}','36625xEQGqE','4562285UtSjvz','23674512yYsdvg','Low','110hXsqrq','9mpXUCl','OHLC','6ibmVOl','自身值','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','最小值','2TCYWvP','High','請先添加系列開始數據可視化','230219YNePCc','1298200ZGlTsJ','類別\x20{0}','中位數','exports','累積占比','282175UdttbE','第三四分位數','Open'];_0xe6a5=function(){return _0x4dd439;};return _0xe6a5();}function _0x4c11(_0x40329c,_0x3b2bfb){_0x40329c=_0x40329c-0xf8;const _0xe6a50b=_0xe6a5();let _0x4c11a0=_0xe6a50b[_0x40329c];return _0x4c11a0;}(function(_0x37e356,_0x10084b){const _0x2d4f31=_0x4c11,_0x264e73=_0x37e356();while(!![]){try{const _0x1be659=-parseInt(_0x2d4f31(0xfd))/0x1+-parseInt(_0x2d4f31(0x10f))/0x2*(parseInt(_0x2d4f31(0x100))/0x3)+-parseInt(_0x2d4f31(0x102))/0x4*(parseInt(_0x2d4f31(0x104))/0x5)+-parseInt(_0x2d4f31(0x10b))/0x6*(parseInt(_0x2d4f31(0x105))/0x7)+-parseInt(_0x2d4f31(0xf8))/0x8*(-parseInt(_0x2d4f31(0x109))/0x9)+-parseInt(_0x2d4f31(0x108))/0xa*(parseInt(_0x2d4f31(0x112))/0xb)+parseInt(_0x2d4f31(0x106))/0xc;if(_0x1be659===_0x10084b)break;else _0x264e73['push'](_0x264e73['shift']());}catch(_0x33383a){_0x264e73['push'](_0x264e73['shift']());}}}(_0xe6a5,0x71bf2));const e={'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':_0x2a856a(0x103),'categoryDefaultName':_0x2a856a(0xf9),'blank':'(空)','msg':{'emptyTips':_0x2a856a(0x111),'sankeyCircularTips':'桑基圖不能包含循環數據'},'bubble':{'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'emptyTips':_0x2a856a(0x10d)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x2a856a(0xfc)},'candlestick':{'series':_0x2a856a(0x10a),'category':'Category','open':_0x2a856a(0xff),'high':_0x2a856a(0x110),'low':_0x2a856a(0x107),'close':_0x2a856a(0x101)},'boxplot':{'min':_0x2a856a(0x10e),'q1':'第一四分位數','median':_0x2a856a(0xfa),'q3':_0x2a856a(0xfe),'max':'最大值'},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':_0x2a856a(0x10c),'children':'子項'}}};module[_0x2a856a(0xfb)]=e;
1
+ const _0x48be86=_0x3078;function _0x1857(){const _0x53ff06=['儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','收盤價','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','exports','所選數值欄位不包含數值資料。','關係數','11641yqDDwx','342726omaybA','開盤價','旭日圖至少需要一個階層欄位和一個數值欄位。','中位數','請先添加系列開始數據可視化','第一四分位數','最高價','階層欄位','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','所選圖表欄位已無法使用。','儀表圖至少需要一個有限數值。','8474088jhnedT','20ATBDYY','1103010vvIxkg','自身值','614383QejlEH','最大值','桑基圖不能包含循環數據','數值欄位','系列\x20{0}','1940610ecRtSx','類別\x20{0}','Value','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','286985qDKDsB','最小值','Category','此圖表需要更多標籤欄位。'];_0x1857=function(){return _0x53ff06;};return _0x1857();}(function(_0x270b83,_0x439e64){const _0x41dff9=_0x3078,_0x1bf848=_0x270b83();while(!![]){try{const _0xec593b=parseInt(_0x41dff9(0xb8))/0x1+parseInt(_0x41dff9(0xb9))/0x2+parseInt(_0x41dff9(0xa3))/0x3+-parseInt(_0x41dff9(0xa2))/0x4*(-parseInt(_0x41dff9(0xae))/0x5)+parseInt(_0x41dff9(0xaa))/0x6+parseInt(_0x41dff9(0xa5))/0x7+-parseInt(_0x41dff9(0xa1))/0x8;if(_0xec593b===_0x439e64)break;else _0x1bf848['push'](_0x1bf848['shift']());}catch(_0x4bf6db){_0x1bf848['push'](_0x1bf848['shift']());}}}(_0x1857,0x2e4a2));const e={'sheets-chart':{'seriesDefaultName':_0x48be86(0xa9),'categoryDefaultName':_0x48be86(0xab),'blank':'(空)','msg':{'emptyTips':_0x48be86(0xbd),'sankeyCircularTips':_0x48be86(0xa7)},'bubble':{'emptyTips':'氣泡圖至少需要2欄,X軸、Y軸。'},'relation':{'emptyTips':_0x48be86(0xb4)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':'累積占比'},'boxplot':{'min':_0x48be86(0xaf),'q1':_0x48be86(0xbe),'median':_0x48be86(0xbc),'q3':'第三四分位數','max':_0x48be86(0xa6)},'candlestick':{'series':'OHLC\x20數列','category':_0x48be86(0xb0),'open':_0x48be86(0xba),'high':_0x48be86(0xbf),'low':'最低價','close':_0x48be86(0xb3)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x48be86(0xc0),'value':_0x48be86(0xa8),'ownValue':_0x48be86(0xa4),'children':'子項','diagnostic':'矩形樹圖至少需要一個階層欄位和一個數值欄位。'},'sunburst':{'hierarchy':'階層','value':'Value','ownValue':_0x48be86(0xa4),'children':'子項','diagnostic':_0x48be86(0xbb)},'gauge':{'label':'標籤','value':_0x48be86(0xac),'emptyDiagnostic':_0x48be86(0xa0),'mappingDiagnostic':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','configDiagnostic':_0x48be86(0xb2)},'chord':{'emptyDiagnostic':'弦圖至少需要兩個不同節點之間的一條正權重關係。','mappingDiagnostic':_0x48be86(0xad),'configDiagnostic':_0x48be86(0x9e),'source':'來源','target':'目標','value':_0x48be86(0xac),'count':_0x48be86(0xb7),'associatedValue':'關聯值'},'chartField':{'missingCategoryFields':_0x48be86(0xb1),'missingSeriesFields':'此圖表需要更多數值欄位。','invalidFieldIndex':_0x48be86(0x9f),'invalidValueFieldType':_0x48be86(0xb6),'invalidDataStructure':'所選欄位無法構成此圖表所需的有效資料結構。','unsupportedChartType':'此圖表類型沒有欄位使用規則。'}}};function _0x3078(_0x5414b8,_0x2a5b29){_0x5414b8=_0x5414b8-0x9e;const _0x18579b=_0x1857();let _0x307852=_0x18579b[_0x5414b8];return _0x307852;}module[_0x48be86(0xb5)]=e;
@@ -1 +1 @@
1
- function _0x3681(){const _0x21c660=['系列\x20{0}','氣泡圖至少需要2欄,X軸、Y軸。','High','6LfJEeU','2465jIwfHF','第三四分位數','2819832QEZeNp','1719088DSHkch','Category','桑基圖不能包含循環數據','10qRGkhA','Open','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','請先添加系列開始數據可視化','自身值','888KUSmXR','最小值','類別\x20{0}','864612opegEt','195813MtinmY','692679qfgppK','最大值','exports','7137216tmITIB','Low','Close','第一四分位數'];_0x3681=function(){return _0x21c660;};return _0x3681();}const _0x454c3a=_0x4fe7;function _0x4fe7(_0xc634e6,_0x260cf8){_0xc634e6=_0xc634e6-0x113;const _0x3681e0=_0x3681();let _0x4fe7f6=_0x3681e0[_0xc634e6];return _0x4fe7f6;}(function(_0x8608ba,_0x435db0){const _0x4aa873=_0x4fe7,_0x2fdc07=_0x8608ba();while(!![]){try{const _0x5f297d=parseInt(_0x4aa873(0x115))/0x1*(parseInt(_0x4aa873(0x120))/0x2)+-parseInt(_0x4aa873(0x116))/0x3+-parseInt(_0x4aa873(0x12c))/0x4*(parseInt(_0x4aa873(0x121))/0x5)+-parseInt(_0x4aa873(0x114))/0x6+-parseInt(_0x4aa873(0x124))/0x7+-parseInt(_0x4aa873(0x123))/0x8+-parseInt(_0x4aa873(0x119))/0x9*(-parseInt(_0x4aa873(0x127))/0xa);if(_0x5f297d===_0x435db0)break;else _0x2fdc07['push'](_0x2fdc07['shift']());}catch(_0x4b5bdf){_0x2fdc07['push'](_0x2fdc07['shift']());}}}(_0x3681,0x48be7));const e={'sheets-chart':{'category':'類別','series':'系列','seriesDefaultName':_0x454c3a(0x11d),'categoryDefaultName':_0x454c3a(0x113),'blank':'()','msg':{'emptyTips':_0x454c3a(0x12a),'sankeyCircularTips':_0x454c3a(0x126)},'bubble':{'emptyTips':_0x454c3a(0x11e)},'relation':{'emptyTips':_0x454c3a(0x129)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':'累積占比'},'candlestick':{'series':'OHLC','category':_0x454c3a(0x125),'open':_0x454c3a(0x128),'high':_0x454c3a(0x11f),'low':_0x454c3a(0x11a),'close':_0x454c3a(0x11b)},'boxplot':{'min':_0x454c3a(0x12d),'q1':_0x454c3a(0x11c),'median':'中位數','q3':_0x454c3a(0x122),'max':_0x454c3a(0x117)},'histogram':{'frequency':'頻數'},'treemap':{'hierarchy':'層級','value':'','ownValue':_0x454c3a(0x12b),'children':'子項'}}};module[_0x454c3a(0x118)]=e;
1
+ function _0x4696(_0x4ab9f7,_0x137101){_0x4ab9f7=_0x4ab9f7-0x192;const _0x1ecfb7=_0x1ecf();let _0x4696cc=_0x1ecfb7[_0x4ab9f7];return _0x4696cc;}const _0x37133d=_0x4696;(function(_0x3b612c,_0x22e78b){const _0x484387=_0x4696,_0x4a3c07=_0x3b612c();while(!![]){try{const _0x3f4587=parseInt(_0x484387(0x1a8))/0x1+parseInt(_0x484387(0x1a6))/0x2+-parseInt(_0x484387(0x1b6))/0x3+parseInt(_0x484387(0x197))/0x4+-parseInt(_0x484387(0x1bb))/0x5*(parseInt(_0x484387(0x193))/0x6)+-parseInt(_0x484387(0x195))/0x7+parseInt(_0x484387(0x1ba))/0x8*(-parseInt(_0x484387(0x1a1))/0x9);if(_0x3f4587===_0x22e78b)break;else _0x4a3c07['push'](_0x4a3c07['shift']());}catch(_0x564e67){_0x4a3c07['push'](_0x4a3c07['shift']());}}}(_0x1ecf,0x8ae9a));const e={'sheets-chart':{'seriesDefaultName':'系列\x20{0}','categoryDefaultName':_0x37133d(0x1ad),'blank':_0x37133d(0x194),'msg':{'emptyTips':_0x37133d(0x1b9),'sankeyCircularTips':_0x37133d(0x1a4)},'bubble':{'emptyTips':_0x37133d(0x1a0)},'relation':{'emptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣'},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x37133d(0x1b8)},'boxplot':{'min':_0x37133d(0x1a7),'q1':_0x37133d(0x1a5),'median':_0x37133d(0x1b4),'q3':_0x37133d(0x1a9),'max':_0x37133d(0x1b2)},'candlestick':{'series':_0x37133d(0x19a),'category':_0x37133d(0x1aa),'open':_0x37133d(0x1ae),'high':_0x37133d(0x1a3),'low':_0x37133d(0x1af),'close':_0x37133d(0x1b1)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x37133d(0x1ac),'value':'數值欄位','ownValue':_0x37133d(0x19e),'children':'子項','diagnostic':_0x37133d(0x1a2)},'sunburst':{'hierarchy':'階層','value':'Value','ownValue':_0x37133d(0x19e),'children':'子項','diagnostic':_0x37133d(0x192)},'gauge':{'label':'標籤','value':_0x37133d(0x1b7),'emptyDiagnostic':_0x37133d(0x19c),'mappingDiagnostic':_0x37133d(0x19d),'configDiagnostic':_0x37133d(0x1b0)},'chord':{'emptyDiagnostic':_0x37133d(0x1ab),'mappingDiagnostic':_0x37133d(0x198),'configDiagnostic':_0x37133d(0x19f),'source':'來源','target':'目標','value':_0x37133d(0x1b7),'count':_0x37133d(0x199),'associatedValue':_0x37133d(0x1b3)},'chartField':{'missingCategoryFields':_0x37133d(0x19b),'missingSeriesFields':_0x37133d(0x1b5),'invalidFieldIndex':'選取的圖表欄位已無法使用。','invalidValueFieldType':'選取的數值欄位不包含數值資料。','invalidDataStructure':'選取的欄位無法構成這個圖表所需的有效資料結構。','unsupportedChartType':_0x37133d(0x196)}}};module['exports']=e;function _0x1ecf(){const _0x1f756c=['2256987veIliO','Value','累積占比','請先添加系列開始數據可視化','24OQoLEN','10HHZAWl','旭日圖至少需要一個階層欄位和一個數值欄位。','1465242pPeJmu','(空)','1082669kqkWWb','這個圖表類型沒有欄位使用規則。','4353340xJzZEp','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','關係數','OHLC\x20數列','這個圖表需要更多標籤欄位。','儀表圖至少需要一個有限數值。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','自身值','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','氣泡圖至少需要2欄,X軸、Y軸。','766467vCSlKD','矩形樹圖至少需要一個階層欄位和一個數值欄位。','最高價','桑基圖不能包含循環數據','第一四分位數','656968MWgPXP','最小值','803066ltZUyc','第三四分位數','Category','弦圖至少需要兩個不同節點之間的一條正權重關係。','階層欄位','類別\x20{0}','開盤價','最低價','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','收盤價','最大值','關聯值','中位數','這個圖表需要更多數值欄位。'];_0x1ecf=function(){return _0x1f756c;};return _0x1ecf();}
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x5586bc=_0x178a;(function(_0x4410bf,_0x50a183){const _0x45d63f=_0x178a,_0x43e41d=_0x4410bf();while(!![]){try{const _0x57f263=-parseInt(_0x45d63f(0xf4))/0x1+-parseInt(_0x45d63f(0xfb))/0x2+parseInt(_0x45d63f(0xdf))/0x3*(parseInt(_0x45d63f(0xe8))/0x4)+parseInt(_0x45d63f(0xe3))/0x5+-parseInt(_0x45d63f(0xd8))/0x6*(-parseInt(_0x45d63f(0xe1))/0x7)+parseInt(_0x45d63f(0xf3))/0x8+-parseInt(_0x45d63f(0xf8))/0x9;if(_0x57f263===_0x50a183)break;else _0x43e41d['push'](_0x43e41d['shift']());}catch(_0x2b58b6){_0x43e41d['push'](_0x43e41d['shift']());}}}(_0x46bb,0x5795e));import{FWorksheet as _0x2fdd14}from'@univerjs/sheets/facade';import{ChartThemeService as _0x226503,DEFAULT_CHART_TYPE as _0xdb99c0,DataOrientation as _0x1b6364,DetachedChartBuilderAdapter as _0x467ed9,IChartRenderModelManagerService as _0x4cbbfa,chartTypeToBits as _0x3ccc6c,resolveChartRenderModelImageExportInput as _0x183a1f,toChartModelConfig as _0x5a37d4}from'@univerjs-pro/engine-chart';import{FChartBuilderBase as _0x3b2230,FChartsBase as _0x4d21eb,HostBuilderComposer as _0x485146,getChartBuilderConstructor as _0x34c17c,getChartBuilderPendingConfig as _0x39f09e}from'@univerjs-pro/engine-chart/facade';import{ChartDiagnosticSeverity as _0x5626eb,ChartSourceKind as _0x610818,ChartSourceOrientation as _0x32fbb5,ChartUpdateSourceCommand as _0x1c32fd,InsertChartCommand as _0x1a19ea,SheetChartBuilder as _0x5eef78,SheetChartBuilderAdapter as _0x5310b4,SheetsChartService as _0x5c9906,resolveInitialChartPosition as _0x1564e9,resolveSourceSeries as _0x56dee6,resolveSourceSpec as _0x2a95d1,toSheetChartCreateSpec as _0x2aae71}from'@univerjs-pro/sheets-chart';import{DrawingTypeEnum as _0x55e5a0,ICommandService as _0x3683f2,LocaleService as _0x54f6fd,generateRandomId as _0x5d2fa9}from'@univerjs/core';import{ISheetDrawingService as _0x248e1d,RemoveSheetDrawingCommand as _0x345e2}from'@univerjs/sheets-drawing';import{FEnum as _0x24d80e}from'@univerjs/core/facade';function N(_0x334f91){const _0x54d327=_0x178a;return class extends _0x334f91{get[_0x54d327(0xfe)](){const _0x21faca=_0x54d327;return this[_0x21faca(0x11c)];}['setSource'](_0x115961){const _0x4986a9=_0x54d327;return this[_0x4986a9(0xfe)][_0x4986a9(0x104)](_0x115961),this;}[_0x54d327(0x11e)](){const _0x141721=_0x54d327;return this[_0x141721(0xfe)]['getSource']();}[_0x54d327(0x106)](_0x51a69d){const _0x859bd7=_0x54d327;return this[_0x859bd7(0xfe)]['setLayout']({'anchor':_0x51a69d}),this;}[_0x54d327(0x103)](_0x370952,_0x212c47){const _0x558e2a=_0x54d327;return this['_sheetBuilder'][_0x558e2a(0xd2)]({'position':{'x':_0x370952,'y':_0x212c47}}),this;}[_0x54d327(0xd1)](_0x1695dc,_0x285d11){const _0xf2344d=_0x54d327;return this[_0xf2344d(0xfe)][_0xf2344d(0xd2)]({'size':{'width':_0x1695dc,'height':_0x285d11}}),this;}};}const P=new _0x485146(_0x343384=>N(_0x343384));function _0x178a(_0x2e7da3,_0x2a6549){_0x2e7da3=_0x2e7da3-0xce;const _0x46bb1a=_0x46bb();let _0x178ac5=_0x46bb1a[_0x2e7da3];return _0x178ac5;}var F=class{constructor(_0x37fb53,_0x2a4dc1,_0x3d22c5,_0x1b087e){const _0x2018f5=_0x178a;this[_0x2018f5(0xd6)]=_0x37fb53,this[_0x2018f5(0xf9)]=_0x2a4dc1,this['chartId']=_0x3d22c5,this[_0x2018f5(0x100)]=_0x1b087e;}['getChartId'](){return this['chartId'];}[_0x5586bc(0x11d)](){const _0xce7c4b=_0x5586bc;return this[_0xce7c4b(0x112)];}['getRange'](){const _0x5e538f=_0x5586bc;var _0x6d035b;return(_0x6d035b=this[_0x5e538f(0x100)][_0x5e538f(0x10b)](_0x5c9906)[_0x5e538f(0xf6)](this['chartId']))==null?void 0x0:_0x6d035b[_0x5e538f(0xf5)][_0x5e538f(0xe0)]();}[_0x5586bc(0xf7)](_0xc914dc){const _0x5efa22=_0x5586bc;return this[_0x5efa22(0x100)][_0x5efa22(0x10b)](_0x3683f2)[_0x5efa22(0xdd)](_0x1c32fd['id'],{'unitId':this[_0x5efa22(0xd6)],'chartModelId':this[_0x5efa22(0x112)],'range':_0xc914dc});}['getSeriesData'](){const _0x139020=_0x5586bc;var _0x229588;return(_0x229588=this[_0x139020(0x100)]['get'](_0x5c9906)['getChartModel'](this[_0x139020(0x112)]))==null||(_0x229588=_0x229588[_0x139020(0xce)])==null?void 0x0:_0x229588[_0x139020(0xd5)];}[_0x5586bc(0xff)](){const _0x302b5d=_0x5586bc;var _0x5d3939;return(_0x5d3939=this[_0x302b5d(0x100)][_0x302b5d(0x10b)](_0x5c9906)['getChartModel'](this[_0x302b5d(0x112)]))==null||(_0x5d3939=_0x5d3939[_0x302b5d(0xce)])==null?void 0x0:_0x5d3939[_0x302b5d(0x10e)];}async['exportImage'](_0x404768){const _0x270ff8=_0x5586bc;var _0x358e0f,_0x5b9360,_0x31c197,_0x4fe239;let _0x4dec44=this[_0x270ff8(0x100)][_0x270ff8(0x10b)](_0x5c9906)[_0x270ff8(0xf6)](this['chartId']);if(!_0x4dec44||!this[_0x270ff8(0x100)][_0x270ff8(0x10d)](_0x248e1d))return null;let _0x1ef454=this[_0x270ff8(0x100)][_0x270ff8(0x10b)](_0x248e1d)['getDrawingByParam']({'unitId':this[_0x270ff8(0xd6)],'subUnitId':this[_0x270ff8(0xf9)],'drawingId':this[_0x270ff8(0x112)]}),_0x3c101d=_0x183a1f({'runtime':{'chartId':this[_0x270ff8(0x112)],'model':_0x4dec44},'direction':this['_injector']['get'](_0x54f6fd)['getDirection'](),'width':(_0x358e0f=_0x1ef454==null||(_0x5b9360=_0x1ef454['transform'])==null?void 0x0:_0x5b9360['width'])==null?0x0:_0x358e0f,'height':(_0x31c197=_0x1ef454==null||(_0x4fe239=_0x1ef454[_0x270ff8(0x116)])==null?void 0x0:_0x4fe239['height'])==null?0x0:_0x31c197});return _0x3c101d?this['_injector']['get'](_0x4cbbfa)[_0x270ff8(0xed)](_0x3c101d,_0x404768):null;}['remove'](){const _0x2e3422=_0x5586bc;return this[_0x2e3422(0x100)][_0x2e3422(0x10b)](_0x3683f2)[_0x2e3422(0xdd)](_0x345e2['id'],{'unitId':this['unitId'],'drawings':[{'unitId':this[_0x2e3422(0xd6)],'subUnitId':this[_0x2e3422(0xf9)],'drawingId':this[_0x2e3422(0x112)],'drawingType':_0x55e5a0['DRAWING_CHART']}]});}},I=class{constructor(_0x5b4b0a){const _0x3826c1=_0x5586bc;this[_0x3826c1(0xe7)]=_0x5b4b0a;}async[_0x5586bc(0xdb)](_0x18bcbb){const _0x13b968=_0x5586bc;var _0x232a6e,_0x481631,_0x42ca49,_0x589540,_0x53d5e0;let _0x34c4fc=this['_sourceContext'](),_0x55104c=[],_0x22b062=_0x2a95d1(_0x18bcbb[_0x13b968(0xeb)],_0x34c4fc,_0x55104c);if(!_0x22b062||_0x55104c['some'](_0x41137c=>_0x41137c['severity']===_0x5626eb[_0x13b968(0xd3)]))throw Error(_0x55104c[_0x13b968(0xe4)](_0x1177fd=>_0x1177fd[_0x13b968(0x105)])['join'](';\x20')||_0x13b968(0x110));let _0x4455b2=_0x5d2fa9(),_0x11a088=_0x5a37d4(_0x18bcbb,{'series':_0x56dee6(_0x22b062,_0x34c4fc,(_0x232a6e=(_0x481631=_0x18bcbb['mapping'])==null?void 0x0:_0x481631['categoryIndex'])==null?0x0:_0x232a6e)}),_0x315f1b=_0x1564e9({'unitId':_0x34c4fc['unitId'],'subUnitId':_0x34c4fc['subUnitId'],'injector':this[_0x13b968(0xe7)][_0x13b968(0xf1)]()},_0x18bcbb,_0x55104c),_0x231320={'unitId':_0x34c4fc[_0x13b968(0xd6)],'subUnitId':_0x34c4fc[_0x13b968(0xf9)],'chartId':_0x4455b2,'chartType':_0x3ccc6c(_0x18bcbb['type']),'source':_0x22b062['kind']===_0x610818['Range']?_0x22b062[_0x13b968(0x102)]:_0x22b062[_0x13b968(0x10c)],'position':_0x315f1b,'width':(_0x42ca49=_0x18bcbb[_0x13b968(0xfc)])==null?void 0x0:_0x42ca49['width'],'height':(_0x589540=_0x18bcbb[_0x13b968(0xfc)])==null?void 0x0:_0x589540['height'],'theme':(_0x53d5e0=_0x18bcbb[_0x13b968(0x10a)])==null?void 0x0:_0x53d5e0,'config':{'unitId':_0x34c4fc['unitId'],'chartModelId':_0x4455b2,'style':_0x11a088['style'],'context':_0x11a088[_0x13b968(0x113)],'dataAggregation':_0x11a088[_0x13b968(0x111)]}};if(!await this['_worksheet'][_0x13b968(0xf1)]()[_0x13b968(0x10b)](_0x3683f2)[_0x13b968(0xdd)](_0x1a19ea['id'],_0x231320))throw Error(_0x13b968(0x11f));return new F(_0x34c4fc['unitId'],_0x34c4fc[_0x13b968(0xf9)],_0x4455b2,this[_0x13b968(0xe7)]['getInject']());}['get'](_0xa90e82){const _0x2af316=_0x5586bc;let {unitId:_0x242f57,subUnitId:_0x44bb7c}=this[_0x2af316(0xe2)](),_0x3e651d=this['_worksheet']['getInject']()[_0x2af316(0x10b)](_0x5c9906);return _0x3e651d[_0x2af316(0xf6)](_0xa90e82)&&_0x3e651d[_0x2af316(0xcf)](_0x242f57,_0xa90e82)===_0x44bb7c?new F(_0x242f57,_0x44bb7c,_0xa90e82,this['_worksheet']['getInject']()):null;}[_0x5586bc(0xea)](){const _0x56b837=_0x5586bc;let {unitId:_0x11b5b4,subUnitId:_0x554068}=this[_0x56b837(0xe2)]();return this[_0x56b837(0xe7)][_0x56b837(0xf1)]()[_0x56b837(0x10b)](_0x5c9906)[_0x56b837(0xdc)](_0x11b5b4,_0x554068)[_0x56b837(0xfa)](Boolean)[_0x56b837(0xe4)](_0x12b0cb=>new F(_0x11b5b4,_0x554068,_0x12b0cb['id'],this['_worksheet'][_0x56b837(0xf1)]()));}[_0x5586bc(0xd7)](_0x51e81a){const _0x201feb=_0x5586bc;let _0x1655d6=typeof _0x51e81a=='string'?this[_0x201feb(0x10b)](_0x51e81a):_0x51e81a;return _0x1655d6?this[_0x201feb(0xe7)][_0x201feb(0xf1)]()[_0x201feb(0x10b)](_0x3683f2)['executeCommand'](_0x345e2['id'],{'unitId':_0x1655d6[_0x201feb(0xd6)],'drawings':[{'unitId':_0x1655d6[_0x201feb(0xd6)],'subUnitId':_0x1655d6['subUnitId'],'drawingId':_0x1655d6[_0x201feb(0x112)],'drawingType':_0x55e5a0['DRAWING_CHART']}]}):Promise[_0x201feb(0xfd)](!0x1);}[_0x5586bc(0xe2)](){const _0x5331ae=_0x5586bc;let _0x526430=this['_worksheet']['getWorkbook'](),_0x528761=this[_0x5331ae(0xe7)][_0x5331ae(0xf1)]()[_0x5331ae(0x10b)](_0x5c9906);return{'unitId':_0x526430[_0x5331ae(0xd4)](),'subUnitId':this[_0x5331ae(0xe7)][_0x5331ae(0x11a)](),'workbook':_0x526430,'resolveAutoIsRowDirection':_0xb5a343=>_0x528761['getChartSuggestion'](_0xb5a343)[_0x5331ae(0xe9)]===_0x1b6364[_0x5331ae(0x117)]};}};function L(_0x5deb30){'@babel/helpers - typeof';const _0x14aa60=_0x5586bc;return L=typeof Symbol=='function'&&typeof Symbol[_0x14aa60(0x118)]==_0x14aa60(0x108)?function(_0x4fefa3){return typeof _0x4fefa3;}:function(_0x4169d8){const _0xc81122=_0x14aa60;return _0x4169d8&&typeof Symbol==_0xc81122(0x101)&&_0x4169d8['constructor']===Symbol&&_0x4169d8!==Symbol[_0xc81122(0xda)]?_0xc81122(0x108):typeof _0x4169d8;},L(_0x5deb30);}function R(_0x526975,_0x8acd5e){const _0xc23af3=_0x5586bc;if(L(_0x526975)!='object'||!_0x526975)return _0x526975;var _0x4310bb=_0x526975[Symbol[_0xc23af3(0x11b)]];if(_0x4310bb!==void 0x0){var _0x34ee99=_0x4310bb[_0xc23af3(0xe5)](_0x526975,_0x8acd5e||'default');if(L(_0x34ee99)!=_0xc23af3(0x115))return _0x34ee99;throw TypeError(_0xc23af3(0xe6));}return(_0x8acd5e===_0xc23af3(0xf2)?String:Number)(_0x526975);}function z(_0x4fb861){const _0xd9ffd5=_0x5586bc;var _0x3c3787=R(_0x4fb861,_0xd9ffd5(0xf2));return L(_0x3c3787)==_0xd9ffd5(0x108)?_0x3c3787:_0x3c3787+'';}function B(_0x507964,_0x470fbc,_0x160099){const _0x26677c=_0x5586bc;return(_0x470fbc=z(_0x470fbc))in _0x507964?Object[_0x26677c(0xd0)](_0x507964,_0x470fbc,{'value':_0x160099,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x507964[_0x470fbc]=_0x160099,_0x507964;}var V=class extends _0x467ed9{constructor(_0x2e1806,_0x2e48e3){const _0x5e04be=_0x5586bc;super(_0x2e1806,_0x5e04be(0xf0)),this[_0x5e04be(0x107)]=_0x2e48e3;}[_0x5586bc(0xec)](_0x347382){return this['rejectCommit']();}[_0x5586bc(0xee)](_0xd2da47){const _0xa4979b=_0x5586bc;return this[_0xa4979b(0x107)](_0xd2da47);}},H=class extends _0x4d21eb{constructor(_0xfcb647){const _0x1f186f=_0x5586bc;super(),this[_0x1f186f(0xe7)]=_0xfcb647,B(this,_0x1f186f(0xde),void 0x0),this['_commands']=new I(_0xfcb647);}[_0x5586bc(0xdb)](){const _0x2af19a=_0x5586bc;let _0x53f9d8=_0x5d2fa9(),_0x52f214={'id':_0x53f9d8,'type':_0xdb99c0,'series':{}},_0x11a722=new _0x5eef78(_0x53f9d8,_0x52f214,new V(_0x52f214,_0x1c3ae1=>new _0x5310b4({'unitId':this['_worksheet']['getWorkbook']()['getUnitId'](),'subUnitId':this[_0x2af19a(0xe7)][_0x2af19a(0x11a)](),'chartId':_0x53f9d8,'injector':this[_0x2af19a(0xe7)][_0x2af19a(0xf1)]()})[_0x2af19a(0xee)](_0x1c3ae1)));return P['create'](_0x11a722,_0x3b2230);}async['insert'](_0x4fe6ea){const _0x7aadb5=_0x5586bc;let _0x1a4160=_0x4fe6ea['describe']();if(!_0x1a4160['source'])throw Error(_0x7aadb5(0xef));let _0x29445f=_0x2aae71(_0x1a4160,_0x39f09e(_0x4fe6ea)),_0x45fda5=await this['_commands'][_0x7aadb5(0xdb)](_0x29445f);return this[_0x7aadb5(0x114)](_0x45fda5);}[_0x5586bc(0x10b)](_0x2a52b6){const _0x176fbc=_0x5586bc;let _0x332ec6=this[_0x176fbc(0xde)][_0x176fbc(0x10b)](_0x2a52b6);return _0x332ec6?this[_0x176fbc(0x114)](_0x332ec6):null;}[_0x5586bc(0xea)](){const _0x1c8116=_0x5586bc;return this[_0x1c8116(0xde)][_0x1c8116(0xea)]()[_0x1c8116(0xe4)](_0xae1ce6=>this[_0x1c8116(0x114)](_0xae1ce6));}[_0x5586bc(0xd7)](_0x2a8432){const _0x387a2d=_0x5586bc;return this[_0x387a2d(0xde)][_0x387a2d(0xd7)](typeof _0x2a8432=='string'?_0x2a8432:_0x2a8432[_0x387a2d(0x11d)]());}[_0x5586bc(0xd9)](_0x2cc202,_0x440a4e){const _0xfca26=_0x5586bc;this[_0xfca26(0xe7)]['getInject']()[_0xfca26(0x10b)](_0x226503)['registerTheme'](_0x2cc202,_0x440a4e);}[_0x5586bc(0x114)](_0x414ca2){const _0x45e2e9=_0x5586bc;let _0x91a146=new _0x5310b4({'unitId':_0x414ca2[_0x45e2e9(0xd6)],'subUnitId':_0x414ca2[_0x45e2e9(0xf9)],'chartId':_0x414ca2[_0x45e2e9(0x112)],'injector':this['_worksheet'][_0x45e2e9(0xf1)]()}),_0x43ed75=_0x91a146['describe'](),_0x1eb31a=new _0x5eef78(_0x414ca2['getId'](),_0x43ed75,_0x91a146),_0x12da4e=_0x34c17c(_0x43ed75[_0x45e2e9(0x109)]);return P[_0x45e2e9(0xdb)](_0x1eb31a,_0x12da4e);}},U=class extends _0x2fdd14{get[_0x5586bc(0x10f)](){return new H(this);}};_0x2fdd14['extend'](U);var W=class extends _0x24d80e{get[_0x5586bc(0x119)](){return _0x32fbb5;}};_0x24d80e['extend'](W);function _0x46bb(){const _0x5f71f5=['chartId','context','_wrap','object','transform','Row','iterator','ChartSourceOrientation','getSheetId','toPrimitive','_builder','getId','getSource','Failed\x20to\x20create\x20Sheet\x20chart.','config','getSubUnitId','defineProperty','setSize','setLayout','Error','getUnitId','series','unitId','remove','933858FuFNar','registerTheme','prototype','create','getUnitChartModels','executeCommand','_commands','18ipgazl','getRangeInfo','7fcsqSX','_sourceContext','179780SzsIhW','map','call','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_worksheet','324368YLzknr','orient','list','source','commitHost','exportImage','resolveSource','Sheet\x20chart\x20source\x20is\x20required\x20before\x20insert().','Insert\x20the\x20Sheet\x20chart\x20before\x20calling\x20commit().','getInject','string','5047552gByFtB','114208xzGHYp','dataSource','getChartModel','updateRange','5316543HMLOpk','subUnitId','filter','490820UBiVwu','size','resolve','_sheetBuilder','getCategoryData','_injector','function','rangeInfo','setAbsolutePosition','setSource','message','setPosition','_resolveSource','symbol','type','theme','get','ranges','has','category','charts','Invalid\x20Sheet\x20chart\x20source.','dataAggregation'];_0x46bb=function(){return _0x5f71f5;};return _0x46bb();}export{H as FSheetCharts};
1
+ const _0x41b855=_0x3548;(function(_0x5d6e47,_0x2b34f3){const _0x609b28=_0x3548,_0x37812f=_0x5d6e47();while(!![]){try{const _0x65ed72=-parseInt(_0x609b28(0x200))/0x1*(parseInt(_0x609b28(0x1f3))/0x2)+-parseInt(_0x609b28(0x1c1))/0x3+-parseInt(_0x609b28(0x1c6))/0x4+-parseInt(_0x609b28(0x206))/0x5+-parseInt(_0x609b28(0x20a))/0x6*(-parseInt(_0x609b28(0x1f4))/0x7)+-parseInt(_0x609b28(0x209))/0x8*(parseInt(_0x609b28(0x1e8))/0x9)+parseInt(_0x609b28(0x20d))/0xa;if(_0x65ed72===_0x2b34f3)break;else _0x37812f['push'](_0x37812f['shift']());}catch(_0x313cf7){_0x37812f['push'](_0x37812f['shift']());}}}(_0x5c6c,0x2d250));import{FWorksheet as _0x4ddd8c}from'@univerjs/sheets/facade';import{ChartThemeService as _0x436df0,DEFAULT_CHART_TYPE as _0x27e3aa,DataOrientation as _0x326d4f,DetachedChartBuilderAdapter as _0x3137bb,chartTypeToBits as _0xeea2,toChartModelConfig as _0x59e919}from'@univerjs-pro/engine-chart';import{FChartBuilderBase as _0x5912c6,FChartsBase as _0x3e5b08,HostBuilderComposer as _0x4543ad,getChartBuilderConstructor as _0x456cd6,getChartBuilderPendingConfig as _0x24032a}from'@univerjs-pro/engine-chart/facade';import{ChartDiagnosticSeverity as _0x3c0662,ChartSourceKind as _0xda6777,ChartSourceOrientation as _0x2c334a,ChartUpdateSourceCommand as _0x531579,InsertChartCommand as _0x113ab2,SheetChartBuilder as _0x2a73df,SheetChartBuilderAdapter as _0x2f465b,SheetsChartService as _0x44c1bd,resolveInitialChartPosition as _0x589fa1,resolveSourceSeries as _0x4775b4,resolveSourceSpec as _0x3b67cc,toSheetChartCreateSpec as _0x1001f9}from'@univerjs-pro/sheets-chart';import{DrawingTypeEnum as _0xd520f9,ICommandService as _0x5ed76c,generateRandomId as _0x4922ff}from'@univerjs/core';import{RemoveSheetDrawingCommand as _0x2a6882}from'@univerjs/sheets-drawing';import{FEnum as _0x19dae6}from'@univerjs/core/facade';function k(_0x469f5b){const _0xb7b119=_0x3548;return class extends _0x469f5b{get[_0xb7b119(0x208)](){const _0x2b2086=_0xb7b119;return this[_0x2b2086(0x1e9)];}[_0xb7b119(0x1b5)](_0x21df72){return this['_sheetBuilder']['setSource'](_0x21df72),this;}['getSource'](){const _0x39d4ff=_0xb7b119;return this[_0x39d4ff(0x208)][_0x39d4ff(0x202)]();}['setPosition'](_0x2674d1){const _0x163708=_0xb7b119;return this[_0x163708(0x208)][_0x163708(0x1be)]({'anchor':_0x2674d1}),this;}[_0xb7b119(0x201)](_0x1140e4,_0x15b53c){const _0x4aabbe=_0xb7b119;return this[_0x4aabbe(0x208)][_0x4aabbe(0x1be)]({'position':{'x':_0x1140e4,'y':_0x15b53c}}),this;}[_0xb7b119(0x1fb)](_0xe20dc7,_0xa85487){const _0xab93e2=_0xb7b119;return this[_0xab93e2(0x208)]['setLayout']({'size':{'width':_0xe20dc7,'height':_0xa85487}}),this;}};}const A=new _0x4543ad(_0x4f4aaf=>k(_0x4f4aaf));var j=class{constructor(_0x2c94ef,_0x194d6e,_0x1fb81f,_0x5eaf07){const _0x2b88db=_0x3548;this[_0x2b88db(0x1ca)]=_0x2c94ef,this[_0x2b88db(0x1ec)]=_0x194d6e,this[_0x2b88db(0x1dd)]=_0x1fb81f,this[_0x2b88db(0x1d7)]=_0x5eaf07;}[_0x41b855(0x1b4)](){const _0x3743a5=_0x41b855;return this[_0x3743a5(0x1dd)];}[_0x41b855(0x204)](){const _0x204a94=_0x41b855;return this[_0x204a94(0x1dd)];}[_0x41b855(0x1e0)](){const _0x3da6ec=_0x41b855;var _0x4eae6f;return(_0x4eae6f=this['_injector'][_0x3da6ec(0x1ee)](_0x44c1bd)[_0x3da6ec(0x1f2)](this[_0x3da6ec(0x1dd)]))==null?void 0x0:_0x4eae6f[_0x3da6ec(0x1bd)]['getRangeInfo']();}['updateRange'](_0x2a0594){const _0x178355=_0x41b855;return this['_injector'][_0x178355(0x1ee)](_0x5ed76c)[_0x178355(0x1bc)](_0x531579['id'],{'unitId':this['unitId'],'chartModelId':this[_0x178355(0x1dd)],'range':_0x2a0594});}[_0x41b855(0x1cb)](){const _0x5710a2=_0x41b855;var _0x2df886;return(_0x2df886=this[_0x5710a2(0x1d7)][_0x5710a2(0x1ee)](_0x44c1bd)['getChartModel'](this['chartId']))==null||(_0x2df886=_0x2df886[_0x5710a2(0x1d6)])==null?void 0x0:_0x2df886[_0x5710a2(0x1b8)];}[_0x41b855(0x1f7)](){const _0x560ee2=_0x41b855;var _0x41a1c1;return(_0x41a1c1=this['_injector'][_0x560ee2(0x1ee)](_0x44c1bd)[_0x560ee2(0x1f2)](this[_0x560ee2(0x1dd)]))==null||(_0x41a1c1=_0x41a1c1[_0x560ee2(0x1d6)])==null?void 0x0:_0x41a1c1[_0x560ee2(0x1fe)];}async[_0x41b855(0x20b)](_0x50cc6f){const _0x2e53ad=_0x41b855;return new _0x2f465b({'unitId':this[_0x2e53ad(0x1ca)],'subUnitId':this['subUnitId'],'chartId':this[_0x2e53ad(0x1dd)],'injector':this[_0x2e53ad(0x1d7)]})[_0x2e53ad(0x20b)](_0x50cc6f);}[_0x41b855(0x205)](){const _0x1109ad=_0x41b855;return this[_0x1109ad(0x1d7)][_0x1109ad(0x1ee)](_0x5ed76c)[_0x1109ad(0x1bc)](_0x2a6882['id'],{'unitId':this[_0x1109ad(0x1ca)],'drawings':[{'unitId':this[_0x1109ad(0x1ca)],'subUnitId':this['subUnitId'],'drawingId':this[_0x1109ad(0x1dd)],'drawingType':_0xd520f9[_0x1109ad(0x1ce)]}]});}},M=class{constructor(_0x44cf97){const _0x3d083f=_0x41b855;this[_0x3d083f(0x1de)]=_0x44cf97;}async[_0x41b855(0x1d5)](_0x3521d6){const _0xe18e88=_0x41b855;var _0x6f2f7b,_0x21a808,_0x1416a0;let _0x230ab3=this['_sourceContext'](),_0x251ad9=[],_0x2a44fd=_0x3b67cc(_0x3521d6['source'],_0x230ab3,_0x251ad9);if(!_0x2a44fd||_0x251ad9[_0xe18e88(0x1d8)](_0xb9ce4a=>_0xb9ce4a[_0xe18e88(0x1e6)]===_0x3c0662['Error']))throw Error(_0x251ad9[_0xe18e88(0x1d0)](_0x3af109=>_0x3af109[_0xe18e88(0x1fc)])[_0xe18e88(0x1d9)](';\x20')||'Invalid\x20Sheet\x20chart\x20source.');let _0x349ca6=_0x4922ff(),_0x13f7fc=_0x59e919(_0x3521d6,{'series':_0x4775b4(_0x2a44fd,_0x230ab3,((_0x6f2f7b=_0x3521d6[_0xe18e88(0x1f5)])==null?void 0x0:_0x6f2f7b[_0xe18e88(0x20e)])??0x0)}),_0x11b1d9=_0x589fa1({'unitId':_0x230ab3[_0xe18e88(0x1ca)],'subUnitId':_0x230ab3[_0xe18e88(0x1ec)],'injector':this[_0xe18e88(0x1de)][_0xe18e88(0x1e4)]()},_0x3521d6,_0x251ad9),_0x19d8df={'unitId':_0x230ab3[_0xe18e88(0x1ca)],'subUnitId':_0x230ab3['subUnitId'],'chartId':_0x349ca6,'chartType':_0xeea2(_0x3521d6[_0xe18e88(0x1c7)]),'source':_0x2a44fd[_0xe18e88(0x1e5)]===_0xda6777['Range']?_0x2a44fd['rangeInfo']:_0x2a44fd[_0xe18e88(0x207)],'position':_0x11b1d9,'width':(_0x21a808=_0x3521d6[_0xe18e88(0x1db)])==null?void 0x0:_0x21a808[_0xe18e88(0x203)],'height':(_0x1416a0=_0x3521d6[_0xe18e88(0x1db)])==null?void 0x0:_0x1416a0[_0xe18e88(0x1f0)],'theme':_0x3521d6[_0xe18e88(0x1e3)]??void 0x0,'config':{'unitId':_0x230ab3[_0xe18e88(0x1ca)],'chartModelId':_0x349ca6,'style':_0x13f7fc['style'],'context':_0x13f7fc[_0xe18e88(0x1bb)],'dataAggregation':_0x13f7fc[_0xe18e88(0x1d2)]}};if(!await this['_worksheet']['getInject']()[_0xe18e88(0x1ee)](_0x5ed76c)[_0xe18e88(0x1bc)](_0x113ab2['id'],_0x19d8df))throw Error('Failed\x20to\x20create\x20Sheet\x20chart.');return new j(_0x230ab3[_0xe18e88(0x1ca)],_0x230ab3[_0xe18e88(0x1ec)],_0x349ca6,this[_0xe18e88(0x1de)][_0xe18e88(0x1e4)]());}[_0x41b855(0x1ee)](_0x1f7ba4){const _0x2c0d8a=_0x41b855;let {unitId:_0x3cc644,subUnitId:_0x354de5}=this[_0x2c0d8a(0x1ea)](),_0x21b369=this['_worksheet']['getInject']()[_0x2c0d8a(0x1ee)](_0x44c1bd);return _0x21b369['getChartModel'](_0x1f7ba4)&&_0x21b369['getSubUnitId'](_0x3cc644,_0x1f7ba4)===_0x354de5?new j(_0x3cc644,_0x354de5,_0x1f7ba4,this[_0x2c0d8a(0x1de)][_0x2c0d8a(0x1e4)]()):null;}[_0x41b855(0x1c0)](){const _0x3486c0=_0x41b855;let {unitId:_0x53f57a,subUnitId:_0x5688fa}=this[_0x3486c0(0x1ea)]();return this[_0x3486c0(0x1de)][_0x3486c0(0x1e4)]()[_0x3486c0(0x1ee)](_0x44c1bd)[_0x3486c0(0x1b7)](_0x53f57a,_0x5688fa)[_0x3486c0(0x1ed)](Boolean)[_0x3486c0(0x1d0)](_0x54603e=>new j(_0x53f57a,_0x5688fa,_0x54603e['id'],this[_0x3486c0(0x1de)][_0x3486c0(0x1e4)]()));}[_0x41b855(0x205)](_0x4de8bb){const _0x1d0825=_0x41b855;let _0x39eaa4=typeof _0x4de8bb==_0x1d0825(0x1d4)?this[_0x1d0825(0x1ee)](_0x4de8bb):_0x4de8bb;return _0x39eaa4?this[_0x1d0825(0x1de)][_0x1d0825(0x1e4)]()[_0x1d0825(0x1ee)](_0x5ed76c)[_0x1d0825(0x1bc)](_0x2a6882['id'],{'unitId':_0x39eaa4['unitId'],'drawings':[{'unitId':_0x39eaa4['unitId'],'subUnitId':_0x39eaa4[_0x1d0825(0x1ec)],'drawingId':_0x39eaa4[_0x1d0825(0x1dd)],'drawingType':_0xd520f9[_0x1d0825(0x1ce)]}]}):Promise[_0x1d0825(0x1ef)](!0x1);}[_0x41b855(0x1ea)](){const _0x1e614b=_0x41b855;let _0x2ec140=this['_worksheet']['getWorkbook'](),_0x559ecd=this[_0x1e614b(0x1de)][_0x1e614b(0x1e4)]()[_0x1e614b(0x1ee)](_0x44c1bd);return{'unitId':_0x2ec140[_0x1e614b(0x1f1)](),'subUnitId':this[_0x1e614b(0x1de)][_0x1e614b(0x1bf)](),'workbook':_0x2ec140,'resolveAutoIsRowDirection':_0xe7f427=>_0x559ecd[_0x1e614b(0x1f8)](_0xe7f427)[_0x1e614b(0x1cd)]===_0x326d4f[_0x1e614b(0x1df)]};}};function N(_0x3aff51){'@babel/helpers - typeof';const _0x1723cb=_0x41b855;return N=typeof Symbol==_0x1723cb(0x1dc)&&typeof Symbol[_0x1723cb(0x20c)]==_0x1723cb(0x1cf)?function(_0x53652b){return typeof _0x53652b;}:function(_0x507be4){const _0x38cd05=_0x1723cb;return _0x507be4&&typeof Symbol==_0x38cd05(0x1dc)&&_0x507be4['constructor']===Symbol&&_0x507be4!==Symbol[_0x38cd05(0x1b6)]?_0x38cd05(0x1cf):typeof _0x507be4;},N(_0x3aff51);}function P(_0x487388,_0x2eb90a){const _0x5e9020=_0x41b855;if(N(_0x487388)!=_0x5e9020(0x1c3)||!_0x487388)return _0x487388;var _0x45e792=_0x487388[Symbol[_0x5e9020(0x1f9)]];if(_0x45e792!==void 0x0){var _0x2197b6=_0x45e792[_0x5e9020(0x1cc)](_0x487388,_0x2eb90a||_0x5e9020(0x1d1));if(N(_0x2197b6)!=_0x5e9020(0x1c3))return _0x2197b6;throw TypeError(_0x5e9020(0x1da));}return(_0x2eb90a===_0x5e9020(0x1d4)?String:Number)(_0x487388);}function F(_0x4dfd75){const _0x1aa542=_0x41b855;var _0x2f2729=P(_0x4dfd75,_0x1aa542(0x1d4));return N(_0x2f2729)==_0x1aa542(0x1cf)?_0x2f2729:_0x2f2729+'';}function _0x3548(_0x5bee47,_0x4c24f9){_0x5bee47=_0x5bee47-0x1b4;const _0x5c6cf0=_0x5c6c();let _0x354815=_0x5c6cf0[_0x5bee47];return _0x354815;}function I(_0x18b3a1,_0x2f2fa5,_0xcaac32){const _0x5a901d=_0x41b855;return(_0x2f2fa5=F(_0x2f2fa5))in _0x18b3a1?Object[_0x5a901d(0x1e7)](_0x18b3a1,_0x2f2fa5,{'value':_0xcaac32,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x18b3a1[_0x2f2fa5]=_0xcaac32,_0x18b3a1;}var L=class extends _0x3137bb{constructor(_0x21ba38,_0x108192,_0x413908){const _0x4e8f3a=_0x41b855;super(_0x21ba38,_0x4e8f3a(0x1c2),_0x413908),this[_0x4e8f3a(0x1c5)]=_0x108192;}[_0x41b855(0x1c9)](_0x226c7b){const _0x3d40e9=_0x41b855;return this[_0x3d40e9(0x1c4)]();}[_0x41b855(0x1fa)](_0x3cd2a8){const _0x2583be=_0x41b855;return this[_0x2583be(0x1c5)](_0x3cd2a8);}},R=class extends _0x3e5b08{constructor(_0x5abdf4){const _0x2c73e7=_0x41b855;super(),this[_0x2c73e7(0x1de)]=_0x5abdf4,I(this,_0x2c73e7(0x1c8),void 0x0),this[_0x2c73e7(0x1c8)]=new M(_0x5abdf4);}['create'](){const _0x3f6fa5=_0x41b855;let _0x2a3e54=_0x4922ff(),_0x2ecee2={'id':_0x2a3e54,'type':_0x27e3aa,'series':{}},_0x21f98f=this['_worksheet'][_0x3f6fa5(0x1e4)](),_0x39c8f7=new _0x2a73df(_0x2a3e54,_0x2ecee2,new L(_0x2ecee2,_0x30807e=>new _0x2f465b({'unitId':this[_0x3f6fa5(0x1de)][_0x3f6fa5(0x1ff)]()[_0x3f6fa5(0x1f1)](),'subUnitId':this[_0x3f6fa5(0x1de)][_0x3f6fa5(0x1bf)](),'chartId':_0x2a3e54,'injector':_0x21f98f})[_0x3f6fa5(0x1fa)](_0x30807e),_0x21f98f));return A[_0x3f6fa5(0x1d5)](_0x39c8f7,_0x5912c6);}async['insert'](_0x3e204e){const _0x526e05=_0x41b855;let _0x5a97fa=_0x3e204e['describe']();if(!_0x5a97fa[_0x526e05(0x1ba)])throw Error(_0x526e05(0x1d3));let _0x5dd99b=_0x1001f9(_0x5a97fa,_0x24032a(_0x3e204e)),_0x22579f=await this[_0x526e05(0x1c8)][_0x526e05(0x1d5)](_0x5dd99b);return this['_wrap'](_0x22579f);}[_0x41b855(0x1ee)](_0x4591ef){const _0x5dac32=_0x41b855;let _0x2922c5=this[_0x5dac32(0x1c8)][_0x5dac32(0x1ee)](_0x4591ef);return _0x2922c5?this['_wrap'](_0x2922c5):null;}[_0x41b855(0x1c0)](){const _0x472b7d=_0x41b855;return this[_0x472b7d(0x1c8)][_0x472b7d(0x1c0)]()[_0x472b7d(0x1d0)](_0x5a4ea8=>this[_0x472b7d(0x1b9)](_0x5a4ea8));}[_0x41b855(0x205)](_0x54f05c){const _0x3bedfc=_0x41b855;return this['_commands'][_0x3bedfc(0x205)](typeof _0x54f05c==_0x3bedfc(0x1d4)?_0x54f05c:_0x54f05c['getId']());}[_0x41b855(0x1e2)](_0xef0323,_0x12fb9a){const _0x2628cf=_0x41b855;this['_worksheet'][_0x2628cf(0x1e4)]()[_0x2628cf(0x1ee)](_0x436df0)['registerTheme'](_0xef0323,_0x12fb9a);}[_0x41b855(0x1b9)](_0x47d9c5){const _0x20609e=_0x41b855;let _0x123396=new _0x2f465b({'unitId':_0x47d9c5[_0x20609e(0x1ca)],'subUnitId':_0x47d9c5[_0x20609e(0x1ec)],'chartId':_0x47d9c5[_0x20609e(0x1dd)],'injector':this['_worksheet']['getInject']()}),_0x2f6aa9=_0x123396[_0x20609e(0x1e1)](),_0x330168=new _0x2a73df(_0x47d9c5[_0x20609e(0x204)](),_0x2f6aa9,_0x123396),_0x41b36b=_0x456cd6(_0x2f6aa9[_0x20609e(0x1c7)]);return A['create'](_0x330168,_0x41b36b);}},z=class extends _0x4ddd8c{get[_0x41b855(0x1f6)](){return new R(this);}};_0x4ddd8c[_0x41b855(0x1fd)](z);function _0x5c6c(){const _0x4ec0e2=['getId','remove','325715QsBkdP','ranges','_sheetBuilder','56leXCZC','438mRSaWQ','exportImage','iterator','5527680LoFOqm','categoryIndex','getChartId','setSource','prototype','getUnitChartModels','series','_wrap','source','context','executeCommand','dataSource','setLayout','getSheetId','list','653142LxEzcY','Insert\x20the\x20Sheet\x20chart\x20before\x20calling\x20commit().','object','rejectCommit','_resolveSource','44072Ipjnwt','type','_commands','commitHost','unitId','getSeriesData','call','orient','DRAWING_CHART','symbol','map','default','dataAggregation','Sheet\x20chart\x20source\x20is\x20required\x20before\x20insert().','string','create','config','_injector','some','join','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','size','function','chartId','_worksheet','Row','getRange','describe','registerTheme','theme','getInject','kind','severity','defineProperty','181368voNdeB','_builder','_sourceContext','ChartSourceOrientation','subUnitId','filter','get','resolve','height','getUnitId','getChartModel','122644aTrrWH','18193KiwzmO','mapping','charts','getCategoryData','getChartSuggestion','toPrimitive','resolveSource','setSize','message','extend','category','getWorkbook','2rcxULA','setAbsolutePosition','getSource','width'];_0x5c6c=function(){return _0x4ec0e2;};return _0x5c6c();}var B=class extends _0x19dae6{get[_0x41b855(0x1eb)](){return _0x2c334a;}};_0x19dae6[_0x41b855(0x1fd)](B);export{R as FSheetCharts};