vlite3 1.5.4 → 1.5.6

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