@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":"Region.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/Region.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 BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nimport * as polygonContain from 'zrender/lib/contain/polygon.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport { each } from 'zrender/lib/core/util.js';\nvar TMP_TRANSFORM = [];\n\nfunction transformPoints(points, transform) {\n for (var p = 0; p < points.length; p++) {\n vec2.applyTransform(points[p], points[p], transform);\n }\n}\n\nfunction updateBBoxFromPoints(points, min, max, projection) {\n for (var i = 0; i < points.length; i++) {\n var p = points[i];\n\n if (projection) {\n // projection may return null point.\n p = projection.project(p);\n }\n\n if (p && isFinite(p[0]) && isFinite(p[1])) {\n vec2.min(min, min, p);\n vec2.max(max, max, p);\n }\n }\n}\n\nfunction centroid(points) {\n var signedArea = 0;\n var cx = 0;\n var cy = 0;\n var len = points.length;\n var x0 = points[len - 1][0];\n var y0 = points[len - 1][1]; // Polygon should been closed.\n\n for (var i = 0; i < len; i++) {\n var x1 = points[i][0];\n var y1 = points[i][1];\n var a = x0 * y1 - x1 * y0;\n signedArea += a;\n cx += (x0 + x1) * a;\n cy += (y0 + y1) * a;\n x0 = x1;\n y0 = y1;\n }\n\n return signedArea ? [cx / signedArea / 3, cy / signedArea / 3, signedArea] : [points[0][0] || 0, points[0][1] || 0];\n}\n\nvar Region =\n/** @class */\nfunction () {\n function Region(name) {\n this.name = name;\n }\n\n Region.prototype.setCenter = function (center) {\n this._center = center;\n };\n /**\n * Get center point in data unit. That is,\n * for GeoJSONRegion, the unit is lat/lng,\n * for GeoSVGRegion, the unit is SVG local coord.\n */\n\n\n Region.prototype.getCenter = function () {\n var center = this._center;\n\n if (!center) {\n // In most cases there are no need to calculate this center.\n // So calculate only when called.\n center = this._center = this.calcCenter();\n }\n\n return center;\n };\n\n return Region;\n}();\n\nexport { Region };\n\nvar GeoJSONPolygonGeometry =\n/** @class */\nfunction () {\n function GeoJSONPolygonGeometry(exterior, interiors) {\n this.type = 'polygon';\n this.exterior = exterior;\n this.interiors = interiors;\n }\n\n return GeoJSONPolygonGeometry;\n}();\n\nexport { GeoJSONPolygonGeometry };\n\nvar GeoJSONLineStringGeometry =\n/** @class */\nfunction () {\n function GeoJSONLineStringGeometry(points) {\n this.type = 'linestring';\n this.points = points;\n }\n\n return GeoJSONLineStringGeometry;\n}();\n\nexport { GeoJSONLineStringGeometry };\n\nvar GeoJSONRegion =\n/** @class */\nfunction (_super) {\n __extends(GeoJSONRegion, _super);\n\n function GeoJSONRegion(name, geometries, cp) {\n var _this = _super.call(this, name) || this;\n\n _this.type = 'geoJSON';\n _this.geometries = geometries;\n _this._center = cp && [cp[0], cp[1]];\n return _this;\n }\n\n GeoJSONRegion.prototype.calcCenter = function () {\n var geometries = this.geometries;\n var largestGeo;\n var largestGeoSize = 0;\n\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n var exterior = geo.exterior; // Simple trick to use points count instead of polygon area as region size.\n // Ignore linestring\n\n var size = exterior && exterior.length;\n\n if (size > largestGeoSize) {\n largestGeo = geo;\n largestGeoSize = size;\n }\n }\n\n if (largestGeo) {\n return centroid(largestGeo.exterior);\n } // from bounding rect by default.\n\n\n var rect = this.getBoundingRect();\n return [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n\n GeoJSONRegion.prototype.getBoundingRect = function (projection) {\n var rect = this._rect; // Always recalculate if using projection.\n\n if (rect && !projection) {\n return rect;\n }\n\n var min = [Infinity, Infinity];\n var max = [-Infinity, -Infinity];\n var geometries = this.geometries;\n each(geometries, function (geo) {\n if (geo.type === 'polygon') {\n // Doesn't consider hole\n updateBBoxFromPoints(geo.exterior, min, max, projection);\n } else {\n each(geo.points, function (points) {\n updateBBoxFromPoints(points, min, max, projection);\n });\n }\n }); // Normalie invalid bounding.\n\n if (!(isFinite(min[0]) && isFinite(min[1]) && isFinite(max[0]) && isFinite(max[1]))) {\n min[0] = min[1] = max[0] = max[1] = 0;\n }\n\n rect = new BoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]);\n\n if (!projection) {\n this._rect = rect;\n }\n\n return rect;\n };\n\n GeoJSONRegion.prototype.contain = function (coord) {\n var rect = this.getBoundingRect();\n var geometries = this.geometries;\n\n if (!rect.contain(coord[0], coord[1])) {\n return false;\n }\n\n loopGeo: for (var i = 0, len = geometries.length; i < len; i++) {\n var geo = geometries[i]; // Only support polygon.\n\n if (geo.type !== 'polygon') {\n continue;\n }\n\n var exterior = geo.exterior;\n var interiors = geo.interiors;\n\n if (polygonContain.contain(exterior, coord[0], coord[1])) {\n // Not in the region if point is in the hole.\n for (var k = 0; k < (interiors ? interiors.length : 0); k++) {\n if (polygonContain.contain(interiors[k], coord[0], coord[1])) {\n continue loopGeo;\n }\n }\n\n return true;\n }\n }\n\n return false;\n };\n /**\n * Transform the raw coords to target bounding.\n * @param x\n * @param y\n * @param width\n * @param height\n */\n\n\n GeoJSONRegion.prototype.transformTo = function (x, y, width, height) {\n var rect = this.getBoundingRect();\n var aspect = rect.width / rect.height;\n\n if (!width) {\n width = aspect * height;\n } else if (!height) {\n height = width / aspect;\n }\n\n var target = new BoundingRect(x, y, width, height);\n var transform = rect.calculateTransform(target);\n var geometries = this.geometries;\n\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n\n if (geo.type === 'polygon') {\n transformPoints(geo.exterior, transform);\n each(geo.interiors, function (interior) {\n transformPoints(interior, transform);\n });\n } else {\n each(geo.points, function (points) {\n transformPoints(points, transform);\n });\n }\n }\n\n rect = this._rect;\n rect.copy(target); // Update center\n\n this._center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n\n GeoJSONRegion.prototype.cloneShallow = function (name) {\n name == null && (name = this.name);\n var newRegion = new GeoJSONRegion(name, this.geometries, this._center);\n newRegion._rect = this._rect;\n newRegion.transformTo = null; // Simply avoid to be called.\n\n return newRegion;\n };\n\n return GeoJSONRegion;\n}(Region);\n\nexport { GeoJSONRegion };\n\nvar GeoSVGRegion =\n/** @class */\nfunction (_super) {\n __extends(GeoSVGRegion, _super);\n\n function GeoSVGRegion(name, elOnlyForCalculate) {\n var _this = _super.call(this, name) || this;\n\n _this.type = 'geoSVG';\n _this._elOnlyForCalculate = elOnlyForCalculate;\n return _this;\n }\n\n GeoSVGRegion.prototype.calcCenter = function () {\n var el = this._elOnlyForCalculate;\n var rect = el.getBoundingRect();\n var center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n var mat = matrix.identity(TMP_TRANSFORM);\n var target = el;\n\n while (target && !target.isGeoSVGGraphicRoot) {\n matrix.mul(mat, target.getLocalTransform(), mat);\n target = target.parent;\n }\n\n matrix.invert(mat, mat);\n vec2.applyTransform(center, center, mat);\n return center;\n };\n\n return GeoSVGRegion;\n}(Region);\n\nexport { GeoSVGRegion };"],"names":["vec2.applyTransform","vec2.min","vec2.max","__extends","each","BoundingRect","polygonContain.contain","matrix.identity","matrix.mul","matrix.invert"],"mappings":";;;;;;;;AAiDA,IAAI,gBAAgB,CAAA;AAEpB,yBAAyB,QAAQ,WAAW;AAC1C,WAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtCA,WAAmB,eAAC,OAAO,IAAI,OAAO,IAAI,SAAS;AAAA,EACpD;AACH;AAEA,8BAA8B,QAAQ,KAAK,KAAK,YAAY;AAC1D,WAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtC,QAAI,IAAI,OAAO;AAEf,QAAI,YAAY;AAEd,UAAI,WAAW,QAAQ,CAAC;AAAA,IACzB;AAED,QAAI,KAAK,SAAS,EAAE,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG;AACzCC,aAAAA,IAAS,KAAK,KAAK,CAAC;AACpBC,aAAAA,IAAS,KAAK,KAAK,CAAC;AAAA,IACrB;AAAA,EACF;AACH;AAEA,kBAAkB,QAAQ;AACxB,MAAI,aAAa;AACjB,MAAI,KAAK;AACT,MAAI,KAAK;AACT,MAAI,MAAM,OAAO;AACjB,MAAI,KAAK,OAAO,MAAM,GAAG;AACzB,MAAI,KAAK,OAAO,MAAM,GAAG;AAEzB,WAAS,IAA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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 BoundingRect from 'zrender/lib/core/BoundingRect.js';\nimport * as vec2 from 'zrender/lib/core/vector.js';\nimport * as polygonContain from 'zrender/lib/contain/polygon.js';\nimport * as matrix from 'zrender/lib/core/matrix.js';\nimport { each } from 'zrender/lib/core/util.js';\nvar TMP_TRANSFORM = [];\n\nfunction transformPoints(points, transform) {\n for (var p = 0; p < points.length; p++) {\n vec2.applyTransform(points[p], points[p], transform);\n }\n}\n\nfunction updateBBoxFromPoints(points, min, max, projection) {\n for (var i = 0; i < points.length; i++) {\n var p = points[i];\n\n if (projection) {\n // projection may return null point.\n p = projection.project(p);\n }\n\n if (p && isFinite(p[0]) && isFinite(p[1])) {\n vec2.min(min, min, p);\n vec2.max(max, max, p);\n }\n }\n}\n\nfunction centroid(points) {\n var signedArea = 0;\n var cx = 0;\n var cy = 0;\n var len = points.length;\n var x0 = points[len - 1][0];\n var y0 = points[len - 1][1]; // Polygon should been closed.\n\n for (var i = 0; i < len; i++) {\n var x1 = points[i][0];\n var y1 = points[i][1];\n var a = x0 * y1 - x1 * y0;\n signedArea += a;\n cx += (x0 + x1) * a;\n cy += (y0 + y1) * a;\n x0 = x1;\n y0 = y1;\n }\n\n return signedArea ? [cx / signedArea / 3, cy / signedArea / 3, signedArea] : [points[0][0] || 0, points[0][1] || 0];\n}\n\nvar Region =\n/** @class */\nfunction () {\n function Region(name) {\n this.name = name;\n }\n\n Region.prototype.setCenter = function (center) {\n this._center = center;\n };\n /**\n * Get center point in data unit. That is,\n * for GeoJSONRegion, the unit is lat/lng,\n * for GeoSVGRegion, the unit is SVG local coord.\n */\n\n\n Region.prototype.getCenter = function () {\n var center = this._center;\n\n if (!center) {\n // In most cases there are no need to calculate this center.\n // So calculate only when called.\n center = this._center = this.calcCenter();\n }\n\n return center;\n };\n\n return Region;\n}();\n\nexport { Region };\n\nvar GeoJSONPolygonGeometry =\n/** @class */\nfunction () {\n function GeoJSONPolygonGeometry(exterior, interiors) {\n this.type = 'polygon';\n this.exterior = exterior;\n this.interiors = interiors;\n }\n\n return GeoJSONPolygonGeometry;\n}();\n\nexport { GeoJSONPolygonGeometry };\n\nvar GeoJSONLineStringGeometry =\n/** @class */\nfunction () {\n function GeoJSONLineStringGeometry(points) {\n this.type = 'linestring';\n this.points = points;\n }\n\n return GeoJSONLineStringGeometry;\n}();\n\nexport { GeoJSONLineStringGeometry };\n\nvar GeoJSONRegion =\n/** @class */\nfunction (_super) {\n __extends(GeoJSONRegion, _super);\n\n function GeoJSONRegion(name, geometries, cp) {\n var _this = _super.call(this, name) || this;\n\n _this.type = 'geoJSON';\n _this.geometries = geometries;\n _this._center = cp && [cp[0], cp[1]];\n return _this;\n }\n\n GeoJSONRegion.prototype.calcCenter = function () {\n var geometries = this.geometries;\n var largestGeo;\n var largestGeoSize = 0;\n\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n var exterior = geo.exterior; // Simple trick to use points count instead of polygon area as region size.\n // Ignore linestring\n\n var size = exterior && exterior.length;\n\n if (size > largestGeoSize) {\n largestGeo = geo;\n largestGeoSize = size;\n }\n }\n\n if (largestGeo) {\n return centroid(largestGeo.exterior);\n } // from bounding rect by default.\n\n\n var rect = this.getBoundingRect();\n return [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n\n GeoJSONRegion.prototype.getBoundingRect = function (projection) {\n var rect = this._rect; // Always recalculate if using projection.\n\n if (rect && !projection) {\n return rect;\n }\n\n var min = [Infinity, Infinity];\n var max = [-Infinity, -Infinity];\n var geometries = this.geometries;\n each(geometries, function (geo) {\n if (geo.type === 'polygon') {\n // Doesn't consider hole\n updateBBoxFromPoints(geo.exterior, min, max, projection);\n } else {\n each(geo.points, function (points) {\n updateBBoxFromPoints(points, min, max, projection);\n });\n }\n }); // Normalie invalid bounding.\n\n if (!(isFinite(min[0]) && isFinite(min[1]) && isFinite(max[0]) && isFinite(max[1]))) {\n min[0] = min[1] = max[0] = max[1] = 0;\n }\n\n rect = new BoundingRect(min[0], min[1], max[0] - min[0], max[1] - min[1]);\n\n if (!projection) {\n this._rect = rect;\n }\n\n return rect;\n };\n\n GeoJSONRegion.prototype.contain = function (coord) {\n var rect = this.getBoundingRect();\n var geometries = this.geometries;\n\n if (!rect.contain(coord[0], coord[1])) {\n return false;\n }\n\n loopGeo: for (var i = 0, len = geometries.length; i < len; i++) {\n var geo = geometries[i]; // Only support polygon.\n\n if (geo.type !== 'polygon') {\n continue;\n }\n\n var exterior = geo.exterior;\n var interiors = geo.interiors;\n\n if (polygonContain.contain(exterior, coord[0], coord[1])) {\n // Not in the region if point is in the hole.\n for (var k = 0; k < (interiors ? interiors.length : 0); k++) {\n if (polygonContain.contain(interiors[k], coord[0], coord[1])) {\n continue loopGeo;\n }\n }\n\n return true;\n }\n }\n\n return false;\n };\n /**\n * Transform the raw coords to target bounding.\n * @param x\n * @param y\n * @param width\n * @param height\n */\n\n\n GeoJSONRegion.prototype.transformTo = function (x, y, width, height) {\n var rect = this.getBoundingRect();\n var aspect = rect.width / rect.height;\n\n if (!width) {\n width = aspect * height;\n } else if (!height) {\n height = width / aspect;\n }\n\n var target = new BoundingRect(x, y, width, height);\n var transform = rect.calculateTransform(target);\n var geometries = this.geometries;\n\n for (var i = 0; i < geometries.length; i++) {\n var geo = geometries[i];\n\n if (geo.type === 'polygon') {\n transformPoints(geo.exterior, transform);\n each(geo.interiors, function (interior) {\n transformPoints(interior, transform);\n });\n } else {\n each(geo.points, function (points) {\n transformPoints(points, transform);\n });\n }\n }\n\n rect = this._rect;\n rect.copy(target); // Update center\n\n this._center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n };\n\n GeoJSONRegion.prototype.cloneShallow = function (name) {\n name == null && (name = this.name);\n var newRegion = new GeoJSONRegion(name, this.geometries, this._center);\n newRegion._rect = this._rect;\n newRegion.transformTo = null; // Simply avoid to be called.\n\n return newRegion;\n };\n\n return GeoJSONRegion;\n}(Region);\n\nexport { GeoJSONRegion };\n\nvar GeoSVGRegion =\n/** @class */\nfunction (_super) {\n __extends(GeoSVGRegion, _super);\n\n function GeoSVGRegion(name, elOnlyForCalculate) {\n var _this = _super.call(this, name) || this;\n\n _this.type = 'geoSVG';\n _this._elOnlyForCalculate = elOnlyForCalculate;\n return _this;\n }\n\n GeoSVGRegion.prototype.calcCenter = function () {\n var el = this._elOnlyForCalculate;\n var rect = el.getBoundingRect();\n var center = [rect.x + rect.width / 2, rect.y + rect.height / 2];\n var mat = matrix.identity(TMP_TRANSFORM);\n var target = el;\n\n while (target && !target.isGeoSVGGraphicRoot) {\n matrix.mul(mat, target.getLocalTransform(), mat);\n target = target.parent;\n }\n\n matrix.invert(mat, mat);\n vec2.applyTransform(center, center, mat);\n return center;\n };\n\n return GeoSVGRegion;\n}(Region);\n\nexport { GeoSVGRegion };"],"names":["vec2.applyTransform","vec2.min","vec2.max","Region","GeoJSONPolygonGeometry","GeoJSONLineStringGeometry","__extends","GeoJSONRegion","each","BoundingRect","polygonContain.contain","GeoSVGRegion","matrix.identity","matrix.mul","matrix.invert"],"mappings":";;;;;;;;AAiDA,IAAI,gBAAgB,CAAA;AAEpB,SAAS,gBAAgB,QAAQ,WAAW;AAC1C,WAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtCA,WAAmB,eAAC,OAAO,IAAI,OAAO,IAAI,SAAS;AAAA,EACpD;AACH;AAEA,SAAS,qBAAqB,QAAQ,KAAK,KAAK,YAAY;AAC1D,WAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtC,QAAI,IAAI,OAAO;AAEf,QAAI,YAAY;AAEd,UAAI,WAAW,QAAQ,CAAC;AAAA,IACzB;AAED,QAAI,KAAK,SAAS,EAAE,EAAE,KAAK,SAAS,EAAE,EAAE,GAAG;AACzCC,aAAAA,IAAS,KAAK,KAAK,CAAC;AACpBC,aAAAA,IAAS,KAAK,KAAK,CAAC;AAAA,IACrB;AAAA,EACF;AACH;AAEA,SAAS,SAAS,QAAQ;AACxB,MAAI,aAAa;AACjB,MAAI,KAAK;AACT,MAAI,KAAK;AACT,MAAI,MAAM,OAAO;AACjB,MAAI,KAAK,OAAO,MAAM,GAAG;AACzB,MAAI,KAAK,OAAO,MAAM,GAAG;AAEzB,WAAS,IAAI,GAAG,IAAI,KAAK,KAAK;AAC5B,QAAI,KAAK,OAAO,GAAG;AACnB,QAAI,KAAK,OAAO,GAAG;AACnB,QAAI,IAAI,KAAK,KAAK,KAAK;AACvB,kBAAc;AACd,WAAO,KAAK,MAAM;AAClB,WAAO,KAAK,MAAM;AAClB,SAAK;AACL,SAAK;AAAA,EACN;AAED,SAAO,aAAa,CAAC,KAAK,aAAa,GAAG,KAAK,aAAa,GAAG,UAAU,IAAI,CAAC,OAAO,GAAG,MAAM,GAAG,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AC;AAAA,EACrE;AAEE,EAAAD,eAAc,UAAU,eAAe,SAAU,MAAM;AACrD,YAAQ,SAAS,OAAO,KAAK;AAC7B,QAAI,YAAY,IAAIA,eAAc,MAAM,KAAK,YAAY,KAAK,OAAO;AACrE,cAAU,QAAQ,KAAK;AACvB,cAAU,cAAc;AAExB,WAAO;AAAA,EACX;AAEE,SAAOA;AACT,EAAE,MAAM;AAIL,IAAC,eAEJ,SAAU,QAAQ;AAChBD,sBAAUK,eAAc,MAAM;AAE9B,WAASA,cAAa,MAAM,oBAAoB;AAC9C,QAAI,QAAQ,OAAO,KAAK,MAAM,IAAI,KAAK;AAEvC,UAAM,OAAO;AACb,UAAM,sBAAsB;AAC5B,WAAO;AAAA,EACR;AAED,EAAAA,cAAa,UAAU,aAAa,WAAY;AAC9C,QAAI,KAAK,KAAK;AACd,QAAI,OAAO,GAAG;AACd,QAAI,SAAS,CAAC,KAAK,IAAI,KAAK,QAAQ,GAAG,KAAK,IAAI,KAAK,SAAS,CAAC;AAC/D,QAAI,MAAMC,gBAAgB,aAAa;AACvC,QAAI,SAAS;AAEb,WAAO,UAAU,CAAC,OAAO,qBAAqB;AAC5CC,aAAAA,IAAW,KAAK,OAAO,kBAAmB,GAAE,GAAG;AAC/C,eAAS,OAAO;AAAA,IACjB;AAEDC,kBAAc,KAAK,GAAG;AACtBd,WAAAA,eAAoB,QAAQ,QAAQ,GAAG;AACvC,WAAO;AAAA,EACX;AAEE,SAAOW;AACT,EAAE,MAAM;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diaoyuIsland.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.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*/\n// Fix for 钓鱼岛\n// let Region = require('../Region');\n// let zrUtil = require('zrender/lib/core/util');\n// let geoCoord = [126, 25];\nvar points = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];\nexport default function fixDiaoyuIsland(mapType, region) {\n if (mapType === 'china' && region.name === '台湾') {\n region.geometries.push({\n type: 'polygon',\n exterior: points[0]\n });\n }\n}"],"names":[],"mappings":";;AA+CA,IAAI,SAAS,CAAC,CAAC,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,iBAAiB,CAAC,CAAC;AAC9M,
|
|
1
|
+
{"version":3,"file":"diaoyuIsland.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/diaoyuIsland.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*/\n// Fix for 钓鱼岛\n// let Region = require('../Region');\n// let zrUtil = require('zrender/lib/core/util');\n// let geoCoord = [126, 25];\nvar points = [[[123.45165252685547, 25.73527164402261], [123.49731445312499, 25.73527164402261], [123.49731445312499, 25.750734064600884], [123.45165252685547, 25.750734064600884], [123.45165252685547, 25.73527164402261]]];\nexport default function fixDiaoyuIsland(mapType, region) {\n if (mapType === 'china' && region.name === '台湾') {\n region.geometries.push({\n type: 'polygon',\n exterior: points[0]\n });\n }\n}"],"names":[],"mappings":";;AA+CA,IAAI,SAAS,CAAC,CAAC,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,iBAAiB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,kBAAkB,GAAG,CAAC,oBAAoB,iBAAiB,CAAC,CAAC;AAC9M,SAAS,gBAAgB,SAAS,QAAQ;AACvD,MAAI,YAAY,WAAW,OAAO,SAAS,gBAAM;AAC/C,WAAO,WAAW,KAAK;AAAA,MACrB,MAAM;AAAA,MACN,UAAU,OAAO;AAAA,IACvB,CAAK;AAAA,EACF;AACH;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
const util = require("../../../../../zrender/lib/core/util.js");
|
|
4
|
+
const Region = require("../Region.js");
|
|
5
5
|
var geoCoord = [126, 25];
|
|
6
6
|
var nanhaiName = "\u5357\u6D77\u8BF8\u5C9B";
|
|
7
7
|
var points = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];
|
|
@@ -15,8 +15,8 @@ for (var i = 0; i < points.length; i++) {
|
|
|
15
15
|
}
|
|
16
16
|
function fixNanhai(mapType, regions) {
|
|
17
17
|
if (mapType === "china") {
|
|
18
|
-
for (var
|
|
19
|
-
if (regions[
|
|
18
|
+
for (var i = 0; i < regions.length; i++) {
|
|
19
|
+
if (regions[i].name === nanhaiName) {
|
|
20
20
|
return;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -28,5 +28,5 @@ function fixNanhai(mapType, regions) {
|
|
|
28
28
|
}), geoCoord));
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
exports
|
|
31
|
+
exports.default = fixNanhai;
|
|
32
32
|
//# sourceMappingURL=nanhai.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nanhai.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/nanhai.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*/\n// Fix for 南海诸岛\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONRegion } from '../Region.js';\nvar geoCoord = [126, 25];\nvar nanhaiName = '南海诸岛';\nvar points = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];\n\nfor (var i = 0; i < points.length; i++) {\n for (var k = 0; k < points[i].length; k++) {\n points[i][k][0] /= 10.5;\n points[i][k][1] /= -10.5 / 0.75;\n points[i][k][0] += geoCoord[0];\n points[i][k][1] += geoCoord[1];\n }\n}\n\nexport default function fixNanhai(mapType, regions) {\n if (mapType === 'china') {\n for (var i = 0; i < regions.length; i++) {\n // Already exists.\n if (regions[i].name === nanhaiName) {\n return;\n }\n }\n\n regions.push(new GeoJSONRegion(nanhaiName, zrUtil.map(points, function (exterior) {\n return {\n type: 'polygon',\n exterior: exterior\n };\n }), ge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C,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;AAEj0B,SAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtC,WAAS,IAAI,GAAG,IAAI,OAAO,GAAG,QAAQ,KAAK;AACzC,WAAO,GAAG,GAAG,MAAM;AACnB,WAAO,GAAG,GAAG,MAAM,QAAQ;AAC3B,WAAO,GAAG,GAAG,MAAM,SAAS;AAC5B,WAAO,GAAG,GAAG,MAAM,SAAS;AAAA,EAC7B;AACH;AAEe,
|
|
1
|
+
{"version":3,"file":"nanhai.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/nanhai.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*/\n// Fix for 南海诸岛\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONRegion } from '../Region.js';\nvar geoCoord = [126, 25];\nvar nanhaiName = '南海诸岛';\nvar points = [[[0, 3.5], [7, 11.2], [15, 11.9], [30, 7], [42, 0.7], [52, 0.7], [56, 7.7], [59, 0.7], [64, 0.7], [64, 0], [5, 0], [0, 3.5]], [[13, 16.1], [19, 14.7], [16, 21.7], [11, 23.1], [13, 16.1]], [[12, 32.2], [14, 38.5], [15, 38.5], [13, 32.2], [12, 32.2]], [[16, 47.6], [12, 53.2], [13, 53.2], [18, 47.6], [16, 47.6]], [[6, 64.4], [8, 70], [9, 70], [8, 64.4], [6, 64.4]], [[23, 82.6], [29, 79.8], [30, 79.8], [25, 82.6], [23, 82.6]], [[37, 70.7], [43, 62.3], [44, 62.3], [39, 70.7], [37, 70.7]], [[48, 51.1], [51, 45.5], [53, 45.5], [50, 51.1], [48, 51.1]], [[51, 35], [51, 28.7], [53, 28.7], [53, 35], [51, 35]], [[52, 22.4], [55, 17.5], [56, 17.5], [53, 22.4], [52, 22.4]], [[58, 12.6], [62, 7], [63, 7], [60, 12.6], [58, 12.6]], [[0, 3.5], [0, 93.1], [64, 93.1], [64, 0], [63, 0], [63, 92.4], [1, 92.4], [1, 3.5], [0, 3.5]]];\n\nfor (var i = 0; i < points.length; i++) {\n for (var k = 0; k < points[i].length; k++) {\n points[i][k][0] /= 10.5;\n points[i][k][1] /= -10.5 / 0.75;\n points[i][k][0] += geoCoord[0];\n points[i][k][1] += geoCoord[1];\n }\n}\n\nexport default function fixNanhai(mapType, regions) {\n if (mapType === 'china') {\n for (var i = 0; i < regions.length; i++) {\n // Already exists.\n if (regions[i].name === nanhaiName) {\n return;\n }\n }\n\n regions.push(new GeoJSONRegion(nanhaiName, zrUtil.map(points, function (exterior) {\n return {\n type: 'polygon',\n exterior: exterior\n };\n }), geoCoord));\n }\n}"],"names":["GeoJSONRegion","zrUtil.map"],"mappings":";;;;AA8CA,IAAI,WAAW,CAAC,KAAK,EAAE;AACvB,IAAI,aAAa;AACjB,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,I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IAAI,CAAC,GAAG,CAAC,IAAI,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,GAAG,GAAG,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC;AAEj0B,SAAS,IAAI,GAAG,IAAI,OAAO,QAAQ,KAAK;AACtC,WAAS,IAAI,GAAG,IAAI,OAAO,GAAG,QAAQ,KAAK;AACzC,WAAO,GAAG,GAAG,MAAM;AACnB,WAAO,GAAG,GAAG,MAAM,QAAQ;AAC3B,WAAO,GAAG,GAAG,MAAM,SAAS;AAC5B,WAAO,GAAG,GAAG,MAAM,SAAS;AAAA,EAC7B;AACH;AAEe,SAAS,UAAU,SAAS,SAAS;AAClD,MAAI,YAAY,SAAS;AACvB,aAAS,IAAI,GAAG,IAAI,QAAQ,QAAQ,KAAK;AAEvC,UAAI,QAAQ,GAAG,SAAS,YAAY;AAClC;AAAA,MACD;AAAA,IACF;AAED,YAAQ,KAAK,IAAIA,OAAa,cAAC,YAAYC,SAAW,QAAQ,SAAU,UAAU;AAChF,aAAO;AAAA,QACL,MAAM;AAAA,QACN;AAAA,MACR;AAAA,IACA,CAAK,GAAG,QAAQ,CAAC;AAAA,EACd;AACH;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textCoord.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/textCoord.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*/\nvar coordsOffsetMap = {\n '南海诸岛': [32, 80],\n // 全国\n '广东': [0, -10],\n '香港': [10, 5],\n '澳门': [-10, 10],\n //'北京': [-10, 0],\n '天津': [5, 5]\n};\nexport default function fixTextCoords(mapType, region) {\n if (mapType === 'china') {\n var coordFix = coordsOffsetMap[region.name];\n\n if (coordFix) {\n var cp = region.getCenter();\n cp[0] += coordFix[0] / 10.5;\n cp[1] += -coordFix[1] / (10.5 / 0.75);\n region.setCenter(cp);\n }\n }\n}"],"names":[],"mappings":";;AA2CA,IAAI,kBAAkB;AAAA,EACpB,4BAAQ,CAAC,IAAI,EAAE;AAAA,EAEf,gBAAM,CAAC,GAAG,GAAG;AAAA,EACb,gBAAM,CAAC,IAAI,CAAC;AAAA,EACZ,gBAAM,CAAC,KAAK,EAAE;AAAA,EAEd,gBAAM,CAAC,GAAG,CAAC;AACb;AACe,
|
|
1
|
+
{"version":3,"file":"textCoord.js","sources":["../../../../../../../node_modules/echarts/lib/coord/geo/fix/textCoord.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*/\nvar coordsOffsetMap = {\n '南海诸岛': [32, 80],\n // 全国\n '广东': [0, -10],\n '香港': [10, 5],\n '澳门': [-10, 10],\n //'北京': [-10, 0],\n '天津': [5, 5]\n};\nexport default function fixTextCoords(mapType, region) {\n if (mapType === 'china') {\n var coordFix = coordsOffsetMap[region.name];\n\n if (coordFix) {\n var cp = region.getCenter();\n cp[0] += coordFix[0] / 10.5;\n cp[1] += -coordFix[1] / (10.5 / 0.75);\n region.setCenter(cp);\n }\n }\n}"],"names":[],"mappings":";;AA2CA,IAAI,kBAAkB;AAAA,EACpB,4BAAQ,CAAC,IAAI,EAAE;AAAA,EAEf,gBAAM,CAAC,GAAG,GAAG;AAAA,EACb,gBAAM,CAAC,IAAI,CAAC;AAAA,EACZ,gBAAM,CAAC,KAAK,EAAE;AAAA,EAEd,gBAAM,CAAC,GAAG,CAAC;AACb;AACe,SAAS,cAAc,SAAS,QAAQ;AACrD,MAAI,YAAY,SAAS;AACvB,QAAI,WAAW,gBAAgB,OAAO;AAEtC,QAAI,UAAU;AACZ,UAAI,KAAK,OAAO;AAChB,SAAG,MAAM,SAAS,KAAK;AACvB,SAAG,MAAM,CAAC,SAAS,MAAM,OAAO;AAChC,aAAO,UAAU,EAAE;AAAA,IACpB;AAAA,EACF;AACH;;"}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const util = require("../../../../zrender/lib/core/util.js");
|
|
4
|
+
const Geo = require("./Geo.js");
|
|
5
|
+
const layout = require("../../util/layout.js");
|
|
6
|
+
const number = require("../../util/number.js");
|
|
7
|
+
const geoSourceManager = require("./geoSourceManager.js");
|
|
8
|
+
const vector = require("../../../../zrender/lib/core/vector.js");
|
|
9
9
|
function resizeGeo(geoModel, api) {
|
|
10
10
|
var boundingCoords = geoModel.get("boundingCoords");
|
|
11
11
|
if (boundingCoords != null) {
|
|
12
12
|
var leftTop_1 = boundingCoords[0];
|
|
13
13
|
var rightBottom_1 = boundingCoords[1];
|
|
14
|
-
if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1])))
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1]))) {
|
|
15
|
+
if (process.env.NODE_ENV !== "production") {
|
|
16
|
+
console.error("Invalid boundingCoords");
|
|
17
|
+
}
|
|
18
|
+
} else {
|
|
17
19
|
var projection_1 = this.projection;
|
|
18
20
|
if (projection_1) {
|
|
19
21
|
var xMin = leftTop_1[0];
|
|
@@ -54,6 +56,10 @@ function resizeGeo(geoModel, api) {
|
|
|
54
56
|
size = number.parsePercent(sizeOption, Math.min(viewWidth, viewHeight));
|
|
55
57
|
if (!isNaN(center[0]) && !isNaN(center[1]) && !isNaN(size)) {
|
|
56
58
|
useCenterAndSize = true;
|
|
59
|
+
} else {
|
|
60
|
+
if (process.env.NODE_ENV !== "production") {
|
|
61
|
+
console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead.");
|
|
62
|
+
}
|
|
57
63
|
}
|
|
58
64
|
}
|
|
59
65
|
var viewRect;
|
|
@@ -100,7 +106,7 @@ var GeoCreator = function() {
|
|
|
100
106
|
}
|
|
101
107
|
ecModel.eachComponent("geo", function(geoModel, idx) {
|
|
102
108
|
var mapName = geoModel.get("map");
|
|
103
|
-
var geo = new Geo
|
|
109
|
+
var geo = new Geo.default(mapName + idx, mapName, util.extend({
|
|
104
110
|
nameMap: geoModel.get("nameMap")
|
|
105
111
|
}, getCommonGeoProperties(geoModel)));
|
|
106
112
|
geo.zoomLimit = geoModel.get("scaleLimit");
|
|
@@ -129,7 +135,7 @@ var GeoCreator = function() {
|
|
|
129
135
|
var nameMapList = util.map(mapSeries, function(singleMapSeries) {
|
|
130
136
|
return singleMapSeries.get("nameMap");
|
|
131
137
|
});
|
|
132
|
-
var geo = new Geo
|
|
138
|
+
var geo = new Geo.default(mapType, mapType, util.extend({
|
|
133
139
|
nameMap: util.mergeAll(nameMapList)
|
|
134
140
|
}, getCommonGeoProperties(mapSeries[0])));
|
|
135
141
|
geo.zoomLimit = util.retrieve.apply(null, util.map(mapSeries, function(singleMapSeries) {
|
|
@@ -151,7 +157,7 @@ var GeoCreator = function() {
|
|
|
151
157
|
for (var i = 0; i < regionsArr.length; i++) {
|
|
152
158
|
dataNameMap.set(regionsArr[i].name, regionsArr[i]);
|
|
153
159
|
}
|
|
154
|
-
var source = geoSourceManager
|
|
160
|
+
var source = geoSourceManager.default.load(mapName, nameMap, nameProperty);
|
|
155
161
|
util.each(source.regions, function(region) {
|
|
156
162
|
var name = region.name;
|
|
157
163
|
!dataNameMap.get(name) && regionsArr.push({
|
|
@@ -163,6 +169,6 @@ var GeoCreator = function() {
|
|
|
163
169
|
return GeoCreator2;
|
|
164
170
|
}();
|
|
165
171
|
var geoCreator = new GeoCreator();
|
|
166
|
-
|
|
167
|
-
exports
|
|
172
|
+
const geoCreator$1 = geoCreator;
|
|
173
|
+
exports.default = geoCreator$1;
|
|
168
174
|
//# sourceMappingURL=geoCreator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoCreator.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoCreator.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 Geo, { geo2DDimensions } from './Geo.js';\nimport * as layout from '../../util/layout.js';\nimport * as numberUtil from '../../util/number.js';\nimport geoSourceManager from './geoSourceManager.js';\nimport * as vector from 'zrender/lib/core/vector.js';\n/**\n * Resize method bound to the geo\n */\n\nfunction resizeGeo(geoModel, api) {\n var boundingCoords = geoModel.get('boundingCoords');\n\n if (boundingCoords != null) {\n var leftTop_1 = boundingCoords[0];\n var rightBottom_1 = boundingCoords[1];\n\n if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1]))) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Invalid boundingCoords');\n }\n } else {\n // Sample around the lng/lat rect and use projection to calculate actual bounding rect.\n var projection_1 = this.projection;\n\n if (projection_1) {\n var xMin = leftTop_1[0];\n var yMin = leftTop_1[1];\n var xMax = rightBottom_1[0];\n var yMax = rightBottom_1[1];\n leftTop_1 = [Infinity, Infinity];\n rightBottom_1 = [-Infinity, -Infinity]; // TODO better way?\n\n var sampleLine = function (x0, y0, x1, y1) {\n var dx = x1 - x0;\n var dy = y1 - y0;\n\n for (var i = 0; i <= 100; i++) {\n var p = i / 100;\n var pt = projection_1.project([x0 + dx * p, y0 + dy * p]);\n vector.min(leftTop_1, leftTop_1, pt);\n vector.max(rightBottom_1, rightBottom_1, pt);\n }\n }; // Top\n\n\n sampleLine(xMin, yMin, xMax, yMin); // Right\n\n sampleLine(xMax, yMin, xMax, yMax); // Bottom\n\n sampleLine(xMax, yMax, xMin, yMax); // Left\n\n sampleLine(xMin, yMax, xMax, yMin);\n }\n\n this.setBoundingRect(leftTop_1[0], leftTop_1[1], rightBottom_1[0] - leftTop_1[0], rightBottom_1[1] - leftTop_1[1]);\n }\n }\n\n var rect = this.getBoundingRect();\n var centerOption = geoModel.get('layoutCenter');\n var sizeOption = geoModel.get('layoutSize');\n var viewWidth = api.getWidth();\n var viewHeight = api.getHeight();\n var aspect = rect.width / rect.height * this.aspectScale;\n var useCenterAndSize = false;\n var center;\n var size;\n\n if (centerOption && sizeOption) {\n center = [numberUtil.parsePercent(centerOption[0], viewWidth), numberUtil.parsePercent(centerOption[1], viewHeight)];\n size = numberUtil.parsePercent(sizeOption, Math.min(viewWidth, viewHeight));\n\n if (!isNaN(center[0]) && !isNaN(center[1]) && !isNaN(size)) {\n useCenterAndSize = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.warn('Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead.');\n }\n }\n }\n\n var viewRect;\n\n if (useCenterAndSize) {\n viewRect = {};\n\n if (aspect > 1) {\n // Width is same with size\n viewRect.width = size;\n viewRect.height = size / aspect;\n } else {\n viewRect.height = size;\n viewRect.width = size * aspect;\n }\n\n viewRect.y = center[1] - viewRect.height / 2;\n viewRect.x = center[0] - viewRect.width / 2;\n } else {\n // Use left/top/width/height\n var boxLayoutOption = geoModel.getBoxLayoutParams();\n boxLayoutOption.aspect = aspect;\n viewRect = layout.getLayoutRect(boxLayoutOption, {\n width: viewWidth,\n height: viewHeight\n });\n }\n\n this.setViewRect(viewRect.x, viewRect.y, viewRect.width, viewRect.height);\n this.setCenter(geoModel.get('center'), api);\n this.setZoom(geoModel.get('zoom'));\n} // Back compat for ECharts2, where the coord map is set on map series:\n// {type: 'map', geoCoord: {'cityA': [116.46,39.92], 'cityA': [119.12,24.61]}},\n\n\nfunction setGeoCoords(geo, model) {\n zrUtil.each(model.get('geoCoord'), function (geoCoord, name) {\n geo.addGeoCoord(name, geoCoord);\n });\n}\n\nvar GeoCreator =\n/** @class */\nfunction () {\n function GeoCreator() {\n // For deciding which dimensions to use when creating list data\n this.dimensions = geo2DDimensions;\n }\n\n GeoCreator.prototype.create = function (ecModel, api) {\n var geoList = [];\n\n function getCommonGeoProperties(model) {\n return {\n nameProperty: model.get('nameProperty'),\n aspectScale: model.get('aspectScale'),\n projection: model.get('projection')\n };\n } // FIXME Create each time may be slow\n\n\n ecModel.eachComponent('geo', function (geoModel, idx) {\n var mapName = geoModel.get('map');\n var geo = new Geo(mapName + idx, mapName, zrUtil.extend({\n nameMap: geoModel.get('nameMap')\n }, getCommonGeoProperties(geoModel)));\n geo.zoomLimit = geoModel.get('scaleLimit');\n geoList.push(geo); // setGeoCoords(geo, geoModel);\n\n geoModel.coordinateSystem = geo;\n geo.model = geoModel; // Inject resize method\n\n geo.resize = resizeGeo;\n geo.resize(geoModel, api);\n });\n ecModel.eachSeries(function (seriesModel) {\n var coordSys = seriesModel.get('coordinateSystem');\n\n if (coordSys === 'geo') {\n var geoIndex = seriesModel.get('geoIndex') || 0;\n seriesModel.coordinateSystem = geoList[geoIndex];\n }\n }); // If has map series\n\n var mapModelGroupBySeries = {};\n ecModel.eachSeriesByType('map', function (seriesModel) {\n if (!seriesModel.getHostGeoModel()) {\n var mapType = seriesModel.getMapType();\n mapModelGroupBySeries[mapType] = mapModelGroupBySeries[mapType] || [];\n mapModelGroupBySeries[mapType].push(seriesModel);\n }\n });\n zrUtil.each(mapModelGroupBySeries, function (mapSeries, mapType) {\n var nameMapList = zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('nameMap');\n });\n var geo = new Geo(mapType, mapType, zrUtil.extend({\n nameMap: zrUtil.mergeAll(nameMapList)\n }, getCommonGeoProperties(mapSeries[0])));\n geo.zoomLimit = zrUtil.retrieve.apply(null, zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('scaleLimit');\n }));\n geoList.push(geo); // Inject resize method\n\n geo.resize = resizeGeo;\n geo.resize(mapSeries[0], api);\n zrUtil.each(mapSeries, function (singleMapSeries) {\n singleMapSeries.coordinateSystem = geo;\n setGeoCoords(geo, singleMapSeries);\n });\n });\n return geoList;\n };\n /**\n * Fill given regions array\n */\n\n\n GeoCreator.prototype.getFilledRegions = function (originRegionArr, mapName, nameMap, nameProperty) {\n // Not use the original\n var regionsArr = (originRegionArr || []).slice();\n var dataNameMap = zrUtil.createHashMap();\n\n for (var i = 0; i < regionsArr.length; i++) {\n dataNameMap.set(regionsArr[i].name, regionsArr[i]);\n }\n\n var source = geoSourceManager.load(mapName, nameMap, nameProperty);\n zrUtil.each(source.regions, function (region) {\n var name = region.name;\n !dataNameMap.get(name) && regionsArr.push({\n name: name\n });\n });\n return regionsArr;\n };\n\n return GeoCreator;\n}();\n\nvar geoCreator = new GeoCreator();\nexport default geoCreator;"],"names":["vector.min","vector.max","numberUtil.parsePercent","layout.getLayoutRect","zrUtil.each","geo2DDimensions","Geo","zrUtil.extend","zrUtil.map","zrUtil.mergeAll","zrUtil.retrieve","zrUtil.createHashMap","geoSourceManager"],"mappings":";;;;;;;;AAqDA,mBAAmB,UAAU,KAAK;AAChC,MAAI,iBAAiB,SAAS,IAAI,gBAAgB;AAElD,MAAI,kBAAkB,MAAM;AAC1B,QAAI,YAAY,eAAe;AAC/B,QAAI,gBAAgB,eAAe;AAEnC,QAAI,CAAE,UAAS,UAAU,EAAE,KAAK,SAAS,UAAU,EAAE,KAAK,SAAS,cAAc,EAAE,KAAK,SAAS,cAAc,EAAE;AAAI;AAAA,SAI9G;AAEL,UAAI,eAAe,KAAK;AAExB,UAAI,cAAc;AAChB,YAAI,OAAO,UAAU;AACrB,YAAI,OAAO,UAAU;AACrB,YAAI,OAAO,cAAc;AACzB,YAAI,OAAO,cAAc;AACzB,oBAAY,CAAC,UAAU,QAAQ;AAC/B,wBAAgB,CAAC,WAAW,SAAS;AAErC,YAAI,aAAa,SAAU,IAAI,IAAI,IAAI,IAAI;AACzC,cAAI,KAAK,KAAK;AACd,cAAI,KAAK,KAAK;AAEd,mBAAS,IAAI,GAAG,KAAK,KAAK,KAAK;AAC7B,gBAAI,IAAI,IAAI;AACZ,gBAAI,KAAK,aAAa,QAAQ,CAAC,KAAK,KAAK,GAAG,KAAK,KAAK,CAAC,CAAC;AACxDA,mBAAAA,IAAW,WAAW,WAAW,EAAE;AACnCC,mBAAAA,IAAW,eAAe,eAAe,EAAE;AAAA,UAC5C;AAAA,QACX;AAGQ,mBAAW,MAAM,MAAM,MAAM,IAAI;AAEjC,mBAAW,MAAM,MAAM,MAAM,IAAI;AAEjC,mBAAW,MAAM,MAAM,MAAM,IAAI;AAEjC,mBAAW,MAAM,MAAM,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EACX;AAEE,SAAO;AACT;AAEA,IAAI,aAAa,IAAI;AACrB,IAAA,eAAe;;"}
|
|
1
|
+
{"version":3,"file":"geoCreator.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoCreator.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 Geo, { geo2DDimensions } from './Geo.js';\nimport * as layout from '../../util/layout.js';\nimport * as numberUtil from '../../util/number.js';\nimport geoSourceManager from './geoSourceManager.js';\nimport * as vector from 'zrender/lib/core/vector.js';\n/**\n * Resize method bound to the geo\n */\n\nfunction resizeGeo(geoModel, api) {\n var boundingCoords = geoModel.get('boundingCoords');\n\n if (boundingCoords != null) {\n var leftTop_1 = boundingCoords[0];\n var rightBottom_1 = boundingCoords[1];\n\n if (!(isFinite(leftTop_1[0]) && isFinite(leftTop_1[1]) && isFinite(rightBottom_1[0]) && isFinite(rightBottom_1[1]))) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Invalid boundingCoords');\n }\n } else {\n // Sample around the lng/lat rect and use projection to calculate actual bounding rect.\n var projection_1 = this.projection;\n\n if (projection_1) {\n var xMin = leftTop_1[0];\n var yMin = leftTop_1[1];\n var xMax = rightBottom_1[0];\n var yMax = rightBottom_1[1];\n leftTop_1 = [Infinity, Infinity];\n rightBottom_1 = [-Infinity, -Infinity]; // TODO better way?\n\n var sampleLine = function (x0, y0, x1, y1) {\n var dx = x1 - x0;\n var dy = y1 - y0;\n\n for (var i = 0; i <= 100; i++) {\n var p = i / 100;\n var pt = projection_1.project([x0 + dx * p, y0 + dy * p]);\n vector.min(leftTop_1, leftTop_1, pt);\n vector.max(rightBottom_1, rightBottom_1, pt);\n }\n }; // Top\n\n\n sampleLine(xMin, yMin, xMax, yMin); // Right\n\n sampleLine(xMax, yMin, xMax, yMax); // Bottom\n\n sampleLine(xMax, yMax, xMin, yMax); // Left\n\n sampleLine(xMin, yMax, xMax, yMin);\n }\n\n this.setBoundingRect(leftTop_1[0], leftTop_1[1], rightBottom_1[0] - leftTop_1[0], rightBottom_1[1] - leftTop_1[1]);\n }\n }\n\n var rect = this.getBoundingRect();\n var centerOption = geoModel.get('layoutCenter');\n var sizeOption = geoModel.get('layoutSize');\n var viewWidth = api.getWidth();\n var viewHeight = api.getHeight();\n var aspect = rect.width / rect.height * this.aspectScale;\n var useCenterAndSize = false;\n var center;\n var size;\n\n if (centerOption && sizeOption) {\n center = [numberUtil.parsePercent(centerOption[0], viewWidth), numberUtil.parsePercent(centerOption[1], viewHeight)];\n size = numberUtil.parsePercent(sizeOption, Math.min(viewWidth, viewHeight));\n\n if (!isNaN(center[0]) && !isNaN(center[1]) && !isNaN(size)) {\n useCenterAndSize = true;\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.warn('Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead.');\n }\n }\n }\n\n var viewRect;\n\n if (useCenterAndSize) {\n viewRect = {};\n\n if (aspect > 1) {\n // Width is same with size\n viewRect.width = size;\n viewRect.height = size / aspect;\n } else {\n viewRect.height = size;\n viewRect.width = size * aspect;\n }\n\n viewRect.y = center[1] - viewRect.height / 2;\n viewRect.x = center[0] - viewRect.width / 2;\n } else {\n // Use left/top/width/height\n var boxLayoutOption = geoModel.getBoxLayoutParams();\n boxLayoutOption.aspect = aspect;\n viewRect = layout.getLayoutRect(boxLayoutOption, {\n width: viewWidth,\n height: viewHeight\n });\n }\n\n this.setViewRect(viewRect.x, viewRect.y, viewRect.width, viewRect.height);\n this.setCenter(geoModel.get('center'), api);\n this.setZoom(geoModel.get('zoom'));\n} // Back compat for ECharts2, where the coord map is set on map series:\n// {type: 'map', geoCoord: {'cityA': [116.46,39.92], 'cityA': [119.12,24.61]}},\n\n\nfunction setGeoCoords(geo, model) {\n zrUtil.each(model.get('geoCoord'), function (geoCoord, name) {\n geo.addGeoCoord(name, geoCoord);\n });\n}\n\nvar GeoCreator =\n/** @class */\nfunction () {\n function GeoCreator() {\n // For deciding which dimensions to use when creating list data\n this.dimensions = geo2DDimensions;\n }\n\n GeoCreator.prototype.create = function (ecModel, api) {\n var geoList = [];\n\n function getCommonGeoProperties(model) {\n return {\n nameProperty: model.get('nameProperty'),\n aspectScale: model.get('aspectScale'),\n projection: model.get('projection')\n };\n } // FIXME Create each time may be slow\n\n\n ecModel.eachComponent('geo', function (geoModel, idx) {\n var mapName = geoModel.get('map');\n var geo = new Geo(mapName + idx, mapName, zrUtil.extend({\n nameMap: geoModel.get('nameMap')\n }, getCommonGeoProperties(geoModel)));\n geo.zoomLimit = geoModel.get('scaleLimit');\n geoList.push(geo); // setGeoCoords(geo, geoModel);\n\n geoModel.coordinateSystem = geo;\n geo.model = geoModel; // Inject resize method\n\n geo.resize = resizeGeo;\n geo.resize(geoModel, api);\n });\n ecModel.eachSeries(function (seriesModel) {\n var coordSys = seriesModel.get('coordinateSystem');\n\n if (coordSys === 'geo') {\n var geoIndex = seriesModel.get('geoIndex') || 0;\n seriesModel.coordinateSystem = geoList[geoIndex];\n }\n }); // If has map series\n\n var mapModelGroupBySeries = {};\n ecModel.eachSeriesByType('map', function (seriesModel) {\n if (!seriesModel.getHostGeoModel()) {\n var mapType = seriesModel.getMapType();\n mapModelGroupBySeries[mapType] = mapModelGroupBySeries[mapType] || [];\n mapModelGroupBySeries[mapType].push(seriesModel);\n }\n });\n zrUtil.each(mapModelGroupBySeries, function (mapSeries, mapType) {\n var nameMapList = zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('nameMap');\n });\n var geo = new Geo(mapType, mapType, zrUtil.extend({\n nameMap: zrUtil.mergeAll(nameMapList)\n }, getCommonGeoProperties(mapSeries[0])));\n geo.zoomLimit = zrUtil.retrieve.apply(null, zrUtil.map(mapSeries, function (singleMapSeries) {\n return singleMapSeries.get('scaleLimit');\n }));\n geoList.push(geo); // Inject resize method\n\n geo.resize = resizeGeo;\n geo.resize(mapSeries[0], api);\n zrUtil.each(mapSeries, function (singleMapSeries) {\n singleMapSeries.coordinateSystem = geo;\n setGeoCoords(geo, singleMapSeries);\n });\n });\n return geoList;\n };\n /**\n * Fill given regions array\n */\n\n\n GeoCreator.prototype.getFilledRegions = function (originRegionArr, mapName, nameMap, nameProperty) {\n // Not use the original\n var regionsArr = (originRegionArr || []).slice();\n var dataNameMap = zrUtil.createHashMap();\n\n for (var i = 0; i < regionsArr.length; i++) {\n dataNameMap.set(regionsArr[i].name, regionsArr[i]);\n }\n\n var source = geoSourceManager.load(mapName, nameMap, nameProperty);\n zrUtil.each(source.regions, function (region) {\n var name = region.name;\n !dataNameMap.get(name) && regionsArr.push({\n name: name\n });\n });\n return regionsArr;\n };\n\n return GeoCreator;\n}();\n\nvar geoCreator = new GeoCreator();\nexport default geoCreator;"],"names":["vector.min","vector.max","numberUtil.parsePercent","lay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KAAK,WAAW,KAAK;AAAA,QACxC;AAAA,MACR,CAAO;AAAA,IACP,CAAK;AACD,WAAO;AAAA,EACX;AAEE,SAAOC;AACT;AAEA,IAAI,aAAa,IAAI;AACrB,MAAA,eAAe;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
const util = require("../../../../zrender/lib/core/util.js");
|
|
4
|
+
const GeoSVGResource = require("./GeoSVGResource.js");
|
|
5
|
+
const GeoJSONResource = require("./GeoJSONResource.js");
|
|
6
6
|
var storage = util.createHashMap();
|
|
7
|
-
|
|
7
|
+
const geoSourceManager = {
|
|
8
8
|
registerMap: function(mapName, rawDef, rawSpecialAreas) {
|
|
9
9
|
if (rawDef.svg) {
|
|
10
10
|
var resource = new GeoSVGResource.GeoSVGResource(mapName, rawDef.svg);
|
|
@@ -30,10 +30,13 @@ var geoSourceManager = {
|
|
|
30
30
|
load: function(mapName, nameMap, nameProperty) {
|
|
31
31
|
var resource = storage.get(mapName);
|
|
32
32
|
if (!resource) {
|
|
33
|
+
if (process.env.NODE_ENV !== "production") {
|
|
34
|
+
console.error("Map " + mapName + " not exists. The GeoJSON of the map must be provided.");
|
|
35
|
+
}
|
|
33
36
|
return;
|
|
34
37
|
}
|
|
35
38
|
return resource.load(nameMap, nameProperty);
|
|
36
39
|
}
|
|
37
40
|
};
|
|
38
|
-
exports
|
|
41
|
+
exports.default = geoSourceManager;
|
|
39
42
|
//# sourceMappingURL=geoSourceManager.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"geoSourceManager.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoSourceManager.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 { createHashMap } from 'zrender/lib/core/util.js';\nimport { GeoSVGResource } from './GeoSVGResource.js';\nimport { GeoJSONResource } from './GeoJSONResource.js';\nvar storage = createHashMap();\nexport default {\n /**\n * Compatible with previous `echarts.registerMap`.\n *\n * @usage\n * ```js\n *\n * echarts.registerMap('USA', geoJson, specialAreas);\n *\n * echarts.registerMap('USA', {\n * geoJson: geoJson,\n * specialAreas: {...}\n * });\n * echarts.registerMap('USA', {\n * geoJSON: geoJson,\n * specialAreas: {...}\n * });\n *\n * echarts.registerMap('airport', {\n * svg: svg\n * }\n * ```\n *\n * Note:\n * Do not support that register multiple geoJSON or SVG\n * one map name. Because different geoJSON and SVG have\n * different unit. It's not easy to make sure how those\n * units are mapping/normalize.\n * If intending to use multiple geoJSON or SVG, we can\n * use multiple geo coordinate system.\n */\n registerMap: function (mapName, rawDef, rawSpecialAreas) {\n if (rawDef.svg) {\n var resource = new GeoSVGResource(mapName, rawDef.svg);\n storage.set(mapName, resource);\n } else {\n // Recommend:\n // echarts.registerMap('eu', { geoJSON: xxx, specialAreas: xxx });\n // Backward compatibility:\n // echarts.registerMap('eu', geoJSON, specialAreas);\n // echarts.registerMap('eu', { geoJson: xxx, specialAreas: xxx });\n var geoJSON = rawDef.geoJson || rawDef.geoJSON;\n\n if (geoJSON && !rawDef.features) {\n rawSpecialAreas = rawDef.specialAreas;\n } else {\n geoJSON = rawDef;\n }\n\n var resource = new GeoJSONResource(mapName, geoJSON, rawSpecialAreas);\n storage.set(mapName, resource);\n }\n },\n getGeoResource: function (mapName) {\n return storage.get(mapName);\n },\n\n /**\n * Only for exporting to users.\n * **MUST NOT** used internally.\n */\n getMapForUser: function (mapName) {\n var resource = storage.get(mapName); // Do not support return SVG until some real requirement come.\n\n return resource && resource.type === 'geoJSON' && resource.getMapForUser();\n },\n load: function (mapName, nameMap, nameProperty) {\n var resource = storage.get(mapName);\n\n if (!resource) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Map ' + mapName + ' not exists. The GeoJSON of the map must be provided.');\n }\n\n return;\n }\n\n return resource.load(nameMap, nameProperty);\n }\n};"],"names":["createHashMap","GeoSVGResource","GeoJSONResource"],"mappings":";;;;;AA8CA,IAAI,UAAUA,KAAa,cAAA;AAC3B,
|
|
1
|
+
{"version":3,"file":"geoSourceManager.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/geoSourceManager.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 { createHashMap } from 'zrender/lib/core/util.js';\nimport { GeoSVGResource } from './GeoSVGResource.js';\nimport { GeoJSONResource } from './GeoJSONResource.js';\nvar storage = createHashMap();\nexport default {\n /**\n * Compatible with previous `echarts.registerMap`.\n *\n * @usage\n * ```js\n *\n * echarts.registerMap('USA', geoJson, specialAreas);\n *\n * echarts.registerMap('USA', {\n * geoJson: geoJson,\n * specialAreas: {...}\n * });\n * echarts.registerMap('USA', {\n * geoJSON: geoJson,\n * specialAreas: {...}\n * });\n *\n * echarts.registerMap('airport', {\n * svg: svg\n * }\n * ```\n *\n * Note:\n * Do not support that register multiple geoJSON or SVG\n * one map name. Because different geoJSON and SVG have\n * different unit. It's not easy to make sure how those\n * units are mapping/normalize.\n * If intending to use multiple geoJSON or SVG, we can\n * use multiple geo coordinate system.\n */\n registerMap: function (mapName, rawDef, rawSpecialAreas) {\n if (rawDef.svg) {\n var resource = new GeoSVGResource(mapName, rawDef.svg);\n storage.set(mapName, resource);\n } else {\n // Recommend:\n // echarts.registerMap('eu', { geoJSON: xxx, specialAreas: xxx });\n // Backward compatibility:\n // echarts.registerMap('eu', geoJSON, specialAreas);\n // echarts.registerMap('eu', { geoJson: xxx, specialAreas: xxx });\n var geoJSON = rawDef.geoJson || rawDef.geoJSON;\n\n if (geoJSON && !rawDef.features) {\n rawSpecialAreas = rawDef.specialAreas;\n } else {\n geoJSON = rawDef;\n }\n\n var resource = new GeoJSONResource(mapName, geoJSON, rawSpecialAreas);\n storage.set(mapName, resource);\n }\n },\n getGeoResource: function (mapName) {\n return storage.get(mapName);\n },\n\n /**\n * Only for exporting to users.\n * **MUST NOT** used internally.\n */\n getMapForUser: function (mapName) {\n var resource = storage.get(mapName); // Do not support return SVG until some real requirement come.\n\n return resource && resource.type === 'geoJSON' && resource.getMapForUser();\n },\n load: function (mapName, nameMap, nameProperty) {\n var resource = storage.get(mapName);\n\n if (!resource) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Map ' + mapName + ' not exists. The GeoJSON of the map must be provided.');\n }\n\n return;\n }\n\n return resource.load(nameMap, nameProperty);\n }\n};"],"names":["createHashMap","GeoSVGResource","GeoJSONResource"],"mappings":";;;;;AA8CA,IAAI,UAAUA,KAAa,cAAA;AAC3B,MAAe,mBAAA;AAAA,EA+Bb,aAAa,SAAU,SAAS,QAAQ,iBAAiB;AACvD,QAAI,OAAO,KAAK;AACd,UAAI,WAAW,IAAIC,eAAc,eAAC,SAAS,OAAO,GAAG;AACrD,cAAQ,IAAI,SAAS,QAAQ;AAAA,IACnC,OAAW;AAML,UAAI,UAAU,OAAO,WAAW,OAAO;AAEvC,UAAI,WAAW,CAAC,OAAO,UAAU;AAC/B,0BAAkB,OAAO;AAAA,MACjC,OAAa;AACL,kBAAU;AAAA,MACX;AAED,UAAI,WAAW,IAAIC,gBAAe,gBAAC,SAAS,SAAS,eAAe;AACpE,cAAQ,IAAI,SAAS,QAAQ;AAAA,IAC9B;AAAA,EACF;AAAA,EACD,gBAAgB,SAAU,SAAS;AACjC,WAAO,QAAQ,IAAI,OAAO;AAAA,EAC3B;AAAA,EAMD,eAAe,SAAU,SAAS;AAChC,QAAI,WAAW,QAAQ,IAAI,OAAO;AAElC,WAAO,YAAY,SAAS,SAAS,aAAa,SAAS;EAC5D;AAAA,EACD,MAAM,SAAU,SAAS,SAAS,cAAc;AAC9C,QAAI,WAAW,QAAQ,IAAI,OAAO;AAElC,QAAI,CAAC,UAAU;AACb,UAAI,QAAQ,IAAI,aAAa,cAAc;AACzC,gBAAQ,MAAM,SAAS,UAAU,uDAAuD;AAAA,MACzF;AAED;AAAA,IACD;AAED,WAAO,SAAS,KAAK,SAAS,YAAY;AAAA,EAC3C;AACH;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
const util = require("../../../../zrender/lib/core/util.js");
|
|
4
|
+
const Region = require("./Region.js");
|
|
5
5
|
function decode(json) {
|
|
6
6
|
if (!json.UTF8Encoding) {
|
|
7
7
|
return json;
|
|
@@ -91,5 +91,5 @@ function parseGeoJSON(geoJson, nameProperty) {
|
|
|
91
91
|
return region;
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
exports
|
|
94
|
+
exports.default = parseGeoJSON;
|
|
95
95
|
//# sourceMappingURL=parseGeoJson.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseGeoJson.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/parseGeoJson.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 * Parse and decode geo json\n */\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONLineStringGeometry, GeoJSONPolygonGeometry, GeoJSONRegion } from './Region.js';\n\nfunction decode(json) {\n if (!json.UTF8Encoding) {\n return json;\n }\n\n var jsonCompressed = json;\n var encodeScale = jsonCompressed.UTF8Scale;\n\n if (encodeScale == null) {\n encodeScale = 1024;\n }\n\n var features = jsonCompressed.features;\n zrUtil.each(features, function (feature) {\n var geometry = feature.geometry;\n var encodeOffsets = geometry.encodeOffsets;\n var coordinates = geometry.coordinates; // Geometry may be appeded manually in the script after json loaded.\n // In this case this geometry is usually not encoded.\n\n if (!encodeOffsets) {\n return;\n }\n\n switch (geometry.type) {\n case 'LineString':\n geometry.coordinates = decodeRing(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'Polygon':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'MultiLineString':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'MultiPolygon':\n zrUtil.each(coordinates, function (rings, idx) {\n return decodeRings(rings, encodeOffsets[idx], encodeScale);\n });\n }\n }); // Has been decoded\n\n jsonCompressed.UTF8Encoding = false;\n return jsonCompressed;\n}\n\nfunction decodeRings(rings, encodeOffsets, encodeScale) {\n for (var c = 0; c < rings.length; c++) {\n rings[c] = decodeRing(rings[c], encodeOffsets[c], encodeScale);\n }\n}\n\nfunction decodeRing(coordinate, encodeOffsets, encodeScale) {\n var result = [];\n var prevX = encodeOffsets[0];\n var prevY = encodeOffsets[1];\n\n for (var i = 0; i < coordinate.length; i += 2) {\n var x = coordinate.charCodeAt(i) - 64;\n var y = coordinate.charCodeAt(i + 1) - 64; // ZigZag decoding\n\n x = x >> 1 ^ -(x & 1);\n y = y >> 1 ^ -(y & 1); // Delta deocding\n\n x += prevX;\n y += prevY;\n prevX = x;\n prevY = y; // Dequantize\n\n result.push([x / encodeScale, y / encodeScale]);\n }\n\n return result;\n}\n\nexport default function parseGeoJSON(geoJson, nameProperty) {\n geoJson = decode(geoJson);\n return zrUtil.map(zrUtil.filter(geoJson.features, function (featureObj) {\n // Output of mapshaper may have geometry null\n return featureObj.geometry && featureObj.properties && featureObj.geometry.coordinates.length > 0;\n }), function (featureObj) {\n var properties = featureObj.properties;\n var geo = featureObj.geometry;\n var geometries = [];\n\n switch (geo.type) {\n case 'Polygon':\n var coordinates = geo.coordinates; // According to the GeoJSON specification.\n // First must be exterior, and the rest are all interior(holes).\n\n geometries.push(new GeoJSONPolygonGeometry(coordinates[0], coordinates.slice(1)));\n break;\n\n case 'MultiPolygon':\n zrUtil.each(geo.coordinates, function (item) {\n if (item[0]) {\n geometries.push(new GeoJSONPolygonGeometry(item[0], item.slice(1)));\n }\n });\n break;\n\n case 'LineString':\n geometries.push(new GeoJSONLineStringGeometry([geo.coordinates]));\n break;\n\n case 'MultiLineString':\n geometries.push(new GeoJSONLineStringGeometry(geo.coordinates));\n }\n\n var region = new GeoJSONRegion(properties[nameProperty || 'name'], geometries, properties.cp);\n region.properties = properties;\n return region;\n });\n}"],"names":["zrUtil.each","zrUtil.map","zrUtil.filter","GeoJSONPolygonGeometry","GeoJSONLineStringGeometry","GeoJSONRegion"],"mappings":";;;;AAkDA,
|
|
1
|
+
{"version":3,"file":"parseGeoJson.js","sources":["../../../../../../node_modules/echarts/lib/coord/geo/parseGeoJson.js"],"sourcesContent":["\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTICE file\n* distributed with this work for additional information\n* regarding copyright ownership. The ASF licenses this file\n* to you under the Apache License, Version 2.0 (the\n* \"License\"); you may not use this file except in compliance\n* with the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing,\n* software distributed under the License is distributed on an\n* \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n* KIND, either express or implied. See the License for the\n* specific language governing permissions and limitations\n* under the License.\n*/\n\n\n/**\n * AUTO-GENERATED FILE. DO NOT MODIFY.\n */\n\n/*\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 * Parse and decode geo json\n */\nimport * as zrUtil from 'zrender/lib/core/util.js';\nimport { GeoJSONLineStringGeometry, GeoJSONPolygonGeometry, GeoJSONRegion } from './Region.js';\n\nfunction decode(json) {\n if (!json.UTF8Encoding) {\n return json;\n }\n\n var jsonCompressed = json;\n var encodeScale = jsonCompressed.UTF8Scale;\n\n if (encodeScale == null) {\n encodeScale = 1024;\n }\n\n var features = jsonCompressed.features;\n zrUtil.each(features, function (feature) {\n var geometry = feature.geometry;\n var encodeOffsets = geometry.encodeOffsets;\n var coordinates = geometry.coordinates; // Geometry may be appeded manually in the script after json loaded.\n // In this case this geometry is usually not encoded.\n\n if (!encodeOffsets) {\n return;\n }\n\n switch (geometry.type) {\n case 'LineString':\n geometry.coordinates = decodeRing(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'Polygon':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'MultiLineString':\n decodeRings(coordinates, encodeOffsets, encodeScale);\n break;\n\n case 'MultiPolygon':\n zrUtil.each(coordinates, function (rings, idx) {\n return decodeRings(rings, encodeOffsets[idx], encodeScale);\n });\n }\n }); // Has been decoded\n\n jsonCompressed.UTF8Encoding = false;\n return jsonCompressed;\n}\n\nfunction decodeRings(rings, encodeOffsets, encodeScale) {\n for (var c = 0; c < rings.length; c++) {\n rings[c] = decodeRing(rings[c], encodeOffsets[c], encodeScale);\n }\n}\n\nfunction decodeRing(coordinate, encodeOffsets, encodeScale) {\n var result = [];\n var prevX = encodeOffsets[0];\n var prevY = encodeOffsets[1];\n\n for (var i = 0; i < coordinate.length; i += 2) {\n var x = coordinate.charCodeAt(i) - 64;\n var y = coordinate.charCodeAt(i + 1) - 64; // ZigZag decoding\n\n x = x >> 1 ^ -(x & 1);\n y = y >> 1 ^ -(y & 1); // Delta deocding\n\n x += prevX;\n y += prevY;\n prevX = x;\n prevY = y; // Dequantize\n\n result.push([x / encodeScale, y / encodeScale]);\n }\n\n return result;\n}\n\nexport default function parseGeoJSON(geoJson, nameProperty) {\n geoJson = decode(geoJson);\n return zrUtil.map(zrUtil.filter(geoJson.features, function (featureObj) {\n // Output of mapshaper may have geometry null\n return featureObj.geometry && featureObj.properties && featureObj.geometry.coordinates.length > 0;\n }), function (featureObj) {\n var properties = featureObj.properties;\n var geo = featureObj.geometry;\n var geometries = [];\n\n switch (geo.type) {\n case 'Polygon':\n var coordinates = geo.coordinates; // According to the GeoJSON specification.\n // First must be exterior, and the rest are all interior(holes).\n\n geometries.push(new GeoJSONPolygonGeometry(coordinates[0], coordinates.slice(1)));\n break;\n\n case 'MultiPolygon':\n zrUtil.each(geo.coordinates, function (item) {\n if (item[0]) {\n geometries.push(new GeoJSONPolygonGeometry(item[0], item.slice(1)));\n }\n });\n break;\n\n case 'LineString':\n geometries.push(new GeoJSONLineStringGeometry([geo.coordinates]));\n break;\n\n case 'MultiLineString':\n geometries.push(new GeoJSONLineStringGeometry(geo.coordinates));\n }\n\n var region = new GeoJSONRegion(properties[nameProperty || 'name'], geometries, properties.cp);\n region.properties = properties;\n return region;\n });\n}"],"names":["zrUtil.each","zrUtil.map","zrUtil.filter","GeoJSONPolygonGeometry","GeoJSONLineStringGeometry","GeoJSONRegion"],"mappings":";;;;AAkDA,SAAS,OAAO,MAAM;AACpB,MAAI,CAAC,KAAK,cAAc;AACtB,WAAO;AAAA,EACR;AAED,MAAI,iBAAiB;AACrB,MAAI,cAAc,eAAe;AAEjC,MAAI,eAAe,MAAM;AACvB,kBAAc;AAAA,EACf;AAED,MAAI,WAAW,eAAe;AAC9BA,YAAY,UAAU,SAAU,SAAS;AACvC,QAAI,WAAW,QAAQ;AACvB,QAAI,gBAAgB,SAAS;AAC7B,QAAI,cAAc,SAAS;AAG3B,QAAI,CAAC,eAAe;AAClB;AAAA,IACD;AAED,YAAQ,SAAS;AAAA,WACV;AACH,iBAAS,cAAc,WAAW,aAAa,eAAe,WAAW;AACzE;AAAA,WAEG;AACH,oBAAY,aAAa,eAAe,WAAW;AACnD;AAAA,WAEG;AACH,oBAAY,aAAa,eAAe,WAAW;AACnD;AAAA,WAEG;AACHA,aAAAA,KAAY,aAAa,SAAU,OAAO,KAAK;AAC7C,iBAAO,YAAY,OAAO,cAAc,MAAM,WAAW;AAAA,QACnE,CAAS;AAAA;AAAA,EAET,CAAG;AAED,iBAAe,eAAe;AAC9B,SAAO;AACT;AAEA,SAAS,YAAY,OAAO,eAAe,aAAa;AACtD,WAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACrC,UAAM,KAAK,WAAW,MAAM,IAAI,cAAc,IAAI,WAAW;AAAA,EAC9D;AACH;AAEA,SAAS,WAAW,YAAY,eAAe,aAAa;AAC1D,MAAI,SAAS,CAA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AAC,WAAW,gBAAgB,SAAS,YAAY,WAAW,EAAE;AAC5F,WAAO,aAAa;AACpB,WAAO;AAAA,EACX,CAAG;AACH;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
const util = require("../../../zrender/lib/core/util.js");
|
|
4
|
+
const text = require("../../../zrender/lib/contain/text.js");
|
|
5
5
|
var ScaleRawExtentInfo = function() {
|
|
6
6
|
function ScaleRawExtentInfo2(scale, model, originalExtent) {
|
|
7
7
|
this._prepareParams(scale, model, originalExtent);
|
|
@@ -38,6 +38,9 @@ var ScaleRawExtentInfo = function() {
|
|
|
38
38
|
var boundaryGap = model.get("boundaryGap");
|
|
39
39
|
var boundaryGapArr = util.isArray(boundaryGap) ? boundaryGap : [boundaryGap || 0, boundaryGap || 0];
|
|
40
40
|
if (typeof boundaryGapArr[0] === "boolean" || typeof boundaryGapArr[1] === "boolean") {
|
|
41
|
+
if (process.env.NODE_ENV !== "production") {
|
|
42
|
+
console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.');
|
|
43
|
+
}
|
|
41
44
|
this._boundaryGapInner = [0, 0];
|
|
42
45
|
} else {
|
|
43
46
|
this._boundaryGapInner = [text.parsePercent(boundaryGapArr[0], 1), text.parsePercent(boundaryGapArr[1], 1)];
|
|
@@ -91,10 +94,16 @@ var ScaleRawExtentInfo = function() {
|
|
|
91
94
|
};
|
|
92
95
|
};
|
|
93
96
|
ScaleRawExtentInfo2.prototype.modifyDataMinMax = function(minMaxName, val) {
|
|
97
|
+
if (process.env.NODE_ENV !== "production") {
|
|
98
|
+
util.assert(!this.frozen);
|
|
99
|
+
}
|
|
94
100
|
this[DATA_MIN_MAX_ATTR[minMaxName]] = val;
|
|
95
101
|
};
|
|
96
102
|
ScaleRawExtentInfo2.prototype.setDeterminedMinMax = function(minMaxName, val) {
|
|
97
103
|
var attr = DETERMINED_MIN_MAX_ATTR[minMaxName];
|
|
104
|
+
if (process.env.NODE_ENV !== "production") {
|
|
105
|
+
util.assert(!this.frozen && this[attr] == null);
|
|
106
|
+
}
|
|
98
107
|
this[attr] = val;
|
|
99
108
|
};
|
|
100
109
|
ScaleRawExtentInfo2.prototype.freeze = function() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scaleRawExtentInfo.js","sources":["../../../../../node_modules/echarts/lib/coord/scaleRawExtentInfo.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 { assert, isArray, eqNaN, isFunction } from 'zrender/lib/core/util.js';\nimport { parsePercent } from 'zrender/lib/contain/text.js';\n\nvar ScaleRawExtentInfo =\n/** @class */\nfunction () {\n function ScaleRawExtentInfo(scale, model, // Usually: data extent from all series on this axis.\n originalExtent) {\n this._prepareParams(scale, model, originalExtent);\n }\n /**\n * Parameters depending on ouside (like model, user callback)\n * are prepared and fixed here.\n */\n\n\n ScaleRawExtentInfo.prototype._prepareParams = function (scale, model, // Usually: data extent from all series on this axis.\n dataExtent) {\n if (dataExtent[1] < dataExtent[0]) {\n dataExtent = [NaN, NaN];\n }\n\n this._dataMin = dataExtent[0];\n this._dataMax = dataExtent[1];\n var isOrdinal = this._isOrdinal = scale.type === 'ordinal';\n this._needCrossZero = scale.type === 'interval' && model.getNeedCrossZero && model.getNeedCrossZero();\n var modelMinRaw = this._modelMinRaw = model.get('min', true);\n\n if (isFunction(modelMinRaw)) {\n // This callback alway provide users the full data extent (before data filtered).\n this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw({\n min: dataExtent[0],\n max: dataExtent[1]\n }));\n } else if (modelMinRaw !== 'dataMin') {\n this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw);\n }\n\n var modelMaxRaw = this._modelMaxRaw = model.get('max', true);\n\n if (isFunction(modelMaxRaw)) {\n // This callback alway provide users the full data extent (before data filtered).\n this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw({\n min: dataExtent[0],\n max: dataExtent[1]\n }));\n } else if (modelMaxRaw !== 'dataMax') {\n this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw);\n }\n\n if (isOrdinal) {\n // FIXME: there is a flaw here: if there is no \"block\" data processor like `dataZoom`,\n // and progressive rendering is using, here the category result might just only contain\n // the processed chunk rather than the entire result.\n this._axisDataLen = model.getCategories().length;\n } else {\n var boundaryGap = model.get('boundaryGap');\n var boundaryGapArr = isArray(boundaryGap) ? boundaryGap : [boundaryGap || 0, boundaryGap || 0];\n\n if (typeof boundaryGapArr[0] === 'boolean' || typeof boundaryGapArr[1] === 'boolean') {\n if (process.env.NODE_ENV !== 'production') {\n console.warn('Boolean type for boundaryGap is only ' + 'allowed for ordinal axis. Please use string in ' + 'percentage instead, e.g., \"20%\". Currently, ' + 'boundaryGap is set to be 0.');\n }\n\n this._boundaryGapInner = [0, 0];\n } else {\n this._boundaryGapInner = [parsePercent(boundaryGapArr[0], 1), parsePercent(boundaryGapArr[1], 1)];\n }\n }\n };\n /**\n * Calculate extent by prepared parameters.\n * This method has no external dependency and can be called duplicatedly,\n * getting the same result.\n * If parameters changed, should call this method to recalcuate.\n */\n\n\n ScaleRawExtentInfo.prototype.calculate = function () {\n // Notice: When min/max is not set (that is, when there are null/undefined,\n // which is the most common case), these cases should be ensured:\n // (1) For 'ordinal', show all axis.data.\n // (2) For others:\n // + `boundaryGap` is applied (if min/max set, boundaryGap is\n // disabled).\n // + If `needCrossZero`, min/max should be zero, otherwise, min/max should\n // be the result that originalExtent enlarged by boundaryGap.\n // (3) If no data, it should be ensured that `scale.setBlank` is set.\n var isOrdinal = this._isOrdinal;\n var dataMin = this._dataMin;\n var dataMax = this._dataMax;\n var axisDataLen = this._axisDataLen;\n var boundaryGapInner = this._boundaryGapInner;\n var span = !isOrdinal ? dataMax - dataMin || Math.abs(dataMin) : null; // Currently if a `'value'` axis model min is specified as 'dataMin'/'dataMax',\n // `boundaryGap` will not be used. It's the different from specifying as `null`/`undefined`.\n\n var min = this._modelMinRaw === 'dataMin' ? dataMin : this._modelMinNum;\n var max = this._modelMaxRaw === 'dataMax' ? dataMax : this._modelMaxNum; // If `_modelMinNum`/`_modelMaxNum` is `null`/`undefined`, should not be fixed.\n\n var minFixed = min != null;\n var maxFixed = max != null;\n\n if (min == null) {\n min = isOrdinal ? axisDataLen ? 0 : NaN : dataMin - boundaryGapInner[0] * span;\n }\n\n if (max == null) {\n max = isOrdinal ? axisDataLen ? axisDataLen - 1 : NaN : dataMax + boundaryGapInner[1] * span;\n }\n\n (min == null || !isFinite(min)) && (min = NaN);\n (max == null || !isFinite(max)) && (max = NaN);\n var isBlank = eqNaN(min) || eqNaN(max) || isOrdinal && !axisDataLen; // If data extent modified, need to recalculated to ensure cross zero.\n\n if (this._needCrossZero) {\n // Axis is over zero and min is not set\n if (min > 0 && max > 0 && !minFixed) {\n min = 0; // minFixed = true;\n } // Axis is under zero and max is not set\n\n\n if (min < 0 && max < 0 && !maxFixed) {\n max = 0; // maxFixed = true;\n } // PENDING:\n // When `needCrossZero` and all data is positive/negative, should it be ensured\n // that the results processed by boundaryGap are positive/negative?\n // If so, here `minFixed`/`maxFixed` need to be set.\n\n }\n\n var determinedMin = this._determinedMin;\n var determinedMax = this._determinedMax;\n\n if (determinedMin != null) {\n min = determinedMin;\n minFixed = true;\n }\n\n if (determinedMax != null) {\n max = determinedMax;\n maxFixed = true;\n } // Ensure min/max be finite number or NaN here. (not to be null/undefined)\n // `NaN` means min/max axis is blank.\n\n\n return {\n min: min,\n max: max,\n minFixed: minFixed,\n maxFixed: maxFixed,\n isBlank: isBlank\n };\n };\n\n ScaleRawExtentInfo.prototype.modifyDataMinMax = function (minMaxName, val) {\n if (process.env.NODE_ENV !== 'production') {\n assert(!this.frozen);\n }\n\n this[DATA_MIN_MAX_ATTR[minMaxName]] = val;\n };\n\n ScaleRawExtentInfo.prototype.setDeterminedMinMax = function (minMaxName, val) {\n var attr = DETERMINED_MIN_MAX_ATTR[minMaxName];\n\n if (process.env.NODE_ENV !== 'production') {\n assert(!this.frozen // Earse them usually means logic flaw.\n && this[attr] == null);\n }\n\n this[attr] = val;\n };\n\n ScaleRawExtentInfo.prototype.freeze = function () {\n // @ts-ignore\n this.frozen = true;\n };\n\n return ScaleRawExtentInfo;\n}();\n\nexport { ScaleRawExtentInfo };\nvar DETERMINED_MIN_MAX_ATTR = {\n min: '_determinedMin',\n max: '_determinedMax'\n};\nvar DATA_MIN_MAX_ATTR = {\n min: '_dataMin',\n max: '_dataMax'\n};\n/**\n * Get scale min max and related info only depends on model settings.\n * This method can be called after coordinate system created.\n * For example, in data processing stage.\n *\n * Scale extent info probably be required multiple times during a workflow.\n * For example:\n * (1) `dataZoom` depends it to get the axis extent in \"100%\" state.\n * (2) `processor/extentCalculator` depends it to make sure whether axis extent is specified.\n * (3) `coordSys.update` use it to finally decide the scale extent.\n * But the callback of `min`/`max` should not be called multiple times.\n * The code below should not be implemented repeatedly either.\n * So we cache the result in the scale instance, which will be recreated at the begining\n * of the workflow (because `scale` instance will be recreated each round of the workflow).\n */\n\nexport function ensureScaleRawExtentInfo(scale, model, // Usually: data extent from all series on this axis.\noriginalExtent) {\n // Do not permit to recreate.\n var rawExtentInfo = scale.rawExtentInfo;\n\n if (rawExtentInfo) {\n return rawExtentInfo;\n }\n\n rawExtentInfo = new ScaleRawExtentInfo(scale, model, originalExtent); // @ts-ignore\n\n scale.rawExtentInfo = rawExtentInfo;\n return rawExtentInfo;\n}\nexport function parseAxisModelMinMax(scale, minMax) {\n return minMax == null ? null : eqNaN(minMax) ? NaN : scale.parse(minMax);\n}"],"names":["isFunction","isArray","parsePercent","eqNaN"],"mappings":";;;;AA8CG,IAAC,qBAEJ,WAAY;AACV,+BAA4B,OAAO,OACnC,gBAAgB;AACd,SAAK,eAAe,OAAO,OAAO,cAAc;AAAA,EACjD;AAOD,sBAAmB,UAAU,iBAAiB,SAAU,OAAO,OAC/D,YAAY;AACV,QAAI,WAAW,KAAK,WAAW,IAAI;AACjC,mBAAa,CAAC,KAAK,GAAG;AAAA,IACvB;AAED,SAAK,WAAW,WAAW;AAC3B,SAAK,WAAW,WAAW;AAC3B,QAAI,YAAY,KAAK,aAAa,MAAM,SAAS;AACjD,SAAK,iBAAiB,MAAM,SAAS,cAAc,MAAM,oBAAoB,MAAM;AACnF,QAAI,cAAc,KAAK,eAAe,MAAM,IAAI,OAAO,IAAI;AAE3D,QAAIA,KAAAA,WAAW,WAAW,GAAG;AAE3B,WAAK,eAAe,qBAAqB,OAAO,YAAY;AAAA,QAC1D,KAAK,WAAW;AAAA,QAChB,KAAK,WAAW;AAAA,MACjB,CAAA,CAAC;AAAA,IACR,WAAe,gBAAg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e;AACjB,WAAO;AAAA,EACR;AAED,kBAAgB,IAAI,mBAAmB,OAAO,OAAO,cAAc;AAEnE,QAAM,gBAAgB;AACtB,SAAO;AACT;AACO,8BAA8B,OAAO,QAAQ;AAClD,SAAO,UAAU,OAAO,OAAOA,WAAM,MAAM,IAAI,MAAM,MAAM,MAAM,MAAM;AACzE;;;;"}
|
|
1
|
+
{"version":3,"file":"scaleRawExtentInfo.js","sources":["../../../../../node_modules/echarts/lib/coord/scaleRawExtentInfo.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 { assert, isArray, eqNaN, isFunction } from 'zrender/lib/core/util.js';\nimport { parsePercent } from 'zrender/lib/contain/text.js';\n\nvar ScaleRawExtentInfo =\n/** @class */\nfunction () {\n function ScaleRawExtentInfo(scale, model, // Usually: data extent from all series on this axis.\n originalExtent) {\n this._prepareParams(scale, model, originalExtent);\n }\n /**\n * Parameters depending on ouside (like model, user callback)\n * are prepared and fixed here.\n */\n\n\n ScaleRawExtentInfo.prototype._prepareParams = function (scale, model, // Usually: data extent from all series on this axis.\n dataExtent) {\n if (dataExtent[1] < dataExtent[0]) {\n dataExtent = [NaN, NaN];\n }\n\n this._dataMin = dataExtent[0];\n this._dataMax = dataExtent[1];\n var isOrdinal = this._isOrdinal = scale.type === 'ordinal';\n this._needCrossZero = scale.type === 'interval' && model.getNeedCrossZero && model.getNeedCrossZero();\n var modelMinRaw = this._modelMinRaw = model.get('min', true);\n\n if (isFunction(modelMinRaw)) {\n // This callback alway provide users the full data extent (before data filtered).\n this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw({\n min: dataExtent[0],\n max: dataExtent[1]\n }));\n } else if (modelMinRaw !== 'dataMin') {\n this._modelMinNum = parseAxisModelMinMax(scale, modelMinRaw);\n }\n\n var modelMaxRaw = this._modelMaxRaw = model.get('max', true);\n\n if (isFunction(modelMaxRaw)) {\n // This callback alway provide users the full data extent (before data filtered).\n this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw({\n min: dataExtent[0],\n max: dataExtent[1]\n }));\n } else if (modelMaxRaw !== 'dataMax') {\n this._modelMaxNum = parseAxisModelMinMax(scale, modelMaxRaw);\n }\n\n if (isOrdinal) {\n // FIXME: there is a flaw here: if there is no \"block\" data processor like `dataZoom`,\n // and progressive rendering is using, here the category result might just only contain\n // the processed chunk rather than the entire result.\n this._axisDataLen = model.getCategories().length;\n } else {\n var boundaryGap = model.get('boundaryGap');\n var boundaryGapArr = isArray(boundaryGap) ? boundaryGap : [boundaryGap || 0, boundaryGap || 0];\n\n if (typeof boundaryGapArr[0] === 'boolean' || typeof boundaryGapArr[1] === 'boolean') {\n if (process.env.NODE_ENV !== 'production') {\n console.warn('Boolean type for boundaryGap is only ' + 'allowed for ordinal axis. Please use string in ' + 'percentage instead, e.g., \"20%\". Currently, ' + 'boundaryGap is set to be 0.');\n }\n\n this._boundaryGapInner = [0, 0];\n } else {\n this._boundaryGapInner = [parsePercent(boundaryGapArr[0], 1), parsePercent(boundaryGapArr[1], 1)];\n }\n }\n };\n /**\n * Calculate extent by prepared parameters.\n * This method has no external dependency and can be called duplicatedly,\n * getting the same result.\n * If parameters changed, should call this method to recalcuate.\n */\n\n\n ScaleRawExtentInfo.prototype.calculate = function () {\n // Notice: When min/max is not set (that is, when there are null/undefined,\n // which is the most common case), these cases should be ensured:\n // (1) For 'ordinal', show all axis.data.\n // (2) For others:\n // + `boundaryGap` is applied (if min/max set, boundaryGap is\n // disabled).\n // + If `needCrossZero`, min/max should be zero, otherwise, min/max should\n // be the result that originalExtent enlarged by boundaryGap.\n // (3) If no data, it should be ensured that `scale.setBlank` is set.\n var isOrdinal = this._isOrdinal;\n var dataMin = this._dataMin;\n var dataMax = this._dataMax;\n var axisDataLen = this._axisDataLen;\n var boundaryGapInner = this._boundaryGapInner;\n var span = !isOrdinal ? dataMax - dataMin || Math.abs(dataMin) : null; // Currently if a `'value'` axis model min is specified as 'dataMin'/'dataMax',\n // `boundaryGap` will not be used. It's the different from specifying as `null`/`undefined`.\n\n var min = this._modelMinRaw === 'dataMin' ? dataMin : this._modelMinNum;\n var max = this._modelMaxRaw === 'dataMax' ? dataMax : this._modelMaxNum; // If `_modelMinNum`/`_modelMaxNum` is `null`/`undefined`, should not be fixed.\n\n var minFixed = min != null;\n var maxFixed = max != null;\n\n if (min == null) {\n min = isOrdinal ? axisDataLen ? 0 : NaN : dataMin - boundaryGapInner[0] * span;\n }\n\n if (max == null) {\n max = isOrdinal ? axisDataLen ? axisDataLen - 1 : NaN : dataMax + boundaryGapInner[1] * span;\n }\n\n (min == null || !isFinite(min)) && (min = NaN);\n (max == null || !isFinite(max)) && (max = NaN);\n var isBlank = eqNaN(min) || eqNaN(max) || isOrdinal && !axisDataLen; // If data extent modified, need to recalculated to ensure cross zero.\n\n if (this._needCrossZero) {\n // Axis is over zero and min is not set\n if (min > 0 && max > 0 && !minFixed) {\n min = 0; // minFixed = true;\n } // Axis is under zero and max is not set\n\n\n if (min < 0 && max < 0 && !maxFixed) {\n max = 0; // maxFixed = true;\n } // PENDING:\n // When `needCrossZero` and all data is positive/negative, should it be ensured\n // that the results processed by boundaryGap are positive/negative?\n // If so, here `minFixed`/`maxFixed` need to be set.\n\n }\n\n var determinedMin = this._determinedMin;\n var determinedMax = this._determinedMax;\n\n if (determinedMin != null) {\n min = determinedMin;\n minFixed = true;\n }\n\n if (determinedMax != null) {\n max = determinedMax;\n maxFixed = true;\n } // Ensure min/max be finite number or NaN here. (not to be null/undefined)\n // `NaN` means min/max axis is blank.\n\n\n return {\n min: min,\n max: max,\n minFixed: minFixed,\n maxFixed: maxFixed,\n isBlank: isBlank\n };\n };\n\n ScaleRawExtentInfo.prototype.modifyDataMinMax = function (minMaxName, val) {\n if (process.env.NODE_ENV !== 'production') {\n assert(!this.frozen);\n }\n\n this[DATA_MIN_MAX_ATTR[minMaxName]] = val;\n };\n\n ScaleRawExtentInfo.prototype.setDeterminedMinMax = function (minMaxName, val) {\n var attr = DETERMINED_MIN_MAX_ATTR[minMaxName];\n\n if (process.env.NODE_ENV !== 'production') {\n assert(!this.frozen // Earse them usually means logic flaw.\n && this[attr] == null);\n }\n\n this[attr] = val;\n };\n\n ScaleRawExtentInfo.prototype.freeze = function () {\n // @ts-ignore\n this.frozen = true;\n };\n\n return ScaleRawExtentInfo;\n}();\n\nexport { ScaleRawExtentInfo };\nvar DETERMINED_MIN_MAX_ATTR = {\n min: '_determinedMin',\n max: '_determinedMax'\n};\nvar DATA_MIN_MAX_ATTR = {\n min: '_dataMin',\n max: '_dataMax'\n};\n/**\n * Get scale min max and related info only depends on model settings.\n * This method can be called after coordinate system created.\n * For example, in data processing stage.\n *\n * Scale extent info probably be required multiple times during a workflow.\n * For example:\n * (1) `dataZoom` depends it to get the axis extent in \"100%\" state.\n * (2) `processor/extentCalculator` depends it to make sure whether axis extent is specified.\n * (3) `coordSys.update` use it to finally decide the scale extent.\n * But the callback of `min`/`max` should not be called multiple times.\n * The code below should not be implemented repeatedly either.\n * So we cache the result in the scale instance, which will be recreated at the begining\n * of the workflow (because `scale` instance will be recreated each round of the workflow).\n */\n\nexport function ensureScaleRawExtentInfo(scale, model, // Usually: data extent from all series on this axis.\noriginalExtent) {\n // Do not permit to recreate.\n var rawExtentInfo = scale.rawExtentInfo;\n\n if (rawExtentInfo) {\n return rawExtentInfo;\n }\n\n rawExtentInfo = new ScaleRawExtentInfo(scale, model, originalExtent); // @ts-ignore\n\n scale.rawExtentInfo = rawExtentInfo;\n return rawExtentInfo;\n}\nexport function parseAxisModelMinMax(scale, minMax) {\n return minMax == null ? null : eqNaN(minMax) ? NaN : scale.parse(minMax);\n}"],"names":["ScaleRawExtentInfo","isFunction","isArray","parsePercent","eqNaN","assert"],"mappings":";;;;AA8CG,IAAC,qBAEJ,WAAY;AACV,WAASA,oBAAmB,OAAO,OACnC,gBAAgB;AACd,SAAK,eAAe,OAAO,OAAO,cAAc;AAAA,EACjD;AAOD,EAAAA,oBAAmB,UAAU,iBAAiB,SAAU,OAAO,OAC/D,YAAY;AACV,QAAI,WAAW,KAAK,WAAW,IAAI;AACjC,mBAAa,CAAC,KAAK,GAAG;AAAA,IACvB;AAED,SAAK,WAAW,WAAW;AAC3B,SAAK,WAAW,WAAW;AAC3B,QAAI,YAAY,KAAK,aAAa,MAAM,SAAS;AACjD,SAAK,iBAAiB,MAAM,SAAS,cAAc,MAAM,oBAAoB,MAAM;AACnF,QAAI,cAAc,KAAK,eAAe,MAAM,IAAI,OAAO,IAAI;AAE3D,QAAIC,KAAAA,WAAW,WAAW,GAAG;AAE3B,WAAK,eAAe,qBAAqB,OAAO,YAAY;AAAA,QAC1D,KAAK,WAAW;AAAA,QAChB,KAAK,WAAW;AAAA,MACjB,CAAA,CAAC;AAAA,IACR,WAAe,gBAAgB,WAAW;AACpC,WAAK,eAAe,qB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AAY;AAEhD,SAAK,SAAS;AAAA,EAClB;AAEE,SAAOA;AACT,EAAI;AAGJ,IAAI,0BAA0B;AAAA,EAC5B,KAAK;AAAA,EACL,KAAK;AACP;AACA,IAAI,oBAAoB;AAAA,EACtB,KAAK;AAAA,EACL,KAAK;AACP;AAiBO,SAAS,yBAAyB,OAAO,OAChD,gBAAgB;AAEd,MAAI,gBAAgB,MAAM;AAE1B,MAAI,eAAe;AACjB,WAAO;AAAA,EACR;AAED,kBAAgB,IAAI,mBAAmB,OAAO,OAAO,cAAc;AAEnE,QAAM,gBAAgB;AACtB,SAAO;AACT;AACO,SAAS,qBAAqB,OAAO,QAAQ;AAClD,SAAO,UAAU,OAAO,OAAOI,WAAM,MAAM,IAAI,MAAM,MAAM,MAAM,MAAM;AACzE;;;;"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
|
|
3
|
+
const util = require("../../../zrender/lib/core/util.js");
|
|
4
4
|
var coordinateSystemCreators = {};
|
|
5
5
|
var CoordinateSystemManager = function() {
|
|
6
6
|
function CoordinateSystemManager2() {
|
|
@@ -30,6 +30,6 @@ var CoordinateSystemManager = function() {
|
|
|
30
30
|
};
|
|
31
31
|
return CoordinateSystemManager2;
|
|
32
32
|
}();
|
|
33
|
-
|
|
34
|
-
exports
|
|
33
|
+
const CoordinateSystem = CoordinateSystemManager;
|
|
34
|
+
exports.default = CoordinateSystem;
|
|
35
35
|
//# sourceMappingURL=CoordinateSystem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CoordinateSystem.js","sources":["../../../../../node_modules/echarts/lib/core/CoordinateSystem.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';\nvar coordinateSystemCreators = {};\n\nvar CoordinateSystemManager =\n/** @class */\nfunction () {\n function CoordinateSystemManager() {\n this._coordinateSystems = [];\n }\n\n CoordinateSystemManager.prototype.create = function (ecModel, api) {\n var coordinateSystems = [];\n zrUtil.each(coordinateSystemCreators, function (creater, type) {\n var list = creater.create(ecModel, api);\n coordinateSystems = coordinateSystems.concat(list || []);\n });\n this._coordinateSystems = coordinateSystems;\n };\n\n CoordinateSystemManager.prototype.update = function (ecModel, api) {\n zrUtil.each(this._coordinateSystems, function (coordSys) {\n coordSys.update && coordSys.update(ecModel, api);\n });\n };\n\n CoordinateSystemManager.prototype.getCoordinateSystems = function () {\n return this._coordinateSystems.slice();\n };\n\n CoordinateSystemManager.register = function (type, creator) {\n coordinateSystemCreators[type] = creator;\n };\n\n CoordinateSystemManager.get = function (type) {\n return coordinateSystemCreators[type];\n };\n\n return CoordinateSystemManager;\n}();\n\nexport default CoordinateSystemManager;"],"names":["zrUtil.each"],"mappings":";;;AA4CA,IAAI,2BAA2B,CAAA;AAE/B,IAAI,0BAEJ,WAAY;AACV,
|
|
1
|
+
{"version":3,"file":"CoordinateSystem.js","sources":["../../../../../node_modules/echarts/lib/core/CoordinateSystem.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';\nvar coordinateSystemCreators = {};\n\nvar CoordinateSystemManager =\n/** @class */\nfunction () {\n function CoordinateSystemManager() {\n this._coordinateSystems = [];\n }\n\n CoordinateSystemManager.prototype.create = function (ecModel, api) {\n var coordinateSystems = [];\n zrUtil.each(coordinateSystemCreators, function (creater, type) {\n var list = creater.create(ecModel, api);\n coordinateSystems = coordinateSystems.concat(list || []);\n });\n this._coordinateSystems = coordinateSystems;\n };\n\n CoordinateSystemManager.prototype.update = function (ecModel, api) {\n zrUtil.each(this._coordinateSystems, function (coordSys) {\n coordSys.update && coordSys.update(ecModel, api);\n });\n };\n\n CoordinateSystemManager.prototype.getCoordinateSystems = function () {\n return this._coordinateSystems.slice();\n };\n\n CoordinateSystemManager.register = function (type, creator) {\n coordinateSystemCreators[type] = creator;\n };\n\n CoordinateSystemManager.get = function (type) {\n return coordinateSystemCreators[type];\n };\n\n return CoordinateSystemManager;\n}();\n\nexport default CoordinateSystemManager;"],"names":["CoordinateSystemManager","zrUtil.each"],"mappings":";;;AA4CA,IAAI,2BAA2B,CAAA;AAE/B,IAAI,0BAEJ,WAAY;AACV,WAASA,2BAA0B;AACjC,SAAK,qBAAqB;EAC3B;AAED,EAAAA,yBAAwB,UAAU,SAAS,SAAU,SAAS,KAAK;AACjE,QAAI,oBAAoB,CAAA;AACxBC,SAAAA,KAAY,0BAA0B,SAAU,SAAS,MAAM;AAC7D,UAAI,OAAO,QAAQ,OAAO,SAAS,GAAG;AACtC,0BAAoB,kBAAkB,OAAO,QAAQ,CAAE,CAAA;AAAA,IAC7D,CAAK;AACD,SAAK,qBAAqB;AAAA,EAC9B;AAEE,EAAAD,yBAAwB,UAAU,SAAS,SAAU,SAAS,KAAK;AACjEC,SAAAA,KAAY,KAAK,oBAAoB,SAAU,UAAU;AACvD,eAAS,UAAU,SAAS,OAAO,SAAS,GAAG;AAAA,IACrD,CAAK;AAAA,EACL;AAEE,EAAAD,yBAAwB,UAAU,uBAAuB,WAAY;AACnE,WAAO,KAAK,mBAAmB;EACnC;AAEE,EAAAA,yBAAwB,WAAW,SAAU,MAAM,SAAS;AAC1D,6BAAyB,QAAQ;AAAA,EACrC;AAEE,EAAAA,yBAAwB,MAAM,SAAU,MAAM;AAC5C,WAAO,yBAAyB;AAAA,EACpC;AAEE,SAAOA;AACT;AAEA,MAAA,mBAAe;;"}
|