@duxweb/dvha-pro 0.0.7 → 1.0.14
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/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/card/store.cjs +1 -0
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/crop/imageCrop.cjs +1 -0
- package/dist/cjs/components/crop/imageCropModal.cjs +1 -0
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -1
- package/dist/cjs/components/data/dynamicData.cjs +1 -0
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -0
- package/dist/cjs/components/data/selectModal.cjs +1 -0
- package/dist/cjs/components/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/editor/aiEditor.cjs +1 -0
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/modal/modalPage.cjs +1 -1
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/stats/number.cjs +1 -0
- package/dist/cjs/components/stats/realTime.cjs +1 -0
- package/dist/cjs/components/status/blockEmpty.cjs +1 -1
- package/dist/cjs/components/upload/file.cjs +1 -0
- package/dist/cjs/components/upload/image.cjs +1 -0
- package/dist/cjs/components/upload/manage/item.cjs +1 -0
- package/dist/cjs/components/upload/manager.cjs +1 -0
- package/dist/cjs/components/widget/avatar.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -1
- package/dist/cjs/components/widget/image.cjs +1 -0
- package/dist/cjs/components/widget/placeholder.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -1
- package/dist/cjs/config/validate.cjs +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/download.cjs +1 -0
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/echart.cjs +1 -1
- package/dist/cjs/hooks/image.cjs +1 -0
- package/dist/cjs/hooks/level.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/copy.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/input.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/pages/authLayout.cjs +1 -1
- package/dist/cjs/pages/layout/global.cjs +1 -1
- package/dist/cjs/pages/layout/page.cjs +1 -1
- package/dist/cjs/pages/login.cjs +1 -1
- package/dist/cjs/pages/menu/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/main.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/page.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/static/images/icon/audio.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/excel.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/file.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/folder.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/pdf.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/ppt.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/video.svg.cjs +1 -0
- package/dist/cjs/static/images/icon/word.svg.cjs +1 -0
- package/dist/cjs/stores/ui.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +108 -12
- package/dist/esm/component.js +64 -47
- package/dist/esm/components/card/card.js +22 -21
- package/dist/esm/components/card/store.js +64 -0
- package/dist/esm/components/chart/echart.js +29 -16
- package/dist/esm/components/crop/imageCrop.js +105 -0
- package/dist/esm/components/crop/imageCropModal.js +118 -0
- package/dist/esm/components/dashboard/helloBig.js +3 -2
- package/dist/esm/components/data/dynamicData.js +145 -0
- package/dist/esm/components/data/dynamicSelect.js +109 -0
- package/dist/esm/components/data/selectModal.js +135 -0
- package/dist/esm/components/dialog/dialog.js +50 -38
- package/dist/esm/components/drawer/drawer.js +14 -12
- package/dist/esm/components/editor/aiEditor.js +127 -0
- package/dist/esm/components/form/modalForm.js +66 -40
- package/dist/esm/components/form/pageForm.js +31 -21
- package/dist/esm/components/form/settingForm.js +31 -21
- package/dist/esm/components/layout/list.js +67 -57
- package/dist/esm/components/layout/table.js +59 -49
- package/dist/esm/components/level/level.js +103 -0
- package/dist/esm/components/media/media.js +18 -16
- package/dist/esm/components/modal/modal.js +27 -21
- package/dist/esm/components/modal/modalPage.js +7 -7
- package/dist/esm/components/panel/setting.js +9 -6
- package/dist/esm/components/stats/number.js +49 -0
- package/dist/esm/components/stats/realTime.js +99 -0
- package/dist/esm/components/status/blockEmpty.js +136 -57
- package/dist/esm/components/upload/file.js +258 -0
- package/dist/esm/components/upload/image.js +189 -0
- package/dist/esm/components/upload/manage/item.js +178 -0
- package/dist/esm/components/upload/manager.js +378 -0
- package/dist/esm/components/widget/avatar.js +59 -0
- package/dist/esm/components/widget/connect.js +6 -4
- package/dist/esm/components/widget/image.js +67 -0
- package/dist/esm/components/widget/placeholder.js +83 -0
- package/dist/esm/config/uno.js +6 -6
- package/dist/esm/config/validate.js +2 -2
- package/dist/esm/hooks/action.js +34 -34
- package/dist/esm/hooks/dialog.js +13 -3
- package/dist/esm/hooks/download.js +100 -0
- package/dist/esm/hooks/drawer.js +13 -3
- package/dist/esm/hooks/echart.js +292 -246
- package/dist/esm/hooks/image.js +23 -0
- package/dist/esm/hooks/level.js +75 -0
- package/dist/esm/hooks/modal.js +14 -4
- package/dist/esm/hooks/table/copy.js +14 -11
- package/dist/esm/hooks/table/image.js +55 -17
- package/dist/esm/hooks/table/input.js +35 -33
- package/dist/esm/hooks/table/media.js +17 -7
- package/dist/esm/hooks/table.js +41 -25
- package/dist/esm/index.js +198 -160
- package/dist/esm/langs/en-US.json.js +6 -4
- package/dist/esm/langs/zh-CN.json.js +5 -3
- package/dist/esm/main.js +8 -6
- package/dist/esm/pages/authLayout.js +24 -18
- package/dist/esm/pages/layout/global.js +29 -23
- package/dist/esm/pages/layout/page.js +26 -16
- package/dist/esm/pages/login.js +33 -23
- package/dist/esm/pages/menu/avatar.js +122 -93
- package/dist/esm/pages/menu/button.js +23 -13
- package/dist/esm/pages/menu/cmd.js +41 -31
- package/dist/esm/pages/menu/main.js +38 -28
- package/dist/esm/pages/menu/mobile.js +20 -10
- package/dist/esm/pages/page.js +21 -14
- package/dist/esm/pages/page404.js +15 -5
- package/dist/esm/pages/pageStatus.js +22 -12
- package/dist/esm/static/images/icon/audio.svg.js +4 -0
- package/dist/esm/static/images/icon/excel.svg.js +4 -0
- package/dist/esm/static/images/icon/file.svg.js +4 -0
- package/dist/esm/static/images/icon/folder.svg.js +4 -0
- package/dist/esm/static/images/icon/pdf.svg.js +4 -0
- package/dist/esm/static/images/icon/ppt.svg.js +4 -0
- package/dist/esm/static/images/icon/video.svg.js +4 -0
- package/dist/esm/static/images/icon/word.svg.js +4 -0
- package/dist/esm/stores/ui.js +10 -10
- package/dist/esm/theme/uno.css.js +108 -12
- package/dist/types/components/card/index.d.ts +1 -0
- package/dist/types/components/card/store.d.ts +16 -0
- package/dist/types/components/chart/echart.d.ts +2 -2
- package/dist/types/components/crop/imageCrop.d.ts +40 -0
- package/dist/types/components/crop/imageCropModal.d.ts +7 -0
- package/dist/types/components/crop/index.d.ts +2 -0
- package/dist/types/components/data/dynamicData.d.ts +56 -0
- package/dist/types/components/data/dynamicSelect.d.ts +49 -0
- package/dist/types/components/data/index.d.ts +3 -0
- package/dist/types/components/data/selectModal.d.ts +61 -0
- package/dist/types/components/dialog/dialog.d.ts +2 -0
- package/dist/types/components/editor/aiEditor.d.ts +26 -0
- package/dist/types/components/editor/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +7 -0
- package/dist/types/components/level/index.d.ts +1 -0
- package/dist/types/components/level/level.d.ts +60 -0
- package/dist/types/components/modal/index.d.ts +2 -2
- package/dist/types/components/modal/modal.d.ts +1 -4
- package/dist/types/components/stats/index.d.ts +2 -0
- package/dist/types/components/stats/number.d.ts +50 -0
- package/dist/types/components/stats/realTime.d.ts +56 -0
- package/dist/types/components/upload/file.d.ts +9 -0
- package/dist/types/components/upload/image.d.ts +99 -0
- package/dist/types/components/upload/index.d.ts +4 -0
- package/dist/types/components/upload/manage/item.d.ts +22 -0
- package/dist/types/components/upload/manager.d.ts +37 -0
- package/dist/types/components/widget/avatar.d.ts +159 -0
- package/dist/types/components/widget/image.d.ts +257 -0
- package/dist/types/components/widget/index.d.ts +2 -0
- package/dist/types/components/widget/placeholder.d.ts +22 -0
- package/dist/types/hooks/dialog.d.ts +1 -0
- package/dist/types/hooks/download.d.ts +31 -0
- package/dist/types/hooks/echart.d.ts +14 -0
- package/dist/types/hooks/image.d.ts +3 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/level.d.ts +19 -0
- package/dist/types/main.d.ts +12 -0
- package/dist/types/static/images/icon/index.d.ts +8 -0
- package/package.json +9 -3
- package/dist/cjs/_virtual/_commonjsHelpers.cjs +0 -1
- package/dist/cjs/_virtual/browser.cjs +0 -1
- package/dist/cjs/_virtual/browser2.cjs +0 -1
- package/dist/cjs/_virtual/sourcemap-codec.umd.cjs +0 -1
- package/dist/cjs/_virtual/sourcemap-codec.umd2.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.cjs +0 -391
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.cjs +0 -10
- package/dist/cjs/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.cjs +0 -1
- package/dist/cjs/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.cjs +0 -1
- package/dist/cjs/static/images/placeholder.png.cjs +0 -1
- package/dist/esm/_virtual/_commonjsHelpers.js +0 -6
- package/dist/esm/_virtual/browser.js +0 -7
- package/dist/esm/_virtual/browser2.js +0 -4
- package/dist/esm/_virtual/sourcemap-codec.umd.js +0 -5
- package/dist/esm/_virtual/sourcemap-codec.umd2.js +0 -4
- package/dist/esm/node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.js +0 -17
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.js +0 -14
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +0 -25
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +0 -11
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +0 -9
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +0 -23
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +0 -17
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.js +0 -40
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js +0 -46
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js +0 -55
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.js +0 -38
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +0 -69
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +0 -29
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +0 -14
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +0 -27
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.js +0 -6
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.js +0 -6
- package/dist/esm/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +0 -255
- package/dist/esm/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js +0 -88
- package/dist/esm/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.js +0 -51
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js +0 -17
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.js +0 -151
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.js +0 -8
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.js +0 -322
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js +0 -547
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.js +0 -32
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.js +0 -2307
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.js +0 -627
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.js +0 -7
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.js +0 -588
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.js +0 -51
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.js +0 -553
- package/dist/esm/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js +0 -632
- package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.js +0 -9
- package/dist/esm/node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js +0 -9
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js +0 -146
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js +0 -97
- package/dist/esm/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.js +0 -56
- package/dist/esm/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js +0 -608
- package/dist/esm/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js +0 -85
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.js +0 -23
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.js +0 -219
- package/dist/esm/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.js +0 -153
- package/dist/esm/static/images/placeholder.png.js +0 -4
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent as v, computed as f, createVNode as l } from "vue";
|
|
2
|
+
import { useVModel as g } from "@vueuse/core";
|
|
3
|
+
import { NSelect as s } from "naive-ui";
|
|
4
|
+
import "@duxweb/dvha-core";
|
|
5
|
+
import "vue-router";
|
|
6
|
+
import "@overlastic/vue";
|
|
7
|
+
import "clsx";
|
|
8
|
+
import "vue-echarts";
|
|
9
|
+
import "vue-cropper";
|
|
10
|
+
import "jinrishici";
|
|
11
|
+
import "lodash-es";
|
|
12
|
+
import "vue-draggable-plus";
|
|
13
|
+
import "aieditor";
|
|
14
|
+
import "vee-validate";
|
|
15
|
+
import "@vee-validate/i18n";
|
|
16
|
+
import "colorizr";
|
|
17
|
+
import "echarts";
|
|
18
|
+
import "@ant-design/colors";
|
|
19
|
+
import "@unocss/preset-icons/browser";
|
|
20
|
+
import "@unocss/preset-typography";
|
|
21
|
+
import "unocss/preset-wind4";
|
|
22
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
23
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
24
|
+
import "vue-command-palette";
|
|
25
|
+
import "@duxweb/dvha-naiveui";
|
|
26
|
+
import "../../pages/page404.js";
|
|
27
|
+
import "mime";
|
|
28
|
+
import "dayjs";
|
|
29
|
+
import { useLevel as c } from "../../hooks/level.js";
|
|
30
|
+
import "pinia";
|
|
31
|
+
const R = /* @__PURE__ */ v({
|
|
32
|
+
name: "DuxLevel",
|
|
33
|
+
props: {
|
|
34
|
+
value: {
|
|
35
|
+
type: Array,
|
|
36
|
+
default: () => []
|
|
37
|
+
},
|
|
38
|
+
path: {
|
|
39
|
+
type: String,
|
|
40
|
+
default: "area"
|
|
41
|
+
},
|
|
42
|
+
maxLevel: {
|
|
43
|
+
type: Number,
|
|
44
|
+
default: 4
|
|
45
|
+
},
|
|
46
|
+
nameField: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "name"
|
|
49
|
+
},
|
|
50
|
+
labelField: {
|
|
51
|
+
type: String,
|
|
52
|
+
default: "name"
|
|
53
|
+
},
|
|
54
|
+
valueField: {
|
|
55
|
+
type: String,
|
|
56
|
+
default: "value"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
emits: ["update:value"],
|
|
60
|
+
setup(e, {
|
|
61
|
+
emit: r
|
|
62
|
+
}) {
|
|
63
|
+
const i = g(e, "value", r, {
|
|
64
|
+
passive: !0,
|
|
65
|
+
defaultValue: []
|
|
66
|
+
}), {
|
|
67
|
+
regions: o,
|
|
68
|
+
onChange: m,
|
|
69
|
+
isLoading: p
|
|
70
|
+
} = c({
|
|
71
|
+
value: i,
|
|
72
|
+
path: e.path,
|
|
73
|
+
nameField: e.nameField,
|
|
74
|
+
maxLevel: e.maxLevel,
|
|
75
|
+
labelField: e.labelField,
|
|
76
|
+
valueField: e.valueField
|
|
77
|
+
}), u = (t, a) => {
|
|
78
|
+
m(t, a);
|
|
79
|
+
}, n = f(() => Array.from({
|
|
80
|
+
length: e.maxLevel
|
|
81
|
+
}, (t, a) => {
|
|
82
|
+
const d = o.value[a] || [];
|
|
83
|
+
return {
|
|
84
|
+
index: a,
|
|
85
|
+
options: d,
|
|
86
|
+
value: i.value[a] || null
|
|
87
|
+
};
|
|
88
|
+
}));
|
|
89
|
+
return () => l("div", {
|
|
90
|
+
class: ["grid grid-cols-1 gap-2", "lg:grid-cols-[repeat(auto-fit,minmax(120px,1fr))]"]
|
|
91
|
+
}, [n.value.map((t) => l(s, {
|
|
92
|
+
key: t.index,
|
|
93
|
+
value: t.value,
|
|
94
|
+
options: t.options,
|
|
95
|
+
clearable: !0,
|
|
96
|
+
loading: p.value,
|
|
97
|
+
onUpdateValue: (a) => u(a, t.index)
|
|
98
|
+
}, null))]);
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
R as DuxLevel
|
|
103
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { defineComponent as h, computed as y, createVNode as i, Fragment as k, isVNode as A } from "vue";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
2
|
+
import b from "clsx";
|
|
3
|
+
import { NImageGroup as S } from "naive-ui";
|
|
4
|
+
import { DuxAvatar as C } from "../widget/avatar.js";
|
|
5
|
+
import { DuxImage as N } from "../widget/image.js";
|
|
4
6
|
function j(e) {
|
|
5
7
|
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !A(e);
|
|
6
8
|
}
|
|
7
|
-
const
|
|
9
|
+
const I = /* @__PURE__ */ h({
|
|
8
10
|
name: "DuxMedia",
|
|
9
11
|
props: {
|
|
10
12
|
title: String,
|
|
@@ -27,42 +29,42 @@ const D = /* @__PURE__ */ h({
|
|
|
27
29
|
}) {
|
|
28
30
|
const c = y(() => Array.isArray(e.image) ? e.image : e.image ? [e.image] : []), t = y(() => Array.isArray(e.desc) ? e.desc : e.desc ? [e.desc] : []);
|
|
29
31
|
return () => {
|
|
30
|
-
var u,
|
|
31
|
-
let
|
|
32
|
+
var u, d, g, x, f, l, v;
|
|
33
|
+
let r;
|
|
32
34
|
return i("div", {
|
|
33
35
|
class: "flex gap-2 items-center"
|
|
34
36
|
}, [(a == null ? void 0 : a.image) && i("div", {
|
|
35
37
|
class: "flex-none flex items-center gap-2"
|
|
36
38
|
}, [(u = a == null ? void 0 : a.image) == null ? void 0 : u.call(a)]), (c == null ? void 0 : c.value.length) > 0 && i("div", {
|
|
37
39
|
class: "flex-none flex items-center gap-2"
|
|
38
|
-
}, [e.avatar ? i(k, null, [c.value.map((n,
|
|
39
|
-
key:
|
|
40
|
+
}, [e.avatar ? i(k, null, [c.value.map((n, m) => i(C, {
|
|
41
|
+
key: m,
|
|
40
42
|
src: n,
|
|
41
43
|
round: !0,
|
|
42
44
|
size: e.imageWidth
|
|
43
|
-
}, null))]) : i(S, null, j(
|
|
44
|
-
key:
|
|
45
|
+
}, null))]) : i(S, null, j(r = c.value.map((n, m) => i(N, {
|
|
46
|
+
key: m,
|
|
45
47
|
src: n,
|
|
46
48
|
class: "rounded",
|
|
47
49
|
objectFit: "cover",
|
|
48
50
|
width: e.imageWidth,
|
|
49
51
|
height: e.imageHeight
|
|
50
|
-
}, null))) ?
|
|
51
|
-
default: () => [
|
|
52
|
+
}, null))) ? r : {
|
|
53
|
+
default: () => [r]
|
|
52
54
|
})]), i("div", {
|
|
53
55
|
class: "flex-1 flex-col gap-2 min-w-0 truncate items-center"
|
|
54
56
|
}, [i("div", {
|
|
55
57
|
class: "flex gap-2 items-center"
|
|
56
|
-
}, [(
|
|
58
|
+
}, [(d = a.prefix) == null ? void 0 : d.call(a), (e.title || a.default) && i("div", {
|
|
57
59
|
onClick: () => {
|
|
58
60
|
var n;
|
|
59
61
|
return (n = e.onClick) == null ? void 0 : n.call(e);
|
|
60
62
|
},
|
|
61
|
-
class:
|
|
63
|
+
class: b(["transition-all truncate text-default", (e == null ? void 0 : e.onClick) && "hover:text-primary cursor-pointer"])
|
|
62
64
|
}, [e.title || ((g = a.default) == null ? void 0 : g.call(a))])]), ((t == null ? void 0 : t.value.length) > 0 || a.desc) && i("div", {
|
|
63
65
|
class: "text-sm text-muted flex flex-col gap-0"
|
|
64
|
-
}, [(f = t == null ? void 0 : (x = t.value).map) == null ? void 0 : f.call(x, (n,
|
|
65
|
-
key:
|
|
66
|
+
}, [(f = t == null ? void 0 : (x = t.value).map) == null ? void 0 : f.call(x, (n, m) => i("div", {
|
|
67
|
+
key: m,
|
|
66
68
|
class: "truncate"
|
|
67
69
|
}, [n])), (l = a.desc) == null ? void 0 : l.call(a)])]), (e == null ? void 0 : e.extend) && i("div", {
|
|
68
70
|
class: "flex-none flex items-center gap-2 text-gray-7"
|
|
@@ -73,5 +75,5 @@ const D = /* @__PURE__ */ h({
|
|
|
73
75
|
}
|
|
74
76
|
});
|
|
75
77
|
export {
|
|
76
|
-
|
|
78
|
+
I as DuxMedia
|
|
77
79
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { defineComponent as c, defineAsyncComponent as s, createVNode as t, mergeProps as
|
|
1
|
+
import { defineComponent as c, defineAsyncComponent as s, createVNode as t, mergeProps as n, Suspense as m } from "vue";
|
|
2
2
|
import { useExtendOverlay as f } from "@overlastic/vue";
|
|
3
3
|
import { NModal as g, NSpin as b } from "naive-ui";
|
|
4
|
-
const
|
|
4
|
+
const v = /* @__PURE__ */ c({
|
|
5
5
|
name: "DuxModal",
|
|
6
6
|
props: {
|
|
7
7
|
title: {
|
|
8
|
-
type: String
|
|
9
|
-
default: ""
|
|
8
|
+
type: String
|
|
10
9
|
},
|
|
11
10
|
component: {
|
|
12
11
|
type: [Function, Object]
|
|
@@ -26,38 +25,45 @@ const w = /* @__PURE__ */ c({
|
|
|
26
25
|
},
|
|
27
26
|
setup(e) {
|
|
28
27
|
const {
|
|
29
|
-
visible:
|
|
30
|
-
resolve:
|
|
31
|
-
reject:
|
|
32
|
-
vanish:
|
|
28
|
+
visible: l,
|
|
29
|
+
resolve: d,
|
|
30
|
+
reject: o,
|
|
31
|
+
vanish: i
|
|
33
32
|
} = f({
|
|
34
33
|
duration: 1e3
|
|
35
|
-
}),
|
|
36
|
-
|
|
37
|
-
const
|
|
38
|
-
return () => t(g,
|
|
34
|
+
}), a = (e == null ? void 0 : e.componentProps) || {};
|
|
35
|
+
a.onConfirm = d, a.onClose = o;
|
|
36
|
+
const r = typeof e.component == "function" ? s(e.component) : e.component;
|
|
37
|
+
return () => t(g, n({
|
|
39
38
|
displayDirective: "show",
|
|
40
|
-
show:
|
|
39
|
+
show: l.value,
|
|
41
40
|
onAfterLeave: () => {
|
|
42
|
-
|
|
41
|
+
i();
|
|
42
|
+
},
|
|
43
|
+
onClose: () => {
|
|
44
|
+
o();
|
|
45
|
+
},
|
|
46
|
+
onEsc: () => {
|
|
47
|
+
o();
|
|
43
48
|
},
|
|
44
49
|
draggable: e.draggable,
|
|
45
|
-
class: "bg-white rounded dark:shadow-gray-950/80 dark:bg-gray-
|
|
50
|
+
class: "bg-white rounded dark:shadow-gray-950/80 dark:bg-gray-800/60 backdrop-blur",
|
|
46
51
|
role: "dialog",
|
|
47
52
|
"aria-modal": "true"
|
|
48
53
|
}, e.modalProps, {
|
|
49
54
|
autoFocus: !1
|
|
50
55
|
}), {
|
|
51
56
|
default: ({
|
|
52
|
-
draggableClass:
|
|
57
|
+
draggableClass: u
|
|
53
58
|
}) => t("div", {
|
|
54
59
|
class: ["max-w-full shadow-lg"],
|
|
55
60
|
style: {
|
|
56
|
-
width: `${e.width}px`
|
|
61
|
+
width: typeof e.width == "number" ? `${e.width}px` : e.width
|
|
57
62
|
}
|
|
58
63
|
}, [t(m, null, {
|
|
59
|
-
default: () => t(
|
|
60
|
-
|
|
64
|
+
default: () => t(r, n(a, {
|
|
65
|
+
title: e.title,
|
|
66
|
+
handle: u
|
|
61
67
|
}), null),
|
|
62
68
|
fallback: () => t(b, {
|
|
63
69
|
show: !0
|
|
@@ -71,6 +77,6 @@ const w = /* @__PURE__ */ c({
|
|
|
71
77
|
}
|
|
72
78
|
});
|
|
73
79
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
80
|
+
v as DuxModal,
|
|
81
|
+
v as default
|
|
76
82
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as f, ref as l, watch as o, nextTick as
|
|
2
|
-
import { NButton as
|
|
3
|
-
const
|
|
4
|
-
name: "
|
|
1
|
+
import { defineComponent as f, ref as l, watch as o, nextTick as u, createVNode as a } from "vue";
|
|
2
|
+
import { NButton as c } from "naive-ui";
|
|
3
|
+
const x = /* @__PURE__ */ f({
|
|
4
|
+
name: "DuxModalPage",
|
|
5
5
|
props: {
|
|
6
6
|
title: {
|
|
7
7
|
type: String,
|
|
@@ -25,7 +25,7 @@ const p = /* @__PURE__ */ f({
|
|
|
25
25
|
}) {
|
|
26
26
|
const i = l();
|
|
27
27
|
return o(i, (t) => {
|
|
28
|
-
t &&
|
|
28
|
+
t && u(() => {
|
|
29
29
|
var d, r;
|
|
30
30
|
(r = (d = t.$el) == null ? void 0 : d.focus) == null || r.call(d);
|
|
31
31
|
});
|
|
@@ -39,7 +39,7 @@ const p = /* @__PURE__ */ f({
|
|
|
39
39
|
class: "text-base font-bold"
|
|
40
40
|
}, [n.title]), a("div", {
|
|
41
41
|
class: "flex justify-end gap-2"
|
|
42
|
-
}, [a(
|
|
42
|
+
}, [a(c, {
|
|
43
43
|
text: !0,
|
|
44
44
|
onClick: n.onClose,
|
|
45
45
|
"aria-label": "close",
|
|
@@ -57,5 +57,5 @@ const p = /* @__PURE__ */ f({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
x as default
|
|
61
61
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DuxCard as
|
|
3
|
-
|
|
1
|
+
import { defineComponent as r, createVNode as e } from "vue";
|
|
2
|
+
import { DuxCard as n } from "../card/card.js";
|
|
3
|
+
import "clsx";
|
|
4
|
+
import "naive-ui";
|
|
5
|
+
const p = /* @__PURE__ */ r({
|
|
4
6
|
name: "DuxPanelCard",
|
|
5
7
|
props: {
|
|
6
8
|
title: {
|
|
@@ -32,9 +34,10 @@ const l = /* @__PURE__ */ n({
|
|
|
32
34
|
class: "text-sm text-muted"
|
|
33
35
|
}, [i.description])]), e("div", {
|
|
34
36
|
class: "flex-none flex items-center"
|
|
35
|
-
}, [(d = t.actions) == null ? void 0 : d.call(t)])]), e(
|
|
37
|
+
}, [(d = t.actions) == null ? void 0 : d.call(t)])]), e(n, {
|
|
36
38
|
size: i.padding,
|
|
37
|
-
bordered: !0
|
|
39
|
+
bordered: !0,
|
|
40
|
+
shadow: !1
|
|
38
41
|
}, {
|
|
39
42
|
default: () => {
|
|
40
43
|
var a;
|
|
@@ -45,5 +48,5 @@ const l = /* @__PURE__ */ n({
|
|
|
45
48
|
}
|
|
46
49
|
});
|
|
47
50
|
export {
|
|
48
|
-
|
|
51
|
+
p as DuxPanelCard
|
|
49
52
|
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as s, createVNode as t, createTextVNode as l } from "vue";
|
|
2
|
+
const c = /* @__PURE__ */ s({
|
|
3
|
+
name: "DuxStatsNumber",
|
|
4
|
+
props: {
|
|
5
|
+
title: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
9
|
+
subtitle: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: ""
|
|
12
|
+
},
|
|
13
|
+
value: {
|
|
14
|
+
type: [Number, String],
|
|
15
|
+
default: 0
|
|
16
|
+
},
|
|
17
|
+
change: {
|
|
18
|
+
type: Number,
|
|
19
|
+
default: 0
|
|
20
|
+
},
|
|
21
|
+
changeType: {
|
|
22
|
+
type: String,
|
|
23
|
+
default: "up"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
setup(n) {
|
|
27
|
+
const a = (e) => typeof e == "number" ? e.toLocaleString() : e, u = (e) => e === "up" ? "▲" : e === "down" ? "▼" : "", r = (e) => e === "up" ? "text-success" : e === "down" ? "text-error" : "text-muted";
|
|
28
|
+
return () => t("div", {
|
|
29
|
+
class: "flex flex-col gap-1"
|
|
30
|
+
}, [t("div", {
|
|
31
|
+
class: "flex items-baseline justify-between"
|
|
32
|
+
}, [t("h3", {
|
|
33
|
+
class: "text-sm text-muted"
|
|
34
|
+
}, [n.title])]), t("div", {
|
|
35
|
+
class: "text-2xl font-bold text-default"
|
|
36
|
+
}, [a(n.value)]), t("div", {
|
|
37
|
+
class: "flex flex-row gap-2 items-center text-sm"
|
|
38
|
+
}, [n.subtitle && t("span", {
|
|
39
|
+
class: " text-muted"
|
|
40
|
+
}, [n.subtitle]), n.change !== void 0 && t("div", {
|
|
41
|
+
class: ["flex items-center gap-1", r(n.changeType)]
|
|
42
|
+
}, [t("span", {
|
|
43
|
+
class: "text-xs"
|
|
44
|
+
}, [u(n.changeType)]), t("span", null, [Math.abs(n.change), l("%")])])])]);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
c as DuxStatsNumber
|
|
49
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { defineComponent as u, computed as s, createVNode as e, Fragment as m } from "vue";
|
|
2
|
+
import { useI18n as d } from "@duxweb/dvha-core";
|
|
3
|
+
import { NScrollbar as c } from "naive-ui";
|
|
4
|
+
import { DuxCard as p } from "../card/card.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import { DuxChart as x } from "../chart/echart.js";
|
|
7
|
+
import { DuxStatsNumber as f } from "./number.js";
|
|
8
|
+
const T = /* @__PURE__ */ u({
|
|
9
|
+
name: "DuxStatsRealTime",
|
|
10
|
+
props: {
|
|
11
|
+
title: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: ""
|
|
14
|
+
},
|
|
15
|
+
subtitle: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: ""
|
|
18
|
+
},
|
|
19
|
+
cards: {
|
|
20
|
+
type: Array,
|
|
21
|
+
default: () => []
|
|
22
|
+
},
|
|
23
|
+
charts: {
|
|
24
|
+
type: Array,
|
|
25
|
+
default: () => []
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
setup(a) {
|
|
29
|
+
const {
|
|
30
|
+
t: i
|
|
31
|
+
} = d(), r = s(() => a.title || i("components.stats.realTimeData")), n = s(() => a.charts.length === 1 ? a.charts.map((t) => ({
|
|
32
|
+
...t,
|
|
33
|
+
class: "col-span-2",
|
|
34
|
+
chartOption: {
|
|
35
|
+
showXAxisLabel: !0,
|
|
36
|
+
labels: t.labels,
|
|
37
|
+
data: [{
|
|
38
|
+
name: t.title,
|
|
39
|
+
data: t.data
|
|
40
|
+
}]
|
|
41
|
+
}
|
|
42
|
+
})) : a.charts.map((t) => ({
|
|
43
|
+
...t,
|
|
44
|
+
class: "col-span-1",
|
|
45
|
+
chartOption: {
|
|
46
|
+
showXAxisLabel: !0,
|
|
47
|
+
labels: t.labels,
|
|
48
|
+
data: [{
|
|
49
|
+
name: t.title,
|
|
50
|
+
data: t.data
|
|
51
|
+
}]
|
|
52
|
+
}
|
|
53
|
+
}))), o = (t) => typeof t == "number" ? t.toLocaleString() : t;
|
|
54
|
+
return () => e(p, {
|
|
55
|
+
title: r.value
|
|
56
|
+
}, {
|
|
57
|
+
headerExtra: () => e("div", {
|
|
58
|
+
class: "text-sm text-muted"
|
|
59
|
+
}, [a.subtitle]),
|
|
60
|
+
default: () => e(m, null, [a.cards.length > 0 && e("div", {
|
|
61
|
+
class: "lg:h-26 bg-muted"
|
|
62
|
+
}, [e(c, {
|
|
63
|
+
xScrollable: !0
|
|
64
|
+
}, {
|
|
65
|
+
default: () => [e("div", {
|
|
66
|
+
class: ["grid grid-cols-2 whitespace-nowrap auto-cols-max", "lg:grid-cols-[repeat(auto-fit,minmax(100px,1fr))]"]
|
|
67
|
+
}, [a.cards.map((t, l) => e("div", {
|
|
68
|
+
key: l,
|
|
69
|
+
class: "text-center flex flex-col gap-1 py-6"
|
|
70
|
+
}, [e("div", {
|
|
71
|
+
class: ["text-2xl font-bold"]
|
|
72
|
+
}, [o(t.value)]), e("div", {
|
|
73
|
+
class: "text-sm text-muted"
|
|
74
|
+
}, [t.label])]))])]
|
|
75
|
+
})]), a.charts.length > 0 && e("div", {
|
|
76
|
+
class: ["grid grid-cols-1", "lg:grid-cols-[repeat(auto-fit,minmax(100px,1fr))]"]
|
|
77
|
+
}, [n.value.map((t, l) => e("div", {
|
|
78
|
+
key: l,
|
|
79
|
+
class: ["p-4 pb-0 flex gap-4"]
|
|
80
|
+
}, [e(f, {
|
|
81
|
+
title: t.title,
|
|
82
|
+
subtitle: t.subtitle,
|
|
83
|
+
value: t.value || 0,
|
|
84
|
+
change: t.change,
|
|
85
|
+
changeType: t.changeType
|
|
86
|
+
}, null), e("div", {
|
|
87
|
+
class: "flex-1 min-w-0"
|
|
88
|
+
}, [e(x, {
|
|
89
|
+
type: "line",
|
|
90
|
+
height: "100px",
|
|
91
|
+
min: !0,
|
|
92
|
+
option: t.chartOption
|
|
93
|
+
}, null)])]))])])
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
T as DuxStatsRealTime
|
|
99
|
+
};
|