vlite3 1.4.40 → 1.4.41

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 (137) hide show
  1. package/components/AppShell/AppShellLayoutClassic.vue.js +27 -28
  2. package/components/AppShell/AppShellLayoutDashboard.vue.js +48 -48
  3. package/components/AppShell/AppShellLayoutDock.vue.js +51 -51
  4. package/components/AppShell/AppShellLayoutHeaderShell.vue.js +69 -69
  5. package/components/AppShell/AppShellLayoutSidebarFirst.vue.d.ts +2 -2
  6. package/components/AppShell/AppShellLayoutSidebarFirst.vue.js +78 -78
  7. package/components/AppShell/AppShellLayoutStorefront.vue.js +14 -15
  8. package/components/AppShell/useAppShell.d.ts +4 -0
  9. package/components/AppShell/useAppShell.js +45 -40
  10. package/components/AsyncSelect/createAsyncSelect.js +10 -10
  11. package/components/AttachmentsList/AttachmentsList.vue.d.ts +50 -2
  12. package/components/AttachmentsList/AttachmentsList.vue.js +289 -272
  13. package/components/AttachmentsList/types.d.ts +37 -0
  14. package/components/BackButton.vue.js +2 -2
  15. package/components/Button.vue.d.ts +1 -0
  16. package/components/Button.vue.js +5 -241
  17. package/components/Button.vue2.js +245 -2
  18. package/components/ButtonGroup.vue.js +2 -2
  19. package/components/ButtonGroup.vue2.js +4 -1
  20. package/components/Calendar/Calendar.vue2.js +16 -16
  21. package/components/Cart/CartCouponInput.vue.js +24 -24
  22. package/components/Cart/CartEmptyState.vue.js +4 -4
  23. package/components/Cart/CartLineItem.vue.js +33 -33
  24. package/components/Cart/CartVariant1.vue.js +3 -3
  25. package/components/Cart/CartVariant2.vue.js +5 -5
  26. package/components/Cart/CartVariant3.vue.js +25 -25
  27. package/components/Cart/CartVariant4.vue.js +9 -9
  28. package/components/CategoryManager/CategoryManager.vue2.js +19 -19
  29. package/components/CategoryManager/CategoryNode.vue.js +4 -4
  30. package/components/CategoryMenu/CategoryMenu.vue.js +3 -2
  31. package/components/CategoryMenu/CategoryMenuVariant1.vue2.js +3 -2
  32. package/components/Chat/ChatInterface.vue.js +23 -23
  33. package/components/Clipboard.vue.d.ts +7 -1
  34. package/components/Clipboard.vue.js +19 -17
  35. package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +22 -22
  36. package/components/ColorPicker/ColorIro.vue3.js +2 -2
  37. package/components/ColorPicker/ColorPicker.vue.js +8 -8
  38. package/components/CommandPalette/CommandPaletteContent.vue2.js +1 -1
  39. package/components/CommandPalette/{CommandPaletteItem.vue.js → CommandPaletteItem.vue2.js} +1 -1
  40. package/components/Comment/CommentEditor.vue.js +14 -14
  41. package/components/Comment/CommentItem.vue2.js +6 -6
  42. package/components/Comment/CommentThread.vue.js +4 -4
  43. package/components/DataList/DataList.vue.js +7 -7
  44. package/components/DataTable/DataTable.vue.d.ts +8 -0
  45. package/components/DataTable/DataTable.vue.js +374 -263
  46. package/components/DataTable/DataTableRow.vue.d.ts +23 -2
  47. package/components/DataTable/DataTableRow.vue.js +5 -198
  48. package/components/DataTable/DataTableRow.vue2.js +360 -2
  49. package/components/DataTable/dataTableHeaders.d.ts +18 -0
  50. package/components/DataTable/dataTableHeaders.js +9 -0
  51. package/components/DataTable/types.d.ts +6 -0
  52. package/components/DatePicker.vue.js +8 -9
  53. package/components/DateRangePicker.vue2.js +34 -34
  54. package/components/Dropdown/Dropdown.vue.d.ts +7 -2
  55. package/components/Dropdown/Dropdown.vue.js +146 -139
  56. package/components/Dropdown/DropdownTrigger.vue.js +6 -6
  57. package/components/ExportData/ExportData.vue.js +15 -15
  58. package/components/FilePicker/FilePickerDropzone.vue.js +16 -16
  59. package/components/FilePicker/FilePickerInput.vue.js +3 -2
  60. package/components/FilePicker/FilePreview.vue.js +3 -3
  61. package/components/FileTree/FileTree.vue.js +4 -4
  62. package/components/FileTree/FileTree.vue2.js +9 -9
  63. package/components/FileTree/FileTreeNode.vue.js +76 -72
  64. package/components/Footer/Variant1.vue.js +48 -48
  65. package/components/Footer/Variant2.vue.js +42 -42
  66. package/components/Form/AccordionView.vue.d.ts +1 -1
  67. package/components/Form/{AccordionView.vue.js → AccordionView.vue2.js} +3 -3
  68. package/components/Form/AccordionView.vue3.js +61 -57
  69. package/components/Form/Form.vue2.js +41 -41
  70. package/components/Form/TableRow.vue.d.ts +7 -0
  71. package/components/Form/TableRow.vue.js +187 -41
  72. package/components/Form/TableView.vue.d.ts +11 -1
  73. package/components/Form/TableView.vue.js +71 -49
  74. package/components/Form/composables/useForm.js +146 -142
  75. package/components/Form/index.vue.d.ts +5 -1
  76. package/components/Form/index.vue.js +2 -2
  77. package/components/Form/index.vue2.js +45 -38
  78. package/components/Form/rowHelpers.d.ts +20 -0
  79. package/components/Form/rowHelpers.js +76 -28
  80. package/components/Form/types.d.ts +11 -0
  81. package/components/GoogleLogin.vue.js +4 -4
  82. package/components/IconPicker.vue.js +9 -9
  83. package/components/ImportData/ImportData.vue.js +11 -11
  84. package/components/ImportData/ImportStep1.vue.js +10 -10
  85. package/components/ImportData/ImportStep2.vue.js +15 -14
  86. package/components/Input.vue.js +133 -129
  87. package/components/Kanban/KanbanBoard.vue.js +1 -1
  88. package/components/Kanban/KanbanBoard.vue2.js +9 -9
  89. package/components/MultiSelect/MultiSelect.vue.js +3 -2
  90. package/components/Navbar/Navbar.vue.js +17 -17
  91. package/components/Navbar/NavbarGroup.vue.js +8 -7
  92. package/components/Navbar/NavbarItem.vue.js +40 -39
  93. package/components/Navbar/NavbarTabs.vue.js +6 -184
  94. package/components/Navbar/NavbarTabs.vue2.js +204 -0
  95. package/components/Navbar/useNavbar.js +3 -3
  96. package/components/NavbarCommandPalette.vue.js +2 -2
  97. package/components/NumberInput.vue.js +2 -2
  98. package/components/NumberInput.vue2.js +81 -77
  99. package/components/OTPInput/OTPInput.vue.js +24 -23
  100. package/components/Pagination/Pagination.vue.d.ts +1 -1
  101. package/components/Pagination/Pagination.vue.js +5 -274
  102. package/components/Pagination/Pagination.vue2.js +283 -2
  103. package/components/PermissionMatrix/PermissionTopBar.vue.js +19 -18
  104. package/components/PricingPlan/PricingPlanItem.vue.js +7 -7
  105. package/components/Screen/Screen.vue.d.ts +1 -1
  106. package/components/Screen/Screen.vue.js +21 -21
  107. package/components/Screen/ScreenFilter.vue.js +6 -6
  108. package/components/Screen/components/ScreenAddAction.vue.js +3 -3
  109. package/components/Screen/components/ScreenEmptyState.vue.js +10 -10
  110. package/components/Screen/components/ScreenExportModal.vue.js +12 -12
  111. package/components/Screen/components/ScreenOptionsDropdown.vue.js +5 -5
  112. package/components/Screen/components/ScreenToolbar.vue.js +15 -15
  113. package/components/SidePanel.vue.js +2 -2
  114. package/components/SidePanel.vue2.js +6 -6
  115. package/components/SidebarMenu/SidebarMenu.vue.js +77 -72
  116. package/components/SidebarMenu/SidebarMenuItem.vue.js +172 -168
  117. package/components/Slider.vue.js +123 -108
  118. package/components/Tabes/Tabes.vue.d.ts +8 -3
  119. package/components/Tabes/Tabes.vue.js +2 -2
  120. package/components/Tabes/Tabes.vue2.js +209 -200
  121. package/components/Tabes/tabes.utils.d.ts +23 -0
  122. package/components/Tabes/tabes.utils.js +39 -16
  123. package/components/Textarea.vue.d.ts +2 -0
  124. package/components/Textarea.vue.js +19 -16
  125. package/components/ThemeToggle.vue.js +8 -8
  126. package/components/ToastNotification.vue2.js +10 -10
  127. package/components/TreeConnectors/TreeConnectors.vue.d.ts +1 -1
  128. package/components/TreeConnectors/TreeConnectors.vue.js +13 -8
  129. package/components/TreeConnectors/geometry.js +77 -69
  130. package/components/Workbook/WorkbookAddButton.vue.js +2 -2
  131. package/composables/useRtl.d.ts +14 -0
  132. package/composables/useRtl.js +33 -0
  133. package/index.js +470 -471
  134. package/package.json +1 -1
  135. package/style.css +86 -1
  136. package/types/button.d.ts +8 -0
  137. package/components/Navbar/NavbarTabs.vue3.js +0 -5
@@ -1,26 +1,37 @@
1
- import { defineComponent as ze, inject as We, computed as r, toRef as _, ref as W, watch as D, shallowRef as Le, onUnmounted as Ve, openBlock as i, createElementBlock as c, createElementVNode as v, normalizeClass as x, unref as u, createCommentVNode as E, Fragment as R, renderList as P, normalizeStyle as j, createVNode as L, createBlock as ee, isMemoSame as te, createSlots as le, withCtx as ne, renderSlot as K, mergeProps as ae } from "vue";
2
- import Fe from "../CheckBox.vue.js";
3
- import Ae from "../ConfirmationModal.vue.js";
4
- import Me from "../Pagination/Pagination.vue.js";
5
- import Ne from "../Empty/Empty.vue.js";
6
- import Ue from "./DataTableHeader.vue.js";
7
- import je from "./DataTableRow.vue.js";
8
- import { useDataTableTree as Ke } from "./useDataTableTree.js";
9
- import { $t as I } from "../../utils/i18n.js";
10
- import { SCREEN_CONTEXT_KEY as Oe } from "./types.js";
11
- const Ye = { class: "space-y-6.5" }, Xe = { class: "w-full overflow-x-auto overflow-y-hidden" }, qe = { key: 0 }, Ge = {
1
+ import { defineComponent as Me, computed as u, inject as Ae, toRef as me, ref as j, watch as z, shallowRef as Ne, onUnmounted as je, openBlock as i, createElementBlock as d, createElementVNode as m, normalizeClass as x, Fragment as S, renderList as w, createCommentVNode as D, unref as o, isMemoSame as Q, createBlock as Z, createSlots as U, withCtx as K, renderSlot as E, mergeProps as _, createVNode as L, normalizeStyle as ee } from "vue";
2
+ import { useBreakpoints as Ue, breakpointsTailwind as Ke } from "@vueuse/core";
3
+ import Oe from "../CheckBox.vue.js";
4
+ import He from "../ConfirmationModal.vue.js";
5
+ import Ye from "../Pagination/Pagination.vue.js";
6
+ import ve from "../Empty/Empty.vue.js";
7
+ import Xe from "./DataTableHeader.vue.js";
8
+ import fe from "./DataTableRow.vue.js";
9
+ import { useDataTableTree as qe } from "./useDataTableTree.js";
10
+ import { getStackedVisibleHeaders as Ge } from "./dataTableHeaders.js";
11
+ import { $t as R } from "../../utils/i18n.js";
12
+ import { SCREEN_CONTEXT_KEY as Je } from "./types.js";
13
+ const Qe = { class: "space-y-6.5" }, Ze = {
14
+ key: 0,
15
+ class: "w-full min-w-0 space-y-3"
16
+ }, _e = { class: "flex items-center gap-2 px-3 py-3 border-b" }, et = {
17
+ key: 0,
18
+ class: "h-4 w-4 rounded-[4px] bg-muted animate-pulse"
19
+ }, tt = { class: "flex flex-col gap-2.5 px-3 py-3" }, lt = {
20
+ key: 2,
21
+ class: "border rounded-lg bg-background"
22
+ }, nt = { key: 0 }, at = {
12
23
  key: 0,
13
24
  style: { width: "40px" }
14
- }, He = { class: "hover:bg-transparent" }, Je = {
25
+ }, st = { class: "hover:bg-transparent" }, ot = {
15
26
  key: 0,
16
27
  scope: "col",
17
28
  class: "w-[40px] px-0 text-center font-medium text-muted-foreground",
18
29
  style: { width: "40px" }
19
- }, Qe = { class: "flex items-center justify-center" }, Ze = { class: "[&_tr:last-child]:border-0" }, _e = {
30
+ }, it = { class: "flex items-center justify-center" }, dt = { class: "[&_tr:last-child]:border-0" }, rt = {
20
31
  key: 0,
21
32
  class: "w-[48px] px-0 py-4 align-middle text-center",
22
33
  style: { width: "48px" }
23
- }, et = { key: 2 }, tt = ["colspan"], lt = { key: 0 }, ft = /* @__PURE__ */ ze({
34
+ }, ct = { key: 2 }, ut = ["colspan"], mt = { key: 0 }, Pt = /* @__PURE__ */ Me({
24
35
  __name: "DataTable",
25
36
  props: {
26
37
  rows: { default: () => [] },
@@ -56,177 +67,179 @@ const Ye = { class: "space-y-6.5" }, Xe = { class: "w-full overflow-x-auto overf
56
67
  headerVariant: { default: "default" },
57
68
  size: { default: "md" },
58
69
  loadChildren: {},
59
- treeIndent: { default: 20 }
70
+ treeIndent: { default: 20 },
71
+ responsive: { type: Boolean, default: !0 }
60
72
  },
61
73
  emits: ["change", "select", "rowClick", "update:itemsPerPage", "update:selectedRows", "delete", "expand"],
62
- setup(n, { emit: oe }) {
63
- const se = (e, t) => {
64
- if (!(!e || !t))
65
- return t.includes(".") ? t.split(".").reduce((l, o) => l?.[o], e) : e[t];
66
- }, w = (e, t) => se(e, t), ie = (e, t) => {
67
- const l = ["id", "_id"];
68
- if (t && t !== "auto") return t;
74
+ setup(n, { emit: ge }) {
75
+ const he = (e, l) => {
76
+ if (!(!e || !l))
77
+ return l.includes(".") ? l.split(".").reduce((t, s) => t?.[s], e) : e[l];
78
+ }, y = (e, l) => he(e, l), be = (e, l) => {
79
+ const t = ["id", "_id"];
80
+ if (l && l !== "auto") return l;
69
81
  if (e && e.length > 0) {
70
- for (const o of l)
71
- if (o in e[0]) return o;
82
+ for (const s of t)
83
+ if (s in e[0]) return s;
72
84
  }
73
85
  return "_id";
74
- }, re = (e) => e.sortKey || e.field, a = n, b = oe, V = We(Oe, null), S = r(() => a.hideSelectable ? !1 : V ? V.forceSelectable : !0), h = r(() => ie(a.rows, a.keyField)), {
86
+ }, we = (e) => e.sortKey || e.field, a = n, ye = Ue(Ke).smaller("md"), O = u(() => a.responsive && ye.value), pe = u(() => Ge(a.headers)), C = ge, H = Ae(Je, null), p = u(() => a.hideSelectable ? !1 : H ? H.forceSelectable : !0), h = u(() => be(a.rows, a.keyField)), {
75
87
  isTreeMode: g,
76
- flattenVisibleRows: F,
77
- allLoadedRows: $,
78
- findParentId: O,
79
- isExpandable: Y,
80
- isExpanded: X,
81
- isLoading: q,
82
- collectDescendantIds: G,
83
- toggleExpand: de,
84
- pruneStaleTreeState: ce,
85
- getChildren: H
86
- } = Ke({
87
- rows: _(a, "rows"),
88
+ flattenVisibleRows: $,
89
+ allLoadedRows: W,
90
+ findParentId: te,
91
+ isExpandable: V,
92
+ isExpanded: F,
93
+ isLoading: M,
94
+ collectDescendantIds: le,
95
+ toggleExpand: ne,
96
+ pruneStaleTreeState: ke,
97
+ getChildren: ae
98
+ } = qe({
99
+ rows: me(a, "rows"),
88
100
  keyField: h,
89
- loadChildren: _(a, "loadChildren"),
90
- getRowId: w,
91
- onExpand: (e) => b("expand", e)
92
- }), p = W({ field: "", order: "" }), T = W(
101
+ loadChildren: me(a, "loadChildren"),
102
+ getRowId: y,
103
+ onExpand: (e) => C("expand", e)
104
+ }), I = j({ field: "", order: "" }), T = j(
93
105
  a.pageInfo?.itemsPerPage || a.paginationProps?.itemsPerPage || 10
94
- ), C = W(a.pageInfo?.currentPage || 1), z = W(!1), ue = r(() => a.loading);
95
- D(
106
+ ), B = j(a.pageInfo?.currentPage || 1), A = j(!1), se = u(() => a.loading);
107
+ z(
96
108
  () => a.pageInfo?.itemsPerPage,
97
109
  (e) => {
98
110
  e !== void 0 && (T.value = e);
99
111
  }
100
- ), D(
112
+ ), z(
101
113
  () => a.paginationProps?.itemsPerPage,
102
114
  (e) => {
103
115
  e !== void 0 && (T.value = e);
104
116
  }
105
- ), D(
117
+ ), z(
106
118
  () => a.pageInfo?.currentPage,
107
119
  (e) => {
108
- e && (C.value = e);
120
+ e && (B.value = e);
109
121
  }
110
122
  );
111
- const s = Le(/* @__PURE__ */ new Set());
112
- D(
123
+ const c = Ne(/* @__PURE__ */ new Set());
124
+ z(
113
125
  () => a.selectedRows,
114
126
  (e) => {
115
- const t = new Set((e || []).map((l) => w(l, h.value)));
116
- (t.size !== s.value.size || [...t].some((l) => !s.value.has(l))) && (s.value = t);
127
+ const l = new Set((e || []).map((t) => y(t, h.value)));
128
+ (l.size !== c.value.size || [...l].some((t) => !c.value.has(t))) && (c.value = l);
117
129
  },
118
130
  { immediate: !0 }
119
131
  );
120
- const A = r(() => {
132
+ const Y = u(() => {
121
133
  if (!g.value) return a.rows;
122
- const e = [], t = (l) => {
123
- for (const o of l) {
124
- e.push(o);
125
- for (const m of H(o)) t([m]);
134
+ const e = [], l = (t) => {
135
+ for (const s of t) {
136
+ e.push(s);
137
+ for (const v of ae(s)) l([v]);
126
138
  }
127
139
  };
128
- return t(a.rows), e;
129
- }), M = r(() => {
130
- const e = A.value;
131
- return e.length > 0 && e.every((t) => s.value.has(w(t, h.value)));
132
- }), J = r(() => s.value.size > 0 && !M.value), me = r(() => {
133
- const e = new Map($.value);
134
- return (a.selectedRows || []).forEach((t) => e.set(w(t, h.value), t)), a.rows.forEach((t) => e.set(w(t, h.value), t)), Array.from(s.value).map((t) => e.get(t)).filter(Boolean);
135
- }), fe = (e) => {
140
+ return l(a.rows), e;
141
+ }), X = u(() => {
142
+ const e = Y.value;
143
+ return e.length > 0 && e.every((l) => c.value.has(y(l, h.value)));
144
+ }), oe = u(() => c.value.size > 0 && !X.value), xe = u(() => {
145
+ const e = new Map(W.value);
146
+ return (a.selectedRows || []).forEach((l) => e.set(y(l, h.value), l)), a.rows.forEach((l) => e.set(y(l, h.value), l)), Array.from(c.value).map((l) => e.get(l)).filter(Boolean);
147
+ }), Se = (e) => {
136
148
  if (!g.value) return !1;
137
- const t = G(e);
138
- if (!t.length) return !1;
139
- let l = 0;
140
- for (const o of t)
141
- s.value.has(o) && l++;
142
- return l > 0 && l < t.length;
143
- }, Q = r(() => {
149
+ const l = le(e);
150
+ if (!l.length) return !1;
151
+ let t = 0;
152
+ for (const s of l)
153
+ c.value.has(s) && t++;
154
+ return t > 0 && t < l.length;
155
+ }, N = u(() => {
144
156
  const e = /* @__PURE__ */ new Set();
145
157
  if (!g.value) return e;
146
- for (const t of F.value)
147
- fe(t.row) && e.add(t.id);
158
+ for (const l of $.value)
159
+ Se(l.row) && e.add(l.id);
148
160
  return e;
149
- }), ve = (e, t) => {
150
- let l = O(e);
151
- for (; l != null; ) {
152
- const o = $.value.get(l);
153
- if (!o) break;
154
- const m = H(o).map((f) => w(f, h.value));
155
- m.length > 0 && m.every((f) => t.has(f)) ? t.add(l) : t.delete(l), l = O(l);
161
+ }), Ce = (e, l) => {
162
+ let t = te(e);
163
+ for (; t != null; ) {
164
+ const s = W.value.get(t);
165
+ if (!s) break;
166
+ const v = ae(s).map((f) => y(f, h.value));
167
+ v.length > 0 && v.every((f) => l.has(f)) ? l.add(t) : l.delete(t), t = te(t);
156
168
  }
157
- }, he = (e) => {
158
- const t = new Set(s.value);
159
- A.value.forEach((l) => {
160
- const o = w(l, h.value);
161
- e ? t.add(o) : t.delete(o);
162
- }), s.value = t, N();
163
- }, ge = (e) => {
164
- const t = new Set(s.value), l = !t.has(e);
169
+ }, Ie = (e) => {
170
+ const l = new Set(c.value);
171
+ Y.value.forEach((t) => {
172
+ const s = y(t, h.value);
173
+ e ? l.add(s) : l.delete(s);
174
+ }), c.value = l, q();
175
+ }, ie = (e) => {
176
+ const l = new Set(c.value), t = !l.has(e);
165
177
  if (g.value) {
166
- const o = $.value.get(e);
167
- if (o) {
168
- const m = (d, f) => {
169
- f ? t.add(d) : t.delete(d);
178
+ const s = W.value.get(e);
179
+ if (s) {
180
+ const v = (r, f) => {
181
+ f ? l.add(r) : l.delete(r);
170
182
  };
171
- m(e, l), G(o).forEach((d) => m(d, l)), ve(e, t), s.value = t, N();
183
+ v(e, t), le(s).forEach((r) => v(r, t)), Ce(e, l), c.value = l, q();
172
184
  return;
173
185
  }
174
186
  }
175
- t.has(e) ? t.delete(e) : t.add(e), s.value = t, N();
176
- }, N = () => {
177
- const e = /* @__PURE__ */ new Set(), t = [], l = (o) => {
178
- const m = w(o, h.value);
179
- s.value.has(m) && !e.has(m) && (t.push(o), e.add(m));
187
+ l.has(e) ? l.delete(e) : l.add(e), c.value = l, q();
188
+ }, q = () => {
189
+ const e = /* @__PURE__ */ new Set(), l = [], t = (s) => {
190
+ const v = y(s, h.value);
191
+ c.value.has(v) && !e.has(v) && (l.push(s), e.add(v));
180
192
  };
181
- A.value.forEach(l), (a.selectedRows || []).forEach(l), b("select", {
182
- selected: t,
183
- all: M.value,
184
- indeterminate: J.value
185
- }), b("update:selectedRows", t);
186
- }, we = (e) => {
187
- const t = a.headers.find((o) => o.field === e), l = t ? re(t) : e;
188
- p.value.field === l ? p.value.order = p.value.order === "asc" ? "desc" : "asc" : (p.value.field = l, p.value.order = "asc"), C.value = 1, U();
189
- }, be = (e) => {
190
- C.value = e, U();
191
- }, pe = (e) => {
192
- T.value = e, C.value = 1, b("update:itemsPerPage", e), U();
193
- }, ye = (e) => b("rowClick", e), xe = () => {
194
- b("delete", me.value), z.value = !1;
193
+ Y.value.forEach(t), (a.selectedRows || []).forEach(t), C("select", {
194
+ selected: l,
195
+ all: X.value,
196
+ indeterminate: oe.value
197
+ }), C("update:selectedRows", l);
198
+ }, Pe = (e) => {
199
+ const l = a.headers.find((s) => s.field === e), t = l ? we(l) : e;
200
+ I.value.field === t ? I.value.order = I.value.order === "asc" ? "desc" : "asc" : (I.value.field = t, I.value.order = "asc"), B.value = 1, G();
201
+ }, Te = (e) => {
202
+ B.value = e, G();
203
+ }, Be = (e) => {
204
+ T.value = e, B.value = 1, C("update:itemsPerPage", e), G();
205
+ }, de = (e) => C("rowClick", e), De = () => {
206
+ C("delete", xe.value), A.value = !1;
195
207
  };
196
- let y = null;
197
- const U = () => {
198
- y && clearTimeout(y), y = setTimeout(() => {
199
- y = null;
208
+ let P = null;
209
+ const G = () => {
210
+ P && clearTimeout(P), P = setTimeout(() => {
211
+ P = null;
200
212
  const e = {
201
- pagination: { page: C.value, limit: T.value },
202
- sort: { ...p.value },
213
+ pagination: { page: B.value, limit: T.value },
214
+ sort: { ...I.value },
203
215
  filter: {}
204
216
  };
205
- b("change", e), V?.onTableChange?.(e);
217
+ C("change", e), H?.onTableChange?.(e);
206
218
  }, 10);
207
219
  };
208
- Ve(() => {
209
- y && (clearTimeout(y), y = null);
210
- }), D(
220
+ je(() => {
221
+ P && (clearTimeout(P), P = null);
222
+ }), z(
211
223
  () => a.rows,
212
224
  () => {
213
- ce();
214
- const e = new Set($.value.keys());
215
- (a.selectedRows || []).forEach((t) => {
216
- e.add(w(t, h.value));
217
- }), s.value = new Set([...s.value].filter((t) => e.has(t)));
225
+ ke();
226
+ const e = new Set(W.value.keys());
227
+ (a.selectedRows || []).forEach((l) => {
228
+ e.add(y(l, h.value));
229
+ }), c.value = new Set([...c.value].filter((l) => e.has(l)));
218
230
  }
219
231
  );
220
- const Se = r(() => {
221
- const e = a.variant === "raised", t = a.rounded ? e ? "rounded-lg" : "rounded" : "rounded-none";
232
+ const Ee = u(() => {
233
+ const e = a.variant === "raised", l = a.rounded ? e ? "rounded-lg" : "rounded" : "rounded-none";
222
234
  return [
223
235
  "w-full flex flex-col",
224
- e ? `bg-background shadow-sm p-2 ${t}` : `bg-background ${t}`,
225
- "overflow-hidden",
226
- a.bordered ? "border border-border" : "",
236
+ e ? `bg-background shadow-sm p-2 ${l}` : `bg-background ${l}`,
237
+ O.value ? "overflow-visible" : "overflow-hidden",
238
+ // Outer border stays on desktop table; stacked cards carry their own borders.
239
+ a.bordered && !O.value ? "border border-border" : "",
227
240
  a.class
228
241
  ].join(" ");
229
- }), Ce = r(() => {
242
+ }), Re = u(() => {
230
243
  const e = a.cellBordered ? "[&>thead>tr>th:not(:last-child)]:border-r [&>thead>tr>th]:border-border [&>tbody>tr>td:not(:last-child)]:border-r [&>tbody>tr>td]:border-border [&>tbody>tr>th:not(:last-child)]:border-r [&>tbody>tr>th]:border-border" : "";
231
244
  return [
232
245
  "w-full caption-bottom -text-fs-1",
@@ -234,219 +247,317 @@ const Ye = { class: "space-y-6.5" }, Xe = { class: "w-full overflow-x-auto overf
234
247
  e,
235
248
  a.tableClass
236
249
  ].join(" ");
237
- }), ke = (e) => {
238
- const t = {};
239
- return e.width && !/(?:^|\s|:)w-/.test(e.width) && (t.width = e.width), e.minWidth && !/(?:^|\s|:)min-w-/.test(e.minWidth) && (g.value && !t.width ? t.width = e.minWidth : t.minWidth = e.minWidth), t;
240
- }, Pe = (e) => {
241
- const t = {};
242
- return e.width && !/(?:^|\s|:)w-/.test(e.width) ? t.width = e.width : e.minWidth && !/(?:^|\s|:)min-w-/.test(e.minWidth) && (t.width = e.minWidth), t;
243
- }, Z = (e) => {
244
- const t = [];
245
- return e.width && /(?:^|\s|:)w-/.test(e.width) && t.push(e.width), e.minWidth && /(?:^|\s|:)min-w-/.test(e.minWidth) && t.push(e.minWidth), t.join(" ");
246
- }, Ie = r(
247
- () => a.emptyTitleI18n ? I(a.emptyTitleI18n) : a.emptyTitle
248
- ), Te = r(
249
- () => a.emptyDescriptionI18n ? I(a.emptyDescriptionI18n) : a.emptyDescription
250
- ), Be = r(() => {
251
- const e = I("vlite.dataTable.confirmDeleteTitle");
250
+ }), $e = (e) => {
251
+ const l = {};
252
+ return e.width && !/(?:^|\s|:)w-/.test(e.width) && (l.width = e.width), e.minWidth && !/(?:^|\s|:)min-w-/.test(e.minWidth) && (g.value && !l.width ? l.width = e.minWidth : l.minWidth = e.minWidth), l;
253
+ }, ze = (e) => {
254
+ const l = {};
255
+ return e.width && !/(?:^|\s|:)w-/.test(e.width) ? l.width = e.width : e.minWidth && !/(?:^|\s|:)min-w-/.test(e.minWidth) && (l.width = e.minWidth), l;
256
+ }, re = (e) => {
257
+ const l = [];
258
+ return e.width && /(?:^|\s|:)w-/.test(e.width) && l.push(e.width), e.minWidth && /(?:^|\s|:)min-w-/.test(e.minWidth) && l.push(e.minWidth), l.join(" ");
259
+ }, ce = u(
260
+ () => a.emptyTitleI18n ? R(a.emptyTitleI18n) : a.emptyTitle
261
+ ), ue = u(
262
+ () => a.emptyDescriptionI18n ? R(a.emptyDescriptionI18n) : a.emptyDescription
263
+ ), Le = u(() => {
264
+ const e = R("vlite.dataTable.confirmDeleteTitle");
252
265
  return e !== "vlite.dataTable.confirmDeleteTitle" ? e : "Confirm Deletion";
253
- }), De = r(() => {
254
- const e = I("vlite.dataTable.confirmDeleteDesc");
266
+ }), We = u(() => {
267
+ const e = R("vlite.dataTable.confirmDeleteDesc");
255
268
  return e !== "vlite.dataTable.confirmDeleteDesc" ? e : "Are you sure you want to delete the selected items?";
256
- }), Ee = r(() => {
257
- const e = I("vlite.dataTable.deleteBtn");
269
+ }), Ve = u(() => {
270
+ const e = R("vlite.dataTable.deleteBtn");
258
271
  return e !== "vlite.dataTable.deleteBtn" ? e : "Delete";
259
- }), Re = r(() => {
260
- const e = I("vlite.dataTable.cancelBtn");
272
+ }), Fe = u(() => {
273
+ const e = R("vlite.dataTable.cancelBtn");
261
274
  return e !== "vlite.dataTable.cancelBtn" ? e : "Cancel";
262
275
  });
263
- return (e, t) => (i(), c("div", Ye, [
264
- v("div", {
265
- class: x(Se.value)
276
+ return (e, l) => (i(), d("div", Qe, [
277
+ m("div", {
278
+ class: x(Ee.value)
266
279
  }, [
267
- v("div", Xe, [
268
- v("table", {
269
- class: x([Ce.value, "data-table"])
280
+ O.value ? (i(), d("div", Ze, [
281
+ se.value ? (i(!0), d(S, { key: 0 }, w(Math.min(T.value, 15), (t) => (i(), d("div", {
282
+ key: "skeleton-card-" + t,
283
+ class: "border rounded-lg overflow-hidden bg-background"
284
+ }, [
285
+ m("div", _e, [
286
+ p.value ? (i(), d("div", et)) : D("", !0),
287
+ l[8] || (l[8] = m("div", { class: "h-4 flex-1 rounded-md bg-muted animate-pulse" }, null, -1))
288
+ ]),
289
+ m("div", tt, [
290
+ (i(!0), d(S, null, w(pe.value.slice(1, 4), (s) => (i(), d("div", {
291
+ key: s.field,
292
+ class: "flex items-center justify-between gap-3"
293
+ }, [...l[9] || (l[9] = [
294
+ m("div", { class: "h-2.5 w-14 rounded bg-muted animate-pulse" }, null, -1),
295
+ m("div", { class: "h-4 w-20 rounded-md bg-muted animate-pulse" }, null, -1)
296
+ ])]))), 128))
297
+ ])
298
+ ]))), 128)) : o($).length > 0 ? (i(!0), d(S, { key: 1 }, w(o($), (t, s, v, r) => {
299
+ const f = [
300
+ t.row,
301
+ c.value.has(t.id),
302
+ N.value.has(t.id),
303
+ p.value,
304
+ n.compact,
305
+ n.size,
306
+ n.striped,
307
+ n.hoverable,
308
+ n.cellBordered,
309
+ o(g),
310
+ t.depth,
311
+ t.isLastSibling,
312
+ t.ancestorLastFlags,
313
+ o(F)(t.id),
314
+ o(M)(t.id),
315
+ o(V)(t.row),
316
+ n.treeIndent,
317
+ !0
318
+ ];
319
+ if (r && r.key === t.id && Q(r, f)) return r;
320
+ const k = (i(), Z(fe, {
321
+ key: t.id,
322
+ stacked: "",
323
+ row: t.row,
324
+ headers: n.headers,
325
+ index: t.index,
326
+ "key-field": h.value,
327
+ selectable: p.value,
328
+ "is-selected": c.value.has(t.id),
329
+ "is-indeterminate": N.value.has(t.id),
330
+ hoverable: n.hoverable,
331
+ striped: n.striped,
332
+ compact: n.compact,
333
+ size: n.size,
334
+ "cell-bordered": n.cellBordered,
335
+ "tree-mode": o(g),
336
+ depth: t.depth,
337
+ "tree-indent": n.treeIndent,
338
+ expandable: o(V)(t.row),
339
+ expanded: o(F)(t.id),
340
+ "tree-loading": o(M)(t.id),
341
+ "is-last-sibling": t.isLastSibling,
342
+ "ancestor-last-flags": t.ancestorLastFlags,
343
+ onSelect: ie,
344
+ onRowClick: de,
345
+ onToggleExpand: (b) => o(ne)(t.row, t.depth)
346
+ }, U({ _: 2 }, [
347
+ w(n.headers, (b) => ({
348
+ name: b.field,
349
+ fn: K((J) => [
350
+ E(e.$slots, b.field, _({ ref_for: !0 }, J))
351
+ ])
352
+ }))
353
+ ]), 1032, ["row", "headers", "index", "key-field", "selectable", "is-selected", "is-indeterminate", "hoverable", "striped", "compact", "size", "cell-bordered", "tree-mode", "depth", "tree-indent", "expandable", "expanded", "tree-loading", "is-last-sibling", "ancestor-last-flags", "onToggleExpand"]));
354
+ return k.memo = f, k;
355
+ }, l, 0), 128)) : (i(), d("div", lt, [
356
+ E(e.$slots, "empty", {}, () => [
357
+ L(o(ve), {
358
+ title: ce.value,
359
+ description: ue.value,
360
+ icon: n.emptyIcon,
361
+ variant: "variant12",
362
+ class: "bg-transparent! py-8!"
363
+ }, U({ _: 2 }, [
364
+ e.$slots["empty-action"] ? {
365
+ name: "action",
366
+ fn: K(() => [
367
+ E(e.$slots, "empty-action")
368
+ ]),
369
+ key: "0"
370
+ } : void 0
371
+ ]), 1032, ["title", "description", "icon"])
372
+ ])
373
+ ]))
374
+ ])) : (i(), d("div", {
375
+ key: 1,
376
+ class: x(["w-full overflow-x-auto", o(g) ? "overflow-y-visible" : "overflow-y-hidden"])
377
+ }, [
378
+ m("table", {
379
+ class: x([Re.value, "data-table"])
270
380
  }, [
271
- u(g) ? (i(), c("colgroup", qe, [
272
- S.value ? (i(), c("col", Ge)) : E("", !0),
273
- (i(!0), c(R, null, P(n.headers, (l) => (i(), c("col", {
274
- key: "col-" + l.field,
275
- class: x(Z(l)),
276
- style: j(Pe(l))
381
+ o(g) ? (i(), d("colgroup", nt, [
382
+ p.value ? (i(), d("col", at)) : D("", !0),
383
+ (i(!0), d(S, null, w(n.headers, (t) => (i(), d("col", {
384
+ key: "col-" + t.field,
385
+ class: x(re(t)),
386
+ style: ee(ze(t))
277
387
  }, null, 6))), 128))
278
- ])) : E("", !0),
279
- v("thead", {
388
+ ])) : D("", !0),
389
+ m("thead", {
280
390
  class: x([
281
391
  "[&_tr]:border-b [&_tr]:border-border",
282
392
  n.headerVariant === "minimal" ? "bg-transparent" : "bg-accent",
283
393
  n.variant === "raised" && n.rounded ? "[&_th:first-child]:rounded-tl-lg [&_th:last-child]:rounded-tr-lg" : ""
284
394
  ])
285
395
  }, [
286
- v("tr", He, [
287
- S.value ? (i(), c("th", Je, [
288
- v("div", Qe, [
289
- L(Fe, {
290
- "model-value": M.value,
291
- indeterminate: J.value,
396
+ m("tr", st, [
397
+ p.value ? (i(), d("th", ot, [
398
+ m("div", it, [
399
+ L(Oe, {
400
+ "model-value": X.value,
401
+ indeterminate: oe.value,
292
402
  size: "xs",
293
- "onUpdate:modelValue": he
403
+ "onUpdate:modelValue": Ie
294
404
  }, null, 8, ["model-value", "indeterminate"])
295
405
  ])
296
- ])) : E("", !0),
297
- (i(!0), c(R, null, P(n.headers, (l) => (i(), ee(Ue, {
298
- key: l.field,
299
- header: l,
300
- "sort-config": p.value,
406
+ ])) : D("", !0),
407
+ (i(!0), d(S, null, w(n.headers, (t) => (i(), Z(Xe, {
408
+ key: t.field,
409
+ header: t,
410
+ "sort-config": I.value,
301
411
  compact: n.compact,
302
412
  size: n.size,
303
413
  "table-sortable": n.sortable,
304
414
  "cell-bordered": n.cellBordered,
305
- onSort: we,
415
+ onSort: Pe,
306
416
  class: x([
307
417
  n.cellBordered ? "" : "last:pr-5!",
308
- Z(l),
309
- u(g) ? "min-w-0! max-w-none!" : ""
418
+ re(t),
419
+ o(g) ? "min-w-0! max-w-none!" : ""
310
420
  ]),
311
- style: j(ke(l))
421
+ style: ee($e(t))
312
422
  }, null, 8, ["header", "sort-config", "compact", "size", "table-sortable", "cell-bordered", "class", "style"]))), 128))
313
423
  ])
314
424
  ], 2),
315
- v("tbody", Ze, [
316
- ue.value ? (i(!0), c(R, { key: 0 }, P(Math.min(T.value, 15), (l, o, m, d) => {
425
+ m("tbody", dt, [
426
+ se.value ? (i(!0), d(S, { key: 0 }, w(Math.min(T.value, 15), (t, s, v, r) => {
317
427
  const f = [];
318
- if (d && d.key === "skeleton-" + l && te(d, f)) return d;
319
- const B = (i(), c("tr", {
320
- key: "skeleton-" + l,
428
+ if (r && r.key === "skeleton-" + t && Q(r, f)) return r;
429
+ const k = (i(), d("tr", {
430
+ key: "skeleton-" + t,
321
431
  class: "border-b border-border/70 bg-background transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted"
322
432
  }, [
323
- S.value ? (i(), c("td", _e, [...t[6] || (t[6] = [
324
- v("div", { class: "flex items-center justify-center" }, [
325
- v("div", { class: "h-4 w-4 rounded-[4px] bg-muted/50 animate-pulse" })
433
+ p.value ? (i(), d("td", rt, [...l[10] || (l[10] = [
434
+ m("div", { class: "flex items-center justify-center" }, [
435
+ m("div", { class: "h-4 w-4 rounded-[4px] bg-muted/50 animate-pulse" })
326
436
  ], -1)
327
- ])])) : E("", !0),
328
- (i(!0), c(R, null, P(n.headers, (k) => (i(), c("td", {
329
- key: k.field,
437
+ ])])) : D("", !0),
438
+ (i(!0), d(S, null, w(n.headers, (b) => (i(), d("td", {
439
+ key: b.field,
330
440
  class: x(["align-middle", [
331
- k.hideOnMobile ? "hidden md:table-cell" : "",
441
+ b.hideOnMobile ? "hidden md:table-cell" : "",
332
442
  n.cellBordered ? "px-5! py-3!" : "p-5! last:pr-6!"
333
443
  ]])
334
444
  }, [
335
- v("div", {
445
+ m("div", {
336
446
  class: "rounded-md bg-muted/50 animate-pulse h-4",
337
- style: j({ width: `${50 + Math.random() * 40}%` })
447
+ style: ee({ width: `${50 + Math.random() * 40}%` })
338
448
  }, null, 4)
339
449
  ], 2))), 128))
340
450
  ]));
341
- return B.memo = f, B;
342
- }, t, 0), 128)) : u(F).length > 0 ? (i(!0), c(R, { key: 1 }, P(u(F), (l, o, m, d) => {
451
+ return k.memo = f, k;
452
+ }, l, 2), 128)) : o($).length > 0 ? (i(!0), d(S, { key: 1 }, w(o($), (t, s, v, r) => {
343
453
  const f = [
344
- l.row,
345
- s.value.has(l.id),
346
- Q.value.has(l.id),
347
- S.value,
454
+ t.row,
455
+ c.value.has(t.id),
456
+ N.value.has(t.id),
457
+ p.value,
348
458
  n.compact,
349
459
  n.size,
350
460
  n.striped,
351
461
  n.hoverable,
352
462
  n.cellBordered,
353
- u(g),
354
- l.depth,
355
- l.isLastSibling,
356
- l.ancestorLastFlags,
357
- u(X)(l.id),
358
- u(q)(l.id),
359
- u(Y)(l.row),
360
- n.treeIndent
463
+ o(g),
464
+ t.depth,
465
+ t.isLastSibling,
466
+ t.ancestorLastFlags,
467
+ o(F)(t.id),
468
+ o(M)(t.id),
469
+ o(V)(t.row),
470
+ n.treeIndent,
471
+ !1
361
472
  ];
362
- if (d && d.key === l.id && te(d, f)) return d;
363
- const B = (i(), ee(je, {
364
- key: l.id,
365
- row: l.row,
473
+ if (r && r.key === t.id && Q(r, f)) return r;
474
+ const k = (i(), Z(fe, {
475
+ key: t.id,
476
+ row: t.row,
366
477
  headers: n.headers,
367
- index: l.index,
478
+ index: t.index,
368
479
  "key-field": h.value,
369
- selectable: S.value,
370
- "is-selected": s.value.has(l.id),
371
- "is-indeterminate": Q.value.has(l.id),
480
+ selectable: p.value,
481
+ "is-selected": c.value.has(t.id),
482
+ "is-indeterminate": N.value.has(t.id),
372
483
  hoverable: n.hoverable,
373
484
  striped: n.striped,
374
485
  compact: n.compact,
375
486
  size: n.size,
376
487
  "cell-bordered": n.cellBordered,
377
- "tree-mode": u(g),
378
- depth: l.depth,
488
+ "tree-mode": o(g),
489
+ depth: t.depth,
379
490
  "tree-indent": n.treeIndent,
380
- expandable: u(Y)(l.row),
381
- expanded: u(X)(l.id),
382
- "tree-loading": u(q)(l.id),
383
- "is-last-sibling": l.isLastSibling,
384
- "ancestor-last-flags": l.ancestorLastFlags,
385
- onSelect: ge,
386
- onRowClick: ye,
387
- onToggleExpand: (k) => u(de)(l.row, l.depth),
491
+ expandable: o(V)(t.row),
492
+ expanded: o(F)(t.id),
493
+ "tree-loading": o(M)(t.id),
494
+ "is-last-sibling": t.isLastSibling,
495
+ "ancestor-last-flags": t.ancestorLastFlags,
496
+ onSelect: ie,
497
+ onRowClick: de,
498
+ onToggleExpand: (b) => o(ne)(t.row, t.depth),
388
499
  class: x(n.cellBordered ? "" : "[&_td:last-child]:pr-5!")
389
- }, le({ _: 2 }, [
390
- P(n.headers, (k) => ({
391
- name: k.field,
392
- fn: ne(($e) => [
393
- K(e.$slots, k.field, ae({ ref_for: !0 }, $e))
500
+ }, U({ _: 2 }, [
501
+ w(n.headers, (b) => ({
502
+ name: b.field,
503
+ fn: K((J) => [
504
+ E(e.$slots, b.field, _({ ref_for: !0 }, J))
394
505
  ])
395
506
  }))
396
507
  ]), 1032, ["row", "headers", "index", "key-field", "selectable", "is-selected", "is-indeterminate", "hoverable", "striped", "compact", "size", "cell-bordered", "tree-mode", "depth", "tree-indent", "expandable", "expanded", "tree-loading", "is-last-sibling", "ancestor-last-flags", "onToggleExpand", "class"]));
397
- return B.memo = f, B;
398
- }, t, 2), 128)) : (i(), c("tr", et, [
399
- v("td", {
400
- colspan: S.value ? n.headers.length + 1 : n.headers.length,
508
+ return k.memo = f, k;
509
+ }, l, 4), 128)) : (i(), d("tr", ct, [
510
+ m("td", {
511
+ colspan: p.value ? n.headers.length + 1 : n.headers.length,
401
512
  class: "align-middle hover:bg-transparent"
402
513
  }, [
403
- K(e.$slots, "empty", {}, () => [
404
- L(u(Ne), {
405
- title: Ie.value,
406
- description: Te.value,
514
+ E(e.$slots, "empty", {}, () => [
515
+ L(o(ve), {
516
+ title: ce.value,
517
+ description: ue.value,
407
518
  icon: n.emptyIcon,
408
519
  variant: "variant12",
409
520
  class: "bg-transparent! py-8!"
410
- }, le({ _: 2 }, [
521
+ }, U({ _: 2 }, [
411
522
  e.$slots["empty-action"] ? {
412
523
  name: "action",
413
- fn: ne(() => [
414
- K(e.$slots, "empty-action")
524
+ fn: K(() => [
525
+ E(e.$slots, "empty-action")
415
526
  ]),
416
527
  key: "0"
417
528
  } : void 0
418
529
  ]), 1032, ["title", "description", "icon"])
419
530
  ])
420
- ], 8, tt)
531
+ ], 8, ut)
421
532
  ]))
422
533
  ])
423
534
  ], 2)
424
- ])
535
+ ], 2))
425
536
  ], 2),
426
- n.showPagination && n.pageInfo && n.pageInfo.totalPages > 1 ? (i(), c("div", lt, [
427
- L(u(Me), ae({
428
- "current-page": C.value,
537
+ n.showPagination && n.pageInfo && n.pageInfo.totalPages > 1 ? (i(), d("div", mt, [
538
+ L(o(Ye), _({
539
+ "current-page": B.value,
429
540
  "total-pages": n.pageInfo.totalPages,
430
541
  "total-items": n.pageInfo.totalItems
431
542
  }, n.paginationProps, {
432
- onChange: be,
433
- "onUpdate:itemsPerPage": pe
543
+ onChange: Te,
544
+ "onUpdate:itemsPerPage": Be
434
545
  }), null, 16, ["current-page", "total-pages", "total-items"])
435
- ])) : E("", !0),
436
- L(Ae, {
437
- show: z.value,
438
- "onUpdate:show": t[4] || (t[4] = (l) => z.value = l),
439
- title: Be.value,
440
- description: De.value,
441
- "confirm-text": Ee.value,
442
- "cancel-text": Re.value,
546
+ ])) : D("", !0),
547
+ L(He, {
548
+ show: A.value,
549
+ "onUpdate:show": l[6] || (l[6] = (t) => A.value = t),
550
+ title: Le.value,
551
+ description: We.value,
552
+ "confirm-text": Ve.value,
553
+ "cancel-text": Fe.value,
443
554
  variant: "danger",
444
- onConfirm: xe,
445
- onCancel: t[5] || (t[5] = (l) => z.value = !1)
555
+ onConfirm: De,
556
+ onCancel: l[7] || (l[7] = (t) => A.value = !1)
446
557
  }, null, 8, ["show", "title", "description", "confirm-text", "cancel-text"])
447
558
  ]));
448
559
  }
449
560
  });
450
561
  export {
451
- ft as default
562
+ Pt as default
452
563
  };