@duxweb/dvha-pro 0.0.5 → 0.0.7
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/LICENSE +21 -0
- package/dist/cjs/_virtual/_commonjsHelpers.cjs +1 -0
- package/dist/cjs/_virtual/browser.cjs +1 -0
- package/dist/cjs/_virtual/browser2.cjs +1 -0
- package/dist/cjs/_virtual/sourcemap-codec.umd.cjs +1 -0
- package/dist/cjs/_virtual/sourcemap-codec.umd2.cjs +1 -0
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/chart/echart.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/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/list/card.cjs +1 -1
- package/dist/cjs/components/list/list.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/modal/modalTab.cjs +1 -1
- package/dist/cjs/components/select/cardSelect.cjs +1 -0
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/config/echart.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -1
- package/dist/cjs/config/validate.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/echart.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/main.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.cjs +391 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.cjs +10 -0
- package/dist/cjs/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.cjs +1 -0
- 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/theme/naiveTheme.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +28 -6
- package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
- package/dist/esm/_virtual/browser.js +7 -0
- package/dist/esm/_virtual/browser2.js +4 -0
- package/dist/esm/_virtual/sourcemap-codec.umd.js +5 -0
- package/dist/esm/_virtual/sourcemap-codec.umd2.js +4 -0
- package/dist/esm/component.js +44 -42
- package/dist/esm/components/card/card.js +1 -1
- package/dist/esm/components/chart/echart.js +75 -0
- package/dist/esm/components/dialog/dialog.js +87 -93
- package/dist/esm/components/drawer/drawer.js +34 -32
- package/dist/esm/components/form/modalForm.js +1 -1
- package/dist/esm/components/form/pageForm.js +25 -20
- package/dist/esm/components/form/settingForm.js +27 -22
- package/dist/esm/components/layout/list.js +204 -142
- package/dist/esm/components/layout/table.js +211 -145
- package/dist/esm/components/list/card.js +42 -32
- package/dist/esm/components/list/list.js +27 -16
- package/dist/esm/components/modal/modal.js +46 -86
- package/dist/esm/components/modal/modalPage.js +23 -18
- package/dist/esm/components/modal/modalTab.js +11 -11
- package/dist/esm/components/select/cardSelect.js +103 -0
- package/dist/esm/components/table/tablePage.js +21 -18
- package/dist/esm/config/echart.js +456 -0
- package/dist/esm/config/uno.js +16 -13
- package/dist/esm/config/validate.js +2 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/action.js +46 -45
- package/dist/esm/hooks/dialog.js +24 -7
- package/dist/esm/hooks/drawer.js +14 -9
- package/dist/esm/hooks/echart.js +469 -0
- package/dist/esm/hooks/modal.js +25 -9
- package/dist/esm/hooks/table/media.js +19 -14
- package/dist/esm/index.js +158 -135
- package/dist/esm/main.js +11 -8
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/customisations/defaults.js +14 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/defaults.js +25 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/merge.js +11 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon/transformations.js +9 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/get-icon.js +23 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/icon-set/tree.js +17 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/custom.js +40 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/loader.js +46 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/modern.js +55 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/loader/utils.js +38 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/build.js +69 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/defs.js +29 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/encode-svg-for-css.js +14 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/size.js +27 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/trim.js +6 -0
- package/dist/esm/node_modules/.pnpm/@iconify_utils@2.3.0/node_modules/@iconify/utils/lib/svg/url.js +6 -0
- package/dist/esm/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +255 -0
- package/dist/esm/node_modules/.pnpm/@unocss_core@66.2.3/node_modules/@unocss/core/dist/index.js +88 -0
- package/dist/esm/node_modules/.pnpm/@unocss_extractor-arbitrary-variants@66.2.3/node_modules/@unocss/extractor-arbitrary-variants/dist/index.js +51 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js +17 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/core.js +151 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/shared/preset-icons.DE2iazBM.js +8 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/colors.js +322 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js +547 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/postprocess.js +32 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BgkAsChl.js +2307 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.BwwuP5Yw.js +627 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CYAfjDEV.js +7 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.CgvxUQFi.js +588 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/shared/preset-wind4.dDC8WtZ5.js +51 -0
- package/dist/esm/node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/theme.js +553 -0
- package/dist/esm/node_modules/.pnpm/@unocss_rule-utils@66.2.3/node_modules/@unocss/rule-utils/dist/index.js +632 -0
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/browser.js +146 -0
- package/dist/esm/node_modules/.pnpm/debug@4.4.1/node_modules/debug/src/common.js +97 -0
- package/dist/esm/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.js +56 -0
- package/dist/esm/node_modules/.pnpm/magic-string@0.30.17/node_modules/magic-string/dist/magic-string.es.js +608 -0
- package/dist/esm/node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js +85 -0
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/index.js +23 -0
- package/dist/esm/node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.js +219 -0
- package/dist/esm/node_modules/.pnpm/ufo@1.6.1/node_modules/ufo/dist/index.js +153 -0
- package/dist/esm/pages/authLayout.js +4 -3
- package/dist/esm/pages/layout/global.js +46 -33
- package/dist/esm/pages/layout/page.js +15 -10
- package/dist/esm/pages/login.js +26 -21
- package/dist/esm/pages/menu/avatar.js +14 -14
- package/dist/esm/pages/menu/button.js +19 -14
- package/dist/esm/pages/menu/cmd.js +29 -24
- package/dist/esm/pages/menu/main.js +26 -21
- package/dist/esm/pages/menu/mobile.js +19 -14
- package/dist/esm/pages/page.js +16 -16
- package/dist/esm/pages/page404.js +25 -20
- package/dist/esm/pages/pageStatus.js +13 -8
- package/dist/esm/theme/naiveTheme.js +57 -51
- package/dist/esm/theme/uno.css.js +28 -6
- package/dist/types/components/chart/echart.d.ts +284 -0
- package/dist/types/components/chart/index.d.ts +1 -0
- package/dist/types/components/dialog/dialog.d.ts +1 -20
- package/dist/types/components/drawer/drawer.d.ts +14 -4
- package/dist/types/components/form/formLayout.d.ts +1 -1
- package/dist/types/components/form/modalForm.d.ts +1 -1
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/components/layout/list.d.ts +22 -1
- package/dist/types/components/layout/table.d.ts +22 -1
- package/dist/types/components/list/card.d.ts +41 -3
- package/dist/types/components/list/list.d.ts +46 -5
- package/dist/types/components/modal/modal.d.ts +13 -31
- package/dist/types/components/modal/modalPage.d.ts +3 -6
- package/dist/types/components/panel/alert.d.ts +1 -1
- package/dist/types/components/select/cardSelect.d.ts +88 -0
- package/dist/types/components/select/index.d.ts +1 -0
- package/dist/types/components/table/tablePage.d.ts +28 -2
- package/dist/types/config/echart.d.ts +4 -0
- package/dist/types/config/index.d.ts +1 -0
- package/dist/types/hooks/drawer.d.ts +3 -2
- package/dist/types/hooks/echart.d.ts +166 -0
- package/dist/types/hooks/index.d.ts +2 -0
- package/dist/types/hooks/modal.d.ts +10 -5
- package/dist/types/hooks/table/types.d.ts +1 -0
- package/dist/types/main.d.ts +1 -0
- package/dist/types/pages/layout/global.d.ts +1 -0
- package/dist/types/pages/menu/avatar.d.ts +3 -3
- package/dist/types/pages/menu/button.d.ts +3 -3
- package/dist/types/pages/menu/main.d.ts +3 -3
- package/dist/types/pages/page.d.ts +1 -1
- package/package.json +22 -16
- package/dist/cjs/node_modules/@overlastic/core/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/@overlastic/vue/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/@vueuse/integrations/useFocusTrap.cjs +0 -1
- package/dist/cjs/node_modules/@vueuse/shared/index.cjs +0 -1
- package/dist/cjs/node_modules/colorizr/dist/index.cjs +0 -1
- package/dist/cjs/node_modules/focus-trap/dist/focus-trap.esm.cjs +0 -5
- package/dist/cjs/node_modules/lower-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/no-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/pascal-case/dist.es2015/index.cjs +0 -1
- package/dist/cjs/node_modules/tabbable/dist/index.esm.cjs +0 -4
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs +0 -1
- package/dist/esm/node_modules/@overlastic/core/dist/index.js +0 -76
- package/dist/esm/node_modules/@overlastic/vue/dist/index.js +0 -122
- package/dist/esm/node_modules/@vueuse/integrations/useFocusTrap.js +0 -43
- package/dist/esm/node_modules/@vueuse/shared/index.js +0 -6
- package/dist/esm/node_modules/colorizr/dist/index.js +0 -318
- package/dist/esm/node_modules/focus-trap/dist/focus-trap.esm.js +0 -473
- package/dist/esm/node_modules/lower-case/dist.es2015/index.js +0 -6
- package/dist/esm/node_modules/no-case/dist.es2015/index.js +0 -18
- package/dist/esm/node_modules/pascal-case/dist.es2015/index.js +0 -13
- package/dist/esm/node_modules/tabbable/dist/index.esm.js +0 -202
- package/dist/esm/node_modules/tslib/tslib.es6.js +0 -12
- /package/dist/cjs/node_modules/{@iconify-json → .pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json}/tabler/icons.json.cjs +0 -0
- /package/dist/cjs/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/en.json.cjs +0 -0
- /package/dist/cjs/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/zh_CN.json.cjs +0 -0
- /package/dist/esm/node_modules/{@iconify-json → .pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json}/tabler/icons.json.js +0 -0
- /package/dist/esm/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/en.json.js +0 -0
- /package/dist/esm/node_modules/{@vee-validate → .pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate}/i18n/dist/locale/zh_CN.json.js +0 -0
|
@@ -4,7 +4,16 @@ export interface ListPageSlotProps {
|
|
|
4
4
|
isChecked: (id: string | number) => boolean;
|
|
5
5
|
toggleChecked: (id: string | number) => void;
|
|
6
6
|
}
|
|
7
|
-
export declare const DuxListPage: import("vue").DefineComponent<
|
|
7
|
+
export declare const DuxListPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
sideLeftTitle: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
sideRightTitle: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
17
|
rowKey: {
|
|
9
18
|
type: StringConstructor;
|
|
10
19
|
default: string;
|
|
@@ -20,7 +29,7 @@ export declare const DuxListPage: import("vue").DefineComponent<{}, () => import
|
|
|
20
29
|
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
21
30
|
};
|
|
22
31
|
pagination: {
|
|
23
|
-
type: import("vue").PropType<boolean | import("
|
|
32
|
+
type: import("vue").PropType<boolean | import("..").TablePagination>;
|
|
24
33
|
default: boolean;
|
|
25
34
|
};
|
|
26
35
|
tabs: {
|
|
@@ -39,6 +48,14 @@ export declare const DuxListPage: import("vue").DefineComponent<{}, () => import
|
|
|
39
48
|
checkable: {
|
|
40
49
|
type: BooleanConstructor;
|
|
41
50
|
};
|
|
51
|
+
sideLeftTitle: {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
};
|
|
55
|
+
sideRightTitle: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
42
59
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
60
|
rowKey: {
|
|
44
61
|
type: StringConstructor;
|
|
@@ -55,7 +72,7 @@ export declare const DuxListPage: import("vue").DefineComponent<{}, () => import
|
|
|
55
72
|
type: import("vue").PropType<import("@duxweb/dvha-core").JsonSchemaNode[]>;
|
|
56
73
|
};
|
|
57
74
|
pagination: {
|
|
58
|
-
type: import("vue").PropType<boolean | import("
|
|
75
|
+
type: import("vue").PropType<boolean | import("..").TablePagination>;
|
|
59
76
|
default: boolean;
|
|
60
77
|
};
|
|
61
78
|
tabs: {
|
|
@@ -74,14 +91,38 @@ export declare const DuxListPage: import("vue").DefineComponent<{}, () => import
|
|
|
74
91
|
checkable: {
|
|
75
92
|
type: BooleanConstructor;
|
|
76
93
|
};
|
|
94
|
+
sideLeftTitle: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
sideRightTitle: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
77
102
|
}>> & Readonly<{}>, {
|
|
78
103
|
checkable: boolean;
|
|
79
104
|
rowKey: string;
|
|
80
|
-
pagination: boolean | import("
|
|
105
|
+
pagination: boolean | import("..").TablePagination;
|
|
81
106
|
actions: import("../..").UseActionItem[];
|
|
82
|
-
|
|
107
|
+
sideLeftTitle: string;
|
|
108
|
+
sideRightTitle: string;
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
+
sideLeftTitle: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
};
|
|
114
|
+
sideRightTitle: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
}>> & Readonly<{}>, {
|
|
119
|
+
sideLeftTitle: string;
|
|
120
|
+
sideRightTitle: string;
|
|
121
|
+
}, SlotsType<{
|
|
83
122
|
default: (props: ListPageSlotProps) => any;
|
|
84
123
|
bottom: () => any;
|
|
85
124
|
tools: () => any;
|
|
86
125
|
actions: () => any;
|
|
126
|
+
sideLeft: () => any;
|
|
127
|
+
sideRight: () => any;
|
|
87
128
|
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,27 +1,20 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ModalProps } from 'naive-ui';
|
|
2
|
+
import type { AsyncComponentLoader, Component, PropType } from 'vue';
|
|
2
3
|
export declare const DuxModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
4
|
title: {
|
|
4
5
|
type: StringConstructor;
|
|
5
6
|
default: string;
|
|
6
7
|
};
|
|
7
8
|
component: {
|
|
8
|
-
type: PropType<
|
|
9
|
-
};
|
|
10
|
-
componentProps: {
|
|
11
|
-
type: PropType<Record<string, any>>;
|
|
12
|
-
default: () => {};
|
|
9
|
+
type: PropType<AsyncComponentLoader<any> | Component>;
|
|
13
10
|
};
|
|
11
|
+
componentProps: ObjectConstructor;
|
|
14
12
|
width: {
|
|
15
|
-
type: NumberConstructor;
|
|
13
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
16
14
|
default: number;
|
|
17
15
|
};
|
|
18
|
-
|
|
19
|
-
type: PropType<
|
|
20
|
-
default: () => void;
|
|
21
|
-
};
|
|
22
|
-
onConfirm: {
|
|
23
|
-
type: PropType<() => void>;
|
|
24
|
-
default: () => void;
|
|
16
|
+
modalProps: {
|
|
17
|
+
type: PropType<ModalProps>;
|
|
25
18
|
};
|
|
26
19
|
draggable: {
|
|
27
20
|
type: BooleanConstructor;
|
|
@@ -33,23 +26,15 @@ export declare const DuxModal: import("vue").DefineComponent<import("vue").Extra
|
|
|
33
26
|
default: string;
|
|
34
27
|
};
|
|
35
28
|
component: {
|
|
36
|
-
type: PropType<
|
|
37
|
-
};
|
|
38
|
-
componentProps: {
|
|
39
|
-
type: PropType<Record<string, any>>;
|
|
40
|
-
default: () => {};
|
|
29
|
+
type: PropType<AsyncComponentLoader<any> | Component>;
|
|
41
30
|
};
|
|
31
|
+
componentProps: ObjectConstructor;
|
|
42
32
|
width: {
|
|
43
|
-
type: NumberConstructor;
|
|
33
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
34
|
default: number;
|
|
45
35
|
};
|
|
46
|
-
|
|
47
|
-
type: PropType<
|
|
48
|
-
default: () => void;
|
|
49
|
-
};
|
|
50
|
-
onConfirm: {
|
|
51
|
-
type: PropType<() => void>;
|
|
52
|
-
default: () => void;
|
|
36
|
+
modalProps: {
|
|
37
|
+
type: PropType<ModalProps>;
|
|
53
38
|
};
|
|
54
39
|
draggable: {
|
|
55
40
|
type: BooleanConstructor;
|
|
@@ -58,9 +43,6 @@ export declare const DuxModal: import("vue").DefineComponent<import("vue").Extra
|
|
|
58
43
|
}>> & Readonly<{}>, {
|
|
59
44
|
title: string;
|
|
60
45
|
draggable: boolean;
|
|
61
|
-
|
|
62
|
-
width: number;
|
|
63
|
-
onConfirm: () => void;
|
|
64
|
-
onClose: () => void;
|
|
46
|
+
width: string | number;
|
|
65
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
66
48
|
export default DuxModal;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PropType
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
title: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -9,8 +9,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
handle: {
|
|
12
|
-
type:
|
|
13
|
-
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
12
|
+
type: StringConstructor;
|
|
14
13
|
};
|
|
15
14
|
onClose: {
|
|
16
15
|
type: PropType<() => void>;
|
|
@@ -26,8 +25,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
26
25
|
default: boolean;
|
|
27
26
|
};
|
|
28
27
|
handle: {
|
|
29
|
-
type:
|
|
30
|
-
default: () => Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
28
|
+
type: StringConstructor;
|
|
31
29
|
};
|
|
32
30
|
onClose: {
|
|
33
31
|
type: PropType<() => void>;
|
|
@@ -37,6 +35,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
37
35
|
title: string;
|
|
38
36
|
draggable: boolean;
|
|
39
37
|
onClose: () => void;
|
|
40
|
-
handle: Ref<HTMLElement, HTMLElement>;
|
|
41
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
39
|
export default _default;
|
|
@@ -27,6 +27,6 @@ export declare const DuxPanelAlert: import("vue").DefineComponent<import("vue").
|
|
|
27
27
|
};
|
|
28
28
|
}>> & Readonly<{}>, {
|
|
29
29
|
title: string;
|
|
30
|
-
type: "error" | "default" | "
|
|
30
|
+
type: "error" | "default" | "success" | "warning" | "info";
|
|
31
31
|
description: string;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
export interface CardSelectOption {
|
|
3
|
+
value: string | number;
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
icon?: string;
|
|
8
|
+
iconColor?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const DuxSelectCard: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
options: {
|
|
12
|
+
type: PropType<CardSelectOption[]>;
|
|
13
|
+
default: () => never[];
|
|
14
|
+
};
|
|
15
|
+
value: {
|
|
16
|
+
type: PropType<string | number | (string | number)[]>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
type: PropType<string | number | (string | number)[]>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
multiple: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
disabled: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
minWidth: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
maxWidth: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
onUpdateValue: {
|
|
40
|
+
type: PropType<(value: string | number | (string | number)[]) => void>;
|
|
41
|
+
default: undefined;
|
|
42
|
+
};
|
|
43
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
44
|
+
options: {
|
|
45
|
+
type: PropType<CardSelectOption[]>;
|
|
46
|
+
default: () => never[];
|
|
47
|
+
};
|
|
48
|
+
value: {
|
|
49
|
+
type: PropType<string | number | (string | number)[]>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
defaultValue: {
|
|
53
|
+
type: PropType<string | number | (string | number)[]>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
multiple: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
minWidth: {
|
|
65
|
+
type: StringConstructor;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
maxWidth: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
onUpdateValue: {
|
|
73
|
+
type: PropType<(value: string | number | (string | number)[]) => void>;
|
|
74
|
+
default: undefined;
|
|
75
|
+
};
|
|
76
|
+
}>> & Readonly<{
|
|
77
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
79
|
+
}>, {
|
|
80
|
+
value: string | number | (string | number)[];
|
|
81
|
+
defaultValue: string | number | (string | number)[];
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
onUpdateValue: (value: string | number | (string | number)[]) => void;
|
|
84
|
+
options: CardSelectOption[];
|
|
85
|
+
minWidth: string;
|
|
86
|
+
maxWidth: string;
|
|
87
|
+
multiple: boolean;
|
|
88
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './cardSelect';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { DataTableProps } from 'naive-ui';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
2
|
+
import type { PropType, SlotsType } from 'vue';
|
|
3
|
+
import type { TablePageSlotProps } from '../layout/table';
|
|
3
4
|
export declare const DuxTablePage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
5
|
tableProps: {
|
|
5
6
|
type: PropType<DataTableProps>;
|
|
@@ -34,6 +35,14 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
|
|
|
34
35
|
tools: {
|
|
35
36
|
type: PropType<import("..").TablePageTools>;
|
|
36
37
|
};
|
|
38
|
+
sideLeftTitle: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
sideRightTitle: {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
37
46
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
47
|
path: {
|
|
39
48
|
type: StringConstructor;
|
|
@@ -64,10 +73,27 @@ export declare const DuxTablePage: import("vue").DefineComponent<import("vue").E
|
|
|
64
73
|
tools: {
|
|
65
74
|
type: PropType<import("..").TablePageTools>;
|
|
66
75
|
};
|
|
76
|
+
sideLeftTitle: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
sideRightTitle: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
67
84
|
}>> & Readonly<{}>, {
|
|
68
85
|
actions: import("../..").UseActionItem[];
|
|
86
|
+
sideLeftTitle: string;
|
|
87
|
+
sideRightTitle: string;
|
|
69
88
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
89
|
tableProps: {
|
|
71
90
|
type: PropType<DataTableProps>;
|
|
72
91
|
};
|
|
73
|
-
}>> & Readonly<{}>, {}, {
|
|
92
|
+
}>> & Readonly<{}>, {}, SlotsType<{
|
|
93
|
+
default: (props: TablePageSlotProps) => any;
|
|
94
|
+
bottom: () => any;
|
|
95
|
+
tools: () => any;
|
|
96
|
+
actions: () => any;
|
|
97
|
+
sideLeft: () => any;
|
|
98
|
+
sideRight: () => any;
|
|
99
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { HSL } from 'colorizr';
|
|
2
|
+
import type { ThemeRiverSeriesOption } from 'echarts';
|
|
3
|
+
export declare function generateRainbowFromColor(hsl: HSL, numColors: number): string[];
|
|
4
|
+
export declare function getTheme(colors: string[], dark: boolean): ThemeRiverSeriesOption;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import type { AsyncComponentLoader } from 'vue';
|
|
1
|
+
import type { AsyncComponentLoader, Component } from 'vue';
|
|
2
2
|
export interface UseDrawerResult {
|
|
3
3
|
show: (props: UseDrawerProps) => Promise<any>;
|
|
4
4
|
}
|
|
5
5
|
export interface UseDrawerProps {
|
|
6
6
|
title?: string;
|
|
7
7
|
width?: number | string;
|
|
8
|
-
component: AsyncComponentLoader<any
|
|
8
|
+
component: AsyncComponentLoader<any> | Component;
|
|
9
9
|
componentProps?: Record<string, any>;
|
|
10
|
+
placement?: 'top' | 'right' | 'bottom' | 'left';
|
|
10
11
|
}
|
|
11
12
|
export declare function useDrawer(): UseDrawerResult;
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { EChartsOption } from 'echarts';
|
|
2
|
+
export interface EchartCommonProps {
|
|
3
|
+
min?: boolean;
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* 通用图表配置
|
|
7
|
+
*/
|
|
8
|
+
export declare function useEchartCommon(props?: EchartCommonProps): EChartsOption;
|
|
9
|
+
export interface EchartDataItem {
|
|
10
|
+
name: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}
|
|
13
|
+
export interface EchartSeriesItem {
|
|
14
|
+
name: string;
|
|
15
|
+
data: number[];
|
|
16
|
+
stack?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface EchartAxisProps extends EchartCommonProps {
|
|
19
|
+
/** X轴标签 */
|
|
20
|
+
labels?: string[];
|
|
21
|
+
/** 自动判断单/多系列数据 */
|
|
22
|
+
data?: EchartDataItem[] | EchartSeriesItem[] | number[];
|
|
23
|
+
/** 单系列图表的名称 */
|
|
24
|
+
name?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface EchartBarProps extends EchartAxisProps {
|
|
27
|
+
/** 是否为水平柱状图 */
|
|
28
|
+
horizontal?: boolean;
|
|
29
|
+
/** 堆叠分组 */
|
|
30
|
+
stack?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* 柱状图
|
|
34
|
+
*/
|
|
35
|
+
export declare function useEchartBar(props?: EchartBarProps): {
|
|
36
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
37
|
+
};
|
|
38
|
+
export interface EchartLineProps extends EchartAxisProps {
|
|
39
|
+
/** 是否平滑曲线 */
|
|
40
|
+
smooth?: boolean;
|
|
41
|
+
/** 堆叠分组 */
|
|
42
|
+
stack?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* 折线图
|
|
46
|
+
*/
|
|
47
|
+
export declare function useEchartLine(props?: EchartLineProps): {
|
|
48
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
49
|
+
};
|
|
50
|
+
export interface EchartPieProps extends EchartCommonProps {
|
|
51
|
+
data?: EchartDataItem[];
|
|
52
|
+
}
|
|
53
|
+
export declare function useEchartPie(props?: EchartPieProps): {
|
|
54
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
55
|
+
legendData: import("vue").Ref<{
|
|
56
|
+
name: string;
|
|
57
|
+
value: number;
|
|
58
|
+
status: boolean;
|
|
59
|
+
}[], (EchartDataItem & {
|
|
60
|
+
status: boolean;
|
|
61
|
+
})[] | {
|
|
62
|
+
name: string;
|
|
63
|
+
value: number;
|
|
64
|
+
status: boolean;
|
|
65
|
+
}[]>;
|
|
66
|
+
};
|
|
67
|
+
export interface EchartRingProps extends EchartPieProps {
|
|
68
|
+
/** 环形图中心标签 */
|
|
69
|
+
ringLabel?: string;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* 环形图
|
|
73
|
+
*/
|
|
74
|
+
export declare function useEchartRing(props?: EchartRingProps): {
|
|
75
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
76
|
+
legendData: import("vue").Ref<{
|
|
77
|
+
name: string;
|
|
78
|
+
value: number;
|
|
79
|
+
status: boolean;
|
|
80
|
+
}[], (EchartDataItem & {
|
|
81
|
+
status: boolean;
|
|
82
|
+
})[] | {
|
|
83
|
+
name: string;
|
|
84
|
+
value: number;
|
|
85
|
+
status: boolean;
|
|
86
|
+
}[]>;
|
|
87
|
+
};
|
|
88
|
+
export declare function useEchartRose(props?: EchartPieProps): {
|
|
89
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
90
|
+
legendData: import("vue").Ref<{
|
|
91
|
+
name: string;
|
|
92
|
+
value: number;
|
|
93
|
+
status: boolean;
|
|
94
|
+
}[], (EchartDataItem & {
|
|
95
|
+
status: boolean;
|
|
96
|
+
})[] | {
|
|
97
|
+
name: string;
|
|
98
|
+
value: number;
|
|
99
|
+
status: boolean;
|
|
100
|
+
}[]>;
|
|
101
|
+
};
|
|
102
|
+
export declare function useEchartFunnel(props?: EchartPieProps): {
|
|
103
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
104
|
+
legendData: import("vue").Ref<{
|
|
105
|
+
name: string;
|
|
106
|
+
value: number;
|
|
107
|
+
status: boolean;
|
|
108
|
+
}[], (EchartDataItem & {
|
|
109
|
+
status: boolean;
|
|
110
|
+
})[] | {
|
|
111
|
+
name: string;
|
|
112
|
+
value: number;
|
|
113
|
+
status: boolean;
|
|
114
|
+
}[]>;
|
|
115
|
+
};
|
|
116
|
+
export interface EchartRadarDataItem {
|
|
117
|
+
name: string;
|
|
118
|
+
value: number[];
|
|
119
|
+
}
|
|
120
|
+
export interface EchartRadarProps extends EchartCommonProps {
|
|
121
|
+
/** 雷达图指标配置 */
|
|
122
|
+
indicator?: Array<{
|
|
123
|
+
name: string;
|
|
124
|
+
max: number;
|
|
125
|
+
}>;
|
|
126
|
+
data?: EchartRadarDataItem[];
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 雷达图
|
|
130
|
+
*/
|
|
131
|
+
export declare function useEchartRadar(props?: EchartRadarProps): {
|
|
132
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
133
|
+
};
|
|
134
|
+
export interface EchartMapProps extends EchartCommonProps {
|
|
135
|
+
/** 地图名称 */
|
|
136
|
+
mapName?: string;
|
|
137
|
+
data?: EchartDataItem[];
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* 地图
|
|
141
|
+
*/
|
|
142
|
+
export declare function useEchartMap(props?: EchartMapProps): {
|
|
143
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
144
|
+
};
|
|
145
|
+
export interface EchartTreeMapDataItem {
|
|
146
|
+
name: string;
|
|
147
|
+
value: number;
|
|
148
|
+
children?: EchartTreeMapDataItem[];
|
|
149
|
+
}
|
|
150
|
+
export interface EchartTreeMapProps extends EchartCommonProps {
|
|
151
|
+
data?: EchartTreeMapDataItem[] | EchartTreeMapDataItem[][];
|
|
152
|
+
/** 树状图名称,支持多个 */
|
|
153
|
+
name?: string | string[];
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* 矩形树图
|
|
157
|
+
*/
|
|
158
|
+
export declare function useEchartTreeMap(props?: EchartTreeMapProps): {
|
|
159
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* 通用图表类型选择器
|
|
163
|
+
*/
|
|
164
|
+
export declare function useEchartType(type: string, props: any): {
|
|
165
|
+
option: import("vue").ComputedRef<EChartsOption>;
|
|
166
|
+
};
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { ModalProps } from 'naive-ui';
|
|
2
|
+
import type { AsyncComponentLoader, Component } from 'vue';
|
|
3
|
+
export interface UseModalResult {
|
|
4
|
+
show: (props: UseModalProps) => Promise<any>;
|
|
5
|
+
}
|
|
6
|
+
export interface UseModalProps {
|
|
3
7
|
title?: string;
|
|
4
8
|
width?: number | string;
|
|
9
|
+
component: AsyncComponentLoader<any> | Component;
|
|
10
|
+
componentProps?: Record<string, any>;
|
|
5
11
|
draggable?: boolean;
|
|
12
|
+
modalProps?: ModalProps;
|
|
6
13
|
}
|
|
7
|
-
export declare function useModal():
|
|
8
|
-
show: (props: UseModalProps) => import("@overlastic/core").Deferred<unknown>;
|
|
9
|
-
};
|
|
14
|
+
export declare function useModal(): UseModalResult;
|
|
@@ -12,6 +12,7 @@ export interface ModalActionItem extends BaseActionItem {
|
|
|
12
12
|
component: AsyncComponentLoader<any>;
|
|
13
13
|
componentProps?: Record<string, any> | ((data: any) => Record<string, any>);
|
|
14
14
|
width?: number;
|
|
15
|
+
draggable?: boolean;
|
|
15
16
|
}
|
|
16
17
|
export interface DrawerActionItem extends BaseActionItem {
|
|
17
18
|
type: 'drawer';
|
package/dist/types/main.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
+
import 'echarts';
|
|
1
2
|
export declare const DuxGlobalLayout: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
2
|
+
collapsed: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
|
|
7
|
+
collapsed: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
}>> & Readonly<{}>, {
|
|
12
|
-
|
|
12
|
+
collapsed: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
14
|
export default _default;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7
7
|
type: FunctionConstructor;
|
|
8
8
|
default: () => void;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
collapsed: {
|
|
11
11
|
type: BooleanConstructor;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
24
24
|
type: FunctionConstructor;
|
|
25
25
|
default: () => void;
|
|
26
26
|
};
|
|
27
|
-
|
|
27
|
+
collapsed: {
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
@@ -36,6 +36,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
36
36
|
onClick: Function;
|
|
37
37
|
class: string;
|
|
38
38
|
inverted: boolean;
|
|
39
|
-
|
|
39
|
+
collapsed: boolean;
|
|
40
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
41
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const DuxMenuMain: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
2
|
+
collapsed: {
|
|
3
3
|
type: BooleanConstructor;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
|
|
7
|
+
collapsed: {
|
|
8
8
|
type: BooleanConstructor;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
11
|
}>> & Readonly<{}>, {
|
|
12
|
-
|
|
12
|
+
collapsed: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -35,8 +35,8 @@ export declare const DuxPage: import("vue").DefineComponent<import("vue").Extrac
|
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
37
|
}>> & Readonly<{}>, {
|
|
38
|
-
card: boolean;
|
|
39
38
|
padding: boolean;
|
|
39
|
+
card: boolean;
|
|
40
40
|
actions: UseActionItem[];
|
|
41
41
|
scrollbar: boolean;
|
|
42
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|