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.
Files changed (38) hide show
  1. package/components/AppShell/AppShellLayoutClassic.vue.js +67 -64
  2. package/components/AppShell/AppShellLayoutDashboard.vue.js +75 -70
  3. package/components/AppShell/AppShellLayoutDock.vue.js +27 -27
  4. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +80 -75
  5. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +56 -56
  6. package/components/DataTable/DataTable.vue.d.ts +3 -3
  7. package/components/DataTable/DataTableRow.vue.d.ts +1 -1
  8. package/components/Form/CustomFields.vue.js +2 -2
  9. package/components/Form/CustomFields.vue2.js +15 -2
  10. package/components/Invoice/InvoiceVariant1.vue.js +225 -176
  11. package/components/Invoice/InvoiceVariant2.vue.js +174 -125
  12. package/components/Invoice/InvoiceVariant3.vue.js +186 -157
  13. package/components/Invoice/InvoiceVariant4.vue.js +200 -156
  14. package/components/Invoice/types.d.ts +10 -1
  15. package/components/List/ListFieldRow.vue.js +16 -16
  16. package/components/List/utils.d.ts +2 -2
  17. package/components/List/utils.js +6 -9
  18. package/components/NavbarCommandPalette.vue.js +1 -1
  19. package/components/Price/Price.vue.d.ts +2 -0
  20. package/components/Price/Price.vue.js +15 -12
  21. package/components/Screen/Screen.vue.d.ts +36 -10
  22. package/components/Screen/Screen.vue.js +398 -304
  23. package/components/Screen/components/ScreenToolbar.vue.d.ts +62 -0
  24. package/components/Screen/components/ScreenToolbar.vue.js +116 -0
  25. package/components/Screen/components/ScreenToolbar.vue2.js +4 -0
  26. package/components/Screen/types.d.ts +9 -0
  27. package/components/Stats/StatItem.vue.js +88 -87
  28. package/components/Stats/Stats.vue.js +20 -20
  29. package/components/Stats/types.d.ts +3 -1
  30. package/core/config.d.ts +10 -0
  31. package/core/config.js +11 -9
  32. package/index.js +131 -131
  33. package/package.json +1 -1
  34. package/style.css +1 -1
  35. package/types/config.type.d.ts +2 -0
  36. package/types/list.type.d.ts +4 -0
  37. package/utils/functions.d.ts +9 -10
  38. package/utils/functions.js +78 -63
@@ -1,46 +1,46 @@
1
- import { defineComponent as _, inject as V, openBlock as a, createElementBlock as o, createVNode as m, Transition as z, withCtx as h, withDirectives as N, createElementVNode as t, normalizeClass as b, unref as e, renderSlot as r, createCommentVNode as i, vShow as R, isRef as g, createTextVNode as B } from "vue";
2
- import E from "../SidePanel.vue.js";
3
- import L from "../Navbar/NavbarTabs.vue.js";
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 M from "../Breadcrumb/Breadcrumb.vue.js";
5
+ import P from "../Breadcrumb/Breadcrumb.vue.js";
6
6
  import "@iconify/vue";
7
7
  /* empty css */
8
- import { APPSHELL_LAYOUT_KEY as P } from "./useAppShell.js";
9
- const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-background overflow-hidden" }, H = {
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 px-4 py-3"
12
- }, O = { class: "flex flex-col flex-1 min-w-0 h-full overflow-hidden gap-2 max-sm:p-0 max-sm:gap-0" }, U = {
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
- }, D = { class: "w-full shrink-0 z-20 bg-background rounded-xl max-sm:rounded-none border border-border/70 max-sm:border-0 shadow-sm" }, I = {
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
- }, Y = { class: "flex flex-col h-full" }, j = {
19
- class: "flex-1 overflow-y-auto px-3.5 pt-4 scrollbar-thin scrollbar-stable",
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
- }, K = {
21
+ }, q = {
22
22
  key: 0,
23
- class: "mt-auto pt-2 border-t border-border px-3 py-2"
24
- }, se = /* @__PURE__ */ _({
23
+ class: "mt-auto"
24
+ }, le = /* @__PURE__ */ V({
25
25
  __name: "AppShellLayoutHeaderShell",
26
- setup(q) {
27
- const y = V(P), {
28
- props: l,
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: x,
33
- pageTitle: $,
34
- breadcrumbData: u,
35
- breakpointClasses: f,
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", A, [
43
- m(z, {
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: h(() => [
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 overflow-hidden z-30",
55
- e(f).mobileTrigger === "md:hidden" ? "max-md:hidden" : "",
56
- e(l).class
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", H, [
62
- r(s.$slots, "sidebar-header")
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(l).contentClass]),
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
- r(s.$slots, "sidebar")
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 border-t border-border bg-background", e(l).rightClass])
72
+ class: b(["shrink-0", e(r).rightClass])
73
73
  }, [
74
- r(s.$slots, "sidebar-footer")
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", O, [
83
- s.$slots.header ? (a(), o("header", U, [
84
- t("div", D, [
85
- r(s.$slots, "header", {
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(x),
90
- breadcrumbItems: e(u).items.value,
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(l).renderNestedTabs && e(v).length > 0 ? (a(), o("div", I, [
102
- m(L, {
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] = (p) => g(c) ? c.value = p : null),
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(l).breadcrumb && e(l).breadcrumbPosition === "main" && e(u).items.value.length > 1 ? (a(), o("div", {
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/50 px-6 py-2", e(l).breadcrumbClass])
111
+ class: b(["shrink-0 w-full border-b border-border px-6 py-2", e(r).breadcrumbClass])
112
112
  }, [
113
- m(e(M), {
114
- items: e(u).items.value,
115
- variant: e(l).breadcrumbVariant,
116
- separator: e(l).breadcrumbSeparator,
117
- size: e(l).breadcrumbSize
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
- r(s.$slots, "main")
126
+ l(s.$slots, "main")
127
127
  ], 512)
128
128
  ], 512)) : i("", !0)
129
129
  ]),
130
- m(E, {
130
+ m(L, {
131
131
  show: e(d),
132
- "onUpdate:show": n[1] || (n[1] = (p) => g(d) ? d.value = p : null),
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(f).mobileTrigger,
136
- class: b(["z-60", e(f).mobileTrigger]),
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
- header: h(() => [
141
- r(s.$slots, "mobile-sidebar-header", {}, () => [
142
- r(s.$slots, "sidebar-header", {}, () => [
143
- n[2] || (n[2] = B("Brand", -1))
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", K, [
155
- r(s.$slots, "mobile-sidebar-footer", {}, () => [
156
- r(s.$slots, "sidebar-footer")
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
- _: 3
162
- }, 8, ["show", "triggerClass", "class"])
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
- se as default
172
+ le as default
168
173
  };
@@ -1,17 +1,14 @@
1
- import { defineComponent as V, inject as _, openBlock as a, createElementBlock as o, createVNode as f, Transition as z, withCtx as p, withDirectives as N, createElementVNode as d, normalizeClass as b, unref as e, renderSlot as s, createCommentVNode as t, vShow as R, isRef as y, createTextVNode as B } from "vue";
2
- import E from "../SidePanel.vue.js";
3
- import L from "../Navbar/NavbarTabs.vue.js";
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 M from "../Breadcrumb/Breadcrumb.vue.js";
5
+ import P from "../Breadcrumb/Breadcrumb.vue.js";
6
6
  import "@iconify/vue";
7
7
  /* empty css */
8
- import { APPSHELL_LAYOUT_KEY as P } from "./useAppShell.js";
9
- const A = { class: "vlite-app-layout flex flex-row w-full h-full bg-body overflow-hidden" }, O = {
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: "flex items-center px-4 py-3"
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 pt-2 border-t border-border px-3 py-2"
24
- }, ee = /* @__PURE__ */ V({
20
+ class: "mt-auto"
21
+ }, ee = /* @__PURE__ */ x({
25
22
  __name: "AppShellLayoutSidebarFirst",
26
23
  setup(F) {
27
- const g = _(P), {
28
- props: r,
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: m,
31
+ breadcrumbData: f,
35
32
  breakpointClasses: u,
36
33
  nestedTabsItems: v,
37
34
  activeNestedTab: c,
38
- handleNestedTabClick: x,
39
- mainScrollRef: S,
40
- layoutMainRef: T
35
+ handleNestedTabClick: S,
36
+ mainScrollRef: T,
37
+ layoutMainRef: V
41
38
  } = g;
42
- return (l, n) => (a(), o("div", A, [
43
- f(z, {
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
- N(d("nav", {
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(r).class
53
+ e(a).class
57
54
  ]),
58
55
  role: "navigation",
59
56
  "aria-label": "Sidebar"
60
57
  }, [
61
- l.$slots["sidebar-header"] ? (a(), o("div", O, [
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(r).contentClass]),
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"] ? (a(), o("div", {
65
+ l.$slots["sidebar-footer"] ? (r(), o("div", {
71
66
  key: 1,
72
- class: b(["shrink-0 border-t border-border bg-background", e(r).rightClass])
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
- [R, !e(w)]
72
+ [_, !e(w)]
78
73
  ])
79
74
  ]),
80
75
  _: 3
81
76
  }),
82
77
  d("div", U, [
83
- l.$slots.header ? (a(), o("header", D, [
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(m).items.value,
84
+ breadcrumbItems: e(f).items.value,
90
85
  pageTitle: e(C)
91
86
  })
92
87
  ])) : t("", !0),
93
- l.$slots.main ? (a(), o("main", {
88
+ l.$slots.main ? (r(), o("main", {
94
89
  key: 1,
95
90
  ref_key: "layoutMainRef",
96
- ref: T,
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(r).renderNestedTabs && e(v).length > 0 ? (a(), o("div", H, [
100
- f(L, {
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(x),
98
+ onChange: e(S),
104
99
  items: e(v)
105
100
  }, null, 8, ["modelValue", "onChange", "items"])
106
101
  ])) : t("", !0),
107
- e(r).breadcrumb && e(r).breadcrumbPosition === "main" && e(m).items.value.length > 1 ? (a(), o("div", {
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(r).breadcrumbClass])
104
+ class: b(["shrink-0 w-full border-b border-border px-6 py-2", e(a).breadcrumbClass])
110
105
  }, [
111
- f(e(M), {
112
- items: e(m).items.value,
113
- variant: e(r).breadcrumbVariant,
114
- separator: e(r).breadcrumbSeparator,
115
- size: e(r).breadcrumbSize
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: S,
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
- f(E, {
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"] ? (a(), o("div", j, [
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
- _: 3
160
- }, 8, ["show", "triggerClass", "class"])
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 r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-69b1b4ef"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-30cab34f"]]);
5
5
  export {
6
- r as default
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 = [o, r.disabled, r.readonly, r.isUpdate, r.showRowNumbers, x.value, r.draggable, l, Y(l)];
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(["w-10 flex-none flex items-center justify-center border-r border-border bg-muted/5 drag-handle transition-colors", r.disabled ? "cursor-not-allowed opacity-50" : "cursor-grab active:cursor-grabbing hover:bg-muted/10 text-muted-foreground hover:text-foreground"])
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",