@ecan-bi/datav 1.1.19 → 1.1.21
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 +158 -158
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/es/common/echarts/Echarts.js +3 -3
- package/es/common/echarts/composables/autoresize.js +1 -1
- package/es/common/skeleton/Skeleton.vue.js +17 -17
- package/es/common/skeleton/Skeleton.vue.js.map +1 -1
- package/es/common/skeleton/Skeleton.vue2.js +17 -17
- package/es/common/skeleton/Skeleton.vue2.js.map +1 -1
- package/es/common/skeleton/index.js +1 -1
- package/es/common/spin/Spin.vue.js +19 -29
- package/es/common/spin/Spin.vue.js.map +1 -1
- package/es/common/spin/Spin.vue2.js +29 -2
- package/es/common/spin/Spin.vue2.js.map +1 -1
- package/es/common/spin/Spin.vue3.js +2 -19
- package/es/common/spin/Spin.vue3.js.map +1 -1
- package/es/common/spin/index.js +1 -1
- package/es/components.js +25 -30
- package/es/components.js.map +1 -1
- package/es/container/border/Border.vue2.js +0 -4
- package/es/container/border/Border.vue2.js.map +1 -1
- package/es/container/border/index.js +0 -4
- package/es/container/border/index.js.map +1 -1
- package/es/container/border/props.js +1 -1
- package/es/container/modal/Modal.vue2.js +1 -4
- package/es/container/modal/Modal.vue2.js.map +1 -1
- package/es/container/modal/index.js +1 -5
- package/es/container/modal/index.js.map +1 -1
- package/es/container/tabs/Tabs.vue2.js +1 -5
- package/es/container/tabs/Tabs.vue2.js.map +1 -1
- package/es/container/tabs/index.js +1 -5
- package/es/container/tabs/index.js.map +1 -1
- package/es/container/tabs/props.js +1 -1
- package/es/control/button/Button.vue2.js +0 -4
- package/es/control/button/Button.vue2.js.map +1 -1
- package/es/control/button/index.js +0 -4
- package/es/control/button/index.js.map +1 -1
- package/es/control/button/props.js +1 -1
- package/es/control/checkbox/Checkbox.vue2.js +1 -3
- package/es/control/checkbox/Checkbox.vue2.js.map +1 -1
- package/es/control/checkbox/index.js +0 -4
- package/es/control/checkbox/index.js.map +1 -1
- package/es/control/checkbox/props.js +1 -1
- package/es/control/date-picker/DatePicker.vue2.js +1 -4
- package/es/control/date-picker/DatePicker.vue2.js.map +1 -1
- package/es/control/date-picker/index.js +0 -4
- package/es/control/date-picker/index.js.map +1 -1
- package/es/control/date-picker/props.js +1 -1
- package/es/control/input/Input.vue2.js +2 -4
- package/es/control/input/Input.vue2.js.map +1 -1
- package/es/control/input/index.js +1 -5
- package/es/control/input/index.js.map +1 -1
- package/es/control/input/props.js +1 -1
- package/es/control/range-picker/RangePicker.vue2.js +1 -4
- package/es/control/range-picker/RangePicker.vue2.js.map +1 -1
- package/es/control/range-picker/index.js +1 -5
- package/es/control/range-picker/index.js.map +1 -1
- package/es/control/range-picker/props.js +1 -1
- package/es/control/select/Select.vue2.js +0 -2
- package/es/control/select/Select.vue2.js.map +1 -1
- package/es/control/select/index.js +1 -5
- package/es/control/select/index.js.map +1 -1
- package/es/control/select/props.js +1 -1
- package/es/graph/bar/Bar.vue2.js +4 -5
- package/es/graph/bar/Bar.vue2.js.map +1 -1
- package/es/graph/bar/index.js +0 -4
- package/es/graph/bar/index.js.map +1 -1
- package/es/graph/bar/props.js +1 -1
- package/es/graph/combo-graph/ComboGraph.vue2.js +3 -4
- package/es/graph/combo-graph/ComboGraph.vue2.js.map +1 -1
- package/es/graph/combo-graph/index.js +0 -4
- package/es/graph/combo-graph/index.js.map +1 -1
- package/es/graph/combo-graph/props.js +1 -1
- package/es/graph/custom-graph/CustomGraph.vue2.js +0 -5
- package/es/graph/custom-graph/CustomGraph.vue2.js.map +1 -1
- package/es/graph/custom-graph/index.js +0 -3
- package/es/graph/custom-graph/index.js.map +1 -1
- package/es/graph/custom-graph/props.js +1 -1
- package/es/graph/line/Line.vue2.js +3 -4
- package/es/graph/line/Line.vue2.js.map +1 -1
- package/es/graph/line/index.js +1 -5
- package/es/graph/line/index.js.map +1 -1
- package/es/graph/line/props.js +1 -1
- package/es/graph/pie/Pie.vue2.js +5 -6
- package/es/graph/pie/Pie.vue2.js.map +1 -1
- package/es/graph/pie/index.js +1 -5
- package/es/graph/pie/index.js.map +1 -1
- package/es/graph/pie/props.js +1 -1
- package/es/graph/scatter/Scatter.vue2.js +4 -6
- package/es/graph/scatter/Scatter.vue2.js.map +1 -1
- package/es/graph/scatter/index.js +1 -5
- package/es/graph/scatter/index.js.map +1 -1
- package/es/graph/scatter/props.js +1 -1
- package/es/hooks/useDownloadFile.js +2 -1
- package/es/hooks/useDownloadFile.js.map +1 -1
- package/es/hooks/useRequestData.js +1 -1
- package/es/index.js +6094 -6094
- package/es/map/map/Map.vue2.js +1 -5
- package/es/map/map/Map.vue2.js.map +1 -1
- package/es/map/map/index.js +1 -4
- package/es/map/map/index.js.map +1 -1
- package/es/map/map/props.js +1 -1
- package/es/media/iframe/Iframe.vue2.js +1 -5
- package/es/media/iframe/Iframe.vue2.js.map +1 -1
- package/es/media/iframe/index.js +1 -4
- package/es/media/iframe/index.js.map +1 -1
- package/es/media/iframe/props.js +1 -1
- package/es/media/image/Image.vue2.js +2 -6
- package/es/media/image/Image.vue2.js.map +1 -1
- package/es/media/image/index.js +1 -4
- package/es/media/image/index.js.map +1 -1
- package/es/media/image/props.js +1 -1
- package/es/node_modules/echarts/lib/core/Scheduler.js +1 -1
- package/es/node_modules/echarts/lib/core/echarts.js +4 -4
- package/es/node_modules/echarts/lib/data/helper/sourceHelper.js +1 -1
- package/es/node_modules/echarts/lib/util/graphic.js +1 -1
- package/es/node_modules/zrender/lib/animation/Animator.js +2 -1
- package/es/node_modules/zrender/lib/animation/Animator.js.map +1 -1
- package/es/node_modules/zrender/lib/core/util.js +0 -2
- package/es/node_modules/zrender/lib/core/util.js.map +1 -1
- package/es/node_modules/zrender/lib/graphic/Image.js +1 -1
- package/es/setting/page-config/PageConfig.vue2.js +0 -4
- package/es/setting/page-config/PageConfig.vue2.js.map +1 -1
- package/es/setting/page-config/index.js +1 -4
- package/es/setting/page-config/index.js.map +1 -1
- package/es/setting/provider-config/ProviderConfig.vue2.js +1 -4
- package/es/setting/provider-config/ProviderConfig.vue2.js.map +1 -1
- package/es/setting/provider-config/index.js +1 -4
- package/es/setting/provider-config/index.js.map +1 -1
- package/es/table/table/Table.vue2.js +3 -4
- package/es/table/table/Table.vue2.js.map +1 -1
- package/es/table/table/index.js +1 -5
- package/es/table/table/index.js.map +1 -1
- package/es/table/table/props.js +1 -1
- package/es/text/list/List.vue2.js +2 -5
- package/es/text/list/List.vue2.js.map +1 -1
- package/es/text/list/index.js +1 -5
- package/es/text/list/index.js.map +1 -1
- package/es/text/list/props.js +1 -1
- package/es/text/proportion/Proportion.vue2.js +2 -4
- package/es/text/proportion/Proportion.vue2.js.map +1 -1
- package/es/text/proportion/index.js +1 -5
- package/es/text/proportion/index.js.map +1 -1
- package/es/text/proportion/props.js +1 -1
- package/es/text/text/Text.vue2.js +2 -5
- package/es/text/text/Text.vue2.js.map +1 -1
- package/es/text/text/index.js +1 -5
- package/es/text/text/index.js.map +1 -1
- package/es/text/text/props.js +1 -1
- package/es/text/time-display/TimeDisplay.vue2.js +0 -5
- package/es/text/time-display/TimeDisplay.vue2.js.map +1 -1
- package/es/text/time-display/index.js +1 -4
- package/es/text/time-display/index.js.map +1 -1
- package/es/text/time-display/props.js +1 -1
- package/es/utils/request.js +1 -1
- package/lib/common/echarts/Echarts.js +3 -3
- package/lib/common/echarts/composables/autoresize.js +3 -3
- package/lib/common/echarts/composables/autoresize.js.map +1 -1
- package/lib/common/skeleton/Skeleton.vue.js +16 -16
- package/lib/common/skeleton/Skeleton.vue.js.map +1 -1
- package/lib/common/skeleton/Skeleton.vue2.js +16 -16
- package/lib/common/skeleton/Skeleton.vue2.js.map +1 -1
- package/lib/common/skeleton/index.js +1 -1
- package/lib/common/spin/Spin.vue.js +18 -28
- package/lib/common/spin/Spin.vue.js.map +1 -1
- package/lib/common/spin/Spin.vue2.js +29 -2
- package/lib/common/spin/Spin.vue2.js.map +1 -1
- package/lib/common/spin/Spin.vue3.js +2 -19
- package/lib/common/spin/Spin.vue3.js.map +1 -1
- package/lib/common/spin/index.js +1 -1
- package/lib/components.js +51 -56
- package/lib/components.js.map +1 -1
- package/lib/container/border/Border.vue2.js +0 -4
- package/lib/container/border/Border.vue2.js.map +1 -1
- package/lib/container/border/index.js +0 -4
- package/lib/container/border/index.js.map +1 -1
- package/lib/container/modal/Modal.vue2.js +1 -4
- package/lib/container/modal/Modal.vue2.js.map +1 -1
- package/lib/container/modal/index.js +0 -4
- package/lib/container/modal/index.js.map +1 -1
- package/lib/container/tabs/Tabs.vue2.js +1 -5
- package/lib/container/tabs/Tabs.vue2.js.map +1 -1
- package/lib/container/tabs/index.js +0 -4
- package/lib/container/tabs/index.js.map +1 -1
- package/lib/control/button/Button.vue2.js +0 -4
- package/lib/control/button/Button.vue2.js.map +1 -1
- package/lib/control/button/index.js +0 -4
- package/lib/control/button/index.js.map +1 -1
- package/lib/control/checkbox/Checkbox.vue2.js +1 -3
- package/lib/control/checkbox/Checkbox.vue2.js.map +1 -1
- package/lib/control/checkbox/index.js +0 -4
- package/lib/control/checkbox/index.js.map +1 -1
- package/lib/control/date-picker/DatePicker.vue2.js +1 -4
- package/lib/control/date-picker/DatePicker.vue2.js.map +1 -1
- package/lib/control/date-picker/index.js +0 -4
- package/lib/control/date-picker/index.js.map +1 -1
- package/lib/control/input/Input.vue2.js +2 -4
- package/lib/control/input/Input.vue2.js.map +1 -1
- package/lib/control/input/index.js +0 -4
- package/lib/control/input/index.js.map +1 -1
- package/lib/control/range-picker/RangePicker.vue2.js +1 -4
- package/lib/control/range-picker/RangePicker.vue2.js.map +1 -1
- package/lib/control/range-picker/index.js +0 -4
- package/lib/control/range-picker/index.js.map +1 -1
- package/lib/control/select/Select.vue2.js +0 -2
- package/lib/control/select/Select.vue2.js.map +1 -1
- package/lib/control/select/index.js +0 -4
- package/lib/control/select/index.js.map +1 -1
- package/lib/graph/bar/Bar.vue2.js +4 -5
- package/lib/graph/bar/Bar.vue2.js.map +1 -1
- package/lib/graph/bar/index.js +0 -4
- package/lib/graph/bar/index.js.map +1 -1
- package/lib/graph/combo-graph/ComboGraph.vue2.js +3 -4
- package/lib/graph/combo-graph/ComboGraph.vue2.js.map +1 -1
- package/lib/graph/combo-graph/index.js +0 -4
- package/lib/graph/combo-graph/index.js.map +1 -1
- package/lib/graph/custom-graph/CustomGraph.vue2.js +0 -5
- package/lib/graph/custom-graph/CustomGraph.vue2.js.map +1 -1
- package/lib/graph/custom-graph/index.js +0 -3
- package/lib/graph/custom-graph/index.js.map +1 -1
- package/lib/graph/line/Line.vue2.js +3 -4
- package/lib/graph/line/Line.vue2.js.map +1 -1
- package/lib/graph/line/index.js +0 -4
- package/lib/graph/line/index.js.map +1 -1
- package/lib/graph/pie/Pie.vue2.js +5 -6
- package/lib/graph/pie/Pie.vue2.js.map +1 -1
- package/lib/graph/pie/index.js +0 -4
- package/lib/graph/pie/index.js.map +1 -1
- package/lib/graph/scatter/Scatter.vue2.js +4 -6
- package/lib/graph/scatter/Scatter.vue2.js.map +1 -1
- package/lib/graph/scatter/index.js +0 -4
- package/lib/graph/scatter/index.js.map +1 -1
- package/lib/hooks/useDownloadFile.js +2 -1
- package/lib/hooks/useDownloadFile.js.map +1 -1
- package/lib/hooks/useRequestData.js +5 -5
- package/lib/hooks/useRequestData.js.map +1 -1
- package/lib/index.js +6094 -6094
- package/lib/map/map/Map.vue2.js +1 -5
- package/lib/map/map/Map.vue2.js.map +1 -1
- package/lib/map/map/index.js +0 -3
- package/lib/map/map/index.js.map +1 -1
- package/lib/media/iframe/Iframe.vue2.js +1 -5
- package/lib/media/iframe/Iframe.vue2.js.map +1 -1
- package/lib/media/iframe/index.js +0 -3
- package/lib/media/iframe/index.js.map +1 -1
- package/lib/media/image/Image.vue2.js +2 -6
- package/lib/media/image/Image.vue2.js.map +1 -1
- package/lib/media/image/index.js +0 -3
- package/lib/media/image/index.js.map +1 -1
- package/lib/node_modules/echarts/lib/core/echarts.js +1 -1
- package/lib/node_modules/zrender/lib/animation/Animator.js +2 -1
- package/lib/node_modules/zrender/lib/animation/Animator.js.map +1 -1
- package/lib/node_modules/zrender/lib/core/util.js +0 -2
- package/lib/node_modules/zrender/lib/core/util.js.map +1 -1
- package/lib/setting/page-config/PageConfig.vue2.js +0 -4
- package/lib/setting/page-config/PageConfig.vue2.js.map +1 -1
- package/lib/setting/page-config/index.js +0 -3
- package/lib/setting/page-config/index.js.map +1 -1
- package/lib/setting/provider-config/ProviderConfig.vue2.js +2 -5
- package/lib/setting/provider-config/ProviderConfig.vue2.js.map +1 -1
- package/lib/setting/provider-config/index.js +0 -3
- package/lib/setting/provider-config/index.js.map +1 -1
- package/lib/table/table/Table.vue2.js +3 -4
- package/lib/table/table/Table.vue2.js.map +1 -1
- package/lib/table/table/index.js +0 -4
- package/lib/table/table/index.js.map +1 -1
- package/lib/text/list/List.vue2.js +2 -5
- package/lib/text/list/List.vue2.js.map +1 -1
- package/lib/text/list/index.js +0 -4
- package/lib/text/list/index.js.map +1 -1
- package/lib/text/proportion/Proportion.vue2.js +2 -4
- package/lib/text/proportion/Proportion.vue2.js.map +1 -1
- package/lib/text/proportion/index.js +0 -4
- package/lib/text/proportion/index.js.map +1 -1
- package/lib/text/text/Text.vue2.js +2 -5
- package/lib/text/text/Text.vue2.js.map +1 -1
- package/lib/text/text/index.js +0 -4
- package/lib/text/text/index.js.map +1 -1
- package/lib/text/time-display/TimeDisplay.vue2.js +0 -5
- package/lib/text/time-display/TimeDisplay.vue2.js.map +1 -1
- package/lib/text/time-display/index.js +0 -3
- package/lib/text/time-display/index.js.map +1 -1
- package/lib/utils/request.js +2 -2
- package/lib/utils/request.js.map +1 -1
- package/package.json +4 -4
- package/es/_virtual/_commonjsHelpers.js +0 -7
- package/es/_virtual/_commonjsHelpers.js.map +0 -1
- package/es/_virtual/axios.js +0 -14
- package/es/_virtual/axios.js.map +0 -1
- package/es/_virtual/index.js +0 -14
- package/es/_virtual/index.js.map +0 -1
- package/es/node_modules/axios/index.js +0 -12
- package/es/node_modules/axios/index.js.map +0 -1
- package/es/node_modules/axios/lib/adapters/xhr.js +0 -166
- package/es/node_modules/axios/lib/adapters/xhr.js.map +0 -1
- package/es/node_modules/axios/lib/axios.js +0 -44
- package/es/node_modules/axios/lib/axios.js.map +0 -1
- package/es/node_modules/axios/lib/cancel/Cancel.js +0 -20
- package/es/node_modules/axios/lib/cancel/Cancel.js.map +0 -1
- package/es/node_modules/axios/lib/cancel/CancelToken.js +0 -88
- package/es/node_modules/axios/lib/cancel/CancelToken.js.map +0 -1
- package/es/node_modules/axios/lib/cancel/isCancel.js +0 -15
- package/es/node_modules/axios/lib/cancel/isCancel.js.map +0 -1
- package/es/node_modules/axios/lib/core/Axios.js +0 -121
- package/es/node_modules/axios/lib/core/Axios.js.map +0 -1
- package/es/node_modules/axios/lib/core/InterceptorManager.js +0 -31
- package/es/node_modules/axios/lib/core/InterceptorManager.js.map +0 -1
- package/es/node_modules/axios/lib/core/buildFullPath.js +0 -22
- package/es/node_modules/axios/lib/core/buildFullPath.js.map +0 -1
- package/es/node_modules/axios/lib/core/createError.js +0 -18
- package/es/node_modules/axios/lib/core/createError.js.map +0 -1
- package/es/node_modules/axios/lib/core/dispatchRequest.js +0 -67
- package/es/node_modules/axios/lib/core/dispatchRequest.js.map +0 -1
- package/es/node_modules/axios/lib/core/enhanceError.js +0 -33
- package/es/node_modules/axios/lib/core/enhanceError.js.map +0 -1
- package/es/node_modules/axios/lib/core/mergeConfig.js +0 -80
- package/es/node_modules/axios/lib/core/mergeConfig.js.map +0 -1
- package/es/node_modules/axios/lib/core/settle.js +0 -28
- package/es/node_modules/axios/lib/core/settle.js.map +0 -1
- package/es/node_modules/axios/lib/core/transformData.js +0 -15
- package/es/node_modules/axios/lib/core/transformData.js.map +0 -1
- package/es/node_modules/axios/lib/defaults.js +0 -119
- package/es/node_modules/axios/lib/defaults.js.map +0 -1
- package/es/node_modules/axios/lib/env/data.js +0 -15
- package/es/node_modules/axios/lib/env/data.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/bind.js +0 -13
- package/es/node_modules/axios/lib/helpers/bind.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/buildURL.js +0 -49
- package/es/node_modules/axios/lib/helpers/buildURL.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/combineURLs.js +0 -15
- package/es/node_modules/axios/lib/helpers/combineURLs.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/cookies.js +0 -52
- package/es/node_modules/axios/lib/helpers/cookies.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
- package/es/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/isAxiosError.js +0 -17
- package/es/node_modules/axios/lib/helpers/isAxiosError.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -46
- package/es/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -14
- package/es/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/parseHeaders.js +0 -58
- package/es/node_modules/axios/lib/helpers/parseHeaders.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/spread.js +0 -17
- package/es/node_modules/axios/lib/helpers/spread.js.map +0 -1
- package/es/node_modules/axios/lib/helpers/validator.js +0 -59
- package/es/node_modules/axios/lib/helpers/validator.js.map +0 -1
- package/es/node_modules/axios/lib/utils.js +0 -151
- package/es/node_modules/axios/lib/utils.js.map +0 -1
- package/es/node_modules/resize-detector/esm/index.js +0 -259
- package/es/node_modules/resize-detector/esm/index.js.map +0 -1
- package/lib/_virtual/_commonjsHelpers.js +0 -7
- package/lib/_virtual/_commonjsHelpers.js.map +0 -1
- package/lib/_virtual/axios.js +0 -13
- package/lib/_virtual/axios.js.map +0 -1
- package/lib/_virtual/index.js +0 -13
- package/lib/_virtual/index.js.map +0 -1
- package/lib/node_modules/axios/index.js +0 -12
- package/lib/node_modules/axios/index.js.map +0 -1
- package/lib/node_modules/axios/lib/adapters/xhr.js +0 -166
- package/lib/node_modules/axios/lib/adapters/xhr.js.map +0 -1
- package/lib/node_modules/axios/lib/axios.js +0 -47
- package/lib/node_modules/axios/lib/axios.js.map +0 -1
- package/lib/node_modules/axios/lib/cancel/Cancel.js +0 -20
- package/lib/node_modules/axios/lib/cancel/Cancel.js.map +0 -1
- package/lib/node_modules/axios/lib/cancel/CancelToken.js +0 -88
- package/lib/node_modules/axios/lib/cancel/CancelToken.js.map +0 -1
- package/lib/node_modules/axios/lib/cancel/isCancel.js +0 -15
- package/lib/node_modules/axios/lib/cancel/isCancel.js.map +0 -1
- package/lib/node_modules/axios/lib/core/Axios.js +0 -121
- package/lib/node_modules/axios/lib/core/Axios.js.map +0 -1
- package/lib/node_modules/axios/lib/core/InterceptorManager.js +0 -31
- package/lib/node_modules/axios/lib/core/InterceptorManager.js.map +0 -1
- package/lib/node_modules/axios/lib/core/buildFullPath.js +0 -22
- package/lib/node_modules/axios/lib/core/buildFullPath.js.map +0 -1
- package/lib/node_modules/axios/lib/core/createError.js +0 -18
- package/lib/node_modules/axios/lib/core/createError.js.map +0 -1
- package/lib/node_modules/axios/lib/core/dispatchRequest.js +0 -67
- package/lib/node_modules/axios/lib/core/dispatchRequest.js.map +0 -1
- package/lib/node_modules/axios/lib/core/enhanceError.js +0 -33
- package/lib/node_modules/axios/lib/core/enhanceError.js.map +0 -1
- package/lib/node_modules/axios/lib/core/mergeConfig.js +0 -80
- package/lib/node_modules/axios/lib/core/mergeConfig.js.map +0 -1
- package/lib/node_modules/axios/lib/core/settle.js +0 -28
- package/lib/node_modules/axios/lib/core/settle.js.map +0 -1
- package/lib/node_modules/axios/lib/core/transformData.js +0 -15
- package/lib/node_modules/axios/lib/core/transformData.js.map +0 -1
- package/lib/node_modules/axios/lib/defaults.js +0 -119
- package/lib/node_modules/axios/lib/defaults.js.map +0 -1
- package/lib/node_modules/axios/lib/env/data.js +0 -15
- package/lib/node_modules/axios/lib/env/data.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/bind.js +0 -13
- package/lib/node_modules/axios/lib/helpers/bind.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/buildURL.js +0 -49
- package/lib/node_modules/axios/lib/helpers/buildURL.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/combineURLs.js +0 -15
- package/lib/node_modules/axios/lib/helpers/combineURLs.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/cookies.js +0 -52
- package/lib/node_modules/axios/lib/helpers/cookies.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -15
- package/lib/node_modules/axios/lib/helpers/isAbsoluteURL.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/isAxiosError.js +0 -17
- package/lib/node_modules/axios/lib/helpers/isAxiosError.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -46
- package/lib/node_modules/axios/lib/helpers/isURLSameOrigin.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/normalizeHeaderName.js +0 -14
- package/lib/node_modules/axios/lib/helpers/normalizeHeaderName.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/parseHeaders.js +0 -58
- package/lib/node_modules/axios/lib/helpers/parseHeaders.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/spread.js +0 -17
- package/lib/node_modules/axios/lib/helpers/spread.js.map +0 -1
- package/lib/node_modules/axios/lib/helpers/validator.js +0 -59
- package/lib/node_modules/axios/lib/helpers/validator.js.map +0 -1
- package/lib/node_modules/axios/lib/utils.js +0 -151
- package/lib/node_modules/axios/lib/utils.js.map +0 -1
- package/lib/node_modules/resize-detector/esm/index.js +0 -259
- package/lib/node_modules/resize-detector/esm/index.js.map +0 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, shallowRef, inject, toRefs, computed, unref, watch, watchEffect, onMounted, onUnmounted, h, nextTick } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import "./style.css.js";
|
|
3
|
+
import { omitOn } from "./utils.js";
|
|
3
4
|
import { autoresizeProps, useAutoresize } from "./composables/autoresize.js";
|
|
4
5
|
import { loadingProps, useLoading } from "./composables/loading.js";
|
|
5
6
|
import { LOADING_OPTIONS_KEY } from "./composables/loading.js";
|
|
6
|
-
import "./
|
|
7
|
-
import { omitOn } from "./utils.js";
|
|
7
|
+
import { usePublicAPI } from "./composables/api.js";
|
|
8
8
|
import { init } from "../../node_modules/echarts/lib/core/echarts.js";
|
|
9
9
|
const TAG_NAME = "x-vue-echarts";
|
|
10
10
|
const THEME_KEY = "ecTheme";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch } from "vue";
|
|
2
|
-
import { addListener, removeListener } from "
|
|
2
|
+
import { addListener, removeListener } from "resize-detector";
|
|
3
3
|
import { throttle } from "../../../node_modules/echarts/lib/util/throttle.js";
|
|
4
4
|
function useAutoresize(chart, autoresize, root) {
|
|
5
5
|
let resizeListener = null;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "../../
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
loading:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import _sfc_main from "./Skeleton.vue2.js";
|
|
2
|
+
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot } from "vue";
|
|
3
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5
|
+
const _component_a_skeleton = resolveComponent("a-skeleton");
|
|
6
|
+
return openBlock(), createBlock(_component_a_skeleton, {
|
|
7
|
+
active: "",
|
|
8
|
+
loading: _ctx.loading
|
|
9
|
+
}, {
|
|
10
|
+
default: withCtx(() => [
|
|
11
|
+
renderSlot(_ctx.$slots, "default")
|
|
12
|
+
]),
|
|
13
|
+
_: 3
|
|
14
|
+
}, 8, ["loading"]);
|
|
15
|
+
}
|
|
16
|
+
const Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
Skeleton as default
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=Skeleton.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.vue.js","sources":["../../../src/common/skeleton/Skeleton.vue"],"sourcesContent":["<template>\n <a-skeleton active :loading=\"loading\">\n <slot></slot>\n </a-skeleton>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { Skeleton as ASkeleton } from 'ant-design-vue'\nimport 'ant-design-vue/es/skeleton/style'\nexport default defineComponent({\n name: 'Skeleton',\n props: {\n loading: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASkeleton\n }\n})\n</script>\n\n<style scoped>\n\n</style>\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Skeleton.vue.js","sources":["../../../src/common/skeleton/Skeleton.vue"],"sourcesContent":["<template>\n <a-skeleton active :loading=\"loading\">\n <slot></slot>\n </a-skeleton>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { Skeleton as ASkeleton } from 'ant-design-vue'\nimport 'ant-design-vue/es/skeleton/style'\nexport default defineComponent({\n name: 'Skeleton',\n props: {\n loading: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASkeleton\n }\n})\n</script>\n\n<style scoped>\n\n</style>\n"],"names":["_resolveComponent","_openBlock","_createBlock"],"mappings":";;;;gCACEA,iBAEa,YAAA;AAFO,SAAAC,UAAA,GAAgBC,YAAA,uBAAA;AAAA,IAAA,QAAA;AAAA;;;;;;;;;"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
loading:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
1
|
+
import { defineComponent } from "vue";
|
|
2
|
+
import { Skeleton } from "ant-design-vue";
|
|
3
|
+
import "../../node_modules/ant-design-vue/es/style/default.less.js";
|
|
4
|
+
import "../../node_modules/ant-design-vue/es/skeleton/style/index.less.js";
|
|
5
|
+
const _sfc_main = defineComponent({
|
|
6
|
+
name: "Skeleton",
|
|
7
|
+
props: {
|
|
8
|
+
loading: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: false
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
components: {
|
|
14
|
+
ASkeleton: Skeleton
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
17
|
export {
|
|
18
|
-
|
|
18
|
+
_sfc_main as default
|
|
19
19
|
};
|
|
20
20
|
//# sourceMappingURL=Skeleton.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.vue2.js","sources":["../../../src/common/skeleton/Skeleton.vue"],"sourcesContent":["<template>\n <a-skeleton active :loading=\"loading\">\n <slot></slot>\n </a-skeleton>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { Skeleton as ASkeleton } from 'ant-design-vue'\nimport 'ant-design-vue/es/skeleton/style'\nexport default defineComponent({\n name: 'Skeleton',\n props: {\n loading: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASkeleton\n }\n})\n</script>\n\n<style scoped>\n\n</style>\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Skeleton.vue2.js","sources":["../../../src/common/skeleton/Skeleton.vue"],"sourcesContent":["<template>\n <a-skeleton active :loading=\"loading\">\n <slot></slot>\n </a-skeleton>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { Skeleton as ASkeleton } from 'ant-design-vue'\nimport 'ant-design-vue/es/skeleton/style'\nexport default defineComponent({\n name: 'Skeleton',\n props: {\n loading: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASkeleton\n }\n})\n</script>\n\n<style scoped>\n\n</style>\n"],"names":["ASkeleton"],"mappings":";;;;AAUA,MAAA,YAAe,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,IACL,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IAAA,WACVA;AAAAA,EACF;AACF,CAAC;"}
|
|
@@ -1,32 +1,22 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import "../../
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
fontSize: "24px",
|
|
20
|
-
color: "#1890ff"
|
|
21
|
-
},
|
|
22
|
-
spin: true
|
|
23
|
-
});
|
|
24
|
-
return {
|
|
25
|
-
indicator
|
|
26
|
-
};
|
|
27
|
-
}
|
|
28
|
-
});
|
|
1
|
+
import _sfc_main from "./Spin.vue2.js";
|
|
2
|
+
import { resolveComponent, openBlock, createElementBlock, createBlock, renderSlot } from "vue";
|
|
3
|
+
import "./Spin.vue3.js";
|
|
4
|
+
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const _hoisted_1 = { class: "spin-wrapper" };
|
|
6
|
+
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7
|
+
const _component_a_spin = resolveComponent("a-spin");
|
|
8
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9
|
+
_ctx.spinning ? (openBlock(), createBlock(_component_a_spin, {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "spin",
|
|
12
|
+
spinning: _ctx.spinning,
|
|
13
|
+
indicator: _ctx.indicator,
|
|
14
|
+
tip: "加载中..."
|
|
15
|
+
}, null, 8, ["spinning", "indicator"])) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
16
|
+
]);
|
|
17
|
+
}
|
|
18
|
+
const Spin = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
29
19
|
export {
|
|
30
|
-
|
|
20
|
+
Spin as default
|
|
31
21
|
};
|
|
32
22
|
//# sourceMappingURL=Spin.vue.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spin.vue.js","sources":["../../../src/common/spin/Spin.vue"],"sourcesContent":["<template>\n <div class=\"spin-wrapper\">\n <a-spin\n class=\"spin\"\n :spinning=\"spinning\"\n v-if=\"spinning\"\n :indicator=\"indicator\"\n tip=\"加载中...\"\n >\n </a-spin>\n <slot v-else></slot>\n </div>\n</template>\n<script lang=\"ts\">\nimport { Spin as ASpin } from 'ant-design-vue'\nimport { LoadingOutlined } from '@ant-design/icons-vue'\nimport { defineComponent, h } from 'vue'\nimport 'ant-design-vue/es/spin/style'\nexport default defineComponent({\n props: {\n spinning: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASpin\n },\n setup () {\n const indicator = h(LoadingOutlined, {\n style: {\n fontSize: '24px',\n color: '#1890ff'\n },\n spin: true\n })\n return {\n indicator\n }\n }\n})\n</script>\n\n<style>\n.spin-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.spin {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n</style>\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Spin.vue.js","sources":["../../../src/common/spin/Spin.vue"],"sourcesContent":["<template>\n <div class=\"spin-wrapper\">\n <a-spin\n class=\"spin\"\n :spinning=\"spinning\"\n v-if=\"spinning\"\n :indicator=\"indicator\"\n tip=\"加载中...\"\n >\n </a-spin>\n <slot v-else></slot>\n </div>\n</template>\n<script lang=\"ts\">\nimport { Spin as ASpin } from 'ant-design-vue'\nimport { LoadingOutlined } from '@ant-design/icons-vue'\nimport { defineComponent, h } from 'vue'\nimport 'ant-design-vue/es/spin/style'\nexport default defineComponent({\n props: {\n spinning: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASpin\n },\n setup () {\n const indicator = h(LoadingOutlined, {\n style: {\n fontSize: '24px',\n color: '#1890ff'\n },\n spin: true\n })\n return {\n indicator\n }\n }\n})\n</script>\n\n<style>\n.spin-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.spin {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n</style>\n"],"names":["_resolveComponent","_createElementBlock","_openBlock","_createBlock","_renderSlot"],"mappings":";;;;;;AACE,QAAA,oBAAAA,iBAUM,QAVN;sBACEC,mBAOS,OAAA,YAAA;AAAA,IAAA,KAAA,YAAAC,aANKC,YAAA,mBAAA;AAAA,MACX,KAAA;AAAA,MAEA,OAAA;AAAA,MACD,UAAI,KAAQ;AAAA,MAAA,WAAA,KAAA;AAAA,MAGd,KAAA;AAAA,IAAA,GAAA,MAAA,GAAA,CAAA,YAAA,WAAA,CAAA,KAAAC,WAAA,KAAA,QAAA,WAAA,EAAA,KAAA,EAAA,CAAA;AAAA;;;"}
|
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
import { Spin } from "ant-design-vue";
|
|
2
|
+
import { defineComponent, h } from "vue";
|
|
3
|
+
import "../../node_modules/ant-design-vue/es/style/default.less.js";
|
|
4
|
+
import "../../node_modules/ant-design-vue/es/spin/style/index.less.js";
|
|
5
|
+
import LoadingOutlined from "../../node_modules/@ant-design/icons-vue/es/icons/LoadingOutlined.js";
|
|
6
|
+
const _sfc_main = defineComponent({
|
|
7
|
+
props: {
|
|
8
|
+
spinning: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: false
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
components: {
|
|
14
|
+
ASpin: Spin
|
|
15
|
+
},
|
|
16
|
+
setup() {
|
|
17
|
+
const indicator = h(LoadingOutlined, {
|
|
18
|
+
style: {
|
|
19
|
+
fontSize: "24px",
|
|
20
|
+
color: "#1890ff"
|
|
21
|
+
},
|
|
22
|
+
spin: true
|
|
23
|
+
});
|
|
24
|
+
return {
|
|
25
|
+
indicator
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
});
|
|
2
29
|
export {
|
|
3
|
-
|
|
30
|
+
_sfc_main as default
|
|
4
31
|
};
|
|
5
32
|
//# sourceMappingURL=Spin.vue2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spin.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"Spin.vue2.js","sources":["../../../src/common/spin/Spin.vue"],"sourcesContent":["<template>\n <div class=\"spin-wrapper\">\n <a-spin\n class=\"spin\"\n :spinning=\"spinning\"\n v-if=\"spinning\"\n :indicator=\"indicator\"\n tip=\"加载中...\"\n >\n </a-spin>\n <slot v-else></slot>\n </div>\n</template>\n<script lang=\"ts\">\nimport { Spin as ASpin } from 'ant-design-vue'\nimport { LoadingOutlined } from '@ant-design/icons-vue'\nimport { defineComponent, h } from 'vue'\nimport 'ant-design-vue/es/spin/style'\nexport default defineComponent({\n props: {\n spinning: {\n type: Boolean,\n default: false\n }\n },\n components: {\n ASpin\n },\n setup () {\n const indicator = h(LoadingOutlined, {\n style: {\n fontSize: '24px',\n color: '#1890ff'\n },\n spin: true\n })\n return {\n indicator\n }\n }\n})\n</script>\n\n<style>\n.spin-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.spin {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n</style>\n"],"names":["ASpin"],"mappings":";;;;;AAkBA,MAAA,YAAe,gBAAgB;AAAA,EAC7B,OAAO;AAAA,IACL,UAAU;AAAA,MACR,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,EACF;AAAA,EACA,YAAY;AAAA,IAAA,OACVA;AAAAA,EACF;AAAA,EACA,QAAS;AACD,UAAA,YAAY,EAAE,iBAAiB;AAAA,MACnC,OAAO;AAAA,QACL,UAAU;AAAA,QACV,OAAO;AAAA,MACT;AAAA,MACA,MAAM;AAAA,IAAA,CACP;AACM,WAAA;AAAA,MACL;AAAA,IAAA;AAAA,EAEJ;AACF,CAAC;"}
|
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import { resolveComponent, openBlock, createElementBlock, createBlock, renderSlot } from "vue";
|
|
3
|
-
import "./Spin.vue2.js";
|
|
4
|
-
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const _hoisted_1 = { class: "spin-wrapper" };
|
|
6
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7
|
-
const _component_a_spin = resolveComponent("a-spin");
|
|
8
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
9
|
-
_ctx.spinning ? (openBlock(), createBlock(_component_a_spin, {
|
|
10
|
-
key: 0,
|
|
11
|
-
class: "spin",
|
|
12
|
-
spinning: _ctx.spinning,
|
|
13
|
-
indicator: _ctx.indicator,
|
|
14
|
-
tip: "加载中..."
|
|
15
|
-
}, null, 8, ["spinning", "indicator"])) : renderSlot(_ctx.$slots, "default", { key: 1 })
|
|
16
|
-
]);
|
|
17
|
-
}
|
|
18
|
-
const Spin = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
1
|
+
const Spin_vue_vue_type_style_index_0_lang = "";
|
|
19
2
|
export {
|
|
20
|
-
|
|
3
|
+
Spin_vue_vue_type_style_index_0_lang as default
|
|
21
4
|
};
|
|
22
5
|
//# sourceMappingURL=Spin.vue3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Spin.vue3.js","sources":[
|
|
1
|
+
{"version":3,"file":"Spin.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/es/common/spin/index.js
CHANGED
package/es/components.js
CHANGED
|
@@ -1,59 +1,54 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import "./common/spin/Spin.vue.js";
|
|
3
|
-
import "vue";
|
|
4
|
-
import "./common/spin/Spin.vue2.js";
|
|
5
|
-
import "./common/skeleton/Skeleton.vue.js";
|
|
1
|
+
import { pageConfig, pageConfigComponentProps } from "./setting/page-config/props.js";
|
|
6
2
|
import { EcanPageConfig } from "./setting/page-config/index.js";
|
|
3
|
+
import { providerConfig, providerConfigComponentProps } from "./setting/provider-config/props.js";
|
|
7
4
|
import { EcanProviderConfig } from "./setting/provider-config/index.js";
|
|
5
|
+
import { textComponentProps, textEvents, textProps } from "./text/text/props.js";
|
|
8
6
|
import { EcanText } from "./text/text/index.js";
|
|
9
7
|
import { EcanScrollText } from "./text/scroll-text/index.js";
|
|
10
|
-
import { EcanTimeDisplay } from "./text/time-display/index.js";
|
|
11
|
-
import { EcanList } from "./text/list/index.js";
|
|
12
|
-
import { EcanProportion } from "./text/proportion/index.js";
|
|
13
|
-
import { EcanInput } from "./control/input/index.js";
|
|
14
|
-
import { EcanDatePicker } from "./control/date-picker/index.js";
|
|
15
|
-
import { EcanSelect } from "./control/select/index.js";
|
|
16
|
-
import { EcanRangePicker } from "./control/range-picker/index.js";
|
|
17
|
-
import { EcanButton } from "./control/button/index.js";
|
|
18
|
-
import { EcanCheckbox } from "./control/checkbox/index.js";
|
|
19
|
-
import { EcanPie } from "./graph/pie/index.js";
|
|
20
|
-
import { EcanLine } from "./graph/line/index.js";
|
|
21
|
-
import { EcanBar } from "./graph/bar/index.js";
|
|
22
|
-
import { EcanScatter } from "./graph/scatter/index.js";
|
|
23
|
-
import { EcanCustomGraph } from "./graph/custom-graph/index.js";
|
|
24
|
-
import { EcanComboGraph } from "./graph/combo-graph/index.js";
|
|
25
|
-
import { EcanBorder } from "./container/border/index.js";
|
|
26
|
-
import { EcanModal } from "./container/modal/index.js";
|
|
27
|
-
import { EcanTabs } from "./container/tabs/index.js";
|
|
28
|
-
import { EcanImage } from "./media/image/index.js";
|
|
29
|
-
import { EcanIframe } from "./media/iframe/index.js";
|
|
30
|
-
import { EcanTable } from "./table/table/index.js";
|
|
31
|
-
import { EcanMap } from "./map/map/index.js";
|
|
32
|
-
import { pageConfig, pageConfigComponentProps } from "./setting/page-config/props.js";
|
|
33
|
-
import { providerConfig, providerConfigComponentProps } from "./setting/provider-config/props.js";
|
|
34
|
-
import { textComponentProps, textEvents, textProps } from "./text/text/props.js";
|
|
35
8
|
import { timeDisplayComponentProps, timeDisplayProps } from "./text/time-display/props.js";
|
|
9
|
+
import { EcanTimeDisplay } from "./text/time-display/index.js";
|
|
36
10
|
import { listComponentProps, listEvents, listProps } from "./text/list/props.js";
|
|
11
|
+
import { EcanList } from "./text/list/index.js";
|
|
37
12
|
import { proportionComponentProps, proportionEvents, proportionProps } from "./text/proportion/props.js";
|
|
13
|
+
import { EcanProportion } from "./text/proportion/index.js";
|
|
38
14
|
import { inputComponentProps, inputEvents, inputProps } from "./control/input/props.js";
|
|
15
|
+
import { EcanInput } from "./control/input/index.js";
|
|
39
16
|
import { datePickerComponentProps, datePickerEvents, datePickerProps } from "./control/date-picker/props.js";
|
|
17
|
+
import { EcanDatePicker } from "./control/date-picker/index.js";
|
|
40
18
|
import { selectComponentProps, selectEvents, selectProps } from "./control/select/props.js";
|
|
19
|
+
import { EcanSelect } from "./control/select/index.js";
|
|
41
20
|
import { rangePickerComponentProps, rangePickerEvents, rangePickerProps } from "./control/range-picker/props.js";
|
|
21
|
+
import { EcanRangePicker } from "./control/range-picker/index.js";
|
|
42
22
|
import { buttonComponentProps, buttonEvents, buttonProps } from "./control/button/props.js";
|
|
23
|
+
import { EcanButton } from "./control/button/index.js";
|
|
43
24
|
import { checkboxComponentProps, checkboxEvents, checkboxProps } from "./control/checkbox/props.js";
|
|
25
|
+
import { EcanCheckbox } from "./control/checkbox/index.js";
|
|
44
26
|
import { pieComponentProps, pieEvents, pieProps } from "./graph/pie/props.js";
|
|
27
|
+
import { EcanPie } from "./graph/pie/index.js";
|
|
45
28
|
import { lineComponentProps, lineEvents, lineProps } from "./graph/line/props.js";
|
|
29
|
+
import { EcanLine } from "./graph/line/index.js";
|
|
46
30
|
import { barComponentProps, barEvents, barProps } from "./graph/bar/props.js";
|
|
31
|
+
import { EcanBar } from "./graph/bar/index.js";
|
|
47
32
|
import { scatterComponentProps, scatterEvents, scatterProps } from "./graph/scatter/props.js";
|
|
33
|
+
import { EcanScatter } from "./graph/scatter/index.js";
|
|
48
34
|
import { customGraphComponentProps, customGraphProps } from "./graph/custom-graph/props.js";
|
|
35
|
+
import { EcanCustomGraph } from "./graph/custom-graph/index.js";
|
|
49
36
|
import { comboGraphComponentProps, comboGraphEvents, comboGraphProps } from "./graph/combo-graph/props.js";
|
|
37
|
+
import { EcanComboGraph } from "./graph/combo-graph/index.js";
|
|
50
38
|
import { borderComponentProps, borderEvents, borderProps } from "./container/border/props.js";
|
|
39
|
+
import { EcanBorder } from "./container/border/index.js";
|
|
51
40
|
import { modalComponentProps, modalEvents, modalProps } from "./container/modal/props.js";
|
|
41
|
+
import { EcanModal } from "./container/modal/index.js";
|
|
52
42
|
import { tabsComponentProps, tabsEvents, tabsProps } from "./container/tabs/props.js";
|
|
43
|
+
import { EcanTabs } from "./container/tabs/index.js";
|
|
53
44
|
import { imageComponentProps, imageProps } from "./media/image/props.js";
|
|
45
|
+
import { EcanImage } from "./media/image/index.js";
|
|
54
46
|
import { iframeComponentProps, iframeProps } from "./media/iframe/props.js";
|
|
47
|
+
import { EcanIframe } from "./media/iframe/index.js";
|
|
55
48
|
import { tableComponentProps, tableEvents, tableProps } from "./table/table/props.js";
|
|
49
|
+
import { EcanTable } from "./table/table/index.js";
|
|
56
50
|
import { mapComponentProps, mapProps } from "./map/map/props.js";
|
|
51
|
+
import { EcanMap } from "./map/map/index.js";
|
|
57
52
|
export {
|
|
58
53
|
EcanBar,
|
|
59
54
|
EcanBorder,
|
package/es/components.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"components.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -3,11 +3,7 @@ import { borderComponentProps } from "./props.js";
|
|
|
3
3
|
import { usePickComponentStyle } from "../../hooks/usePickComponentStyle.js";
|
|
4
4
|
import { useOnEvent } from "../../hooks/useOnEvent.js";
|
|
5
5
|
import { useEmitEvent } from "../../hooks/useEmitEvent.js";
|
|
6
|
-
import "lodash-es";
|
|
7
|
-
import "../../node_modules/axios/index.js";
|
|
8
6
|
import { GLOBAL_CONFIG, GLOBAL_MODEL } from "../../utils/constant.js";
|
|
9
|
-
import "../../utils/request.js";
|
|
10
|
-
import "ant-design-vue";
|
|
11
7
|
const _sfc_main = defineComponent({
|
|
12
8
|
name: "EcanBorder",
|
|
13
9
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Border.vue2.js","sources":["../../../src/container/border/Border.vue"],"sourcesContent":["<template>\n <div class=\"ecan-border\" :style=\"style\" @click=\"click\">\n <div\n class=\"no-title\"\n :style=\"borderStyle\"\n v-if=\"mode === 'no-title'\"\n >\n <template v-if=\"useBorderModify\">\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </template>\n </div>\n <div class=\"top-title\" :style=\"borderStyle\" v-if=\"mode === 'top-title'\">\n <div class=\"title-item-wrapper\">\n <div class=\"title-item\">\n <img\n class=\"title-decoration-left\"\n src=\"../../assets/border-title-decoration-left.png\"\n >\n <div class=\"title\">{{ title }}</div>\n <img\n class=\"title-decoration-right\"\n src=\"../../assets/border-title-decoration-right.png\"\n >\n </div>\n </div>\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </div>\n <div class=\"left-title\" v-if=\"mode === 'left-title'\">\n <div class=\"title\">\n <span>{{ title }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, inject, ref, watch } from 'vue'\nimport { borderComponentProps } from './props'\nimport { useEmitEvent, useOnEvent, usePickComponentStyle } from '@/hooks'\nimport { GLOBAL_CONFIG, GLOBAL_MODEL } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanBorder',\n props: {\n ...borderComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props, ['background'])\n const { theme } = inject(GLOBAL_CONFIG, {\n theme: 'light'\n })\n const borderStyle = computed(() => {\n return {\n // borderWidth: props.borderWidth,\n // borderStyle: props.borderStyle,\n // borderRadius: props.borderRadius,\n // borderColor: props.borderColor,\n // backgroundColor: props.backgroundColor,\n width: '100%',\n height: '100%'\n }\n })\n const emitEvent = useEmitEvent(props)\n const click = emitEvent('click', () => {})\n const myData = ref<{ [key:string]: any } []>([])\n watch(() => props.data, (data: { [key:string]: any } []) => {\n myData.value = data\n }, {\n immediate: true,\n deep: true\n })\n useOnEvent(props, {\n click\n })\n const { setGlobalModel } = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n setGlobalModel: (key: string, value: any) => void 0\n })\n // 初始化设置值\n setGlobalModel(props.id as string, {\n type: props.type,\n value: myData\n })\n return {\n style,\n click,\n borderStyle,\n theme\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.top-title, .no-title {\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n .border-item {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n }\n .top-left {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-right-width: 0;\n border-bottom-width: 0;\n border-left-width: 1px;\n }\n .top-right {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-bottom-width: 0;\n border-left-width: 0;\n }\n .bottom-left {\n bottom: -2px;\n left: 0;\n border-top-width: 0;\n border-right-width: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n }\n .bottom-right {\n bottom: -2px;\n right: -2px;\n border-top-width: 0;\n border-right-width: 1px;\n border-bottom-width: 1px;\n border-left-width: 0;\n }\n .title-item-wrapper {\n width: 100%;\n padding: 5px 0;\n background-image: url(\"../../assets/border-title-background.png\");\n background-size: cover;\n display: grid;\n place-content: center;\n }\n .title-item {\n display: flex;\n align-items: center;\n }\n .title {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg,#01aaff,#00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n .title-decoration-left {\n width: 58px;\n height: 14px;\n }\n .title-decoration-right {\n width: 58px;\n height: 14px;\n }\n}\n\n.left-title {\n position: relative;\n width: 100%;\n height: 100%;\n border: 2px solid #375A8899;\n border-radius: 0;\n .title {\n position: absolute;\n left: -33px;\n top: -14px;\n width: 33px;\n min-height: 194px;\n padding-top: 33px;\n padding-bottom: 31px;\n background-image: url(\"../../assets/border-left-title.png\");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n color: #fff;\n font-weight: 500;\n text-align: center;\n span {\n writing-mode: vertical-lr;\n }\n }\n}\n</style>\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Border.vue2.js","sources":["../../../src/container/border/Border.vue"],"sourcesContent":["<template>\n <div class=\"ecan-border\" :style=\"style\" @click=\"click\">\n <div\n class=\"no-title\"\n :style=\"borderStyle\"\n v-if=\"mode === 'no-title'\"\n >\n <template v-if=\"useBorderModify\">\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </template>\n </div>\n <div class=\"top-title\" :style=\"borderStyle\" v-if=\"mode === 'top-title'\">\n <div class=\"title-item-wrapper\">\n <div class=\"title-item\">\n <img\n class=\"title-decoration-left\"\n src=\"../../assets/border-title-decoration-left.png\"\n >\n <div class=\"title\">{{ title }}</div>\n <img\n class=\"title-decoration-right\"\n src=\"../../assets/border-title-decoration-right.png\"\n >\n </div>\n </div>\n <div class=\"top-left border-item\"/>\n <div class=\"top-right border-item\"/>\n <div class=\"bottom-left border-item\"/>\n <div class=\"bottom-right border-item\"/>\n </div>\n <div class=\"left-title\" v-if=\"mode === 'left-title'\">\n <div class=\"title\">\n <span>{{ title }}</span>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, inject, ref, watch } from 'vue'\nimport { borderComponentProps } from './props'\nimport { useEmitEvent, useOnEvent, usePickComponentStyle } from '@/hooks'\nimport { GLOBAL_CONFIG, GLOBAL_MODEL } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanBorder',\n props: {\n ...borderComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props, ['background'])\n const { theme } = inject(GLOBAL_CONFIG, {\n theme: 'light'\n })\n const borderStyle = computed(() => {\n return {\n // borderWidth: props.borderWidth,\n // borderStyle: props.borderStyle,\n // borderRadius: props.borderRadius,\n // borderColor: props.borderColor,\n // backgroundColor: props.backgroundColor,\n width: '100%',\n height: '100%'\n }\n })\n const emitEvent = useEmitEvent(props)\n const click = emitEvent('click', () => {})\n const myData = ref<{ [key:string]: any } []>([])\n watch(() => props.data, (data: { [key:string]: any } []) => {\n myData.value = data\n }, {\n immediate: true,\n deep: true\n })\n useOnEvent(props, {\n click\n })\n const { setGlobalModel } = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n setGlobalModel: (key: string, value: any) => void 0\n })\n // 初始化设置值\n setGlobalModel(props.id as string, {\n type: props.type,\n value: myData\n })\n return {\n style,\n click,\n borderStyle,\n theme\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.top-title, .no-title {\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n .border-item {\n position: absolute;\n z-index: 2;\n border-color: #50FCFC;\n border-style: solid;\n width: 13px;\n height: 11px;\n }\n .top-left {\n top: 0;\n left: 0;\n border-top-width: 1px;\n border-right-width: 0;\n border-bottom-width: 0;\n border-left-width: 1px;\n }\n .top-right {\n top: 0;\n right: -2px;\n border-top-width: 1px;\n border-right-width: 1px;\n border-bottom-width: 0;\n border-left-width: 0;\n }\n .bottom-left {\n bottom: -2px;\n left: 0;\n border-top-width: 0;\n border-right-width: 0;\n border-bottom-width: 1px;\n border-left-width: 1px;\n }\n .bottom-right {\n bottom: -2px;\n right: -2px;\n border-top-width: 0;\n border-right-width: 1px;\n border-bottom-width: 1px;\n border-left-width: 0;\n }\n .title-item-wrapper {\n width: 100%;\n padding: 5px 0;\n background-image: url(\"../../assets/border-title-background.png\");\n background-size: cover;\n display: grid;\n place-content: center;\n }\n .title-item {\n display: flex;\n align-items: center;\n }\n .title {\n padding: 0 17px;\n color: #d5fdfd;\n background: linear-gradient(0deg,#01aaff,#00eaff);\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n }\n .title-decoration-left {\n width: 58px;\n height: 14px;\n }\n .title-decoration-right {\n width: 58px;\n height: 14px;\n }\n}\n\n.left-title {\n position: relative;\n width: 100%;\n height: 100%;\n border: 2px solid #375A8899;\n border-radius: 0;\n .title {\n position: absolute;\n left: -33px;\n top: -14px;\n width: 33px;\n min-height: 194px;\n padding-top: 33px;\n padding-bottom: 31px;\n background-image: url(\"../../assets/border-left-title.png\");\n background-repeat: no-repeat;\n background-size: 100% 100%;\n color: #fff;\n font-weight: 500;\n text-align: center;\n span {\n writing-mode: vertical-lr;\n }\n }\n}\n</style>\n"],"names":[],"mappings":";;;;;;AA8CA,MAAA,YAAe,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,IACL,GAAG;AAAA,EACL;AAAA,EACA,MAAO,OAAO;AACZ,UAAM,QAAQ,sBAAsB,OAAO,CAAC,YAAY,CAAC;AACzD,UAAM,EAAE,MAAA,IAAU,OAAO,eAAe;AAAA,MACtC,OAAO;AAAA,IAAA,CACR;AACK,UAAA,cAAc,SAAS,MAAM;AAC1B,aAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAML,OAAO;AAAA,QACP,QAAQ;AAAA,MAAA;AAAA,IACV,CACD;AACK,UAAA,YAAY,aAAa,KAAK;AAC9B,UAAA,QAAQ,UAAU,SAAS,MAAM;AAAA,IAAA,CAAE;AACnC,UAAA,SAAS,IAA8B,CAAA,CAAE;AAC/C,UAAM,MAAM,MAAM,MAAM,CAAC,SAAmC;AAC1D,aAAO,QAAQ;AAAA,IAAA,GACd;AAAA,MACD,WAAW;AAAA,MACX,MAAM;AAAA,IAAA,CACP;AACD,eAAW,OAAO;AAAA,MAChB;AAAA,IAAA,CACD;AACD,UAAM,EAAE,eAAA,IAAmB,OAAO,cAAc;AAAA;AAAA;AAAA,MAG9C,gBAAgB,CAAC,KAAa,UAAe;AAAA,IAAA,CAC9C;AAED,mBAAe,MAAM,IAAc;AAAA,MACjC,MAAM,MAAM;AAAA,MACZ,OAAO;AAAA,IAAA,CACR;AACM,WAAA;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAEJ;AACF,CAAC;"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { withInstall } from "../../utils/withInstall.js";
|
|
2
2
|
import Border from "./Border.vue.js";
|
|
3
|
-
import { borderComponentProps, borderEvents, borderProps } from "./props.js";
|
|
4
3
|
const EcanBorder = withInstall(Border);
|
|
5
4
|
export {
|
|
6
5
|
EcanBorder,
|
|
7
|
-
borderComponentProps,
|
|
8
|
-
borderEvents,
|
|
9
|
-
borderProps,
|
|
10
6
|
EcanBorder as default
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/container/border/index.ts"],"sourcesContent":["import { withInstall } from '@/utils/withInstall'\nimport Border from './Border.vue'\nexport const EcanBorder = withInstall(Border)\nexport default EcanBorder\nexport * from './props'\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/container/border/index.ts"],"sourcesContent":["import { withInstall } from '@/utils/withInstall'\nimport Border from './Border.vue'\nexport const EcanBorder = withInstall(Border)\nexport default EcanBorder\nexport * from './props'\n"],"names":[],"mappings":";;AAEa,MAAA,aAAa,YAAY,MAAM;"}
|
|
@@ -6,11 +6,8 @@ import "../../node_modules/ant-design-vue/es/modal/style/index.less.js";
|
|
|
6
6
|
import "../../node_modules/ant-design-vue/es/button/style/index.less.js";
|
|
7
7
|
import { usePickComponentStyle } from "../../hooks/usePickComponentStyle.js";
|
|
8
8
|
import { useOnEvent } from "../../hooks/useOnEvent.js";
|
|
9
|
-
import "lodash-es";
|
|
10
|
-
import { REQUEST_MODEL } from "../../utils/constant.js";
|
|
11
|
-
import "../../node_modules/axios/index.js";
|
|
12
9
|
import { useImagePath } from "../../hooks/useImagePath.js";
|
|
13
|
-
import "../../utils/
|
|
10
|
+
import { REQUEST_MODEL } from "../../utils/constant.js";
|
|
14
11
|
const _sfc_main = defineComponent({
|
|
15
12
|
name: "EcanModal",
|
|
16
13
|
components: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.vue2.js","sources":["../../../src/container/modal/Modal.vue"],"sourcesContent":["<template>\n <!-- centered + style 中的 verticalAlign 调整弹窗位置 -->\n <a-modal\n :getContainer=\"getContainer\"\n :wrapClassName=\"wrapClassName\"\n centered\n :visible=\"visible\"\n :footer=\"null\"\n :width=\"isFullModal || isFullWidth ? '100%' : modalWith\"\n :destroyOnClose=\"destroyOnClose\"\n :style=\"modalStyle\"\n @ok=\"onOk\"\n @cancel=\"onCancel\"\n >\n <template #title v-if=\"title\" >\n <div\n :style=\"{\n fontSize: titleFontSize,\n color: titleColor,\n backgroundColor,\n padding: '16px 24px'\n }\"\n >\n {{ title }}\n </div>\n </template>\n <div class=\"contain\" ref=\"contain\" :style=\"containStyle\">\n <div class=\"content\" :style=\"contentStyle\">\n <component\n v-for=\"(component, index) in componentList\"\n :key=\"(component.id) + index\"\n :is=\"component.type\"\n v-bind=\"component\"\n />\n </div>\n </div>\n </a-modal>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, inject, nextTick, ref, unref } from 'vue'\nimport { modalComponentProps, ModalPosition } from './props'\nimport { Modal as AModal } from 'ant-design-vue'\nimport 'ant-design-vue/es/modal/style'\nimport { useOnEvent, usePickComponentStyle, useImagePath } from '@/hooks'\nimport { REQUEST_MODEL } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanModal',\n components: {\n AModal\n },\n props: {\n ...modalComponentProps\n },\n setup (props) {\n const getContainer = () => document.getElementById('ProviderConfig') || document.body\n const modalStyle = computed(() => {\n const position = props.position as ModalPosition\n const map = {\n default: '',\n top: 'top',\n center: 'middle',\n bottom: 'bottom'\n }\n return {\n verticalAlign: map[position]\n }\n })\n const width = props.width as string\n const height = props.height as string\n const originalWidth = props.originalWidth as string\n const originalHeight = props.originalHeight as string\n const scaleWidth = computed(() => parseFloat(width) / parseFloat(originalWidth))\n const scaleHeight = computed(() => parseFloat(height) / parseFloat(originalHeight))\n // 弹窗适配\n const modalWith = computed(() => `${unref(scaleWidth) * 100}%`)\n // const modalHeight = computed(() => `${scaleHeight.value * 100}%`)\n const screenWidth = computed(() => document.body.offsetWidth)\n const screenHeight = computed(() => document.body.offsetHeight)\n const containWidth = computed(() => unref(screenWidth) * unref(scaleWidth))\n const containHeight = computed(() => unref(screenHeight) * unref(scaleHeight))\n const containStyle = computed(() => ({\n width: `${unref(containWidth)}px`,\n height: `${unref(containHeight)}px`\n }))\n const style = usePickComponentStyle(props)\n const contentStyle = computed(() => ({\n ...unref(style),\n backgroundImage: useImagePath(props.backgroundImage as string, true),\n transform: `scale(${unref(containWidth) / parseFloat(width)},${unref(containHeight) / parseFloat(height)})`\n }))\n const isFullWidth = computed(() => unref(scaleWidth) >= 1)\n const isFullModal = computed(() => props.fullModal)\n const wrapClassName = computed(() => {\n let className = 'ecan-modal'\n if (unref(isFullWidth)) className += ' ecan-full-width-modal'\n if (unref(isFullModal)) className += ' ecan-full-modal'\n return className\n })\n const visible = ref(false)\n const contain = ref<HTMLElement>()\n const { touchRequest } = inject(REQUEST_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n touchRequest: () => void 0\n })\n const showModal = () => {\n visible.value = true\n nextTick(() => {\n touchRequest()\n })\n }\n const hideModal = () => {\n visible.value = false\n }\n const onOk = () => {\n hideModal()\n }\n const onCancel = () => {\n hideModal()\n }\n // 注册\n useOnEvent(props, {\n showModal\n })\n\n return {\n contain,\n containStyle,\n contentStyle,\n getContainer,\n modalStyle,\n modalWith,\n isFullModal,\n style,\n visible,\n showModal,\n onOk,\n onCancel,\n isFullWidth,\n wrapClassName\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.contain {\n position: relative;\n overflow: hidden;\n}\n.content {\n transform-origin: left top;\n z-index: 999;\n}\n</style>\n\n<style lang=\"less\">\n.ecan-modal {\n .ant-modal-body {\n padding: 0;\n }\n .ant-modal-header {\n padding: 0;\n border-bottom: none;\n background: none;\n }\n}\n\n.ecan-full-width-modal {\n .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n }\n .ant-modal-content {\n display: flex;\n flex-direction: column;\n }\n .ant-modal-body {\n flex: 1;\n }\n}\n\n.ecan-full-modal {\n .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n }\n .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n }\n .ant-modal-body {\n flex: 1;\n }\n}\n\n[datav-theme='darkBlue'] .ecan-modal {\n .anticon-close > svg > path {\n fill: #fff;\n }\n}\n</style>\n"],"names":["AModal"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Modal.vue2.js","sources":["../../../src/container/modal/Modal.vue"],"sourcesContent":["<template>\n <!-- centered + style 中的 verticalAlign 调整弹窗位置 -->\n <a-modal\n :getContainer=\"getContainer\"\n :wrapClassName=\"wrapClassName\"\n centered\n :visible=\"visible\"\n :footer=\"null\"\n :width=\"isFullModal || isFullWidth ? '100%' : modalWith\"\n :destroyOnClose=\"destroyOnClose\"\n :style=\"modalStyle\"\n @ok=\"onOk\"\n @cancel=\"onCancel\"\n >\n <template #title v-if=\"title\" >\n <div\n :style=\"{\n fontSize: titleFontSize,\n color: titleColor,\n backgroundColor,\n padding: '16px 24px'\n }\"\n >\n {{ title }}\n </div>\n </template>\n <div class=\"contain\" ref=\"contain\" :style=\"containStyle\">\n <div class=\"content\" :style=\"contentStyle\">\n <component\n v-for=\"(component, index) in componentList\"\n :key=\"(component.id) + index\"\n :is=\"component.type\"\n v-bind=\"component\"\n />\n </div>\n </div>\n </a-modal>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, inject, nextTick, ref, unref } from 'vue'\nimport { modalComponentProps, ModalPosition } from './props'\nimport { Modal as AModal } from 'ant-design-vue'\nimport 'ant-design-vue/es/modal/style'\nimport { useOnEvent, usePickComponentStyle, useImagePath } from '@/hooks'\nimport { REQUEST_MODEL } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanModal',\n components: {\n AModal\n },\n props: {\n ...modalComponentProps\n },\n setup (props) {\n const getContainer = () => document.getElementById('ProviderConfig') || document.body\n const modalStyle = computed(() => {\n const position = props.position as ModalPosition\n const map = {\n default: '',\n top: 'top',\n center: 'middle',\n bottom: 'bottom'\n }\n return {\n verticalAlign: map[position]\n }\n })\n const width = props.width as string\n const height = props.height as string\n const originalWidth = props.originalWidth as string\n const originalHeight = props.originalHeight as string\n const scaleWidth = computed(() => parseFloat(width) / parseFloat(originalWidth))\n const scaleHeight = computed(() => parseFloat(height) / parseFloat(originalHeight))\n // 弹窗适配\n const modalWith = computed(() => `${unref(scaleWidth) * 100}%`)\n // const modalHeight = computed(() => `${scaleHeight.value * 100}%`)\n const screenWidth = computed(() => document.body.offsetWidth)\n const screenHeight = computed(() => document.body.offsetHeight)\n const containWidth = computed(() => unref(screenWidth) * unref(scaleWidth))\n const containHeight = computed(() => unref(screenHeight) * unref(scaleHeight))\n const containStyle = computed(() => ({\n width: `${unref(containWidth)}px`,\n height: `${unref(containHeight)}px`\n }))\n const style = usePickComponentStyle(props)\n const contentStyle = computed(() => ({\n ...unref(style),\n backgroundImage: useImagePath(props.backgroundImage as string, true),\n transform: `scale(${unref(containWidth) / parseFloat(width)},${unref(containHeight) / parseFloat(height)})`\n }))\n const isFullWidth = computed(() => unref(scaleWidth) >= 1)\n const isFullModal = computed(() => props.fullModal)\n const wrapClassName = computed(() => {\n let className = 'ecan-modal'\n if (unref(isFullWidth)) className += ' ecan-full-width-modal'\n if (unref(isFullModal)) className += ' ecan-full-modal'\n return className\n })\n const visible = ref(false)\n const contain = ref<HTMLElement>()\n const { touchRequest } = inject(REQUEST_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n touchRequest: () => void 0\n })\n const showModal = () => {\n visible.value = true\n nextTick(() => {\n touchRequest()\n })\n }\n const hideModal = () => {\n visible.value = false\n }\n const onOk = () => {\n hideModal()\n }\n const onCancel = () => {\n hideModal()\n }\n // 注册\n useOnEvent(props, {\n showModal\n })\n\n return {\n contain,\n containStyle,\n contentStyle,\n getContainer,\n modalStyle,\n modalWith,\n isFullModal,\n style,\n visible,\n showModal,\n onOk,\n onCancel,\n isFullWidth,\n wrapClassName\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.contain {\n position: relative;\n overflow: hidden;\n}\n.content {\n transform-origin: left top;\n z-index: 999;\n}\n</style>\n\n<style lang=\"less\">\n.ecan-modal {\n .ant-modal-body {\n padding: 0;\n }\n .ant-modal-header {\n padding: 0;\n border-bottom: none;\n background: none;\n }\n}\n\n.ecan-full-width-modal {\n .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n }\n .ant-modal-content {\n display: flex;\n flex-direction: column;\n }\n .ant-modal-body {\n flex: 1;\n }\n}\n\n.ecan-full-modal {\n .ant-modal {\n max-width: 100%;\n top: 0;\n padding-bottom: 0;\n margin: 0;\n }\n .ant-modal-content {\n display: flex;\n flex-direction: column;\n height: calc(100vh);\n }\n .ant-modal-body {\n flex: 1;\n }\n}\n\n[datav-theme='darkBlue'] .ecan-modal {\n .anticon-close > svg > path {\n fill: #fff;\n }\n}\n</style>\n"],"names":["AModal"],"mappings":";;;;;;;;;;AA8CA,MAAA,YAAe,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,YAAY;AAAA,IAAA,QACVA;AAAAA,EACF;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,EACL;AAAA,EACA,MAAO,OAAO;AACZ,UAAM,eAAe,MAAM,SAAS,eAAe,gBAAgB,KAAK,SAAS;AAC3E,UAAA,aAAa,SAAS,MAAM;AAChC,YAAM,WAAW,MAAM;AACvB,YAAM,MAAM;AAAA,QACV,SAAS;AAAA,QACT,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,QAAQ;AAAA,MAAA;AAEH,aAAA;AAAA,QACL,eAAe,IAAI,QAAQ;AAAA,MAAA;AAAA,IAC7B,CACD;AACD,UAAM,QAAQ,MAAM;AACpB,UAAM,SAAS,MAAM;AACrB,UAAM,gBAAgB,MAAM;AAC5B,UAAM,iBAAiB,MAAM;AACvB,UAAA,aAAa,SAAS,MAAM,WAAW,KAAK,IAAI,WAAW,aAAa,CAAC;AACzE,UAAA,cAAc,SAAS,MAAM,WAAW,MAAM,IAAI,WAAW,cAAc,CAAC;AAElF,UAAM,YAAY,SAAS,MAAM,GAAG,MAAM,UAAU,IAAI,MAAM;AAE9D,UAAM,cAAc,SAAS,MAAM,SAAS,KAAK,WAAW;AAC5D,UAAM,eAAe,SAAS,MAAM,SAAS,KAAK,YAAY;AACxD,UAAA,eAAe,SAAS,MAAM,MAAM,WAAW,IAAI,MAAM,UAAU,CAAC;AACpE,UAAA,gBAAgB,SAAS,MAAM,MAAM,YAAY,IAAI,MAAM,WAAW,CAAC;AACvE,UAAA,eAAe,SAAS,OAAO;AAAA,MACnC,OAAO,GAAG,MAAM,YAAY;AAAA,MAC5B,QAAQ,GAAG,MAAM,aAAa;AAAA,IAC9B,EAAA;AACI,UAAA,QAAQ,sBAAsB,KAAK;AACnC,UAAA,eAAe,SAAS,OAAO;AAAA,MACnC,GAAG,MAAM,KAAK;AAAA,MACd,iBAAiB,aAAa,MAAM,iBAA2B,IAAI;AAAA,MACnE,WAAW,SAAS,MAAM,YAAY,IAAI,WAAW,KAAK,KAAK,MAAM,aAAa,IAAI,WAAW,MAAM;AAAA,IACvG,EAAA;AACF,UAAM,cAAc,SAAS,MAAM,MAAM,UAAU,KAAK,CAAC;AACzD,UAAM,cAAc,SAAS,MAAM,MAAM,SAAS;AAC5C,UAAA,gBAAgB,SAAS,MAAM;AACnC,UAAI,YAAY;AAChB,UAAI,MAAM,WAAW;AAAgB,qBAAA;AACrC,UAAI,MAAM,WAAW;AAAgB,qBAAA;AAC9B,aAAA;AAAA,IAAA,CACR;AACK,UAAA,UAAU,IAAI,KAAK;AACzB,UAAM,UAAU;AAChB,UAAM,EAAE,aAAA,IAAiB,OAAO,eAAe;AAAA;AAAA;AAAA,MAG7C,cAAc,MAAM;AAAA,IAAA,CACrB;AACD,UAAM,YAAY,MAAM;AACtB,cAAQ,QAAQ;AAChB,eAAS,MAAM;AACA;MAAA,CACd;AAAA,IAAA;AAEH,UAAM,YAAY,MAAM;AACtB,cAAQ,QAAQ;AAAA,IAAA;AAElB,UAAM,OAAO,MAAM;AACP;IAAA;AAEZ,UAAM,WAAW,MAAM;AACX;IAAA;AAGZ,eAAW,OAAO;AAAA,MAChB;AAAA,IAAA,CACD;AAEM,WAAA;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAEJ;AACF,CAAC;"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { withInstall } from "../../utils/withInstall.js";
|
|
2
2
|
import Modal from "./Modal.vue.js";
|
|
3
|
-
import { modalComponentProps, modalEvents, modalProps } from "./props.js";
|
|
4
3
|
const EcanModal = withInstall(Modal);
|
|
5
4
|
export {
|
|
6
5
|
EcanModal,
|
|
7
|
-
EcanModal as default
|
|
8
|
-
modalComponentProps,
|
|
9
|
-
modalEvents,
|
|
10
|
-
modalProps
|
|
6
|
+
EcanModal as default
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/container/modal/index.ts"],"sourcesContent":["import { withInstall } from '@/utils/withInstall'\nimport Modal from './Modal.vue'\nexport const EcanModal = withInstall(Modal)\nexport default EcanModal\nexport * from './props'\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/container/modal/index.ts"],"sourcesContent":["import { withInstall } from '@/utils/withInstall'\nimport Modal from './Modal.vue'\nexport const EcanModal = withInstall(Modal)\nexport default EcanModal\nexport * from './props'\n"],"names":[],"mappings":";;AAEa,MAAA,YAAY,YAAY,KAAK;"}
|
|
@@ -3,12 +3,8 @@ import { tabsComponentProps } from "./props.js";
|
|
|
3
3
|
import { usePickComponentStyle } from "../../hooks/usePickComponentStyle.js";
|
|
4
4
|
import { useOnEvent } from "../../hooks/useOnEvent.js";
|
|
5
5
|
import { useEmitEvent } from "../../hooks/useEmitEvent.js";
|
|
6
|
-
import "lodash-es";
|
|
7
|
-
import "../../node_modules/axios/index.js";
|
|
8
|
-
import { GLOBAL_MODEL, REFRESH_PAGE } from "../../utils/constant.js";
|
|
9
6
|
import { useImagePath } from "../../hooks/useImagePath.js";
|
|
10
|
-
import "../../utils/
|
|
11
|
-
import "ant-design-vue";
|
|
7
|
+
import { GLOBAL_MODEL, REFRESH_PAGE } from "../../utils/constant.js";
|
|
12
8
|
const _sfc_main = defineComponent({
|
|
13
9
|
name: "EcanTabs",
|
|
14
10
|
props: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.vue2.js","sources":["../../../src/container/tabs/Tabs.vue"],"sourcesContent":["<template>\n <div class=\"ecan-tabs\" :style=\"style\">\n <div\n class=\"tabs-header\"\n :style=\"{\n fontSize: tabFontSize,\n alignItems: tabAlignItems,\n justifyContent: tabJustifyContent,\n flexDirection: tabFlexDirection\n }\"\n >\n <div\n class=\"tab\"\n :style=\"{\n padding: `5px ${tabHorizontalPadding}`,\n color: isActive(index) ? activeTabColor : tabColor,\n backgroundImage: isActive(index) ? useImagePath(activeTabBackgroundImage, true) : useImagePath(tabBackgroundImage, true),\n marginRight: tabFlexDirection === 'row' ? tabBarGutter : null,\n marginBottom: tabFlexDirection === 'column' ? tabBarGutter : null,\n fontWeight: tabFontWeight\n }\"\n v-for=\"(tab, index) in myData\"\n :key=\"index\"\n @click.prevent.stop=\"tabChange(tab, index)\"\n >\n <div\n class=\"tab-inner\"\n :style=\"{\n borderBottom: !activeTabBackgroundImage && !tabBackgroundImage ? `1px solid ${isActive(index) ? activeTabColor : 'transparent'}` : ''\n }\"\n >\n {{tab.title}}\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, inject, ref, unref, watch } from 'vue'\nimport { tabsComponentProps } from './props'\nimport { useEmitEvent, useOnEvent, usePickComponentStyle, useImagePath } from '@/hooks'\nimport { GLOBAL_MODEL, REFRESH_PAGE } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanTabs',\n props: {\n ...tabsComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const activeKey = ref(0)\n watch(() => props.activeKey, (key) => {\n activeKey.value = key\n }, {\n immediate: true\n })\n const myData = ref<{ [key:string]: any } []>([])\n watch(() => props.data, (data: { [key:string]: any } []) => {\n myData.value = data\n }, {\n immediate: true,\n deep: true\n })\n const isActive = (index: number) => activeKey.value === index\n const myValue = ref(props.value || (unref(myData)[0] && unref(myData)[0]?.value) || '')\n // 注册函数触发事件拦截器\n const emitEvent = useEmitEvent(props)\n const { setGlobalModel } = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n setGlobalModel: (key: string, value: any) => void 0\n })\n // 初始化设置值\n setGlobalModel(props.id as string, {\n value: myValue,\n activeKey\n })\n\n const { emitRefreshPage } = inject(REFRESH_PAGE, {\n // eslint-disable-next-line no-void\n emitRefreshPage: () => void 0\n })\n\n const tabChange = emitEvent('tabChange', (tab:{ [key:string]:any }, index: number) => {\n if (index !== unref(activeKey)) {\n myValue.value = tab?.value || ''\n activeKey.value = index\n emitRefreshPage()\n }\n })\n useOnEvent(props, {\n tabChange\n })\n return {\n style,\n activeKey,\n isActive,\n tabChange,\n myData,\n useImagePath\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-tabs {\n display: flex;\n}\n\n.tabs-header {\n width: 100%;\n color: #333333;\n display: flex;\n padding: 0 10px;\n}\n\n.tab {\n background-size: 100% 100%;\n background-repeat: no-repeat;\n cursor: default;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.tab:last-child {\n margin-bottom: 0 !important;\n margin-right: 0 !important;\n}\n\n.tabs-content {\n flex:1;\n}\n</style>\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Tabs.vue2.js","sources":["../../../src/container/tabs/Tabs.vue"],"sourcesContent":["<template>\n <div class=\"ecan-tabs\" :style=\"style\">\n <div\n class=\"tabs-header\"\n :style=\"{\n fontSize: tabFontSize,\n alignItems: tabAlignItems,\n justifyContent: tabJustifyContent,\n flexDirection: tabFlexDirection\n }\"\n >\n <div\n class=\"tab\"\n :style=\"{\n padding: `5px ${tabHorizontalPadding}`,\n color: isActive(index) ? activeTabColor : tabColor,\n backgroundImage: isActive(index) ? useImagePath(activeTabBackgroundImage, true) : useImagePath(tabBackgroundImage, true),\n marginRight: tabFlexDirection === 'row' ? tabBarGutter : null,\n marginBottom: tabFlexDirection === 'column' ? tabBarGutter : null,\n fontWeight: tabFontWeight\n }\"\n v-for=\"(tab, index) in myData\"\n :key=\"index\"\n @click.prevent.stop=\"tabChange(tab, index)\"\n >\n <div\n class=\"tab-inner\"\n :style=\"{\n borderBottom: !activeTabBackgroundImage && !tabBackgroundImage ? `1px solid ${isActive(index) ? activeTabColor : 'transparent'}` : ''\n }\"\n >\n {{tab.title}}\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, inject, ref, unref, watch } from 'vue'\nimport { tabsComponentProps } from './props'\nimport { useEmitEvent, useOnEvent, usePickComponentStyle, useImagePath } from '@/hooks'\nimport { GLOBAL_MODEL, REFRESH_PAGE } from '@/utils/constant'\nexport default defineComponent({\n name: 'EcanTabs',\n props: {\n ...tabsComponentProps\n },\n setup (props) {\n const style = usePickComponentStyle(props)\n const activeKey = ref(0)\n watch(() => props.activeKey, (key) => {\n activeKey.value = key\n }, {\n immediate: true\n })\n const myData = ref<{ [key:string]: any } []>([])\n watch(() => props.data, (data: { [key:string]: any } []) => {\n myData.value = data\n }, {\n immediate: true,\n deep: true\n })\n const isActive = (index: number) => activeKey.value === index\n const myValue = ref(props.value || (unref(myData)[0] && unref(myData)[0]?.value) || '')\n // 注册函数触发事件拦截器\n const emitEvent = useEmitEvent(props)\n const { setGlobalModel } = inject(GLOBAL_MODEL, {\n // @ts-ignore\n // eslint-disable-next-line no-void\n setGlobalModel: (key: string, value: any) => void 0\n })\n // 初始化设置值\n setGlobalModel(props.id as string, {\n value: myValue,\n activeKey\n })\n\n const { emitRefreshPage } = inject(REFRESH_PAGE, {\n // eslint-disable-next-line no-void\n emitRefreshPage: () => void 0\n })\n\n const tabChange = emitEvent('tabChange', (tab:{ [key:string]:any }, index: number) => {\n if (index !== unref(activeKey)) {\n myValue.value = tab?.value || ''\n activeKey.value = index\n emitRefreshPage()\n }\n })\n useOnEvent(props, {\n tabChange\n })\n return {\n style,\n activeKey,\n isActive,\n tabChange,\n myData,\n useImagePath\n }\n }\n})\n</script>\n\n<style scoped lang=\"less\">\n.ecan-tabs {\n display: flex;\n}\n\n.tabs-header {\n width: 100%;\n color: #333333;\n display: flex;\n padding: 0 10px;\n}\n\n.tab {\n background-size: 100% 100%;\n background-repeat: no-repeat;\n cursor: default;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.tab:last-child {\n margin-bottom: 0 !important;\n margin-right: 0 !important;\n}\n\n.tabs-content {\n flex:1;\n}\n</style>\n"],"names":[],"mappings":";;;;;;;AA2CA,MAAA,YAAe,gBAAgB;AAAA,EAC7B,MAAM;AAAA,EACN,OAAO;AAAA,IACL,GAAG;AAAA,EACL;AAAA,EACA,MAAO,OAAO;;AACN,UAAA,QAAQ,sBAAsB,KAAK;AACnC,UAAA,YAAY,IAAI,CAAC;AACvB,UAAM,MAAM,MAAM,WAAW,CAAC,QAAQ;AACpC,gBAAU,QAAQ;AAAA,IAAA,GACjB;AAAA,MACD,WAAW;AAAA,IAAA,CACZ;AACK,UAAA,SAAS,IAA8B,CAAA,CAAE;AAC/C,UAAM,MAAM,MAAM,MAAM,CAAC,SAAmC;AAC1D,aAAO,QAAQ;AAAA,IAAA,GACd;AAAA,MACD,WAAW;AAAA,MACX,MAAM;AAAA,IAAA,CACP;AACD,UAAM,WAAW,CAAC,UAAkB,UAAU,UAAU;AACxD,UAAM,UAAU,IAAI,MAAM,SAAU,MAAM,MAAM,EAAE,CAAC,OAAK,WAAM,MAAM,EAAE,CAAC,MAAf,mBAAkB,UAAU,EAAE;AAEhF,UAAA,YAAY,aAAa,KAAK;AACpC,UAAM,EAAE,eAAA,IAAmB,OAAO,cAAc;AAAA;AAAA;AAAA,MAG9C,gBAAgB,CAAC,KAAa,UAAe;AAAA,IAAA,CAC9C;AAED,mBAAe,MAAM,IAAc;AAAA,MACjC,OAAO;AAAA,MACP;AAAA,IAAA,CACD;AAED,UAAM,EAAE,gBAAA,IAAoB,OAAO,cAAc;AAAA;AAAA,MAE/C,iBAAiB,MAAM;AAAA,IAAA,CACxB;AAED,UAAM,YAAY,UAAU,aAAa,CAAC,KAA0B,UAAkB;AAChF,UAAA,UAAU,MAAM,SAAS,GAAG;AACtB,gBAAA,SAAQ,2BAAK,UAAS;AAC9B,kBAAU,QAAQ;AACF;MAClB;AAAA,IAAA,CACD;AACD,eAAW,OAAO;AAAA,MAChB;AAAA,IAAA,CACD;AACM,WAAA;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IAAA;AAAA,EAEJ;AACF,CAAC;"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import Tabs from "./Tabs.vue.js";
|
|
2
2
|
import { withInstall } from "../../utils/withInstall.js";
|
|
3
|
-
import { tabsComponentProps, tabsEvents, tabsProps } from "./props.js";
|
|
4
3
|
const EcanTabs = withInstall(Tabs);
|
|
5
4
|
export {
|
|
6
5
|
EcanTabs,
|
|
7
|
-
EcanTabs as default
|
|
8
|
-
tabsComponentProps,
|
|
9
|
-
tabsEvents,
|
|
10
|
-
tabsProps
|
|
6
|
+
EcanTabs as default
|
|
11
7
|
};
|
|
12
8
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/container/tabs/index.ts"],"sourcesContent":["import Tabs from './Tabs.vue'\nimport { withInstall } from '../../utils/withInstall'\nexport const EcanTabs = withInstall(Tabs)\nexport default EcanTabs\nexport * from './props'\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/container/tabs/index.ts"],"sourcesContent":["import Tabs from './Tabs.vue'\nimport { withInstall } from '../../utils/withInstall'\nexport const EcanTabs = withInstall(Tabs)\nexport default EcanTabs\nexport * from './props'\n"],"names":[],"mappings":";;AAEa,MAAA,WAAW,YAAY,IAAI;"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { defineComponent, unref, computed } from "vue";
|
|
2
2
|
import { usePickComponentStyle } from "../../hooks/usePickComponentStyle.js";
|
|
3
|
-
import "../../utils/constant.js";
|
|
4
3
|
import { useEmitEvent } from "../../hooks/useEmitEvent.js";
|
|
5
|
-
import "lodash-es";
|
|
6
|
-
import "../../node_modules/axios/index.js";
|
|
7
4
|
import { useVariablesInText } from "../../hooks/useVariablesInText.js";
|
|
8
|
-
import "../../utils/request.js";
|
|
9
5
|
import { Button } from "ant-design-vue";
|
|
10
6
|
import "../../node_modules/ant-design-vue/es/style/default.less.js";
|
|
11
7
|
import "../../node_modules/ant-design-vue/es/button/style/index.less.js";
|