@hkyhy/marsun-components-core 0.1.3 → 0.1.8
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/README.md +5 -7
- package/dist/_virtual/_commonjs-dynamic-modules.js +7 -0
- package/dist/_virtual/_commonjs-dynamic-modules.js.map +1 -0
- package/dist/_virtual/_commonjsHelpers.js +9 -0
- package/dist/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/_virtual/jszip.min.js +8 -0
- package/dist/_virtual/jszip.min.js.map +1 -0
- package/dist/_virtual/jszip2.min.js +5 -0
- package/dist/_virtual/jszip2.min.js.map +1 -0
- package/dist/_virtual/lodash.js +6 -0
- package/dist/_virtual/lodash.js.map +1 -0
- package/dist/_virtual/lodash2.js +5 -0
- package/dist/_virtual/lodash2.js.map +1 -0
- package/dist/components/AgentHub/AgentHubAccessGuard.d.ts +11 -0
- package/dist/components/AgentHub/AgentHubIndexRedirect.d.ts +8 -0
- package/dist/components/AgentHub/Chat/Action/CreateButton.d.ts +6 -0
- package/dist/components/AgentHub/Chat/Action/ManageActionButtons.d.ts +6 -0
- package/dist/components/AgentHub/Chat/Action/SessionActionButtons.d.ts +8 -0
- package/dist/components/AgentHub/Chat/Action/handlers.d.ts +11 -0
- package/dist/components/AgentHub/Chat/Action/index.d.ts +7 -0
- package/dist/components/AgentHub/Chat/Detail/ChatInput/index.d.ts +11 -0
- package/dist/components/AgentHub/Chat/Detail/CitationContent/index.d.ts +6 -0
- package/dist/components/AgentHub/Chat/Detail/CitationInlineBadge/index.d.ts +7 -0
- package/dist/components/AgentHub/Chat/Detail/CitationMarkdownContent/index.d.ts +12 -0
- package/dist/components/AgentHub/Chat/Detail/CitationPanel/index.d.ts +9 -0
- package/dist/components/AgentHub/Chat/Detail/MermaidBlock/index.d.ts +7 -0
- package/dist/components/AgentHub/Chat/Detail/MessageActions/index.d.ts +33 -0
- package/dist/components/AgentHub/Chat/Detail/MessageEditPopover/index.d.ts +13 -0
- package/dist/components/AgentHub/Chat/Detail/MessageItem/index.d.ts +14 -0
- package/dist/components/AgentHub/Chat/Detail/ThinkingSection/index.d.ts +13 -0
- package/dist/components/AgentHub/Chat/Detail/index.d.ts +12 -0
- package/dist/components/AgentHub/Chat/Form/Form.d.ts +16 -0
- package/dist/components/AgentHub/Chat/Form/index.d.ts +2 -0
- package/dist/components/AgentHub/Chat/List/ChatCard/index.d.ts +11 -0
- package/dist/components/AgentHub/Chat/List/FilterBar.d.ts +7 -0
- package/dist/components/AgentHub/Chat/List/SessionSidebar/index.d.ts +15 -0
- package/dist/components/AgentHub/Chat/List/index.d.ts +6 -0
- package/dist/components/AgentHub/Chat/Modal/FormModal.d.ts +12 -0
- package/dist/components/AgentHub/Chat/Modal/index.d.ts +2 -0
- package/dist/components/AgentHub/Chat/constants/index.d.ts +1 -0
- package/dist/components/AgentHub/Chat/constants/types.d.ts +2 -0
- package/dist/components/AgentHub/Chat/hooks/index.d.ts +5 -0
- package/dist/components/AgentHub/Chat/hooks/useAutoScrollToBottom.d.ts +21 -0
- package/dist/components/AgentHub/Chat/hooks/useChat.d.ts +19 -0
- package/dist/components/AgentHub/Chat/hooks/useChatSessions.d.ts +20 -0
- package/dist/components/AgentHub/Chat/hooks/useSSECompletion.d.ts +13 -0
- package/dist/components/AgentHub/Chat/hooks/useTypewriter.d.ts +16 -0
- package/dist/components/AgentHub/Chat/index.d.ts +7 -0
- package/dist/components/AgentHub/Chat/utils/citationContent.d.ts +37 -0
- package/dist/components/AgentHub/Chat/utils/index.d.ts +5 -0
- package/dist/components/AgentHub/Chat/utils/messageContent.d.ts +18 -0
- package/dist/components/AgentHub/Chat/utils/sanitizeMermaidChart.d.ts +7 -0
- package/dist/components/AgentHub/Chat/utils/sessionMessages.d.ts +21 -0
- package/dist/components/AgentHub/Chat/utils/smoothScroll.d.ts +14 -0
- package/dist/components/AgentHub/ChatSessionAccessGuard.d.ts +8 -0
- package/dist/components/AgentHub/KnowledgeBase/Action/CreateButton.d.ts +6 -0
- package/dist/components/AgentHub/KnowledgeBase/Action/ManageActionButtons.d.ts +6 -0
- package/dist/components/AgentHub/KnowledgeBase/Action/handlers.d.ts +5 -0
- package/dist/components/AgentHub/KnowledgeBase/Action/index.d.ts +5 -0
- package/dist/components/AgentHub/KnowledgeBase/Detail/DocumentTable/index.d.ts +16 -0
- package/dist/components/AgentHub/KnowledgeBase/Detail/ParseStatusTag/index.d.ts +6 -0
- package/dist/components/AgentHub/KnowledgeBase/Detail/index.d.ts +4 -0
- package/dist/components/AgentHub/KnowledgeBase/Form/Form.d.ts +13 -0
- package/dist/components/AgentHub/KnowledgeBase/Form/index.d.ts +2 -0
- package/dist/components/AgentHub/KnowledgeBase/List/FilterBar.d.ts +7 -0
- package/dist/components/AgentHub/KnowledgeBase/List/KnowledgeCard/index.d.ts +11 -0
- package/dist/components/AgentHub/KnowledgeBase/List/index.d.ts +4 -0
- package/dist/components/AgentHub/KnowledgeBase/Modal/FormModal.d.ts +11 -0
- package/dist/components/AgentHub/KnowledgeBase/Modal/index.d.ts +2 -0
- package/dist/components/AgentHub/KnowledgeBase/constants/index.d.ts +1 -0
- package/dist/components/AgentHub/KnowledgeBase/constants/types.d.ts +16 -0
- package/dist/components/AgentHub/KnowledgeBase/hooks/index.d.ts +2 -0
- package/dist/components/AgentHub/KnowledgeBase/hooks/useKBDocuments.d.ts +10 -0
- package/dist/components/AgentHub/KnowledgeBase/hooks/useKnowledgeBase.d.ts +13 -0
- package/dist/components/AgentHub/KnowledgeBase/index.d.ts +7 -0
- package/dist/components/AgentHub/types.d.ts +83 -0
- package/dist/components/Auth/PermissionGuard.d.ts +19 -0
- package/dist/components/Auth/ProtectedRoute.d.ts +10 -0
- package/dist/components/Auth/hasPermission.d.ts +2 -0
- package/dist/components/Auth/index.d.ts +3 -0
- package/dist/components/Auth/types.d.ts +1 -0
- package/dist/components/Descriptions/CommonDescriptions.d.ts +23 -0
- package/dist/components/Descriptions/index.d.ts +2 -0
- package/dist/components/File/FileItem/index.d.ts +22 -0
- package/dist/components/File/FileLink/index.d.ts +8 -0
- package/dist/components/File/FilePreview/FilePreviewContent.d.ts +9 -0
- package/dist/components/File/FilePreview/FilePreviewContent.js +83 -0
- package/dist/components/File/FilePreview/FilePreviewContent.js.map +1 -0
- package/dist/components/File/FilePreview/index.d.ts +13 -0
- package/dist/components/File/FilePreview/index.js +46 -39
- package/dist/components/File/FilePreview/index.js.map +1 -1
- package/dist/components/File/FilePreview/style.module.scss.js +19 -2
- package/dist/components/File/FilePreview/style.module.scss.js.map +1 -1
- package/dist/components/File/FilePreviewLink/index.d.ts +13 -0
- package/dist/components/File/FilePreviewLink/index.js +61 -0
- package/dist/components/File/FilePreviewLink/index.js.map +1 -0
- package/dist/components/File/FilePreviewLink/style.module.scss.js +11 -0
- package/dist/components/File/FilePreviewLink/style.module.scss.js.map +1 -0
- package/dist/components/File/FilePreviewModal/index.d.ts +13 -0
- package/dist/components/File/FilePreviewModal/index.js +37 -8
- package/dist/components/File/FilePreviewModal/index.js.map +1 -1
- package/dist/components/File/fileDisplay.d.ts +11 -0
- package/dist/components/File/index.d.ts +12 -0
- package/dist/components/File/previewKind.d.ts +6 -0
- package/dist/components/File/previewKind.js +42 -0
- package/dist/components/File/previewKind.js.map +1 -0
- package/dist/components/File/types.d.ts +20 -0
- package/dist/components/Filter/CommonFilter/index.d.ts +41 -0
- package/dist/components/Filter/FilterDateRange/index.d.ts +18 -0
- package/dist/components/Filter/FilterInput/index.d.ts +10 -0
- package/dist/components/Filter/FilterNumberRange/index.d.ts +12 -0
- package/dist/components/Filter/FilterPanel/index.d.ts +11 -0
- package/dist/components/Filter/FilterPopover/index.d.ts +24 -0
- package/dist/components/Filter/FilterSelect/index.d.ts +18 -0
- package/dist/components/Filter/FilterTreeSelect/index.d.ts +22 -0
- package/dist/components/Filter/FilterTrigger/index.d.ts +16 -0
- package/dist/components/Filter/index.d.ts +30 -0
- package/dist/components/Filter/types.d.ts +35 -0
- package/dist/components/Filter/useFilterState.d.ts +49 -0
- package/dist/components/Form/FetchSelect.d.ts +21 -0
- package/dist/components/Form/FetchTreeSelect.d.ts +22 -0
- package/dist/components/Form/PersonOptionRow/index.d.ts +9 -0
- package/dist/components/Form/StepForm.d.ts +42 -0
- package/dist/components/Form/index.d.ts +8 -0
- package/dist/components/Icons/index.d.ts +85 -0
- package/dist/components/Layout/PageHeaderLayout/index.d.ts +12 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/components/Modal/StepModal/index.d.ts +25 -0
- package/dist/components/Modal/StepModalTypes.d.ts +40 -0
- package/dist/components/Modal/index.d.ts +2 -0
- package/dist/components/Stat/StatCard/index.d.ts +22 -0
- package/dist/components/Stat/StatCardList.d.ts +26 -0
- package/dist/components/Stat/StatPendingBreakdown/index.d.ts +25 -0
- package/dist/components/Stat/index.d.ts +6 -0
- package/dist/components/Tag/FileTags.d.ts +6 -0
- package/dist/components/Tag/SemanticTag.d.ts +52 -0
- package/dist/components/Tag/Tags/index.d.ts +16 -0
- package/dist/components/Tag/index.d.ts +6 -0
- package/dist/components/TooltipInfo/TooltipInfo.d.ts +19 -0
- package/dist/components/TooltipInfo/index.d.ts +2 -0
- package/dist/components/Tour/AppTour/index.d.ts +19 -0
- package/dist/components/Tour/index.d.ts +2 -0
- package/dist/components/Upload/index.d.ts +66 -0
- package/dist/components/Upload/index.js +181 -0
- package/dist/components/Upload/index.js.map +1 -0
- package/dist/components/Upload/style.module.scss.js +19 -0
- package/dist/components/Upload/style.module.scss.js.map +1 -0
- package/dist/components/VirtualScrollbar/VirtualScrollbar/index.d.ts +14 -0
- package/dist/components/VirtualScrollbar/index.d.ts +3 -0
- package/dist/components/VirtualScrollbar/useVirtualScrollbar.d.ts +23 -0
- package/dist/components/index.d.ts +15 -0
- package/dist/hooks/useFetchData.d.ts +22 -0
- package/dist/index.d.ts +26 -28
- package/dist/index.js +170 -166
- package/dist/index.js.map +1 -1
- package/dist/marsun-components-core.css +1 -1
- package/dist/node_modules/@js-preview/excel/lib/index.js +43346 -0
- package/dist/node_modules/@js-preview/excel/lib/index.js.map +1 -0
- package/dist/node_modules/docx-preview/dist/docx-preview.js +3203 -0
- package/dist/node_modules/docx-preview/dist/docx-preview.js.map +1 -0
- package/dist/node_modules/echarts/index.js +88 -0
- package/dist/node_modules/echarts/index.js.map +1 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js +23 -0
- package/dist/node_modules/echarts/lib/action/roamHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js +97 -0
- package/dist/node_modules/echarts/lib/animation/basicTransition.js.map +1 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +57 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js +236 -0
- package/dist/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js +107 -0
- package/dist/node_modules/echarts/lib/animation/morphTransitionHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js +346 -0
- package/dist/node_modules/echarts/lib/animation/universalTransition.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js +55 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js +478 -0
- package/dist/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
- package/dist/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js +326 -0
- package/dist/node_modules/echarts/lib/chart/bar/PictorialBarView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js +24 -0
- package/dist/node_modules/echarts/lib/chart/bar/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js +11 -0
- package/dist/node_modules/echarts/lib/chart/bar/installPictorialBar.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js +57 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js +96 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/BoxplotView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js +73 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js +24 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/boxplotTransform.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js +26 -0
- package/dist/node_modules/echarts/lib/chart/boxplot/prepareBoxplotData.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js +71 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js +196 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/CandlestickView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js +77 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js +36 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/candlestickVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js +10 -0
- package/dist/node_modules/echarts/lib/chart/candlestick/preprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js +56 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js +439 -0
- package/dist/node_modules/echarts/lib/chart/custom/CustomView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/custom/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js +61 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js +45 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/EffectScatterView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js +10 -0
- package/dist/node_modules/echarts/lib/chart/effectScatter/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js +84 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js +110 -0
- package/dist/node_modules/echarts/lib/chart/funnel/FunnelView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js +98 -0
- package/dist/node_modules/echarts/lib/chart/funnel/funnelLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/funnel/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js +300 -0
- package/dist/node_modules/echarts/lib/chart/gauge/GaugeView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js +30 -0
- package/dist/node_modules/echarts/lib/chart/gauge/PointerPath.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/gauge/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js +181 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js +137 -0
- package/dist/node_modules/echarts/lib/chart/graph/GraphView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js +54 -0
- package/dist/node_modules/echarts/lib/chart/graph/adjustEdge.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js +23 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryFilter.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js +30 -0
- package/dist/node_modules/echarts/lib/chart/graph/categoryVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js +10 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js +81 -0
- package/dist/node_modules/echarts/lib/chart/graph/circularLayoutHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js +34 -0
- package/dist/node_modules/echarts/lib/chart/graph/createView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js +29 -0
- package/dist/node_modules/echarts/lib/chart/graph/edgeVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js +74 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js +62 -0
- package/dist/node_modules/echarts/lib/chart/graph/forceLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js +16 -0
- package/dist/node_modules/echarts/lib/chart/graph/graphHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js +43 -0
- package/dist/node_modules/echarts/lib/chart/graph/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js +25 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js +24 -0
- package/dist/node_modules/echarts/lib/chart/graph/simpleLayoutHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js +46 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapLayer.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js +45 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js +155 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/HeatmapView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js +9 -0
- package/dist/node_modules/echarts/lib/chart/heatmap/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js +69 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectLine.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js +55 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectPolyline.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js +90 -0
- package/dist/node_modules/echarts/lib/chart/helper/EffectSymbol.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js +158 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeLineDraw.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +144 -0
- package/dist/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js +209 -0
- package/dist/node_modules/echarts/lib/chart/helper/Line.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js +88 -0
- package/dist/node_modules/echarts/lib/chart/helper/LineDraw.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js +53 -0
- package/dist/node_modules/echarts/lib/chart/helper/LinePath.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js +46 -0
- package/dist/node_modules/echarts/lib/chart/helper/Polyline.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js +156 -0
- package/dist/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js +107 -0
- package/dist/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +71 -0
- package/dist/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js +51 -0
- package/dist/node_modules/echarts/lib/chart/helper/createGraphFromNodeEdge.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +12 -0
- package/dist/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js +71 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +16 -0
- package/dist/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js +14 -0
- package/dist/node_modules/echarts/lib/chart/helper/enableAriaDecalForTree.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js +28 -0
- package/dist/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js +68 -0
- package/dist/node_modules/echarts/lib/chart/helper/multipleGraphEdgeHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js +20 -0
- package/dist/node_modules/echarts/lib/chart/helper/sectorHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js +42 -0
- package/dist/node_modules/echarts/lib/chart/helper/treeHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js +52 -0
- package/dist/node_modules/echarts/lib/chart/helper/whiskerBoxCommon.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js +93 -0
- package/dist/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js +532 -0
- package/dist/node_modules/echarts/lib/chart/line/LineView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js +41 -0
- package/dist/node_modules/echarts/lib/chart/line/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js +17 -0
- package/dist/node_modules/echarts/lib/chart/line/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +61 -0
- package/dist/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js +164 -0
- package/dist/node_modules/echarts/lib/chart/line/poly.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js +154 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js +66 -0
- package/dist/node_modules/echarts/lib/chart/lines/LinesView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/lines/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js +51 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js +21 -0
- package/dist/node_modules/echarts/lib/chart/lines/linesVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js +144 -0
- package/dist/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js +84 -0
- package/dist/node_modules/echarts/lib/chart/map/MapView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js +14 -0
- package/dist/node_modules/echarts/lib/chart/map/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js +33 -0
- package/dist/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +32 -0
- package/dist/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js +64 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js +112 -0
- package/dist/node_modules/echarts/lib/chart/parallel/ParallelView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/parallel/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js +27 -0
- package/dist/node_modules/echarts/lib/chart/parallel/parallelVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js +143 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js +152 -0
- package/dist/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js +14 -0
- package/dist/node_modules/echarts/lib/chart/pie/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js +200 -0
- package/dist/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js +100 -0
- package/dist/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js +74 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js +124 -0
- package/dist/node_modules/echarts/lib/chart/radar/RadarView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js +18 -0
- package/dist/node_modules/echarts/lib/chart/radar/backwardCompat.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js +14 -0
- package/dist/node_modules/echarts/lib/chart/radar/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js +31 -0
- package/dist/node_modules/echarts/lib/chart/radar/radarLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js +125 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeySeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js +169 -0
- package/dist/node_modules/echarts/lib/chart/sankey/SankeyView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js +24 -0
- package/dist/node_modules/echarts/lib/chart/sankey/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js +278 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js +34 -0
- package/dist/node_modules/echarts/lib/chart/sankey/sankeyVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +62 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js +61 -0
- package/dist/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/scatter/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js +83 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstPiece.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js +129 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js +94 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/SunburstView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js +14 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js +51 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js +99 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js +24 -0
- package/dist/node_modules/echarts/lib/chart/sunburst/sunburstVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js +123 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js +101 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/ThemeRiverView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js +11 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js +64 -0
- package/dist/node_modules/echarts/lib/chart/themeRiver/themeRiverLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js +101 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js +320 -0
- package/dist/node_modules/echarts/lib/chart/tree/TreeView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/tree/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js +103 -0
- package/dist/node_modules/echarts/lib/chart/tree/layoutHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js +25 -0
- package/dist/node_modules/echarts/lib/chart/tree/traversalHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js +38 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js +54 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js +14 -0
- package/dist/node_modules/echarts/lib/chart/tree/treeVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js +100 -0
- package/dist/node_modules/echarts/lib/chart/treemap/Breadcrumb.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js +204 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js +455 -0
- package/dist/node_modules/echarts/lib/chart/treemap/TreemapView.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js +12 -0
- package/dist/node_modules/echarts/lib/chart/treemap/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js +31 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js +218 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js +96 -0
- package/dist/node_modules/echarts/lib/chart/treemap/treemapVisual.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/aria/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js +13 -0
- package/dist/node_modules/echarts/lib/component/aria/preprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js +196 -0
- package/dist/node_modules/echarts/lib/component/axis/AngleAxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js +295 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js +41 -0
- package/dist/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js +123 -0
- package/dist/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js +89 -0
- package/dist/node_modules/echarts/lib/component/axis/ParallelAxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js +118 -0
- package/dist/node_modules/echarts/lib/component/axis/RadiusAxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js +71 -0
- package/dist/node_modules/echarts/lib/component/axis/SingleAxisView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js +54 -0
- package/dist/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js +26 -0
- package/dist/node_modules/echarts/lib/component/axis/parallelAxisAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +72 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +32 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +186 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +86 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js +84 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js +81 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +203 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +37 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js +59 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js +26 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js +138 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js +115 -0
- package/dist/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js +59 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js +47 -0
- package/dist/node_modules/echarts/lib/component/brush/BrushView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js +33 -0
- package/dist/node_modules/echarts/lib/component/brush/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js +31 -0
- package/dist/node_modules/echarts/lib/component/brush/preprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js +63 -0
- package/dist/node_modules/echarts/lib/component/brush/selector.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js +141 -0
- package/dist/node_modules/echarts/lib/component/brush/visualEncoding.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js +188 -0
- package/dist/node_modules/echarts/lib/component/calendar/CalendarView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js +10 -0
- package/dist/node_modules/echarts/lib/component/calendar/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +126 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +189 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +19 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js +25 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js +77 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/InsideZoomView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +17 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +17 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js +88 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js +454 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/SliderZoomView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +19 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +58 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js +68 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js +57 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js +12 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js +11 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomInside.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js +10 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/installDataZoomSlider.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js +127 -0
- package/dist/node_modules/echarts/lib/component/dataZoom/roams.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js +44 -0
- package/dist/node_modules/echarts/lib/component/dataset/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js +50 -0
- package/dist/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js +73 -0
- package/dist/node_modules/echarts/lib/component/geo/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js +96 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js +186 -0
- package/dist/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/graphic/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js +10 -0
- package/dist/node_modules/echarts/lib/component/grid/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js +43 -0
- package/dist/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js +466 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js +197 -0
- package/dist/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js +304 -0
- package/dist/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js +107 -0
- package/dist/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js +13 -0
- package/dist/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js +28 -0
- package/dist/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js +30 -0
- package/dist/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js +18 -0
- package/dist/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js +29 -0
- package/dist/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js +197 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js +246 -0
- package/dist/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +50 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +185 -0
- package/dist/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js +10 -0
- package/dist/node_modules/echarts/lib/component/legend/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js +13 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js +12 -0
- package/dist/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js +41 -0
- package/dist/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js +15 -0
- package/dist/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +16 -0
- package/dist/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js +44 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js +180 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkAreaView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js +47 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js +179 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkLineView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js +41 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js +85 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkPointView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js +75 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js +46 -0
- package/dist/node_modules/echarts/lib/component/marker/MarkerView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js +13 -0
- package/dist/node_modules/echarts/lib/component/marker/checkMarkerInSeries.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkArea.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkLine.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js +12 -0
- package/dist/node_modules/echarts/lib/component/marker/installMarkPoint.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js +84 -0
- package/dist/node_modules/echarts/lib/component/marker/markerHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js +67 -0
- package/dist/node_modules/echarts/lib/component/parallel/ParallelView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js +27 -0
- package/dist/node_modules/echarts/lib/component/parallel/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js +41 -0
- package/dist/node_modules/echarts/lib/component/polar/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js +120 -0
- package/dist/node_modules/echarts/lib/component/radar/RadarView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js +18 -0
- package/dist/node_modules/echarts/lib/component/radar/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js +28 -0
- package/dist/node_modules/echarts/lib/component/singleAxis/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js +116 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js +362 -0
- package/dist/node_modules/echarts/lib/component/timeline/SliderTimelineView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js +21 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js +80 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js +17 -0
- package/dist/node_modules/echarts/lib/component/timeline/TimelineView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js +13 -0
- package/dist/node_modules/echarts/lib/component/timeline/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js +36 -0
- package/dist/node_modules/echarts/lib/component/timeline/preprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js +30 -0
- package/dist/node_modules/echarts/lib/component/timeline/timelineAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/title/install.js +122 -0
- package/dist/node_modules/echarts/lib/component/title/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +61 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js +141 -0
- package/dist/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js +70 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Brush.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js +271 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +153 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +124 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js +38 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +70 -0
- package/dist/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js +20 -0
- package/dist/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js +17 -0
- package/dist/node_modules/echarts/lib/component/toolbox/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +153 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js +83 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +90 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js +413 -0
- package/dist/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js +33 -0
- package/dist/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js +20 -0
- package/dist/node_modules/echarts/lib/component/tooltip/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +64 -0
- package/dist/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +187 -0
- package/dist/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js +36 -0
- package/dist/node_modules/echarts/lib/component/transform/filterTransform.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js +9 -0
- package/dist/node_modules/echarts/lib/component/transform/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js +59 -0
- package/dist/node_modules/echarts/lib/component/transform/sortTransform.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +110 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js +383 -0
- package/dist/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +217 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +119 -0
- package/dist/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +162 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js +78 -0
- package/dist/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js +25 -0
- package/dist/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js +10 -0
- package/dist/node_modules/echarts/lib/component/visualMap/install.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js +16 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +10 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +10 -0
- package/dist/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js +21 -0
- package/dist/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js +52 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js +18 -0
- package/dist/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js +108 -0
- package/dist/node_modules/echarts/lib/coord/Axis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js +7 -0
- package/dist/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/View.js +92 -0
- package/dist/node_modules/echarts/lib/coord/View.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js +47 -0
- package/dist/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js +10 -0
- package/dist/node_modules/echarts/lib/coord/axisCommonTypes.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js +161 -0
- package/dist/node_modules/echarts/lib/coord/axisDefault.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js +163 -0
- package/dist/node_modules/echarts/lib/coord/axisHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js +16 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js +41 -0
- package/dist/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +177 -0
- package/dist/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js +159 -0
- package/dist/node_modules/echarts/lib/coord/calendar/Calendar.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js +92 -0
- package/dist/node_modules/echarts/lib/coord/calendar/CalendarModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js +29 -0
- package/dist/node_modules/echarts/lib/coord/calendar/prepareCustom.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js +29 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js +22 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js +27 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +67 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js +234 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js +31 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +47 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js +30 -0
- package/dist/node_modules/echarts/lib/coord/cartesian/prepareCustom.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js +86 -0
- package/dist/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +71 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js +126 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +109 -0
- package/dist/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js +138 -0
- package/dist/node_modules/echarts/lib/coord/geo/Region.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +11 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js +23 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js +22 -0
- package/dist/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js +109 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js +70 -0
- package/dist/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js +68 -0
- package/dist/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js +30 -0
- package/dist/node_modules/echarts/lib/coord/geo/prepareCustom.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js +52 -0
- package/dist/node_modules/echarts/lib/coord/parallel/AxisModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js +181 -0
- package/dist/node_modules/echarts/lib/coord/parallel/Parallel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js +19 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js +62 -0
- package/dist/node_modules/echarts/lib/coord/parallel/ParallelModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js +21 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js +26 -0
- package/dist/node_modules/echarts/lib/coord/parallel/parallelPreprocessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js +30 -0
- package/dist/node_modules/echarts/lib/coord/polar/AngleAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js +45 -0
- package/dist/node_modules/echarts/lib/coord/polar/AxisModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js +87 -0
- package/dist/node_modules/echarts/lib/coord/polar/Polar.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js +27 -0
- package/dist/node_modules/echarts/lib/coord/polar/PolarModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js +20 -0
- package/dist/node_modules/echarts/lib/coord/polar/RadiusAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js +64 -0
- package/dist/node_modules/echarts/lib/coord/polar/polarCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js +30 -0
- package/dist/node_modules/echarts/lib/coord/polar/prepareCustom.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js +17 -0
- package/dist/node_modules/echarts/lib/coord/radar/IndicatorAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js +80 -0
- package/dist/node_modules/echarts/lib/coord/radar/Radar.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js +90 -0
- package/dist/node_modules/echarts/lib/coord/radar/RadarModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +71 -0
- package/dist/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js +61 -0
- package/dist/node_modules/echarts/lib/coord/single/AxisModel.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js +89 -0
- package/dist/node_modules/echarts/lib/coord/single/Single.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js +22 -0
- package/dist/node_modules/echarts/lib/coord/single/SingleAxis.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js +27 -0
- package/dist/node_modules/echarts/lib/coord/single/prepareCustom.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js +33 -0
- package/dist/node_modules/echarts/lib/coord/single/singleAxisHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js +22 -0
- package/dist/node_modules/echarts/lib/coord/single/singleCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js +30 -0
- package/dist/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js +35 -0
- package/dist/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js +227 -0
- package/dist/node_modules/echarts/lib/core/Scheduler.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/echarts.js +1058 -0
- package/dist/node_modules/echarts/lib/core/echarts.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/impl.js +13 -0
- package/dist/node_modules/echarts/lib/core/impl.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js +6 -0
- package/dist/node_modules/echarts/lib/core/lifecycle.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/locale.js +38 -0
- package/dist/node_modules/echarts/lib/core/locale.js.map +1 -0
- package/dist/node_modules/echarts/lib/core/task.js +92 -0
- package/dist/node_modules/echarts/lib/core/task.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js +81 -0
- package/dist/node_modules/echarts/lib/data/DataDiffer.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js +431 -0
- package/dist/node_modules/echarts/lib/data/DataStore.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/Graph.js +210 -0
- package/dist/node_modules/echarts/lib/data/Graph.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js +37 -0
- package/dist/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js +339 -0
- package/dist/node_modules/echarts/lib/data/SeriesData.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js +14 -0
- package/dist/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/Source.js +158 -0
- package/dist/node_modules/echarts/lib/data/Source.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/Tree.js +155 -0
- package/dist/node_modules/echarts/lib/data/Tree.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +87 -0
- package/dist/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js +123 -0
- package/dist/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js +177 -0
- package/dist/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js +61 -0
- package/dist/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js +90 -0
- package/dist/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js +59 -0
- package/dist/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js +63 -0
- package/dist/node_modules/echarts/lib/data/helper/linkSeriesData.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js +164 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js +138 -0
- package/dist/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js +174 -0
- package/dist/node_modules/echarts/lib/data/helper/transform.js.map +1 -0
- package/dist/node_modules/echarts/lib/extension.js +62 -0
- package/dist/node_modules/echarts/lib/extension.js.map +1 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js +115 -0
- package/dist/node_modules/echarts/lib/i18n/langEN.js.map +1 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js +115 -0
- package/dist/node_modules/echarts/lib/i18n/langZH.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js +236 -0
- package/dist/node_modules/echarts/lib/label/LabelManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js +18 -0
- package/dist/node_modules/echarts/lib/label/installLabelLayout.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js +235 -0
- package/dist/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js +133 -0
- package/dist/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js +195 -0
- package/dist/node_modules/echarts/lib/label/labelStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js +95 -0
- package/dist/node_modules/echarts/lib/label/sectorLabel.js.map +1 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js +236 -0
- package/dist/node_modules/echarts/lib/layout/barGrid.js.map +1 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js +102 -0
- package/dist/node_modules/echarts/lib/layout/barPolar.js.map +1 -0
- package/dist/node_modules/echarts/lib/layout/points.js +38 -0
- package/dist/node_modules/echarts/lib/layout/points.js.map +1 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js +52 -0
- package/dist/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -0
- package/dist/node_modules/echarts/lib/loading/default.js +93 -0
- package/dist/node_modules/echarts/lib/loading/default.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/Component.js +82 -0
- package/dist/node_modules/echarts/lib/model/Component.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/Global.js +355 -0
- package/dist/node_modules/echarts/lib/model/Global.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/Model.js +65 -0
- package/dist/node_modules/echarts/lib/model/Model.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js +88 -0
- package/dist/node_modules/echarts/lib/model/OptionManager.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/Series.js +232 -0
- package/dist/node_modules/echarts/lib/model/Series.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js +88 -0
- package/dist/node_modules/echarts/lib/model/globalDefault.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js +23 -0
- package/dist/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js +25 -0
- package/dist/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js +72 -0
- package/dist/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js +32 -0
- package/dist/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +19 -0
- package/dist/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js +43 -0
- package/dist/node_modules/echarts/lib/model/mixin/palette.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js +31 -0
- package/dist/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js +61 -0
- package/dist/node_modules/echarts/lib/model/referHelper.js.map +1 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js +81 -0
- package/dist/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +112 -0
- package/dist/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js +23 -0
- package/dist/node_modules/echarts/lib/processor/dataFilter.js.map +1 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js +52 -0
- package/dist/node_modules/echarts/lib/processor/dataSample.js.map +1 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js +51 -0
- package/dist/node_modules/echarts/lib/processor/dataStack.js.map +1 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js +17 -0
- package/dist/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js +8 -0
- package/dist/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js +8 -0
- package/dist/node_modules/echarts/lib/renderer/installSVGRenderer.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js +98 -0
- package/dist/node_modules/echarts/lib/scale/Interval.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/Log.js +69 -0
- package/dist/node_modules/echarts/lib/scale/Log.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js +77 -0
- package/dist/node_modules/echarts/lib/scale/Ordinal.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js +33 -0
- package/dist/node_modules/echarts/lib/scale/Scale.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/Time.js +260 -0
- package/dist/node_modules/echarts/lib/scale/Time.js.map +1 -0
- package/dist/node_modules/echarts/lib/scale/helper.js +48 -0
- package/dist/node_modules/echarts/lib/scale/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/theme/dark.js +181 -0
- package/dist/node_modules/echarts/lib/theme/dark.js.map +1 -0
- package/dist/node_modules/echarts/lib/theme/light.js +9 -0
- package/dist/node_modules/echarts/lib/theme/light.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js +55 -0
- package/dist/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/animation.js +41 -0
- package/dist/node_modules/echarts/lib/util/animation.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/clazz.js +110 -0
- package/dist/node_modules/echarts/lib/util/clazz.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/component.js +80 -0
- package/dist/node_modules/echarts/lib/util/component.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js +147 -0
- package/dist/node_modules/echarts/lib/util/conditionalExpression.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/decal.js +175 -0
- package/dist/node_modules/echarts/lib/util/decal.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/event.js +9 -0
- package/dist/node_modules/echarts/lib/util/event.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/format.js +112 -0
- package/dist/node_modules/echarts/lib/util/format.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/graphic.js +295 -0
- package/dist/node_modules/echarts/lib/util/graphic.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js +15 -0
- package/dist/node_modules/echarts/lib/util/innerStore.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/layout.js +141 -0
- package/dist/node_modules/echarts/lib/util/layout.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/log.js +69 -0
- package/dist/node_modules/echarts/lib/util/log.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/model.js +350 -0
- package/dist/node_modules/echarts/lib/util/model.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/number.js +197 -0
- package/dist/node_modules/echarts/lib/util/number.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js +33 -0
- package/dist/node_modules/echarts/lib/util/shape/sausage.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/states.js +395 -0
- package/dist/node_modules/echarts/lib/util/states.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js +59 -0
- package/dist/node_modules/echarts/lib/util/styleCompat.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/symbol.js +156 -0
- package/dist/node_modules/echarts/lib/util/symbol.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/throttle.js +42 -0
- package/dist/node_modules/echarts/lib/util/throttle.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/time.js +194 -0
- package/dist/node_modules/echarts/lib/util/time.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/types.js +14 -0
- package/dist/node_modules/echarts/lib/util/types.js.map +1 -0
- package/dist/node_modules/echarts/lib/util/vendor.js +9 -0
- package/dist/node_modules/echarts/lib/util/vendor.js.map +1 -0
- package/dist/node_modules/echarts/lib/view/Chart.js +99 -0
- package/dist/node_modules/echarts/lib/view/Chart.js.map +1 -0
- package/dist/node_modules/echarts/lib/view/Component.js +28 -0
- package/dist/node_modules/echarts/lib/view/Component.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js +25 -0
- package/dist/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js +264 -0
- package/dist/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/aria.js +134 -0
- package/dist/node_modules/echarts/lib/visual/aria.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/decal.js +24 -0
- package/dist/node_modules/echarts/lib/visual/decal.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/helper.js +54 -0
- package/dist/node_modules/echarts/lib/visual/helper.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/style.js +96 -0
- package/dist/node_modules/echarts/lib/visual/style.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js +53 -0
- package/dist/node_modules/echarts/lib/visual/symbol.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js +47 -0
- package/dist/node_modules/echarts/lib/visual/visualDefault.js.map +1 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js +98 -0
- package/dist/node_modules/echarts/lib/visual/visualSolution.js.map +1 -0
- package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/jszip/dist/jszip.min.js +2321 -0
- package/dist/node_modules/jszip/dist/jszip.min.js.map +1 -0
- package/dist/node_modules/lodash/lodash.js +3693 -0
- package/dist/node_modules/lodash/lodash.js.map +1 -0
- package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js +2599 -0
- package/dist/node_modules/pptx-preview/dist/pptx-preview.es.js.map +1 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js +8 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/native.js.map +1 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js +10 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/rng.js.map +1 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js +10 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js +14 -0
- package/dist/node_modules/pptx-preview/node_modules/uuid/dist/esm-browser/v4.js.map +1 -0
- package/dist/node_modules/tslib/tslib.es6.js +125 -0
- package/dist/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/node_modules/zrender/lib/Element.js +455 -0
- package/dist/node_modules/zrender/lib/Element.js.map +1 -0
- package/dist/node_modules/zrender/lib/Handler.js +169 -0
- package/dist/node_modules/zrender/lib/Handler.js.map +1 -0
- package/dist/node_modules/zrender/lib/Storage.js +76 -0
- package/dist/node_modules/zrender/lib/Storage.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js +67 -0
- package/dist/node_modules/zrender/lib/animation/Animation.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js +382 -0
- package/dist/node_modules/zrender/lib/animation/Animator.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js +34 -0
- package/dist/node_modules/zrender/lib/animation/Clip.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js +19 -0
- package/dist/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/easing.js +105 -0
- package/dist/node_modules/zrender/lib/animation/easing.js.map +1 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js +9 -0
- package/dist/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js +135 -0
- package/dist/node_modules/zrender/lib/canvas/Layer.js.map +1 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js +309 -0
- package/dist/node_modules/zrender/lib/canvas/Painter.js.map +1 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js +19 -0
- package/dist/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js +198 -0
- package/dist/node_modules/zrender/lib/canvas/graphic.js.map +1 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js +48 -0
- package/dist/node_modules/zrender/lib/canvas/helper.js.map +1 -0
- package/dist/node_modules/zrender/lib/config.js +12 -0
- package/dist/node_modules/zrender/lib/config.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/arc.js +25 -0
- package/dist/node_modules/zrender/lib/contain/arc.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js +14 -0
- package/dist/node_modules/zrender/lib/contain/cubic.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/line.js +17 -0
- package/dist/node_modules/zrender/lib/contain/line.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/path.js +149 -0
- package/dist/node_modules/zrender/lib/contain/path.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js +20 -0
- package/dist/node_modules/zrender/lib/contain/polygon.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js +14 -0
- package/dist/node_modules/zrender/lib/contain/quadratic.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/text.js +97 -0
- package/dist/node_modules/zrender/lib/contain/text.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/util.js +8 -0
- package/dist/node_modules/zrender/lib/contain/util.js.map +1 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js +12 -0
- package/dist/node_modules/zrender/lib/contain/windingLine.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js +65 -0
- package/dist/node_modules/zrender/lib/core/BoundingRect.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js +98 -0
- package/dist/node_modules/zrender/lib/core/Eventful.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js +64 -0
- package/dist/node_modules/zrender/lib/core/GestureMgr.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/LRU.js +53 -0
- package/dist/node_modules/zrender/lib/core/LRU.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js +47 -0
- package/dist/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js +301 -0
- package/dist/node_modules/zrender/lib/core/PathProxy.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/Point.js +73 -0
- package/dist/node_modules/zrender/lib/core/Point.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js +106 -0
- package/dist/node_modules/zrender/lib/core/Transformable.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js +27 -0
- package/dist/node_modules/zrender/lib/core/WeakMap.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/bbox.js +53 -0
- package/dist/node_modules/zrender/lib/core/bbox.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/curve.js +162 -0
- package/dist/node_modules/zrender/lib/core/curve.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/dom.js +68 -0
- package/dist/node_modules/zrender/lib/core/dom.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/env.js +22 -0
- package/dist/node_modules/zrender/lib/core/env.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/event.js +70 -0
- package/dist/node_modules/zrender/lib/core/event.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js +42 -0
- package/dist/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/matrix.js +45 -0
- package/dist/node_modules/zrender/lib/core/matrix.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/platform.js +49 -0
- package/dist/node_modules/zrender/lib/core/platform.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/timsort.js +287 -0
- package/dist/node_modules/zrender/lib/core/timsort.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/util.js +406 -0
- package/dist/node_modules/zrender/lib/core/util.js.map +1 -0
- package/dist/node_modules/zrender/lib/core/vector.js +77 -0
- package/dist/node_modules/zrender/lib/core/vector.js.map +1 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js +189 -0
- package/dist/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js +30 -0
- package/dist/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js +147 -0
- package/dist/node_modules/zrender/lib/graphic/Displayable.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js +15 -0
- package/dist/node_modules/zrender/lib/graphic/Gradient.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js +96 -0
- package/dist/node_modules/zrender/lib/graphic/Group.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js +56 -0
- package/dist/node_modules/zrender/lib/graphic/Image.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +70 -0
- package/dist/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js +217 -0
- package/dist/node_modules/zrender/lib/graphic/Path.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js +14 -0
- package/dist/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js +53 -0
- package/dist/node_modules/zrender/lib/graphic/TSpan.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js +221 -0
- package/dist/node_modules/zrender/lib/graphic/Text.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js +7 -0
- package/dist/node_modules/zrender/lib/graphic/constants.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js +42 -0
- package/dist/node_modules/zrender/lib/graphic/helper/image.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js +212 -0
- package/dist/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js +23 -0
- package/dist/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js +10 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js +80 -0
- package/dist/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js +30 -0
- package/dist/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +29 -0
- package/dist/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js +30 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js +48 -0
- package/dist/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js +24 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js +25 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js +43 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js +25 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js +30 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js +34 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js +25 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js +27 -0
- package/dist/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js +30 -0
- package/dist/node_modules/zrender/lib/mixin/Draggable.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js +153 -0
- package/dist/node_modules/zrender/lib/svg/Painter.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js +53 -0
- package/dist/node_modules/zrender/lib/svg/SVGPathRebuilder.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/core.js +99 -0
- package/dist/node_modules/zrender/lib/svg/core.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js +183 -0
- package/dist/node_modules/zrender/lib/svg/cssAnimation.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js +8 -0
- package/dist/node_modules/zrender/lib/svg/cssClassId.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js +34 -0
- package/dist/node_modules/zrender/lib/svg/cssEmphasis.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js +31 -0
- package/dist/node_modules/zrender/lib/svg/domapi.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js +232 -0
- package/dist/node_modules/zrender/lib/svg/graphic.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/helper.js +113 -0
- package/dist/node_modules/zrender/lib/svg/helper.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js +51 -0
- package/dist/node_modules/zrender/lib/svg/mapStyleToAttrs.js.map +1 -0
- package/dist/node_modules/zrender/lib/svg/patch.js +86 -0
- package/dist/node_modules/zrender/lib/svg/patch.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/color.js +343 -0
- package/dist/node_modules/zrender/lib/tool/color.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js +92 -0
- package/dist/node_modules/zrender/lib/tool/convertPath.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js +182 -0
- package/dist/node_modules/zrender/lib/tool/dividePath.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js +320 -0
- package/dist/node_modules/zrender/lib/tool/morphPath.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js +404 -0
- package/dist/node_modules/zrender/lib/tool/parseSVG.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js +15 -0
- package/dist/node_modules/zrender/lib/tool/parseXML.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/path.js +165 -0
- package/dist/node_modules/zrender/lib/tool/path.js.map +1 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js +39 -0
- package/dist/node_modules/zrender/lib/tool/transformPath.js.map +1 -0
- package/dist/node_modules/zrender/lib/zrender.js +141 -0
- package/dist/node_modules/zrender/lib/zrender.js.map +1 -0
- package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js +34 -0
- package/dist/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -0
- package/dist/provider/MarsunCoreProvider.d.ts +20 -0
- package/dist/provider/context.d.ts +24 -0
- package/dist/provider/index.d.ts +3 -0
- package/dist/styles/global.css +1 -0
- package/dist/theme/constants.d.ts +12 -0
- package/dist/theme/theme.d.ts +11 -0
- package/dist/utils/format.d.ts +2 -0
- package/dist/utils/resolveMaybeFn.d.ts +11 -0
- package/package.json +12 -4
|
@@ -0,0 +1,455 @@
|
|
|
1
|
+
import { __extends as be } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { indexOf as De, each as E, curry as Ce, extend as _e, bind as q, isFunction as le, normalizeCssArray as Me } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import { getECData as de } from "../../util/innerStore.js";
|
|
4
|
+
import { isHighDownDispatcher as he, setAsHighDownDispatcher as X, enableHoverFocus as fe, setDefaultStateProxy as ue, Z2_EMPHASIS_LIFT as j } from "../../util/states.js";
|
|
5
|
+
import Ae from "../../data/DataDiffer.js";
|
|
6
|
+
import { retrieveTargetInfo as Ge, aboveViewRoot as Re } from "../helper/treeHelper.js";
|
|
7
|
+
import He from "./Breadcrumb.js";
|
|
8
|
+
import Ee from "../../component/helper/RoamController.js";
|
|
9
|
+
import ve from "../../../../zrender/lib/core/BoundingRect.js";
|
|
10
|
+
import { translate as pe, scale as ke, create as We } from "../../../../zrender/lib/core/matrix.js";
|
|
11
|
+
import { createWrap as Ne } from "../../util/animation.js";
|
|
12
|
+
import ze from "../../model/mixin/makeStyleMapper.js";
|
|
13
|
+
import Oe from "../../view/Chart.js";
|
|
14
|
+
import Pe from "../../../../zrender/lib/graphic/Displayable.js";
|
|
15
|
+
import { makeInner as Fe, convertOptionIdName as Be } from "../../util/model.js";
|
|
16
|
+
import { windowOpen as Ve } from "../../util/format.js";
|
|
17
|
+
import { setLabelStyle as Ze, getLabelStatesModels as Xe } from "../../label/labelStyle.js";
|
|
18
|
+
import J from "../../../../zrender/lib/graphic/Group.js";
|
|
19
|
+
import Le from "../../../../zrender/lib/graphic/shape/Rect.js";
|
|
20
|
+
var K = J, ce = Le, ge = 3, me = "label", ye = "upperLabel", Ye = j * 10, Ue = j * 2, $e = j * 3, F = ze([
|
|
21
|
+
["fill", "color"],
|
|
22
|
+
// `borderColor` and `borderWidth` has been occupied,
|
|
23
|
+
// so use `stroke` to indicate the stroke of the rect.
|
|
24
|
+
["stroke", "strokeColor"],
|
|
25
|
+
["lineWidth", "strokeWidth"],
|
|
26
|
+
["shadowBlur"],
|
|
27
|
+
["shadowOffsetX"],
|
|
28
|
+
["shadowOffsetY"],
|
|
29
|
+
["shadowColor"]
|
|
30
|
+
// Option decal is in `DecalObject` but style.decal is in `PatternObject`.
|
|
31
|
+
// So do not transfer decal directly.
|
|
32
|
+
]), xe = function(C) {
|
|
33
|
+
var l = F(C);
|
|
34
|
+
return l.stroke = l.fill = l.lineWidth = null, l;
|
|
35
|
+
}, L = Fe(), gt = (
|
|
36
|
+
/** @class */
|
|
37
|
+
(function(C) {
|
|
38
|
+
be(l, C);
|
|
39
|
+
function l() {
|
|
40
|
+
var e = C !== null && C.apply(this, arguments) || this;
|
|
41
|
+
return e.type = l.type, e._state = "ready", e._storage = Z(), e;
|
|
42
|
+
}
|
|
43
|
+
return l.prototype.render = function(e, t, i, o) {
|
|
44
|
+
var r = t.findComponents({
|
|
45
|
+
mainType: "series",
|
|
46
|
+
subType: "treemap",
|
|
47
|
+
query: o
|
|
48
|
+
});
|
|
49
|
+
if (!(De(r, e) < 0)) {
|
|
50
|
+
this.seriesModel = e, this.api = i, this.ecModel = t;
|
|
51
|
+
var u = ["treemapZoomToNode", "treemapRootToNode"], s = Ge(o, u, e), d = o && o.type, n = e.layoutInfo, S = !this._oldTree, m = this._storage, f = d === "treemapRootToNode" && s && m ? {
|
|
52
|
+
rootNodeGroup: m.nodeGroup[s.node.getRawIndex()],
|
|
53
|
+
direction: o.direction
|
|
54
|
+
} : null, T = this._giveContainerGroup(n), v = e.get("animation"), h = this._doRender(T, e, f);
|
|
55
|
+
v && !S && (!d || d === "treemapZoomToNode" || d === "treemapRootToNode") ? this._doAnimation(T, h, e, f) : h.renderFinally(), this._resetController(i), this._renderBreadcrumb(e, i, s);
|
|
56
|
+
}
|
|
57
|
+
}, l.prototype._giveContainerGroup = function(e) {
|
|
58
|
+
var t = this._containerGroup;
|
|
59
|
+
return t || (t = this._containerGroup = new K(), this._initEvents(t), this.group.add(t)), t.x = e.x, t.y = e.y, t;
|
|
60
|
+
}, l.prototype._doRender = function(e, t, i) {
|
|
61
|
+
var o = t.getData().tree, r = this._oldTree, u = Z(), s = Z(), d = this._storage, n = [];
|
|
62
|
+
function S(g, _, P, k) {
|
|
63
|
+
return qe(t, s, d, i, u, n, g, _, P, k);
|
|
64
|
+
}
|
|
65
|
+
v(o.root ? [o.root] : [], r && r.root ? [r.root] : [], e, o === r || !r, 0);
|
|
66
|
+
var m = h(d);
|
|
67
|
+
if (this._oldTree = o, this._storage = s, this._controllerHost) {
|
|
68
|
+
var f = this.seriesModel.layoutInfo, T = o.root.getLayout();
|
|
69
|
+
T.width === f.width && T.height === f.height && (this._controllerHost.zoom = 1);
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
lastsForAnimation: u,
|
|
73
|
+
willDeleteEls: m,
|
|
74
|
+
renderFinally: M
|
|
75
|
+
};
|
|
76
|
+
function v(g, _, P, k, N) {
|
|
77
|
+
k ? (_ = g, E(g, function(H, O) {
|
|
78
|
+
!H.isRemoved() && z(O, O);
|
|
79
|
+
})) : new Ae(_, g, R, R).add(z).update(z).remove(Ce(z, null)).execute();
|
|
80
|
+
function R(H) {
|
|
81
|
+
return H.getId();
|
|
82
|
+
}
|
|
83
|
+
function z(H, O) {
|
|
84
|
+
var y = H != null ? g[H] : null, b = O != null ? _[O] : null, B = S(y, b, P, N);
|
|
85
|
+
B && v(y && y.viewChildren || [], b && b.viewChildren || [], B, k, N + 1);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
function h(g) {
|
|
89
|
+
var _ = Z();
|
|
90
|
+
return g && E(g, function(P, k) {
|
|
91
|
+
var N = _[k];
|
|
92
|
+
E(P, function(R) {
|
|
93
|
+
R && (N.push(R), L(R).willDelete = !0);
|
|
94
|
+
});
|
|
95
|
+
}), _;
|
|
96
|
+
}
|
|
97
|
+
function M() {
|
|
98
|
+
E(m, function(g) {
|
|
99
|
+
E(g, function(_) {
|
|
100
|
+
_.parent && _.parent.remove(_);
|
|
101
|
+
});
|
|
102
|
+
}), E(n, function(g) {
|
|
103
|
+
g.invisible = !0, g.dirty();
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}, l.prototype._doAnimation = function(e, t, i, o) {
|
|
107
|
+
var r = i.get("animationDurationUpdate"), u = i.get("animationEasing"), s = (le(r) ? 0 : r) || 0, d = (le(u) ? null : u) || "cubicOut", n = Ne();
|
|
108
|
+
E(t.willDeleteEls, function(S, m) {
|
|
109
|
+
E(S, function(f, T) {
|
|
110
|
+
if (!f.invisible) {
|
|
111
|
+
var v = f.parent, h, M = L(v);
|
|
112
|
+
if (o && o.direction === "drillDown")
|
|
113
|
+
h = v === o.rootNodeGroup ? {
|
|
114
|
+
shape: {
|
|
115
|
+
x: 0,
|
|
116
|
+
y: 0,
|
|
117
|
+
width: M.nodeWidth,
|
|
118
|
+
height: M.nodeHeight
|
|
119
|
+
},
|
|
120
|
+
style: {
|
|
121
|
+
opacity: 0
|
|
122
|
+
}
|
|
123
|
+
} : {
|
|
124
|
+
style: {
|
|
125
|
+
opacity: 0
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
else {
|
|
129
|
+
var g = 0, _ = 0;
|
|
130
|
+
M.willDelete || (g = M.nodeWidth / 2, _ = M.nodeHeight / 2), h = m === "nodeGroup" ? {
|
|
131
|
+
x: g,
|
|
132
|
+
y: _,
|
|
133
|
+
style: {
|
|
134
|
+
opacity: 0
|
|
135
|
+
}
|
|
136
|
+
} : {
|
|
137
|
+
shape: {
|
|
138
|
+
x: g,
|
|
139
|
+
y: _,
|
|
140
|
+
width: 0,
|
|
141
|
+
height: 0
|
|
142
|
+
},
|
|
143
|
+
style: {
|
|
144
|
+
opacity: 0
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
h && n.add(f, h, s, 0, d);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
}), E(this._storage, function(S, m) {
|
|
152
|
+
E(S, function(f, T) {
|
|
153
|
+
var v = t.lastsForAnimation[m][T], h = {};
|
|
154
|
+
v && (f instanceof J ? v.oldX != null && (h.x = f.x, h.y = f.y, f.x = v.oldX, f.y = v.oldY) : (v.oldShape && (h.shape = _e({}, f.shape), f.setShape(v.oldShape)), v.fadein ? (f.setStyle("opacity", 0), h.style = {
|
|
155
|
+
opacity: 1
|
|
156
|
+
}) : f.style.opacity !== 1 && (h.style = {
|
|
157
|
+
opacity: 1
|
|
158
|
+
})), n.add(f, h, s, 0, d));
|
|
159
|
+
});
|
|
160
|
+
}, this), this._state = "animating", n.finished(q(function() {
|
|
161
|
+
this._state = "ready", t.renderFinally();
|
|
162
|
+
}, this)).start();
|
|
163
|
+
}, l.prototype._resetController = function(e) {
|
|
164
|
+
var t = this._controller, i = this._controllerHost;
|
|
165
|
+
i || (this._controllerHost = {
|
|
166
|
+
target: this.group
|
|
167
|
+
}, i = this._controllerHost), t || (t = this._controller = new Ee(e.getZr()), t.enable(this.seriesModel.get("roam")), i.zoomLimit = this.seriesModel.get("scaleLimit"), i.zoom = this.seriesModel.get("zoom"), t.on("pan", q(this._onPan, this)), t.on("zoom", q(this._onZoom, this)));
|
|
168
|
+
var o = new ve(0, 0, e.getWidth(), e.getHeight());
|
|
169
|
+
t.setPointerChecker(function(r, u, s) {
|
|
170
|
+
return o.contain(u, s);
|
|
171
|
+
});
|
|
172
|
+
}, l.prototype._clearController = function() {
|
|
173
|
+
var e = this._controller;
|
|
174
|
+
this._controllerHost = null, e && (e.dispose(), e = null);
|
|
175
|
+
}, l.prototype._onPan = function(e) {
|
|
176
|
+
if (this._state !== "animating" && (Math.abs(e.dx) > ge || Math.abs(e.dy) > ge)) {
|
|
177
|
+
var t = this.seriesModel.getData().tree.root;
|
|
178
|
+
if (!t)
|
|
179
|
+
return;
|
|
180
|
+
var i = t.getLayout();
|
|
181
|
+
if (!i)
|
|
182
|
+
return;
|
|
183
|
+
this.api.dispatchAction({
|
|
184
|
+
type: "treemapMove",
|
|
185
|
+
from: this.uid,
|
|
186
|
+
seriesId: this.seriesModel.id,
|
|
187
|
+
rootRect: {
|
|
188
|
+
x: i.x + e.dx,
|
|
189
|
+
y: i.y + e.dy,
|
|
190
|
+
width: i.width,
|
|
191
|
+
height: i.height
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}, l.prototype._onZoom = function(e) {
|
|
196
|
+
var t = e.originX, i = e.originY, o = e.scale;
|
|
197
|
+
if (this._state !== "animating") {
|
|
198
|
+
var r = this.seriesModel.getData().tree.root;
|
|
199
|
+
if (!r)
|
|
200
|
+
return;
|
|
201
|
+
var u = r.getLayout();
|
|
202
|
+
if (!u)
|
|
203
|
+
return;
|
|
204
|
+
var s = new ve(u.x, u.y, u.width, u.height), d = null, n = this._controllerHost;
|
|
205
|
+
d = n.zoomLimit;
|
|
206
|
+
var S = n.zoom = n.zoom || 1;
|
|
207
|
+
if (S *= o, d) {
|
|
208
|
+
var m = d.min || 0, f = d.max || 1 / 0;
|
|
209
|
+
S = Math.max(Math.min(f, S), m);
|
|
210
|
+
}
|
|
211
|
+
var T = S / n.zoom;
|
|
212
|
+
n.zoom = S;
|
|
213
|
+
var v = this.seriesModel.layoutInfo;
|
|
214
|
+
t -= v.x, i -= v.y;
|
|
215
|
+
var h = We();
|
|
216
|
+
pe(h, h, [-t, -i]), ke(h, h, [T, T]), pe(h, h, [t, i]), s.applyTransform(h), this.api.dispatchAction({
|
|
217
|
+
type: "treemapRender",
|
|
218
|
+
from: this.uid,
|
|
219
|
+
seriesId: this.seriesModel.id,
|
|
220
|
+
rootRect: {
|
|
221
|
+
x: s.x,
|
|
222
|
+
y: s.y,
|
|
223
|
+
width: s.width,
|
|
224
|
+
height: s.height
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
}
|
|
228
|
+
}, l.prototype._initEvents = function(e) {
|
|
229
|
+
var t = this;
|
|
230
|
+
e.on("click", function(i) {
|
|
231
|
+
if (t._state === "ready") {
|
|
232
|
+
var o = t.seriesModel.get("nodeClick", !0);
|
|
233
|
+
if (o) {
|
|
234
|
+
var r = t.findTarget(i.offsetX, i.offsetY);
|
|
235
|
+
if (r) {
|
|
236
|
+
var u = r.node;
|
|
237
|
+
if (u.getLayout().isLeafRoot)
|
|
238
|
+
t._rootToNode(r);
|
|
239
|
+
else if (o === "zoomToNode")
|
|
240
|
+
t._zoomToNode(r);
|
|
241
|
+
else if (o === "link") {
|
|
242
|
+
var s = u.hostTree.data.getItemModel(u.dataIndex), d = s.get("link", !0), n = s.get("target", !0) || "blank";
|
|
243
|
+
d && Ve(d, n);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}, this);
|
|
249
|
+
}, l.prototype._renderBreadcrumb = function(e, t, i) {
|
|
250
|
+
var o = this;
|
|
251
|
+
i || (i = e.get("leafDepth", !0) != null ? {
|
|
252
|
+
node: e.getViewRoot()
|
|
253
|
+
} : this.findTarget(t.getWidth() / 2, t.getHeight() / 2), i || (i = {
|
|
254
|
+
node: e.getData().tree.root
|
|
255
|
+
})), (this._breadcrumb || (this._breadcrumb = new He(this.group))).render(e, t, i.node, function(r) {
|
|
256
|
+
o._state !== "animating" && (Re(e.getViewRoot(), r) ? o._rootToNode({
|
|
257
|
+
node: r
|
|
258
|
+
}) : o._zoomToNode({
|
|
259
|
+
node: r
|
|
260
|
+
}));
|
|
261
|
+
});
|
|
262
|
+
}, l.prototype.remove = function() {
|
|
263
|
+
this._clearController(), this._containerGroup && this._containerGroup.removeAll(), this._storage = Z(), this._state = "ready", this._breadcrumb && this._breadcrumb.remove();
|
|
264
|
+
}, l.prototype.dispose = function() {
|
|
265
|
+
this._clearController();
|
|
266
|
+
}, l.prototype._zoomToNode = function(e) {
|
|
267
|
+
this.api.dispatchAction({
|
|
268
|
+
type: "treemapZoomToNode",
|
|
269
|
+
from: this.uid,
|
|
270
|
+
seriesId: this.seriesModel.id,
|
|
271
|
+
targetNode: e.node
|
|
272
|
+
});
|
|
273
|
+
}, l.prototype._rootToNode = function(e) {
|
|
274
|
+
this.api.dispatchAction({
|
|
275
|
+
type: "treemapRootToNode",
|
|
276
|
+
from: this.uid,
|
|
277
|
+
seriesId: this.seriesModel.id,
|
|
278
|
+
targetNode: e.node
|
|
279
|
+
});
|
|
280
|
+
}, l.prototype.findTarget = function(e, t) {
|
|
281
|
+
var i, o = this.seriesModel.getViewRoot();
|
|
282
|
+
return o.eachNode({
|
|
283
|
+
attr: "viewChildren",
|
|
284
|
+
order: "preorder"
|
|
285
|
+
}, function(r) {
|
|
286
|
+
var u = this._storage.background[r.getRawIndex()];
|
|
287
|
+
if (u) {
|
|
288
|
+
var s = u.transformCoordToLocal(e, t), d = u.shape;
|
|
289
|
+
if (d.x <= s[0] && s[0] <= d.x + d.width && d.y <= s[1] && s[1] <= d.y + d.height)
|
|
290
|
+
i = {
|
|
291
|
+
node: r,
|
|
292
|
+
offsetX: s[0],
|
|
293
|
+
offsetY: s[1]
|
|
294
|
+
};
|
|
295
|
+
else
|
|
296
|
+
return !1;
|
|
297
|
+
}
|
|
298
|
+
}, this), i;
|
|
299
|
+
}, l.type = "treemap", l;
|
|
300
|
+
})(Oe)
|
|
301
|
+
);
|
|
302
|
+
function Z() {
|
|
303
|
+
return {
|
|
304
|
+
nodeGroup: [],
|
|
305
|
+
background: [],
|
|
306
|
+
content: []
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
function qe(C, l, e, t, i, o, r, u, s, d) {
|
|
310
|
+
if (!r)
|
|
311
|
+
return;
|
|
312
|
+
var n = r.getLayout(), S = C.getData(), m = r.getModel();
|
|
313
|
+
if (S.setItemGraphicEl(r.dataIndex, null), !n || !n.isInView)
|
|
314
|
+
return;
|
|
315
|
+
var f = n.width, T = n.height, v = n.borderWidth, h = n.invisible, M = r.getRawIndex(), g = u && u.getRawIndex(), _ = r.viewChildren, P = n.upperHeight, k = _ && _.length, N = m.getModel("itemStyle"), R = m.getModel(["emphasis", "itemStyle"]), z = m.getModel(["blur", "itemStyle"]), H = m.getModel(["select", "itemStyle"]), O = N.get("borderRadius") || 0, y = $("nodeGroup", K);
|
|
316
|
+
if (!y)
|
|
317
|
+
return;
|
|
318
|
+
if (s.add(y), y.x = n.x || 0, y.y = n.y || 0, y.markRedraw(), L(y).nodeWidth = f, L(y).nodeHeight = T, n.isAboveViewRoot)
|
|
319
|
+
return y;
|
|
320
|
+
var b = $("background", ce, d, Ue);
|
|
321
|
+
b && we(y, b, k && n.upperLabelHeight);
|
|
322
|
+
var B = m.getModel("emphasis"), Y = B.get("focus"), Q = B.get("blurScope"), ee = B.get("disabled"), te = Y === "ancestor" ? r.getAncestorsIndices() : Y === "descendant" ? r.getDescendantIndices() : Y;
|
|
323
|
+
if (k)
|
|
324
|
+
he(y) && X(y, !1), b && (X(b, !ee), S.setItemGraphicEl(r.dataIndex, b), fe(b, te, Q));
|
|
325
|
+
else {
|
|
326
|
+
var U = $("content", ce, d, $e);
|
|
327
|
+
U && Ie(y, U), b.disableMorphing = !0, b && he(b) && X(b, !1), X(y, !ee), S.setItemGraphicEl(r.dataIndex, y);
|
|
328
|
+
var re = m.getShallow("cursor");
|
|
329
|
+
re && U.attr("cursor", re), fe(y, te, Q);
|
|
330
|
+
}
|
|
331
|
+
return y;
|
|
332
|
+
function we(p, a, w) {
|
|
333
|
+
var c = de(a);
|
|
334
|
+
if (c.dataIndex = r.dataIndex, c.seriesIndex = C.seriesIndex, a.setShape({
|
|
335
|
+
x: 0,
|
|
336
|
+
y: 0,
|
|
337
|
+
width: f,
|
|
338
|
+
height: T,
|
|
339
|
+
r: O
|
|
340
|
+
}), h)
|
|
341
|
+
ie(a);
|
|
342
|
+
else {
|
|
343
|
+
a.invisible = !1;
|
|
344
|
+
var x = r.getVisual("style"), D = x.stroke, A = xe(N);
|
|
345
|
+
A.fill = D;
|
|
346
|
+
var I = F(R);
|
|
347
|
+
I.fill = R.get("borderColor");
|
|
348
|
+
var G = F(z);
|
|
349
|
+
G.fill = z.get("borderColor");
|
|
350
|
+
var W = F(H);
|
|
351
|
+
if (W.fill = H.get("borderColor"), w) {
|
|
352
|
+
var V = f - 2 * v;
|
|
353
|
+
ae(
|
|
354
|
+
// PENDING: convert ZRColor to ColorString for text.
|
|
355
|
+
a,
|
|
356
|
+
D,
|
|
357
|
+
x.opacity,
|
|
358
|
+
{
|
|
359
|
+
x: v,
|
|
360
|
+
y: 0,
|
|
361
|
+
width: V,
|
|
362
|
+
height: P
|
|
363
|
+
}
|
|
364
|
+
);
|
|
365
|
+
} else
|
|
366
|
+
a.removeTextContent();
|
|
367
|
+
a.setStyle(A), a.ensureState("emphasis").style = I, a.ensureState("blur").style = G, a.ensureState("select").style = W, ue(a);
|
|
368
|
+
}
|
|
369
|
+
p.add(a);
|
|
370
|
+
}
|
|
371
|
+
function Ie(p, a) {
|
|
372
|
+
var w = de(a);
|
|
373
|
+
w.dataIndex = r.dataIndex, w.seriesIndex = C.seriesIndex;
|
|
374
|
+
var c = Math.max(f - 2 * v, 0), x = Math.max(T - 2 * v, 0);
|
|
375
|
+
if (a.culling = !0, a.setShape({
|
|
376
|
+
x: v,
|
|
377
|
+
y: v,
|
|
378
|
+
width: c,
|
|
379
|
+
height: x,
|
|
380
|
+
r: O
|
|
381
|
+
}), h)
|
|
382
|
+
ie(a);
|
|
383
|
+
else {
|
|
384
|
+
a.invisible = !1;
|
|
385
|
+
var D = r.getVisual("style"), A = D.fill, I = xe(N);
|
|
386
|
+
I.fill = A, I.decal = D.decal;
|
|
387
|
+
var G = F(R), W = F(z), V = F(H);
|
|
388
|
+
ae(a, A, D.opacity, null), a.setStyle(I), a.ensureState("emphasis").style = G, a.ensureState("blur").style = W, a.ensureState("select").style = V, ue(a);
|
|
389
|
+
}
|
|
390
|
+
p.add(a);
|
|
391
|
+
}
|
|
392
|
+
function ie(p) {
|
|
393
|
+
!p.invisible && o.push(p);
|
|
394
|
+
}
|
|
395
|
+
function ae(p, a, w, c) {
|
|
396
|
+
var x = m.getModel(c ? ye : me), D = Be(m.get("name"), null), A = x.getShallow("show");
|
|
397
|
+
Ze(p, Xe(m, c ? ye : me), {
|
|
398
|
+
defaultText: A ? D : null,
|
|
399
|
+
inheritColor: a,
|
|
400
|
+
defaultOpacity: w,
|
|
401
|
+
labelFetcher: C,
|
|
402
|
+
labelDataIndex: r.dataIndex
|
|
403
|
+
});
|
|
404
|
+
var I = p.getTextContent();
|
|
405
|
+
if (I) {
|
|
406
|
+
var G = I.style, W = Me(G.padding || 0);
|
|
407
|
+
c && (p.setTextConfig({
|
|
408
|
+
layoutRect: c
|
|
409
|
+
}), I.disableLabelLayout = !0), I.beforeUpdate = function() {
|
|
410
|
+
var ne = Math.max((c ? c.width : p.shape.width) - W[1] - W[3], 0), se = Math.max((c ? c.height : p.shape.height) - W[0] - W[2], 0);
|
|
411
|
+
(G.width !== ne || G.height !== se) && I.setStyle({
|
|
412
|
+
width: ne,
|
|
413
|
+
height: se
|
|
414
|
+
});
|
|
415
|
+
}, G.truncateMinChar = 2, G.lineOverflow = "truncate", oe(G, c, n);
|
|
416
|
+
var V = I.getState("emphasis");
|
|
417
|
+
oe(V ? V.style : null, c, n);
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
function oe(p, a, w) {
|
|
421
|
+
var c = p ? p.text : null;
|
|
422
|
+
if (!a && w.isLeafRoot && c != null) {
|
|
423
|
+
var x = C.get("drillDownIcon", !0);
|
|
424
|
+
p.text = x ? x + " " + c : c;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
function $(p, a, w, c) {
|
|
428
|
+
var x = g != null && e[p][g], D = i[p];
|
|
429
|
+
return x ? (e[p][g] = null, Se(D, x)) : h || (x = new a(), x instanceof Pe && (x.z2 = Ke(w, c)), Te(D, x)), l[p][M] = x;
|
|
430
|
+
}
|
|
431
|
+
function Se(p, a) {
|
|
432
|
+
var w = p[M] = {};
|
|
433
|
+
a instanceof K ? (w.oldX = a.x, w.oldY = a.y) : w.oldShape = _e({}, a.shape);
|
|
434
|
+
}
|
|
435
|
+
function Te(p, a) {
|
|
436
|
+
var w = p[M] = {}, c = r.parentNode, x = a instanceof J;
|
|
437
|
+
if (c && (!t || t.direction === "drillDown")) {
|
|
438
|
+
var D = 0, A = 0, I = i.background[c.getRawIndex()];
|
|
439
|
+
!t && I && I.oldShape && (D = I.oldShape.width, A = I.oldShape.height), x ? (w.oldX = 0, w.oldY = A) : w.oldShape = {
|
|
440
|
+
x: D,
|
|
441
|
+
y: A,
|
|
442
|
+
width: 0,
|
|
443
|
+
height: 0
|
|
444
|
+
};
|
|
445
|
+
}
|
|
446
|
+
w.fadein = !x;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
function Ke(C, l) {
|
|
450
|
+
return C * Ye + l;
|
|
451
|
+
}
|
|
452
|
+
export {
|
|
453
|
+
gt as default
|
|
454
|
+
};
|
|
455
|
+
//# sourceMappingURL=TreemapView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TreemapView.js","sources":["../../../../../../node_modules/echarts/lib/chart/treemap/TreemapView.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { __extends } from \"tslib\";\nimport { bind, each, indexOf, curry, extend, normalizeCssArray, isFunction } from 'zrender/lib/core/util.js';\nimport * as graphic from '../../util/graphic.js';\nimport { getECData } from '../../util/innerStore.js';\nimport { isHighDownDispatcher, setAsHighDownDispatcher, setDefaultStateProxy, enableHoverFocus, Z2_EMPHASIS_LIFT } from '../../util/states.js';\nimport DataDiffer from '../../data/DataDiffer.js';\nimport * as helper from '../helper/treeHelper.js';\nimport Breadcrumb from './Breadcrumb.js';\nimport RoamController from '../../component/helper/RoamController.js';\nimport BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport * as animationUtil from '../../util/animation.js';\nimport makeStyleMapper from '../../model/mixin/makeStyleMapper.js';\nimport ChartView from '../../view/Chart.js';\nimport Displayable from 'zrender/lib/graphic/Displayable.js';\nimport { makeInner, convertOptionIdName } from '../../util/model.js';\nimport { windowOpen } from '../../util/format.js';\nimport { setLabelStyle, getLabelStatesModels } from '../../label/labelStyle.js';\nvar Group = graphic.Group;\nvar Rect = graphic.Rect;\nvar DRAG_THRESHOLD = 3;\nvar PATH_LABEL_NOAMAL = 'label';\nvar PATH_UPPERLABEL_NORMAL = 'upperLabel';\n// Should larger than emphasis states lift z\nvar Z2_BASE = Z2_EMPHASIS_LIFT * 10; // Should bigger than every z2.\nvar Z2_BG = Z2_EMPHASIS_LIFT * 2;\nvar Z2_CONTENT = Z2_EMPHASIS_LIFT * 3;\nvar getStateItemStyle = makeStyleMapper([['fill', 'color'],\n// `borderColor` and `borderWidth` has been occupied,\n// so use `stroke` to indicate the stroke of the rect.\n['stroke', 'strokeColor'], ['lineWidth', 'strokeWidth'], ['shadowBlur'], ['shadowOffsetX'], ['shadowOffsetY'], ['shadowColor']\n// Option decal is in `DecalObject` but style.decal is in `PatternObject`.\n// So do not transfer decal directly.\n]);\nvar getItemStyleNormal = function (model) {\n // Normal style props should include emphasis style props.\n var itemStyle = getStateItemStyle(model);\n // Clear styles set by emphasis.\n itemStyle.stroke = itemStyle.fill = itemStyle.lineWidth = null;\n return itemStyle;\n};\nvar inner = makeInner();\nvar TreemapView = /** @class */function (_super) {\n __extends(TreemapView, _super);\n function TreemapView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = TreemapView.type;\n _this._state = 'ready';\n _this._storage = createStorage();\n return _this;\n }\n /**\r\n * @override\r\n */\n TreemapView.prototype.render = function (seriesModel, ecModel, api, payload) {\n var models = ecModel.findComponents({\n mainType: 'series',\n subType: 'treemap',\n query: payload\n });\n if (indexOf(models, seriesModel) < 0) {\n return;\n }\n this.seriesModel = seriesModel;\n this.api = api;\n this.ecModel = ecModel;\n var types = ['treemapZoomToNode', 'treemapRootToNode'];\n var targetInfo = helper.retrieveTargetInfo(payload, types, seriesModel);\n var payloadType = payload && payload.type;\n var layoutInfo = seriesModel.layoutInfo;\n var isInit = !this._oldTree;\n var thisStorage = this._storage;\n // Mark new root when action is treemapRootToNode.\n var reRoot = payloadType === 'treemapRootToNode' && targetInfo && thisStorage ? {\n rootNodeGroup: thisStorage.nodeGroup[targetInfo.node.getRawIndex()],\n direction: payload.direction\n } : null;\n var containerGroup = this._giveContainerGroup(layoutInfo);\n var hasAnimation = seriesModel.get('animation');\n var renderResult = this._doRender(containerGroup, seriesModel, reRoot);\n hasAnimation && !isInit && (!payloadType || payloadType === 'treemapZoomToNode' || payloadType === 'treemapRootToNode') ? this._doAnimation(containerGroup, renderResult, seriesModel, reRoot) : renderResult.renderFinally();\n this._resetController(api);\n this._renderBreadcrumb(seriesModel, api, targetInfo);\n };\n TreemapView.prototype._giveContainerGroup = function (layoutInfo) {\n var containerGroup = this._containerGroup;\n if (!containerGroup) {\n // FIXME\n // 加一层containerGroup是为了clip,但是现在clip功能并没有实现。\n containerGroup = this._containerGroup = new Group();\n this._initEvents(containerGroup);\n this.group.add(containerGroup);\n }\n containerGroup.x = layoutInfo.x;\n containerGroup.y = layoutInfo.y;\n return containerGroup;\n };\n TreemapView.prototype._doRender = function (containerGroup, seriesModel, reRoot) {\n var thisTree = seriesModel.getData().tree;\n var oldTree = this._oldTree;\n // Clear last shape records.\n var lastsForAnimation = createStorage();\n var thisStorage = createStorage();\n var oldStorage = this._storage;\n var willInvisibleEls = [];\n function doRenderNode(thisNode, oldNode, parentGroup, depth) {\n return renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth);\n }\n // Notice: When thisTree and oldTree are the same tree (see list.cloneShallow),\n // the oldTree is actually losted, so we cannot find all of the old graphic\n // elements from tree. So we use this strategy: make element storage, move\n // from old storage to new storage, clear old storage.\n dualTravel(thisTree.root ? [thisTree.root] : [], oldTree && oldTree.root ? [oldTree.root] : [], containerGroup, thisTree === oldTree || !oldTree, 0);\n // Process all removing.\n var willDeleteEls = clearStorage(oldStorage);\n this._oldTree = thisTree;\n this._storage = thisStorage;\n if (this._controllerHost) {\n var _oldRootLayout = this.seriesModel.layoutInfo;\n var rootLayout = thisTree.root.getLayout();\n if (rootLayout.width === _oldRootLayout.width && rootLayout.height === _oldRootLayout.height) {\n this._controllerHost.zoom = 1;\n }\n }\n return {\n lastsForAnimation: lastsForAnimation,\n willDeleteEls: willDeleteEls,\n renderFinally: renderFinally\n };\n function dualTravel(thisViewChildren, oldViewChildren, parentGroup, sameTree, depth) {\n // When 'render' is triggered by action,\n // 'this' and 'old' may be the same tree,\n // we use rawIndex in that case.\n if (sameTree) {\n oldViewChildren = thisViewChildren;\n each(thisViewChildren, function (child, index) {\n !child.isRemoved() && processNode(index, index);\n });\n }\n // Diff hierarchically (diff only in each subtree, but not whole).\n // because, consistency of view is important.\n else {\n new DataDiffer(oldViewChildren, thisViewChildren, getKey, getKey).add(processNode).update(processNode).remove(curry(processNode, null)).execute();\n }\n function getKey(node) {\n // Identify by name or raw index.\n return node.getId();\n }\n function processNode(newIndex, oldIndex) {\n var thisNode = newIndex != null ? thisViewChildren[newIndex] : null;\n var oldNode = oldIndex != null ? oldViewChildren[oldIndex] : null;\n var group = doRenderNode(thisNode, oldNode, parentGroup, depth);\n group && dualTravel(thisNode && thisNode.viewChildren || [], oldNode && oldNode.viewChildren || [], group, sameTree, depth + 1);\n }\n }\n function clearStorage(storage) {\n var willDeleteEls = createStorage();\n storage && each(storage, function (store, storageName) {\n var delEls = willDeleteEls[storageName];\n each(store, function (el) {\n el && (delEls.push(el), inner(el).willDelete = true);\n });\n });\n return willDeleteEls;\n }\n function renderFinally() {\n each(willDeleteEls, function (els) {\n each(els, function (el) {\n el.parent && el.parent.remove(el);\n });\n });\n each(willInvisibleEls, function (el) {\n el.invisible = true;\n // Setting invisible is for optimizing, so no need to set dirty,\n // just mark as invisible.\n el.dirty();\n });\n }\n };\n TreemapView.prototype._doAnimation = function (containerGroup, renderResult, seriesModel, reRoot) {\n var durationOption = seriesModel.get('animationDurationUpdate');\n var easingOption = seriesModel.get('animationEasing');\n // TODO: do not support function until necessary.\n var duration = (isFunction(durationOption) ? 0 : durationOption) || 0;\n var easing = (isFunction(easingOption) ? null : easingOption) || 'cubicOut';\n var animationWrap = animationUtil.createWrap();\n // Make delete animations.\n each(renderResult.willDeleteEls, function (store, storageName) {\n each(store, function (el, rawIndex) {\n if (el.invisible) {\n return;\n }\n var parent = el.parent; // Always has parent, and parent is nodeGroup.\n var target;\n var innerStore = inner(parent);\n if (reRoot && reRoot.direction === 'drillDown') {\n target = parent === reRoot.rootNodeGroup\n // This is the content element of view root.\n // Only `content` will enter this branch, because\n // `background` and `nodeGroup` will not be deleted.\n ? {\n shape: {\n x: 0,\n y: 0,\n width: innerStore.nodeWidth,\n height: innerStore.nodeHeight\n },\n style: {\n opacity: 0\n }\n }\n // Others.\n : {\n style: {\n opacity: 0\n }\n };\n } else {\n var targetX = 0;\n var targetY = 0;\n if (!innerStore.willDelete) {\n // Let node animate to right-bottom corner, cooperating with fadeout,\n // which is appropriate for user understanding.\n // Divided by 2 for reRoot rolling up effect.\n targetX = innerStore.nodeWidth / 2;\n targetY = innerStore.nodeHeight / 2;\n }\n target = storageName === 'nodeGroup' ? {\n x: targetX,\n y: targetY,\n style: {\n opacity: 0\n }\n } : {\n shape: {\n x: targetX,\n y: targetY,\n width: 0,\n height: 0\n },\n style: {\n opacity: 0\n }\n };\n }\n // TODO: do not support delay until necessary.\n target && animationWrap.add(el, target, duration, 0, easing);\n });\n });\n // Make other animations\n each(this._storage, function (store, storageName) {\n each(store, function (el, rawIndex) {\n var last = renderResult.lastsForAnimation[storageName][rawIndex];\n var target = {};\n if (!last) {\n return;\n }\n if (el instanceof graphic.Group) {\n if (last.oldX != null) {\n target.x = el.x;\n target.y = el.y;\n el.x = last.oldX;\n el.y = last.oldY;\n }\n } else {\n if (last.oldShape) {\n target.shape = extend({}, el.shape);\n el.setShape(last.oldShape);\n }\n if (last.fadein) {\n el.setStyle('opacity', 0);\n target.style = {\n opacity: 1\n };\n }\n // When animation is stopped for succedent animation starting,\n // el.style.opacity might not be 1\n else if (el.style.opacity !== 1) {\n target.style = {\n opacity: 1\n };\n }\n }\n animationWrap.add(el, target, duration, 0, easing);\n });\n }, this);\n this._state = 'animating';\n animationWrap.finished(bind(function () {\n this._state = 'ready';\n renderResult.renderFinally();\n }, this)).start();\n };\n TreemapView.prototype._resetController = function (api) {\n var controller = this._controller;\n var controllerHost = this._controllerHost;\n if (!controllerHost) {\n this._controllerHost = {\n target: this.group\n };\n controllerHost = this._controllerHost;\n }\n // Init controller.\n if (!controller) {\n controller = this._controller = new RoamController(api.getZr());\n controller.enable(this.seriesModel.get('roam'));\n controllerHost.zoomLimit = this.seriesModel.get('scaleLimit');\n controllerHost.zoom = this.seriesModel.get('zoom');\n controller.on('pan', bind(this._onPan, this));\n controller.on('zoom', bind(this._onZoom, this));\n }\n var rect = new BoundingRect(0, 0, api.getWidth(), api.getHeight());\n controller.setPointerChecker(function (e, x, y) {\n return rect.contain(x, y);\n });\n };\n TreemapView.prototype._clearController = function () {\n var controller = this._controller;\n this._controllerHost = null;\n if (controller) {\n controller.dispose();\n controller = null;\n }\n };\n TreemapView.prototype._onPan = function (e) {\n if (this._state !== 'animating' && (Math.abs(e.dx) > DRAG_THRESHOLD || Math.abs(e.dy) > DRAG_THRESHOLD)) {\n // These param must not be cached.\n var root = this.seriesModel.getData().tree.root;\n if (!root) {\n return;\n }\n var rootLayout = root.getLayout();\n if (!rootLayout) {\n return;\n }\n this.api.dispatchAction({\n type: 'treemapMove',\n from: this.uid,\n seriesId: this.seriesModel.id,\n rootRect: {\n x: rootLayout.x + e.dx,\n y: rootLayout.y + e.dy,\n width: rootLayout.width,\n height: rootLayout.height\n }\n });\n }\n };\n TreemapView.prototype._onZoom = function (e) {\n var mouseX = e.originX;\n var mouseY = e.originY;\n var zoomDelta = e.scale;\n if (this._state !== 'animating') {\n // These param must not be cached.\n var root = this.seriesModel.getData().tree.root;\n if (!root) {\n return;\n }\n var rootLayout = root.getLayout();\n if (!rootLayout) {\n return;\n }\n var rect = new BoundingRect(rootLayout.x, rootLayout.y, rootLayout.width, rootLayout.height);\n // scaleLimit\n var zoomLimit = null;\n var _controllerHost = this._controllerHost;\n zoomLimit = _controllerHost.zoomLimit;\n var newZoom = _controllerHost.zoom = _controllerHost.zoom || 1;\n newZoom *= zoomDelta;\n if (zoomLimit) {\n var zoomMin = zoomLimit.min || 0;\n var zoomMax = zoomLimit.max || Infinity;\n newZoom = Math.max(Math.min(zoomMax, newZoom), zoomMin);\n }\n var zoomScale = newZoom / _controllerHost.zoom;\n _controllerHost.zoom = newZoom;\n var layoutInfo = this.seriesModel.layoutInfo;\n // Transform mouse coord from global to containerGroup.\n mouseX -= layoutInfo.x;\n mouseY -= layoutInfo.y;\n // Scale root bounding rect.\n var m = matrix.create();\n matrix.translate(m, m, [-mouseX, -mouseY]);\n matrix.scale(m, m, [zoomScale, zoomScale]);\n matrix.translate(m, m, [mouseX, mouseY]);\n rect.applyTransform(m);\n this.api.dispatchAction({\n type: 'treemapRender',\n from: this.uid,\n seriesId: this.seriesModel.id,\n rootRect: {\n x: rect.x,\n y: rect.y,\n width: rect.width,\n height: rect.height\n }\n });\n }\n };\n TreemapView.prototype._initEvents = function (containerGroup) {\n var _this = this;\n containerGroup.on('click', function (e) {\n if (_this._state !== 'ready') {\n return;\n }\n var nodeClick = _this.seriesModel.get('nodeClick', true);\n if (!nodeClick) {\n return;\n }\n var targetInfo = _this.findTarget(e.offsetX, e.offsetY);\n if (!targetInfo) {\n return;\n }\n var node = targetInfo.node;\n if (node.getLayout().isLeafRoot) {\n _this._rootToNode(targetInfo);\n } else {\n if (nodeClick === 'zoomToNode') {\n _this._zoomToNode(targetInfo);\n } else if (nodeClick === 'link') {\n var itemModel = node.hostTree.data.getItemModel(node.dataIndex);\n var link = itemModel.get('link', true);\n var linkTarget = itemModel.get('target', true) || 'blank';\n link && windowOpen(link, linkTarget);\n }\n }\n }, this);\n };\n TreemapView.prototype._renderBreadcrumb = function (seriesModel, api, targetInfo) {\n var _this = this;\n if (!targetInfo) {\n targetInfo = seriesModel.get('leafDepth', true) != null ? {\n node: seriesModel.getViewRoot()\n }\n // FIXME\n // better way?\n // Find breadcrumb tail on center of containerGroup.\n : this.findTarget(api.getWidth() / 2, api.getHeight() / 2);\n if (!targetInfo) {\n targetInfo = {\n node: seriesModel.getData().tree.root\n };\n }\n }\n (this._breadcrumb || (this._breadcrumb = new Breadcrumb(this.group))).render(seriesModel, api, targetInfo.node, function (node) {\n if (_this._state !== 'animating') {\n helper.aboveViewRoot(seriesModel.getViewRoot(), node) ? _this._rootToNode({\n node: node\n }) : _this._zoomToNode({\n node: node\n });\n }\n });\n };\n /**\r\n * @override\r\n */\n TreemapView.prototype.remove = function () {\n this._clearController();\n this._containerGroup && this._containerGroup.removeAll();\n this._storage = createStorage();\n this._state = 'ready';\n this._breadcrumb && this._breadcrumb.remove();\n };\n TreemapView.prototype.dispose = function () {\n this._clearController();\n };\n TreemapView.prototype._zoomToNode = function (targetInfo) {\n this.api.dispatchAction({\n type: 'treemapZoomToNode',\n from: this.uid,\n seriesId: this.seriesModel.id,\n targetNode: targetInfo.node\n });\n };\n TreemapView.prototype._rootToNode = function (targetInfo) {\n this.api.dispatchAction({\n type: 'treemapRootToNode',\n from: this.uid,\n seriesId: this.seriesModel.id,\n targetNode: targetInfo.node\n });\n };\n /**\r\n * @public\r\n * @param {number} x Global coord x.\r\n * @param {number} y Global coord y.\r\n * @return {Object} info If not found, return undefined;\r\n * @return {number} info.node Target node.\r\n * @return {number} info.offsetX x refer to target node.\r\n * @return {number} info.offsetY y refer to target node.\r\n */\n TreemapView.prototype.findTarget = function (x, y) {\n var targetInfo;\n var viewRoot = this.seriesModel.getViewRoot();\n viewRoot.eachNode({\n attr: 'viewChildren',\n order: 'preorder'\n }, function (node) {\n var bgEl = this._storage.background[node.getRawIndex()];\n // If invisible, there might be no element.\n if (bgEl) {\n var point = bgEl.transformCoordToLocal(x, y);\n var shape = bgEl.shape;\n // For performance consideration, don't use 'getBoundingRect'.\n if (shape.x <= point[0] && point[0] <= shape.x + shape.width && shape.y <= point[1] && point[1] <= shape.y + shape.height) {\n targetInfo = {\n node: node,\n offsetX: point[0],\n offsetY: point[1]\n };\n } else {\n return false; // Suppress visit subtree.\n }\n }\n }, this);\n return targetInfo;\n };\n TreemapView.type = 'treemap';\n return TreemapView;\n}(ChartView);\n/**\r\n * @inner\r\n */\nfunction createStorage() {\n return {\n nodeGroup: [],\n background: [],\n content: []\n };\n}\n/**\r\n * @inner\r\n * @return Return undefined means do not travel further.\r\n */\nfunction renderNode(seriesModel, thisStorage, oldStorage, reRoot, lastsForAnimation, willInvisibleEls, thisNode, oldNode, parentGroup, depth) {\n // Whether under viewRoot.\n if (!thisNode) {\n // Deleting nodes will be performed finally. This method just find\n // element from old storage, or create new element, set them to new\n // storage, and set styles.\n return;\n }\n // -------------------------------------------------------------------\n // Start of closure variables available in \"Procedures in renderNode\".\n var thisLayout = thisNode.getLayout();\n var data = seriesModel.getData();\n var nodeModel = thisNode.getModel();\n // Only for enabling highlight/downplay. Clear firstly.\n // Because some node will not be rendered.\n data.setItemGraphicEl(thisNode.dataIndex, null);\n if (!thisLayout || !thisLayout.isInView) {\n return;\n }\n var thisWidth = thisLayout.width;\n var thisHeight = thisLayout.height;\n var borderWidth = thisLayout.borderWidth;\n var thisInvisible = thisLayout.invisible;\n var thisRawIndex = thisNode.getRawIndex();\n var oldRawIndex = oldNode && oldNode.getRawIndex();\n var thisViewChildren = thisNode.viewChildren;\n var upperHeight = thisLayout.upperHeight;\n var isParent = thisViewChildren && thisViewChildren.length;\n var itemStyleNormalModel = nodeModel.getModel('itemStyle');\n var itemStyleEmphasisModel = nodeModel.getModel(['emphasis', 'itemStyle']);\n var itemStyleBlurModel = nodeModel.getModel(['blur', 'itemStyle']);\n var itemStyleSelectModel = nodeModel.getModel(['select', 'itemStyle']);\n var borderRadius = itemStyleNormalModel.get('borderRadius') || 0;\n // End of closure ariables available in \"Procedures in renderNode\".\n // -----------------------------------------------------------------\n // Node group\n var group = giveGraphic('nodeGroup', Group);\n if (!group) {\n return;\n }\n parentGroup.add(group);\n // x,y are not set when el is above view root.\n group.x = thisLayout.x || 0;\n group.y = thisLayout.y || 0;\n group.markRedraw();\n inner(group).nodeWidth = thisWidth;\n inner(group).nodeHeight = thisHeight;\n if (thisLayout.isAboveViewRoot) {\n return group;\n }\n // Background\n var bg = giveGraphic('background', Rect, depth, Z2_BG);\n bg && renderBackground(group, bg, isParent && thisLayout.upperLabelHeight);\n var emphasisModel = nodeModel.getModel('emphasis');\n var focus = emphasisModel.get('focus');\n var blurScope = emphasisModel.get('blurScope');\n var isDisabled = emphasisModel.get('disabled');\n var focusOrIndices = focus === 'ancestor' ? thisNode.getAncestorsIndices() : focus === 'descendant' ? thisNode.getDescendantIndices() : focus;\n // No children, render content.\n if (isParent) {\n // Because of the implementation about \"traverse\" in graphic hover style, we\n // can not set hover listener on the \"group\" of non-leaf node. Otherwise the\n // hover event from the descendents will be listenered.\n if (isHighDownDispatcher(group)) {\n setAsHighDownDispatcher(group, false);\n }\n if (bg) {\n setAsHighDownDispatcher(bg, !isDisabled);\n // Only for enabling highlight/downplay.\n data.setItemGraphicEl(thisNode.dataIndex, bg);\n enableHoverFocus(bg, focusOrIndices, blurScope);\n }\n } else {\n var content = giveGraphic('content', Rect, depth, Z2_CONTENT);\n content && renderContent(group, content);\n bg.disableMorphing = true;\n if (bg && isHighDownDispatcher(bg)) {\n setAsHighDownDispatcher(bg, false);\n }\n setAsHighDownDispatcher(group, !isDisabled);\n // Only for enabling highlight/downplay.\n data.setItemGraphicEl(thisNode.dataIndex, group);\n var cursorStyle = nodeModel.getShallow('cursor');\n cursorStyle && content.attr('cursor', cursorStyle);\n enableHoverFocus(group, focusOrIndices, blurScope);\n }\n return group;\n // ----------------------------\n // | Procedures in renderNode |\n // ----------------------------\n function renderBackground(group, bg, useUpperLabel) {\n var ecData = getECData(bg);\n // For tooltip.\n ecData.dataIndex = thisNode.dataIndex;\n ecData.seriesIndex = seriesModel.seriesIndex;\n bg.setShape({\n x: 0,\n y: 0,\n width: thisWidth,\n height: thisHeight,\n r: borderRadius\n });\n if (thisInvisible) {\n // If invisible, do not set visual, otherwise the element will\n // change immediately before animation. We think it is OK to\n // remain its origin color when moving out of the view window.\n processInvisible(bg);\n } else {\n bg.invisible = false;\n var style = thisNode.getVisual('style');\n var visualBorderColor = style.stroke;\n var normalStyle = getItemStyleNormal(itemStyleNormalModel);\n normalStyle.fill = visualBorderColor;\n var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel);\n emphasisStyle.fill = itemStyleEmphasisModel.get('borderColor');\n var blurStyle = getStateItemStyle(itemStyleBlurModel);\n blurStyle.fill = itemStyleBlurModel.get('borderColor');\n var selectStyle = getStateItemStyle(itemStyleSelectModel);\n selectStyle.fill = itemStyleSelectModel.get('borderColor');\n if (useUpperLabel) {\n var upperLabelWidth = thisWidth - 2 * borderWidth;\n prepareText(\n // PENDING: convert ZRColor to ColorString for text.\n bg, visualBorderColor, style.opacity, {\n x: borderWidth,\n y: 0,\n width: upperLabelWidth,\n height: upperHeight\n });\n }\n // For old bg.\n else {\n bg.removeTextContent();\n }\n bg.setStyle(normalStyle);\n bg.ensureState('emphasis').style = emphasisStyle;\n bg.ensureState('blur').style = blurStyle;\n bg.ensureState('select').style = selectStyle;\n setDefaultStateProxy(bg);\n }\n group.add(bg);\n }\n function renderContent(group, content) {\n var ecData = getECData(content);\n // For tooltip.\n ecData.dataIndex = thisNode.dataIndex;\n ecData.seriesIndex = seriesModel.seriesIndex;\n var contentWidth = Math.max(thisWidth - 2 * borderWidth, 0);\n var contentHeight = Math.max(thisHeight - 2 * borderWidth, 0);\n content.culling = true;\n content.setShape({\n x: borderWidth,\n y: borderWidth,\n width: contentWidth,\n height: contentHeight,\n r: borderRadius\n });\n if (thisInvisible) {\n // If invisible, do not set visual, otherwise the element will\n // change immediately before animation. We think it is OK to\n // remain its origin color when moving out of the view window.\n processInvisible(content);\n } else {\n content.invisible = false;\n var nodeStyle = thisNode.getVisual('style');\n var visualColor = nodeStyle.fill;\n var normalStyle = getItemStyleNormal(itemStyleNormalModel);\n normalStyle.fill = visualColor;\n normalStyle.decal = nodeStyle.decal;\n var emphasisStyle = getStateItemStyle(itemStyleEmphasisModel);\n var blurStyle = getStateItemStyle(itemStyleBlurModel);\n var selectStyle = getStateItemStyle(itemStyleSelectModel);\n // PENDING: convert ZRColor to ColorString for text.\n prepareText(content, visualColor, nodeStyle.opacity, null);\n content.setStyle(normalStyle);\n content.ensureState('emphasis').style = emphasisStyle;\n content.ensureState('blur').style = blurStyle;\n content.ensureState('select').style = selectStyle;\n setDefaultStateProxy(content);\n }\n group.add(content);\n }\n function processInvisible(element) {\n // Delay invisible setting utill animation finished,\n // avoid element vanish suddenly before animation.\n !element.invisible && willInvisibleEls.push(element);\n }\n function prepareText(rectEl, visualColor, visualOpacity,\n // Can be null/undefined\n upperLabelRect) {\n var normalLabelModel = nodeModel.getModel(upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL);\n var defaultText = convertOptionIdName(nodeModel.get('name'), null);\n var isShow = normalLabelModel.getShallow('show');\n setLabelStyle(rectEl, getLabelStatesModels(nodeModel, upperLabelRect ? PATH_UPPERLABEL_NORMAL : PATH_LABEL_NOAMAL), {\n defaultText: isShow ? defaultText : null,\n inheritColor: visualColor,\n defaultOpacity: visualOpacity,\n labelFetcher: seriesModel,\n labelDataIndex: thisNode.dataIndex\n });\n var textEl = rectEl.getTextContent();\n if (!textEl) {\n return;\n }\n var textStyle = textEl.style;\n var textPadding = normalizeCssArray(textStyle.padding || 0);\n if (upperLabelRect) {\n rectEl.setTextConfig({\n layoutRect: upperLabelRect\n });\n textEl.disableLabelLayout = true;\n }\n textEl.beforeUpdate = function () {\n var width = Math.max((upperLabelRect ? upperLabelRect.width : rectEl.shape.width) - textPadding[1] - textPadding[3], 0);\n var height = Math.max((upperLabelRect ? upperLabelRect.height : rectEl.shape.height) - textPadding[0] - textPadding[2], 0);\n if (textStyle.width !== width || textStyle.height !== height) {\n textEl.setStyle({\n width: width,\n height: height\n });\n }\n };\n textStyle.truncateMinChar = 2;\n textStyle.lineOverflow = 'truncate';\n addDrillDownIcon(textStyle, upperLabelRect, thisLayout);\n var textEmphasisState = textEl.getState('emphasis');\n addDrillDownIcon(textEmphasisState ? textEmphasisState.style : null, upperLabelRect, thisLayout);\n }\n function addDrillDownIcon(style, upperLabelRect, thisLayout) {\n var text = style ? style.text : null;\n if (!upperLabelRect && thisLayout.isLeafRoot && text != null) {\n var iconChar = seriesModel.get('drillDownIcon', true);\n style.text = iconChar ? iconChar + ' ' + text : text;\n }\n }\n function giveGraphic(storageName, Ctor, depth, z) {\n var element = oldRawIndex != null && oldStorage[storageName][oldRawIndex];\n var lasts = lastsForAnimation[storageName];\n if (element) {\n // Remove from oldStorage\n oldStorage[storageName][oldRawIndex] = null;\n prepareAnimationWhenHasOld(lasts, element);\n }\n // If invisible and no old element, do not create new element (for optimizing).\n else if (!thisInvisible) {\n element = new Ctor();\n if (element instanceof Displayable) {\n element.z2 = calculateZ2(depth, z);\n }\n prepareAnimationWhenNoOld(lasts, element);\n }\n // Set to thisStorage\n return thisStorage[storageName][thisRawIndex] = element;\n }\n function prepareAnimationWhenHasOld(lasts, element) {\n var lastCfg = lasts[thisRawIndex] = {};\n if (element instanceof Group) {\n lastCfg.oldX = element.x;\n lastCfg.oldY = element.y;\n } else {\n lastCfg.oldShape = extend({}, element.shape);\n }\n }\n // If a element is new, we need to find the animation start point carefully,\n // otherwise it will looks strange when 'zoomToNode'.\n function prepareAnimationWhenNoOld(lasts, element) {\n var lastCfg = lasts[thisRawIndex] = {};\n var parentNode = thisNode.parentNode;\n var isGroup = element instanceof graphic.Group;\n if (parentNode && (!reRoot || reRoot.direction === 'drillDown')) {\n var parentOldX = 0;\n var parentOldY = 0;\n // New nodes appear from right-bottom corner in 'zoomToNode' animation.\n // For convenience, get old bounding rect from background.\n var parentOldBg = lastsForAnimation.background[parentNode.getRawIndex()];\n if (!reRoot && parentOldBg && parentOldBg.oldShape) {\n parentOldX = parentOldBg.oldShape.width;\n parentOldY = parentOldBg.oldShape.height;\n }\n // When no parent old shape found, its parent is new too,\n // so we can just use {x:0, y:0}.\n if (isGroup) {\n lastCfg.oldX = 0;\n lastCfg.oldY = parentOldY;\n } else {\n lastCfg.oldShape = {\n x: parentOldX,\n y: parentOldY,\n width: 0,\n height: 0\n };\n }\n }\n // Fade in, user can be aware that these nodes are new.\n lastCfg.fadein = !isGroup;\n }\n}\n// We cannot set all background with the same z, because the behaviour of\n// drill down and roll up differ background creation sequence from tree\n// hierarchy sequence, which cause lower background elements to overlap\n// upper ones. So we calculate z based on depth.\n// Moreover, we try to shrink down z interval to [0, 1] to avoid that\n// treemap with large z overlaps other components.\nfunction calculateZ2(depth, z2InLevel) {\n return depth * Z2_BASE + z2InLevel;\n}\nexport default TreemapView;"],"names":["Group","graphic.Group","Rect","graphic.Rect","DRAG_THRESHOLD","PATH_LABEL_NOAMAL","PATH_UPPERLABEL_NORMAL","Z2_BASE","Z2_EMPHASIS_LIFT","Z2_BG","Z2_CONTENT","getStateItemStyle","makeStyleMapper","getItemStyleNormal","model","itemStyle","inner","makeInner","TreemapView","_super","__extends","_this","createStorage","seriesModel","ecModel","api","payload","models","indexOf","types","targetInfo","helper.retrieveTargetInfo","payloadType","layoutInfo","isInit","thisStorage","reRoot","containerGroup","hasAnimation","renderResult","thisTree","oldTree","lastsForAnimation","oldStorage","willInvisibleEls","doRenderNode","thisNode","oldNode","parentGroup","depth","renderNode","dualTravel","willDeleteEls","clearStorage","_oldRootLayout","rootLayout","renderFinally","thisViewChildren","oldViewChildren","sameTree","each","child","index","processNode","DataDiffer","getKey","curry","node","newIndex","oldIndex","group","storage","store","storageName","delEls","el","els","durationOption","easingOption","duration","isFunction","easing","animationWrap","animationUtil.createWrap","rawIndex","parent","target","innerStore","targetX","targetY","last","extend","bind","controller","controllerHost","RoamController","rect","BoundingRect","e","x","y","root","mouseX","mouseY","zoomDelta","zoomLimit","_controllerHost","newZoom","zoomMin","zoomMax","zoomScale","m","matrix.create","matrix.translate","matrix.scale","nodeClick","itemModel","link","linkTarget","windowOpen","Breadcrumb","helper.aboveViewRoot","viewRoot","bgEl","point","shape","ChartView","thisLayout","data","nodeModel","thisWidth","thisHeight","borderWidth","thisInvisible","thisRawIndex","oldRawIndex","upperHeight","isParent","itemStyleNormalModel","itemStyleEmphasisModel","itemStyleBlurModel","itemStyleSelectModel","borderRadius","giveGraphic","bg","renderBackground","emphasisModel","focus","blurScope","isDisabled","focusOrIndices","isHighDownDispatcher","setAsHighDownDispatcher","enableHoverFocus","content","renderContent","cursorStyle","useUpperLabel","ecData","getECData","processInvisible","style","visualBorderColor","normalStyle","emphasisStyle","blurStyle","selectStyle","upperLabelWidth","prepareText","setDefaultStateProxy","contentWidth","contentHeight","nodeStyle","visualColor","element","rectEl","visualOpacity","upperLabelRect","normalLabelModel","defaultText","convertOptionIdName","isShow","setLabelStyle","getLabelStatesModels","textEl","textStyle","textPadding","normalizeCssArray","width","height","addDrillDownIcon","textEmphasisState","text","iconChar","Ctor","z","lasts","prepareAnimationWhenHasOld","Displayable","calculateZ2","prepareAnimationWhenNoOld","lastCfg","parentNode","isGroup","parentOldX","parentOldY","parentOldBg","z2InLevel"],"mappings":";;;;;;;;;;;;;;;;;;;AA6DA,IAAIA,IAAQC,GACRC,KAAOC,IACPC,KAAiB,GACjBC,KAAoB,SACpBC,KAAyB,cAEzBC,KAAUC,IAAmB,IAC7BC,KAAQD,IAAmB,GAC3BE,KAAaF,IAAmB,GAChCG,IAAoBC,GAAgB;AAAA,EAAC,CAAC,QAAQ,OAAO;AAAA;AAAA;AAAA,EAGzD,CAAC,UAAU,aAAa;AAAA,EAAG,CAAC,aAAa,aAAa;AAAA,EAAG,CAAC,YAAY;AAAA,EAAG,CAAC,eAAe;AAAA,EAAG,CAAC,eAAe;AAAA,EAAG,CAAC,aAAa;AAAA;AAAA;AAG7H,CAAC,GACGC,KAAqB,SAAUC,GAAO;AAExC,M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KACFF,EAAQ,OAAO,GACfA,EAAQ,OAAOI,KAEfJ,EAAQ,WAAW;AAAA,QACjB,GAAGG;AAAA,QACH,GAAGC;AAAA,QACH,OAAO;AAAA,QACP,QAAQ;AAAA,MAClB;AAAA,IAEI;AAEA,IAAAJ,EAAQ,SAAS,CAACE;AAAA,EACpB;AACF;AAOA,SAASJ,GAAYtJ,GAAO8J,GAAW;AACrC,SAAO9J,IAAQ1C,KAAUwM;AAC3B;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { installTreemapAction as r } from "./treemapAction.js";
|
|
2
|
+
import o from "./TreemapSeries.js";
|
|
3
|
+
import i from "./TreemapView.js";
|
|
4
|
+
import m from "./treemapVisual.js";
|
|
5
|
+
import t from "./treemapLayout.js";
|
|
6
|
+
function u(e) {
|
|
7
|
+
e.registerSeriesModel(o), e.registerChartView(i), e.registerVisual(m), e.registerLayout(t), r(e);
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
u as install
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=install.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/chart/treemap/install.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport { installTreemapAction } from './treemapAction.js';\nimport TreemapSeriesModel from './TreemapSeries.js';\nimport TreemapView from './TreemapView.js';\nimport treemapVisual from './treemapVisual.js';\nimport treemapLayout from './treemapLayout.js';\nexport function install(registers) {\n registers.registerSeriesModel(TreemapSeriesModel);\n registers.registerChartView(TreemapView);\n registers.registerVisual(treemapVisual);\n registers.registerLayout(treemapLayout);\n installTreemapAction(registers);\n}"],"names":["install","registers","TreemapSeriesModel","TreemapView","treemapVisual","treemapLayout","installTreemapAction"],"mappings":";;;;;AAgDO,SAASA,EAAQC,GAAW;AACjC,EAAAA,EAAU,oBAAoBC,CAAkB,GAChDD,EAAU,kBAAkBE,CAAW,GACvCF,EAAU,eAAeG,CAAa,GACtCH,EAAU,eAAeI,CAAa,GACtCC,EAAqBL,CAAS;AAChC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { retrieveTargetInfo as f, aboveViewRoot as T } from "../helper/treeHelper.js";
|
|
2
|
+
import { noop as c } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
var a = ["treemapZoomToNode", "treemapRender", "treemapMove"];
|
|
4
|
+
function R(n) {
|
|
5
|
+
for (var e = 0; e < a.length; e++)
|
|
6
|
+
n.registerAction({
|
|
7
|
+
type: a[e],
|
|
8
|
+
update: "updateView"
|
|
9
|
+
}, c);
|
|
10
|
+
n.registerAction({
|
|
11
|
+
type: "treemapRootToNode",
|
|
12
|
+
update: "updateView"
|
|
13
|
+
}, function(o, i) {
|
|
14
|
+
i.eachComponent({
|
|
15
|
+
mainType: "series",
|
|
16
|
+
subType: "treemap",
|
|
17
|
+
query: o
|
|
18
|
+
}, m);
|
|
19
|
+
function m(t, u) {
|
|
20
|
+
var d = ["treemapZoomToNode", "treemapRootToNode"], r = f(o, d, t);
|
|
21
|
+
if (r) {
|
|
22
|
+
var p = t.getViewRoot();
|
|
23
|
+
p && (o.direction = T(p, r.node) ? "rollUp" : "drillDown"), t.resetViewRoot(r.node);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
R as installTreemapAction
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=treemapAction.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treemapAction.js","sources":["../../../../../../node_modules/echarts/lib/chart/treemap/treemapAction.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\r\n* Licensed to the Apache Software Foundation (ASF) under one\r\n* or more contributor license agreements. See the NOTICE file\r\n* distributed with this work for additional information\r\n* regarding copyright ownership. The ASF licenses this file\r\n* to you under the Apache License, Version 2.0 (the\r\n* \"License\"); you may not use this file except in compliance\r\n* with the License. You may obtain a copy of the License at\r\n*\r\n* http://www.apache.org/licenses/LICENSE-2.0\r\n*\r\n* Unless required by applicable law or agreed to in writing,\r\n* software distributed under the License is distributed on an\r\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n* KIND, either express or implied. See the License for the\r\n* specific language governing permissions and limitations\r\n* under the License.\r\n*/\nimport * as helper from '../helper/treeHelper.js';\nimport { noop } from 'zrender/lib/core/util.js';\nvar actionTypes = ['treemapZoomToNode', 'treemapRender', 'treemapMove'];\nexport function installTreemapAction(registers) {\n for (var i = 0; i < actionTypes.length; i++) {\n registers.registerAction({\n type: actionTypes[i],\n update: 'updateView'\n }, noop);\n }\n registers.registerAction({\n type: 'treemapRootToNode',\n update: 'updateView'\n }, function (payload, ecModel) {\n ecModel.eachComponent({\n mainType: 'series',\n subType: 'treemap',\n query: payload\n }, handleRootToNode);\n function handleRootToNode(model, index) {\n var types = ['treemapZoomToNode', 'treemapRootToNode'];\n var targetInfo = helper.retrieveTargetInfo(payload, types, model);\n if (targetInfo) {\n var originViewRoot = model.getViewRoot();\n if (originViewRoot) {\n payload.direction = helper.aboveViewRoot(originViewRoot, targetInfo.node) ? 'rollUp' : 'drillDown';\n }\n model.resetViewRoot(targetInfo.node);\n }\n }\n });\n}"],"names":["actionTypes","installTreemapAction","registers","i","noop","payload","ecModel","handleRootToNode","model","index","types","targetInfo","helper.retrieveTargetInfo","originViewRoot","helper.aboveViewRoot"],"mappings":";;AA6CA,IAAIA,IAAc,CAAC,qBAAqB,iBAAiB,aAAa;AAC/D,SAASC,EAAqBC,GAAW;AAC9C,WAASC,IAAI,GAAGA,IAAIH,EAAY,QAAQG;AACtC,IAAAD,EAAU,eAAe;AAAA,MACvB,MAAMF,EAAYG,CAAC;AAAA,MACnB,QAAQ;AAAA,IACd,GAAOC,CAAI;AAET,EAAAF,EAAU,eAAe;AAAA,IACvB,MAAM;AAAA,IACN,QAAQ;AAAA,EACZ,GAAK,SAAUG,GAASC,GAAS;AAC7B,IAAAA,EAAQ,cAAc;AAAA,MACpB,UAAU;AAAA,MACV,SAAS;AAAA,MACT,OAAOD;AAAA,IACb,GAAOE,CAAgB;AACnB,aAASA,EAAiBC,GAAOC,GAAO;AACtC,UAAIC,IAAQ,CAAC,qBAAqB,mBAAmB,GACjDC,IAAaC,EAA0BP,GAASK,GAAOF,CAAK;AAChE,UAAIG,GAAY;AACd,YAAIE,IAAiBL,EAAM,YAAW;AACtC,QAAIK,MACFR,EAAQ,YAAYS,EAAqBD,GAAgBF,EAAW,IAAI,IAAI,WAAW,cAEzFH,EAAM,cAAcG,EAAW,IAAI;AAAA,MACrC;AAAA,IACF;AAAA,EACF,CAAC;AACH;","x_google_ignoreList":[0]}
|