@duxweb/dvha-pro 1.0.48 → 1.0.50
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/components/card/card.cjs +1 -1
- package/dist/cjs/components/form/formItem.cjs +1 -1
- package/dist/cjs/components/panel/collapse.cjs +1 -1
- package/dist/cjs/components/status/blockEmpty.cjs +1 -1
- package/dist/cjs/components/table/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/menu/menuApp.cjs +1 -1
- package/dist/cjs/pages/menu/notice.cjs +1 -1
- package/dist/cjs/pages/pageException.cjs +1 -0
- package/dist/cjs/pages/pageStatus.cjs +1 -1
- package/dist/cjs/theme/naiveTheme.cjs +1 -1
- package/dist/cjs/theme/uno.css.cjs +9 -3
- package/dist/esm/components/card/card.js +2 -2
- package/dist/esm/components/form/formItem.js +8 -8
- package/dist/esm/components/panel/collapse.js +4 -4
- package/dist/esm/components/status/blockEmpty.js +6 -6
- package/dist/esm/components/table/table.js +1 -1
- package/dist/esm/index.js +72 -72
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +1 -1
- package/dist/esm/pages/menu/menuApp.js +14 -14
- package/dist/esm/pages/menu/notice.js +65 -59
- package/dist/esm/pages/pageException.js +45 -0
- package/dist/esm/pages/pageStatus.js +1 -1
- package/dist/esm/theme/naiveTheme.js +10 -19
- package/dist/esm/theme/uno.css.js +9 -3
- package/dist/types/index.d.ts +0 -1
- package/dist/types/main.d.ts +1 -4
- package/dist/types/pages/index.d.ts +1 -0
- package/dist/types/pages/pageException.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useI18n as
|
|
3
|
-
import { NPopover as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { DuxCard as
|
|
1
|
+
import { defineComponent as k, computed as d, ref as C, createVNode as t, Fragment as F, isVNode as S } from "vue";
|
|
2
|
+
import { useI18n as z, useManage as B, useList as M, useCustomMutation as R } from "@duxweb/dvha-core";
|
|
3
|
+
import { NPopover as _, NButton as u, NSpin as D, NTooltip as j, NBadge as A } from "naive-ui";
|
|
4
|
+
import { useRouter as L } from "vue-router";
|
|
5
|
+
import { DuxCard as O } from "../../components/card/card.js";
|
|
6
6
|
import "clsx";
|
|
7
7
|
import "vue-echarts";
|
|
8
8
|
import "@overlastic/vue";
|
|
@@ -27,7 +27,7 @@ import "ace-builds/src-noconflict/mode-snippets";
|
|
|
27
27
|
import "vue-cropper";
|
|
28
28
|
import "jinrishici";
|
|
29
29
|
import "vue-draggable-plus";
|
|
30
|
-
import { DuxBlockEmpty as
|
|
30
|
+
import { DuxBlockEmpty as P } from "../../components/status/blockEmpty.js";
|
|
31
31
|
import "@vee-validate/i18n";
|
|
32
32
|
import "colorizr";
|
|
33
33
|
import "echarts";
|
|
@@ -62,10 +62,10 @@ import "@vue-flow/background";
|
|
|
62
62
|
import "@iconify-json/tabler/icons.json";
|
|
63
63
|
import "../../components/posterEditor/elements/index.js";
|
|
64
64
|
import "fabric";
|
|
65
|
-
function
|
|
66
|
-
return typeof
|
|
65
|
+
function V(i) {
|
|
66
|
+
return typeof i == "function" || Object.prototype.toString.call(i) === "[object Object]" && !S(i);
|
|
67
67
|
}
|
|
68
|
-
const
|
|
68
|
+
const Kt = /* @__PURE__ */ k({
|
|
69
69
|
name: "DuxMenuNotice",
|
|
70
70
|
props: {
|
|
71
71
|
collapsed: {
|
|
@@ -75,61 +75,62 @@ const Ht = /* @__PURE__ */ b({
|
|
|
75
75
|
},
|
|
76
76
|
setup() {
|
|
77
77
|
const {
|
|
78
|
-
t:
|
|
79
|
-
} =
|
|
80
|
-
config:
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
t: i
|
|
79
|
+
} = z(), {
|
|
80
|
+
config: o,
|
|
81
|
+
getRoutePath: a
|
|
82
|
+
} = B(), n = L(), {
|
|
83
|
+
data: f,
|
|
84
|
+
isLoading: v,
|
|
85
|
+
refetch: h
|
|
86
|
+
} = M({
|
|
87
|
+
path: o.notice?.path || "notice",
|
|
87
88
|
pagination: {
|
|
88
89
|
page: 1,
|
|
89
90
|
pageSize: 10
|
|
90
91
|
}
|
|
91
92
|
}), {
|
|
92
|
-
mutate:
|
|
93
|
-
} =
|
|
94
|
-
path: `${
|
|
93
|
+
mutate: p
|
|
94
|
+
} = R({
|
|
95
|
+
path: `${o.notice?.path || "notice"}`,
|
|
95
96
|
method: "POST",
|
|
96
97
|
onSuccess: () => {
|
|
97
|
-
|
|
98
|
+
h();
|
|
98
99
|
}
|
|
99
|
-
}), l =
|
|
100
|
-
|
|
100
|
+
}), l = d(() => f.value?.data || []), s = d(() => l.value.some((e) => !e[o.notice?.readField || "read"])), r = C(!1), g = (e) => {
|
|
101
|
+
p({
|
|
101
102
|
payload: {
|
|
102
103
|
type: "all_read",
|
|
103
104
|
id: e.id
|
|
104
105
|
}
|
|
105
|
-
}),
|
|
106
|
-
},
|
|
107
|
-
|
|
106
|
+
}), r.value = !1;
|
|
107
|
+
}, x = () => {
|
|
108
|
+
p({
|
|
108
109
|
payload: {
|
|
109
110
|
type: "all_read"
|
|
110
111
|
}
|
|
111
|
-
}),
|
|
112
|
+
}), r.value = !1;
|
|
112
113
|
};
|
|
113
|
-
return () => t(
|
|
114
|
+
return () => t(_, {
|
|
114
115
|
trigger: "click",
|
|
115
116
|
arrowClass: "ml-2.5",
|
|
116
117
|
placement: "bottom-start",
|
|
117
118
|
style: "padding: 0",
|
|
118
|
-
width:
|
|
119
|
-
show:
|
|
120
|
-
onClickoutside: () =>
|
|
119
|
+
width: 300,
|
|
120
|
+
show: r.value,
|
|
121
|
+
onClickoutside: () => r.value = !1
|
|
121
122
|
}, {
|
|
122
|
-
trigger: () => t(
|
|
123
|
+
trigger: () => t(j, {
|
|
123
124
|
trigger: "hover",
|
|
124
125
|
placement: "right"
|
|
125
126
|
}, {
|
|
126
|
-
default: () =>
|
|
127
|
-
trigger: () => t(
|
|
128
|
-
onClick: () =>
|
|
127
|
+
default: () => i("components.menu.notice", "Notice"),
|
|
128
|
+
trigger: () => t(u, {
|
|
129
|
+
onClick: () => r.value = !0,
|
|
129
130
|
quaternary: !0
|
|
130
131
|
}, {
|
|
131
|
-
icon: () => t(
|
|
132
|
-
dot:
|
|
132
|
+
icon: () => t(A, {
|
|
133
|
+
dot: s.value,
|
|
133
134
|
offset: [-8, 8]
|
|
134
135
|
}, {
|
|
135
136
|
default: () => [t("div", {
|
|
@@ -140,41 +141,46 @@ const Ht = /* @__PURE__ */ b({
|
|
|
140
141
|
})
|
|
141
142
|
})
|
|
142
143
|
}),
|
|
143
|
-
default: () => t(
|
|
144
|
+
default: () => t(O, {
|
|
144
145
|
headerBordered: !0,
|
|
145
146
|
headerClass: "text-sm",
|
|
146
147
|
headerSize: "small",
|
|
147
148
|
contentSize: "none",
|
|
148
|
-
title:
|
|
149
|
+
title: i("components.menu.notice", "Notice")
|
|
149
150
|
}, {
|
|
150
|
-
default: () => t(
|
|
151
|
-
show:
|
|
151
|
+
default: () => t(F, null, [t(D, {
|
|
152
|
+
show: v.value
|
|
152
153
|
}, {
|
|
153
154
|
default: () => [l.value.length > 0 ? t("div", {
|
|
154
155
|
class: "p-2"
|
|
155
|
-
}, [l.value?.map((e,
|
|
156
|
-
const
|
|
156
|
+
}, [l.value?.map((e, y) => {
|
|
157
|
+
const N = e[o.notice?.urlField || "url"], m = o.notice?.readField || "read", b = o.notice?.descField || "desc", w = o.notice?.titleField || "title";
|
|
157
158
|
return t("div", {
|
|
158
|
-
|
|
159
|
-
class: "flex flex-col p-2 hover:bg-elevated rounded cursor-pointer",
|
|
159
|
+
class: "hover:bg-elevated rounded cursor-pointer p-2 flex gap-2 items-center",
|
|
160
160
|
onClick: () => {
|
|
161
|
-
|
|
161
|
+
const c = e[o.notice?.urlField || "url"];
|
|
162
|
+
c?.startsWith("http") ? window.open(c, "_blank") : n.push(a(o.notice?.path || "notice")), e[m] = !0, g(e);
|
|
162
163
|
}
|
|
164
|
+
}, [t("div", {
|
|
165
|
+
key: y,
|
|
166
|
+
class: "flex-1 min-w-0 flex flex-col"
|
|
163
167
|
}, [t("div", {
|
|
164
168
|
class: "flex items-center gap-2"
|
|
165
|
-
}, [e[
|
|
169
|
+
}, [e[m] ? t("div", {
|
|
166
170
|
class: "w-2 h-2 bg-elevated rounded-full"
|
|
167
171
|
}, null) : t("div", {
|
|
168
172
|
class: "w-2 h-2 bg-error rounded-full"
|
|
169
173
|
}, null), t("div", {
|
|
170
174
|
class: "flex-1 min-w-0 text-sm font-medium truncate"
|
|
171
|
-
}, [e[
|
|
175
|
+
}, [e[w]])]), t("div", {
|
|
172
176
|
class: "pl-4 text-xs text-muted line-clamp-2"
|
|
173
|
-
}, [e[
|
|
177
|
+
}, [e[b]])]), N?.startsWith("http") && t("div", null, [t("div", {
|
|
178
|
+
class: "i-tabler:external-link size-5 text-muted"
|
|
179
|
+
}, null)])]);
|
|
174
180
|
})]) : t("div", {
|
|
175
181
|
class: "p-4"
|
|
176
|
-
}, [t(
|
|
177
|
-
text:
|
|
182
|
+
}, [t(P, {
|
|
183
|
+
text: i("components.menu.noNotice", "No notices"),
|
|
178
184
|
simple: !0
|
|
179
185
|
}, null)])]
|
|
180
186
|
}), t("div", {
|
|
@@ -182,17 +188,17 @@ const Ht = /* @__PURE__ */ b({
|
|
|
182
188
|
}, [t("div", {
|
|
183
189
|
class: "text-center text-sm text-primary hover:text-primary-hover cursor-pointer py-1",
|
|
184
190
|
onClick: () => {
|
|
185
|
-
|
|
191
|
+
n.push(a(o.notice?.path || "notice")), r.value = !1;
|
|
186
192
|
}
|
|
187
|
-
}, [
|
|
193
|
+
}, [i("components.menu.viewAllNotices", "View all notices")])])]),
|
|
188
194
|
headerExtra: () => {
|
|
189
195
|
let e;
|
|
190
|
-
return t(
|
|
196
|
+
return t(u, {
|
|
191
197
|
size: "tiny",
|
|
192
198
|
quaternary: !0,
|
|
193
|
-
disabled: !
|
|
194
|
-
onClick:
|
|
195
|
-
},
|
|
199
|
+
disabled: !s.value,
|
|
200
|
+
onClick: x
|
|
201
|
+
}, V(e = i("components.menu.markAllRead", "Mark all read")) ? e : {
|
|
196
202
|
default: () => [e]
|
|
197
203
|
});
|
|
198
204
|
}
|
|
@@ -201,5 +207,5 @@ const Ht = /* @__PURE__ */ b({
|
|
|
201
207
|
}
|
|
202
208
|
});
|
|
203
209
|
export {
|
|
204
|
-
|
|
210
|
+
Kt as default
|
|
205
211
|
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { defineComponent as i, createVNode as e, resolveComponent as p, isVNode as s } from "vue";
|
|
2
|
+
import { useI18n as l } from "@duxweb/dvha-core";
|
|
3
|
+
import { NButton as a } from "naive-ui";
|
|
4
|
+
import { useRoute as f, useRouter as m } from "vue-router";
|
|
5
|
+
import { DuxPageStatus as d } from "./pageStatus.js";
|
|
6
|
+
function x(t) {
|
|
7
|
+
return typeof t == "function" || Object.prototype.toString.call(t) === "[object Object]" && !s(t);
|
|
8
|
+
}
|
|
9
|
+
const j = /* @__PURE__ */ i({
|
|
10
|
+
name: "DuxPageException",
|
|
11
|
+
setup(t) {
|
|
12
|
+
const n = f(), u = m(), {
|
|
13
|
+
t: o
|
|
14
|
+
} = l();
|
|
15
|
+
function c() {
|
|
16
|
+
u.push({
|
|
17
|
+
path: n.path,
|
|
18
|
+
query: {
|
|
19
|
+
...n.query,
|
|
20
|
+
t: Date.now()
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return () => e(d, {
|
|
25
|
+
title: o("pages.exception.title"),
|
|
26
|
+
desc: o("pages.exception.desc")
|
|
27
|
+
}, {
|
|
28
|
+
default: () => e("div", null, [e(p("dux-draw-error"), null, null)]),
|
|
29
|
+
action: () => {
|
|
30
|
+
let r;
|
|
31
|
+
return e(a, {
|
|
32
|
+
onClick: c,
|
|
33
|
+
renderIcon: () => e("div", {
|
|
34
|
+
class: "n-icon i-tabler:refresh"
|
|
35
|
+
}, null)
|
|
36
|
+
}, x(r = o("components.button.refresh")) ? r : {
|
|
37
|
+
default: () => [r]
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
j as DuxPageException
|
|
45
|
+
};
|
|
@@ -79,7 +79,7 @@ const ut = /* @__PURE__ */ o({
|
|
|
79
79
|
bordered: r.bordered
|
|
80
80
|
}, {
|
|
81
81
|
default: () => [t("div", {
|
|
82
|
-
class: "flex flex-col gap-6 justify-center items-center py-10"
|
|
82
|
+
class: "flex flex-col gap-6 justify-center items-center py-10 h-full"
|
|
83
83
|
}, [t("div", {
|
|
84
84
|
class: "w-40"
|
|
85
85
|
}, [i.default?.()]), t("div", {
|
|
@@ -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 a } from "lodash-es";
|
|
4
4
|
import { computed as l } from "vue";
|
|
5
|
-
function
|
|
6
|
-
const { getSceneColor: o, getSemanticColor: r } = C(), e = (
|
|
7
|
-
const t = i(
|
|
5
|
+
function p() {
|
|
6
|
+
const { getSceneColor: o, getSemanticColor: r } = C(), e = (n) => {
|
|
7
|
+
const t = i(n);
|
|
8
8
|
return `${t.r}, ${t.g},${t.b}`;
|
|
9
|
-
},
|
|
9
|
+
}, s = l(() => ({
|
|
10
10
|
common: {
|
|
11
11
|
primaryColor: o("primary"),
|
|
12
12
|
primaryColorHover: o("primary", "hover"),
|
|
@@ -41,14 +41,6 @@ function g() {
|
|
|
41
41
|
tdColorHover: r("bg", "elevated"),
|
|
42
42
|
thTextColor: r("text", "base")
|
|
43
43
|
},
|
|
44
|
-
Select: {
|
|
45
|
-
peers: {
|
|
46
|
-
InternalSelection: {
|
|
47
|
-
border: "1px solid rgb(var(--ui-border-accented))"
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
Button: {},
|
|
52
44
|
Tabs: {
|
|
53
45
|
tabTextColorCard: r("text", "toned"),
|
|
54
46
|
colorSegment: `rgba(${e(r("bg", "elevated"))})`,
|
|
@@ -57,9 +49,8 @@ function g() {
|
|
|
57
49
|
tabTextColorSegment: r("text", "toned"),
|
|
58
50
|
tabTextColorActiveSegment: r("text", "inverted"),
|
|
59
51
|
tabTextColorHoverSegment: r("text", "muted")
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
})), d = l(() => s(a.value, {
|
|
52
|
+
}
|
|
53
|
+
})), d = l(() => a(s.value, {
|
|
63
54
|
common: {
|
|
64
55
|
cardColor: r("bg", "base"),
|
|
65
56
|
modalColor: r("bg", "base"),
|
|
@@ -70,7 +61,7 @@ function g() {
|
|
|
70
61
|
DataTable: {
|
|
71
62
|
tdColor: r("bg", "base")
|
|
72
63
|
}
|
|
73
|
-
})),
|
|
64
|
+
})), m = l(() => a(s.value, {
|
|
74
65
|
common: {
|
|
75
66
|
cardColor: r("bg", "muted"),
|
|
76
67
|
modalColor: r("bg", "muted"),
|
|
@@ -84,9 +75,9 @@ function g() {
|
|
|
84
75
|
}));
|
|
85
76
|
return {
|
|
86
77
|
lightTheme: d,
|
|
87
|
-
darkTheme:
|
|
78
|
+
darkTheme: m
|
|
88
79
|
};
|
|
89
80
|
}
|
|
90
81
|
export {
|
|
91
|
-
|
|
82
|
+
p as themeOverrides
|
|
92
83
|
};
|
|
@@ -954,6 +954,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
954
954
|
.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;}
|
|
955
955
|
.i-tabler\\:edit{--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='M7 7H6a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-1'/%3E%3Cpath d='M20.385 6.585a2.1 2.1 0 0 0-2.97-2.97L9 12v3h3zM16 5l3 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;}
|
|
956
956
|
.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
|
+
.i-tabler\\:external-link{--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 6H6a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-6m-7 1l9-9m-5 0h5v5'/%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
958
|
.i-tabler\\:eye{--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='M10 12a2 2 0 1 0 4 0a2 2 0 0 0-4 0'/%3E%3Cpath d='M21 12q-3.6 6-9 6t-9-6q3.6-6 9-6t9 6'/%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;}
|
|
958
959
|
.i-tabler\\:eye-off{--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='M10.585 10.587a2 2 0 0 0 2.829 2.828'/%3E%3Cpath d='M16.681 16.673A8.7 8.7 0 0 1 12 18q-5.4 0-9-6q1.908-3.18 4.32-4.674m2.86-1.146A9 9 0 0 1 12 6q5.4 0 9 6q-1 1.665-2.138 2.87M3 3l18 18'/%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;}
|
|
959
960
|
.i-tabler\\:file-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='M14 3v4a1 1 0 0 0 1 1h4'/%3E%3Cpath d='M11.5 21H7a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7l5 5v5m-5 6h7m-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;}
|
|
@@ -1160,6 +1161,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1160
1161
|
.rounded-sm{border-radius:var(--radius-sm);}
|
|
1161
1162
|
.rounded-b{border-bottom-left-radius:var(--radius-DEFAULT);border-bottom-right-radius:var(--radius-DEFAULT);}
|
|
1162
1163
|
.rounded-t{border-top-left-radius:var(--radius-DEFAULT);border-top-right-radius:var(--radius-DEFAULT);}
|
|
1164
|
+
.rounded-t-sm{border-top-left-radius:var(--radius-sm);border-top-right-radius:var(--radius-sm);}
|
|
1163
1165
|
.rounded-br{border-bottom-right-radius:var(--radius-DEFAULT);}
|
|
1164
1166
|
.rounded-tl{border-top-left-radius:var(--radius-DEFAULT);}
|
|
1165
1167
|
.border-dashed{--un-border-style:dashed;border-style:dashed;}
|
|
@@ -1442,16 +1444,18 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1442
1444
|
.bg-muted,
|
|
1443
1445
|
.dark .dark\\:bg-muted{background-color:color-mix(in oklab, rgb(var(--ui-bg-muted)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:100%;}
|
|
1444
1446
|
.hover\\:bg-muted:hover{background-color:color-mix(in oklab, rgb(var(--ui-bg-muted)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:100%;}
|
|
1445
|
-
.bg-
|
|
1447
|
+
.dark .dark\\:bg-muted\\/80{background-color:color-mix(in oklab, rgb(var(--ui-bg-muted)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:80%;}
|
|
1448
|
+
.bg-elevated,
|
|
1449
|
+
.dark .dark\\:bg-elevated{background-color:color-mix(in oklab, rgb(var(--ui-bg-elevated)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:100%;}
|
|
1446
1450
|
.hover\\:bg-elevated:hover{background-color:color-mix(in oklab, rgb(var(--ui-bg-elevated)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:100%;}
|
|
1447
1451
|
.dark .dark\\:hover\\:bg-accented\\/50:hover{background-color:color-mix(in oklab, rgb(var(--ui-bg-accented)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:50%;}
|
|
1448
1452
|
.hover\\:bg-accented\\/50:hover{background-color:color-mix(in oklab, rgb(var(--ui-bg-accented)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:50%;}
|
|
1449
1453
|
.bg-inverted{background-color:color-mix(in oklab, rgb(var(--ui-bg-inverted)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:100%;}
|
|
1450
1454
|
.bg-inverted\\/5{background-color:color-mix(in oklab, rgb(var(--ui-bg-inverted)) var(--un-bg-opacity, 100%), transparent);--un-bg-opacity:5%;}
|
|
1451
1455
|
.border-default{border-color:color-mix(in oklab, rgb(var(--ui-border)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:100%;}
|
|
1452
|
-
.border-muted,
|
|
1453
|
-
.dark .dark\\:border-muted{border-color:color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:100%;}
|
|
1456
|
+
.border-muted{border-color:color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:100%;}
|
|
1454
1457
|
.border-muted\\/50{border-color:color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:50%;}
|
|
1458
|
+
.dark .dark\\:border-muted\\/80{border-color:color-mix(in oklab, rgb(var(--ui-border-muted)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:80%;}
|
|
1455
1459
|
.border-accented,
|
|
1456
1460
|
.dark .dark\\:border-accented{border-color:color-mix(in oklab, rgb(var(--ui-border-accented)) var(--un-border-opacity, 100%), transparent);--un-border-opacity:100%;}
|
|
1457
1461
|
.dark .dark\\: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%;}
|
|
@@ -1545,6 +1549,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1545
1549
|
}
|
|
1546
1550
|
@media (min-width: 64rem){
|
|
1547
1551
|
.lg\\:ml-0{margin-left:calc(var(--spacing) * 0);}
|
|
1552
|
+
.lg\\:pt-1\\.5{padding-top:calc(var(--spacing) * 1.5);}
|
|
1548
1553
|
.dark .lg\\:dark\\:border{border-width:1px;}
|
|
1549
1554
|
.lg\\:flex{display:flex;}
|
|
1550
1555
|
.lg\\:flex-none{flex:none;}
|
|
@@ -1563,6 +1568,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1563
1568
|
.lg\\:max-w-lg{max-width:var(--container-lg);}
|
|
1564
1569
|
.lg\\:block{display:block;}
|
|
1565
1570
|
.lg\\:hidden{display:none;}
|
|
1571
|
+
.lg\\:items-start{align-items:flex-start;}
|
|
1566
1572
|
.lg\\:items-center{align-items:center;}
|
|
1567
1573
|
.lg\\:justify-end{justify-content:flex-end;}
|
|
1568
1574
|
.lg\\:justify-center{justify-content:center;}
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/main.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DuxPageException: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duxweb/dvha-pro",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.50",
|
|
5
5
|
"author": "DuxWeb",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@ant-design/colors": "^7.2.1",
|
|
36
|
-
"@duxweb/dvha-core": "^1.0.
|
|
37
|
-
"@duxweb/dvha-naiveui": "^1.0.
|
|
36
|
+
"@duxweb/dvha-core": "^1.0.50",
|
|
37
|
+
"@duxweb/dvha-naiveui": "^1.0.50",
|
|
38
38
|
"@iconify-json/tabler": "^1.2.18",
|
|
39
39
|
"@overlastic/vue": "^0.8.1",
|
|
40
40
|
"@tanstack/vue-query": "^5.80.7",
|