vlite3 1.2.1 → 1.2.2
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/components/AppShell/AppShellLayoutClassic.vue.js +67 -64
- package/components/AppShell/AppShellLayoutDashboard.vue.js +75 -70
- package/components/AppShell/AppShellLayoutDock.vue.js +27 -27
- package/components/AppShell/AppShellLayoutHeaderShell.vue.js +80 -75
- package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +56 -56
- package/components/DataTable/DataTable.vue.d.ts +3 -3
- package/components/DataTable/DataTableRow.vue.d.ts +1 -1
- package/components/Form/CustomFields.vue.js +2 -2
- package/components/Form/CustomFields.vue2.js +15 -2
- package/components/Invoice/InvoiceVariant1.vue.js +225 -176
- package/components/Invoice/InvoiceVariant2.vue.js +174 -125
- package/components/Invoice/InvoiceVariant3.vue.js +186 -157
- package/components/Invoice/InvoiceVariant4.vue.js +200 -156
- package/components/Invoice/types.d.ts +10 -1
- package/components/List/ListFieldRow.vue.js +16 -16
- package/components/List/utils.d.ts +2 -2
- package/components/List/utils.js +6 -9
- package/components/NavbarCommandPalette.vue.js +1 -1
- package/components/Price/Price.vue.d.ts +2 -0
- package/components/Price/Price.vue.js +15 -12
- package/components/Screen/Screen.vue.d.ts +36 -10
- package/components/Screen/Screen.vue.js +398 -304
- package/components/Screen/components/ScreenToolbar.vue.d.ts +62 -0
- package/components/Screen/components/ScreenToolbar.vue.js +116 -0
- package/components/Screen/components/ScreenToolbar.vue2.js +4 -0
- package/components/Screen/types.d.ts +9 -0
- package/components/Stats/StatItem.vue.js +88 -87
- package/components/Stats/Stats.vue.js +20 -20
- package/components/Stats/types.d.ts +3 -1
- package/core/config.d.ts +10 -0
- package/core/config.js +11 -9
- package/index.js +131 -131
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/config.type.d.ts +2 -0
- package/types/list.type.d.ts +4 -0
- package/utils/functions.d.ts +9 -10
- package/utils/functions.js +78 -63
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as V, inject as z, openBlock as a, createElementBlock as o, createVNode as m, Transition as _, withCtx as p, withDirectives as N, createElementVNode as t, normalizeClass as b, unref as e, renderSlot as l, createCommentVNode as i, vShow as R, isRef as g, createSlots as B, createTextVNode as E } from "vue";
|
|
2
|
+
import L from "../SidePanel.vue.js";
|
|
3
|
+
import M from "../Navbar/NavbarTabs.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
5
|
+
import P from "../Breadcrumb/Breadcrumb.vue.js";
|
|
6
6
|
import "@iconify/vue";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { APPSHELL_LAYOUT_KEY as
|
|
9
|
-
const
|
|
8
|
+
import { APPSHELL_LAYOUT_KEY as A } from "./useAppShell.js";
|
|
9
|
+
const H = { class: "vlite-app-layout flex flex-row w-full h-full bg-background overflow-hidden" }, O = {
|
|
10
10
|
key: 0,
|
|
11
|
-
class: "flex items-center
|
|
12
|
-
},
|
|
11
|
+
class: "flex items-center"
|
|
12
|
+
}, U = { class: "flex flex-col flex-1 min-w-0 h-full overflow-hidden gap-2 max-sm:p-0 max-sm:gap-0" }, D = {
|
|
13
13
|
key: 0,
|
|
14
|
-
class: "w-full shrink-0 z-20 px-5 pt-2"
|
|
15
|
-
},
|
|
14
|
+
class: "w-full shrink-0 z-20 px-5 pt-2 border-hidden"
|
|
15
|
+
}, I = { class: "w-full shrink-0 z-20 bg-background overflow-hidden rounded-xl max-sm:rounded-none border border-border max-sm:border-0" }, Y = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "shrink-0 w-full px-6"
|
|
18
|
-
},
|
|
19
|
-
class: "flex-1 overflow-y-auto
|
|
18
|
+
}, j = { class: "flex flex-col h-full" }, K = {
|
|
19
|
+
class: "flex-1 overflow-y-auto scrollbar-thin scrollbar-stable",
|
|
20
20
|
style: { "will-change": "transform", contain: "layout style" }
|
|
21
|
-
},
|
|
21
|
+
}, q = {
|
|
22
22
|
key: 0,
|
|
23
|
-
class: "mt-auto
|
|
24
|
-
},
|
|
23
|
+
class: "mt-auto"
|
|
24
|
+
}, le = /* @__PURE__ */ V({
|
|
25
25
|
__name: "AppShellLayoutHeaderShell",
|
|
26
|
-
setup(
|
|
27
|
-
const y =
|
|
28
|
-
props:
|
|
26
|
+
setup(F) {
|
|
27
|
+
const y = z(A), {
|
|
28
|
+
props: r,
|
|
29
29
|
sidebarHidden: w,
|
|
30
30
|
isMobileMenuOpen: d,
|
|
31
31
|
isSidebarVisible: k,
|
|
32
|
-
toggleSidebar:
|
|
33
|
-
pageTitle:
|
|
34
|
-
breadcrumbData:
|
|
35
|
-
breakpointClasses:
|
|
32
|
+
toggleSidebar: $,
|
|
33
|
+
pageTitle: x,
|
|
34
|
+
breadcrumbData: f,
|
|
35
|
+
breakpointClasses: u,
|
|
36
36
|
nestedTabsItems: v,
|
|
37
37
|
activeNestedTab: c,
|
|
38
38
|
handleNestedTabClick: C,
|
|
39
39
|
mainScrollRef: S,
|
|
40
40
|
layoutMainRef: T
|
|
41
41
|
} = y;
|
|
42
|
-
return (s, n) => (a(), o("div",
|
|
43
|
-
m(
|
|
42
|
+
return (s, n) => (a(), o("div", H, [
|
|
43
|
+
m(_, {
|
|
44
44
|
"enter-active-class": "transition-all duration-300 ease-in-out",
|
|
45
45
|
"leave-active-class": "transition-all duration-300 ease-in-out",
|
|
46
46
|
"enter-from-class": "opacity-0 -translate-x-2",
|
|
@@ -48,30 +48,30 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-background o
|
|
|
48
48
|
"leave-from-class": "opacity-100 translate-x-0",
|
|
49
49
|
"leave-to-class": "opacity-0 -translate-x-2"
|
|
50
50
|
}, {
|
|
51
|
-
default:
|
|
51
|
+
default: p(() => [
|
|
52
52
|
N(t("nav", {
|
|
53
53
|
class: b([
|
|
54
|
-
"shrink-0 h-full flex flex-col bg-background border-r border-border
|
|
55
|
-
e(
|
|
56
|
-
e(
|
|
54
|
+
"shrink-0 h-full flex flex-col bg-background border-r border-border overflow-hidden z-30",
|
|
55
|
+
e(u).mobileTrigger === "md:hidden" ? "max-md:hidden" : "",
|
|
56
|
+
e(r).class
|
|
57
57
|
]),
|
|
58
58
|
role: "navigation",
|
|
59
59
|
"aria-label": "Sidebar"
|
|
60
60
|
}, [
|
|
61
|
-
s.$slots["sidebar-header"] ? (a(), o("div",
|
|
62
|
-
|
|
61
|
+
s.$slots["sidebar-header"] ? (a(), o("div", O, [
|
|
62
|
+
l(s.$slots, "sidebar-header")
|
|
63
63
|
])) : i("", !0),
|
|
64
64
|
t("div", {
|
|
65
|
-
class: b(["flex-1 overflow-y-auto overflow-x-hidden scrollbar-thin scrollbar-stable", e(
|
|
65
|
+
class: b(["flex-1 overflow-y-auto overflow-x-hidden scrollbar-thin scrollbar-stable", e(r).contentClass]),
|
|
66
66
|
style: { "will-change": "transform", contain: "layout style" }
|
|
67
67
|
}, [
|
|
68
|
-
|
|
68
|
+
l(s.$slots, "sidebar")
|
|
69
69
|
], 2),
|
|
70
70
|
s.$slots["sidebar-footer"] ? (a(), o("div", {
|
|
71
71
|
key: 1,
|
|
72
|
-
class: b(["shrink-0
|
|
72
|
+
class: b(["shrink-0", e(r).rightClass])
|
|
73
73
|
}, [
|
|
74
|
-
|
|
74
|
+
l(s.$slots, "sidebar-footer")
|
|
75
75
|
], 2)) : i("", !0)
|
|
76
76
|
], 2), [
|
|
77
77
|
[R, !e(w)]
|
|
@@ -79,16 +79,16 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-background o
|
|
|
79
79
|
]),
|
|
80
80
|
_: 3
|
|
81
81
|
}),
|
|
82
|
-
t("div",
|
|
83
|
-
s.$slots.header ? (a(), o("header",
|
|
84
|
-
t("div",
|
|
85
|
-
|
|
82
|
+
t("div", U, [
|
|
83
|
+
s.$slots.header ? (a(), o("header", D, [
|
|
84
|
+
t("div", I, [
|
|
85
|
+
l(s.$slots, "header", {
|
|
86
86
|
isOpen: e(d),
|
|
87
87
|
toggle: () => d.value = !e(d),
|
|
88
88
|
sidebarVisible: e(k),
|
|
89
|
-
toggleSidebar: e(
|
|
90
|
-
breadcrumbItems: e(
|
|
91
|
-
pageTitle: e(
|
|
89
|
+
toggleSidebar: e($),
|
|
90
|
+
breadcrumbItems: e(f).items.value,
|
|
91
|
+
pageTitle: e(x)
|
|
92
92
|
})
|
|
93
93
|
])
|
|
94
94
|
])) : i("", !0),
|
|
@@ -98,23 +98,23 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-background o
|
|
|
98
98
|
ref: T,
|
|
99
99
|
class: "flex-1 overflow-hidden w-full relative flex flex-col min-h-0 bg-background"
|
|
100
100
|
}, [
|
|
101
|
-
e(
|
|
102
|
-
m(
|
|
101
|
+
e(r).renderNestedTabs && e(v).length > 0 ? (a(), o("div", Y, [
|
|
102
|
+
m(M, {
|
|
103
103
|
modelValue: e(c),
|
|
104
|
-
"onUpdate:modelValue": n[0] || (n[0] = (
|
|
104
|
+
"onUpdate:modelValue": n[0] || (n[0] = (h) => g(c) ? c.value = h : null),
|
|
105
105
|
onChange: e(C),
|
|
106
106
|
items: e(v)
|
|
107
107
|
}, null, 8, ["modelValue", "onChange", "items"])
|
|
108
108
|
])) : i("", !0),
|
|
109
|
-
e(
|
|
109
|
+
e(r).breadcrumb && e(r).breadcrumbPosition === "main" && e(f).items.value.length > 1 ? (a(), o("div", {
|
|
110
110
|
key: 1,
|
|
111
|
-
class: b(["shrink-0 w-full border-b border-border
|
|
111
|
+
class: b(["shrink-0 w-full border-b border-border px-6 py-2", e(r).breadcrumbClass])
|
|
112
112
|
}, [
|
|
113
|
-
m(e(
|
|
114
|
-
items: e(
|
|
115
|
-
variant: e(
|
|
116
|
-
separator: e(
|
|
117
|
-
size: e(
|
|
113
|
+
m(e(P), {
|
|
114
|
+
items: e(f).items.value,
|
|
115
|
+
variant: e(r).breadcrumbVariant,
|
|
116
|
+
separator: e(r).breadcrumbSeparator,
|
|
117
|
+
size: e(r).breadcrumbSize
|
|
118
118
|
}, null, 8, ["items", "variant", "separator", "size"])
|
|
119
119
|
], 2)) : i("", !0),
|
|
120
120
|
t("div", {
|
|
@@ -123,46 +123,51 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-background o
|
|
|
123
123
|
style: { "will-change": "transform", contain: "layout style" },
|
|
124
124
|
class: "flex-1 overflow-y-auto w-full relative h-full scrollbar-thin scrollbar-stable px-6 pb-4 mt-4"
|
|
125
125
|
}, [
|
|
126
|
-
|
|
126
|
+
l(s.$slots, "main")
|
|
127
127
|
], 512)
|
|
128
128
|
], 512)) : i("", !0)
|
|
129
129
|
]),
|
|
130
|
-
m(
|
|
130
|
+
m(L, {
|
|
131
131
|
show: e(d),
|
|
132
|
-
"onUpdate:show": n[1] || (n[1] = (
|
|
132
|
+
"onUpdate:show": n[1] || (n[1] = (h) => g(d) ? d.value = h : null),
|
|
133
133
|
position: "left",
|
|
134
134
|
size: "sm",
|
|
135
|
-
triggerClass: e(
|
|
136
|
-
class: b(["z-60", e(
|
|
135
|
+
triggerClass: e(u).mobileTrigger,
|
|
136
|
+
class: b(["z-60", e(u).mobileTrigger]),
|
|
137
137
|
headerClass: "pl-3! pr-4.5! py-3!",
|
|
138
138
|
bodyClass: "p-0!"
|
|
139
|
-
}, {
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
])
|
|
146
|
-
]),
|
|
147
|
-
default: h(() => [
|
|
148
|
-
t("div", Y, [
|
|
149
|
-
t("div", j, [
|
|
150
|
-
r(s.$slots, "mobile-sidebar", {}, () => [
|
|
151
|
-
r(s.$slots, "sidebar")
|
|
139
|
+
}, B({
|
|
140
|
+
default: p(() => [
|
|
141
|
+
t("div", j, [
|
|
142
|
+
t("div", K, [
|
|
143
|
+
l(s.$slots, "mobile-sidebar", {}, () => [
|
|
144
|
+
l(s.$slots, "sidebar")
|
|
152
145
|
])
|
|
153
146
|
]),
|
|
154
|
-
s.$slots["mobile-sidebar-footer"] || s.$slots["sidebar-footer"] ? (a(), o("div",
|
|
155
|
-
|
|
156
|
-
|
|
147
|
+
s.$slots["mobile-sidebar-footer"] || s.$slots["sidebar-footer"] ? (a(), o("div", q, [
|
|
148
|
+
l(s.$slots, "mobile-sidebar-footer", {}, () => [
|
|
149
|
+
l(s.$slots, "sidebar-footer")
|
|
157
150
|
])
|
|
158
151
|
])) : i("", !0)
|
|
159
152
|
])
|
|
160
153
|
]),
|
|
161
|
-
_:
|
|
162
|
-
},
|
|
154
|
+
_: 2
|
|
155
|
+
}, [
|
|
156
|
+
s.$slots["mobile-sidebar-header"] || s.$slots["sidebar-header"] ? {
|
|
157
|
+
name: "header",
|
|
158
|
+
fn: p(() => [
|
|
159
|
+
l(s.$slots, "mobile-sidebar-header", {}, () => [
|
|
160
|
+
l(s.$slots, "sidebar-header", {}, () => [
|
|
161
|
+
n[2] || (n[2] = E("Brand", -1))
|
|
162
|
+
])
|
|
163
|
+
])
|
|
164
|
+
]),
|
|
165
|
+
key: "0"
|
|
166
|
+
} : void 0
|
|
167
|
+
]), 1032, ["show", "triggerClass", "class"])
|
|
163
168
|
]));
|
|
164
169
|
}
|
|
165
170
|
});
|
|
166
171
|
export {
|
|
167
|
-
|
|
172
|
+
le as default
|
|
168
173
|
};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as x, inject as z, openBlock as r, createElementBlock as o, createVNode as m, Transition as N, withCtx as p, withDirectives as R, createElementVNode as d, normalizeClass as b, unref as e, renderSlot as s, createCommentVNode as t, vShow as _, isRef as y, createSlots as B, createTextVNode as E } from "vue";
|
|
2
|
+
import L from "../SidePanel.vue.js";
|
|
3
|
+
import M from "../Navbar/NavbarTabs.vue.js";
|
|
4
4
|
/* empty css */
|
|
5
|
-
import
|
|
5
|
+
import P from "../Breadcrumb/Breadcrumb.vue.js";
|
|
6
6
|
import "@iconify/vue";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { APPSHELL_LAYOUT_KEY as
|
|
9
|
-
const
|
|
8
|
+
import { APPSHELL_LAYOUT_KEY as A } from "./useAppShell.js";
|
|
9
|
+
const O = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflow-hidden" }, U = { class: "flex flex-col flex-1 min-w-0 h-full overflow-hidden" }, D = {
|
|
10
10
|
key: 0,
|
|
11
|
-
class: "
|
|
12
|
-
}, U = { class: "flex flex-col flex-1 min-w-0 h-full overflow-hidden" }, D = {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "w-full shrink-0 z-20 bg-background"
|
|
11
|
+
class: "w-full shrink-0 z-20 border-b bg-background"
|
|
15
12
|
}, H = {
|
|
16
13
|
key: 0,
|
|
17
14
|
class: "shrink-0 w-full"
|
|
@@ -20,27 +17,27 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflo
|
|
|
20
17
|
style: { "will-change": "transform", contain: "layout style" }
|
|
21
18
|
}, j = {
|
|
22
19
|
key: 0,
|
|
23
|
-
class: "mt-auto
|
|
24
|
-
}, ee = /* @__PURE__ */
|
|
20
|
+
class: "mt-auto"
|
|
21
|
+
}, ee = /* @__PURE__ */ x({
|
|
25
22
|
__name: "AppShellLayoutSidebarFirst",
|
|
26
23
|
setup(F) {
|
|
27
|
-
const g =
|
|
28
|
-
props:
|
|
24
|
+
const g = z(A), {
|
|
25
|
+
props: a,
|
|
29
26
|
sidebarHidden: w,
|
|
30
27
|
isMobileMenuOpen: i,
|
|
31
28
|
isSidebarVisible: k,
|
|
32
29
|
toggleSidebar: $,
|
|
33
30
|
pageTitle: C,
|
|
34
|
-
breadcrumbData:
|
|
31
|
+
breadcrumbData: f,
|
|
35
32
|
breakpointClasses: u,
|
|
36
33
|
nestedTabsItems: v,
|
|
37
34
|
activeNestedTab: c,
|
|
38
|
-
handleNestedTabClick:
|
|
39
|
-
mainScrollRef:
|
|
40
|
-
layoutMainRef:
|
|
35
|
+
handleNestedTabClick: S,
|
|
36
|
+
mainScrollRef: T,
|
|
37
|
+
layoutMainRef: V
|
|
41
38
|
} = g;
|
|
42
|
-
return (l, n) => (
|
|
43
|
-
|
|
39
|
+
return (l, n) => (r(), o("div", O, [
|
|
40
|
+
m(N, {
|
|
44
41
|
"enter-active-class": "transition-all duration-300 ease-in-out",
|
|
45
42
|
"leave-active-class": "transition-all duration-300 ease-in-out",
|
|
46
43
|
"enter-from-class": "opacity-0 -translate-x-2",
|
|
@@ -49,75 +46,73 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflo
|
|
|
49
46
|
"leave-to-class": "opacity-0 -translate-x-2"
|
|
50
47
|
}, {
|
|
51
48
|
default: p(() => [
|
|
52
|
-
|
|
49
|
+
R(d("nav", {
|
|
53
50
|
class: b([
|
|
54
51
|
"shrink-0 h-full flex flex-col bg-background border-r border-border overflow-hidden z-30",
|
|
55
52
|
e(u).mobileTrigger === "md:hidden" ? "max-md:hidden" : "",
|
|
56
|
-
e(
|
|
53
|
+
e(a).class
|
|
57
54
|
]),
|
|
58
55
|
role: "navigation",
|
|
59
56
|
"aria-label": "Sidebar"
|
|
60
57
|
}, [
|
|
61
|
-
l.$slots["sidebar-header"] ? (
|
|
62
|
-
s(l.$slots, "sidebar-header")
|
|
63
|
-
])) : t("", !0),
|
|
58
|
+
l.$slots["sidebar-header"] ? s(l.$slots, "sidebar-header", { key: 0 }) : t("", !0),
|
|
64
59
|
d("div", {
|
|
65
|
-
class: b(["flex-1 overflow-y-auto overflow-x-hidden scrollbar-thin scrollbar-stable", e(
|
|
60
|
+
class: b(["flex-1 overflow-y-auto overflow-x-hidden scrollbar-thin scrollbar-stable", e(a).contentClass]),
|
|
66
61
|
style: { "will-change": "transform", contain: "layout style" }
|
|
67
62
|
}, [
|
|
68
63
|
s(l.$slots, "sidebar")
|
|
69
64
|
], 2),
|
|
70
|
-
l.$slots["sidebar-footer"] ? (
|
|
65
|
+
l.$slots["sidebar-footer"] ? (r(), o("div", {
|
|
71
66
|
key: 1,
|
|
72
|
-
class: b(["shrink-0
|
|
67
|
+
class: b(["shrink-0", e(a).rightClass])
|
|
73
68
|
}, [
|
|
74
69
|
s(l.$slots, "sidebar-footer")
|
|
75
70
|
], 2)) : t("", !0)
|
|
76
71
|
], 2), [
|
|
77
|
-
[
|
|
72
|
+
[_, !e(w)]
|
|
78
73
|
])
|
|
79
74
|
]),
|
|
80
75
|
_: 3
|
|
81
76
|
}),
|
|
82
77
|
d("div", U, [
|
|
83
|
-
l.$slots.header ? (
|
|
78
|
+
l.$slots.header ? (r(), o("header", D, [
|
|
84
79
|
s(l.$slots, "header", {
|
|
85
80
|
isOpen: e(i),
|
|
86
81
|
toggle: () => i.value = !e(i),
|
|
87
82
|
sidebarVisible: e(k),
|
|
88
83
|
toggleSidebar: e($),
|
|
89
|
-
breadcrumbItems: e(
|
|
84
|
+
breadcrumbItems: e(f).items.value,
|
|
90
85
|
pageTitle: e(C)
|
|
91
86
|
})
|
|
92
87
|
])) : t("", !0),
|
|
93
|
-
l.$slots.main ? (
|
|
88
|
+
l.$slots.main ? (r(), o("main", {
|
|
94
89
|
key: 1,
|
|
95
90
|
ref_key: "layoutMainRef",
|
|
96
|
-
ref:
|
|
91
|
+
ref: V,
|
|
97
92
|
class: "flex-1 overflow-y-auto w-full relative h-full flex flex-col min-h-0 scrollbar-thin scrollbar-stable"
|
|
98
93
|
}, [
|
|
99
|
-
e(
|
|
100
|
-
|
|
94
|
+
e(a).renderNestedTabs && e(v).length > 0 ? (r(), o("div", H, [
|
|
95
|
+
m(M, {
|
|
101
96
|
modelValue: e(c),
|
|
102
97
|
"onUpdate:modelValue": n[0] || (n[0] = (h) => y(c) ? c.value = h : null),
|
|
103
|
-
onChange: e(
|
|
98
|
+
onChange: e(S),
|
|
104
99
|
items: e(v)
|
|
105
100
|
}, null, 8, ["modelValue", "onChange", "items"])
|
|
106
101
|
])) : t("", !0),
|
|
107
|
-
e(
|
|
102
|
+
e(a).breadcrumb && e(a).breadcrumbPosition === "main" && e(f).items.value.length > 1 ? (r(), o("div", {
|
|
108
103
|
key: 1,
|
|
109
|
-
class: b(["shrink-0 w-full border-b border-border px-6 py-2", e(
|
|
104
|
+
class: b(["shrink-0 w-full border-b border-border px-6 py-2", e(a).breadcrumbClass])
|
|
110
105
|
}, [
|
|
111
|
-
|
|
112
|
-
items: e(
|
|
113
|
-
variant: e(
|
|
114
|
-
separator: e(
|
|
115
|
-
size: e(
|
|
106
|
+
m(e(P), {
|
|
107
|
+
items: e(f).items.value,
|
|
108
|
+
variant: e(a).breadcrumbVariant,
|
|
109
|
+
separator: e(a).breadcrumbSeparator,
|
|
110
|
+
size: e(a).breadcrumbSize
|
|
116
111
|
}, null, 8, ["items", "variant", "separator", "size"])
|
|
117
112
|
], 2)) : t("", !0),
|
|
118
113
|
d("div", {
|
|
119
114
|
ref_key: "mainScrollRef",
|
|
120
|
-
ref:
|
|
115
|
+
ref: T,
|
|
121
116
|
style: { "will-change": "transform", contain: "layout style" },
|
|
122
117
|
class: "flex-1 overflow-y-auto w-full relative h-full scrollbar-thin scrollbar-stable"
|
|
123
118
|
}, [
|
|
@@ -125,7 +120,7 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflo
|
|
|
125
120
|
], 512)
|
|
126
121
|
], 512)) : t("", !0)
|
|
127
122
|
]),
|
|
128
|
-
|
|
123
|
+
m(L, {
|
|
129
124
|
show: e(i),
|
|
130
125
|
"onUpdate:show": n[1] || (n[1] = (h) => y(i) ? i.value = h : null),
|
|
131
126
|
position: "left",
|
|
@@ -134,14 +129,7 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflo
|
|
|
134
129
|
class: b(["z-60", e(u).mobileTrigger]),
|
|
135
130
|
headerClass: "pl-3! pr-4.5! py-3!",
|
|
136
131
|
bodyClass: "p-0!"
|
|
137
|
-
}, {
|
|
138
|
-
header: p(() => [
|
|
139
|
-
s(l.$slots, "mobile-sidebar-header", {}, () => [
|
|
140
|
-
s(l.$slots, "sidebar-header", {}, () => [
|
|
141
|
-
n[2] || (n[2] = B("Brand", -1))
|
|
142
|
-
])
|
|
143
|
-
])
|
|
144
|
-
]),
|
|
132
|
+
}, B({
|
|
145
133
|
default: p(() => [
|
|
146
134
|
d("div", I, [
|
|
147
135
|
d("div", Y, [
|
|
@@ -149,15 +137,27 @@ const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflo
|
|
|
149
137
|
s(l.$slots, "sidebar")
|
|
150
138
|
])
|
|
151
139
|
]),
|
|
152
|
-
l.$slots["mobile-sidebar-footer"] || l.$slots["sidebar-footer"] ? (
|
|
140
|
+
l.$slots["mobile-sidebar-footer"] || l.$slots["sidebar-footer"] ? (r(), o("div", j, [
|
|
153
141
|
s(l.$slots, "mobile-sidebar-footer", {}, () => [
|
|
154
142
|
s(l.$slots, "sidebar-footer")
|
|
155
143
|
])
|
|
156
144
|
])) : t("", !0)
|
|
157
145
|
])
|
|
158
146
|
]),
|
|
159
|
-
_:
|
|
160
|
-
},
|
|
147
|
+
_: 2
|
|
148
|
+
}, [
|
|
149
|
+
l.$slots["mobile-sidebar-header"] || l.$slots["sidebar-header"] ? {
|
|
150
|
+
name: "header",
|
|
151
|
+
fn: p(() => [
|
|
152
|
+
s(l.$slots, "mobile-sidebar-header", {}, () => [
|
|
153
|
+
s(l.$slots, "sidebar-header", {}, () => [
|
|
154
|
+
n[2] || (n[2] = E("Brand", -1))
|
|
155
|
+
])
|
|
156
|
+
])
|
|
157
|
+
]),
|
|
158
|
+
key: "0"
|
|
159
|
+
} : void 0
|
|
160
|
+
]), 1032, ["show", "triggerClass", "class"])
|
|
161
161
|
]));
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -31,15 +31,15 @@ declare const __VLS_component: import('vue').DefineComponent<DataTableProps, {},
|
|
|
31
31
|
}>, {
|
|
32
32
|
variant: "default" | "raised";
|
|
33
33
|
size: "xs" | "sm" | "md" | "lg";
|
|
34
|
+
compact: boolean;
|
|
34
35
|
loading: boolean;
|
|
35
36
|
striped: boolean;
|
|
36
|
-
compact: boolean;
|
|
37
37
|
rows: any[];
|
|
38
38
|
headers: TableHeader[];
|
|
39
39
|
emptyIcon: string;
|
|
40
|
-
paginationProps: import('./types').DataTablePaginationProps;
|
|
41
|
-
hideSelectable: boolean;
|
|
42
40
|
selectedRows: any[];
|
|
41
|
+
hideSelectable: boolean;
|
|
42
|
+
paginationProps: import('./types').DataTablePaginationProps;
|
|
43
43
|
showPagination: boolean;
|
|
44
44
|
cellBordered: boolean;
|
|
45
45
|
keyField: string;
|
|
@@ -38,8 +38,8 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
|
|
|
38
38
|
}) => any;
|
|
39
39
|
}>, {
|
|
40
40
|
size: "xs" | "sm" | "md" | "lg";
|
|
41
|
-
striped: boolean;
|
|
42
41
|
compact: boolean;
|
|
42
|
+
striped: boolean;
|
|
43
43
|
selectable: boolean;
|
|
44
44
|
isSelected: boolean;
|
|
45
45
|
keyField: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import o from "./CustomFields.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const
|
|
4
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-30cab34f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
s as default
|
|
7
7
|
};
|
|
@@ -175,7 +175,17 @@ const ie = { class: "custom-fields-wrapper" }, ce = { class: "flex justify-betwe
|
|
|
175
175
|
}, {
|
|
176
176
|
default: N(() => [
|
|
177
177
|
(n(!0), d(V, null, C(s.value, (o, l, h, c) => {
|
|
178
|
-
const b = [
|
|
178
|
+
const b = [
|
|
179
|
+
o,
|
|
180
|
+
r.disabled,
|
|
181
|
+
r.readonly,
|
|
182
|
+
r.isUpdate,
|
|
183
|
+
r.showRowNumbers,
|
|
184
|
+
x.value,
|
|
185
|
+
r.draggable,
|
|
186
|
+
l,
|
|
187
|
+
Y(l)
|
|
188
|
+
];
|
|
179
189
|
if (c && c.key === o._id && re(c, b)) return c;
|
|
180
190
|
const f = (n(), d("div", {
|
|
181
191
|
key: o._id,
|
|
@@ -183,7 +193,10 @@ const ie = { class: "custom-fields-wrapper" }, ce = { class: "flex justify-betwe
|
|
|
183
193
|
}, [
|
|
184
194
|
r.draggable && !r.disabled && !r.readonly ? (n(), d("div", {
|
|
185
195
|
key: 0,
|
|
186
|
-
class: F([
|
|
196
|
+
class: F([
|
|
197
|
+
"w-10 flex-none flex items-center justify-center border-r border-border bg-muted/5 drag-handle transition-colors",
|
|
198
|
+
r.disabled ? "cursor-not-allowed opacity-50" : "cursor-grab active:cursor-grabbing hover:bg-muted/10 text-muted-foreground hover:text-foreground"
|
|
199
|
+
])
|
|
187
200
|
}, [
|
|
188
201
|
$(de, {
|
|
189
202
|
icon: "lucide:grip-vertical",
|