vlite3 1.5.5 → 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 (72) hide show
  1. package/README.md +34 -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/CategoryManager/CategoryManager.vue2.js +16 -16
  12. package/components/CategoryManager/CategoryNode.vue.js +16 -16
  13. package/components/CategoryMenu/CategoryMenu.vue.js +9 -8
  14. package/components/Chart/BarChart.vue.d.ts +1 -1
  15. package/components/Chart/GanttChart.vue.d.ts +1 -1
  16. package/components/Chart/LineChart.vue.d.ts +1 -1
  17. package/components/Chart/TimelineChart.vue.d.ts +1 -1
  18. package/components/ColorPicker/ColorIro.vue3.js +2 -2
  19. package/components/ColorPicker/ColorPicker.vue.js +2 -2
  20. package/components/ConfirmationModal.vue.d.ts +4 -0
  21. package/components/ConfirmationModal.vue.js +47 -39
  22. package/components/DataTable/DataTable.vue.js +319 -294
  23. package/components/DataTable/DataTableRow.vue.d.ts +2 -0
  24. package/components/DataTable/DataTableRow.vue.js +2 -2
  25. package/components/DataTable/DataTableRow.vue2.js +57 -54
  26. package/components/DataTable/types.d.ts +2 -0
  27. package/components/DatePicker.vue.js +5 -4
  28. package/components/Empty/Empty.vue.js +3 -2
  29. package/components/ExportData/ExportData.vue.d.ts +1 -1
  30. package/components/Form/Form.vue2.js +44 -43
  31. package/components/Form/FormField.vue.js +24 -24
  32. package/components/Heatmap/Heatmap.vue2.js +3 -2
  33. package/components/Icon.vue.d.ts +3 -2
  34. package/components/Icon.vue.js +22 -12
  35. package/components/IconPicker.vue.js +5 -133
  36. package/components/IconPicker.vue2.js +218 -2
  37. package/components/ImportData/ImportData.vue.js +3 -2
  38. package/components/ImportData/ImportStep2.vue.js +3 -2
  39. package/components/Kanban/KanbanBoard.vue2.js +4 -2
  40. package/components/List/utils.js +5 -4
  41. package/components/Masonry/Masonry.vue2.js +14 -13
  42. package/components/Navbar/Navbar.vue.d.ts +1 -1
  43. package/components/Price/Price.vue.js +13 -12
  44. package/components/Rating/Rating.vue.js +2 -2
  45. package/components/Rating/Rating.vue2.js +41 -41
  46. package/components/Rating/ReviewSummary.vue.js +20 -20
  47. package/components/RichTextEditor/RichTextEditor.vue.js +4 -4
  48. package/components/RichTextEditor/RichTextLinkPopover.vue3.js +2 -2
  49. package/components/RichTextEditor/RichTextToolbar.vue3.js +2 -2
  50. package/components/Screen/ScreenFilter.vue.js +7 -5
  51. package/components/Screen/components/ScreenExportModal.vue.d.ts +2 -2
  52. package/components/Stats/StatItem.vue.js +3 -2
  53. package/components/StatusChip/StatusChip.vue.js +6 -5
  54. package/components/Workbook/Sheet.vue.js +11 -11
  55. package/core/config.d.ts +28 -0
  56. package/core/config.js +23 -21
  57. package/core/index.js +18 -17
  58. package/icons/IconRegistry.d.ts +38 -0
  59. package/icons/IconRegistry.js +166 -0
  60. package/icons/IconTypes.d.ts +37 -0
  61. package/index.d.ts +2 -0
  62. package/index.js +473 -457
  63. package/package.json +15 -3
  64. package/style.css +1 -1
  65. package/types/config.type.d.ts +8 -1
  66. package/utils/functions.js +44 -43
  67. package/utils/index.d.ts +1 -0
  68. package/vite.d.ts +6 -0
  69. package/vite.js +223 -0
  70. /package/components/ColorPicker/{ColorIro.vue.js → ColorIro.vue2.js} +0 -0
  71. /package/components/RichTextEditor/{RichTextLinkPopover.vue2.js → RichTextLinkPopover.vue.js} +0 -0
  72. /package/components/RichTextEditor/{RichTextToolbar.vue2.js → RichTextToolbar.vue.js} +0 -0
@@ -5,6 +5,7 @@ interface Props {
5
5
  index: number;
6
6
  keyField: string;
7
7
  selectable?: boolean;
8
+ selectionDisabled?: boolean;
8
9
  isSelected?: boolean;
9
10
  isIndeterminate?: boolean;
10
11
  hoverable?: boolean;
@@ -80,6 +81,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
80
81
  ancestorLastFlags: boolean[];
81
82
  isIndeterminate: boolean;
82
83
  keyField: string;
84
+ selectionDisabled: boolean;
83
85
  hoverable: boolean;
84
86
  treeMode: boolean;
85
87
  treeIndent: number;
@@ -1,7 +1,7 @@
1
1
  import o from "./DataTableRow.vue2.js";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.js";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-af551256"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.js";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-413f5bb1"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as q, computed as w, openBlock as i, createElementBlock as o, normalizeStyle as k, normalizeClass as m, createElementVNode as g, withModifiers as x, createVNode as B, createCommentVNode as c, createBlock as u, renderSlot as S, Fragment as C, renderList as $, toDisplayString as J, unref as H } from "vue";
1
+ import { defineComponent as q, computed as w, openBlock as i, createElementBlock as d, normalizeStyle as k, normalizeClass as m, createElementVNode as g, withModifiers as x, createVNode as B, createCommentVNode as c, createBlock as u, renderSlot as S, Fragment as C, renderList as $, toDisplayString as J, unref as H } from "vue";
2
2
  import j from "../CheckBox.vue.js";
3
3
  import L from "../Icon.vue.js";
4
4
  import z from "../Price/Price.vue.js";
5
- import I from "../DateTime/DateTime.vue.js";
5
+ import D from "../DateTime/DateTime.vue.js";
6
6
  import K from "../TreeConnectors/TreeConnectors.vue.js";
7
7
  import { DEFAULT_TOGGLE_SIZE as Q, DEFAULT_TREE_CONTENT_GAP as A, DEFAULT_TREE_LEAF_INSET as R, DEFAULT_TREE_LEADING as X } from "../TreeConnectors/geometry.js";
8
8
  import { $t as Y } from "../../utils/i18n.js";
@@ -11,7 +11,7 @@ import { splitStackedHeaders as ee } from "./dataTableHeaders.js";
11
11
  const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"], ne = {
12
12
  key: 0,
13
13
  class: "text-[11px] font-semibold uppercase tracking-wider text-muted-foreground shrink-0 pt-0.5 max-w-[40%]"
14
- }, ae = ["title", "innerHTML"], oe = ["innerHTML"], de = ["data-state"], se = { class: "flex items-center justify-center" }, re = ["onClick"], ue = ["aria-expanded"], ce = ["title", "innerHTML"], Ce = /* @__PURE__ */ q({
14
+ }, ae = ["title", "innerHTML"], de = ["innerHTML"], oe = ["data-state"], se = { class: "flex items-center justify-center" }, re = ["onClick"], ue = ["aria-expanded"], ce = ["title", "innerHTML"], Ce = /* @__PURE__ */ q({
15
15
  __name: "DataTableRow",
16
16
  props: {
17
17
  row: {},
@@ -19,6 +19,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
19
19
  index: {},
20
20
  keyField: { default: "_id" },
21
21
  selectable: { type: Boolean, default: !1 },
22
+ selectionDisabled: { type: Boolean, default: !1 },
22
23
  isSelected: { type: Boolean, default: !1 },
23
24
  isIndeterminate: { type: Boolean, default: !1 },
24
25
  hoverable: { type: Boolean, default: !0 },
@@ -73,26 +74,26 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
73
74
  left: "text-left",
74
75
  center: "text-center",
75
76
  right: "text-right"
76
- })[l.align || "left"], P = w(() => n(r.row, r.keyField)), d = w(() => ee(r.headers)), T = (l) => l.titleI18n ? Y(l.titleI18n) : l.title, p = () => {
77
+ })[l.align || "left"], P = w(() => n(r.row, r.keyField)), o = w(() => ee(r.headers)), T = (l) => l.titleI18n ? Y(l.titleI18n) : l.title, O = () => {
77
78
  const { size: l, compact: a, cellBordered: t } = r;
78
79
  return l === "xs" || a ? `py-1.5! -text-fs-1.5! ${t ? "px-3!" : "pr-4 max-sm:pr-10!"}` : l === "sm" ? `py-2! -text-fs-1.5! ${t ? "px-3!" : "pr-5 max-sm:pr-10!"}` : l === "lg" ? `py-4! text-base ${t ? "px-4!" : "pr-7 max-sm:pr-12!"}` : `py-3! -text-fs-1.5! ${t ? "px-3.5!" : "pr-6! max-sm:pr-10!"}`;
79
- }, E = X, O = w(
80
+ }, E = X, Z = w(
80
81
  () => r.treeMode ? E + r.depth * r.treeIndent : 0
81
- ), Z = w(() => {
82
+ ), p = w(() => {
82
83
  const l = E + r.depth * r.treeIndent;
83
84
  return r.expandable ? l + Q + A : l + R;
84
- }), F = w(
85
+ }), I = w(
85
86
  () => r.treeMode ? r.depth * Math.min(r.treeIndent, 16) : 0
86
87
  ), b = () => {
87
88
  M("rowClick", { row: r.row, index: r.index });
88
- }, N = () => {
89
- M("select", P.value);
89
+ }, F = () => {
90
+ r.selectionDisabled || M("select", P.value);
90
91
  }, h = (l) => {
91
92
  l?.stopPropagation(), l?.preventDefault(), M("toggleExpand");
92
- }, D = w(
93
+ }, N = w(
93
94
  () => V.value ? "lucide:chevron-left" : "lucide:chevron-right"
94
95
  );
95
- return (l, a) => e.stacked ? (i(), o("div", {
96
+ return (l, a) => e.stacked ? (i(), d("div", {
96
97
  key: 0,
97
98
  class: m(["data-table-row--stacked border rounded-lg overflow-hidden min-w-0 bg-background", [
98
99
  e.hoverable && !e.isSelected ? "hover:bg-muted/30" : "",
@@ -102,7 +103,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
102
103
  "group transition-colors"
103
104
  ]]),
104
105
  "data-state": e.isSelected ? "selected" : void 0,
105
- style: k(F.value ? { marginInlineStart: F.value + "px" } : void 0),
106
+ style: k(I.value ? { marginInlineStart: I.value + "px" } : void 0),
106
107
  onClick: b
107
108
  }, [
108
109
  g("div", {
@@ -110,7 +111,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
110
111
  onClick: a[1] || (a[1] = x(() => {
111
112
  }, ["stop"]))
112
113
  }, [
113
- e.selectable ? (i(), o("div", {
114
+ e.selectable ? (i(), d("div", {
114
115
  key: 0,
115
116
  class: "shrink-0 self-center",
116
117
  onClick: a[0] || (a[0] = x(() => {
@@ -119,11 +120,12 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
119
120
  B(j, {
120
121
  "model-value": e.isSelected,
121
122
  indeterminate: e.isIndeterminate,
123
+ disabled: e.selectionDisabled,
122
124
  size: "xs",
123
- "onUpdate:modelValue": N
124
- }, null, 8, ["model-value", "indeterminate"])
125
+ "onUpdate:modelValue": F
126
+ }, null, 8, ["model-value", "indeterminate", "disabled"])
125
127
  ])) : c("", !0),
126
- e.treeMode && e.expandable ? (i(), o("button", {
128
+ e.treeMode && e.expandable ? (i(), d("button", {
127
129
  key: 1,
128
130
  type: "button",
129
131
  class: "tree-expand-toggle shrink-0 flex h-7 w-7 items-center justify-center rounded-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors focus:outline-none",
@@ -136,54 +138,54 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
136
138
  class: "h-4 w-4 animate-spin"
137
139
  })) : (i(), u(L, {
138
140
  key: 1,
139
- icon: e.expanded ? "lucide:chevron-down" : D.value,
141
+ icon: e.expanded ? "lucide:chevron-down" : N.value,
140
142
  class: "h-4 w-4"
141
143
  }, null, 8, ["icon"]))
142
144
  ], 8, le)) : c("", !0),
143
- d.value.primaryHeader ? (i(), o("div", {
145
+ o.value.primaryHeader ? (i(), d("div", {
144
146
  key: 2,
145
- class: m(["min-w-0 flex-1", v(d.value.primaryHeader, n(e.row, d.value.primaryHeader.field), e.row)]),
147
+ class: m(["min-w-0 flex-1", v(o.value.primaryHeader, n(e.row, o.value.primaryHeader.field), e.row)]),
146
148
  onClick: b
147
149
  }, [
148
- S(l.$slots, d.value.primaryHeader.field, {
149
- value: n(e.row, d.value.primaryHeader.field),
150
+ S(l.$slots, o.value.primaryHeader.field, {
151
+ value: n(e.row, o.value.primaryHeader.field),
150
152
  row: e.row,
151
153
  index: e.index,
152
- field: d.value.primaryHeader.field
154
+ field: o.value.primaryHeader.field
153
155
  }, () => [
154
- d.value.primaryHeader.type === "price" ? (i(), u(z, {
156
+ o.value.primaryHeader.type === "price" ? (i(), u(z, {
155
157
  key: 0,
156
- value: n(e.row, d.value.primaryHeader.field),
158
+ value: n(e.row, o.value.primaryHeader.field),
157
159
  class: "block",
158
- title: String(n(e.row, d.value.primaryHeader.field))
159
- }, null, 8, ["value", "title"])) : d.value.primaryHeader.type === "date" ? (i(), u(I, {
160
+ title: String(n(e.row, o.value.primaryHeader.field))
161
+ }, null, 8, ["value", "title"])) : o.value.primaryHeader.type === "date" ? (i(), u(D, {
160
162
  key: 1,
161
- value: n(e.row, d.value.primaryHeader.field),
163
+ value: n(e.row, o.value.primaryHeader.field),
162
164
  class: "block",
163
- title: String(n(e.row, d.value.primaryHeader.field))
164
- }, null, 8, ["value", "title"])) : (i(), o("span", {
165
+ title: String(n(e.row, o.value.primaryHeader.field))
166
+ }, null, 8, ["value", "title"])) : (i(), d("span", {
165
167
  key: 2,
166
168
  class: "block text-sm font-semibold truncate",
167
- title: String(n(e.row, d.value.primaryHeader.field)),
169
+ title: String(n(e.row, o.value.primaryHeader.field)),
168
170
  innerHTML: y(
169
- d.value.primaryHeader,
170
- n(e.row, d.value.primaryHeader.field),
171
+ o.value.primaryHeader,
172
+ n(e.row, o.value.primaryHeader.field),
171
173
  e.row
172
174
  )
173
175
  }, null, 8, ie))
174
176
  ], !0)
175
177
  ], 2)) : c("", !0)
176
178
  ]),
177
- d.value.bodyHeaders.length ? (i(), o("div", {
179
+ o.value.bodyHeaders.length ? (i(), d("div", {
178
180
  key: 0,
179
181
  class: "flex flex-col gap-2.5 px-3 py-3 min-w-0",
180
182
  onClick: b
181
183
  }, [
182
- (i(!0), o(C, null, $(d.value.bodyHeaders, (t) => (i(), o("div", {
184
+ (i(!0), d(C, null, $(o.value.bodyHeaders, (t) => (i(), d("div", {
183
185
  key: t.field,
184
186
  class: "flex items-start justify-between gap-7 min-w-0"
185
187
  }, [
186
- T(t) ? (i(), o("span", ne, J(T(t)), 1)) : c("", !0),
188
+ T(t) ? (i(), d("span", ne, J(T(t)), 1)) : c("", !0),
187
189
  g("div", {
188
190
  class: m(["stacked-cell-value min-w-0 flex-1 text-sm text-right flex justify-end items-start", [
189
191
  v(t, n(e.row, t.field), e.row),
@@ -201,12 +203,12 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
201
203
  value: n(e.row, t.field),
202
204
  class: "block",
203
205
  title: String(n(e.row, t.field))
204
- }, null, 8, ["value", "title"])) : t.type === "date" ? (i(), u(I, {
206
+ }, null, 8, ["value", "title"])) : t.type === "date" ? (i(), u(D, {
205
207
  key: 1,
206
208
  value: n(e.row, t.field),
207
209
  class: "block",
208
210
  title: String(n(e.row, t.field))
209
- }, null, 8, ["value", "title"])) : (i(), o("span", {
211
+ }, null, 8, ["value", "title"])) : (i(), d("span", {
210
212
  key: 2,
211
213
  class: "block",
212
214
  title: String(n(e.row, t.field)),
@@ -216,13 +218,13 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
216
218
  ], 2)
217
219
  ]))), 128))
218
220
  ])) : c("", !0),
219
- d.value.actionHeaders.length ? (i(), o("div", {
221
+ o.value.actionHeaders.length ? (i(), d("div", {
220
222
  key: 1,
221
223
  class: "flex items-center justify-end gap-1 flex-wrap px-2 py-2 border-t",
222
224
  onClick: a[2] || (a[2] = x(() => {
223
225
  }, ["stop"]))
224
226
  }, [
225
- (i(!0), o(C, null, $(d.value.actionHeaders, (t) => (i(), o("div", {
227
+ (i(!0), d(C, null, $(o.value.actionHeaders, (t) => (i(), d("div", {
226
228
  key: t.field,
227
229
  class: m(["min-w-0 flex items-center justify-end gap-0.5", v(t, n(e.row, t.field), e.row)])
228
230
  }, [
@@ -235,11 +237,11 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
235
237
  g("span", {
236
238
  class: "block",
237
239
  innerHTML: y(t, n(e.row, t.field), e.row)
238
- }, null, 8, oe)
240
+ }, null, 8, de)
239
241
  ], !0)
240
242
  ], 2))), 128))
241
243
  ])) : c("", !0)
242
- ], 14, te)) : (i(), o("tr", {
244
+ ], 14, te)) : (i(), d("tr", {
243
245
  key: 1,
244
246
  class: m(["border-b data-[state=selected]:bg-muted h-full", [
245
247
  e.hoverable ? "hover:bg-muted/20" : "",
@@ -250,7 +252,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
250
252
  "data-state": e.isSelected ? "selected" : void 0,
251
253
  onClick: b
252
254
  }, [
253
- e.selectable ? (i(), o("td", {
255
+ e.selectable ? (i(), d("td", {
254
256
  key: 0,
255
257
  class: "px-0! py-1! align-middle text-center",
256
258
  onClick: a[3] || (a[3] = x(() => {
@@ -260,15 +262,16 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
260
262
  B(j, {
261
263
  "model-value": e.isSelected,
262
264
  indeterminate: e.isIndeterminate,
265
+ disabled: e.selectionDisabled,
263
266
  size: "xs",
264
- "onUpdate:modelValue": N
265
- }, null, 8, ["model-value", "indeterminate"])
267
+ "onUpdate:modelValue": F
268
+ }, null, 8, ["model-value", "indeterminate", "disabled"])
266
269
  ])
267
270
  ])) : c("", !0),
268
- (i(!0), o(C, null, $(e.headers, (t, s) => (i(), o("td", {
271
+ (i(!0), d(C, null, $(e.headers, (t, s) => (i(), d("td", {
269
272
  key: t.field,
270
273
  class: m(["align-middle whitespace-normal wrap-break-word", [
271
- p(),
274
+ O(),
272
275
  G(t),
273
276
  t.hideOnMobile ? "hidden md:table-cell" : "",
274
277
  e.treeMode ? "max-w-none min-w-0" : "max-w-[400px]",
@@ -288,7 +291,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
288
291
  ),
289
292
  onClick: (f) => e.treeMode && s === 0 && e.expandable ? h(f) : void 0
290
293
  }, [
291
- e.treeMode && s === 0 ? (i(), o(C, { key: 0 }, [
294
+ e.treeMode && s === 0 ? (i(), d(C, { key: 0 }, [
292
295
  B(H(K), {
293
296
  depth: e.depth,
294
297
  "is-last-sibling": e.isLastSibling,
@@ -301,11 +304,11 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
301
304
  "leaf-inset": H(R),
302
305
  "bleed-y": ""
303
306
  }, null, 8, ["depth", "is-last-sibling", "ancestor-last-flags", "has-toggle", "indent", "base-inset", "content-gap", "leaf-inset"]),
304
- e.expandable ? (i(), o("button", {
307
+ e.expandable ? (i(), d("button", {
305
308
  key: 0,
306
309
  type: "button",
307
310
  class: "tree-expand-toggle absolute z-20 top-1/2 -translate-y-1/2 flex h-7 w-7 items-center justify-center rounded-sm text-muted-foreground hover:bg-muted hover:text-foreground transition-colors focus:outline-none",
308
- style: k({ insetInlineStart: O.value + "px" }),
311
+ style: k({ insetInlineStart: Z.value + "px" }),
309
312
  "aria-expanded": e.expanded,
310
313
  onClick: x(h, ["stop"])
311
314
  }, [
@@ -315,7 +318,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
315
318
  class: "h-4 w-4 animate-spin"
316
319
  })) : (i(), u(L, {
317
320
  key: 1,
318
- icon: e.expanded ? "lucide:chevron-down" : D.value,
321
+ icon: e.expanded ? "lucide:chevron-down" : N.value,
319
322
  class: "h-4 w-4"
320
323
  }, null, 8, ["icon"]))
321
324
  ], 12, ue)) : c("", !0)
@@ -326,7 +329,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
326
329
  e.treeMode && s === 0 ? "relative z-10 flex items-center min-h-[28px] max-h-[80px] overflow-y-auto scrollbar-hide" : s === e.headers.length - 1 ? "overflow-visible" : "max-h-[80px] overflow-y-auto scrollbar-hide"
327
330
  ]),
328
331
  style: k(
329
- e.treeMode && s === 0 ? { paddingInlineStart: Z.value + "px" } : void 0
332
+ e.treeMode && s === 0 ? { paddingInlineStart: p.value + "px" } : void 0
330
333
  )
331
334
  }, [
332
335
  S(l.$slots, t.field, {
@@ -340,12 +343,12 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
340
343
  value: n(e.row, t.field),
341
344
  class: "block",
342
345
  title: String(n(e.row, t.field))
343
- }, null, 8, ["value", "title"])) : t.type === "date" ? (i(), u(I, {
346
+ }, null, 8, ["value", "title"])) : t.type === "date" ? (i(), u(D, {
344
347
  key: 1,
345
348
  value: n(e.row, t.field),
346
349
  class: "block",
347
350
  title: String(n(e.row, t.field))
348
- }, null, 8, ["value", "title"])) : (i(), o("span", {
351
+ }, null, 8, ["value", "title"])) : (i(), d("span", {
349
352
  key: 2,
350
353
  class: "block",
351
354
  title: String(n(e.row, t.field)),
@@ -354,7 +357,7 @@ const te = ["data-state"], le = ["aria-expanded"], ie = ["title", "innerHTML"],
354
357
  ], !0)
355
358
  ], 6)
356
359
  ], 14, re))), 128))
357
- ], 10, de));
360
+ ], 10, oe));
358
361
  }
359
362
  });
360
363
  export {
@@ -54,6 +54,8 @@ export interface DataTableProps {
54
54
  keyField?: string;
55
55
  loading?: boolean;
56
56
  hideSelectable?: boolean;
57
+ /** Return false to keep a row visible while disabling its selection checkbox. */
58
+ isRowSelectable?: (row: any) => boolean;
57
59
  emptyTitle?: string;
58
60
  emptyTitleI18n?: string;
59
61
  emptyDescription?: string;
@@ -1,14 +1,15 @@
1
- import { defineComponent as z, computed as m, openBlock as w, createBlock as $, unref as D, withCtx as h, createElementVNode as p, createVNode as g, renderSlot as B, mergeProps as x } from "vue";
1
+ import { defineComponent as p, computed as m, openBlock as w, createBlock as $, unref as D, withCtx as h, createElementVNode as z, createVNode as g, renderSlot as B, mergeProps as x } from "vue";
2
2
  import P from "./Button.vue.js";
3
3
  import L from "./Dropdown/Dropdown.vue.js";
4
4
  import "@iconify/vue";
5
+ import "../icons/IconRegistry.js";
5
6
  import { $t as V } from "../utils/i18n.js";
6
7
  /* empty css */
7
8
  /* empty css */
8
9
  /* empty css */
9
10
  import U, { TimePicker as j } from "v-datepicker-lite";
10
11
  import "v-datepicker-lite/style.css";
11
- const C = { class: "overflow-hidden min-w-[300px]" }, J = /* @__PURE__ */ z({
12
+ const C = { class: "overflow-hidden min-w-[300px]" }, K = /* @__PURE__ */ p({
12
13
  __name: "DatePicker",
13
14
  props: {
14
15
  placeholder: {},
@@ -160,7 +161,7 @@ const C = { class: "overflow-hidden min-w-[300px]" }, J = /* @__PURE__ */ z({
160
161
  ])
161
162
  ]),
162
163
  default: h(() => [
163
- p("div", C, [
164
+ z("div", C, [
164
165
  g(D(U), {
165
166
  value: T.value,
166
167
  mode: t.mode,
@@ -211,5 +212,5 @@ const C = { class: "overflow-hidden min-w-[300px]" }, J = /* @__PURE__ */ z({
211
212
  }
212
213
  });
213
214
  export {
214
- J as default
215
+ K as default
215
216
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent as d, computed as n, markRaw as t, openBlock as m, createElementBlock as u, createBlock as $, resolveDynamicComponent as y, createSlots as h, renderList as I, withCtx as g, renderSlot as C, normalizeProps as k, guardReactiveProps as w } from "vue";
2
2
  import { $t as e } from "../../utils/i18n.js";
3
3
  import { useVLiteConfig as x } from "../../core/config.js";
4
+ import "../../icons/IconRegistry.js";
4
5
  import B from "./variants/Variant1.vue.js";
5
6
  import S from "./variants/Variant2.vue.js";
6
7
  import V from "./variants/Variant3.vue.js";
@@ -13,7 +14,7 @@ import R from "./variants/Variant9.vue.js";
13
14
  import T from "./variants/Variant10.vue.js";
14
15
  import j from "./variants/Variant11.vue.js";
15
16
  import z from "./variants/Variant12.vue.js";
16
- const N = { class: "flex items-center justify-center w-full py-2" }, rt = /* @__PURE__ */ d({
17
+ const N = { class: "flex items-center justify-center w-full py-2" }, nt = /* @__PURE__ */ d({
17
18
  __name: "Empty",
18
19
  props: {
19
20
  title: {},
@@ -67,5 +68,5 @@ const N = { class: "flex items-center justify-center w-full py-2" }, rt = /* @__
67
68
  }
68
69
  });
69
70
  export {
70
- rt as default
71
+ nt as default
71
72
  };
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<ExportDataProps, {
7
7
  icon: string;
8
8
  }[]>;
9
9
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExportDataProps> & Readonly<{}>, {
10
- title: string;
11
10
  mode: "frontend" | "backend";
11
+ title: string;
12
12
  buttonText: string;
13
13
  buttonIcon: string;
14
14
  formats: ExportFormat[];