@univerjs-pro/engine-chart 1.0.4 → 1.2.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-3d/adapters/appearance.d.ts +4 -0
- package/lib/types/chart-3d/adapters/axes.d.ts +21 -0
- package/lib/types/chart-3d/adapters/category-axis.d.ts +4 -0
- package/lib/types/chart-3d/adapters/echarts-adapter.d.ts +10 -0
- package/lib/types/chart-3d/adapters/echarts-time-scale.d.ts +9 -0
- package/lib/types/chart-3d/adapters/element-events.d.ts +3 -0
- package/lib/types/chart-3d/adapters/export-image.d.ts +2 -0
- package/lib/types/chart-3d/adapters/input-adapter.d.ts +11 -0
- package/lib/types/chart-3d/adapters/lighting.d.ts +4 -0
- package/lib/types/chart-3d/adapters/line-style.d.ts +2 -0
- package/lib/types/chart-3d/adapters/pie-labels.d.ts +7 -0
- package/lib/types/chart-3d/adapters/projection-data-label.d.ts +59 -0
- package/lib/types/chart-3d/adapters/projection-frame-image.d.ts +16 -0
- package/lib/types/chart-3d/adapters/render-input.d.ts +3 -0
- package/lib/types/chart-3d/adapters/render-instance.d.ts +32 -0
- package/lib/types/chart-3d/adapters/transform.d.ts +3 -0
- package/lib/types/chart-3d/adapters/types.d.ts +38 -0
- package/lib/types/chart-3d/adapters/webgl-renderer.d.ts +20 -0
- package/lib/types/chart-3d/chart-3d-extension.d.ts +6 -0
- package/lib/types/chart-3d/core/geometry.d.ts +39 -0
- package/lib/types/chart-3d/core/policy.d.ts +31 -0
- package/lib/types/chart-3d/core/projection.d.ts +23 -0
- package/lib/types/chart-3d/core/scene.d.ts +57 -0
- package/lib/types/chart-3d/core/types.d.ts +74 -0
- package/lib/types/chart-3d/index.d.ts +1 -0
- package/lib/types/chart-3d/view-defaults.d.ts +3 -0
- package/lib/types/chart-3d/webgl/draw-data.d.ts +6 -0
- package/lib/types/chart-3d/webgl/draw-queue.d.ts +10 -0
- package/lib/types/chart-3d/webgl/gradient.d.ts +3 -0
- package/lib/types/chart-3d/webgl/line-segments.d.ts +8 -0
- package/lib/types/chart-3d/webgl/program.d.ts +16 -0
- package/lib/types/chart-3d/webgl/renderer.d.ts +19 -0
- package/lib/types/chart-3d/webgl/stroke.d.ts +13 -0
- package/lib/types/chart-3d/webgl/types.d.ts +71 -0
- package/lib/types/chart-builder/chart-types.d.ts +22 -4
- package/lib/types/chart-builder/configuration/chart-config-group.d.ts +2 -0
- package/lib/types/chart-builder/configuration/three-d.d.ts +7 -0
- package/lib/types/chart-builder/conversion/chart-model-fields.d.ts +8 -0
- package/lib/types/chart-builder/conversion/describe-chart-model.d.ts +119 -7
- package/lib/types/config/config.d.ts +1 -1
- package/lib/types/enum.d.ts +13 -0
- package/lib/types/facade/builders/f-area-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-column-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-line-three-d-chart-builder.d.ts +6 -0
- package/lib/types/facade/builders/f-pie-three-d-chart-builder.d.ts +15 -0
- package/lib/types/facade/chart-builder-type-map.d.ts +15 -0
- package/lib/types/facade/create-chart-builder.d.ts +2 -1
- package/lib/types/facade/f-axis-chart-builder.d.ts +42 -7
- package/lib/types/facade/f-axis-three-d-chart-builder.d.ts +37 -0
- package/lib/types/facade/f-three-d-chart-builder.d.ts +30 -0
- package/lib/types/index.d.ts +13 -70
- package/lib/types/locale/en-US.d.ts +7 -0
- package/lib/types/models/chart-data/pie-composite/pie-composite-projection.d.ts +2 -2
- package/lib/types/models/chart-data/pie-composite/pie-composite-spec.d.ts +2 -1
- package/lib/types/models/chart-model/chart-model.d.ts +359 -22
- package/lib/types/models/chart-render/axes/axis-placement.d.ts +2 -0
- package/lib/types/models/chart-render/axes/chart-axis-scale.d.ts +14 -0
- package/lib/types/models/chart-render/axes/log-axis-data.d.ts +4 -0
- package/lib/types/models/chart-render/axes/log-axis-ticks.d.ts +5 -0
- package/lib/types/models/chart-render/axes/log-bar-layout.d.ts +3 -0
- package/lib/types/models/chart-render/axes/value-axis-scale.d.ts +13 -0
- package/lib/types/models/chart-render/converter/calendar-date-axis.d.ts +1 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/empty-style-operator.d.ts +2 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/legend-size.d.ts +5 -11
- package/lib/types/models/chart-render/converter/render-spec-operators/legend-style.operator.d.ts +11 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/log-axis-scale.d.ts +7 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/series-style-operator/series-fill-pattern.d.ts +15 -0
- package/lib/types/models/chart-render/converter/render-spec-operators/tools.d.ts +3 -1
- package/lib/types/models/chart-render/converter/render-spec-operators/watermark.operator.d.ts +2 -0
- package/lib/types/models/chart-render/echart-render-model/base-chart-render-instance.d.ts +1 -1
- package/lib/types/models/chart-render/echart-render-model/chart-dimension-render-instance.d.ts +28 -0
- package/lib/types/models/chart-render/echart-render-model/dom-chart-instance.d.ts +1 -0
- package/lib/types/models/chart-render/echart-render-model/echart-render-engine.d.ts +7 -1
- package/lib/types/models/chart-render/echart-render-model/echart-render-model.d.ts +23 -10
- package/lib/types/models/chart-render/echart-render-model/echarts-render-hooks.d.ts +7 -0
- package/lib/types/models/chart-render/echart-render-model/index.d.ts +0 -1
- package/lib/types/models/chart-render/format/chart-label-content.d.ts +3 -0
- package/lib/types/models/chart-render/treemap/parent-label-layout.d.ts +8 -0
- package/lib/types/models/common/chart-locale-texts.d.ts +7 -0
- package/lib/types/models/common/constants/default-chart-style.d.ts +5 -4
- package/lib/types/models/common/theme/build-in-theme/theme-util.d.ts +3 -1
- package/lib/types/types.d.ts +58 -17
- package/lib/types/util.d.ts +1 -1
- package/lib/types/{models/chart-render/converter/converters/word-cloud-converter.d.ts → wordcloud/adapters/chart-spec-adapter.d.ts} +1 -1
- package/lib/types/{wordcloud-chart/adapters/echarts/install.d.ts → wordcloud/adapters/echarts-adapter.d.ts} +3 -3
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/chart-view.d.ts +2 -2
- package/lib/types/{wordcloud-chart → wordcloud}/core/collision/box-shape-engine.d.ts +1 -1
- package/lib/types/wordcloud/echarts-api.d.ts +3 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/echarts-options.d.ts +1 -1
- package/lib/types/wordcloud/index.d.ts +16 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/layout-register.d.ts +2 -2
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/layout.d.ts +2 -2
- package/lib/types/wordcloud/register-word-cloud-rendering.d.ts +4 -0
- package/lib/types/wordcloud/render-resources.d.ts +2 -0
- package/lib/types/{word-cloud-resource → wordcloud/resources}/word-cloud-shape-resource.d.ts +1 -1
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/runtime-cache.d.ts +4 -1
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/series-model.d.ts +2 -2
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/text-measurer.d.ts +1 -1
- package/lib/types/wordcloud/word-cloud-extension.d.ts +16 -0
- package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/words.d.ts +2 -2
- 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 +6 -6
- package/lib/types/models/chart-render/converter/render-spec-operators/pie-auto-label-layout.d.ts +0 -4
- /package/lib/types/{wordcloud-chart → wordcloud}/canvas.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/bitset-board.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/engine.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/failure-cache.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/footprint.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/glyph-shape-engine.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/collision/grid.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/candidates.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/font-scale.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/layout-config.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/layout.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/phases.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/place-word.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-stats.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-types.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/placement-word-manager.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/rotation.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/runtime-mask.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/search-plan.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/word-prepare.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/layout/word-shrink.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/random/seed.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/built-in-shapes.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/shape-mask.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/shape-profile.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/shape/sprite-shape.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/formatter.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/measure.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/normalize.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/text/sprite.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/core/types/layout.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/defaults.d.ts +0 -0
- /package/lib/types/{wordcloud-chart/adapters/echarts → wordcloud}/render-config.d.ts +0 -0
- /package/lib/types/{word-cloud-resource → wordcloud/resources}/word-cloud-resource-config.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/types.d.ts +0 -0
- /package/lib/types/{wordcloud-chart → wordcloud}/word-cloud-render-config.d.ts +0 -0
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x584242=_0x4214;(function(_0x311617,_0xd807c){const _0xbf2b3b=_0x4214,_0x3c1250=_0x311617();while(!![]){try{const _0x67a3f=parseInt(_0xbf2b3b(0xae))/0x1*(parseInt(_0xbf2b3b(0xa0))/0x2)+parseInt(_0xbf2b3b(0x99))/0x3*(-parseInt(_0xbf2b3b(0xb2))/0x4)+parseInt(_0xbf2b3b(0x95))/0x5+-parseInt(_0xbf2b3b(0xa2))/0x6*(parseInt(_0xbf2b3b(0xa8))/0x7)+-parseInt(_0xbf2b3b(0xa5))/0x8+parseInt(_0xbf2b3b(0xbc))/0x9+-parseInt(_0xbf2b3b(0x9d))/0xa;if(_0x67a3f===_0xd807c)break;else _0x3c1250['push'](_0x3c1250['shift']());}catch(_0x203663){_0x3c1250['push'](_0x3c1250['shift']());}}}(_0x5738,0xc9948));const e={'engine-chart':{'projectionInvalid':_0x584242(0x9c),'projectionUnavailable':'3D\x20vykresľovanie\x20nie\x20je\x20dostupné.\x20Údaje\x20grafu\x20sú\x20zachované.','projectionRetry':_0x584242(0xb4),'projectionPngOnly':_0x584242(0x9b),'logUnsupported':'Logaritmická\x20mierka\x20tu\x20nie\x20je\x20dostupná.\x20Prepnite\x20na\x20lineárnu\x20mierku.','logNoPositive':_0x584242(0xb3),'logPercent':_0x584242(0xaa),'invalidSourceHeader':'Hlavička\x20zdroja\x20údajov\x20grafu\x20je\x20neplatná.','seriesDefaultName':_0x584242(0xaf),'blank':_0x584242(0xa6),'boxplotMin':'Minimum','boxplotQ1':_0x584242(0x98),'boxplotMedian':_0x584242(0xa1),'boxplotQ3':'Tretí\x20kvartil','boxplotMax':_0x584242(0xab),'bubbleEmptyTips':_0x584242(0x9f),'cloudWord':'Slovo','cloudFrequency':'Frekvencia','msgEmptyTips':_0x584242(0xbb),'msgSankeyCircularTips':_0x584242(0xb5),'paretoLineName':_0x584242(0xb9),'pieAggregateOther':_0x584242(0xb0),'pieAggregateMembers':'Položky','relationEmptyTips':'Zdrojové\x20dáta\x20pre\x20graf\x20vzťahov\x20sú\x20ko-slovná\x20matica\x20s\x20dodatočným\x20typovým\x20stĺpcom\x20v\x20druhom\x20stĺpci','waterfallPositive':_0x584242(0xbe),'waterfallNegative':'Negatívne','waterfallSubtotal':_0x584242(0x9e),'candlestickSeries':_0x584242(0xb7),'candlestickHlcSeries':_0x584242(0xa3),'candlestickCategory':'Kategória','candlestickDate':_0x584242(0x97),'candlestickOpen':_0x584242(0xb8),'candlestickHigh':_0x584242(0xab),'candlestickLow':_0x584242(0xba),'candlestickClose':_0x584242(0xbf),'histogramFrequency':_0x584242(0x96),'treemapEmptyTips':_0x584242(0xb6),'treemapOwnValue':_0x584242(0x9a),'treemapChildren':_0x584242(0xa7),'sunburstEmptyTips':'Lúčový\x20hierarchický\x20graf\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','sunburstOwnValue':'Vlastná\x20hodnota','sunburstChildren':_0x584242(0xa7),'gaugeEmptyTips':_0x584242(0xb1),'gaugeInvalidMapping':_0x584242(0xbd),'gaugeInvalidConfig':_0x584242(0xac),'chordEmptyTips':'Chordový\x20diagram\x20vyžaduje\x20aspoň\x20jeden\x20vzťah\x20s\x20kladnou\x20váhou\x20medzi\x20dvoma\x20rôznymi\x20uzlami.','chordInvalidMapping':_0x584242(0xad),'chordInvalidConfig':_0x584242(0xa9),'chordCount':'Počet\x20vzťahov','chordAssociatedValue':_0x584242(0xa4)}};export{e as default};function _0x4214(_0x4b32e6,_0xa88639){_0x4b32e6=_0x4b32e6-0x95;const _0x57384b=_0x5738();let _0x421463=_0x57384b[_0x4b32e6];return _0x421463;}function _0x5738(){const _0x3cc840=['(Prázdne)','Podradené\x20prvky','863912qHmRmW','Konfigurácia\x20chordového\x20diagramu\x20je\x20neplatná.\x20Skontrolujte\x20uhly,\x20polomery,\x20nepriehľadnosť\x20a\x20veľkosti.','Logaritmické\x20osi\x20nie\x20sú\x20dostupné\x20pre\x20100\x20%\x20skladané\x20grafy.\x20Prepnite\x20na\x20lineárnu\x20mierku.','Maximum','Konfigurácia\x20ukazovateľového\x20grafu\x20je\x20neplatná.\x20Skontrolujte\x20mierku,\x20rozsahy,\x20pomery\x20a\x20veľkosti.','Chordový\x20diagram\x20vyžaduje\x20rozdielne\x20polia\x20Zdroj\x20a\x20Cieľ\x20a\x20voliteľné\x20samostatné\x20pole\x20Hodnota.','834851gUkmHE','Séria\x20{0}','Iné','Ukazovateľový\x20graf\x20vyžaduje\x20aspoň\x20jednu\x20konečnú\x20číselnú\x20hodnotu.','286288iZVvvV','Táto\x20logaritmická\x20os\x20nemá\x20kladné\x20hodnoty.','Zopakovať\x20vykreslenie','Sankeyho\x20graf\x20nemôže\x20obsahovať\x20cyklické\x20údaje','Stromová\x20mapa\x20vyžaduje\x20aspoň\x20jedno\x20pole\x20hierarchie\x20a\x20jedno\x20číselné\x20pole\x20hodnoty.','Rad\x20OHLC','Otvorenie','Kumulatívne\x20percento','Minimum','Pridajte\x20sériu\x20a\x20začnite\x20vizualizovať\x20údaje','5444874RGjDUf','Ukazovateľový\x20graf\x20vyžaduje\x20jedno\x20pole\x20menovky\x20a\x20presne\x20jedno\x20pole\x20hodnoty.','Pozitívne','Zatvorenie','7890065OkiARy','Frekvencia','Dátum','Prvý\x20kvartil','6gFbpUs','Vlastná\x20hodnota','3D\x20grafy\x20podporujú\x20iba\x20export\x20PNG.','Neplatná\x20konfigurácia\x203D\x20grafu.','11522810iNiiWd','Medzisúčet','Bublinový\x20graf\x20vyžaduje\x20aspoň\x202\x20stĺpce:\x20os\x20X,\x20os\x20Y','2BpMPGf','Medián','6PyOplE','Rad\x20HLC','Priradená\x20hodnota','6186696ZWzOjj'];_0x5738=function(){return _0x3cc840;};return _0x5738();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x393f(_0x13ce4e,_0x2d746a){_0x13ce4e=_0x13ce4e-0x8f;const _0x1c79a9=_0x1c79();let _0x393f3c=_0x1c79a9[_0x13ce4e];return _0x393f3c;}const _0x81797=_0x393f;(function(_0x8f1e69,_0x2b14d4){const _0x320fec=_0x393f,_0x5ae0d9=_0x8f1e69();while(!![]){try{const _0x8c5d1=parseInt(_0x320fec(0x98))/0x1+-parseInt(_0x320fec(0xa7))/0x2+parseInt(_0x320fec(0xb4))/0x3*(parseInt(_0x320fec(0xb2))/0x4)+parseInt(_0x320fec(0xbd))/0x5+parseInt(_0x320fec(0x9a))/0x6+-parseInt(_0x320fec(0xad))/0x7*(parseInt(_0x320fec(0xa9))/0x8)+-parseInt(_0x320fec(0xa4))/0x9;if(_0x8c5d1===_0x2b14d4)break;else _0x5ae0d9['push'](_0x5ae0d9['shift']());}catch(_0x491010){_0x5ae0d9['push'](_0x5ae0d9['shift']());}}}(_0x1c79,0x3e127));const e={'engine-chart':{'projectionInvalid':_0x81797(0xb5),'projectionUnavailable':_0x81797(0xa2),'projectionRetry':_0x81797(0xa3),'projectionPngOnly':_0x81797(0x9f),'logUnsupported':'Thang\x20logarit\x20không\x20khả\x20dụng\x20ở\x20đây.\x20Chuyển\x20sang\x20thang\x20tuyến\x20tính\x20để\x20hiển\x20thị.','logNoPositive':_0x81797(0x9e),'logPercent':_0x81797(0xaa),'invalidSourceHeader':'Tiêu\x20đề\x20nguồn\x20dữ\x20liệu\x20biểu\x20đồ\x20không\x20hợp\x20lệ.','seriesDefaultName':_0x81797(0xbb),'blank':'(Trống)','boxplotMin':_0x81797(0xa6),'boxplotQ1':_0x81797(0x93),'boxplotMedian':_0x81797(0x8f),'boxplotQ3':_0x81797(0xba),'boxplotMax':_0x81797(0x99),'bubbleEmptyTips':_0x81797(0xab),'cloudWord':'Từ','cloudFrequency':'Tần\x20suất','msgEmptyTips':_0x81797(0xb0),'msgSankeyCircularTips':_0x81797(0x96),'paretoLineName':_0x81797(0xa0),'pieAggregateOther':'Khác','pieAggregateMembers':_0x81797(0x95),'relationEmptyTips':_0x81797(0xb1),'waterfallPositive':'Giá\x20trị\x20dương','waterfallNegative':_0x81797(0xb3),'waterfallSubtotal':_0x81797(0xb6),'candlestickSeries':_0x81797(0x9b),'candlestickHlcSeries':_0x81797(0x9d),'candlestickCategory':_0x81797(0x91),'candlestickDate':_0x81797(0xa1),'candlestickOpen':_0x81797(0x94),'candlestickHigh':_0x81797(0xa5),'candlestickLow':_0x81797(0xbc),'candlestickClose':_0x81797(0xac),'histogramFrequency':_0x81797(0xb7),'treemapEmptyTips':_0x81797(0xa8),'treemapOwnValue':'Giá\x20trị\x20riêng','treemapChildren':'Phần\x20tử\x20con','sunburstEmptyTips':_0x81797(0xbe),'sunburstOwnValue':_0x81797(0x97),'sunburstChildren':_0x81797(0x92),'gaugeEmptyTips':_0x81797(0xaf),'gaugeInvalidMapping':_0x81797(0xb8),'gaugeInvalidConfig':_0x81797(0xae),'chordEmptyTips':_0x81797(0x9c),'chordInvalidMapping':_0x81797(0x90),'chordInvalidConfig':'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.','chordCount':'Số\x20lượng\x20mối\x20quan\x20hệ','chordAssociatedValue':_0x81797(0xb9)}};export{e as default};function _0x1c79(){const _0xe37d0f=['Ngày','Không\x20thể\x20kết\x20xuất\x203D.\x20Dữ\x20liệu\x20biểu\x20đồ\x20được\x20giữ\x20nguyên.','Thử\x20kết\x20xuất\x20lại','2947635vqvzDL','Giá\x20cao\x20nhất','Giá\x20trị\x20nhỏ\x20nhất','1002126JOYdkH','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ố.','1132568YKqstP','Biểu\x20đồ\x20xếp\x20chồng\x20100%\x20chưa\x20hỗ\x20trợ\x20trục\x20logarit.\x20Hãy\x20chuyển\x20sang\x20tuyến\x20tính.','Biểu\x20đồ\x20bong\x20bóng\x20yêu\x20cầu\x20ít\x20nhất\x202\x20cột:\x20trục\x20X,\x20trục\x20Y','Giá\x20đóng\x20cửa','7daLRDH','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.','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20ít\x20nhất\x20một\x20giá\x20trị\x20số\x20hữu\x20hạn.','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','3336DxOPyt','Giá\x20trị\x20âm','1572wEXoDH','Cấu\x20hình\x20biểu\x20đồ\x203D\x20không\x20hợp\x20lệ.','Tổng\x20phụ','Tần\x20suất','Biểu\x20đồ\x20đồng\x20hồ\x20cần\x20một\x20trường\x20nhãn\x20và\x20đúng\x20một\x20trường\x20giá\x20trị.','Giá\x20trị\x20liên\x20kết','Phần\x20tư\x20thứ\x20ba','Loạt\x20{0}','Giá\x20thấp\x20nhất','2263200SnRKqv','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ố.','Trung\x20vị','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.','Danh\x20mục','Phần\x20tử\x20con','Phần\x20tư\x20thứ\x20nhất','Giá\x20mở\x20cửa','Thành\x20phần','Biểu\x20đồ\x20Sankey\x20không\x20thể\x20chứa\x20dữ\x20liệu\x20vòng\x20lặp','Giá\x20trị\x20riêng','305360wGybpo','Giá\x20trị\x20lớn\x20nhất','176280KgeSax','Chuỗi\x20OHLC','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.','Chuỗi\x20HLC','Trục\x20logarit\x20này\x20không\x20có\x20giá\x20trị\x20dương.','Biểu\x20đồ\x203D\x20chỉ\x20hỗ\x20trợ\x20xuất\x20PNG.','Tỷ\x20lệ\x20tích\x20lũy'];_0x1c79=function(){return _0xe37d0f;};return _0x1c79();}
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3de11e=_0x4e8d;(function(_0x15e9f8,_0x1211de){const _0x5d0a7a=_0x4e8d,_0x5d2ffc=_0x15e9f8();while(!![]){try{const _0x397a6a=parseInt(_0x5d0a7a(0x14e))/0x1*(parseInt(_0x5d0a7a(0x138))/0x2)+parseInt(_0x5d0a7a(0x137))/0x3*(parseInt(_0x5d0a7a(0x149))/0x4)+-parseInt(_0x5d0a7a(0x130))/0x5+-parseInt(_0x5d0a7a(0x151))/0x6*(parseInt(_0x5d0a7a(0x133))/0x7)+parseInt(_0x5d0a7a(0x140))/0x8*(-parseInt(_0x5d0a7a(0x148))/0x9)+-parseInt(_0x5d0a7a(0x12e))/0xa*(-parseInt(_0x5d0a7a(0x14d))/0xb)+-parseInt(_0x5d0a7a(0x12f))/0xc*(-parseInt(_0x5d0a7a(0x12d))/0xd);if(_0x397a6a===_0x1211de)break;else _0x5d2ffc['push'](_0x5d2ffc['shift']());}catch(_0x541945){_0x5d2ffc['push'](_0x5d2ffc['shift']());}}}(_0x2bed,0x25749));function _0x4e8d(_0x1b85db,_0x484908){_0x1b85db=_0x1b85db-0x12d;const _0x2bed79=_0x2bed();let _0x4e8d45=_0x2bed79[_0x1b85db];return _0x4e8d45;}const e={'engine-chart':{'projectionInvalid':_0x3de11e(0x147),'projectionUnavailable':_0x3de11e(0x14b),'projectionRetry':_0x3de11e(0x135),'projectionPngOnly':_0x3de11e(0x13a),'logUnsupported':_0x3de11e(0x13f),'logNoPositive':_0x3de11e(0x139),'logPercent':_0x3de11e(0x144),'invalidSourceHeader':_0x3de11e(0x13e),'seriesDefaultName':_0x3de11e(0x13b),'blank':_0x3de11e(0x145),'boxplotMin':_0x3de11e(0x146),'boxplotQ1':_0x3de11e(0x131),'boxplotMedian':'中位数','boxplotQ3':_0x3de11e(0x150),'boxplotMax':_0x3de11e(0x152),'bubbleEmptyTips':'气泡图至少需要2列,X轴、Y轴。','cloudWord':'词语','cloudFrequency':'频率','msgEmptyTips':_0x3de11e(0x14c),'msgSankeyCircularTips':_0x3de11e(0x13c),'paretoLineName':'累积占比','pieAggregateOther':'其他','pieAggregateMembers':'成员数','relationEmptyTips':'关系图数据源为额外添加类型列在第二列的共词矩阵','waterfallPositive':'正值','waterfallNegative':'负值','waterfallSubtotal':'小计','candlestickSeries':'OHLC\x20系列','candlestickHlcSeries':_0x3de11e(0x14f),'candlestickCategory':'类别','candlestickDate':'日期','candlestickOpen':'开盘','candlestickHigh':'最高','candlestickLow':'最低','candlestickClose':'收盘','histogramFrequency':'频数','treemapEmptyTips':'矩形树图至少需要一个层级字段和一个数值字段。','treemapOwnValue':_0x3de11e(0x134),'treemapChildren':'子项','sunburstEmptyTips':'旭日图至少需要一个层级字段和一个数值字段。','sunburstOwnValue':_0x3de11e(0x134),'sunburstChildren':'子项','gaugeEmptyTips':_0x3de11e(0x132),'gaugeInvalidMapping':_0x3de11e(0x143),'gaugeInvalidConfig':_0x3de11e(0x141),'chordEmptyTips':_0x3de11e(0x13d),'chordInvalidMapping':_0x3de11e(0x14a),'chordInvalidConfig':_0x3de11e(0x136),'chordCount':_0x3de11e(0x153),'chordAssociatedValue':_0x3de11e(0x142)}};export{e as default};function _0x2bed(){const _0x318078=['5989698CbidJK','88630vioAdf','12OnAxwE','1159065smGZTh','第一四分位数','仪表图至少需要一个有限数值。','842093PHdozu','自身值','重试渲染','弦图配置无效,请检查角度、半径、不透明度和尺寸。','15294jerIrA','4gLNSag','此对数轴没有正数数据。','三维图表仅支持\x20PNG\x20导出。','系列\x20{0}','桑基图不能包含循环数据','弦图至少需要两个不同节点之间的一条正权重关系。','图表数据源标题配置无效。','此图表或坐标轴不支持对数刻度。切换为线性以恢复绘制。','2409688muRmLL','仪表图配置无效,请检查刻度范围、分段区间、比例和尺寸。','关联值','仪表图需要一个标签字段且只能有一个数值字段。','百分比堆积暂不支持对数轴,请切换为线性以显示。','(空)','最小值','三维图表配置无效。','9uejEuI','112lyaxQQ','弦图需要不同的来源字段和目标字段,并可选一个与二者不同的数值字段。','三维渲染不可用,图表数据已保留。','请先添加系列开始数据可视化','341HuYFoj','24398ATuvsA','HLC\x20系列','第三四分位数','12FGVLlS','最大值','关系计数'];_0x2bed=function(){return _0x318078;};return _0x2bed();}
|
package/lib/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5b182f=_0x2104;function _0x4d85(){const _0x4808c5=['13409150NNfMJt','HLC\x20數列','此對數軸沒有正數資料。','143730agcpdE','系列\x20{0}','旭日圖至少需要一個階層欄位和一個數值欄位。','第一四分位數','弦圖至少需要兩個不同節點之間的一條正權重關係。','56GGPaUq','14598756wmliEU','中位數','325233uIVdTE','最小值','28eUTnQA','累積占比','22NlxIBR','請先添加系列開始數據可視化','291990wdmEIO','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','儀表圖至少需要一個有限數值。','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','(空)','百分比堆積暫不支援對數軸,請切換為線性以顯示。','461921XJsEUE','矩形樹圖至少需要一個階層欄位和一個數值欄位。','關係數','關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','96507oLBLUL','第三四分位數','最大值','OHLC\x20數列','184hUWANj','此圖表或座標軸不支援對數刻度。切換為線性以恢復繪製。','三維圖表僅支援\x20PNG\x20匯出。','2xfpAkJ','桑基圖不能包含循環數據','氣泡圖至少需要2欄,X軸、Y軸。'];_0x4d85=function(){return _0x4808c5;};return _0x4d85();}(function(_0x96b503,_0x457f09){const _0x43da71=_0x2104,_0x5b917b=_0x96b503();while(!![]){try{const _0x1022bd=-parseInt(_0x43da71(0x174))/0x1*(-parseInt(_0x43da71(0x17f))/0x2)+-parseInt(_0x43da71(0x178))/0x3*(-parseInt(_0x43da71(0x16a))/0x4)+-parseInt(_0x43da71(0x185))/0x5+parseInt(_0x43da71(0x16e))/0x6*(parseInt(_0x43da71(0x18a))/0x7)+parseInt(_0x43da71(0x17c))/0x8*(parseInt(_0x43da71(0x168))/0x9)+parseInt(_0x43da71(0x182))/0xa+-parseInt(_0x43da71(0x16c))/0xb*(parseInt(_0x43da71(0x18b))/0xc);if(_0x1022bd===_0x457f09)break;else _0x5b917b['push'](_0x5b917b['shift']());}catch(_0x381fc3){_0x5b917b['push'](_0x5b917b['shift']());}}}(_0x4d85,0xc00ba));function _0x2104(_0x228058,_0x22968f){_0x228058=_0x228058-0x167;const _0x4d8559=_0x4d85();let _0x2104b7=_0x4d8559[_0x228058];return _0x2104b7;}const e={'engine-chart':{'projectionInvalid':'三維圖表設定無效。','projectionUnavailable':'三維渲染無法使用,圖表資料已保留。','projectionRetry':'重試渲染','projectionPngOnly':_0x5b182f(0x17e),'logUnsupported':_0x5b182f(0x17d),'logNoPositive':_0x5b182f(0x184),'logPercent':_0x5b182f(0x173),'invalidSourceHeader':'圖表資料來源標題設定無效。','seriesDefaultName':_0x5b182f(0x186),'blank':_0x5b182f(0x172),'boxplotMin':_0x5b182f(0x169),'boxplotQ1':_0x5b182f(0x188),'boxplotMedian':_0x5b182f(0x167),'boxplotQ3':_0x5b182f(0x179),'boxplotMax':_0x5b182f(0x17a),'bubbleEmptyTips':_0x5b182f(0x181),'cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':_0x5b182f(0x16d),'msgSankeyCircularTips':_0x5b182f(0x180),'paretoLineName':_0x5b182f(0x16b),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':_0x5b182f(0x177),'waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':_0x5b182f(0x17b),'candlestickHlcSeries':_0x5b182f(0x183),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':'開盤價','candlestickHigh':'最高價','candlestickLow':'最低價','candlestickClose':'收盤價','histogramFrequency':'頻數','treemapEmptyTips':_0x5b182f(0x175),'treemapOwnValue':'自身值','treemapChildren':'子項','sunburstEmptyTips':_0x5b182f(0x187),'sunburstOwnValue':'自身值','sunburstChildren':'子項','gaugeEmptyTips':_0x5b182f(0x170),'gaugeInvalidMapping':_0x5b182f(0x171),'gaugeInvalidConfig':'儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','chordEmptyTips':_0x5b182f(0x189),'chordInvalidMapping':_0x5b182f(0x16f),'chordInvalidConfig':'弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','chordCount':_0x5b182f(0x176),'chordAssociatedValue':'關聯值'}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x41d0ef=_0x246e;function _0x246e(_0xc386e0,_0x45cc1e){_0xc386e0=_0xc386e0-0x1b8;const _0x5e9e79=_0x5e9e();let _0x246e32=_0x5e9e79[_0xc386e0];return _0x246e32;}(function(_0x2faada,_0x1403f3){const _0x6cf590=_0x246e,_0x5369dc=_0x2faada();while(!![]){try{const _0x5e3292=-parseInt(_0x6cf590(0x1d2))/0x1*(parseInt(_0x6cf590(0x1e0))/0x2)+parseInt(_0x6cf590(0x1c0))/0x3+-parseInt(_0x6cf590(0x1c4))/0x4+-parseInt(_0x6cf590(0x1d9))/0x5*(-parseInt(_0x6cf590(0x1cf))/0x6)+-parseInt(_0x6cf590(0x1b8))/0x7*(-parseInt(_0x6cf590(0x1c6))/0x8)+-parseInt(_0x6cf590(0x1c3))/0x9*(-parseInt(_0x6cf590(0x1bc))/0xa)+parseInt(_0x6cf590(0x1cc))/0xb;if(_0x5e3292===_0x1403f3)break;else _0x5369dc['push'](_0x5369dc['shift']());}catch(_0x5ae2d4){_0x5369dc['push'](_0x5369dc['shift']());}}}(_0x5e9e,0x4b247));const e={'engine-chart':{'projectionInvalid':_0x41d0ef(0x1cd),'projectionUnavailable':'三維算繪無法使用,圖表資料已保留。','projectionRetry':_0x41d0ef(0x1c8),'projectionPngOnly':_0x41d0ef(0x1be),'logUnsupported':'此圖表或座標軸不支援對數刻度。切換為線性以恢復繪製。','logNoPositive':_0x41d0ef(0x1ba),'logPercent':_0x41d0ef(0x1d5),'invalidSourceHeader':_0x41d0ef(0x1bb),'seriesDefaultName':_0x41d0ef(0x1c7),'blank':_0x41d0ef(0x1db),'boxplotMin':_0x41d0ef(0x1bf),'boxplotQ1':_0x41d0ef(0x1cb),'boxplotMedian':'中位數','boxplotQ3':_0x41d0ef(0x1d0),'boxplotMax':_0x41d0ef(0x1d8),'bubbleEmptyTips':'氣泡圖至少需要2欄,X軸、Y軸。','cloudWord':'詞','cloudFrequency':'頻率','msgEmptyTips':_0x41d0ef(0x1d7),'msgSankeyCircularTips':'桑基圖不能包含循環數據','paretoLineName':_0x41d0ef(0x1ce),'pieAggregateOther':'其他','pieAggregateMembers':'成員','relationEmptyTips':'關係圖資料來源為額外新增類型欄在第二欄的共詞矩陣','waterfallPositive':'正值','waterfallNegative':'負值','waterfallSubtotal':'小計','candlestickSeries':'OHLC\x20數列','candlestickHlcSeries':_0x41d0ef(0x1d1),'candlestickCategory':'類別','candlestickDate':'日期','candlestickOpen':_0x41d0ef(0x1c2),'candlestickHigh':_0x41d0ef(0x1c1),'candlestickLow':_0x41d0ef(0x1d3),'candlestickClose':_0x41d0ef(0x1ca),'histogramFrequency':'頻數','treemapEmptyTips':_0x41d0ef(0x1de),'treemapOwnValue':_0x41d0ef(0x1d4),'treemapChildren':'子項','sunburstEmptyTips':_0x41d0ef(0x1dd),'sunburstOwnValue':'自身值','sunburstChildren':'子項','gaugeEmptyTips':_0x41d0ef(0x1d6),'gaugeInvalidMapping':_0x41d0ef(0x1c5),'gaugeInvalidConfig':_0x41d0ef(0x1da),'chordEmptyTips':_0x41d0ef(0x1bd),'chordInvalidMapping':_0x41d0ef(0x1c9),'chordInvalidConfig':_0x41d0ef(0x1dc),'chordCount':_0x41d0ef(0x1b9),'chordAssociatedValue':_0x41d0ef(0x1df)}};function _0x5e9e(){const _0x410db6=['1631WQmnvb','關係數','此對數軸沒有正數資料。','圖表資料來源標題設定無效。','10xkhJue','弦圖至少需要兩個不同節點之間的一條正權重關係。','三維圖表僅支援\x20PNG\x20匯出。','最小值','117006xTMIcy','最高價','開盤價','664794CpYeGX','1962712ucRVwD','儀表圖需要一個標籤欄位,而且只能有一個數值欄位。','5864MzCCCb','系列\x20{0}','重試算繪','弦圖需要不同的來源與目標欄位,並可選擇一個與兩者不同的數值欄位。','收盤價','第一四分位數','2270235rUbauu','三維圖表設定無效。','累積占比','3057630FyJBvA','第三四分位數','HLC\x20數列','18CetLua','最低價','自身值','百分比堆積暫不支援對數軸,請切換為線性以顯示。','儀表圖至少需要一個有限數值。','請先添加系列開始數據可視化','最大值','5QCjfug','儀表圖設定無效,請檢查刻度範圍、分段區間、比例和尺寸。','(空)','弦圖設定無效,請檢查角度、半徑、不透明度和尺寸。','旭日圖至少需要一個階層欄位和一個數值欄位。','矩形樹圖至少需要一個階層欄位和一個數值欄位。','關聯值','22354cPVmBo'];_0x5e9e=function(){return _0x410db6;};return _0x5e9e();}export{e as default};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IFace3 } from '../core/geometry';
|
|
2
|
+
import type { IProjectionChartInput } from '../core/types';
|
|
3
|
+
import type { IWebGLAppearance } from '../webgl/types';
|
|
4
|
+
export declare function getFaceAppearance(input: IProjectionChartInput, face: IFace3): IWebGLAppearance;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { GraphicComponentOption } from 'echarts';
|
|
2
|
+
import type { IChartSnapshot } from '../../types';
|
|
3
|
+
import type { IFace3, IVector3 } from '../core/geometry';
|
|
4
|
+
import type { ISceneAxis, ISceneLine } from '../core/scene';
|
|
5
|
+
import type { IProjectionChartInput } from '../core/types';
|
|
6
|
+
import { buildScene } from '../core/scene';
|
|
7
|
+
/** Screen-width lines share data BSP; plot topology and label anchors share the same world scene. */
|
|
8
|
+
export declare function buildDecoratedScene(input: IProjectionChartInput<IChartSnapshot>, color: string, floorColor: string): {
|
|
9
|
+
axes: ISceneAxis[];
|
|
10
|
+
faces: IFace3[];
|
|
11
|
+
lines: ISceneLine[];
|
|
12
|
+
labels?: readonly import("../core/scene").ISceneLabel[];
|
|
13
|
+
edges?: readonly import("../core/geometry").ISurfaceEdge[];
|
|
14
|
+
floor?: readonly IVector3[];
|
|
15
|
+
percentages?: readonly import("../core/scene").IScenePercentage[];
|
|
16
|
+
bounds: {
|
|
17
|
+
readonly min: IVector3;
|
|
18
|
+
readonly max: IVector3;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
export declare function buildAxisLabels(input: IProjectionChartInput<IChartSnapshot>, scene: ReturnType<typeof buildScene>, color: string, left: number, top: number): GraphicComponentOption[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IProjectionCategoryAxisLayout, IProjectionChartInput } from '../core/types';
|
|
2
|
+
import './echarts-time-scale';
|
|
3
|
+
/** Sheet chart categories already contain timestamps; only persisted axis bounds contain serial days. */
|
|
4
|
+
export declare function createCategoryAxisLayout(input: Omit<IProjectionChartInput, 'scene'>): IProjectionCategoryAxisLayout | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { IDisposable } from '@univerjs/core';
|
|
2
|
+
import type { ChartElementEventHandler } from '../../types';
|
|
3
|
+
import type { IProjectionRenderSession, IProjectionSessionOptions } from './types';
|
|
4
|
+
export declare function createProjectionRenderSession(element: HTMLElement, options: IProjectionSessionOptions): IProjectionRenderSession;
|
|
5
|
+
/** Internal product capture boundary; not part of the playground package exports. */
|
|
6
|
+
export declare function captureProjectionSessionPng(session: IProjectionRenderSession, pixelRatio: number): Promise<string>;
|
|
7
|
+
/** Internal product capture path; the public session contract remains backend-neutral. */
|
|
8
|
+
export declare function captureProjectionSessionCanvas(session: IProjectionRenderSession, pixelRatio: number): HTMLCanvasElement;
|
|
9
|
+
export declare function observeProjectionElements(session: IProjectionRenderSession, listener: ChartElementEventHandler): IDisposable;
|
|
10
|
+
export declare function setProjectionElementEditMode(session: IProjectionRenderSession, enabled: boolean): void;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare module 'echarts/lib/scale/Time.js' {
|
|
2
|
+
const TimeScale: typeof import('echarts/types/src/scale/Time.js').default;
|
|
3
|
+
export default TimeScale;
|
|
4
|
+
export const calcNiceForTimeScale: typeof import('echarts/types/src/scale/Time.js').calcNiceForTimeScale;
|
|
5
|
+
}
|
|
6
|
+
declare module 'echarts/lib/core/locale.js' {
|
|
7
|
+
const getLocaleModel: typeof import('echarts/types/src/core/locale.js').getLocaleModel;
|
|
8
|
+
const SYSTEM_LANG: typeof import('echarts/types/src/core/locale.js').SYSTEM_LANG;
|
|
9
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ECharts } from 'echarts';
|
|
2
|
+
import type { ChartElementEventType, IChartConfig, IChartElementEvent } from '../../types';
|
|
3
|
+
export declare function createProjectionElementEvent(type: ChartElementEventType, source: unknown, config: IChartConfig, instance?: ECharts): IChartElementEvent;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { IChartRenderModelImageExportInput, IChartRenderModelImageExportOptions, IChartRenderModelImageExportResult } from '../../types';
|
|
2
|
+
export declare function exportProjectionImage(input: IChartRenderModelImageExportInput, options: IChartRenderModelImageExportOptions | undefined, addWatermark: boolean): Promise<IChartRenderModelImageExportResult>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ChartStyle, IChartSnapshot } from '../../types';
|
|
2
|
+
import type { IProjectionChartInput, IProjectionDiagnostic, ProjectionReadonly } from '../core/types';
|
|
3
|
+
export interface INormalizedProjectionSnapshot {
|
|
4
|
+
readonly snapshot: ProjectionReadonly<IChartSnapshot>;
|
|
5
|
+
readonly diagnostics: readonly IProjectionDiagnostic[];
|
|
6
|
+
}
|
|
7
|
+
export declare function normalizeProjectionSnapshot(snapshot: ProjectionReadonly<IChartSnapshot>, style?: ProjectionReadonly<ChartStyle> | undefined): INormalizedProjectionSnapshot;
|
|
8
|
+
export declare function createProjectionInput(source: Omit<IProjectionChartInput<IChartSnapshot>, 'scene'>): {
|
|
9
|
+
input: IProjectionChartInput<IChartSnapshot>;
|
|
10
|
+
diagnostics: readonly IProjectionDiagnostic[];
|
|
11
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { IFace3 } from '../core/geometry';
|
|
2
|
+
/** Pie geometry already includes slice rotation; camera shear must not alter surface lighting. */
|
|
3
|
+
export declare function getPieSurfaceShade(face: IFace3): number;
|
|
4
|
+
export declare function getSolidSurfaceShade(face: IFace3): number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface IPieOutsideLabel {
|
|
2
|
+
readonly x: number;
|
|
3
|
+
readonly y: number;
|
|
4
|
+
readonly height: number;
|
|
5
|
+
}
|
|
6
|
+
/** Keep each side in angular order; displacement changes labels, never slice geometry. */
|
|
7
|
+
export declare function arrangePieLabels(labels: readonly IPieOutsideLabel[], centerX: number, top: number, bottom: number): number[];
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ChartRuntimeStyle, IChartDataSeries } from '../../types';
|
|
2
|
+
export declare function getProjectionDataLabel(style: ChartRuntimeStyle, source: IChartDataSeries | undefined, pie: boolean): {
|
|
3
|
+
contentType?: number | undefined;
|
|
4
|
+
position?: import("../..").PieLabelPosition | undefined;
|
|
5
|
+
format?: string | undefined;
|
|
6
|
+
pointFormats?: {
|
|
7
|
+
[x: number]: string | undefined;
|
|
8
|
+
} | undefined;
|
|
9
|
+
eastAsiaFontFamily?: string | undefined;
|
|
10
|
+
bold?: boolean | undefined;
|
|
11
|
+
italic?: boolean | undefined;
|
|
12
|
+
fontSize?: number | undefined;
|
|
13
|
+
color?: string | undefined;
|
|
14
|
+
visible?: boolean | undefined;
|
|
15
|
+
rotate?: number | undefined;
|
|
16
|
+
family?: string | undefined;
|
|
17
|
+
backgroundColor?: (import("../..").ChartColor | import("../../types").IChartLabelPattern) | undefined;
|
|
18
|
+
strikethrough?: boolean | undefined;
|
|
19
|
+
underline?: boolean | undefined;
|
|
20
|
+
padAngle?: boolean | undefined;
|
|
21
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
22
|
+
showMaxLabel?: boolean | undefined;
|
|
23
|
+
showMinLabel?: boolean | undefined;
|
|
24
|
+
autoRotate?: boolean | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
contentType?: number | undefined;
|
|
27
|
+
position?: import("../..").SeriesLabelPosition | undefined;
|
|
28
|
+
format?: string;
|
|
29
|
+
pointFormats?: {
|
|
30
|
+
[x: number]: string | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
customValues?: {
|
|
33
|
+
[x: number]: string | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
showLabelLine?: boolean;
|
|
36
|
+
labelLineStyle?: {
|
|
37
|
+
width?: number | undefined;
|
|
38
|
+
color?: import("@univerjs/core").Nullable<string>;
|
|
39
|
+
opacity?: number | undefined;
|
|
40
|
+
} | undefined;
|
|
41
|
+
visible?: boolean | undefined;
|
|
42
|
+
content?: string | undefined;
|
|
43
|
+
fontSize?: number | undefined;
|
|
44
|
+
color?: string | undefined;
|
|
45
|
+
backgroundColor?: import("../..").ChartColor | import("../../types").IChartLabelPattern;
|
|
46
|
+
align?: import("../..").LabelAlignEnum | undefined;
|
|
47
|
+
bold?: boolean | undefined;
|
|
48
|
+
family?: string | undefined;
|
|
49
|
+
eastAsiaFontFamily?: string;
|
|
50
|
+
strikethrough?: boolean | undefined;
|
|
51
|
+
italic?: boolean | undefined;
|
|
52
|
+
underline?: boolean | undefined;
|
|
53
|
+
padAngle?: boolean | undefined;
|
|
54
|
+
axisTitleAlign?: import("../..").AxisAlignEnum | undefined;
|
|
55
|
+
showMaxLabel?: boolean;
|
|
56
|
+
showMinLabel?: boolean;
|
|
57
|
+
rotate?: number;
|
|
58
|
+
autoRotate?: boolean;
|
|
59
|
+
} | undefined;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
interface IProjectionFrameImage {
|
|
2
|
+
width: number;
|
|
3
|
+
height: number;
|
|
4
|
+
pixelRatio: number;
|
|
5
|
+
background: string;
|
|
6
|
+
geometry: HTMLCanvasElement;
|
|
7
|
+
decoration: HTMLCanvasElement;
|
|
8
|
+
plot: {
|
|
9
|
+
left: number;
|
|
10
|
+
top: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function composeProjectionFrameImage(frame: IProjectionFrameImage): HTMLCanvasElement;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { IDisposable } from '@univerjs/core';
|
|
2
|
+
import type { ChartElementEventHandler, ChartElementEventType, IChartHost, IChartRenderInput, IChartRenderInstance, IChartRenderInstanceCreateContext } from '../../types';
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
4
|
+
import { ChartRenderMode } from '../../types';
|
|
5
|
+
export declare class ProjectionChartInstance extends Disposable implements IChartRenderInstance {
|
|
6
|
+
readonly mode: ChartRenderMode;
|
|
7
|
+
private readonly _context;
|
|
8
|
+
private readonly _addWatermark;
|
|
9
|
+
private _host?;
|
|
10
|
+
private _session?;
|
|
11
|
+
private _mount?;
|
|
12
|
+
private _input?;
|
|
13
|
+
private _image?;
|
|
14
|
+
private _frame?;
|
|
15
|
+
private _version;
|
|
16
|
+
private _status?;
|
|
17
|
+
private _contextEvents?;
|
|
18
|
+
private _elementEvents?;
|
|
19
|
+
private _editing;
|
|
20
|
+
private _closed;
|
|
21
|
+
private readonly _listeners;
|
|
22
|
+
constructor(mode: ChartRenderMode, _context?: IChartRenderInstanceCreateContext, _addWatermark?: () => boolean);
|
|
23
|
+
bind(host: IChartHost): void;
|
|
24
|
+
render(input: IChartRenderInput): Promise<void>;
|
|
25
|
+
private _showUnavailable;
|
|
26
|
+
private _clearSession;
|
|
27
|
+
exportImg(): Promise<string | undefined>;
|
|
28
|
+
resize(): void;
|
|
29
|
+
on(type: ChartElementEventType, handler: ChartElementEventHandler): IDisposable;
|
|
30
|
+
setElementEditMode(enabled: boolean): void;
|
|
31
|
+
dispose(): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ISceneProjection } from '../core/projection';
|
|
2
|
+
/** Lift the shared camera fit to a homogeneous transform; GPU receives original world vertices. */
|
|
3
|
+
export declare function createClipMatrix(projection: ISceneProjection, width: number, height: number): Float32Array;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ChartRuntimeStyle, IChartConfig, IChartSnapshot } from '../../types';
|
|
2
|
+
import type { IProjectionDiagnostic, IProjectionSemanticTarget } from '../core/types';
|
|
3
|
+
export interface IProjectionUpdate {
|
|
4
|
+
snapshot: IChartSnapshot;
|
|
5
|
+
config: IChartConfig;
|
|
6
|
+
style: ChartRuntimeStyle;
|
|
7
|
+
title: string;
|
|
8
|
+
emptyText: string;
|
|
9
|
+
invalidText: string;
|
|
10
|
+
foreground: string;
|
|
11
|
+
background: string;
|
|
12
|
+
axes: boolean;
|
|
13
|
+
labels: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface IProjectionEvent {
|
|
16
|
+
type: 'hover' | 'select' | 'legend';
|
|
17
|
+
target?: IProjectionSemanticTarget;
|
|
18
|
+
value?: unknown;
|
|
19
|
+
selected?: Record<string, boolean>;
|
|
20
|
+
}
|
|
21
|
+
export interface IProjectionInteractionState {
|
|
22
|
+
readonly hover?: IProjectionSemanticTarget;
|
|
23
|
+
readonly selection?: IProjectionSemanticTarget;
|
|
24
|
+
}
|
|
25
|
+
export interface IProjectionRenderSession {
|
|
26
|
+
readonly diagnostics: readonly IProjectionDiagnostic[];
|
|
27
|
+
update(input: IProjectionUpdate): void;
|
|
28
|
+
resize(width: number, height: number): void;
|
|
29
|
+
/** Host state replaces current interaction without echoing a user event. */
|
|
30
|
+
setInteraction(state: IProjectionInteractionState): void;
|
|
31
|
+
clearSelection(): void;
|
|
32
|
+
dispose(): void;
|
|
33
|
+
}
|
|
34
|
+
export interface IProjectionSessionOptions {
|
|
35
|
+
readonly backend: 'webgl';
|
|
36
|
+
readonly onEvent?: (event: IProjectionEvent) => void;
|
|
37
|
+
readonly onDispose?: () => void;
|
|
38
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { IScene3, ISceneLine } from '../core/scene';
|
|
2
|
+
import type { IProjectionChartInput, IProjectionSemanticTarget } from '../core/types';
|
|
3
|
+
import { Disposable } from '@univerjs/core';
|
|
4
|
+
/** Adapts the chart scene to WebGL; the host still owns ECharts text and interaction. */
|
|
5
|
+
export declare class WebGLSceneRenderer extends Disposable {
|
|
6
|
+
readonly canvas: HTMLCanvasElement;
|
|
7
|
+
private readonly _renderer;
|
|
8
|
+
private _closed;
|
|
9
|
+
private _items;
|
|
10
|
+
private _matrix?;
|
|
11
|
+
private _ratio;
|
|
12
|
+
private _hitLines;
|
|
13
|
+
get hitLines(): readonly ISceneLine[];
|
|
14
|
+
constructor(host: HTMLElement);
|
|
15
|
+
clear(): void;
|
|
16
|
+
setEmphasis(targets: readonly IProjectionSemanticTarget[]): void;
|
|
17
|
+
render(input: IProjectionChartInput, scene: IScene3, left: number, top: number, foreground: string): void;
|
|
18
|
+
captureCanvas(pixelRatio: number): HTMLCanvasElement;
|
|
19
|
+
dispose(): void;
|
|
20
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { IChartImageExporter, IChartInstanceFactory, IChartRenderExtension } from '../models/chart-render/echart-render-model/echart-render-model';
|
|
2
|
+
export declare class Chart3DExtension implements IChartRenderExtension {
|
|
3
|
+
readonly name = "chart-3d";
|
|
4
|
+
readonly instanceFactory: IChartInstanceFactory;
|
|
5
|
+
readonly imageExporter: IChartImageExporter;
|
|
6
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { IProjectionSemanticTarget, ProjectionDecoration } from './types';
|
|
2
|
+
/** Shared relative tolerance: layout is normalized to a unit-sized chart before camera transformation. */
|
|
3
|
+
export declare const GEOMETRY_EPSILON = 1e-9;
|
|
4
|
+
export interface IVector3 {
|
|
5
|
+
readonly x: number;
|
|
6
|
+
readonly y: number;
|
|
7
|
+
readonly z: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IFace3 {
|
|
10
|
+
/** Frame-local provenance retained through BSP splits; never persisted. */
|
|
11
|
+
readonly sourceFace?: number;
|
|
12
|
+
readonly decoration?: ProjectionDecoration;
|
|
13
|
+
readonly vertices: readonly IVector3[];
|
|
14
|
+
readonly target?: IProjectionSemanticTarget;
|
|
15
|
+
readonly fill?: string;
|
|
16
|
+
readonly shade?: number;
|
|
17
|
+
/** Faces in one solid with the same group tessellate a smooth surface, not a physical crease. */
|
|
18
|
+
readonly surfaceGroup?: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ISurfaceEdge {
|
|
21
|
+
/** Smooth surface adjacencies become borders only where camera-facing orientation changes. */
|
|
22
|
+
readonly kind: 'boundary' | 'silhouette';
|
|
23
|
+
readonly start: IVector3;
|
|
24
|
+
readonly end: IVector3;
|
|
25
|
+
/** Original adjacent faces retain style and hit ownership independently of the outline topology. */
|
|
26
|
+
readonly faces: readonly IFace3[];
|
|
27
|
+
}
|
|
28
|
+
export declare function subtract(a: IVector3, b: IVector3): IVector3;
|
|
29
|
+
export declare function dot(a: IVector3, b: IVector3): number;
|
|
30
|
+
export declare function cross(a: IVector3, b: IVector3): IVector3;
|
|
31
|
+
export declare function interpolate(a: IVector3, b: IVector3, t: number): IVector3;
|
|
32
|
+
export declare function normalOf(vertices: readonly IVector3[]): IVector3;
|
|
33
|
+
export declare function clipDepth(faces: readonly IFace3[], near: number, far: number): IFace3[];
|
|
34
|
+
/** BSP resolves intersections and visibility cycles geometrically, across all series, before painter traversal. */
|
|
35
|
+
export declare function orderFaces(faces: readonly IFace3[], eye: IVector3): IFace3[];
|
|
36
|
+
/** A single solid may have semantic cells; only coincident, oppositely oriented faces are internal. */
|
|
37
|
+
export declare function removeInternalFaces(faces: readonly IFace3[]): IFace3[];
|
|
38
|
+
/** Extract each physical boundary once within a solid, excluding coplanar subdivisions and smooth facets. */
|
|
39
|
+
export declare function buildSurfaceEdges(faces: readonly IFace3[]): ISurfaceEdge[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** Renderer-owned defaults in normalized world units; not an Excel camera calibration. */
|
|
2
|
+
export declare const PROJECTION_POLICY: {
|
|
3
|
+
readonly rotX: 20;
|
|
4
|
+
readonly rotY: 30;
|
|
5
|
+
readonly perspective: 30;
|
|
6
|
+
readonly heightPercent: 100;
|
|
7
|
+
readonly automaticValueHeightRatio: 0.75;
|
|
8
|
+
readonly depthPercent: 100;
|
|
9
|
+
readonly gapWidth: 150;
|
|
10
|
+
readonly gapDepth: 150;
|
|
11
|
+
readonly plotDepth: 0.6;
|
|
12
|
+
readonly lineDepthPerCategoryPitch: 0.8;
|
|
13
|
+
readonly pieLabelRadius: 0.6;
|
|
14
|
+
readonly pieThickness: 0.2;
|
|
15
|
+
readonly lineThickness: 0.006;
|
|
16
|
+
readonly curveErrorPixels: 0.5;
|
|
17
|
+
readonly curveProjectionBound: 8;
|
|
18
|
+
readonly viewportInset: 0.06;
|
|
19
|
+
readonly cameraRadiusMultiple: 3;
|
|
20
|
+
readonly nearRadiusMultiple: 0.05;
|
|
21
|
+
readonly farRadiusMultiple: 8;
|
|
22
|
+
readonly ambientLight: 0.55;
|
|
23
|
+
readonly diffuseLight: 0.45;
|
|
24
|
+
readonly light: {
|
|
25
|
+
readonly x: -1;
|
|
26
|
+
readonly y: 2;
|
|
27
|
+
readonly z: -3;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export declare const DEGREES_TO_RADIANS: number;
|
|
31
|
+
export declare const PERCENT_SCALE = 100;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IFace3, IVector3 } from './geometry';
|
|
2
|
+
import type { IScene3, ISceneLine } from './scene';
|
|
3
|
+
import type { IProjectionChartInput, IProjectionFrame, IProjectionPoint, IProjectionPrimitive } from './types';
|
|
4
|
+
export interface ISceneProjection {
|
|
5
|
+
readonly near: number;
|
|
6
|
+
readonly far: number;
|
|
7
|
+
readonly perspective: boolean;
|
|
8
|
+
readonly eye: IVector3;
|
|
9
|
+
readonly toCamera: (world: IVector3) => IVector3;
|
|
10
|
+
readonly projectCamera: (camera: IVector3) => IProjectionPoint;
|
|
11
|
+
/** Axis/label adapters must use this same transform; undefined means outside the depth clip volume. */
|
|
12
|
+
readonly projectWorld: (world: IVector3) => IProjectionPoint | undefined;
|
|
13
|
+
}
|
|
14
|
+
/** Shared plot fitting and anchor transform; labels reserve their own insets before passing the viewport. */
|
|
15
|
+
export declare function createSceneProjection(input: IProjectionChartInput, scene: IScene3): ISceneProjection;
|
|
16
|
+
/** Remove artificial cut edges only when no intervening projected face can change painter visibility. */
|
|
17
|
+
export declare function projectOrderedFaces(faces: readonly IFace3[], projection: ISceneProjection): IProjectionPrimitive[];
|
|
18
|
+
export interface IProjectionFrameOptions {
|
|
19
|
+
/** Picking may omit transparent fills while retaining the original scene fitting. */
|
|
20
|
+
readonly includeFace?: (face: IFace3) => boolean;
|
|
21
|
+
readonly lines?: readonly ISceneLine[];
|
|
22
|
+
}
|
|
23
|
+
export declare function buildProjectionFrame(input: IProjectionChartInput, scene: IScene3, options?: IProjectionFrameOptions): IProjectionFrame;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { IAxisOptions } from '../../types';
|
|
2
|
+
import type { IFace3, ISurfaceEdge, IVector3 } from './geometry';
|
|
3
|
+
import type { IProjectionChartInput, IProjectionSemanticTarget, ProjectionDecoration } from './types';
|
|
4
|
+
export interface ISceneAxis {
|
|
5
|
+
readonly kind: 'category' | 'value' | 'depth';
|
|
6
|
+
readonly start: IVector3;
|
|
7
|
+
readonly end: IVector3;
|
|
8
|
+
readonly stops: readonly {
|
|
9
|
+
readonly point: IVector3;
|
|
10
|
+
readonly value: number;
|
|
11
|
+
readonly label?: string;
|
|
12
|
+
}[];
|
|
13
|
+
}
|
|
14
|
+
export interface IScenePercentage {
|
|
15
|
+
readonly target: IProjectionSemanticTarget;
|
|
16
|
+
readonly percentage: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ISceneLine {
|
|
19
|
+
readonly start: IVector3;
|
|
20
|
+
readonly end: IVector3;
|
|
21
|
+
readonly color: string;
|
|
22
|
+
readonly width: number;
|
|
23
|
+
readonly dashPattern?: readonly number[];
|
|
24
|
+
readonly decoration?: ProjectionDecoration;
|
|
25
|
+
readonly target?: IProjectionSemanticTarget;
|
|
26
|
+
}
|
|
27
|
+
export interface ISceneLabel {
|
|
28
|
+
readonly target: IProjectionSemanticTarget;
|
|
29
|
+
readonly inside: IVector3;
|
|
30
|
+
readonly end: IVector3;
|
|
31
|
+
readonly base: IVector3;
|
|
32
|
+
}
|
|
33
|
+
export interface IScene3 {
|
|
34
|
+
readonly labels?: readonly ISceneLabel[];
|
|
35
|
+
readonly edges?: readonly ISurfaceEdge[];
|
|
36
|
+
readonly lines?: readonly ISceneLine[];
|
|
37
|
+
readonly floor?: readonly IVector3[];
|
|
38
|
+
readonly percentages?: readonly IScenePercentage[];
|
|
39
|
+
readonly axes?: readonly ISceneAxis[];
|
|
40
|
+
readonly faces: readonly IFace3[];
|
|
41
|
+
readonly bounds: {
|
|
42
|
+
readonly min: IVector3;
|
|
43
|
+
readonly max: IVector3;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export interface IProjectionSceneServices {
|
|
47
|
+
createValueAxisScale(extent: readonly [number, number], options: Readonly<Pick<IAxisOptions, 'min' | 'max' | 'majorUnit' | 'autoScale'>>, context: {
|
|
48
|
+
readonly horizontal: boolean;
|
|
49
|
+
readonly percentStacked: boolean;
|
|
50
|
+
readonly threeDimensional: boolean;
|
|
51
|
+
}): {
|
|
52
|
+
readonly min: number;
|
|
53
|
+
readonly max: number;
|
|
54
|
+
readonly ticks: readonly number[];
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
export declare function buildScene(input: IProjectionChartInput, createValueAxisScale: IProjectionSceneServices['createValueAxisScale']): IScene3;
|