@smallwei/avue 3.9.0 → 3.9.1
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/avue.js +27369 -27369
- package/dist/avue.js.map +1 -1
- package/dist/avue.min.js +2 -2
- package/es/_virtual/_commonjs-dynamic-modules.mjs +6 -6
- package/es/_virtual/_commonjsHelpers.mjs +6 -6
- package/es/_virtual/axios.mjs +8 -8
- package/es/_virtual/axios2.mjs +4 -4
- package/es/_virtual/countUp.min.mjs +28 -8
- package/es/_virtual/countUp.min2.mjs +4 -4
- package/es/_virtual/dayjs.min.mjs +8 -8
- package/es/_virtual/dayjs.min2.mjs +4 -4
- package/es/index.mjs +2 -2
- package/es/locale/browser/en.mjs +288 -288
- package/es/locale/browser/zh-cn.mjs +288 -288
- package/es/locale/browser/zh.mjs +288 -288
- package/es/node_modules/.pnpm/countup.js@1.9.3/node_modules/countup.js/dist/countUp.min.mjs +1 -1
- package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.mjs +1 -1
- package/es/node_modules/axios/dist/axios.mjs +1 -1
- package/es/packages/core/common/event.mjs +62 -62
- package/es/packages/core/common/init.mjs +138 -138
- package/es/packages/core/common/props.mjs +243 -243
- package/es/packages/core/components/dialog-form/index.mjs +8 -8
- package/es/packages/core/components/dialog-form/index2.mjs +34 -34
- package/es/packages/core/components/dialog-form/index3.mjs +6 -6
- package/es/packages/core/components/dialog-form/index4.mjs +67 -67
- package/es/packages/core/components/form/custom.mjs +44 -44
- package/es/packages/core/components/form/index.mjs +8 -8
- package/es/packages/core/components/form/index2.mjs +8 -8
- package/es/packages/core/components/form/index3.mjs +91 -91
- package/es/packages/core/components/icon/index.mjs +8 -8
- package/es/packages/core/components/icon/index2.mjs +4 -4
- package/es/packages/core/components/icon/index3.mjs +41 -41
- package/es/packages/core/components/image-preview/index.mjs +8 -8
- package/es/packages/core/components/image-preview/index2.mjs +39 -39
- package/es/packages/core/components/image-preview/index3.mjs +8 -8
- package/es/packages/core/components/image-preview/index4.mjs +160 -160
- package/es/packages/core/directive/contextmenu.mjs +95 -95
- package/es/packages/core/directive/permission.mjs +22 -22
- package/es/packages/data/box/index.mjs +8 -8
- package/es/packages/data/box/index2.mjs +6 -6
- package/es/packages/data/box/index3.mjs +66 -66
- package/es/packages/data/card/index.mjs +8 -8
- package/es/packages/data/card/index2.mjs +6 -6
- package/es/packages/data/card/index3.mjs +57 -57
- package/es/packages/data/cardText/index.mjs +8 -8
- package/es/packages/data/cardText/index2.mjs +6 -6
- package/es/packages/data/cardText/index3.mjs +50 -50
- package/es/packages/data/countdown/index.mjs +8 -8
- package/es/packages/data/countdown/index2.mjs +7 -7
- package/es/packages/data/countdown/index3.mjs +95 -95
- package/es/packages/data/dashboard/index.mjs +8 -8
- package/es/packages/data/dashboard/index2.mjs +6 -6
- package/es/packages/data/dashboard/index3.mjs +100 -100
- package/es/packages/data/display/index.mjs +8 -8
- package/es/packages/data/display/index2.mjs +6 -6
- package/es/packages/data/display/index3.mjs +56 -56
- package/es/packages/data/icons/index.mjs +8 -8
- package/es/packages/data/icons/index2.mjs +6 -6
- package/es/packages/data/icons/index3.mjs +66 -66
- package/es/packages/data/imgText/index.mjs +8 -8
- package/es/packages/data/imgText/index2.mjs +6 -6
- package/es/packages/data/imgText/index3.mjs +87 -87
- package/es/packages/data/list/index.mjs +8 -8
- package/es/packages/data/list/index2.mjs +6 -6
- package/es/packages/data/list/index3.mjs +134 -134
- package/es/packages/data/notice/index.mjs +8 -8
- package/es/packages/data/notice/index2.mjs +7 -7
- package/es/packages/data/notice/index3.mjs +59 -59
- package/es/packages/data/operaText/index.mjs +8 -8
- package/es/packages/data/operaText/index2.mjs +6 -6
- package/es/packages/data/operaText/index3.mjs +74 -74
- package/es/packages/data/panel/index.mjs +8 -8
- package/es/packages/data/panel/index2.mjs +6 -6
- package/es/packages/data/panel/index3.mjs +64 -64
- package/es/packages/data/pay/index.mjs +8 -8
- package/es/packages/data/pay/index2.mjs +6 -6
- package/es/packages/data/pay/index3.mjs +128 -128
- package/es/packages/data/price/index.mjs +8 -8
- package/es/packages/data/price/index2.mjs +6 -6
- package/es/packages/data/price/index3.mjs +56 -56
- package/es/packages/data/product/index.mjs +8 -8
- package/es/packages/data/product/index2.mjs +7 -7
- package/es/packages/data/product/index3.mjs +158 -158
- package/es/packages/data/profile/index.mjs +8 -8
- package/es/packages/data/profile/index2.mjs +6 -6
- package/es/packages/data/profile/index3.mjs +166 -166
- package/es/packages/data/progress/index.mjs +8 -8
- package/es/packages/data/progress/index2.mjs +6 -6
- package/es/packages/data/progress/index3.mjs +63 -63
- package/es/packages/data/rank/index.mjs +8 -8
- package/es/packages/data/rank/index2.mjs +6 -6
- package/es/packages/data/rank/index3.mjs +99 -99
- package/es/packages/data/rotate/index.mjs +8 -8
- package/es/packages/data/rotate/index2.mjs +7 -7
- package/es/packages/data/rotate/index3.mjs +75 -75
- package/es/packages/data/statistic/index.mjs +8 -8
- package/es/packages/data/statistic/index2.mjs +6 -6
- package/es/packages/data/statistic/index3.mjs +100 -100
- package/es/packages/data/tabs/index.mjs +8 -8
- package/es/packages/data/tabs/index2.mjs +6 -6
- package/es/packages/data/tabs/index3.mjs +65 -65
- package/es/packages/data/task/index.mjs +8 -8
- package/es/packages/data/task/index2.mjs +7 -7
- package/es/packages/data/task/index3.mjs +82 -82
- package/es/packages/data/weather/index.mjs +8 -8
- package/es/packages/data/weather/index2.mjs +7 -7
- package/es/packages/data/weather/index3.mjs +80 -80
- package/es/packages/element-plus/array/index.mjs +8 -8
- package/es/packages/element-plus/array/index2.mjs +9 -9
- package/es/packages/element-plus/array/index3.mjs +102 -102
- package/es/packages/element-plus/article/index.mjs +8 -8
- package/es/packages/element-plus/article/index2.mjs +6 -6
- package/es/packages/element-plus/article/index3.mjs +48 -48
- package/es/packages/element-plus/card/index.mjs +8 -8
- package/es/packages/element-plus/card/index2.mjs +7 -7
- package/es/packages/element-plus/card/index3.mjs +94 -94
- package/es/packages/element-plus/cascader/index.mjs +8 -8
- package/es/packages/element-plus/cascader/index2.mjs +8 -8
- package/es/packages/element-plus/cascader/index3.mjs +47 -47
- package/es/packages/element-plus/chat/index.mjs +8 -8
- package/es/packages/element-plus/chat/index2.mjs +8 -8
- package/es/packages/element-plus/chat/index3.mjs +392 -392
- package/es/packages/element-plus/checkbox/index.mjs +8 -8
- package/es/packages/element-plus/checkbox/index2.mjs +9 -9
- package/es/packages/element-plus/checkbox/index3.mjs +61 -61
- package/es/packages/element-plus/comment/index.mjs +8 -8
- package/es/packages/element-plus/comment/index2.mjs +6 -6
- package/es/packages/element-plus/comment/index3.mjs +43 -43
- package/es/packages/element-plus/count-up/index.mjs +8 -8
- package/es/packages/element-plus/count-up/index2.mjs +16 -15
- package/es/packages/element-plus/count-up/index3.mjs +8 -8
- package/es/packages/element-plus/crud/column/column-default.mjs +8 -8
- package/es/packages/element-plus/crud/column/column-default2.mjs +10 -10
- package/es/packages/element-plus/crud/column/column-default3.mjs +62 -62
- package/es/packages/element-plus/crud/column/column-dynamic.mjs +8 -8
- package/es/packages/element-plus/crud/column/column-dynamic2.mjs +9 -9
- package/es/packages/element-plus/crud/column/column-dynamic3.mjs +75 -75
- package/es/packages/element-plus/crud/column/column-menu.mjs +8 -8
- package/es/packages/element-plus/crud/column/column-menu2.mjs +11 -11
- package/es/packages/element-plus/crud/column/column-menu3.mjs +304 -304
- package/es/packages/element-plus/crud/column/column-slot.mjs +8 -8
- package/es/packages/element-plus/crud/column/column-slot2.mjs +16 -16
- package/es/packages/element-plus/crud/column/column-slot3.mjs +207 -207
- package/es/packages/element-plus/crud/column/column.mjs +8 -8
- package/es/packages/element-plus/crud/column/column2.mjs +12 -12
- package/es/packages/element-plus/crud/column/column3.mjs +49 -49
- package/es/packages/element-plus/crud/column/menu.mjs +8 -8
- package/es/packages/element-plus/crud/column/menu2.mjs +7 -7
- package/es/packages/element-plus/crud/column/menu3.mjs +57 -57
- package/es/packages/element-plus/crud/config.mjs +77 -77
- package/es/packages/element-plus/crud/dialog/dialog-column.mjs +8 -8
- package/es/packages/element-plus/crud/dialog/dialog-column2.mjs +9 -9
- package/es/packages/element-plus/crud/dialog/dialog-column3.mjs +71 -71
- package/es/packages/element-plus/crud/dialog/dialog-excel.mjs +8 -8
- package/es/packages/element-plus/crud/dialog/dialog-excel2.mjs +8 -8
- package/es/packages/element-plus/crud/dialog/dialog-excel3.mjs +59 -59
- package/es/packages/element-plus/crud/dialog/dialog-filter.mjs +8 -8
- package/es/packages/element-plus/crud/dialog/dialog-filter2.mjs +7 -7
- package/es/packages/element-plus/crud/dialog/dialog-filter3.mjs +146 -146
- package/es/packages/element-plus/crud/dialog/dialog-form.mjs +8 -8
- package/es/packages/element-plus/crud/dialog/dialog-form2.mjs +9 -9
- package/es/packages/element-plus/crud/dialog/dialog-form3.mjs +137 -137
- package/es/packages/element-plus/crud/grid/index.mjs +8 -8
- package/es/packages/element-plus/crud/grid/index2.mjs +7 -7
- package/es/packages/element-plus/crud/grid/index3.mjs +117 -117
- package/es/packages/element-plus/crud/grid/item.mjs +8 -8
- package/es/packages/element-plus/crud/grid/item2.mjs +4 -4
- package/es/packages/element-plus/crud/grid/item3.mjs +6 -6
- package/es/packages/element-plus/crud/index.mjs +8 -8
- package/es/packages/element-plus/crud/index2.mjs +39 -39
- package/es/packages/element-plus/crud/index3.mjs +280 -280
- package/es/packages/element-plus/crud/menu/header-menu.mjs +8 -8
- package/es/packages/element-plus/crud/menu/header-menu2.mjs +14 -14
- package/es/packages/element-plus/crud/menu/header-menu3.mjs +171 -171
- package/es/packages/element-plus/crud/menu/header-search.mjs +8 -8
- package/es/packages/element-plus/crud/menu/header-search2.mjs +11 -11
- package/es/packages/element-plus/crud/menu/header-search3.mjs +81 -81
- package/es/packages/element-plus/crud/menu/table-page.mjs +8 -8
- package/es/packages/element-plus/crud/menu/table-page2.mjs +7 -7
- package/es/packages/element-plus/crud/menu/table-page3.mjs +40 -40
- package/es/packages/element-plus/date/index.mjs +8 -8
- package/es/packages/element-plus/date/index2.mjs +9 -9
- package/es/packages/element-plus/date/index3.mjs +62 -62
- package/es/packages/element-plus/draggable/index.mjs +8 -8
- package/es/packages/element-plus/draggable/index2.mjs +7 -7
- package/es/packages/element-plus/draggable/index3.mjs +83 -83
- package/es/packages/element-plus/dynamic/index.mjs +8 -8
- package/es/packages/element-plus/dynamic/index2.mjs +9 -9
- package/es/packages/element-plus/dynamic/index3.mjs +135 -135
- package/es/packages/element-plus/flow/index.mjs +8 -8
- package/es/packages/element-plus/flow/index2.mjs +10 -10
- package/es/packages/element-plus/flow/index3.mjs +45 -45
- package/es/packages/element-plus/flow/node.mjs +8 -8
- package/es/packages/element-plus/flow/node2.mjs +6 -6
- package/es/packages/element-plus/flow/node3.mjs +47 -47
- package/es/packages/element-plus/form/config.mjs +9 -9
- package/es/packages/element-plus/form/index.mjs +8 -8
- package/es/packages/element-plus/form/index2.mjs +18 -18
- package/es/packages/element-plus/form/index3.mjs +312 -312
- package/es/packages/element-plus/form/menu.mjs +8 -8
- package/es/packages/element-plus/form/menu2.mjs +7 -7
- package/es/packages/element-plus/form/menu3.mjs +91 -91
- package/es/packages/element-plus/group/index.mjs +8 -8
- package/es/packages/element-plus/group/index2.mjs +6 -6
- package/es/packages/element-plus/group/index3.mjs +73 -73
- package/es/packages/element-plus/input/index.mjs +8 -8
- package/es/packages/element-plus/input/index2.mjs +9 -9
- package/es/packages/element-plus/input/index3.mjs +316 -316
- package/es/packages/element-plus/input-color/index.mjs +8 -8
- package/es/packages/element-plus/input-color/index2.mjs +8 -8
- package/es/packages/element-plus/input-color/index3.mjs +42 -42
- package/es/packages/element-plus/input-cron/index.mjs +8 -8
- package/es/packages/element-plus/input-cron/index2.mjs +9 -9
- package/es/packages/element-plus/input-cron/index3.mjs +214 -214
- package/es/packages/element-plus/input-icon/index.mjs +8 -8
- package/es/packages/element-plus/input-icon/index2.mjs +11 -11
- package/es/packages/element-plus/input-icon/index3.mjs +96 -96
- package/es/packages/element-plus/input-map/index.mjs +8 -8
- package/es/packages/element-plus/input-map/index2.mjs +10 -10
- package/es/packages/element-plus/input-map/index3.mjs +99 -99
- package/es/packages/element-plus/input-number/index.mjs +8 -8
- package/es/packages/element-plus/input-number/index2.mjs +8 -8
- package/es/packages/element-plus/input-number/index3.mjs +54 -54
- package/es/packages/element-plus/input-table/index.mjs +8 -8
- package/es/packages/element-plus/input-table/index2.mjs +9 -9
- package/es/packages/element-plus/input-table/index3.mjs +77 -77
- package/es/packages/element-plus/input-tag/index.mjs +8 -8
- package/es/packages/element-plus/input-tag/index2.mjs +8 -8
- package/es/packages/element-plus/input-tag/index3.mjs +61 -61
- package/es/packages/element-plus/input-tree/index.mjs +8 -8
- package/es/packages/element-plus/input-tree/index2.mjs +9 -9
- package/es/packages/element-plus/input-tree/index3.mjs +75 -75
- package/es/packages/element-plus/license/index.mjs +8 -8
- package/es/packages/element-plus/license/index2.mjs +7 -7
- package/es/packages/element-plus/license/index3.mjs +19 -19
- package/es/packages/element-plus/login/index.mjs +8 -8
- package/es/packages/element-plus/login/index2.mjs +7 -7
- package/es/packages/element-plus/login/index3.mjs +165 -165
- package/es/packages/element-plus/mention/index.mjs +8 -8
- package/es/packages/element-plus/mention/index2.mjs +9 -9
- package/es/packages/element-plus/mention/index3.mjs +66 -66
- package/es/packages/element-plus/radio/index.mjs +8 -8
- package/es/packages/element-plus/radio/index2.mjs +8 -8
- package/es/packages/element-plus/radio/index3.mjs +38 -38
- package/es/packages/element-plus/rate/index.mjs +8 -8
- package/es/packages/element-plus/rate/index2.mjs +8 -8
- package/es/packages/element-plus/rate/index3.mjs +22 -22
- package/es/packages/element-plus/search/index.mjs +8 -8
- package/es/packages/element-plus/search/index2.mjs +8 -8
- package/es/packages/element-plus/search/index3.mjs +50 -50
- package/es/packages/element-plus/select/index.mjs +8 -8
- package/es/packages/element-plus/select/index2.mjs +12 -12
- package/es/packages/element-plus/select/index3.mjs +160 -160
- package/es/packages/element-plus/sign/index.mjs +8 -8
- package/es/packages/element-plus/sign/index2.mjs +6 -6
- package/es/packages/element-plus/sign/index3.mjs +19 -19
- package/es/packages/element-plus/slider/index.mjs +8 -8
- package/es/packages/element-plus/slider/index2.mjs +8 -8
- package/es/packages/element-plus/slider/index3.mjs +25 -25
- package/es/packages/element-plus/switch/index.mjs +8 -8
- package/es/packages/element-plus/switch/index2.mjs +8 -8
- package/es/packages/element-plus/switch/index3.mjs +29 -29
- package/es/packages/element-plus/tabs/index.mjs +8 -8
- package/es/packages/element-plus/tabs/index2.mjs +6 -6
- package/es/packages/element-plus/tabs/index3.mjs +39 -39
- package/es/packages/element-plus/text-ellipsis/index.mjs +8 -8
- package/es/packages/element-plus/text-ellipsis/index2.mjs +6 -6
- package/es/packages/element-plus/text-ellipsis/index3.mjs +42 -42
- package/es/packages/element-plus/time/index.mjs +8 -8
- package/es/packages/element-plus/time/index2.mjs +9 -9
- package/es/packages/element-plus/time/index3.mjs +40 -40
- package/es/packages/element-plus/title/index.mjs +8 -8
- package/es/packages/element-plus/title/index2.mjs +8 -8
- package/es/packages/element-plus/title/index3.mjs +14 -14
- package/es/packages/element-plus/tree/index.mjs +8 -8
- package/es/packages/element-plus/tree/index2.mjs +9 -9
- package/es/packages/element-plus/tree/index3.mjs +186 -186
- package/es/packages/element-plus/upload/index.mjs +8 -8
- package/es/packages/element-plus/upload/index2.mjs +14 -14
- package/es/packages/element-plus/upload/index3.mjs +366 -366
- package/es/packages/element-plus/verify/index.mjs +8 -8
- package/es/packages/element-plus/verify/index2.mjs +6 -6
- package/es/packages/element-plus/verify/index3.mjs +18 -18
- package/es/packages/element-plus/video/index.mjs +8 -8
- package/es/packages/element-plus/video/index2.mjs +7 -7
- package/es/packages/element-plus/video/index3.mjs +41 -41
- package/es/src/core/create.mjs +12 -12
- package/es/src/core/dataformat.mjs +188 -188
- package/es/src/core/detail.mjs +78 -78
- package/es/src/core/dic.mjs +216 -216
- package/es/src/core/locale.mjs +12 -12
- package/es/src/core/packages.mjs +65 -65
- package/es/src/core/slot.mjs +35 -35
- package/es/src/global/variable.mjs +83 -83
- package/es/src/icon.mjs +13 -13
- package/es/src/index.mjs +262 -132
- package/es/src/locale/index.mjs +145 -145
- package/es/src/locale/lang/en.mjs +285 -285
- package/es/src/locale/lang/zh-cn.mjs +285 -285
- package/es/src/locale/lang/zh.mjs +285 -285
- package/es/src/plugin/ali/index.mjs +7 -7
- package/es/src/plugin/clipboard/index.mjs +64 -64
- package/es/src/plugin/export/_blob.mjs +151 -151
- package/es/src/plugin/export/_export2Excel.mjs +156 -143
- package/es/src/plugin/export/index.mjs +268 -267
- package/es/src/plugin/logs/index.mjs +46 -46
- package/es/src/plugin/print/index.mjs +147 -147
- package/es/src/plugin/qiniu/index.mjs +69 -69
- package/es/src/plugin/screenshot/index.mjs +12 -12
- package/es/src/plugin/video/index.mjs +55 -55
- package/es/src/plugin/watermark/index.mjs +118 -118
- package/es/src/plugin/watermark/watermark.mjs +103 -103
- package/es/src/ui/data/index.mjs +75 -75
- package/es/src/ui/element-plus/index.mjs +132 -132
- package/es/src/ui/index.mjs +7 -7
- package/es/src/utils/bem.mjs +32 -32
- package/es/src/utils/mock.mjs +141 -141
- package/es/src/utils/util.mjs +374 -374
- package/es/src/utils/validate.mjs +21 -21
- package/es/src/version.mjs +4 -4
- package/lib/_virtual/_commonjsHelpers.js +8 -8
- package/lib/_virtual/dayjs.min.js +12 -12
- package/lib/_virtual/dayjs.min2.js +6 -6
- package/lib/avue.js +1 -1
- package/lib/avue.min.js +1 -1
- package/lib/index.js +11 -11
- package/lib/locale/browser/en.js +288 -288
- package/lib/locale/browser/zh-cn.js +288 -288
- package/lib/locale/browser/zh.js +288 -288
- package/lib/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +1 -1
- package/lib/packages/core/common/event.js +66 -66
- package/lib/packages/core/common/init.js +142 -142
- package/lib/packages/core/common/props.js +247 -247
- package/lib/packages/core/components/dialog-form/index.js +12 -12
- package/lib/packages/core/components/dialog-form/index2.js +38 -38
- package/lib/packages/core/components/dialog-form/index3.js +10 -10
- package/lib/packages/core/components/dialog-form/index4.js +69 -69
- package/lib/packages/core/components/form/custom.js +48 -48
- package/lib/packages/core/components/form/index.js +12 -12
- package/lib/packages/core/components/form/index2.js +12 -12
- package/lib/packages/core/components/form/index3.js +93 -93
- package/lib/packages/core/components/icon/index.js +12 -12
- package/lib/packages/core/components/icon/index2.js +8 -8
- package/lib/packages/core/components/icon/index3.js +43 -43
- package/lib/packages/core/components/image-preview/index.js +12 -12
- package/lib/packages/core/components/image-preview/index2.js +43 -43
- package/lib/packages/core/components/image-preview/index3.js +12 -12
- package/lib/packages/core/components/image-preview/index4.js +162 -162
- package/lib/packages/core/directive/contextmenu.js +99 -99
- package/lib/packages/core/directive/permission.js +26 -26
- package/lib/packages/data/box/index.js +12 -12
- package/lib/packages/data/box/index2.js +10 -10
- package/lib/packages/data/box/index3.js +68 -68
- package/lib/packages/data/card/index.js +12 -12
- package/lib/packages/data/card/index2.js +10 -10
- package/lib/packages/data/card/index3.js +59 -59
- package/lib/packages/data/cardText/index.js +12 -12
- package/lib/packages/data/cardText/index2.js +10 -10
- package/lib/packages/data/cardText/index3.js +52 -52
- package/lib/packages/data/countdown/index.js +12 -12
- package/lib/packages/data/countdown/index2.js +11 -11
- package/lib/packages/data/countdown/index3.js +97 -97
- package/lib/packages/data/dashboard/index.js +12 -12
- package/lib/packages/data/dashboard/index2.js +10 -10
- package/lib/packages/data/dashboard/index3.js +102 -102
- package/lib/packages/data/display/index.js +12 -12
- package/lib/packages/data/display/index2.js +10 -10
- package/lib/packages/data/display/index3.js +58 -58
- package/lib/packages/data/icons/index.js +12 -12
- package/lib/packages/data/icons/index2.js +10 -10
- package/lib/packages/data/icons/index3.js +68 -68
- package/lib/packages/data/imgText/index.js +12 -12
- package/lib/packages/data/imgText/index2.js +10 -10
- package/lib/packages/data/imgText/index3.js +89 -89
- package/lib/packages/data/list/index.js +12 -12
- package/lib/packages/data/list/index2.js +10 -10
- package/lib/packages/data/list/index3.js +136 -136
- package/lib/packages/data/notice/index.js +12 -12
- package/lib/packages/data/notice/index2.js +11 -11
- package/lib/packages/data/notice/index3.js +61 -61
- package/lib/packages/data/operaText/index.js +12 -12
- package/lib/packages/data/operaText/index2.js +10 -10
- package/lib/packages/data/operaText/index3.js +76 -76
- package/lib/packages/data/panel/index.js +12 -12
- package/lib/packages/data/panel/index2.js +10 -10
- package/lib/packages/data/panel/index3.js +66 -66
- package/lib/packages/data/pay/index.js +12 -12
- package/lib/packages/data/pay/index2.js +10 -10
- package/lib/packages/data/pay/index3.js +130 -130
- package/lib/packages/data/price/index.js +12 -12
- package/lib/packages/data/price/index2.js +10 -10
- package/lib/packages/data/price/index3.js +58 -58
- package/lib/packages/data/product/index.js +12 -12
- package/lib/packages/data/product/index2.js +11 -11
- package/lib/packages/data/product/index3.js +160 -160
- package/lib/packages/data/profile/index.js +12 -12
- package/lib/packages/data/profile/index2.js +10 -10
- package/lib/packages/data/profile/index3.js +168 -168
- package/lib/packages/data/progress/index.js +12 -12
- package/lib/packages/data/progress/index2.js +10 -10
- package/lib/packages/data/progress/index3.js +65 -65
- package/lib/packages/data/rank/index.js +12 -12
- package/lib/packages/data/rank/index2.js +10 -10
- package/lib/packages/data/rank/index3.js +101 -101
- package/lib/packages/data/rotate/index.js +12 -12
- package/lib/packages/data/rotate/index2.js +11 -11
- package/lib/packages/data/rotate/index3.js +77 -77
- package/lib/packages/data/statistic/index.js +12 -12
- package/lib/packages/data/statistic/index2.js +10 -10
- package/lib/packages/data/statistic/index3.js +102 -102
- package/lib/packages/data/tabs/index.js +12 -12
- package/lib/packages/data/tabs/index2.js +10 -10
- package/lib/packages/data/tabs/index3.js +67 -67
- package/lib/packages/data/task/index.js +12 -12
- package/lib/packages/data/task/index2.js +11 -11
- package/lib/packages/data/task/index3.js +84 -84
- package/lib/packages/data/weather/index.js +12 -12
- package/lib/packages/data/weather/index2.js +11 -11
- package/lib/packages/data/weather/index3.js +82 -82
- package/lib/packages/element-plus/array/index.js +12 -12
- package/lib/packages/element-plus/array/index2.js +13 -13
- package/lib/packages/element-plus/array/index3.js +104 -104
- package/lib/packages/element-plus/article/index.js +12 -12
- package/lib/packages/element-plus/article/index2.js +10 -10
- package/lib/packages/element-plus/article/index3.js +50 -50
- package/lib/packages/element-plus/card/index.js +12 -12
- package/lib/packages/element-plus/card/index2.js +11 -11
- package/lib/packages/element-plus/card/index3.js +96 -96
- package/lib/packages/element-plus/cascader/index.js +12 -12
- package/lib/packages/element-plus/cascader/index2.js +12 -12
- package/lib/packages/element-plus/cascader/index3.js +49 -49
- package/lib/packages/element-plus/chat/index.js +12 -12
- package/lib/packages/element-plus/chat/index2.js +12 -12
- package/lib/packages/element-plus/chat/index3.js +394 -394
- package/lib/packages/element-plus/checkbox/index.js +12 -12
- package/lib/packages/element-plus/checkbox/index2.js +13 -13
- package/lib/packages/element-plus/checkbox/index3.js +63 -63
- package/lib/packages/element-plus/comment/index.js +12 -12
- package/lib/packages/element-plus/comment/index2.js +10 -10
- package/lib/packages/element-plus/comment/index3.js +45 -45
- package/lib/packages/element-plus/count-up/index.js +12 -12
- package/lib/packages/element-plus/count-up/index2.js +20 -23
- package/lib/packages/element-plus/count-up/index3.js +10 -10
- package/lib/packages/element-plus/crud/column/column-default.js +12 -12
- package/lib/packages/element-plus/crud/column/column-default2.js +14 -14
- package/lib/packages/element-plus/crud/column/column-default3.js +64 -64
- package/lib/packages/element-plus/crud/column/column-dynamic.js +12 -12
- package/lib/packages/element-plus/crud/column/column-dynamic2.js +13 -13
- package/lib/packages/element-plus/crud/column/column-dynamic3.js +77 -77
- package/lib/packages/element-plus/crud/column/column-menu.js +12 -12
- package/lib/packages/element-plus/crud/column/column-menu2.js +15 -15
- package/lib/packages/element-plus/crud/column/column-menu3.js +306 -306
- package/lib/packages/element-plus/crud/column/column-slot.js +12 -12
- package/lib/packages/element-plus/crud/column/column-slot2.js +20 -20
- package/lib/packages/element-plus/crud/column/column-slot3.js +209 -209
- package/lib/packages/element-plus/crud/column/column.js +12 -12
- package/lib/packages/element-plus/crud/column/column2.js +16 -16
- package/lib/packages/element-plus/crud/column/column3.js +51 -51
- package/lib/packages/element-plus/crud/column/menu.js +12 -12
- package/lib/packages/element-plus/crud/column/menu2.js +11 -11
- package/lib/packages/element-plus/crud/column/menu3.js +59 -59
- package/lib/packages/element-plus/crud/config.js +81 -81
- package/lib/packages/element-plus/crud/dialog/dialog-column.js +12 -12
- package/lib/packages/element-plus/crud/dialog/dialog-column2.js +13 -13
- package/lib/packages/element-plus/crud/dialog/dialog-column3.js +73 -73
- package/lib/packages/element-plus/crud/dialog/dialog-excel.js +12 -12
- package/lib/packages/element-plus/crud/dialog/dialog-excel2.js +12 -12
- package/lib/packages/element-plus/crud/dialog/dialog-excel3.js +61 -61
- package/lib/packages/element-plus/crud/dialog/dialog-filter.js +12 -12
- package/lib/packages/element-plus/crud/dialog/dialog-filter2.js +11 -11
- package/lib/packages/element-plus/crud/dialog/dialog-filter3.js +148 -148
- package/lib/packages/element-plus/crud/dialog/dialog-form.js +12 -12
- package/lib/packages/element-plus/crud/dialog/dialog-form2.js +13 -13
- package/lib/packages/element-plus/crud/dialog/dialog-form3.js +139 -139
- package/lib/packages/element-plus/crud/grid/index.js +12 -12
- package/lib/packages/element-plus/crud/grid/index2.js +11 -11
- package/lib/packages/element-plus/crud/grid/index3.js +119 -119
- package/lib/packages/element-plus/crud/grid/item.js +12 -12
- package/lib/packages/element-plus/crud/grid/item2.js +8 -8
- package/lib/packages/element-plus/crud/grid/item3.js +8 -8
- package/lib/packages/element-plus/crud/index.js +12 -12
- package/lib/packages/element-plus/crud/index2.js +43 -43
- package/lib/packages/element-plus/crud/index3.js +282 -282
- package/lib/packages/element-plus/crud/menu/header-menu.js +12 -12
- package/lib/packages/element-plus/crud/menu/header-menu2.js +18 -18
- package/lib/packages/element-plus/crud/menu/header-menu3.js +173 -173
- package/lib/packages/element-plus/crud/menu/header-search.js +12 -12
- package/lib/packages/element-plus/crud/menu/header-search2.js +15 -15
- package/lib/packages/element-plus/crud/menu/header-search3.js +83 -83
- package/lib/packages/element-plus/crud/menu/table-page.js +12 -12
- package/lib/packages/element-plus/crud/menu/table-page2.js +11 -11
- package/lib/packages/element-plus/crud/menu/table-page3.js +42 -42
- package/lib/packages/element-plus/date/index.js +12 -12
- package/lib/packages/element-plus/date/index2.js +13 -13
- package/lib/packages/element-plus/date/index3.js +64 -64
- package/lib/packages/element-plus/draggable/index.js +12 -12
- package/lib/packages/element-plus/draggable/index2.js +11 -11
- package/lib/packages/element-plus/draggable/index3.js +85 -85
- package/lib/packages/element-plus/dynamic/index.js +12 -12
- package/lib/packages/element-plus/dynamic/index2.js +13 -13
- package/lib/packages/element-plus/dynamic/index3.js +137 -137
- package/lib/packages/element-plus/flow/index.js +12 -12
- package/lib/packages/element-plus/flow/index2.js +14 -14
- package/lib/packages/element-plus/flow/index3.js +47 -47
- package/lib/packages/element-plus/flow/node.js +12 -12
- package/lib/packages/element-plus/flow/node2.js +10 -10
- package/lib/packages/element-plus/flow/node3.js +49 -49
- package/lib/packages/element-plus/form/config.js +13 -13
- package/lib/packages/element-plus/form/index.js +12 -12
- package/lib/packages/element-plus/form/index2.js +22 -22
- package/lib/packages/element-plus/form/index3.js +314 -314
- package/lib/packages/element-plus/form/menu.js +12 -12
- package/lib/packages/element-plus/form/menu2.js +11 -11
- package/lib/packages/element-plus/form/menu3.js +93 -93
- package/lib/packages/element-plus/group/index.js +12 -12
- package/lib/packages/element-plus/group/index2.js +10 -10
- package/lib/packages/element-plus/group/index3.js +75 -75
- package/lib/packages/element-plus/input/index.js +12 -12
- package/lib/packages/element-plus/input/index2.js +13 -13
- package/lib/packages/element-plus/input/index3.js +318 -318
- package/lib/packages/element-plus/input-color/index.js +12 -12
- package/lib/packages/element-plus/input-color/index2.js +12 -12
- package/lib/packages/element-plus/input-color/index3.js +44 -44
- package/lib/packages/element-plus/input-cron/index.js +12 -12
- package/lib/packages/element-plus/input-cron/index2.js +13 -13
- package/lib/packages/element-plus/input-cron/index3.js +216 -216
- package/lib/packages/element-plus/input-icon/index.js +12 -12
- package/lib/packages/element-plus/input-icon/index2.js +15 -15
- package/lib/packages/element-plus/input-icon/index3.js +98 -98
- package/lib/packages/element-plus/input-map/index.js +12 -12
- package/lib/packages/element-plus/input-map/index2.js +14 -14
- package/lib/packages/element-plus/input-map/index3.js +101 -101
- package/lib/packages/element-plus/input-number/index.js +12 -12
- package/lib/packages/element-plus/input-number/index2.js +12 -12
- package/lib/packages/element-plus/input-number/index3.js +56 -56
- package/lib/packages/element-plus/input-table/index.js +12 -12
- package/lib/packages/element-plus/input-table/index2.js +13 -13
- package/lib/packages/element-plus/input-table/index3.js +79 -79
- package/lib/packages/element-plus/input-tag/index.js +12 -12
- package/lib/packages/element-plus/input-tag/index2.js +12 -12
- package/lib/packages/element-plus/input-tag/index3.js +63 -63
- package/lib/packages/element-plus/input-tree/index.js +12 -12
- package/lib/packages/element-plus/input-tree/index2.js +13 -13
- package/lib/packages/element-plus/input-tree/index3.js +77 -77
- package/lib/packages/element-plus/license/index.js +12 -12
- package/lib/packages/element-plus/license/index2.js +11 -11
- package/lib/packages/element-plus/license/index3.js +21 -21
- package/lib/packages/element-plus/login/index.js +12 -12
- package/lib/packages/element-plus/login/index2.js +11 -11
- package/lib/packages/element-plus/login/index3.js +167 -167
- package/lib/packages/element-plus/mention/index.js +12 -12
- package/lib/packages/element-plus/mention/index2.js +13 -13
- package/lib/packages/element-plus/mention/index3.js +68 -68
- package/lib/packages/element-plus/radio/index.js +12 -12
- package/lib/packages/element-plus/radio/index2.js +12 -12
- package/lib/packages/element-plus/radio/index3.js +40 -40
- package/lib/packages/element-plus/rate/index.js +12 -12
- package/lib/packages/element-plus/rate/index2.js +12 -12
- package/lib/packages/element-plus/rate/index3.js +24 -24
- package/lib/packages/element-plus/search/index.js +12 -12
- package/lib/packages/element-plus/search/index2.js +12 -12
- package/lib/packages/element-plus/search/index3.js +52 -52
- package/lib/packages/element-plus/select/index.js +12 -12
- package/lib/packages/element-plus/select/index2.js +16 -16
- package/lib/packages/element-plus/select/index3.js +162 -162
- package/lib/packages/element-plus/sign/index.js +12 -12
- package/lib/packages/element-plus/sign/index2.js +10 -10
- package/lib/packages/element-plus/sign/index3.js +21 -21
- package/lib/packages/element-plus/slider/index.js +12 -12
- package/lib/packages/element-plus/slider/index2.js +12 -12
- package/lib/packages/element-plus/slider/index3.js +27 -27
- package/lib/packages/element-plus/switch/index.js +12 -12
- package/lib/packages/element-plus/switch/index2.js +12 -12
- package/lib/packages/element-plus/switch/index3.js +31 -31
- package/lib/packages/element-plus/tabs/index.js +12 -12
- package/lib/packages/element-plus/tabs/index2.js +10 -10
- package/lib/packages/element-plus/tabs/index3.js +41 -41
- package/lib/packages/element-plus/text-ellipsis/index.js +12 -12
- package/lib/packages/element-plus/text-ellipsis/index2.js +10 -10
- package/lib/packages/element-plus/text-ellipsis/index3.js +44 -44
- package/lib/packages/element-plus/time/index.js +12 -12
- package/lib/packages/element-plus/time/index2.js +13 -13
- package/lib/packages/element-plus/time/index3.js +42 -42
- package/lib/packages/element-plus/title/index.js +12 -12
- package/lib/packages/element-plus/title/index2.js +12 -12
- package/lib/packages/element-plus/title/index3.js +16 -16
- package/lib/packages/element-plus/tree/index.js +12 -12
- package/lib/packages/element-plus/tree/index2.js +13 -13
- package/lib/packages/element-plus/tree/index3.js +188 -188
- package/lib/packages/element-plus/upload/index.js +12 -12
- package/lib/packages/element-plus/upload/index2.js +18 -18
- package/lib/packages/element-plus/upload/index3.js +368 -368
- package/lib/packages/element-plus/verify/index.js +12 -12
- package/lib/packages/element-plus/verify/index2.js +10 -10
- package/lib/packages/element-plus/verify/index3.js +20 -20
- package/lib/packages/element-plus/video/index.js +12 -12
- package/lib/packages/element-plus/video/index2.js +11 -11
- package/lib/packages/element-plus/video/index3.js +43 -43
- package/lib/src/core/create.js +16 -16
- package/lib/src/core/dataformat.js +196 -196
- package/lib/src/core/detail.js +80 -80
- package/lib/src/core/dic.js +221 -221
- package/lib/src/core/locale.js +16 -16
- package/lib/src/core/packages.js +69 -69
- package/lib/src/core/slot.js +39 -39
- package/lib/src/global/variable.js +99 -99
- package/lib/src/icon.js +37 -37
- package/lib/src/index.js +356 -139
- package/lib/src/locale/index.js +159 -159
- package/lib/src/locale/lang/en.js +289 -289
- package/lib/src/locale/lang/zh-cn.js +289 -289
- package/lib/src/locale/lang/zh.js +289 -289
- package/lib/src/plugin/ali/index.js +9 -9
- package/lib/src/plugin/clipboard/index.js +68 -68
- package/lib/src/plugin/export/_blob.js +153 -153
- package/lib/src/plugin/export/_export2Excel.js +159 -146
- package/lib/src/plugin/export/index.js +272 -271
- package/lib/src/plugin/logs/index.js +50 -50
- package/lib/src/plugin/print/index.js +151 -151
- package/lib/src/plugin/qiniu/index.js +71 -71
- package/lib/src/plugin/screenshot/index.js +16 -16
- package/lib/src/plugin/video/index.js +59 -59
- package/lib/src/plugin/watermark/index.js +123 -123
- package/lib/src/plugin/watermark/watermark.js +107 -107
- package/lib/src/ui/data/index.js +102 -79
- package/lib/src/ui/element-plus/index.js +178 -136
- package/lib/src/ui/index.js +11 -11
- package/lib/src/utils/bem.js +36 -36
- package/lib/src/utils/mock.js +145 -145
- package/lib/src/utils/util.js +408 -408
- package/lib/src/utils/validate.js +23 -23
- package/lib/src/version.js +6 -6
- package/package.json +1 -1
- package/types/index.d.ts +91 -4
|
@@ -1,123 +1,123 @@
|
|
|
1
|
-
/*! Avue.js v3.9.
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var src_plugin_watermark_watermark = require('./watermark.js');
|
|
7
|
-
var src_utils_util = require('../../utils/util.js');
|
|
8
|
-
|
|
9
|
-
let canvas;
|
|
10
|
-
let ctx;
|
|
11
|
-
const configDefault = {
|
|
12
|
-
width: 200,
|
|
13
|
-
height: 200,
|
|
14
|
-
};
|
|
15
|
-
const config = {
|
|
16
|
-
text: 'avueJS',
|
|
17
|
-
fontFamily: 'microsoft yahei',
|
|
18
|
-
color: '#999',
|
|
19
|
-
fontSize: 16,
|
|
20
|
-
opacity: 100,
|
|
21
|
-
bottom: 10,
|
|
22
|
-
right: 10,
|
|
23
|
-
ratio: 1,
|
|
24
|
-
};
|
|
25
|
-
function $Watermark (opt = {}) {
|
|
26
|
-
return new src_plugin_watermark_watermark.default(opt);
|
|
27
|
-
}
|
|
28
|
-
function detailImg(file, option = {}) {
|
|
29
|
-
return new Promise((resolve) => {
|
|
30
|
-
const { text, fontFamily, color, fontSize, opacity, bottom, right, ratio } = option;
|
|
31
|
-
initParams();
|
|
32
|
-
fileToBase64(file, initImg);
|
|
33
|
-
function initParams() {
|
|
34
|
-
config.text = text || config.text;
|
|
35
|
-
config.fontFamily = fontFamily || config.fontFamily;
|
|
36
|
-
config.color = color || config.color;
|
|
37
|
-
config.fontSize = fontSize || config.fontSize;
|
|
38
|
-
config.opacity = opacity || config.opacity;
|
|
39
|
-
config.bottom = bottom || config.bottom;
|
|
40
|
-
config.right = right || config.right;
|
|
41
|
-
config.ratio = ratio || config.ratio;
|
|
42
|
-
}
|
|
43
|
-
function initImg(data) {
|
|
44
|
-
const img = new Image();
|
|
45
|
-
img.src = data;
|
|
46
|
-
img.onload = function () {
|
|
47
|
-
const width = img.width;
|
|
48
|
-
const height = img.height;
|
|
49
|
-
cretedCanvas(width, height);
|
|
50
|
-
ctx === null || ctx === void 0 ? void 0 : ctx.drawImage(img, 0, 0, width, height);
|
|
51
|
-
setText(width, height);
|
|
52
|
-
const currentCanvas = document.getElementById('canvas');
|
|
53
|
-
resolve(src_utils_util.dataURLtoFile(currentCanvas.toDataURL(file.type, config.ratio), file.name));
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
function cretedCanvas(width, height) {
|
|
57
|
-
canvas = document.getElementById('canvas');
|
|
58
|
-
if (canvas === null) {
|
|
59
|
-
canvas = document.createElement('canvas');
|
|
60
|
-
canvas.id = 'canvas';
|
|
61
|
-
canvas.className = 'avue-canvas';
|
|
62
|
-
document.body.appendChild(canvas);
|
|
63
|
-
}
|
|
64
|
-
ctx = canvas.getContext('2d');
|
|
65
|
-
canvas.width = width;
|
|
66
|
-
canvas.height = height;
|
|
67
|
-
}
|
|
68
|
-
function setText(width, height) {
|
|
69
|
-
const txt = config.text;
|
|
70
|
-
const param = calcParam(txt, width, height);
|
|
71
|
-
if (!ctx)
|
|
72
|
-
return;
|
|
73
|
-
ctx.font = param.fontSize + 'px ' + config.fontFamily;
|
|
74
|
-
ctx.fillStyle = config.color;
|
|
75
|
-
ctx.globalAlpha = config.opacity / 100;
|
|
76
|
-
ctx.fillText(txt, param.x, param.y);
|
|
77
|
-
}
|
|
78
|
-
function calcParam(txt, width, height) {
|
|
79
|
-
let x;
|
|
80
|
-
let y;
|
|
81
|
-
const calcFontSize = config.fontSize / configDefault.width;
|
|
82
|
-
const fontSize = calcFontSize * width;
|
|
83
|
-
if (config.bottom) {
|
|
84
|
-
y = configDefault.height - config.bottom;
|
|
85
|
-
}
|
|
86
|
-
else {
|
|
87
|
-
y = config.top;
|
|
88
|
-
}
|
|
89
|
-
if (config.right) {
|
|
90
|
-
x = configDefault.width - config.right;
|
|
91
|
-
}
|
|
92
|
-
else {
|
|
93
|
-
x = config.left;
|
|
94
|
-
}
|
|
95
|
-
if (!ctx) {
|
|
96
|
-
return { x: 0, y: 0, fontSize };
|
|
97
|
-
}
|
|
98
|
-
ctx.font = config.fontSize + 'px ' + config.fontFamily;
|
|
99
|
-
const txtWidth = Number(ctx.measureText(txt).width);
|
|
100
|
-
x = x - txtWidth;
|
|
101
|
-
const calcPosX = x / configDefault.width;
|
|
102
|
-
const calcPosY = y / configDefault.height;
|
|
103
|
-
x = calcPosX * width;
|
|
104
|
-
y = calcPosY * height;
|
|
105
|
-
return {
|
|
106
|
-
x,
|
|
107
|
-
y,
|
|
108
|
-
fontSize,
|
|
109
|
-
};
|
|
110
|
-
}
|
|
111
|
-
function fileToBase64(rawFile, callback) {
|
|
112
|
-
const reader = new FileReader();
|
|
113
|
-
reader.readAsDataURL(rawFile);
|
|
114
|
-
reader.onload = function (e) {
|
|
115
|
-
var _a;
|
|
116
|
-
callback((_a = e.target) === null || _a === void 0 ? void 0 : _a.result);
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
exports.default = $Watermark;
|
|
123
|
-
exports.detailImg = detailImg;
|
|
1
|
+
/*! Avue.js v3.9.1 | (c) 2017-2026 Smallwei | Released under the MIT License. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var src_plugin_watermark_watermark = require('./watermark.js');
|
|
7
|
+
var src_utils_util = require('../../utils/util.js');
|
|
8
|
+
|
|
9
|
+
let canvas;
|
|
10
|
+
let ctx;
|
|
11
|
+
const configDefault = {
|
|
12
|
+
width: 200,
|
|
13
|
+
height: 200,
|
|
14
|
+
};
|
|
15
|
+
const config = {
|
|
16
|
+
text: 'avueJS',
|
|
17
|
+
fontFamily: 'microsoft yahei',
|
|
18
|
+
color: '#999',
|
|
19
|
+
fontSize: 16,
|
|
20
|
+
opacity: 100,
|
|
21
|
+
bottom: 10,
|
|
22
|
+
right: 10,
|
|
23
|
+
ratio: 1,
|
|
24
|
+
};
|
|
25
|
+
function $Watermark (opt = {}) {
|
|
26
|
+
return new src_plugin_watermark_watermark.default(opt);
|
|
27
|
+
}
|
|
28
|
+
function detailImg(file, option = {}) {
|
|
29
|
+
return new Promise((resolve) => {
|
|
30
|
+
const { text, fontFamily, color, fontSize, opacity, bottom, right, ratio } = option;
|
|
31
|
+
initParams();
|
|
32
|
+
fileToBase64(file, initImg);
|
|
33
|
+
function initParams() {
|
|
34
|
+
config.text = text || config.text;
|
|
35
|
+
config.fontFamily = fontFamily || config.fontFamily;
|
|
36
|
+
config.color = color || config.color;
|
|
37
|
+
config.fontSize = fontSize || config.fontSize;
|
|
38
|
+
config.opacity = opacity || config.opacity;
|
|
39
|
+
config.bottom = bottom || config.bottom;
|
|
40
|
+
config.right = right || config.right;
|
|
41
|
+
config.ratio = ratio || config.ratio;
|
|
42
|
+
}
|
|
43
|
+
function initImg(data) {
|
|
44
|
+
const img = new Image();
|
|
45
|
+
img.src = data;
|
|
46
|
+
img.onload = function () {
|
|
47
|
+
const width = img.width;
|
|
48
|
+
const height = img.height;
|
|
49
|
+
cretedCanvas(width, height);
|
|
50
|
+
ctx === null || ctx === void 0 ? void 0 : ctx.drawImage(img, 0, 0, width, height);
|
|
51
|
+
setText(width, height);
|
|
52
|
+
const currentCanvas = document.getElementById('canvas');
|
|
53
|
+
resolve(src_utils_util.dataURLtoFile(currentCanvas.toDataURL(file.type, config.ratio), file.name));
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function cretedCanvas(width, height) {
|
|
57
|
+
canvas = document.getElementById('canvas');
|
|
58
|
+
if (canvas === null) {
|
|
59
|
+
canvas = document.createElement('canvas');
|
|
60
|
+
canvas.id = 'canvas';
|
|
61
|
+
canvas.className = 'avue-canvas';
|
|
62
|
+
document.body.appendChild(canvas);
|
|
63
|
+
}
|
|
64
|
+
ctx = canvas.getContext('2d');
|
|
65
|
+
canvas.width = width;
|
|
66
|
+
canvas.height = height;
|
|
67
|
+
}
|
|
68
|
+
function setText(width, height) {
|
|
69
|
+
const txt = config.text;
|
|
70
|
+
const param = calcParam(txt, width, height);
|
|
71
|
+
if (!ctx)
|
|
72
|
+
return;
|
|
73
|
+
ctx.font = param.fontSize + 'px ' + config.fontFamily;
|
|
74
|
+
ctx.fillStyle = config.color;
|
|
75
|
+
ctx.globalAlpha = config.opacity / 100;
|
|
76
|
+
ctx.fillText(txt, param.x, param.y);
|
|
77
|
+
}
|
|
78
|
+
function calcParam(txt, width, height) {
|
|
79
|
+
let x;
|
|
80
|
+
let y;
|
|
81
|
+
const calcFontSize = config.fontSize / configDefault.width;
|
|
82
|
+
const fontSize = calcFontSize * width;
|
|
83
|
+
if (config.bottom) {
|
|
84
|
+
y = configDefault.height - config.bottom;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
y = config.top;
|
|
88
|
+
}
|
|
89
|
+
if (config.right) {
|
|
90
|
+
x = configDefault.width - config.right;
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
x = config.left;
|
|
94
|
+
}
|
|
95
|
+
if (!ctx) {
|
|
96
|
+
return { x: 0, y: 0, fontSize };
|
|
97
|
+
}
|
|
98
|
+
ctx.font = config.fontSize + 'px ' + config.fontFamily;
|
|
99
|
+
const txtWidth = Number(ctx.measureText(txt).width);
|
|
100
|
+
x = x - txtWidth;
|
|
101
|
+
const calcPosX = x / configDefault.width;
|
|
102
|
+
const calcPosY = y / configDefault.height;
|
|
103
|
+
x = calcPosX * width;
|
|
104
|
+
y = calcPosY * height;
|
|
105
|
+
return {
|
|
106
|
+
x,
|
|
107
|
+
y,
|
|
108
|
+
fontSize,
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
function fileToBase64(rawFile, callback) {
|
|
112
|
+
const reader = new FileReader();
|
|
113
|
+
reader.readAsDataURL(rawFile);
|
|
114
|
+
reader.onload = function (e) {
|
|
115
|
+
var _a;
|
|
116
|
+
callback((_a = e.target) === null || _a === void 0 ? void 0 : _a.result);
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
exports.default = $Watermark;
|
|
123
|
+
exports.detailImg = detailImg;
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
/*! Avue.js v3.9.
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
var src_utils_util = require('../../utils/util.js');
|
|
7
|
-
|
|
8
|
-
class WaterMark {
|
|
9
|
-
constructor(opt = {}) {
|
|
10
|
-
this.CONTAINERID = src_utils_util.randomId();
|
|
11
|
-
this.drawCanvas = this.drawCanvas.bind(this);
|
|
12
|
-
this.parentObserver = this.parentObserver.bind(this);
|
|
13
|
-
this.Repaint = this.Repaint.bind(this);
|
|
14
|
-
this.styleStr = '';
|
|
15
|
-
this.isOberserve = false;
|
|
16
|
-
this.init(opt);
|
|
17
|
-
this.drawCanvas();
|
|
18
|
-
this.parentObserver();
|
|
19
|
-
}
|
|
20
|
-
init(opt) {
|
|
21
|
-
this.option = Object.assign({
|
|
22
|
-
width: 400,
|
|
23
|
-
height: 200,
|
|
24
|
-
text: 'avueJS',
|
|
25
|
-
fontSize: '30px',
|
|
26
|
-
fontStyle: 'microsoft yahei',
|
|
27
|
-
textAlign: 'center',
|
|
28
|
-
color: 'rgba(100,100,100,0.15)',
|
|
29
|
-
degree: -20,
|
|
30
|
-
}, opt);
|
|
31
|
-
}
|
|
32
|
-
drawCanvas() {
|
|
33
|
-
this.isOberserve = true;
|
|
34
|
-
const divContainer = document.createElement('div');
|
|
35
|
-
const canvas = document.createElement('canvas');
|
|
36
|
-
const context = canvas.getContext('2d');
|
|
37
|
-
divContainer.id = this.CONTAINERID;
|
|
38
|
-
canvas.width = this.option.width;
|
|
39
|
-
canvas.height = this.option.height;
|
|
40
|
-
if (!context)
|
|
41
|
-
return;
|
|
42
|
-
context.font = `${this.option.fontSize} ${this.option.fontStyle}`;
|
|
43
|
-
context.textAlign = this.option.textAlign;
|
|
44
|
-
context.fillStyle = this.option.color;
|
|
45
|
-
context.translate(canvas.width / 2, canvas.height / 2);
|
|
46
|
-
context.rotate((this.option.degree * Math.PI) / 180);
|
|
47
|
-
context.fillText(this.option.text, 0, 0);
|
|
48
|
-
const backgroundUrl = canvas.toDataURL('image/png');
|
|
49
|
-
const flag = this.option.id;
|
|
50
|
-
let el = null;
|
|
51
|
-
if (flag)
|
|
52
|
-
el = document.getElementById(flag);
|
|
1
|
+
/*! Avue.js v3.9.1 | (c) 2017-2026 Smallwei | Released under the MIT License. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var src_utils_util = require('../../utils/util.js');
|
|
7
|
+
|
|
8
|
+
class WaterMark {
|
|
9
|
+
constructor(opt = {}) {
|
|
10
|
+
this.CONTAINERID = src_utils_util.randomId();
|
|
11
|
+
this.drawCanvas = this.drawCanvas.bind(this);
|
|
12
|
+
this.parentObserver = this.parentObserver.bind(this);
|
|
13
|
+
this.Repaint = this.Repaint.bind(this);
|
|
14
|
+
this.styleStr = '';
|
|
15
|
+
this.isOberserve = false;
|
|
16
|
+
this.init(opt);
|
|
17
|
+
this.drawCanvas();
|
|
18
|
+
this.parentObserver();
|
|
19
|
+
}
|
|
20
|
+
init(opt) {
|
|
21
|
+
this.option = Object.assign({
|
|
22
|
+
width: 400,
|
|
23
|
+
height: 200,
|
|
24
|
+
text: 'avueJS',
|
|
25
|
+
fontSize: '30px',
|
|
26
|
+
fontStyle: 'microsoft yahei',
|
|
27
|
+
textAlign: 'center',
|
|
28
|
+
color: 'rgba(100,100,100,0.15)',
|
|
29
|
+
degree: -20,
|
|
30
|
+
}, opt);
|
|
31
|
+
}
|
|
32
|
+
drawCanvas() {
|
|
33
|
+
this.isOberserve = true;
|
|
34
|
+
const divContainer = document.createElement('div');
|
|
35
|
+
const canvas = document.createElement('canvas');
|
|
36
|
+
const context = canvas.getContext('2d');
|
|
37
|
+
divContainer.id = this.CONTAINERID;
|
|
38
|
+
canvas.width = this.option.width;
|
|
39
|
+
canvas.height = this.option.height;
|
|
40
|
+
if (!context)
|
|
41
|
+
return;
|
|
42
|
+
context.font = `${this.option.fontSize} ${this.option.fontStyle}`;
|
|
43
|
+
context.textAlign = this.option.textAlign;
|
|
44
|
+
context.fillStyle = this.option.color;
|
|
45
|
+
context.translate(canvas.width / 2, canvas.height / 2);
|
|
46
|
+
context.rotate((this.option.degree * Math.PI) / 180);
|
|
47
|
+
context.fillText(this.option.text, 0, 0);
|
|
48
|
+
const backgroundUrl = canvas.toDataURL('image/png');
|
|
49
|
+
const flag = this.option.id;
|
|
50
|
+
let el = null;
|
|
51
|
+
if (flag)
|
|
52
|
+
el = document.getElementById(flag);
|
|
53
53
|
this.styleStr = `
|
|
54
54
|
position:${flag ? 'absolute' : 'fixed'};
|
|
55
55
|
top:0;
|
|
@@ -59,58 +59,58 @@ class WaterMark {
|
|
|
59
59
|
z-index:9999;
|
|
60
60
|
pointer-events:none;
|
|
61
61
|
background-repeat:repeat;
|
|
62
|
-
background-image:url('${backgroundUrl}')`;
|
|
63
|
-
divContainer.setAttribute('style', this.styleStr);
|
|
64
|
-
if (flag && el) {
|
|
65
|
-
el.appendChild(divContainer);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
document.body.appendChild(divContainer);
|
|
69
|
-
}
|
|
70
|
-
this.wmObserver(divContainer);
|
|
71
|
-
this.isOberserve = false;
|
|
72
|
-
}
|
|
73
|
-
wmObserver(divContainer) {
|
|
74
|
-
const wmConf = { attributes: true, childList: true, characterData: true };
|
|
75
|
-
const wmObserver = new MutationObserver((mo) => {
|
|
76
|
-
if (!this.isOberserve) {
|
|
77
|
-
const target = mo[0].target;
|
|
78
|
-
target.setAttribute('style', this.styleStr);
|
|
79
|
-
target.setAttribute('id', this.CONTAINERID);
|
|
80
|
-
wmObserver.takeRecords();
|
|
81
|
-
}
|
|
82
|
-
});
|
|
83
|
-
wmObserver.observe(divContainer, wmConf);
|
|
84
|
-
}
|
|
85
|
-
parentObserver() {
|
|
86
|
-
var _a;
|
|
87
|
-
const bodyObserver = new MutationObserver(() => {
|
|
88
|
-
if (!this.isOberserve) {
|
|
89
|
-
const wm = document.querySelector(`#${this.CONTAINERID}`);
|
|
90
|
-
if (!wm) {
|
|
91
|
-
this.drawCanvas();
|
|
92
|
-
}
|
|
93
|
-
else if (wm.getAttribute('style') !== this.styleStr) {
|
|
94
|
-
wm.setAttribute('style', this.styleStr);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
const parentNode = (_a = document.querySelector(`#${this.CONTAINERID}`)) === null || _a === void 0 ? void 0 : _a.parentNode;
|
|
99
|
-
if (parentNode) {
|
|
100
|
-
bodyObserver.observe(parentNode, { childList: true });
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
Repaint(opt = {}) {
|
|
104
|
-
this.remove();
|
|
105
|
-
this.init(opt);
|
|
106
|
-
this.drawCanvas();
|
|
107
|
-
}
|
|
108
|
-
remove() {
|
|
109
|
-
var _a;
|
|
110
|
-
this.isOberserve = true;
|
|
111
|
-
const wm = document.querySelector(`#${this.CONTAINERID}`);
|
|
112
|
-
(_a = wm === null || wm === void 0 ? void 0 : wm.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(wm);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
exports.default = WaterMark;
|
|
62
|
+
background-image:url('${backgroundUrl}')`;
|
|
63
|
+
divContainer.setAttribute('style', this.styleStr);
|
|
64
|
+
if (flag && el) {
|
|
65
|
+
el.appendChild(divContainer);
|
|
66
|
+
}
|
|
67
|
+
else {
|
|
68
|
+
document.body.appendChild(divContainer);
|
|
69
|
+
}
|
|
70
|
+
this.wmObserver(divContainer);
|
|
71
|
+
this.isOberserve = false;
|
|
72
|
+
}
|
|
73
|
+
wmObserver(divContainer) {
|
|
74
|
+
const wmConf = { attributes: true, childList: true, characterData: true };
|
|
75
|
+
const wmObserver = new MutationObserver((mo) => {
|
|
76
|
+
if (!this.isOberserve) {
|
|
77
|
+
const target = mo[0].target;
|
|
78
|
+
target.setAttribute('style', this.styleStr);
|
|
79
|
+
target.setAttribute('id', this.CONTAINERID);
|
|
80
|
+
wmObserver.takeRecords();
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
wmObserver.observe(divContainer, wmConf);
|
|
84
|
+
}
|
|
85
|
+
parentObserver() {
|
|
86
|
+
var _a;
|
|
87
|
+
const bodyObserver = new MutationObserver(() => {
|
|
88
|
+
if (!this.isOberserve) {
|
|
89
|
+
const wm = document.querySelector(`#${this.CONTAINERID}`);
|
|
90
|
+
if (!wm) {
|
|
91
|
+
this.drawCanvas();
|
|
92
|
+
}
|
|
93
|
+
else if (wm.getAttribute('style') !== this.styleStr) {
|
|
94
|
+
wm.setAttribute('style', this.styleStr);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
const parentNode = (_a = document.querySelector(`#${this.CONTAINERID}`)) === null || _a === void 0 ? void 0 : _a.parentNode;
|
|
99
|
+
if (parentNode) {
|
|
100
|
+
bodyObserver.observe(parentNode, { childList: true });
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
Repaint(opt = {}) {
|
|
104
|
+
this.remove();
|
|
105
|
+
this.init(opt);
|
|
106
|
+
this.drawCanvas();
|
|
107
|
+
}
|
|
108
|
+
remove() {
|
|
109
|
+
var _a;
|
|
110
|
+
this.isOberserve = true;
|
|
111
|
+
const wm = document.querySelector(`#${this.CONTAINERID}`);
|
|
112
|
+
(_a = wm === null || wm === void 0 ? void 0 : wm.parentNode) === null || _a === void 0 ? void 0 : _a.removeChild(wm);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
exports.default = WaterMark;
|
package/lib/src/ui/data/index.js
CHANGED
|
@@ -1,79 +1,102 @@
|
|
|
1
|
-
/*! Avue.js v3.9.
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
-
|
|
6
|
-
require('../../../packages/data/tabs/index.js');
|
|
7
|
-
require('../../../packages/data/cardText/index.js');
|
|
8
|
-
require('../../../packages/data/box/index.js');
|
|
9
|
-
require('../../../packages/data/progress/index.js');
|
|
10
|
-
require('../../../packages/data/icons/index.js');
|
|
11
|
-
require('../../../packages/data/card/index.js');
|
|
12
|
-
require('../../../packages/data/display/index.js');
|
|
13
|
-
require('../../../packages/data/imgText/index.js');
|
|
14
|
-
require('../../../packages/data/operaText/index.js');
|
|
15
|
-
require('../../../packages/data/rotate/index.js');
|
|
16
|
-
require('../../../packages/data/pay/index.js');
|
|
17
|
-
require('../../../packages/data/price/index.js');
|
|
18
|
-
require('../../../packages/data/panel/index.js');
|
|
19
|
-
require('../../../packages/data/statistic/index.js');
|
|
20
|
-
require('../../../packages/data/weather/index.js');
|
|
21
|
-
require('../../../packages/data/rank/index.js');
|
|
22
|
-
require('../../../packages/data/profile/index.js');
|
|
23
|
-
require('../../../packages/data/product/index.js');
|
|
24
|
-
require('../../../packages/data/countdown/index.js');
|
|
25
|
-
require('../../../packages/data/notice/index.js');
|
|
26
|
-
require('../../../packages/data/task/index.js');
|
|
27
|
-
require('../../../packages/data/list/index.js');
|
|
28
|
-
require('../../../packages/data/dashboard/index.js');
|
|
29
|
-
var index_vue_vue_type_script_lang = require('../../../packages/data/dashboard/index2.js');
|
|
30
|
-
var index_vue_vue_type_script_lang$
|
|
31
|
-
var index_vue_vue_type_script_lang$
|
|
32
|
-
var index_vue_vue_type_script_lang$
|
|
33
|
-
var index_vue_vue_type_script_lang$
|
|
34
|
-
var index_vue_vue_type_script_lang$
|
|
35
|
-
var index_vue_vue_type_script_lang$
|
|
36
|
-
var index_vue_vue_type_script_lang$
|
|
37
|
-
var index_vue_vue_type_script_lang$
|
|
38
|
-
var index_vue_vue_type_script_lang$
|
|
39
|
-
var index_vue_vue_type_script_lang$
|
|
40
|
-
var index_vue_vue_type_script_lang$
|
|
41
|
-
var index_vue_vue_type_script_lang$c = require('../../../packages/data/pay/index2.js');
|
|
42
|
-
var index_vue_vue_type_script_lang$
|
|
43
|
-
var index_vue_vue_type_script_lang$
|
|
44
|
-
var index_vue_vue_type_script_lang$
|
|
45
|
-
var index_vue_vue_type_script_lang$
|
|
46
|
-
var index_vue_vue_type_script_lang$
|
|
47
|
-
var index_vue_vue_type_script_lang$
|
|
48
|
-
var index_vue_vue_type_script_lang$
|
|
49
|
-
var index_vue_vue_type_script_lang
|
|
50
|
-
var index_vue_vue_type_script_lang$
|
|
51
|
-
var index_vue_vue_type_script_lang$
|
|
52
|
-
|
|
53
|
-
const dataComponents = {
|
|
54
|
-
DataTabs: index_vue_vue_type_script_lang$
|
|
55
|
-
DataCardText: index_vue_vue_type_script_lang$
|
|
56
|
-
DataBox: index_vue_vue_type_script_lang
|
|
57
|
-
DataProgress: index_vue_vue_type_script_lang$
|
|
58
|
-
DataIcons: index_vue_vue_type_script_lang$
|
|
59
|
-
DataCard: index_vue_vue_type_script_lang$
|
|
60
|
-
DataDisplay: index_vue_vue_type_script_lang$
|
|
61
|
-
DataImgText: index_vue_vue_type_script_lang$
|
|
62
|
-
DataOperaText: index_vue_vue_type_script_lang$
|
|
63
|
-
DataRotate: index_vue_vue_type_script_lang$
|
|
64
|
-
DataPay: index_vue_vue_type_script_lang$c.default,
|
|
65
|
-
DataPrice: index_vue_vue_type_script_lang$
|
|
66
|
-
DataPanel: index_vue_vue_type_script_lang$
|
|
67
|
-
DataStatistic: index_vue_vue_type_script_lang$
|
|
68
|
-
DataWeather: index_vue_vue_type_script_lang$
|
|
69
|
-
DataRank: index_vue_vue_type_script_lang$
|
|
70
|
-
DataProfile: index_vue_vue_type_script_lang$
|
|
71
|
-
DataProduct: index_vue_vue_type_script_lang$
|
|
72
|
-
DataCountdown: index_vue_vue_type_script_lang$
|
|
73
|
-
DataNotice: index_vue_vue_type_script_lang$
|
|
74
|
-
DataTask: index_vue_vue_type_script_lang$
|
|
75
|
-
DataList: index_vue_vue_type_script_lang$
|
|
76
|
-
DataDashboard: index_vue_vue_type_script_lang.default,
|
|
77
|
-
};
|
|
78
|
-
|
|
79
|
-
exports.
|
|
1
|
+
/*! Avue.js v3.9.1 | (c) 2017-2026 Smallwei | Released under the MIT License. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
require('../../../packages/data/tabs/index.js');
|
|
7
|
+
require('../../../packages/data/cardText/index.js');
|
|
8
|
+
require('../../../packages/data/box/index.js');
|
|
9
|
+
require('../../../packages/data/progress/index.js');
|
|
10
|
+
require('../../../packages/data/icons/index.js');
|
|
11
|
+
require('../../../packages/data/card/index.js');
|
|
12
|
+
require('../../../packages/data/display/index.js');
|
|
13
|
+
require('../../../packages/data/imgText/index.js');
|
|
14
|
+
require('../../../packages/data/operaText/index.js');
|
|
15
|
+
require('../../../packages/data/rotate/index.js');
|
|
16
|
+
require('../../../packages/data/pay/index.js');
|
|
17
|
+
require('../../../packages/data/price/index.js');
|
|
18
|
+
require('../../../packages/data/panel/index.js');
|
|
19
|
+
require('../../../packages/data/statistic/index.js');
|
|
20
|
+
require('../../../packages/data/weather/index.js');
|
|
21
|
+
require('../../../packages/data/rank/index.js');
|
|
22
|
+
require('../../../packages/data/profile/index.js');
|
|
23
|
+
require('../../../packages/data/product/index.js');
|
|
24
|
+
require('../../../packages/data/countdown/index.js');
|
|
25
|
+
require('../../../packages/data/notice/index.js');
|
|
26
|
+
require('../../../packages/data/task/index.js');
|
|
27
|
+
require('../../../packages/data/list/index.js');
|
|
28
|
+
require('../../../packages/data/dashboard/index.js');
|
|
29
|
+
var index_vue_vue_type_script_lang$4 = require('../../../packages/data/dashboard/index2.js');
|
|
30
|
+
var index_vue_vue_type_script_lang$8 = require('../../../packages/data/list/index2.js');
|
|
31
|
+
var index_vue_vue_type_script_lang$l = require('../../../packages/data/task/index2.js');
|
|
32
|
+
var index_vue_vue_type_script_lang$9 = require('../../../packages/data/notice/index2.js');
|
|
33
|
+
var index_vue_vue_type_script_lang$3 = require('../../../packages/data/countdown/index2.js');
|
|
34
|
+
var index_vue_vue_type_script_lang$e = require('../../../packages/data/product/index2.js');
|
|
35
|
+
var index_vue_vue_type_script_lang$f = require('../../../packages/data/profile/index2.js');
|
|
36
|
+
var index_vue_vue_type_script_lang$h = require('../../../packages/data/rank/index2.js');
|
|
37
|
+
var index_vue_vue_type_script_lang$m = require('../../../packages/data/weather/index2.js');
|
|
38
|
+
var index_vue_vue_type_script_lang$j = require('../../../packages/data/statistic/index2.js');
|
|
39
|
+
var index_vue_vue_type_script_lang$b = require('../../../packages/data/panel/index2.js');
|
|
40
|
+
var index_vue_vue_type_script_lang$d = require('../../../packages/data/price/index2.js');
|
|
41
|
+
var index_vue_vue_type_script_lang$c = require('../../../packages/data/pay/index2.js');
|
|
42
|
+
var index_vue_vue_type_script_lang$i = require('../../../packages/data/rotate/index2.js');
|
|
43
|
+
var index_vue_vue_type_script_lang$a = require('../../../packages/data/operaText/index2.js');
|
|
44
|
+
var index_vue_vue_type_script_lang$7 = require('../../../packages/data/imgText/index2.js');
|
|
45
|
+
var index_vue_vue_type_script_lang$5 = require('../../../packages/data/display/index2.js');
|
|
46
|
+
var index_vue_vue_type_script_lang$1 = require('../../../packages/data/card/index2.js');
|
|
47
|
+
var index_vue_vue_type_script_lang$6 = require('../../../packages/data/icons/index2.js');
|
|
48
|
+
var index_vue_vue_type_script_lang$g = require('../../../packages/data/progress/index2.js');
|
|
49
|
+
var index_vue_vue_type_script_lang = require('../../../packages/data/box/index2.js');
|
|
50
|
+
var index_vue_vue_type_script_lang$2 = require('../../../packages/data/cardText/index2.js');
|
|
51
|
+
var index_vue_vue_type_script_lang$k = require('../../../packages/data/tabs/index2.js');
|
|
52
|
+
|
|
53
|
+
const dataComponents = {
|
|
54
|
+
DataTabs: index_vue_vue_type_script_lang$k.default,
|
|
55
|
+
DataCardText: index_vue_vue_type_script_lang$2.default,
|
|
56
|
+
DataBox: index_vue_vue_type_script_lang.default,
|
|
57
|
+
DataProgress: index_vue_vue_type_script_lang$g.default,
|
|
58
|
+
DataIcons: index_vue_vue_type_script_lang$6.default,
|
|
59
|
+
DataCard: index_vue_vue_type_script_lang$1.default,
|
|
60
|
+
DataDisplay: index_vue_vue_type_script_lang$5.default,
|
|
61
|
+
DataImgText: index_vue_vue_type_script_lang$7.default,
|
|
62
|
+
DataOperaText: index_vue_vue_type_script_lang$a.default,
|
|
63
|
+
DataRotate: index_vue_vue_type_script_lang$i.default,
|
|
64
|
+
DataPay: index_vue_vue_type_script_lang$c.default,
|
|
65
|
+
DataPrice: index_vue_vue_type_script_lang$d.default,
|
|
66
|
+
DataPanel: index_vue_vue_type_script_lang$b.default,
|
|
67
|
+
DataStatistic: index_vue_vue_type_script_lang$j.default,
|
|
68
|
+
DataWeather: index_vue_vue_type_script_lang$m.default,
|
|
69
|
+
DataRank: index_vue_vue_type_script_lang$h.default,
|
|
70
|
+
DataProfile: index_vue_vue_type_script_lang$f.default,
|
|
71
|
+
DataProduct: index_vue_vue_type_script_lang$e.default,
|
|
72
|
+
DataCountdown: index_vue_vue_type_script_lang$3.default,
|
|
73
|
+
DataNotice: index_vue_vue_type_script_lang$9.default,
|
|
74
|
+
DataTask: index_vue_vue_type_script_lang$l.default,
|
|
75
|
+
DataList: index_vue_vue_type_script_lang$8.default,
|
|
76
|
+
DataDashboard: index_vue_vue_type_script_lang$4.default,
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
exports.DataDashboard = index_vue_vue_type_script_lang$4.default;
|
|
80
|
+
exports.DataList = index_vue_vue_type_script_lang$8.default;
|
|
81
|
+
exports.DataTask = index_vue_vue_type_script_lang$l.default;
|
|
82
|
+
exports.DataNotice = index_vue_vue_type_script_lang$9.default;
|
|
83
|
+
exports.DataCountdown = index_vue_vue_type_script_lang$3.default;
|
|
84
|
+
exports.DataProduct = index_vue_vue_type_script_lang$e.default;
|
|
85
|
+
exports.DataProfile = index_vue_vue_type_script_lang$f.default;
|
|
86
|
+
exports.DataRank = index_vue_vue_type_script_lang$h.default;
|
|
87
|
+
exports.DataWeather = index_vue_vue_type_script_lang$m.default;
|
|
88
|
+
exports.DataStatistic = index_vue_vue_type_script_lang$j.default;
|
|
89
|
+
exports.DataPanel = index_vue_vue_type_script_lang$b.default;
|
|
90
|
+
exports.DataPrice = index_vue_vue_type_script_lang$d.default;
|
|
91
|
+
exports.DataPay = index_vue_vue_type_script_lang$c.default;
|
|
92
|
+
exports.DataRotate = index_vue_vue_type_script_lang$i.default;
|
|
93
|
+
exports.DataOperaText = index_vue_vue_type_script_lang$a.default;
|
|
94
|
+
exports.DataImgText = index_vue_vue_type_script_lang$7.default;
|
|
95
|
+
exports.DataDisplay = index_vue_vue_type_script_lang$5.default;
|
|
96
|
+
exports.DataCard = index_vue_vue_type_script_lang$1.default;
|
|
97
|
+
exports.DataIcons = index_vue_vue_type_script_lang$6.default;
|
|
98
|
+
exports.DataProgress = index_vue_vue_type_script_lang$g.default;
|
|
99
|
+
exports.DataBox = index_vue_vue_type_script_lang.default;
|
|
100
|
+
exports.DataCardText = index_vue_vue_type_script_lang$2.default;
|
|
101
|
+
exports.DataTabs = index_vue_vue_type_script_lang$k.default;
|
|
102
|
+
exports.default = dataComponents;
|