@oneb/ui-vue 0.3.19 → 0.3.20

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.
@@ -1,12 +1,12 @@
1
- import { openBlock as l, createElementBlock as o, createElementVNode as f, ref as E, onMounted as Ye, toValue as Re, watch as A, onBeforeUnmount as Oe, defineComponent as fe, computed as g, normalizeClass as v, toDisplayString as k, Fragment as S, renderList as j, unref as c, createCommentVNode as h, createBlock as b, resolveDynamicComponent as w, useSlots as Pe, provide as Ze, withDirectives as De, renderSlot as M, vShow as et, normalizeStyle as ae, createTextVNode as H, withModifiers as I, createVNode as Be, inject as tt } from "vue";
2
- import { useOnebI18n as qe } from "../i18n/index.js";
3
- import { a as pe, r as st } from "../ChevronRightIcon-4549a26b.js";
4
- import { S as Z } from "../SpinnerIcon-74648c98.js";
5
- import { r as ne } from "../ChevronDownIcon-6805ce6c.js";
6
- import { r as D } from "../CheckIcon-f1c94824.js";
7
- import { _ as rt } from "../_plugin-vue_export-helper-dad06003.js";
1
+ import { openBlock as l, createElementBlock as o, createElementVNode as f, ref as E, onMounted as Ze, toValue as Be, watch as W, onBeforeUnmount as Oe, defineComponent as ye, computed as y, normalizeClass as m, toDisplayString as w, Fragment as R, renderList as j, unref as p, createCommentVNode as g, createBlock as k, resolveDynamicComponent as C, useSlots as Pe, provide as De, withDirectives as et, renderSlot as F, vShow as tt, normalizeStyle as ne, createTextVNode as I, withModifiers as G, createVNode as Me, inject as st } from "vue";
2
+ import { useOnebI18n as Le } from "../i18n/index.js";
3
+ import { a as ce, r as rt } from "../ChevronRightIcon-4549a26b.js";
4
+ import { S as D } from "../SpinnerIcon-74648c98.js";
5
+ import { r as ie } from "../ChevronDownIcon-6805ce6c.js";
6
+ import { r as ee } from "../CheckIcon-f1c94824.js";
7
+ import { _ as lt } from "../_plugin-vue_export-helper-dad06003.js";
8
8
  import "../SpinnerIcon.vue_vue_type_style_index_0_lang-4ed993c7.js";
9
- function lt(u, n) {
9
+ function ot(u, i) {
10
10
  return l(), o("svg", {
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  fill: "none",
@@ -22,7 +22,7 @@ function lt(u, n) {
22
22
  })
23
23
  ]);
24
24
  }
25
- function Me(u, n) {
25
+ function Fe(u, i) {
26
26
  return l(), o("svg", {
27
27
  xmlns: "http://www.w3.org/2000/svg",
28
28
  fill: "none",
@@ -38,7 +38,7 @@ function Me(u, n) {
38
38
  })
39
39
  ]);
40
40
  }
41
- const ot = {
41
+ const at = {
42
42
  field: {
43
43
  type: String,
44
44
  required: !1
@@ -91,7 +91,7 @@ const ot = {
91
91
  type: String,
92
92
  required: !1
93
93
  }
94
- }, at = {
94
+ }, nt = {
95
95
  value: {
96
96
  type: Array,
97
97
  default: () => []
@@ -223,53 +223,57 @@ const ot = {
223
223
  cardBreakpoint: {
224
224
  type: String,
225
225
  required: !1
226
+ },
227
+ disabledRows: {
228
+ type: Function,
229
+ required: !1
226
230
  }
227
- }, Le = Symbol("OneDataTable"), Fe = {
228
- contains: (u, n) => String(u ?? "").toLowerCase().includes(String(n).toLowerCase()),
229
- startsWith: (u, n) => String(u ?? "").toLowerCase().startsWith(String(n).toLowerCase()),
230
- endsWith: (u, n) => String(u ?? "").toLowerCase().endsWith(String(n).toLowerCase()),
231
- equals: (u, n) => String(u ?? "").toLowerCase() === String(n).toLowerCase(),
232
- notEquals: (u, n) => String(u ?? "").toLowerCase() !== String(n).toLowerCase()
233
- }, nt = {
231
+ }, Te = Symbol("OneDataTable"), $e = {
232
+ contains: (u, i) => String(u ?? "").toLowerCase().includes(String(i).toLowerCase()),
233
+ startsWith: (u, i) => String(u ?? "").toLowerCase().startsWith(String(i).toLowerCase()),
234
+ endsWith: (u, i) => String(u ?? "").toLowerCase().endsWith(String(i).toLowerCase()),
235
+ equals: (u, i) => String(u ?? "").toLowerCase() === String(i).toLowerCase(),
236
+ notEquals: (u, i) => String(u ?? "").toLowerCase() !== String(i).toLowerCase()
237
+ }, it = {
234
238
  sm: 640,
235
239
  md: 768,
236
240
  lg: 1024,
237
241
  xl: 1280,
238
242
  "2xl": 1536
239
243
  };
240
- function it(u) {
241
- const n = E(!1);
242
- let p = null, s = null;
244
+ function dt(u) {
245
+ const i = E(!1);
246
+ let c = null, s = null;
243
247
  const d = () => {
244
- p && s && p.removeEventListener("change", s), p = null, s = null;
245
- }, y = (C) => {
246
- d(), !(typeof window > "u") && (p = window.matchMedia(C), n.value = p.matches, s = (P) => {
247
- n.value = P.matches;
248
- }, p.addEventListener("change", s));
248
+ c && s && c.removeEventListener("change", s), c = null, s = null;
249
+ }, h = (b) => {
250
+ d(), !(typeof window > "u") && (c = window.matchMedia(b), i.value = c.matches, s = (P) => {
251
+ i.value = P.matches;
252
+ }, c.addEventListener("change", s));
249
253
  };
250
- return Ye(() => {
251
- y(Re(u)), A(
252
- () => Re(u),
253
- (C) => {
254
- y(C);
254
+ return Ze(() => {
255
+ h(Be(u)), W(
256
+ () => Be(u),
257
+ (b) => {
258
+ h(b);
255
259
  }
256
260
  );
257
261
  }), Oe(() => {
258
262
  d();
259
- }), n;
263
+ }), i;
260
264
  }
261
- function V(u) {
262
- return it(`(min-width: ${nt[u]}px)`);
265
+ function A(u) {
266
+ return dt(`(min-width: ${it[u]}px)`);
263
267
  }
264
- const dt = (u = !0) => {
265
- const n = ["overflow-x-auto", "w-full"];
266
- return u && n.push("border", "border-gray-100", "rounded"), n;
267
- }, ut = (u) => {
268
- const n = ["min-w-full", "text-left", "relative"];
269
- return u === "sm" ? n.push("text-xs") : u === "lg" ? n.push("text-base") : n.push("text-sm"), n;
270
- }, ie = (u, n, p = "none", s = "default", d) => {
271
- const y = [];
272
- return s === "minimal" ? y.push(
268
+ const ut = (u = !0) => {
269
+ const i = ["overflow-x-auto", "w-full"];
270
+ return u && i.push("border", "border-gray-100", "rounded"), i;
271
+ }, pt = (u) => {
272
+ const i = ["min-w-full", "text-left", "relative"];
273
+ return u === "sm" ? i.push("text-xs") : u === "lg" ? i.push("text-base") : i.push("text-sm"), i;
274
+ }, de = (u, i, c = "none", s = "default", d) => {
275
+ const h = [];
276
+ return s === "minimal" ? h.push(
273
277
  d || "bg-gray-50",
274
278
  "text-gray-700",
275
279
  "font-medium",
@@ -277,7 +281,7 @@ const dt = (u = !0) => {
277
281
  "normal-case",
278
282
  "border-b",
279
283
  "border-gray-200"
280
- ) : y.push(
284
+ ) : h.push(
281
285
  d || "bg-gray-100",
282
286
  "text-gray-600",
283
287
  "font-semibold",
@@ -287,20 +291,20 @@ const dt = (u = !0) => {
287
291
  "border-b",
288
292
  "border-gray-200",
289
293
  "whitespace-nowrap"
290
- ), n && y.push("cursor-pointer", "select-none", "hover:text-primary-base", "transition-colors"), p === "always" ? y.push("border-r", "border-r-gray-200", "last:border-r-0") : (p === "hover" || p === "hover-table") && y.push("border-r", "border-r-transparent", "last:border-r-0"), u === "sm" ? y.push("px-1.5", "py-1") : u === "lg" ? y.push("px-4", "py-3") : y.push("p-2"), y;
291
- }, de = (u, n, p = "none", s) => {
294
+ ), i && h.push("cursor-pointer", "select-none", "hover:text-primary-base", "transition-colors"), c === "always" ? h.push("border-r", "border-r-gray-200", "last:border-r-0") : (c === "hover" || c === "hover-table") && h.push("border-r", "border-r-transparent", "last:border-r-0"), u === "sm" ? h.push("px-1.5", "py-1") : u === "lg" ? h.push("px-4", "py-3") : h.push("p-2"), h;
295
+ }, ue = (u, i, c = "none", s) => {
292
296
  const d = ["border-b", "border-gray-100", "text-gray-900"];
293
- return s && d.push(s), n && d.push("border-r"), p === "always" ? d.push("border-r", "border-r-gray-200", "last:border-r-0") : (p === "hover" || p === "hover-table") && d.push("border-r", "border-r-transparent", "last:border-r-0"), u === "sm" ? d.push("px-1.5", "py-1") : u === "lg" ? d.push("px-4", "py-3") : d.push("px-2", "py-1.5"), d;
294
- }, pt = (u, n, p, s, d = !1) => {
295
- const y = [];
296
- return d && y.push("group"), s ? y.push("bg-primary-25") : u && p && y.push("bg-gray-50"), n && (s ? y.push("hover:bg-primary-25-hover", "transition-colors") : y.push("hover:bg-gray-50", "transition-colors")), y;
297
- }, ee = (u) => {
298
- const n = ["w-3.5", "h-3.5", "inline-block", "ml-1"];
299
- return u ? n.push("text-primary-base") : n.push("text-gray-400"), n.push("transition-transform", "duration-200"), n;
300
- }, ce = (u) => {
301
- const n = ["text-center"];
302
- return u === "sm" ? n.push("w-8") : u === "lg" ? n.push("w-14") : n.push("w-12"), n;
303
- }, $e = (u) => ce(u), ct = () => [
297
+ return s && d.push(s), i && d.push("border-r"), c === "always" ? d.push("border-r", "border-r-gray-200", "last:border-r-0") : (c === "hover" || c === "hover-table") && d.push("border-r", "border-r-transparent", "last:border-r-0"), u === "sm" ? d.push("px-1.5", "py-1") : u === "lg" ? d.push("px-4", "py-3") : d.push("px-2", "py-1.5"), d;
298
+ }, ct = (u, i, c, s, d = !1, h = !1) => {
299
+ const b = [];
300
+ return d && b.push("group"), h ? (b.push("opacity-50"), b) : (s ? b.push("bg-primary-25") : u && c && b.push("bg-gray-50"), i && (s ? b.push("hover:bg-primary-25-hover", "transition-colors") : b.push("hover:bg-gray-50", "transition-colors")), b);
301
+ }, te = (u) => {
302
+ const i = ["w-3.5", "h-3.5", "inline-block", "ml-1"];
303
+ return u ? i.push("text-primary-base") : i.push("text-gray-400"), i.push("transition-transform", "duration-200"), i;
304
+ }, fe = (u) => {
305
+ const i = ["text-center"];
306
+ return u === "sm" ? i.push("w-8") : u === "lg" ? i.push("w-14") : i.push("w-12"), i;
307
+ }, qe = (u) => fe(u), ft = () => [
304
308
  "flex",
305
309
  "items-center",
306
310
  "justify-between",
@@ -310,16 +314,16 @@ const dt = (u = !0) => {
310
314
  "border-gray-100",
311
315
  "bg-white",
312
316
  "text-sm"
313
- ], ft = (u, n) => {
314
- const p = ["rounded", "border", "p-3"];
315
- return n ? p.push("bg-primary-25", "border-primary-base/20") : p.push("bg-white", "border-gray-100"), u && (n ? p.push("hover:bg-primary-25-hover", "transition-colors") : p.push("hover:bg-gray-50", "transition-colors")), p;
316
- }, yt = (u) => {
317
- const n = ["flex", "items-start", "justify-between", "gap-2"];
318
- return u === "sm" ? n.push("py-0.5") : u === "lg" ? n.push("py-2") : n.push("py-1"), n;
319
- }, ue = (u) => {
320
- const n = ["bg-gray-100", "border-b", "border-gray-200"];
321
- return u === "sm" ? n.push("px-1.5", "py-1") : u === "lg" ? n.push("px-4", "py-2") : n.push("px-2", "py-1.5"), n;
322
- }, gt = { class: "flex items-center gap-4" }, ht = { class: "text-gray-600" }, vt = ["value"], bt = ["value"], mt = { class: "flex items-center gap-1" }, kt = ["disabled"], wt = { class: "px-2 text-gray-600" }, Ct = ["disabled"], xt = /* @__PURE__ */ fe({
317
+ ], yt = (u, i, c = !1) => {
318
+ const s = ["rounded", "border", "p-3"];
319
+ return c ? (s.push("bg-white", "border-gray-100", "opacity-50"), s) : (i ? s.push("bg-primary-25", "border-primary-base/20") : s.push("bg-white", "border-gray-100"), u && (i ? s.push("hover:bg-primary-25-hover", "transition-colors") : s.push("hover:bg-gray-50", "transition-colors")), s);
320
+ }, gt = (u) => {
321
+ const i = ["flex", "items-start", "justify-between", "gap-2"];
322
+ return u === "sm" ? i.push("py-0.5") : u === "lg" ? i.push("py-2") : i.push("py-1"), i;
323
+ }, pe = (u) => {
324
+ const i = ["bg-gray-100", "border-b", "border-gray-200"];
325
+ return u === "sm" ? i.push("px-1.5", "py-1") : u === "lg" ? i.push("px-4", "py-2") : i.push("px-2", "py-1.5"), i;
326
+ }, ht = { class: "flex items-center gap-4" }, bt = { class: "text-gray-600" }, vt = ["value"], mt = ["value"], kt = { class: "flex items-center gap-1" }, wt = ["disabled"], Ct = { class: "px-2 text-gray-600" }, xt = ["disabled"], _t = /* @__PURE__ */ ye({
323
327
  __name: "OneDataTablePaginator",
324
328
  props: {
325
329
  first: {
@@ -340,129 +344,129 @@ const dt = (u = !0) => {
340
344
  }
341
345
  },
342
346
  emits: ["update:first", "update:rows", "page"],
343
- setup(u, { emit: n }) {
344
- const p = u, s = n, d = qe(), y = g(() => Math.ceil(p.totalRecords / p.rows)), C = g(() => Math.floor(p.first / p.rows) + 1), P = g(() => p.totalRecords === 0 ? 0 : p.first + 1), ye = g(() => Math.min(p.first + p.rows, p.totalRecords)), ge = g(() => p.first === 0), q = g(() => p.first + p.rows >= p.totalRecords), W = g(() => ct()), N = (R) => {
345
- R < 0 || R >= p.totalRecords || (s("update:first", R), s("page", {
346
- first: R,
347
- rows: p.rows,
348
- page: Math.floor(R / p.rows),
349
- pageCount: y.value
347
+ setup(u, { emit: i }) {
348
+ const c = u, s = i, d = Le(), h = y(() => Math.ceil(c.totalRecords / c.rows)), b = y(() => Math.floor(c.first / c.rows) + 1), P = y(() => c.totalRecords === 0 ? 0 : c.first + 1), ge = y(() => Math.min(c.first + c.rows, c.totalRecords)), he = y(() => c.first === 0), L = y(() => c.first + c.rows >= c.totalRecords), U = y(() => ft()), N = (B) => {
349
+ B < 0 || B >= c.totalRecords || (s("update:first", B), s("page", {
350
+ first: B,
351
+ rows: c.rows,
352
+ page: Math.floor(B / c.rows),
353
+ pageCount: h.value
350
354
  }));
351
- }, U = () => {
352
- N(Math.max(0, p.first - p.rows));
355
+ }, Q = () => {
356
+ N(Math.max(0, c.first - c.rows));
353
357
  }, x = () => {
354
- N(p.first + p.rows);
355
- }, G = (R) => {
356
- const F = parseInt(R.target.value);
357
- s("update:rows", F), s("update:first", 0), s("page", {
358
+ N(c.first + c.rows);
359
+ }, J = (B) => {
360
+ const $ = parseInt(B.target.value);
361
+ s("update:rows", $), s("update:first", 0), s("page", {
358
362
  first: 0,
359
- rows: F,
363
+ rows: $,
360
364
  page: 0,
361
- pageCount: Math.ceil(p.totalRecords / F)
365
+ pageCount: Math.ceil(c.totalRecords / $)
362
366
  });
363
367
  };
364
- return (R, F) => (l(), o("div", {
365
- class: v(W.value)
368
+ return (B, $) => (l(), o("div", {
369
+ class: m(U.value)
366
370
  }, [
367
- f("div", gt, [
368
- f("span", ht, k(P.value) + "–" + k(ye.value) + " of " + k(u.totalRecords), 1),
371
+ f("div", ht, [
372
+ f("span", bt, w(P.value) + "–" + w(ge.value) + " of " + w(u.totalRecords), 1),
369
373
  u.rowsPerPageOptions.length > 1 ? (l(), o("select", {
370
374
  key: 0,
371
375
  value: u.rows,
372
376
  class: "border border-gray-300 rounded px-2 py-1 text-sm bg-white focus:outline-none focus:ring-1 focus:ring-primary-glow",
373
- onChange: G
377
+ onChange: J
374
378
  }, [
375
- (l(!0), o(S, null, j(u.rowsPerPageOptions, ($) => (l(), o("option", {
376
- key: $,
377
- value: $
378
- }, k(c(d)("ui.dataTable.perPage", { count: $ })), 9, bt))), 128))
379
- ], 40, vt)) : h("", !0)
379
+ (l(!0), o(R, null, j(u.rowsPerPageOptions, (q) => (l(), o("option", {
380
+ key: q,
381
+ value: q
382
+ }, w(p(d)("ui.dataTable.perPage", { count: q })), 9, mt))), 128))
383
+ ], 40, vt)) : g("", !0)
380
384
  ]),
381
- f("div", mt, [
385
+ f("div", kt, [
382
386
  f("button", {
383
- disabled: ge.value,
387
+ disabled: he.value,
384
388
  class: "p-1.5 rounded hover:bg-gray-100 disabled:opacity-30 disabled:cursor-default transition-colors",
385
- onClick: U
389
+ onClick: Q
386
390
  }, [
387
- (l(), b(w(c(lt)), { class: "w-4 h-4 text-gray-600" }))
388
- ], 8, kt),
389
- f("span", wt, k(C.value) + " / " + k(y.value), 1),
391
+ (l(), k(C(p(ot)), { class: "w-4 h-4 text-gray-600" }))
392
+ ], 8, wt),
393
+ f("span", Ct, w(b.value) + " / " + w(h.value), 1),
390
394
  f("button", {
391
- disabled: q.value,
395
+ disabled: L.value,
392
396
  class: "p-1.5 rounded hover:bg-gray-100 disabled:opacity-30 disabled:cursor-default transition-colors",
393
397
  onClick: x
394
398
  }, [
395
- (l(), b(w(c(pe)), { class: "w-4 h-4 text-gray-600" }))
396
- ], 8, Ct)
399
+ (l(), k(C(p(ce)), { class: "w-4 h-4 text-gray-600" }))
400
+ ], 8, xt)
397
401
  ])
398
402
  ], 2));
399
403
  }
400
- }), _t = {
404
+ }), St = {
401
405
  key: 0,
402
406
  class: "mb-3"
403
- }, St = { key: 0 }, Rt = {
407
+ }, Rt = { key: 0 }, Bt = {
404
408
  key: 0,
405
409
  class: "w-5 h-5 rounded bg-primary-base flex items-center justify-center text-white"
406
- }, Bt = {
410
+ }, Mt = {
407
411
  key: 1,
408
412
  class: "w-5 h-5 rounded border border-gray-300 bg-white"
409
- }, Mt = ["onClick"], Ft = {
413
+ }, Ft = ["onClick"], $t = {
410
414
  key: 1,
411
415
  class: "inline-flex items-center gap-1"
412
- }, $t = { key: 0 }, Ot = ["value", "placeholder", "onInput"], Pt = { key: 1 }, qt = ["onClick"], Lt = ["onClick"], Tt = {
416
+ }, qt = { key: 0 }, Ot = ["value", "placeholder", "onInput"], Pt = { key: 1 }, Lt = ["onClick"], Tt = ["onClick"], Et = {
413
417
  key: 0,
414
418
  class: "w-5 h-5 rounded bg-primary-base flex items-center justify-center text-white"
415
- }, Et = {
419
+ }, jt = {
416
420
  key: 1,
417
421
  class: "w-5 h-5 rounded border border-gray-300 bg-white"
418
- }, jt = ["onClick"], Kt = {
422
+ }, Kt = ["onClick"], Nt = {
419
423
  key: 0,
420
424
  class: "w-5 h-5 rounded-full bg-primary-base flex items-center justify-center"
421
- }, Nt = {
425
+ }, zt = {
422
426
  key: 1,
423
427
  class: "w-5 h-5 rounded-full border border-gray-300 bg-white"
424
- }, zt = ["onClick"], Vt = { key: 0 }, At = ["colspan"], Wt = { key: 2 }, Ut = ["colspan"], Qt = { class: "flex items-center justify-center gap-2 text-gray-500" }, Ht = { key: 3 }, It = ["colspan"], Gt = { class: "text-gray-400" }, Jt = { key: 4 }, Xt = ["colspan"], Yt = ["disabled"], Zt = { key: 2 }, Dt = {
428
+ }, Vt = ["disabled", "onClick"], At = { key: 0 }, Wt = ["colspan"], Ut = { key: 2 }, Qt = ["colspan"], Ht = { class: "flex items-center justify-center gap-2 text-gray-500" }, It = { key: 3 }, Gt = ["colspan"], Jt = { class: "text-gray-400" }, Xt = { key: 4 }, Yt = ["colspan"], Zt = ["disabled"], Dt = { key: 2 }, es = {
425
429
  key: 0,
426
430
  class: "text-center py-12"
427
- }, es = { class: "flex items-center justify-center gap-2 text-gray-500" }, ts = {
431
+ }, ts = { class: "flex items-center justify-center gap-2 text-gray-500" }, ss = {
428
432
  key: 1,
429
433
  class: "text-center py-12"
430
- }, ss = { class: "text-gray-400" }, rs = {
434
+ }, rs = { class: "text-gray-400" }, ls = {
431
435
  key: 2,
432
436
  class: "space-y-2"
433
- }, ls = {
437
+ }, os = {
434
438
  key: 0,
435
439
  class: "flex items-center gap-2 px-3 py-2"
436
- }, os = {
440
+ }, as = {
437
441
  key: 0,
438
442
  class: "w-5 h-5 rounded bg-primary-base flex items-center justify-center text-white"
439
- }, as = {
443
+ }, ns = {
440
444
  key: 1,
441
445
  class: "w-5 h-5 rounded border border-gray-300 bg-white"
442
- }, ns = { class: "text-sm text-gray-500" }, is = ["onClick"], ds = {
446
+ }, is = { class: "text-sm text-gray-500" }, ds = ["onClick"], us = {
443
447
  key: 0,
444
448
  class: "flex items-center justify-between mb-2"
445
- }, us = { key: 0 }, ps = ["onClick"], cs = {
449
+ }, ps = { key: 0 }, cs = ["onClick"], fs = {
446
450
  key: 0,
447
451
  class: "w-5 h-5 rounded bg-primary-base flex items-center justify-center text-white"
448
- }, fs = {
452
+ }, ys = {
449
453
  key: 1,
450
454
  class: "w-5 h-5 rounded border border-gray-300 bg-white"
451
- }, ys = ["onClick"], gs = {
455
+ }, gs = ["onClick"], hs = {
452
456
  key: 0,
453
457
  class: "w-5 h-5 rounded-full bg-primary-base flex items-center justify-center"
454
- }, hs = {
458
+ }, bs = {
455
459
  key: 1,
456
460
  class: "w-5 h-5 rounded-full border border-gray-300 bg-white"
457
- }, vs = { key: 1 }, bs = ["onClick"], ms = { class: "text-gray-500 text-xs font-medium shrink-0" }, ks = { class: "text-right" }, ws = {
461
+ }, vs = { key: 1 }, ms = ["disabled", "onClick"], ks = { class: "text-gray-500 text-xs font-medium shrink-0" }, ws = { class: "text-right" }, Cs = {
458
462
  key: 1,
459
463
  class: "mt-2 pt-2 border-t border-gray-100"
460
- }, Cs = ["disabled"], xs = {
464
+ }, xs = ["disabled"], _s = {
461
465
  key: 4,
462
466
  class: "mt-3"
463
- }, _s = /* @__PURE__ */ fe({
467
+ }, Ss = /* @__PURE__ */ ye({
464
468
  __name: "OneDataTable",
465
- props: at,
469
+ props: nt,
466
470
  emits: [
467
471
  "update:value",
468
472
  "update:selection",
@@ -482,45 +486,48 @@ const dt = (u = !0) => {
482
486
  "row-collapse",
483
487
  "load:next"
484
488
  ],
485
- setup(u, { expose: n, emit: p }) {
486
- const s = u, d = p, y = Pe(), C = qe(), P = E([]);
487
- Ze(Le, { registerColumn: (e) => {
489
+ setup(u, { expose: i, emit: c }) {
490
+ const s = u, d = c, h = Pe(), b = Le(), P = E([]);
491
+ De(Te, { registerColumn: (e) => {
488
492
  P.value.push(e);
489
493
  }, unregisterColumn: (e) => {
490
494
  const r = P.value.indexOf(e);
491
495
  r > -1 && P.value.splice(r, 1);
492
496
  } });
493
- const q = E(s.first), W = E(s.rows), N = E(s.sortField), U = E(s.sortOrder);
494
- A(
497
+ const L = E(s.first), U = E(s.rows), N = E(s.sortField), Q = E(s.sortOrder);
498
+ W(
495
499
  () => s.first,
496
500
  (e) => {
497
- q.value = e;
501
+ L.value = e;
498
502
  }
499
- ), A(
503
+ ), W(
500
504
  () => s.rows,
501
505
  (e) => {
502
- W.value = e;
506
+ U.value = e;
503
507
  }
504
- ), A(
508
+ ), W(
505
509
  () => s.sortField,
506
510
  (e) => {
507
511
  N.value = e;
508
512
  }
509
- ), A(
513
+ ), W(
510
514
  () => s.sortOrder,
511
515
  (e) => {
512
- U.value = e;
516
+ Q.value = e;
513
517
  }
514
518
  );
515
519
  const x = E([...s.value]);
516
- A(
520
+ W(
517
521
  () => s.value,
518
522
  (e) => {
519
523
  x.value = [...e];
520
524
  }
521
525
  );
522
- const G = g(() => q.value), R = g(() => W.value), F = g(() => N.value), $ = g(() => U.value), _ = (e, r) => r ? r.split(".").reduce((t, i) => t == null ? void 0 : t[i], e) : e, he = (e) => s.dataKey ? _(e, s.dataKey) : e, O = (e, r) => e == null || r == null ? e === r : s.dataKey ? _(e, s.dataKey) === _(r, s.dataKey) : e === r, ve = (e, r) => s.dataKey ? _(e, s.dataKey) : r;
523
- n({ updateRow: (e) => {
526
+ const J = y(() => L.value), B = y(() => U.value), $ = y(() => N.value), q = y(() => Q.value), _ = (e, r) => r ? r.split(".").reduce((t, n) => t == null ? void 0 : t[n], e) : e, be = (e) => s.dataKey ? _(e, s.dataKey) : e, O = (e, r) => e == null || r == null ? e === r : s.dataKey ? _(e, s.dataKey) === _(r, s.dataKey) : e === r, ve = (e, r) => s.dataKey ? _(e, s.dataKey) : r, S = (e) => {
527
+ var r;
528
+ return ((r = s.disabledRows) == null ? void 0 : r.call(s, e)) ?? !1;
529
+ };
530
+ i({ updateRow: (e) => {
524
531
  if (!s.dataKey)
525
532
  return console.warn("[OneDataTable] updateRow requires dataKey to be set"), !1;
526
533
  const r = _(e, s.dataKey), t = x.value.findIndex(
@@ -528,8 +535,8 @@ const dt = (u = !0) => {
528
535
  );
529
536
  if (t === -1)
530
537
  return !1;
531
- const i = [...x.value];
532
- return i[t] = e, x.value = i, d("update:value", i), !0;
538
+ const n = [...x.value];
539
+ return n[t] = e, x.value = n, d("update:value", n), !0;
533
540
  }, addItems: (e, r = "append") => {
534
541
  const t = r === "prepend" ? [...e, ...x.value] : [...x.value, ...e];
535
542
  x.value = t, d("update:value", t);
@@ -537,496 +544,502 @@ const dt = (u = !0) => {
537
544
  if (!s.dataKey)
538
545
  return console.warn("[OneDataTable] removeRow requires dataKey to be set"), !1;
539
546
  const r = x.value.findIndex(
540
- (i) => _(i, s.dataKey) === e
547
+ (n) => _(n, s.dataKey) === e
541
548
  );
542
549
  if (r === -1)
543
550
  return !1;
544
551
  const t = [...x.value];
545
552
  return t.splice(r, 1), x.value = t, d("update:value", t), !0;
546
553
  } });
547
- const B = g(() => P.value.some((e) => e.props.expander)), L = g(() => !!s.selectionMode), J = g(() => s.selectionMode === "multiple"), te = g(() => P.value.filter((e) => !e.props.expander)), X = g(
548
- () => Q.value.length + (L.value ? 1 : 0) + (B.value ? 1 : 0)
549
- ), be = g(() => {
550
- var t, i;
554
+ const M = y(() => P.value.some((e) => e.props.expander)), T = y(() => !!s.selectionMode), X = y(() => s.selectionMode === "multiple"), se = y(() => P.value.filter((e) => !e.props.expander)), Y = y(
555
+ () => H.value.length + (T.value ? 1 : 0) + (M.value ? 1 : 0)
556
+ ), me = y(() => {
557
+ var t, n;
551
558
  if (s.lazy || !s.filters)
552
559
  return x.value;
553
560
  let e = [...x.value];
554
561
  const r = s.filters;
555
- if ((t = r.global) != null && t.value && ((i = s.globalFilterFields) != null && i.length)) {
562
+ if ((t = r.global) != null && t.value && ((n = s.globalFilterFields) != null && n.length)) {
556
563
  const a = r.global.value;
557
564
  e = e.filter(
558
- (m) => s.globalFilterFields.some(
559
- (oe) => Fe.contains(_(m, oe), a)
565
+ (v) => s.globalFilterFields.some(
566
+ (ae) => $e.contains(_(v, ae), a)
560
567
  )
561
568
  );
562
569
  }
563
- for (const [a, m] of Object.entries(r)) {
564
- if (a === "global" || !m.value)
570
+ for (const [a, v] of Object.entries(r)) {
571
+ if (a === "global" || !v.value)
565
572
  continue;
566
- const oe = m.matchMode || "contains", Se = Fe[oe];
567
- Se && (e = e.filter((Xe) => Se(_(Xe, a), m.value)));
573
+ const ae = v.matchMode || "contains", Re = $e[ae];
574
+ Re && (e = e.filter((Ye) => Re(_(Ye, a), v.value)));
568
575
  }
569
576
  return e;
570
- }), Te = g(() => {
571
- const e = be.value;
572
- return s.lazy || !F.value || !$.value ? e : [...e].sort((r, t) => {
573
- const i = _(r, F.value), a = _(t, F.value);
574
- if (i == null && a == null)
577
+ }), Ee = y(() => {
578
+ const e = me.value;
579
+ return s.lazy || !$.value || !q.value ? e : [...e].sort((r, t) => {
580
+ const n = _(r, $.value), a = _(t, $.value);
581
+ if (n == null && a == null)
575
582
  return 0;
576
- if (i == null)
583
+ if (n == null)
577
584
  return 1;
578
585
  if (a == null)
579
586
  return -1;
580
- let m;
581
- return typeof i == "number" && typeof a == "number" ? m = i - a : m = String(i).localeCompare(String(a)), $.value === 1 ? m : -m;
587
+ let v;
588
+ return typeof n == "number" && typeof a == "number" ? v = n - a : v = String(n).localeCompare(String(a)), q.value === 1 ? v : -v;
582
589
  });
583
- }), me = g(() => s.totalRecords ?? be.value.length), T = g(() => {
584
- const e = Te.value;
590
+ }), ke = y(() => s.totalRecords ?? me.value.length), z = y(() => {
591
+ const e = Ee.value;
585
592
  if (s.paginator && !s.lazy) {
586
- const r = G.value, t = r + R.value;
593
+ const r = J.value, t = r + B.value;
587
594
  return e.slice(r, t);
588
595
  }
589
596
  return e;
590
- }), Ee = (e) => {
597
+ }), je = (e) => {
591
598
  let r;
592
- F.value === e ? $.value === 1 ? r = -1 : $.value === -1 ? r = null : r = 1 : r = 1, N.value = e, U.value = r, d("update:sortField", e), d("update:sortOrder", r), d("sort", { field: e, order: r }), !s.lazy && s.paginator && (q.value = 0, d("update:first", 0));
593
- }, ke = (e) => e.props.sortField || e.props.field, je = (e) => F.value === ke(e), K = (e) => s.selection ? s.selectionMode === "single" ? O(s.selection, e) : s.selectionMode === "multiple" ? s.selection.some((r) => O(r, e)) : !1 : !1, Y = (e, r, t) => {
594
- if (d("row-click", { originalEvent: e, data: r, index: t }), s.selectionMode === "single") {
595
- const i = O(s.selection, r) ? null : r;
596
- d("update:selection", i), i ? d("row-select", { originalEvent: e, data: r }) : d("row-unselect", { originalEvent: e, data: r });
599
+ $.value === e ? q.value === 1 ? r = -1 : q.value === -1 ? r = null : r = 1 : r = 1, N.value = e, Q.value = r, d("update:sortField", e), d("update:sortOrder", r), d("sort", { field: e, order: r }), !s.lazy && s.paginator && (L.value = 0, d("update:first", 0));
600
+ }, we = (e) => e.props.sortField || e.props.field, Ke = (e) => $.value === we(e), K = (e) => s.selection ? s.selectionMode === "single" ? O(s.selection, e) : s.selectionMode === "multiple" ? s.selection.some((r) => O(r, e)) : !1 : !1, Z = (e, r, t) => {
601
+ if (d("row-click", { originalEvent: e, data: r, index: t }), !S(r) && s.selectionMode === "single") {
602
+ const n = O(s.selection, r) ? null : r;
603
+ d("update:selection", n), n ? d("row-select", { originalEvent: e, data: r }) : d("row-unselect", { originalEvent: e, data: r });
597
604
  }
598
- }, se = (e, r) => {
599
- if (e.stopPropagation(), s.selectionMode === "multiple") {
600
- const t = s.selection || [], i = t.some((m) => O(m, r));
605
+ }, re = (e, r) => {
606
+ if (e.stopPropagation(), !S(r) && s.selectionMode === "multiple") {
607
+ const t = s.selection || [], n = t.some((v) => O(v, r));
601
608
  let a;
602
- i ? (a = t.filter((m) => !O(m, r)), d("row-unselect", { originalEvent: e, data: r })) : (a = [...t, r], d("row-select", { originalEvent: e, data: r })), d("update:selection", a);
609
+ n ? (a = t.filter((v) => !O(v, r)), d("row-unselect", { originalEvent: e, data: r })) : (a = [...t, r], d("row-select", { originalEvent: e, data: r })), d("update:selection", a);
603
610
  }
604
- }, re = g(() => {
611
+ }, le = y(() => {
605
612
  if (s.selectionMode !== "multiple" || !s.selection)
606
613
  return !1;
607
- const e = s.selection;
608
- return T.value.length > 0 && T.value.every((r) => e.some((t) => O(t, r)));
609
- }), we = (e) => {
614
+ const e = s.selection, r = z.value.filter((t) => !S(t));
615
+ return r.length > 0 && r.every((t) => e.some((n) => O(n, t)));
616
+ }), Ce = (e) => {
610
617
  e.stopPropagation();
611
- const r = s.selection || [];
612
- if (re.value) {
613
- const t = r.filter(
614
- (i) => !T.value.some((a) => O(i, a))
618
+ const r = s.selection || [], t = z.value.filter((n) => !S(n));
619
+ if (le.value) {
620
+ const n = r.filter(
621
+ (a) => !t.some((v) => O(a, v))
615
622
  );
616
- d("update:selection", t);
623
+ d("update:selection", n);
617
624
  } else {
618
- const t = [...r];
619
- T.value.forEach((i) => {
620
- t.some((a) => O(a, i)) || t.push(i);
621
- }), d("update:selection", t);
625
+ const n = [...r];
626
+ t.forEach((a) => {
627
+ n.some((v) => O(v, a)) || n.push(a);
628
+ }), d("update:selection", n);
622
629
  }
623
- }, z = (e) => {
630
+ }, V = (e) => {
624
631
  if (!s.expandedRows)
625
632
  return !1;
626
633
  if (Array.isArray(s.expandedRows))
627
634
  return s.expandedRows.some((r) => O(r, e));
628
635
  if (s.dataKey) {
629
- const r = String(he(e));
636
+ const r = String(be(e));
630
637
  return !!s.expandedRows[r];
631
638
  }
632
639
  return !1;
633
- }, le = (e, r) => {
634
- e.stopPropagation();
635
- const t = z(r);
640
+ }, oe = (e, r) => {
641
+ if (e.stopPropagation(), S(r))
642
+ return;
643
+ const t = V(r);
636
644
  if (Array.isArray(s.expandedRows)) {
637
- let i;
638
- t ? (i = s.expandedRows.filter((a) => !O(a, r)), d("row-collapse", { originalEvent: e, data: r })) : (i = [...s.expandedRows, r], d("row-expand", { originalEvent: e, data: r })), d("update:expandedRows", i);
645
+ let n;
646
+ t ? (n = s.expandedRows.filter((a) => !O(a, r)), d("row-collapse", { originalEvent: e, data: r })) : (n = [...s.expandedRows, r], d("row-expand", { originalEvent: e, data: r })), d("update:expandedRows", n);
639
647
  } else if (s.dataKey) {
640
- const i = String(he(r)), a = { ...s.expandedRows };
641
- t ? (delete a[i], d("row-collapse", { originalEvent: e, data: r })) : (a[i] = !0, d("row-expand", { originalEvent: e, data: r })), d("update:expandedRows", a);
648
+ const n = String(be(r)), a = { ...s.expandedRows };
649
+ t ? (delete a[n], d("row-collapse", { originalEvent: e, data: r })) : (a[n] = !0, d("row-expand", { originalEvent: e, data: r })), d("update:expandedRows", a);
642
650
  }
643
- }, Ke = (e, r, t) => {
651
+ }, Ne = (e, r, t) => {
644
652
  var a;
645
653
  if (!s.filters)
646
654
  return;
647
- const i = {
655
+ const n = {
648
656
  ...s.filters,
649
657
  [e]: { value: r, matchMode: t || ((a = s.filters[e]) == null ? void 0 : a.matchMode) || "contains" }
650
658
  };
651
- d("update:filters", i), s.lazy && d("filter", { filters: i }), s.paginator && (q.value = 0, d("update:first", 0));
652
- }, Ce = (e) => {
659
+ d("update:filters", n), s.lazy && d("filter", { filters: n }), s.paginator && (L.value = 0, d("update:first", 0));
660
+ }, xe = (e) => {
653
661
  var r;
654
662
  return ((r = s.filters) == null ? void 0 : r[e]) || { value: null };
655
- }, Ne = (e) => () => {
656
- s.filters && (d("update:filters", { ...s.filters }), s.lazy && d("filter", { filters: s.filters }), s.paginator && (q.value = 0, d("update:first", 0)));
657
- }, ze = (e) => {
658
- q.value = e, d("update:first", e);
663
+ }, ze = (e) => () => {
664
+ s.filters && (d("update:filters", { ...s.filters }), s.lazy && d("filter", { filters: s.filters }), s.paginator && (L.value = 0, d("update:first", 0)));
659
665
  }, Ve = (e) => {
660
- W.value = e, d("update:rows", e);
661
- }, xe = g(() => {
666
+ L.value = e, d("update:first", e);
667
+ }, Ae = (e) => {
668
+ U.value = e, d("update:rows", e);
669
+ }, _e = y(() => {
662
670
  const e = [];
663
671
  if (s.colWidths) {
664
672
  if (typeof s.colWidths == "function") {
665
- const r = s.colWidths(te.value), t = [];
666
- return L.value && t.push(""), B.value && t.push(""), [...t, ...r];
673
+ const r = s.colWidths(se.value), t = [];
674
+ return T.value && t.push(""), M.value && t.push(""), [...t, ...r];
667
675
  }
668
676
  return s.colWidths;
669
677
  }
670
- return L.value && e.push(""), B.value && e.push(""), te.value.forEach((r) => {
678
+ return T.value && e.push(""), M.value && e.push(""), se.value.forEach((r) => {
671
679
  e.push(r.props.width || "");
672
680
  }), e;
673
- }), _e = g(() => xe.value.some((e) => e !== "" && e != null)), Ae = g(() => s.wrapperClass ? ["overflow-x-auto", "w-full", s.wrapperClass] : s.verticalBorders === "hover-table" ? ["overflow-x-auto", "w-full", "border", "border-transparent", "rounded"] : dt(s.wrapperBordered)), We = g(() => {
674
- const e = ut(s.size);
681
+ }), Se = y(() => _e.value.some((e) => e !== "" && e != null)), We = y(() => s.wrapperClass ? ["overflow-x-auto", "w-full", s.wrapperClass] : s.verticalBorders === "hover-table" ? ["overflow-x-auto", "w-full", "border", "border-transparent", "rounded"] : ut(s.wrapperBordered)), Ue = y(() => {
682
+ const e = pt(s.size);
675
683
  return s.tableClass && e.push(s.tableClass), s.bordered && e.push("border", "border-gray-100"), e;
676
- }), Ue = s.cardBreakpoint ? V(s.cardBreakpoint) : E(!0), Qe = g(() => !!s.cardBreakpoint && !Ue.value), He = {
677
- sm: V("sm"),
678
- md: V("md"),
679
- lg: V("lg"),
680
- xl: V("xl"),
681
- "2xl": V("2xl")
682
- }, Ie = (e) => {
684
+ }), Qe = s.cardBreakpoint ? A(s.cardBreakpoint) : E(!0), He = y(() => !!s.cardBreakpoint && !Qe.value), Ie = {
685
+ sm: A("sm"),
686
+ md: A("md"),
687
+ lg: A("lg"),
688
+ xl: A("xl"),
689
+ "2xl": A("2xl")
690
+ }, Ge = (e) => {
683
691
  var t;
684
692
  if (!e.props.visibleFrom)
685
693
  return !0;
686
694
  const r = e.props.visibleFrom;
687
- return ((t = He[r]) == null ? void 0 : t.value) ?? !0;
688
- }, Q = g(() => te.value.filter(Ie)), Ge = (e) => (r) => le(r, e), Je = (e) => (r) => se(r, e);
695
+ return ((t = Ie[r]) == null ? void 0 : t.value) ?? !0;
696
+ }, H = y(() => se.value.filter(Ge)), Je = (e) => (r) => oe(r, e), Xe = (e) => (r) => re(r, e);
689
697
  return (e, r) => (l(), o("div", null, [
690
- De(f("div", null, [
691
- M(e.$slots, "default", {}, void 0, !0)
698
+ et(f("div", null, [
699
+ F(e.$slots, "default", {}, void 0, !0)
692
700
  ], 512), [
693
- [et, !1]
701
+ [tt, !1]
694
702
  ]),
695
- c(y).header ? (l(), o("div", _t, [
696
- M(e.$slots, "header", {}, void 0, !0)
697
- ])) : h("", !0),
698
- Qe.value ? (l(), o("div", Zt, [
699
- e.loading ? (l(), o("div", Dt, [
700
- M(e.$slots, "loading", {}, () => [
701
- f("div", es, [
702
- Be(Z, { class: "w-5 h-5" }),
703
- f("span", null, k(c(C)("ui.dataTable.loading")), 1)
703
+ p(h).header ? (l(), o("div", St, [
704
+ F(e.$slots, "header", {}, void 0, !0)
705
+ ])) : g("", !0),
706
+ He.value ? (l(), o("div", Dt, [
707
+ e.loading ? (l(), o("div", es, [
708
+ F(e.$slots, "loading", {}, () => [
709
+ f("div", ts, [
710
+ Me(D, { class: "w-5 h-5" }),
711
+ f("span", null, w(p(b)("ui.dataTable.loading")), 1)
704
712
  ])
705
713
  ], !0)
706
- ])) : T.value.length === 0 ? (l(), o("div", ts, [
707
- M(e.$slots, "empty", {}, () => [
708
- f("span", ss, k(c(C)("ui.dataTable.noRecords")), 1)
714
+ ])) : z.value.length === 0 ? (l(), o("div", ss, [
715
+ F(e.$slots, "empty", {}, () => [
716
+ f("span", rs, w(p(b)("ui.dataTable.noRecords")), 1)
709
717
  ], !0)
710
- ])) : (l(), o("div", rs, [
711
- J.value ? (l(), o("div", ls, [
718
+ ])) : (l(), o("div", ls, [
719
+ X.value ? (l(), o("div", os, [
712
720
  f("div", {
713
721
  class: "cursor-pointer",
714
- onClick: r[2] || (r[2] = (t) => we(t))
722
+ onClick: r[2] || (r[2] = (t) => Ce(t))
715
723
  }, [
716
- re.value ? (l(), o("div", os, [
717
- (l(), b(w(c(D)), { class: "w-3.5 h-3.5" }))
718
- ])) : (l(), o("div", as))
724
+ le.value ? (l(), o("div", as, [
725
+ (l(), k(C(p(ee)), { class: "w-3.5 h-3.5" }))
726
+ ])) : (l(), o("div", ns))
719
727
  ]),
720
- f("span", ns, k(c(C)("ui.dataTable.selectAll")), 1)
721
- ])) : h("", !0),
722
- (l(!0), o(S, null, j(T.value, (t, i) => (l(), o("div", {
723
- key: ve(t, i),
724
- class: v([
725
- ...c(ft)(e.hoverable, K(t)),
726
- e.selectionMode ? "cursor-pointer" : ""
728
+ f("span", is, w(p(b)("ui.dataTable.selectAll")), 1)
729
+ ])) : g("", !0),
730
+ (l(!0), o(R, null, j(z.value, (t, n) => (l(), o("div", {
731
+ key: ve(t, n),
732
+ class: m([
733
+ ...p(yt)(e.hoverable, K(t), S(t)),
734
+ e.selectionMode && !S(t) ? "cursor-pointer" : ""
727
735
  ]),
728
- onClick: (a) => Y(a, t, i)
736
+ onClick: (a) => Z(a, t, n)
729
737
  }, [
730
- c(y).card ? M(e.$slots, "card", {
738
+ p(h).card ? F(e.$slots, "card", {
731
739
  key: 0,
732
740
  data: t,
733
- index: i,
741
+ index: n,
734
742
  selected: K(t),
735
- expanded: B.value && z(t),
736
- toggleExpansion: Ge(t),
737
- toggleSelection: Je(t)
738
- }, void 0, !0) : (l(), o(S, { key: 1 }, [
739
- L.value || B.value ? (l(), o("div", ds, [
740
- L.value ? (l(), o("div", us, [
741
- J.value ? (l(), o("div", {
743
+ expanded: M.value && V(t),
744
+ toggleExpansion: Je(t),
745
+ toggleSelection: Xe(t),
746
+ disabled: S(t)
747
+ }, void 0, !0) : (l(), o(R, { key: 1 }, [
748
+ T.value || M.value ? (l(), o("div", us, [
749
+ T.value ? (l(), o("div", ps, [
750
+ X.value ? (l(), o("div", {
742
751
  key: 0,
743
752
  class: "cursor-pointer",
744
- onClick: I((a) => se(a, t), ["stop"])
753
+ onClick: G((a) => re(a, t), ["stop"])
745
754
  }, [
746
- K(t) ? (l(), o("div", cs, [
747
- (l(), b(w(c(D)), { class: "w-3.5 h-3.5" }))
748
- ])) : (l(), o("div", fs))
749
- ], 8, ps)) : (l(), o("div", {
755
+ K(t) ? (l(), o("div", fs, [
756
+ (l(), k(C(p(ee)), { class: "w-3.5 h-3.5" }))
757
+ ])) : (l(), o("div", ys))
758
+ ], 8, cs)) : (l(), o("div", {
750
759
  key: 1,
751
760
  class: "cursor-pointer",
752
- onClick: I((a) => Y(a, t, i), ["stop"])
761
+ onClick: G((a) => Z(a, t, n), ["stop"])
753
762
  }, [
754
- K(t) ? (l(), o("div", gs, [...r[6] || (r[6] = [
763
+ K(t) ? (l(), o("div", hs, [...r[6] || (r[6] = [
755
764
  f("div", { class: "w-2 h-2 rounded-full bg-white" }, null, -1)
756
- ])])) : (l(), o("div", hs))
757
- ], 8, ys))
765
+ ])])) : (l(), o("div", bs))
766
+ ], 8, gs))
758
767
  ])) : (l(), o("div", vs)),
759
- B.value ? (l(), o("button", {
768
+ M.value ? (l(), o("button", {
760
769
  key: 2,
761
- class: "p-1 rounded hover:bg-gray-100 transition-colors",
762
- onClick: I((a) => le(a, t), ["stop"])
770
+ class: "p-1 rounded hover:bg-gray-100 transition-colors disabled:opacity-50 disabled:cursor-default disabled:hover:bg-transparent",
771
+ disabled: S(t),
772
+ onClick: G((a) => oe(a, t), ["stop"])
763
773
  }, [
764
- (l(), b(w(z(t) ? c(ne) : c(pe)), { class: "w-4 h-4 text-gray-500" }))
765
- ], 8, bs)) : h("", !0)
766
- ])) : h("", !0),
767
- (l(!0), o(S, null, j(Q.value, (a, m) => (l(), o("div", {
768
- key: m,
769
- class: v(c(yt)(e.size))
774
+ (l(), k(C(V(t) ? p(ie) : p(ce)), { class: "w-4 h-4 text-gray-500" }))
775
+ ], 8, ms)) : g("", !0)
776
+ ])) : g("", !0),
777
+ (l(!0), o(R, null, j(H.value, (a, v) => (l(), o("div", {
778
+ key: v,
779
+ class: m(p(gt)(e.size))
770
780
  }, [
771
- f("span", ms, k(a.props.header), 1),
772
- f("div", ks, [
773
- a.slots.body ? (l(), b(w(a.slots.body), {
781
+ f("span", ks, w(a.props.header), 1),
782
+ f("div", ws, [
783
+ a.slots.body ? (l(), k(C(a.slots.body), {
774
784
  key: 0,
775
785
  data: t,
776
786
  field: a.props.field,
777
- index: i
778
- }, null, 8, ["data", "field", "index"])) : a.props.field ? (l(), o(S, { key: 1 }, [
779
- H(k(_(t, a.props.field)), 1)
780
- ], 64)) : h("", !0)
787
+ index: n
788
+ }, null, 8, ["data", "field", "index"])) : a.props.field ? (l(), o(R, { key: 1 }, [
789
+ I(w(_(t, a.props.field)), 1)
790
+ ], 64)) : g("", !0)
781
791
  ])
782
792
  ], 2))), 128)),
783
- B.value && z(t) ? (l(), o("div", ws, [
784
- M(e.$slots, "expansion", {
793
+ M.value && V(t) ? (l(), o("div", Cs, [
794
+ F(e.$slots, "expansion", {
785
795
  data: t,
786
- index: i
796
+ index: n
787
797
  }, void 0, !0)
788
- ])) : h("", !0)
798
+ ])) : g("", !0)
789
799
  ], 64))
790
- ], 10, is))), 128)),
800
+ ], 10, ds))), 128)),
791
801
  e.hasNextPage && !e.loading ? (l(), o("button", {
792
802
  key: 1,
793
803
  class: "w-full p-2 rounded bg-primary-base bg-opacity-10 text-primary-base text-sm font-medium hover:bg-opacity-20 transition-colors disabled:opacity-50 disabled:cursor-default flex items-center justify-center gap-2",
794
804
  disabled: e.loadingNext,
795
805
  onClick: r[3] || (r[3] = (t) => d("load:next"))
796
806
  }, [
797
- e.loadingNext ? (l(), b(Z, {
807
+ e.loadingNext ? (l(), k(D, {
798
808
  key: 0,
799
809
  class: "w-4 h-4"
800
- })) : h("", !0),
801
- H(" " + k(e.loadMoreLabel || c(C)("ui.dataTable.showMore")), 1)
802
- ], 8, Cs)) : h("", !0)
810
+ })) : g("", !0),
811
+ I(" " + w(e.loadMoreLabel || p(b)("ui.dataTable.showMore")), 1)
812
+ ], 8, xs)) : g("", !0)
803
813
  ]))
804
814
  ])) : (l(), o("div", {
805
815
  key: 1,
806
- class: v([...Ae.value, e.verticalBorders === "hover-table" ? "vb-hover" : ""])
816
+ class: m([...We.value, e.verticalBorders === "hover-table" ? "vb-hover" : ""])
807
817
  }, [
808
818
  f("table", {
809
- class: v([
810
- ...We.value,
819
+ class: m([
820
+ ...Ue.value,
811
821
  e.verticalBorders !== "none" ? "border-separate border-spacing-0" : "border-collapse",
812
822
  e.verticalBorders === "hover" ? "vb-hover" : "",
813
- _e.value ? "table-fixed" : ""
823
+ Se.value ? "table-fixed" : ""
814
824
  ])
815
825
  }, [
816
- _e.value ? (l(), o("colgroup", St, [
817
- (l(!0), o(S, null, j(xe.value, (t, i) => (l(), o("col", {
818
- key: `col-${i}`,
819
- style: ae(t ? { width: t } : {})
826
+ Se.value ? (l(), o("colgroup", Rt, [
827
+ (l(!0), o(R, null, j(_e.value, (t, n) => (l(), o("col", {
828
+ key: `col-${n}`,
829
+ style: ne(t ? { width: t } : {})
820
830
  }, null, 4))), 128))
821
- ])) : h("", !0),
831
+ ])) : g("", !0),
822
832
  f("thead", null, [
823
833
  f("tr", null, [
824
- L.value ? (l(), o("th", {
834
+ T.value ? (l(), o("th", {
825
835
  key: 0,
826
- class: v([
827
- ...c(ie)(e.size, !1, e.verticalBorders, e.headerVariant, e.headerBgClass),
828
- ...c(ce)(e.size)
836
+ class: m([
837
+ ...p(de)(e.size, !1, e.verticalBorders, e.headerVariant, e.headerBgClass),
838
+ ...p(fe)(e.size)
829
839
  ])
830
840
  }, [
831
- J.value ? (l(), o("div", {
841
+ X.value ? (l(), o("div", {
832
842
  key: 0,
833
843
  class: "flex items-center justify-center cursor-pointer",
834
- onClick: r[0] || (r[0] = (t) => we(t))
844
+ onClick: r[0] || (r[0] = (t) => Ce(t))
835
845
  }, [
836
- re.value ? (l(), o("div", Rt, [
837
- (l(), b(w(c(D)), { class: "w-3.5 h-3.5" }))
838
- ])) : (l(), o("div", Bt))
839
- ])) : h("", !0)
840
- ], 2)) : h("", !0),
841
- B.value ? (l(), o("th", {
846
+ le.value ? (l(), o("div", Bt, [
847
+ (l(), k(C(p(ee)), { class: "w-3.5 h-3.5" }))
848
+ ])) : (l(), o("div", Mt))
849
+ ])) : g("", !0)
850
+ ], 2)) : g("", !0),
851
+ M.value ? (l(), o("th", {
842
852
  key: 1,
843
- class: v([
844
- ...c(ie)(e.size, !1, e.verticalBorders, e.headerVariant, e.headerBgClass),
845
- ...c($e)(e.size)
853
+ class: m([
854
+ ...p(de)(e.size, !1, e.verticalBorders, e.headerVariant, e.headerBgClass),
855
+ ...p(qe)(e.size)
846
856
  ])
847
- }, null, 2)) : h("", !0),
848
- (l(!0), o(S, null, j(Q.value, (t, i) => (l(), o("th", {
849
- key: i,
850
- class: v([
851
- ...c(ie)(e.size, t.props.sortable, e.verticalBorders, e.headerVariant, e.headerBgClass),
857
+ }, null, 2)) : g("", !0),
858
+ (l(!0), o(R, null, j(H.value, (t, n) => (l(), o("th", {
859
+ key: n,
860
+ class: m([
861
+ ...p(de)(e.size, t.props.sortable, e.verticalBorders, e.headerVariant, e.headerBgClass),
852
862
  t.props.headerClass
853
863
  ]),
854
- style: ae([t.props.headerStyle, t.props.width ? { width: t.props.width } : {}]),
855
- onClick: (a) => t.props.sortable ? Ee(ke(t)) : void 0
864
+ style: ne([t.props.headerStyle, t.props.width ? { width: t.props.width } : {}]),
865
+ onClick: (a) => t.props.sortable ? je(we(t)) : void 0
856
866
  }, [
857
- t.slots.header ? (l(), b(w(t.slots.header), { key: 0 })) : (l(), o("span", Ft, [
858
- H(k(t.props.header) + " ", 1),
859
- t.props.sortable ? (l(), o(S, { key: 0 }, [
860
- je(t) ? $.value === 1 ? (l(), b(w(c(st)), {
867
+ t.slots.header ? (l(), k(C(t.slots.header), { key: 0 })) : (l(), o("span", $t, [
868
+ I(w(t.props.header) + " ", 1),
869
+ t.props.sortable ? (l(), o(R, { key: 0 }, [
870
+ Ke(t) ? q.value === 1 ? (l(), k(C(p(rt)), {
861
871
  key: 1,
862
- class: v(c(ee)(!0))
863
- }, null, 8, ["class"])) : $.value === -1 ? (l(), b(w(c(ne)), {
872
+ class: m(p(te)(!0))
873
+ }, null, 8, ["class"])) : q.value === -1 ? (l(), k(C(p(ie)), {
864
874
  key: 2,
865
- class: v(c(ee)(!0))
866
- }, null, 8, ["class"])) : (l(), b(w(c(Me)), {
875
+ class: m(p(te)(!0))
876
+ }, null, 8, ["class"])) : (l(), k(C(p(Fe)), {
867
877
  key: 3,
868
- class: v(c(ee)(!1))
869
- }, null, 8, ["class"])) : (l(), b(w(c(Me)), {
878
+ class: m(p(te)(!1))
879
+ }, null, 8, ["class"])) : (l(), k(C(p(Fe)), {
870
880
  key: 0,
871
- class: v(c(ee)(!1))
881
+ class: m(p(te)(!1))
872
882
  }, null, 8, ["class"]))
873
- ], 64)) : h("", !0)
883
+ ], 64)) : g("", !0)
874
884
  ]))
875
- ], 14, Mt))), 128))
885
+ ], 14, Ft))), 128))
876
886
  ]),
877
- e.filterDisplay === "row" ? (l(), o("tr", $t, [
878
- L.value ? (l(), o("th", {
887
+ e.filterDisplay === "row" ? (l(), o("tr", qt, [
888
+ T.value ? (l(), o("th", {
879
889
  key: 0,
880
- class: v(c(ue)(e.size))
881
- }, null, 2)) : h("", !0),
882
- B.value ? (l(), o("th", {
890
+ class: m(p(pe)(e.size))
891
+ }, null, 2)) : g("", !0),
892
+ M.value ? (l(), o("th", {
883
893
  key: 1,
884
- class: v(c(ue)(e.size))
885
- }, null, 2)) : h("", !0),
886
- (l(!0), o(S, null, j(Q.value, (t, i) => (l(), o("th", {
887
- key: `filter-${i}`,
888
- class: v(c(ue)(e.size))
894
+ class: m(p(pe)(e.size))
895
+ }, null, 2)) : g("", !0),
896
+ (l(!0), o(R, null, j(H.value, (t, n) => (l(), o("th", {
897
+ key: `filter-${n}`,
898
+ class: m(p(pe)(e.size))
889
899
  }, [
890
- t.props.filterable && t.slots.filter ? (l(), b(w(t.slots.filter), {
900
+ t.props.filterable && t.slots.filter ? (l(), k(C(t.slots.filter), {
891
901
  key: 0,
892
- filterModel: Ce(
902
+ filterModel: xe(
893
903
  t.props.filterField || t.props.field
894
904
  ),
895
- filterCallback: Ne(
905
+ filterCallback: ze(
896
906
  t.props.filterField || t.props.field
897
907
  )
898
908
  }, null, 8, ["filterModel", "filterCallback"])) : t.props.filterable && t.props.field ? (l(), o("input", {
899
909
  key: 1,
900
910
  type: "text",
901
- value: Ce(
911
+ value: xe(
902
912
  t.props.filterField || t.props.field
903
913
  ).value || "",
904
914
  class: "w-full border border-gray-300 rounded px-2 py-1 text-sm focus:outline-none focus:ring-1 focus:ring-primary-glow",
905
915
  placeholder: `Filter ${t.props.header || t.props.field}`,
906
- onInput: (a) => Ke(
916
+ onInput: (a) => Ne(
907
917
  t.props.filterField || t.props.field,
908
918
  a.target.value
909
919
  )
910
- }, null, 40, Ot)) : h("", !0)
920
+ }, null, 40, Ot)) : g("", !0)
911
921
  ], 2))), 128))
912
- ])) : h("", !0)
922
+ ])) : g("", !0)
913
923
  ]),
914
- !e.loading && T.value.length > 0 ? (l(), o("tbody", Pt, [
915
- (l(!0), o(S, null, j(T.value, (t, i) => (l(), o(S, {
916
- key: ve(t, i)
924
+ !e.loading && z.value.length > 0 ? (l(), o("tbody", Pt, [
925
+ (l(!0), o(R, null, j(z.value, (t, n) => (l(), o(R, {
926
+ key: ve(t, n)
917
927
  }, [
918
928
  f("tr", {
919
- class: v([
920
- ...c(pt)(
929
+ class: m([
930
+ ...p(ct)(
921
931
  e.striped,
922
932
  e.hoverable,
923
- i % 2 === 1,
933
+ n % 2 === 1,
924
934
  K(t),
925
- !1
935
+ !1,
936
+ S(t)
926
937
  ),
927
- e.selectionMode ? "cursor-pointer" : ""
938
+ e.selectionMode && !S(t) ? "cursor-pointer" : ""
928
939
  ]),
929
- onClick: (a) => Y(a, t, i)
940
+ onClick: (a) => Z(a, t, n)
930
941
  }, [
931
- L.value ? (l(), o("td", {
942
+ T.value ? (l(), o("td", {
932
943
  key: 0,
933
- class: v([
934
- ...c(de)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
935
- ...c(ce)(e.size)
944
+ class: m([
945
+ ...p(ue)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
946
+ ...p(fe)(e.size)
936
947
  ])
937
948
  }, [
938
- J.value ? (l(), o("div", {
949
+ X.value ? (l(), o("div", {
939
950
  key: 0,
940
951
  class: "flex items-center justify-center cursor-pointer",
941
- onClick: I((a) => se(a, t), ["stop"])
952
+ onClick: G((a) => re(a, t), ["stop"])
942
953
  }, [
943
- K(t) ? (l(), o("div", Tt, [
944
- (l(), b(w(c(D)), { class: "w-3.5 h-3.5" }))
945
- ])) : (l(), o("div", Et))
946
- ], 8, Lt)) : (l(), o("div", {
954
+ K(t) ? (l(), o("div", Et, [
955
+ (l(), k(C(p(ee)), { class: "w-3.5 h-3.5" }))
956
+ ])) : (l(), o("div", jt))
957
+ ], 8, Tt)) : (l(), o("div", {
947
958
  key: 1,
948
959
  class: "flex items-center justify-center cursor-pointer",
949
- onClick: I((a) => Y(a, t, i), ["stop"])
960
+ onClick: G((a) => Z(a, t, n), ["stop"])
950
961
  }, [
951
- K(t) ? (l(), o("div", Kt, [...r[5] || (r[5] = [
962
+ K(t) ? (l(), o("div", Nt, [...r[5] || (r[5] = [
952
963
  f("div", { class: "w-2 h-2 rounded-full bg-white" }, null, -1)
953
- ])])) : (l(), o("div", Nt))
954
- ], 8, jt))
955
- ], 2)) : h("", !0),
956
- B.value ? (l(), o("td", {
964
+ ])])) : (l(), o("div", zt))
965
+ ], 8, Kt))
966
+ ], 2)) : g("", !0),
967
+ M.value ? (l(), o("td", {
957
968
  key: 1,
958
- class: v([
959
- ...c(de)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
960
- ...c($e)(e.size)
969
+ class: m([
970
+ ...p(ue)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
971
+ ...p(qe)(e.size)
961
972
  ])
962
973
  }, [
963
974
  f("button", {
964
- class: "p-1 rounded hover:bg-gray-100 transition-colors",
965
- onClick: (a) => le(a, t)
975
+ class: "p-1 rounded hover:bg-gray-100 transition-colors disabled:opacity-50 disabled:cursor-default disabled:hover:bg-transparent",
976
+ disabled: S(t),
977
+ onClick: (a) => oe(a, t)
966
978
  }, [
967
- (l(), b(w(z(t) ? c(ne) : c(pe)), { class: "w-4 h-4 text-gray-500" }))
968
- ], 8, zt)
969
- ], 2)) : h("", !0),
970
- (l(!0), o(S, null, j(Q.value, (a, m) => (l(), o("td", {
971
- key: m,
972
- class: v([
973
- ...c(de)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
979
+ (l(), k(C(V(t) ? p(ie) : p(ce)), { class: "w-4 h-4 text-gray-500" }))
980
+ ], 8, Vt)
981
+ ], 2)) : g("", !0),
982
+ (l(!0), o(R, null, j(H.value, (a, v) => (l(), o("td", {
983
+ key: v,
984
+ class: m([
985
+ ...p(ue)(e.size, e.bordered, e.verticalBorders, e.bodyBgClass),
974
986
  a.props.bodyClass
975
987
  ]),
976
- style: ae(a.props.bodyStyle)
988
+ style: ne(a.props.bodyStyle)
977
989
  }, [
978
- a.slots.body ? (l(), b(w(a.slots.body), {
990
+ a.slots.body ? (l(), k(C(a.slots.body), {
979
991
  key: 0,
980
992
  data: t,
981
993
  field: a.props.field,
982
- index: i
983
- }, null, 8, ["data", "field", "index"])) : a.props.field ? (l(), o(S, { key: 1 }, [
984
- H(k(_(t, a.props.field)), 1)
985
- ], 64)) : h("", !0)
994
+ index: n,
995
+ disabled: S(t)
996
+ }, null, 8, ["data", "field", "index", "disabled"])) : a.props.field ? (l(), o(R, { key: 1 }, [
997
+ I(w(_(t, a.props.field)), 1)
998
+ ], 64)) : g("", !0)
986
999
  ], 6))), 128))
987
- ], 10, qt),
988
- B.value && z(t) ? (l(), o("tr", Vt, [
1000
+ ], 10, Lt),
1001
+ M.value && V(t) ? (l(), o("tr", At, [
989
1002
  f("td", {
990
- colspan: X.value,
1003
+ colspan: Y.value,
991
1004
  class: "p-0"
992
1005
  }, [
993
- M(e.$slots, "expansion", {
1006
+ F(e.$slots, "expansion", {
994
1007
  data: t,
995
- index: i
1008
+ index: n
996
1009
  }, void 0, !0)
997
- ], 8, At)
998
- ])) : h("", !0)
1010
+ ], 8, Wt)
1011
+ ])) : g("", !0)
999
1012
  ], 64))), 128))
1000
- ])) : e.loading ? (l(), o("tbody", Wt, [
1013
+ ])) : e.loading ? (l(), o("tbody", Ut, [
1001
1014
  f("tr", null, [
1002
1015
  f("td", {
1003
- colspan: X.value,
1016
+ colspan: Y.value,
1004
1017
  class: "text-center py-12"
1005
1018
  }, [
1006
- M(e.$slots, "loading", {}, () => [
1007
- f("div", Qt, [
1008
- Be(Z, { class: "w-5 h-5" }),
1009
- f("span", null, k(c(C)("ui.dataTable.loading")), 1)
1019
+ F(e.$slots, "loading", {}, () => [
1020
+ f("div", Ht, [
1021
+ Me(D, { class: "w-5 h-5" }),
1022
+ f("span", null, w(p(b)("ui.dataTable.loading")), 1)
1010
1023
  ])
1011
1024
  ], !0)
1012
- ], 8, Ut)
1025
+ ], 8, Qt)
1013
1026
  ])
1014
- ])) : (l(), o("tbody", Ht, [
1027
+ ])) : (l(), o("tbody", It, [
1015
1028
  f("tr", null, [
1016
1029
  f("td", {
1017
- colspan: X.value,
1030
+ colspan: Y.value,
1018
1031
  class: "text-center py-12"
1019
1032
  }, [
1020
- M(e.$slots, "empty", {}, () => [
1021
- f("span", Gt, k(c(C)("ui.dataTable.noRecords")), 1)
1033
+ F(e.$slots, "empty", {}, () => [
1034
+ f("span", Jt, w(p(b)("ui.dataTable.noRecords")), 1)
1022
1035
  ], !0)
1023
- ], 8, It)
1036
+ ], 8, Gt)
1024
1037
  ])
1025
1038
  ])),
1026
- e.hasNextPage && !e.loading ? (l(), o("tfoot", Jt, [
1039
+ e.hasNextPage && !e.loading ? (l(), o("tfoot", Xt, [
1027
1040
  f("tr", null, [
1028
1041
  f("td", {
1029
- colspan: X.value,
1042
+ colspan: Y.value,
1030
1043
  class: "px-3 pb-3 pt-2"
1031
1044
  }, [
1032
1045
  f("button", {
@@ -1034,48 +1047,48 @@ const dt = (u = !0) => {
1034
1047
  disabled: e.loadingNext,
1035
1048
  onClick: r[1] || (r[1] = (t) => d("load:next"))
1036
1049
  }, [
1037
- e.loadingNext ? (l(), b(Z, {
1050
+ e.loadingNext ? (l(), k(D, {
1038
1051
  key: 0,
1039
1052
  class: "w-4 h-4"
1040
- })) : h("", !0),
1041
- H(" " + k(e.loadMoreLabel || c(C)("ui.dataTable.showMore")), 1)
1042
- ], 8, Yt)
1043
- ], 8, Xt)
1053
+ })) : g("", !0),
1054
+ I(" " + w(e.loadMoreLabel || p(b)("ui.dataTable.showMore")), 1)
1055
+ ], 8, Zt)
1056
+ ], 8, Yt)
1044
1057
  ])
1045
- ])) : h("", !0)
1058
+ ])) : g("", !0)
1046
1059
  ], 2)
1047
1060
  ], 2)),
1048
- e.paginator && me.value > 0 ? (l(), b(xt, {
1061
+ e.paginator && ke.value > 0 ? (l(), k(_t, {
1049
1062
  key: 3,
1050
- first: G.value,
1051
- rows: R.value,
1052
- "total-records": me.value,
1063
+ first: J.value,
1064
+ rows: B.value,
1065
+ "total-records": ke.value,
1053
1066
  "rows-per-page-options": e.rowsPerPageOptions,
1054
- "onUpdate:first": ze,
1055
- "onUpdate:rows": Ve,
1067
+ "onUpdate:first": Ve,
1068
+ "onUpdate:rows": Ae,
1056
1069
  onPage: r[4] || (r[4] = (t) => d("page", t))
1057
- }, null, 8, ["first", "rows", "total-records", "rows-per-page-options"])) : h("", !0),
1058
- c(y).footer ? (l(), o("div", xs, [
1059
- M(e.$slots, "footer", {}, void 0, !0)
1060
- ])) : h("", !0)
1070
+ }, null, 8, ["first", "rows", "total-records", "rows-per-page-options"])) : g("", !0),
1071
+ p(h).footer ? (l(), o("div", _s, [
1072
+ F(e.$slots, "footer", {}, void 0, !0)
1073
+ ])) : g("", !0)
1061
1074
  ]));
1062
1075
  }
1063
1076
  });
1064
- const Es = /* @__PURE__ */ rt(_s, [["__scopeId", "data-v-2987f33d"]]), js = /* @__PURE__ */ fe({
1077
+ const js = /* @__PURE__ */ lt(Ss, [["__scopeId", "data-v-9359fb0b"]]), Ks = /* @__PURE__ */ ye({
1065
1078
  __name: "OneColumn",
1066
- props: ot,
1079
+ props: at,
1067
1080
  setup(u) {
1068
- const n = u, p = Pe(), s = tt(Le), d = {
1069
- props: n,
1070
- slots: p
1081
+ const i = u, c = Pe(), s = st(Te), d = {
1082
+ props: i,
1083
+ slots: c
1071
1084
  };
1072
1085
  return s && s.registerColumn(d), Oe(() => {
1073
1086
  s && s.unregisterColumn(d);
1074
- }), (y, C) => M(y.$slots, "default");
1087
+ }), (h, b) => F(h.$slots, "default");
1075
1088
  }
1076
1089
  });
1077
1090
  export {
1078
- js as OneColumn,
1079
- Es as OneDataTable,
1080
- xt as OneDataTablePaginator
1091
+ Ks as OneColumn,
1092
+ js as OneDataTable,
1093
+ _t as OneDataTablePaginator
1081
1094
  };