@ecan-bi/datav 1.0.62 → 1.0.63
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/dist/index.es.js +522 -447
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +453 -473
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +64 -64
- package/es/_utils/constant.js +16 -4
- package/es/_utils/constant.js.map +1 -1
- package/es/_utils/hooks/useDownloadFile.js +4 -1
- package/es/_utils/hooks/useDownloadFile.js.map +1 -1
- package/es/_utils/hooks/useEmitEvent.js +4 -1
- package/es/_utils/hooks/useEmitEvent.js.map +1 -1
- package/es/_utils/hooks/useHrefParamsToGlobalVariables.js +17 -0
- package/es/_utils/hooks/useHrefParamsToGlobalVariables.js.map +1 -0
- package/es/_utils/hooks/useImagePath.js +4 -1
- package/es/_utils/hooks/useImagePath.js.map +1 -1
- package/es/_utils/hooks/useIndicatorData.js +206 -0
- package/es/_utils/hooks/useIndicatorData.js.map +1 -0
- package/es/_utils/hooks/useOnEvent.js +4 -1
- package/es/_utils/hooks/useOnEvent.js.map +1 -1
- package/es/_utils/hooks/usePageUrl.js +4 -1
- package/es/_utils/hooks/usePageUrl.js.map +1 -1
- package/es/_utils/hooks/usePickComponentStyle.js +11 -3
- package/es/_utils/hooks/usePickComponentStyle.js.map +1 -1
- package/es/_utils/hooks/useRequestData.js +19 -29
- package/es/_utils/hooks/useRequestData.js.map +1 -1
- package/es/_utils/hooks/useRequestDiagramData.js +6 -19
- package/es/_utils/hooks/useRequestDiagramData.js.map +1 -1
- package/es/_utils/hooks/useTransformChartDataByAttrKey.js +4 -1
- package/es/_utils/hooks/useTransformChartDataByAttrKey.js.map +1 -1
- package/es/_utils/hooks/useTransformChartDataByAttrValue.js +6 -19
- package/es/_utils/hooks/useTransformChartDataByAttrValue.js.map +1 -1
- package/es/_utils/hooks/useValueFormatter.js +16 -6
- package/es/_utils/hooks/useValueFormatter.js.map +1 -1
- package/es/_utils/hooks/useVariablesInText.js +11 -25
- package/es/_utils/hooks/useVariablesInText.js.map +1 -1
- package/es/_utils/props.js +4 -1
- package/es/_utils/props.js.map +1 -1
- package/es/_utils/request.js +4 -1
- package/es/_utils/request.js.map +1 -1
- package/es/_utils/util.js +6 -1
- package/es/_utils/util.js.map +1 -1
- package/es/_utils/withInstall.js +4 -1
- package/es/_utils/withInstall.js.map +1 -1
- package/es/_virtual/_commonjsHelpers.js +7 -0
- package/es/_virtual/_commonjsHelpers.js.map +1 -0
- package/es/_virtual/axios.js +3 -1
- package/es/_virtual/axios.js.map +1 -1
- package/es/_virtual/index.js +5 -0
- package/es/_virtual/index.js.map +1 -0
- package/es/_virtual/plugin-vue_export-helper.js +4 -2
- package/es/_virtual/plugin-vue_export-helper.js.map +1 -1
- package/es/assets/border-title-decoration-left.js +4 -2
- package/es/assets/border-title-decoration-left.js.map +1 -1
- package/es/assets/border-title-decoration-right.js +4 -2
- package/es/assets/border-title-decoration-right.js.map +1 -1
- package/es/assets/go-down.js +5 -0
- package/es/assets/go-down.js.map +1 -0
- package/es/assets/go-up.js +5 -0
- package/es/assets/go-up.js.map +1 -0
- package/es/common/Skeleton/Skeleton.js +21 -4
- package/es/common/Skeleton/Skeleton.js.map +1 -1
- package/es/common/Skeleton/index.js +5 -2
- package/es/common/echarts/ECharts.js +78 -57
- package/es/common/echarts/ECharts.js.map +1 -1
- package/es/common/echarts/composables/api.js +3 -1
- package/es/common/echarts/composables/api.js.map +1 -1
- package/es/common/echarts/composables/autoresize.js +4 -1
- package/es/common/echarts/composables/autoresize.js.map +1 -1
- package/es/common/echarts/composables/loading.js +9 -18
- package/es/common/echarts/composables/loading.js.map +1 -1
- package/es/common/echarts/index.js +5 -2
- package/es/common/echarts/style.js +4 -2
- package/es/common/echarts/style.js.map +1 -1
- package/es/common/echarts/utils.js +4 -1
- package/es/common/echarts/utils.js.map +1 -1
- package/es/common/spin/Spin.js +4 -2
- package/es/common/spin/Spin.js.map +1 -1
- package/es/common/spin/Spin.vue_vue_type_style_index_0_lang.js +4 -2
- package/es/common/spin/Spin.vue_vue_type_style_index_0_lang.js.map +1 -1
- package/es/common/spin/index.js +4 -1
- package/es/components.js +142 -49
- package/es/components.js.map +1 -1
- package/es/container/border/Border.js +68 -73
- package/es/container/border/Border.js.map +1 -1
- package/es/container/border/Border.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/container/border/Border.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/container/border/index.js +8 -2
- package/es/container/border/index.js.map +1 -1
- package/es/container/border/props.js +16 -23
- package/es/container/border/props.js.map +1 -1
- package/es/container/modal/Modal.js +10 -24
- package/es/container/modal/Modal.js.map +1 -1
- package/es/container/modal/Modal.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/container/modal/Modal.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/container/modal/Modal.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/container/modal/Modal.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/container/modal/index.js +8 -2
- package/es/container/modal/index.js.map +1 -1
- package/es/container/modal/props.js +5 -1
- package/es/container/modal/props.js.map +1 -1
- package/es/container/tabs/Tabs.js +110 -0
- package/es/container/tabs/Tabs.js.map +1 -0
- package/es/container/tabs/Tabs.vue_vue_type_style_index_0_scoped_true_lang.js +5 -0
- package/es/container/tabs/Tabs.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -0
- package/es/container/tabs/index.js +12 -0
- package/es/container/tabs/index.js.map +1 -0
- package/es/container/tabs/props.js +38 -0
- package/es/container/tabs/props.js.map +1 -0
- package/es/control/button/Button.js +51 -30
- package/es/control/button/Button.js.map +1 -1
- package/es/control/button/Button.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/control/button/Button.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/control/button/index.js +8 -2
- package/es/control/button/index.js.map +1 -1
- package/es/control/button/props.js +17 -23
- package/es/control/button/props.js.map +1 -1
- package/es/control/date-picker/DatePicker.js +8 -20
- package/es/control/date-picker/DatePicker.js.map +1 -1
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/control/date-picker/index.js +8 -2
- package/es/control/date-picker/index.js.map +1 -1
- package/es/control/date-picker/props.js +8 -22
- package/es/control/date-picker/props.js.map +1 -1
- package/es/control/input/Input.js +8 -20
- package/es/control/input/Input.js.map +1 -1
- package/es/control/input/Input.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/control/input/Input.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/control/input/index.js +7 -2
- package/es/control/input/index.js.map +1 -1
- package/es/control/input/props.js +7 -22
- package/es/control/input/props.js.map +1 -1
- package/es/control/range-picker/RangePicker.js +8 -20
- package/es/control/range-picker/RangePicker.js.map +1 -1
- package/es/control/range-picker/RangePicker.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/control/range-picker/RangePicker.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/control/range-picker/RangePicker.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/control/range-picker/RangePicker.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/control/range-picker/index.js +8 -2
- package/es/control/range-picker/index.js.map +1 -1
- package/es/control/range-picker/props.js +8 -22
- package/es/control/range-picker/props.js.map +1 -1
- package/es/control/select/Select.js +7 -19
- package/es/control/select/Select.js.map +1 -1
- package/es/control/select/Select.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/control/select/Select.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/control/select/Select.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/control/select/Select.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/control/select/index.js +8 -2
- package/es/control/select/index.js.map +1 -1
- package/es/control/select/props.js +8 -22
- package/es/control/select/props.js.map +1 -1
- package/es/graph/bar/Bar.js +40 -50
- package/es/graph/bar/Bar.js.map +1 -1
- package/es/graph/bar/Bar.vue_vue_type_style_index_0_lang.js +4 -2
- package/es/graph/bar/Bar.vue_vue_type_style_index_0_lang.js.map +1 -1
- package/es/graph/bar/index.js +8 -2
- package/es/graph/bar/index.js.map +1 -1
- package/es/graph/bar/props.js +16 -28
- package/es/graph/bar/props.js.map +1 -1
- package/es/graph/combo-graph/ComboGraph.js +93 -34
- package/es/graph/combo-graph/ComboGraph.js.map +1 -1
- package/es/graph/combo-graph/ComboGraph.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/graph/combo-graph/ComboGraph.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/graph/combo-graph/index.js +8 -2
- package/es/graph/combo-graph/index.js.map +1 -1
- package/es/graph/combo-graph/props.js +20 -25
- package/es/graph/combo-graph/props.js.map +1 -1
- package/es/graph/custom-graph/CustomGraph.js +10 -22
- package/es/graph/custom-graph/CustomGraph.js.map +1 -1
- package/es/graph/custom-graph/index.js +7 -2
- package/es/graph/custom-graph/index.js.map +1 -1
- package/es/graph/custom-graph/props.js +7 -22
- package/es/graph/custom-graph/props.js.map +1 -1
- package/es/graph/line/Line.js +98 -39
- package/es/graph/line/Line.js.map +1 -1
- package/es/graph/line/Line.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/graph/line/Line.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/graph/line/index.js +8 -2
- package/es/graph/line/index.js.map +1 -1
- package/es/graph/line/props.js +21 -25
- package/es/graph/line/props.js.map +1 -1
- package/es/graph/pie/Pie.js +91 -34
- package/es/graph/pie/Pie.js.map +1 -1
- package/es/graph/pie/Pie.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/graph/pie/Pie.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/graph/pie/index.js +8 -2
- package/es/graph/pie/index.js.map +1 -1
- package/es/graph/pie/props.js +20 -25
- package/es/graph/pie/props.js.map +1 -1
- package/es/graph/scatter/Scatter.js +85 -32
- package/es/graph/scatter/Scatter.js.map +1 -1
- package/es/graph/scatter/Scatter.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/graph/scatter/Scatter.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/graph/scatter/index.js +8 -2
- package/es/graph/scatter/index.js.map +1 -1
- package/es/graph/scatter/props.js +20 -25
- package/es/graph/scatter/props.js.map +1 -1
- package/es/index.js +142 -49
- package/es/index.js.map +1 -1
- package/es/map/map/Map.js +10 -22
- package/es/map/map/Map.js.map +1 -1
- package/es/map/map/Map.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/map/map/Map.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/map/map/index.js +7 -2
- package/es/map/map/index.js.map +1 -1
- package/es/map/map/props.js +7 -22
- package/es/map/map/props.js.map +1 -1
- package/es/media/image/Image.js +23 -24
- package/es/media/image/Image.js.map +1 -1
- package/es/media/image/Image.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/media/image/Image.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/media/image/index.js +7 -2
- package/es/media/image/index.js.map +1 -1
- package/es/media/image/props.js +9 -24
- package/es/media/image/props.js.map +1 -1
- package/es/node_modules/@ant-design/colors/dist/index.esm.js +7 -2
- package/es/node_modules/@ant-design/colors/dist/index.esm.js.map +1 -1
- package/es/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +4 -2
- package/es/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/components/AntdIcon.js +4 -2
- package/es/node_modules/@ant-design/icons-vue/es/components/AntdIcon.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/components/IconBase.js +5 -3
- package/es/node_modules/@ant-design/icons-vue/es/components/IconBase.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/components/twoTonePrimaryColor.js +4 -1
- package/es/node_modules/@ant-design/icons-vue/es/components/twoTonePrimaryColor.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js +4 -2
- package/es/node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/insert-css.js +3 -1
- package/es/node_modules/@ant-design/icons-vue/es/insert-css.js.map +1 -1
- package/es/node_modules/@ant-design/icons-vue/es/utils.js +16 -1
- package/es/node_modules/@ant-design/icons-vue/es/utils.js.map +1 -1
- package/es/node_modules/@babel/runtime/helpers/esm/extends.js +3 -1
- package/es/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/conversion.js +10 -2
- package/es/node_modules/@ctrl/tinycolor/dist/module/conversion.js.map +1 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js +3 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/css-color-names.js.map +1 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/format-input.js +5 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/format-input.js.map +1 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/util.js +8 -1
- package/es/node_modules/@ctrl/tinycolor/dist/module/util.js.map +1 -1
- package/es/node_modules/@vue/shared/dist/shared.esm-bundler.js +3 -0
- package/es/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/es/node_modules/ant-design-vue/es/button/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/button/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/checkbox/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/checkbox/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js +4 -2
- package/es/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/date-picker/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/date-picker/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/dropdown/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/dropdown/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/empty/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/empty/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/input/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/input/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/modal/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/modal/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/pagination/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/pagination/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/progress/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/progress/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/radio/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/radio/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/select/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/select/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/skeleton/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/skeleton/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/spin/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/spin/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/style/default.js +4 -1738
- package/es/node_modules/ant-design-vue/es/style/default.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/table/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/table/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/tag/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/tag/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js +4 -2
- package/es/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/tooltip/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/tooltip/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/tree/style/index.js +4 -2
- package/es/node_modules/ant-design-vue/es/tree/style/index.js.map +1 -1
- package/es/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js +4 -2
- package/es/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js.map +1 -1
- package/es/node_modules/axios/index.js +9 -2
- package/es/node_modules/axios/index.js.map +1 -1
- package/es/node_modules/axios/lib/adapters/xhr.js +151 -136
- package/es/node_modules/axios/lib/adapters/xhr.js.map +1 -1
- package/es/node_modules/axios/lib/axios.js +18 -14
- package/es/node_modules/axios/lib/axios.js.map +1 -1
- package/es/node_modules/axios/lib/cancel/Cancel.js +17 -7
- package/es/node_modules/axios/lib/cancel/Cancel.js.map +1 -1
- package/es/node_modules/axios/lib/cancel/CancelToken.js +79 -69
- package/es/node_modules/axios/lib/cancel/CancelToken.js.map +1 -1
- package/es/node_modules/axios/lib/cancel/isCancel.js +13 -3
- package/es/node_modules/axios/lib/cancel/isCancel.js.map +1 -1
- package/es/node_modules/axios/lib/core/Axios.js +3 -1
- package/es/node_modules/axios/lib/core/Axios.js.map +1 -1
- package/es/node_modules/axios/lib/core/InterceptorManager.js +3 -1
- package/es/node_modules/axios/lib/core/InterceptorManager.js.map +1 -1
- package/es/node_modules/axios/lib/core/buildFullPath.js +20 -10
- package/es/node_modules/axios/lib/core/buildFullPath.js.map +1 -1
- package/es/node_modules/axios/lib/core/createError.js +16 -6
- package/es/node_modules/axios/lib/core/createError.js.map +1 -1
- package/es/node_modules/axios/lib/core/dispatchRequest.js +38 -14
- package/es/node_modules/axios/lib/core/dispatchRequest.js.map +1 -1
- package/es/node_modules/axios/lib/core/enhanceError.js +3 -1
- package/es/node_modules/axios/lib/core/enhanceError.js.map +1 -1
- package/es/node_modules/axios/lib/core/mergeConfig.js +3 -1
- package/es/node_modules/axios/lib/core/mergeConfig.js.map +1 -1
- package/es/node_modules/axios/lib/core/settle.js +26 -10
- package/es/node_modules/axios/lib/core/settle.js.map +1 -1
- package/es/node_modules/axios/lib/core/transformData.js +5 -3
- package/es/node_modules/axios/lib/core/transformData.js.map +1 -1
- package/es/node_modules/axios/lib/defaults.js +103 -93
- package/es/node_modules/axios/lib/defaults.js.map +1 -1
- package/es/node_modules/axios/lib/env/data.js +13 -3
- package/es/node_modules/axios/lib/env/data.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/bind.js +3 -1
- package/es/node_modules/axios/lib/helpers/bind.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/buildURL.js +3 -1
- package/es/node_modules/axios/lib/helpers/buildURL.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/combineURLs.js +13 -3
- package/es/node_modules/axios/lib/helpers/combineURLs.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/cookies.js +49 -39
- package/es/node_modules/axios/lib/helpers/cookies.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/isAbsoluteURL.js +13 -3
- package/es/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/isAxiosError.js +15 -5
- package/es/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/isURLSameOrigin.js +42 -32
- package/es/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/normalizeHeaderName.js +3 -1
- package/es/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/parseHeaders.js +55 -45
- package/es/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/spread.js +14 -4
- package/es/node_modules/axios/lib/helpers/spread.js.map +1 -1
- package/es/node_modules/axios/lib/helpers/validator.js +11 -4
- package/es/node_modules/axios/lib/helpers/validator.js.map +1 -1
- package/es/node_modules/axios/lib/utils.js +3 -1
- package/es/node_modules/axios/lib/utils.js.map +1 -1
- package/es/node_modules/echarts/lib/action/roamHelper.js +3 -1
- package/es/node_modules/echarts/lib/action/roamHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/animation/basicTrasition.js +10 -1
- package/es/node_modules/echarts/lib/animation/basicTrasition.js.map +1 -1
- package/es/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +16 -1
- package/es/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -1
- package/es/node_modules/echarts/lib/animation/customGraphicTransition.js +58 -4
- package/es/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/bar/BarSeries.js +4 -2
- package/es/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/bar/BarView.js +17 -2
- package/es/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +4 -2
- package/es/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/bar/install.js +3 -1
- package/es/node_modules/echarts/lib/chart/bar/install.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +7 -3
- package/es/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/Symbol.js +4 -2
- package/es/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/SymbolDraw.js +4 -2
- package/es/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +5 -1
- package/es/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +3 -1
- package/es/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/createSeriesData.js +8 -2
- package/es/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +3 -1
- package/es/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/labelHelper.js +4 -1
- package/es/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/helper/pieHelper.js +3 -1
- package/es/node_modules/echarts/lib/chart/helper/pieHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/LineSeries.js +10 -2
- package/es/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/LineView.js +28 -9
- package/es/node_modules/echarts/lib/chart/line/LineView.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/helper.js +12 -3
- package/es/node_modules/echarts/lib/chart/line/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/install.js +3 -1
- package/es/node_modules/echarts/lib/chart/line/install.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +3 -1
- package/es/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/line/poly.js +4 -1
- package/es/node_modules/echarts/lib/chart/line/poly.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/map/MapSeries.js +4 -2
- package/es/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/map/MapView.js +4 -2
- package/es/node_modules/echarts/lib/chart/map/MapView.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/map/install.js +3 -1
- package/es/node_modules/echarts/lib/chart/map/install.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/map/mapDataStatistic.js +3 -1
- package/es/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +3 -1
- package/es/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/pie/PieSeries.js +4 -2
- package/es/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/pie/PieView.js +4 -2
- package/es/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/pie/install.js +3 -1
- package/es/node_modules/echarts/lib/chart/pie/install.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/pie/labelLayout.js +3 -1
- package/es/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/pie/pieLayout.js +4 -1
- package/es/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +4 -2
- package/es/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/scatter/ScatterView.js +4 -2
- package/es/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -1
- package/es/node_modules/echarts/lib/chart/scatter/install.js +3 -1
- package/es/node_modules/echarts/lib/chart/scatter/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axis/AxisBuilder.js +13 -4
- package/es/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axis/AxisView.js +9 -2
- package/es/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axis/CartesianAxisView.js +5 -1
- package/es/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axis/axisSplitHelper.js +4 -1
- package/es/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +4 -2
- package/es/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +4 -2
- package/es/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +4 -2
- package/es/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +12 -3
- package/es/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +8 -2
- package/es/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +3 -1
- package/es/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/globalListener.js +4 -1
- package/es/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/install.js +3 -1
- package/es/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/modelHelper.js +7 -1
- package/es/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/axisPointer/viewHelper.js +9 -1
- package/es/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +4 -2
- package/es/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +11 -3
- package/es/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +4 -2
- package/es/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +4 -2
- package/es/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +4 -2
- package/es/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +3 -1
- package/es/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +4 -2
- package/es/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/helper.js +10 -2
- package/es/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/history.js +6 -1
- package/es/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/installCommon.js +3 -1
- package/es/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +3 -1
- package/es/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -1
- package/es/node_modules/echarts/lib/component/dataset/install.js +4 -1
- package/es/node_modules/echarts/lib/component/dataset/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/geo/GeoView.js +4 -2
- package/es/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/geo/install.js +3 -1
- package/es/node_modules/echarts/lib/component/geo/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/graphic/GraphicModel.js +12 -2
- package/es/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/graphic/GraphicView.js +15 -3
- package/es/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/graphic/install.js +3 -1
- package/es/node_modules/echarts/lib/component/graphic/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/grid/installSimple.js +3 -1
- package/es/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/BrushController.js +28 -3
- package/es/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/BrushTargetManager.js +12 -3
- package/es/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/MapDraw.js +4 -2
- package/es/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/RoamController.js +4 -2
- package/es/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/brushHelper.js +5 -1
- package/es/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/cursorHelper.js +3 -1
- package/es/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/interactionMutex.js +5 -1
- package/es/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/listComponent.js +4 -1
- package/es/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/roamHelper.js +4 -1
- package/es/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/helper/sliderMove.js +3 -1
- package/es/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/LegendModel.js +4 -2
- package/es/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/LegendView.js +14 -3
- package/es/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +4 -2
- package/es/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +22 -8
- package/es/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/install.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/installLegendPlain.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/installLegendScroll.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/legendAction.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/legendFilter.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -1
- package/es/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +3 -1
- package/es/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -1
- package/es/node_modules/echarts/lib/component/title/install.js +3 -1
- package/es/node_modules/echarts/lib/component/title/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/ToolboxView.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/feature/DataView.js +9 -3
- package/es/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/feature/Restore.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +4 -2
- package/es/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/featureManager.js +5 -1
- package/es/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -1
- package/es/node_modules/echarts/lib/component/toolbox/install.js +3 -1
- package/es/node_modules/echarts/lib/component/toolbox/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +4 -2
- package/es/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/TooltipModel.js +4 -2
- package/es/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +5 -3
- package/es/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/TooltipView.js +4 -2
- package/es/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/helper.js +7 -1
- package/es/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/install.js +3 -1
- package/es/node_modules/echarts/lib/component/tooltip/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +5 -3
- package/es/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -1
- package/es/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +19 -5
- package/es/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +4 -2
- package/es/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/ContinuousView.js +12 -4
- package/es/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +9 -2
- package/es/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +12 -3
- package/es/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +4 -2
- package/es/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/VisualMapView.js +4 -2
- package/es/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/helper.js +4 -1
- package/es/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/install.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/install.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/installCommon.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/preprocessor.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/visualEncoding.js +3 -1
- package/es/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -1
- package/es/node_modules/echarts/lib/component/visualMap/visualMapAction.js +4 -1
- package/es/node_modules/echarts/lib/component/visualMap/visualMapAction.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/Axis.js +4 -2
- package/es/node_modules/echarts/lib/coord/Axis.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/CoordinateSystem.js +3 -1
- package/es/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/View.js +4 -2
- package/es/node_modules/echarts/lib/coord/View.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisAlignTicks.js +14 -3
- package/es/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisCommonTypes.js +3 -1
- package/es/node_modules/echarts/lib/coord/axisCommonTypes.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisDefault.js +4 -2
- package/es/node_modules/echarts/lib/coord/axisDefault.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisHelper.js +14 -2
- package/es/node_modules/echarts/lib/coord/axisHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisModelCommonMixin.js +3 -1
- package/es/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisModelCreator.js +3 -1
- package/es/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +5 -1
- package/es/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/Axis2D.js +4 -2
- package/es/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/AxisModel.js +4 -1
- package/es/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/Cartesian.js +4 -2
- package/es/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +4 -2
- package/es/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/Grid.js +13 -3
- package/es/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/GridModel.js +4 -2
- package/es/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +11 -2
- package/es/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/Geo.js +21 -3
- package/es/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +4 -2
- package/es/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/GeoModel.js +4 -2
- package/es/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +3 -1
- package/es/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/Region.js +7 -1
- package/es/node_modules/echarts/lib/coord/geo/Region.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +3 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/nanhai.js +3 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/textCoord.js +3 -1
- package/es/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/geoCreator.js +13 -5
- package/es/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/geoSourceManager.js +7 -2
- package/es/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/geo/parseGeoJson.js +3 -1
- package/es/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -1
- package/es/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +15 -2
- package/es/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -1
- package/es/node_modules/echarts/lib/core/CoordinateSystem.js +4 -2
- package/es/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -1
- package/es/node_modules/echarts/lib/core/ExtensionAPI.js +4 -2
- package/es/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -1
- package/es/node_modules/echarts/lib/core/Scheduler.js +10 -2
- package/es/node_modules/echarts/lib/core/Scheduler.js.map +1 -1
- package/es/node_modules/echarts/lib/core/echarts.js +104 -5
- package/es/node_modules/echarts/lib/core/echarts.js.map +1 -1
- package/es/node_modules/echarts/lib/core/impl.js +15 -1
- package/es/node_modules/echarts/lib/core/impl.js.map +1 -1
- package/es/node_modules/echarts/lib/core/lifecycle.js +4 -2
- package/es/node_modules/echarts/lib/core/lifecycle.js.map +1 -1
- package/es/node_modules/echarts/lib/core/locale.js +7 -1
- package/es/node_modules/echarts/lib/core/locale.js.map +1 -1
- package/es/node_modules/echarts/lib/core/task.js +17 -2
- package/es/node_modules/echarts/lib/core/task.js.map +1 -1
- package/es/node_modules/echarts/lib/data/DataDiffer.js +4 -2
- package/es/node_modules/echarts/lib/data/DataDiffer.js.map +1 -1
- package/es/node_modules/echarts/lib/data/DataStore.js +20 -3
- package/es/node_modules/echarts/lib/data/DataStore.js.map +1 -1
- package/es/node_modules/echarts/lib/data/OrdinalMeta.js +4 -2
- package/es/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -1
- package/es/node_modules/echarts/lib/data/SeriesData.js +27 -3
- package/es/node_modules/echarts/lib/data/SeriesData.js.map +1 -1
- package/es/node_modules/echarts/lib/data/SeriesDimensionDefine.js +4 -2
- package/es/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -1
- package/es/node_modules/echarts/lib/data/Source.js +15 -5
- package/es/node_modules/echarts/lib/data/Source.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +7 -1
- package/es/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/createDimensions.js +3 -1
- package/es/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/dataProvider.js +38 -2
- package/es/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/dataStackHelper.js +5 -1
- package/es/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/dataValueHelper.js +4 -1
- package/es/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/dimensionHelper.js +8 -2
- package/es/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/sourceHelper.js +10 -2
- package/es/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/sourceManager.js +20 -2
- package/es/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -1
- package/es/node_modules/echarts/lib/data/helper/transform.js +57 -5
- package/es/node_modules/echarts/lib/data/helper/transform.js.map +1 -1
- package/es/node_modules/echarts/lib/extension.js +3 -1
- package/es/node_modules/echarts/lib/extension.js.map +1 -1
- package/es/node_modules/echarts/lib/i18n/langEN.js +4 -2
- package/es/node_modules/echarts/lib/i18n/langEN.js.map +1 -1
- package/es/node_modules/echarts/lib/i18n/langZH.js +4 -2
- package/es/node_modules/echarts/lib/i18n/langZH.js.map +1 -1
- package/es/node_modules/echarts/lib/label/labelGuideHelper.js +6 -1
- package/es/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/label/labelLayoutHelper.js +5 -1
- package/es/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/label/labelStyle.js +31 -1
- package/es/node_modules/echarts/lib/label/labelStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/label/sectorLabel.js +4 -1
- package/es/node_modules/echarts/lib/label/sectorLabel.js.map +1 -1
- package/es/node_modules/echarts/lib/layout/barGrid.js +11 -2
- package/es/node_modules/echarts/lib/layout/barGrid.js.map +1 -1
- package/es/node_modules/echarts/lib/layout/points.js +3 -1
- package/es/node_modules/echarts/lib/layout/points.js.map +1 -1
- package/es/node_modules/echarts/lib/legacy/dataSelectAction.js +11 -1
- package/es/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -1
- package/es/node_modules/echarts/lib/loading/default.js +3 -1
- package/es/node_modules/echarts/lib/loading/default.js.map +1 -1
- package/es/node_modules/echarts/lib/model/Component.js +5 -3
- package/es/node_modules/echarts/lib/model/Component.js.map +1 -1
- package/es/node_modules/echarts/lib/model/Global.js +106 -4
- package/es/node_modules/echarts/lib/model/Global.js.map +1 -1
- package/es/node_modules/echarts/lib/model/Model.js +4 -2
- package/es/node_modules/echarts/lib/model/Model.js.map +1 -1
- package/es/node_modules/echarts/lib/model/OptionManager.js +18 -4
- package/es/node_modules/echarts/lib/model/OptionManager.js.map +1 -1
- package/es/node_modules/echarts/lib/model/Series.js +10 -4
- package/es/node_modules/echarts/lib/model/Series.js.map +1 -1
- package/es/node_modules/echarts/lib/model/globalDefault.js +4 -2
- package/es/node_modules/echarts/lib/model/globalDefault.js.map +1 -1
- package/es/node_modules/echarts/lib/model/internalComponentCreator.js +10 -1
- package/es/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/areaStyle.js +4 -1
- package/es/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/dataFormat.js +14 -1
- package/es/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/itemStyle.js +4 -1
- package/es/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/lineStyle.js +4 -1
- package/es/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +3 -1
- package/es/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/palette.js +4 -2
- package/es/node_modules/echarts/lib/model/mixin/palette.js.map +1 -1
- package/es/node_modules/echarts/lib/model/mixin/textStyle.js +4 -2
- package/es/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/model/referHelper.js +25 -2
- package/es/node_modules/echarts/lib/model/referHelper.js.map +1 -1
- package/es/node_modules/echarts/lib/preprocessor/backwardCompat.js +37 -1
- package/es/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -1
- package/es/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +32 -1
- package/es/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -1
- package/es/node_modules/echarts/lib/processor/dataFilter.js +3 -1
- package/es/node_modules/echarts/lib/processor/dataFilter.js.map +1 -1
- package/es/node_modules/echarts/lib/processor/dataSample.js +3 -1
- package/es/node_modules/echarts/lib/processor/dataSample.js.map +1 -1
- package/es/node_modules/echarts/lib/processor/dataStack.js +3 -1
- package/es/node_modules/echarts/lib/processor/dataStack.js.map +1 -1
- package/es/node_modules/echarts/lib/processor/negativeDataFilter.js +3 -1
- package/es/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -1
- package/es/node_modules/echarts/lib/renderer/installCanvasRenderer.js +3 -1
- package/es/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/Interval.js +4 -2
- package/es/node_modules/echarts/lib/scale/Interval.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/Log.js +4 -2
- package/es/node_modules/echarts/lib/scale/Log.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/Ordinal.js +4 -2
- package/es/node_modules/echarts/lib/scale/Ordinal.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/Scale.js +4 -2
- package/es/node_modules/echarts/lib/scale/Scale.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/Time.js +11 -3
- package/es/node_modules/echarts/lib/scale/Time.js.map +1 -1
- package/es/node_modules/echarts/lib/scale/helper.js +17 -2
- package/es/node_modules/echarts/lib/scale/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/theme/dark.js +4 -2
- package/es/node_modules/echarts/lib/theme/dark.js.map +1 -1
- package/es/node_modules/echarts/lib/theme/light.js +4 -2
- package/es/node_modules/echarts/lib/theme/light.js.map +1 -1
- package/es/node_modules/echarts/lib/util/ECEventProcessor.js +3 -1
- package/es/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -1
- package/es/node_modules/echarts/lib/util/clazz.js +24 -2
- package/es/node_modules/echarts/lib/util/clazz.js.map +1 -1
- package/es/node_modules/echarts/lib/util/component.js +11 -2
- package/es/node_modules/echarts/lib/util/component.js.map +1 -1
- package/es/node_modules/echarts/lib/util/decal.js +14 -1
- package/es/node_modules/echarts/lib/util/decal.js.map +1 -1
- package/es/node_modules/echarts/lib/util/event.js +3 -1
- package/es/node_modules/echarts/lib/util/event.js.map +1 -1
- package/es/node_modules/echarts/lib/util/format.js +12 -2
- package/es/node_modules/echarts/lib/util/format.js.map +1 -1
- package/es/node_modules/echarts/lib/util/graphic.js +72 -23
- package/es/node_modules/echarts/lib/util/graphic.js.map +1 -1
- package/es/node_modules/echarts/lib/util/innerStore.js +4 -1
- package/es/node_modules/echarts/lib/util/innerStore.js.map +1 -1
- package/es/node_modules/echarts/lib/util/layout.js +12 -2
- package/es/node_modules/echarts/lib/util/layout.js.map +1 -1
- package/es/node_modules/echarts/lib/util/log.js +60 -1
- package/es/node_modules/echarts/lib/util/log.js.map +1 -1
- package/es/node_modules/echarts/lib/util/model.js +48 -2
- package/es/node_modules/echarts/lib/util/model.js.map +1 -1
- package/es/node_modules/echarts/lib/util/number.js +23 -1
- package/es/node_modules/echarts/lib/util/number.js.map +1 -1
- package/es/node_modules/echarts/lib/util/shape/sausage.js +4 -2
- package/es/node_modules/echarts/lib/util/shape/sausage.js.map +1 -1
- package/es/node_modules/echarts/lib/util/states.js +59 -1
- package/es/node_modules/echarts/lib/util/states.js.map +1 -1
- package/es/node_modules/echarts/lib/util/styleCompat.js +4 -1
- package/es/node_modules/echarts/lib/util/styleCompat.js.map +1 -1
- package/es/node_modules/echarts/lib/util/symbol.js +6 -1
- package/es/node_modules/echarts/lib/util/symbol.js.map +1 -1
- package/es/node_modules/echarts/lib/util/throttle.js +5 -1
- package/es/node_modules/echarts/lib/util/throttle.js.map +1 -1
- package/es/node_modules/echarts/lib/util/time.js +33 -1
- package/es/node_modules/echarts/lib/util/time.js.map +1 -1
- package/es/node_modules/echarts/lib/util/types.js +11 -1
- package/es/node_modules/echarts/lib/util/types.js.map +1 -1
- package/es/node_modules/echarts/lib/util/vendor.js +3 -1
- package/es/node_modules/echarts/lib/util/vendor.js.map +1 -1
- package/es/node_modules/echarts/lib/view/Chart.js +16 -4
- package/es/node_modules/echarts/lib/view/Chart.js.map +1 -1
- package/es/node_modules/echarts/lib/view/Component.js +4 -2
- package/es/node_modules/echarts/lib/view/Component.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/LegendVisualProvider.js +4 -2
- package/es/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/VisualMapping.js +5 -3
- package/es/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/decal.js +3 -1
- package/es/node_modules/echarts/lib/visual/decal.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/helper.js +17 -1
- package/es/node_modules/echarts/lib/visual/helper.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/style.js +10 -2
- package/es/node_modules/echarts/lib/visual/style.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/symbol.js +4 -1
- package/es/node_modules/echarts/lib/visual/symbol.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/visualDefault.js +4 -2
- package/es/node_modules/echarts/lib/visual/visualDefault.js.map +1 -1
- package/es/node_modules/echarts/lib/visual/visualSolution.js +5 -1
- package/es/node_modules/echarts/lib/visual/visualSolution.js.map +1 -1
- package/es/node_modules/echarts/node_modules/tslib/tslib.es6.js +3 -1
- package/es/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -1
- package/es/node_modules/resize-detector/esm/index.js +4 -1
- package/es/node_modules/resize-detector/esm/index.js.map +1 -1
- package/es/node_modules/zrender/lib/Element.js +35 -2
- package/es/node_modules/zrender/lib/Element.js.map +1 -1
- package/es/node_modules/zrender/lib/Handler.js +4 -2
- package/es/node_modules/zrender/lib/Handler.js.map +1 -1
- package/es/node_modules/zrender/lib/Storage.js +4 -2
- package/es/node_modules/zrender/lib/Storage.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/Animation.js +5 -2
- package/es/node_modules/zrender/lib/animation/Animation.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/Animator.js +4 -1
- package/es/node_modules/zrender/lib/animation/Animator.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/Clip.js +4 -2
- package/es/node_modules/zrender/lib/animation/Clip.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/cubicEasing.js +3 -1
- package/es/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/easing.js +4 -2
- package/es/node_modules/zrender/lib/animation/easing.js.map +1 -1
- package/es/node_modules/zrender/lib/animation/requestAnimationFrame.js +4 -2
- package/es/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -1
- package/es/node_modules/zrender/lib/canvas/Layer.js +4 -2
- package/es/node_modules/zrender/lib/canvas/Layer.js.map +1 -1
- package/es/node_modules/zrender/lib/canvas/Painter.js +10 -2
- package/es/node_modules/zrender/lib/canvas/Painter.js.map +1 -1
- package/es/node_modules/zrender/lib/canvas/dashStyle.js +4 -1
- package/es/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -1
- package/es/node_modules/zrender/lib/canvas/graphic.js +5 -1
- package/es/node_modules/zrender/lib/canvas/graphic.js.map +1 -1
- package/es/node_modules/zrender/lib/canvas/helper.js +7 -1
- package/es/node_modules/zrender/lib/canvas/helper.js.map +1 -1
- package/es/node_modules/zrender/lib/config.js +7 -1
- package/es/node_modules/zrender/lib/config.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/arc.js +3 -1
- package/es/node_modules/zrender/lib/contain/arc.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/cubic.js +3 -1
- package/es/node_modules/zrender/lib/contain/cubic.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/line.js +3 -1
- package/es/node_modules/zrender/lib/contain/line.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/path.js +4 -1
- package/es/node_modules/zrender/lib/contain/path.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/polygon.js +3 -1
- package/es/node_modules/zrender/lib/contain/polygon.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/quadratic.js +3 -1
- package/es/node_modules/zrender/lib/contain/quadratic.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/text.js +10 -1
- package/es/node_modules/zrender/lib/contain/text.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/util.js +3 -1
- package/es/node_modules/zrender/lib/contain/util.js.map +1 -1
- package/es/node_modules/zrender/lib/contain/windingLine.js +3 -1
- package/es/node_modules/zrender/lib/contain/windingLine.js.map +1 -1
- package/es/node_modules/zrender/lib/core/BoundingRect.js +4 -2
- package/es/node_modules/zrender/lib/core/BoundingRect.js.map +1 -1
- package/es/node_modules/zrender/lib/core/Eventful.js +4 -2
- package/es/node_modules/zrender/lib/core/Eventful.js.map +1 -1
- package/es/node_modules/zrender/lib/core/GestureMgr.js +3 -1
- package/es/node_modules/zrender/lib/core/GestureMgr.js.map +1 -1
- package/es/node_modules/zrender/lib/core/LRU.js +6 -2
- package/es/node_modules/zrender/lib/core/LRU.js.map +1 -1
- package/es/node_modules/zrender/lib/core/OrientedBoundingRect.js +4 -2
- package/es/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -1
- package/es/node_modules/zrender/lib/core/PathProxy.js +5 -2
- package/es/node_modules/zrender/lib/core/PathProxy.js.map +1 -1
- package/es/node_modules/zrender/lib/core/Point.js +4 -2
- package/es/node_modules/zrender/lib/core/Point.js.map +1 -1
- package/es/node_modules/zrender/lib/core/Transformable.js +5 -1
- package/es/node_modules/zrender/lib/core/Transformable.js.map +1 -1
- package/es/node_modules/zrender/lib/core/WeakMap.js +4 -2
- package/es/node_modules/zrender/lib/core/WeakMap.js.map +1 -1
- package/es/node_modules/zrender/lib/core/bbox.js +6 -1
- package/es/node_modules/zrender/lib/core/bbox.js.map +1 -1
- package/es/node_modules/zrender/lib/core/curve.js +16 -1
- package/es/node_modules/zrender/lib/core/curve.js.map +1 -1
- package/es/node_modules/zrender/lib/core/dom.js +5 -1
- package/es/node_modules/zrender/lib/core/dom.js.map +1 -1
- package/es/node_modules/zrender/lib/core/env.js +4 -2
- package/es/node_modules/zrender/lib/core/env.js.map +1 -1
- package/es/node_modules/zrender/lib/core/event.js +9 -1
- package/es/node_modules/zrender/lib/core/event.js.map +1 -1
- package/es/node_modules/zrender/lib/core/fourPointsTransform.js +3 -1
- package/es/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -1
- package/es/node_modules/zrender/lib/core/matrix.js +10 -1
- package/es/node_modules/zrender/lib/core/matrix.js.map +1 -1
- package/es/node_modules/zrender/lib/core/platform.js +7 -1
- package/es/node_modules/zrender/lib/core/platform.js.map +1 -1
- package/es/node_modules/zrender/lib/core/timsort.js +3 -1
- package/es/node_modules/zrender/lib/core/timsort.js.map +1 -1
- package/es/node_modules/zrender/lib/core/util.js +53 -1
- package/es/node_modules/zrender/lib/core/util.js.map +1 -1
- package/es/node_modules/zrender/lib/core/vector.js +19 -1
- package/es/node_modules/zrender/lib/core/vector.js.map +1 -1
- package/es/node_modules/zrender/lib/dom/HandlerProxy.js +4 -2
- package/es/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/CompoundPath.js +4 -2
- package/es/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Displayable.js +6 -2
- package/es/node_modules/zrender/lib/graphic/Displayable.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Gradient.js +4 -2
- package/es/node_modules/zrender/lib/graphic/Gradient.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Group.js +9 -2
- package/es/node_modules/zrender/lib/graphic/Group.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Image.js +6 -2
- package/es/node_modules/zrender/lib/graphic/Image.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +4 -2
- package/es/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/LinearGradient.js +4 -2
- package/es/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Path.js +6 -2
- package/es/node_modules/zrender/lib/graphic/Path.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/RadialGradient.js +4 -2
- package/es/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/TSpan.js +5 -2
- package/es/node_modules/zrender/lib/graphic/TSpan.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Text.js +11 -2
- package/es/node_modules/zrender/lib/graphic/Text.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/constants.js +5 -1
- package/es/node_modules/zrender/lib/graphic/constants.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/image.js +5 -1
- package/es/node_modules/zrender/lib/graphic/helper/image.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/parseText.js +6 -1
- package/es/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/poly.js +3 -1
- package/es/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/roundRect.js +3 -1
- package/es/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/roundSector.js +3 -1
- package/es/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/smoothBezier.js +3 -1
- package/es/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js +5 -1
- package/es/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Arc.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/BezierCurve.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Circle.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Ellipse.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Line.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Polygon.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Polyline.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Rect.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Ring.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/shape/Sector.js +5 -2
- package/es/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -1
- package/es/node_modules/zrender/lib/mixin/Draggable.js +4 -2
- package/es/node_modules/zrender/lib/mixin/Draggable.js.map +1 -1
- package/es/node_modules/zrender/lib/svg/helper.js +8 -2
- package/es/node_modules/zrender/lib/svg/helper.js.map +1 -1
- package/es/node_modules/zrender/lib/tool/color.js +10 -1
- package/es/node_modules/zrender/lib/tool/color.js.map +1 -1
- package/es/node_modules/zrender/lib/tool/parseSVG.js +11 -2
- package/es/node_modules/zrender/lib/tool/parseSVG.js.map +1 -1
- package/es/node_modules/zrender/lib/tool/parseXML.js +3 -1
- package/es/node_modules/zrender/lib/tool/parseXML.js.map +1 -1
- package/es/node_modules/zrender/lib/tool/path.js +5 -1
- package/es/node_modules/zrender/lib/tool/path.js.map +1 -1
- package/es/node_modules/zrender/lib/tool/transformPath.js +3 -1
- package/es/node_modules/zrender/lib/tool/transformPath.js.map +1 -1
- package/es/node_modules/zrender/lib/zrender.js +9 -1
- package/es/node_modules/zrender/lib/zrender.js.map +1 -1
- package/es/node_modules/zrender/node_modules/tslib/tslib.es6.js +3 -1
- package/es/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -1
- package/es/setting/page-config/PageConfig.js +10 -21
- package/es/setting/page-config/PageConfig.js.map +1 -1
- package/es/setting/page-config/PageConfig.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/setting/page-config/PageConfig.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/setting/page-config/index.js +7 -2
- package/es/setting/page-config/index.js.map +1 -1
- package/es/setting/page-config/props.js +4 -1
- package/es/setting/page-config/props.js.map +1 -1
- package/es/setting/provider-config/ProviderConfig.js +51 -24
- package/es/setting/provider-config/ProviderConfig.js.map +1 -1
- package/es/setting/provider-config/index.js +7 -2
- package/es/setting/provider-config/index.js.map +1 -1
- package/es/setting/provider-config/props.js +6 -2
- package/es/setting/provider-config/props.js.map +1 -1
- package/es/setting/renderer/Renderer.js +19 -0
- package/es/setting/renderer/Renderer.js.map +1 -0
- package/es/setting/renderer/index.js +11 -0
- package/es/setting/renderer/index.js.map +1 -0
- package/es/setting/renderer/props.js +10 -0
- package/es/setting/renderer/props.js.map +1 -0
- package/es/table/table/Table.js +101 -42
- package/es/table/table/Table.js.map +1 -1
- package/es/table/table/Table.vue_vue_type_style_index_0_scoped_true_lang.js +4 -36
- package/es/table/table/Table.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/table/table/Table.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/table/table/Table.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/table/table/index.js +8 -2
- package/es/table/table/index.js.map +1 -1
- package/es/table/table/props.js +24 -24
- package/es/table/table/props.js.map +1 -1
- package/es/text/list/List.js +17 -27
- package/es/text/list/List.js.map +1 -1
- package/es/text/list/List.vue_vue_type_style_index_0_scoped_true_lang.js +4 -109
- package/es/text/list/List.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/text/list/List.vue_vue_type_style_index_1_lang.js +4 -2
- package/es/text/list/List.vue_vue_type_style_index_1_lang.js.map +1 -1
- package/es/text/list/index.js +8 -2
- package/es/text/list/index.js.map +1 -1
- package/es/text/list/props.js +8 -22
- package/es/text/list/props.js.map +1 -1
- package/es/text/proportion/Proportion.js +49 -44
- package/es/text/proportion/Proportion.js.map +1 -1
- package/es/text/proportion/Proportion.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/text/proportion/Proportion.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/text/proportion/index.js +8 -2
- package/es/text/proportion/index.js.map +1 -1
- package/es/text/proportion/props.js +11 -23
- package/es/text/proportion/props.js.map +1 -1
- package/es/text/scroll-text/ScrollText.js +4 -2
- package/es/text/scroll-text/ScrollText.js.map +1 -1
- package/es/text/scroll-text/ScrollText.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/text/scroll-text/ScrollText.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/text/scroll-text/index.js +4 -1
- package/es/text/scroll-text/index.js.map +1 -1
- package/es/text/text/Text.js +51 -30
- package/es/text/text/Text.js.map +1 -1
- package/es/text/text/Text.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/text/text/Text.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/text/text/index.js +8 -2
- package/es/text/text/index.js.map +1 -1
- package/es/text/text/props.js +13 -24
- package/es/text/text/props.js.map +1 -1
- package/es/text/time-display/TimeDisplay.js +8 -20
- package/es/text/time-display/TimeDisplay.js.map +1 -1
- package/es/text/time-display/TimeDisplay.vue_vue_type_style_index_0_scoped_true_lang.js +4 -2
- package/es/text/time-display/TimeDisplay.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/es/text/time-display/index.js +7 -2
- package/es/text/time-display/index.js.map +1 -1
- package/es/text/time-display/props.js +7 -22
- package/es/text/time-display/props.js.map +1 -1
- package/lib/_utils/constant.js +7 -3
- package/lib/_utils/constant.js.map +1 -1
- package/lib/_utils/hooks/useDownloadFile.js +2 -2
- package/lib/_utils/hooks/useDownloadFile.js.map +1 -1
- package/lib/_utils/hooks/useEmitEvent.js +3 -3
- package/lib/_utils/hooks/useEmitEvent.js.map +1 -1
- package/lib/_utils/hooks/useHrefParamsToGlobalVariables.js +17 -0
- package/lib/_utils/hooks/useHrefParamsToGlobalVariables.js.map +1 -0
- package/lib/_utils/hooks/useImagePath.js +2 -2
- package/lib/_utils/hooks/useIndicatorData.js +206 -0
- package/lib/_utils/hooks/useIndicatorData.js.map +1 -0
- package/lib/_utils/hooks/useOnEvent.js +3 -3
- package/lib/_utils/hooks/usePageUrl.js +2 -2
- package/lib/_utils/hooks/usePickComponentStyle.js +9 -4
- package/lib/_utils/hooks/usePickComponentStyle.js.map +1 -1
- package/lib/_utils/hooks/useRequestData.js +20 -33
- package/lib/_utils/hooks/useRequestData.js.map +1 -1
- package/lib/_utils/hooks/useRequestDiagramData.js +6 -22
- package/lib/_utils/hooks/useRequestDiagramData.js.map +1 -1
- package/lib/_utils/hooks/useTransformChartDataByAttrKey.js +1 -1
- package/lib/_utils/hooks/useTransformChartDataByAttrKey.js.map +1 -1
- package/lib/_utils/hooks/useTransformChartDataByAttrValue.js +3 -19
- package/lib/_utils/hooks/useTransformChartDataByAttrValue.js.map +1 -1
- package/lib/_utils/hooks/useValueFormatter.js +13 -6
- package/lib/_utils/hooks/useValueFormatter.js.map +1 -1
- package/lib/_utils/hooks/useVariablesInText.js +8 -25
- package/lib/_utils/hooks/useVariablesInText.js.map +1 -1
- package/lib/_utils/props.js +1 -1
- package/lib/_utils/props.js.map +1 -1
- package/lib/_utils/request.js +4 -4
- package/lib/_utils/request.js.map +1 -1
- package/lib/_utils/util.js.map +1 -1
- package/lib/_utils/withInstall.js +1 -0
- package/lib/_utils/withInstall.js.map +1 -1
- package/lib/_virtual/_commonjsHelpers.js +7 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/_virtual/index.js +5 -0
- package/lib/_virtual/index.js.map +1 -0
- package/lib/_virtual/plugin-vue_export-helper.js +2 -2
- package/lib/_virtual/plugin-vue_export-helper.js.map +1 -1
- package/lib/assets/border-title-decoration-left.js +2 -2
- package/lib/assets/border-title-decoration-left.js.map +1 -1
- package/lib/assets/border-title-decoration-right.js +2 -2
- package/lib/assets/border-title-decoration-right.js.map +1 -1
- package/lib/assets/go-down.js +5 -0
- package/lib/assets/go-down.js.map +1 -0
- package/lib/assets/go-up.js +5 -0
- package/lib/assets/go-up.js.map +1 -0
- package/lib/common/Skeleton/Skeleton.js +19 -3
- package/lib/common/Skeleton/Skeleton.js.map +1 -1
- package/lib/common/Skeleton/index.js +2 -2
- package/lib/common/echarts/ECharts.js +77 -62
- package/lib/common/echarts/ECharts.js.map +1 -1
- package/lib/common/echarts/composables/api.js.map +1 -1
- package/lib/common/echarts/composables/autoresize.js +3 -3
- package/lib/common/echarts/composables/autoresize.js.map +1 -1
- package/lib/common/echarts/composables/loading.js +5 -18
- package/lib/common/echarts/composables/loading.js.map +1 -1
- package/lib/common/echarts/index.js +2 -2
- package/lib/common/echarts/style.js +2 -2
- package/lib/common/echarts/utils.js.map +1 -1
- package/lib/common/spin/Spin.js +7 -7
- package/lib/common/spin/Spin.js.map +1 -1
- package/lib/common/spin/Spin.vue_vue_type_style_index_0_lang.js +2 -2
- package/lib/common/spin/index.js +2 -2
- package/lib/components.js +103 -98
- package/lib/components.js.map +1 -1
- package/lib/container/border/Border.js +75 -82
- package/lib/container/border/Border.js.map +1 -1
- package/lib/container/border/Border.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/container/border/index.js +5 -5
- package/lib/container/border/index.js.map +1 -1
- package/lib/container/border/props.js +12 -23
- package/lib/container/border/props.js.map +1 -1
- package/lib/container/modal/Modal.js +16 -32
- package/lib/container/modal/Modal.js.map +1 -1
- package/lib/container/modal/Modal.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/container/modal/Modal.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/container/modal/index.js +5 -5
- package/lib/container/modal/index.js.map +1 -1
- package/lib/container/modal/props.js +1 -1
- package/lib/container/modal/props.js.map +1 -1
- package/lib/container/tabs/Tabs.js +110 -0
- package/lib/container/tabs/Tabs.js.map +1 -0
- package/lib/container/tabs/Tabs.vue_vue_type_style_index_0_scoped_true_lang.js +5 -0
- package/lib/container/tabs/Tabs.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -0
- package/lib/container/tabs/index.js +12 -0
- package/lib/container/tabs/index.js.map +1 -0
- package/lib/container/tabs/props.js +38 -0
- package/lib/container/tabs/props.js.map +1 -0
- package/lib/control/button/Button.js +54 -35
- package/lib/control/button/Button.js.map +1 -1
- package/lib/control/button/Button.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/control/button/Button.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/control/button/index.js +5 -5
- package/lib/control/button/index.js.map +1 -1
- package/lib/control/button/props.js +13 -23
- package/lib/control/button/props.js.map +1 -1
- package/lib/control/date-picker/DatePicker.js +20 -36
- package/lib/control/date-picker/DatePicker.js.map +1 -1
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/control/date-picker/index.js +5 -5
- package/lib/control/date-picker/index.js.map +1 -1
- package/lib/control/date-picker/props.js +8 -28
- package/lib/control/date-picker/props.js.map +1 -1
- package/lib/control/input/Input.js +11 -25
- package/lib/control/input/Input.js.map +1 -1
- package/lib/control/input/Input.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/control/input/index.js +5 -5
- package/lib/control/input/index.js.map +1 -1
- package/lib/control/input/props.js +4 -22
- package/lib/control/input/props.js.map +1 -1
- package/lib/control/range-picker/RangePicker.js +21 -37
- package/lib/control/range-picker/RangePicker.js.map +1 -1
- package/lib/control/range-picker/RangePicker.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/control/range-picker/RangePicker.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/control/range-picker/index.js +5 -5
- package/lib/control/range-picker/index.js.map +1 -1
- package/lib/control/range-picker/props.js +4 -22
- package/lib/control/range-picker/props.js.map +1 -1
- package/lib/control/select/Select.js +14 -28
- package/lib/control/select/Select.js.map +1 -1
- package/lib/control/select/Select.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/control/select/Select.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/control/select/index.js +5 -5
- package/lib/control/select/index.js.map +1 -1
- package/lib/control/select/props.js +4 -22
- package/lib/control/select/props.js.map +1 -1
- package/lib/graph/bar/Bar.js +58 -70
- package/lib/graph/bar/Bar.js.map +1 -1
- package/lib/graph/bar/Bar.vue_vue_type_style_index_0_lang.js +2 -2
- package/lib/graph/bar/index.js +5 -5
- package/lib/graph/bar/index.js.map +1 -1
- package/lib/graph/bar/props.js +12 -28
- package/lib/graph/bar/props.js.map +1 -1
- package/lib/graph/combo-graph/ComboGraph.js +112 -55
- package/lib/graph/combo-graph/ComboGraph.js.map +1 -1
- package/lib/graph/combo-graph/ComboGraph.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/graph/combo-graph/ComboGraph.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/graph/combo-graph/index.js +5 -5
- package/lib/graph/combo-graph/index.js.map +1 -1
- package/lib/graph/combo-graph/props.js +16 -25
- package/lib/graph/combo-graph/props.js.map +1 -1
- package/lib/graph/custom-graph/CustomGraph.js +20 -36
- package/lib/graph/custom-graph/CustomGraph.js.map +1 -1
- package/lib/graph/custom-graph/index.js +5 -5
- package/lib/graph/custom-graph/index.js.map +1 -1
- package/lib/graph/custom-graph/props.js +4 -22
- package/lib/graph/custom-graph/props.js.map +1 -1
- package/lib/graph/line/Line.js +113 -56
- package/lib/graph/line/Line.js.map +1 -1
- package/lib/graph/line/Line.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/graph/line/Line.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/graph/line/index.js +5 -5
- package/lib/graph/line/index.js.map +1 -1
- package/lib/graph/line/props.js +17 -25
- package/lib/graph/line/props.js.map +1 -1
- package/lib/graph/pie/Pie.js +105 -50
- package/lib/graph/pie/Pie.js.map +1 -1
- package/lib/graph/pie/Pie.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/graph/pie/Pie.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/graph/pie/index.js +5 -5
- package/lib/graph/pie/index.js.map +1 -1
- package/lib/graph/pie/props.js +16 -25
- package/lib/graph/pie/props.js.map +1 -1
- package/lib/graph/scatter/Scatter.js +98 -47
- package/lib/graph/scatter/Scatter.js.map +1 -1
- package/lib/graph/scatter/Scatter.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/graph/scatter/Scatter.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/graph/scatter/index.js +5 -5
- package/lib/graph/scatter/index.js.map +1 -1
- package/lib/graph/scatter/props.js +16 -25
- package/lib/graph/scatter/props.js.map +1 -1
- package/lib/index.js +104 -99
- package/lib/index.js.map +1 -1
- package/lib/map/map/Map.js +23 -37
- package/lib/map/map/Map.js.map +1 -1
- package/lib/map/map/Map.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/map/map/index.js +5 -5
- package/lib/map/map/index.js.map +1 -1
- package/lib/map/map/props.js +4 -22
- package/lib/map/map/props.js.map +1 -1
- package/lib/media/image/Image.js +28 -31
- package/lib/media/image/Image.js.map +1 -1
- package/lib/media/image/Image.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/media/image/index.js +5 -5
- package/lib/media/image/index.js.map +1 -1
- package/lib/media/image/props.js +6 -24
- package/lib/media/image/props.js.map +1 -1
- package/lib/node_modules/@ant-design/colors/dist/index.esm.js +2 -2
- package/lib/node_modules/@ant-design/colors/dist/index.esm.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js +2 -2
- package/lib/node_modules/@ant-design/icons-svg/es/asn/LoadingOutlined.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/components/AntdIcon.js +7 -7
- package/lib/node_modules/@ant-design/icons-vue/es/components/AntdIcon.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/components/IconBase.js +4 -4
- package/lib/node_modules/@ant-design/icons-vue/es/components/IconBase.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/components/twoTonePrimaryColor.js +4 -4
- package/lib/node_modules/@ant-design/icons-vue/es/components/twoTonePrimaryColor.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js +7 -7
- package/lib/node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/insert-css.js +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/insert-css.js.map +1 -1
- package/lib/node_modules/@ant-design/icons-vue/es/utils.js +11 -4
- package/lib/node_modules/@ant-design/icons-vue/es/utils.js.map +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js +1 -1
- package/lib/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -1
- package/lib/node_modules/@ctrl/tinycolor/dist/module/conversion.js +1 -1
- package/lib/node_modules/@ctrl/tinycolor/dist/module/conversion.js.map +1 -1
- package/lib/node_modules/@ctrl/tinycolor/dist/module/format-input.js +3 -3
- package/lib/node_modules/@ctrl/tinycolor/dist/module/format-input.js.map +1 -1
- package/lib/node_modules/@ctrl/tinycolor/dist/module/util.js.map +1 -1
- package/lib/node_modules/@vue/shared/dist/shared.esm-bundler.js +4 -0
- package/lib/node_modules/@vue/shared/dist/shared.esm-bundler.js.map +1 -0
- package/lib/node_modules/ant-design-vue/es/button/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/checkbox/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js +8 -8
- package/lib/node_modules/ant-design-vue/es/date-picker/locale/zh_CN.js.map +1 -1
- package/lib/node_modules/ant-design-vue/es/date-picker/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/dropdown/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/empty/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/input/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/modal/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/pagination/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/progress/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/radio/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/select/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/skeleton/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/spin/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/style/default.js +2 -1738
- package/lib/node_modules/ant-design-vue/es/style/default.js.map +1 -1
- package/lib/node_modules/ant-design-vue/es/table/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/tag/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js +2 -2
- package/lib/node_modules/ant-design-vue/es/time-picker/locale/zh_CN.js.map +1 -1
- package/lib/node_modules/ant-design-vue/es/tooltip/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/tree/style/index.js +2 -2
- package/lib/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js +2 -2
- package/lib/node_modules/ant-design-vue/es/vc-picker/locale/zh_CN.js.map +1 -1
- package/lib/node_modules/axios/index.js +8 -3
- package/lib/node_modules/axios/index.js.map +1 -1
- package/lib/node_modules/axios/lib/adapters/xhr.js +150 -137
- package/lib/node_modules/axios/lib/adapters/xhr.js.map +1 -1
- package/lib/node_modules/axios/lib/axios.js +25 -23
- package/lib/node_modules/axios/lib/axios.js.map +1 -1
- package/lib/node_modules/axios/lib/cancel/Cancel.js +16 -8
- package/lib/node_modules/axios/lib/cancel/Cancel.js.map +1 -1
- package/lib/node_modules/axios/lib/cancel/CancelToken.js +78 -70
- package/lib/node_modules/axios/lib/cancel/CancelToken.js.map +1 -1
- package/lib/node_modules/axios/lib/cancel/isCancel.js +12 -4
- package/lib/node_modules/axios/lib/cancel/isCancel.js.map +1 -1
- package/lib/node_modules/axios/lib/core/Axios.js +13 -13
- package/lib/node_modules/axios/lib/core/Axios.js.map +1 -1
- package/lib/node_modules/axios/lib/core/InterceptorManager.js +3 -3
- package/lib/node_modules/axios/lib/core/InterceptorManager.js.map +1 -1
- package/lib/node_modules/axios/lib/core/buildFullPath.js +19 -11
- package/lib/node_modules/axios/lib/core/buildFullPath.js.map +1 -1
- package/lib/node_modules/axios/lib/core/createError.js +15 -7
- package/lib/node_modules/axios/lib/core/createError.js.map +1 -1
- package/lib/node_modules/axios/lib/core/dispatchRequest.js +40 -18
- package/lib/node_modules/axios/lib/core/dispatchRequest.js.map +1 -1
- package/lib/node_modules/axios/lib/core/enhanceError.js +1 -1
- package/lib/node_modules/axios/lib/core/enhanceError.js.map +1 -1
- package/lib/node_modules/axios/lib/core/mergeConfig.js +3 -3
- package/lib/node_modules/axios/lib/core/mergeConfig.js.map +1 -1
- package/lib/node_modules/axios/lib/core/settle.js +25 -11
- package/lib/node_modules/axios/lib/core/settle.js.map +1 -1
- package/lib/node_modules/axios/lib/core/transformData.js +5 -5
- package/lib/node_modules/axios/lib/core/transformData.js.map +1 -1
- package/lib/node_modules/axios/lib/defaults.js +102 -94
- package/lib/node_modules/axios/lib/defaults.js.map +1 -1
- package/lib/node_modules/axios/lib/env/data.js +12 -4
- package/lib/node_modules/axios/lib/env/data.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/bind.js +1 -1
- package/lib/node_modules/axios/lib/helpers/bind.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/buildURL.js +3 -3
- package/lib/node_modules/axios/lib/helpers/buildURL.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/combineURLs.js +12 -4
- package/lib/node_modules/axios/lib/helpers/combineURLs.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/cookies.js +47 -39
- package/lib/node_modules/axios/lib/helpers/cookies.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/isAbsoluteURL.js +12 -4
- package/lib/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/isAxiosError.js +14 -6
- package/lib/node_modules/axios/lib/helpers/isAxiosError.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/isURLSameOrigin.js +40 -32
- package/lib/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/normalizeHeaderName.js +3 -3
- package/lib/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/parseHeaders.js +54 -46
- package/lib/node_modules/axios/lib/helpers/parseHeaders.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/spread.js +13 -5
- package/lib/node_modules/axios/lib/helpers/spread.js.map +1 -1
- package/lib/node_modules/axios/lib/helpers/validator.js +9 -4
- package/lib/node_modules/axios/lib/helpers/validator.js.map +1 -1
- package/lib/node_modules/axios/lib/utils.js +3 -3
- package/lib/node_modules/axios/lib/utils.js.map +1 -1
- package/lib/node_modules/echarts/lib/action/roamHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/animation/basicTrasition.js +2 -2
- package/lib/node_modules/echarts/lib/animation/basicTrasition.js.map +1 -1
- package/lib/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +16 -4
- package/lib/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js.map +1 -1
- package/lib/node_modules/echarts/lib/animation/customGraphicTransition.js +59 -11
- package/lib/node_modules/echarts/lib/animation/customGraphicTransition.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/bar/BarSeries.js +9 -9
- package/lib/node_modules/echarts/lib/chart/bar/BarSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/bar/BarView.js +40 -27
- package/lib/node_modules/echarts/lib/chart/bar/BarView.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +8 -8
- package/lib/node_modules/echarts/lib/chart/bar/BaseBarSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/bar/install.js +8 -8
- package/lib/node_modules/echarts/lib/chart/bar/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js +14 -12
- package/lib/node_modules/echarts/lib/chart/helper/LargeSymbolDraw.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/Symbol.js +14 -14
- package/lib/node_modules/echarts/lib/chart/helper/Symbol.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/SymbolDraw.js +10 -10
- package/lib/node_modules/echarts/lib/chart/helper/SymbolDraw.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js +7 -7
- package/lib/node_modules/echarts/lib/chart/helper/createClipPathFromCoordSys.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/createRenderPlanner.js +2 -2
- package/lib/node_modules/echarts/lib/chart/helper/createRenderPlanner.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesData.js +20 -16
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesData.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js +6 -6
- package/lib/node_modules/echarts/lib/chart/helper/createSeriesDataSimply.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/labelHelper.js +2 -2
- package/lib/node_modules/echarts/lib/chart/helper/labelHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/helper/pieHelper.js +2 -2
- package/lib/node_modules/echarts/lib/chart/helper/pieHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/LineSeries.js +16 -10
- package/lib/node_modules/echarts/lib/chart/line/LineSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/LineView.js +56 -39
- package/lib/node_modules/echarts/lib/chart/line/LineView.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/helper.js +10 -4
- package/lib/node_modules/echarts/lib/chart/line/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/install.js +8 -8
- package/lib/node_modules/echarts/lib/chart/line/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/lineAnimationDiff.js +3 -3
- package/lib/node_modules/echarts/lib/chart/line/lineAnimationDiff.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/line/poly.js +7 -7
- package/lib/node_modules/echarts/lib/chart/line/poly.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/map/MapSeries.js +13 -13
- package/lib/node_modules/echarts/lib/chart/map/MapSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/map/MapView.js +11 -11
- package/lib/node_modules/echarts/lib/chart/map/MapView.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/map/install.js +11 -11
- package/lib/node_modules/echarts/lib/chart/map/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/map/mapDataStatistic.js +2 -2
- package/lib/node_modules/echarts/lib/chart/map/mapDataStatistic.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/map/mapSymbolLayout.js +2 -2
- package/lib/node_modules/echarts/lib/chart/map/mapSymbolLayout.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/pie/PieSeries.js +13 -13
- package/lib/node_modules/echarts/lib/chart/pie/PieSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/pie/PieView.js +21 -21
- package/lib/node_modules/echarts/lib/chart/pie/PieView.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/pie/install.js +12 -12
- package/lib/node_modules/echarts/lib/chart/pie/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/pie/labelLayout.js +8 -8
- package/lib/node_modules/echarts/lib/chart/pie/labelLayout.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/pie/pieLayout.js +4 -4
- package/lib/node_modules/echarts/lib/chart/pie/pieLayout.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterSeries.js +7 -7
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterView.js +10 -10
- package/lib/node_modules/echarts/lib/chart/scatter/ScatterView.js.map +1 -1
- package/lib/node_modules/echarts/lib/chart/scatter/install.js +8 -8
- package/lib/node_modules/echarts/lib/chart/scatter/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axis/AxisBuilder.js +32 -25
- package/lib/node_modules/echarts/lib/component/axis/AxisBuilder.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axis/AxisView.js +11 -6
- package/lib/node_modules/echarts/lib/component/axis/AxisView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axis/CartesianAxisView.js +16 -16
- package/lib/node_modules/echarts/lib/component/axis/CartesianAxisView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axis/axisSplitHelper.js +4 -4
- package/lib/node_modules/echarts/lib/component/axis/axisSplitHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js +5 -5
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js +6 -6
- package/lib/node_modules/echarts/lib/component/axisPointer/AxisPointerView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js +13 -13
- package/lib/node_modules/echarts/lib/component/axisPointer/BaseAxisPointer.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js +15 -8
- package/lib/node_modules/echarts/lib/component/axisPointer/CartesianAxisPointer.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/axisTrigger.js +11 -7
- package/lib/node_modules/echarts/lib/component/axisPointer/axisTrigger.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js +3 -3
- package/lib/node_modules/echarts/lib/component/axisPointer/findPointFromSeries.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/globalListener.js +5 -5
- package/lib/node_modules/echarts/lib/component/axisPointer/globalListener.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/install.js +11 -11
- package/lib/node_modules/echarts/lib/component/axisPointer/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/modelHelper.js +3 -3
- package/lib/node_modules/echarts/lib/component/axisPointer/modelHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/axisPointer/viewHelper.js +9 -9
- package/lib/node_modules/echarts/lib/component/axisPointer/viewHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/AxisProxy.js +10 -10
- package/lib/node_modules/echarts/lib/component/dataZoom/AxisProxy.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js +14 -8
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomView.js +5 -5
- package/lib/node_modules/echarts/lib/component/dataZoom/DataZoomView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js +5 -5
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js +5 -5
- package/lib/node_modules/echarts/lib/component/dataZoom/SelectZoomView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js +3 -3
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomAction.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js +6 -6
- package/lib/node_modules/echarts/lib/component/dataZoom/dataZoomProcessor.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/helper.js +4 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/history.js +2 -2
- package/lib/node_modules/echarts/lib/component/dataZoom/history.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/installCommon.js +5 -5
- package/lib/node_modules/echarts/lib/component/dataZoom/installCommon.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js +6 -6
- package/lib/node_modules/echarts/lib/component/dataZoom/installDataZoomSelect.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/dataset/install.js +7 -7
- package/lib/node_modules/echarts/lib/component/dataset/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/geo/GeoView.js +9 -9
- package/lib/node_modules/echarts/lib/component/geo/GeoView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/geo/install.js +11 -11
- package/lib/node_modules/echarts/lib/component/geo/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/graphic/GraphicModel.js +13 -6
- package/lib/node_modules/echarts/lib/component/graphic/GraphicModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/graphic/GraphicView.js +32 -23
- package/lib/node_modules/echarts/lib/component/graphic/GraphicView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/graphic/install.js +3 -3
- package/lib/node_modules/echarts/lib/component/graphic/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/grid/installSimple.js +15 -15
- package/lib/node_modules/echarts/lib/component/grid/installSimple.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/BrushController.js +44 -21
- package/lib/node_modules/echarts/lib/component/helper/BrushController.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/BrushTargetManager.js +13 -6
- package/lib/node_modules/echarts/lib/component/helper/BrushTargetManager.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/MapDraw.js +32 -32
- package/lib/node_modules/echarts/lib/component/helper/MapDraw.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/RoamController.js +8 -8
- package/lib/node_modules/echarts/lib/component/helper/RoamController.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/brushHelper.js +4 -4
- package/lib/node_modules/echarts/lib/component/helper/brushHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/cursorHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/interactionMutex.js +2 -2
- package/lib/node_modules/echarts/lib/component/helper/interactionMutex.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/listComponent.js +4 -4
- package/lib/node_modules/echarts/lib/component/helper/listComponent.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/roamHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/helper/sliderMove.js +1 -1
- package/lib/node_modules/echarts/lib/component/helper/sliderMove.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/LegendModel.js +9 -9
- package/lib/node_modules/echarts/lib/component/legend/LegendModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/LegendView.js +31 -22
- package/lib/node_modules/echarts/lib/component/legend/LegendView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js +8 -8
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendView.js +33 -21
- package/lib/node_modules/echarts/lib/component/legend/ScrollableLegendView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/install.js +3 -3
- package/lib/node_modules/echarts/lib/component/legend/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/installLegendPlain.js +7 -7
- package/lib/node_modules/echarts/lib/component/legend/installLegendPlain.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/installLegendScroll.js +8 -8
- package/lib/node_modules/echarts/lib/component/legend/installLegendScroll.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/legendAction.js +1 -1
- package/lib/node_modules/echarts/lib/component/legend/legendAction.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/legendFilter.js +1 -1
- package/lib/node_modules/echarts/lib/component/legend/legendFilter.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/legend/scrollableLegendAction.js +1 -1
- package/lib/node_modules/echarts/lib/component/legend/scrollableLegendAction.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/title/install.js +15 -15
- package/lib/node_modules/echarts/lib/component/title/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxModel.js +7 -7
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxView.js +19 -19
- package/lib/node_modules/echarts/lib/component/toolbox/ToolboxView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataView.js +11 -7
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js +15 -15
- package/lib/node_modules/echarts/lib/component/toolbox/feature/DataZoom.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/feature/MagicType.js +7 -7
- package/lib/node_modules/echarts/lib/component/toolbox/feature/MagicType.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/feature/Restore.js +6 -6
- package/lib/node_modules/echarts/lib/component/toolbox/feature/Restore.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js +7 -7
- package/lib/node_modules/echarts/lib/component/toolbox/feature/SaveAsImage.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/featureManager.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/toolbox/install.js +17 -17
- package/lib/node_modules/echarts/lib/component/toolbox/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js +15 -15
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipHTMLContent.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipModel.js +5 -5
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js +8 -8
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipRichContent.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipView.js +37 -37
- package/lib/node_modules/echarts/lib/component/tooltip/TooltipView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/helper.js +3 -3
- package/lib/node_modules/echarts/lib/component/tooltip/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/install.js +7 -7
- package/lib/node_modules/echarts/lib/component/tooltip/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js +4 -4
- package/lib/node_modules/echarts/lib/component/tooltip/seriesFormatTooltip.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js +15 -7
- package/lib/node_modules/echarts/lib/component/tooltip/tooltipMarkup.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousModel.js +9 -9
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousView.js +39 -33
- package/lib/node_modules/echarts/lib/component/visualMap/ContinuousView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js +21 -16
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseView.js +24 -17
- package/lib/node_modules/echarts/lib/component/visualMap/PiecewiseView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapModel.js +15 -15
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapView.js +13 -13
- package/lib/node_modules/echarts/lib/component/visualMap/VisualMapView.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/helper.js +2 -2
- package/lib/node_modules/echarts/lib/component/visualMap/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/install.js +3 -3
- package/lib/node_modules/echarts/lib/component/visualMap/install.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/installCommon.js +6 -6
- package/lib/node_modules/echarts/lib/component/visualMap/installCommon.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js +6 -6
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapContinuous.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js +6 -6
- package/lib/node_modules/echarts/lib/component/visualMap/installVisualMapPiecewise.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/preprocessor.js +2 -2
- package/lib/node_modules/echarts/lib/component/visualMap/preprocessor.js.map +1 -1
- package/lib/node_modules/echarts/lib/component/visualMap/visualEncoding.js +5 -5
- package/lib/node_modules/echarts/lib/component/visualMap/visualEncoding.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/Axis.js +5 -5
- package/lib/node_modules/echarts/lib/coord/Axis.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/CoordinateSystem.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/View.js +15 -15
- package/lib/node_modules/echarts/lib/coord/View.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisAlignTicks.js +14 -5
- package/lib/node_modules/echarts/lib/coord/axisAlignTicks.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisDefault.js +3 -3
- package/lib/node_modules/echarts/lib/coord/axisDefault.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisHelper.js +16 -16
- package/lib/node_modules/echarts/lib/coord/axisHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisModelCommonMixin.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisModelCreator.js +9 -9
- package/lib/node_modules/echarts/lib/coord/axisModelCreator.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/axisTickLabelBuilder.js +4 -4
- package/lib/node_modules/echarts/lib/coord/axisTickLabelBuilder.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/Axis2D.js +5 -5
- package/lib/node_modules/echarts/lib/coord/cartesian/Axis2D.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/AxisModel.js +7 -7
- package/lib/node_modules/echarts/lib/coord/cartesian/AxisModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian.js +3 -3
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js +9 -10
- package/lib/node_modules/echarts/lib/coord/cartesian/Cartesian2D.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/Grid.js +21 -13
- package/lib/node_modules/echarts/lib/coord/cartesian/Grid.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/GridModel.js +5 -5
- package/lib/node_modules/echarts/lib/coord/cartesian/GridModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js +7 -2
- package/lib/node_modules/echarts/lib/coord/cartesian/cartesianAxisHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/Geo.js +29 -14
- package/lib/node_modules/echarts/lib/coord/geo/Geo.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/GeoJSONResource.js +11 -11
- package/lib/node_modules/echarts/lib/coord/geo/GeoJSONResource.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/GeoModel.js +14 -14
- package/lib/node_modules/echarts/lib/coord/geo/GeoModel.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/GeoSVGResource.js +10 -10
- package/lib/node_modules/echarts/lib/coord/geo/GeoSVGResource.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/Region.js +8 -8
- package/lib/node_modules/echarts/lib/coord/geo/Region.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/fix/nanhai.js +5 -5
- package/lib/node_modules/echarts/lib/coord/geo/fix/nanhai.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/fix/textCoord.js +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/fix/textCoord.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/geoCreator.js +20 -14
- package/lib/node_modules/echarts/lib/coord/geo/geoCreator.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/geoSourceManager.js +8 -5
- package/lib/node_modules/echarts/lib/coord/geo/geoSourceManager.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/geo/parseGeoJson.js +3 -3
- package/lib/node_modules/echarts/lib/coord/geo/parseGeoJson.js.map +1 -1
- package/lib/node_modules/echarts/lib/coord/scaleRawExtentInfo.js +11 -2
- package/lib/node_modules/echarts/lib/coord/scaleRawExtentInfo.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/CoordinateSystem.js +3 -3
- package/lib/node_modules/echarts/lib/core/CoordinateSystem.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/ExtensionAPI.js +3 -3
- package/lib/node_modules/echarts/lib/core/ExtensionAPI.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/Scheduler.js +16 -10
- package/lib/node_modules/echarts/lib/core/Scheduler.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/echarts.js +165 -84
- package/lib/node_modules/echarts/lib/core/echarts.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/impl.js +11 -0
- package/lib/node_modules/echarts/lib/core/impl.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/lifecycle.js +4 -4
- package/lib/node_modules/echarts/lib/core/lifecycle.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/locale.js +9 -9
- package/lib/node_modules/echarts/lib/core/locale.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/task.js +13 -1
- package/lib/node_modules/echarts/lib/core/task.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/DataDiffer.js +2 -2
- package/lib/node_modules/echarts/lib/data/DataDiffer.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/DataStore.js +16 -5
- package/lib/node_modules/echarts/lib/data/DataStore.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/OrdinalMeta.js +3 -3
- package/lib/node_modules/echarts/lib/data/OrdinalMeta.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/SeriesData.js +42 -20
- package/lib/node_modules/echarts/lib/data/SeriesData.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/SeriesDimensionDefine.js +3 -3
- package/lib/node_modules/echarts/lib/data/SeriesDimensionDefine.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/Source.js +9 -6
- package/lib/node_modules/echarts/lib/data/Source.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/SeriesDataSchema.js +3 -3
- package/lib/node_modules/echarts/lib/data/helper/SeriesDataSchema.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/createDimensions.js +10 -10
- package/lib/node_modules/echarts/lib/data/helper/createDimensions.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/dataProvider.js +34 -4
- package/lib/node_modules/echarts/lib/data/helper/dataProvider.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/dataStackHelper.js +2 -2
- package/lib/node_modules/echarts/lib/data/helper/dataStackHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/dataValueHelper.js +2 -2
- package/lib/node_modules/echarts/lib/data/helper/dataValueHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/dimensionHelper.js +5 -2
- package/lib/node_modules/echarts/lib/data/helper/dimensionHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/sourceHelper.js +3 -3
- package/lib/node_modules/echarts/lib/data/helper/sourceHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/sourceManager.js +23 -8
- package/lib/node_modules/echarts/lib/data/helper/sourceManager.js.map +1 -1
- package/lib/node_modules/echarts/lib/data/helper/transform.js +56 -8
- package/lib/node_modules/echarts/lib/data/helper/transform.js.map +1 -1
- package/lib/node_modules/echarts/lib/extension.js +17 -17
- package/lib/node_modules/echarts/lib/extension.js.map +1 -1
- package/lib/node_modules/echarts/lib/i18n/langEN.js +2 -2
- package/lib/node_modules/echarts/lib/i18n/langEN.js.map +1 -1
- package/lib/node_modules/echarts/lib/i18n/langZH.js +2 -2
- package/lib/node_modules/echarts/lib/i18n/langZH.js.map +1 -1
- package/lib/node_modules/echarts/lib/label/labelGuideHelper.js +23 -23
- package/lib/node_modules/echarts/lib/label/labelGuideHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/label/labelLayoutHelper.js +6 -6
- package/lib/node_modules/echarts/lib/label/labelLayoutHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/label/labelStyle.js +27 -6
- package/lib/node_modules/echarts/lib/label/labelStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/label/sectorLabel.js +2 -2
- package/lib/node_modules/echarts/lib/label/sectorLabel.js.map +1 -1
- package/lib/node_modules/echarts/lib/layout/barGrid.js +10 -7
- package/lib/node_modules/echarts/lib/layout/barGrid.js.map +1 -1
- package/lib/node_modules/echarts/lib/layout/points.js +6 -6
- package/lib/node_modules/echarts/lib/layout/points.js.map +1 -1
- package/lib/node_modules/echarts/lib/legacy/dataSelectAction.js +9 -2
- package/lib/node_modules/echarts/lib/legacy/dataSelectAction.js.map +1 -1
- package/lib/node_modules/echarts/lib/loading/default.js +11 -11
- package/lib/node_modules/echarts/lib/loading/default.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/Component.js +11 -11
- package/lib/node_modules/echarts/lib/model/Component.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/Global.js +124 -24
- package/lib/node_modules/echarts/lib/model/Global.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/Model.js +11 -11
- package/lib/node_modules/echarts/lib/model/Model.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/OptionManager.js +17 -5
- package/lib/node_modules/echarts/lib/model/OptionManager.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/Series.js +22 -19
- package/lib/node_modules/echarts/lib/model/Series.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/globalDefault.js +2 -2
- package/lib/node_modules/echarts/lib/model/globalDefault.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/internalComponentCreator.js +7 -1
- package/lib/node_modules/echarts/lib/model/internalComponentCreator.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/areaStyle.js +2 -2
- package/lib/node_modules/echarts/lib/model/mixin/areaStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/dataFormat.js +13 -3
- package/lib/node_modules/echarts/lib/model/mixin/dataFormat.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/itemStyle.js +2 -2
- package/lib/node_modules/echarts/lib/model/mixin/itemStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/lineStyle.js +2 -2
- package/lib/node_modules/echarts/lib/model/mixin/lineStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/makeStyleMapper.js +2 -2
- package/lib/node_modules/echarts/lib/model/mixin/makeStyleMapper.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/palette.js +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/palette.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/mixin/textStyle.js +5 -5
- package/lib/node_modules/echarts/lib/model/mixin/textStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/model/referHelper.js +23 -2
- package/lib/node_modules/echarts/lib/model/referHelper.js.map +1 -1
- package/lib/node_modules/echarts/lib/preprocessor/backwardCompat.js +39 -5
- package/lib/node_modules/echarts/lib/preprocessor/backwardCompat.js.map +1 -1
- package/lib/node_modules/echarts/lib/preprocessor/helper/compatStyle.js +32 -3
- package/lib/node_modules/echarts/lib/preprocessor/helper/compatStyle.js.map +1 -1
- package/lib/node_modules/echarts/lib/processor/dataFilter.js +1 -1
- package/lib/node_modules/echarts/lib/processor/dataFilter.js.map +1 -1
- package/lib/node_modules/echarts/lib/processor/dataSample.js +2 -2
- package/lib/node_modules/echarts/lib/processor/dataSample.js.map +1 -1
- package/lib/node_modules/echarts/lib/processor/dataStack.js +3 -3
- package/lib/node_modules/echarts/lib/processor/dataStack.js.map +1 -1
- package/lib/node_modules/echarts/lib/processor/negativeDataFilter.js +2 -2
- package/lib/node_modules/echarts/lib/processor/negativeDataFilter.js.map +1 -1
- package/lib/node_modules/echarts/lib/renderer/installCanvasRenderer.js +2 -2
- package/lib/node_modules/echarts/lib/renderer/installCanvasRenderer.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/Interval.js +9 -9
- package/lib/node_modules/echarts/lib/scale/Interval.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/Log.js +13 -13
- package/lib/node_modules/echarts/lib/scale/Log.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/Ordinal.js +11 -11
- package/lib/node_modules/echarts/lib/scale/Ordinal.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/Scale.js +3 -3
- package/lib/node_modules/echarts/lib/scale/Scale.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/Time.js +17 -11
- package/lib/node_modules/echarts/lib/scale/Time.js.map +1 -1
- package/lib/node_modules/echarts/lib/scale/helper.js +7 -1
- package/lib/node_modules/echarts/lib/scale/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/theme/dark.js +2 -2
- package/lib/node_modules/echarts/lib/theme/dark.js.map +1 -1
- package/lib/node_modules/echarts/lib/theme/light.js +2 -2
- package/lib/node_modules/echarts/lib/theme/light.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/ECEventProcessor.js +2 -2
- package/lib/node_modules/echarts/lib/util/ECEventProcessor.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/clazz.js +17 -2
- package/lib/node_modules/echarts/lib/util/clazz.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/component.js +6 -2
- package/lib/node_modules/echarts/lib/util/component.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/decal.js +20 -9
- package/lib/node_modules/echarts/lib/util/decal.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/event.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/format.js +3 -3
- package/lib/node_modules/echarts/lib/util/format.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/graphic.js +64 -64
- package/lib/node_modules/echarts/lib/util/graphic.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/innerStore.js +1 -1
- package/lib/node_modules/echarts/lib/util/layout.js +6 -6
- package/lib/node_modules/echarts/lib/util/layout.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/log.js +56 -0
- package/lib/node_modules/echarts/lib/util/log.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/model.js +26 -4
- package/lib/node_modules/echarts/lib/util/model.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/number.js +1 -1
- package/lib/node_modules/echarts/lib/util/number.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/shape/sausage.js +5 -5
- package/lib/node_modules/echarts/lib/util/shape/sausage.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/states.js +21 -8
- package/lib/node_modules/echarts/lib/util/states.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/styleCompat.js +1 -1
- package/lib/node_modules/echarts/lib/util/styleCompat.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/symbol.js +21 -21
- package/lib/node_modules/echarts/lib/util/symbol.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/throttle.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/time.js +5 -5
- package/lib/node_modules/echarts/lib/util/time.js.map +1 -1
- package/lib/node_modules/echarts/lib/util/types.js +1 -1
- package/lib/node_modules/echarts/lib/util/vendor.js +1 -1
- package/lib/node_modules/echarts/lib/util/vendor.js.map +1 -1
- package/lib/node_modules/echarts/lib/view/Chart.js +24 -14
- package/lib/node_modules/echarts/lib/view/Chart.js.map +1 -1
- package/lib/node_modules/echarts/lib/view/Component.js +6 -6
- package/lib/node_modules/echarts/lib/view/Component.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/LegendVisualProvider.js +2 -2
- package/lib/node_modules/echarts/lib/visual/LegendVisualProvider.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/VisualMapping.js +7 -7
- package/lib/node_modules/echarts/lib/visual/VisualMapping.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/decal.js +2 -2
- package/lib/node_modules/echarts/lib/visual/decal.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/helper.js +12 -0
- package/lib/node_modules/echarts/lib/visual/helper.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/style.js +14 -10
- package/lib/node_modules/echarts/lib/visual/style.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/symbol.js +1 -1
- package/lib/node_modules/echarts/lib/visual/symbol.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/visualDefault.js +3 -3
- package/lib/node_modules/echarts/lib/visual/visualDefault.js.map +1 -1
- package/lib/node_modules/echarts/lib/visual/visualSolution.js +7 -7
- package/lib/node_modules/echarts/lib/visual/visualSolution.js.map +1 -1
- package/lib/node_modules/echarts/node_modules/tslib/tslib.es6.js.map +1 -1
- package/lib/node_modules/resize-detector/esm/index.js.map +1 -1
- package/lib/node_modules/zrender/lib/Element.js +47 -17
- package/lib/node_modules/zrender/lib/Element.js.map +1 -1
- package/lib/node_modules/zrender/lib/Handler.js +12 -12
- package/lib/node_modules/zrender/lib/Handler.js.map +1 -1
- package/lib/node_modules/zrender/lib/Storage.js +6 -6
- package/lib/node_modules/zrender/lib/Storage.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/Animation.js +10 -10
- package/lib/node_modules/zrender/lib/animation/Animation.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/Animator.js +9 -9
- package/lib/node_modules/zrender/lib/animation/Animator.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/Clip.js +6 -6
- package/lib/node_modules/zrender/lib/animation/Clip.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/cubicEasing.js +2 -2
- package/lib/node_modules/zrender/lib/animation/cubicEasing.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/easing.js +2 -2
- package/lib/node_modules/zrender/lib/animation/easing.js.map +1 -1
- package/lib/node_modules/zrender/lib/animation/requestAnimationFrame.js +4 -4
- package/lib/node_modules/zrender/lib/animation/requestAnimationFrame.js.map +1 -1
- package/lib/node_modules/zrender/lib/canvas/Layer.js +16 -16
- package/lib/node_modules/zrender/lib/canvas/Layer.js.map +1 -1
- package/lib/node_modules/zrender/lib/canvas/Painter.js +21 -15
- package/lib/node_modules/zrender/lib/canvas/Painter.js.map +1 -1
- package/lib/node_modules/zrender/lib/canvas/dashStyle.js +1 -1
- package/lib/node_modules/zrender/lib/canvas/dashStyle.js.map +1 -1
- package/lib/node_modules/zrender/lib/canvas/graphic.js +16 -16
- package/lib/node_modules/zrender/lib/canvas/graphic.js.map +1 -1
- package/lib/node_modules/zrender/lib/canvas/helper.js.map +1 -1
- package/lib/node_modules/zrender/lib/config.js +2 -2
- package/lib/node_modules/zrender/lib/config.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/arc.js +1 -1
- package/lib/node_modules/zrender/lib/contain/arc.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/cubic.js +1 -1
- package/lib/node_modules/zrender/lib/contain/cubic.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/line.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/path.js +15 -15
- package/lib/node_modules/zrender/lib/contain/path.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/polygon.js +3 -3
- package/lib/node_modules/zrender/lib/contain/polygon.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/quadratic.js +1 -1
- package/lib/node_modules/zrender/lib/contain/quadratic.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/text.js +6 -6
- package/lib/node_modules/zrender/lib/contain/text.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/util.js.map +1 -1
- package/lib/node_modules/zrender/lib/contain/windingLine.js +1 -1
- package/lib/node_modules/zrender/lib/contain/windingLine.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/BoundingRect.js +19 -19
- package/lib/node_modules/zrender/lib/core/BoundingRect.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/Eventful.js +2 -2
- package/lib/node_modules/zrender/lib/core/Eventful.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/GestureMgr.js +1 -1
- package/lib/node_modules/zrender/lib/core/GestureMgr.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/LRU.js +2 -2
- package/lib/node_modules/zrender/lib/core/LRU.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/OrientedBoundingRect.js +14 -14
- package/lib/node_modules/zrender/lib/core/OrientedBoundingRect.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/PathProxy.js +8 -8
- package/lib/node_modules/zrender/lib/core/PathProxy.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/Point.js +2 -2
- package/lib/node_modules/zrender/lib/core/Point.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/Transformable.js +3 -3
- package/lib/node_modules/zrender/lib/core/Transformable.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/WeakMap.js +2 -2
- package/lib/node_modules/zrender/lib/core/WeakMap.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/bbox.js +2 -2
- package/lib/node_modules/zrender/lib/core/bbox.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/curve.js +1 -1
- package/lib/node_modules/zrender/lib/core/curve.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/dom.js +3 -3
- package/lib/node_modules/zrender/lib/core/dom.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/env.js +2 -2
- package/lib/node_modules/zrender/lib/core/env.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/event.js +4 -4
- package/lib/node_modules/zrender/lib/core/event.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/fourPointsTransform.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/matrix.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/platform.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/timsort.js +1 -1
- package/lib/node_modules/zrender/lib/core/timsort.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/util.js +5 -1
- package/lib/node_modules/zrender/lib/core/util.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/vector.js.map +1 -1
- package/lib/node_modules/zrender/lib/dom/HandlerProxy.js +13 -13
- package/lib/node_modules/zrender/lib/dom/HandlerProxy.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/CompoundPath.js +6 -6
- package/lib/node_modules/zrender/lib/graphic/CompoundPath.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Displayable.js +13 -13
- package/lib/node_modules/zrender/lib/graphic/Displayable.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Gradient.js +2 -2
- package/lib/node_modules/zrender/lib/graphic/Gradient.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Group.js +14 -9
- package/lib/node_modules/zrender/lib/graphic/Group.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Image.js +8 -8
- package/lib/node_modules/zrender/lib/graphic/Image.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/IncrementalDisplayable.js +7 -7
- package/lib/node_modules/zrender/lib/graphic/IncrementalDisplayable.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/LinearGradient.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/LinearGradient.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Path.js +13 -13
- package/lib/node_modules/zrender/lib/graphic/Path.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/RadialGradient.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/RadialGradient.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/TSpan.js +9 -9
- package/lib/node_modules/zrender/lib/graphic/TSpan.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/Text.js +23 -20
- package/lib/node_modules/zrender/lib/graphic/Text.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/image.js +3 -3
- package/lib/node_modules/zrender/lib/graphic/helper/image.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/parseText.js +3 -3
- package/lib/node_modules/zrender/lib/graphic/helper/parseText.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/poly.js +2 -2
- package/lib/node_modules/zrender/lib/graphic/helper/poly.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/roundRect.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/roundSector.js +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/roundSector.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/smoothBezier.js +2 -2
- package/lib/node_modules/zrender/lib/graphic/helper/smoothBezier.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/helper/subPixelOptimize.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Arc.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/shape/Arc.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/BezierCurve.js +7 -7
- package/lib/node_modules/zrender/lib/graphic/shape/BezierCurve.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Circle.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/shape/Circle.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Ellipse.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/shape/Ellipse.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Line.js +6 -6
- package/lib/node_modules/zrender/lib/graphic/shape/Line.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Polygon.js +6 -6
- package/lib/node_modules/zrender/lib/graphic/shape/Polygon.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Polyline.js +6 -6
- package/lib/node_modules/zrender/lib/graphic/shape/Polyline.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Rect.js +7 -7
- package/lib/node_modules/zrender/lib/graphic/shape/Rect.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Ring.js +5 -5
- package/lib/node_modules/zrender/lib/graphic/shape/Ring.js.map +1 -1
- package/lib/node_modules/zrender/lib/graphic/shape/Sector.js +6 -6
- package/lib/node_modules/zrender/lib/graphic/shape/Sector.js.map +1 -1
- package/lib/node_modules/zrender/lib/mixin/Draggable.js +2 -2
- package/lib/node_modules/zrender/lib/mixin/Draggable.js.map +1 -1
- package/lib/node_modules/zrender/lib/svg/helper.js +6 -3
- package/lib/node_modules/zrender/lib/svg/helper.js.map +1 -1
- package/lib/node_modules/zrender/lib/tool/color.js +2 -2
- package/lib/node_modules/zrender/lib/tool/color.js.map +1 -1
- package/lib/node_modules/zrender/lib/tool/parseSVG.js +36 -31
- package/lib/node_modules/zrender/lib/tool/parseSVG.js.map +1 -1
- package/lib/node_modules/zrender/lib/tool/parseXML.js +1 -1
- package/lib/node_modules/zrender/lib/tool/parseXML.js.map +1 -1
- package/lib/node_modules/zrender/lib/tool/path.js +10 -10
- package/lib/node_modules/zrender/lib/tool/path.js.map +1 -1
- package/lib/node_modules/zrender/lib/tool/transformPath.js +4 -4
- package/lib/node_modules/zrender/lib/tool/transformPath.js.map +1 -1
- package/lib/node_modules/zrender/lib/zrender.js +19 -14
- package/lib/node_modules/zrender/lib/zrender.js.map +1 -1
- package/lib/node_modules/zrender/node_modules/tslib/tslib.es6.js.map +1 -1
- package/lib/setting/page-config/PageConfig.js +12 -25
- package/lib/setting/page-config/PageConfig.js.map +1 -1
- package/lib/setting/page-config/PageConfig.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/setting/page-config/index.js +5 -5
- package/lib/setting/page-config/index.js.map +1 -1
- package/lib/setting/page-config/props.js +1 -1
- package/lib/setting/page-config/props.js.map +1 -1
- package/lib/setting/provider-config/ProviderConfig.js +56 -33
- package/lib/setting/provider-config/ProviderConfig.js.map +1 -1
- package/lib/setting/provider-config/index.js +5 -5
- package/lib/setting/provider-config/index.js.map +1 -1
- package/lib/setting/provider-config/props.js +3 -2
- package/lib/setting/provider-config/props.js.map +1 -1
- package/lib/setting/renderer/Renderer.js +19 -0
- package/lib/setting/renderer/Renderer.js.map +1 -0
- package/lib/setting/renderer/index.js +11 -0
- package/lib/setting/renderer/index.js.map +1 -0
- package/lib/setting/renderer/props.js +10 -0
- package/lib/setting/renderer/props.js.map +1 -0
- package/lib/style.css +3475 -3397
- package/lib/table/table/Table.js +109 -52
- package/lib/table/table/Table.js.map +1 -1
- package/lib/table/table/Table.vue_vue_type_style_index_0_scoped_true_lang.js +2 -36
- package/lib/table/table/Table.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/lib/table/table/Table.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/table/table/index.js +5 -5
- package/lib/table/table/index.js.map +1 -1
- package/lib/table/table/props.js +20 -24
- package/lib/table/table/props.js.map +1 -1
- package/lib/text/list/List.js +25 -37
- package/lib/text/list/List.js.map +1 -1
- package/lib/text/list/List.vue_vue_type_style_index_0_scoped_true_lang.js +2 -109
- package/lib/text/list/List.vue_vue_type_style_index_0_scoped_true_lang.js.map +1 -1
- package/lib/text/list/List.vue_vue_type_style_index_1_lang.js +2 -2
- package/lib/text/list/index.js +5 -5
- package/lib/text/list/index.js.map +1 -1
- package/lib/text/list/props.js +4 -22
- package/lib/text/list/props.js.map +1 -1
- package/lib/text/proportion/Proportion.js +56 -53
- package/lib/text/proportion/Proportion.js.map +1 -1
- package/lib/text/proportion/Proportion.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/text/proportion/index.js +5 -5
- package/lib/text/proportion/index.js.map +1 -1
- package/lib/text/proportion/props.js +7 -23
- package/lib/text/proportion/props.js.map +1 -1
- package/lib/text/scroll-text/ScrollText.js +4 -4
- package/lib/text/scroll-text/ScrollText.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/text/scroll-text/index.js +4 -4
- package/lib/text/scroll-text/index.js.map +1 -1
- package/lib/text/text/Text.js +57 -38
- package/lib/text/text/Text.js.map +1 -1
- package/lib/text/text/Text.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/text/text/index.js +5 -5
- package/lib/text/text/index.js.map +1 -1
- package/lib/text/text/props.js +9 -24
- package/lib/text/text/props.js.map +1 -1
- package/lib/text/time-display/TimeDisplay.js +15 -31
- package/lib/text/time-display/TimeDisplay.js.map +1 -1
- package/lib/text/time-display/TimeDisplay.vue_vue_type_style_index_0_scoped_true_lang.js +2 -2
- package/lib/text/time-display/index.js +5 -5
- package/lib/text/time-display/index.js.map +1 -1
- package/lib/text/time-display/props.js +4 -22
- package/lib/text/time-display/props.js.map +1 -1
- package/package.json +4 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"globalListener.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/globalListener.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport env from 'zrender/lib/core/env.js';\nimport { makeInner } from '../../util/model.js';\nvar inner = makeInner();\nvar each = zrUtil.each;\n/**\n * @param {string} key\n * @param {module:echarts/ExtensionAPI} api\n * @param {Function} handler\n * param: {string} currTrigger\n * param: {Array.<number>} point\n */\n\nexport function register(key, api, handler) {\n if (env.node) {\n return;\n }\n\n var zr = api.getZr();\n inner(zr).records || (inner(zr).records = {});\n initGlobalListeners(zr, api);\n var record = inner(zr).records[key] || (inner(zr).records[key] = {});\n record.handler = handler;\n}\n\nfunction initGlobalListeners(zr, api) {\n if (inner(zr).initialized) {\n return;\n }\n\n inner(zr).initialized = true;\n useHandler('click', zrUtil.curry(doEnter, 'click'));\n useHandler('mousemove', zrUtil.curry(doEnter, 'mousemove')); // useHandler('mouseout', onLeave);\n\n useHandler('globalout', onLeave);\n\n function useHandler(eventType, cb) {\n zr.on(eventType, function (e) {\n var dis = makeDispatchAction(api);\n each(inner(zr).records, function (record) {\n record && cb(record, e, dis.dispatchAction);\n });\n dispatchTooltipFinally(dis.pendings, api);\n });\n }\n}\n\nfunction dispatchTooltipFinally(pendings, api) {\n var showLen = pendings.showTip.length;\n var hideLen = pendings.hideTip.length;\n var actuallyPayload;\n\n if (showLen) {\n actuallyPayload = pendings.showTip[showLen - 1];\n } else if (hideLen) {\n actuallyPayload = pendings.hideTip[hideLen - 1];\n }\n\n if (actuallyPayload) {\n actuallyPayload.dispatchAction = null;\n api.dispatchAction(actuallyPayload);\n }\n}\n\nfunction onLeave(record, e, dispatchAction) {\n record.handler('leave', null, dispatchAction);\n}\n\nfunction doEnter(currTrigger, record, e, dispatchAction) {\n record.handler(currTrigger, e, dispatchAction);\n}\n\nfunction makeDispatchAction(api) {\n var pendings = {\n showTip: [],\n hideTip: []\n }; // FIXME\n // better approach?\n // 'showTip' and 'hideTip' can be triggered by axisPointer and tooltip,\n // which may be conflict, (axisPointer call showTip but tooltip call hideTip);\n // So we have to add \"final stage\" to merge those dispatched actions.\n\n var dispatchAction = function (payload) {\n var pendingList = pendings[payload.type];\n\n if (pendingList) {\n pendingList.push(payload);\n } else {\n payload.dispatchAction = dispatchAction;\n api.dispatchAction(payload);\n }\n };\n\n return {\n dispatchAction: dispatchAction,\n pendings: pendings\n };\n}\n\nexport function unregister(key, api) {\n if (env.node) {\n return;\n }\n\n var zr = api.getZr();\n var record = (inner(zr).records || {})[key];\n\n if (record) {\n inner(zr).records[key] = null;\n }\n}"],"names":["zrUtil.each","zrUtil.curry"],"mappings":";;;AA8CA,IAAI,QAAQ,UAAS;AACrB,IAAI,OAAOA;AASJ,
|
|
1
|
+
{"version":3,"file":"globalListener.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/globalListener.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport env from 'zrender/lib/core/env.js';\nimport { makeInner } from '../../util/model.js';\nvar inner = makeInner();\nvar each = zrUtil.each;\n/**\n * @param {string} key\n * @param {module:echarts/ExtensionAPI} api\n * @param {Function} handler\n * param: {string} currTrigger\n * param: {Array.<number>} point\n */\n\nexport function register(key, api, handler) {\n if (env.node) {\n return;\n }\n\n var zr = api.getZr();\n inner(zr).records || (inner(zr).records = {});\n initGlobalListeners(zr, api);\n var record = inner(zr).records[key] || (inner(zr).records[key] = {});\n record.handler = handler;\n}\n\nfunction initGlobalListeners(zr, api) {\n if (inner(zr).initialized) {\n return;\n }\n\n inner(zr).initialized = true;\n useHandler('click', zrUtil.curry(doEnter, 'click'));\n useHandler('mousemove', zrUtil.curry(doEnter, 'mousemove')); // useHandler('mouseout', onLeave);\n\n useHandler('globalout', onLeave);\n\n function useHandler(eventType, cb) {\n zr.on(eventType, function (e) {\n var dis = makeDispatchAction(api);\n each(inner(zr).records, function (record) {\n record && cb(record, e, dis.dispatchAction);\n });\n dispatchTooltipFinally(dis.pendings, api);\n });\n }\n}\n\nfunction dispatchTooltipFinally(pendings, api) {\n var showLen = pendings.showTip.length;\n var hideLen = pendings.hideTip.length;\n var actuallyPayload;\n\n if (showLen) {\n actuallyPayload = pendings.showTip[showLen - 1];\n } else if (hideLen) {\n actuallyPayload = pendings.hideTip[hideLen - 1];\n }\n\n if (actuallyPayload) {\n actuallyPayload.dispatchAction = null;\n api.dispatchAction(actuallyPayload);\n }\n}\n\nfunction onLeave(record, e, dispatchAction) {\n record.handler('leave', null, dispatchAction);\n}\n\nfunction doEnter(currTrigger, record, e, dispatchAction) {\n record.handler(currTrigger, e, dispatchAction);\n}\n\nfunction makeDispatchAction(api) {\n var pendings = {\n showTip: [],\n hideTip: []\n }; // FIXME\n // better approach?\n // 'showTip' and 'hideTip' can be triggered by axisPointer and tooltip,\n // which may be conflict, (axisPointer call showTip but tooltip call hideTip);\n // So we have to add \"final stage\" to merge those dispatched actions.\n\n var dispatchAction = function (payload) {\n var pendingList = pendings[payload.type];\n\n if (pendingList) {\n pendingList.push(payload);\n } else {\n payload.dispatchAction = dispatchAction;\n api.dispatchAction(payload);\n }\n };\n\n return {\n dispatchAction: dispatchAction,\n pendings: pendings\n };\n}\n\nexport function unregister(key, api) {\n if (env.node) {\n return;\n }\n\n var zr = api.getZr();\n var record = (inner(zr).records || {})[key];\n\n if (record) {\n inner(zr).records[key] = null;\n }\n}"],"names":["zrUtil.each","zrUtil.curry"],"mappings":";;;AA8CA,IAAI,QAAQ,UAAS;AACrB,IAAI,OAAOA;AASJ,SAAS,SAAS,KAAK,KAAK,SAAS;AAC1C,MAAI,IAAI,MAAM;AACZ;AAAA,EACD;AAED,MAAI,KAAK,IAAI;AACb,QAAM,EAAE,EAAE,YAAY,MAAM,EAAE,EAAE,UAAU,CAAA;AAC1C,sBAAoB,IAAI,GAAG;AAC3B,MAAI,SAAS,MAAM,EAAE,EAAE,QAAQ,SAAS,MAAM,EAAE,EAAE,QAAQ,OAAO,CAAE;AACnE,SAAO,UAAU;AACnB;AAEA,SAAS,oBAAoB,IAAI,KAAK;AACpC,MAAI,MAAM,EAAE,EAAE,aAAa;AACzB;AAAA,EACD;AAED,QAAM,EAAE,EAAE,cAAc;AACxB,aAAW,SAASC,MAAa,SAAS,OAAO,CAAC;AAClD,aAAW,aAAaA,MAAa,SAAS,WAAW,CAAC;AAE1D,aAAW,aAAa,OAAO;AAE/B,WAAS,WAAW,WAAW,IAAI;AACjC,OAAG,GAAG,WAAW,SAAU,GAAG;AAC5B,UAAI,MAAM,mBAAmB,GAAG;AAChC,WAAK,MAAM,EAAE,EAAE,SAAS,SAAU,QAAQ;AACxC,kBAAU,GAAG,QAAQ,GAAG,IAAI,cAAc;AAAA,MAClD,CAAO;AACD,6BAAuB,IAAI,UAAU,GAAG;AAAA,IAC9C,CAAK;AAAA,EACF;AACH;AAEA,SAAS,uBAAuB,UAAU,KAAK;AAC7C,MAAI,UAAU,SAAS,QAAQ;AAC/B,MAAI,UAAU,SAAS,QAAQ;AAC/B,MAAI;AAEJ,MAAI,SAAS;AACX,sBAAkB,SAAS,QAAQ,UAAU;AAAA,EAC9C,WAAU,SAAS;AAClB,sBAAkB,SAAS,QAAQ,UAAU;AAAA,EAC9C;AAED,MAAI,iBAAiB;AACnB,oBAAgB,iBAAiB;AACjC,QAAI,eAAe,eAAe;AAAA,EACnC;AACH;AAEA,SAAS,QAAQ,QAAQ,GAAG,gBAAgB;AAC1C,SAAO,QAAQ,SAAS,MAAM,cAAc;AAC9C;AAEA,SAAS,QAAQ,aAAa,QAAQ,GAAG,gBAAgB;AACvD,SAAO,QAAQ,aAAa,GAAG,cAAc;AAC/C;AAEA,SAAS,mBAAmB,KAAK;AAC/B,MAAI,WAAW;AAAA,IACb,SAAS,CAAE;AAAA,IACX,SAAS,CAAE;AAAA,EACf;AAME,MAAI,iBAAiB,SAAU,SAAS;AACtC,QAAI,cAAc,SAAS,QAAQ;AAEnC,QAAI,aAAa;AACf,kBAAY,KAAK,OAAO;AAAA,IAC9B,OAAW;AACL,cAAQ,iBAAiB;AACzB,UAAI,eAAe,OAAO;AAAA,IAC3B;AAAA,EACL;AAEE,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EACJ;AACA;AAEO,SAAS,WAAW,KAAK,KAAK;AACnC,MAAI,IAAI,MAAM;AACZ;AAAA,EACD;AAED,MAAI,KAAK,IAAI;AACb,MAAI,UAAU,MAAM,EAAE,EAAE,WAAW,CAAA,GAAI;AAEvC,MAAI,QAAQ;AACV,UAAM,EAAE,EAAE,QAAQ,OAAO;AAAA,EAC1B;AACH;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/install.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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*/\nimport AxisView from '../axis/AxisView.js';\nimport CartesianAxisPointer from './CartesianAxisPointer.js';\nimport AxisPointerModel from './AxisPointerModel.js';\nimport AxisPointerView from './AxisPointerView.js';\nimport { isArray } from 'zrender/lib/core/util.js';\nimport { collect } from './modelHelper.js';\nimport axisTrigger from './axisTrigger.js';\nexport function install(registers) {\n // CartesianAxisPointer is not supposed to be required here. But consider\n // echarts.simple.js and online build tooltip, which only require gridSimple,\n // CartesianAxisPointer should be able to required somewhere.\n AxisView.registerAxisPointerClass('CartesianAxisPointer', CartesianAxisPointer);\n registers.registerComponentModel(AxisPointerModel);\n registers.registerComponentView(AxisPointerView);\n registers.registerPreprocessor(function (option) {\n // Always has a global axisPointerModel for default setting.\n if (option) {\n (!option.axisPointer || option.axisPointer.length === 0) && (option.axisPointer = {});\n var link = option.axisPointer.link; // Normalize to array to avoid object mergin. But if link\n // is not set, remain null/undefined, otherwise it will\n // override existent link setting.\n\n if (link && !isArray(link)) {\n option.axisPointer.link = [link];\n }\n }\n }); // This process should proformed after coordinate systems created\n // and series data processed. So put it on statistic processing stage.\n\n registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, function (ecModel, api) {\n // Build axisPointerModel, mergin tooltip.axisPointer model for each axis.\n // allAxesInfo should be updated when setOption performed.\n ecModel.getComponent('axisPointer').coordSysAxesInfo = collect(ecModel, api);\n }); // Broadcast to all views.\n\n registers.registerAction({\n type: 'updateAxisPointer',\n event: 'updateAxisPointer',\n update: ':updateAxisPointer'\n }, axisTrigger);\n}"],"names":[],"mappings":";;;;;;;AAkDO,
|
|
1
|
+
{"version":3,"file":"install.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/install.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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*/\nimport AxisView from '../axis/AxisView.js';\nimport CartesianAxisPointer from './CartesianAxisPointer.js';\nimport AxisPointerModel from './AxisPointerModel.js';\nimport AxisPointerView from './AxisPointerView.js';\nimport { isArray } from 'zrender/lib/core/util.js';\nimport { collect } from './modelHelper.js';\nimport axisTrigger from './axisTrigger.js';\nexport function install(registers) {\n // CartesianAxisPointer is not supposed to be required here. But consider\n // echarts.simple.js and online build tooltip, which only require gridSimple,\n // CartesianAxisPointer should be able to required somewhere.\n AxisView.registerAxisPointerClass('CartesianAxisPointer', CartesianAxisPointer);\n registers.registerComponentModel(AxisPointerModel);\n registers.registerComponentView(AxisPointerView);\n registers.registerPreprocessor(function (option) {\n // Always has a global axisPointerModel for default setting.\n if (option) {\n (!option.axisPointer || option.axisPointer.length === 0) && (option.axisPointer = {});\n var link = option.axisPointer.link; // Normalize to array to avoid object mergin. But if link\n // is not set, remain null/undefined, otherwise it will\n // override existent link setting.\n\n if (link && !isArray(link)) {\n option.axisPointer.link = [link];\n }\n }\n }); // This process should proformed after coordinate systems created\n // and series data processed. So put it on statistic processing stage.\n\n registers.registerProcessor(registers.PRIORITY.PROCESSOR.STATISTIC, function (ecModel, api) {\n // Build axisPointerModel, mergin tooltip.axisPointer model for each axis.\n // allAxesInfo should be updated when setOption performed.\n ecModel.getComponent('axisPointer').coordSysAxesInfo = collect(ecModel, api);\n }); // Broadcast to all views.\n\n registers.registerAction({\n type: 'updateAxisPointer',\n event: 'updateAxisPointer',\n update: ':updateAxisPointer'\n }, axisTrigger);\n}"],"names":[],"mappings":";;;;;;;AAkDO,SAAS,QAAQ,WAAW;AAIjC,WAAS,yBAAyB,wBAAwB,oBAAoB;AAC9E,YAAU,uBAAuB,gBAAgB;AACjD,YAAU,sBAAsB,eAAe;AAC/C,YAAU,qBAAqB,SAAU,QAAQ;AAE/C,QAAI,QAAQ;AACV,OAAC,CAAC,OAAO,eAAe,OAAO,YAAY,WAAW,OAAO,OAAO,cAAc,CAAA;AAClF,UAAI,OAAO,OAAO,YAAY;AAI9B,UAAI,QAAQ,CAAC,QAAQ,IAAI,GAAG;AAC1B,eAAO,YAAY,OAAO,CAAC,IAAI;AAAA,MAChC;AAAA,IACF;AAAA,EACL,CAAG;AAGD,YAAU,kBAAkB,UAAU,SAAS,UAAU,WAAW,SAAU,SAAS,KAAK;AAG1F,YAAQ,aAAa,aAAa,EAAE,mBAAmB,QAAQ,SAAS,GAAG;AAAA,EAC/E,CAAG;AAED,YAAU,eAAe;AAAA,IACvB,MAAM;AAAA,IACN,OAAO;AAAA,IACP,QAAQ;AAAA,EACT,GAAE,WAAW;AAChB;"}
|
|
@@ -174,5 +174,11 @@ function isHandleTrigger(axisPointerModel) {
|
|
|
174
174
|
function makeKey(model) {
|
|
175
175
|
return model.type + "||" + model.id;
|
|
176
176
|
}
|
|
177
|
-
export {
|
|
177
|
+
export {
|
|
178
|
+
collect,
|
|
179
|
+
fixValue,
|
|
180
|
+
getAxisInfo,
|
|
181
|
+
getAxisPointerModel,
|
|
182
|
+
makeKey
|
|
183
|
+
};
|
|
178
184
|
//# sourceMappingURL=modelHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modelHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/modelHelper.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/*\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*/\nimport Model from '../../model/Model.js';\nimport { each, curry, clone, defaults, isArray, indexOf } from 'zrender/lib/core/util.js'; // Build axisPointerModel, mergin tooltip.axisPointer model for each axis.\n// allAxesInfo should be updated when setOption performed.\n\nexport function collect(ecModel, api) {\n var result = {\n /**\n * key: makeKey(axis.model)\n * value: {\n * axis,\n * coordSys,\n * axisPointerModel,\n * triggerTooltip,\n * involveSeries,\n * snap,\n * seriesModels,\n * seriesDataCount\n * }\n */\n axesInfo: {},\n seriesInvolved: false,\n\n /**\n * key: makeKey(coordSys.model)\n * value: Object: key makeKey(axis.model), value: axisInfo\n */\n coordSysAxesInfo: {},\n coordSysMap: {}\n };\n collectAxesInfo(result, ecModel, api); // Check seriesInvolved for performance, in case too many series in some chart.\n\n result.seriesInvolved && collectSeriesInfo(result, ecModel);\n return result;\n}\n\nfunction collectAxesInfo(result, ecModel, api) {\n var globalTooltipModel = ecModel.getComponent('tooltip');\n var globalAxisPointerModel = ecModel.getComponent('axisPointer'); // links can only be set on global.\n\n var linksOption = globalAxisPointerModel.get('link', true) || [];\n var linkGroups = []; // Collect axes info.\n\n each(api.getCoordinateSystems(), function (coordSys) {\n // Some coordinate system do not support axes, like geo.\n if (!coordSys.axisPointerEnabled) {\n return;\n }\n\n var coordSysKey = makeKey(coordSys.model);\n var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {};\n result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convienent way to show axisPointer\n // for user. So we enable seting tooltip on coordSys model.\n\n var coordSysModel = coordSys.model;\n var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel);\n each(coordSys.getAxes(), curry(saveTooltipAxisInfo, false, null)); // If axis tooltip used, choose tooltip axis for each coordSys.\n // Notice this case: coordSys is `grid` but not `cartesian2D` here.\n\n if (coordSys.getTooltipAxes && globalTooltipModel // If tooltip.showContent is set as false, tooltip will not\n // show but axisPointer will show as normal.\n && baseTooltipModel.get('show')) {\n // Compatible with previous logic. But series.tooltip.trigger: 'axis'\n // or series.data[n].tooltip.trigger: 'axis' are not support any more.\n var triggerAxis = baseTooltipModel.get('trigger') === 'axis';\n var cross = baseTooltipModel.get(['axisPointer', 'type']) === 'cross';\n var tooltipAxes = coordSys.getTooltipAxes(baseTooltipModel.get(['axisPointer', 'axis']));\n\n if (triggerAxis || cross) {\n each(tooltipAxes.baseAxes, curry(saveTooltipAxisInfo, cross ? 'cross' : true, triggerAxis));\n }\n\n if (cross) {\n each(tooltipAxes.otherAxes, curry(saveTooltipAxisInfo, 'cross', false));\n }\n } // fromTooltip: true | false | 'cross'\n // triggerTooltip: true | false | null\n\n\n function saveTooltipAxisInfo(fromTooltip, triggerTooltip, axis) {\n var axisPointerModel = axis.model.getModel('axisPointer', globalAxisPointerModel);\n var axisPointerShow = axisPointerModel.get('show');\n\n if (!axisPointerShow || axisPointerShow === 'auto' && !fromTooltip && !isHandleTrigger(axisPointerModel)) {\n return;\n }\n\n if (triggerTooltip == null) {\n triggerTooltip = axisPointerModel.get('triggerTooltip');\n }\n\n axisPointerModel = fromTooltip ? makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) : axisPointerModel;\n var snap = axisPointerModel.get('snap');\n var axisKey = makeKey(axis.model);\n var involveSeries = triggerTooltip || snap || axis.type === 'category'; // If result.axesInfo[key] exist, override it (tooltip has higher priority).\n\n var axisInfo = result.axesInfo[axisKey] = {\n key: axisKey,\n axis: axis,\n coordSys: coordSys,\n axisPointerModel: axisPointerModel,\n triggerTooltip: triggerTooltip,\n involveSeries: involveSeries,\n snap: snap,\n useHandle: isHandleTrigger(axisPointerModel),\n seriesModels: [],\n linkGroup: null\n };\n axesInfoInCoordSys[axisKey] = axisInfo;\n result.seriesInvolved = result.seriesInvolved || involveSeries;\n var groupIndex = getLinkGroupIndex(linksOption, axis);\n\n if (groupIndex != null) {\n var linkGroup = linkGroups[groupIndex] || (linkGroups[groupIndex] = {\n axesInfo: {}\n });\n linkGroup.axesInfo[axisKey] = axisInfo;\n linkGroup.mapper = linksOption[groupIndex].mapper;\n axisInfo.linkGroup = linkGroup;\n }\n }\n });\n}\n\nfunction makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) {\n var tooltipAxisPointerModel = baseTooltipModel.getModel('axisPointer');\n var fields = ['type', 'snap', 'lineStyle', 'shadowStyle', 'label', 'animation', 'animationDurationUpdate', 'animationEasingUpdate', 'z'];\n var volatileOption = {};\n each(fields, function (field) {\n volatileOption[field] = clone(tooltipAxisPointerModel.get(field));\n }); // category axis do not auto snap, otherwise some tick that do not\n // has value can not be hovered. value/time/log axis default snap if\n // triggered from tooltip and trigger tooltip.\n\n volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatibel with previous behavior, tooltip axis do not show label by default.\n // Only these properties can be overrided from tooltip to axisPointer.\n\n if (tooltipAxisPointerModel.get('type') === 'cross') {\n volatileOption.type = 'line';\n }\n\n var labelOption = volatileOption.label || (volatileOption.label = {}); // Follow the convention, do not show label when triggered by tooltip by default.\n\n labelOption.show == null && (labelOption.show = false);\n\n if (fromTooltip === 'cross') {\n // When 'cross', both axes show labels.\n var tooltipAxisPointerLabelShow = tooltipAxisPointerModel.get(['label', 'show']);\n labelOption.show = tooltipAxisPointerLabelShow != null ? tooltipAxisPointerLabelShow : true; // If triggerTooltip, this is a base axis, which should better not use cross style\n // (cross style is dashed by default)\n\n if (!triggerTooltip) {\n var crossStyle = volatileOption.lineStyle = tooltipAxisPointerModel.get('crossStyle');\n crossStyle && defaults(labelOption, crossStyle.textStyle);\n }\n }\n\n return axis.model.getModel('axisPointer', new Model(volatileOption, globalAxisPointerModel, ecModel));\n}\n\nfunction collectSeriesInfo(result, ecModel) {\n // Prepare data for axis trigger\n ecModel.eachSeries(function (seriesModel) {\n // Notice this case: this coordSys is `cartesian2D` but not `grid`.\n var coordSys = seriesModel.coordinateSystem;\n var seriesTooltipTrigger = seriesModel.get(['tooltip', 'trigger'], true);\n var seriesTooltipShow = seriesModel.get(['tooltip', 'show'], true);\n\n if (!coordSys || seriesTooltipTrigger === 'none' || seriesTooltipTrigger === false || seriesTooltipTrigger === 'item' || seriesTooltipShow === false || seriesModel.get(['axisPointer', 'show'], true) === false) {\n return;\n }\n\n each(result.coordSysAxesInfo[makeKey(coordSys.model)], function (axisInfo) {\n var axis = axisInfo.axis;\n\n if (coordSys.getAxis(axis.dim) === axis) {\n axisInfo.seriesModels.push(seriesModel);\n axisInfo.seriesDataCount == null && (axisInfo.seriesDataCount = 0);\n axisInfo.seriesDataCount += seriesModel.getData().count();\n }\n });\n });\n}\n/**\n * For example:\n * {\n * axisPointer: {\n * links: [{\n * xAxisIndex: [2, 4],\n * yAxisIndex: 'all'\n * }, {\n * xAxisId: ['a5', 'a7'],\n * xAxisName: 'xxx'\n * }]\n * }\n * }\n */\n\n\nfunction getLinkGroupIndex(linksOption, axis) {\n var axisModel = axis.model;\n var dim = axis.dim;\n\n for (var i = 0; i < linksOption.length; i++) {\n var linkOption = linksOption[i] || {};\n\n if (checkPropInLink(linkOption[dim + 'AxisId'], axisModel.id) || checkPropInLink(linkOption[dim + 'AxisIndex'], axisModel.componentIndex) || checkPropInLink(linkOption[dim + 'AxisName'], axisModel.name)) {\n return i;\n }\n }\n}\n\nfunction checkPropInLink(linkPropValue, axisPropValue) {\n return linkPropValue === 'all' || isArray(linkPropValue) && indexOf(linkPropValue, axisPropValue) >= 0 || linkPropValue === axisPropValue;\n}\n\nexport function fixValue(axisModel) {\n var axisInfo = getAxisInfo(axisModel);\n\n if (!axisInfo) {\n return;\n }\n\n var axisPointerModel = axisInfo.axisPointerModel;\n var scale = axisInfo.axis.scale;\n var option = axisPointerModel.option;\n var status = axisPointerModel.get('status');\n var value = axisPointerModel.get('value'); // Parse init value for category and time axis.\n\n if (value != null) {\n value = scale.parse(value);\n }\n\n var useHandle = isHandleTrigger(axisPointerModel); // If `handle` used, `axisPointer` will always be displayed, so value\n // and status should be initialized.\n\n if (status == null) {\n option.status = useHandle ? 'show' : 'hide';\n }\n\n var extent = scale.getExtent().slice();\n extent[0] > extent[1] && extent.reverse();\n\n if ( // Pick a value on axis when initializing.\n value == null // If both `handle` and `dataZoom` are used, value may be out of axis extent,\n // where we should re-pick a value to keep `handle` displaying normally.\n || value > extent[1]) {\n // Make handle displayed on the end of the axis when init, which looks better.\n value = extent[1];\n }\n\n if (value < extent[0]) {\n value = extent[0];\n }\n\n option.value = value;\n\n if (useHandle) {\n option.status = axisInfo.axis.scale.isBlank() ? 'hide' : 'show';\n }\n}\nexport function getAxisInfo(axisModel) {\n var coordSysAxesInfo = (axisModel.ecModel.getComponent('axisPointer') || {}).coordSysAxesInfo;\n return coordSysAxesInfo && coordSysAxesInfo.axesInfo[makeKey(axisModel)];\n}\nexport function getAxisPointerModel(axisModel) {\n var axisInfo = getAxisInfo(axisModel);\n return axisInfo && axisInfo.axisPointerModel;\n}\n\nfunction isHandleTrigger(axisPointerModel) {\n return !!axisPointerModel.get(['handle', 'show']);\n}\n/**\n * @param {module:echarts/model/Model} model\n * @return {string} unique key\n */\n\n\nexport function makeKey(model) {\n return model.type + '||' + model.id;\n}"],"names":[],"mappings":";;AA+CO,iBAAiB,SAAS,KAAK;AACpC,MAAI,SAAS;AAAA,IAcX,UAAU,CAAE;AAAA,IACZ,gBAAgB;AAAA,IAMhB,kBAAkB,CAAE;AAAA,IACpB,aAAa,CAAE;AAAA,EACnB;AACE,kB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Aa,KAAK,CAAE,GAAE;AAC7E,SAAO,oBAAoB,iBAAiB,SAAS,QAAQ,SAAS;AACxE;AACO,6BAA6B,WAAW;AAC7C,MAAI,WAAW,YAAY,SAAS;AACpC,SAAO,YAAY,SAAS;AAC9B;AAEA,yBAAyB,kBAAkB;AACzC,SAAO,CAAC,CAAC,iBAAiB,IAAI,CAAC,UAAU,MAAM,CAAC;AAClD;AAOO,iBAAiB,OAAO;AAC7B,SAAO,MAAM,OAAO,OAAO,MAAM;AACnC;;"}
|
|
1
|
+
{"version":3,"file":"modelHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/modelHelper.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/*\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*/\nimport Model from '../../model/Model.js';\nimport { each, curry, clone, defaults, isArray, indexOf } from 'zrender/lib/core/util.js'; // Build axisPointerModel, mergin tooltip.axisPointer model for each axis.\n// allAxesInfo should be updated when setOption performed.\n\nexport function collect(ecModel, api) {\n var result = {\n /**\n * key: makeKey(axis.model)\n * value: {\n * axis,\n * coordSys,\n * axisPointerModel,\n * triggerTooltip,\n * involveSeries,\n * snap,\n * seriesModels,\n * seriesDataCount\n * }\n */\n axesInfo: {},\n seriesInvolved: false,\n\n /**\n * key: makeKey(coordSys.model)\n * value: Object: key makeKey(axis.model), value: axisInfo\n */\n coordSysAxesInfo: {},\n coordSysMap: {}\n };\n collectAxesInfo(result, ecModel, api); // Check seriesInvolved for performance, in case too many series in some chart.\n\n result.seriesInvolved && collectSeriesInfo(result, ecModel);\n return result;\n}\n\nfunction collectAxesInfo(result, ecModel, api) {\n var globalTooltipModel = ecModel.getComponent('tooltip');\n var globalAxisPointerModel = ecModel.getComponent('axisPointer'); // links can only be set on global.\n\n var linksOption = globalAxisPointerModel.get('link', true) || [];\n var linkGroups = []; // Collect axes info.\n\n each(api.getCoordinateSystems(), function (coordSys) {\n // Some coordinate system do not support axes, like geo.\n if (!coordSys.axisPointerEnabled) {\n return;\n }\n\n var coordSysKey = makeKey(coordSys.model);\n var axesInfoInCoordSys = result.coordSysAxesInfo[coordSysKey] = {};\n result.coordSysMap[coordSysKey] = coordSys; // Set tooltip (like 'cross') is a convienent way to show axisPointer\n // for user. So we enable seting tooltip on coordSys model.\n\n var coordSysModel = coordSys.model;\n var baseTooltipModel = coordSysModel.getModel('tooltip', globalTooltipModel);\n each(coordSys.getAxes(), curry(saveTooltipAxisInfo, false, null)); // If axis tooltip used, choose tooltip axis for each coordSys.\n // Notice this case: coordSys is `grid` but not `cartesian2D` here.\n\n if (coordSys.getTooltipAxes && globalTooltipModel // If tooltip.showContent is set as false, tooltip will not\n // show but axisPointer will show as normal.\n && baseTooltipModel.get('show')) {\n // Compatible with previous logic. But series.tooltip.trigger: 'axis'\n // or series.data[n].tooltip.trigger: 'axis' are not support any more.\n var triggerAxis = baseTooltipModel.get('trigger') === 'axis';\n var cross = baseTooltipModel.get(['axisPointer', 'type']) === 'cross';\n var tooltipAxes = coordSys.getTooltipAxes(baseTooltipModel.get(['axisPointer', 'axis']));\n\n if (triggerAxis || cross) {\n each(tooltipAxes.baseAxes, curry(saveTooltipAxisInfo, cross ? 'cross' : true, triggerAxis));\n }\n\n if (cross) {\n each(tooltipAxes.otherAxes, curry(saveTooltipAxisInfo, 'cross', false));\n }\n } // fromTooltip: true | false | 'cross'\n // triggerTooltip: true | false | null\n\n\n function saveTooltipAxisInfo(fromTooltip, triggerTooltip, axis) {\n var axisPointerModel = axis.model.getModel('axisPointer', globalAxisPointerModel);\n var axisPointerShow = axisPointerModel.get('show');\n\n if (!axisPointerShow || axisPointerShow === 'auto' && !fromTooltip && !isHandleTrigger(axisPointerModel)) {\n return;\n }\n\n if (triggerTooltip == null) {\n triggerTooltip = axisPointerModel.get('triggerTooltip');\n }\n\n axisPointerModel = fromTooltip ? makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) : axisPointerModel;\n var snap = axisPointerModel.get('snap');\n var axisKey = makeKey(axis.model);\n var involveSeries = triggerTooltip || snap || axis.type === 'category'; // If result.axesInfo[key] exist, override it (tooltip has higher priority).\n\n var axisInfo = result.axesInfo[axisKey] = {\n key: axisKey,\n axis: axis,\n coordSys: coordSys,\n axisPointerModel: axisPointerModel,\n triggerTooltip: triggerTooltip,\n involveSeries: involveSeries,\n snap: snap,\n useHandle: isHandleTrigger(axisPointerModel),\n seriesModels: [],\n linkGroup: null\n };\n axesInfoInCoordSys[axisKey] = axisInfo;\n result.seriesInvolved = result.seriesInvolved || involveSeries;\n var groupIndex = getLinkGroupIndex(linksOption, axis);\n\n if (groupIndex != null) {\n var linkGroup = linkGroups[groupIndex] || (linkGroups[groupIndex] = {\n axesInfo: {}\n });\n linkGroup.axesInfo[axisKey] = axisInfo;\n linkGroup.mapper = linksOption[groupIndex].mapper;\n axisInfo.linkGroup = linkGroup;\n }\n }\n });\n}\n\nfunction makeAxisPointerModel(axis, baseTooltipModel, globalAxisPointerModel, ecModel, fromTooltip, triggerTooltip) {\n var tooltipAxisPointerModel = baseTooltipModel.getModel('axisPointer');\n var fields = ['type', 'snap', 'lineStyle', 'shadowStyle', 'label', 'animation', 'animationDurationUpdate', 'animationEasingUpdate', 'z'];\n var volatileOption = {};\n each(fields, function (field) {\n volatileOption[field] = clone(tooltipAxisPointerModel.get(field));\n }); // category axis do not auto snap, otherwise some tick that do not\n // has value can not be hovered. value/time/log axis default snap if\n // triggered from tooltip and trigger tooltip.\n\n volatileOption.snap = axis.type !== 'category' && !!triggerTooltip; // Compatibel with previous behavior, tooltip axis do not show label by default.\n // Only these properties can be overrided from tooltip to axisPointer.\n\n if (tooltipAxisPointerModel.get('type') === 'cross') {\n volatileOption.type = 'line';\n }\n\n var labelOption = volatileOption.label || (volatileOption.label = {}); // Follow the convention, do not show label when triggered by tooltip by default.\n\n labelOption.show == null && (labelOption.show = false);\n\n if (fromTooltip === 'cross') {\n // When 'cross', both axes show labels.\n var tooltipAxisPointerLabelShow = tooltipAxisPointerModel.get(['label', 'show']);\n labelOption.show = tooltipAxisPointerLabelShow != null ? tooltipAxisPointerLabelShow : true; // If triggerTooltip, this is a base axis, which should better not use cross style\n // (cross style is dashed by default)\n\n if (!triggerTooltip) {\n var crossStyle = volatileOption.lineStyle = tooltipAxisPointerModel.get('crossStyle');\n crossStyle && defaults(labelOption, crossStyle.textStyle);\n }\n }\n\n return axis.model.getModel('axisPointer', new Model(volatileOption, globalAxisPointerModel, ecModel));\n}\n\nfunction collectSeriesInfo(result, ecModel) {\n // Prepare data for axis trigger\n ecModel.eachSeries(function (seriesModel) {\n // Notice this case: this coordSys is `cartesian2D` but not `grid`.\n var coordSys = seriesModel.coordinateSystem;\n var seriesTooltipTrigger = seriesModel.get(['tooltip', 'trigger'], true);\n var seriesTooltipShow = seriesModel.get(['tooltip', 'show'], true);\n\n if (!coordSys || seriesTooltipTrigger === 'none' || seriesTooltipTrigger === false || seriesTooltipTrigger === 'item' || seriesTooltipShow === false || seriesModel.get(['axisPointer', 'show'], true) === false) {\n return;\n }\n\n each(result.coordSysAxesInfo[makeKey(coordSys.model)], function (axisInfo) {\n var axis = axisInfo.axis;\n\n if (coordSys.getAxis(axis.dim) === axis) {\n axisInfo.seriesModels.push(seriesModel);\n axisInfo.seriesDataCount == null && (axisInfo.seriesDataCount = 0);\n axisInfo.seriesDataCount += seriesModel.getData().count();\n }\n });\n });\n}\n/**\n * For example:\n * {\n * axisPointer: {\n * links: [{\n * xAxisIndex: [2, 4],\n * yAxisIndex: 'all'\n * }, {\n * xAxisId: ['a5', 'a7'],\n * xAxisName: 'xxx'\n * }]\n * }\n * }\n */\n\n\nfunction getLinkGroupIndex(linksOption, axis) {\n var axisModel = axis.model;\n var dim = axis.dim;\n\n for (var i = 0; i < linksOption.length; i++) {\n var linkOption = linksOption[i] || {};\n\n if (checkPropInLink(linkOption[dim + 'AxisId'], axisModel.id) || checkPropInLink(linkOption[dim + 'AxisIndex'], axisModel.componentIndex) || checkPropInLink(linkOption[dim + 'AxisName'], axisModel.name)) {\n return i;\n }\n }\n}\n\nfunction checkPropInLink(linkPropValue, axisPropValue) {\n return linkPropValue === 'all' || isArray(linkPropValue) && indexOf(linkPropValue, axisPropValue) >= 0 || linkPropValue === axisPropValue;\n}\n\nexport function fixValue(axisModel) {\n var axisInfo = getAxisInfo(axisModel);\n\n if (!axisInfo) {\n return;\n }\n\n var axisPointerModel = axisInfo.axisPointerModel;\n var scale = axisInfo.axis.scale;\n var option = axisPointerModel.option;\n var status = axisPointerModel.get('status');\n var value = axisPointerModel.get('value'); // Parse init value for category and time axis.\n\n if (value != null) {\n value = scale.parse(value);\n }\n\n var useHandle = isHandleTrigger(axisPointerModel); // If `handle` used, `axisPointer` will always be displayed, so value\n // and status should be initialized.\n\n if (status == null) {\n option.status = useHandle ? 'show' : 'hide';\n }\n\n var extent = scale.getExtent().slice();\n extent[0] > extent[1] && extent.reverse();\n\n if ( // Pick a value on axis when initializing.\n value == null // If both `handle` and `dataZoom` are used, value may be out of axis extent,\n // where we should re-pick a value to keep `handle` displaying normally.\n || value > extent[1]) {\n // Make handle displayed on the end of the axis when init, which looks better.\n value = extent[1];\n }\n\n if (value < extent[0]) {\n value = extent[0];\n }\n\n option.value = value;\n\n if (useHandle) {\n option.status = axisInfo.axis.scale.isBlank() ? 'hide' : 'show';\n }\n}\nexport function getAxisInfo(axisModel) {\n var coordSysAxesInfo = (axisModel.ecModel.getComponent('axisPointer') || {}).coordSysAxesInfo;\n return coordSysAxesInfo && coordSysAxesInfo.axesInfo[makeKey(axisModel)];\n}\nexport function getAxisPointerModel(axisModel) {\n var axisInfo = getAxisInfo(axisModel);\n return axisInfo && axisInfo.axisPointerModel;\n}\n\nfunction isHandleTrigger(axisPointerModel) {\n return !!axisPointerModel.get(['handle', 'show']);\n}\n/**\n * @param {module:echarts/model/Model} model\n * @return {string} unique key\n */\n\n\nexport function makeKey(model) {\n return model.type + '||' + model.id;\n}"],"names":[],"mappings":";;AA+CO,SAAS,QAAQ,SAAS,KAAK;AACpC,MAAI,SAAS;AAAA,IAcX,UAAU,CAAE;AAAA,IACZ,gBAAgB;AAAA,IAMhB,kBAAkB,CAAE;AAAA,IACpB,aAAa,CAAE;AAAA,EACnB;AACE,kBAAgB,QAAQ,SAAS,GAAG;AAEpC,SAAO,kBAAkB,kBAAkB,QAAQ,OAAO;AAC1D,SAAO;AACT;AAEA,SAAS,gBAAgB,QAAQ,SAAS,KAAK;AAC7C,MAAI,qBAAqB,QAAQ,aAAa,SAAS;AACvD,MAAI,yBAAyB,QAAQ,aAAa,aAAa;AAE/D,MAAI,cAAc,uBAAuB,IAAI,QAAQ,IAAI,KAAK;AAC9D,MAAI,aAAa,CAAA;AAEjB,OAAK,IAAI,qBAAsB,GAAE,SAAU,UAAU;AAEnD,QAAI,CAAC,SAAS,oBAAoB;AAChC;AAAA,IACD;A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@@ -128,5 +128,13 @@ function makeRectShape(xy, wh, xDimIndex) {
|
|
|
128
128
|
height: wh[1 - xDimIndex]
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
export {
|
|
131
|
+
export {
|
|
132
|
+
buildCartesianSingleLabelElOption,
|
|
133
|
+
buildElStyle,
|
|
134
|
+
buildLabelElOption,
|
|
135
|
+
getTransformedPosition,
|
|
136
|
+
getValueLabel,
|
|
137
|
+
makeLineShape,
|
|
138
|
+
makeRectShape
|
|
139
|
+
};
|
|
132
140
|
//# sourceMappingURL=viewHelper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"viewHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/viewHelper.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as graphic from '../../util/graphic.js';\nimport * as textContain from 'zrender/lib/contain/text.js';\nimport * as formatUtil from '../../util/format.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport * as axisHelper from '../../coord/axisHelper.js';\nimport AxisBuilder from '../axis/AxisBuilder.js';\nimport { createTextStyle } from '../../label/labelStyle.js';\nexport function buildElStyle(axisPointerModel) {\n var axisPointerType = axisPointerModel.get('type');\n var styleModel = axisPointerModel.getModel(axisPointerType + 'Style');\n var style;\n\n if (axisPointerType === 'line') {\n style = styleModel.getLineStyle();\n style.fill = null;\n } else if (axisPointerType === 'shadow') {\n style = styleModel.getAreaStyle();\n style.stroke = null;\n }\n\n return style;\n}\n/**\n * @param {Function} labelPos {align, verticalAlign, position}\n */\n\nexport function buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos) {\n var value = axisPointerModel.get('value');\n var text = getValueLabel(value, axisModel.axis, axisModel.ecModel, axisPointerModel.get('seriesDataIndices'), {\n precision: axisPointerModel.get(['label', 'precision']),\n formatter: axisPointerModel.get(['label', 'formatter'])\n });\n var labelModel = axisPointerModel.getModel('label');\n var paddings = formatUtil.normalizeCssArray(labelModel.get('padding') || 0);\n var font = labelModel.getFont();\n var textRect = textContain.getBoundingRect(text, font);\n var position = labelPos.position;\n var width = textRect.width + paddings[1] + paddings[3];\n var height = textRect.height + paddings[0] + paddings[2]; // Adjust by align.\n\n var align = labelPos.align;\n align === 'right' && (position[0] -= width);\n align === 'center' && (position[0] -= width / 2);\n var verticalAlign = labelPos.verticalAlign;\n verticalAlign === 'bottom' && (position[1] -= height);\n verticalAlign === 'middle' && (position[1] -= height / 2); // Not overflow ec container\n\n confineInContainer(position, width, height, api);\n var bgColor = labelModel.get('backgroundColor');\n\n if (!bgColor || bgColor === 'auto') {\n bgColor = axisModel.get(['axisLine', 'lineStyle', 'color']);\n }\n\n elOption.label = {\n // shape: {x: 0, y: 0, width: width, height: height, r: labelModel.get('borderRadius')},\n x: position[0],\n y: position[1],\n style: createTextStyle(labelModel, {\n text: text,\n font: font,\n fill: labelModel.getTextColor(),\n padding: paddings,\n backgroundColor: bgColor\n }),\n // Lable should be over axisPointer.\n z2: 10\n };\n} // Do not overflow ec container\n\nfunction confineInContainer(position, width, height, api) {\n var viewWidth = api.getWidth();\n var viewHeight = api.getHeight();\n position[0] = Math.min(position[0] + width, viewWidth) - width;\n position[1] = Math.min(position[1] + height, viewHeight) - height;\n position[0] = Math.max(position[0], 0);\n position[1] = Math.max(position[1], 0);\n}\n\nexport function getValueLabel(value, axis, ecModel, seriesDataIndices, opt) {\n value = axis.scale.parse(value);\n var text = axis.scale.getLabel({\n value: value\n }, {\n // If `precision` is set, width can be fixed (like '12.00500'), which\n // helps to debounce when when moving label.\n precision: opt.precision\n });\n var formatter = opt.formatter;\n\n if (formatter) {\n var params_1 = {\n value: axisHelper.getAxisRawValue(axis, {\n value: value\n }),\n axisDimension: axis.dim,\n axisIndex: axis.index,\n seriesData: []\n };\n zrUtil.each(seriesDataIndices, function (idxItem) {\n var series = ecModel.getSeriesByIndex(idxItem.seriesIndex);\n var dataIndex = idxItem.dataIndexInside;\n var dataParams = series && series.getDataParams(dataIndex);\n dataParams && params_1.seriesData.push(dataParams);\n });\n\n if (zrUtil.isString(formatter)) {\n text = formatter.replace('{value}', text);\n } else if (zrUtil.isFunction(formatter)) {\n text = formatter(params_1);\n }\n }\n\n return text;\n}\nexport function getTransformedPosition(axis, value, layoutInfo) {\n var transform = matrix.create();\n matrix.rotate(transform, transform, layoutInfo.rotation);\n matrix.translate(transform, transform, layoutInfo.position);\n return graphic.applyTransform([axis.dataToCoord(value), (layoutInfo.labelOffset || 0) + (layoutInfo.labelDirection || 1) * (layoutInfo.labelMargin || 0)], transform);\n}\nexport function buildCartesianSingleLabelElOption(value, elOption, layoutInfo, axisModel, axisPointerModel, api) {\n // @ts-ignore\n var textLayout = AxisBuilder.innerTextLayout(layoutInfo.rotation, 0, layoutInfo.labelDirection);\n layoutInfo.labelMargin = axisPointerModel.get(['label', 'margin']);\n buildLabelElOption(elOption, axisModel, axisPointerModel, api, {\n position: getTransformedPosition(axisModel.axis, value, layoutInfo),\n align: textLayout.textAlign,\n verticalAlign: textLayout.textVerticalAlign\n });\n}\nexport function makeLineShape(p1, p2, xDimIndex) {\n xDimIndex = xDimIndex || 0;\n return {\n x1: p1[xDimIndex],\n y1: p1[1 - xDimIndex],\n x2: p2[xDimIndex],\n y2: p2[1 - xDimIndex]\n };\n}\nexport function makeRectShape(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}\nexport function makeSectorShape(cx, cy, r0, r, startAngle, endAngle) {\n return {\n cx: cx,\n cy: cy,\n r0: r0,\n r: r,\n startAngle: startAngle,\n endAngle: endAngle,\n clockwise: true\n };\n}"],"names":["formatUtil.normalizeCssArray","textContain.getBoundingRect","axisHelper.getAxisRawValue","zrUtil.each","zrUtil.isString","zrUtil.isFunction","matrix.create","matrix.rotate","matrix.translate","graphic.applyTransform"],"mappings":";;;;;;;;AAmDO,sBAAsB,kBAAkB;AAC7C,MAAI,kBAAkB,iBAAiB,IAAI,MAAM;AACjD,MAAI,aAAa,iBAAiB,SAAS,kBAAkB,OAAO;AACpE,MAAI;AAEJ,MAAI,oBAAoB,QAAQ;AAC9B,YAAQ,WAAW;AACnB,UAAM,OAAO;AAAA,EACjB,WAAa,oBAAoB,UAAU;AACvC,YAAQ,WAAW;AACnB,UAAM,SAAS;AAAA,EAChB;AAED,SAAO;AACT;AAKO,4BAA4B,UAAU,WAAW,kBAAkB,KAAK,UAAU;AACvF,MAAI,QAAQ,iBAAiB,IAAI,OAAO;AACxC,MAAI,OAAO,cAAc,OAAO,UAAU,MAAM,UAAU,SAAS,iBAAiB,IAAI,mBAAmB,GAAG;AAAA,IAC5G,WAAW,iBAAiB,IA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Ac;AAC9F,aAAW,cAAc,iBAAiB,IAAI,CAAC,SAAS,QAAQ,CAAC;AACjE,qBAAmB,UAAU,WAAW,kBAAkB,KAAK;AAAA,IAC7D,UAAU,uBAAuB,UAAU,MAAM,OAAO,UAAU;AAAA,IAClE,OAAO,WAAW;AAAA,IAClB,eAAe,WAAW;AAAA,EAC9B,CAAG;AACH;AACO,uBAAuB,IAAI,IAAI,WAAW;AAC/C,cAAY,aAAa;AACzB,SAAO;AAAA,IACL,IAAI,GAAG;AAAA,IACP,IAAI,GAAG,IAAI;AAAA,IACX,IAAI,GAAG;AAAA,IACP,IAAI,GAAG,IAAI;AAAA,EACf;AACA;AACO,uBAAuB,IAAI,IAAI,WAAW;AAC/C,cAAY,aAAa;AACzB,SAAO;AAAA,IACL,GAAG,GAAG;AAAA,IACN,GAAG,GAAG,IAAI;AAAA,IACV,OAAO,GAAG;AAAA,IACV,QAAQ,GAAG,IAAI;AAAA,EACnB;AACA;;"}
|
|
1
|
+
{"version":3,"file":"viewHelper.js","sources":["../../../../../../node_modules/echarts/lib/component/axisPointer/viewHelper.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as graphic from '../../util/graphic.js';\nimport * as textContain from 'zrender/lib/contain/text.js';\nimport * as formatUtil from '../../util/format.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport * as axisHelper from '../../coord/axisHelper.js';\nimport AxisBuilder from '../axis/AxisBuilder.js';\nimport { createTextStyle } from '../../label/labelStyle.js';\nexport function buildElStyle(axisPointerModel) {\n var axisPointerType = axisPointerModel.get('type');\n var styleModel = axisPointerModel.getModel(axisPointerType + 'Style');\n var style;\n\n if (axisPointerType === 'line') {\n style = styleModel.getLineStyle();\n style.fill = null;\n } else if (axisPointerType === 'shadow') {\n style = styleModel.getAreaStyle();\n style.stroke = null;\n }\n\n return style;\n}\n/**\n * @param {Function} labelPos {align, verticalAlign, position}\n */\n\nexport function buildLabelElOption(elOption, axisModel, axisPointerModel, api, labelPos) {\n var value = axisPointerModel.get('value');\n var text = getValueLabel(value, axisModel.axis, axisModel.ecModel, axisPointerModel.get('seriesDataIndices'), {\n precision: axisPointerModel.get(['label', 'precision']),\n formatter: axisPointerModel.get(['label', 'formatter'])\n });\n var labelModel = axisPointerModel.getModel('label');\n var paddings = formatUtil.normalizeCssArray(labelModel.get('padding') || 0);\n var font = labelModel.getFont();\n var textRect = textContain.getBoundingRect(text, font);\n var position = labelPos.position;\n var width = textRect.width + paddings[1] + paddings[3];\n var height = textRect.height + paddings[0] + paddings[2]; // Adjust by align.\n\n var align = labelPos.align;\n align === 'right' && (position[0] -= width);\n align === 'center' && (position[0] -= width / 2);\n var verticalAlign = labelPos.verticalAlign;\n verticalAlign === 'bottom' && (position[1] -= height);\n verticalAlign === 'middle' && (position[1] -= height / 2); // Not overflow ec container\n\n confineInContainer(position, width, height, api);\n var bgColor = labelModel.get('backgroundColor');\n\n if (!bgColor || bgColor === 'auto') {\n bgColor = axisModel.get(['axisLine', 'lineStyle', 'color']);\n }\n\n elOption.label = {\n // shape: {x: 0, y: 0, width: width, height: height, r: labelModel.get('borderRadius')},\n x: position[0],\n y: position[1],\n style: createTextStyle(labelModel, {\n text: text,\n font: font,\n fill: labelModel.getTextColor(),\n padding: paddings,\n backgroundColor: bgColor\n }),\n // Lable should be over axisPointer.\n z2: 10\n };\n} // Do not overflow ec container\n\nfunction confineInContainer(position, width, height, api) {\n var viewWidth = api.getWidth();\n var viewHeight = api.getHeight();\n position[0] = Math.min(position[0] + width, viewWidth) - width;\n position[1] = Math.min(position[1] + height, viewHeight) - height;\n position[0] = Math.max(position[0], 0);\n position[1] = Math.max(position[1], 0);\n}\n\nexport function getValueLabel(value, axis, ecModel, seriesDataIndices, opt) {\n value = axis.scale.parse(value);\n var text = axis.scale.getLabel({\n value: value\n }, {\n // If `precision` is set, width can be fixed (like '12.00500'), which\n // helps to debounce when when moving label.\n precision: opt.precision\n });\n var formatter = opt.formatter;\n\n if (formatter) {\n var params_1 = {\n value: axisHelper.getAxisRawValue(axis, {\n value: value\n }),\n axisDimension: axis.dim,\n axisIndex: axis.index,\n seriesData: []\n };\n zrUtil.each(seriesDataIndices, function (idxItem) {\n var series = ecModel.getSeriesByIndex(idxItem.seriesIndex);\n var dataIndex = idxItem.dataIndexInside;\n var dataParams = series && series.getDataParams(dataIndex);\n dataParams && params_1.seriesData.push(dataParams);\n });\n\n if (zrUtil.isString(formatter)) {\n text = formatter.replace('{value}', text);\n } else if (zrUtil.isFunction(formatter)) {\n text = formatter(params_1);\n }\n }\n\n return text;\n}\nexport function getTransformedPosition(axis, value, layoutInfo) {\n var transform = matrix.create();\n matrix.rotate(transform, transform, layoutInfo.rotation);\n matrix.translate(transform, transform, layoutInfo.position);\n return graphic.applyTransform([axis.dataToCoord(value), (layoutInfo.labelOffset || 0) + (layoutInfo.labelDirection || 1) * (layoutInfo.labelMargin || 0)], transform);\n}\nexport function buildCartesianSingleLabelElOption(value, elOption, layoutInfo, axisModel, axisPointerModel, api) {\n // @ts-ignore\n var textLayout = AxisBuilder.innerTextLayout(layoutInfo.rotation, 0, layoutInfo.labelDirection);\n layoutInfo.labelMargin = axisPointerModel.get(['label', 'margin']);\n buildLabelElOption(elOption, axisModel, axisPointerModel, api, {\n position: getTransformedPosition(axisModel.axis, value, layoutInfo),\n align: textLayout.textAlign,\n verticalAlign: textLayout.textVerticalAlign\n });\n}\nexport function makeLineShape(p1, p2, xDimIndex) {\n xDimIndex = xDimIndex || 0;\n return {\n x1: p1[xDimIndex],\n y1: p1[1 - xDimIndex],\n x2: p2[xDimIndex],\n y2: p2[1 - xDimIndex]\n };\n}\nexport function makeRectShape(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}\nexport function makeSectorShape(cx, cy, r0, r, startAngle, endAngle) {\n return {\n cx: cx,\n cy: cy,\n r0: r0,\n r: r,\n startAngle: startAngle,\n endAngle: endAngle,\n clockwise: true\n };\n}"],"names":["formatUtil.normalizeCssArray","textContain.getBoundingRect","axisHelper.getAxisRawValue","zrUtil.each","zrUtil.isString","zrUtil.isFunction","matrix.create","matrix.rotate","matrix.translate","graphic.applyTransform"],"mappings":";;;;;;;;AAmDO,SAAS,aAAa,kBAAkB;AAC7C,MAAI,kBAAkB,iBAAiB,IAAI,MAAM;AACjD,MAAI,aAAa,iBAAiB,SAAS,kBAAkB,OAAO;AACpE,MAAI;AAEJ,MAAI,oBAAoB,QAAQ;AAC9B,YAAQ,WAAW;AACnB,UAAM,OAAO;AAAA,EACjB,WAAa,oBAAoB,UAAU;AACvC,YAAQ,WAAW;AACnB,UAAM,SAAS;AAAA,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AQ;AAC1D,SAAOC,eAAuB,CAAC,KAAK,YAAY,KAAK,IAAI,WAAW,eAAe,MAAM,WAAW,kBAAkB,MAAM,WAAW,eAAe,EAAE,GAAG,SAAS;AACtK;AACO,SAAS,kCAAkC,OAAO,UAAU,YAAY,WAAW,kBAAkB,KAAK;AAE/G,MAAI,aAAa,YAAY,gBAAgB,WAAW,UAAU,GAAG,WAAW,cAAc;AAC9F,aAAW,cAAc,iBAAiB,IAAI,CAAC,SAAS,QAAQ,CAAC;AACjE,qBAAmB,UAAU,WAAW,kBAAkB,KAAK;AAAA,IAC7D,UAAU,uBAAuB,UAAU,MAAM,OAAO,UAAU;AAAA,IAClE,OAAO,WAAW;AAAA,IAClB,eAAe,WAAW;AAAA,EAC9B,CAAG;AACH;AACO,SAAS,cAAc,IAAI,IAAI,WAAW;AAC/C,cAAY,aAAa;AACzB,SAAO;AAAA,IACL,IAAI,GAAG;AAAA,IACP,IAAI,GAAG,IAAI;AAAA,IACX,IAAI,GAAG;AAAA,IACP,IAAI,GAAG,IAAI;AAAA,EACf;AACA;AACO,SAAS,cAAc,IAAI,IAAI,WAAW;AAC/C,cAAY,aAAa;AACzB,SAAO;AAAA,IACL,GAAG,GAAG;AAAA,IACN,GAAG,GAAG,IAAI;AAAA,IACV,OAAO,GAAG;AAAA,IACV,QAAQ,GAAG,IAAI;AAAA,EACnB;AACA;"}
|
|
@@ -201,6 +201,8 @@ function calculateDataExtent(axisProxy, axisDim, seriesModels) {
|
|
|
201
201
|
var rawExtentResult = ensureScaleRawExtentInfo(axisModel.axis.scale, axisModel, dataExtent).calculate();
|
|
202
202
|
return [rawExtentResult.min, rawExtentResult.max];
|
|
203
203
|
}
|
|
204
|
-
|
|
205
|
-
export {
|
|
204
|
+
const AxisProxy$1 = AxisProxy;
|
|
205
|
+
export {
|
|
206
|
+
AxisProxy$1 as default
|
|
207
|
+
};
|
|
206
208
|
//# sourceMappingURL=AxisProxy.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AxisProxy.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/AxisProxy.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as numberUtil from '../../util/number.js';\nimport sliderMove from '../helper/sliderMove.js';\nimport { unionAxisExtentFromData } from '../../coord/axisHelper.js';\nimport { ensureScaleRawExtentInfo } from '../../coord/scaleRawExtentInfo.js';\nimport { getAxisMainType, isCoordSupported } from './helper.js';\nimport { SINGLE_REFERRING } from '../../util/model.js';\nvar each = zrUtil.each;\nvar asc = numberUtil.asc;\n/**\n * Operate single axis.\n * One axis can only operated by one axis operator.\n * Different dataZoomModels may be defined to operate the same axis.\n * (i.e. 'inside' data zoom and 'slider' data zoom components)\n * So dataZoomModels share one axisProxy in that case.\n */\n\nvar AxisProxy =\n/** @class */\nfunction () {\n function AxisProxy(dimName, axisIndex, dataZoomModel, ecModel) {\n this._dimName = dimName;\n this._axisIndex = axisIndex;\n this.ecModel = ecModel;\n this._dataZoomModel = dataZoomModel; // /**\n // * @readOnly\n // * @private\n // */\n // this.hasSeriesStacked;\n }\n /**\n * Whether the axisProxy is hosted by dataZoomModel.\n */\n\n\n AxisProxy.prototype.hostedBy = function (dataZoomModel) {\n return this._dataZoomModel === dataZoomModel;\n };\n /**\n * @return Value can only be NaN or finite value.\n */\n\n\n AxisProxy.prototype.getDataValueWindow = function () {\n return this._valueWindow.slice();\n };\n /**\n * @return {Array.<number>}\n */\n\n\n AxisProxy.prototype.getDataPercentWindow = function () {\n return this._percentWindow.slice();\n };\n\n AxisProxy.prototype.getTargetSeriesModels = function () {\n var seriesModels = [];\n this.ecModel.eachSeries(function (seriesModel) {\n if (isCoordSupported(seriesModel)) {\n var axisMainType = getAxisMainType(this._dimName);\n var axisModel = seriesModel.getReferringComponents(axisMainType, SINGLE_REFERRING).models[0];\n\n if (axisModel && this._axisIndex === axisModel.componentIndex) {\n seriesModels.push(seriesModel);\n }\n }\n }, this);\n return seriesModels;\n };\n\n AxisProxy.prototype.getAxisModel = function () {\n return this.ecModel.getComponent(this._dimName + 'Axis', this._axisIndex);\n };\n\n AxisProxy.prototype.getMinMaxSpan = function () {\n return zrUtil.clone(this._minMaxSpan);\n };\n /**\n * Only calculate by given range and this._dataExtent, do not change anything.\n */\n\n\n AxisProxy.prototype.calculateDataWindow = function (opt) {\n var dataExtent = this._dataExtent;\n var axisModel = this.getAxisModel();\n var scale = axisModel.axis.scale;\n\n var rangePropMode = this._dataZoomModel.getRangePropMode();\n\n var percentExtent = [0, 100];\n var percentWindow = [];\n var valueWindow = [];\n var hasPropModeValue;\n each(['start', 'end'], function (prop, idx) {\n var boundPercent = opt[prop];\n var boundValue = opt[prop + 'Value']; // Notice: dataZoom is based either on `percentProp` ('start', 'end') or\n // on `valueProp` ('startValue', 'endValue'). (They are based on the data extent\n // but not min/max of axis, which will be calculated by data window then).\n // The former one is suitable for cases that a dataZoom component controls multiple\n // axes with different unit or extent, and the latter one is suitable for accurate\n // zoom by pixel (e.g., in dataZoomSelect).\n // we use `getRangePropMode()` to mark which prop is used. `rangePropMode` is updated\n // only when setOption or dispatchAction, otherwise it remains its original value.\n // (Why not only record `percentProp` and always map to `valueProp`? Because\n // the map `valueProp` -> `percentProp` -> `valueProp` probably not the original\n // `valueProp`. consider two axes constrolled by one dataZoom. They have different\n // data extent. All of values that are overflow the `dataExtent` will be calculated\n // to percent '100%').\n\n if (rangePropMode[idx] === 'percent') {\n boundPercent == null && (boundPercent = percentExtent[idx]); // Use scale.parse to math round for category or time axis.\n\n boundValue = scale.parse(numberUtil.linearMap(boundPercent, percentExtent, dataExtent));\n } else {\n hasPropModeValue = true;\n boundValue = boundValue == null ? dataExtent[idx] : scale.parse(boundValue); // Calculating `percent` from `value` may be not accurate, because\n // This calculation can not be inversed, because all of values that\n // are overflow the `dataExtent` will be calculated to percent '100%'\n\n boundPercent = numberUtil.linearMap(boundValue, dataExtent, percentExtent);\n } // valueWindow[idx] = round(boundValue);\n // percentWindow[idx] = round(boundPercent);\n\n\n valueWindow[idx] = boundValue;\n percentWindow[idx] = boundPercent;\n });\n asc(valueWindow);\n asc(percentWindow); // The windows from user calling of `dispatchAction` might be out of the extent,\n // or do not obey the `min/maxSpan`, `min/maxValueSpan`. But we dont restrict window\n // by `zoomLock` here, because we see `zoomLock` just as a interaction constraint,\n // where API is able to initialize/modify the window size even though `zoomLock`\n // specified.\n\n var spans = this._minMaxSpan;\n hasPropModeValue ? restrictSet(valueWindow, percentWindow, dataExtent, percentExtent, false) : restrictSet(percentWindow, valueWindow, percentExtent, dataExtent, true);\n\n function restrictSet(fromWindow, toWindow, fromExtent, toExtent, toValue) {\n var suffix = toValue ? 'Span' : 'ValueSpan';\n sliderMove(0, fromWindow, fromExtent, 'all', spans['min' + suffix], spans['max' + suffix]);\n\n for (var i = 0; i < 2; i++) {\n toWindow[i] = numberUtil.linearMap(fromWindow[i], fromExtent, toExtent, true);\n toValue && (toWindow[i] = scale.parse(toWindow[i]));\n }\n }\n\n return {\n valueWindow: valueWindow,\n percentWindow: percentWindow\n };\n };\n /**\n * Notice: reset should not be called before series.restoreData() called,\n * so it is recommanded to be called in \"process stage\" but not \"model init\n * stage\".\n */\n\n\n AxisProxy.prototype.reset = function (dataZoomModel) {\n if (dataZoomModel !== this._dataZoomModel) {\n return;\n }\n\n var targetSeries = this.getTargetSeriesModels(); // Culculate data window and data extent, and record them.\n\n this._dataExtent = calculateDataExtent(this, this._dimName, targetSeries); // `calculateDataWindow` uses min/maxSpan.\n\n this._updateMinMaxSpan();\n\n var dataWindow = this.calculateDataWindow(dataZoomModel.settledOption);\n this._valueWindow = dataWindow.valueWindow;\n this._percentWindow = dataWindow.percentWindow; // Update axis setting then.\n\n this._setAxisModel();\n };\n\n AxisProxy.prototype.filterData = function (dataZoomModel, api) {\n if (dataZoomModel !== this._dataZoomModel) {\n return;\n }\n\n var axisDim = this._dimName;\n var seriesModels = this.getTargetSeriesModels();\n var filterMode = dataZoomModel.get('filterMode');\n var valueWindow = this._valueWindow;\n\n if (filterMode === 'none') {\n return;\n } // FIXME\n // Toolbox may has dataZoom injected. And if there are stacked bar chart\n // with NaN data, NaN will be filtered and stack will be wrong.\n // So we need to force the mode to be set empty.\n // In fect, it is not a big deal that do not support filterMode-'filter'\n // when using toolbox#dataZoom, utill tooltip#dataZoom support \"single axis\n // selection\" some day, which might need \"adapt to data extent on the\n // otherAxis\", which is disabled by filterMode-'empty'.\n // But currently, stack has been fixed to based on value but not index,\n // so this is not an issue any more.\n // let otherAxisModel = this.getOtherAxisModel();\n // if (dataZoomModel.get('$fromToolbox')\n // && otherAxisModel\n // && otherAxisModel.hasSeriesStacked\n // ) {\n // filterMode = 'empty';\n // }\n // TODO\n // filterMode 'weakFilter' and 'empty' is not optimized for huge data yet.\n\n\n each(seriesModels, function (seriesModel) {\n var seriesData = seriesModel.getData();\n var dataDims = seriesData.mapDimensionsAll(axisDim);\n\n if (!dataDims.length) {\n return;\n }\n\n if (filterMode === 'weakFilter') {\n var store_1 = seriesData.getStore();\n var dataDimIndices_1 = zrUtil.map(dataDims, function (dim) {\n return seriesData.getDimensionIndex(dim);\n }, seriesData);\n seriesData.filterSelf(function (dataIndex) {\n var leftOut;\n var rightOut;\n var hasValue;\n\n for (var i = 0; i < dataDims.length; i++) {\n var value = store_1.get(dataDimIndices_1[i], dataIndex);\n var thisHasValue = !isNaN(value);\n var thisLeftOut = value < valueWindow[0];\n var thisRightOut = value > valueWindow[1];\n\n if (thisHasValue && !thisLeftOut && !thisRightOut) {\n return true;\n }\n\n thisHasValue && (hasValue = true);\n thisLeftOut && (leftOut = true);\n thisRightOut && (rightOut = true);\n } // If both left out and right out, do not filter.\n\n\n return hasValue && leftOut && rightOut;\n });\n } else {\n each(dataDims, function (dim) {\n if (filterMode === 'empty') {\n seriesModel.setData(seriesData = seriesData.map(dim, function (value) {\n return !isInWindow(value) ? NaN : value;\n }));\n } else {\n var range = {};\n range[dim] = valueWindow; // console.time('select');\n\n seriesData.selectRange(range); // console.timeEnd('select');\n }\n });\n }\n\n each(dataDims, function (dim) {\n seriesData.setApproximateExtent(valueWindow, dim);\n });\n });\n\n function isInWindow(value) {\n return value >= valueWindow[0] && value <= valueWindow[1];\n }\n };\n\n AxisProxy.prototype._updateMinMaxSpan = function () {\n var minMaxSpan = this._minMaxSpan = {};\n var dataZoomModel = this._dataZoomModel;\n var dataExtent = this._dataExtent;\n each(['min', 'max'], function (minMax) {\n var percentSpan = dataZoomModel.get(minMax + 'Span');\n var valueSpan = dataZoomModel.get(minMax + 'ValueSpan');\n valueSpan != null && (valueSpan = this.getAxisModel().axis.scale.parse(valueSpan)); // minValueSpan and maxValueSpan has higher priority than minSpan and maxSpan\n\n if (valueSpan != null) {\n percentSpan = numberUtil.linearMap(dataExtent[0] + valueSpan, dataExtent, [0, 100], true);\n } else if (percentSpan != null) {\n valueSpan = numberUtil.linearMap(percentSpan, [0, 100], dataExtent, true) - dataExtent[0];\n }\n\n minMaxSpan[minMax + 'Span'] = percentSpan;\n minMaxSpan[minMax + 'ValueSpan'] = valueSpan;\n }, this);\n };\n\n AxisProxy.prototype._setAxisModel = function () {\n var axisModel = this.getAxisModel();\n var percentWindow = this._percentWindow;\n var valueWindow = this._valueWindow;\n\n if (!percentWindow) {\n return;\n } // [0, 500]: arbitrary value, guess axis extent.\n\n\n var precision = numberUtil.getPixelPrecision(valueWindow, [0, 500]);\n precision = Math.min(precision, 20); // For value axis, if min/max/scale are not set, we just use the extent obtained\n // by series data, which may be a little different from the extent calculated by\n // `axisHelper.getScaleExtent`. But the different just affects the experience a\n // little when zooming. So it will not be fixed until some users require it strongly.\n\n var rawExtentInfo = axisModel.axis.scale.rawExtentInfo;\n\n if (percentWindow[0] !== 0) {\n rawExtentInfo.setDeterminedMinMax('min', +valueWindow[0].toFixed(precision));\n }\n\n if (percentWindow[1] !== 100) {\n rawExtentInfo.setDeterminedMinMax('max', +valueWindow[1].toFixed(precision));\n }\n\n rawExtentInfo.freeze();\n };\n\n return AxisProxy;\n}();\n\nfunction calculateDataExtent(axisProxy, axisDim, seriesModels) {\n var dataExtent = [Infinity, -Infinity];\n each(seriesModels, function (seriesModel) {\n unionAxisExtentFromData(dataExtent, seriesModel.getData(), axisDim);\n }); // It is important to get \"consistent\" extent when more then one axes is\n // controlled by a `dataZoom`, otherwise those axes will not be synchronized\n // when zooming. But it is difficult to know what is \"consistent\", considering\n // axes have different type or even different meanings (For example, two\n // time axes are used to compare data of the same date in different years).\n // So basically dataZoom just obtains extent by series.data (in category axis\n // extent can be obtained from axis.data).\n // Nevertheless, user can set min/max/scale on axes to make extent of axes\n // consistent.\n\n var axisModel = axisProxy.getAxisModel();\n var rawExtentResult = ensureScaleRawExtentInfo(axisModel.axis.scale, axisModel, dataExtent).calculate();\n return [rawExtentResult.min, rawExtentResult.max];\n}\n\nexport default AxisProxy;"],"names":["zrUtil.each","numberUtil.asc","zrUtil.clone","numberUtil.linearMap","zrUtil.map","numberUtil.getPixelPrecision"],"mappings":";;;;;;;AAkDA,IAAI,OAAOA;AACX,IAAI,MAAMC;AASV,IAAI,YAEJ,WAAY;AACV,sBAAmB,SAAS,WAAW,eAAe,SAAS;AAC7D,SAAK,WAAW;AAChB,SAAK,aAAa;AAClB,SAAK,UAAU;AACf,SAAK,iBAAiB;AAAA,EAKvB;AAMD,aAAU,UAAU,WAAW,SAAU,eAAe;AACtD,WAAO,KAAK,mBAAmB;AAAA,EACnC;AAME,aAAU,UAAU,qBAAqB,WAAY;AACnD,WAAO,KAAK,aAAa;EAC7B;AAME,aAAU,UAAU,uBAAuB,WAAY;AACrD,WAAO,KAAK,eAAe;EAC/B;AAEE,aAAU,UAAU,wBAAwB,WAAY;AACtD,QAAI,eAAe,CAAA;AACnB,SAAK,QAAQ,WAAW,SAAU,aAAa;AAC7C,UAAI,iBAAiB,WAAW,GAAG;AACjC,YAAI,eAAe,gBAAgB,KAAK,QAAQ;AAChD,YAAI,YAAY,YAAY,uBAAuB,cAAc,gBAAgB,EAAE,OAAO;AAE1F,YAAI,aAAa,KAAK,eAAe,UAAU,gBAAgB;AAC7D,uBAAa,KAAK,WAAW;AAAA,QAC9B;AAAA,MACF;AAAA,IACF,GAAE,IAAI;AACP,WAAO;AAAA,EACX;AAEE,aAAU,UAAU,eAAe,WAAY;AAC7C,WAAO,KAAK,QAAQ,aAAa,KAAK,WAAW,QAAQ,KAAK,UAAU;AAAA,EAC5E;AAEE,aAAU,UAAU,gBAAgB,WAAY;AAC9C,WAAOC,MAAa,KAAK,WAAW;AAAA,EACxC;AAME,aAAU,UAAU,sBAAsB,SAAU,KAAK;AACvD,QAAI,aAAa,KAAK;AACtB,QAAI,YAAY,KAAK;AACrB,QAAI,QAAQ,UAAU,KAAK;AAE3B,QAAI,gBAAgB,KAAK,eAAe,iBAAgB;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Aa,CAAC,GAAG,GAAG,CAAC;AAClE,gBAAY,KAAK,IAAI,WAAW,EAAE;AAKlC,QAAI,gBAAgB,UAAU,KAAK,MAAM;AAEzC,QAAI,cAAc,OAAO,GAAG;AAC1B,oBAAc,oBAAoB,OAAO,CAAC,YAAY,GAAG,QAAQ,SAAS,CAAC;AAAA,IAC5E;AAED,QAAI,cAAc,OAAO,KAAK;AAC5B,oBAAc,oBAAoB,OAAO,CAAC,YAAY,GAAG,QAAQ,SAAS,CAAC;AAAA,IAC5E;AAED,kBAAc,OAAM;AAAA,EACxB;AAEE,SAAO;AACT;AAEA,6BAA6B,WAAW,SAAS,cAAc;AAC7D,MAAI,aAAa,CAAC,UAAU,SAAS;AACrC,OAAK,cAAc,SAAU,aAAa;AACxC,4BAAwB,YAAY,YAAY,QAAS,GAAE,OAAO;AAAA,EACtE,CAAG;AAUD,MAAI,YAAY,UAAU;AAC1B,MAAI,kBAAkB,yBAAyB,UAAU,KAAK,OAAO,WAAW,UAAU,EAAE;AAC5F,SAAO,CAAC,gBAAgB,KAAK,gBAAgB,GAAG;AAClD;AAEA,IAAA,cAAe;;"}
|
|
1
|
+
{"version":3,"file":"AxisProxy.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/AxisProxy.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/*\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*/\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport * as numberUtil from '../../util/number.js';\nimport sliderMove from '../helper/sliderMove.js';\nimport { unionAxisExtentFromData } from '../../coord/axisHelper.js';\nimport { ensureScaleRawExtentInfo } from '../../coord/scaleRawExtentInfo.js';\nimport { getAxisMainType, isCoordSupported } from './helper.js';\nimport { SINGLE_REFERRING } from '../../util/model.js';\nvar each = zrUtil.each;\nvar asc = numberUtil.asc;\n/**\n * Operate single axis.\n * One axis can only operated by one axis operator.\n * Different dataZoomModels may be defined to operate the same axis.\n * (i.e. 'inside' data zoom and 'slider' data zoom components)\n * So dataZoomModels share one axisProxy in that case.\n */\n\nvar AxisProxy =\n/** @class */\nfunction () {\n function AxisProxy(dimName, axisIndex, dataZoomModel, ecModel) {\n this._dimName = dimName;\n this._axisIndex = axisIndex;\n this.ecModel = ecModel;\n this._dataZoomModel = dataZoomModel; // /**\n // * @readOnly\n // * @private\n // */\n // this.hasSeriesStacked;\n }\n /**\n * Whether the axisProxy is hosted by dataZoomModel.\n */\n\n\n AxisProxy.prototype.hostedBy = function (dataZoomModel) {\n return this._dataZoomModel === dataZoomModel;\n };\n /**\n * @return Value can only be NaN or finite value.\n */\n\n\n AxisProxy.prototype.getDataValueWindow = function () {\n return this._valueWindow.slice();\n };\n /**\n * @return {Array.<number>}\n */\n\n\n AxisProxy.prototype.getDataPercentWindow = function () {\n return this._percentWindow.slice();\n };\n\n AxisProxy.prototype.getTargetSeriesModels = function () {\n var seriesModels = [];\n this.ecModel.eachSeries(function (seriesModel) {\n if (isCoordSupported(seriesModel)) {\n var axisMainType = getAxisMainType(this._dimName);\n var axisModel = seriesModel.getReferringComponents(axisMainType, SINGLE_REFERRING).models[0];\n\n if (axisModel && this._axisIndex === axisModel.componentIndex) {\n seriesModels.push(seriesModel);\n }\n }\n }, this);\n return seriesModels;\n };\n\n AxisProxy.prototype.getAxisModel = function () {\n return this.ecModel.getComponent(this._dimName + 'Axis', this._axisIndex);\n };\n\n AxisProxy.prototype.getMinMaxSpan = function () {\n return zrUtil.clone(this._minMaxSpan);\n };\n /**\n * Only calculate by given range and this._dataExtent, do not change anything.\n */\n\n\n AxisProxy.prototype.calculateDataWindow = function (opt) {\n var dataExtent = this._dataExtent;\n var axisModel = this.getAxisModel();\n var scale = axisModel.axis.scale;\n\n var rangePropMode = this._dataZoomModel.getRangePropMode();\n\n var percentExtent = [0, 100];\n var percentWindow = [];\n var valueWindow = [];\n var hasPropModeValue;\n each(['start', 'end'], function (prop, idx) {\n var boundPercent = opt[prop];\n var boundValue = opt[prop + 'Value']; // Notice: dataZoom is based either on `percentProp` ('start', 'end') or\n // on `valueProp` ('startValue', 'endValue'). (They are based on the data extent\n // but not min/max of axis, which will be calculated by data window then).\n // The former one is suitable for cases that a dataZoom component controls multiple\n // axes with different unit or extent, and the latter one is suitable for accurate\n // zoom by pixel (e.g., in dataZoomSelect).\n // we use `getRangePropMode()` to mark which prop is used. `rangePropMode` is updated\n // only when setOption or dispatchAction, otherwise it remains its original value.\n // (Why not only record `percentProp` and always map to `valueProp`? Because\n // the map `valueProp` -> `percentProp` -> `valueProp` probably not the original\n // `valueProp`. consider two axes constrolled by one dataZoom. They have different\n // data extent. All of values that are overflow the `dataExtent` will be calculated\n // to percent '100%').\n\n if (rangePropMode[idx] === 'percent') {\n boundPercent == null && (boundPercent = percentExtent[idx]); // Use scale.parse to math round for category or time axis.\n\n boundValue = scale.parse(numberUtil.linearMap(boundPercent, percentExtent, dataExtent));\n } else {\n hasPropModeValue = true;\n boundValue = boundValue == null ? dataExtent[idx] : scale.parse(boundValue); // Calculating `percent` from `value` may be not accurate, because\n // This calculation can not be inversed, because all of values that\n // are overflow the `dataExtent` will be calculated to percent '100%'\n\n boundPercent = numberUtil.linearMap(boundValue, dataExtent, percentExtent);\n } // valueWindow[idx] = round(boundValue);\n // percentWindow[idx] = round(boundPercent);\n\n\n valueWindow[idx] = boundValue;\n percentWindow[idx] = boundPercent;\n });\n asc(valueWindow);\n asc(percentWindow); // The windows from user calling of `dispatchAction` might be out of the extent,\n // or do not obey the `min/maxSpan`, `min/maxValueSpan`. But we dont restrict window\n // by `zoomLock` here, because we see `zoomLock` just as a interaction constraint,\n // where API is able to initialize/modify the window size even though `zoomLock`\n // specified.\n\n var spans = this._minMaxSpan;\n hasPropModeValue ? restrictSet(valueWindow, percentWindow, dataExtent, percentExtent, false) : restrictSet(percentWindow, valueWindow, percentExtent, dataExtent, true);\n\n function restrictSet(fromWindow, toWindow, fromExtent, toExtent, toValue) {\n var suffix = toValue ? 'Span' : 'ValueSpan';\n sliderMove(0, fromWindow, fromExtent, 'all', spans['min' + suffix], spans['max' + suffix]);\n\n for (var i = 0; i < 2; i++) {\n toWindow[i] = numberUtil.linearMap(fromWindow[i], fromExtent, toExtent, true);\n toValue && (toWindow[i] = scale.parse(toWindow[i]));\n }\n }\n\n return {\n valueWindow: valueWindow,\n percentWindow: percentWindow\n };\n };\n /**\n * Notice: reset should not be called before series.restoreData() called,\n * so it is recommanded to be called in \"process stage\" but not \"model init\n * stage\".\n */\n\n\n AxisProxy.prototype.reset = function (dataZoomModel) {\n if (dataZoomModel !== this._dataZoomModel) {\n return;\n }\n\n var targetSeries = this.getTargetSeriesModels(); // Culculate data window and data extent, and record them.\n\n this._dataExtent = calculateDataExtent(this, this._dimName, targetSeries); // `calculateDataWindow` uses min/maxSpan.\n\n this._updateMinMaxSpan();\n\n var dataWindow = this.calculateDataWindow(dataZoomModel.settledOption);\n this._valueWindow = dataWindow.valueWindow;\n this._percentWindow = dataWindow.percentWindow; // Update axis setting then.\n\n this._setAxisModel();\n };\n\n AxisProxy.prototype.filterData = function (dataZoomModel, api) {\n if (dataZoomModel !== this._dataZoomModel) {\n return;\n }\n\n var axisDim = this._dimName;\n var seriesModels = this.getTargetSeriesModels();\n var filterMode = dataZoomModel.get('filterMode');\n var valueWindow = this._valueWindow;\n\n if (filterMode === 'none') {\n return;\n } // FIXME\n // Toolbox may has dataZoom injected. And if there are stacked bar chart\n // with NaN data, NaN will be filtered and stack will be wrong.\n // So we need to force the mode to be set empty.\n // In fect, it is not a big deal that do not support filterMode-'filter'\n // when using toolbox#dataZoom, utill tooltip#dataZoom support \"single axis\n // selection\" some day, which might need \"adapt to data extent on the\n // otherAxis\", which is disabled by filterMode-'empty'.\n // But currently, stack has been fixed to based on value but not index,\n // so this is not an issue any more.\n // let otherAxisModel = this.getOtherAxisModel();\n // if (dataZoomModel.get('$fromToolbox')\n // && otherAxisModel\n // && otherAxisModel.hasSeriesStacked\n // ) {\n // filterMode = 'empty';\n // }\n // TODO\n // filterMode 'weakFilter' and 'empty' is not optimized for huge data yet.\n\n\n each(seriesModels, function (seriesModel) {\n var seriesData = seriesModel.getData();\n var dataDims = seriesData.mapDimensionsAll(axisDim);\n\n if (!dataDims.length) {\n return;\n }\n\n if (filterMode === 'weakFilter') {\n var store_1 = seriesData.getStore();\n var dataDimIndices_1 = zrUtil.map(dataDims, function (dim) {\n return seriesData.getDimensionIndex(dim);\n }, seriesData);\n seriesData.filterSelf(function (dataIndex) {\n var leftOut;\n var rightOut;\n var hasValue;\n\n for (var i = 0; i < dataDims.length; i++) {\n var value = store_1.get(dataDimIndices_1[i], dataIndex);\n var thisHasValue = !isNaN(value);\n var thisLeftOut = value < valueWindow[0];\n var thisRightOut = value > valueWindow[1];\n\n if (thisHasValue && !thisLeftOut && !thisRightOut) {\n return true;\n }\n\n thisHasValue && (hasValue = true);\n thisLeftOut && (leftOut = true);\n thisRightOut && (rightOut = true);\n } // If both left out and right out, do not filter.\n\n\n return hasValue && leftOut && rightOut;\n });\n } else {\n each(dataDims, function (dim) {\n if (filterMode === 'empty') {\n seriesModel.setData(seriesData = seriesData.map(dim, function (value) {\n return !isInWindow(value) ? NaN : value;\n }));\n } else {\n var range = {};\n range[dim] = valueWindow; // console.time('select');\n\n seriesData.selectRange(range); // console.timeEnd('select');\n }\n });\n }\n\n each(dataDims, function (dim) {\n seriesData.setApproximateExtent(valueWindow, dim);\n });\n });\n\n function isInWindow(value) {\n return value >= valueWindow[0] && value <= valueWindow[1];\n }\n };\n\n AxisProxy.prototype._updateMinMaxSpan = function () {\n var minMaxSpan = this._minMaxSpan = {};\n var dataZoomModel = this._dataZoomModel;\n var dataExtent = this._dataExtent;\n each(['min', 'max'], function (minMax) {\n var percentSpan = dataZoomModel.get(minMax + 'Span');\n var valueSpan = dataZoomModel.get(minMax + 'ValueSpan');\n valueSpan != null && (valueSpan = this.getAxisModel().axis.scale.parse(valueSpan)); // minValueSpan and maxValueSpan has higher priority than minSpan and maxSpan\n\n if (valueSpan != null) {\n percentSpan = numberUtil.linearMap(dataExtent[0] + valueSpan, dataExtent, [0, 100], true);\n } else if (percentSpan != null) {\n valueSpan = numberUtil.linearMap(percentSpan, [0, 100], dataExtent, true) - dataExtent[0];\n }\n\n minMaxSpan[minMax + 'Span'] = percentSpan;\n minMaxSpan[minMax + 'ValueSpan'] = valueSpan;\n }, this);\n };\n\n AxisProxy.prototype._setAxisModel = function () {\n var axisModel = this.getAxisModel();\n var percentWindow = this._percentWindow;\n var valueWindow = this._valueWindow;\n\n if (!percentWindow) {\n return;\n } // [0, 500]: arbitrary value, guess axis extent.\n\n\n var precision = numberUtil.getPixelPrecision(valueWindow, [0, 500]);\n precision = Math.min(precision, 20); // For value axis, if min/max/scale are not set, we just use the extent obtained\n // by series data, which may be a little different from the extent calculated by\n // `axisHelper.getScaleExtent`. But the different just affects the experience a\n // little when zooming. So it will not be fixed until some users require it strongly.\n\n var rawExtentInfo = axisModel.axis.scale.rawExtentInfo;\n\n if (percentWindow[0] !== 0) {\n rawExtentInfo.setDeterminedMinMax('min', +valueWindow[0].toFixed(precision));\n }\n\n if (percentWindow[1] !== 100) {\n rawExtentInfo.setDeterminedMinMax('max', +valueWindow[1].toFixed(precision));\n }\n\n rawExtentInfo.freeze();\n };\n\n return AxisProxy;\n}();\n\nfunction calculateDataExtent(axisProxy, axisDim, seriesModels) {\n var dataExtent = [Infinity, -Infinity];\n each(seriesModels, function (seriesModel) {\n unionAxisExtentFromData(dataExtent, seriesModel.getData(), axisDim);\n }); // It is important to get \"consistent\" extent when more then one axes is\n // controlled by a `dataZoom`, otherwise those axes will not be synchronized\n // when zooming. But it is difficult to know what is \"consistent\", considering\n // axes have different type or even different meanings (For example, two\n // time axes are used to compare data of the same date in different years).\n // So basically dataZoom just obtains extent by series.data (in category axis\n // extent can be obtained from axis.data).\n // Nevertheless, user can set min/max/scale on axes to make extent of axes\n // consistent.\n\n var axisModel = axisProxy.getAxisModel();\n var rawExtentResult = ensureScaleRawExtentInfo(axisModel.axis.scale, axisModel, dataExtent).calculate();\n return [rawExtentResult.min, rawExtentResult.max];\n}\n\nexport default AxisProxy;"],"names":["zrUtil.each","numberUtil.asc","AxisProxy","zrUtil.clone","numberUtil.linearMap","zrUtil.map","numberUtil.getPixelPrecision"],"mappings":";;;;;;;AAkDA,IAAI,OAAOA;AACX,IAAI,MAAMC;AASV,IAAI,YAEJ,WAAY;AACV,WAASC,WAAU,SAAS,WAAW,eAAe,SAAS;AAC7D,SAAK,WAAW;AAChB,SAAK,aAAa;AAClB,SAAK,UAAU;AACf,SAAK,iBAAiB;AAAA,EAKvB;AAMD,EAAAA,WAAU,UAAU,WAAW,SAAU,eAAe;AACtD,WAAO,KAAK,mBAAmB;AAAA,EACnC;AAME,EAAAA,WAAU,UAAU,qBAAqB,WAAY;AACnD,WAAO,KAAK,aAAa;EAC7B;AAME,EAAAA,WAAU,UAAU,uBAAuB,WA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aAAa,CAAC,UAAU,SAAS;AACrC,OAAK,cAAc,SAAU,aAAa;AACxC,4BAAwB,YAAY,YAAY,QAAS,GAAE,OAAO;AAAA,EACtE,CAAG;AAUD,MAAI,YAAY,UAAU;AAC1B,MAAI,kBAAkB,yBAAyB,UAAU,KAAK,OAAO,WAAW,UAAU,EAAE;AAC5F,SAAO,CAAC,gBAAgB,KAAK,gBAAgB,GAAG;AAClD;AAEA,MAAA,cAAe;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __extends } from "../../../node_modules/tslib/tslib.es6.js";
|
|
2
|
-
import { merge, each, createHashMap } from "../../../../zrender/lib/core/util.js";
|
|
2
|
+
import { merge, each, createHashMap, assert } from "../../../../zrender/lib/core/util.js";
|
|
3
3
|
import ComponentModel from "../../model/Component.js";
|
|
4
4
|
import { getAxisMainType, DATA_ZOOM_AXIS_DIMENSIONS } from "./helper.js";
|
|
5
5
|
import { MULTIPLE_REFERRING, SINGLE_REFERRING } from "../../util/model.js";
|
|
@@ -199,6 +199,9 @@ var DataZoomModel = function(_super) {
|
|
|
199
199
|
}
|
|
200
200
|
};
|
|
201
201
|
DataZoomModel2.prototype.getAxisModel = function(axisDim, axisIndex) {
|
|
202
|
+
if (process.env.NODE_ENV !== "production") {
|
|
203
|
+
assert(axisDim && axisIndex != null);
|
|
204
|
+
}
|
|
202
205
|
var axisInfo = this._targetAxisInfoMap.get(axisDim);
|
|
203
206
|
if (axisInfo && axisInfo.indexMap[axisIndex]) {
|
|
204
207
|
return this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex);
|
|
@@ -262,6 +265,9 @@ var DataZoomModel = function(_super) {
|
|
|
262
265
|
return this._rangePropMode.slice();
|
|
263
266
|
};
|
|
264
267
|
DataZoomModel2.prototype.getOrient = function() {
|
|
268
|
+
if (process.env.NODE_ENV !== "production") {
|
|
269
|
+
assert(this._orient);
|
|
270
|
+
}
|
|
265
271
|
return this._orient;
|
|
266
272
|
};
|
|
267
273
|
DataZoomModel2.type = "dataZoom";
|
|
@@ -281,6 +287,8 @@ function retrieveRawOption(option) {
|
|
|
281
287
|
});
|
|
282
288
|
return ret;
|
|
283
289
|
}
|
|
284
|
-
|
|
285
|
-
export {
|
|
290
|
+
const DataZoomModel$1 = DataZoomModel;
|
|
291
|
+
export {
|
|
292
|
+
DataZoomModel$1 as default
|
|
293
|
+
};
|
|
286
294
|
//# sourceMappingURL=DataZoomModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataZoomModel.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/DataZoomModel.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/*\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*/\nimport { __extends } from \"tslib\";\nimport { each, createHashMap, merge, assert } from 'zrender/lib/core/util.js';\nimport ComponentModel from '../../model/Component.js';\nimport { getAxisMainType, DATA_ZOOM_AXIS_DIMENSIONS } from './helper.js';\nimport { MULTIPLE_REFERRING, SINGLE_REFERRING } from '../../util/model.js';\n\nvar DataZoomAxisInfo =\n/** @class */\nfunction () {\n function DataZoomAxisInfo() {\n this.indexList = [];\n this.indexMap = [];\n }\n\n DataZoomAxisInfo.prototype.add = function (axisCmptIdx) {\n // Remove duplication.\n if (!this.indexMap[axisCmptIdx]) {\n this.indexList.push(axisCmptIdx);\n this.indexMap[axisCmptIdx] = true;\n }\n };\n\n return DataZoomAxisInfo;\n}();\n\nvar DataZoomModel =\n/** @class */\nfunction (_super) {\n __extends(DataZoomModel, _super);\n\n function DataZoomModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = DataZoomModel.type;\n _this._autoThrottle = true;\n _this._noTarget = true;\n /**\n * It is `[rangeModeForMin, rangeModeForMax]`.\n * The optional values for `rangeMode`:\n * + `'value'` mode: the axis extent will always be determined by\n * `dataZoom.startValue` and `dataZoom.endValue`, despite\n * how data like and how `axis.min` and `axis.max` are.\n * + `'percent'` mode: `100` represents 100% of the `[dMin, dMax]`,\n * where `dMin` is `axis.min` if `axis.min` specified, otherwise `data.extent[0]`,\n * and `dMax` is `axis.max` if `axis.max` specified, otherwise `data.extent[1]`.\n * Axis extent will be determined by the result of the percent of `[dMin, dMax]`.\n *\n * For example, when users are using dynamic data (update data periodically via `setOption`),\n * if in `'value`' mode, the window will be kept in a fixed value range despite how\n * data are appended, while if in `'percent'` mode, whe window range will be changed alone with\n * the appended data (suppose `axis.min` and `axis.max` are not specified).\n */\n\n _this._rangePropMode = ['percent', 'percent'];\n return _this;\n }\n\n DataZoomModel.prototype.init = function (option, parentModel, ecModel) {\n var inputRawOption = retrieveRawOption(option);\n /**\n * Suppose a \"main process\" start at the point that model prepared (that is,\n * model initialized or merged or method called in `action`).\n * We should keep the `main process` idempotent, that is, given a set of values\n * on `option`, we get the same result.\n *\n * But sometimes, values on `option` will be updated for providing users\n * a \"final calculated value\" (`dataZoomProcessor` will do that). Those value\n * should not be the base/input of the `main process`.\n *\n * So in that case we should save and keep the input of the `main process`\n * separately, called `settledOption`.\n *\n * For example, consider the case:\n * (Step_1) brush zoom the grid by `toolbox.dataZoom`,\n * where the original input `option.startValue`, `option.endValue` are earsed by\n * calculated value.\n * (Step)2) click the legend to hide and show a series,\n * where the new range is calculated by the earsed `startValue` and `endValue`,\n * which brings incorrect result.\n */\n\n this.settledOption = inputRawOption;\n this.mergeDefaultAndTheme(option, ecModel);\n\n this._doInit(inputRawOption);\n };\n\n DataZoomModel.prototype.mergeOption = function (newOption) {\n var inputRawOption = retrieveRawOption(newOption); //FIX #2591\n\n merge(this.option, newOption, true);\n merge(this.settledOption, inputRawOption, true);\n\n this._doInit(inputRawOption);\n };\n\n DataZoomModel.prototype._doInit = function (inputRawOption) {\n var thisOption = this.option;\n\n this._setDefaultThrottle(inputRawOption);\n\n this._updateRangeUse(inputRawOption);\n\n var settledOption = this.settledOption;\n each([['start', 'startValue'], ['end', 'endValue']], function (names, index) {\n // start/end has higher priority over startValue/endValue if they\n // both set, but we should make chart.setOption({endValue: 1000})\n // effective, rather than chart.setOption({endValue: 1000, end: null}).\n if (this._rangePropMode[index] === 'value') {\n thisOption[names[0]] = settledOption[names[0]] = null;\n } // Otherwise do nothing and use the merge result.\n\n }, this);\n\n this._resetTarget();\n };\n\n DataZoomModel.prototype._resetTarget = function () {\n var optionOrient = this.get('orient', true);\n var targetAxisIndexMap = this._targetAxisInfoMap = createHashMap();\n\n var hasAxisSpecified = this._fillSpecifiedTargetAxis(targetAxisIndexMap);\n\n if (hasAxisSpecified) {\n this._orient = optionOrient || this._makeAutoOrientByTargetAxis();\n } else {\n this._orient = optionOrient || 'horizontal';\n\n this._fillAutoTargetAxisByOrient(targetAxisIndexMap, this._orient);\n }\n\n this._noTarget = true;\n targetAxisIndexMap.each(function (axisInfo) {\n if (axisInfo.indexList.length) {\n this._noTarget = false;\n }\n }, this);\n };\n\n DataZoomModel.prototype._fillSpecifiedTargetAxis = function (targetAxisIndexMap) {\n var hasAxisSpecified = false;\n each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) {\n var refering = this.getReferringComponents(getAxisMainType(axisDim), MULTIPLE_REFERRING); // When user set axisIndex as a empty array, we think that user specify axisIndex\n // but do not want use auto mode. Because empty array may be encountered when\n // some error occured.\n\n if (!refering.specified) {\n return;\n }\n\n hasAxisSpecified = true;\n var axisInfo = new DataZoomAxisInfo();\n each(refering.models, function (axisModel) {\n axisInfo.add(axisModel.componentIndex);\n });\n targetAxisIndexMap.set(axisDim, axisInfo);\n }, this);\n return hasAxisSpecified;\n };\n\n DataZoomModel.prototype._fillAutoTargetAxisByOrient = function (targetAxisIndexMap, orient) {\n var ecModel = this.ecModel;\n var needAuto = true; // Find axis that parallel to dataZoom as default.\n\n if (needAuto) {\n var axisDim = orient === 'vertical' ? 'y' : 'x';\n var axisModels = ecModel.findComponents({\n mainType: axisDim + 'Axis'\n });\n setParallelAxis(axisModels, axisDim);\n } // Find axis that parallel to dataZoom as default.\n\n\n if (needAuto) {\n var axisModels = ecModel.findComponents({\n mainType: 'singleAxis',\n filter: function (axisModel) {\n return axisModel.get('orient', true) === orient;\n }\n });\n setParallelAxis(axisModels, 'single');\n }\n\n function setParallelAxis(axisModels, axisDim) {\n // At least use the first parallel axis as the target axis.\n var axisModel = axisModels[0];\n\n if (!axisModel) {\n return;\n }\n\n var axisInfo = new DataZoomAxisInfo();\n axisInfo.add(axisModel.componentIndex);\n targetAxisIndexMap.set(axisDim, axisInfo);\n needAuto = false; // Find parallel axes in the same grid.\n\n if (axisDim === 'x' || axisDim === 'y') {\n var gridModel_1 = axisModel.getReferringComponents('grid', SINGLE_REFERRING).models[0];\n gridModel_1 && each(axisModels, function (axModel) {\n if (axisModel.componentIndex !== axModel.componentIndex && gridModel_1 === axModel.getReferringComponents('grid', SINGLE_REFERRING).models[0]) {\n axisInfo.add(axModel.componentIndex);\n }\n });\n }\n }\n\n if (needAuto) {\n // If no parallel axis, find the first category axis as default. (Also consider polar).\n each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) {\n if (!needAuto) {\n return;\n }\n\n var axisModels = ecModel.findComponents({\n mainType: getAxisMainType(axisDim),\n filter: function (axisModel) {\n return axisModel.get('type', true) === 'category';\n }\n });\n\n if (axisModels[0]) {\n var axisInfo = new DataZoomAxisInfo();\n axisInfo.add(axisModels[0].componentIndex);\n targetAxisIndexMap.set(axisDim, axisInfo);\n needAuto = false;\n }\n }, this);\n }\n };\n\n DataZoomModel.prototype._makeAutoOrientByTargetAxis = function () {\n var dim; // Find the first axis\n\n this.eachTargetAxis(function (axisDim) {\n !dim && (dim = axisDim);\n }, this);\n return dim === 'y' ? 'vertical' : 'horizontal';\n };\n\n DataZoomModel.prototype._setDefaultThrottle = function (inputRawOption) {\n // When first time user set throttle, auto throttle ends.\n if (inputRawOption.hasOwnProperty('throttle')) {\n this._autoThrottle = false;\n }\n\n if (this._autoThrottle) {\n var globalOption = this.ecModel.option;\n this.option.throttle = globalOption.animation && globalOption.animationDurationUpdate > 0 ? 100 : 20;\n }\n };\n\n DataZoomModel.prototype._updateRangeUse = function (inputRawOption) {\n var rangePropMode = this._rangePropMode;\n var rangeModeInOption = this.get('rangeMode');\n each([['start', 'startValue'], ['end', 'endValue']], function (names, index) {\n var percentSpecified = inputRawOption[names[0]] != null;\n var valueSpecified = inputRawOption[names[1]] != null;\n\n if (percentSpecified && !valueSpecified) {\n rangePropMode[index] = 'percent';\n } else if (!percentSpecified && valueSpecified) {\n rangePropMode[index] = 'value';\n } else if (rangeModeInOption) {\n rangePropMode[index] = rangeModeInOption[index];\n } else if (percentSpecified) {\n // percentSpecified && valueSpecified\n rangePropMode[index] = 'percent';\n } // else remain its original setting.\n\n });\n };\n\n DataZoomModel.prototype.noTarget = function () {\n return this._noTarget;\n };\n\n DataZoomModel.prototype.getFirstTargetAxisModel = function () {\n var firstAxisModel;\n this.eachTargetAxis(function (axisDim, axisIndex) {\n if (firstAxisModel == null) {\n firstAxisModel = this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex);\n }\n }, this);\n return firstAxisModel;\n };\n /**\n * @param {Function} callback param: axisModel, dimNames, axisIndex, dataZoomModel, ecModel\n */\n\n\n DataZoomModel.prototype.eachTargetAxis = function (callback, context) {\n this._targetAxisInfoMap.each(function (axisInfo, axisDim) {\n each(axisInfo.indexList, function (axisIndex) {\n callback.call(context, axisDim, axisIndex);\n });\n });\n };\n /**\n * @return If not found, return null/undefined.\n */\n\n\n DataZoomModel.prototype.getAxisProxy = function (axisDim, axisIndex) {\n var axisModel = this.getAxisModel(axisDim, axisIndex);\n\n if (axisModel) {\n return axisModel.__dzAxisProxy;\n }\n };\n /**\n * @return If not found, return null/undefined.\n */\n\n\n DataZoomModel.prototype.getAxisModel = function (axisDim, axisIndex) {\n if (process.env.NODE_ENV !== 'production') {\n assert(axisDim && axisIndex != null);\n }\n\n var axisInfo = this._targetAxisInfoMap.get(axisDim);\n\n if (axisInfo && axisInfo.indexMap[axisIndex]) {\n return this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex);\n }\n };\n /**\n * If not specified, set to undefined.\n */\n\n\n DataZoomModel.prototype.setRawRange = function (opt) {\n var thisOption = this.option;\n var settledOption = this.settledOption;\n each([['start', 'startValue'], ['end', 'endValue']], function (names) {\n // Consider the pair <start, startValue>:\n // If one has value and the other one is `null/undefined`, we both set them\n // to `settledOption`. This strategy enables the feature to clear the original\n // value in `settledOption` to `null/undefined`.\n // But if both of them are `null/undefined`, we do not set them to `settledOption`\n // and keep `settledOption` with the original value. This strategy enables users to\n // only set <end or endValue> but not set <start or startValue> when calling\n // `dispatchAction`.\n // The pair <end, endValue> is treated in the same way.\n if (opt[names[0]] != null || opt[names[1]] != null) {\n thisOption[names[0]] = settledOption[names[0]] = opt[names[0]];\n thisOption[names[1]] = settledOption[names[1]] = opt[names[1]];\n }\n }, this);\n\n this._updateRangeUse(opt);\n };\n\n DataZoomModel.prototype.setCalculatedRange = function (opt) {\n var option = this.option;\n each(['start', 'startValue', 'end', 'endValue'], function (name) {\n option[name] = opt[name];\n });\n };\n\n DataZoomModel.prototype.getPercentRange = function () {\n var axisProxy = this.findRepresentativeAxisProxy();\n\n if (axisProxy) {\n return axisProxy.getDataPercentWindow();\n }\n };\n /**\n * For example, chart.getModel().getComponent('dataZoom').getValueRange('y', 0);\n *\n * @return [startValue, endValue] value can only be '-' or finite number.\n */\n\n\n DataZoomModel.prototype.getValueRange = function (axisDim, axisIndex) {\n if (axisDim == null && axisIndex == null) {\n var axisProxy = this.findRepresentativeAxisProxy();\n\n if (axisProxy) {\n return axisProxy.getDataValueWindow();\n }\n } else {\n return this.getAxisProxy(axisDim, axisIndex).getDataValueWindow();\n }\n };\n /**\n * @param axisModel If axisModel given, find axisProxy\n * corresponding to the axisModel\n */\n\n\n DataZoomModel.prototype.findRepresentativeAxisProxy = function (axisModel) {\n if (axisModel) {\n return axisModel.__dzAxisProxy;\n } // Find the first hosted axisProxy\n\n\n var firstProxy;\n\n var axisDimList = this._targetAxisInfoMap.keys();\n\n for (var i = 0; i < axisDimList.length; i++) {\n var axisDim = axisDimList[i];\n\n var axisInfo = this._targetAxisInfoMap.get(axisDim);\n\n for (var j = 0; j < axisInfo.indexList.length; j++) {\n var proxy = this.getAxisProxy(axisDim, axisInfo.indexList[j]);\n\n if (proxy.hostedBy(this)) {\n return proxy;\n }\n\n if (!firstProxy) {\n firstProxy = proxy;\n }\n }\n } // If no hosted proxy found, still need to return a proxy.\n // This case always happens in toolbox dataZoom, where axes are all hosted by\n // other dataZooms.\n\n\n return firstProxy;\n };\n\n DataZoomModel.prototype.getRangePropMode = function () {\n return this._rangePropMode.slice();\n };\n\n DataZoomModel.prototype.getOrient = function () {\n if (process.env.NODE_ENV !== 'production') {\n // Should not be called before initialized.\n assert(this._orient);\n }\n\n return this._orient;\n };\n\n DataZoomModel.type = 'dataZoom';\n DataZoomModel.dependencies = ['xAxis', 'yAxis', 'radiusAxis', 'angleAxis', 'singleAxis', 'series', 'toolbox'];\n DataZoomModel.defaultOption = {\n // zlevel: 0,\n z: 4,\n filterMode: 'filter',\n start: 0,\n end: 100\n };\n return DataZoomModel;\n}(ComponentModel);\n/**\n * Retrieve the those raw params from option, which will be cached separately.\n * becasue they will be overwritten by normalized/calculated values in the main\n * process.\n */\n\n\nfunction retrieveRawOption(option) {\n var ret = {};\n each(['start', 'end', 'startValue', 'endValue', 'throttle'], function (name) {\n option.hasOwnProperty(name) && (ret[name] = option[name]);\n });\n return ret;\n}\n\nexport default DataZoomModel;"],"names":[],"mappings":";;;;;AAiDA,IAAI,mBAEJ,WAAY;AACV,+BAA4B;AAC1B,SAAK,YAAY;AACjB,SAAK,WAAW;EACjB;AAED,oBAAiB,UAAU,MAAM,SAAU,aAAa;AAEtD,QAAI,CAAC,KAAK,SAAS,cAAc;AAC/B,WAAK,UAAU,KAAK,WAAW;AAC/B,WAAK,SAAS,eAAe;AAAA,IAC9B;AAAA,EACL;AAEE,SAAO;AACT;AAEA,IAAI,gBAEJ,SAAU,QAAQ;AAChB,YAAU,gBAAe,MAAM;AAE/B,4BAAyB;AACvB,QAAI,QAAQ,WAAW,QAAQ,OAAO,MAAM,MAAM,SAAS,KAAK;AAEhE,UAAM,OAAO,eAAc;AAC3B,UAAM,gBAAgB;AACtB,UAAM,YAAY;AAkBlB,UAAM,iBAAiB,CAAC,WAAW,SAAS;AAC5C,WAAO;AAAA,EACR;AAED,iBAAc,UAAU,OAAO,SAAU,QAAQ,aAAa,SAAS;AACrE,QAAI,iBAAiB,kBAAkB,MAAM;AAuB7C,SAAK,gBAAgB;AACrB,SAAK,qBAAqB,QAAQ,OAAO;AAEzC,SAAK,QAAQ,cAAc;AAAA,EAC/B;AAEE,iBAAc,UAAU,cAAc,SAAU,WAAW;AACzD,QAAI,iBAAiB,kBAAkB,SAAS;AAEhD,UAAM,KAAK,QAAQ,WAAW,IAAI;AAClC,UAAM,KAAK,eAAe,gBAAgB,IA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ACrB,iBAAc,eAAe,CAAC,SAAS,SAAS,cAAc,aAAa,cAAc,UAAU,SAAS;AAC5G,iBAAc,gBAAgB;AAAA,IAE5B,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,KAAK;AAAA,EACT;AACE,SAAO;AACT,EAAE,cAAc;AAQhB,2BAA2B,QAAQ;AACjC,MAAI,MAAM,CAAA;AACV,OAAK,CAAC,SAAS,OAAO,cAAc,YAAY,UAAU,GAAG,SAAU,MAAM;AAC3E,WAAO,eAAe,IAAI,KAAM,KAAI,QAAQ,OAAO;AAAA,EACvD,CAAG;AACD,SAAO;AACT;AAEA,IAAA,kBAAe;;"}
|
|
1
|
+
{"version":3,"file":"DataZoomModel.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/DataZoomModel.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/*\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*/\nimport { __extends } from \"tslib\";\nimport { each, createHashMap, merge, assert } from 'zrender/lib/core/util.js';\nimport ComponentModel from '../../model/Component.js';\nimport { getAxisMainType, DATA_ZOOM_AXIS_DIMENSIONS } from './helper.js';\nimport { MULTIPLE_REFERRING, SINGLE_REFERRING } from '../../util/model.js';\n\nvar DataZoomAxisInfo =\n/** @class */\nfunction () {\n function DataZoomAxisInfo() {\n this.indexList = [];\n this.indexMap = [];\n }\n\n DataZoomAxisInfo.prototype.add = function (axisCmptIdx) {\n // Remove duplication.\n if (!this.indexMap[axisCmptIdx]) {\n this.indexList.push(axisCmptIdx);\n this.indexMap[axisCmptIdx] = true;\n }\n };\n\n return DataZoomAxisInfo;\n}();\n\nvar DataZoomModel =\n/** @class */\nfunction (_super) {\n __extends(DataZoomModel, _super);\n\n function DataZoomModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = DataZoomModel.type;\n _this._autoThrottle = true;\n _this._noTarget = true;\n /**\n * It is `[rangeModeForMin, rangeModeForMax]`.\n * The optional values for `rangeMode`:\n * + `'value'` mode: the axis extent will always be determined by\n * `dataZoom.startValue` and `dataZoom.endValue`, despite\n * how data like and how `axis.min` and `axis.max` are.\n * + `'percent'` mode: `100` represents 100% of the `[dMin, dMax]`,\n * where `dMin` is `axis.min` if `axis.min` specified, otherwise `data.extent[0]`,\n * and `dMax` is `axis.max` if `axis.max` specified, otherwise `data.extent[1]`.\n * Axis extent will be determined by the result of the percent of `[dMin, dMax]`.\n *\n * For example, when users are using dynamic data (update data periodically via `setOption`),\n * if in `'value`' mode, the window will be kept in a fixed value range despite how\n * data are appended, while if in `'percent'` mode, whe window range will be changed alone with\n * the appended data (suppose `axis.min` and `axis.max` are not specified).\n */\n\n _this._rangePropMode = ['percent', 'percent'];\n return _this;\n }\n\n DataZoomModel.prototype.init = function (option, parentModel, ecModel) {\n var inputRawOption = retrieveRawOption(option);\n /**\n * Suppose a \"main process\" start at the point that model prepared (that is,\n * model initialized or merged or method called in `action`).\n * We should keep the `main process` idempotent, that is, given a set of values\n * on `option`, we get the same result.\n *\n * But sometimes, values on `option` will be updated for providing users\n * a \"final calculated value\" (`dataZoomProcessor` will do that). Those value\n * should not be the base/input of the `main process`.\n *\n * So in that case we should save and keep the input of the `main process`\n * separately, called `settledOption`.\n *\n * For example, consider the case:\n * (Step_1) brush zoom the grid by `toolbox.dataZoom`,\n * where the original input `option.startValue`, `option.endValue` are earsed by\n * calculated value.\n * (Step)2) click the legend to hide and show a series,\n * where the new range is calculated by the earsed `startValue` and `endValue`,\n * which brings incorrect result.\n */\n\n this.settledOption = inputRawOption;\n this.mergeDefaultAndTheme(option, ecModel);\n\n this._doInit(inputRawOption);\n };\n\n DataZoomModel.prototype.mergeOption = function (newOption) {\n var inputRawOption = retrieveRawOption(newOption); //FIX #2591\n\n merge(this.option, newOption, true);\n merge(this.settledOption, inputRawOption, true);\n\n this._doInit(inputRawOption);\n };\n\n DataZoomModel.prototype._doInit = function (inputRawOption) {\n var thisOption = this.option;\n\n this._setDefaultThrottle(inputRawOption);\n\n this._updateRangeUse(inputRawOption);\n\n var settledOption = this.settledOption;\n each([['start', 'startValue'], ['end', 'endValue']], function (names, index) {\n // start/end has higher priority over startValue/endValue if they\n // both set, but we should make chart.setOption({endValue: 1000})\n // effective, rather than chart.setOption({endValue: 1000, end: null}).\n if (this._rangePropMode[index] === 'value') {\n thisOption[names[0]] = settledOption[names[0]] = null;\n } // Otherwise do nothing and use the merge result.\n\n }, this);\n\n this._resetTarget();\n };\n\n DataZoomModel.prototype._resetTarget = function () {\n var optionOrient = this.get('orient', true);\n var targetAxisIndexMap = this._targetAxisInfoMap = createHashMap();\n\n var hasAxisSpecified = this._fillSpecifiedTargetAxis(targetAxisIndexMap);\n\n if (hasAxisSpecified) {\n this._orient = optionOrient || this._makeAutoOrientByTargetAxis();\n } else {\n this._orient = optionOrient || 'horizontal';\n\n this._fillAutoTargetAxisByOrient(targetAxisIndexMap, this._orient);\n }\n\n this._noTarget = true;\n targetAxisIndexMap.each(function (axisInfo) {\n if (axisInfo.indexList.length) {\n this._noTarget = false;\n }\n }, this);\n };\n\n DataZoomModel.prototype._fillSpecifiedTargetAxis = function (targetAxisIndexMap) {\n var hasAxisSpecified = false;\n each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) {\n var refering = this.getReferringComponents(getAxisMainType(axisDim), MULTIPLE_REFERRING); // When user set axisIndex as a empty array, we think that user specify axisIndex\n // but do not want use auto mode. Because empty array may be encountered when\n // some error occured.\n\n if (!refering.specified) {\n return;\n }\n\n hasAxisSpecified = true;\n var axisInfo = new DataZoomAxisInfo();\n each(refering.models, function (axisModel) {\n axisInfo.add(axisModel.componentIndex);\n });\n targetAxisIndexMap.set(axisDim, axisInfo);\n }, this);\n return hasAxisSpecified;\n };\n\n DataZoomModel.prototype._fillAutoTargetAxisByOrient = function (targetAxisIndexMap, orient) {\n var ecModel = this.ecModel;\n var needAuto = true; // Find axis that parallel to dataZoom as default.\n\n if (needAuto) {\n var axisDim = orient === 'vertical' ? 'y' : 'x';\n var axisModels = ecModel.findComponents({\n mainType: axisDim + 'Axis'\n });\n setParallelAxis(axisModels, axisDim);\n } // Find axis that parallel to dataZoom as default.\n\n\n if (needAuto) {\n var axisModels = ecModel.findComponents({\n mainType: 'singleAxis',\n filter: function (axisModel) {\n return axisModel.get('orient', true) === orient;\n }\n });\n setParallelAxis(axisModels, 'single');\n }\n\n function setParallelAxis(axisModels, axisDim) {\n // At least use the first parallel axis as the target axis.\n var axisModel = axisModels[0];\n\n if (!axisModel) {\n return;\n }\n\n var axisInfo = new DataZoomAxisInfo();\n axisInfo.add(axisModel.componentIndex);\n targetAxisIndexMap.set(axisDim, axisInfo);\n needAuto = false; // Find parallel axes in the same grid.\n\n if (axisDim === 'x' || axisDim === 'y') {\n var gridModel_1 = axisModel.getReferringComponents('grid', SINGLE_REFERRING).models[0];\n gridModel_1 && each(axisModels, function (axModel) {\n if (axisModel.componentIndex !== axModel.componentIndex && gridModel_1 === axModel.getReferringComponents('grid', SINGLE_REFERRING).models[0]) {\n axisInfo.add(axModel.componentIndex);\n }\n });\n }\n }\n\n if (needAuto) {\n // If no parallel axis, find the first category axis as default. (Also consider polar).\n each(DATA_ZOOM_AXIS_DIMENSIONS, function (axisDim) {\n if (!needAuto) {\n return;\n }\n\n var axisModels = ecModel.findComponents({\n mainType: getAxisMainType(axisDim),\n filter: function (axisModel) {\n return axisModel.get('type', true) === 'category';\n }\n });\n\n if (axisModels[0]) {\n var axisInfo = new DataZoomAxisInfo();\n axisInfo.add(axisModels[0].componentIndex);\n targetAxisIndexMap.set(axisDim, axisInfo);\n needAuto = false;\n }\n }, this);\n }\n };\n\n DataZoomModel.prototype._makeAutoOrientByTargetAxis = function () {\n var dim; // Find the first axis\n\n this.eachTargetAxis(function (axisDim) {\n !dim && (dim = axisDim);\n }, this);\n return dim === 'y' ? 'vertical' : 'horizontal';\n };\n\n DataZoomModel.prototype._setDefaultThrottle = function (inputRawOption) {\n // When first time user set throttle, auto throttle ends.\n if (inputRawOption.hasOwnProperty('throttle')) {\n this._autoThrottle = false;\n }\n\n if (this._autoThrottle) {\n var globalOption = this.ecModel.option;\n this.option.throttle = globalOption.animation && globalOption.animationDurationUpdate > 0 ? 100 : 20;\n }\n };\n\n DataZoomModel.prototype._updateRangeUse = function (inputRawOption) {\n var rangePropMode = this._rangePropMode;\n var rangeModeInOption = this.get('rangeMode');\n each([['start', 'startValue'], ['end', 'endValue']], function (names, index) {\n var percentSpecified = inputRawOption[names[0]] != null;\n var valueSpecified = inputRawOption[names[1]] != null;\n\n if (percentSpecified && !valueSpecified) {\n rangePropMode[index] = 'percent';\n } else if (!percentSpecified && valueSpecified) {\n rangePropMode[index] = 'value';\n } else if (rangeModeInOption) {\n rangePropMode[index] = rangeModeInOption[index];\n } else if (percentSpecified) {\n // percentSpecified && valueSpecified\n rangePropMode[index] = 'percent';\n } // else remain its original setting.\n\n });\n };\n\n DataZoomModel.prototype.noTarget = function () {\n return this._noTarget;\n };\n\n DataZoomModel.prototype.getFirstTargetAxisModel = function () {\n var firstAxisModel;\n this.eachTargetAxis(function (axisDim, axisIndex) {\n if (firstAxisModel == null) {\n firstAxisModel = this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex);\n }\n }, this);\n return firstAxisModel;\n };\n /**\n * @param {Function} callback param: axisModel, dimNames, axisIndex, dataZoomModel, ecModel\n */\n\n\n DataZoomModel.prototype.eachTargetAxis = function (callback, context) {\n this._targetAxisInfoMap.each(function (axisInfo, axisDim) {\n each(axisInfo.indexList, function (axisIndex) {\n callback.call(context, axisDim, axisIndex);\n });\n });\n };\n /**\n * @return If not found, return null/undefined.\n */\n\n\n DataZoomModel.prototype.getAxisProxy = function (axisDim, axisIndex) {\n var axisModel = this.getAxisModel(axisDim, axisIndex);\n\n if (axisModel) {\n return axisModel.__dzAxisProxy;\n }\n };\n /**\n * @return If not found, return null/undefined.\n */\n\n\n DataZoomModel.prototype.getAxisModel = function (axisDim, axisIndex) {\n if (process.env.NODE_ENV !== 'production') {\n assert(axisDim && axisIndex != null);\n }\n\n var axisInfo = this._targetAxisInfoMap.get(axisDim);\n\n if (axisInfo && axisInfo.indexMap[axisIndex]) {\n return this.ecModel.getComponent(getAxisMainType(axisDim), axisIndex);\n }\n };\n /**\n * If not specified, set to undefined.\n */\n\n\n DataZoomModel.prototype.setRawRange = function (opt) {\n var thisOption = this.option;\n var settledOption = this.settledOption;\n each([['start', 'startValue'], ['end', 'endValue']], function (names) {\n // Consider the pair <start, startValue>:\n // If one has value and the other one is `null/undefined`, we both set them\n // to `settledOption`. This strategy enables the feature to clear the original\n // value in `settledOption` to `null/undefined`.\n // But if both of them are `null/undefined`, we do not set them to `settledOption`\n // and keep `settledOption` with the original value. This strategy enables users to\n // only set <end or endValue> but not set <start or startValue> when calling\n // `dispatchAction`.\n // The pair <end, endValue> is treated in the same way.\n if (opt[names[0]] != null || opt[names[1]] != null) {\n thisOption[names[0]] = settledOption[names[0]] = opt[names[0]];\n thisOption[names[1]] = settledOption[names[1]] = opt[names[1]];\n }\n }, this);\n\n this._updateRangeUse(opt);\n };\n\n DataZoomModel.prototype.setCalculatedRange = function (opt) {\n var option = this.option;\n each(['start', 'startValue', 'end', 'endValue'], function (name) {\n option[name] = opt[name];\n });\n };\n\n DataZoomModel.prototype.getPercentRange = function () {\n var axisProxy = this.findRepresentativeAxisProxy();\n\n if (axisProxy) {\n return axisProxy.getDataPercentWindow();\n }\n };\n /**\n * For example, chart.getModel().getComponent('dataZoom').getValueRange('y', 0);\n *\n * @return [startValue, endValue] value can only be '-' or finite number.\n */\n\n\n DataZoomModel.prototype.getValueRange = function (axisDim, axisIndex) {\n if (axisDim == null && axisIndex == null) {\n var axisProxy = this.findRepresentativeAxisProxy();\n\n if (axisProxy) {\n return axisProxy.getDataValueWindow();\n }\n } else {\n return this.getAxisProxy(axisDim, axisIndex).getDataValueWindow();\n }\n };\n /**\n * @param axisModel If axisModel given, find axisProxy\n * corresponding to the axisModel\n */\n\n\n DataZoomModel.prototype.findRepresentativeAxisProxy = function (axisModel) {\n if (axisModel) {\n return axisModel.__dzAxisProxy;\n } // Find the first hosted axisProxy\n\n\n var firstProxy;\n\n var axisDimList = this._targetAxisInfoMap.keys();\n\n for (var i = 0; i < axisDimList.length; i++) {\n var axisDim = axisDimList[i];\n\n var axisInfo = this._targetAxisInfoMap.get(axisDim);\n\n for (var j = 0; j < axisInfo.indexList.length; j++) {\n var proxy = this.getAxisProxy(axisDim, axisInfo.indexList[j]);\n\n if (proxy.hostedBy(this)) {\n return proxy;\n }\n\n if (!firstProxy) {\n firstProxy = proxy;\n }\n }\n } // If no hosted proxy found, still need to return a proxy.\n // This case always happens in toolbox dataZoom, where axes are all hosted by\n // other dataZooms.\n\n\n return firstProxy;\n };\n\n DataZoomModel.prototype.getRangePropMode = function () {\n return this._rangePropMode.slice();\n };\n\n DataZoomModel.prototype.getOrient = function () {\n if (process.env.NODE_ENV !== 'production') {\n // Should not be called before initialized.\n assert(this._orient);\n }\n\n return this._orient;\n };\n\n DataZoomModel.type = 'dataZoom';\n DataZoomModel.dependencies = ['xAxis', 'yAxis', 'radiusAxis', 'angleAxis', 'singleAxis', 'series', 'toolbox'];\n DataZoomModel.defaultOption = {\n // zlevel: 0,\n z: 4,\n filterMode: 'filter',\n start: 0,\n end: 100\n };\n return DataZoomModel;\n}(ComponentModel);\n/**\n * Retrieve the those raw params from option, which will be cached separately.\n * becasue they will be overwritten by normalized/calculated values in the main\n * process.\n */\n\n\nfunction retrieveRawOption(option) {\n var ret = {};\n each(['start', 'end', 'startValue', 'endValue', 'throttle'], function (name) {\n option.hasOwnProperty(name) && (ret[name] = option[name]);\n });\n return ret;\n}\n\nexport default DataZoomModel;"],"names":["DataZoomAxisInfo","DataZoomModel","axisModels","axisDim"],"mappings":";;;;;AAiDA,IAAI,mBAEJ,WAAY;AACV,WAASA,oBAAmB;AAC1B,SAAK,YAAY;AACjB,SAAK,WAAW;EACjB;AAED,EAAAA,kBAAiB,UAAU,MAAM,SAAU,aAAa;AAEtD,QAAI,CAAC,KAAK,SAAS,cAAc;AAC/B,WAAK,UAAU,KAAK,WAAW;AAC/B,WAAK,SAAS,eAAe;AAAA,IAC9B;AAAA,EACL;AAEE,SAAOA;AACT;AAEA,IAAI,gBAEJ,SAAU,QAAQ;AAChB,YAAUC,gBAAe,MAAM;AAE/B,WAASA,iBAAgB;AACvB,QAAI,QAAQ,WAAW,QAAQ,OAAO,MAAM,MAAM,SAAS,KAAK;AAEhE,UAAM,OAAOA,eAAc;AAC3B,UAAM,gBAAgB;AACtB,UAAM,YAAY;AAkBlB,UAAM,iBAAiB,CAAC,WAAW,SAAS;AAC5C,WAAO;AAAA,EACR;AAED,EAAAA,eAAc,UAAU,OAAO,SAAU,QAAQ,aAAa,SAAS;AACrE,QAAI,iBAAiB,kBAAkB,MAAM;AAuB7C,SAAK,gBAAgB;AACrB,SAAK,qBAAqB,QAAQ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IAAI,GAAG,IAAI,SAAS,UAAU,QAAQ,KAAK;AAClD,YAAI,QAAQ,KAAK,aAAa,SAAS,SAAS,UAAU,EAAE;AAE5D,YAAI,MAAM,SAAS,IAAI,GAAG;AACxB,iBAAO;AAAA,QACR;AAED,YAAI,CAAC,YAAY;AACf,uBAAa;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAKD,WAAO;AAAA,EACX;AAEE,EAAAA,eAAc,UAAU,mBAAmB,WAAY;AACrD,WAAO,KAAK,eAAe;EAC/B;AAEE,EAAAA,eAAc,UAAU,YAAY,WAAY;AAC9C,QAAI,QAAQ,IAAI,aAAa,cAAc;AAEzC,aAAO,KAAK,OAAO;AAAA,IACpB;AAED,WAAO,KAAK;AAAA,EAChB;AAEE,EAAAA,eAAc,OAAO;AACrB,EAAAA,eAAc,eAAe,CAAC,SAAS,SAAS,cAAc,aAAa,cAAc,UAAU,SAAS;AAC5G,EAAAA,eAAc,gBAAgB;AAAA,IAE5B,GAAG;AAAA,IACH,YAAY;AAAA,IACZ,OAAO;AAAA,IACP,KAAK;AAAA,EACT;AACE,SAAOA;AACT,EAAE,cAAc;AAQhB,SAAS,kBAAkB,QAAQ;AACjC,MAAI,MAAM,CAAA;AACV,OAAK,CAAC,SAAS,OAAO,cAAc,YAAY,UAAU,GAAG,SAAU,MAAM;AAC3E,WAAO,eAAe,IAAI,MAAM,IAAI,QAAQ,OAAO;AAAA,EACvD,CAAG;AACD,SAAO;AACT;AAEA,MAAA,kBAAe;"}
|
|
@@ -15,6 +15,8 @@ var DataZoomView = function(_super) {
|
|
|
15
15
|
DataZoomView2.type = "dataZoom";
|
|
16
16
|
return DataZoomView2;
|
|
17
17
|
}(ComponentView);
|
|
18
|
-
|
|
19
|
-
export {
|
|
18
|
+
const DataZoomView$1 = DataZoomView;
|
|
19
|
+
export {
|
|
20
|
+
DataZoomView$1 as default
|
|
21
|
+
};
|
|
20
22
|
//# sourceMappingURL=DataZoomView.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataZoomView.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/DataZoomView.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/*\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*/\nimport { __extends } from \"tslib\";\nimport ComponentView from '../../view/Component.js';\n\nvar DataZoomView =\n/** @class */\nfunction (_super) {\n __extends(DataZoomView, _super);\n\n function DataZoomView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = DataZoomView.type;\n return _this;\n }\n\n DataZoomView.prototype.render = function (dataZoomModel, ecModel, api, payload) {\n this.dataZoomModel = dataZoomModel;\n this.ecModel = ecModel;\n this.api = api;\n };\n\n DataZoomView.type = 'dataZoom';\n return DataZoomView;\n}(ComponentView);\n\nexport default DataZoomView;"],"names":[],"mappings":";;AA8CA,IAAI,eAEJ,SAAU,QAAQ;AAChB,
|
|
1
|
+
{"version":3,"file":"DataZoomView.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/DataZoomView.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/*\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*/\nimport { __extends } from \"tslib\";\nimport ComponentView from '../../view/Component.js';\n\nvar DataZoomView =\n/** @class */\nfunction (_super) {\n __extends(DataZoomView, _super);\n\n function DataZoomView() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = DataZoomView.type;\n return _this;\n }\n\n DataZoomView.prototype.render = function (dataZoomModel, ecModel, api, payload) {\n this.dataZoomModel = dataZoomModel;\n this.ecModel = ecModel;\n this.api = api;\n };\n\n DataZoomView.type = 'dataZoom';\n return DataZoomView;\n}(ComponentView);\n\nexport default DataZoomView;"],"names":["DataZoomView"],"mappings":";;AA8CA,IAAI,eAEJ,SAAU,QAAQ;AAChB,YAAUA,eAAc,MAAM;AAE9B,WAASA,gBAAe;AACtB,QAAI,QAAQ,WAAW,QAAQ,OAAO,MAAM,MAAM,SAAS,KAAK;AAEhE,UAAM,OAAOA,cAAa;AAC1B,WAAO;AAAA,EACR;AAED,EAAAA,cAAa,UAAU,SAAS,SAAU,eAAe,SAAS,KAAK,SAAS;AAC9E,SAAK,gBAAgB;AACrB,SAAK,UAAU;AACf,SAAK,MAAM;AAAA,EACf;AAEE,EAAAA,cAAa,OAAO;AACpB,SAAOA;AACT,EAAE,aAAa;AAEf,MAAA,iBAAe;"}
|
|
@@ -10,6 +10,8 @@ var SelectDataZoomModel = function(_super) {
|
|
|
10
10
|
SelectDataZoomModel2.type = "dataZoom.select";
|
|
11
11
|
return SelectDataZoomModel2;
|
|
12
12
|
}(DataZoomModel);
|
|
13
|
-
|
|
14
|
-
export {
|
|
13
|
+
const SelectZoomModel = SelectDataZoomModel;
|
|
14
|
+
export {
|
|
15
|
+
SelectZoomModel as default
|
|
16
|
+
};
|
|
15
17
|
//# sourceMappingURL=SelectZoomModel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectZoomModel.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/SelectZoomModel.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/*\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*/\nimport { __extends } from \"tslib\";\nimport DataZoomModel from './DataZoomModel.js';\n\nvar SelectDataZoomModel =\n/** @class */\nfunction (_super) {\n __extends(SelectDataZoomModel, _super);\n\n function SelectDataZoomModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = SelectDataZoomModel.type;\n return _this;\n }\n\n SelectDataZoomModel.type = 'dataZoom.select';\n return SelectDataZoomModel;\n}(DataZoomModel);\n\nexport default SelectDataZoomModel;"],"names":[],"mappings":";;AA8CA,IAAI,sBAEJ,SAAU,QAAQ;AAChB,
|
|
1
|
+
{"version":3,"file":"SelectZoomModel.js","sources":["../../../../../../node_modules/echarts/lib/component/dataZoom/SelectZoomModel.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/*\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*/\nimport { __extends } from \"tslib\";\nimport DataZoomModel from './DataZoomModel.js';\n\nvar SelectDataZoomModel =\n/** @class */\nfunction (_super) {\n __extends(SelectDataZoomModel, _super);\n\n function SelectDataZoomModel() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n\n _this.type = SelectDataZoomModel.type;\n return _this;\n }\n\n SelectDataZoomModel.type = 'dataZoom.select';\n return SelectDataZoomModel;\n}(DataZoomModel);\n\nexport default SelectDataZoomModel;"],"names":["SelectDataZoomModel"],"mappings":";;AA8CA,IAAI,sBAEJ,SAAU,QAAQ;AAChB,YAAUA,sBAAqB,MAAM;AAErC,WAASA,uBAAsB;AAC7B,QAAI,QAAQ,WAAW,QAAQ,OAAO,MAAM,MAAM,SAAS,KAAK;AAEhE,UAAM,OAAOA,qBAAoB;AACjC,WAAO;AAAA,EACR;AAED,EAAAA,qBAAoB,OAAO;AAC3B,SAAOA;AACT,EAAE,aAAa;AAEf,MAAA,kBAAe;"}
|
|
@@ -10,6 +10,8 @@ var SelectDataZoomView = function(_super) {
|
|
|
10
10
|
SelectDataZoomView2.type = "dataZoom.select";
|
|
11
11
|
return SelectDataZoomView2;
|
|
12
12
|
}(DataZoomView);
|
|
13
|
-
|
|
14
|
-
export {
|
|
13
|
+
const SelectZoomView = SelectDataZoomView;
|
|
14
|
+
export {
|
|
15
|
+
SelectZoomView as default
|
|
16
|
+
};
|
|
15
17
|
//# sourceMappingURL=SelectZoomView.js.map
|