@duxweb/dvha-pro 1.0.18 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component.cjs +1 -1
- package/dist/cjs/components/card/card.cjs +1 -1
- package/dist/cjs/components/chart/echart.cjs +1 -1
- package/dist/cjs/components/code/code.cjs +1 -0
- package/dist/cjs/components/crop/imageCrop.cjs +1 -1
- package/dist/cjs/components/data/dynamicSelect.cjs +1 -1
- package/dist/cjs/components/data/selectModal.cjs +1 -1
- package/dist/cjs/components/drawer/drawer.cjs +1 -1
- package/dist/cjs/components/drawer/drawerPage.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/form/formLayout.cjs +1 -1
- package/dist/cjs/components/form/modalForm.cjs +1 -1
- package/dist/cjs/components/form/pageForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/filter.cjs +1 -1
- package/dist/cjs/components/layout/filterLayout.cjs +1 -0
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/modal/modal.cjs +1 -1
- package/dist/cjs/components/modal/modalPage.cjs +1 -1
- package/dist/cjs/components/panel/collapse.cjs +1 -0
- package/dist/cjs/components/panel/setting.cjs +1 -1
- package/dist/cjs/components/status/listEmpty.cjs +1 -0
- package/dist/cjs/components/table/table.cjs +1 -0
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/components/tree/treeFilter.cjs +1 -1
- package/dist/cjs/components/upload/config.cjs +1 -0
- package/dist/cjs/components/upload/file.cjs +1 -1
- package/dist/cjs/components/upload/image.cjs +1 -1
- package/dist/cjs/components/upload/manage/item.cjs +1 -1
- package/dist/cjs/components/upload/manager.cjs +1 -1
- package/dist/cjs/dvha-pro.css +1 -1
- package/dist/cjs/hooks/action.cjs +1 -1
- package/dist/cjs/hooks/dialog.cjs +1 -1
- package/dist/cjs/hooks/drawer.cjs +1 -1
- package/dist/cjs/hooks/modal.cjs +1 -1
- package/dist/cjs/hooks/table/image.cjs +1 -1
- package/dist/cjs/hooks/table/media.cjs +1 -1
- package/dist/cjs/hooks/table.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/langs/en-US.json.cjs +1 -1
- package/dist/cjs/langs/zh-CN.json.cjs +1 -1
- package/dist/cjs/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/avatar.cjs +1 -1
- package/dist/cjs/pages/menu/button.cjs +1 -1
- package/dist/cjs/pages/menu/cmd.cjs +1 -1
- package/dist/cjs/pages/menu/main.cjs +1 -1
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/page.cjs +1 -1
- package/dist/cjs/pages/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/naiveTheme.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +23 -7
- package/dist/esm/component.js +36 -34
- package/dist/esm/components/card/card.js +6 -6
- package/dist/esm/components/chart/echart.js +17 -6
- package/dist/esm/components/code/code.js +53 -0
- package/dist/esm/components/crop/imageCrop.js +37 -26
- package/dist/esm/components/data/dynamicSelect.js +29 -18
- package/dist/esm/components/data/selectModal.js +49 -38
- package/dist/esm/components/drawer/drawer.js +17 -28
- package/dist/esm/components/drawer/drawerPage.js +54 -17
- package/dist/esm/components/form/formItem.js +17 -17
- package/dist/esm/components/form/formLayout.js +8 -8
- package/dist/esm/components/form/modalForm.js +44 -35
- package/dist/esm/components/form/pageForm.js +81 -43
- package/dist/esm/components/form/settingForm.js +28 -17
- package/dist/esm/components/icon/icon.js +23 -12
- package/dist/esm/components/layout/filter.js +15 -11
- package/dist/esm/components/layout/filterLayout.js +34 -0
- package/dist/esm/components/layout/list.js +206 -160
- package/dist/esm/components/layout/table.js +212 -185
- package/dist/esm/components/level/level.js +28 -17
- package/dist/esm/components/modal/modal.js +9 -9
- package/dist/esm/components/modal/modalPage.js +2 -2
- package/dist/esm/components/panel/collapse.js +49 -0
- package/dist/esm/components/panel/setting.js +3 -3
- package/dist/esm/components/status/listEmpty.js +26 -0
- package/dist/esm/components/table/table.js +110 -0
- package/dist/esm/components/table/tablePage.js +24 -18
- package/dist/esm/components/tree/treeFilter.js +44 -39
- package/dist/esm/components/upload/config.js +32 -0
- package/dist/esm/components/upload/file.js +142 -116
- package/dist/esm/components/upload/image.js +95 -66
- package/dist/esm/components/upload/manage/item.js +17 -6
- package/dist/esm/components/upload/manager.js +202 -164
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/action.js +77 -75
- package/dist/esm/hooks/dialog.js +13 -2
- package/dist/esm/hooks/drawer.js +13 -2
- package/dist/esm/hooks/modal.js +13 -2
- package/dist/esm/hooks/table/image.js +21 -10
- package/dist/esm/hooks/table/media.js +20 -9
- package/dist/esm/hooks/table.js +16 -13
- package/dist/esm/index.js +174 -164
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/pages/authLayout.js +19 -8
- package/dist/esm/pages/layout/page.js +17 -6
- package/dist/esm/pages/login.js +40 -29
- package/dist/esm/pages/menu/avatar.js +45 -34
- package/dist/esm/pages/menu/button.js +23 -12
- package/dist/esm/pages/menu/cmd.js +45 -34
- package/dist/esm/pages/menu/main.js +40 -27
- package/dist/esm/pages/menu/mobile.js +13 -2
- package/dist/esm/pages/page.js +1 -1
- package/dist/esm/pages/page404.js +20 -9
- package/dist/esm/pages/pageStatus.js +31 -15
- package/dist/esm/theme/naiveTheme.js +6 -6
- package/dist/esm/theme/uno.css.js +23 -7
- package/dist/types/components/code/code.d.ts +44 -0
- package/dist/types/components/code/index.d.ts +1 -0
- package/dist/types/components/drawer/drawer.d.ts +2 -0
- package/dist/types/components/drawer/drawerPage.d.ts +20 -1
- package/dist/types/components/form/formItem.d.ts +2 -2
- package/dist/types/components/form/formLayout.d.ts +3 -3
- package/dist/types/components/form/modalForm.d.ts +3 -3
- package/dist/types/components/form/pageForm.d.ts +12 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/layout/filterLayout.d.ts +32 -0
- package/dist/types/components/layout/index.d.ts +1 -0
- package/dist/types/components/layout/table.d.ts +3 -0
- package/dist/types/components/panel/collapse.d.ts +14 -0
- package/dist/types/components/panel/index.d.ts +1 -0
- package/dist/types/components/select/cardSelect.d.ts +1 -1
- package/dist/types/components/status/index.d.ts +1 -0
- package/dist/types/components/status/listEmpty.d.ts +11 -0
- package/dist/types/components/table/index.d.ts +1 -0
- package/dist/types/components/table/table.d.ts +6552 -0
- package/dist/types/components/table/tablePage.d.ts +3 -0
- package/dist/types/components/tree/treeFilter.d.ts +13 -12
- package/dist/types/components/upload/config.d.ts +13 -0
- package/dist/types/components/upload/file.d.ts +4 -0
- package/dist/types/components/upload/image.d.ts +30 -2
- package/dist/types/components/upload/manager.d.ts +4 -0
- package/dist/types/hooks/drawer.d.ts +1 -0
- package/dist/types/hooks/table/types.d.ts +1 -0
- package/dist/types/main.d.ts +6 -0
- package/dist/types/pages/pageStatus.d.ts +11 -1
- package/package.json +6 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, createVNode as e, createTextVNode as i } from "vue";
|
|
2
2
|
import { useManage as f, useI18n as v, DuxLogoIcon as x } from "@duxweb/dvha-core";
|
|
3
3
|
import { useNaiveMenu as g } from "@duxweb/dvha-naiveui";
|
|
4
|
-
import { NTag as r,
|
|
4
|
+
import { NTag as r, NScrollbar as h, NMenu as b } from "naive-ui";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "@overlastic/vue";
|
|
7
7
|
import "clsx";
|
|
@@ -22,16 +22,27 @@ import "@unocss/preset-typography";
|
|
|
22
22
|
import "unocss/preset-wind4";
|
|
23
23
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
24
24
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
25
|
-
import
|
|
26
|
-
import
|
|
25
|
+
import M from "./avatar.js";
|
|
26
|
+
import p from "./button.js";
|
|
27
27
|
import "vue-command-palette";
|
|
28
28
|
import "../page404.js";
|
|
29
29
|
import "@iconify-json/tabler/icons.json";
|
|
30
30
|
import "mime";
|
|
31
|
+
import "vue3-ace-editor";
|
|
32
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
33
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
34
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
35
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
36
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
37
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
38
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
39
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
40
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
41
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
31
42
|
import "dayjs";
|
|
32
43
|
import "@tanstack/vue-query";
|
|
33
|
-
import { useUI as
|
|
34
|
-
const
|
|
44
|
+
import { useUI as y } from "../../hooks/ui.js";
|
|
45
|
+
const ue = /* @__PURE__ */ c({
|
|
35
46
|
name: "DuxMenuMain",
|
|
36
47
|
props: {
|
|
37
48
|
collapsed: {
|
|
@@ -41,14 +52,14 @@ const ee = /* @__PURE__ */ c({
|
|
|
41
52
|
},
|
|
42
53
|
setup(o) {
|
|
43
54
|
const {
|
|
44
|
-
options:
|
|
45
|
-
active:
|
|
55
|
+
options: a,
|
|
56
|
+
active: m
|
|
46
57
|
} = g({}), {
|
|
47
|
-
menuCollapsed:
|
|
48
|
-
setCmdVisible:
|
|
49
|
-
menuMobileCollapsed:
|
|
58
|
+
menuCollapsed: t,
|
|
59
|
+
setCmdVisible: s,
|
|
60
|
+
menuMobileCollapsed: l,
|
|
50
61
|
setMenuCollapsed: d
|
|
51
|
-
} =
|
|
62
|
+
} = y(), {
|
|
52
63
|
config: n
|
|
53
64
|
} = f(), {
|
|
54
65
|
t: u
|
|
@@ -57,8 +68,8 @@ const ee = /* @__PURE__ */ c({
|
|
|
57
68
|
class: "flex flex-col h-screen px-1"
|
|
58
69
|
}, [e("div", {
|
|
59
70
|
class: "h-13 px-2 hidden lg:flex justify-center items-center"
|
|
60
|
-
}, [e(
|
|
61
|
-
onClick: () => d(!
|
|
71
|
+
}, [e(p, {
|
|
72
|
+
onClick: () => d(!t.value),
|
|
62
73
|
collapsed: o.collapsed
|
|
63
74
|
}, {
|
|
64
75
|
icon: () => e("div", {
|
|
@@ -70,18 +81,18 @@ const ee = /* @__PURE__ */ c({
|
|
|
70
81
|
default: () => e("div", null, [n.title])
|
|
71
82
|
})]), e("div", {
|
|
72
83
|
class: "px-2 py-1 hidden lg:block"
|
|
73
|
-
}, [e(
|
|
84
|
+
}, [e(p, {
|
|
74
85
|
collapsed: o.collapsed,
|
|
75
86
|
inverted: !0,
|
|
76
87
|
class: "relative py-1.5 px-3",
|
|
77
|
-
onClick: () =>
|
|
88
|
+
onClick: () => s(!0)
|
|
78
89
|
}, {
|
|
79
90
|
icon: () => e("div", {
|
|
80
91
|
class: "i-tabler:search size-4 icon-gradient"
|
|
81
92
|
}, null),
|
|
82
93
|
default: () => e("div", {
|
|
83
94
|
class: "text-muted text-sm"
|
|
84
|
-
}, [u("common.search"), !
|
|
95
|
+
}, [u("common.search"), !t.value && e("div", {
|
|
85
96
|
class: "flex items-center gap-1 absolute right-2.5 top-1.3"
|
|
86
97
|
}, [e(r, {
|
|
87
98
|
size: "small",
|
|
@@ -97,21 +108,23 @@ const ee = /* @__PURE__ */ c({
|
|
|
97
108
|
default: () => [i("K")]
|
|
98
109
|
})])])
|
|
99
110
|
})]), e("div", {
|
|
100
|
-
class: ["flex-1 min-h-0",
|
|
101
|
-
}, [e(h, {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
111
|
+
class: ["flex-1 min-h-0", l.value ? "border-t border-muted" : ""]
|
|
112
|
+
}, [e(h, null, {
|
|
113
|
+
default: () => [e(b, {
|
|
114
|
+
options: a.value,
|
|
115
|
+
value: m.value,
|
|
116
|
+
collapsed: t.value && !l.value,
|
|
117
|
+
indent: 20,
|
|
118
|
+
collapsedWidth: 60,
|
|
119
|
+
collapsedIconSize: 20
|
|
120
|
+
}, null)]
|
|
121
|
+
})]), e("div", {
|
|
109
122
|
class: "flex-none hidden lg:flex flex-col items-center gap-2 p-2 border-t border-muted/50"
|
|
110
|
-
}, [e(
|
|
123
|
+
}, [e(M, {
|
|
111
124
|
collapsed: o.collapsed
|
|
112
125
|
}, null)])]);
|
|
113
126
|
}
|
|
114
127
|
});
|
|
115
128
|
export {
|
|
116
|
-
|
|
129
|
+
ue as DuxMenuMain
|
|
117
130
|
};
|
|
@@ -27,10 +27,21 @@ import "@duxweb/dvha-naiveui";
|
|
|
27
27
|
import "../page404.js";
|
|
28
28
|
import "@iconify-json/tabler/icons.json";
|
|
29
29
|
import "mime";
|
|
30
|
+
import "vue3-ace-editor";
|
|
31
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
32
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
33
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
34
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
35
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
36
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
37
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
38
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
39
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
40
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
30
41
|
import "dayjs";
|
|
31
42
|
import "@tanstack/vue-query";
|
|
32
43
|
import { useUI as e } from "../../hooks/ui.js";
|
|
33
|
-
const
|
|
44
|
+
const Y = /* @__PURE__ */ p({
|
|
34
45
|
name: "DuxMobileMenu",
|
|
35
46
|
props: {},
|
|
36
47
|
setup(l) {
|
|
@@ -50,5 +61,5 @@ const H = /* @__PURE__ */ p({
|
|
|
50
61
|
}
|
|
51
62
|
});
|
|
52
63
|
export {
|
|
53
|
-
|
|
64
|
+
Y as DuxMobileMenu
|
|
54
65
|
};
|
package/dist/esm/pages/page.js
CHANGED
|
@@ -29,7 +29,7 @@ const x = /* @__PURE__ */ m({
|
|
|
29
29
|
};
|
|
30
30
|
return () => {
|
|
31
31
|
var t, o, i;
|
|
32
|
-
const r = a.card ? "bg-default dark:bg-muted rounded
|
|
32
|
+
const r = a.card ? "bg-default dark:bg-muted rounded shadow-xs lg:dark:border lg:dark:border-muted" : "", n = a.card && a.padding ? "p-3" : "", l = a.scrollbar ? "" : "h-full";
|
|
33
33
|
return c("div", {
|
|
34
34
|
class: "h-full flex-1 flex gap-2 relative"
|
|
35
35
|
}, [c("div", {
|
|
@@ -30,20 +30,31 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
|
30
30
|
import "vue-command-palette";
|
|
31
31
|
import { DuxPageStatus as d } from "./pageStatus.js";
|
|
32
32
|
import "@iconify-json/tabler/icons.json";
|
|
33
|
+
import "vue3-ace-editor";
|
|
34
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
35
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
36
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
37
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
38
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
39
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
40
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
41
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
42
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
43
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
33
44
|
function g(o) {
|
|
34
45
|
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !u(o);
|
|
35
46
|
}
|
|
36
47
|
const D = /* @__PURE__ */ n({
|
|
37
48
|
name: "DuxPage404",
|
|
38
49
|
setup(o) {
|
|
39
|
-
const
|
|
50
|
+
const p = l(), m = c(), {
|
|
40
51
|
t: r
|
|
41
52
|
} = s();
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
-
path:
|
|
53
|
+
function e() {
|
|
54
|
+
m.push({
|
|
55
|
+
path: p.path,
|
|
45
56
|
query: {
|
|
46
|
-
...
|
|
57
|
+
...p.query,
|
|
47
58
|
t: Date.now()
|
|
48
59
|
}
|
|
49
60
|
});
|
|
@@ -54,14 +65,14 @@ const D = /* @__PURE__ */ n({
|
|
|
54
65
|
}, {
|
|
55
66
|
default: () => t("div", null, [t(f, null, null)]),
|
|
56
67
|
action: () => {
|
|
57
|
-
let
|
|
68
|
+
let i;
|
|
58
69
|
return t(a, {
|
|
59
|
-
onClick:
|
|
70
|
+
onClick: e,
|
|
60
71
|
renderIcon: () => t("div", {
|
|
61
72
|
class: "n-icon i-tabler:refresh"
|
|
62
73
|
}, null)
|
|
63
|
-
}, g(
|
|
64
|
-
default: () => [
|
|
74
|
+
}, g(i = r("components.button.refresh")) ? i : {
|
|
75
|
+
default: () => [i]
|
|
65
76
|
});
|
|
66
77
|
}
|
|
67
78
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as o, createVNode as
|
|
1
|
+
import { defineComponent as o, createVNode as i } from "vue";
|
|
2
2
|
import { DuxCard as p } from "../components/card/card.js";
|
|
3
3
|
import "clsx";
|
|
4
4
|
import "naive-ui";
|
|
@@ -30,37 +30,53 @@ import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
|
30
30
|
import "vue-command-palette";
|
|
31
31
|
import "./page404.js";
|
|
32
32
|
import "@iconify-json/tabler/icons.json";
|
|
33
|
-
|
|
33
|
+
import "vue3-ace-editor";
|
|
34
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
35
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
36
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
37
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
38
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
39
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
40
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
41
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
42
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
43
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
44
|
+
const Y = /* @__PURE__ */ o({
|
|
34
45
|
name: "DuxPageStatus",
|
|
35
46
|
props: {
|
|
36
47
|
title: String,
|
|
37
|
-
desc: String
|
|
48
|
+
desc: String,
|
|
49
|
+
bordered: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !0
|
|
52
|
+
}
|
|
38
53
|
},
|
|
39
|
-
setup(
|
|
54
|
+
setup(t, {
|
|
40
55
|
slots: e
|
|
41
56
|
}) {
|
|
42
|
-
return () =>
|
|
43
|
-
class: "size-full flex items-center justify-center"
|
|
57
|
+
return () => i(p, {
|
|
58
|
+
class: "size-full flex items-center justify-center",
|
|
59
|
+
bordered: t.bordered
|
|
44
60
|
}, {
|
|
45
61
|
default: () => {
|
|
46
|
-
var
|
|
47
|
-
return [
|
|
62
|
+
var r, m;
|
|
63
|
+
return [i("div", {
|
|
48
64
|
class: "flex flex-col gap-6 justify-center items-center py-10"
|
|
49
|
-
}, [
|
|
65
|
+
}, [i("div", {
|
|
50
66
|
class: "w-40"
|
|
51
|
-
}, [(
|
|
67
|
+
}, [(r = e.default) == null ? void 0 : r.call(e)]), i("div", {
|
|
52
68
|
class: "flex flex-col items-center justify-center gap-2"
|
|
53
|
-
}, [
|
|
69
|
+
}, [i("div", {
|
|
54
70
|
class: "text-lg text-default font-bold"
|
|
55
|
-
}, [
|
|
71
|
+
}, [t == null ? void 0 : t.title]), i("div", {
|
|
56
72
|
class: "text-muted"
|
|
57
|
-
}, [
|
|
73
|
+
}, [t == null ? void 0 : t.desc])]), i("div", {
|
|
58
74
|
class: "flex justify-center items-center gap-4"
|
|
59
|
-
}, [(
|
|
75
|
+
}, [(m = e.action) == null ? void 0 : m.call(e)])])];
|
|
60
76
|
}
|
|
61
77
|
});
|
|
62
78
|
}
|
|
63
79
|
});
|
|
64
80
|
export {
|
|
65
|
-
|
|
81
|
+
Y as DuxPageStatus
|
|
66
82
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useTheme as C } from "@duxweb/dvha-core";
|
|
2
2
|
import { hex2rgb as i } from "colorizr";
|
|
3
|
-
import { merge as
|
|
3
|
+
import { merge as s } from "lodash-es";
|
|
4
4
|
import { computed as l } from "vue";
|
|
5
5
|
function g() {
|
|
6
6
|
const { getSceneColor: o, getSemanticColor: r } = C(), e = (m) => {
|
|
7
7
|
const t = i(m);
|
|
8
8
|
return `${t.r}, ${t.g},${t.b}`;
|
|
9
|
-
},
|
|
9
|
+
}, a = l(() => ({
|
|
10
10
|
common: {
|
|
11
11
|
primaryColor: o("primary"),
|
|
12
12
|
primaryColorHover: o("primary", "hover"),
|
|
@@ -70,18 +70,18 @@ function g() {
|
|
|
70
70
|
tabTextColorHoverSegment: r("text", "muted")
|
|
71
71
|
},
|
|
72
72
|
Card: {}
|
|
73
|
-
})),
|
|
73
|
+
})), d = l(() => s(a.value, {
|
|
74
74
|
common: {
|
|
75
75
|
cardColor: r("bg", "base"),
|
|
76
76
|
modalColor: r("bg", "base"),
|
|
77
77
|
dividerColor: r("border", "muted"),
|
|
78
78
|
borderColor: r("border", "muted"),
|
|
79
|
-
popoverColor: `rgba(${e(r("bg", "
|
|
79
|
+
popoverColor: `rgba(${e(r("bg", "base"))}, 0.98)`
|
|
80
80
|
},
|
|
81
81
|
DataTable: {
|
|
82
82
|
tdColor: r("bg", "base")
|
|
83
83
|
}
|
|
84
|
-
})), n = l(() => a
|
|
84
|
+
})), n = l(() => s(a.value, {
|
|
85
85
|
common: {
|
|
86
86
|
cardColor: r("bg", "muted"),
|
|
87
87
|
modalColor: r("bg", "muted"),
|
|
@@ -94,7 +94,7 @@ function g() {
|
|
|
94
94
|
}
|
|
95
95
|
}));
|
|
96
96
|
return {
|
|
97
|
-
lightTheme:
|
|
97
|
+
lightTheme: d,
|
|
98
98
|
darkTheme: n
|
|
99
99
|
};
|
|
100
100
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const r = `/* layer: properties */
|
|
2
|
-
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:0;--un-border-style:solid;--un-
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))){*, ::before, ::after, ::backdrop{--un-text-opacity:100%;--un-bg-opacity:100%;--un-from-opacity:100%;--un-divide-y-reverse:0;--un-border-style:solid;--un-divide-x-reverse:0;--un-divide-opacity:100%;--un-shadow-opacity:100%;--un-border-opacity:100%;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-to-opacity:100%;--un-outline-style:solid;--un-fill-opacity:100%;}}
|
|
3
3
|
@property --un-text-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
4
4
|
@property --un-outline-style{syntax:"*";inherits:false;initial-value:solid;}
|
|
5
5
|
@property --un-border-opacity{syntax:"<percentage>";inherits:false;initial-value:100%;}
|
|
@@ -917,6 +917,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
917
917
|
}
|
|
918
918
|
/* layer: icons */
|
|
919
919
|
.i-tabler\\:alert-triangle{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 9v4m-1.637-9.409L2.257 17.125a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636-2.87L13.637 3.59a1.914 1.914 0 0 0-3.274 0zM12 16h.01'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
920
|
+
.i-tabler\\:arrow-down{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 5v14m6-6l-6 6m-6-6l6 6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
920
921
|
.i-tabler\\:arrow-left{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 12h14M5 12l6 6m-6-6l6-6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
921
922
|
.i-tabler\\:brightness-half{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 9a3 3 0 0 0 0 6z'/%3E%3Cpath d='M6 6h3.5L12 3.5L14.5 6H18v3.5l2.5 2.5l-2.5 2.5V18h-3.5L12 20.5L9.5 18H6v-3.5L3.5 12L6 9.5z'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
922
923
|
.i-tabler\\:check{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m5 12l5 5L20 7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
@@ -929,6 +930,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
929
930
|
.i-tabler\\:database-export{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 6c0 1.657 3.582 3 8 3s8-1.343 8-3s-3.582-3-8-3s-8 1.343-8 3'/%3E%3Cpath d='M4 6v6c0 1.657 3.582 3 8 3c1.118 0 2.183-.086 3.15-.241M20 12V6'/%3E%3Cpath d='M4 12v6c0 1.657 3.582 3 8 3q.235 0 .466-.005M16 19h6m-3-3l3 3l-3 3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
930
931
|
.i-tabler\\:database-import{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M4 6c0 1.657 3.582 3 8 3s8-1.343 8-3s-3.582-3-8-3s-8 1.343-8 3'/%3E%3Cpath d='M4 6v6c0 1.657 3.582 3 8 3c.856 0 1.68-.05 2.454-.144M20 12V6'/%3E%3Cpath d='M4 12v6c0 1.657 3.582 3 8 3q.256 0 .51-.006M19 22v-6m3 3l-3-3l-3 3'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
931
932
|
.i-tabler\\:device-desktop-up{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13.5 16H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v7.5M19 22v-6m3 3l-3-3l-3 3m-9 1h5m-3-4v4'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
933
|
+
.i-tabler\\:device-floppy{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cg fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M6 4h10l4 4v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2'/%3E%3Cpath d='M10 14a2 2 0 1 0 4 0a2 2 0 1 0-4 0m4-10v4H8V4'/%3E%3C/g%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
932
934
|
.i-tabler\\:dots-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M11 12a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0 7a1 1 0 1 0 2 0a1 1 0 1 0-2 0m0-14a1 1 0 1 0 2 0a1 1 0 1 0-2 0'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
933
935
|
.i-tabler\\:download{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 11l5 5l5-5m-5-7v12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
934
936
|
.i-tabler\\:exclamation-circle-filled{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M17 3.34A10 10 0 1 1 2 12l.005-.324A10 10 0 0 1 17 3.34M12 15a1 1 0 0 0-1 1v.01a1 1 0 0 0 2 0V16a1 1 0 0 0-1-1m0-7a1 1 0 0 0-1 1v4a1 1 0 0 0 2 0V9a1 1 0 0 0-1-1'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
@@ -957,7 +959,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
957
959
|
.i-tabler\\:rotate{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19.95 11a8 8 0 1 0-.5 4m.5 5v-5h-5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
958
960
|
.i-tabler\\:rotate-clockwise{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4.05 11a8 8 0 1 1 .5 4m-.5 5v-5h5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
959
961
|
.i-tabler\\:search{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 10a7 7 0 1 0 14 0a7 7 0 1 0-14 0m18 11l-6-6'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
960
|
-
.i-tabler\\:send{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
961
962
|
.i-tabler\\:sun{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0m-5 0h1m8-9v1m8 8h1m-9 8v1M5.6 5.6l.7.7m12.1-.7l-.7.7m0 11.4l.7.7m-12.1-.7l-.7.7'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
962
963
|
.i-tabler\\:trash{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 7h16m-10 4v6m4-6v6M5 7l1 12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2l1-12M9 7V4a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
963
964
|
.i-tabler\\:upload{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2M7 9l5-5l5 5m-5-5v12'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;width:1em;height:1em;}
|
|
@@ -1026,7 +1027,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1026
1027
|
.mt-3{margin-top:calc(var(--spacing) * 3);}
|
|
1027
1028
|
.mt-4{margin-top:calc(var(--spacing) * 4);}
|
|
1028
1029
|
.mt-auto{margin-top:auto;}
|
|
1029
|
-
.p-0\\!{padding:calc(var(--spacing) * 0) !important;}
|
|
1030
1030
|
.p-1{padding:calc(var(--spacing) * 1);}
|
|
1031
1031
|
.p-2{padding:calc(var(--spacing) * 2);}
|
|
1032
1032
|
.p-2\\.5{padding:calc(var(--spacing) * 2.5);}
|
|
@@ -1061,6 +1061,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1061
1061
|
.pr-4{padding-right:calc(var(--spacing) * 4);}
|
|
1062
1062
|
.ps-10{padding-inline-start:calc(var(--spacing) * 10);}
|
|
1063
1063
|
.ps-3{padding-inline-start:calc(var(--spacing) * 3);}
|
|
1064
|
+
.pt-0\\.5{padding-top:calc(var(--spacing) * 0.5);}
|
|
1064
1065
|
.pt-1{padding-top:calc(var(--spacing) * 1);}
|
|
1065
1066
|
.pt-2{padding-top:calc(var(--spacing) * 2);}
|
|
1066
1067
|
.pt-4{padding-top:calc(var(--spacing) * 4);}
|
|
@@ -1091,6 +1092,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1091
1092
|
.bg-gray-600{background-color:color-mix(in srgb, var(--colors-gray-600) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-600)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1092
1093
|
.bg-gray-800{background-color:color-mix(in srgb, var(--colors-gray-800) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-800)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1093
1094
|
.bg-gray-900\\/30{background-color:color-mix(in srgb, var(--colors-gray-900) 30%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-900)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1095
|
+
.bg-gray\\/5{background-color:color-mix(in srgb, var(--colors-gray-DEFAULT) 5%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1094
1096
|
.bg-primary{background-color:color-mix(in srgb, var(--colors-primary-DEFAULT) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1095
1097
|
.bg-primary\\/10{background-color:color-mix(in srgb, var(--colors-primary-DEFAULT) 10%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1096
1098
|
.bg-primary\\/5{background-color:color-mix(in srgb, var(--colors-primary-DEFAULT) 5%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
@@ -1137,6 +1139,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1137
1139
|
.grid{display:grid;}
|
|
1138
1140
|
.col-span-1{grid-column:span 1/span 1;}
|
|
1139
1141
|
.col-span-2{grid-column:span 2/span 2;}
|
|
1142
|
+
.col-span-3{grid-column:span 3/span 3;}
|
|
1140
1143
|
.auto-cols-max{grid-auto-columns:max-content;}
|
|
1141
1144
|
.grid-cols-\\[repeat\\(auto-fit\\,minmax\\(100px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));}
|
|
1142
1145
|
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr));}
|
|
@@ -1171,17 +1174,20 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1171
1174
|
.h-500px{height:500px;}
|
|
1172
1175
|
.h-6,
|
|
1173
1176
|
.h6{height:calc(var(--spacing) * 6);}
|
|
1174
|
-
.h-
|
|
1177
|
+
.h-60{height:calc(var(--spacing) * 60);}
|
|
1175
1178
|
.h-auto{height:auto;}
|
|
1176
1179
|
.h-full{height:100%;}
|
|
1177
1180
|
.h-screen{height:100vh;}
|
|
1181
|
+
.max-h-0{max-height:calc(var(--spacing) * 0);}
|
|
1182
|
+
.max-h-500{max-height:calc(var(--spacing) * 500);}
|
|
1178
1183
|
.max-h-500px{max-height:500px;}
|
|
1179
1184
|
.max-w-180{max-width:calc(var(--spacing) * 180);}
|
|
1180
1185
|
.max-w-full{max-width:100%;}
|
|
1181
1186
|
.min-h-0{min-height:calc(var(--spacing) * 0);}
|
|
1182
1187
|
.min-h-1{min-height:calc(var(--spacing) * 1);}
|
|
1183
1188
|
.min-w-0{min-width:calc(var(--spacing) * 0);}
|
|
1184
|
-
.min-w-
|
|
1189
|
+
.min-w-200px{min-width:200px;}
|
|
1190
|
+
.min-w-60{min-width:calc(var(--spacing) * 60);}
|
|
1185
1191
|
.w-120{width:calc(var(--spacing) * 120);}
|
|
1186
1192
|
.w-120px{width:120px;}
|
|
1187
1193
|
.w-15{width:calc(var(--spacing) * 15);}
|
|
@@ -1225,8 +1231,10 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1225
1231
|
.hover\\:shadow-xs:hover{--un-shadow:0 1px 2px 0 var(--un-shadow-color, rgb(0 0 0 / 0.05));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1226
1232
|
.translate-y-0{--un-translate-y:calc(var(--spacing) * 0);translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1227
1233
|
.translate-y-full{--un-translate-y:100%;translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1234
|
+
.rotate-180{rotate:180deg;}
|
|
1228
1235
|
.rotate-45{rotate:45deg;}
|
|
1229
1236
|
.transform{transform:var(--un-rotate-x) var(--un-rotate-y) var(--un-rotate-z) var(--un-skew-x) var(--un-skew-y);}
|
|
1237
|
+
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,--un-gradient-from,--un-gradient-via,--un-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1230
1238
|
.transition-all{transition-property:all;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1231
1239
|
.transition-opacity{transition-property:opacity;transition-timing-function:var(--un-ease, var(--default-transition-timingFunction));transition-duration:var(--un-duration, var(--default-transition-duration));}
|
|
1232
1240
|
.duration-150{--un-duration:150ms;transition-duration:150ms;}
|
|
@@ -1239,8 +1247,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1239
1247
|
.items-end{align-items:flex-end;}
|
|
1240
1248
|
.items-center{align-items:center;}
|
|
1241
1249
|
.items-baseline{align-items:baseline;}
|
|
1242
|
-
.flex-justify-center,
|
|
1243
|
-
.justify-center{justify-content:center;}
|
|
1244
1250
|
.inset-0{inset:calc(var(--spacing) * 0);}
|
|
1245
1251
|
.end-0{inset-inline-end:calc(var(--spacing) * 0);}
|
|
1246
1252
|
.start-0{inset-inline-start:calc(var(--spacing) * 0);}
|
|
@@ -1263,6 +1269,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1263
1269
|
.top-7{top:calc(var(--spacing) * 7);}
|
|
1264
1270
|
.justify-start{justify-content:flex-start;}
|
|
1265
1271
|
.justify-end{justify-content:flex-end;}
|
|
1272
|
+
.justify-center{justify-content:center;}
|
|
1266
1273
|
.justify-between{justify-content:space-between;}
|
|
1267
1274
|
.absolute{position:absolute;}
|
|
1268
1275
|
.fixed{position:fixed;}
|
|
@@ -1290,6 +1297,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1290
1297
|
.table{display:table;}
|
|
1291
1298
|
.border-collapse{border-collapse:collapse;}
|
|
1292
1299
|
.table-fixed{table-layout:fixed;}
|
|
1300
|
+
.dark .dark\\:divide-gray-800>:not(:last-child){border-color:color-mix(in srgb, var(--colors-gray-800) var(--un-divide-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-800)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1293
1301
|
.divide-white\\/20>:not(:last-child){border-color:color-mix(in srgb, var(--colors-white-DEFAULT) 20%, transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1294
1302
|
.divide-x>:not(:last-child){--un-divide-x-reverse:0;border-left-width:calc(1px * var(--un-divide-x-reverse));border-left-style:var(--un-border-style);border-right-width:calc(1px * calc(1 - var(--un-divide-x-reverse)));border-right-style:var(--un-border-style);}
|
|
1295
1303
|
.divide-y>:not(:last-child){--un-divide-y-reverse:0;border-top-width:calc(1px * var(--un-divide-y-reverse));border-top-style:var(--un-border-style);border-bottom-width:calc(1px * calc(1 - var(--un-divide-y-reverse)));border-bottom-style:var(--un-border-style);}
|
|
@@ -1319,6 +1327,11 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1319
1327
|
.hover\\:border-accented:hover{border-color:color-mix(in oklab, rgb(var(--ui-border-accented)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:100%;}
|
|
1320
1328
|
.ring-muted{--un-ring-color:color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-ring-opacity, 100%), transparent);--un-ring-opacity:100%;}
|
|
1321
1329
|
|
|
1330
|
+
.divide-default > :not(:last-child) {
|
|
1331
|
+
border-color: color-mix(in oklab, rgb(var(--ui-border)) var(--un-border-opacity, 100%), transparent);
|
|
1332
|
+
--un-border-opacity: 100%;
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1322
1335
|
.divide-muted > :not(:last-child) {
|
|
1323
1336
|
border-color: color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-border-opacity, 100%), transparent);
|
|
1324
1337
|
--un-border-opacity: 100%;
|
|
@@ -1342,6 +1355,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1342
1355
|
.bg-gray-600{background-color:color-mix(in oklab, var(--colors-gray-600) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-600)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1343
1356
|
.bg-gray-800{background-color:color-mix(in oklab, var(--colors-gray-800) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-800)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1344
1357
|
.bg-gray-900\\/30{background-color:color-mix(in oklab, var(--colors-gray-900) 30%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-900)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1358
|
+
.bg-gray\\/5{background-color:color-mix(in oklab, var(--colors-gray-DEFAULT) 5%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1345
1359
|
.bg-primary{background-color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1346
1360
|
.bg-primary\\/10{background-color:color-mix(in oklab, var(--colors-primary-DEFAULT) 10%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1347
1361
|
.bg-primary\\/5{background-color:color-mix(in oklab, var(--colors-primary-DEFAULT) 5%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
@@ -1391,7 +1405,9 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1391
1405
|
.lg\\:grid-cols-\\[repeat\\(auto-fit\\,minmax\\(\\$\\{props\\.minWidth\\}\\,\\$\\{props\\.maxWidth\\}\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(\${props.minWidth},\${props.maxWidth}));}
|
|
1392
1406
|
.lg\\:grid-cols-\\[repeat\\(auto-fit\\,minmax\\(100px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));}
|
|
1393
1407
|
.lg\\:grid-cols-\\[repeat\\(auto-fit\\,minmax\\(120px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));}
|
|
1408
|
+
.lg\\:grid-cols-\\[repeat\\(auto-fit\\,minmax\\(150px\\,150px\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(150px,150px));}
|
|
1394
1409
|
.lg\\:grid-cols-\\[repeat\\(auto-fit\\,minmax\\(150px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
|
|
1410
|
+
.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr));}
|
|
1395
1411
|
.lg\\:h-13{height:calc(var(--spacing) * 13);}
|
|
1396
1412
|
.lg\\:h-26{height:calc(var(--spacing) * 26);}
|
|
1397
1413
|
.lg\\:max-w-2xl{max-width:var(--container-2xl);}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import 'ace-builds/src-noconflict/mode-vue';
|
|
2
|
+
import 'ace-builds/src-noconflict/mode-javascript';
|
|
3
|
+
import 'ace-builds/src-noconflict/mode-html';
|
|
4
|
+
import 'ace-builds/src-noconflict/mode-json';
|
|
5
|
+
import 'ace-builds/src-noconflict/mode-json5';
|
|
6
|
+
import 'ace-builds/src-noconflict/theme-tomorrow_night';
|
|
7
|
+
import 'ace-builds/src-noconflict/theme-tomorrow';
|
|
8
|
+
import 'ace-builds/src-noconflict/ext-searchbox';
|
|
9
|
+
import 'ace-builds/src-noconflict/ext-language_tools';
|
|
10
|
+
import 'ace-builds/src-noconflict/mode-snippets';
|
|
11
|
+
export declare const DuxCodeEditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
defaultValue: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
value: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
lang: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
readonly: BooleanConstructor;
|
|
25
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
defaultValue: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
value: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
lang: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
readonly: BooleanConstructor;
|
|
39
|
+
}>> & Readonly<{}>, {
|
|
40
|
+
value: string;
|
|
41
|
+
defaultValue: string;
|
|
42
|
+
readonly: boolean;
|
|
43
|
+
lang: string;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './code';
|
|
@@ -2,6 +2,7 @@ import type { AsyncComponentLoader, Component, PropType } from 'vue';
|
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
title: StringConstructor;
|
|
4
4
|
width: (StringConstructor | NumberConstructor)[];
|
|
5
|
+
maxWidth: NumberConstructor[];
|
|
5
6
|
placement: {
|
|
6
7
|
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
7
8
|
default: string;
|
|
@@ -14,6 +15,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
15
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
16
|
title: StringConstructor;
|
|
16
17
|
width: (StringConstructor | NumberConstructor)[];
|
|
18
|
+
maxWidth: NumberConstructor[];
|
|
17
19
|
placement: {
|
|
18
20
|
type: PropType<"left" | "right" | "top" | "bottom">;
|
|
19
21
|
default: string;
|
|
@@ -1 +1,20 @@
|
|
|
1
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
export declare const DuxDrawerPage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
title: StringConstructor;
|
|
4
|
+
onClose: PropType<() => void>;
|
|
5
|
+
onConfirm: PropType<() => void>;
|
|
6
|
+
scrollbar: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
title: StringConstructor;
|
|
12
|
+
onClose: PropType<() => void>;
|
|
13
|
+
onConfirm: PropType<() => void>;
|
|
14
|
+
scrollbar: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}>> & Readonly<{}>, {
|
|
19
|
+
scrollbar: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -5,7 +5,7 @@ export declare const DuxFormItem: import("vue").DefineComponent<import("vue").Ex
|
|
|
5
5
|
description: PropType<string | VNode>;
|
|
6
6
|
path: StringConstructor;
|
|
7
7
|
labelPlacement: {
|
|
8
|
-
type: PropType<"left" | "top" | "setting">;
|
|
8
|
+
type: PropType<"left" | "top" | "setting" | "page">;
|
|
9
9
|
};
|
|
10
10
|
labelWidth: {
|
|
11
11
|
type: NumberConstructor;
|
|
@@ -17,7 +17,7 @@ export declare const DuxFormItem: import("vue").DefineComponent<import("vue").Ex
|
|
|
17
17
|
description: PropType<string | VNode>;
|
|
18
18
|
path: StringConstructor;
|
|
19
19
|
labelPlacement: {
|
|
20
|
-
type: PropType<"left" | "top" | "setting">;
|
|
20
|
+
type: PropType<"left" | "top" | "setting" | "page">;
|
|
21
21
|
};
|
|
22
22
|
labelWidth: {
|
|
23
23
|
type: NumberConstructor;
|