@duxweb/dvha-pro 0.0.5 → 0.0.6
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/dialog/dialog.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.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/modal/modal.cjs +1 -1
- 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/drawer.cjs +1 -1
- package/dist/cjs/hooks/table/media.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/@vueuse_integrations@13.3.0_async-validator@4.2.5_axios@1.10.0_focus-trap@7.6.5_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/integrations/useFocusTrap.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/{focus-trap → .pnpm/focus-trap@7.6.5/node_modules/focus-trap}/dist/focus-trap.esm.cjs +1 -1
- 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/page.cjs +1 -1
- package/dist/cjs/pages/login.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/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 +1 -0
- 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 +1 -1
- package/dist/esm/components/dialog/dialog.js +1 -1
- package/dist/esm/components/drawer/drawer.js +1 -1
- package/dist/esm/components/form/pageForm.js +4 -3
- package/dist/esm/components/form/settingForm.js +14 -13
- package/dist/esm/components/layout/list.js +4 -3
- package/dist/esm/components/layout/table.js +4 -3
- package/dist/esm/components/modal/modal.js +1 -1
- 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/drawer.js +4 -3
- package/dist/esm/hooks/table/media.js +4 -3
- 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/{@vueuse → .pnpm/@vueuse_integrations@13.3.0_async-validator@4.2.5_axios@1.10.0_focus-trap@7.6.5_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse}/integrations/useFocusTrap.js +2 -2
- 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/{focus-trap → .pnpm/focus-trap@7.6.5/node_modules/focus-trap}/dist/focus-trap.esm.js +1 -1
- 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 +1 -1
- package/dist/esm/pages/layout/page.js +10 -9
- package/dist/esm/pages/login.js +7 -6
- package/dist/esm/pages/menu/button.js +9 -8
- package/dist/esm/pages/menu/cmd.js +7 -6
- package/dist/esm/pages/menu/main.js +9 -8
- package/dist/esm/pages/menu/mobile.js +12 -11
- package/dist/esm/pages/page404.js +2 -1
- package/dist/esm/pages/pageStatus.js +4 -3
- package/dist/esm/theme/naiveTheme.js +1 -1
- package/dist/esm/theme/uno.css.js +1 -0
- package/dist/types/components/layout/list.d.ts +4 -1
- package/dist/types/components/list/card.d.ts +3 -3
- package/dist/types/components/list/list.d.ts +3 -3
- package/dist/types/hooks/modal.d.ts +1 -1
- package/package.json +17 -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/colorizr/dist/index.cjs +0 -1
- 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/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/colorizr/dist/index.js +0 -318
- 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/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/cjs/node_modules/{@vueuse → .pnpm/@vueuse_shared@13.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse}/shared/index.cjs +0 -0
- /package/dist/cjs/node_modules/{tabbable → .pnpm/tabbable@6.2.0/node_modules/tabbable}/dist/index.esm.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
- /package/dist/esm/node_modules/{@vueuse → .pnpm/@vueuse_shared@13.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse}/shared/index.js +0 -0
- /package/dist/esm/node_modules/{tabbable → .pnpm/tabbable@6.2.0/node_modules/tabbable}/dist/index.esm.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as d, toRef as f, createVNode as r } from "vue";
|
|
2
2
|
import { useI18n as p, useExtendForm as g } from "@duxweb/dvha-core";
|
|
3
3
|
import { useMessage as y, NButton as c } from "naive-ui";
|
|
4
|
-
import "
|
|
4
|
+
import "@overlastic/vue";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "jinrishici";
|
|
@@ -11,10 +11,11 @@ import "vee-validate";
|
|
|
11
11
|
import "@duxweb/dvha-naiveui";
|
|
12
12
|
import "pinia";
|
|
13
13
|
import "@vee-validate/i18n";
|
|
14
|
+
import "colorizr";
|
|
14
15
|
import "vue-command-palette";
|
|
15
16
|
import { DuxPage as b } from "../../pages/page.js";
|
|
16
17
|
import "../../pages/page404.js";
|
|
17
|
-
const
|
|
18
|
+
const O = /* @__PURE__ */ d({
|
|
18
19
|
name: "DuxPageForm",
|
|
19
20
|
props: {
|
|
20
21
|
id: {
|
|
@@ -90,5 +91,5 @@ const M = /* @__PURE__ */ d({
|
|
|
90
91
|
}
|
|
91
92
|
});
|
|
92
93
|
export {
|
|
93
|
-
|
|
94
|
+
O as DuxPageForm
|
|
94
95
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as d, ref as l, toRef as g, computed as x, createVNode as
|
|
1
|
+
import { defineComponent as d, ref as l, toRef as g, computed as x, createVNode as n } from "vue";
|
|
2
2
|
import { useI18n as y, useExtendForm as S } from "@duxweb/dvha-core";
|
|
3
3
|
import { useMessage as b, NTabs as p } from "naive-ui";
|
|
4
|
-
import "
|
|
4
|
+
import "@overlastic/vue";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "jinrishici";
|
|
@@ -11,10 +11,11 @@ import "vee-validate";
|
|
|
11
11
|
import "@duxweb/dvha-naiveui";
|
|
12
12
|
import "pinia";
|
|
13
13
|
import "@vee-validate/i18n";
|
|
14
|
+
import "colorizr";
|
|
14
15
|
import "vue-command-palette";
|
|
15
16
|
import { DuxPage as v } from "../../pages/page.js";
|
|
16
17
|
import "../../pages/page404.js";
|
|
17
|
-
const
|
|
18
|
+
const U = /* @__PURE__ */ d({
|
|
18
19
|
name: "DuxSettingForm",
|
|
19
20
|
props: {
|
|
20
21
|
id: {
|
|
@@ -58,13 +59,13 @@ const R = /* @__PURE__ */ d({
|
|
|
58
59
|
path: e.path,
|
|
59
60
|
form: o,
|
|
60
61
|
action: e.action,
|
|
61
|
-
onError: (
|
|
62
|
+
onError: (m) => {
|
|
62
63
|
var a;
|
|
63
|
-
i.error(
|
|
64
|
+
i.error(m.message || r("components.form.error")), (a = e.onError) == null || a.call(e, m);
|
|
64
65
|
},
|
|
65
|
-
onSuccess: (
|
|
66
|
+
onSuccess: (m) => {
|
|
66
67
|
var a;
|
|
67
|
-
i.success(r("components.form.success")), (a = e.onSuccess) == null || a.call(e,
|
|
68
|
+
i.success(r("components.form.success")), (a = e.onSuccess) == null || a.call(e, m);
|
|
68
69
|
}
|
|
69
70
|
}), f = x(() => {
|
|
70
71
|
switch (e.size) {
|
|
@@ -77,12 +78,12 @@ const R = /* @__PURE__ */ d({
|
|
|
77
78
|
return "lg:max-w-2xl";
|
|
78
79
|
}
|
|
79
80
|
});
|
|
80
|
-
return () =>
|
|
81
|
+
return () => n(v, null, {
|
|
81
82
|
default: () => {
|
|
82
|
-
var
|
|
83
|
-
return [
|
|
83
|
+
var m;
|
|
84
|
+
return [n("div", {
|
|
84
85
|
class: `flex flex-col gap-6 w-full ${f.value} mx-auto py-4`
|
|
85
|
-
}, [e.tabs ?
|
|
86
|
+
}, [e.tabs ? n(p, {
|
|
86
87
|
defaultValue: e.defaultTab,
|
|
87
88
|
value: u.value,
|
|
88
89
|
onUpdateValue: (a) => {
|
|
@@ -94,11 +95,11 @@ const R = /* @__PURE__ */ d({
|
|
|
94
95
|
var a;
|
|
95
96
|
return [(a = t == null ? void 0 : t.default) == null ? void 0 : a.call(t, c)];
|
|
96
97
|
}
|
|
97
|
-
}) : (
|
|
98
|
+
}) : (m = t == null ? void 0 : t.default) == null ? void 0 : m.call(t, c)])];
|
|
98
99
|
}
|
|
99
100
|
});
|
|
100
101
|
}
|
|
101
102
|
});
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
U as DuxSettingForm
|
|
104
105
|
};
|
|
@@ -7,9 +7,10 @@ import "@duxweb/dvha-naiveui";
|
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "jinrishici";
|
|
10
|
-
import "
|
|
10
|
+
import "@overlastic/vue";
|
|
11
11
|
import "vee-validate";
|
|
12
12
|
import "@vee-validate/i18n";
|
|
13
|
+
import "colorizr";
|
|
13
14
|
import "vue-router";
|
|
14
15
|
import "vue-command-palette";
|
|
15
16
|
import { DuxPage as fe } from "../../pages/page.js";
|
|
@@ -18,7 +19,7 @@ import { DuxPageEmpty as me } from "../../pages/pageEmpty.js";
|
|
|
18
19
|
import { DuxTableFilter as ge } from "./filter.js";
|
|
19
20
|
import { DuxTableTools as ve } from "./tools.js";
|
|
20
21
|
import "pinia";
|
|
21
|
-
const
|
|
22
|
+
const Ie = /* @__PURE__ */ _({
|
|
22
23
|
name: "DuxListLayout",
|
|
23
24
|
props: {
|
|
24
25
|
rowKey: {
|
|
@@ -329,5 +330,5 @@ const qe = /* @__PURE__ */ _({
|
|
|
329
330
|
}
|
|
330
331
|
});
|
|
331
332
|
export {
|
|
332
|
-
|
|
333
|
+
Ie as DuxListLayout
|
|
333
334
|
};
|
|
@@ -7,9 +7,10 @@ import { useTable as me } from "../../hooks/table.js";
|
|
|
7
7
|
import "lodash-es";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "jinrishici";
|
|
10
|
-
import "
|
|
10
|
+
import "@overlastic/vue";
|
|
11
11
|
import "vee-validate";
|
|
12
12
|
import "@vee-validate/i18n";
|
|
13
|
+
import "colorizr";
|
|
13
14
|
import "vue-router";
|
|
14
15
|
import "vue-command-palette";
|
|
15
16
|
import "@duxweb/dvha-naiveui";
|
|
@@ -18,7 +19,7 @@ import "../../pages/page404.js";
|
|
|
18
19
|
import { DuxTableFilter as ge } from "./filter.js";
|
|
19
20
|
import { DuxTableTools as be } from "./tools.js";
|
|
20
21
|
import "pinia";
|
|
21
|
-
const
|
|
22
|
+
const Le = /* @__PURE__ */ _({
|
|
22
23
|
name: "DuxTableLayout",
|
|
23
24
|
props: {
|
|
24
25
|
path: {
|
|
@@ -288,5 +289,5 @@ const Be = /* @__PURE__ */ _({
|
|
|
288
289
|
}
|
|
289
290
|
});
|
|
290
291
|
export {
|
|
291
|
-
|
|
292
|
+
Le as DuxTableLayout
|
|
292
293
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, defineAsyncComponent as x, ref as l, watch as C, createVNode as t, Suspense as k, mergeProps as D } from "vue";
|
|
2
2
|
import { useWindowSize as M, useElementSize as F, useDraggable as S, useThrottleFn as N } from "@vueuse/core";
|
|
3
|
-
import { useFocusTrap as P } from "../../node_modules/@vueuse/integrations/useFocusTrap.js";
|
|
3
|
+
import { useFocusTrap as P } from "../../node_modules/.pnpm/@vueuse_integrations@13.3.0_async-validator@4.2.5_axios@1.10.0_focus-trap@7.6.5_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/integrations/useFocusTrap.js";
|
|
4
4
|
import { useMessage as j, NCard as z, NSpin as O } from "naive-ui";
|
|
5
5
|
const A = /* @__PURE__ */ p({
|
|
6
6
|
name: "DuxModal",
|
package/dist/esm/config/uno.js
CHANGED
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from "../node_modules/.pnpm/@unocss_preset-icons@66.2.3/node_modules/@unocss/preset-icons/dist/browser.js";
|
|
2
|
+
import p from "@unocss/preset-typography";
|
|
2
3
|
import "@duxweb/dvha-core";
|
|
4
|
+
import "colorizr";
|
|
3
5
|
import "lodash-es";
|
|
4
6
|
import "vue";
|
|
5
|
-
import { presetTheme as
|
|
6
|
-
|
|
7
|
+
import { presetTheme as i } from "../theme/presetTheme.js";
|
|
8
|
+
import m from "../node_modules/.pnpm/@unocss_preset-wind4@66.2.3/node_modules/@unocss/preset-wind4/dist/index.js";
|
|
9
|
+
function u(t) {
|
|
7
10
|
const r = {
|
|
8
11
|
presets: [
|
|
9
|
-
|
|
12
|
+
m({
|
|
10
13
|
preflights: {
|
|
11
|
-
reset:
|
|
12
|
-
theme:
|
|
14
|
+
reset: t,
|
|
15
|
+
theme: t
|
|
13
16
|
}
|
|
14
17
|
}),
|
|
15
|
-
|
|
18
|
+
o({
|
|
16
19
|
collections: {
|
|
17
|
-
tabler: () => import("../node_modules/@iconify-json/tabler/icons.json.js").then((
|
|
20
|
+
tabler: () => import("../node_modules/.pnpm/@iconify-json_tabler@1.2.19/node_modules/@iconify-json/tabler/icons.json.js").then((e) => e.default)
|
|
18
21
|
}
|
|
19
22
|
}),
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
p(),
|
|
24
|
+
i()
|
|
22
25
|
]
|
|
23
26
|
};
|
|
24
|
-
return
|
|
27
|
+
return t || (r.preflights = [
|
|
25
28
|
{
|
|
26
|
-
getCSS: () => import("../theme/uno.css.js").then((
|
|
29
|
+
getCSS: () => import("../theme/uno.css.js").then((e) => e.default)
|
|
27
30
|
}
|
|
28
31
|
]), r;
|
|
29
32
|
}
|
|
30
33
|
export {
|
|
31
|
-
|
|
34
|
+
u as config
|
|
32
35
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { localize as e } from "@vee-validate/i18n";
|
|
2
|
-
import o from "../node_modules/@vee-validate/i18n/dist/locale/en.json.js";
|
|
3
|
-
import r from "../node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js";
|
|
2
|
+
import o from "../node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/en.json.js";
|
|
3
|
+
import r from "../node_modules/.pnpm/@vee-validate_i18n@4.15.1/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js";
|
|
4
4
|
import { configure as i } from "vee-validate";
|
|
5
5
|
function a() {
|
|
6
6
|
i({
|
package/dist/esm/dvha-pro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.n-dropdown-menu{min-width:130px}.icon-gradient{color:rgb(var(--ui-color-primary));animation:icon-color-cycle 12s ease-in-out infinite}@keyframes icon-color-cycle{0%{color:rgb(var(--ui-color-primary))}20%{color:rgb(var(--ui-color-info))}40%{color:rgb(var(--ui-color-success))}60%{color:rgb(var(--ui-color-warning))}80%{color:rgb(var(--ui-color-error))}to{color:rgb(var(--ui-color-primary))}}@keyframes icon-gradient-shift{0%{background-position:0% 50%}25%{background-position:50% 0%}50%{background-position:100% 50%}75%{background-position:50% 100%}to{background-position:0% 50%}}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-pad{border:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__prefix,.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__suffix{border-bottom:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab{padding:0;border-bottom:none;border-radius:0;background-color:transparent}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{height:20px;width:1px;background-color:#0000001a;border-bottom:none;position:absolute;top:50%;transform:translateY(-50%)}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab{background-color:transparent;border-bottom:none;border:none;position:relative}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:transparent}.dark .app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{background-color:#ffffff1a}.app-modal-tabs.n-tabs .n-tabs-wrapper{padding:0 16px}.app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-color-gray-200)/.2)}.app-modal-tabs.n-tabs .n-tabs-tab{padding:12px 4px;font-size:var(--n-font-size)}.dark .app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-bg-elevated)/.5)}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}html{color-scheme:light;background-color:rgb(var(--ui-bg-elevated))}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}
|
|
1
|
+
@charset "UTF-8";.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.n-dropdown-menu{min-width:130px}.icon-gradient{color:rgb(var(--ui-color-primary));animation:icon-color-cycle 12s ease-in-out infinite}@keyframes icon-color-cycle{0%{color:rgb(var(--ui-color-primary))}20%{color:rgb(var(--ui-color-info))}40%{color:rgb(var(--ui-color-success))}60%{color:rgb(var(--ui-color-warning))}80%{color:rgb(var(--ui-color-error))}to{color:rgb(var(--ui-color-primary))}}@keyframes icon-gradient-shift{0%{background-position:0% 50%}25%{background-position:50% 0%}50%{background-position:100% 50%}75%{background-position:50% 100%}to{background-position:0% 50%}}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-pad{border:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__prefix,.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__suffix{border-bottom:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab{padding:0;border-bottom:none;border-radius:0;background-color:transparent}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{height:20px;width:1px;background-color:#0000001a;border-bottom:none;position:absolute;top:50%;transform:translateY(-50%)}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab{background-color:transparent;border-bottom:none;border:none;position:relative}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:transparent}.dark .app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{background-color:#ffffff1a}.app-modal-tabs.n-tabs .n-tabs-wrapper{padding:0 16px}.app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-color-gray-200)/.2)}.app-modal-tabs.n-tabs .n-tabs-tab{padding:12px 4px;font-size:var(--n-font-size)}.dark .app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-bg-elevated)/.5)}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}.app-loading{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;background-color:rgb(var(--ui-bg));overflow:hidden}.app-box-loading{width:50px;height:50px;position:relative}.app-box-loading:before{content:"";width:50px;height:5px;background:rgb(var(--ui-color-gray-200));opacity:.3;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.app-box-loading:after{content:"";width:50px;height:50px;background:rgba(var(--ui-color-primary));animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}html{color-scheme:light;background-color:rgb(var(--ui-bg-elevated))}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useOverlayInject as t } from "
|
|
1
|
+
import { useOverlayInject as t } from "@overlastic/vue";
|
|
2
2
|
import "vue";
|
|
3
3
|
import "naive-ui";
|
|
4
4
|
import "clsx";
|
|
@@ -12,14 +12,15 @@ import "vue-router";
|
|
|
12
12
|
import "@duxweb/dvha-naiveui";
|
|
13
13
|
import "pinia";
|
|
14
14
|
import "@vee-validate/i18n";
|
|
15
|
+
import "colorizr";
|
|
15
16
|
import "vue-command-palette";
|
|
16
17
|
import "../pages/page404.js";
|
|
17
|
-
function
|
|
18
|
+
function O() {
|
|
18
19
|
const r = t(m);
|
|
19
20
|
return {
|
|
20
21
|
show: (o) => r(o)
|
|
21
22
|
};
|
|
22
23
|
}
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
O as useDrawer
|
|
25
26
|
};
|
|
@@ -3,7 +3,7 @@ import { get as i } from "lodash-es";
|
|
|
3
3
|
import "naive-ui";
|
|
4
4
|
import "clsx";
|
|
5
5
|
import "jinrishici";
|
|
6
|
-
import "
|
|
6
|
+
import "@overlastic/vue";
|
|
7
7
|
import "@vueuse/core";
|
|
8
8
|
import "vee-validate";
|
|
9
9
|
import "@duxweb/dvha-core";
|
|
@@ -11,10 +11,11 @@ import "vue-router";
|
|
|
11
11
|
import "@duxweb/dvha-naiveui";
|
|
12
12
|
import "pinia";
|
|
13
13
|
import "@vee-validate/i18n";
|
|
14
|
+
import "colorizr";
|
|
14
15
|
import "vue-command-palette";
|
|
15
16
|
import "../../pages/page404.js";
|
|
16
17
|
import { DuxMedia as c } from "../../components/media/media.js";
|
|
17
|
-
function
|
|
18
|
+
function _() {
|
|
18
19
|
return {
|
|
19
20
|
render: (t) => (e, g) => {
|
|
20
21
|
const m = typeof t.title == "function" ? t.title(e) : i(e, t.title || ""), n = typeof t.desc == "function" ? t.desc(e) : i(e, t.desc || ""), o = typeof t.image == "function" ? t.image(e) : i(e, t.image || "");
|
|
@@ -30,5 +31,5 @@ function V() {
|
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
_ as useTableColumnMedia
|
|
34
35
|
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { defaultIconTransformations as t } from "../icon/defaults.js";
|
|
2
|
+
const e = Object.freeze({
|
|
3
|
+
width: null,
|
|
4
|
+
height: null
|
|
5
|
+
}), n = Object.freeze({
|
|
6
|
+
// Dimensions
|
|
7
|
+
...e,
|
|
8
|
+
// Transformations
|
|
9
|
+
...t
|
|
10
|
+
});
|
|
11
|
+
export {
|
|
12
|
+
n as defaultIconCustomisations,
|
|
13
|
+
e as defaultIconSizeCustomisations
|
|
14
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const e = Object.freeze(
|
|
2
|
+
{
|
|
3
|
+
left: 0,
|
|
4
|
+
top: 0,
|
|
5
|
+
width: 16,
|
|
6
|
+
height: 16
|
|
7
|
+
}
|
|
8
|
+
), t = Object.freeze({
|
|
9
|
+
rotate: 0,
|
|
10
|
+
vFlip: !1,
|
|
11
|
+
hFlip: !1
|
|
12
|
+
}), o = Object.freeze({
|
|
13
|
+
...e,
|
|
14
|
+
...t
|
|
15
|
+
}), n = Object.freeze({
|
|
16
|
+
...o,
|
|
17
|
+
body: "",
|
|
18
|
+
hidden: !1
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
n as defaultExtendedIconProps,
|
|
22
|
+
e as defaultIconDimensions,
|
|
23
|
+
o as defaultIconProps,
|
|
24
|
+
t as defaultIconTransformations
|
|
25
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defaultExtendedIconProps as f, defaultIconTransformations as r } from "./defaults.js";
|
|
2
|
+
import { mergeIconTransformations as t } from "./transformations.js";
|
|
3
|
+
function a(e, i) {
|
|
4
|
+
const n = t(e, i);
|
|
5
|
+
for (const o in f)
|
|
6
|
+
o in r ? o in e && !(o in n) && (n[o] = r[o]) : o in i ? n[o] = i[o] : o in e && (n[o] = e[o]);
|
|
7
|
+
return n;
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
a as mergeIconData
|
|
11
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { mergeIconData as s } from "../icon/merge.js";
|
|
2
|
+
import { getIconsTree as f } from "./tree.js";
|
|
3
|
+
function i(r, o, n) {
|
|
4
|
+
const u = r.icons, l = r.aliases || /* @__PURE__ */ Object.create(null);
|
|
5
|
+
let t = {};
|
|
6
|
+
function c(e) {
|
|
7
|
+
t = s(
|
|
8
|
+
u[e] || l[e],
|
|
9
|
+
t
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
return c(o), n.forEach(c), s(r, t);
|
|
13
|
+
}
|
|
14
|
+
function g(r, o) {
|
|
15
|
+
if (r.icons[o])
|
|
16
|
+
return i(r, o, []);
|
|
17
|
+
const n = f(r, [o])[o];
|
|
18
|
+
return n ? i(r, o, n) : null;
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
g as getIconData,
|
|
22
|
+
i as internalGetIconData
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function u(o, i) {
|
|
2
|
+
const s = o.icons, e = o.aliases || /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
3
|
+
function r(c) {
|
|
4
|
+
if (s[c])
|
|
5
|
+
return t[c] = [];
|
|
6
|
+
if (!(c in t)) {
|
|
7
|
+
t[c] = null;
|
|
8
|
+
const n = e[c] && e[c].parent, l = n && r(n);
|
|
9
|
+
l && (t[c] = [n].concat(l));
|
|
10
|
+
}
|
|
11
|
+
return t[c];
|
|
12
|
+
}
|
|
13
|
+
return (i || Object.keys(s).concat(Object.keys(e))).forEach(r), t;
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
u as getIconsTree
|
|
17
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import n from "../../../../../../../../_virtual/browser.js";
|
|
2
|
+
import { mergeIconProps as s } from "./utils.js";
|
|
3
|
+
import { trimSVG as c } from "../svg/trim.js";
|
|
4
|
+
const d = n("@iconify-loader:custom");
|
|
5
|
+
async function y(u, f, e, a) {
|
|
6
|
+
var i;
|
|
7
|
+
let r;
|
|
8
|
+
d(`${f}:${e}`);
|
|
9
|
+
try {
|
|
10
|
+
if (typeof u == "function")
|
|
11
|
+
r = await u(e);
|
|
12
|
+
else {
|
|
13
|
+
const t = u[e];
|
|
14
|
+
r = typeof t == "function" ? await t() : t;
|
|
15
|
+
}
|
|
16
|
+
} catch (t) {
|
|
17
|
+
console.warn(
|
|
18
|
+
`Failed to load custom icon "${e}" in "${f}":`,
|
|
19
|
+
t
|
|
20
|
+
);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
if (r) {
|
|
24
|
+
const t = r.indexOf("<svg");
|
|
25
|
+
t > 0 && (r = r.slice(t));
|
|
26
|
+
const { transform: m } = (a == null ? void 0 : a.customizations) ?? {};
|
|
27
|
+
return r = typeof m == "function" ? await m(r, f, e) : r, r.startsWith("<svg") ? await s(
|
|
28
|
+
((i = a == null ? void 0 : a.customizations) == null ? void 0 : i.trimCustomSvg) === !0 ? c(r) : r,
|
|
29
|
+
f,
|
|
30
|
+
e,
|
|
31
|
+
a,
|
|
32
|
+
void 0
|
|
33
|
+
) : (console.warn(
|
|
34
|
+
`Custom icon "${e}" in "${f}" is not a valid SVG`
|
|
35
|
+
), r);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
y as getCustomIcon
|
|
40
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { getCustomIcon as m } from "./custom.js";
|
|
2
|
+
import { searchForIcon as c } from "./modern.js";
|
|
3
|
+
import "../../../../../../../../_virtual/browser.js";
|
|
4
|
+
const g = async (e, r, a) => {
|
|
5
|
+
var u;
|
|
6
|
+
const f = (u = a == null ? void 0 : a.customCollections) == null ? void 0 : u[e];
|
|
7
|
+
if (f)
|
|
8
|
+
if (typeof f == "function") {
|
|
9
|
+
let t;
|
|
10
|
+
try {
|
|
11
|
+
t = await f(r);
|
|
12
|
+
} catch (s) {
|
|
13
|
+
console.warn(
|
|
14
|
+
`Failed to load custom icon "${r}" in "${e}":`,
|
|
15
|
+
s
|
|
16
|
+
);
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
if (t) {
|
|
20
|
+
if (typeof t == "string")
|
|
21
|
+
return await m(
|
|
22
|
+
() => t,
|
|
23
|
+
e,
|
|
24
|
+
r,
|
|
25
|
+
a
|
|
26
|
+
);
|
|
27
|
+
if ("icons" in t) {
|
|
28
|
+
const s = [
|
|
29
|
+
r,
|
|
30
|
+
r.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(),
|
|
31
|
+
r.replace(/([a-z])(\d+)/g, "$1-$2")
|
|
32
|
+
];
|
|
33
|
+
return await c(
|
|
34
|
+
t,
|
|
35
|
+
e,
|
|
36
|
+
s,
|
|
37
|
+
a
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
} else
|
|
42
|
+
return await m(f, e, r, a);
|
|
43
|
+
};
|
|
44
|
+
export {
|
|
45
|
+
g as loadIcon
|
|
46
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { iconToSVG as w, isUnsetKeyword as z } from "../svg/build.js";
|
|
2
|
+
import { getIconData as I } from "../icon-set/get-icon.js";
|
|
3
|
+
import { calculateSize as v } from "../svg/size.js";
|
|
4
|
+
import { mergeIconProps as D } from "./utils.js";
|
|
5
|
+
import C from "../../../../../../../../_virtual/browser.js";
|
|
6
|
+
import { defaultIconCustomisations as S } from "../customisations/defaults.js";
|
|
7
|
+
const j = C("@iconify-loader:icon");
|
|
8
|
+
async function O(d, a, l, e) {
|
|
9
|
+
let t;
|
|
10
|
+
const { customize: s } = (e == null ? void 0 : e.customizations) ?? {};
|
|
11
|
+
for (const r of l)
|
|
12
|
+
if (t = I(d, r), t) {
|
|
13
|
+
j(`${a}:${r}`);
|
|
14
|
+
let i = {
|
|
15
|
+
...S
|
|
16
|
+
};
|
|
17
|
+
typeof s == "function" && (t = Object.assign({}, t), i = s(
|
|
18
|
+
i,
|
|
19
|
+
t,
|
|
20
|
+
`${a}:${r}`
|
|
21
|
+
) ?? i);
|
|
22
|
+
const {
|
|
23
|
+
attributes: { width: h, height: b, ...y },
|
|
24
|
+
body: $
|
|
25
|
+
} = w(t, i), f = e == null ? void 0 : e.scale;
|
|
26
|
+
return await D(
|
|
27
|
+
// DON'T remove space on <svg >
|
|
28
|
+
`<svg >${$}</svg>`,
|
|
29
|
+
a,
|
|
30
|
+
r,
|
|
31
|
+
e,
|
|
32
|
+
() => ({ ...y }),
|
|
33
|
+
(o) => {
|
|
34
|
+
const n = (m, u) => {
|
|
35
|
+
const g = o[m];
|
|
36
|
+
let c;
|
|
37
|
+
if (!z(g)) {
|
|
38
|
+
if (g)
|
|
39
|
+
return;
|
|
40
|
+
typeof f == "number" ? f && (c = v(
|
|
41
|
+
// Base on result from iconToSVG() or 1em
|
|
42
|
+
u ?? "1em",
|
|
43
|
+
f
|
|
44
|
+
)) : c = u;
|
|
45
|
+
}
|
|
46
|
+
c ? o[m] = c : delete o[m];
|
|
47
|
+
};
|
|
48
|
+
n("width", h), n("height", b);
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
O as searchForIcon
|
|
55
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { isUnsetKeyword as r } from "../svg/build.js";
|
|
2
|
+
import { calculateSize as S } from "../svg/size.js";
|
|
3
|
+
const O = /\swidth\s*=\s*["']([\w.]+)["']/, $ = /\sheight\s*=\s*["']([\w.]+)["']/, a = /<svg\s+/;
|
|
4
|
+
function b(l, f, u) {
|
|
5
|
+
const c = l.slice(0, l.indexOf(">")), s = (h, x) => {
|
|
6
|
+
const i = x.exec(c), w = i != null, d = f[h];
|
|
7
|
+
return !d && !r(d) && (typeof u == "number" ? u > 0 && (f[h] = S(
|
|
8
|
+
// Base on result from iconToSVG() or 1em
|
|
9
|
+
(i == null ? void 0 : i[1]) ?? "1em",
|
|
10
|
+
u
|
|
11
|
+
)) : i && (f[h] = i[1])), w;
|
|
12
|
+
};
|
|
13
|
+
return [s("width", O), s("height", $)];
|
|
14
|
+
}
|
|
15
|
+
async function R(l, f, u, c, s, h) {
|
|
16
|
+
const { scale: x, addXmlNs: i = !1 } = c ?? {}, { additionalProps: w = {}, iconCustomizer: d } = (c == null ? void 0 : c.customizations) ?? {}, e = await (s == null ? void 0 : s()) ?? {};
|
|
17
|
+
await (d == null ? void 0 : d(f, u, e)), Object.keys(w).forEach((n) => {
|
|
18
|
+
const t = w[n];
|
|
19
|
+
t != null && (e[n] = t);
|
|
20
|
+
}), h == null || h(e);
|
|
21
|
+
const [y, k] = b(l, e, x);
|
|
22
|
+
i && (!l.includes("xmlns=") && !e.xmlns && (e.xmlns = "http://www.w3.org/2000/svg"), !l.includes("xmlns:xlink=") && l.includes("xlink:") && !e["xmlns:xlink"] && (e["xmlns:xlink"] = "http://www.w3.org/1999/xlink"));
|
|
23
|
+
const m = Object.keys(e).map(
|
|
24
|
+
(n) => n === "width" && y || n === "height" && k ? null : `${n}="${e[n]}"`
|
|
25
|
+
).filter((n) => n != null);
|
|
26
|
+
if (m.length && (l = l.replace(a, `<svg ${m.join(" ")} `)), c) {
|
|
27
|
+
const { defaultStyle: n, defaultClass: t } = c;
|
|
28
|
+
t && !l.includes("class=") && (l = l.replace(a, `<svg class="${t}" `)), n && !l.includes("style=") && (l = l.replace(a, `<svg style="${n}" `));
|
|
29
|
+
}
|
|
30
|
+
const g = c == null ? void 0 : c.usedProps;
|
|
31
|
+
return g && (Object.keys(w).forEach((n) => {
|
|
32
|
+
const t = e[n];
|
|
33
|
+
t != null && (g[n] = t);
|
|
34
|
+
}), typeof e.width < "u" && e.width !== null && (g.width = e.width), typeof e.height < "u" && e.height !== null && (g.height = e.height)), l;
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
R as mergeIconProps
|
|
38
|
+
};
|