@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 @@
|
|
|
1
|
+
{"version":3,"file":"AxisPointerView.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/AxisPointerView.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 globalListener from './globalListener.js';\nimport ComponentView from '../../view/Component.js';\nvar AxisPointerView = /** @class */function (_super) {\n __extends(AxisPointerView, _super);\n function AxisPointerView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = AxisPointerView.type;\n return _this;\n }\n AxisPointerView.prototype.render = function (globalAxisPointerModel, ecModel, api) {\n var globalTooltipModel = ecModel.getComponent('tooltip');\n var triggerOn = globalAxisPointerModel.get('triggerOn') || globalTooltipModel && globalTooltipModel.get('triggerOn') || 'mousemove|click';\n // Register global listener in AxisPointerView to enable\n // AxisPointerView to be independent to Tooltip.\n globalListener.register('axisPointer', api, function (currTrigger, e, dispatchAction) {\n // If 'none', it is not controlled by mouse totally.\n if (triggerOn !== 'none' && (currTrigger === 'leave' || triggerOn.indexOf(currTrigger) >= 0)) {\n dispatchAction({\n type: 'updateAxisPointer',\n currTrigger: currTrigger,\n x: e && e.offsetX,\n y: e && e.offsetY\n });\n }\n });\n };\n AxisPointerView.prototype.remove = function (ecModel, api) {\n globalListener.unregister('axisPointer', api);\n };\n AxisPointerView.prototype.dispose = function (ecModel, api) {\n globalListener.unregister('axisPointer', api);\n };\n AxisPointerView.type = 'axisPointer';\n return AxisPointerView;\n}(ComponentView);\nexport default AxisPointerView;"],"names":["AxisPointerView","_super","__extends","_this","globalAxisPointerModel","ecModel","api","globalTooltipModel","triggerOn","globalListener.register","currTrigger","e","dispatchAction","globalListener.unregister","ComponentView"],"mappings":";;;AA8CG,IAACA;AAAA;AAAA,GAA+B,SAAUC,GAAQ;AACnD,IAAAC,EAAUF,GAAiBC,CAAM;AACjC,aAASD,IAAkB;AACzB,UAAIG,IAAQF,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAChE,aAAAE,EAAM,OAAOH,EAAgB,MACtBG;AAAA,IACT;AACA,WAAAH,EAAgB,UAAU,SAAS,SAAUI,GAAwBC,GAASC,GAAK;AACjF,UAAIC,IAAqBF,EAAQ,aAAa,SAAS,GACnDG,IAAYJ,EAAuB,IAAI,WAAW,KAAKG,KAAsBA,EAAmB,IAAI,WAAW,KAAK;AAGxHE,MAAAA,EAAwB,eAAeH,GAAK,SAAUI,GAAaC,GAAGC,GAAgB;AAEpF,QAAIJ,MAAc,WAAWE,MAAgB,WAAWF,EAAU,QAAQE,CAAW,KAAK,MACxFE,EAAe;AAAA,UACb,MAAM;AAAA,UACN,aAAaF;AAAA,UACb,GAAGC,KAAKA,EAAE;AAAA,UACV,GAAGA,KAAKA,EAAE;AAAA,QACpB,CAAS;AAAA,MAEL,CAAC;AAAA,IACH,GACAX,EAAgB,UAAU,SAAS,SAAUK,GAASC,GAAK;AACzDO,MAAAA,EAA0B,eAAeP,CAAG;AAAA,IAC9C,GACAN,EAAgB,UAAU,UAAU,SAAUK,GAASC,GAAK;AAC1DO,MAAAA,EAA0B,eAAeP,CAAG;AAAA,IAC9C,GACAN,EAAgB,OAAO,eAChBA;AAAA,EACT,GAAEc,CAAa;AAAA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { curry as E, isArray as x, clone as H, bind as P, isObject as v, each as w } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import * as z from "../../util/graphic.js";
|
|
3
|
+
import { createIcon as S } from "../../util/graphic.js";
|
|
4
|
+
import { getAxisInfo as T } from "./modelHelper.js";
|
|
5
|
+
import { stop as M } from "../../../../zrender/lib/core/event.js";
|
|
6
|
+
import { createOrUpdate as I, clear as D } from "../../util/throttle.js";
|
|
7
|
+
import { makeInner as L } from "../../util/model.js";
|
|
8
|
+
import V from "../../../../zrender/lib/graphic/Group.js";
|
|
9
|
+
import C from "../../../../zrender/lib/graphic/Text.js";
|
|
10
|
+
import { updateProps as K } from "../../animation/basicTransition.js";
|
|
11
|
+
var u = L(), _ = H, p = P, Y = (
|
|
12
|
+
/** @class */
|
|
13
|
+
(function() {
|
|
14
|
+
function r() {
|
|
15
|
+
this._dragging = !1, this.animationThreshold = 15;
|
|
16
|
+
}
|
|
17
|
+
return r.prototype.render = function(e, t, a, i) {
|
|
18
|
+
var o = t.get("value"), l = t.get("status");
|
|
19
|
+
if (this._axisModel = e, this._axisPointerModel = t, this._api = a, !(!i && this._lastValue === o && this._lastStatus === l)) {
|
|
20
|
+
this._lastValue = o, this._lastStatus = l;
|
|
21
|
+
var n = this._group, s = this._handle;
|
|
22
|
+
if (!l || l === "hide") {
|
|
23
|
+
n && n.hide(), s && s.hide();
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
n && n.show(), s && s.show();
|
|
27
|
+
var h = {};
|
|
28
|
+
this.makeElOption(h, o, e, t, a);
|
|
29
|
+
var f = h.graphicKey;
|
|
30
|
+
f !== this._lastGraphicKey && this.clear(a), this._lastGraphicKey = f;
|
|
31
|
+
var A = this._moveAnimation = this.determineAnimation(e, t);
|
|
32
|
+
if (!n)
|
|
33
|
+
n = this._group = new V(), this.createPointerEl(n, h, e, t), this.createLabelEl(n, h, e, t), a.getZr().add(n);
|
|
34
|
+
else {
|
|
35
|
+
var c = E(g, t, A);
|
|
36
|
+
this.updatePointerEl(n, h, c), this.updateLabelEl(n, h, c, t);
|
|
37
|
+
}
|
|
38
|
+
y(n, t, !0), this._renderHandle(o);
|
|
39
|
+
}
|
|
40
|
+
}, r.prototype.remove = function(e) {
|
|
41
|
+
this.clear(e);
|
|
42
|
+
}, r.prototype.dispose = function(e) {
|
|
43
|
+
this.clear(e);
|
|
44
|
+
}, r.prototype.determineAnimation = function(e, t) {
|
|
45
|
+
var a = t.get("animation"), i = e.axis, o = i.type === "category", l = t.get("snap");
|
|
46
|
+
if (!l && !o)
|
|
47
|
+
return !1;
|
|
48
|
+
if (a === "auto" || a == null) {
|
|
49
|
+
var n = this.animationThreshold;
|
|
50
|
+
if (o && i.getBandWidth() > n)
|
|
51
|
+
return !0;
|
|
52
|
+
if (l) {
|
|
53
|
+
var s = T(e).seriesDataCount, h = i.getExtent();
|
|
54
|
+
return Math.abs(h[0] - h[1]) / s > n;
|
|
55
|
+
}
|
|
56
|
+
return !1;
|
|
57
|
+
}
|
|
58
|
+
return a === !0;
|
|
59
|
+
}, r.prototype.makeElOption = function(e, t, a, i, o) {
|
|
60
|
+
}, r.prototype.createPointerEl = function(e, t, a, i) {
|
|
61
|
+
var o = t.pointer;
|
|
62
|
+
if (o) {
|
|
63
|
+
var l = u(e).pointerEl = new z[o.type](_(t.pointer));
|
|
64
|
+
e.add(l);
|
|
65
|
+
}
|
|
66
|
+
}, r.prototype.createLabelEl = function(e, t, a, i) {
|
|
67
|
+
if (t.label) {
|
|
68
|
+
var o = u(e).labelEl = new C(_(t.label));
|
|
69
|
+
e.add(o), m(o, i);
|
|
70
|
+
}
|
|
71
|
+
}, r.prototype.updatePointerEl = function(e, t, a) {
|
|
72
|
+
var i = u(e).pointerEl;
|
|
73
|
+
i && t.pointer && (i.setStyle(t.pointer.style), a(i, {
|
|
74
|
+
shape: t.pointer.shape
|
|
75
|
+
}));
|
|
76
|
+
}, r.prototype.updateLabelEl = function(e, t, a, i) {
|
|
77
|
+
var o = u(e).labelEl;
|
|
78
|
+
o && (o.setStyle(t.label.style), a(o, {
|
|
79
|
+
// Consider text length change in vertical axis, animation should
|
|
80
|
+
// be used on shape, otherwise the effect will be weird.
|
|
81
|
+
// TODOTODO
|
|
82
|
+
// shape: elOption.label.shape,
|
|
83
|
+
x: t.label.x,
|
|
84
|
+
y: t.label.y
|
|
85
|
+
}), m(o, i));
|
|
86
|
+
}, r.prototype._renderHandle = function(e) {
|
|
87
|
+
if (!(this._dragging || !this.updateHandleTransform)) {
|
|
88
|
+
var t = this._axisPointerModel, a = this._api.getZr(), i = this._handle, o = t.getModel("handle"), l = t.get("status");
|
|
89
|
+
if (!o.get("show") || !l || l === "hide") {
|
|
90
|
+
i && a.remove(i), this._handle = null;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
var n;
|
|
94
|
+
this._handle || (n = !0, i = this._handle = S(o.get("icon"), {
|
|
95
|
+
cursor: "move",
|
|
96
|
+
draggable: !0,
|
|
97
|
+
onmousemove: function(h) {
|
|
98
|
+
M(h.event);
|
|
99
|
+
},
|
|
100
|
+
onmousedown: p(this._onHandleDragMove, this, 0, 0),
|
|
101
|
+
drift: p(this._onHandleDragMove, this),
|
|
102
|
+
ondragend: p(this._onHandleDragEnd, this)
|
|
103
|
+
}), a.add(i)), y(i, t, !1), i.setStyle(o.getItemStyle(null, ["color", "borderColor", "borderWidth", "opacity", "shadowColor", "shadowBlur", "shadowOffsetX", "shadowOffsetY"]));
|
|
104
|
+
var s = o.get("size");
|
|
105
|
+
x(s) || (s = [s, s]), i.scaleX = s[0] / 2, i.scaleY = s[1] / 2, I(this, "_doDispatchAxisPointer", o.get("throttle") || 0, "fixRate"), this._moveHandleToValue(e, n);
|
|
106
|
+
}
|
|
107
|
+
}, r.prototype._moveHandleToValue = function(e, t) {
|
|
108
|
+
g(this._axisPointerModel, !t && this._moveAnimation, this._handle, d(this.getHandleTransform(e, this._axisModel, this._axisPointerModel)));
|
|
109
|
+
}, r.prototype._onHandleDragMove = function(e, t) {
|
|
110
|
+
var a = this._handle;
|
|
111
|
+
if (a) {
|
|
112
|
+
this._dragging = !0;
|
|
113
|
+
var i = this.updateHandleTransform(d(a), [e, t], this._axisModel, this._axisPointerModel);
|
|
114
|
+
this._payloadInfo = i, a.stopAnimation(), a.attr(d(i)), u(a).lastProp = null, this._doDispatchAxisPointer();
|
|
115
|
+
}
|
|
116
|
+
}, r.prototype._doDispatchAxisPointer = function() {
|
|
117
|
+
var e = this._handle;
|
|
118
|
+
if (e) {
|
|
119
|
+
var t = this._payloadInfo, a = this._axisModel;
|
|
120
|
+
this._api.dispatchAction({
|
|
121
|
+
type: "updateAxisPointer",
|
|
122
|
+
x: t.cursorPoint[0],
|
|
123
|
+
y: t.cursorPoint[1],
|
|
124
|
+
tooltipOption: t.tooltipOption,
|
|
125
|
+
axesInfo: [{
|
|
126
|
+
axisDim: a.axis.dim,
|
|
127
|
+
axisIndex: a.componentIndex
|
|
128
|
+
}]
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
}, r.prototype._onHandleDragEnd = function() {
|
|
132
|
+
this._dragging = !1;
|
|
133
|
+
var e = this._handle;
|
|
134
|
+
if (e) {
|
|
135
|
+
var t = this._axisPointerModel.get("value");
|
|
136
|
+
this._moveHandleToValue(t), this._api.dispatchAction({
|
|
137
|
+
type: "hideTip"
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
}, r.prototype.clear = function(e) {
|
|
141
|
+
this._lastValue = null, this._lastStatus = null;
|
|
142
|
+
var t = e.getZr(), a = this._group, i = this._handle;
|
|
143
|
+
t && a && (this._lastGraphicKey = null, a && t.remove(a), i && t.remove(i), this._group = null, this._handle = null, this._payloadInfo = null), D(this, "_doDispatchAxisPointer");
|
|
144
|
+
}, r.prototype.doClear = function() {
|
|
145
|
+
}, r.prototype.buildLabel = function(e, t, a) {
|
|
146
|
+
return a = a || 0, {
|
|
147
|
+
x: e[a],
|
|
148
|
+
y: e[1 - a],
|
|
149
|
+
width: t[a],
|
|
150
|
+
height: t[1 - a]
|
|
151
|
+
};
|
|
152
|
+
}, r;
|
|
153
|
+
})()
|
|
154
|
+
);
|
|
155
|
+
function g(r, e, t, a) {
|
|
156
|
+
b(u(t).lastProp, a) || (u(t).lastProp = a, e ? K(t, a, r) : (t.stopAnimation(), t.attr(a)));
|
|
157
|
+
}
|
|
158
|
+
function b(r, e) {
|
|
159
|
+
if (v(r) && v(e)) {
|
|
160
|
+
var t = !0;
|
|
161
|
+
return w(e, function(a, i) {
|
|
162
|
+
t = t && b(r[i], a);
|
|
163
|
+
}), !!t;
|
|
164
|
+
} else
|
|
165
|
+
return r === e;
|
|
166
|
+
}
|
|
167
|
+
function m(r, e) {
|
|
168
|
+
r[e.get(["label", "show"]) ? "show" : "hide"]();
|
|
169
|
+
}
|
|
170
|
+
function d(r) {
|
|
171
|
+
return {
|
|
172
|
+
x: r.x || 0,
|
|
173
|
+
y: r.y || 0,
|
|
174
|
+
rotation: r.rotation || 0
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
function y(r, e, t) {
|
|
178
|
+
var a = e.get("z"), i = e.get("zlevel");
|
|
179
|
+
r && r.traverse(function(o) {
|
|
180
|
+
o.type !== "group" && (a != null && (o.z = a), i != null && (o.zlevel = i), o.silent = t);
|
|
181
|
+
});
|
|
182
|
+
}
|
|
183
|
+
export {
|
|
184
|
+
Y as default
|
|
185
|
+
};
|
|
186
|
+
//# sourceMappingURL=BaseAxisPointer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseAxisPointer.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.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 * as graphic from '../../util/graphic.js';\nimport * as axisPointerModelHelper from './modelHelper.js';\nimport * as eventTool from 'zrender/lib/core/event.js';\nimport * as throttleUtil from '../../util/throttle.js';\nimport { makeInner } from '../../util/model.js';\nvar inner = makeInner();\nvar clone = zrUtil.clone;\nvar bind = zrUtil.bind;\n/**\r\n * Base axis pointer class in 2D.\r\n */\nvar BaseAxisPointer = /** @class */function () {\n function BaseAxisPointer() {\n this._dragging = false;\n /**\r\n * In px, arbitrary value. Do not set too small,\r\n * no animation is ok for most cases.\r\n */\n this.animationThreshold = 15;\n }\n /**\r\n * @implement\r\n */\n BaseAxisPointer.prototype.render = function (axisModel, axisPointerModel, api, forceRender) {\n var value = axisPointerModel.get('value');\n var status = axisPointerModel.get('status');\n // Bind them to `this`, not in closure, otherwise they will not\n // be replaced when user calling setOption in not merge mode.\n this._axisModel = axisModel;\n this._axisPointerModel = axisPointerModel;\n this._api = api;\n // Optimize: `render` will be called repeatedly during mouse move.\n // So it is power consuming if performing `render` each time,\n // especially on mobile device.\n if (!forceRender && this._lastValue === value && this._lastStatus === status) {\n return;\n }\n this._lastValue = value;\n this._lastStatus = status;\n var group = this._group;\n var handle = this._handle;\n if (!status || status === 'hide') {\n // Do not clear here, for animation better.\n group && group.hide();\n handle && handle.hide();\n return;\n }\n group && group.show();\n handle && handle.show();\n // Otherwise status is 'show'\n var elOption = {};\n this.makeElOption(elOption, value, axisModel, axisPointerModel, api);\n // Enable change axis pointer type.\n var graphicKey = elOption.graphicKey;\n if (graphicKey !== this._lastGraphicKey) {\n this.clear(api);\n }\n this._lastGraphicKey = graphicKey;\n var moveAnimation = this._moveAnimation = this.determineAnimation(axisModel, axisPointerModel);\n if (!group) {\n group = this._group = new graphic.Group();\n this.createPointerEl(group, elOption, axisModel, axisPointerModel);\n this.createLabelEl(group, elOption, axisModel, axisPointerModel);\n api.getZr().add(group);\n } else {\n var doUpdateProps = zrUtil.curry(updateProps, axisPointerModel, moveAnimation);\n this.updatePointerEl(group, elOption, doUpdateProps);\n this.updateLabelEl(group, elOption, doUpdateProps, axisPointerModel);\n }\n updateMandatoryProps(group, axisPointerModel, true);\n this._renderHandle(value);\n };\n /**\r\n * @implement\r\n */\n BaseAxisPointer.prototype.remove = function (api) {\n this.clear(api);\n };\n /**\r\n * @implement\r\n */\n BaseAxisPointer.prototype.dispose = function (api) {\n this.clear(api);\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.determineAnimation = function (axisModel, axisPointerModel) {\n var animation = axisPointerModel.get('animation');\n var axis = axisModel.axis;\n var isCategoryAxis = axis.type === 'category';\n var useSnap = axisPointerModel.get('snap');\n // Value axis without snap always do not snap.\n if (!useSnap && !isCategoryAxis) {\n return false;\n }\n if (animation === 'auto' || animation == null) {\n var animationThreshold = this.animationThreshold;\n if (isCategoryAxis && axis.getBandWidth() > animationThreshold) {\n return true;\n }\n // It is important to auto animation when snap used. Consider if there is\n // a dataZoom, animation will be disabled when too many points exist, while\n // it will be enabled for better visual effect when little points exist.\n if (useSnap) {\n var seriesDataCount = axisPointerModelHelper.getAxisInfo(axisModel).seriesDataCount;\n var axisExtent = axis.getExtent();\n // Approximate band width\n return Math.abs(axisExtent[0] - axisExtent[1]) / seriesDataCount > animationThreshold;\n }\n return false;\n }\n return animation === true;\n };\n /**\r\n * add {pointer, label, graphicKey} to elOption\r\n * @protected\r\n */\n BaseAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {\n // Should be implemenented by sub-class.\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.createPointerEl = function (group, elOption, axisModel, axisPointerModel) {\n var pointerOption = elOption.pointer;\n if (pointerOption) {\n var pointerEl = inner(group).pointerEl = new graphic[pointerOption.type](clone(elOption.pointer));\n group.add(pointerEl);\n }\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.createLabelEl = function (group, elOption, axisModel, axisPointerModel) {\n if (elOption.label) {\n var labelEl = inner(group).labelEl = new graphic.Text(clone(elOption.label));\n group.add(labelEl);\n updateLabelShowHide(labelEl, axisPointerModel);\n }\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.updatePointerEl = function (group, elOption, updateProps) {\n var pointerEl = inner(group).pointerEl;\n if (pointerEl && elOption.pointer) {\n pointerEl.setStyle(elOption.pointer.style);\n updateProps(pointerEl, {\n shape: elOption.pointer.shape\n });\n }\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.updateLabelEl = function (group, elOption, updateProps, axisPointerModel) {\n var labelEl = inner(group).labelEl;\n if (labelEl) {\n labelEl.setStyle(elOption.label.style);\n updateProps(labelEl, {\n // Consider text length change in vertical axis, animation should\n // be used on shape, otherwise the effect will be weird.\n // TODOTODO\n // shape: elOption.label.shape,\n x: elOption.label.x,\n y: elOption.label.y\n });\n updateLabelShowHide(labelEl, axisPointerModel);\n }\n };\n /**\r\n * @private\r\n */\n BaseAxisPointer.prototype._renderHandle = function (value) {\n if (this._dragging || !this.updateHandleTransform) {\n return;\n }\n var axisPointerModel = this._axisPointerModel;\n var zr = this._api.getZr();\n var handle = this._handle;\n var handleModel = axisPointerModel.getModel('handle');\n var status = axisPointerModel.get('status');\n if (!handleModel.get('show') || !status || status === 'hide') {\n handle && zr.remove(handle);\n this._handle = null;\n return;\n }\n var isInit;\n if (!this._handle) {\n isInit = true;\n handle = this._handle = graphic.createIcon(handleModel.get('icon'), {\n cursor: 'move',\n draggable: true,\n onmousemove: function (e) {\n // For mobile device, prevent screen slider on the button.\n eventTool.stop(e.event);\n },\n onmousedown: bind(this._onHandleDragMove, this, 0, 0),\n drift: bind(this._onHandleDragMove, this),\n ondragend: bind(this._onHandleDragEnd, this)\n });\n zr.add(handle);\n }\n updateMandatoryProps(handle, axisPointerModel, false);\n // update style\n handle.setStyle(handleModel.getItemStyle(null, ['color', 'borderColor', 'borderWidth', 'opacity', 'shadowColor', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY']));\n // update position\n var handleSize = handleModel.get('size');\n if (!zrUtil.isArray(handleSize)) {\n handleSize = [handleSize, handleSize];\n }\n handle.scaleX = handleSize[0] / 2;\n handle.scaleY = handleSize[1] / 2;\n throttleUtil.createOrUpdate(this, '_doDispatchAxisPointer', handleModel.get('throttle') || 0, 'fixRate');\n this._moveHandleToValue(value, isInit);\n };\n BaseAxisPointer.prototype._moveHandleToValue = function (value, isInit) {\n updateProps(this._axisPointerModel, !isInit && this._moveAnimation, this._handle, getHandleTransProps(this.getHandleTransform(value, this._axisModel, this._axisPointerModel)));\n };\n BaseAxisPointer.prototype._onHandleDragMove = function (dx, dy) {\n var handle = this._handle;\n if (!handle) {\n return;\n }\n this._dragging = true;\n // Persistent for throttle.\n var trans = this.updateHandleTransform(getHandleTransProps(handle), [dx, dy], this._axisModel, this._axisPointerModel);\n this._payloadInfo = trans;\n handle.stopAnimation();\n handle.attr(getHandleTransProps(trans));\n inner(handle).lastProp = null;\n this._doDispatchAxisPointer();\n };\n /**\r\n * Throttled method.\r\n */\n BaseAxisPointer.prototype._doDispatchAxisPointer = function () {\n var handle = this._handle;\n if (!handle) {\n return;\n }\n var payloadInfo = this._payloadInfo;\n var axisModel = this._axisModel;\n this._api.dispatchAction({\n type: 'updateAxisPointer',\n x: payloadInfo.cursorPoint[0],\n y: payloadInfo.cursorPoint[1],\n tooltipOption: payloadInfo.tooltipOption,\n axesInfo: [{\n axisDim: axisModel.axis.dim,\n axisIndex: axisModel.componentIndex\n }]\n });\n };\n BaseAxisPointer.prototype._onHandleDragEnd = function () {\n this._dragging = false;\n var handle = this._handle;\n if (!handle) {\n return;\n }\n var value = this._axisPointerModel.get('value');\n // Consider snap or categroy axis, handle may be not consistent with\n // axisPointer. So move handle to align the exact value position when\n // drag ended.\n this._moveHandleToValue(value);\n // For the effect: tooltip will be shown when finger holding on handle\n // button, and will be hidden after finger left handle button.\n this._api.dispatchAction({\n type: 'hideTip'\n });\n };\n /**\r\n * @private\r\n */\n BaseAxisPointer.prototype.clear = function (api) {\n this._lastValue = null;\n this._lastStatus = null;\n var zr = api.getZr();\n var group = this._group;\n var handle = this._handle;\n if (zr && group) {\n this._lastGraphicKey = null;\n group && zr.remove(group);\n handle && zr.remove(handle);\n this._group = null;\n this._handle = null;\n this._payloadInfo = null;\n }\n throttleUtil.clear(this, '_doDispatchAxisPointer');\n };\n /**\r\n * @protected\r\n */\n BaseAxisPointer.prototype.doClear = function () {\n // Implemented by sub-class if necessary.\n };\n BaseAxisPointer.prototype.buildLabel = function (xy, wh, xDimIndex) {\n xDimIndex = xDimIndex || 0;\n return {\n x: xy[xDimIndex],\n y: xy[1 - xDimIndex],\n width: wh[xDimIndex],\n height: wh[1 - xDimIndex]\n };\n };\n return BaseAxisPointer;\n}();\nfunction updateProps(animationModel, moveAnimation, el, props) {\n // Animation optimize.\n if (!propsEqual(inner(el).lastProp, props)) {\n inner(el).lastProp = props;\n moveAnimation ? graphic.updateProps(el, props, animationModel) : (el.stopAnimation(), el.attr(props));\n }\n}\nfunction propsEqual(lastProps, newProps) {\n if (zrUtil.isObject(lastProps) && zrUtil.isObject(newProps)) {\n var equals_1 = true;\n zrUtil.each(newProps, function (item, key) {\n equals_1 = equals_1 && propsEqual(lastProps[key], item);\n });\n return !!equals_1;\n } else {\n return lastProps === newProps;\n }\n}\nfunction updateLabelShowHide(labelEl, axisPointerModel) {\n labelEl[axisPointerModel.get(['label', 'show']) ? 'show' : 'hide']();\n}\nfunction getHandleTransProps(trans) {\n return {\n x: trans.x || 0,\n y: trans.y || 0,\n rotation: trans.rotation || 0\n };\n}\nfunction updateMandatoryProps(group, axisPointerModel, silent) {\n var z = axisPointerModel.get('z');\n var zlevel = axisPointerModel.get('zlevel');\n group && group.traverse(function (el) {\n if (el.type !== 'group') {\n z != null && (el.z = z);\n zlevel != null && (el.zlevel = zlevel);\n el.silent = silent;\n }\n });\n}\nexport default BaseAxisPointer;"],"names":["inner","makeInner","clone","zrUtil.clone","bind","zrUtil.bind","BaseAxisPointer","axisModel","axisPointerModel","api","forceRender","value","status","group","handle","elOption","graphicKey","moveAnimation","graphic.Group","doUpdateProps","zrUtil.curry","updateProps","updateMandatoryProps","animation","axis","isCategoryAxis","useSnap","animationThreshold","seriesDataCount","axisPointerModelHelper.getAxisInfo","axisExtent","pointerOption","pointerEl","graphic","labelEl","graphic.Text","updateLabelShowHide","zr","handleModel","isInit","graphic.createIcon","e","eventTool.stop","handleSize","zrUtil.isArray","throttleUtil.createOrUpdate","getHandleTransProps","dx","dy","trans","payloadInfo","throttleUtil.clear","xy","wh","xDimIndex","animationModel","el","props","propsEqual","graphic.updateProps","lastProps","newProps","zrUtil.isObject","equals_1","zrUtil.each","item","key","silent","z","zlevel"],"mappings":";;;;;;;;;;AAiDA,IAAIA,IAAQC,EAAS,GACjBC,IAAQC,GACRC,IAAOC,GAIPC;AAAA;AAAA,GAA+B,WAAY;AAC7C,aAASA,IAAkB;AACzB,WAAK,YAAY,IAKjB,KAAK,qBAAqB;AAAA,IAC5B;AAIA,WAAAA,EAAgB,UAAU,SAAS,SAAUC,GAAWC,GAAkBC,GAAKC,GAAa;AAC1F,UAAIC,IAAQH,EAAiB,IAAI,OAAO,GACpCI,IAASJ,EAAiB,IAAI,QAAQ;AAS1C,UANA,KAAK,aAAaD,GAClB,KAAK,oBAAoBC,GACzB,KAAK,OAAOC,GAIR,GAACC,KAAe,KAAK,eAAeC,KAAS,KAAK,gBAAgBC,IAGtE;AAAA,aAAK,aAAaD,GAClB,KAAK,cAAcC;AACnB,YAAIC,IAAQ,KAAK,QACbC,IAAS,KAAK;AAClB,YAAI,CAACF,KAAUA,MAAW,QAAQ;AAEhC,UAAAC,KAASA,EAAM,KAAI,GACnBC,KAAUA,EAAO,KAAI;AACrB;AAAA,QACF;AACA,QAAAD,KAASA,EAAM,K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,CAAS,KAAKE,EAAgBD,CAAQ,GAAG;AAC3D,QAAIE,IAAW;AACfC,WAAAA,EAAYH,GAAU,SAAUI,GAAMC,GAAK;AACzC,MAAAH,IAAWA,KAAYL,EAAWE,EAAUM,CAAG,GAAGD,CAAI;AAAA,IACxD,CAAC,GACM,CAAC,CAACF;AAAA,EACX;AACE,WAAOH,MAAcC;AAEzB;AACA,SAASzB,EAAoBF,GAAS1B,GAAkB;AACtD,EAAA0B,EAAQ1B,EAAiB,IAAI,CAAC,SAAS,MAAM,CAAC,IAAI,SAAS,MAAM,EAAC;AACpE;AACA,SAASsC,EAAoBG,GAAO;AAClC,SAAO;AAAA,IACL,GAAGA,EAAM,KAAK;AAAA,IACd,GAAGA,EAAM,KAAK;AAAA,IACd,UAAUA,EAAM,YAAY;AAAA,EAChC;AACA;AACA,SAAS3B,EAAqBT,GAAOL,GAAkB2D,GAAQ;AAC7D,MAAIC,IAAI5D,EAAiB,IAAI,GAAG,GAC5B6D,IAAS7D,EAAiB,IAAI,QAAQ;AAC1C,EAAAK,KAASA,EAAM,SAAS,SAAU2C,GAAI;AACpC,IAAIA,EAAG,SAAS,YACdY,KAAK,SAASZ,EAAG,IAAIY,IACrBC,KAAU,SAASb,EAAG,SAASa,IAC/Bb,EAAG,SAASW;AAAA,EAEhB,CAAC;AACH;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { __extends as h } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import y from "./BaseAxisPointer.js";
|
|
3
|
+
import { buildElStyle as b, buildCartesianSingleLabelElOption as P, getTransformedPosition as A, makeRectShape as C, makeLineShape as I } from "./viewHelper.js";
|
|
4
|
+
import { layout as x } from "../../coord/cartesian/cartesianAxisHelper.js";
|
|
5
|
+
var k = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(e) {
|
|
8
|
+
h(r, e);
|
|
9
|
+
function r() {
|
|
10
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
return r.prototype.makeElOption = function(t, a, l, s, n) {
|
|
13
|
+
var u = l.axis, g = u.grid, d = s.get("type"), i = c(g, u).getOtherAxis(u).getGlobalExtent(), o = u.toGlobalCoord(u.dataToCoord(a, !0));
|
|
14
|
+
if (d && d !== "none") {
|
|
15
|
+
var m = b(s), p = E[d](u, o, i);
|
|
16
|
+
p.style = m, t.graphicKey = p.type, t.pointer = p;
|
|
17
|
+
}
|
|
18
|
+
var v = x(g.model, l);
|
|
19
|
+
P(
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
a,
|
|
22
|
+
t,
|
|
23
|
+
v,
|
|
24
|
+
l,
|
|
25
|
+
s,
|
|
26
|
+
n
|
|
27
|
+
);
|
|
28
|
+
}, r.prototype.getHandleTransform = function(t, a, l) {
|
|
29
|
+
var s = x(a.axis.grid.model, a, {
|
|
30
|
+
labelInside: !1
|
|
31
|
+
});
|
|
32
|
+
s.labelMargin = l.get(["handle", "margin"]);
|
|
33
|
+
var n = A(a.axis, t, s);
|
|
34
|
+
return {
|
|
35
|
+
x: n[0],
|
|
36
|
+
y: n[1],
|
|
37
|
+
rotation: s.rotation + (s.labelDirection < 0 ? Math.PI : 0)
|
|
38
|
+
};
|
|
39
|
+
}, r.prototype.updateHandleTransform = function(t, a, l, s) {
|
|
40
|
+
var n = l.axis, u = n.grid, g = n.getGlobalExtent(!0), d = c(u, n).getOtherAxis(n).getGlobalExtent(), i = n.dim === "x" ? 0 : 1, o = [t.x, t.y];
|
|
41
|
+
o[i] += a[i], o[i] = Math.min(g[1], o[i]), o[i] = Math.max(g[0], o[i]);
|
|
42
|
+
var m = (d[1] + d[0]) / 2, p = [m, m];
|
|
43
|
+
p[i] = o[i];
|
|
44
|
+
var v = [{
|
|
45
|
+
verticalAlign: "middle"
|
|
46
|
+
}, {
|
|
47
|
+
align: "center"
|
|
48
|
+
}];
|
|
49
|
+
return {
|
|
50
|
+
x: o[0],
|
|
51
|
+
y: o[1],
|
|
52
|
+
rotation: t.rotation,
|
|
53
|
+
cursorPoint: p,
|
|
54
|
+
tooltipOption: v[i]
|
|
55
|
+
};
|
|
56
|
+
}, r;
|
|
57
|
+
})(y)
|
|
58
|
+
);
|
|
59
|
+
function c(e, r) {
|
|
60
|
+
var t = {};
|
|
61
|
+
return t[r.dim + "AxisIndex"] = r.index, e.getCartesian(t);
|
|
62
|
+
}
|
|
63
|
+
var E = {
|
|
64
|
+
line: function(e, r, t) {
|
|
65
|
+
var a = I([r, t[0]], [r, t[1]], f(e));
|
|
66
|
+
return {
|
|
67
|
+
type: "Line",
|
|
68
|
+
subPixelOptimize: !0,
|
|
69
|
+
shape: a
|
|
70
|
+
};
|
|
71
|
+
},
|
|
72
|
+
shadow: function(e, r, t) {
|
|
73
|
+
var a = Math.max(1, e.getBandWidth()), l = t[1] - t[0];
|
|
74
|
+
return {
|
|
75
|
+
type: "Rect",
|
|
76
|
+
shape: C([r - a / 2, t[0]], [a, l], f(e))
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
function f(e) {
|
|
81
|
+
return e.dim === "x" ? 0 : 1;
|
|
82
|
+
}
|
|
83
|
+
export {
|
|
84
|
+
k as default
|
|
85
|
+
};
|
|
86
|
+
//# sourceMappingURL=CartesianAxisPointer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CartesianAxisPointer.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.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 BaseAxisPointer from './BaseAxisPointer.js';\nimport * as viewHelper from './viewHelper.js';\nimport * as cartesianAxisHelper from '../../coord/cartesian/cartesianAxisHelper.js';\nvar CartesianAxisPointer = /** @class */function (_super) {\n __extends(CartesianAxisPointer, _super);\n function CartesianAxisPointer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\r\n * @override\r\n */\n CartesianAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {\n var axis = axisModel.axis;\n var grid = axis.grid;\n var axisPointerType = axisPointerModel.get('type');\n var otherExtent = getCartesian(grid, axis).getOtherAxis(axis).getGlobalExtent();\n var pixelValue = axis.toGlobalCoord(axis.dataToCoord(value, true));\n if (axisPointerType && axisPointerType !== 'none') {\n var elStyle = viewHelper.buildElStyle(axisPointerModel);\n var pointerOption = pointerShapeBuilder[axisPointerType](axis, pixelValue, otherExtent);\n pointerOption.style = elStyle;\n elOption.graphicKey = pointerOption.type;\n elOption.pointer = pointerOption;\n }\n var layoutInfo = cartesianAxisHelper.layout(grid.model, axisModel);\n viewHelper.buildCartesianSingleLabelElOption(\n // @ts-ignore\n value, elOption, layoutInfo, axisModel, axisPointerModel, api);\n };\n /**\r\n * @override\r\n */\n CartesianAxisPointer.prototype.getHandleTransform = function (value, axisModel, axisPointerModel) {\n var layoutInfo = cartesianAxisHelper.layout(axisModel.axis.grid.model, axisModel, {\n labelInside: false\n });\n // @ts-ignore\n layoutInfo.labelMargin = axisPointerModel.get(['handle', 'margin']);\n var pos = viewHelper.getTransformedPosition(axisModel.axis, value, layoutInfo);\n return {\n x: pos[0],\n y: pos[1],\n rotation: layoutInfo.rotation + (layoutInfo.labelDirection < 0 ? Math.PI : 0)\n };\n };\n /**\r\n * @override\r\n */\n CartesianAxisPointer.prototype.updateHandleTransform = function (transform, delta, axisModel, axisPointerModel) {\n var axis = axisModel.axis;\n var grid = axis.grid;\n var axisExtent = axis.getGlobalExtent(true);\n var otherExtent = getCartesian(grid, axis).getOtherAxis(axis).getGlobalExtent();\n var dimIndex = axis.dim === 'x' ? 0 : 1;\n var currPosition = [transform.x, transform.y];\n currPosition[dimIndex] += delta[dimIndex];\n currPosition[dimIndex] = Math.min(axisExtent[1], currPosition[dimIndex]);\n currPosition[dimIndex] = Math.max(axisExtent[0], currPosition[dimIndex]);\n var cursorOtherValue = (otherExtent[1] + otherExtent[0]) / 2;\n var cursorPoint = [cursorOtherValue, cursorOtherValue];\n cursorPoint[dimIndex] = currPosition[dimIndex];\n // Make tooltip do not overlap axisPointer and in the middle of the grid.\n var tooltipOptions = [{\n verticalAlign: 'middle'\n }, {\n align: 'center'\n }];\n return {\n x: currPosition[0],\n y: currPosition[1],\n rotation: transform.rotation,\n cursorPoint: cursorPoint,\n tooltipOption: tooltipOptions[dimIndex]\n };\n };\n return CartesianAxisPointer;\n}(BaseAxisPointer);\nfunction getCartesian(grid, axis) {\n var opt = {};\n opt[axis.dim + 'AxisIndex'] = axis.index;\n return grid.getCartesian(opt);\n}\nvar pointerShapeBuilder = {\n line: function (axis, pixelValue, otherExtent) {\n var targetShape = viewHelper.makeLineShape([pixelValue, otherExtent[0]], [pixelValue, otherExtent[1]], getAxisDimIndex(axis));\n return {\n type: 'Line',\n subPixelOptimize: true,\n shape: targetShape\n };\n },\n shadow: function (axis, pixelValue, otherExtent) {\n var bandWidth = Math.max(1, axis.getBandWidth());\n var span = otherExtent[1] - otherExtent[0];\n return {\n type: 'Rect',\n shape: viewHelper.makeRectShape([pixelValue - bandWidth / 2, otherExtent[0]], [bandWidth, span], getAxisDimIndex(axis))\n };\n }\n};\nfunction getAxisDimIndex(axis) {\n return axis.dim === 'x' ? 0 : 1;\n}\nexport default CartesianAxisPointer;"],"names":["CartesianAxisPointer","_super","__extends","elOption","value","axisModel","axisPointerModel","api","axis","grid","axisPointerType","otherExtent","getCartesian","pixelValue","elStyle","viewHelper.buildElStyle","pointerOption","pointerShapeBuilder","layoutInfo","cartesianAxisHelper.layout","viewHelper.buildCartesianSingleLabelElOption","pos","viewHelper.getTransformedPosition","transform","delta","axisExtent","dimIndex","currPosition","cursorOtherValue","cursorPoint","tooltipOptions","BaseAxisPointer","opt","targetShape","viewHelper.makeLineShape","getAxisDimIndex","bandWidth","span","viewHelper.makeRectShape"],"mappings":";;;;AA+CG,IAACA;AAAA;AAAA,GAAoC,SAAUC,GAAQ;AACxD,IAAAC,EAAUF,GAAsBC,CAAM;AACtC,aAASD,IAAuB;AAC9B,aAAOC,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAAA,IAC7D;AAIA,WAAAD,EAAqB,UAAU,eAAe,SAAUG,GAAUC,GAAOC,GAAWC,GAAkBC,GAAK;AACzG,UAAIC,IAAOH,EAAU,MACjBI,IAAOD,EAAK,MACZE,IAAkBJ,EAAiB,IAAI,MAAM,GAC7CK,IAAcC,EAAaH,GAAMD,CAAI,EAAE,aAAaA,CAAI,EAAE,gBAAe,GACzEK,IAAaL,EAAK,cAAcA,EAAK,YAAYJ,GAAO,EAAI,CAAC;AACjE,UAAIM,KAAmBA,MAAoB,QAAQ;AACjD,YAAII,IAAUC,EAAwBT,CAAgB,GAClD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C;AAAA,IAC5H;AAAA,EACE;AACF;AACA,SAAS2B,EAAgB3B,GAAM;AAC7B,SAAOA,EAAK,QAAQ,MAAM,IAAI;AAChC;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { __extends as u } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import A from "./BaseAxisPointer.js";
|
|
3
|
+
import { applyTransform as P } from "../../util/graphic.js";
|
|
4
|
+
import { buildElStyle as b, buildLabelElOption as T, makeSectorShape as f, makeLineShape as S } from "./viewHelper.js";
|
|
5
|
+
import { rotate as E, translate as I, create as L } from "../../../../zrender/lib/core/matrix.js";
|
|
6
|
+
import B from "../axis/AxisBuilder.js";
|
|
7
|
+
var q = (
|
|
8
|
+
/** @class */
|
|
9
|
+
(function(n) {
|
|
10
|
+
u(t, n);
|
|
11
|
+
function t() {
|
|
12
|
+
return n !== null && n.apply(this, arguments) || this;
|
|
13
|
+
}
|
|
14
|
+
return t.prototype.makeElOption = function(a, e, i, r, d) {
|
|
15
|
+
var o = i.axis;
|
|
16
|
+
o.dim === "angle" && (this.animationThreshold = Math.PI / 18);
|
|
17
|
+
var c = o.polar, s = c.getOtherAxis(o), h = s.getExtent(), m = o.dataToCoord(e), v = r.get("type");
|
|
18
|
+
if (v && v !== "none") {
|
|
19
|
+
var y = b(r), g = C[v](o, c, m, h);
|
|
20
|
+
g.style = y, a.graphicKey = g.type, a.pointer = g;
|
|
21
|
+
}
|
|
22
|
+
var x = r.get(["label", "margin"]), l = k(e, i, r, c, x);
|
|
23
|
+
T(a, i, r, d, l);
|
|
24
|
+
}, t;
|
|
25
|
+
})(A)
|
|
26
|
+
);
|
|
27
|
+
function k(n, t, a, e, i) {
|
|
28
|
+
var r = t.axis, d = r.dataToCoord(n), o = e.getAngleAxis().getExtent()[0];
|
|
29
|
+
o = o / 180 * Math.PI;
|
|
30
|
+
var c = e.getRadiusAxis().getExtent(), s, h, m;
|
|
31
|
+
if (r.dim === "radius") {
|
|
32
|
+
var v = L();
|
|
33
|
+
E(v, v, o), I(v, v, [e.cx, e.cy]), s = P([d, -i], v);
|
|
34
|
+
var y = t.getModel("axisLabel").get("rotate") || 0, g = B.innerTextLayout(o, y * Math.PI / 180, -1);
|
|
35
|
+
h = g.textAlign, m = g.textVerticalAlign;
|
|
36
|
+
} else {
|
|
37
|
+
var x = c[1];
|
|
38
|
+
s = e.coordToPoint([x + i, d]);
|
|
39
|
+
var l = e.cx, p = e.cy;
|
|
40
|
+
h = Math.abs(s[0] - l) / x < 0.3 ? "center" : s[0] > l ? "left" : "right", m = Math.abs(s[1] - p) / x < 0.3 ? "middle" : s[1] > p ? "top" : "bottom";
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
position: s,
|
|
44
|
+
align: h,
|
|
45
|
+
verticalAlign: m
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
var C = {
|
|
49
|
+
line: function(n, t, a, e) {
|
|
50
|
+
return n.dim === "angle" ? {
|
|
51
|
+
type: "Line",
|
|
52
|
+
shape: S(t.coordToPoint([e[0], a]), t.coordToPoint([e[1], a]))
|
|
53
|
+
} : {
|
|
54
|
+
type: "Circle",
|
|
55
|
+
shape: {
|
|
56
|
+
cx: t.cx,
|
|
57
|
+
cy: t.cy,
|
|
58
|
+
r: a
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
},
|
|
62
|
+
shadow: function(n, t, a, e) {
|
|
63
|
+
var i = Math.max(1, n.getBandWidth()), r = Math.PI / 180;
|
|
64
|
+
return n.dim === "angle" ? {
|
|
65
|
+
type: "Sector",
|
|
66
|
+
shape: f(
|
|
67
|
+
t.cx,
|
|
68
|
+
t.cy,
|
|
69
|
+
e[0],
|
|
70
|
+
e[1],
|
|
71
|
+
// In ECharts y is negative if angle is positive
|
|
72
|
+
(-a - i / 2) * r,
|
|
73
|
+
(-a + i / 2) * r
|
|
74
|
+
)
|
|
75
|
+
} : {
|
|
76
|
+
type: "Sector",
|
|
77
|
+
shape: f(t.cx, t.cy, a - i / 2, a + i / 2, 0, Math.PI * 2)
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
export {
|
|
82
|
+
q as default
|
|
83
|
+
};
|
|
84
|
+
//# sourceMappingURL=PolarAxisPointer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PolarAxisPointer.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/PolarAxisPointer.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 BaseAxisPointer from './BaseAxisPointer.js';\nimport * as graphic from '../../util/graphic.js';\nimport * as viewHelper from './viewHelper.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport AxisBuilder from '../axis/AxisBuilder.js';\nvar PolarAxisPointer = /** @class */function (_super) {\n __extends(PolarAxisPointer, _super);\n function PolarAxisPointer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\r\n * @override\r\n */\n PolarAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {\n var axis = axisModel.axis;\n if (axis.dim === 'angle') {\n this.animationThreshold = Math.PI / 18;\n }\n var polar = axis.polar;\n var otherAxis = polar.getOtherAxis(axis);\n var otherExtent = otherAxis.getExtent();\n var coordValue = axis.dataToCoord(value);\n var axisPointerType = axisPointerModel.get('type');\n if (axisPointerType && axisPointerType !== 'none') {\n var elStyle = viewHelper.buildElStyle(axisPointerModel);\n var pointerOption = pointerShapeBuilder[axisPointerType](axis, polar, coordValue, otherExtent);\n pointerOption.style = elStyle;\n elOption.graphicKey = pointerOption.type;\n elOption.pointer = pointerOption;\n }\n var labelMargin = axisPointerModel.get(['label', 'margin']);\n var labelPos = getLabelPosition(value, axisModel, axisPointerModel, polar, labelMargin);\n viewHelper.buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos);\n };\n return PolarAxisPointer;\n}(BaseAxisPointer);\n;\nfunction getLabelPosition(value, axisModel, axisPointerModel, polar, labelMargin) {\n var axis = axisModel.axis;\n var coord = axis.dataToCoord(value);\n var axisAngle = polar.getAngleAxis().getExtent()[0];\n axisAngle = axisAngle / 180 * Math.PI;\n var radiusExtent = polar.getRadiusAxis().getExtent();\n var position;\n var align;\n var verticalAlign;\n if (axis.dim === 'radius') {\n var transform = matrix.create();\n matrix.rotate(transform, transform, axisAngle);\n matrix.translate(transform, transform, [polar.cx, polar.cy]);\n position = graphic.applyTransform([coord, -labelMargin], transform);\n var labelRotation = axisModel.getModel('axisLabel').get('rotate') || 0;\n // @ts-ignore\n var labelLayout = AxisBuilder.innerTextLayout(axisAngle, labelRotation * Math.PI / 180, -1);\n align = labelLayout.textAlign;\n verticalAlign = labelLayout.textVerticalAlign;\n } else {\n // angle axis\n var r = radiusExtent[1];\n position = polar.coordToPoint([r + labelMargin, coord]);\n var cx = polar.cx;\n var cy = polar.cy;\n align = Math.abs(position[0] - cx) / r < 0.3 ? 'center' : position[0] > cx ? 'left' : 'right';\n verticalAlign = Math.abs(position[1] - cy) / r < 0.3 ? 'middle' : position[1] > cy ? 'top' : 'bottom';\n }\n return {\n position: position,\n align: align,\n verticalAlign: verticalAlign\n };\n}\nvar pointerShapeBuilder = {\n line: function (axis, polar, coordValue, otherExtent) {\n return axis.dim === 'angle' ? {\n type: 'Line',\n shape: viewHelper.makeLineShape(polar.coordToPoint([otherExtent[0], coordValue]), polar.coordToPoint([otherExtent[1], coordValue]))\n } : {\n type: 'Circle',\n shape: {\n cx: polar.cx,\n cy: polar.cy,\n r: coordValue\n }\n };\n },\n shadow: function (axis, polar, coordValue, otherExtent) {\n var bandWidth = Math.max(1, axis.getBandWidth());\n var radian = Math.PI / 180;\n return axis.dim === 'angle' ? {\n type: 'Sector',\n shape: viewHelper.makeSectorShape(polar.cx, polar.cy, otherExtent[0], otherExtent[1],\n // In ECharts y is negative if angle is positive\n (-coordValue - bandWidth / 2) * radian, (-coordValue + bandWidth / 2) * radian)\n } : {\n type: 'Sector',\n shape: viewHelper.makeSectorShape(polar.cx, polar.cy, coordValue - bandWidth / 2, coordValue + bandWidth / 2, 0, Math.PI * 2)\n };\n }\n};\nexport default PolarAxisPointer;"],"names":["PolarAxisPointer","_super","__extends","elOption","value","axisModel","axisPointerModel","api","axis","polar","otherAxis","otherExtent","coordValue","axisPointerType","elStyle","viewHelper.buildElStyle","pointerOption","pointerShapeBuilder","labelMargin","labelPos","getLabelPosition","viewHelper.buildLabelElOption","BaseAxisPointer","coord","axisAngle","radiusExtent","position","align","verticalAlign","transform","matrix.create","matrix.rotate","matrix.translate","graphic.applyTransform","labelRotation","labelLayout","AxisBuilder","r","cx","cy","viewHelper.makeLineShape","bandWidth","radian","viewHelper.makeSect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AA,MACN,OAAO;AAAA,QACL,IAAIH,EAAM;AAAA,QACV,IAAIA,EAAM;AAAA,QACV,GAAGG;AAAA,MACX;AAAA,IACA;AAAA,EACE;AAAA,EACA,QAAQ,SAAUJ,GAAMC,GAAOG,GAAYD,GAAa;AACtD,QAAI8B,IAAY,KAAK,IAAI,GAAGjC,EAAK,cAAc,GAC3CkC,IAAS,KAAK,KAAK;AACvB,WAAOlC,EAAK,QAAQ,UAAU;AAAA,MAC5B,MAAM;AAAA,MACN,OAAOmC;AAAAA,QAA2BlC,EAAM;AAAA,QAAIA,EAAM;AAAA,QAAIE,EAAY,CAAC;AAAA,QAAGA,EAAY,CAAC;AAAA;AAAA,SAElF,CAACC,IAAa6B,IAAY,KAAKC;AAAA,SAAS,CAAC9B,IAAa6B,IAAY,KAAKC;AAAA,MAAM;AAAA,IACpF,IAAQ;AAAA,MACF,MAAM;AAAA,MACN,OAAOC,EAA2BlC,EAAM,IAAIA,EAAM,IAAIG,IAAa6B,IAAY,GAAG7B,IAAa6B,IAAY,GAAG,GAAG,KAAK,KAAK,CAAC;AAAA,IAClI;AAAA,EACE;AACF;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { __extends as x } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
+
import S from "./BaseAxisPointer.js";
|
|
3
|
+
import { buildElStyle as P, buildCartesianSingleLabelElOption as b, getTransformedPosition as T, makeRectShape as A, makeLineShape as E } from "./viewHelper.js";
|
|
4
|
+
import { layout as f } from "../../coord/single/singleAxisHelper.js";
|
|
5
|
+
var h = ["x", "y"], H = ["width", "height"], W = (
|
|
6
|
+
/** @class */
|
|
7
|
+
(function(e) {
|
|
8
|
+
x(r, e);
|
|
9
|
+
function r() {
|
|
10
|
+
return e !== null && e.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
return r.prototype.makeElOption = function(t, n, o, l, u) {
|
|
13
|
+
var s = o.axis, a = s.coordinateSystem, c = d(a, 1 - m(s)), i = a.dataToPoint(n)[0], p = l.get("type");
|
|
14
|
+
if (p && p !== "none") {
|
|
15
|
+
var y = P(l), v = I[p](s, i, c);
|
|
16
|
+
v.style = y, t.graphicKey = v.type, t.pointer = v;
|
|
17
|
+
}
|
|
18
|
+
var g = f(o);
|
|
19
|
+
b(
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
n,
|
|
22
|
+
t,
|
|
23
|
+
g,
|
|
24
|
+
o,
|
|
25
|
+
l,
|
|
26
|
+
u
|
|
27
|
+
);
|
|
28
|
+
}, r.prototype.getHandleTransform = function(t, n, o) {
|
|
29
|
+
var l = f(n, {
|
|
30
|
+
labelInside: !1
|
|
31
|
+
});
|
|
32
|
+
l.labelMargin = o.get(["handle", "margin"]);
|
|
33
|
+
var u = T(n.axis, t, l);
|
|
34
|
+
return {
|
|
35
|
+
x: u[0],
|
|
36
|
+
y: u[1],
|
|
37
|
+
rotation: l.rotation + (l.labelDirection < 0 ? Math.PI : 0)
|
|
38
|
+
};
|
|
39
|
+
}, r.prototype.updateHandleTransform = function(t, n, o, l) {
|
|
40
|
+
var u = o.axis, s = u.coordinateSystem, a = m(u), c = d(s, a), i = [t.x, t.y];
|
|
41
|
+
i[a] += n[a], i[a] = Math.min(c[1], i[a]), i[a] = Math.max(c[0], i[a]);
|
|
42
|
+
var p = d(s, 1 - a), y = (p[1] + p[0]) / 2, v = [y, y];
|
|
43
|
+
return v[a] = i[a], {
|
|
44
|
+
x: i[0],
|
|
45
|
+
y: i[1],
|
|
46
|
+
rotation: t.rotation,
|
|
47
|
+
cursorPoint: v,
|
|
48
|
+
tooltipOption: {
|
|
49
|
+
verticalAlign: "middle"
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
}, r;
|
|
53
|
+
})(S)
|
|
54
|
+
), I = {
|
|
55
|
+
line: function(e, r, t) {
|
|
56
|
+
var n = E([r, t[0]], [r, t[1]], m(e));
|
|
57
|
+
return {
|
|
58
|
+
type: "Line",
|
|
59
|
+
subPixelOptimize: !0,
|
|
60
|
+
shape: n
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
shadow: function(e, r, t) {
|
|
64
|
+
var n = e.getBandWidth(), o = t[1] - t[0];
|
|
65
|
+
return {
|
|
66
|
+
type: "Rect",
|
|
67
|
+
shape: A([r - n / 2, t[0]], [n, o], m(e))
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
function m(e) {
|
|
72
|
+
return e.isHorizontal() ? 0 : 1;
|
|
73
|
+
}
|
|
74
|
+
function d(e, r) {
|
|
75
|
+
var t = e.getRect();
|
|
76
|
+
return [t[h[r]], t[h[r]] + t[H[r]]];
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
W as default
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=SingleAxisPointer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SingleAxisPointer.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/SingleAxisPointer.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 BaseAxisPointer from './BaseAxisPointer.js';\nimport * as viewHelper from './viewHelper.js';\nimport * as singleAxisHelper from '../../coord/single/singleAxisHelper.js';\nvar XY = ['x', 'y'];\nvar WH = ['width', 'height'];\nvar SingleAxisPointer = /** @class */function (_super) {\n __extends(SingleAxisPointer, _super);\n function SingleAxisPointer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\r\n * @override\r\n */\n SingleAxisPointer.prototype.makeElOption = function (elOption, value, axisModel, axisPointerModel, api) {\n var axis = axisModel.axis;\n var coordSys = axis.coordinateSystem;\n var otherExtent = getGlobalExtent(coordSys, 1 - getPointDimIndex(axis));\n var pixelValue = coordSys.dataToPoint(value)[0];\n var axisPointerType = axisPointerModel.get('type');\n if (axisPointerType && axisPointerType !== 'none') {\n var elStyle = viewHelper.buildElStyle(axisPointerModel);\n var pointerOption = pointerShapeBuilder[axisPointerType](axis, pixelValue, otherExtent);\n pointerOption.style = elStyle;\n elOption.graphicKey = pointerOption.type;\n elOption.pointer = pointerOption;\n }\n var layoutInfo = singleAxisHelper.layout(axisModel);\n viewHelper.buildCartesianSingleLabelElOption(\n // @ts-ignore\n value, elOption, layoutInfo, axisModel, axisPointerModel, api);\n };\n /**\r\n * @override\r\n */\n SingleAxisPointer.prototype.getHandleTransform = function (value, axisModel, axisPointerModel) {\n var layoutInfo = singleAxisHelper.layout(axisModel, {\n labelInside: false\n });\n // @ts-ignore\n layoutInfo.labelMargin = axisPointerModel.get(['handle', 'margin']);\n var position = viewHelper.getTransformedPosition(axisModel.axis, value, layoutInfo);\n return {\n x: position[0],\n y: position[1],\n rotation: layoutInfo.rotation + (layoutInfo.labelDirection < 0 ? Math.PI : 0)\n };\n };\n /**\r\n * @override\r\n */\n SingleAxisPointer.prototype.updateHandleTransform = function (transform, delta, axisModel, axisPointerModel) {\n var axis = axisModel.axis;\n var coordSys = axis.coordinateSystem;\n var dimIndex = getPointDimIndex(axis);\n var axisExtent = getGlobalExtent(coordSys, dimIndex);\n var currPosition = [transform.x, transform.y];\n currPosition[dimIndex] += delta[dimIndex];\n currPosition[dimIndex] = Math.min(axisExtent[1], currPosition[dimIndex]);\n currPosition[dimIndex] = Math.max(axisExtent[0], currPosition[dimIndex]);\n var otherExtent = getGlobalExtent(coordSys, 1 - dimIndex);\n var cursorOtherValue = (otherExtent[1] + otherExtent[0]) / 2;\n var cursorPoint = [cursorOtherValue, cursorOtherValue];\n cursorPoint[dimIndex] = currPosition[dimIndex];\n return {\n x: currPosition[0],\n y: currPosition[1],\n rotation: transform.rotation,\n cursorPoint: cursorPoint,\n tooltipOption: {\n verticalAlign: 'middle'\n }\n };\n };\n return SingleAxisPointer;\n}(BaseAxisPointer);\nvar pointerShapeBuilder = {\n line: function (axis, pixelValue, otherExtent) {\n var targetShape = viewHelper.makeLineShape([pixelValue, otherExtent[0]], [pixelValue, otherExtent[1]], getPointDimIndex(axis));\n return {\n type: 'Line',\n subPixelOptimize: true,\n shape: targetShape\n };\n },\n shadow: function (axis, pixelValue, otherExtent) {\n var bandWidth = axis.getBandWidth();\n var span = otherExtent[1] - otherExtent[0];\n return {\n type: 'Rect',\n shape: viewHelper.makeRectShape([pixelValue - bandWidth / 2, otherExtent[0]], [bandWidth, span], getPointDimIndex(axis))\n };\n }\n};\nfunction getPointDimIndex(axis) {\n return axis.isHorizontal() ? 0 : 1;\n}\nfunction getGlobalExtent(coordSys, dimIndex) {\n var rect = coordSys.getRect();\n return [rect[XY[dimIndex]], rect[XY[dimIndex]] + rect[WH[dimIndex]]];\n}\nexport default SingleAxisPointer;"],"names":["XY","WH","SingleAxisPointer","_super","__extends","elOption","value","axisModel","axisPointerModel","api","axis","coordSys","otherExtent","getGlobalExtent","getPointDimIndex","pixelValue","axisPointerType","elStyle","viewHelper.buildElStyle","pointerOption","pointerShapeBuilder","layoutInfo","singleAxisHelper.layout","viewHelper.buildCartesianSingleLabelElOption","position","viewHelper.getTransformedPosition","transform","delta","dimIndex","axisExtent","currPosition","cursorOtherValue","cursorPoint","BaseAxisPointer","targetShape","viewHelper.makeLineShape","bandWidth","span","viewHelper.makeRectShape","rect"],"mappings":";;;;AA+CA,IAAIA,IAAK,CAAC,KAAK,GAAG,GACdC,IAAK,CAAC,SAAS,QAAQ,GACvBC;AAAA;AAAA,GAAiC,SAAUC,GAAQ;AACrD,IAAAC,EAAUF,GAAmBC,CAAM;AACnC,aAASD,IAAoB;AAC3B,aAAOC,MAAW,QAAQA,EAAO,MAAM,MAAM,SAAS,KAAK;AAAA,IAC7D;AAIA,WAAAD,EAAkB,UAAU,eAAe,SAAUG,GAAUC,GAAOC,GAAWC,GAAkBC,GAAK;AACtG,UAAIC,IAAOH,EAAU,MACjBI,IAAWD,EAAK,kBAChBE,IAAcC,EAAgBF,GAAU,IAAIG,EAAiBJ,CAAI,CAAC,GAClEK,IAAaJ,EAAS,YAAYL,CAAK,EAAE,CAAC,GAC1CU,IAAkBR,EAAiB,IAAI,MAAM;AACjD,UAAIQ,KAAmBA,MAAoB,QAAQ;AACjD,YAAIC,IAAUC,EAAwBV,CAAgB,GAClDW,IAAgBC,EAAoBJ,CAAe,EAAEN,GAAMK,GAAYH,CAAW;AACtF,QAAAO,EAAc,QAAQF,GACtBZ,EAAS,aAAac,EAAc,MACpCd,EAAS,UAAUc;AAAA,MACrB;AACA,UAAIE,IAAaC,EAAwBf,CAAS;AAClDgB,MAAAA;AAAAA;AAAAA,QAEAjB;AAAA,QAAOD;AAAA,QAAUgB;AAAA,QAAYd;AAAA,QAAWC;AAAA,QAAkBC;AAAA,MAAG;AAAA,IAC/D,GAIAP,EAAkB,UAAU,qBAAq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