@duxweb/dvha-pro 1.0.45 → 1.0.47
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/chart/echart.cjs +1 -1
- 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/designEditor/components/grid.cjs +1 -1
- package/dist/cjs/components/designEditor/editor/setting.cjs +1 -1
- package/dist/cjs/components/flowEditor/components/jsonEditor.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/nodeCard.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/setting.cjs +1 -0
- package/dist/cjs/components/flowEditor/components/toolbar.cjs +1 -0
- package/dist/cjs/components/flowEditor/flowEditor.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/endNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/index.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/processNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/nodes/startNode.cjs +1 -0
- package/dist/cjs/components/flowEditor/utils/nodeDataUtils.cjs +1 -0
- package/dist/cjs/components/form/drawerForm.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/pageTabForm.cjs +1 -1
- package/dist/cjs/components/form/settingForm.cjs +1 -1
- package/dist/cjs/components/formEditor/base/base.cjs +1 -1
- package/dist/cjs/components/formEditor/base/setting.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascader.cjs +1 -1
- package/dist/cjs/components/formEditor/components/cascaderAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/checkbox.cjs +1 -1
- package/dist/cjs/components/formEditor/components/color.cjs +1 -1
- package/dist/cjs/components/formEditor/components/date.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicInput.cjs +1 -1
- package/dist/cjs/components/formEditor/components/dynamicTags.cjs +1 -1
- package/dist/cjs/components/formEditor/components/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/components/fileUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/components/imageUpload.cjs +1 -1
- package/dist/cjs/components/formEditor/components/input.cjs +1 -1
- package/dist/cjs/components/formEditor/components/inputNumber.cjs +1 -1
- package/dist/cjs/components/formEditor/components/mentionAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/radio.cjs +1 -1
- package/dist/cjs/components/formEditor/components/region.cjs +1 -1
- package/dist/cjs/components/formEditor/components/select.cjs +1 -1
- package/dist/cjs/components/formEditor/components/selectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/sider.cjs +1 -1
- package/dist/cjs/components/formEditor/components/switch.cjs +1 -1
- package/dist/cjs/components/formEditor/components/time.cjs +1 -1
- package/dist/cjs/components/formEditor/components/transferAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelect.cjs +1 -1
- package/dist/cjs/components/formEditor/components/treeSelectAsync.cjs +1 -1
- package/dist/cjs/components/formEditor/editor.cjs +1 -1
- package/dist/cjs/components/formEditor/renderer.cjs +1 -1
- package/dist/cjs/components/icon/icon.cjs +1 -1
- package/dist/cjs/components/layout/list.cjs +1 -1
- package/dist/cjs/components/layout/table.cjs +1 -1
- package/dist/cjs/components/layout/tools.cjs +1 -1
- package/dist/cjs/components/level/level.cjs +1 -1
- package/dist/cjs/components/list/card.cjs +1 -1
- package/dist/cjs/components/list/list.cjs +1 -1
- package/dist/cjs/components/posterEditor/pages/RightPanel.cjs +1 -1
- package/dist/cjs/components/posterEditor/posterEditor.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- 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/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/main.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/page404.cjs +1 -1
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +75 -9
- package/dist/esm/component.js +5 -2
- package/dist/esm/components/chart/echart.js +5 -2
- package/dist/esm/components/crop/imageCrop.js +13 -10
- package/dist/esm/components/data/dynamicSelect.js +5 -2
- package/dist/esm/components/data/selectModal.js +5 -2
- package/dist/esm/components/designEditor/components/grid.js +5 -2
- package/dist/esm/components/designEditor/editor/setting.js +7 -4
- package/dist/esm/components/flowEditor/components/jsonEditor.js +53 -0
- package/dist/esm/components/flowEditor/components/nodeCard.js +160 -0
- package/dist/esm/components/flowEditor/components/setting.js +319 -0
- package/dist/esm/components/flowEditor/components/toolbar.js +120 -0
- package/dist/esm/components/flowEditor/flowEditor.js +287 -0
- package/dist/esm/components/flowEditor/nodes/endNode.js +144 -0
- package/dist/esm/components/flowEditor/nodes/index.js +66 -0
- package/dist/esm/components/flowEditor/nodes/processNode.js +142 -0
- package/dist/esm/components/flowEditor/nodes/startNode.js +144 -0
- package/dist/esm/components/flowEditor/utils/nodeDataUtils.js +82 -0
- package/dist/esm/components/form/drawerForm.js +5 -2
- package/dist/esm/components/form/modalForm.js +12 -9
- package/dist/esm/components/form/pageForm.js +21 -18
- package/dist/esm/components/form/pageTabForm.js +5 -2
- package/dist/esm/components/form/settingForm.js +11 -8
- package/dist/esm/components/formEditor/base/base.js +8 -5
- package/dist/esm/components/formEditor/base/setting.js +5 -2
- package/dist/esm/components/formEditor/components/cascader.js +6 -3
- package/dist/esm/components/formEditor/components/cascaderAsync.js +6 -3
- package/dist/esm/components/formEditor/components/checkbox.js +17 -14
- package/dist/esm/components/formEditor/components/color.js +6 -3
- package/dist/esm/components/formEditor/components/date.js +6 -3
- package/dist/esm/components/formEditor/components/dynamicInput.js +6 -3
- package/dist/esm/components/formEditor/components/dynamicTags.js +13 -10
- package/dist/esm/components/formEditor/components/editor.js +6 -3
- package/dist/esm/components/formEditor/components/fileUpload.js +6 -3
- package/dist/esm/components/formEditor/components/imageUpload.js +6 -3
- package/dist/esm/components/formEditor/components/input.js +6 -3
- package/dist/esm/components/formEditor/components/inputNumber.js +29 -26
- package/dist/esm/components/formEditor/components/mentionAsync.js +17 -14
- package/dist/esm/components/formEditor/components/radio.js +17 -14
- package/dist/esm/components/formEditor/components/region.js +19 -16
- package/dist/esm/components/formEditor/components/select.js +6 -3
- package/dist/esm/components/formEditor/components/selectAsync.js +12 -9
- package/dist/esm/components/formEditor/components/sider.js +6 -3
- package/dist/esm/components/formEditor/components/switch.js +22 -19
- package/dist/esm/components/formEditor/components/time.js +6 -3
- package/dist/esm/components/formEditor/components/transferAsync.js +26 -23
- package/dist/esm/components/formEditor/components/treeSelect.js +6 -3
- package/dist/esm/components/formEditor/components/treeSelectAsync.js +26 -23
- package/dist/esm/components/formEditor/editor.js +5 -2
- package/dist/esm/components/formEditor/renderer.js +5 -2
- package/dist/esm/components/icon/icon.js +5 -2
- package/dist/esm/components/layout/list.js +98 -86
- package/dist/esm/components/layout/table.js +125 -117
- package/dist/esm/components/layout/tools.js +109 -32
- package/dist/esm/components/level/level.js +5 -2
- package/dist/esm/components/list/card.js +27 -22
- package/dist/esm/components/list/list.js +16 -11
- package/dist/esm/components/posterEditor/pages/RightPanel.js +5 -2
- package/dist/esm/components/posterEditor/posterEditor.js +5 -2
- package/dist/esm/components/table/table.js +35 -28
- package/dist/esm/components/table/tablePage.js +17 -12
- package/dist/esm/components/upload/file.js +5 -2
- package/dist/esm/components/upload/image.js +18 -15
- package/dist/esm/components/upload/manage/item.js +5 -2
- package/dist/esm/components/upload/manager.js +5 -2
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/dialog.js +5 -2
- package/dist/esm/hooks/drawer.js +5 -2
- package/dist/esm/hooks/modal.js +5 -2
- package/dist/esm/hooks/table/image.js +5 -2
- package/dist/esm/hooks/table/media.js +5 -2
- package/dist/esm/hooks/table.js +25 -19
- package/dist/esm/index.js +252 -226
- package/dist/esm/langs/en-US.json.js +5 -5
- package/dist/esm/langs/zh-CN.json.js +6 -6
- package/dist/esm/main.js +4 -2
- package/dist/esm/pages/authLayout.js +5 -2
- package/dist/esm/pages/layout/page.js +9 -6
- package/dist/esm/pages/login.js +10 -7
- package/dist/esm/pages/menu/avatar.js +18 -15
- package/dist/esm/pages/menu/button.js +8 -5
- package/dist/esm/pages/menu/cmd.js +13 -10
- package/dist/esm/pages/menu/main.js +29 -26
- package/dist/esm/pages/menu/mobile.js +5 -2
- package/dist/esm/pages/page404.js +3 -0
- package/dist/esm/pages/pageStatus.js +5 -2
- package/dist/esm/theme/uno.css.js +75 -9
- package/dist/types/components/flowEditor/components/index.d.ts +3 -0
- package/dist/types/components/flowEditor/components/jsonEditor.d.ts +22 -0
- package/dist/types/components/flowEditor/components/nodeCard.d.ts +112 -0
- package/dist/types/components/flowEditor/components/setting.d.ts +16 -0
- package/dist/types/components/flowEditor/components/toolbar.d.ts +11 -0
- package/dist/types/components/flowEditor/flowEditor.d.ts +68 -0
- package/dist/types/components/flowEditor/index.d.ts +5 -0
- package/dist/types/components/flowEditor/nodes/endNode.d.ts +19 -0
- package/dist/types/components/flowEditor/nodes/index.d.ts +8 -0
- package/dist/types/components/flowEditor/nodes/processNode.d.ts +19 -0
- package/dist/types/components/flowEditor/nodes/startNode.d.ts +19 -0
- package/dist/types/components/flowEditor/types/index.d.ts +62 -0
- package/dist/types/components/flowEditor/utils/nodeDataUtils.d.ts +59 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/layout/list.d.ts +7 -0
- package/dist/types/components/layout/table.d.ts +7 -0
- package/dist/types/components/layout/tools.d.ts +28 -2
- package/dist/types/components/list/card.d.ts +6 -0
- package/dist/types/components/list/list.d.ts +6 -0
- package/dist/types/components/table/tablePage.d.ts +6 -0
- package/dist/types/main.d.ts +2 -0
- package/package.json +9 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useElementSize as
|
|
3
|
-
import { DuxListLayout as
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as S, ref as m, computed as g, toRef as z, createVNode as f, mergeProps as L } from "vue";
|
|
2
|
+
import { useElementSize as M, useWindowSize as P, watchDebounced as k } from "@vueuse/core";
|
|
3
|
+
import { DuxListLayout as h } from "../layout/list.js";
|
|
4
|
+
const G = /* @__PURE__ */ S({
|
|
5
5
|
name: "DuxCardPage",
|
|
6
6
|
props: {
|
|
7
7
|
colWidth: {
|
|
@@ -25,35 +25,36 @@ const j = /* @__PURE__ */ v({
|
|
|
25
25
|
default: ""
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
-
extends:
|
|
28
|
+
extends: h,
|
|
29
29
|
slots: Object,
|
|
30
30
|
setup(t, {
|
|
31
|
-
slots: a
|
|
31
|
+
slots: a,
|
|
32
|
+
expose: p
|
|
32
33
|
}) {
|
|
33
|
-
const
|
|
34
|
-
width:
|
|
35
|
-
} =
|
|
36
|
-
width:
|
|
37
|
-
} =
|
|
38
|
-
const i = e ||
|
|
39
|
-
return
|
|
40
|
-
}, o =
|
|
34
|
+
const w = m(), c = m(), {
|
|
35
|
+
width: l
|
|
36
|
+
} = M(w), {
|
|
37
|
+
width: b
|
|
38
|
+
} = P(), x = g(() => t.colWidth || 320), u = (e = 0) => {
|
|
39
|
+
const i = e || b.value || 1024, s = t.colWidth || 320, n = t.rows || 4, R = t.maxRows || 10, d = 0.25 * 16 * 3, r = Math.max(1, Math.floor((i + d) / (s + d))), v = Math.floor((1920 + d) / (s + d)) * n, W = Math.ceil(v / r), y = Math.min(Math.max(W, n), R);
|
|
40
|
+
return r * y;
|
|
41
|
+
}, o = z(t.pagination && typeof t.pagination == "object" ? t.pagination : {
|
|
41
42
|
page: 1,
|
|
42
43
|
pageSize: u()
|
|
43
44
|
});
|
|
44
|
-
|
|
45
|
+
k([l], () => {
|
|
45
46
|
if (t.pagination && typeof t.pagination == "object")
|
|
46
47
|
return;
|
|
47
|
-
const e = u(
|
|
48
|
+
const e = u(l.value);
|
|
48
49
|
e !== o.value.pageSize && (o.value.pageSize = e, o.value.page = 1);
|
|
49
50
|
}, {
|
|
50
51
|
debounce: 300
|
|
51
52
|
});
|
|
52
|
-
const
|
|
53
|
+
const C = g(() => {
|
|
53
54
|
const {
|
|
54
55
|
maxRows: e,
|
|
55
56
|
rows: i,
|
|
56
|
-
colWidth:
|
|
57
|
+
colWidth: s,
|
|
57
58
|
...n
|
|
58
59
|
} = t;
|
|
59
60
|
return {
|
|
@@ -61,11 +62,15 @@ const j = /* @__PURE__ */ v({
|
|
|
61
62
|
pagination: o.value
|
|
62
63
|
};
|
|
63
64
|
});
|
|
64
|
-
return (
|
|
65
|
-
|
|
65
|
+
return p({
|
|
66
|
+
list: c
|
|
67
|
+
}), () => f(h, L({
|
|
68
|
+
ref: c
|
|
69
|
+
}, C.value), {
|
|
70
|
+
default: (e) => f("div", {
|
|
66
71
|
class: "grid gap-3",
|
|
67
72
|
style: {
|
|
68
|
-
"grid-template-columns": `repeat(auto-fit, minmax(${
|
|
73
|
+
"grid-template-columns": `repeat(auto-fit, minmax(${x.value}px, 1fr))`
|
|
69
74
|
}
|
|
70
75
|
}, [e.list.value.map((i) => a?.default?.({
|
|
71
76
|
item: i,
|
|
@@ -81,5 +86,5 @@ const j = /* @__PURE__ */ v({
|
|
|
81
86
|
}
|
|
82
87
|
});
|
|
83
88
|
export {
|
|
84
|
-
|
|
89
|
+
G as DuxCardPage
|
|
85
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DuxListLayout as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, ref as n, computed as l, createVNode as o, mergeProps as p } from "vue";
|
|
2
|
+
import { DuxListLayout as s } from "../layout/list.js";
|
|
3
|
+
const m = /* @__PURE__ */ f({
|
|
4
4
|
name: "DuxListPage",
|
|
5
5
|
props: {
|
|
6
6
|
sideLeftTitle: {
|
|
@@ -12,12 +12,13 @@ const f = /* @__PURE__ */ c({
|
|
|
12
12
|
default: ""
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
extends:
|
|
15
|
+
extends: s,
|
|
16
16
|
slots: Object,
|
|
17
17
|
setup(d, {
|
|
18
|
-
slots: e
|
|
18
|
+
slots: e,
|
|
19
|
+
expose: a
|
|
19
20
|
}) {
|
|
20
|
-
const
|
|
21
|
+
const i = n(), r = l(() => {
|
|
21
22
|
const {
|
|
22
23
|
...t
|
|
23
24
|
} = d;
|
|
@@ -25,11 +26,15 @@ const f = /* @__PURE__ */ c({
|
|
|
25
26
|
...t
|
|
26
27
|
};
|
|
27
28
|
});
|
|
28
|
-
return (
|
|
29
|
-
|
|
29
|
+
return a({
|
|
30
|
+
list: i
|
|
31
|
+
}), () => o(s, p({
|
|
32
|
+
ref: i
|
|
33
|
+
}, r.value), {
|
|
34
|
+
default: (t) => o("div", {
|
|
30
35
|
class: "flex flex-col gap-3"
|
|
31
|
-
}, [t.list.value.map((
|
|
32
|
-
item:
|
|
36
|
+
}, [t.list.value.map((c) => e?.default?.({
|
|
37
|
+
item: c,
|
|
33
38
|
isChecked: t.isChecked,
|
|
34
39
|
toggleChecked: t.toggleChecked
|
|
35
40
|
}))]),
|
|
@@ -42,5 +47,5 @@ const f = /* @__PURE__ */ c({
|
|
|
42
47
|
}
|
|
43
48
|
});
|
|
44
49
|
export {
|
|
45
|
-
|
|
50
|
+
m as DuxListPage
|
|
46
51
|
};
|
|
@@ -51,6 +51,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../../../pages/page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
+
import "@vue-flow/core";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
54
57
|
import "@iconify-json/tabler/icons.json";
|
|
55
58
|
import "../elements/index.js";
|
|
56
59
|
import "fabric";
|
|
@@ -63,7 +66,7 @@ import { DuxImageUpload as b } from "../../upload/image.js";
|
|
|
63
66
|
function C(t) {
|
|
64
67
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !s(t);
|
|
65
68
|
}
|
|
66
|
-
const
|
|
69
|
+
const qe = /* @__PURE__ */ v({
|
|
67
70
|
name: "RightPanel",
|
|
68
71
|
props: {
|
|
69
72
|
hasMultipleSelection: {
|
|
@@ -432,5 +435,5 @@ const Ie = /* @__PURE__ */ v({
|
|
|
432
435
|
}
|
|
433
436
|
});
|
|
434
437
|
export {
|
|
435
|
-
|
|
438
|
+
qe as RightPanel
|
|
436
439
|
};
|
|
@@ -52,6 +52,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
52
52
|
import "../../pages/page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "@vue-flow/core";
|
|
56
|
+
import "@vue-flow/background";
|
|
57
|
+
/* empty css */
|
|
55
58
|
import "@iconify-json/tabler/icons.json";
|
|
56
59
|
import "./elements/index.js";
|
|
57
60
|
import { usePosterEditor as q } from "./hooks/usePosterEditor.js";
|
|
@@ -62,7 +65,7 @@ import "dayjs";
|
|
|
62
65
|
import "@tanstack/vue-query";
|
|
63
66
|
import "pinia";
|
|
64
67
|
import { DuxImageUpload as Q } from "../upload/image.js";
|
|
65
|
-
const
|
|
68
|
+
const ua = /* @__PURE__ */ T({
|
|
66
69
|
name: "DuxPosterEditor",
|
|
67
70
|
props: {
|
|
68
71
|
data: {
|
|
@@ -238,5 +241,5 @@ const ra = /* @__PURE__ */ T({
|
|
|
238
241
|
}
|
|
239
242
|
});
|
|
240
243
|
export {
|
|
241
|
-
|
|
244
|
+
ua as DuxPosterEditor
|
|
242
245
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { useWindowSize as
|
|
4
|
-
import { NDataTable as
|
|
1
|
+
import { defineComponent as f, computed as d, toRef as c, createVNode as i, mergeProps as m } from "vue";
|
|
2
|
+
import { useI18n as b } from "@duxweb/dvha-core";
|
|
3
|
+
import { useWindowSize as g } from "@vueuse/core";
|
|
4
|
+
import { NDataTable as p, NPagination as x } from "naive-ui";
|
|
5
5
|
import "vue-router";
|
|
6
6
|
import "@overlastic/vue";
|
|
7
7
|
import "clsx";
|
|
@@ -21,7 +21,7 @@ import "vue-cropper";
|
|
|
21
21
|
import "jinrishici";
|
|
22
22
|
import "lodash-es";
|
|
23
23
|
import "vue-draggable-plus";
|
|
24
|
-
import { DuxListEmpty as
|
|
24
|
+
import { DuxListEmpty as y } from "../status/listEmpty.js";
|
|
25
25
|
import "@vee-validate/i18n";
|
|
26
26
|
import "colorizr";
|
|
27
27
|
import "echarts";
|
|
@@ -51,15 +51,18 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../../pages/page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
+
import "@vue-flow/core";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
54
57
|
import "mime";
|
|
55
58
|
import "@iconify-json/tabler/icons.json";
|
|
56
59
|
import "../posterEditor/elements/index.js";
|
|
57
60
|
import "fabric";
|
|
58
61
|
import "dayjs";
|
|
59
62
|
import "@tanstack/vue-query";
|
|
60
|
-
import { useTable as
|
|
63
|
+
import { useTable as h } from "../../hooks/table.js";
|
|
61
64
|
import "pinia";
|
|
62
|
-
const
|
|
65
|
+
const zt = /* @__PURE__ */ f({
|
|
63
66
|
name: "DuxTable",
|
|
64
67
|
props: {
|
|
65
68
|
path: {
|
|
@@ -77,30 +80,34 @@ const Lt = /* @__PURE__ */ u({
|
|
|
77
80
|
default: !0
|
|
78
81
|
}
|
|
79
82
|
},
|
|
80
|
-
extends:
|
|
81
|
-
setup(o
|
|
82
|
-
|
|
83
|
+
extends: p,
|
|
84
|
+
setup(o, {
|
|
85
|
+
expose: e
|
|
86
|
+
}) {
|
|
87
|
+
const n = d(() => {
|
|
83
88
|
const {
|
|
84
89
|
path: t,
|
|
85
|
-
filter:
|
|
86
|
-
columns:
|
|
87
|
-
pagination:
|
|
88
|
-
...
|
|
90
|
+
filter: v,
|
|
91
|
+
columns: D,
|
|
92
|
+
pagination: P,
|
|
93
|
+
...u
|
|
89
94
|
} = o;
|
|
90
|
-
return
|
|
91
|
-
}),
|
|
95
|
+
return u;
|
|
96
|
+
}), l = c(o.filter || {}), r = h({
|
|
92
97
|
path: o.path,
|
|
93
|
-
filters:
|
|
98
|
+
filters: l.value,
|
|
94
99
|
columns: o.columns || [],
|
|
95
100
|
pagination: o.pagination
|
|
96
|
-
})
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} =
|
|
101
|
+
});
|
|
102
|
+
e(r);
|
|
103
|
+
const {
|
|
104
|
+
width: a
|
|
105
|
+
} = g(), {
|
|
106
|
+
t: s
|
|
107
|
+
} = b();
|
|
101
108
|
return () => i("div", {
|
|
102
109
|
class: "flex flex-col gap-2"
|
|
103
|
-
}, [i(
|
|
110
|
+
}, [i(p, m(n.value, r.table.value, {
|
|
104
111
|
class: "flex-1 min-h-0",
|
|
105
112
|
minHeight: 200,
|
|
106
113
|
tableLayout: "fixed",
|
|
@@ -109,20 +116,20 @@ const Lt = /* @__PURE__ */ u({
|
|
|
109
116
|
bordered: !1,
|
|
110
117
|
renderCell: (t) => t == null || t === "" ? "-" : t
|
|
111
118
|
}), {
|
|
112
|
-
empty: () => i(
|
|
119
|
+
empty: () => i(y, {
|
|
113
120
|
bordered: !1
|
|
114
121
|
}, null)
|
|
115
122
|
}), o.pagination && i("div", {
|
|
116
123
|
class: "flex justify-end"
|
|
117
|
-
}, [i(
|
|
118
|
-
simple:
|
|
124
|
+
}, [i(x, m(r.tablePagination.value, {
|
|
125
|
+
simple: a.value < 768
|
|
119
126
|
}), {
|
|
120
|
-
prefix: () => i("div", null, [
|
|
127
|
+
prefix: () => i("div", null, [s("components.list.total", {
|
|
121
128
|
total: r.total.value || 0
|
|
122
129
|
})])
|
|
123
130
|
})])]);
|
|
124
131
|
}
|
|
125
132
|
});
|
|
126
133
|
export {
|
|
127
|
-
|
|
134
|
+
zt as DuxTable
|
|
128
135
|
};
|
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { NDataTable as
|
|
3
|
-
import { DuxTableLayout as
|
|
1
|
+
import { defineComponent as b, ref as p, computed as f, createVNode as r, mergeProps as l } from "vue";
|
|
2
|
+
import { NDataTable as s } from "naive-ui";
|
|
3
|
+
import { DuxTableLayout as d } from "../layout/table.js";
|
|
4
4
|
import "@duxweb/dvha-core";
|
|
5
5
|
import "clsx";
|
|
6
|
-
import { DuxListEmpty as
|
|
7
|
-
const
|
|
6
|
+
import { DuxListEmpty as u } from "../status/listEmpty.js";
|
|
7
|
+
const L = /* @__PURE__ */ b({
|
|
8
8
|
name: "DuxTablePage",
|
|
9
9
|
props: {
|
|
10
10
|
tableProps: {
|
|
11
11
|
type: Object
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
extends:
|
|
14
|
+
extends: d,
|
|
15
15
|
slots: Object,
|
|
16
16
|
setup(a, {
|
|
17
|
-
slots: t
|
|
17
|
+
slots: t,
|
|
18
|
+
expose: n
|
|
18
19
|
}) {
|
|
19
|
-
const
|
|
20
|
+
const i = p(), m = f(() => {
|
|
20
21
|
const {
|
|
21
22
|
tableProps: o,
|
|
22
23
|
...e
|
|
23
24
|
} = a;
|
|
24
25
|
return e;
|
|
25
26
|
});
|
|
26
|
-
return (
|
|
27
|
-
|
|
27
|
+
return n({
|
|
28
|
+
table: i
|
|
29
|
+
}), () => r(d, l({
|
|
30
|
+
ref: i
|
|
31
|
+
}, m.value), {
|
|
32
|
+
default: (o) => r(s, l(o.table.value, a.tableProps, {
|
|
28
33
|
class: "h-full",
|
|
29
34
|
minHeight: 200,
|
|
30
35
|
tableLayout: "fixed",
|
|
@@ -34,7 +39,7 @@ const g = /* @__PURE__ */ l({
|
|
|
34
39
|
scrollX: o.width,
|
|
35
40
|
renderCell: (e) => e == null || e === "" ? "-" : e
|
|
36
41
|
}), {
|
|
37
|
-
empty: () => r(
|
|
42
|
+
empty: () => r(u, {
|
|
38
43
|
bordered: !1
|
|
39
44
|
}, null)
|
|
40
45
|
}),
|
|
@@ -48,5 +53,5 @@ const g = /* @__PURE__ */ l({
|
|
|
48
53
|
}
|
|
49
54
|
});
|
|
50
55
|
export {
|
|
51
|
-
|
|
56
|
+
L as DuxTablePage
|
|
52
57
|
};
|
|
@@ -52,6 +52,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
52
52
|
import "../../pages/page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "@vue-flow/core";
|
|
56
|
+
import "@vue-flow/background";
|
|
57
|
+
/* empty css */
|
|
55
58
|
import { useModal as G } from "../../hooks/modal.js";
|
|
56
59
|
import { useUploadConfig as _ } from "./config.js";
|
|
57
60
|
import "@iconify-json/tabler/icons.json";
|
|
@@ -94,7 +97,7 @@ const p = {
|
|
|
94
97
|
empty: "flex items-center justify-center h-full text-muted",
|
|
95
98
|
actions: "flex gap-2"
|
|
96
99
|
}
|
|
97
|
-
},
|
|
100
|
+
}, at = /* @__PURE__ */ A({
|
|
98
101
|
name: "DuxFileUpload",
|
|
99
102
|
props: {
|
|
100
103
|
path: {
|
|
@@ -309,5 +312,5 @@ const p = {
|
|
|
309
312
|
}
|
|
310
313
|
});
|
|
311
314
|
export {
|
|
312
|
-
|
|
315
|
+
at as DuxFileUpload
|
|
313
316
|
};
|
|
@@ -50,6 +50,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
50
50
|
import "../../pages/page404.js";
|
|
51
51
|
import "short-unique-id";
|
|
52
52
|
import "aieditor";
|
|
53
|
+
import "@vue-flow/core";
|
|
54
|
+
import "@vue-flow/background";
|
|
55
|
+
/* empty css */
|
|
53
56
|
import { useModal as L } from "../../hooks/modal.js";
|
|
54
57
|
import "mime";
|
|
55
58
|
import { useUploadConfig as O } from "./config.js";
|
|
@@ -60,7 +63,7 @@ import "dayjs";
|
|
|
60
63
|
import { useImagePreview as q } from "../../hooks/image.js";
|
|
61
64
|
import "@tanstack/vue-query";
|
|
62
65
|
import "pinia";
|
|
63
|
-
const
|
|
66
|
+
const Ze = /* @__PURE__ */ U({
|
|
64
67
|
name: "DuxImageUpload",
|
|
65
68
|
props: {
|
|
66
69
|
path: {
|
|
@@ -100,7 +103,7 @@ const We = /* @__PURE__ */ U({
|
|
|
100
103
|
defaultValue: t.defaultValue
|
|
101
104
|
}), h = A(), f = q(), {
|
|
102
105
|
t: u
|
|
103
|
-
} = w(),
|
|
106
|
+
} = w(), i = {
|
|
104
107
|
container: "flex gap-2",
|
|
105
108
|
imageItem: "size-80px rounded border border-muted relative group draggable flex items-center",
|
|
106
109
|
imageOverlay: "z-1 size-full inset-0 absolute flex items-center justify-center bg-default/80 transition-all opacity-0 group-hover:opacity-100 rounded",
|
|
@@ -134,7 +137,7 @@ const We = /* @__PURE__ */ U({
|
|
|
134
137
|
driver: y.value
|
|
135
138
|
});
|
|
136
139
|
c(r.dataFiles, (e) => {
|
|
137
|
-
const o = t.multiple ? e?.map((
|
|
140
|
+
const o = t.multiple ? e?.map((l) => l.url) : e?.[0]?.url;
|
|
138
141
|
n.value = o, t.onUpdateValue?.(o);
|
|
139
142
|
});
|
|
140
143
|
const z = m(() => r.progress.value.totalPercent), F = m(() => r.isUploading.value), P = async () => {
|
|
@@ -145,31 +148,31 @@ const We = /* @__PURE__ */ U({
|
|
|
145
148
|
return;
|
|
146
149
|
p.value = !0;
|
|
147
150
|
const o = typeof e == "string" ? [e] : Array.isArray(e) ? e : [];
|
|
148
|
-
r.addDataFiles(o.map((
|
|
149
|
-
url:
|
|
151
|
+
r.addDataFiles(o.map((l) => ({
|
|
152
|
+
url: l
|
|
150
153
|
})));
|
|
151
154
|
}, {
|
|
152
155
|
immediate: !0
|
|
153
156
|
}), () => a("div", null, [a(M, {
|
|
154
157
|
modelValue: r.uploadFiles.value,
|
|
155
158
|
"onUpdate:modelValue": (e) => r.uploadFiles.value = e,
|
|
156
|
-
class:
|
|
159
|
+
class: i.container,
|
|
157
160
|
draggable: ".draggable"
|
|
158
161
|
}, {
|
|
159
162
|
default: () => [r.uploadFiles.value?.map((e, o) => {
|
|
160
|
-
const
|
|
163
|
+
const l = e.url || URL.createObjectURL(e.file);
|
|
161
164
|
return a("div", {
|
|
162
165
|
key: o,
|
|
163
|
-
class: j(
|
|
166
|
+
class: j(i.imageItem)
|
|
164
167
|
}, [a(D, {
|
|
165
168
|
class: "z-0 rounded",
|
|
166
169
|
objectFit: "scale-down",
|
|
167
170
|
width: 78,
|
|
168
171
|
height: 78,
|
|
169
172
|
previewDisabled: !0,
|
|
170
|
-
src:
|
|
173
|
+
src: l
|
|
171
174
|
}, null), a("div", {
|
|
172
|
-
class:
|
|
175
|
+
class: i.imageOverlay
|
|
173
176
|
}, [e.status === "success" && a(g, {
|
|
174
177
|
quaternary: !0,
|
|
175
178
|
circle: !0,
|
|
@@ -190,7 +193,7 @@ const We = /* @__PURE__ */ U({
|
|
|
190
193
|
}
|
|
191
194
|
}, null)])]);
|
|
192
195
|
}), (r.uploadFiles.value.length === 0 || !C.value) && a("div", {
|
|
193
|
-
class:
|
|
196
|
+
class: i.uploadArea,
|
|
194
197
|
onClick: () => {
|
|
195
198
|
P();
|
|
196
199
|
}
|
|
@@ -220,13 +223,13 @@ const We = /* @__PURE__ */ U({
|
|
|
220
223
|
}, [a("div", {
|
|
221
224
|
class: "i-tabler:folder size-4"
|
|
222
225
|
}, null)]), a("div", {
|
|
223
|
-
class:
|
|
226
|
+
class: i.uploadContent
|
|
224
227
|
}, [F.value ? a("div", {
|
|
225
|
-
class:
|
|
228
|
+
class: i.progressContainer
|
|
226
229
|
}, [a("div", {
|
|
227
230
|
class: "i-tabler:photo size-6"
|
|
228
231
|
}, null), a("div", {
|
|
229
|
-
class:
|
|
232
|
+
class: i.progressBar
|
|
230
233
|
}, [a(B, {
|
|
231
234
|
type: "line",
|
|
232
235
|
percentage: z.value,
|
|
@@ -239,5 +242,5 @@ const We = /* @__PURE__ */ U({
|
|
|
239
242
|
}
|
|
240
243
|
});
|
|
241
244
|
export {
|
|
242
|
-
|
|
245
|
+
Ze as DuxImageUpload
|
|
243
246
|
};
|
|
@@ -51,6 +51,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
51
51
|
import "../../../pages/page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
53
53
|
import "aieditor";
|
|
54
|
+
import "@vue-flow/core";
|
|
55
|
+
import "@vue-flow/background";
|
|
56
|
+
/* empty css */
|
|
54
57
|
import "mime";
|
|
55
58
|
import f from "../../../static/images/icon/audio.svg.js";
|
|
56
59
|
import g from "../../../static/images/icon/excel.svg.js";
|
|
@@ -66,7 +69,7 @@ import "fabric";
|
|
|
66
69
|
import "dayjs";
|
|
67
70
|
import "@tanstack/vue-query";
|
|
68
71
|
import "pinia";
|
|
69
|
-
const
|
|
72
|
+
const qe = /* @__PURE__ */ c({
|
|
70
73
|
name: "DuxFileManageItem",
|
|
71
74
|
props: {
|
|
72
75
|
name: String,
|
|
@@ -201,5 +204,5 @@ const Oe = /* @__PURE__ */ c({
|
|
|
201
204
|
}
|
|
202
205
|
});
|
|
203
206
|
export {
|
|
204
|
-
|
|
207
|
+
qe as DuxFileManageItem
|
|
205
208
|
};
|
|
@@ -52,6 +52,9 @@ import "@duxweb/dvha-naiveui";
|
|
|
52
52
|
import "../../pages/page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
55
|
+
import "@vue-flow/core";
|
|
56
|
+
import "@vue-flow/background";
|
|
57
|
+
/* empty css */
|
|
55
58
|
import "mime";
|
|
56
59
|
import { useUploadConfig as ae } from "./config.js";
|
|
57
60
|
import "@iconify-json/tabler/icons.json";
|
|
@@ -64,7 +67,7 @@ import { DuxFileManageItem as T } from "./manage/item.js";
|
|
|
64
67
|
function M(t) {
|
|
65
68
|
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !q(t);
|
|
66
69
|
}
|
|
67
|
-
const
|
|
70
|
+
const va = /* @__PURE__ */ z({
|
|
68
71
|
name: "DuxFileManage",
|
|
69
72
|
props: {
|
|
70
73
|
path: String,
|
|
@@ -420,5 +423,5 @@ const pa = /* @__PURE__ */ z({
|
|
|
420
423
|
}
|
|
421
424
|
});
|
|
422
425
|
export {
|
|
423
|
-
|
|
426
|
+
va as default
|
|
424
427
|
};
|
package/dist/esm/dvha-pro.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@charset "UTF-8";.n-popover-shared .n-popover-arrow-wrapper .n-popover-arrow{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.n-dropdown-menu{min-width:130px}.icon-gradient{color:rgb(var(--ui-color-primary));animation:icon-color-cycle 12s ease-in-out infinite}@keyframes icon-color-cycle{0%{color:rgb(var(--ui-color-primary))}20%{color:rgb(var(--ui-color-info))}40%{color:rgb(var(--ui-color-success))}60%{color:rgb(var(--ui-color-warning))}80%{color:rgb(var(--ui-color-error))}to{color:rgb(var(--ui-color-primary))}}@keyframes icon-gradient-shift{0%{background-position:0% 50%}25%{background-position:50% 0%}50%{background-position:100% 50%}75%{background-position:50% 100%}to{background-position:0% 50%}}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-pad{border:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__prefix,.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-nav__suffix{border-bottom:none}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--card-type .n-tabs-tab{padding:0;border-bottom:none;border-radius:0;background-color:transparent}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{height:20px;width:1px;background-color:#0000001a;border-bottom:none;position:absolute;top:50%;transform:translateY(-50%)}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab{background-color:transparent;border-bottom:none;border:none;position:relative}.app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab.n-tabs-tab--active{background-color:transparent}.dark .app-page-tabs.n-tabs .n-tabs-nav.n-tabs-nav--top.n-tabs-nav--card-type .n-tabs-tab-pad{background-color:#ffffff1a}.app-modal-tabs.n-tabs .n-tabs-wrapper{padding:0 16px}.app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-color-gray-200)/.2)}.app-modal-tabs.n-tabs .n-tabs-tab{padding:12px 4px;font-size:var(--n-font-size)}.dark .app-modal-tabs.n-tabs .n-tabs-nav{background-color:rgb(var(--ui-bg-elevated)/.5)}.app-page-tabs.n-tabs{display:flex;height:100%;flex-direction:column}.app-page-tabs.n-tabs .n-tabs-nav{flex:none}.app-page-tabs.n-tabs .n-tab-pane{flex:1;min-height:0;overflow-y:auto;padding:20px}.app-page-tabs.n-tabs .n-tabs-tab{font-size:.85rem;padding:1rem}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}.app-loading{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;background-color:rgb(var(--ui-bg));overflow:hidden}.app-box-loading{width:50px;height:50px;position:relative}.app-box-loading:before{content:"";width:50px;height:5px;background:rgb(var(--ui-color-gray-200));opacity:.3;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.app-box-loading:after{content:"";width:50px;height:50px;background:rgba(var(--ui-color-primary));animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}html{color-scheme:light;background-color:rgb(var(--ui-color-primary-700)/.05)}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}.tab-fade-leave-active,.tab-fade-enter-active{transition:all .3s}.tab-fade-enter-from{opacity:0;transform:translate(-30px)}.tab-fade-enter-to{opacity:1;transform:translate(0)}.tab-fade-leave-to{opacity:0;transform:translate(30px)}
|
|
1
|
+
@charset "UTF-8";.vue-flow__handle{transition:box-shadow .2s ease}.vue-flow__handle:hover{box-shadow:0 0 0 3px #3b82f680}.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)}.app-page-tabs.n-tabs{display:flex;height:100%;flex-direction:column}.app-page-tabs.n-tabs .n-tabs-nav{flex:none}.app-page-tabs.n-tabs .n-tab-pane{flex:1;min-height:0;overflow-y:auto;padding:20px}.app-page-tabs.n-tabs .n-tabs-tab{font-size:.85rem;padding:1rem}.n-data-table .n-data-table-thead{border:1px solid rgb(var(--ui-border-muted))}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th:first-child{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem;border-left:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-thead .n-data-table-tr>.n-data-table-th--last{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem;border-right:1px solid rgba(var(--ui-border-accented)/.5)}.n-data-table .n-data-table-th{border-top:1px solid rgba(var(--ui-border-accented)/.5);border-bottom:1px solid rgba(var(--ui-border-accented)/.5)}.command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.3);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:100vh;width:100vw;position:fixed;top:0;left:0;z-index:1000}.command-palette [command-dialog-wrapper]{position:relative;flex-direction:column;margin:20vh auto auto;max-width:560px;background-color:rgb(var(--ui-bg)/.9);border-radius:6px}.command-palette [command-group-heading]{color:rgba(var(--ui-text-muted));padding:6px}.command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border-muted));margin:6px 0}.command-palette [command-list]{border-top:1px solid rgb(var(--ui-border-muted));padding:0 6px 6px}.command-palette [command-item]{padding:6px 12px;display:flex;align-items:center;gap:6px;border-radius:3px;color:rgba(var(--ui-text-toned))}.command-palette [command-item][aria-selected=true],.command-palette [command-item]:active{background-color:rgb(var(--ui-bg-accented)/.8);color:rgba(var(--ui-color-primary-500))}.dark .command-palette [command-dialog-mask]{background-color:rgb(var(--ui-bg-inverted)/.02)}.dark .command-palette [command-dialog-wrapper]{background-color:rgb(var(--ui-bg-elevated)/.95)}.dark .command-palette [command-separator]{border-bottom:1px solid rgb(var(--ui-border)/.5)}.dark .command-palette [command-list]{border-top:1px solid rgb(var(--ui-border)/.5)}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content-header{opacity:1}.n-menu.n-menu--collapsed .n-menu-item-content .n-menu-item-content__arrow{display:none}.app-login-bg{background-image:repeating-linear-gradient(90deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,hsla(298,16%,68%,.06) 0px,hsla(298,16%,68%,.06) 1px,transparent 1px,transparent 21px,hsla(298,16%,68%,.06) 21px,hsla(298,16%,68%,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#f7f7f8,#f7f7f8)}.app-login-dark-bg{background-image:repeating-linear-gradient(90deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(0deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),repeating-linear-gradient(135deg,rgba(90,90,90,.06) 0px,rgba(90,90,90,.06) 1px,transparent 1px,transparent 21px,rgba(90,90,90,.06) 21px,rgba(90,90,90,.06) 22px,transparent 22px,transparent 72px),linear-gradient(90deg,#101014,#101014)}.app-loading{position:fixed;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1000;background-color:rgb(var(--ui-bg));overflow:hidden}.app-box-loading{width:50px;height:50px;position:relative}.app-box-loading:before{content:"";width:50px;height:5px;background:rgb(var(--ui-color-gray-200));opacity:.3;position:absolute;top:59px;left:0;border-radius:50%;animation:shadow .5s linear infinite}.app-box-loading:after{content:"";width:50px;height:50px;background:rgba(var(--ui-color-primary));animation:animate .5s linear infinite;position:absolute;top:0;left:0;border-radius:3px}@keyframes animate{17%{border-bottom-right-radius:3px}25%{transform:translateY(9px) rotate(22.5deg)}50%{transform:translateY(18px) scaleY(.9) rotate(45deg);border-bottom-right-radius:40px}75%{transform:translateY(9px) rotate(67.5deg)}to{transform:translateY(0) rotate(90deg)}}@keyframes shadow{0%,to{transform:scale(1)}50%{transform:scaleX(1.2)}}html{color-scheme:light;background-color:rgb(var(--ui-color-primary-700)/.05)}html.dark{color-scheme:dark;background-color:rgb(var(--ui-bg)/.5)}[un-cloak]{display:none}.app-remote-loader{height:100%}.tab-fade-leave-active,.tab-fade-enter-active{transition:all .3s}.tab-fade-enter-from{opacity:0;transform:translate(-30px)}.tab-fade-enter-to{opacity:1;transform:translate(0)}.tab-fade-leave-to{opacity:0;transform:translate(30px)}
|
package/dist/esm/hooks/dialog.js
CHANGED
|
@@ -55,10 +55,13 @@ import "../pages/page404.js";
|
|
|
55
55
|
import "short-unique-id";
|
|
56
56
|
import m from "../components/dialog/dialog.js";
|
|
57
57
|
import "aieditor";
|
|
58
|
+
import "@vue-flow/core";
|
|
59
|
+
import "@vue-flow/background";
|
|
60
|
+
/* empty css */
|
|
58
61
|
import "@iconify-json/tabler/icons.json";
|
|
59
62
|
import "../components/posterEditor/elements/index.js";
|
|
60
63
|
import "fabric";
|
|
61
|
-
function
|
|
64
|
+
function hr() {
|
|
62
65
|
const t = p(m), o = (r) => t(r);
|
|
63
66
|
return {
|
|
64
67
|
confirm: (r) => o({
|
|
@@ -84,5 +87,5 @@ function Dr() {
|
|
|
84
87
|
};
|
|
85
88
|
}
|
|
86
89
|
export {
|
|
87
|
-
|
|
90
|
+
hr as useDialog
|
|
88
91
|
};
|
package/dist/esm/hooks/drawer.js
CHANGED
|
@@ -55,15 +55,18 @@ import "../pages/page404.js";
|
|
|
55
55
|
import m from "../components/drawer/drawer.js";
|
|
56
56
|
import "short-unique-id";
|
|
57
57
|
import "aieditor";
|
|
58
|
+
import "@vue-flow/core";
|
|
59
|
+
import "@vue-flow/background";
|
|
60
|
+
/* empty css */
|
|
58
61
|
import "@iconify-json/tabler/icons.json";
|
|
59
62
|
import "../components/posterEditor/elements/index.js";
|
|
60
63
|
import "fabric";
|
|
61
|
-
function
|
|
64
|
+
function Dr() {
|
|
62
65
|
const r = t(m);
|
|
63
66
|
return {
|
|
64
67
|
show: (o) => r(o)
|
|
65
68
|
};
|
|
66
69
|
}
|
|
67
70
|
export {
|
|
68
|
-
|
|
71
|
+
Dr as useDrawer
|
|
69
72
|
};
|
package/dist/esm/hooks/modal.js
CHANGED
|
@@ -55,15 +55,18 @@ import "vue-command-palette";
|
|
|
55
55
|
import "../pages/page404.js";
|
|
56
56
|
import "short-unique-id";
|
|
57
57
|
import "aieditor";
|
|
58
|
+
import "@vue-flow/core";
|
|
59
|
+
import "@vue-flow/background";
|
|
60
|
+
/* empty css */
|
|
58
61
|
import "@iconify-json/tabler/icons.json";
|
|
59
62
|
import "../components/posterEditor/elements/index.js";
|
|
60
63
|
import "fabric";
|
|
61
|
-
function
|
|
64
|
+
function ho() {
|
|
62
65
|
const o = t(m);
|
|
63
66
|
return {
|
|
64
67
|
show: (r) => o(r)
|
|
65
68
|
};
|
|
66
69
|
}
|
|
67
70
|
export {
|
|
68
|
-
|
|
71
|
+
ho as useModal
|
|
69
72
|
};
|