@univerjs-pro/sheets-chart 1.0.0-rc.0 → 1.0.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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/chart-builder/sheet-chart-config-adapter.d.ts +3 -0
- package/lib/types/chart-source/category-span-projection.d.ts +1 -0
- package/lib/types/chart-source/chart-source-key.d.ts +1 -1
- package/lib/types/chart-source/chart-source.d.ts +5 -3
- package/lib/types/chart-source/initial-sheet-chart-source-inference.d.ts +2 -1
- package/lib/types/chart-source/sheet-chart-source-table.d.ts +4 -1
- package/lib/types/commands/chart-persisted-context.d.ts +1 -1
- package/lib/types/commands/commands/sheets-chart.command.d.ts +9 -1
- package/lib/types/common/util.d.ts +0 -1
- package/lib/types/controllers/config.schema.d.ts +5 -0
- package/lib/types/facade/chart-builder/builder-util.d.ts +5 -0
- package/lib/types/facade/chart-builder/chart-builder-base.d.ts +919 -0
- package/lib/types/facade/chart-builder/line-chart-builder.d.ts +165 -0
- package/lib/types/facade/chart-builder/pie-chart-builder.d.ts +196 -0
- package/lib/types/facade/chart-builder/radar-chart-builder.d.ts +100 -0
- package/lib/types/facade/chart-builder/types.d.ts +34 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/models/chart-model.d.ts +22 -0
- package/lib/types/services/sheet-chart-data-source-manager.d.ts +1 -1
- package/lib/types/services/sheets-chart.service.d.ts +2 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3241fc=_0x438e;(function(_0xd46e4e,_0xbaa2ad){const _0x2451e0=_0x438e,_0x8382e0=_0xd46e4e();while(!![]){try{const _0x3d8791=parseInt(_0x2451e0(0x1cc))/0x1*(-parseInt(_0x2451e0(0x1dd))/0x2)+parseInt(_0x2451e0(0x1de))/0x3*(-parseInt(_0x2451e0(0x1d2))/0x4)+-parseInt(_0x2451e0(0x1b4))/0x5*(-parseInt(_0x2451e0(0x1ca))/0x6)+-parseInt(_0x2451e0(0x1c1))/0x7+-parseInt(_0x2451e0(0x1d0))/0x8+-parseInt(_0x2451e0(0x1c8))/0x9*(-parseInt(_0x2451e0(0x1d6))/0xa)+parseInt(_0x2451e0(0x1cf))/0xb;if(_0x3d8791===_0xbaa2ad)break;else _0x8382e0['push'](_0x8382e0['shift']());}catch(_0x2807){_0x8382e0['push'](_0x8382e0['shift']());}}}(_0x31e0,0x3db50));const e={'sheets-chart':{'sourceHeader':{'invalidHeader':_0x3241fc(0x1dc)},'seriesDefaultName':_0x3241fc(0x1df),'blank':_0x3241fc(0x1c9),'msg':{'emptyTips':_0x3241fc(0x1c6),'sankeyCircularTips':_0x3241fc(0x1ba)},'bubble':{'emptyTips':'Диаграмма\x20пузырей\x20требует\x20как\x20минимум\x202\x20столбца:\x20ось\x20X,\x20ось\x20Y'},'relation':{'emptyTips':_0x3241fc(0x1cd)},'cloud':{'word':_0x3241fc(0x1e1),'frequency':'Частота'},'waterfall':{'positive':_0x3241fc(0x1c5),'negative':_0x3241fc(0x1bc),'subtotal':'Промежуточный\x20итог'},'pareto':{'lineName':_0x3241fc(0x1d8)},'boxplot':{'min':_0x3241fc(0x1c7),'q1':_0x3241fc(0x1d5),'median':'Медиана','q3':_0x3241fc(0x1cb),'max':_0x3241fc(0x1d9)},'candlestick':{'series':'Ряд\x20OHLC','category':_0x3241fc(0x1b7),'open':_0x3241fc(0x1bf),'high':_0x3241fc(0x1d9),'low':_0x3241fc(0x1c7),'close':_0x3241fc(0x1db)},'histogram':{'frequency':'Частота'},'pie':{'aggregateOther':'Другие','aggregateMembers':_0x3241fc(0x1bd)},'treemap':{'hierarchy':'Поля\x20иерархии','value':_0x3241fc(0x1b5),'ownValue':_0x3241fc(0x1be),'children':_0x3241fc(0x1ce),'diagnostic':_0x3241fc(0x1c2)},'sunburst':{'hierarchy':'Иерархия','value':'Значение','ownValue':_0x3241fc(0x1be),'children':'Дочерние\x20элементы','diagnostic':'Для\x20кольцевой\x20иерархической\x20диаграммы\x20требуется\x20хотя\x20бы\x20одно\x20поле\x20иерархии\x20и\x20одно\x20числовое\x20поле\x20значений.'},'gauge':{'label':_0x3241fc(0x1c4),'value':_0x3241fc(0x1b8),'emptyDiagnostic':'Для\x20индикаторной\x20диаграммы\x20требуется\x20хотя\x20бы\x20одно\x20конечное\x20числовое\x20значение.','mappingDiagnostic':_0x3241fc(0x1da),'configDiagnostic':_0x3241fc(0x1bb)},'chord':{'emptyDiagnostic':_0x3241fc(0x1d3),'mappingDiagnostic':_0x3241fc(0x1d7),'configDiagnostic':_0x3241fc(0x1c3),'source':'Источник','target':_0x3241fc(0x1b6),'value':'Значение','count':_0x3241fc(0x1c0),'associatedValue':_0x3241fc(0x1b9)},'chartField':{'missingCategoryFields':'Для\x20этой\x20диаграммы\x20требуется\x20больше\x20полей\x20подписей.','missingSeriesFields':_0x3241fc(0x1e0),'invalidFieldIndex':_0x3241fc(0x1d1),'invalidValueFieldType':_0x3241fc(0x1d4),'invalidDataStructure':'Выбранные\x20поля\x20не\x20образуют\x20допустимую\x20структуру\x20данных\x20для\x20этой\x20диаграммы.','unsupportedChartType':'Для\x20этого\x20типа\x20диаграммы\x20не\x20определены\x20правила\x20использования\x20полей.'}}};function _0x31e0(){const _0x1c6e2d=['Отрицательное','Элементы','Собственное\x20значение','Открытие','Количество\x20отношений','1809773FCQVXr','Для\x20древовидной\x20карты\x20требуется\x20хотя\x20бы\x20одно\x20поле\x20иерархии\x20и\x20одно\x20числовое\x20поле\x20значений.','Конфигурация\x20хордовой\x20диаграммы\x20недопустима.\x20Проверьте\x20углы,\x20радиусы,\x20непрозрачность\x20и\x20размеры.','Этикетка','Положительное','Добавьте\x20серию,\x20чтобы\x20начать\x20визуализацию\x20данных','Минимум','81nEBpEn','Пусто','1922910CHLmMS','Третий\x20квартиль','145531vRKISL','Источником\x20данных\x20для\x20графика\x20взаимоотношений\x20является\x20матрица\x20сопутствующих\x20слов\x20с\x20дополнительным\x20столбцом\x20типа\x20во\x20втором\x20столбце.','Дочерние\x20элементы','7993700bYVCzU','2375200iXziYb','Выбранное\x20поле\x20диаграммы\x20больше\x20недоступно.','4Ijzwel','Для\x20хордовой\x20диаграммы\x20требуется\x20хотя\x20бы\x20одна\x20связь\x20с\x20положительным\x20весом\x20между\x20двумя\x20разными\x20узлами.','Выбранное\x20поле\x20значений\x20не\x20содержит\x20числовых\x20данных.','Первый\x20квартиль','411540fYqbux','Для\x20хордовой\x20диаграммы\x20требуются\x20разные\x20поля\x20источника\x20и\x20назначения,\x20а\x20также\x20необязательное\x20отдельное\x20поле\x20значения.','Накопительный\x20процент','Максимум','Для\x20индикаторной\x20диаграммы\x20требуется\x20одно\x20поле\x20подписи\x20и\x20ровно\x20одно\x20поле\x20значения.','Закрытие','Настройка\x20заголовка\x20диаграммы\x20недействительна\x20или\x20недоступна.','6NIivCA','518361SEgHcJ','Серия\x20{0}','Для\x20этой\x20диаграммы\x20требуется\x20больше\x20числовых\x20полей\x20значений.','Слово','5jKyFvx','Поле\x20значения','Цель','Категория','Значение','Связанное\x20значение','Диаграмма\x20Санки\x20не\x20может\x20содержать\x20циклические\x20данные','Конфигурация\x20индикаторной\x20диаграммы\x20недопустима.\x20Проверьте\x20шкалу,\x20диапазоны,\x20пропорции\x20и\x20размеры.'];_0x31e0=function(){return _0x1c6e2d;};return _0x31e0();}function _0x438e(_0x24bb42,_0x576c33){_0x24bb42=_0x24bb42-0x1b4;const _0x31e021=_0x31e0();let _0x438e93=_0x31e021[_0x24bb42];return _0x438e93;}export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1c43(_0x447ae9,_0x234a76){_0x447ae9=_0x447ae9-0x15a;const _0x2a79f7=_0x2a79();let _0x1c4369=_0x2a79f7[_0x447ae9];return _0x1c4369;}function _0x2a79(){const _0x2c91f2=['Medzisúčet','5BypinV','1527418CptszB','10248642ImAxrA','(Prázdne)','Označenie','Otvorenie','Lúčový\x20hierarchický\x20graf\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','Ukazovateľový\x20graf\x20vyžaduje\x20aspoň\x20jednu\x20konečnú\x20číselnú\x20hodnotu.','13903712jednAX','Ukazovateľový\x20graf\x20vyžaduje\x20jedno\x20pole\x20menovky\x20a\x20presne\x20jedno\x20pole\x20hodnoty.','Tento\x20graf\x20vyžaduje\x20viac\x20polí\x20menoviek.','Zatvorenie','Vybrané\x20pole\x20grafu\x20už\x20nie\x20je\x20k\x20dispozícii.','Nastavenie\x20hlavičky\x20grafu\x20je\x20neplatné\x20alebo\x20nedostupné.','Maximum','Konfigurácia\x20chordového\x20diagramu\x20je\x20neplatná.\x20Skontrolujte\x20uhly,\x20polomery,\x20nepriehľadnosť\x20a\x20veľkosti.','Počet\x20vzťahov','5921290HvNzMh','Slovo','Pozitívne','2554461fMjMiA','6YYAszs','Stromová\x20mapa\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','Zdroj','Séria\x20{0}','Prvý\x20kvartil','Hodnota','Pridajte\x20sériu\x20a\x20začnite\x20vizualizovať\x20údaje','Kumulatívne\x20percento','Iné','Negatívne','Priradená\x20hodnota','Bublinový\x20graf\x20vyžaduje\x20aspoň\x202\x20stĺpce:\x20os\x20X,\x20os\x20Y','Chordový\x20diagram\x20vyžaduje\x20rozdielne\x20polia\x20Zdroj\x20a\x20Cieľ\x20a\x20voliteľné\x20samostatné\x20pole\x20Hodnota.','4386892uBOusS','349227ucuyva','77TcZMCM','Vybrané\x20pole\x20hodnôt\x20neobsahuje\x20číselné\x20údaje.','Podradené\x20prvky','Polia\x20hierarchie','Položky','Frekvencia','Minimum','Konfigurácia\x20ukazovateľového\x20grafu\x20je\x20neplatná.\x20Skontrolujte\x20mierku,\x20rozsahy,\x20pomery\x20a\x20veľkosti.','Zdrojové\x20dáta\x20pre\x20graf\x20vzťahov\x20sú\x20ko-slovná\x20matica\x20s\x20dodatočným\x20typovým\x20stĺpcom\x20v\x20druhom\x20stĺpci','Hierarchia','Kategória','Chordový\x20diagram\x20vyžaduje\x20aspoň\x20jeden\x20vzťah\x20s\x20kladnou\x20váhou\x20medzi\x20dvoma\x20rôznymi\x20uzlami.','Cieľ','Vlastná\x20hodnota','7GIQijx','Rad\x20OHLC'];_0x2a79=function(){return _0x2c91f2;};return _0x2a79();}const _0x42d156=_0x1c43;(function(_0x171064,_0x3ce8f4){const _0x3a03cb=_0x1c43,_0x109c01=_0x171064();while(!![]){try{const _0x215a8b=-parseInt(_0x3a03cb(0x18e))/0x1+-parseInt(_0x3a03cb(0x16d))/0x2*(-parseInt(_0x3a03cb(0x17b))/0x3)+-parseInt(_0x3a03cb(0x17a))/0x4*(-parseInt(_0x3a03cb(0x18d))/0x5)+-parseInt(_0x3a03cb(0x15a))/0x6+-parseInt(_0x3a03cb(0x18a))/0x7*(parseInt(_0x3a03cb(0x160))/0x8)+parseInt(_0x3a03cb(0x16c))/0x9+-parseInt(_0x3a03cb(0x169))/0xa*(-parseInt(_0x3a03cb(0x17c))/0xb);if(_0x215a8b===_0x3ce8f4)break;else _0x109c01['push'](_0x109c01['shift']());}catch(_0x210bfc){_0x109c01['push'](_0x109c01['shift']());}}}(_0x2a79,0xdc049));const e={'sheets-chart':{'sourceHeader':{'invalidHeader':_0x42d156(0x165)},'seriesDefaultName':_0x42d156(0x170),'blank':_0x42d156(0x15b),'msg':{'emptyTips':_0x42d156(0x173),'sankeyCircularTips':'Sankeyho\x20graf\x20nemôže\x20obsahovať\x20cyklické\x20údaje'},'bubble':{'emptyTips':_0x42d156(0x178)},'relation':{'emptyTips':_0x42d156(0x184)},'cloud':{'word':_0x42d156(0x16a),'frequency':'Frekvencia'},'waterfall':{'positive':_0x42d156(0x16b),'negative':_0x42d156(0x176),'subtotal':_0x42d156(0x18c)},'pareto':{'lineName':_0x42d156(0x174)},'boxplot':{'min':_0x42d156(0x182),'q1':_0x42d156(0x171),'median':'Medián','q3':'Tretí\x20kvartil','max':'Maximum'},'candlestick':{'series':_0x42d156(0x18b),'category':_0x42d156(0x186),'open':_0x42d156(0x15d),'high':_0x42d156(0x166),'low':_0x42d156(0x182),'close':_0x42d156(0x163)},'histogram':{'frequency':_0x42d156(0x181)},'pie':{'aggregateOther':_0x42d156(0x175),'aggregateMembers':_0x42d156(0x180)},'treemap':{'hierarchy':_0x42d156(0x17f),'value':'Pole\x20hodnoty','ownValue':_0x42d156(0x189),'children':_0x42d156(0x17e),'diagnostic':_0x42d156(0x16e)},'sunburst':{'hierarchy':_0x42d156(0x185),'value':_0x42d156(0x172),'ownValue':'Vlastná\x20hodnota','children':_0x42d156(0x17e),'diagnostic':_0x42d156(0x15e)},'gauge':{'label':_0x42d156(0x15c),'value':_0x42d156(0x172),'emptyDiagnostic':_0x42d156(0x15f),'mappingDiagnostic':_0x42d156(0x161),'configDiagnostic':_0x42d156(0x183)},'chord':{'emptyDiagnostic':_0x42d156(0x187),'mappingDiagnostic':_0x42d156(0x179),'configDiagnostic':_0x42d156(0x167),'source':_0x42d156(0x16f),'target':_0x42d156(0x188),'value':_0x42d156(0x172),'count':_0x42d156(0x168),'associatedValue':_0x42d156(0x177)},'chartField':{'missingCategoryFields':_0x42d156(0x162),'missingSeriesFields':'Tento\x20graf\x20vyžaduje\x20viac\x20polí\x20číselných\x20hodnôt.','invalidFieldIndex':_0x42d156(0x164),'invalidValueFieldType':_0x42d156(0x17d),'invalidDataStructure':'Vybrané\x20polia\x20netvoria\x20platnú\x20dátovú\x20štruktúru\x20pre\x20tento\x20graf.','unsupportedChartType':'Tento\x20typ\x20grafu\x20nemá\x20pravidlá\x20používania\x20polí.'}}};export{e as default};
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3af5(_0x344534,_0x5c531e){_0x344534=_0x344534-0x15a;const _0xd79e7f=_0xd79e();let _0x3af568=_0xd79e7f[_0x344534];return _0x3af568;}const _0x2e84e7=_0x3af5;(function(_0x10e428,_0x3bc688){const _0x1ee3e3=_0x3af5,_0x249296=_0x10e428();while(!![]){try{const _0x219c3b=parseInt(_0x1ee3e3(0x16f))/0x1+-parseInt(_0x1ee3e3(0x168))/0x2+-parseInt(_0x1ee3e3(0x166))/0x3+parseInt(_0x1ee3e3(0x160))/0x4*(parseInt(_0x1ee3e3(0x15c))/0x5)+-parseInt(_0x1ee3e3(0x180))/0x6*(-parseInt(_0x1ee3e3(0x15b))/0x7)+-parseInt(_0x1ee3e3(0x176))/0x8+-parseInt(_0x1ee3e3(0x170))/0x9*(-parseInt(_0x1ee3e3(0x175))/0xa);if(_0x219c3b===_0x3bc688)break;else _0x249296['push'](_0x249296['shift']());}catch(_0x434130){_0x249296['push'](_0x249296['shift']());}}}(_0xd79e,0x5fbe5));const e={'sheets-chart':{'sourceHeader':{'invalidHeader':_0x2e84e7(0x17b)},'seriesDefaultName':_0x2e84e7(0x17d),'blank':_0x2e84e7(0x16e),'msg':{'emptyTips':_0x2e84e7(0x16a),'sankeyCircularTips':'Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp'},'bubble':{'emptyTips':_0x2e84e7(0x185)},'relation':{'emptyTips':_0x2e84e7(0x16b)},'cloud':{'word':'Từ','frequency':'Tần\x20suất'},'waterfall':{'positive':_0x2e84e7(0x189),'negative':_0x2e84e7(0x164),'subtotal':_0x2e84e7(0x165)},'pareto':{'lineName':'Tỷ\x20lệ\x20tích\x20lũy'},'boxplot':{'min':_0x2e84e7(0x181),'q1':_0x2e84e7(0x186),'median':_0x2e84e7(0x15e),'q3':_0x2e84e7(0x171),'max':_0x2e84e7(0x179)},'candlestick':{'series':_0x2e84e7(0x17f),'category':_0x2e84e7(0x187),'open':_0x2e84e7(0x163),'high':_0x2e84e7(0x167),'low':_0x2e84e7(0x178),'close':_0x2e84e7(0x169)},'histogram':{'frequency':'Tần\x20suất'},'pie':{'aggregateOther':_0x2e84e7(0x182),'aggregateMembers':_0x2e84e7(0x18a)},'treemap':{'hierarchy':_0x2e84e7(0x177),'value':'Trường\x20giá\x20trị','ownValue':'Giá\x20trị\x20riêng','children':'Phần\x20tử\x20con','diagnostic':_0x2e84e7(0x18e)},'sunburst':{'hierarchy':_0x2e84e7(0x174),'value':_0x2e84e7(0x188),'ownValue':_0x2e84e7(0x17a),'children':_0x2e84e7(0x16c),'diagnostic':_0x2e84e7(0x161)},'gauge':{'label':_0x2e84e7(0x162),'value':_0x2e84e7(0x188),'emptyDiagnostic':_0x2e84e7(0x184),'mappingDiagnostic':'Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20một\x20trường\x20nhãn\x20và\x20đúng\x20một\x20trường\x20giá\x20trị.','configDiagnostic':_0x2e84e7(0x15f)},'chord':{'emptyDiagnostic':_0x2e84e7(0x18c),'mappingDiagnostic':_0x2e84e7(0x183),'configDiagnostic':_0x2e84e7(0x172),'source':'Nguồn','target':_0x2e84e7(0x15d),'value':_0x2e84e7(0x188),'count':_0x2e84e7(0x17c),'associatedValue':'Giá\x20trị\x20liên\x20kết'},'chartField':{'missingCategoryFields':_0x2e84e7(0x18b),'missingSeriesFields':_0x2e84e7(0x16d),'invalidFieldIndex':_0x2e84e7(0x18d),'invalidValueFieldType':_0x2e84e7(0x17e),'invalidDataStructure':_0x2e84e7(0x15a),'unsupportedChartType':_0x2e84e7(0x173)}}};export{e as default};function _0xd79e(){const _0x2ea920=['Trường\x20giá\x20trị\x20đã\x20chọn\x20không\x20chứa\x20dữ\x20liệu\x20số.','Chuỗi\x20OHLC','18oiYSjh','Giá\x20trị\x20nhỏ\x20nhất','Khác','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.','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','Phần\x20tư\x20thứ\x20nhất','Danh\x20mục','Giá\x20trị','Giá\x20trị\x20dương','Thành\x20phần','Biểu\x20đồ\x20này\x20cần\x20thêm\x20trường\x20nhãn.','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.','Một\x20trường\x20biểu\x20đồ\x20đã\x20chọn\x20không\x20còn\x20khả\x20dụng.','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ố.','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.','677579nwEZMu','15Pyhbdz','Mục\x20tiêu','Trung\x20vị','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.','229228HdZnEh','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ố.','Nhãn','Giá\x20mở\x20cửa','Giá\x20trị\x20âm','Tổng\x20phụ','1615695cXoPLN','Giá\x20cao\x20nhất','180644JGkLbG','Giá\x20đóng\x20cửa','Không\x20có\x20dữ\x20liệu\x20để\x20hiển\x20thị.','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','Phần\x20tử\x20con','Biểu\x20đồ\x20này\x20cần\x20thêm\x20trường\x20giá\x20trị\x20số.','(Trống)','207480Bqfron','6687uympSi','Phần\x20tư\x20thứ\x20ba','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.','Loại\x20biểu\x20đồ\x20này\x20không\x20có\x20chính\x20sách\x20sử\x20dụng\x20trường.','Hệ\x20thống\x20phân\x20cấp','6290IczVVa','928696jViuts','Trường\x20phân\x20cấp','Giá\x20thấp\x20nhất','Giá\x20trị\x20lớn\x20nhất','Giá\x20trị\x20riêng','Cấu\x20hình\x20tiêu\x20đề\x20biểu\x20đồ\x20không\x20hợp\x20lệ\x20hoặc\x20không\x20khả\x20dụng.','Số\x20lượng\x20mối\x20quan\x20hệ','Loạt\x20{0}'];_0xd79e=function(){return _0x2ea920;};return _0xd79e();}
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x12b3(_0x8b43b,_0x4f1663){_0x8b43b=_0x8b43b-0xfe;const _0x288491=_0x2884();let _0x12b3b3=_0x288491[_0x8b43b];return _0x12b3b3;}const _0x4f56c9=_0x12b3;(function(_0x121436,_0x5cbbc7){const _0x9466fa=_0x12b3,_0x32a029=_0x121436();while(!![]){try{const _0x2001fd=-parseInt(_0x9466fa(0x11f))/0x1*(parseInt(_0x9466fa(0x117))/0x2)+parseInt(_0x9466fa(0x104))/0x3+-parseInt(_0x9466fa(0x108))/0x4*(-parseInt(_0x9466fa(0x11e))/0x5)+-parseInt(_0x9466fa(0x11b))/0x6*(-parseInt(_0x9466fa(0x119))/0x7)+-parseInt(_0x9466fa(0x110))/0x8*(parseInt(_0x9466fa(0x116))/0x9)+parseInt(_0x9466fa(0x10e))/0xa+-parseInt(_0x9466fa(0x10c))/0xb;if(_0x2001fd===_0x5cbbc7)break;else _0x32a029['push'](_0x32a029['shift']());}catch(_0x4748b7){_0x32a029['push'](_0x32a029['shift']());}}}(_0x2884,0x28303));function _0x2884(){const _0x5eb15d=['层级字段','55824zloMFW','关系图数据源为额外添加类型列在第二列的共词矩阵','此图表需要更多标签字段。','弦图配置无效,请检查角度、半径、不透明度和尺寸。','关系计数','所选值字段不包含数值数据。','297hhxjmn','4GwmLle','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','1883756wTTMzi','此图表需要更多数值字段。','6foHqmb','最小值','所选字段无法构成此图表所需的有效数据结构。','10eTvlsq','117203HrSUDH','成员数','自身值','关联值','第三四分位数','中位数','OHLC\x20系列','867972TWpzvr','图表标题配置无效或不可用。','弦图至少需要两个不同节点之间的一条正权重关系。','累积占比','420536dptPKV','(空)','仪表图至少需要一个有限数值。','系列\x20{0}','2480896VvOmHp','矩形树图至少需要一个层级字段和一个数值字段。','861270ttwZjX'];_0x2884=function(){return _0x5eb15d;};return _0x2884();}const e={'sheets-chart':{'sourceHeader':{'invalidHeader':_0x4f56c9(0x105)},'seriesDefaultName':_0x4f56c9(0x10b),'blank':_0x4f56c9(0x109),'msg':{'emptyTips':'请先添加系列开始数据可视化','sankeyCircularTips':'桑基图不能包含循环数据'},'bubble':{'emptyTips':'气泡图至少需要2列,X轴、Y轴。'},'relation':{'emptyTips':_0x4f56c9(0x111)},'cloud':{'word':'词语','frequency':'频率'},'waterfall':{'positive':'正值','negative':'负值','subtotal':'小计'},'pareto':{'lineName':_0x4f56c9(0x107)},'boxplot':{'min':_0x4f56c9(0x11c),'q1':'第一四分位数','median':_0x4f56c9(0x102),'q3':_0x4f56c9(0x101),'max':'最大值'},'candlestick':{'series':_0x4f56c9(0x103),'category':'类别','open':'开盘','high':'最高','low':'最低','close':'收盘'},'histogram':{'frequency':'频数'},'pie':{'aggregateOther':'其他','aggregateMembers':_0x4f56c9(0xfe)},'treemap':{'hierarchy':_0x4f56c9(0x10f),'value':'数值字段','ownValue':_0x4f56c9(0xff),'children':'子项','diagnostic':_0x4f56c9(0x10d)},'sunburst':{'hierarchy':'层级','value':'数值','ownValue':'自身值','children':'子项','diagnostic':'旭日图至少需要一个层级字段和一个数值字段。'},'gauge':{'label':'标签','value':'数值','emptyDiagnostic':_0x4f56c9(0x10a),'mappingDiagnostic':'仪表图需要一个标签字段且只能有一个数值字段。','configDiagnostic':_0x4f56c9(0x118)},'chord':{'emptyDiagnostic':_0x4f56c9(0x106),'mappingDiagnostic':'弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','configDiagnostic':_0x4f56c9(0x113),'source':'来源','target':'目标','value':'数值','count':_0x4f56c9(0x114),'associatedValue':_0x4f56c9(0x100)},'chartField':{'missingCategoryFields':_0x4f56c9(0x112),'missingSeriesFields':_0x4f56c9(0x11a),'invalidFieldIndex':'所选图表字段已不可用。','invalidValueFieldType':_0x4f56c9(0x115),'invalidDataStructure':_0x4f56c9(0x11d),'unsupportedChartType':'此图表类型没有字段使用规则。'}}};export{e as default};
|
package/lib/es/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x354b84=_0x27a0;function _0x27a0(_0x11e939,_0x5d2660){_0x11e939=_0x11e939-0xcf;const _0x4c6853=_0x4c68();let _0x27a04a=_0x4c6853[_0x11e939];return _0x27a04a;}function _0x4c68(){const _0x4d5e61=['收盤價','所選圖表欄位已無法使用。','20097710VKPVzE','累積占比','14sIoWgF','(空)','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','關係數','922845TZFTzo','關聯值','10807144DeFTis','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','系列\x20{0}','儀表圖至少需要一個有限數值。','此圖表需要更多標籤欄位。','階層欄位','旭日圖至少需要一個階層欄位和一個數值欄位。','所選數值欄位不包含數值資料。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','14310UQVHRb','桑基圖不能包含循環數據','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','自身值','弦圖至少需要兩個不同節點之間的一條正權重關係。','氣泡圖至少需要2欄,X軸、Y軸。','請先添加系列開始數據可視化','最大值','數值欄位','所選欄位無法構成此圖表所需的有效資料結構。','圖表標題設定無效或無法使用。','開盤價','第三四分位數','此圖表需要更多數值欄位。','795BYLEtT','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','中位數','9aypOQa','此圖表類型沒有欄位使用規則。','1234937gllBkx','最低價','193359pdDrSH','6052056qJyVZE'];_0x4c68=function(){return _0x4d5e61;};return _0x4c68();}(function(_0x3b3b0e,_0x4833e5){const _0x1e8734=_0x27a0,_0x125af4=_0x3b3b0e();while(!![]){try{const _0xe2f22f=-parseInt(_0x1e8734(0xee))/0x1+-parseInt(_0x1e8734(0xf6))/0x2*(-parseInt(_0x1e8734(0xf0))/0x3)+-parseInt(_0x1e8734(0xf1))/0x4+-parseInt(_0x1e8734(0xe9))/0x5*(parseInt(_0x1e8734(0xdb))/0x6)+parseInt(_0x1e8734(0xd0))/0x7+parseInt(_0x1e8734(0xd2))/0x8*(parseInt(_0x1e8734(0xec))/0x9)+parseInt(_0x1e8734(0xf4))/0xa;if(_0xe2f22f===_0x4833e5)break;else _0x125af4['push'](_0x125af4['shift']());}catch(_0x24aabb){_0x125af4['push'](_0x125af4['shift']());}}}(_0x4c68,0xc7578));const e={'sheets-chart':{'sourceHeader':{'invalidHeader':_0x354b84(0xe5)},'seriesDefaultName':_0x354b84(0xd4),'blank':_0x354b84(0xf7),'msg':{'emptyTips':_0x354b84(0xe1),'sankeyCircularTips':_0x354b84(0xdc)},'bubble':{'emptyTips':_0x354b84(0xe0)},'relation':{'emptyTips':_0x354b84(0xea)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x354b84(0xf5)},'boxplot':{'min':'最小值','q1':'第一四分位數','median':_0x354b84(0xeb),'q3':_0x354b84(0xe7),'max':_0x354b84(0xe2)},'candlestick':{'series':'OHLC\x20數列','category':'類別','open':_0x354b84(0xe6),'high':'最高價','low':_0x354b84(0xef),'close':_0x354b84(0xf2)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x354b84(0xd7),'value':_0x354b84(0xe3),'ownValue':_0x354b84(0xde),'children':'子項','diagnostic':_0x354b84(0xda)},'sunburst':{'hierarchy':'階層','value':'數值','ownValue':_0x354b84(0xde),'children':'子項','diagnostic':_0x354b84(0xd8)},'gauge':{'label':'標籤','value':'數值','emptyDiagnostic':_0x354b84(0xd5),'mappingDiagnostic':_0x354b84(0xf8),'configDiagnostic':_0x354b84(0xdd)},'chord':{'emptyDiagnostic':_0x354b84(0xdf),'mappingDiagnostic':_0x354b84(0xd3),'configDiagnostic':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','source':'來源','target':'目標','value':'數值','count':_0x354b84(0xcf),'associatedValue':_0x354b84(0xd1)},'chartField':{'missingCategoryFields':_0x354b84(0xd6),'missingSeriesFields':_0x354b84(0xe8),'invalidFieldIndex':_0x354b84(0xf3),'invalidValueFieldType':_0x354b84(0xd9),'invalidDataStructure':_0x354b84(0xe4),'unsupportedChartType':_0x354b84(0xed)}}};export{e as default};
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1b8e32=_0x425b;(function(_0x1e3f4e,_0x4ae7e9){const _0x2c3aac=_0x425b,_0x345cce=_0x1e3f4e();while(!![]){try{const _0x1952d5=-parseInt(_0x2c3aac(0xb7))/0x1*(-parseInt(_0x2c3aac(0xbb))/0x2)+parseInt(_0x2c3aac(0xb6))/0x3*(parseInt(_0x2c3aac(0xa6))/0x4)+-parseInt(_0x2c3aac(0x9b))/0x5+parseInt(_0x2c3aac(0xa2))/0x6*(parseInt(_0x2c3aac(0xbc))/0x7)+-parseInt(_0x2c3aac(0xb3))/0x8+-parseInt(_0x2c3aac(0xbd))/0x9+parseInt(_0x2c3aac(0x9d))/0xa*(parseInt(_0x2c3aac(0xaa))/0xb);if(_0x1952d5===_0x4ae7e9)break;else _0x345cce['push'](_0x345cce['shift']());}catch(_0x253712){_0x345cce['push'](_0x345cce['shift']());}}}(_0x55dc,0x3e1e1));const e={'sheets-chart':{'sourceHeader':{'invalidHeader':'圖表標題設定無效或無法使用。'},'seriesDefaultName':_0x1b8e32(0xa4),'blank':_0x1b8e32(0xa0),'msg':{'emptyTips':'請先添加系列開始數據可視化','sankeyCircularTips':_0x1b8e32(0xae)},'bubble':{'emptyTips':_0x1b8e32(0xba)},'relation':{'emptyTips':_0x1b8e32(0xb4)},'cloud':{'word':'詞','frequency':'頻率'},'waterfall':{'positive':'正值','negative':'負值','subtotal':'小計'},'pareto':{'lineName':_0x1b8e32(0xb2)},'boxplot':{'min':_0x1b8e32(0xb9),'q1':_0x1b8e32(0xab),'median':_0x1b8e32(0xb5),'q3':_0x1b8e32(0xa5),'max':_0x1b8e32(0xb1)},'candlestick':{'series':_0x1b8e32(0xac),'category':'類別','open':_0x1b8e32(0xa1),'high':'最高價','low':'最低價','close':_0x1b8e32(0xb8)},'histogram':{'frequency':'頻數'},'pie':{'aggregateOther':'其他','aggregateMembers':'成員'},'treemap':{'hierarchy':_0x1b8e32(0xa9),'value':'數值欄位','ownValue':_0x1b8e32(0xa3),'children':'子項','diagnostic':'矩形樹圖至少需要一個階層欄位和一個數值欄位。'},'sunburst':{'hierarchy':'階層','value':'數值','ownValue':'自身值','children':'子項','diagnostic':'旭日圖至少需要一個階層欄位和一個數值欄位。'},'gauge':{'label':'標籤','value':'數值','emptyDiagnostic':_0x1b8e32(0x9f),'mappingDiagnostic':'儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','configDiagnostic':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。'},'chord':{'emptyDiagnostic':_0x1b8e32(0xaf),'mappingDiagnostic':'弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','configDiagnostic':_0x1b8e32(0xc0),'source':'來源','target':'目標','value':'數值','count':_0x1b8e32(0xb0),'associatedValue':_0x1b8e32(0xbf)},'chartField':{'missingCategoryFields':_0x1b8e32(0xa8),'missingSeriesFields':_0x1b8e32(0xbe),'invalidFieldIndex':_0x1b8e32(0xad),'invalidValueFieldType':_0x1b8e32(0x9e),'invalidDataStructure':_0x1b8e32(0xa7),'unsupportedChartType':_0x1b8e32(0x9c)}}};export{e as default};function _0x425b(_0x3d10c9,_0x44ff2e){_0x3d10c9=_0x3d10c9-0x9b;const _0x55dcce=_0x55dc();let _0x425b5d=_0x55dcce[_0x3d10c9];return _0x425b5d;}function _0x55dc(){const _0x56da9f=['儀表圖至少需要一個有限數值。','(空)','開盤價','30wvInqI','自身值','系列\x20{0}','第三四分位數','324nllZBK','選取的欄位無法構成這個圖表所需的有效資料結構。','這個圖表需要更多標籤欄位。','階層欄位','3044404hQSFPq','第一四分位數','OHLC\x20數列','選取的圖表欄位已無法使用。','桑基圖不能包含循環數據','弦圖至少需要兩個不同節點之間的一條正權重關係。','關係數','最大值','累積占比','3035408zeBrDo','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','中位數','11721GEYTsB','3DTlJjk','收盤價','最小值','氣泡圖至少需要2欄,X軸、Y軸。','291164qGVdGK','136549fkZLxi','3386880UMEvlt','這個圖表需要更多數值欄位。','關聯值','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','586665wEUNin','這個圖表類型沒有欄位使用規則。','10dHDCWa','選取的數值欄位不包含數值資料。'];_0x55dc=function(){return _0x56da9f;};return _0x55dc();}
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x50599c=_0x403c;function _0x5ba7(){const _0x410360=['kind','128628aauFfA','some','map','Range','categoryIndex','join','setPosition','subUnitId','commit','_injector','getSubUnitId','getUnitChartModels','getRange','style','rangeInfo','getInject','chartId','filter','createInstance','Invalid\x20Sheet\x20chart\x20source.','getSheetId','executeCommand','Insert\x20the\x20Sheet\x20chart\x20before\x20updating\x20it.','getPlotVisibleOnly','ChartSourceOrientation','1777000omJcXe','475746MFdMfa','mapping','setHeader','isArray','23839816WkmIRP','921975vXnKyV','size','getChart','unitId','getWorkbook','ranges','5xUxWHH','insertChart','getChartModel','2800581ajtNnX','anchor','_chartSourceContext','theme','dataAggregation','_createSheetAdapter','Error','extend','get','message','getUnitId','setPlotVisibleOnly','source','severity','1627362uKVwbC','getChartSourceSpec','commitHost'];_0x5ba7=function(){return _0x410360;};return _0x5ba7();}(function(_0x40a0ac,_0x2eace3){const _0x53bbae=_0x403c,_0x13049c=_0x40a0ac();while(!![]){try{const _0x47f4ef=-parseInt(_0x53bbae(0xc8))/0x1+-parseInt(_0x53bbae(0xe3))/0x2+-parseInt(_0x53bbae(0xc3))/0x3+-parseInt(_0x53bbae(0xfc))/0x4*(parseInt(_0x53bbae(0xce))/0x5)+-parseInt(_0x53bbae(0xdf))/0x6+-parseInt(_0x53bbae(0xd1))/0x7+parseInt(_0x53bbae(0xc7))/0x8;if(_0x47f4ef===_0x2eace3)break;else _0x13049c['push'](_0x13049c['shift']());}catch(_0x589452){_0x13049c['push'](_0x13049c['shift']());}}}(_0x5ba7,0xafaba));import{chartTypeToBits as _0x2e493f,toChartModelConfig as _0x39e71c}from'@univerjs-pro/engine-chart';import{FChart as _0x53676a,createChartBuilder as _0x8fa38f}from'@univerjs-pro/engine-chart/facade';function _0x403c(_0x5b999b,_0xa6f14d){_0x5b999b=_0x5b999b-0xc3;const _0x5ba782=_0x5ba7();let _0x403c39=_0x5ba782[_0x5b999b];return _0x403c39;}import{ChartDiagnosticSeverity as _0x161236,ChartSourceKind as _0x4e0392,ChartSourceOrientation as _0x171b01,InsertChartCommand as _0x14f953,SheetChartConfigAdapter as _0x8a1c59,SheetsChartService as _0x3983b6,resolveInitialChartPosition as _0x33b0d7,resolveSourceSeries as _0x313b33,resolveSourceSpec as _0x2e25b1}from'@univerjs-pro/sheets-chart';import{ICommandService as _0xd411db,LocaleService as _0x1e844e,generateRandomId as _0x2474ae}from'@univerjs/core';import{FWorksheet as _0x5e7ec6}from'@univerjs/sheets/facade';import{FEnum as _0x364527}from'@univerjs/core/facade';var v=class extends _0x53676a{constructor(_0x366e7b,_0x492bd4,_0x352b4d,_0xca3f11){const _0x586096=_0x403c;super(_0x352b4d,()=>new _0x8a1c59({'unitId':_0x366e7b,'subUnitId':_0x492bd4,'chartId':_0x352b4d,'injector':_0xca3f11}),(_0x3bedcb,_0x585b0a,_0x162616)=>_0x8fa38f({'info':_0x3bedcb,'description':_0x585b0a,'type':_0x162616,'normalizeSource':_0x316a92=>_0x316a92,'extension':({setInfo:_0xc02e40})=>({'setPosition'(_0x115fdc){const _0x298b20=_0x403c;return _0xc02e40(_0x298b20(0xd2),_0x115fdc),this;}})}),_0xca3f11),this[_0x586096(0xcb)]=_0x366e7b,this[_0x586096(0xea)]=_0x492bd4,this[_0x586096(0xf3)]=_0x352b4d;}[_0x50599c(0xef)](){const _0x3cbcdb=_0x50599c;let _0x22397e=this[_0x3cbcdb(0xec)][_0x3cbcdb(0xd9)](_0x3983b6)[_0x3cbcdb(0xe0)](this[_0x3cbcdb(0xf3)]);return _0x22397e&&!Array[_0x3cbcdb(0xc6)](_0x22397e)?_0x22397e:void 0x0;}[_0x50599c(0xe9)](_0x5a0332){const _0x3f6404=_0x50599c;return this[_0x3f6404(0xd6)]()[_0x3f6404(0xe1)]({'layout':{'anchor':_0x5a0332}}),this;}async[_0x50599c(0xc5)](_0x241211){const _0x53ddfb=_0x50599c;this[_0x53ddfb(0xd6)]()[_0x53ddfb(0xc5)](_0x241211);}[_0x50599c(0xdc)](_0x3ea8ac){const _0x417569=_0x50599c;return this[_0x417569(0xd6)]()[_0x417569(0xeb)]({'plotVisibleOnly':_0x3ea8ac}),this;}[_0x50599c(0xfa)](){const _0x5e3ba7=_0x50599c;return this[_0x5e3ba7(0xd6)]()['getPlotVisibleOnly']();}[_0x50599c(0xd6)](){const _0xae765e=_0x50599c;return new _0x8a1c59({'unitId':this['unitId'],'subUnitId':this[_0xae765e(0xea)],'chartId':this[_0xae765e(0xf3)],'injector':this[_0xae765e(0xec)]});}},y=class extends _0x5e7ec6{['newChart'](_0x5cd8f2){const _0x5f55f6=_0x50599c;return _0x8fa38f({'type':_0x5cd8f2,'injector':this[_0x5f55f6(0xec)],'commitError':_0x5f55f6(0xf9),'normalizeSource':_0x4dfea0=>_0x4dfea0,'createInfo':()=>({'anchor':void 0x0}),'extension':({setInfo:_0x1b7231})=>({'setPosition'(_0xb4827e){return _0x1b7231('anchor',_0xb4827e),this;}})});}async[_0x50599c(0xcf)](_0x3701e3){const _0x151cc9=_0x50599c;var _0x30016b,_0x4b33d0,_0x3617a3;let {config:_0x598c96,dataSource:_0x449e64,anchor:_0x344470,position:_0x310505,size:_0x4dddd3}=_0x3701e3,_0x33ed80={..._0x598c96,'source':_0x449e64,'anchor':_0x344470,'position':_0x310505,'size':_0x4dddd3},_0x55f70d=_0x2e493f(_0x33ed80['type']),_0x7ea51=this['_chartSourceContext'](_0x55f70d),_0x1d4b06=[],_0x106f9c=_0x2e25b1(_0x33ed80[_0x151cc9(0xdd)],_0x7ea51,_0x1d4b06);if(!_0x106f9c||_0x1d4b06[_0x151cc9(0xe4)](_0x3469fa=>_0x3469fa[_0x151cc9(0xde)]===_0x161236[_0x151cc9(0xd7)]))throw Error(_0x1d4b06[_0x151cc9(0xe5)](_0x58d448=>_0x58d448[_0x151cc9(0xda)])[_0x151cc9(0xe8)](';\x20')||_0x151cc9(0xf6));let _0x2f1cb0=_0x2474ae(),_0x5ac05b=_0x39e71c(_0x33ed80,{'series':_0x313b33(_0x106f9c,_0x7ea51,((_0x30016b=_0x33ed80[_0x151cc9(0xc4)])==null?void 0x0:_0x30016b[_0x151cc9(0xe7)])??0x0)}),_0x39f293=_0x33b0d7({'unitId':_0x7ea51[_0x151cc9(0xcb)],'subUnitId':_0x7ea51[_0x151cc9(0xea)],'injector':this[_0x151cc9(0xf2)]()},_0x33ed80,_0x1d4b06),_0x2e7195={'unitId':_0x7ea51[_0x151cc9(0xcb)],'subUnitId':_0x7ea51[_0x151cc9(0xea)],'chartId':_0x2f1cb0,'chartType':_0x55f70d,'source':_0x106f9c[_0x151cc9(0xe2)]===_0x4e0392[_0x151cc9(0xe6)]?_0x106f9c[_0x151cc9(0xf1)]:_0x106f9c[_0x151cc9(0xcd)],'position':_0x39f293,'width':(_0x4b33d0=_0x33ed80['size'])==null?void 0x0:_0x4b33d0['width'],'height':(_0x3617a3=_0x33ed80[_0x151cc9(0xc9)])==null?void 0x0:_0x3617a3['height'],'theme':_0x33ed80[_0x151cc9(0xd4)]??void 0x0,'config':{'unitId':_0x7ea51[_0x151cc9(0xcb)],'chartModelId':_0x2f1cb0,'style':_0x5ac05b[_0x151cc9(0xf0)],'context':_0x5ac05b['context'],'dataAggregation':_0x5ac05b[_0x151cc9(0xd5)]}};if(!await this[_0x151cc9(0xf2)]()[_0x151cc9(0xd9)](_0xd411db)[_0x151cc9(0xf8)](_0x14f953['id'],_0x2e7195))throw Error('Failed\x20to\x20create\x20Sheet\x20chart.');return this[_0x151cc9(0xec)][_0x151cc9(0xf5)](v,_0x7ea51['unitId'],_0x7ea51['subUnitId'],_0x2f1cb0,this[_0x151cc9(0xec)]);}[_0x50599c(0xca)](_0xa8e365){const _0x44f5d5=_0x50599c;let {unitId:_0x34f90e,subUnitId:_0x5b8844}=this['_chartSourceContext'](),_0x192182=this[_0x44f5d5(0xf2)]()[_0x44f5d5(0xd9)](_0x3983b6);return _0x192182[_0x44f5d5(0xd0)](_0xa8e365)&&_0x192182[_0x44f5d5(0xed)](_0x34f90e,_0xa8e365)===_0x5b8844?this[_0x44f5d5(0xec)][_0x44f5d5(0xf5)](v,_0x34f90e,_0x5b8844,_0xa8e365,this['_injector']):null;}['getCharts'](){const _0x5774cf=_0x50599c;let {unitId:_0x4f150a,subUnitId:_0x23f7a2}=this[_0x5774cf(0xd3)]();return this[_0x5774cf(0xf2)]()['get'](_0x3983b6)[_0x5774cf(0xee)](_0x4f150a,_0x23f7a2)[_0x5774cf(0xf4)](Boolean)[_0x5774cf(0xe5)](_0x515bf5=>this[_0x5774cf(0xec)][_0x5774cf(0xf5)](v,_0x4f150a,_0x23f7a2,_0x515bf5['id'],this[_0x5774cf(0xec)]));}[_0x50599c(0xd3)](_0x4a7633){const _0x2c16ae=_0x50599c;let _0x2e44f6=this[_0x2c16ae(0xcc)](),_0xa1f29=this[_0x2c16ae(0xf2)]()[_0x2c16ae(0xd9)](_0x3983b6);return{'unitId':_0x2e44f6[_0x2c16ae(0xdb)](),'subUnitId':this[_0x2c16ae(0xf7)](),'workbook':_0x2e44f6,'localeService':this[_0x2c16ae(0xec)]['get'](_0x1e844e),..._0x4a7633===void 0x0?{}:{'inferInitialChartSource':_0x218896=>_0xa1f29['inferInitialChartSource'](_0x218896,_0x4a7633)}};}};_0x5e7ec6[_0x50599c(0xd8)](y);var b=class extends _0x364527{get[_0x50599c(0xfb)](){return _0x171b01;}};_0x364527[_0x50599c(0xd8)](b);export{v as FSheetChart};
|