@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,109 @@
|
|
|
1
|
+
import { extend as l, each as y, map as D, mergeAll as b, retrieve as W, createHashMap as J, merge as U } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import E, { geo2DDimensions as Z } from "./Geo.js";
|
|
3
|
+
import { getLayoutRect as k } from "../../util/layout.js";
|
|
4
|
+
import { parsePercent as N } from "../../util/number.js";
|
|
5
|
+
import q from "./geoSourceManager.js";
|
|
6
|
+
import { min as K, max as Q } from "../../../../zrender/lib/core/vector.js";
|
|
7
|
+
function H(v, u) {
|
|
8
|
+
var g = v.get("boundingCoords");
|
|
9
|
+
if (g != null) {
|
|
10
|
+
var r = g[0], n = g[1];
|
|
11
|
+
if (!(isFinite(r[0]) && isFinite(r[1]) && isFinite(n[0]) && isFinite(n[1])))
|
|
12
|
+
process.env.NODE_ENV !== "production" && console.error("Invalid boundingCoords");
|
|
13
|
+
else {
|
|
14
|
+
var c = this.projection;
|
|
15
|
+
if (c) {
|
|
16
|
+
var e = r[0], i = r[1], a = n[0], t = n[1];
|
|
17
|
+
r = [1 / 0, 1 / 0], n = [-1 / 0, -1 / 0];
|
|
18
|
+
var o = function(I, F, L, j) {
|
|
19
|
+
for (var A = L - I, V = j - F, z = 0; z <= 100; z++) {
|
|
20
|
+
var O = z / 100, P = c.project([I + A * O, F + V * O]);
|
|
21
|
+
K(r, r, P), Q(n, n, P);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
o(e, i, a, i), o(a, i, a, t), o(a, t, e, t), o(e, t, a, i);
|
|
25
|
+
}
|
|
26
|
+
this.setBoundingRect(r[0], r[1], n[0] - r[0], n[1] - r[1]);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
var h = this.getBoundingRect(), f = v.get("layoutCenter"), S = v.get("layoutSize"), w = u.getWidth(), C = u.getHeight(), d = h.width / h.height * this.aspectScale, G = !1, p, m;
|
|
30
|
+
f && S && (p = [N(f[0], w), N(f[1], C)], m = N(S, Math.min(w, C)), !isNaN(p[0]) && !isNaN(p[1]) && !isNaN(m) ? G = !0 : process.env.NODE_ENV !== "production" && console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."));
|
|
31
|
+
var s;
|
|
32
|
+
if (G)
|
|
33
|
+
s = {}, d > 1 ? (s.width = m, s.height = m / d) : (s.height = m, s.width = m * d), s.y = p[1] - s.height / 2, s.x = p[0] - s.width / 2;
|
|
34
|
+
else {
|
|
35
|
+
var R = v.getBoxLayoutParams();
|
|
36
|
+
R.aspect = d, s = k(R, {
|
|
37
|
+
width: w,
|
|
38
|
+
height: C
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
this.setViewRect(s.x, s.y, s.width, s.height), this.setCenter(v.get("center"), u), this.setZoom(v.get("zoom"));
|
|
42
|
+
}
|
|
43
|
+
function X(v, u) {
|
|
44
|
+
y(u.get("geoCoord"), function(g, r) {
|
|
45
|
+
v.addGeoCoord(r, g);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
var Y = (
|
|
49
|
+
/** @class */
|
|
50
|
+
(function() {
|
|
51
|
+
function v() {
|
|
52
|
+
this.dimensions = Z;
|
|
53
|
+
}
|
|
54
|
+
return v.prototype.create = function(u, g) {
|
|
55
|
+
var r = [];
|
|
56
|
+
function n(e) {
|
|
57
|
+
return {
|
|
58
|
+
nameProperty: e.get("nameProperty"),
|
|
59
|
+
aspectScale: e.get("aspectScale"),
|
|
60
|
+
projection: e.get("projection")
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
u.eachComponent("geo", function(e, i) {
|
|
64
|
+
var a = e.get("map"), t = new E(a + i, a, l({
|
|
65
|
+
nameMap: e.get("nameMap")
|
|
66
|
+
}, n(e)));
|
|
67
|
+
t.zoomLimit = e.get("scaleLimit"), r.push(t), e.coordinateSystem = t, t.model = e, t.resize = H, t.resize(e, g);
|
|
68
|
+
}), u.eachSeries(function(e) {
|
|
69
|
+
var i = e.get("coordinateSystem");
|
|
70
|
+
if (i === "geo") {
|
|
71
|
+
var a = e.get("geoIndex") || 0;
|
|
72
|
+
e.coordinateSystem = r[a];
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
var c = {};
|
|
76
|
+
return u.eachSeriesByType("map", function(e) {
|
|
77
|
+
if (!e.getHostGeoModel()) {
|
|
78
|
+
var i = e.getMapType();
|
|
79
|
+
c[i] = c[i] || [], c[i].push(e);
|
|
80
|
+
}
|
|
81
|
+
}), y(c, function(e, i) {
|
|
82
|
+
var a = D(e, function(o) {
|
|
83
|
+
return o.get("nameMap");
|
|
84
|
+
}), t = new E(i, i, l({
|
|
85
|
+
nameMap: b(a)
|
|
86
|
+
}, n(e[0])));
|
|
87
|
+
t.zoomLimit = W.apply(null, D(e, function(o) {
|
|
88
|
+
return o.get("scaleLimit");
|
|
89
|
+
})), r.push(t), t.resize = H, t.resize(e[0], g), y(e, function(o) {
|
|
90
|
+
o.coordinateSystem = t, X(t, o);
|
|
91
|
+
});
|
|
92
|
+
}), r;
|
|
93
|
+
}, v.prototype.getFilledRegions = function(u, g, r, n) {
|
|
94
|
+
for (var c = (u || []).slice(), e = J(), i = 0; i < c.length; i++)
|
|
95
|
+
e.set(c[i].name, c[i]);
|
|
96
|
+
var a = q.load(g, r, n);
|
|
97
|
+
return y(a.regions, function(t) {
|
|
98
|
+
var o = t.name, h = e.get(o), f = t.properties && t.properties.echartsStyle;
|
|
99
|
+
h || (h = {
|
|
100
|
+
name: o
|
|
101
|
+
}, c.push(h)), f && U(h, f);
|
|
102
|
+
}), c;
|
|
103
|
+
}, v;
|
|
104
|
+
})()
|
|
105
|
+
), ee = new Y();
|
|
106
|
+
export {
|
|
107
|
+
ee as default
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=geoCreator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoCreator.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoCreator.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 zrUtil from 'zrender/lib/core/util.js';\nimport Geo, { geo2DDimensions } from './Geo.js';\nimport * as layout from '../../util/layout.js';\nimport * as numberUtil from '../../util/number.js';\nimport geoSourceManager from './geoSourceManager.js';\nimport * as vector from 'zrender/lib/core/vector.js';\n/**\r\n * Resize method bound to the geo\r\n */\nfunction resizeGeo(geoModel, api) {\n var boundingCoords = geoModel.get('boundingCoords');\n if (boundingCoords != null) {\n var leftTop_1 = boundingCoords[0];\n var rightBottom_1 = boundingCoords[1];\n if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1]))) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Invalid boundingCoords');\n }\n } else {\n // Sample around the lng/lat rect and use projection to calculate actual bounding rect.\n var projection_1 = this.projection;\n if (projection_1) {\n var xMin = leftTop_1[0];\n var yMin = leftTop_1[1];\n var xMax = rightBottom_1[0];\n var yMax = rightBottom_1[1];\n leftTop_1 = [Infinity, Infinity];\n rightBottom_1 = [-Infinity, -Infinity];\n // TODO better way?\n var sampleLine = function (x0, y0, x1, y1) {\n var dx = x1 - x0;\n var dy = y1 - y0;\n for (var i = 0; i <= 100; i++) {\n var p = i / 100;\n var pt = projection_1.project([x0 + dx * p, y0 + dy * p]);\n vector.min(leftTop_1, leftTop_1, pt);\n vector.max(rightBottom_1, rightBottom_1, pt);\n }\n };\n // Top\n sampleLine(xMin, yMin, xMax, yMin);\n // Right\n sampleLine(xMax, yMin, xMax, yMax);\n // Bottom\n sampleLine(xMax, yMax, xMin, yMax);\n // Left\n sampleLine(xMin, yMax, xMax, yMin);\n }\n this.setBoundingRect(leftTop_1[0], leftTop_1[1], rightBottom_1[0] - leftTop_1[0], rightBottom_1[1] - leftTop_1[1]);\n }\n }\n var rect = this.getBoundingRect();\n var centerOption = geoModel.get('layoutCenter');\n var sizeOption = geoModel.get('layoutSize');\n var viewWidth = api.getWidth();\n var viewHeight = api.getHeight();\n var aspect = rect.width / rect.height * this.aspectScale;\n var useCenterAndSize = false;\n var center;\n var size;\n if (centerOption && sizeOption) {\n center = [numberUtil.parsePercent(centerOption[0], viewWidth), numberUtil.parsePercent(centerOption[1], viewHeight)];\n size = numberUtil.parsePercent(sizeOption, Math.min(viewWidth, viewHeight));\n if (!isNaN(center[0]) && !isNaN(center[1]) && !isNaN(size)) {\n useCenterAndSize = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.warn('Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead.');\n }\n }\n }\n var viewRect;\n if (useCenterAndSize) {\n viewRect = {};\n if (aspect > 1) {\n // Width is same with size\n viewRect.width = size;\n viewRect.height = size / aspect;\n } else {\n viewRect.height = size;\n viewRect.width = size * aspect;\n }\n viewRect.y = center[1] - viewRect.height / 2;\n viewRect.x = center[0] - viewRect.width / 2;\n } else {\n // Use left/top/width/height\n var boxLayoutOption = geoModel.getBoxLayoutParams();\n boxLayoutOption.aspect = aspect;\n viewRect = layout.getLayoutRect(boxLayoutOption, {\n width: viewWidth,\n height: viewHeight\n });\n }\n this.setViewRect(viewRect.x, viewRect.y, viewRect.width, viewRect.height);\n this.setCenter(geoModel.get('center'), api);\n this.setZoom(geoModel.get('zoom'));\n}\n// Back compat for ECharts2, where the coord map is set on map series:\n// {type: 'map', geoCoord: {'cityA': [116.46,39.92], 'cityA': [119.12,24.61]}},\nfunction setGeoCoords(geo, model) {\n zrUtil.each(model.get('geoCoord'), function (geoCoord, name) {\n geo.addGeoCoord(name, geoCoord);\n });\n}\nvar GeoCreator = /** @class */function () {\n function GeoCreator() {\n // For deciding which dimensions to use when creating list data\n this.dimensions = geo2DDimensions;\n }\n GeoCreator.prototype.create = function (ecModel, api) {\n var geoList = [];\n function getCommonGeoProperties(model) {\n return {\n nameProperty: model.get('nameProperty'),\n aspectScale: model.get('aspectScale'),\n projection: model.get('projection')\n };\n }\n // FIXME Create each time may be slow\n ecModel.eachComponent('geo', function (geoModel, idx) {\n var mapName = geoModel.get('map');\n var geo = new Geo(mapName + idx, mapName, zrUtil.extend({\n nameMap: geoModel.get('nameMap')\n }, getCommonGeoProperties(geoModel)));\n geo.zoomLimit = geoModel.get('scaleLimit');\n geoList.push(geo);\n // setGeoCoords(geo, geoModel);\n geoModel.coordinateSystem = geo;\n geo.model = geoModel;\n // Inject resize method\n geo.resize = resizeGeo;\n geo.resize(geoModel, api);\n });\n ecModel.eachSeries(function (seriesModel) {\n var coordSys = seriesModel.get('coordinateSystem');\n if (coordSys === 'geo') {\n var geoIndex = seriesModel.get('geoIndex') || 0;\n seriesModel.coordinateSystem = geoList[geoIndex];\n }\n });\n // If has map series\n var mapModelGroupBySeries = {};\n ecModel.eachSeriesByType('map', function (seriesModel) {\n if (!seriesModel.getHostGeoModel()) {\n var mapType = seriesModel.getMapType();\n mapModelGroupBySeries[mapType] = mapModelGroupBySeries[mapType] || [];\n mapModelGroupBySeries[mapType].push(seriesModel);\n }\n });\n zrUtil.each(mapModelGroupBySeries, function (mapSeries, mapType) {\n var nameMapList = zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('nameMap');\n });\n var geo = new Geo(mapType, mapType, zrUtil.extend({\n nameMap: zrUtil.mergeAll(nameMapList)\n }, getCommonGeoProperties(mapSeries[0])));\n geo.zoomLimit = zrUtil.retrieve.apply(null, zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('scaleLimit');\n }));\n geoList.push(geo);\n // Inject resize method\n geo.resize = resizeGeo;\n geo.resize(mapSeries[0], api);\n zrUtil.each(mapSeries, function (singleMapSeries) {\n singleMapSeries.coordinateSystem = geo;\n setGeoCoords(geo, singleMapSeries);\n });\n });\n return geoList;\n };\n /**\r\n * Fill given regions array\r\n */\n GeoCreator.prototype.getFilledRegions = function (originRegionArr, mapName, nameMap, nameProperty) {\n // Not use the original\n var regionsArr = (originRegionArr || []).slice();\n var dataNameMap = zrUtil.createHashMap();\n for (var i = 0; i < regionsArr.length; i++) {\n dataNameMap.set(regionsArr[i].name, regionsArr[i]);\n }\n var source = geoSourceManager.load(mapName, nameMap, nameProperty);\n zrUtil.each(source.regions, function (region) {\n var name = region.name;\n var regionOption = dataNameMap.get(name);\n // apply specified echarts style in GeoJSON data\n var specifiedGeoJSONRegionStyle = region.properties && region.properties.echartsStyle;\n if (!regionOption) {\n regionOption = {\n name: name\n };\n regionsArr.push(regionOption);\n }\n specifiedGeoJSONRegionStyle && zrUtil.merge(regionOption, specifiedGeoJSONRegionStyle);\n });\n return regionsArr;\n };\n return GeoCreator;\n}();\nvar geoCreator = new GeoCreator();\nexport default geoCreator;"],"names":["resizeGeo","geoModel","api","boundingCoords","leftTop_1","rightBottom_1","projection_1","xMin","yMin","xMax","yMax","sampleLine","x0","y0","x1","y1","dx","dy","i","p","pt","vector.min","vector.max","rect","centerOption","sizeOption","viewWidth","viewHeight","aspect","useCenterAndSize","center","size","numberUtil.parsePercent","viewRect","boxLayoutOption","layout.getLayoutRect","setGeoCoords","geo","model","zrUtil.each","geoCoord","name","GeoCreator","geo2DDimensions","ecModel","geoList","getCommonGeoProperties","idx","mapName","Geo","zrUtil.extend","seriesModel","coordSys","geoIndex","mapModelGroupBySeries","mapType","mapSeries","nameMapList","zrUtil.map","singleMapSeries","zrUtil.mergeAll","zrUtil.retrieve","originRegionArr","nameMap","nameProperty","regionsArr","dataNameMap","zrUtil.createHashMap","source","geoSourceManager","region","regionOption","specifiedGeoJSONRegionStyle","zrUtil.merge","geoCreator"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { createHashMap as u } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { GeoSVGResource as c } from "./GeoSVGResource.js";
|
|
3
|
+
import { GeoJSONResource as i } from "./GeoJSONResource.js";
|
|
4
|
+
var t = u();
|
|
5
|
+
const f = {
|
|
6
|
+
/**
|
|
7
|
+
* Compatible with previous `echarts.registerMap`.
|
|
8
|
+
*
|
|
9
|
+
* @usage
|
|
10
|
+
* ```js
|
|
11
|
+
*
|
|
12
|
+
* echarts.registerMap('USA', geoJson, specialAreas);
|
|
13
|
+
*
|
|
14
|
+
* echarts.registerMap('USA', {
|
|
15
|
+
* geoJson: geoJson,
|
|
16
|
+
* specialAreas: {...}
|
|
17
|
+
* });
|
|
18
|
+
* echarts.registerMap('USA', {
|
|
19
|
+
* geoJSON: geoJson,
|
|
20
|
+
* specialAreas: {...}
|
|
21
|
+
* });
|
|
22
|
+
*
|
|
23
|
+
* echarts.registerMap('airport', {
|
|
24
|
+
* svg: svg
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* Note:
|
|
29
|
+
* Do not support that register multiple geoJSON or SVG
|
|
30
|
+
* one map name. Because different geoJSON and SVG have
|
|
31
|
+
* different unit. It's not easy to make sure how those
|
|
32
|
+
* units are mapping/normalize.
|
|
33
|
+
* If intending to use multiple geoJSON or SVG, we can
|
|
34
|
+
* use multiple geo coordinate system.
|
|
35
|
+
*/
|
|
36
|
+
registerMap: function(o, e, s) {
|
|
37
|
+
if (e.svg) {
|
|
38
|
+
var r = new c(o, e.svg);
|
|
39
|
+
t.set(o, r);
|
|
40
|
+
} else {
|
|
41
|
+
var n = e.geoJson || e.geoJSON;
|
|
42
|
+
n && !e.features ? s = e.specialAreas : n = e;
|
|
43
|
+
var r = new i(o, n, s);
|
|
44
|
+
t.set(o, r);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
getGeoResource: function(o) {
|
|
48
|
+
return t.get(o);
|
|
49
|
+
},
|
|
50
|
+
/**
|
|
51
|
+
* Only for exporting to users.
|
|
52
|
+
* **MUST NOT** used internally.
|
|
53
|
+
*/
|
|
54
|
+
getMapForUser: function(o) {
|
|
55
|
+
var e = t.get(o);
|
|
56
|
+
return e && e.type === "geoJSON" && e.getMapForUser();
|
|
57
|
+
},
|
|
58
|
+
load: function(o, e, s) {
|
|
59
|
+
var r = t.get(o);
|
|
60
|
+
if (!r) {
|
|
61
|
+
process.env.NODE_ENV !== "production" && console.error("Map " + o + " not exists. The GeoJSON of the map must be provided.");
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
return r.load(e, s);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
f as default
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=geoSourceManager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geoSourceManager.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoSourceManager.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 { createHashMap } from 'zrender/lib/core/util.js';\nimport { GeoSVGResource } from './GeoSVGResource.js';\nimport { GeoJSONResource } from './GeoJSONResource.js';\nvar storage = createHashMap();\nexport default {\n /**\r\n * Compatible with previous `echarts.registerMap`.\r\n *\r\n * @usage\r\n * ```js\r\n *\r\n * echarts.registerMap('USA', geoJson, specialAreas);\r\n *\r\n * echarts.registerMap('USA', {\r\n * geoJson: geoJson,\r\n * specialAreas: {...}\r\n * });\r\n * echarts.registerMap('USA', {\r\n * geoJSON: geoJson,\r\n * specialAreas: {...}\r\n * });\r\n *\r\n * echarts.registerMap('airport', {\r\n * svg: svg\r\n * }\r\n * ```\r\n *\r\n * Note:\r\n * Do not support that register multiple geoJSON or SVG\r\n * one map name. Because different geoJSON and SVG have\r\n * different unit. It's not easy to make sure how those\r\n * units are mapping/normalize.\r\n * If intending to use multiple geoJSON or SVG, we can\r\n * use multiple geo coordinate system.\r\n */\n registerMap: function (mapName, rawDef, rawSpecialAreas) {\n if (rawDef.svg) {\n var resource = new GeoSVGResource(mapName, rawDef.svg);\n storage.set(mapName, resource);\n } else {\n // Recommend:\n // echarts.registerMap('eu', { geoJSON: xxx, specialAreas: xxx });\n // Backward compatibility:\n // echarts.registerMap('eu', geoJSON, specialAreas);\n // echarts.registerMap('eu', { geoJson: xxx, specialAreas: xxx });\n var geoJSON = rawDef.geoJson || rawDef.geoJSON;\n if (geoJSON && !rawDef.features) {\n rawSpecialAreas = rawDef.specialAreas;\n } else {\n geoJSON = rawDef;\n }\n var resource = new GeoJSONResource(mapName, geoJSON, rawSpecialAreas);\n storage.set(mapName, resource);\n }\n },\n getGeoResource: function (mapName) {\n return storage.get(mapName);\n },\n /**\r\n * Only for exporting to users.\r\n * **MUST NOT** used internally.\r\n */\n getMapForUser: function (mapName) {\n var resource = storage.get(mapName);\n // Do not support return SVG until some real requirement come.\n return resource && resource.type === 'geoJSON' && resource.getMapForUser();\n },\n load: function (mapName, nameMap, nameProperty) {\n var resource = storage.get(mapName);\n if (!resource) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Map ' + mapName + ' not exists. The GeoJSON of the map must be provided.');\n }\n return;\n }\n return resource.load(nameMap, nameProperty);\n }\n};"],"names":["storage","createHashMap","geoSourceManager","mapName","rawDef","rawSpecialAreas","resource","GeoSVGResource","geoJSON","GeoJSONResource","nameMap","nameProperty"],"mappings":";;;AA8CA,IAAIA,IAAUC,EAAa;AAC3B,MAAAC,IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA+Bb,aAAa,SAAUC,GAASC,GAAQC,GAAiB;AACvD,QAAID,EAAO,KAAK;AACd,UAAIE,IAAW,IAAIC,EAAeJ,GAASC,EAAO,GAAG;AACrD,MAAAJ,EAAQ,IAAIG,GAASG,CAAQ;AAAA,IAC/B,OAAO;AAML,UAAIE,IAAUJ,EAAO,WAAWA,EAAO;AACvC,MAAII,KAAW,CAACJ,EAAO,WACrBC,IAAkBD,EAAO,eAEzBI,IAAUJ;AAEZ,UAAIE,IAAW,IAAIG,EAAgBN,GAASK,GAASH,CAAe;AACpE,MAAAL,EAAQ,IAAIG,GAASG,CAAQ;AAAA,IAC/B;AAAA,EACF;AAAA,EACA,gBAAgB,SAAUH,GAAS;AACjC,WAAOH,EAAQ,IAAIG,CAAO;AAAA,EAC5B;AAAA;AAAA;AAAA;AAAA;AAAA,EAKA,eAAe,SAAUA,GAAS;AAChC,QAAIG,IAAWN,EAAQ,IAAIG,CAAO;AAElC,WAAOG,KAAYA,EAAS,SAAS,aAAaA,EAAS,cAAa;AAAA,EAC1E;AAAA,EACA,MAAM,SAAUH,GAASO,GAASC,GAAc;AAC9C,QAAIL,IAAWN,EAAQ,IAAIG,CAAO;AAClC,QAAI,CAACG,GAAU;AACb,MAAI,QAAQ,IAAI,aAAa,gBAC3B,QAAQ,MAAM,SAASH,IAAU,uDAAuD;AAE1F;AAAA,IACF;AACA,WAAOG,EAAS,KAAKI,GAASC,CAAY;AAAA,EAC5C;AACF;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { map as d, each as p, filter as h } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { GeoJSONLineStringGeometry as f, GeoJSONPolygonGeometry as g, GeoJSONRegion as m } from "./Region.js";
|
|
3
|
+
function S(r) {
|
|
4
|
+
if (!r.UTF8Encoding)
|
|
5
|
+
return r;
|
|
6
|
+
var s = r, e = s.UTF8Scale;
|
|
7
|
+
e == null && (e = 1024);
|
|
8
|
+
var n = s.features;
|
|
9
|
+
return p(n, function(c) {
|
|
10
|
+
var t = c.geometry, a = t.encodeOffsets, o = t.coordinates;
|
|
11
|
+
if (a)
|
|
12
|
+
switch (t.type) {
|
|
13
|
+
case "LineString":
|
|
14
|
+
t.coordinates = l(o, a, e);
|
|
15
|
+
break;
|
|
16
|
+
case "Polygon":
|
|
17
|
+
u(o, a, e);
|
|
18
|
+
break;
|
|
19
|
+
case "MultiLineString":
|
|
20
|
+
u(o, a, e);
|
|
21
|
+
break;
|
|
22
|
+
case "MultiPolygon":
|
|
23
|
+
p(o, function(i, v) {
|
|
24
|
+
return u(i, a[v], e);
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}), s.UTF8Encoding = !1, s;
|
|
28
|
+
}
|
|
29
|
+
function u(r, s, e) {
|
|
30
|
+
for (var n = 0; n < r.length; n++)
|
|
31
|
+
r[n] = l(r[n], s[n], e);
|
|
32
|
+
}
|
|
33
|
+
function l(r, s, e) {
|
|
34
|
+
for (var n = [], c = s[0], t = s[1], a = 0; a < r.length; a += 2) {
|
|
35
|
+
var o = r.charCodeAt(a) - 64, i = r.charCodeAt(a + 1) - 64;
|
|
36
|
+
o = o >> 1 ^ -(o & 1), i = i >> 1 ^ -(i & 1), o += c, i += t, c = o, t = i, n.push([o / e, i / e]);
|
|
37
|
+
}
|
|
38
|
+
return n;
|
|
39
|
+
}
|
|
40
|
+
function k(r, s) {
|
|
41
|
+
return r = S(r), d(h(r.features, function(e) {
|
|
42
|
+
return e.geometry && e.properties && e.geometry.coordinates.length > 0;
|
|
43
|
+
}), function(e) {
|
|
44
|
+
var n = e.properties, c = e.geometry, t = [];
|
|
45
|
+
switch (c.type) {
|
|
46
|
+
case "Polygon":
|
|
47
|
+
var a = c.coordinates;
|
|
48
|
+
t.push(new g(a[0], a.slice(1)));
|
|
49
|
+
break;
|
|
50
|
+
case "MultiPolygon":
|
|
51
|
+
p(c.coordinates, function(i) {
|
|
52
|
+
i[0] && t.push(new g(i[0], i.slice(1)));
|
|
53
|
+
});
|
|
54
|
+
break;
|
|
55
|
+
case "LineString":
|
|
56
|
+
t.push(new f([c.coordinates]));
|
|
57
|
+
break;
|
|
58
|
+
case "MultiLineString":
|
|
59
|
+
t.push(new f(c.coordinates));
|
|
60
|
+
}
|
|
61
|
+
var o = new m(n[s || "name"], t, n.cp);
|
|
62
|
+
return o.properties = n, o;
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
k as default
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=parseGeoJson.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseGeoJson.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/parseGeoJson.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*/\n/**\r\n * Parse and decode geo json\r\n */\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONLineStringGeometry, GeoJSONPolygonGeometry, GeoJSONRegion } from './Region.js';\nfunction decode(json) {\n if (!json.UTF8Encoding) {\n return json;\n }\n var jsonCompressed = json;\n var encodeScale = jsonCompressed.UTF8Scale;\n if (encodeScale == null) {\n encodeScale = 1024;\n }\n var features = jsonCompressed.features;\n zrUtil.each(features, function (feature) {\n var geometry = feature.geometry;\n var encodeOffsets = geometry.encodeOffsets;\n var coordinates = geometry.coordinates;\n // Geometry may be appeded manually in the script after json loaded.\n // In this case this geometry is usually not encoded.\n if (!encodeOffsets) {\n return;\n }\n switch (geometry.type) {\n case 'LineString':\n geometry.coordinates = decodeRing(coordinates, encodeOffsets, encodeScale);\n break;\n case 'Polygon':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n case 'MultiLineString':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n case 'MultiPolygon':\n zrUtil.each(coordinates, function (rings, idx) {\n return decodeRings(rings, encodeOffsets[idx], encodeScale);\n });\n }\n });\n // Has been decoded\n jsonCompressed.UTF8Encoding = false;\n return jsonCompressed;\n}\nfunction decodeRings(rings, encodeOffsets, encodeScale) {\n for (var c = 0; c < rings.length; c++) {\n rings[c] = decodeRing(rings[c], encodeOffsets[c], encodeScale);\n }\n}\nfunction decodeRing(coordinate, encodeOffsets, encodeScale) {\n var result = [];\n var prevX = encodeOffsets[0];\n var prevY = encodeOffsets[1];\n for (var i = 0; i < coordinate.length; i += 2) {\n var x = coordinate.charCodeAt(i) - 64;\n var y = coordinate.charCodeAt(i + 1) - 64;\n // ZigZag decoding\n x = x >> 1 ^ -(x & 1);\n y = y >> 1 ^ -(y & 1);\n // Delta deocding\n x += prevX;\n y += prevY;\n prevX = x;\n prevY = y;\n // Dequantize\n result.push([x / encodeScale, y / encodeScale]);\n }\n return result;\n}\nexport default function parseGeoJSON(geoJson, nameProperty) {\n geoJson = decode(geoJson);\n return zrUtil.map(zrUtil.filter(geoJson.features, function (featureObj) {\n // Output of mapshaper may have geometry null\n return featureObj.geometry && featureObj.properties && featureObj.geometry.coordinates.length > 0;\n }), function (featureObj) {\n var properties = featureObj.properties;\n var geo = featureObj.geometry;\n var geometries = [];\n switch (geo.type) {\n case 'Polygon':\n var coordinates = geo.coordinates;\n // According to the GeoJSON specification.\n // First must be exterior, and the rest are all interior(holes).\n geometries.push(new GeoJSONPolygonGeometry(coordinates[0], coordinates.slice(1)));\n break;\n case 'MultiPolygon':\n zrUtil.each(geo.coordinates, function (item) {\n if (item[0]) {\n geometries.push(new GeoJSONPolygonGeometry(item[0], item.slice(1)));\n }\n });\n break;\n case 'LineString':\n geometries.push(new GeoJSONLineStringGeometry([geo.coordinates]));\n break;\n case 'MultiLineString':\n geometries.push(new GeoJSONLineStringGeometry(geo.coordinates));\n }\n var region = new GeoJSONRegion(properties[nameProperty || 'name'], geometries, properties.cp);\n region.properties = properties;\n return region;\n });\n}"],"names":["decode","json","jsonCompressed","encodeScale","features","zrUtil.each","feature","geometry","encodeOffsets","coordinates","decodeRing","decodeRings","rings","idx","c","coordinate","result","prevX","prevY","i","x","y","parseGeoJSON","geoJson","nameProperty","zrUtil.map","zrUtil.filter","featureObj","properties","geo","geometries","GeoJSONPolygonGeometry","item","GeoJSONLineStringGeometry","region","GeoJSONRegion"],"mappings":"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","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { bind as h, map as u } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
function p(r, o) {
|
|
3
|
+
return o = o || [0, 0], u([0, 1], function(t) {
|
|
4
|
+
var a = o[t], i = r[t] / 2, n = [], e = [];
|
|
5
|
+
return n[t] = a - i, e[t] = a + i, n[1 - t] = e[1 - t] = o[1 - t], Math.abs(this.dataToPoint(n)[t] - this.dataToPoint(e)[t]);
|
|
6
|
+
}, this);
|
|
7
|
+
}
|
|
8
|
+
function g(r) {
|
|
9
|
+
var o = r.getBoundingRect();
|
|
10
|
+
return {
|
|
11
|
+
coordSys: {
|
|
12
|
+
type: "geo",
|
|
13
|
+
x: o.x,
|
|
14
|
+
y: o.y,
|
|
15
|
+
width: o.width,
|
|
16
|
+
height: o.height,
|
|
17
|
+
zoom: r.getZoom()
|
|
18
|
+
},
|
|
19
|
+
api: {
|
|
20
|
+
coord: function(t) {
|
|
21
|
+
return r.dataToPoint(t);
|
|
22
|
+
},
|
|
23
|
+
size: h(p, r)
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
g as default
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=prepareCustom.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prepareCustom.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/prepareCustom.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 zrUtil from 'zrender/lib/core/util.js';\nfunction dataToCoordSize(dataSize, dataItem) {\n dataItem = dataItem || [0, 0];\n return zrUtil.map([0, 1], function (dimIdx) {\n var val = dataItem[dimIdx];\n var halfSize = dataSize[dimIdx] / 2;\n var p1 = [];\n var p2 = [];\n p1[dimIdx] = val - halfSize;\n p2[dimIdx] = val + halfSize;\n p1[1 - dimIdx] = p2[1 - dimIdx] = dataItem[1 - dimIdx];\n return Math.abs(this.dataToPoint(p1)[dimIdx] - this.dataToPoint(p2)[dimIdx]);\n }, this);\n}\nexport default function geoPrepareCustom(coordSys) {\n var rect = coordSys.getBoundingRect();\n return {\n coordSys: {\n type: 'geo',\n x: rect.x,\n y: rect.y,\n width: rect.width,\n height: rect.height,\n zoom: coordSys.getZoom()\n },\n api: {\n coord: function (data) {\n // do not provide \"out\" and noRoam param,\n // Compatible with this usage:\n // echarts.util.map(item.points, api.coord)\n return coordSys.dataToPoint(data);\n },\n size: zrUtil.bind(dataToCoordSize, coordSys)\n }\n };\n}"],"names":["dataToCoordSize","dataSize","dataItem","zrUtil.map","dimIdx","val","halfSize","p1","p2","geoPrepareCustom","coordSys","rect","data","zrUtil.bind"],"mappings":";AA4CA,SAASA,EAAgBC,GAAUC,GAAU;AAC3C,SAAAA,IAAWA,KAAY,CAAC,GAAG,CAAC,GACrBC,EAAW,CAAC,GAAG,CAAC,GAAG,SAAUC,GAAQ;AAC1C,QAAIC,IAAMH,EAASE,CAAM,GACrBE,IAAWL,EAASG,CAAM,IAAI,GAC9BG,IAAK,CAAA,GACLC,IAAK,CAAA;AACT,WAAAD,EAAGH,CAAM,IAAIC,IAAMC,GACnBE,EAAGJ,CAAM,IAAIC,IAAMC,GACnBC,EAAG,IAAIH,CAAM,IAAII,EAAG,IAAIJ,CAAM,IAAIF,EAAS,IAAIE,CAAM,GAC9C,KAAK,IAAI,KAAK,YAAYG,CAAE,EAAEH,CAAM,IAAI,KAAK,YAAYI,CAAE,EAAEJ,CAAM,CAAC;AAAA,EAC7E,GAAG,IAAI;AACT;AACe,SAASK,EAAiBC,GAAU;AACjD,MAAIC,IAAOD,EAAS,gBAAe;AACnC,SAAO;AAAA,IACL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,GAAGC,EAAK;AAAA,MACR,GAAGA,EAAK;AAAA,MACR,OAAOA,EAAK;AAAA,MACZ,QAAQA,EAAK;AAAA,MACb,MAAMD,EAAS,QAAO;AAAA,IAC5B;AAAA,IACI,KAAK;AAAA,MACH,OAAO,SAAUE,GAAM;AAIrB,eAAOF,EAAS,YAAYE,CAAI;AAAA,MAClC;AAAA,MACA,MAAMC,EAAYb,GAAiBU,CAAQ;AAAA,IACjD;AAAA,EACA;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { __extends as l } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import { clone as c, mixin as f } from "../../../../zrender/lib/core/util.js";
|
|
3
|
+
import s from "../../model/Component.js";
|
|
4
|
+
import p from "../../model/mixin/makeStyleMapper.js";
|
|
5
|
+
import { asc as m } from "../../util/number.js";
|
|
6
|
+
import { AxisModelCommonMixin as v } from "../axisModelCommonMixin.js";
|
|
7
|
+
var h = (
|
|
8
|
+
/** @class */
|
|
9
|
+
(function(n) {
|
|
10
|
+
l(r, n);
|
|
11
|
+
function r() {
|
|
12
|
+
var t = n !== null && n.apply(this, arguments) || this;
|
|
13
|
+
return t.type = r.type, t.activeIntervals = [], t;
|
|
14
|
+
}
|
|
15
|
+
return r.prototype.getAreaSelectStyle = function() {
|
|
16
|
+
return p([
|
|
17
|
+
["fill", "color"],
|
|
18
|
+
["lineWidth", "borderWidth"],
|
|
19
|
+
["stroke", "borderColor"],
|
|
20
|
+
["width", "width"],
|
|
21
|
+
["opacity", "opacity"]
|
|
22
|
+
// Option decal is in `DecalObject` but style.decal is in `PatternObject`.
|
|
23
|
+
// So do not transfer decal directly.
|
|
24
|
+
])(this.getModel("areaSelectStyle"));
|
|
25
|
+
}, r.prototype.setActiveIntervals = function(t) {
|
|
26
|
+
var e = this.activeIntervals = c(t);
|
|
27
|
+
if (e)
|
|
28
|
+
for (var i = e.length - 1; i >= 0; i--)
|
|
29
|
+
m(e[i]);
|
|
30
|
+
}, r.prototype.getActiveState = function(t) {
|
|
31
|
+
var e = this.activeIntervals;
|
|
32
|
+
if (!e.length)
|
|
33
|
+
return "normal";
|
|
34
|
+
if (t == null || isNaN(+t))
|
|
35
|
+
return "inactive";
|
|
36
|
+
if (e.length === 1) {
|
|
37
|
+
var i = e[0];
|
|
38
|
+
if (i[0] <= t && t <= i[1])
|
|
39
|
+
return "active";
|
|
40
|
+
} else
|
|
41
|
+
for (var o = 0, a = e.length; o < a; o++)
|
|
42
|
+
if (e[o][0] <= t && t <= e[o][1])
|
|
43
|
+
return "active";
|
|
44
|
+
return "inactive";
|
|
45
|
+
}, r;
|
|
46
|
+
})(s)
|
|
47
|
+
);
|
|
48
|
+
f(h, v);
|
|
49
|
+
export {
|
|
50
|
+
h as default
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=AxisModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AxisModel.js","sources":["../../../../../../node_modules/echarts/lib/coord/parallel/AxisModel.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 * as zrUtil from 'zrender/lib/core/util.js';\nimport ComponentModel from '../../model/Component.js';\nimport makeStyleMapper from '../../model/mixin/makeStyleMapper.js';\nimport * as numberUtil from '../../util/number.js';\nimport { AxisModelCommonMixin } from '../axisModelCommonMixin.js';\nvar ParallelAxisModel = /** @class */function (_super) {\n __extends(ParallelAxisModel, _super);\n function ParallelAxisModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = ParallelAxisModel.type;\n /**\r\n * @readOnly\r\n */\n _this.activeIntervals = [];\n return _this;\n }\n ParallelAxisModel.prototype.getAreaSelectStyle = function () {\n return makeStyleMapper([['fill', 'color'], ['lineWidth', 'borderWidth'], ['stroke', 'borderColor'], ['width', 'width'], ['opacity', 'opacity']\n // Option decal is in `DecalObject` but style.decal is in `PatternObject`.\n // So do not transfer decal directly.\n ])(this.getModel('areaSelectStyle'));\n };\n /**\r\n * The code of this feature is put on AxisModel but not ParallelAxis,\r\n * because axisModel can be alive after echarts updating but instance of\r\n * ParallelAxis having been disposed. this._activeInterval should be kept\r\n * when action dispatched (i.e. legend click).\r\n *\r\n * @param intervals `interval.length === 0` means set all active.\r\n */\n ParallelAxisModel.prototype.setActiveIntervals = function (intervals) {\n var activeIntervals = this.activeIntervals = zrUtil.clone(intervals);\n // Normalize\n if (activeIntervals) {\n for (var i = activeIntervals.length - 1; i >= 0; i--) {\n numberUtil.asc(activeIntervals[i]);\n }\n }\n };\n /**\r\n * @param value When only attempting detect whether 'no activeIntervals set',\r\n * `value` is not needed to be input.\r\n */\n ParallelAxisModel.prototype.getActiveState = function (value) {\n var activeIntervals = this.activeIntervals;\n if (!activeIntervals.length) {\n return 'normal';\n }\n if (value == null || isNaN(+value)) {\n return 'inactive';\n }\n // Simple optimization\n if (activeIntervals.length === 1) {\n var interval = activeIntervals[0];\n if (interval[0] <= value && value <= interval[1]) {\n return 'active';\n }\n } else {\n for (var i = 0, len = activeIntervals.length; i < len; i++) {\n if (activeIntervals[i][0] <= value && value <= activeIntervals[i][1]) {\n return 'active';\n }\n }\n }\n return 'inactive';\n };\n return ParallelAxisModel;\n}(ComponentModel);\nzrUtil.mixin(ParallelAxisModel, AxisModelCommonMixin);\nexport default ParallelAxisModel;"],"names":["ParallelAxisModel","_super","__extends","_this","makeStyleMapper","intervals","activeIntervals","zrUtil.clone","numberUtil.asc","value","interval","i","len","ComponentModel","zrUtil.mixin","AxisModelCommonMixin"],"mappings":";;;;;;AAiDG,IAACA;AAAA;AAAA,GAAiC,SAAUC,GAAQ;AACrD,IAAAC,EAAUF,GAAmBC,CAAM;AACnC,aAASD,IAAoB;AAC3B,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAkB,MAI/BG,EAAM,kBAAkB,CAAA,GACjBA;AAAA,IACT;AACA,WAAAH,EAAkB,UAAU,qBAAqB,WAAY;AAC3D,aAAOI,EAAgB;AAAA,QAAC,CAAC,QAAQ,OAAO;AAAA,QAAG,CAAC,aAAa,aAAa;AAAA,QAAG,CAAC,UAAU,aAAa;AAAA,QAAG,CAAC,SAAS,OAAO;AAAA,QAAG,CAAC,WAAW,SAAS;AAAA;AAAA;AAAA,MAGjJ,CAAK,EAAE,KAAK,SAAS,iBAAiB,CAAC;AAAA,IACrC,GASAJ,EAAkB,UAAU,qBAAqB,SAAUK,GAAW;AACpE,UAAIC,IAAkB,KAAK,kBAAkBC,EAAaF,CAAS;AAEnE,UAAIC;AACF,iBAAS,IAAIA,EAAgB,SAAS,GAAG,KAAK,GAAG;AAC/CE,UAAAA,EAAeF,EAAgB,CAAC,CAAC;AAAA,IAGvC,GAKAN,EAAkB,UAAU,iBAAiB,SAAUS,GAAO;AAC5D,UAAIH,IAAkB,KAAK;AAC3B,UAAI,CAACA,EAAgB;AACnB,eAAO;AAET,UAAIG,KAAS,QAAQ,MAAM,CAACA,CAAK;AAC/B,eAAO;AAGT,UAAIH,EAAgB,WAAW,GAAG;AAChC,YAAII,IAAWJ,EAAgB,CAAC;AAChC,YAAII,EAAS,CAAC,KAAKD,KAASA,KAASC,EAAS,CAAC;AAC7C,iBAAO;AAAA,MAEX;AACE,iBAASC,IAAI,GAAGC,IAAMN,EAAgB,QAAQK,IAAIC,GAAKD;AACrD,cAAIL,EAAgBK,CAAC,EAAE,CAAC,KAAKF,KAASA,KAASH,EAAgBK,CAAC,EAAE,CAAC;AACjE,mBAAO;AAIb,aAAO;AAAA,IACT,GACOX;AAAA,EACT,GAAEa,CAAc;AAAA;AAChBC,EAAad,GAAmBe,CAAoB;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { createHashMap as M, each as E, clone as b } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { rotate as C, translate as P, create as S } from "../../../../zrender/lib/core/matrix.js";
|
|
3
|
+
import { getLayoutRect as I } from "../../util/layout.js";
|
|
4
|
+
import { createScaleByModel as B, niceScaleExtent as D } from "../axisHelper.js";
|
|
5
|
+
import T from "./ParallelAxis.js";
|
|
6
|
+
import { applyTransform as k } from "../../util/graphic.js";
|
|
7
|
+
import { round as N } from "../../util/number.js";
|
|
8
|
+
import F from "../../component/helper/sliderMove.js";
|
|
9
|
+
var f = E, _ = Math.min, A = Math.max, g = Math.floor, z = Math.ceil, W = N, H = Math.PI, X = (
|
|
10
|
+
/** @class */
|
|
11
|
+
(function() {
|
|
12
|
+
function l(a, t, p) {
|
|
13
|
+
this.type = "parallel", this._axesMap = M(), this._axesLayout = {}, this.dimensions = a.dimensions, this._model = a, this._init(a, t, p);
|
|
14
|
+
}
|
|
15
|
+
return l.prototype._init = function(a, t, p) {
|
|
16
|
+
var i = a.dimensions, e = a.parallelAxisIndex;
|
|
17
|
+
f(i, function(n, o) {
|
|
18
|
+
var r = e[o], h = t.getComponent("parallelAxis", r), s = this._axesMap.set(n, new T(n, B(h), [0, 0], h.get("type"), r)), d = s.type === "category";
|
|
19
|
+
s.onBand = d && h.get("boundaryGap"), s.inverse = h.get("inverse"), h.axis = s, s.model = h, s.coordinateSystem = h.coordinateSystem = this;
|
|
20
|
+
}, this);
|
|
21
|
+
}, l.prototype.update = function(a, t) {
|
|
22
|
+
this._updateAxesFromSeries(this._model, a);
|
|
23
|
+
}, l.prototype.containPoint = function(a) {
|
|
24
|
+
var t = this._makeLayoutInfo(), p = t.axisBase, i = t.layoutBase, e = t.pixelDimIndex, n = a[1 - e], o = a[e];
|
|
25
|
+
return n >= p && n <= p + t.axisLength && o >= i && o <= i + t.layoutLength;
|
|
26
|
+
}, l.prototype.getModel = function() {
|
|
27
|
+
return this._model;
|
|
28
|
+
}, l.prototype._updateAxesFromSeries = function(a, t) {
|
|
29
|
+
t.eachSeries(function(p) {
|
|
30
|
+
if (a.contains(p, t)) {
|
|
31
|
+
var i = p.getData();
|
|
32
|
+
f(this.dimensions, function(e) {
|
|
33
|
+
var n = this._axesMap.get(e);
|
|
34
|
+
n.scale.unionExtentFromData(i, i.mapDimension(e)), D(n.scale, n.model);
|
|
35
|
+
}, this);
|
|
36
|
+
}
|
|
37
|
+
}, this);
|
|
38
|
+
}, l.prototype.resize = function(a, t) {
|
|
39
|
+
this._rect = I(a.getBoxLayoutParams(), {
|
|
40
|
+
width: t.getWidth(),
|
|
41
|
+
height: t.getHeight()
|
|
42
|
+
}), this._layoutAxes();
|
|
43
|
+
}, l.prototype.getRect = function() {
|
|
44
|
+
return this._rect;
|
|
45
|
+
}, l.prototype._makeLayoutInfo = function() {
|
|
46
|
+
var a = this._model, t = this._rect, p = ["x", "y"], i = ["width", "height"], e = a.get("layout"), n = e === "horizontal" ? 0 : 1, o = t[i[n]], r = [0, o], h = this.dimensions.length, s = c(a.get("axisExpandWidth"), r), d = c(a.get("axisExpandCount") || 0, [0, h]), u = a.get("axisExpandable") && h > 3 && h > d && d > 1 && s > 0 && o > 0, x = a.get("axisExpandWindow"), v;
|
|
47
|
+
if (x)
|
|
48
|
+
v = c(x[1] - x[0], r), x[1] = x[0] + v;
|
|
49
|
+
else {
|
|
50
|
+
v = c(s * (d - 1), r);
|
|
51
|
+
var y = a.get("axisExpandCenter") || g(h / 2);
|
|
52
|
+
x = [s * y - v / 2], x[1] = x[0] + v;
|
|
53
|
+
}
|
|
54
|
+
var m = (o - v) / (h - d);
|
|
55
|
+
m < 3 && (m = 0);
|
|
56
|
+
var L = [g(W(x[0] / s, 1)) + 1, z(W(x[1] / s, 1)) - 1], w = m / s * x[0];
|
|
57
|
+
return {
|
|
58
|
+
layout: e,
|
|
59
|
+
pixelDimIndex: n,
|
|
60
|
+
layoutBase: t[p[n]],
|
|
61
|
+
layoutLength: o,
|
|
62
|
+
axisBase: t[p[1 - n]],
|
|
63
|
+
axisLength: t[i[1 - n]],
|
|
64
|
+
axisExpandable: u,
|
|
65
|
+
axisExpandWidth: s,
|
|
66
|
+
axisCollapseWidth: m,
|
|
67
|
+
axisExpandWindow: x,
|
|
68
|
+
axisCount: h,
|
|
69
|
+
winInnerIndices: L,
|
|
70
|
+
axisExpandWindow0Pos: w
|
|
71
|
+
};
|
|
72
|
+
}, l.prototype._layoutAxes = function() {
|
|
73
|
+
var a = this._rect, t = this._axesMap, p = this.dimensions, i = this._makeLayoutInfo(), e = i.layout;
|
|
74
|
+
t.each(function(n) {
|
|
75
|
+
var o = [0, i.axisLength], r = n.inverse ? 1 : 0;
|
|
76
|
+
n.setExtent(o[r], o[1 - r]);
|
|
77
|
+
}), f(p, function(n, o) {
|
|
78
|
+
var r = (i.axisExpandable ? $ : R)(o, i), h = {
|
|
79
|
+
horizontal: {
|
|
80
|
+
x: r.position,
|
|
81
|
+
y: i.axisLength
|
|
82
|
+
},
|
|
83
|
+
vertical: {
|
|
84
|
+
x: 0,
|
|
85
|
+
y: r.position
|
|
86
|
+
}
|
|
87
|
+
}, s = {
|
|
88
|
+
horizontal: H / 2,
|
|
89
|
+
vertical: 0
|
|
90
|
+
}, d = [h[e].x + a.x, h[e].y + a.y], u = s[e], x = S();
|
|
91
|
+
C(x, x, u), P(x, x, d), this._axesLayout[n] = {
|
|
92
|
+
position: d,
|
|
93
|
+
rotation: u,
|
|
94
|
+
transform: x,
|
|
95
|
+
axisNameAvailableWidth: r.axisNameAvailableWidth,
|
|
96
|
+
axisLabelShow: r.axisLabelShow,
|
|
97
|
+
nameTruncateMaxWidth: r.nameTruncateMaxWidth,
|
|
98
|
+
tickDirection: 1,
|
|
99
|
+
labelDirection: 1
|
|
100
|
+
};
|
|
101
|
+
}, this);
|
|
102
|
+
}, l.prototype.getAxis = function(a) {
|
|
103
|
+
return this._axesMap.get(a);
|
|
104
|
+
}, l.prototype.dataToPoint = function(a, t) {
|
|
105
|
+
return this.axisCoordToPoint(this._axesMap.get(t).dataToCoord(a), t);
|
|
106
|
+
}, l.prototype.eachActiveState = function(a, t, p, i) {
|
|
107
|
+
p == null && (p = 0), i == null && (i = a.count());
|
|
108
|
+
var e = this._axesMap, n = this.dimensions, o = [], r = [];
|
|
109
|
+
E(n, function(m) {
|
|
110
|
+
o.push(a.mapDimension(m)), r.push(e.get(m).model);
|
|
111
|
+
});
|
|
112
|
+
for (var h = this.hasAxisBrushed(), s = p; s < i; s++) {
|
|
113
|
+
var d = void 0;
|
|
114
|
+
if (!h)
|
|
115
|
+
d = "normal";
|
|
116
|
+
else {
|
|
117
|
+
d = "active";
|
|
118
|
+
for (var u = a.getValues(o, s), x = 0, v = n.length; x < v; x++) {
|
|
119
|
+
var y = r[x].getActiveState(u[x]);
|
|
120
|
+
if (y === "inactive") {
|
|
121
|
+
d = "inactive";
|
|
122
|
+
break;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
t(d, s);
|
|
127
|
+
}
|
|
128
|
+
}, l.prototype.hasAxisBrushed = function() {
|
|
129
|
+
for (var a = this.dimensions, t = this._axesMap, p = !1, i = 0, e = a.length; i < e; i++)
|
|
130
|
+
t.get(a[i]).model.getActiveState() !== "normal" && (p = !0);
|
|
131
|
+
return p;
|
|
132
|
+
}, l.prototype.axisCoordToPoint = function(a, t) {
|
|
133
|
+
var p = this._axesLayout[t];
|
|
134
|
+
return k([a, 0], p.transform);
|
|
135
|
+
}, l.prototype.getAxisLayout = function(a) {
|
|
136
|
+
return b(this._axesLayout[a]);
|
|
137
|
+
}, l.prototype.getSlidedAxisExpandWindow = function(a) {
|
|
138
|
+
var t = this._makeLayoutInfo(), p = t.pixelDimIndex, i = t.axisExpandWindow.slice(), e = i[1] - i[0], n = [0, t.axisExpandWidth * (t.axisCount - 1)];
|
|
139
|
+
if (!this.containPoint(a))
|
|
140
|
+
return {
|
|
141
|
+
behavior: "none",
|
|
142
|
+
axisExpandWindow: i
|
|
143
|
+
};
|
|
144
|
+
var o = a[p] - t.layoutBase - t.axisExpandWindow0Pos, r, h = "slide", s = t.axisCollapseWidth, d = this._model.get("axisExpandSlideTriggerArea"), u = d[0] != null;
|
|
145
|
+
if (s)
|
|
146
|
+
u && s && o < e * d[0] ? (h = "jump", r = o - e * d[2]) : u && s && o > e * (1 - d[0]) ? (h = "jump", r = o - e * (1 - d[2])) : (r = o - e * d[1]) >= 0 && (r = o - e * (1 - d[1])) <= 0 && (r = 0), r *= t.axisExpandWidth / s, r ? F(r, i, n, "all") : h = "none";
|
|
147
|
+
else {
|
|
148
|
+
var x = i[1] - i[0], v = n[1] * o / x;
|
|
149
|
+
i = [A(0, v - x / 2)], i[1] = _(n[1], i[0] + x), i[0] = i[1] - x;
|
|
150
|
+
}
|
|
151
|
+
return {
|
|
152
|
+
axisExpandWindow: i,
|
|
153
|
+
behavior: h
|
|
154
|
+
};
|
|
155
|
+
}, l;
|
|
156
|
+
})()
|
|
157
|
+
);
|
|
158
|
+
function c(l, a) {
|
|
159
|
+
return _(A(l, a[0]), a[1]);
|
|
160
|
+
}
|
|
161
|
+
function R(l, a) {
|
|
162
|
+
var t = a.layoutLength / (a.axisCount - 1);
|
|
163
|
+
return {
|
|
164
|
+
position: t * l,
|
|
165
|
+
axisNameAvailableWidth: t,
|
|
166
|
+
axisLabelShow: !0
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
function $(l, a) {
|
|
170
|
+
var t = a.layoutLength, p = a.axisExpandWidth, i = a.axisCount, e = a.axisCollapseWidth, n = a.winInnerIndices, o, r = e, h = !1, s;
|
|
171
|
+
return l < n[0] ? (o = l * e, s = e) : l <= n[1] ? (o = a.axisExpandWindow0Pos + l * p - a.axisExpandWindow[0], r = p, h = !0) : (o = t - (i - 1 - l) * e, s = e), {
|
|
172
|
+
position: o,
|
|
173
|
+
axisNameAvailableWidth: r,
|
|
174
|
+
axisLabelShow: h,
|
|
175
|
+
nameTruncateMaxWidth: s
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
export {
|
|
179
|
+
X as default
|
|
180
|
+
};
|
|
181
|
+
//# sourceMappingURL=Parallel.js.map
|