@duxweb/dvha-pro 1.0.46 → 1.0.48
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/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/list/card.cjs +1 -1
- package/dist/cjs/components/list/list.cjs +1 -1
- package/dist/cjs/components/table/table.cjs +1 -1
- package/dist/cjs/components/table/tablePage.cjs +1 -1
- package/dist/cjs/dvha-pro.css +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/layout/tab.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/dark.cjs +1 -0
- package/dist/cjs/pages/menu/menuApp.cjs +1 -0
- package/dist/cjs/pages/menu/menuMain.cjs +1 -0
- package/dist/cjs/pages/menu/mobile.cjs +1 -1
- package/dist/cjs/pages/menu/notice.cjs +1 -0
- package/dist/cjs/theme/uno.css.cjs +19 -9
- package/dist/esm/component.js +1 -1
- package/dist/esm/components/layout/list.js +95 -86
- package/dist/esm/components/layout/table.js +122 -117
- package/dist/esm/components/layout/tools.js +109 -32
- package/dist/esm/components/list/card.js +27 -22
- package/dist/esm/components/list/list.js +16 -11
- package/dist/esm/components/table/table.js +31 -27
- package/dist/esm/components/table/tablePage.js +17 -12
- package/dist/esm/dvha-pro.css +1 -1
- package/dist/esm/hooks/table.js +25 -19
- package/dist/esm/index.js +84 -78
- package/dist/esm/langs/en-US.json.js +1 -1
- package/dist/esm/langs/zh-CN.json.js +2 -2
- package/dist/esm/pages/authLayout.js +20 -17
- package/dist/esm/pages/layout/page.js +1 -1
- package/dist/esm/pages/layout/tab.js +2 -2
- package/dist/esm/pages/menu/avatar.js +83 -71
- package/dist/esm/pages/menu/button.js +12 -13
- package/dist/esm/pages/menu/dark.js +54 -0
- package/dist/esm/pages/menu/menuApp.js +207 -0
- package/dist/esm/pages/menu/{main.js → menuMain.js} +46 -41
- package/dist/esm/pages/menu/mobile.js +16 -13
- package/dist/esm/pages/menu/notice.js +205 -0
- package/dist/esm/theme/uno.css.js +19 -9
- 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 +12 -0
- package/dist/types/pages/menu/avatar.d.ts +18 -0
- package/dist/types/pages/menu/button.d.ts +9 -9
- package/dist/types/pages/menu/dark.d.ts +2 -0
- package/dist/types/pages/menu/index.d.ts +4 -1
- package/dist/types/pages/menu/{main.d.ts → menuApp.d.ts} +1 -1
- package/dist/types/pages/menu/menuMain.d.ts +22 -0
- package/dist/types/pages/menu/notice.d.ts +14 -0
- package/package.json +3 -3
- package/dist/cjs/pages/menu/main.cjs +0 -1
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import { defineComponent as c, createVNode as
|
|
2
|
-
import { useManage as f, useI18n as v, DuxLogoIcon as
|
|
1
|
+
import { defineComponent as c, createVNode as e, createTextVNode as l } from "vue";
|
|
2
|
+
import { useManage as f, useI18n as v, DuxLogoIcon as h } from "@duxweb/dvha-core";
|
|
3
3
|
import { useNaiveMenu as g } from "@duxweb/dvha-naiveui";
|
|
4
|
-
import { NTag as p, NScrollbar as
|
|
4
|
+
import { NTag as p, NScrollbar as x, NMenu as b } from "naive-ui";
|
|
5
|
+
import y from "./avatar.js";
|
|
6
|
+
import m from "./button.js";
|
|
7
|
+
import "@vueuse/core";
|
|
8
|
+
import "lodash-es";
|
|
9
|
+
import "vue-command-palette";
|
|
5
10
|
import "vue-router";
|
|
6
11
|
import "@overlastic/vue";
|
|
7
12
|
import "clsx";
|
|
8
13
|
import "vue-echarts";
|
|
9
|
-
import "@vueuse/core";
|
|
10
14
|
import "vue3-ace-editor";
|
|
11
15
|
import "ace-builds/src-noconflict/mode-vue";
|
|
12
16
|
import "ace-builds/src-noconflict/mode-javascript";
|
|
@@ -20,7 +24,6 @@ import "ace-builds/src-noconflict/ext-language_tools";
|
|
|
20
24
|
import "ace-builds/src-noconflict/mode-snippets";
|
|
21
25
|
import "vue-cropper";
|
|
22
26
|
import "jinrishici";
|
|
23
|
-
import "lodash-es";
|
|
24
27
|
import "vue-draggable-plus";
|
|
25
28
|
import "@vee-validate/i18n";
|
|
26
29
|
import "colorizr";
|
|
@@ -46,9 +49,6 @@ import "unocss/preset-wind4";
|
|
|
46
49
|
import "@vee-validate/i18n/dist/locale/en.json";
|
|
47
50
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
48
51
|
import "vee-validate";
|
|
49
|
-
import M from "./avatar.js";
|
|
50
|
-
import m from "./button.js";
|
|
51
|
-
import "vue-command-palette";
|
|
52
52
|
import "../page404.js";
|
|
53
53
|
import "short-unique-id";
|
|
54
54
|
import "aieditor";
|
|
@@ -61,93 +61,98 @@ import "../../components/posterEditor/elements/index.js";
|
|
|
61
61
|
import "fabric";
|
|
62
62
|
import "dayjs";
|
|
63
63
|
import "@tanstack/vue-query";
|
|
64
|
-
import { useUI as
|
|
65
|
-
const
|
|
64
|
+
import { useUI as M } from "../../hooks/ui.js";
|
|
65
|
+
const Se = /* @__PURE__ */ c({
|
|
66
66
|
name: "DuxMenuMain",
|
|
67
67
|
props: {
|
|
68
68
|
collapsed: {
|
|
69
69
|
type: Boolean,
|
|
70
70
|
default: !1
|
|
71
|
+
},
|
|
72
|
+
mobile: {
|
|
73
|
+
type: Boolean,
|
|
74
|
+
default: !1
|
|
71
75
|
}
|
|
72
76
|
},
|
|
73
|
-
setup(
|
|
77
|
+
setup(t) {
|
|
74
78
|
const {
|
|
75
79
|
options: a,
|
|
76
80
|
active: s
|
|
77
81
|
} = g({}), {
|
|
78
|
-
menuCollapsed:
|
|
82
|
+
menuCollapsed: o,
|
|
79
83
|
setCmdVisible: d,
|
|
80
84
|
menuMobileCollapsed: r,
|
|
81
85
|
setMenuCollapsed: n
|
|
82
|
-
} =
|
|
86
|
+
} = M(), {
|
|
83
87
|
config: i
|
|
84
88
|
} = f(), {
|
|
85
89
|
t: u
|
|
86
90
|
} = v();
|
|
87
|
-
return () =>
|
|
88
|
-
class: "flex flex-col h-screen px-1"
|
|
89
|
-
}, [
|
|
91
|
+
return () => e("div", {
|
|
92
|
+
class: ["flex flex-col h-screen px-1"]
|
|
93
|
+
}, [e("div", {
|
|
90
94
|
class: "h-13 px-2 hidden lg:flex justify-center items-center"
|
|
91
|
-
}, [
|
|
92
|
-
onClick: () => n(!
|
|
93
|
-
collapsed:
|
|
95
|
+
}, [e(m, {
|
|
96
|
+
onClick: () => n(!o.value),
|
|
97
|
+
collapsed: t.collapsed
|
|
94
98
|
}, {
|
|
95
|
-
icon: () =>
|
|
99
|
+
icon: () => e("div", {
|
|
96
100
|
class: "bg-white dark:bg-primary-950 rounded-full p-2 shadow group-hover:shadow-lg"
|
|
97
|
-
}, [i.theme?.appLogo ?
|
|
101
|
+
}, [i.theme?.appLogo ? e("img", {
|
|
98
102
|
class: "size-4",
|
|
99
103
|
src: i.theme?.appLogo
|
|
100
|
-
}, null) :
|
|
104
|
+
}, null) : e(h, {
|
|
101
105
|
highlight: "fill-primary",
|
|
102
106
|
class: "size-4"
|
|
103
107
|
}, null)]),
|
|
104
|
-
default: () =>
|
|
105
|
-
})]),
|
|
108
|
+
default: () => e("div", null, [i.title])
|
|
109
|
+
})]), e("div", {
|
|
106
110
|
class: "px-2 py-1 hidden lg:block"
|
|
107
|
-
}, [
|
|
108
|
-
collapsed:
|
|
109
|
-
inverted:
|
|
110
|
-
class: "relative py-1.5 px-3",
|
|
111
|
+
}, [e(m, {
|
|
112
|
+
collapsed: t.collapsed,
|
|
113
|
+
class: "relative py-1.5 px-3 rounded-full bg-inverted/5 hover:bg-default hover:shadow-sm transition-all",
|
|
111
114
|
onClick: () => d(!0)
|
|
112
115
|
}, {
|
|
113
|
-
icon: () =>
|
|
116
|
+
icon: () => e("div", {
|
|
114
117
|
class: "i-tabler:search size-4 icon-gradient"
|
|
115
118
|
}, null),
|
|
116
|
-
default: () =>
|
|
119
|
+
default: () => e("div", {
|
|
117
120
|
class: "text-muted text-sm"
|
|
118
|
-
}, [u("common.search"), !
|
|
121
|
+
}, [u("common.search"), !o.value && e("div", {
|
|
119
122
|
class: "flex items-center gap-1 absolute right-2.5 top-1.3"
|
|
120
|
-
}, [
|
|
123
|
+
}, [e(p, {
|
|
121
124
|
size: "small",
|
|
122
125
|
bordered: !1,
|
|
123
126
|
type: "primary"
|
|
124
127
|
}, {
|
|
125
128
|
default: () => [l("⌘")]
|
|
126
|
-
}),
|
|
129
|
+
}), e(p, {
|
|
127
130
|
size: "small",
|
|
128
131
|
bordered: !1,
|
|
129
132
|
type: "primary"
|
|
130
133
|
}, {
|
|
131
134
|
default: () => [l("K")]
|
|
132
135
|
})])])
|
|
133
|
-
})]),
|
|
136
|
+
})]), e("div", {
|
|
134
137
|
class: ["flex-1 min-h-0", r.value ? "border-t border-muted" : ""]
|
|
135
|
-
}, [
|
|
136
|
-
default: () => [
|
|
138
|
+
}, [e(x, null, {
|
|
139
|
+
default: () => [e(b, {
|
|
140
|
+
class: "app-menu",
|
|
137
141
|
options: a.value,
|
|
138
142
|
value: s.value,
|
|
139
|
-
collapsed:
|
|
143
|
+
collapsed: o.value && !r.value,
|
|
140
144
|
indent: 20,
|
|
141
145
|
collapsedWidth: 60,
|
|
142
146
|
collapsedIconSize: 20
|
|
143
147
|
}, null)]
|
|
144
|
-
})]),
|
|
148
|
+
})]), e("div", {
|
|
145
149
|
class: "flex-none hidden lg:flex flex-col items-center gap-2 p-2 border-t border-muted/50"
|
|
146
|
-
}, [
|
|
147
|
-
|
|
150
|
+
}, [e(y, {
|
|
151
|
+
btnClass: o.value ? "relative rounded-md hover:bg-default hover:shadow-sm transition-all" : "",
|
|
152
|
+
collapsed: t.collapsed
|
|
148
153
|
}, null)])]);
|
|
149
154
|
}
|
|
150
155
|
});
|
|
151
156
|
export {
|
|
152
|
-
|
|
157
|
+
Se as DuxMenuMain
|
|
153
158
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as p, createVNode as
|
|
2
|
-
import { NDrawer as
|
|
1
|
+
import { defineComponent as p, createVNode as o } from "vue";
|
|
2
|
+
import { NDrawer as i } from "naive-ui";
|
|
3
3
|
import "@duxweb/dvha-core";
|
|
4
4
|
import "vue-router";
|
|
5
5
|
import "@overlastic/vue";
|
|
@@ -46,7 +46,7 @@ import "@vee-validate/i18n/dist/locale/en.json";
|
|
|
46
46
|
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
47
47
|
import "vee-validate";
|
|
48
48
|
import "vue-command-palette";
|
|
49
|
-
import { DuxMenuMain as
|
|
49
|
+
import { DuxMenuMain as m } from "./menuMain.js";
|
|
50
50
|
import "@duxweb/dvha-naiveui";
|
|
51
51
|
import "../page404.js";
|
|
52
52
|
import "short-unique-id";
|
|
@@ -61,25 +61,28 @@ import "fabric";
|
|
|
61
61
|
import "dayjs";
|
|
62
62
|
import "@tanstack/vue-query";
|
|
63
63
|
import { useUI as e } from "../../hooks/ui.js";
|
|
64
|
-
const
|
|
64
|
+
const wo = /* @__PURE__ */ p({
|
|
65
65
|
name: "DuxMobileMenu",
|
|
66
66
|
props: {},
|
|
67
67
|
setup(l) {
|
|
68
68
|
const {
|
|
69
|
-
menuMobileCollapsed:
|
|
69
|
+
menuMobileCollapsed: t
|
|
70
70
|
} = e();
|
|
71
|
-
return () =>
|
|
72
|
-
show:
|
|
73
|
-
onUpdateShow: (
|
|
74
|
-
width:
|
|
71
|
+
return () => o(i, {
|
|
72
|
+
show: t.value,
|
|
73
|
+
onUpdateShow: (r) => t.value = r,
|
|
74
|
+
width: 200,
|
|
75
75
|
placement: "left"
|
|
76
76
|
}, {
|
|
77
|
-
default: () => [
|
|
78
|
-
|
|
79
|
-
},
|
|
77
|
+
default: () => [o("div", {
|
|
78
|
+
class: ["flex-none transition-all"]
|
|
79
|
+
}, [o(m, {
|
|
80
|
+
collapsed: !1,
|
|
81
|
+
mobile: !0
|
|
82
|
+
}, null)])]
|
|
80
83
|
});
|
|
81
84
|
}
|
|
82
85
|
});
|
|
83
86
|
export {
|
|
84
|
-
|
|
87
|
+
wo as DuxMobileMenu
|
|
85
88
|
};
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { defineComponent as b, computed as c, ref as w, createVNode as t, Fragment as k, isVNode as C } from "vue";
|
|
2
|
+
import { useI18n as S, useManage as F, useList as _, useCustomMutation as z } from "@duxweb/dvha-core";
|
|
3
|
+
import { NPopover as B, NButton as d, NSpin as M, NTooltip as D, NBadge as R } from "naive-ui";
|
|
4
|
+
import { useRouter as j } from "vue-router";
|
|
5
|
+
import { DuxCard as A } from "../../components/card/card.js";
|
|
6
|
+
import "clsx";
|
|
7
|
+
import "vue-echarts";
|
|
8
|
+
import "@overlastic/vue";
|
|
9
|
+
import "dayjs";
|
|
10
|
+
import "mime";
|
|
11
|
+
import "lodash-es";
|
|
12
|
+
import "@tanstack/vue-query";
|
|
13
|
+
import "@duxweb/dvha-naiveui";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "pinia";
|
|
16
|
+
import "vue3-ace-editor";
|
|
17
|
+
import "ace-builds/src-noconflict/mode-vue";
|
|
18
|
+
import "ace-builds/src-noconflict/mode-javascript";
|
|
19
|
+
import "ace-builds/src-noconflict/mode-html";
|
|
20
|
+
import "ace-builds/src-noconflict/mode-json";
|
|
21
|
+
import "ace-builds/src-noconflict/mode-json5";
|
|
22
|
+
import "ace-builds/src-noconflict/theme-tomorrow_night";
|
|
23
|
+
import "ace-builds/src-noconflict/theme-tomorrow";
|
|
24
|
+
import "ace-builds/src-noconflict/ext-searchbox";
|
|
25
|
+
import "ace-builds/src-noconflict/ext-language_tools";
|
|
26
|
+
import "ace-builds/src-noconflict/mode-snippets";
|
|
27
|
+
import "vue-cropper";
|
|
28
|
+
import "jinrishici";
|
|
29
|
+
import "vue-draggable-plus";
|
|
30
|
+
import { DuxBlockEmpty as L } from "../../components/status/blockEmpty.js";
|
|
31
|
+
import "@vee-validate/i18n";
|
|
32
|
+
import "colorizr";
|
|
33
|
+
import "echarts";
|
|
34
|
+
import "highlight.js/lib/core";
|
|
35
|
+
import "highlight.js/lib/languages/bash";
|
|
36
|
+
import "highlight.js/lib/languages/css";
|
|
37
|
+
import "highlight.js/lib/languages/go";
|
|
38
|
+
import "highlight.js/lib/languages/java";
|
|
39
|
+
import "highlight.js/lib/languages/javascript";
|
|
40
|
+
import "highlight.js/lib/languages/json";
|
|
41
|
+
import "highlight.js/lib/languages/markdown";
|
|
42
|
+
import "highlight.js/lib/languages/php";
|
|
43
|
+
import "highlight.js/lib/languages/python";
|
|
44
|
+
import "highlight.js/lib/languages/shell";
|
|
45
|
+
import "highlight.js/lib/languages/sql";
|
|
46
|
+
import "highlight.js/lib/languages/typescript";
|
|
47
|
+
import "highlight.js/lib/languages/xml";
|
|
48
|
+
import "@ant-design/colors";
|
|
49
|
+
import "@unocss/preset-icons/browser";
|
|
50
|
+
import "@unocss/preset-typography";
|
|
51
|
+
import "unocss/preset-wind4";
|
|
52
|
+
import "@vee-validate/i18n/dist/locale/en.json";
|
|
53
|
+
import "@vee-validate/i18n/dist/locale/zh_CN.json";
|
|
54
|
+
import "vee-validate";
|
|
55
|
+
import "vue-command-palette";
|
|
56
|
+
import "../page404.js";
|
|
57
|
+
import "short-unique-id";
|
|
58
|
+
import "aieditor";
|
|
59
|
+
import "@vue-flow/core";
|
|
60
|
+
import "@vue-flow/background";
|
|
61
|
+
/* empty css */
|
|
62
|
+
import "@iconify-json/tabler/icons.json";
|
|
63
|
+
import "../../components/posterEditor/elements/index.js";
|
|
64
|
+
import "fabric";
|
|
65
|
+
function O(o) {
|
|
66
|
+
return typeof o == "function" || Object.prototype.toString.call(o) === "[object Object]" && !C(o);
|
|
67
|
+
}
|
|
68
|
+
const Ht = /* @__PURE__ */ b({
|
|
69
|
+
name: "DuxMenuNotice",
|
|
70
|
+
props: {
|
|
71
|
+
collapsed: {
|
|
72
|
+
type: Boolean,
|
|
73
|
+
default: !1
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
setup() {
|
|
77
|
+
const {
|
|
78
|
+
t: o
|
|
79
|
+
} = S(), {
|
|
80
|
+
config: r
|
|
81
|
+
} = F(), a = j(), {
|
|
82
|
+
data: u,
|
|
83
|
+
isLoading: f,
|
|
84
|
+
refetch: v
|
|
85
|
+
} = _({
|
|
86
|
+
path: r.notice?.path || "notice",
|
|
87
|
+
pagination: {
|
|
88
|
+
page: 1,
|
|
89
|
+
pageSize: 10
|
|
90
|
+
}
|
|
91
|
+
}), {
|
|
92
|
+
mutate: n
|
|
93
|
+
} = z({
|
|
94
|
+
path: `${r.notice?.path || "notice"}`,
|
|
95
|
+
method: "POST",
|
|
96
|
+
onSuccess: () => {
|
|
97
|
+
v();
|
|
98
|
+
}
|
|
99
|
+
}), l = c(() => u.value?.data || []), p = c(() => l.value.some((e) => !e[r.notice?.readField || "read"])), i = w(!1), h = (e) => {
|
|
100
|
+
n({
|
|
101
|
+
payload: {
|
|
102
|
+
type: "all_read",
|
|
103
|
+
id: e.id
|
|
104
|
+
}
|
|
105
|
+
}), i.value = !1;
|
|
106
|
+
}, g = () => {
|
|
107
|
+
n({
|
|
108
|
+
payload: {
|
|
109
|
+
type: "all_read"
|
|
110
|
+
}
|
|
111
|
+
}), i.value = !1;
|
|
112
|
+
};
|
|
113
|
+
return () => t(B, {
|
|
114
|
+
trigger: "click",
|
|
115
|
+
arrowClass: "ml-2.5",
|
|
116
|
+
placement: "bottom-start",
|
|
117
|
+
style: "padding: 0",
|
|
118
|
+
width: 260,
|
|
119
|
+
show: i.value,
|
|
120
|
+
onClickoutside: () => i.value = !1
|
|
121
|
+
}, {
|
|
122
|
+
trigger: () => t(D, {
|
|
123
|
+
trigger: "hover",
|
|
124
|
+
placement: "right"
|
|
125
|
+
}, {
|
|
126
|
+
default: () => o("components.menu.notice", "Notice"),
|
|
127
|
+
trigger: () => t(d, {
|
|
128
|
+
onClick: () => i.value = !0,
|
|
129
|
+
quaternary: !0
|
|
130
|
+
}, {
|
|
131
|
+
icon: () => t(R, {
|
|
132
|
+
dot: p.value,
|
|
133
|
+
offset: [-8, 8]
|
|
134
|
+
}, {
|
|
135
|
+
default: () => [t("div", {
|
|
136
|
+
class: "transition-all text-muted p-2 hover:text-white"
|
|
137
|
+
}, [t("div", {
|
|
138
|
+
class: "i-tabler:bell size-5"
|
|
139
|
+
}, null)])]
|
|
140
|
+
})
|
|
141
|
+
})
|
|
142
|
+
}),
|
|
143
|
+
default: () => t(A, {
|
|
144
|
+
headerBordered: !0,
|
|
145
|
+
headerClass: "text-sm",
|
|
146
|
+
headerSize: "small",
|
|
147
|
+
contentSize: "none",
|
|
148
|
+
title: o("components.menu.notice", "Notice")
|
|
149
|
+
}, {
|
|
150
|
+
default: () => t(k, null, [t(M, {
|
|
151
|
+
show: f.value
|
|
152
|
+
}, {
|
|
153
|
+
default: () => [l.value.length > 0 ? t("div", {
|
|
154
|
+
class: "p-2"
|
|
155
|
+
}, [l.value?.map((e, x) => {
|
|
156
|
+
const m = e[r.notice?.action?.url || "action_url"], s = r.notice?.readField || "read", y = r.notice?.descField || "desc", N = r.notice?.titleField || "title";
|
|
157
|
+
return t("div", {
|
|
158
|
+
key: x,
|
|
159
|
+
class: "flex flex-col p-2 hover:bg-elevated rounded cursor-pointer",
|
|
160
|
+
onClick: () => {
|
|
161
|
+
m?.startsWith("http") ? window.open(m, "_blank") : a.push(r.notice?.path || "notice"), e[s] = !0, h(e);
|
|
162
|
+
}
|
|
163
|
+
}, [t("div", {
|
|
164
|
+
class: "flex items-center gap-2"
|
|
165
|
+
}, [e[s] ? t("div", {
|
|
166
|
+
class: "w-2 h-2 bg-elevated rounded-full"
|
|
167
|
+
}, null) : t("div", {
|
|
168
|
+
class: "w-2 h-2 bg-error rounded-full"
|
|
169
|
+
}, null), t("div", {
|
|
170
|
+
class: "flex-1 min-w-0 text-sm font-medium truncate"
|
|
171
|
+
}, [e[N]])]), t("div", {
|
|
172
|
+
class: "pl-4 text-xs text-muted line-clamp-2"
|
|
173
|
+
}, [e[y]])]);
|
|
174
|
+
})]) : t("div", {
|
|
175
|
+
class: "p-4"
|
|
176
|
+
}, [t(L, {
|
|
177
|
+
text: o("components.menu.noNotice", "No notices"),
|
|
178
|
+
simple: !0
|
|
179
|
+
}, null)])]
|
|
180
|
+
}), t("div", {
|
|
181
|
+
class: "border-t border-muted p-2"
|
|
182
|
+
}, [t("div", {
|
|
183
|
+
class: "text-center text-sm text-primary hover:text-primary-hover cursor-pointer py-1",
|
|
184
|
+
onClick: () => {
|
|
185
|
+
a.push(r.notice?.path || "notice"), i.value = !1;
|
|
186
|
+
}
|
|
187
|
+
}, [o("components.menu.viewAllNotices", "View all notices")])])]),
|
|
188
|
+
headerExtra: () => {
|
|
189
|
+
let e;
|
|
190
|
+
return t(d, {
|
|
191
|
+
size: "tiny",
|
|
192
|
+
quaternary: !0,
|
|
193
|
+
disabled: !p.value,
|
|
194
|
+
onClick: g
|
|
195
|
+
}, O(e = o("components.menu.markAllRead", "Mark all read")) ? e : {
|
|
196
|
+
default: () => [e]
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
})
|
|
200
|
+
});
|
|
201
|
+
}
|
|
202
|
+
});
|
|
203
|
+
export {
|
|
204
|
+
Ht as default
|
|
205
|
+
};
|
|
@@ -927,6 +927,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
927
927
|
.i-tabler\\:arrow-right{--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 12h14m-6 6l6-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;}
|
|
928
928
|
.i-tabler\\:arrows-move{--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='m18 9l3 3l-3 3m-3-3h6M6 9l-3 3l3 3m-3-3h6m0 6l3 3l3-3m-3-3v6m3-15l-3-3l-3 3m3-3v6'/%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
929
|
.i-tabler\\:at{--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='M8 12a4 4 0 1 0 8 0a4 4 0 1 0-8 0'/%3E%3Cpath d='M16 12v1.5a2.5 2.5 0 0 0 5 0V12a9 9 0 1 0-5.5 8.28'/%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
|
+
.i-tabler\\:bell{--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 5a2 2 0 1 1 4 0a7 7 0 0 1 4 6v3a4 4 0 0 0 2 3H4a4 4 0 0 0 2-3v-3a7 7 0 0 1 4-6M9 17v1a3 3 0 0 0 6 0v-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;}
|
|
930
931
|
.i-tabler\\:binary-tree{--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='M6 20a2 2 0 1 0-4 0a2 2 0 0 0 4 0M16 4a2 2 0 1 0-4 0a2 2 0 0 0 4 0m0 16a2 2 0 1 0-4 0a2 2 0 0 0 4 0m-5-8a2 2 0 1 0-4 0a2 2 0 0 0 4 0m10 0a2 2 0 1 0-4 0a2 2 0 0 0 4 0M5.058 18.306l2.88-4.606m2.123-3.397l2.877-4.604m-2.873 8.006l2.876 4.6M15.063 5.7l2.881 4.61'/%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\\:box{--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 3l8 4.5v9L12 21l-8-4.5v-9zm0 9l8-4.5M12 12v9m0-9L4 7.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;}
|
|
932
933
|
.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;}
|
|
@@ -944,6 +945,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
944
945
|
.i-tabler\\:cursor-text{--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 12h4M9 4a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3m6-16a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3'/%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;}
|
|
945
946
|
.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;}
|
|
946
947
|
.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;}
|
|
948
|
+
.i-tabler\\:device-desktop{--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 5a1 1 0 0 1 1-1h16a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1zm4 15h10m-8-4v4m6-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;}
|
|
947
949
|
.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;}
|
|
948
950
|
.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;}
|
|
949
951
|
.i-tabler\\:directions{--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 21v-4m0-4V9m0-4V3m-2 18h4M8 5v4h11l2-2l-2-2zm6 8v4H6l-2-2l2-2z'/%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;}
|
|
@@ -1048,7 +1050,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1048
1050
|
.text-xs{font-size:var(--text-xs-fontSize);line-height:var(--un-leading, var(--text-xs-lineHeight));}
|
|
1049
1051
|
.text-blue-600{color:color-mix(in srgb, var(--colors-blue-600) var(--un-text-opacity), transparent) /* rgb(var(--base-color-blue-600)) */;}
|
|
1050
1052
|
.text-error{color:color-mix(in srgb, var(--colors-error-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-error)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1051
|
-
.text-gray-300{color:color-mix(in srgb, var(--colors-gray-300) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-300)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1052
1053
|
.text-gray-500{color:color-mix(in srgb, var(--colors-gray-500) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-500)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1053
1054
|
.text-info{color:color-mix(in srgb, var(--colors-info-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-info)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1054
1055
|
.text-primary{color:color-mix(in srgb, var(--colors-primary-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
@@ -1056,7 +1057,9 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1056
1057
|
.text-warning{color:color-mix(in srgb, var(--colors-warning-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-warning)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1057
1058
|
.text-white{color:color-mix(in srgb, var(--colors-white-DEFAULT) var(--un-text-opacity), transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1058
1059
|
.text-white\\/90{color:color-mix(in srgb, var(--colors-white-DEFAULT) 90%, transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1060
|
+
.hover\\:text-primary-hover:hover{color:color-mix(in srgb, var(--colors-primary-hover) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-hover)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1059
1061
|
.hover\\:text-primary:hover{color:color-mix(in srgb, var(--colors-primary-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1062
|
+
.hover\\:text-white:hover{color:color-mix(in srgb, var(--colors-white-DEFAULT) var(--un-text-opacity), transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1060
1063
|
.font-bold{--un-font-weight:var(--fontWeight-bold);font-weight:var(--fontWeight-bold);}
|
|
1061
1064
|
.font-medium{--un-font-weight:var(--fontWeight-medium);font-weight:var(--fontWeight-medium);}
|
|
1062
1065
|
.font-mono{font-family:var(--font-mono);}
|
|
@@ -1078,6 +1081,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1078
1081
|
.my-6{margin-block:calc(var(--spacing) * 6);}
|
|
1079
1082
|
.mb-2{margin-bottom:calc(var(--spacing) * 2);}
|
|
1080
1083
|
.ml-2{margin-left:calc(var(--spacing) * 2);}
|
|
1084
|
+
.ml-2\\.5{margin-left:calc(var(--spacing) * 2.5);}
|
|
1081
1085
|
.mr-2{margin-right:calc(var(--spacing) * 2);}
|
|
1082
1086
|
.mt-1{margin-top:calc(var(--spacing) * 1);}
|
|
1083
1087
|
.mt-2{margin-top:calc(var(--spacing) * 2);}
|
|
@@ -1168,11 +1172,11 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1168
1172
|
.bg-error{background-color:color-mix(in srgb, var(--colors-error-DEFAULT) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-error)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1169
1173
|
.bg-gray-100{background-color:color-mix(in srgb, var(--colors-gray-100) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-100)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1170
1174
|
.bg-gray-500{background-color:color-mix(in srgb, var(--colors-gray-500) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-500)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1171
|
-
.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) */;}
|
|
1172
|
-
.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) */;}
|
|
1173
1175
|
.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) */;}
|
|
1174
1176
|
.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) */;}
|
|
1175
1177
|
.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) */;}
|
|
1178
|
+
.bg-primary-950,
|
|
1179
|
+
.dark .dark\\:bg-primary-950{background-color:color-mix(in srgb, var(--colors-primary-950) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-950)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1176
1180
|
.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) */;}
|
|
1177
1181
|
.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) */;}
|
|
1178
1182
|
.bg-red{background-color:color-mix(in srgb, var(--colors-red-DEFAULT) var(--un-bg-opacity), transparent) /* oklch(70.4% 0.191 22.216) */;}
|
|
@@ -1185,7 +1189,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1185
1189
|
.dark .dark\\:bg-gray-800\\/50{background-color:color-mix(in srgb, var(--colors-gray-800) 50%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-800)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1186
1190
|
.dark .dark\\:bg-gray-800\\/60{background-color:color-mix(in srgb, var(--colors-gray-800) 60%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-800)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1187
1191
|
.dark .dark\\:bg-gray-900\\/70{background-color:color-mix(in srgb, var(--colors-gray-900) 70%, transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-900)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1188
|
-
.dark .dark\\:bg-primary-950{background-color:color-mix(in srgb, var(--colors-primary-950) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-950)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1189
1192
|
.hover\\:bg-black\\/5:hover{background-color:color-mix(in srgb, var(--colors-black-DEFAULT) 5%, transparent) /* rgb(var(--ui-color-black)) */;}
|
|
1190
1193
|
.hover\\:bg-primary-hover:hover{background-color:color-mix(in srgb, var(--colors-primary-hover) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-hover)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1191
1194
|
.hover\\:bg-primary\\/10:hover{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) */;}
|
|
@@ -1253,6 +1256,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1253
1256
|
.h-12{height:calc(var(--spacing) * 12);}
|
|
1254
1257
|
.h-13{height:calc(var(--spacing) * 13);}
|
|
1255
1258
|
.h-16{height:calc(var(--spacing) * 16);}
|
|
1259
|
+
.h-2{height:calc(var(--spacing) * 2);}
|
|
1256
1260
|
.h-20{height:calc(var(--spacing) * 20);}
|
|
1257
1261
|
.h-30{height:calc(var(--spacing) * 30);}
|
|
1258
1262
|
.h-4{height:calc(var(--spacing) * 4);}
|
|
@@ -1282,7 +1286,10 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1282
1286
|
.w-120{width:calc(var(--spacing) * 120);}
|
|
1283
1287
|
.w-120px{width:120px;}
|
|
1284
1288
|
.w-15{width:calc(var(--spacing) * 15);}
|
|
1289
|
+
.w-16{width:calc(var(--spacing) * 16);}
|
|
1290
|
+
.w-160px{width:160px;}
|
|
1285
1291
|
.w-180px{width:180px;}
|
|
1292
|
+
.w-2{width:calc(var(--spacing) * 2);}
|
|
1286
1293
|
.w-200px{width:200px;}
|
|
1287
1294
|
.w-220px{width:220px;}
|
|
1288
1295
|
.w-26{width:calc(var(--spacing) * 26);}
|
|
@@ -1328,8 +1335,10 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1328
1335
|
.shadow-xl{--un-shadow:0 20px 25px -5px var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 8px 10px -6px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1329
1336
|
.shadow-xs{--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);}
|
|
1330
1337
|
.hover\\:shadow-md:hover{--un-shadow:0 4px 6px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 2px 4px -2px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1331
|
-
.hover\\:shadow-
|
|
1332
|
-
.-translate-x-1\\/2
|
|
1338
|
+
.hover\\:shadow-sm:hover{--un-shadow:0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / 0.1)),0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));box-shadow:var(--un-inset-shadow), var(--un-inset-ring-shadow), var(--un-ring-offset-shadow), var(--un-ring-shadow), var(--un-shadow);}
|
|
1339
|
+
.-translate-x-1\\/2,
|
|
1340
|
+
.translate-x-\\[-50\\%\\]{--un-translate-x:-50%;translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1341
|
+
.translate-x-0{--un-translate-x:calc(var(--spacing) * 0);translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1333
1342
|
.translate-y-0{--un-translate-y:calc(var(--spacing) * 0);translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1334
1343
|
.translate-y-full{--un-translate-y:100%;translate:var(--un-translate-x) var(--un-translate-y);}
|
|
1335
1344
|
.rotate-180{rotate:180deg;}
|
|
@@ -1409,6 +1418,7 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1409
1418
|
.backdrop-blur{--un-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);}
|
|
1410
1419
|
.filter{filter:var(--un-blur,) var(--un-brightness,) var(--un-contrast,) var(--un-grayscale,) var(--un-hue-rotate,) var(--un-invert,) var(--un-saturate,) var(--un-sepia,) var(--un-drop-shadow,);}
|
|
1411
1420
|
.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);backdrop-filter:var(--un-backdrop-blur,) var(--un-backdrop-brightness,) var(--un-backdrop-contrast,) var(--un-backdrop-grayscale,) var(--un-backdrop-hue-rotate,) var(--un-backdrop-invert,) var(--un-backdrop-opacity,) var(--un-backdrop-saturate,) var(--un-backdrop-sepia,);}
|
|
1421
|
+
.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
|
|
1412
1422
|
.table{display:table;}
|
|
1413
1423
|
.border-collapse{border-collapse:collapse;}
|
|
1414
1424
|
.table-fixed{table-layout:fixed;}
|
|
@@ -1460,7 +1470,6 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1460
1470
|
@supports (color: color-mix(in lab, red, red)){
|
|
1461
1471
|
.text-blue-600{color:color-mix(in oklab, var(--colors-blue-600) var(--un-text-opacity), transparent) /* rgb(var(--base-color-blue-600)) */;}
|
|
1462
1472
|
.text-error{color:color-mix(in oklab, var(--colors-error-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-error)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1463
|
-
.text-gray-300{color:color-mix(in oklab, var(--colors-gray-300) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-300)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1464
1473
|
.text-gray-500{color:color-mix(in oklab, var(--colors-gray-500) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-500)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1465
1474
|
.text-info{color:color-mix(in oklab, var(--colors-info-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-info)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1466
1475
|
.text-primary{color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
@@ -1468,7 +1477,9 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1468
1477
|
.text-warning{color:color-mix(in oklab, var(--colors-warning-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-warning)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1469
1478
|
.text-white{color:color-mix(in oklab, var(--colors-white-DEFAULT) var(--un-text-opacity), transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1470
1479
|
.text-white\\/90{color:color-mix(in oklab, var(--colors-white-DEFAULT) 90%, transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1480
|
+
.hover\\:text-primary-hover:hover{color:color-mix(in oklab, var(--colors-primary-hover) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-hover)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1471
1481
|
.hover\\:text-primary:hover{color:color-mix(in oklab, var(--colors-primary-DEFAULT) var(--un-text-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1482
|
+
.hover\\:text-white:hover{color:color-mix(in oklab, var(--colors-white-DEFAULT) var(--un-text-opacity), transparent) /* rgb(var(--ui-color-white)) */;}
|
|
1472
1483
|
.\\!border-white{border-color:color-mix(in oklab, var(--colors-white-DEFAULT) var(--un-border-opacity), transparent) /* rgb(var(--ui-color-white)) */ !important;}
|
|
1473
1484
|
.border-blue-200{border-color:color-mix(in oklab, var(--colors-blue-200) var(--un-border-opacity), transparent) /* rgb(var(--base-color-blue-200)) */;}
|
|
1474
1485
|
.border-blue-400{border-color:color-mix(in oklab, var(--colors-blue-400) var(--un-border-opacity), transparent) /* rgb(var(--base-color-blue-400)) */;}
|
|
@@ -1485,11 +1496,10 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
1485
1496
|
.bg-error{background-color:color-mix(in oklab, var(--colors-error-DEFAULT) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-error)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1486
1497
|
.bg-gray-100{background-color:color-mix(in oklab, var(--colors-gray-100) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-100)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1487
1498
|
.bg-gray-500{background-color:color-mix(in oklab, var(--colors-gray-500) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-gray-500)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1488
|
-
.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) */;}
|
|
1489
|
-
.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) */;}
|
|
1490
1499
|
.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) */;}
|
|
1491
1500
|
.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) */;}
|
|
1492
1501
|
.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) */;}
|
|
1502
|
+
.bg-primary-950{background-color:color-mix(in oklab, var(--colors-primary-950) var(--un-bg-opacity), transparent) /* color-mix(in oklab, rgb(var(--ui-color-primary-950)) var(--un-text-opacity, 100%), transparent) */;}
|
|
1493
1503
|
.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) */;}
|
|
1494
1504
|
.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) */;}
|
|
1495
1505
|
.bg-red{background-color:color-mix(in oklab, var(--colors-red-DEFAULT) var(--un-bg-opacity), transparent) /* oklch(70.4% 0.191 22.216) */;}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { JsonSchemaNode, UseExtendListProps } from '@duxweb/dvha-core';
|
|
2
2
|
import type { PropType } from 'vue';
|
|
3
3
|
import type { UseActionItem } from '../../hooks';
|
|
4
|
+
import type { DuxToolOptionItem } from './';
|
|
4
5
|
export interface TablePagination {
|
|
5
6
|
page: number;
|
|
6
7
|
pageSize: number;
|
|
@@ -53,6 +54,9 @@ export declare const DuxListLayout: import("vue").DefineComponent<import("vue").
|
|
|
53
54
|
type: StringConstructor;
|
|
54
55
|
default: string;
|
|
55
56
|
};
|
|
57
|
+
batchOptions: {
|
|
58
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
59
|
+
};
|
|
56
60
|
hookListProps: {
|
|
57
61
|
type: PropType<UseExtendListProps>;
|
|
58
62
|
};
|
|
@@ -99,6 +103,9 @@ export declare const DuxListLayout: import("vue").DefineComponent<import("vue").
|
|
|
99
103
|
type: StringConstructor;
|
|
100
104
|
default: string;
|
|
101
105
|
};
|
|
106
|
+
batchOptions: {
|
|
107
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
108
|
+
};
|
|
102
109
|
hookListProps: {
|
|
103
110
|
type: PropType<UseExtendListProps>;
|
|
104
111
|
};
|
|
@@ -2,6 +2,7 @@ import type { JsonSchemaNode } from '@duxweb/dvha-core';
|
|
|
2
2
|
import type { TableColumn, TablePagination, UseNaiveTableReturn, UseTableProps } from '@duxweb/dvha-naiveui';
|
|
3
3
|
import type { PropType } from 'vue';
|
|
4
4
|
import type { UseActionItem } from '../../hooks';
|
|
5
|
+
import type { DuxToolOptionItem } from './tools';
|
|
5
6
|
export interface TablePageTools {
|
|
6
7
|
import?: boolean;
|
|
7
8
|
export?: boolean;
|
|
@@ -56,6 +57,9 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
|
|
|
56
57
|
type: StringConstructor;
|
|
57
58
|
default: string;
|
|
58
59
|
};
|
|
60
|
+
batchOptions: {
|
|
61
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
62
|
+
};
|
|
59
63
|
hookTableProps: {
|
|
60
64
|
type: PropType<Partial<UseTableProps>>;
|
|
61
65
|
};
|
|
@@ -105,6 +109,9 @@ export declare const DuxTableLayout: import("vue").DefineComponent<import("vue")
|
|
|
105
109
|
type: StringConstructor;
|
|
106
110
|
default: string;
|
|
107
111
|
};
|
|
112
|
+
batchOptions: {
|
|
113
|
+
type: PropType<DuxToolOptionItem[]>;
|
|
114
|
+
};
|
|
108
115
|
hookTableProps: {
|
|
109
116
|
type: PropType<Partial<UseTableProps>>;
|
|
110
117
|
};
|