@duxweb/dvha-pro 0.0.5
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/app.cjs +1 -0
- package/dist/cjs/component.cjs +1 -0
- package/dist/cjs/components/card/card.cjs +1 -0
- package/dist/cjs/components/carousel/carousel.cjs +1 -0
- package/dist/cjs/components/dashboard/hello.cjs +1 -0
- package/dist/cjs/components/dashboard/helloBig.cjs +1 -0
- package/dist/cjs/components/dashboard/quick.cjs +1 -0
- package/dist/cjs/components/dialog/dialog.cjs +1 -0
- package/dist/cjs/components/draw/drawApps.cjs +1 -0
- package/dist/cjs/components/draw/drawAuth.cjs +1 -0
- package/dist/cjs/components/draw/drawEmpty.cjs +1 -0
- package/dist/cjs/components/draw/drawEmptyForm.cjs +1 -0
- package/dist/cjs/components/draw/drawError.cjs +1 -0
- package/dist/cjs/components/drawer/drawer.cjs +1 -0
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -0
- package/dist/cjs/components/form/formItem.cjs +1 -0
- package/dist/cjs/components/form/formLayout.cjs +1 -0
- package/dist/cjs/components/form/modalForm.cjs +1 -0
- package/dist/cjs/components/form/pageForm.cjs +1 -0
- package/dist/cjs/components/form/settingForm.cjs +1 -0
- package/dist/cjs/components/layout/filter.cjs +1 -0
- package/dist/cjs/components/layout/list.cjs +1 -0
- package/dist/cjs/components/layout/table.cjs +1 -0
- package/dist/cjs/components/layout/tools.cjs +1 -0
- package/dist/cjs/components/list/card.cjs +1 -0
- package/dist/cjs/components/list/list.cjs +1 -0
- package/dist/cjs/components/media/media.cjs +1 -0
- package/dist/cjs/components/modal/modal.cjs +1 -0
- package/dist/cjs/components/modal/modalPage.cjs +1 -0
- package/dist/cjs/components/modal/modalTab.cjs +1 -0
- package/dist/cjs/components/panel/alert.cjs +1 -0
- package/dist/cjs/components/panel/setting.cjs +1 -0
- package/dist/cjs/components/status/blockEmpty.cjs +1 -0
- package/dist/cjs/components/table/tablePage.cjs +1 -0
- package/dist/cjs/components/widget/connect.cjs +1 -0
- package/dist/cjs/config/uno.cjs +1 -0
- package/dist/cjs/config/validate.cjs +1 -0
- package/dist/cjs/dvha-pro.css +1 -0
- package/dist/cjs/hooks/action.cjs +1 -0
- package/dist/cjs/hooks/dialog.cjs +1 -0
- package/dist/cjs/hooks/drawer.cjs +1 -0
- package/dist/cjs/hooks/modal.cjs +1 -0
- package/dist/cjs/hooks/table/column.cjs +1 -0
- package/dist/cjs/hooks/table/copy.cjs +1 -0
- package/dist/cjs/hooks/table/hidden.cjs +1 -0
- package/dist/cjs/hooks/table/image.cjs +1 -0
- package/dist/cjs/hooks/table/input.cjs +1 -0
- package/dist/cjs/hooks/table/map.cjs +1 -0
- package/dist/cjs/hooks/table/media.cjs +1 -0
- package/dist/cjs/hooks/table/status.cjs +1 -0
- package/dist/cjs/hooks/table/switch.cjs +1 -0
- package/dist/cjs/hooks/table.cjs +1 -0
- package/dist/cjs/hooks/ui.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/langs/en-US.json.cjs +1 -0
- package/dist/cjs/langs/zh-CN.json.cjs +1 -0
- package/dist/cjs/main.cjs +1 -0
- package/dist/cjs/node_modules/@iconify-json/tabler/icons.json.cjs +1 -0
- package/dist/cjs/node_modules/@overlastic/core/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/@overlastic/vue/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/@vee-validate/i18n/dist/locale/en.json.cjs +1 -0
- package/dist/cjs/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.cjs +1 -0
- package/dist/cjs/node_modules/@vueuse/integrations/useFocusTrap.cjs +1 -0
- package/dist/cjs/node_modules/@vueuse/shared/index.cjs +1 -0
- package/dist/cjs/node_modules/colorizr/dist/index.cjs +1 -0
- package/dist/cjs/node_modules/focus-trap/dist/focus-trap.esm.cjs +5 -0
- package/dist/cjs/node_modules/lower-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/no-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/pascal-case/dist.es2015/index.cjs +1 -0
- package/dist/cjs/node_modules/tabbable/dist/index.esm.cjs +4 -0
- package/dist/cjs/node_modules/tslib/tslib.es6.cjs +1 -0
- package/dist/cjs/pages/authLayout.cjs +1 -0
- package/dist/cjs/pages/layout/global.cjs +1 -0
- package/dist/cjs/pages/layout/page.cjs +1 -0
- package/dist/cjs/pages/layout/tab.cjs +1 -0
- package/dist/cjs/pages/layout.cjs +1 -0
- package/dist/cjs/pages/loading.cjs +1 -0
- package/dist/cjs/pages/login.cjs +1 -0
- package/dist/cjs/pages/menu/avatar.cjs +1 -0
- package/dist/cjs/pages/menu/button.cjs +1 -0
- package/dist/cjs/pages/menu/cmd.cjs +1 -0
- package/dist/cjs/pages/menu/main.cjs +1 -0
- package/dist/cjs/pages/menu/mobile.cjs +1 -0
- package/dist/cjs/pages/page.cjs +1 -0
- package/dist/cjs/pages/page403.cjs +1 -0
- package/dist/cjs/pages/page404.cjs +1 -0
- package/dist/cjs/pages/page500.cjs +1 -0
- package/dist/cjs/pages/pageEmpty.cjs +1 -0
- package/dist/cjs/pages/pageLoading.cjs +1 -0
- package/dist/cjs/pages/pageStatus.cjs +1 -0
- package/dist/cjs/static/images/placeholder.png.cjs +1 -0
- package/dist/cjs/stores/ui.cjs +1 -0
- package/dist/cjs/theme/naiveTheme.cjs +1 -0
- package/dist/cjs/theme/presetTheme.cjs +1 -0
- package/dist/cjs/theme/uno.css.cjs +1285 -0
- package/dist/esm/app.js +20 -0
- package/dist/esm/component.js +59 -0
- package/dist/esm/components/card/card.js +114 -0
- package/dist/esm/components/carousel/carousel.js +37 -0
- package/dist/esm/components/dashboard/hello.js +40 -0
- package/dist/esm/components/dashboard/helloBig.js +344 -0
- package/dist/esm/components/dashboard/quick.js +59 -0
- package/dist/esm/components/dialog/dialog.js +118 -0
- package/dist/esm/components/draw/drawApps.js +145 -0
- package/dist/esm/components/draw/drawAuth.js +50 -0
- package/dist/esm/components/draw/drawEmpty.js +92 -0
- package/dist/esm/components/draw/drawEmptyForm.js +128 -0
- package/dist/esm/components/draw/drawError.js +242 -0
- package/dist/esm/components/drawer/drawer.js +73 -0
- package/dist/esm/components/drawer/drawerPage.js +28 -0
- package/dist/esm/components/form/formItem.js +77 -0
- package/dist/esm/components/form/formLayout.js +38 -0
- package/dist/esm/components/form/modalForm.js +108 -0
- package/dist/esm/components/form/pageForm.js +94 -0
- package/dist/esm/components/form/settingForm.js +104 -0
- package/dist/esm/components/layout/filter.js +27 -0
- package/dist/esm/components/layout/list.js +333 -0
- package/dist/esm/components/layout/table.js +292 -0
- package/dist/esm/components/layout/tools.js +78 -0
- package/dist/esm/components/list/card.js +78 -0
- package/dist/esm/components/list/list.js +38 -0
- package/dist/esm/components/media/media.js +77 -0
- package/dist/esm/components/modal/modal.js +116 -0
- package/dist/esm/components/modal/modalPage.js +56 -0
- package/dist/esm/components/modal/modalTab.js +70 -0
- package/dist/esm/components/panel/alert.js +57 -0
- package/dist/esm/components/panel/setting.js +49 -0
- package/dist/esm/components/status/blockEmpty.js +78 -0
- package/dist/esm/components/table/tablePage.js +41 -0
- package/dist/esm/components/widget/connect.js +119 -0
- package/dist/esm/config/uno.js +32 -0
- package/dist/esm/config/validate.js +15 -0
- package/dist/esm/dvha-pro.css +1 -0
- package/dist/esm/hooks/action.js +213 -0
- package/dist/esm/hooks/dialog.js +32 -0
- package/dist/esm/hooks/drawer.js +25 -0
- package/dist/esm/hooks/modal.js +14 -0
- package/dist/esm/hooks/table/column.js +31 -0
- package/dist/esm/hooks/table/copy.js +27 -0
- package/dist/esm/hooks/table/hidden.js +48 -0
- package/dist/esm/hooks/table/image.js +24 -0
- package/dist/esm/hooks/table/input.js +81 -0
- package/dist/esm/hooks/table/map.js +21 -0
- package/dist/esm/hooks/table/media.js +34 -0
- package/dist/esm/hooks/table/status.js +32 -0
- package/dist/esm/hooks/table/switch.js +33 -0
- package/dist/esm/hooks/table.js +74 -0
- package/dist/esm/hooks/ui.js +16 -0
- package/dist/esm/index.js +139 -0
- package/dist/esm/langs/en-US.json.js +11 -0
- package/dist/esm/langs/zh-CN.json.js +11 -0
- package/dist/esm/main.js +18 -0
- package/dist/esm/node_modules/@iconify-json/tabler/icons.json.js +17 -0
- package/dist/esm/node_modules/@overlastic/core/dist/index.js +76 -0
- package/dist/esm/node_modules/@overlastic/vue/dist/index.js +122 -0
- package/dist/esm/node_modules/@vee-validate/i18n/dist/locale/en.json.js +9 -0
- package/dist/esm/node_modules/@vee-validate/i18n/dist/locale/zh_CN.json.js +9 -0
- package/dist/esm/node_modules/@vueuse/integrations/useFocusTrap.js +43 -0
- package/dist/esm/node_modules/@vueuse/shared/index.js +6 -0
- package/dist/esm/node_modules/colorizr/dist/index.js +318 -0
- package/dist/esm/node_modules/focus-trap/dist/focus-trap.esm.js +473 -0
- package/dist/esm/node_modules/lower-case/dist.es2015/index.js +6 -0
- package/dist/esm/node_modules/no-case/dist.es2015/index.js +18 -0
- package/dist/esm/node_modules/pascal-case/dist.es2015/index.js +13 -0
- package/dist/esm/node_modules/tabbable/dist/index.esm.js +202 -0
- package/dist/esm/node_modules/tslib/tslib.es6.js +12 -0
- package/dist/esm/pages/authLayout.js +38 -0
- package/dist/esm/pages/layout/global.js +51 -0
- package/dist/esm/pages/layout/page.js +54 -0
- package/dist/esm/pages/layout/tab.js +110 -0
- package/dist/esm/pages/layout.js +14 -0
- package/dist/esm/pages/loading.js +14 -0
- package/dist/esm/pages/login.js +143 -0
- package/dist/esm/pages/menu/avatar.js +205 -0
- package/dist/esm/pages/menu/button.js +60 -0
- package/dist/esm/pages/menu/cmd.js +156 -0
- package/dist/esm/pages/menu/main.js +101 -0
- package/dist/esm/pages/menu/mobile.js +38 -0
- package/dist/esm/pages/page.js +47 -0
- package/dist/esm/pages/page403.js +46 -0
- package/dist/esm/pages/page404.js +57 -0
- package/dist/esm/pages/page500.js +45 -0
- package/dist/esm/pages/pageEmpty.js +25 -0
- package/dist/esm/pages/pageLoading.js +22 -0
- package/dist/esm/pages/pageStatus.js +50 -0
- package/dist/esm/static/images/placeholder.png.js +4 -0
- package/dist/esm/stores/ui.js +34 -0
- package/dist/esm/theme/naiveTheme.js +97 -0
- package/dist/esm/theme/presetTheme.js +12 -0
- package/dist/esm/theme/uno.css.js +1288 -0
- package/dist/types/app.d.ts +1 -0
- package/dist/types/component.d.ts +5 -0
- package/dist/types/components/card/card.d.ts +140 -0
- package/dist/types/components/card/index.d.ts +1 -0
- package/dist/types/components/carousel/carousel.d.ts +20 -0
- package/dist/types/components/carousel/index.d.ts +1 -0
- package/dist/types/components/dashboard/hello.d.ts +16 -0
- package/dist/types/components/dashboard/helloBig.d.ts +19 -0
- package/dist/types/components/dashboard/index.d.ts +3 -0
- package/dist/types/components/dashboard/quick.d.ts +33 -0
- package/dist/types/components/dialog/dialog.d.ts +35 -0
- package/dist/types/components/dialog/index.d.ts +1 -0
- package/dist/types/components/draw/drawApps.d.ts +1 -0
- package/dist/types/components/draw/drawAuth.d.ts +1 -0
- package/dist/types/components/draw/drawEmpty.d.ts +1 -0
- package/dist/types/components/draw/drawEmptyForm.d.ts +1 -0
- package/dist/types/components/draw/drawError.d.ts +1 -0
- package/dist/types/components/draw/index.d.ts +5 -0
- package/dist/types/components/drawer/drawer.d.ts +19 -0
- package/dist/types/components/drawer/drawerPage.d.ts +1 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/form/formItem.d.ts +27 -0
- package/dist/types/components/form/formLayout.d.ts +38 -0
- package/dist/types/components/form/index.d.ts +5 -0
- package/dist/types/components/form/modalForm.d.ts +89 -0
- package/dist/types/components/form/pageForm.d.ts +51 -0
- package/dist/types/components/form/settingForm.d.ts +69 -0
- package/dist/types/components/index.d.ts +14 -0
- package/dist/types/components/layout/filter.d.ts +13 -0
- package/dist/types/components/layout/index.d.ts +4 -0
- package/dist/types/components/layout/list.d.ts +85 -0
- package/dist/types/components/layout/table.d.ts +72 -0
- package/dist/types/components/layout/tools.d.ts +37 -0
- package/dist/types/components/list/card.d.ts +117 -0
- package/dist/types/components/list/index.d.ts +2 -0
- package/dist/types/components/list/list.d.ts +87 -0
- package/dist/types/components/media/index.d.ts +1 -0
- package/dist/types/components/media/media.d.ts +95 -0
- package/dist/types/components/modal/index.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +66 -0
- package/dist/types/components/modal/modalPage.d.ts +42 -0
- package/dist/types/components/modal/modalTab.d.ts +42 -0
- package/dist/types/components/panel/alert.d.ts +32 -0
- package/dist/types/components/panel/index.d.ts +2 -0
- package/dist/types/components/panel/setting.d.ts +29 -0
- package/dist/types/components/status/blockEmpty.d.ts +25 -0
- package/dist/types/components/status/index.d.ts +1 -0
- package/dist/types/components/table/index.d.ts +1 -0
- package/dist/types/components/table/tablePage.d.ts +73 -0
- package/dist/types/components/widget/connect.d.ts +11 -0
- package/dist/types/components/widget/index.d.ts +1 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/config/uno.d.ts +2 -0
- package/dist/types/config/validate.d.ts +1 -0
- package/dist/types/hooks/action.d.ts +17 -0
- package/dist/types/hooks/dialog.d.ts +17 -0
- package/dist/types/hooks/drawer.d.ts +11 -0
- package/dist/types/hooks/index.d.ts +6 -0
- package/dist/types/hooks/modal.d.ts +9 -0
- package/dist/types/hooks/table/column.d.ts +14 -0
- package/dist/types/hooks/table/copy.d.ts +6 -0
- package/dist/types/hooks/table/hidden.d.ts +7 -0
- package/dist/types/hooks/table/image.d.ts +8 -0
- package/dist/types/hooks/table/index.d.ts +7 -0
- package/dist/types/hooks/table/input.d.ts +9 -0
- package/dist/types/hooks/table/map.d.ts +13 -0
- package/dist/types/hooks/table/media.d.ts +12 -0
- package/dist/types/hooks/table/status.d.ts +12 -0
- package/dist/types/hooks/table/switch.d.ts +7 -0
- package/dist/types/hooks/table/types.d.ts +74 -0
- package/dist/types/hooks/table.d.ts +2 -0
- package/dist/types/hooks/ui.d.ts +8 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/langs/index.d.ts +3 -0
- package/dist/types/main.d.ts +5 -0
- package/dist/types/pages/authLayout.d.ts +1 -0
- package/dist/types/pages/index.d.ts +12 -0
- package/dist/types/pages/layout/global.d.ts +1 -0
- package/dist/types/pages/layout/index.d.ts +3 -0
- package/dist/types/pages/layout/page.d.ts +1 -0
- package/dist/types/pages/layout/tab.d.ts +1 -0
- package/dist/types/pages/layout.d.ts +1 -0
- package/dist/types/pages/loading.d.ts +1 -0
- package/dist/types/pages/login.d.ts +1 -0
- package/dist/types/pages/menu/avatar.d.ts +14 -0
- package/dist/types/pages/menu/button.d.ts +41 -0
- package/dist/types/pages/menu/cmd.d.ts +7 -0
- package/dist/types/pages/menu/index.d.ts +4 -0
- package/dist/types/pages/menu/main.d.ts +13 -0
- package/dist/types/pages/menu/mobile.d.ts +1 -0
- package/dist/types/pages/page.d.ts +42 -0
- package/dist/types/pages/page403.d.ts +1 -0
- package/dist/types/pages/page404.d.ts +1 -0
- package/dist/types/pages/page500.d.ts +1 -0
- package/dist/types/pages/pageEmpty.d.ts +7 -0
- package/dist/types/pages/pageLoading.d.ts +1 -0
- package/dist/types/pages/pageStatus.d.ts +7 -0
- package/dist/types/stores/index.d.ts +1 -0
- package/dist/types/stores/ui.d.ts +28 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/naiveTheme.d.ts +5 -0
- package/dist/types/theme/presetTheme.d.ts +7 -0
- package/package.json +73 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { defineComponent as f, ref as n, createVNode as a } from "vue";
|
|
2
|
+
import { NButton as i } from "naive-ui";
|
|
3
|
+
const u = /* @__PURE__ */ f({
|
|
4
|
+
name: "ModalPage",
|
|
5
|
+
props: {
|
|
6
|
+
title: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
9
|
+
},
|
|
10
|
+
draggable: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
handle: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => n()
|
|
17
|
+
},
|
|
18
|
+
onClose: {
|
|
19
|
+
type: Function,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
setup(r, {
|
|
25
|
+
slots: e
|
|
26
|
+
}) {
|
|
27
|
+
return () => {
|
|
28
|
+
var d, t, l;
|
|
29
|
+
return a("div", {
|
|
30
|
+
class: "flex flex-col gap-2"
|
|
31
|
+
}, [a("div", {
|
|
32
|
+
class: ["px-4 py-3 border-b border-muted flex justify-between items-center bg-gray-200/20 dark:bg-gray-800/50", r.draggable && "cursor-move"],
|
|
33
|
+
ref: r.handle
|
|
34
|
+
}, [a("div", {
|
|
35
|
+
class: "text-base font-bold"
|
|
36
|
+
}, [r.title]), a("div", {
|
|
37
|
+
class: "flex justify-end gap-2"
|
|
38
|
+
}, [a(i, {
|
|
39
|
+
text: !0,
|
|
40
|
+
onClick: r.onClose,
|
|
41
|
+
"aria-label": "close"
|
|
42
|
+
}, {
|
|
43
|
+
icon: () => a("div", {
|
|
44
|
+
class: "i-tabler:x"
|
|
45
|
+
}, null)
|
|
46
|
+
})])]), a("div", {
|
|
47
|
+
class: "px-4 py-2"
|
|
48
|
+
}, [(d = e.default) == null ? void 0 : d.call(e)]), ((t = e.footer) == null ? void 0 : t.call(e)) && a("div", {
|
|
49
|
+
class: "flex justify-end gap-2 p-3 border-t border-muted bg-gray-200/20 dark:bg-gray-800/50"
|
|
50
|
+
}, [(l = e.footer) == null ? void 0 : l.call(e)])]);
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
u as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent as n, ref as i, createVNode as a } from "vue";
|
|
2
|
+
import { NTabs as f, NButton as u } from "naive-ui";
|
|
3
|
+
const o = /* @__PURE__ */ n({
|
|
4
|
+
name: "ModalTab",
|
|
5
|
+
props: {
|
|
6
|
+
draggable: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: !1
|
|
9
|
+
},
|
|
10
|
+
defaultTab: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: "0"
|
|
13
|
+
},
|
|
14
|
+
handle: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default: () => i()
|
|
17
|
+
},
|
|
18
|
+
onClose: {
|
|
19
|
+
type: Function,
|
|
20
|
+
default: () => {
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
setup(l, {
|
|
25
|
+
slots: e
|
|
26
|
+
}) {
|
|
27
|
+
return () => {
|
|
28
|
+
var d, r;
|
|
29
|
+
return a("div", {
|
|
30
|
+
class: "flex flex-col"
|
|
31
|
+
}, [a(f, {
|
|
32
|
+
type: "line",
|
|
33
|
+
defaultValue: l.defaultTab,
|
|
34
|
+
class: "app-modal-tabs",
|
|
35
|
+
size: "large",
|
|
36
|
+
style: {
|
|
37
|
+
"--n-pane-padding-right": "16px",
|
|
38
|
+
"--n-pane-padding-left": "16px"
|
|
39
|
+
}
|
|
40
|
+
}, {
|
|
41
|
+
default: () => {
|
|
42
|
+
var t;
|
|
43
|
+
return (t = e.default) == null ? void 0 : t.call(e);
|
|
44
|
+
},
|
|
45
|
+
prefix: () => l.draggable ? a("div", {
|
|
46
|
+
class: "pl-4 cursor-move flex items-center",
|
|
47
|
+
ref: l.handle
|
|
48
|
+
}, [a("div", {
|
|
49
|
+
class: "i-tabler:grid-dots size-4"
|
|
50
|
+
}, null)]) : null,
|
|
51
|
+
suffix: () => a("div", {
|
|
52
|
+
class: "pr-4 flex items-center"
|
|
53
|
+
}, [a(u, {
|
|
54
|
+
text: !0,
|
|
55
|
+
onClick: l.onClose,
|
|
56
|
+
"aria-label": "close"
|
|
57
|
+
}, {
|
|
58
|
+
icon: () => a("div", {
|
|
59
|
+
class: "i-tabler:x size-4"
|
|
60
|
+
}, null)
|
|
61
|
+
})])
|
|
62
|
+
}), ((d = e.footer) == null ? void 0 : d.call(e)) && a("div", {
|
|
63
|
+
class: "flex justify-end gap-2 p-3 border-t border-muted bg-gray-200/20 dark:bg-gray-800/50"
|
|
64
|
+
}, [(r = e.footer) == null ? void 0 : r.call(e)])]);
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
export {
|
|
69
|
+
o as default
|
|
70
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as d, computed as l, createVNode as t } from "vue";
|
|
2
|
+
const p = /* @__PURE__ */ d({
|
|
3
|
+
name: "DuxPanelAlert",
|
|
4
|
+
props: {
|
|
5
|
+
type: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: "default"
|
|
8
|
+
},
|
|
9
|
+
title: {
|
|
10
|
+
type: String,
|
|
11
|
+
default: ""
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: ""
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(r, {
|
|
19
|
+
slots: e
|
|
20
|
+
}) {
|
|
21
|
+
const c = l(() => {
|
|
22
|
+
switch (r.type) {
|
|
23
|
+
case "error":
|
|
24
|
+
return "to-error/20";
|
|
25
|
+
case "warning":
|
|
26
|
+
return "to-warning/20";
|
|
27
|
+
case "info":
|
|
28
|
+
return "to-info/20";
|
|
29
|
+
case "success":
|
|
30
|
+
return "to-success/20";
|
|
31
|
+
default:
|
|
32
|
+
return "to-gray/20";
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
return () => {
|
|
36
|
+
var a, i, n;
|
|
37
|
+
return t("div", {
|
|
38
|
+
class: `relative flex rounded-lg ring ring-muted bg-linear-to-br from-transparent ${c.value}`
|
|
39
|
+
}, [t("div", {
|
|
40
|
+
class: "relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6"
|
|
41
|
+
}, [t("div", {
|
|
42
|
+
class: "flex flex-col flex-1 items-start"
|
|
43
|
+
}, [t("div", {
|
|
44
|
+
class: "flex-1"
|
|
45
|
+
}, [t("div", {
|
|
46
|
+
class: "text-base text-pretty text-highlighted"
|
|
47
|
+
}, [((a = e.title) == null ? void 0 : a.call(e)) || r.title]), t("div", {
|
|
48
|
+
class: "text-sm text-pretty text-muted mt-1"
|
|
49
|
+
}, [((i = e.description) == null ? void 0 : i.call(e)) || r.description])]), e.actions && t("div", {
|
|
50
|
+
class: "pt-4 mt-auto"
|
|
51
|
+
}, [(n = e.actions) == null ? void 0 : n.call(e)])])])]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
p as DuxPanelAlert
|
|
57
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { defineComponent as n, createVNode as e } from "vue";
|
|
2
|
+
import { DuxCard as r } from "../card/card.js";
|
|
3
|
+
const l = /* @__PURE__ */ n({
|
|
4
|
+
name: "DuxPanelCard",
|
|
5
|
+
props: {
|
|
6
|
+
title: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: ""
|
|
9
|
+
},
|
|
10
|
+
description: {
|
|
11
|
+
type: String,
|
|
12
|
+
default: ""
|
|
13
|
+
},
|
|
14
|
+
padding: {
|
|
15
|
+
type: String
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(i, {
|
|
19
|
+
slots: t
|
|
20
|
+
}) {
|
|
21
|
+
return () => {
|
|
22
|
+
var d;
|
|
23
|
+
return e("div", {
|
|
24
|
+
class: "flex flex-col gap-4"
|
|
25
|
+
}, [e("div", {
|
|
26
|
+
class: "flex items-center"
|
|
27
|
+
}, [e("div", {
|
|
28
|
+
class: "flex-1 flex flex-col gap-1"
|
|
29
|
+
}, [e("div", {
|
|
30
|
+
class: "text-base"
|
|
31
|
+
}, [i.title]), i.description && e("div", {
|
|
32
|
+
class: "text-sm text-muted"
|
|
33
|
+
}, [i.description])]), e("div", {
|
|
34
|
+
class: "flex-none flex items-center"
|
|
35
|
+
}, [(d = t.actions) == null ? void 0 : d.call(t)])]), e(r, {
|
|
36
|
+
size: i.padding,
|
|
37
|
+
bordered: !0
|
|
38
|
+
}, {
|
|
39
|
+
default: () => {
|
|
40
|
+
var a;
|
|
41
|
+
return [(a = t.default) == null ? void 0 : a.call(t)];
|
|
42
|
+
}
|
|
43
|
+
})]);
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
l as DuxPanelCard
|
|
49
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as t, createVNode as l } from "vue";
|
|
2
|
+
import { useI18n as r } from "@duxweb/dvha-core";
|
|
3
|
+
import e from "clsx";
|
|
4
|
+
const s = /* @__PURE__ */ t({
|
|
5
|
+
name: "Message",
|
|
6
|
+
props: {
|
|
7
|
+
text: {
|
|
8
|
+
type: String
|
|
9
|
+
},
|
|
10
|
+
desc: {
|
|
11
|
+
type: String
|
|
12
|
+
},
|
|
13
|
+
simple: {
|
|
14
|
+
type: Boolean,
|
|
15
|
+
default: !1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
setup(a) {
|
|
19
|
+
const {
|
|
20
|
+
t: c
|
|
21
|
+
} = r();
|
|
22
|
+
return () => l("div", {
|
|
23
|
+
class: "flex justify-center p-2"
|
|
24
|
+
}, [l("div", {
|
|
25
|
+
class: e(["flex flex-row items-center", a.simple ? "flex-col" : "gap-2"])
|
|
26
|
+
}, [l("div", null, [l("svg", {
|
|
27
|
+
class: "size-60px",
|
|
28
|
+
viewBox: "0 0 1024 1024",
|
|
29
|
+
version: "1.1",
|
|
30
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
31
|
+
"p-id": "6634",
|
|
32
|
+
width: "128",
|
|
33
|
+
height: "128"
|
|
34
|
+
}, [l("path", {
|
|
35
|
+
d: "M77 813.758a368.464 61.243 0 1 0 736.928 0 368.464 61.243 0 1 0-736.928 0Z",
|
|
36
|
+
fill: "rgba(var(--n-gray-color-2))",
|
|
37
|
+
"fill-opacity": ".8",
|
|
38
|
+
"p-id": "6635"
|
|
39
|
+
}, null), l("path", {
|
|
40
|
+
d: "M740.233 633.838L610.205 491.486c-6.24-6.7-15.36-10.756-24.962-10.756H305.675c-9.597 0-18.717 4.056-24.956 10.756L150.696 633.838v74.368h589.542v-74.368h-0.005z",
|
|
41
|
+
fill: "rgba(var(--n-gray-color-6))",
|
|
42
|
+
"p-id": "6636"
|
|
43
|
+
}, null), l("path", {
|
|
44
|
+
d: "M702.531 713.8L588.906 592.396c-5.44-5.835-13.625-9.026-22-9.026H323.11c-8.37 0-16.56 3.191-22 9.026L187.484 713.8v66.677h515.047V713.8z",
|
|
45
|
+
fill: "rgba(var(--n-gray-color-9))",
|
|
46
|
+
"p-id": "6637"
|
|
47
|
+
}, null), l("path", {
|
|
48
|
+
d: "M260.86 297h369.203c12.007 0 21.74 8.658 21.74 19.338v451.27c0 10.68-9.733 19.337-21.74 19.337H260.86c-12.006 0-21.74-8.657-21.74-19.337V316.338C239.12 305.658 248.855 297 260.86 297z",
|
|
49
|
+
fill: "rgba(var(--n-gray-color-2))",
|
|
50
|
+
"p-id": "6638"
|
|
51
|
+
}, null), l("path", {
|
|
52
|
+
d: "M308.947 345.118h273.03c6.002 0 10.869 4.329 10.869 9.669V475.44c0 5.34-4.867 9.669-10.87 9.669H308.947c-6.003 0-10.87-4.33-10.87-9.67V354.788c0-5.34 4.867-9.67 10.87-9.67z m1.424 192.48h270.181c6.79 0 12.294 4.896 12.294 10.935 0 6.04-5.504 10.936-12.294 10.936h-270.18c-6.79 0-12.294-4.896-12.294-10.936s5.504-10.935 12.293-10.935z m0 56.868h270.181c6.791 0 12.297 4.897 12.297 10.938 0 6.04-5.506 10.938-12.297 10.938h-270.18c-6.792 0-12.297-4.898-12.297-10.938 0-6.041 5.505-10.938 12.296-10.938z m428.66 210.309c-4.211 14.847-19.005 25.913-36.603 25.913H188.495c-17.598 0-32.391-11.071-36.598-25.913a31.651 31.651 0 0 1-1.206-8.654V633.842h143.033c15.8 0 28.533 11.835 28.533 26.203v0.194c0 14.363 12.88 25.96 28.68 25.96h189.05c15.799 0 28.68-11.704 28.68-26.072v-0.058c0-14.368 12.733-26.231 28.532-26.231h143.034v162.288c0 2.983-0.419 5.879-1.201 8.649z",
|
|
53
|
+
fill: "rgba(var(--n-gray-color-4))",
|
|
54
|
+
"p-id": "6639"
|
|
55
|
+
}, null), l("path", {
|
|
56
|
+
d: "M757.935 304.969l-37.023 12.813c-1.94 0.673-4.142 0.295-5.664-0.973-1.522-1.268-2.095-3.201-1.474-4.975l10.5-30.01C710.238 267.588 702 250.23 702 231.5c0-48.326 54.846-87.5 122.505-87.5C892.15 144 947 183.174 947 231.5S892.154 319 824.5 319c-24.544 0-47.398-5.154-66.565-14.031z",
|
|
57
|
+
fill: "rgba(var(--n-gray-color-4))",
|
|
58
|
+
"p-id": "6640"
|
|
59
|
+
}, null), l("path", {
|
|
60
|
+
d: "M856.64 233.251a15.464 13.662 0 1 0 30.928 0 15.464 13.662 0 1 0-30.928 0Z",
|
|
61
|
+
fill: "rgba(var(--n-gray-color-1))",
|
|
62
|
+
"p-id": "6641"
|
|
63
|
+
}, null), l("path", {
|
|
64
|
+
d: "M790.927 245.204H760L775.73 221.297l15.197 23.907zM810.255 221.297h27.058v23.907H810.255V221.297z",
|
|
65
|
+
fill: "rgba(var(--n-gray-color-1))",
|
|
66
|
+
"p-id": "6642"
|
|
67
|
+
}, null)])]), l("div", {
|
|
68
|
+
class: "flex flex-col gap-0"
|
|
69
|
+
}, [l("div", {
|
|
70
|
+
class: e([a.simple ? "text-center text-gray-5" : ""])
|
|
71
|
+
}, [a.text || c("pages.empty.title")]), !a.simple && l("div", {
|
|
72
|
+
class: "text-gray-5"
|
|
73
|
+
}, [a.desc || c("pages.empty.desc")])])])]);
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
export {
|
|
77
|
+
s as DuxBlockEmpty
|
|
78
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { defineComponent as m, computed as n, createVNode as o, mergeProps as p } from "vue";
|
|
2
|
+
import { NDataTable as i } from "naive-ui";
|
|
3
|
+
import { DuxTableLayout as u } from "../layout/table.js";
|
|
4
|
+
const l = /* @__PURE__ */ m({
|
|
5
|
+
name: "DuxTablePage",
|
|
6
|
+
props: {
|
|
7
|
+
tableProps: {
|
|
8
|
+
type: Object
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
extends: u,
|
|
12
|
+
setup(r, {
|
|
13
|
+
slots: e
|
|
14
|
+
}) {
|
|
15
|
+
const b = n(() => {
|
|
16
|
+
const {
|
|
17
|
+
tableProps: t,
|
|
18
|
+
...a
|
|
19
|
+
} = r;
|
|
20
|
+
return a;
|
|
21
|
+
});
|
|
22
|
+
return () => o(u, b.value, {
|
|
23
|
+
default: (t) => o(i, p({
|
|
24
|
+
remote: !0,
|
|
25
|
+
class: "h-full",
|
|
26
|
+
minHeight: 200,
|
|
27
|
+
tableLayout: "fixed",
|
|
28
|
+
flexHeight: !0,
|
|
29
|
+
rowKey: (a) => a.id,
|
|
30
|
+
bordered: !1,
|
|
31
|
+
scrollX: t.width
|
|
32
|
+
}, t.table.value, r.tableProps), null),
|
|
33
|
+
bottom: e == null ? void 0 : e.bottom,
|
|
34
|
+
tools: e == null ? void 0 : e.tools,
|
|
35
|
+
actions: e == null ? void 0 : e.actions
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
export {
|
|
40
|
+
l as DuxTablePage
|
|
41
|
+
};
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { defineComponent as t, createVNode as l } from "vue";
|
|
2
|
+
import { DuxCard as n } from "../card/card.js";
|
|
3
|
+
const a = /* @__PURE__ */ t({
|
|
4
|
+
name: "DuxWidgetConnect",
|
|
5
|
+
props: {
|
|
6
|
+
title: String,
|
|
7
|
+
desc: String,
|
|
8
|
+
value: Number,
|
|
9
|
+
local: String
|
|
10
|
+
},
|
|
11
|
+
setup(e, {
|
|
12
|
+
slots: c
|
|
13
|
+
}) {
|
|
14
|
+
return () => l(n, null, {
|
|
15
|
+
default: () => {
|
|
16
|
+
var i;
|
|
17
|
+
return [l("div", {
|
|
18
|
+
class: "flex items-center"
|
|
19
|
+
}, [l("div", {
|
|
20
|
+
class: "flex-1 flex flex-col gap-1 px-6 py-4"
|
|
21
|
+
}, [l("div", {
|
|
22
|
+
class: "font-medium text-base"
|
|
23
|
+
}, [e.title]), l("div", {
|
|
24
|
+
class: "text-sm text-muted"
|
|
25
|
+
}, [e.desc]), l("div", {
|
|
26
|
+
class: "mt-2"
|
|
27
|
+
}, [(i = c.default) == null ? void 0 : i.call(c)])]), l("div", {
|
|
28
|
+
class: "flex-none pt-4 pr-4"
|
|
29
|
+
}, [l("svg", {
|
|
30
|
+
class: "size-30",
|
|
31
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
32
|
+
width: "511.56264",
|
|
33
|
+
height: "532.44842",
|
|
34
|
+
viewBox: "0 0 511.56264 532.44842"
|
|
35
|
+
}, [l("polygon", {
|
|
36
|
+
points: "454.49103 405.20843 454.48102 405.44842 466.49103 532.44842 378.85101 532.44842 367.49103 454.44842 362.49103 530.44842 272.49103 529.44842 282.05103 429.66839 290.18103 383.41839 290.18103 383.40838 291.401 376.44842 452.10101 376.44842 452.31103 378.96838 454.49103 405.20843",
|
|
37
|
+
fill: "#2f2e41"
|
|
38
|
+
}, null), l("path", {
|
|
39
|
+
d: "M222.88285,478.83064c9.28179,1.69101,18.96019-8.76188,21.61758-23.34779,1.16327-6.38475,.78778-12.50277-.78019-17.50611l1.42323-8.40799,23.88334-113.10923s43.98031-87.97522,43.9791-103.24828c-.00111-15.27287-12.72223-22.76282-12.72223-22.76282l-17.21435,.16096-53.98264,131.84662-9.72217,97.42982-1.57289,13.36711c-3.2316,4.12897-5.74053,9.72145-6.90332,16.10621-2.65749,14.58572,2.71275,27.78048,11.99454,29.4715Z",
|
|
40
|
+
fill: "#ffb6b6"
|
|
41
|
+
}, null), l("polygon", {
|
|
42
|
+
points: "397.99103 135.94842 381.99103 98.94842 329.99103 107.94842 326.49103 151.47992 397.99103 135.94842",
|
|
43
|
+
fill: "#ffb6b6"
|
|
44
|
+
}, null), l("polygon", {
|
|
45
|
+
points: "397.99103 135.94842 381.99103 98.94842 329.99103 107.94842 326.49103 151.47992 397.99103 135.94842",
|
|
46
|
+
opacity: ".1"
|
|
47
|
+
}, null), l("path", {
|
|
48
|
+
d: "M510.99121,212.9484s-37-69-44-76c-3.11621-3.11621-8.01465-3.15955-12.49316-2.25134l-51.50684-17.74866-17.45801-9.8092-1.15039,18.66199-57.31543,10.28748c.31836-11.38086,1.92383-15.70972,1.92383-15.70972l-21,24.56946-41,20,.02246,.18005c-3.00879,1.05029-5.86133,2.84741-8.02246,5.81995-8,11-30,145-30,145l47,10,6.39648-40.13953,4.60352,36.13953,3.5,67.5s64,55,95,35,69-19,69-19l.94824-31.28796c.6748-1.07861,1.05176-1.71204,1.05176-1.71204l-1-110.98425v-29.5321c7.61816,10.61353,16.81152,19.74109,27.5,24.01636,35,14,28-43,28-43Z",
|
|
49
|
+
fill: "#e6e6e6"
|
|
50
|
+
}, null), l("circle", {
|
|
51
|
+
cx: "350.55585",
|
|
52
|
+
cy: "66.61991",
|
|
53
|
+
r: "47.83848",
|
|
54
|
+
fill: "#ffb6b6"
|
|
55
|
+
}, null), l("path", {
|
|
56
|
+
d: "M384.87476,80.13948s4.15987-14.55954,13.51957-13.51957c9.3597,1.03997,11.43964-7.27977,9.3597-11.43964-2.07993-4.15987-6.2398-24.95921-6.2398-24.95921,0,0,2.07993-14.55954-10.39967-16.63947-12.4796-2.07993-16.63947-4.15987-18.71941-8.31974-2.07993-4.15987-33.27894-8.31974-43.67861-2.07993-10.39967,6.2398-18.71941,18.2117-25.99917,21.58546-7.27977,3.37375-13.51957,9.61355-9.3597,20.01322,4.15987,10.39967,10.19286,30.7392,10.19286,30.7392,0,0,10.60648-3.70006,12.68641,2.53974,2.07993,6.2398-6.2398-2.07993,4.15987-18.71941,10.39967-16.63947,10.39967-33.27894,27.03914-27.03914,16.63947,6.2398,35.35888,4.15987,33.27894,16.63947-2.07993,12.4796,4.15987,31.19901,4.15987,31.19901Z",
|
|
57
|
+
fill: "#2f2e41"
|
|
58
|
+
}, null), l("g", null, [l("path", {
|
|
59
|
+
d: "M381.94946,459.38422H18.63322c-10.27456,0-18.63322-8.35942-18.63322-18.63322V247.758c0-10.2738,8.35866-18.63322,18.63322-18.63322H381.94946c10.27456,0,18.63322,8.35942,18.63322,18.63322v192.993c0,10.2738-8.35866,18.63322-18.63322,18.63322Z",
|
|
60
|
+
fill: "rgb(var(--ui-color-gray-100))"
|
|
61
|
+
}, null), l("path", {
|
|
62
|
+
d: "M381.94946,459.38422H18.63322c-10.27456,0-18.63322-8.35942-18.63322-18.63322V247.758c0-10.2738,8.35866-18.63322,18.63322-18.63322H381.94946c10.27456,0,18.63322,8.35942,18.63322,18.63322v192.993c0,10.2738-8.35866,18.63322-18.63322,18.63322ZM18.63322,232.23639c-8.55846,0-15.52161,6.96315-15.52161,15.52161v192.993c0,8.55846,6.96315,15.52161,15.52161,15.52161H381.94946c8.55846,0,15.52161-6.96315,15.52161-15.52161V247.758c0-8.55846-6.96315-15.52161-15.52161-15.52161H18.63322Z",
|
|
63
|
+
fill: "#3f3d56"
|
|
64
|
+
}, null), l("circle", {
|
|
65
|
+
cx: "353.90847",
|
|
66
|
+
cy: "247.79446",
|
|
67
|
+
r: "4.66742",
|
|
68
|
+
fill: "#3f3d56"
|
|
69
|
+
}, null), l("circle", {
|
|
70
|
+
cx: "366.35492",
|
|
71
|
+
cy: "247.79446",
|
|
72
|
+
r: "4.66742",
|
|
73
|
+
fill: "#3f3d56"
|
|
74
|
+
}, null), l("circle", {
|
|
75
|
+
cx: "378.80138",
|
|
76
|
+
cy: "247.79446",
|
|
77
|
+
r: "4.66742",
|
|
78
|
+
fill: "#3f3d56"
|
|
79
|
+
}, null), l("path", {
|
|
80
|
+
d: "M26.44872,323.2511c-1.28688,0-2.33371,1.04683-2.33371,2.33371,0,.62749,.24234,1.20788,.68218,1.63633,.44365,.45428,1.0248,.69738,1.65153,.69738H375.68976c1.28688,0,2.33371-1.04683,2.33371-2.33371,0-.62749-.24234-1.20788-.68218-1.63633-.44365-.45428-1.0248-.69738-1.65153-.69738H26.44872Z",
|
|
81
|
+
fill: "#e6e6e6"
|
|
82
|
+
}, null), l("path", {
|
|
83
|
+
d: "M332.12717,322.4732v6.22323H26.44872c-.85567,0-1.63358-.34233-2.19365-.91797-.57574-.56007-.91797-1.33797-.91797-2.19365,0-1.71144,1.40026-3.11161,3.11161-3.11161H332.12717Z",
|
|
84
|
+
fill: "rgb(var(--ui-color-primary))"
|
|
85
|
+
}, null), l("path", {
|
|
86
|
+
d: "M371.80025,310.80464h-31.11614c-3.43144,0-6.22323-2.79103-6.22323-6.22323s2.79179-6.22323,6.22323-6.22323h31.11614c3.43144,0,6.22323,2.79103,6.22323,6.22323s-2.79179,6.22323-6.22323,6.22323Z",
|
|
87
|
+
fill: "#e6e6e6"
|
|
88
|
+
}, null), l("path", {
|
|
89
|
+
d: "M167.98953,278.1327H28.78243c-3.43144,0-6.22323-2.79103-6.22323-6.22323s2.79179-6.22323,6.22323-6.22323H167.98953c3.43144,0,6.22323,2.79103,6.22323,6.22323s-2.79179,6.22323-6.22323,6.22323Z",
|
|
90
|
+
fill: "#e6e6e6"
|
|
91
|
+
}, null), l("path", {
|
|
92
|
+
d: "M26.44872,393.26242c-1.28688,0-2.33371,1.04683-2.33371,2.33371,0,.62749,.24234,1.20788,.68218,1.63633,.44365,.45428,1.0248,.69738,1.65153,.69738H375.68976c1.28688,0,2.33371-1.04683,2.33371-2.33371,0-.62749-.24234-1.20788-.68218-1.63633-.44365-.45428-1.0248-.69738-1.65153-.69738H26.44872Z",
|
|
93
|
+
fill: "#e6e6e6"
|
|
94
|
+
}, null), l("path", {
|
|
95
|
+
d: "M212.33003,392.48451v6.22323H26.44872c-.85567,0-1.63358-.34233-2.19365-.91797-.57574-.56007-.91797-1.33797-.91797-2.19365,0-1.71144,1.40026-3.11161,3.11161-3.11161H212.33003Z",
|
|
96
|
+
fill: "rgb(var(--ui-color-primary))"
|
|
97
|
+
}, null), l("path", {
|
|
98
|
+
d: "M371.80025,380.81596h-31.11614c-3.43144,0-6.22323-2.79103-6.22323-6.22323s2.79179-6.22323,6.22323-6.22323h31.11614c3.43144,0,6.22323,2.79103,6.22323,6.22323s-2.79179,6.22323-6.22323,6.22323Z",
|
|
99
|
+
fill: "#e6e6e6"
|
|
100
|
+
}, null)]), l("g", null, [l("ellipse", {
|
|
101
|
+
cx: "426.27357",
|
|
102
|
+
cy: "70.44086",
|
|
103
|
+
rx: "48.72643",
|
|
104
|
+
ry: "47.69976",
|
|
105
|
+
fill: "rgb(var(--ui-color-primary))"
|
|
106
|
+
}, null), l("path", {
|
|
107
|
+
d: "M442.81136,46.3808c-6.487,11.81215-12.97405,23.62439-19.46106,35.43659-4.13442-7.30499-8.24624-14.62285-12.39083-21.92211-1.43136-2.5209-5.32473-.25351-3.88976,2.27368,4.80448,8.46149,9.55919,16.95111,14.36367,25.41259,.82147,1.44676,3.07677,1.48035,3.8898,0,7.12599-12.9757,14.25199-25.95141,21.37798-38.92707,1.39635-2.54258-2.4924-4.81822-3.8898-2.27368Z",
|
|
108
|
+
fill: "rgb(var(--ui-color-gray-100))"
|
|
109
|
+
}, null)]), l("path", {
|
|
110
|
+
d: "M493.53827,196.17181l-48.54724-23.22339s-1.94983-15.5437-11.05402-21.08789c-1.54779-3.6925-3.32855-7.74908-4.94598-10.96332-4-7.94879,2-22.94879-3-22.94879s-12.39122,15.77543-12,20c.30031,3.24292,2.98059,8.90472,3.5343,13.8609-6.09709,2.29949-11.01564,6.24084-14.24964,9.37903-2.79865,2.71575-3.8385,6.76755-2.74475,10.51073,3.16948,10.84703,11.09153,33.24933,22.46008,33.24933,15,0,19-3,19-3,0,0,31,39,54,42s-2.45276-47.77661-2.45276-47.77661Z",
|
|
111
|
+
fill: "#ffb6b6"
|
|
112
|
+
}, null)])])])];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
export {
|
|
118
|
+
a as DuxWidgetConnect
|
|
119
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { presetWind4 as o, presetIcons as p, presetTypography as i } from "unocss";
|
|
2
|
+
import "@duxweb/dvha-core";
|
|
3
|
+
import "lodash-es";
|
|
4
|
+
import "vue";
|
|
5
|
+
import { presetTheme as s } from "../theme/presetTheme.js";
|
|
6
|
+
function g(e) {
|
|
7
|
+
const r = {
|
|
8
|
+
presets: [
|
|
9
|
+
o({
|
|
10
|
+
preflights: {
|
|
11
|
+
reset: e,
|
|
12
|
+
theme: e
|
|
13
|
+
}
|
|
14
|
+
}),
|
|
15
|
+
p({
|
|
16
|
+
collections: {
|
|
17
|
+
tabler: () => import("../node_modules/@iconify-json/tabler/icons.json.js").then((t) => t.default)
|
|
18
|
+
}
|
|
19
|
+
}),
|
|
20
|
+
i(),
|
|
21
|
+
s()
|
|
22
|
+
]
|
|
23
|
+
};
|
|
24
|
+
return e || (r.preflights = [
|
|
25
|
+
{
|
|
26
|
+
getCSS: () => import("../theme/uno.css.js").then((t) => t.default)
|
|
27
|
+
}
|
|
28
|
+
]), r;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
g as config
|
|
32
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
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";
|
|
4
|
+
import { configure as i } from "vee-validate";
|
|
5
|
+
function a() {
|
|
6
|
+
i({
|
|
7
|
+
generateMessage: e({
|
|
8
|
+
"en-US": o,
|
|
9
|
+
"zh-CN": r
|
|
10
|
+
})
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
a as initVeeValidate
|
|
15
|
+
};
|
|
@@ -0,0 +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%}
|