@ecan-bi/datav 1.0.87 → 1.0.88
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 +209 -59
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +209 -59
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +69 -69
- package/es/container/border/Border.js +7 -7
- package/es/container/border/Border.js.map +1 -1
- package/es/container/border/index.js +1 -1
- package/es/container/border/index.js.map +1 -1
- package/es/container/border/props.js +1 -1
- package/es/container/border/props.js.map +1 -1
- package/es/container/modal/Modal.js +6 -6
- package/es/container/modal/Modal.js.map +1 -1
- package/es/container/modal/index.js +1 -1
- package/es/container/modal/index.js.map +1 -1
- package/es/container/modal/props.js +1 -1
- package/es/container/modal/props.js.map +1 -1
- package/es/container/tabs/Tabs.js +8 -8
- package/es/container/tabs/Tabs.js.map +1 -1
- package/es/container/tabs/index.js +1 -1
- package/es/container/tabs/index.js.map +1 -1
- package/es/container/tabs/props.js +1 -1
- package/es/container/tabs/props.js.map +1 -1
- package/es/control/button/Button.js +5 -5
- package/es/control/button/Button.js.map +1 -1
- package/es/control/button/index.js +1 -1
- package/es/control/button/index.js.map +1 -1
- package/es/control/button/props.js +1 -1
- package/es/control/button/props.js.map +1 -1
- package/es/control/checkbox/Checkbox.js +12 -7
- package/es/control/checkbox/Checkbox.js.map +1 -1
- package/es/control/checkbox/index.js +1 -1
- package/es/control/checkbox/index.js.map +1 -1
- package/es/control/checkbox/props.js +1 -1
- package/es/control/checkbox/props.js.map +1 -1
- package/es/control/date-picker/DatePicker.js +14 -10
- package/es/control/date-picker/DatePicker.js.map +1 -1
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_lang.js +5 -0
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/es/control/date-picker/index.js +1 -1
- package/es/control/date-picker/index.js.map +1 -1
- package/es/control/date-picker/props.js +1 -1
- package/es/control/date-picker/props.js.map +1 -1
- package/es/control/input/Input.js +4 -4
- package/es/control/input/Input.js.map +1 -1
- package/es/control/input/index.js +1 -1
- package/es/control/input/index.js.map +1 -1
- package/es/control/input/props.js +1 -1
- package/es/control/input/props.js.map +1 -1
- package/es/control/range-picker/RangePicker.js +6 -6
- package/es/control/range-picker/RangePicker.js.map +1 -1
- package/es/control/range-picker/index.js +1 -1
- package/es/control/range-picker/index.js.map +1 -1
- package/es/control/range-picker/props.js +1 -1
- package/es/control/range-picker/props.js.map +1 -1
- package/es/control/select/Select.js +7 -7
- package/es/control/select/Select.js.map +1 -1
- package/es/control/select/index.js +1 -1
- package/es/control/select/index.js.map +1 -1
- package/es/control/select/props.js +1 -1
- package/es/control/select/props.js.map +1 -1
- package/es/graph/bar/Bar.js +12 -12
- package/es/graph/bar/Bar.js.map +1 -1
- package/es/graph/bar/index.js +1 -1
- package/es/graph/bar/index.js.map +1 -1
- package/es/graph/bar/props.js +1 -1
- package/es/graph/bar/props.js.map +1 -1
- package/es/graph/combo-graph/ComboGraph.js +11 -11
- package/es/graph/combo-graph/ComboGraph.js.map +1 -1
- package/es/graph/combo-graph/index.js +1 -1
- package/es/graph/combo-graph/index.js.map +1 -1
- package/es/graph/combo-graph/props.js +1 -1
- package/es/graph/combo-graph/props.js.map +1 -1
- package/es/graph/custom-graph/CustomGraph.js +3 -3
- package/es/graph/custom-graph/CustomGraph.js.map +1 -1
- package/es/graph/custom-graph/index.js +1 -1
- package/es/graph/custom-graph/index.js.map +1 -1
- package/es/graph/custom-graph/props.js +1 -1
- package/es/graph/custom-graph/props.js.map +1 -1
- package/es/graph/line/Line.js +11 -11
- package/es/graph/line/Line.js.map +1 -1
- package/es/graph/line/index.js +1 -1
- package/es/graph/line/index.js.map +1 -1
- package/es/graph/line/props.js +1 -1
- package/es/graph/line/props.js.map +1 -1
- package/es/graph/pie/Pie.js +10 -10
- package/es/graph/pie/Pie.js.map +1 -1
- package/es/graph/pie/index.js +1 -1
- package/es/graph/pie/index.js.map +1 -1
- package/es/graph/pie/props.js +1 -1
- package/es/graph/pie/props.js.map +1 -1
- package/es/graph/scatter/Scatter.js +9 -9
- package/es/graph/scatter/Scatter.js.map +1 -1
- package/es/graph/scatter/index.js +1 -1
- package/es/graph/scatter/index.js.map +1 -1
- package/es/graph/scatter/props.js +1 -1
- package/es/graph/scatter/props.js.map +1 -1
- package/es/{_utils/hooks → hooks}/useDownloadFile.js +1 -1
- package/es/hooks/useDownloadFile.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useEmitEvent.js +1 -1
- package/es/{_utils/hooks → hooks}/useEmitEvent.js.map +1 -1
- package/es/{_utils/hooks → hooks}/useHrefParamsToGlobalVariables.js +0 -0
- package/es/hooks/useHrefParamsToGlobalVariables.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useImagePath.js +1 -1
- package/es/hooks/useImagePath.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useIndicatorData.js +3 -3
- package/es/hooks/useIndicatorData.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useOnEvent.js +1 -1
- package/es/hooks/useOnEvent.js.map +1 -0
- package/es/{_utils/hooks → hooks}/usePageUrl.js +1 -1
- package/es/hooks/usePageUrl.js.map +1 -0
- package/es/{_utils/hooks → hooks}/usePickComponentStyle.js +0 -0
- package/es/hooks/usePickComponentStyle.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useRequestData.js +3 -8
- package/es/{_utils/hooks → hooks}/useRequestData.js.map +1 -1
- package/es/{_utils/hooks → hooks}/useRequestDiagramData.js +2 -2
- package/es/{_utils/hooks → hooks}/useRequestDiagramData.js.map +1 -1
- package/es/{_utils/hooks → hooks}/useTransformChartDataByAttrKey.js +0 -0
- package/es/hooks/useTransformChartDataByAttrKey.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useTransformChartDataByAttrValue.js +0 -0
- package/es/hooks/useTransformChartDataByAttrValue.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useValueFormatter.js +15 -9
- package/es/hooks/useValueFormatter.js.map +1 -0
- package/es/{_utils/hooks → hooks}/useVariablesInText.js +0 -0
- package/es/hooks/useVariablesInText.js.map +1 -0
- package/es/map/map/Map.js +5 -5
- package/es/map/map/Map.js.map +1 -1
- package/es/map/map/index.js +1 -1
- package/es/map/map/index.js.map +1 -1
- package/es/map/map/props.js +1 -1
- package/es/map/map/props.js.map +1 -1
- package/es/media/image/Image.js +7 -7
- package/es/media/image/Image.js.map +1 -1
- package/es/media/image/index.js +1 -1
- package/es/media/image/index.js.map +1 -1
- package/es/media/image/props.js +1 -1
- package/es/media/image/props.js.map +1 -1
- package/es/setting/page-config/PageConfig.js +4 -4
- package/es/setting/page-config/PageConfig.js.map +1 -1
- package/es/setting/page-config/index.js +1 -1
- package/es/setting/page-config/index.js.map +1 -1
- package/es/setting/page-config/props.js +1 -1
- package/es/setting/page-config/props.js.map +1 -1
- package/es/setting/provider-config/ProviderConfig.js +4 -4
- package/es/setting/provider-config/ProviderConfig.js.map +1 -1
- package/es/setting/provider-config/index.js +1 -1
- package/es/setting/provider-config/index.js.map +1 -1
- package/es/setting/provider-config/props.js +1 -1
- package/es/setting/provider-config/props.js.map +1 -1
- package/es/table/table/Table.js +10 -10
- package/es/table/table/Table.js.map +1 -1
- package/es/table/table/index.js +1 -1
- package/es/table/table/index.js.map +1 -1
- package/es/table/table/props.js +1 -1
- package/es/table/table/props.js.map +1 -1
- package/es/text/list/List.js +9 -9
- package/es/text/list/List.js.map +1 -1
- package/es/text/list/index.js +1 -1
- package/es/text/list/index.js.map +1 -1
- package/es/text/list/props.js +1 -1
- package/es/text/list/props.js.map +1 -1
- package/es/text/proportion/Proportion.js +7 -7
- package/es/text/proportion/Proportion.js.map +1 -1
- package/es/text/proportion/index.js +1 -1
- package/es/text/proportion/index.js.map +1 -1
- package/es/text/proportion/props.js +1 -1
- package/es/text/proportion/props.js.map +1 -1
- package/es/text/scroll-text/index.js +1 -1
- package/es/text/scroll-text/index.js.map +1 -1
- package/es/text/text/Text.js +7 -7
- package/es/text/text/Text.js.map +1 -1
- package/es/text/text/index.js +1 -1
- package/es/text/text/index.js.map +1 -1
- package/es/text/text/props.js +1 -1
- package/es/text/text/props.js.map +1 -1
- package/es/text/time-display/TimeDisplay.js +4 -4
- package/es/text/time-display/TimeDisplay.js.map +1 -1
- package/es/text/time-display/index.js +1 -1
- package/es/text/time-display/index.js.map +1 -1
- package/es/text/time-display/props.js +1 -1
- package/es/text/time-display/props.js.map +1 -1
- package/es/{_utils → utils}/constant.js +0 -0
- package/es/utils/constant.js.map +1 -0
- package/es/{_utils → utils}/props.js +0 -0
- package/es/utils/props.js.map +1 -0
- package/es/{_utils → utils}/request.js +0 -0
- package/es/utils/request.js.map +1 -0
- package/es/{_utils → utils}/util.js +0 -0
- package/es/utils/util.js.map +1 -0
- package/es/{_utils → utils}/withInstall.js +0 -0
- package/es/utils/withInstall.js.map +1 -0
- package/lib/container/border/Border.js +7 -7
- package/lib/container/border/Border.js.map +1 -1
- package/lib/container/border/index.js +1 -1
- package/lib/container/border/index.js.map +1 -1
- package/lib/container/border/props.js +1 -1
- package/lib/container/border/props.js.map +1 -1
- package/lib/container/modal/Modal.js +6 -6
- package/lib/container/modal/Modal.js.map +1 -1
- package/lib/container/modal/index.js +1 -1
- 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 +8 -8
- package/lib/container/tabs/Tabs.js.map +1 -1
- package/lib/container/tabs/index.js +1 -1
- package/lib/container/tabs/index.js.map +1 -1
- package/lib/container/tabs/props.js +1 -1
- package/lib/container/tabs/props.js.map +1 -1
- package/lib/control/button/Button.js +5 -5
- package/lib/control/button/Button.js.map +1 -1
- package/lib/control/button/index.js +1 -1
- package/lib/control/button/index.js.map +1 -1
- package/lib/control/button/props.js +1 -1
- package/lib/control/button/props.js.map +1 -1
- package/lib/control/checkbox/Checkbox.js +12 -7
- package/lib/control/checkbox/Checkbox.js.map +1 -1
- package/lib/control/checkbox/index.js +1 -1
- package/lib/control/checkbox/index.js.map +1 -1
- package/lib/control/checkbox/props.js +1 -1
- package/lib/control/checkbox/props.js.map +1 -1
- package/lib/control/date-picker/DatePicker.js +13 -9
- package/lib/control/date-picker/DatePicker.js.map +1 -1
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_0_lang.js +5 -0
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_0_lang.js.map +1 -0
- package/lib/control/date-picker/index.js +1 -1
- package/lib/control/date-picker/index.js.map +1 -1
- package/lib/control/date-picker/props.js +1 -1
- package/lib/control/date-picker/props.js.map +1 -1
- package/lib/control/input/Input.js +4 -4
- package/lib/control/input/Input.js.map +1 -1
- package/lib/control/input/index.js +1 -1
- package/lib/control/input/index.js.map +1 -1
- package/lib/control/input/props.js +1 -1
- package/lib/control/input/props.js.map +1 -1
- package/lib/control/range-picker/RangePicker.js +6 -6
- package/lib/control/range-picker/RangePicker.js.map +1 -1
- package/lib/control/range-picker/index.js +1 -1
- package/lib/control/range-picker/index.js.map +1 -1
- package/lib/control/range-picker/props.js +1 -1
- package/lib/control/range-picker/props.js.map +1 -1
- package/lib/control/select/Select.js +7 -7
- package/lib/control/select/Select.js.map +1 -1
- package/lib/control/select/index.js +1 -1
- package/lib/control/select/index.js.map +1 -1
- package/lib/control/select/props.js +1 -1
- package/lib/control/select/props.js.map +1 -1
- package/lib/graph/bar/Bar.js +12 -12
- package/lib/graph/bar/Bar.js.map +1 -1
- package/lib/graph/bar/index.js +1 -1
- package/lib/graph/bar/index.js.map +1 -1
- package/lib/graph/bar/props.js +1 -1
- package/lib/graph/bar/props.js.map +1 -1
- package/lib/graph/combo-graph/ComboGraph.js +11 -11
- package/lib/graph/combo-graph/ComboGraph.js.map +1 -1
- package/lib/graph/combo-graph/index.js +1 -1
- package/lib/graph/combo-graph/index.js.map +1 -1
- package/lib/graph/combo-graph/props.js +1 -1
- package/lib/graph/combo-graph/props.js.map +1 -1
- package/lib/graph/custom-graph/CustomGraph.js +3 -3
- package/lib/graph/custom-graph/CustomGraph.js.map +1 -1
- package/lib/graph/custom-graph/index.js +1 -1
- package/lib/graph/custom-graph/index.js.map +1 -1
- package/lib/graph/custom-graph/props.js +1 -1
- package/lib/graph/custom-graph/props.js.map +1 -1
- package/lib/graph/line/Line.js +11 -11
- package/lib/graph/line/Line.js.map +1 -1
- package/lib/graph/line/index.js +1 -1
- package/lib/graph/line/index.js.map +1 -1
- package/lib/graph/line/props.js +1 -1
- package/lib/graph/line/props.js.map +1 -1
- package/lib/graph/pie/Pie.js +10 -10
- package/lib/graph/pie/Pie.js.map +1 -1
- package/lib/graph/pie/index.js +1 -1
- package/lib/graph/pie/index.js.map +1 -1
- package/lib/graph/pie/props.js +1 -1
- package/lib/graph/pie/props.js.map +1 -1
- package/lib/graph/scatter/Scatter.js +9 -9
- package/lib/graph/scatter/Scatter.js.map +1 -1
- package/lib/graph/scatter/index.js +1 -1
- package/lib/graph/scatter/index.js.map +1 -1
- package/lib/graph/scatter/props.js +1 -1
- package/lib/graph/scatter/props.js.map +1 -1
- package/lib/{_utils/hooks → hooks}/useDownloadFile.js +1 -1
- package/lib/hooks/useDownloadFile.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useEmitEvent.js +1 -1
- package/lib/{_utils/hooks → hooks}/useEmitEvent.js.map +1 -1
- package/lib/{_utils/hooks → hooks}/useHrefParamsToGlobalVariables.js +0 -0
- package/lib/hooks/useHrefParamsToGlobalVariables.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useImagePath.js +1 -1
- package/lib/hooks/useImagePath.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useIndicatorData.js +3 -3
- package/lib/hooks/useIndicatorData.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useOnEvent.js +1 -1
- package/lib/hooks/useOnEvent.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/usePageUrl.js +1 -1
- package/lib/hooks/usePageUrl.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/usePickComponentStyle.js +0 -0
- package/lib/hooks/usePickComponentStyle.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useRequestData.js +3 -8
- package/lib/{_utils/hooks → hooks}/useRequestData.js.map +1 -1
- package/lib/{_utils/hooks → hooks}/useRequestDiagramData.js +2 -2
- package/lib/{_utils/hooks → hooks}/useRequestDiagramData.js.map +1 -1
- package/lib/{_utils/hooks → hooks}/useTransformChartDataByAttrKey.js +0 -0
- package/lib/hooks/useTransformChartDataByAttrKey.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useTransformChartDataByAttrValue.js +0 -0
- package/lib/hooks/useTransformChartDataByAttrValue.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useValueFormatter.js +15 -9
- package/lib/hooks/useValueFormatter.js.map +1 -0
- package/lib/{_utils/hooks → hooks}/useVariablesInText.js +0 -0
- package/lib/hooks/useVariablesInText.js.map +1 -0
- package/lib/map/map/Map.js +5 -5
- package/lib/map/map/Map.js.map +1 -1
- package/lib/map/map/index.js +1 -1
- package/lib/map/map/index.js.map +1 -1
- package/lib/map/map/props.js +1 -1
- package/lib/map/map/props.js.map +1 -1
- package/lib/media/image/Image.js +7 -7
- package/lib/media/image/Image.js.map +1 -1
- package/lib/media/image/index.js +1 -1
- package/lib/media/image/index.js.map +1 -1
- package/lib/media/image/props.js +1 -1
- package/lib/media/image/props.js.map +1 -1
- package/lib/setting/page-config/PageConfig.js +4 -4
- package/lib/setting/page-config/PageConfig.js.map +1 -1
- package/lib/setting/page-config/index.js +1 -1
- 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 +4 -4
- package/lib/setting/provider-config/ProviderConfig.js.map +1 -1
- package/lib/setting/provider-config/index.js +1 -1
- package/lib/setting/provider-config/index.js.map +1 -1
- package/lib/setting/provider-config/props.js +1 -1
- package/lib/setting/provider-config/props.js.map +1 -1
- package/lib/style.css +6940 -6940
- package/lib/table/table/Table.js +10 -10
- package/lib/table/table/Table.js.map +1 -1
- package/lib/table/table/index.js +1 -1
- package/lib/table/table/index.js.map +1 -1
- package/lib/table/table/props.js +1 -1
- package/lib/table/table/props.js.map +1 -1
- package/lib/text/list/List.js +9 -9
- package/lib/text/list/List.js.map +1 -1
- package/lib/text/list/index.js +1 -1
- package/lib/text/list/index.js.map +1 -1
- package/lib/text/list/props.js +1 -1
- package/lib/text/list/props.js.map +1 -1
- package/lib/text/proportion/Proportion.js +7 -7
- package/lib/text/proportion/Proportion.js.map +1 -1
- package/lib/text/proportion/index.js +1 -1
- package/lib/text/proportion/index.js.map +1 -1
- package/lib/text/proportion/props.js +1 -1
- package/lib/text/proportion/props.js.map +1 -1
- package/lib/text/scroll-text/index.js +1 -1
- package/lib/text/scroll-text/index.js.map +1 -1
- package/lib/text/text/Text.js +7 -7
- package/lib/text/text/Text.js.map +1 -1
- package/lib/text/text/index.js +1 -1
- package/lib/text/text/index.js.map +1 -1
- package/lib/text/text/props.js +1 -1
- package/lib/text/text/props.js.map +1 -1
- package/lib/text/time-display/TimeDisplay.js +4 -4
- package/lib/text/time-display/TimeDisplay.js.map +1 -1
- package/lib/text/time-display/index.js +1 -1
- package/lib/text/time-display/index.js.map +1 -1
- package/lib/text/time-display/props.js +1 -1
- package/lib/text/time-display/props.js.map +1 -1
- package/lib/{_utils → utils}/constant.js +0 -0
- package/lib/utils/constant.js.map +1 -0
- package/lib/{_utils → utils}/props.js +0 -0
- package/lib/utils/props.js.map +1 -0
- package/lib/{_utils → utils}/request.js +0 -0
- package/lib/utils/request.js.map +1 -0
- package/lib/{_utils → utils}/util.js +0 -0
- package/lib/utils/util.js.map +1 -0
- package/lib/{_utils → utils}/withInstall.js +0 -0
- package/lib/utils/withInstall.js.map +1 -0
- package/package.json +1 -1
- package/types/container/border/Border.vue.d.ts +140 -140
- package/types/container/border/index.d.ts +141 -141
- package/types/container/border/props.d.ts +71 -71
- package/types/container/modal/Modal.vue.d.ts +1 -1
- package/types/container/modal/index.d.ts +2 -2
- package/types/container/tabs/index.d.ts +1 -1
- package/types/container/tabs/props.d.ts +1 -1
- package/types/control/button/Button.vue.d.ts +120 -120
- package/types/control/button/index.d.ts +121 -121
- package/types/control/button/props.d.ts +61 -61
- package/types/control/checkbox/Checkbox.vue.d.ts +96 -96
- package/types/control/checkbox/index.d.ts +97 -97
- package/types/control/checkbox/props.d.ts +49 -49
- package/types/control/date-picker/DatePicker.vue.d.ts +104 -104
- package/types/control/date-picker/index.d.ts +105 -105
- package/types/control/date-picker/props.d.ts +53 -53
- package/types/control/input/Input.vue.d.ts +96 -96
- package/types/control/input/index.d.ts +97 -97
- package/types/control/input/props.d.ts +49 -49
- package/types/control/range-picker/RangePicker.vue.d.ts +104 -104
- package/types/control/range-picker/index.d.ts +105 -105
- package/types/control/range-picker/props.d.ts +53 -53
- package/types/control/select/Select.vue.d.ts +100 -100
- package/types/control/select/index.d.ts +101 -101
- package/types/control/select/props.d.ts +51 -51
- package/types/graph/bar/Bar.vue.d.ts +282 -310
- package/types/graph/bar/index.d.ts +282 -310
- package/types/graph/bar/props.d.ts +141 -156
- package/types/graph/combo-graph/ComboGraph.vue.d.ts +8 -6
- package/types/graph/combo-graph/index.d.ts +9 -7
- package/types/graph/combo-graph/props.d.ts +1 -1
- package/types/graph/custom-graph/CustomGraph.vue.d.ts +96 -96
- package/types/graph/custom-graph/index.d.ts +97 -97
- package/types/graph/custom-graph/props.d.ts +49 -49
- package/types/graph/line/Line.vue.d.ts +33 -3
- package/types/graph/line/index.d.ts +34 -4
- package/types/graph/line/props.d.ts +17 -1
- package/types/graph/pie/Pie.vue.d.ts +1 -1
- package/types/graph/pie/index.d.ts +2 -2
- package/types/graph/pie/props.d.ts +1 -1
- package/types/graph/scatter/index.d.ts +1 -1
- package/types/graph/scatter/props.d.ts +1 -1
- package/types/{_utils/hooks → hooks}/index.d.ts +0 -2
- package/types/{_utils/hooks → hooks}/useDownloadFile.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useEmitEvent.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useHrefParamsToGlobalVariables.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useImagePath.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useIndicatorData.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useOnEvent.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/usePageUrl.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/usePickComponentStyle.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/usePickEchartsData.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useRequestData.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useRequestDiagramData.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useTooltipFormatter.d.ts +0 -0
- package/types/{_utils/hooks → hooks}/useTransformChartDataByAttrKey.d.ts +1 -1
- package/types/{_utils/hooks → hooks}/useTransformChartDataByAttrValue.d.ts +1 -1
- package/types/{_utils/hooks → hooks}/useValueFormatter.d.ts +0 -0
- package/types/hooks/useVariablesInText.d.ts +7 -0
- package/types/map/map/Map.vue.d.ts +224 -224
- package/types/map/map/index.d.ts +225 -225
- package/types/map/map/props.d.ts +113 -113
- package/types/media/image/Image.vue.d.ts +104 -104
- package/types/media/image/index.d.ts +105 -105
- package/types/media/image/props.d.ts +53 -53
- package/types/setting/page-config/index.d.ts +1 -1
- package/types/setting/provider-config/index.d.ts +1 -1
- package/types/table/table/Table.vue.d.ts +168 -168
- package/types/table/table/index.d.ts +169 -169
- package/types/table/table/props.d.ts +85 -85
- package/types/text/list/List.vue.d.ts +128 -128
- package/types/text/list/index.d.ts +129 -129
- package/types/text/list/props.d.ts +65 -65
- package/types/text/proportion/Proportion.vue.d.ts +144 -144
- package/types/text/proportion/index.d.ts +145 -145
- package/types/text/proportion/props.d.ts +73 -73
- package/types/text/scroll-text/index.d.ts +1 -1
- package/types/text/text/Text.vue.d.ts +140 -140
- package/types/text/text/index.d.ts +141 -141
- package/types/text/text/props.d.ts +71 -71
- package/types/text/time-display/TimeDisplay.vue.d.ts +120 -120
- package/types/text/time-display/index.d.ts +121 -121
- package/types/text/time-display/props.d.ts +61 -61
- package/types/{_utils → utils}/constant.d.ts +0 -0
- package/types/{_utils → utils}/props.d.ts +0 -0
- package/types/{_utils → utils}/request.d.ts +0 -0
- package/types/{_utils → utils}/util.d.ts +0 -0
- package/types/{_utils → utils}/withInstall.d.ts +0 -0
- package/es/_utils/constant.js.map +0 -1
- package/es/_utils/hooks/useDownloadFile.js.map +0 -1
- package/es/_utils/hooks/useHrefParamsToGlobalVariables.js.map +0 -1
- package/es/_utils/hooks/useImagePath.js.map +0 -1
- package/es/_utils/hooks/useIndicatorData.js.map +0 -1
- package/es/_utils/hooks/useOnEvent.js.map +0 -1
- package/es/_utils/hooks/usePageUrl.js.map +0 -1
- package/es/_utils/hooks/usePickComponentStyle.js.map +0 -1
- package/es/_utils/hooks/useTransformChartDataByAttrKey.js.map +0 -1
- package/es/_utils/hooks/useTransformChartDataByAttrValue.js.map +0 -1
- package/es/_utils/hooks/useValueFormatter.js.map +0 -1
- package/es/_utils/hooks/useVariablesInText.js.map +0 -1
- package/es/_utils/props.js.map +0 -1
- package/es/_utils/request.js.map +0 -1
- package/es/_utils/util.js.map +0 -1
- package/es/_utils/withInstall.js.map +0 -1
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js +0 -5
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js.map +0 -1
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js +0 -5
- package/es/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js.map +0 -1
- package/lib/_utils/constant.js.map +0 -1
- package/lib/_utils/hooks/useDownloadFile.js.map +0 -1
- package/lib/_utils/hooks/useHrefParamsToGlobalVariables.js.map +0 -1
- package/lib/_utils/hooks/useImagePath.js.map +0 -1
- package/lib/_utils/hooks/useIndicatorData.js.map +0 -1
- package/lib/_utils/hooks/useOnEvent.js.map +0 -1
- package/lib/_utils/hooks/usePageUrl.js.map +0 -1
- package/lib/_utils/hooks/usePickComponentStyle.js.map +0 -1
- package/lib/_utils/hooks/useTransformChartDataByAttrKey.js.map +0 -1
- package/lib/_utils/hooks/useTransformChartDataByAttrValue.js.map +0 -1
- package/lib/_utils/hooks/useValueFormatter.js.map +0 -1
- package/lib/_utils/hooks/useVariablesInText.js.map +0 -1
- package/lib/_utils/props.js.map +0 -1
- package/lib/_utils/request.js.map +0 -1
- package/lib/_utils/util.js.map +0 -1
- package/lib/_utils/withInstall.js.map +0 -1
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js +0 -5
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_0_scoped_true_lang.js.map +0 -1
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js +0 -5
- package/lib/control/date-picker/DatePicker.vue_vue_type_style_index_1_lang.js.map +0 -1
- package/types/_utils/hooks/useVariablesInText.d.ts +0 -4
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @ecan-bi/datav@1.0.
|
|
1
|
+
/*! @ecan-bi/datav@1.0.88 */
|
|
2
2
|
(function(global, factory) {
|
|
3
3
|
typeof exports === "object" && typeof module !== "undefined" ? factory(exports, require("vue"), require("echarts/core"), require("resize-detector"), require("ant-design-vue"), require("ant-design-vue/es/spin/style"), require("ant-design-vue/es/skeleton/style"), require("lodash-es"), require("axios"), require("mitt"), require("dayjs"), require("ant-design-vue/es/progress/style"), require("ant-design-vue/es/input/style"), require("ant-design-vue/es/date-picker/style"), require("ant-design-vue/es/date-picker/locale/zh_CN"), require("ant-design-vue/es/select/style"), require("ant-design-vue/es/button/style"), require("ant-design-vue/es/checkbox/style"), require("echarts/renderers"), require("echarts/charts"), require("echarts/components"), require("echarts"), require("ant-design-vue/es/modal/style"), require("ant-design-vue/es/table/style")) : typeof define === "function" && define.amd ? define(["exports", "vue", "echarts/core", "resize-detector", "ant-design-vue", "ant-design-vue/es/spin/style", "ant-design-vue/es/skeleton/style", "lodash-es", "axios", "mitt", "dayjs", "ant-design-vue/es/progress/style", "ant-design-vue/es/input/style", "ant-design-vue/es/date-picker/style", "ant-design-vue/es/date-picker/locale/zh_CN", "ant-design-vue/es/select/style", "ant-design-vue/es/button/style", "ant-design-vue/es/checkbox/style", "echarts/renderers", "echarts/charts", "echarts/components", "echarts", "ant-design-vue/es/modal/style", "ant-design-vue/es/table/style"], factory) : (global = typeof globalThis !== "undefined" ? globalThis : global || self, factory(global["@ecan/bi-datav"] = {}, global.vue, global["echarts/core"], global["resize-detector"], global["ant-design-vue"], null, null, global["lodash-es"], global.axios, global.mitt, global.dayjs, null, null, null, global["ant-design-vue/es/date-picker/locale/zh_CN"], null, null, null, global["echarts/renderers"], global["echarts/charts"], global["echarts/components"], global.echarts));
|
|
4
4
|
})(this, function(exports2, vue, core, resizeDetector, antDesignVue, style$1, style$2, lodashEs, axios, mitt, dayjs, style$3, style$4, style$5, locale, style$6, style$7, style$8, renderers, charts, components$1, echarts) {
|
|
@@ -1666,23 +1666,45 @@
|
|
|
1666
1666
|
}
|
|
1667
1667
|
return false;
|
|
1668
1668
|
};
|
|
1669
|
-
const useVariablesInText = (
|
|
1669
|
+
const useVariablesInText = (formatter = "", data = {}, { useNewline = false, useSpace = false } = {}) => {
|
|
1670
1670
|
const config2 = window.config || {};
|
|
1671
1671
|
data = { ...config2, ...data };
|
|
1672
|
-
const variables =
|
|
1673
|
-
if (variables == null || variables.length === 0)
|
|
1674
|
-
return
|
|
1672
|
+
const variables = formatter.match(/\{(.+?)\}/g);
|
|
1673
|
+
if (variables == null || variables.length === 0) {
|
|
1674
|
+
return formatter;
|
|
1675
|
+
}
|
|
1675
1676
|
for (let i = 0; i < variables.length; i++) {
|
|
1676
1677
|
const variable = variables[i];
|
|
1677
|
-
|
|
1678
|
-
const
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1678
|
+
let statement = variable.slice(1, -1);
|
|
1679
|
+
const reg = /[\u4e00-\u9fa5_a-zA-Z_]+[0-9]*/g;
|
|
1680
|
+
const textVariables = statement.match(reg);
|
|
1681
|
+
for (let j = 0; j < textVariables.length; j++) {
|
|
1682
|
+
const textVariable = textVariables[j];
|
|
1683
|
+
const usedVariable = data[textVariable];
|
|
1684
|
+
if (usedVariable != null) {
|
|
1685
|
+
statement = statement.replace(textVariable, usedVariable);
|
|
1686
|
+
} else {
|
|
1687
|
+
statement = statement.replace(textVariable, "");
|
|
1688
|
+
}
|
|
1683
1689
|
}
|
|
1690
|
+
try {
|
|
1691
|
+
if (/[0-9]+(.*)[|+|-|*|/](.*)[0-9]+/g.test(statement)) {
|
|
1692
|
+
const eval2 = eval;
|
|
1693
|
+
statement = eval2(statement);
|
|
1694
|
+
}
|
|
1695
|
+
} catch (e) {
|
|
1696
|
+
console.error(e);
|
|
1697
|
+
}
|
|
1698
|
+
formatter = formatter.replace(variable, statement);
|
|
1699
|
+
}
|
|
1700
|
+
if (useNewline) {
|
|
1701
|
+
formatter = formatter == null ? void 0 : formatter.replace(/\n|\\n/g, "<br/>");
|
|
1702
|
+
}
|
|
1703
|
+
if (useSpace) {
|
|
1704
|
+
formatter = formatter == null ? void 0 : formatter.replace(/\s{2,}?/g, " ");
|
|
1684
1705
|
}
|
|
1685
|
-
|
|
1706
|
+
console.log("formatter", formatter);
|
|
1707
|
+
return formatter;
|
|
1686
1708
|
};
|
|
1687
1709
|
const useRequestData = (props2, callBack = () => {
|
|
1688
1710
|
}) => {
|
|
@@ -2221,7 +2243,8 @@
|
|
|
2221
2243
|
if (variables == null || variables.length === 0) {
|
|
2222
2244
|
return value;
|
|
2223
2245
|
}
|
|
2224
|
-
|
|
2246
|
+
const len = variables.length;
|
|
2247
|
+
for (let i = 0; i < len; i++) {
|
|
2225
2248
|
const variable = variables[i];
|
|
2226
2249
|
if (variable == null || variable === "")
|
|
2227
2250
|
break;
|
|
@@ -2571,7 +2594,7 @@
|
|
|
2571
2594
|
], 4)) : vue.createCommentVNode("", true)
|
|
2572
2595
|
], 512);
|
|
2573
2596
|
}
|
|
2574
|
-
const PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-
|
|
2597
|
+
const PageConfig = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-7b482f6c"]]);
|
|
2575
2598
|
const EcanPageConfig = withInstall(PageConfig);
|
|
2576
2599
|
const providerConfig = {
|
|
2577
2600
|
contextRequestUrl: "",
|
|
@@ -2598,7 +2621,10 @@
|
|
|
2598
2621
|
vue.onMounted(() => {
|
|
2599
2622
|
setTheme();
|
|
2600
2623
|
});
|
|
2601
|
-
const contextRequestUrl = vue.computed(() =>
|
|
2624
|
+
const contextRequestUrl = vue.computed(() => {
|
|
2625
|
+
console.log("props.contextRequestUrl", props2.contextRequestUrl);
|
|
2626
|
+
return useVariablesInText(props2.contextRequestUrl);
|
|
2627
|
+
});
|
|
2602
2628
|
const pageMode = vue.computed(() => props2.pageMode);
|
|
2603
2629
|
const theme = vue.computed(() => props2.theme);
|
|
2604
2630
|
const touchEventId = vue.ref("");
|
|
@@ -2876,7 +2902,7 @@
|
|
|
2876
2902
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.click && _ctx.click(...args))
|
|
2877
2903
|
}, null, 12, _hoisted_1$7));
|
|
2878
2904
|
}
|
|
2879
|
-
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-
|
|
2905
|
+
const Text = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m], ["__scopeId", "data-v-1b461e28"]]);
|
|
2880
2906
|
const EcanText = withInstall(Text);
|
|
2881
2907
|
const ScrollText_vue_vue_type_style_index_0_scoped_true_lang = "";
|
|
2882
2908
|
const _sfc_main$l = vue.defineComponent({
|
|
@@ -2951,7 +2977,7 @@
|
|
|
2951
2977
|
style: vue.normalizeStyle(_ctx.style)
|
|
2952
2978
|
}, vue.toDisplayString(_ctx.time), 5);
|
|
2953
2979
|
}
|
|
2954
|
-
const TimeDisplay = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-
|
|
2980
|
+
const TimeDisplay = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k], ["__scopeId", "data-v-6f85cdb0"]]);
|
|
2955
2981
|
const EcanTimeDisplay = withInstall(TimeDisplay);
|
|
2956
2982
|
const listProps = {
|
|
2957
2983
|
...props,
|
|
@@ -3076,7 +3102,7 @@
|
|
|
3076
3102
|
};
|
|
3077
3103
|
}
|
|
3078
3104
|
});
|
|
3079
|
-
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-
|
|
3105
|
+
const _withScopeId$2 = (n) => (vue.pushScopeId("data-v-33dd5dd2"), n = n(), vue.popScopeId(), n);
|
|
3080
3106
|
const _hoisted_1$5 = {
|
|
3081
3107
|
key: 0,
|
|
3082
3108
|
class: "title"
|
|
@@ -3178,7 +3204,7 @@
|
|
|
3178
3204
|
}, 8, ["loading"])
|
|
3179
3205
|
], 4);
|
|
3180
3206
|
}
|
|
3181
|
-
const List = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-
|
|
3207
|
+
const List = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j], ["__scopeId", "data-v-33dd5dd2"]]);
|
|
3182
3208
|
const EcanList = withInstall(List);
|
|
3183
3209
|
const proportionProps = {
|
|
3184
3210
|
...props,
|
|
@@ -3386,7 +3412,7 @@
|
|
|
3386
3412
|
}, 8, ["percent", "width", "type", "strokeColor", "strokeLinecap", "trailColor", "strokeWidth", "gapDegree", "onClick"])
|
|
3387
3413
|
], 4);
|
|
3388
3414
|
}
|
|
3389
|
-
const Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-
|
|
3415
|
+
const Proportion = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i], ["__scopeId", "data-v-1e9f619c"]]);
|
|
3390
3416
|
const EcanProportion = withInstall(Proportion);
|
|
3391
3417
|
const inputProps = {
|
|
3392
3418
|
...props,
|
|
@@ -3657,7 +3683,7 @@
|
|
|
3657
3683
|
}, null, 8, ["value", "options", "getPopupContainer", "field-names", "filter-option", "onChange"])
|
|
3658
3684
|
], 4);
|
|
3659
3685
|
}
|
|
3660
|
-
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-
|
|
3686
|
+
const Select = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f], ["__scopeId", "data-v-38e47a34"]]);
|
|
3661
3687
|
const EcanSelect = withInstall(Select);
|
|
3662
3688
|
const rangePickerProps = {
|
|
3663
3689
|
...props,
|
|
@@ -3739,7 +3765,7 @@
|
|
|
3739
3765
|
}, null, 8, ["value", "format", "picker", "locale", "getPopupContainer", "onChange"])
|
|
3740
3766
|
], 4);
|
|
3741
3767
|
}
|
|
3742
|
-
const RangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-
|
|
3768
|
+
const RangePicker = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e], ["__scopeId", "data-v-3acf6a86"]]);
|
|
3743
3769
|
const EcanRangePicker = withInstall(RangePicker);
|
|
3744
3770
|
const buttonProps = {
|
|
3745
3771
|
...props,
|
|
@@ -3963,7 +3989,7 @@
|
|
|
3963
3989
|
tooltipShow: true,
|
|
3964
3990
|
tooltipTextStyleColor: "",
|
|
3965
3991
|
tooltipTrigger: "item",
|
|
3966
|
-
tooltipFormatter: "{
|
|
3992
|
+
tooltipFormatter: "{marker} {b} {c} ({d}%)",
|
|
3967
3993
|
legendShow: true,
|
|
3968
3994
|
legendTextStyleColor: "#333",
|
|
3969
3995
|
legendOrient: "vertical",
|
|
@@ -4109,7 +4135,27 @@
|
|
|
4109
4135
|
tooltip: {
|
|
4110
4136
|
show: props2.tooltipShow,
|
|
4111
4137
|
trigger: props2.tooltipTrigger,
|
|
4112
|
-
formatter:
|
|
4138
|
+
formatter: (params) => {
|
|
4139
|
+
const { marker, seriesName, name, value, percent, data: data2 } = params || {};
|
|
4140
|
+
return useVariablesInText(
|
|
4141
|
+
props2.tooltipFormatter,
|
|
4142
|
+
{
|
|
4143
|
+
marker,
|
|
4144
|
+
name,
|
|
4145
|
+
value,
|
|
4146
|
+
percent,
|
|
4147
|
+
a: seriesName,
|
|
4148
|
+
b: name,
|
|
4149
|
+
c: value,
|
|
4150
|
+
d: percent,
|
|
4151
|
+
...data2
|
|
4152
|
+
},
|
|
4153
|
+
{
|
|
4154
|
+
useNewline: true,
|
|
4155
|
+
useSpace: true
|
|
4156
|
+
}
|
|
4157
|
+
);
|
|
4158
|
+
},
|
|
4113
4159
|
textStyle: {
|
|
4114
4160
|
color: props2.tooltipTextStyleColor
|
|
4115
4161
|
}
|
|
@@ -4308,16 +4354,15 @@
|
|
|
4308
4354
|
left: "",
|
|
4309
4355
|
rotate: "",
|
|
4310
4356
|
data: [
|
|
4311
|
-
{ name: "\u540D\u79F0\u4E00", value:
|
|
4312
|
-
{ name: "\u540D\u79F0\u4E8C", value:
|
|
4313
|
-
{ name: "\u540D\u79F0\u4E09", value:
|
|
4314
|
-
{ name: "\u540D\u79F0\u56DB", value:
|
|
4315
|
-
{ name: "\u540D\u79F0\u4E94", value: 1548 }
|
|
4357
|
+
{ name: "\u540D\u79F0\u4E00", value: 235, type: "\u7C7B\u578B\u4E00" },
|
|
4358
|
+
{ name: "\u540D\u79F0\u4E8C", value: 280, type: "\u7C7B\u578B\u4E00" },
|
|
4359
|
+
{ name: "\u540D\u79F0\u4E09", value: 230, type: "\u7C7B\u578B\u4E00" },
|
|
4360
|
+
{ name: "\u540D\u79F0\u56DB", value: 335, type: "\u7C7B\u578B\u4E00" }
|
|
4316
4361
|
],
|
|
4317
4362
|
titleText: "",
|
|
4318
4363
|
titleSubtext: "",
|
|
4319
4364
|
titleLeft: "",
|
|
4320
|
-
legendShow:
|
|
4365
|
+
legendShow: true,
|
|
4321
4366
|
legendOrient: "horizontal",
|
|
4322
4367
|
legendTop: "top",
|
|
4323
4368
|
legendLeft: "center",
|
|
@@ -4345,6 +4390,8 @@
|
|
|
4345
4390
|
keyTypeDataFieldNames: { name: "name", types: [] },
|
|
4346
4391
|
dataFieldConfigType: "value",
|
|
4347
4392
|
graphicConfig: {},
|
|
4393
|
+
tooltipShow: true,
|
|
4394
|
+
tooltipFormatter: "{marker} {a} {c}",
|
|
4348
4395
|
toolboxShow: false,
|
|
4349
4396
|
toolboxOrient: "horizontal",
|
|
4350
4397
|
toolboxItemSize: 16,
|
|
@@ -4437,6 +4484,42 @@
|
|
|
4437
4484
|
containLabel: props2.gridContainLabel
|
|
4438
4485
|
},
|
|
4439
4486
|
color: props2.colors,
|
|
4487
|
+
tooltip: {
|
|
4488
|
+
trigger: "axis",
|
|
4489
|
+
show: props2.tooltipShow,
|
|
4490
|
+
formatter: (params) => {
|
|
4491
|
+
const len = params.length;
|
|
4492
|
+
let formatter = "";
|
|
4493
|
+
let tooltipFormatter = props2.tooltipFormatter;
|
|
4494
|
+
if (tooltipFormatter === "") {
|
|
4495
|
+
tooltipFormatter = "{marker} {a} {c}";
|
|
4496
|
+
}
|
|
4497
|
+
for (let i = 0; i < len; i++) {
|
|
4498
|
+
const { marker, seriesName, name, value, data } = params[i] || {};
|
|
4499
|
+
if (i === 0) {
|
|
4500
|
+
formatter += `${name}<br/>`;
|
|
4501
|
+
}
|
|
4502
|
+
formatter += useVariablesInText(
|
|
4503
|
+
tooltipFormatter,
|
|
4504
|
+
{
|
|
4505
|
+
marker,
|
|
4506
|
+
name,
|
|
4507
|
+
value,
|
|
4508
|
+
a: seriesName,
|
|
4509
|
+
b: name,
|
|
4510
|
+
c: value,
|
|
4511
|
+
...data
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
useNewline: true,
|
|
4515
|
+
useSpace: true
|
|
4516
|
+
}
|
|
4517
|
+
);
|
|
4518
|
+
formatter += "<br/>";
|
|
4519
|
+
}
|
|
4520
|
+
return formatter;
|
|
4521
|
+
}
|
|
4522
|
+
},
|
|
4440
4523
|
xAxis: {
|
|
4441
4524
|
type: "category",
|
|
4442
4525
|
data: vue.unref(dimensions),
|
|
@@ -4481,9 +4564,6 @@
|
|
|
4481
4564
|
}
|
|
4482
4565
|
}
|
|
4483
4566
|
},
|
|
4484
|
-
tooltip: {
|
|
4485
|
-
trigger: "axis"
|
|
4486
|
-
},
|
|
4487
4567
|
legend: {
|
|
4488
4568
|
show: props2.legendShow,
|
|
4489
4569
|
orient: props2.legendOrient,
|
|
@@ -4712,8 +4792,7 @@
|
|
|
4712
4792
|
legendLeft: "center",
|
|
4713
4793
|
tooltipShow: true,
|
|
4714
4794
|
tooltipTextStyleColor: "",
|
|
4715
|
-
|
|
4716
|
-
tooltipFormatter: "",
|
|
4795
|
+
tooltipFormatter: "{marker} {a} {c}",
|
|
4717
4796
|
xAxisSplitLineShow: true,
|
|
4718
4797
|
xAxisSplitLineStyleColor: "#333",
|
|
4719
4798
|
xAxisLabelColor: "#333",
|
|
@@ -4859,7 +4938,38 @@
|
|
|
4859
4938
|
tooltip: {
|
|
4860
4939
|
trigger: "axis",
|
|
4861
4940
|
show: props2.tooltipShow,
|
|
4862
|
-
formatter:
|
|
4941
|
+
formatter: (params) => {
|
|
4942
|
+
const len = params.length;
|
|
4943
|
+
let formatter = "";
|
|
4944
|
+
let tooltipFormatter = props2.tooltipFormatter;
|
|
4945
|
+
if (tooltipFormatter === "") {
|
|
4946
|
+
tooltipFormatter = "{marker} {a} {c}";
|
|
4947
|
+
}
|
|
4948
|
+
for (let i = 0; i < len; i++) {
|
|
4949
|
+
const { marker, seriesName, name, value, data } = params[i] || {};
|
|
4950
|
+
if (i === 0) {
|
|
4951
|
+
formatter += `${name}<br/>`;
|
|
4952
|
+
}
|
|
4953
|
+
formatter += useVariablesInText(
|
|
4954
|
+
tooltipFormatter,
|
|
4955
|
+
{
|
|
4956
|
+
marker,
|
|
4957
|
+
name,
|
|
4958
|
+
value,
|
|
4959
|
+
a: seriesName,
|
|
4960
|
+
b: name,
|
|
4961
|
+
c: value,
|
|
4962
|
+
...data
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
useNewline: true,
|
|
4966
|
+
useSpace: true
|
|
4967
|
+
}
|
|
4968
|
+
);
|
|
4969
|
+
formatter += "<br/>";
|
|
4970
|
+
}
|
|
4971
|
+
return formatter;
|
|
4972
|
+
},
|
|
4863
4973
|
textStyle: {
|
|
4864
4974
|
color: props2.tooltipTextStyleColor
|
|
4865
4975
|
}
|
|
@@ -5103,7 +5213,7 @@
|
|
|
5103
5213
|
titleSubtext: "",
|
|
5104
5214
|
tooltipShow: true,
|
|
5105
5215
|
tooltipTrigger: "item",
|
|
5106
|
-
tooltipFormatter: "{c}",
|
|
5216
|
+
tooltipFormatter: "{marker} {b} {c}",
|
|
5107
5217
|
legendShow: false,
|
|
5108
5218
|
legendOrient: "horizontal",
|
|
5109
5219
|
legendTop: "top",
|
|
@@ -5265,8 +5375,17 @@
|
|
|
5265
5375
|
trigger: props2.tooltipTrigger,
|
|
5266
5376
|
formatter: function(params) {
|
|
5267
5377
|
var _a2, _b2;
|
|
5378
|
+
const { marker, seriesName } = params;
|
|
5268
5379
|
const record = (_b2 = (_a2 = params == null ? void 0 : params.data) == null ? void 0 : _a2.record) != null ? _b2 : {};
|
|
5269
|
-
|
|
5380
|
+
const { name, value } = record;
|
|
5381
|
+
return useVariablesInText(props2.tooltipFormatter, {
|
|
5382
|
+
marker,
|
|
5383
|
+
seriesName,
|
|
5384
|
+
a: seriesName,
|
|
5385
|
+
b: name,
|
|
5386
|
+
c: value,
|
|
5387
|
+
...record
|
|
5388
|
+
});
|
|
5270
5389
|
},
|
|
5271
5390
|
axisPointer: {
|
|
5272
5391
|
type: "cross"
|
|
@@ -5496,7 +5615,7 @@
|
|
|
5496
5615
|
tooltipShow: true,
|
|
5497
5616
|
tooltipTextStyleColor: "",
|
|
5498
5617
|
tooltipTrigger: "item",
|
|
5499
|
-
tooltipFormatter: "",
|
|
5618
|
+
tooltipFormatter: "{marker} {a} {c}",
|
|
5500
5619
|
xAxisSplitLineShow: true,
|
|
5501
5620
|
xAxisSplitLineStyleColor: "#333",
|
|
5502
5621
|
xAxisLabelColor: "#333",
|
|
@@ -5628,13 +5747,6 @@
|
|
|
5628
5747
|
containLabel: props2.gridContainLabel
|
|
5629
5748
|
},
|
|
5630
5749
|
color: props2.colors,
|
|
5631
|
-
tooltip: {
|
|
5632
|
-
trigger: "axis",
|
|
5633
|
-
show: props2.tooltipShow,
|
|
5634
|
-
textStyle: {
|
|
5635
|
-
color: props2.tooltipTextStyleColor
|
|
5636
|
-
}
|
|
5637
|
-
},
|
|
5638
5750
|
legend: {
|
|
5639
5751
|
show: props2.legendShow,
|
|
5640
5752
|
orient: props2.legendOrient,
|
|
@@ -5644,6 +5756,49 @@
|
|
|
5644
5756
|
color: props2.legendTextStyleColor
|
|
5645
5757
|
}
|
|
5646
5758
|
},
|
|
5759
|
+
tooltip: {
|
|
5760
|
+
trigger: "axis",
|
|
5761
|
+
show: props2.tooltipShow,
|
|
5762
|
+
formatter: (params) => {
|
|
5763
|
+
const len = params.length;
|
|
5764
|
+
let formatter = "";
|
|
5765
|
+
let tooltipFormatter = props2.tooltipFormatter;
|
|
5766
|
+
if (tooltipFormatter === "") {
|
|
5767
|
+
tooltipFormatter = "{marker} {a} {c}";
|
|
5768
|
+
}
|
|
5769
|
+
for (let i = 0; i < len; i++) {
|
|
5770
|
+
const { marker, seriesName, name, value, data } = params[i] || {};
|
|
5771
|
+
if (i === 0) {
|
|
5772
|
+
formatter += `${name}<br/>`;
|
|
5773
|
+
}
|
|
5774
|
+
formatter += useVariablesInText(
|
|
5775
|
+
tooltipFormatter,
|
|
5776
|
+
{
|
|
5777
|
+
marker,
|
|
5778
|
+
name,
|
|
5779
|
+
value,
|
|
5780
|
+
seriesName,
|
|
5781
|
+
a: seriesName,
|
|
5782
|
+
b: name,
|
|
5783
|
+
c: value,
|
|
5784
|
+
...data
|
|
5785
|
+
},
|
|
5786
|
+
{
|
|
5787
|
+
useNewline: true,
|
|
5788
|
+
useSpace: true
|
|
5789
|
+
}
|
|
5790
|
+
);
|
|
5791
|
+
formatter += "<br/>";
|
|
5792
|
+
}
|
|
5793
|
+
return formatter;
|
|
5794
|
+
},
|
|
5795
|
+
valueFormatter(value) {
|
|
5796
|
+
return useValueFormatter(props2 == null ? void 0 : props2.tooltipFormatter, value);
|
|
5797
|
+
},
|
|
5798
|
+
textStyle: {
|
|
5799
|
+
color: props2.tooltipTextStyleColor
|
|
5800
|
+
}
|
|
5801
|
+
},
|
|
5647
5802
|
xAxis: {
|
|
5648
5803
|
type: "category",
|
|
5649
5804
|
data: vue.unref(dimensions),
|
|
@@ -5691,11 +5846,6 @@
|
|
|
5691
5846
|
let series2 = {
|
|
5692
5847
|
type,
|
|
5693
5848
|
yAxisIndex: axisIndex,
|
|
5694
|
-
tooltip: {
|
|
5695
|
-
valueFormatter(value) {
|
|
5696
|
-
return useValueFormatter(props2 == null ? void 0 : props2.tooltipFormatter, value);
|
|
5697
|
-
}
|
|
5698
|
-
},
|
|
5699
5849
|
...dataset[i]
|
|
5700
5850
|
};
|
|
5701
5851
|
if (type === "line") {
|
|
@@ -5964,7 +6114,7 @@
|
|
|
5964
6114
|
};
|
|
5965
6115
|
}
|
|
5966
6116
|
});
|
|
5967
|
-
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-
|
|
6117
|
+
const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-4d96083e"), n = n(), vue.popScopeId(), n);
|
|
5968
6118
|
const _hoisted_1$4 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-left border-item" }, null, -1));
|
|
5969
6119
|
const _hoisted_2$2 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "top-right border-item" }, null, -1));
|
|
5970
6120
|
const _hoisted_3 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "bottom-left border-item" }, null, -1));
|
|
@@ -6031,7 +6181,7 @@
|
|
|
6031
6181
|
])) : vue.createCommentVNode("", true)
|
|
6032
6182
|
], 4);
|
|
6033
6183
|
}
|
|
6034
|
-
const Border = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-
|
|
6184
|
+
const Border = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5], ["__scopeId", "data-v-4d96083e"]]);
|
|
6035
6185
|
const EcanBorder = withInstall(Border);
|
|
6036
6186
|
const modalProps = {
|
|
6037
6187
|
id: "",
|
|
@@ -6202,7 +6352,7 @@
|
|
|
6202
6352
|
} : void 0
|
|
6203
6353
|
]), 1032, ["getContainer", "wrapClassName", "visible", "width", "destroyOnClose", "style", "onOk", "onCancel"]);
|
|
6204
6354
|
}
|
|
6205
|
-
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
6355
|
+
const Modal = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-24c6a724"]]);
|
|
6206
6356
|
const EcanModal = withInstall(Modal);
|
|
6207
6357
|
const tabsProps = {
|
|
6208
6358
|
...props,
|
|
@@ -6291,7 +6441,7 @@
|
|
|
6291
6441
|
};
|
|
6292
6442
|
}
|
|
6293
6443
|
});
|
|
6294
|
-
const _withScopeId = (n) => (vue.pushScopeId("data-v-
|
|
6444
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-e32b1f6e"), n = n(), vue.popScopeId(), n);
|
|
6295
6445
|
const _hoisted_1$3 = ["onClick"];
|
|
6296
6446
|
const _hoisted_2$1 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode("div", { class: "tabs-content" }, null, -1));
|
|
6297
6447
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -6329,7 +6479,7 @@
|
|
|
6329
6479
|
_hoisted_2$1
|
|
6330
6480
|
], 4);
|
|
6331
6481
|
}
|
|
6332
|
-
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
6482
|
+
const Tabs = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3], ["__scopeId", "data-v-e32b1f6e"]]);
|
|
6333
6483
|
const EcanTabs = withInstall(Tabs);
|
|
6334
6484
|
const imageProps = {
|
|
6335
6485
|
...props,
|
|
@@ -6396,7 +6546,7 @@
|
|
|
6396
6546
|
style: vue.normalizeStyle(_ctx.style)
|
|
6397
6547
|
}, " \u8BF7\u4E0A\u4F20\u56FE\u7247 ", 4));
|
|
6398
6548
|
}
|
|
6399
|
-
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-
|
|
6549
|
+
const Image = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2], ["__scopeId", "data-v-f91836f6"]]);
|
|
6400
6550
|
const EcanImage = withInstall(Image);
|
|
6401
6551
|
const tableProps = {
|
|
6402
6552
|
...props,
|
|
@@ -6888,7 +7038,7 @@
|
|
|
6888
7038
|
}, 8, ["loading"])
|
|
6889
7039
|
], 4);
|
|
6890
7040
|
}
|
|
6891
|
-
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
7041
|
+
const Table = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-0963bd5a"]]);
|
|
6892
7042
|
const EcanTable = withInstall(Table);
|
|
6893
7043
|
const mapProps = {
|
|
6894
7044
|
...props,
|
|
@@ -7094,7 +7244,7 @@
|
|
|
7094
7244
|
])
|
|
7095
7245
|
], 4);
|
|
7096
7246
|
}
|
|
7097
|
-
const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-
|
|
7247
|
+
const Map$1 = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-322b32ca"]]);
|
|
7098
7248
|
const EcanMap = withInstall(Map$1);
|
|
7099
7249
|
const components = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7100
7250
|
__proto__: null,
|