@citruslime/ui 2.1.3 → 2.1.4-beta.1

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 (37) hide show
  1. package/dist/citrus-lime-ui.es.js +109 -109
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/accordion/cl-ui-accordion.d.ts +5 -13
  4. package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +7 -11
  5. package/dist/components/app/cl-ui-app.d.ts +5 -41
  6. package/dist/components/button/cl-ui-button.d.ts +14 -15
  7. package/dist/components/calendar/cl-ui-calendar.d.ts +101 -2
  8. package/dist/components/card/cl-ui-card.d.ts +7 -7
  9. package/dist/components/combo-box/cl-ui-combo-box.d.ts +40 -2252
  10. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +29 -782
  11. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +10 -10
  12. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +17 -25
  13. package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +11 -72
  14. package/dist/components/grid/body/cl-ui-grid-body.d.ts +17 -826
  15. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +7 -628
  16. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +10 -659
  17. package/dist/components/grid/body/cl-ui-grid-row.d.ts +9 -694
  18. package/dist/components/grid/cl-ui-grid.d.ts +15 -3110
  19. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +8 -644
  20. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +10 -696
  21. package/dist/components/grid/header/cl-ui-grid-header.d.ts +11 -757
  22. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +12 -25
  23. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +4 -682
  24. package/dist/components/header/menu/cl-ui-header-menu.d.ts +13 -18
  25. package/dist/components/input/cl-ui-input.d.ts +74 -327
  26. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +10 -20
  27. package/dist/components/login/cl-ui-login.d.ts +8 -689
  28. package/dist/components/modal/cl-ui-modal.d.ts +11 -17
  29. package/dist/components/navigation/cl-ui-navigation.d.ts +2 -20
  30. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +3 -3
  31. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +5 -5
  32. package/dist/components/notification/cl-ui-notification.d.ts +8 -17
  33. package/dist/components/slider/cl-ui-slider.d.ts +20 -43
  34. package/dist/components/tab/cl-ui-tab.d.ts +11 -21
  35. package/dist/components/tab/header/cl-ui-tab-header.d.ts +12 -19
  36. package/dist/style.css +1 -1
  37. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
1
  import { Icon as fl } from "@iconify/vue";
2
- import { defineComponent as D, ref as O, openBlock as i, createElementBlock as v, renderSlot as j, normalizeProps as oe, guardReactiveProps as ie, resolveComponent as K, Fragment as U, createElementVNode as u, normalizeClass as I, createVNode as y, Transition as $e, withCtx as z, withDirectives as q, vShow as R, createBlock as B, Teleport as Fe, renderList as te, unref as a, mergeProps as be, toDisplayString as x, createCommentVNode as M, nextTick as ke, computed as E, watch as J, onMounted as Oe, onUnmounted as Ue, isRef as ye, normalizeStyle as nl, vModelText as ml, withModifiers as Y, vModelDynamic as gl, withKeys as Se, createTextVNode as le, watchEffect as bl, createSlots as Ve } from "vue";
2
+ import { defineComponent as D, ref as S, openBlock as i, createElementBlock as v, renderSlot as j, normalizeProps as oe, guardReactiveProps as ie, resolveComponent as K, Fragment as U, createElementVNode as u, normalizeClass as I, createVNode as y, Transition as $e, withCtx as z, withDirectives as q, vShow as R, createBlock as B, Teleport as Fe, renderList as te, unref as a, mergeProps as be, toDisplayString as x, createCommentVNode as M, nextTick as ke, computed as E, watch as J, onMounted as Se, onUnmounted as Ue, isRef as ye, normalizeStyle as nl, vModelText as ml, withModifiers as Y, vModelDynamic as gl, withKeys as Oe, createTextVNode as le, watchEffect as bl, createSlots as Ve } from "vue";
3
3
  import { generateStringId as vl } from "@citruslime/utils";
4
4
  import { createI18n as hl, useI18n as ae } from "vue-i18n";
5
5
  import Je from "flatpickr";
@@ -11,7 +11,7 @@ const wl = { class: "cl-overflow-hidden" }, xl = /* @__PURE__ */ D({
11
11
  exclusive: { type: Boolean, default: !1 }
12
12
  },
13
13
  setup(e) {
14
- const n = e, t = O([]);
14
+ const n = e, t = S([]);
15
15
  function l(r) {
16
16
  let s = t.value.find((g) => g.id === r);
17
17
  return s || (s = {
@@ -29,7 +29,7 @@ const wl = { class: "cl-overflow-hidden" }, xl = /* @__PURE__ */ D({
29
29
  j(r.$slots, "default", oe(ie({ isItemOpen: l, toggleItem: o })))
30
30
  ]));
31
31
  }
32
- }), $l = { class: "cl-absolute cl-left-5 cl-top-5" }, kl = { class: "cl-font-semibold cl-ml-10 cl-p-4 cl-select-none cl-text-grey-5" }, Tl = { class: "cl-overflow-hidden" }, Cl = { class: "cl-ml-10 cl-p-4" }, Sl = /* @__PURE__ */ D({
32
+ }), $l = { class: "cl-absolute cl-left-5 cl-top-5" }, kl = { class: "cl-font-semibold cl-ml-10 cl-p-4 cl-select-none cl-text-grey-5" }, Tl = { class: "cl-overflow-hidden" }, Cl = { class: "cl-ml-10 cl-p-4" }, Ol = /* @__PURE__ */ D({
33
33
  __name: "cl-ui-accordion-item",
34
34
  props: {
35
35
  open: { type: Boolean },
@@ -86,13 +86,13 @@ const wl = { class: "cl-overflow-hidden" }, xl = /* @__PURE__ */ D({
86
86
  for (const [l, o] of n)
87
87
  t[l] = o;
88
88
  return t;
89
- }, Ol = {}, El = { class: "cl-border-b cl-border-grey-1 cl-font-semibold cl-pl-14 cl-pr-4 cl-py-2 cl-text-grey-3 cl-text-sm" };
89
+ }, Sl = {}, El = { class: "cl-border-b cl-border-grey-1 cl-font-semibold cl-pl-14 cl-pr-4 cl-py-2 cl-text-grey-3 cl-text-sm" };
90
90
  function jl(e, n) {
91
91
  return i(), v("div", El, [
92
92
  j(e.$slots, "default")
93
93
  ]);
94
94
  }
95
- const Al = /* @__PURE__ */ ve(Ol, [["render", jl]]), Me = O([]);
95
+ const Al = /* @__PURE__ */ ve(Sl, [["render", jl]]), Me = S([]);
96
96
  function Ke(e) {
97
97
  const n = {
98
98
  id: vl(),
@@ -166,7 +166,7 @@ const Ml = ["onClick"], Il = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
166
166
  }, [
167
167
  j(n.$slots, "navigation"),
168
168
  u("div", {
169
- class: I(["cl-grow cl-max-h-full cl-overflow-x-hidden cl-overflow-y-auto cl-overscroll-y-none cl-w-auto", {
169
+ class: I(["cl-grow cl-max-h-full cl-mb-20 cl-overflow-x-hidden cl-overflow-y-auto cl-overscroll-y-none cl-w-auto xl:cl-mb-0", {
170
170
  "md:cl-p-8 cl-p-2": !e.removePadding
171
171
  }])
172
172
  }, [
@@ -193,7 +193,7 @@ const Ge = /* @__PURE__ */ ve(Rl, [["render", Ul], ["__scopeId", "data-v-a21dc5d
193
193
  disabled: { type: Boolean, default: !1 }
194
194
  },
195
195
  setup(e, { expose: n }) {
196
- const t = O(null);
196
+ const t = S(null);
197
197
  return n({
198
198
  focus() {
199
199
  t.value && t.value.focus();
@@ -1053,7 +1053,7 @@ const it = ["placeholder", "disabled"], rt = { class: "cl-absolute cl-bg-white c
1053
1053
  valueOutOfRange: null
1054
1054
  },
1055
1055
  setup(e, { expose: n, emit: t }) {
1056
- const l = e, { d: o, getDateTimeFormat: r, locale: s, t: g } = ae(), c = O(null), b = O(null), h = E(() => o(at(), l.type)), m = E(() => r(s.value)[l.type]), f = E(() => P()), p = E(() => Q()), d = E(() => ge()), w = E(() => Ze(l.min, s.value)), $ = E(() => Ze(l.max, s.value)), S = O(!1), V = E(() => {
1056
+ const l = e, { d: o, getDateTimeFormat: r, locale: s, t: g } = ae(), c = S(null), b = S(null), h = E(() => o(at(), l.type)), m = E(() => r(s.value)[l.type]), f = E(() => P()), p = E(() => Q()), d = E(() => ge()), w = E(() => Ze(l.min, s.value)), $ = E(() => Ze(l.max, s.value)), O = S(!1), V = E(() => {
1057
1057
  var se, xe;
1058
1058
  let k = "H", L = "Y";
1059
1059
  return ((se = m.value) == null ? void 0 : se.hour12) === !0 && (k = "h"), ((xe = m.value) == null ? void 0 : xe.year) === "2-digit" && (L = "y"), ct(h.value, k, L);
@@ -1080,17 +1080,17 @@ const it = ["placeholder", "disabled"], rt = { class: "cl-absolute cl-bg-white c
1080
1080
  });
1081
1081
  function ce(k, L, se) {
1082
1082
  const xe = k.length > 0 ? k[0] : null;
1083
- xe !== l.date && !S.value && (t("update:date", xe), xe === null && t("valueOutOfRange")), S.value = !1;
1083
+ xe !== l.date && !O.value && (t("update:date", xe), xe === null && t("valueOutOfRange")), O.value = !1;
1084
1084
  }
1085
1085
  function C() {
1086
- S.value = !0, t("update:date", null);
1086
+ O.value = !0, t("update:date", null);
1087
1087
  }
1088
1088
  function H() {
1089
1089
  if (c.value !== null) {
1090
1090
  let k = new Date();
1091
1091
  k.setHours(12, 0, 0, 0);
1092
1092
  let L;
1093
- l.type === "time" ? L = l.min.toDateFromTime() : L = new Date(l.min), L > k && (k = L), S.value = !0, t("update:date", k);
1093
+ l.type === "time" ? L = l.min.toDateFromTime() : L = new Date(l.min), L > k && (k = L), O.value = !0, t("update:date", k);
1094
1094
  }
1095
1095
  }
1096
1096
  function X() {
@@ -1144,7 +1144,7 @@ const it = ["placeholder", "disabled"], rt = { class: "cl-absolute cl-bg-white c
1144
1144
  A(), ke(() => X());
1145
1145
  }, {
1146
1146
  immediate: !1
1147
- }), Oe(() => X()), Ue(() => A()), n({
1147
+ }), Se(() => X()), Ue(() => A()), n({
1148
1148
  focus() {
1149
1149
  var k;
1150
1150
  (k = b.value) == null || k.focus();
@@ -1226,7 +1226,7 @@ const dt = /* @__PURE__ */ ve(ut, [["__scopeId", "data-v-053c2f6e"]]), ze = [
1226
1226
  "update:value": null
1227
1227
  },
1228
1228
  setup(e, { expose: n, emit: t }) {
1229
- const l = e, { n: o, t: r } = ae(), { debounce: s } = pl(), g = O(l.value), c = O(), b = E({
1229
+ const l = e, { n: o, t: r } = ae(), { debounce: s } = pl(), g = S(l.value), c = S(), b = E({
1230
1230
  get: () => l.value,
1231
1231
  set: (d) => t("update:value", d)
1232
1232
  }), h = E(() => l.disabled ? "rgba(153, 153, 153, 0.8)" : "#9acd32"), m = E(() => {
@@ -1234,8 +1234,8 @@ const dt = /* @__PURE__ */ ve(ut, [["__scopeId", "data-v-053c2f6e"]]), ze = [
1234
1234
  return d < 35 && d > 0 ? d < 20 ? d += 0.5 : d += 0.25 : d > 65 && d < 100 && (d > 80 ? d -= 0.5 : d -= 0.25), d;
1235
1235
  }), f = E(() => l.min <= l.max && l.step > 0);
1236
1236
  function p(d, w) {
1237
- const $ = (d == null ? void 0 : d.value) ?? "", S = Math.max(Math.min(parseFloat($) || l.min, l.max), l.min);
1238
- b.value = l.enforceStep ? Math.ceil(S / l.step) * l.step : S, ke(() => w());
1237
+ const $ = (d == null ? void 0 : d.value) ?? "", O = Math.max(Math.min(parseFloat($) || l.min, l.max), l.min);
1238
+ b.value = l.enforceStep ? Math.ceil(O / l.step) * l.step : O, ke(() => w());
1239
1239
  }
1240
1240
  return J(() => l.value, () => g.value = l.value), n({
1241
1241
  focus() {
@@ -1251,14 +1251,14 @@ const dt = /* @__PURE__ */ ve(ut, [["__scopeId", "data-v-053c2f6e"]]), ze = [
1251
1251
  u("div", ft, [
1252
1252
  q(y($, {
1253
1253
  modelValue: g.value,
1254
- "onUpdate:modelValue": w[0] || (w[0] = (S) => g.value = S),
1254
+ "onUpdate:modelValue": w[0] || (w[0] = (O) => g.value = O),
1255
1255
  class: "!cl-text-sm md:!cl-w-auto",
1256
1256
  "input-type": "number",
1257
1257
  min: e.min,
1258
1258
  max: e.max,
1259
1259
  step: e.step,
1260
1260
  disabled: e.disabled,
1261
- onInput: w[1] || (w[1] = (S) => a(s)(p, S.target, d.$forceUpdate))
1261
+ onInput: w[1] || (w[1] = (O) => a(s)(p, O.target, d.$forceUpdate))
1262
1262
  }, null, 8, ["modelValue", "min", "max", "step", "disabled"]), [
1263
1263
  [R, e.showNumericInput]
1264
1264
  ]),
@@ -1268,7 +1268,7 @@ const dt = /* @__PURE__ */ ve(ut, [["__scopeId", "data-v-053c2f6e"]]), ze = [
1268
1268
  q(u("input", {
1269
1269
  ref_key: "sliderRef",
1270
1270
  ref: c,
1271
- "onUpdate:modelValue": w[2] || (w[2] = (S) => ye(b) ? b.value = S : null),
1271
+ "onUpdate:modelValue": w[2] || (w[2] = (O) => ye(b) ? b.value = O : null),
1272
1272
  class: "cl-align-middle cl-appearance-none cl-bg-gradient-to-r cl-border cl-border-grey-2 cl-delay-500 cl-ease-in cl-flex-1 cl-h-5 cl-mb-2 cl-outline-none cl-rounded-full cl-transition-colors cl-w-full",
1273
1273
  style: nl({
1274
1274
  background: `linear-gradient(to right, ${a(h)} 0%, ${a(h)} ${a(m)}%, white ${a(m)}%, white 100%)`
@@ -1366,10 +1366,10 @@ function _e(e, n) {
1366
1366
  const t = e.target;
1367
1367
  return xt(n) ? t.valueAsNumber : $t(n) ? t.valueAsDate : Ce(n) ? t.checked : t.value;
1368
1368
  }
1369
- const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" }, St = {
1369
+ const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" }, Ot = {
1370
1370
  key: 0,
1371
1371
  class: "cl-block cl-left-auto cl-relative cl-text-danger-default"
1372
- }, Ot = {
1372
+ }, St = {
1373
1373
  key: 1,
1374
1374
  class: "cl-bg-danger-light cl-block cl-max-h-6 cl-mb-1 cl-ml-2 cl-px-2 cl-rounded-md cl-text-center cl-text-danger-default cl-text-xs"
1375
1375
  }, Et = ["type", "disabled", "min", "max", "minlength", "maxlength", "step", "placeholder", "accept", "name", "autocomplete"], jt = {
@@ -1410,13 +1410,13 @@ const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" },
1410
1410
  },
1411
1411
  emits: ["update:model-value", "click", "focus", "input", "change", "validated"],
1412
1412
  setup(e, { expose: n, emit: t }) {
1413
- const l = e, o = O(null), r = O(!1), s = O(!1), g = E(se), c = E(() => l.placeholderText.trim() !== "" ? l.placeholderText : l.label), b = O(!1), { t: h } = ae(), m = O(0), f = E({
1413
+ const l = e, o = S(null), r = S(!1), s = S(!1), g = E(se), c = E(() => l.placeholderText.trim() !== "" ? l.placeholderText : l.label), b = S(!1), { t: h } = ae(), m = S(0), f = E({
1414
1414
  get: () => l.modelValue,
1415
1415
  set: (T) => X(T, !1)
1416
1416
  }), p = E({
1417
1417
  get: () => l.modelValue,
1418
1418
  set: (T) => H(T)
1419
- }), d = E(() => typeof l.min == "number" ? l.min.toString() : l.min), w = E(() => typeof l.max == "number" ? l.max.toString() : l.max), $ = E(() => typeof l.min == "number" ? l.min : parseFloat(l.min)), S = E(() => typeof l.max == "number" ? l.max : parseFloat(l.max)), V = E(() => l.messageWhenValid.trim() !== "" ? l.messageWhenValid : ""), G = O(!0), ce = O([]), C = E(() => {
1419
+ }), d = E(() => typeof l.min == "number" ? l.min.toString() : l.min), w = E(() => typeof l.max == "number" ? l.max.toString() : l.max), $ = E(() => typeof l.min == "number" ? l.min : parseFloat(l.min)), O = E(() => typeof l.max == "number" ? l.max : parseFloat(l.max)), V = E(() => l.messageWhenValid.trim() !== "" ? l.messageWhenValid : ""), G = S(!0), ce = S([]), C = E(() => {
1420
1420
  var T, N;
1421
1421
  return [
1422
1422
  ...((T = ce.value) == null ? void 0 : T.filter((Z) => ((Z == null ? void 0 : Z.length) ?? 0) > 0)) ?? [],
@@ -1497,7 +1497,7 @@ const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" },
1497
1497
  const N = _e(T, l.inputType);
1498
1498
  l.validateOn === "change" && await _(N), t("change", T, N);
1499
1499
  }
1500
- return Oe(() => {
1500
+ return Se(() => {
1501
1501
  l.validateImmediately && X(l.modelValue, !0);
1502
1502
  }), J(() => l.isRequired, () => X(l.modelValue, !0)), J(() => l.externalErrors, async () => {
1503
1503
  await _(f.value), t("update:model-value", f.value);
@@ -1522,8 +1522,8 @@ const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" },
1522
1522
  [R, e.showLabel && e.label !== ""]
1523
1523
  ])
1524
1524
  ]),
1525
- e.isRequired && a(g) ? (i(), v("label", St, " * ")) : M("", !0),
1526
- e.isRequired && !a(g) ? (i(), v("label", Ot, x(e.requiredText), 1)) : M("", !0)
1525
+ e.isRequired && a(g) ? (i(), v("label", Ot, " * ")) : M("", !0),
1526
+ e.isRequired && !a(g) ? (i(), v("label", St, x(e.requiredText), 1)) : M("", !0)
1527
1527
  ]),
1528
1528
  e.inputType !== "range" && !a(Xe)(e.inputType) ? q((i(), v("input", be({
1529
1529
  key: 0,
@@ -1592,7 +1592,7 @@ const Tt = { class: "cl-flex cl-justify-between" }, Ct = { class: "cl-w-full" },
1592
1592
  value: a(f),
1593
1593
  "onUpdate:value": N[7] || (N[7] = (F) => ye(f) ? f.value = F : null),
1594
1594
  min: a($),
1595
- max: a(S),
1595
+ max: a(O),
1596
1596
  step: e.step,
1597
1597
  disabled: e.disabled,
1598
1598
  "show-numeric-input": !1,
@@ -1649,7 +1649,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1649
1649
  size: { default: "medium" }
1650
1650
  },
1651
1651
  setup(e) {
1652
- const n = e, t = O(!1);
1652
+ const n = e, t = S(!1);
1653
1653
  function l() {
1654
1654
  t.value = !0, document.addEventListener("keydown", r);
1655
1655
  }
@@ -1668,7 +1668,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1668
1668
  default: z(() => [
1669
1669
  q(u("div", Dt, [
1670
1670
  u("div", be(s.$attrs, {
1671
- class: ["cl-bg-white cl-flex cl-flex-wrap cl-mx-0 cl-my-auto cl-overflow-y-auto cl-overscroll-y-none cl-relative cl-rounded-lg cl-shadow-lg", {
1671
+ class: ["cl-bg-white cl-flex cl-flex-wrap cl-max-h-[calc(100vh-8rem)] cl-mx-0 cl-my-auto cl-overflow-y-auto cl-overscroll-y-none cl-relative cl-rounded-lg cl-shadow-lg", {
1672
1672
  "lg:cl-w-2/12 cl-w-10/12": e.size === "x-small",
1673
1673
  "cl-w-6/12": e.size === "small",
1674
1674
  "cl-w-8/12": e.size === "medium",
@@ -1681,7 +1681,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1681
1681
  "cl-text-black hover:cl-text-grey-7": e.headerColour === "white"
1682
1682
  }]),
1683
1683
  tabindex: 0,
1684
- onKeypress: Se(o, ["enter"]),
1684
+ onKeypress: Oe(o, ["enter"]),
1685
1685
  onClick: o
1686
1686
  }, [
1687
1687
  y(c, { icon: "ph:x" })
@@ -1774,7 +1774,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1774
1774
  }), o = E(() => {
1775
1775
  var b;
1776
1776
  return ((b = t.option) == null ? void 0 : b.parentName) ?? "";
1777
- }), r = O(!1);
1777
+ }), r = S(!1);
1778
1778
  function s() {
1779
1779
  var b;
1780
1780
  t.isCreateNewOption === !0 ? n("create-object") : n("select-object", (b = t.option) == null ? void 0 : b.id);
@@ -1840,7 +1840,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1840
1840
  "hide-dropdown": null
1841
1841
  },
1842
1842
  setup(e, { emit: n }) {
1843
- const t = e, { t: l } = ae(), o = O(""), r = O(!1), s = O(-1), g = E(() => r.value ? -1 : 0), c = O();
1843
+ const t = e, { t: l } = ae(), o = S(""), r = S(!1), s = S(-1), g = E(() => r.value ? -1 : 0), c = S();
1844
1844
  function b(C) {
1845
1845
  (C === void 0 || (C == null ? void 0 : C.code.startsWith("Arrow")) === !1 && (C == null ? void 0 : C.code.startsWith("Control")) === !1 && (C == null ? void 0 : C.code.startsWith("Shift")) === !1 && (C == null ? void 0 : C.code.startsWith("Tab")) === !1 && (C == null ? void 0 : C.code) !== "Enter") && (n("search", o.value), s.value = -2);
1846
1846
  }
@@ -1854,10 +1854,10 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1854
1854
  n("hide-dropdown");
1855
1855
  }
1856
1856
  function p(C) {
1857
- s.value < t.results.length - 1 ? (s.value === -2 && o.value === "" && s.value++, s.value++) : s.value = C, S();
1857
+ s.value < t.results.length - 1 ? (s.value === -2 && o.value === "" && s.value++, s.value++) : s.value = C, O();
1858
1858
  }
1859
1859
  function d(C) {
1860
- s.value > C ? s.value-- : s.value = t.results.length - 1, S();
1860
+ s.value > C ? s.value-- : s.value = t.results.length - 1, O();
1861
1861
  }
1862
1862
  function w() {
1863
1863
  s.value >= 0 && t.results !== void 0 ? h(t.results[s.value].id) : s.value === -1 && m();
@@ -1871,7 +1871,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1871
1871
  X >= 0 && (H[X].focus(), f());
1872
1872
  }
1873
1873
  }
1874
- function S() {
1874
+ function O() {
1875
1875
  var C;
1876
1876
  t.results && t.results.length > 1 && ((C = c.value) == null || C.scrollTo(0, (s.value + 1) * 34 - 34 * 2));
1877
1877
  }
@@ -1888,7 +1888,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1888
1888
  return (H = (C = c.value) == null ? void 0 : C.querySelector("input")) == null ? void 0 : H.focus();
1889
1889
  }));
1890
1890
  }
1891
- return J(() => t.results, () => V()), J(() => t.errorMessage, () => V()), J(() => t.isVisible, () => ce()), Oe(() => {
1891
+ return J(() => t.results, () => V()), J(() => t.errorMessage, () => V()), J(() => t.isVisible, () => ce()), Se(() => {
1892
1892
  var C;
1893
1893
  return (C = c.value) == null ? void 0 : C.addEventListener("keydown", $);
1894
1894
  }), Ue(() => {
@@ -1902,10 +1902,10 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1902
1902
  ref: c,
1903
1903
  class: "cl-bg-white cl-border cl-border-collapse cl-border-grey-0 cl-h-52 cl-overflow-y-auto cl-overscroll-y-none cl-p-2 cl-rounded cl-text-sm",
1904
1904
  onKeydown: [
1905
- H[2] || (H[2] = Se(Y((re) => d(a(g)), ["prevent", "stop"]), ["up"])),
1906
- H[3] || (H[3] = Se(Y((re) => p(a(g)), ["prevent", "stop"]), ["down"]))
1905
+ H[2] || (H[2] = Oe(Y((re) => d(a(g)), ["prevent", "stop"]), ["up"])),
1906
+ H[3] || (H[3] = Oe(Y((re) => p(a(g)), ["prevent", "stop"]), ["down"]))
1907
1907
  ],
1908
- onKeyup: Se(Y(w, ["prevent", "stop"]), ["enter"])
1908
+ onKeyup: Oe(Y(w, ["prevent", "stop"]), ["enter"])
1909
1909
  }, [
1910
1910
  u("div", Vt, [
1911
1911
  y(fe, {
@@ -1990,10 +1990,10 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
1990
1990
  "update:current-object": null
1991
1991
  },
1992
1992
  setup(e, { expose: n, emit: t }) {
1993
- const l = e, { t: o } = ae(), r = O(!1), s = E({
1993
+ const l = e, { t: o } = ae(), r = S(!1), s = E({
1994
1994
  get: () => l.currentObject,
1995
1995
  set: (A) => t("update:current-object", A)
1996
- }), g = O(null), c = O(null), b = E(() => re()), h = O(""), m = O(""), f = O(), p = O(!0);
1996
+ }), g = S(null), c = S(null), b = E(() => re()), h = S(""), m = S(""), f = S(), p = S(!0);
1997
1997
  function d(A) {
1998
1998
  l.disabled || (typeof A < "u" ? r.value = A : r.value = !r.value);
1999
1999
  }
@@ -2003,7 +2003,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
2003
2003
  function $(A) {
2004
2004
  m.value = A, t("search-parent", A);
2005
2005
  }
2006
- function S() {
2006
+ function O() {
2007
2007
  s.value = null, d(!1);
2008
2008
  }
2009
2009
  function V(A) {
@@ -2149,7 +2149,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
2149
2149
  "is-visible": r.value,
2150
2150
  onCreateObject: k,
2151
2151
  onSelectObject: V,
2152
- onClearObject: S,
2152
+ onClearObject: O,
2153
2153
  onSearch: w,
2154
2154
  onHideDropdown: P[4] || (P[4] = (L) => d(!1))
2155
2155
  }, null, 8, ["can-create-new-object", "can-clear-selected-object", "loading", "results", "object-type", "object-parent-type", "error-message", "current-object-name", "is-visible", "onCreateObject"]), [
@@ -2189,7 +2189,7 @@ const fe = /* @__PURE__ */ ve(Nt, [["__scopeId", "data-v-a655011e"]]), Dt = { cl
2189
2189
  e.objectParentType ? (i(), B(ge, {
2190
2190
  key: 0,
2191
2191
  "current-object": c.value,
2192
- "onUpdate:current-object": P[5] || (P[5] = (k) => c.value = k),
2192
+ "onUpdate:currentObject": P[5] || (P[5] = (k) => c.value = k),
2193
2193
  class: "cl-mt-3",
2194
2194
  results: e.parentResults,
2195
2195
  loading: e.loading,
@@ -2356,7 +2356,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2356
2356
  },
2357
2357
  emits: ["edit", "focus", "undo"],
2358
2358
  setup(e, { emit: n }) {
2359
- const t = e, l = O(me(t.data)), o = E(() => t.column.field !== void 0 && l.value[t.column.field] !== t.data[t.column.field]);
2359
+ const t = e, l = S(me(t.data)), o = E(() => t.column.field !== void 0 && l.value[t.column.field] !== t.data[t.column.field]);
2360
2360
  return bl(() => l.value = me(t.data)), J(l, (r) => {
2361
2361
  const s = t.column.field ?? "";
2362
2362
  s !== "" && (r[s] !== t.data[s] ? n("edit", r[s]) : n("undo"));
@@ -2438,7 +2438,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2438
2438
  },
2439
2439
  emits: ["row-select", "row-edit", "clear-filters"],
2440
2440
  setup(e, { emit: n }) {
2441
- const t = e, { t: l } = ae(), o = O({
2441
+ const t = e, { t: l } = ae(), o = S({
2442
2442
  index: -1,
2443
2443
  record: {}
2444
2444
  });
@@ -2459,7 +2459,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2459
2459
  };
2460
2460
  }
2461
2461
  }
2462
- const b = O({});
2462
+ const b = S({});
2463
2463
  J(() => t.data, () => {
2464
2464
  var m, f;
2465
2465
  return b.value = Object.fromEntries(((f = (m = t.data) == null ? void 0 : m.results) == null ? void 0 : f.map((p, d) => [
@@ -2504,10 +2504,10 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2504
2504
  },
2505
2505
  onCellUndo: c
2506
2506
  }, Ve({ _: 2 }, [
2507
- te(m.$slots, ($, S) => ({
2508
- name: S,
2507
+ te(m.$slots, ($, O) => ({
2508
+ name: O,
2509
2509
  fn: z((V) => [
2510
- j(m.$slots, S, oe(ie(V)))
2510
+ j(m.$slots, O, oe(ie(V)))
2511
2511
  ])
2512
2512
  }))
2513
2513
  ]), 1032, ["data", "columns", "edit-mode", "class", "onClick", "onCellFocus", "onCellEdit"]))), 128)) : e.loading ? M("", !0) : (i(), v("tr", yn, [
@@ -2534,10 +2534,10 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2534
2534
  ]);
2535
2535
  };
2536
2536
  }
2537
- }), Sn = {
2537
+ }), On = {
2538
2538
  key: 0,
2539
2539
  class: "cl-flex cl-flex-wrap cl-justify-end cl-mt-2 cl-w-full"
2540
- }, On = { class: "cl-bg-off-white cl-border cl-border-grey-1 cl-flex cl-items-center cl-mb-2 cl-px-3 cl-rounded cl-shadow-md cl-text-sm cl-w-full lg:cl-w-auto" }, En = { class: "cl-text-grey-3 cl-w-max" }, jn = { class: "cl-bg-off-white cl-border cl-border-grey-1 cl-flex cl-flex-wrap cl-items-center cl-mb-2 cl-px-3 cl-py-2 cl-rounded cl-shadow-md cl-text-sm cl-w-full lg:cl-ml-2 lg:cl-w-auto mb:cl-flex-nowrap" }, An = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-text-sm cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, Mn = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-w-full lg:cl-mb-0 lg:cl-mr-2 lg:cl-w-auto" }, In = { class: "cl-text-grey-3 cl-w-full lg:cl-mr-2 lg:cl-w-auto" }, Nn = { class: "cl-flex cl-flex-wrap cl-text-sm mb:cl-flex-nowrap" }, Dn = { class: "cl-pr-2" }, qn = ["onClick"], Rn = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-text-sm cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, Pn = { class: "cl-mb-2 cl-text-grey-3 cl-w-full lg:cl-mb-0 lg:cl-mr-2 lg:cl-w-auto" }, Un = ["onClick"], Bn = { class: "cl-mb-2 cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, zn = { class: "cl-block cl-mb-2 cl-text-grey-3 cl-w-full lg:cl-inline-block lg:cl-mb-0 lg:cl-mr-1 lg:cl-w-auto" }, Ln = { class: "cl-block lg:cl-inline-block" }, Fn = /* @__PURE__ */ D({
2540
+ }, Sn = { class: "cl-bg-off-white cl-border cl-border-grey-1 cl-flex cl-items-center cl-mb-2 cl-px-3 cl-rounded cl-shadow-md cl-text-sm cl-w-full lg:cl-w-auto" }, En = { class: "cl-text-grey-3 cl-w-max" }, jn = { class: "cl-bg-off-white cl-border cl-border-grey-1 cl-flex cl-flex-wrap cl-items-center cl-mb-2 cl-px-3 cl-py-2 cl-rounded cl-shadow-md cl-text-sm cl-w-full lg:cl-ml-2 lg:cl-w-auto mb:cl-flex-nowrap" }, An = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-text-sm cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, Mn = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-w-full lg:cl-mb-0 lg:cl-mr-2 lg:cl-w-auto" }, In = { class: "cl-text-grey-3 cl-w-full lg:cl-mr-2 lg:cl-w-auto" }, Nn = { class: "cl-flex cl-flex-wrap cl-text-sm mb:cl-flex-nowrap" }, Dn = { class: "cl-pr-2" }, qn = ["onClick"], Rn = { class: "cl-flex cl-flex-wrap cl-mb-2 cl-text-sm cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, Pn = { class: "cl-mb-2 cl-text-grey-3 cl-w-full lg:cl-mb-0 lg:cl-mr-2 lg:cl-w-auto" }, Un = ["onClick"], Bn = { class: "cl-mb-2 cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" }, zn = { class: "cl-block cl-mb-2 cl-text-grey-3 cl-w-full lg:cl-inline-block lg:cl-mb-0 lg:cl-mr-1 lg:cl-w-auto" }, Ln = { class: "cl-block lg:cl-inline-block" }, Fn = /* @__PURE__ */ D({
2541
2541
  __name: "cl-ui-grid-footer",
2542
2542
  props: {
2543
2543
  request: null,
@@ -2582,8 +2582,8 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2582
2582
  return (f, p) => {
2583
2583
  var w, $;
2584
2584
  const d = K("icon");
2585
- return ($ = (w = e.data) == null ? void 0 : w.results) != null && $.length && e.request ? (i(), v("div", Sn, [
2586
- u("div", On, [
2585
+ return ($ = (w = e.data) == null ? void 0 : w.results) != null && $.length && e.request ? (i(), v("div", On, [
2586
+ u("div", Sn, [
2587
2587
  u("span", En, x(a(o)("grid.jumpToPage")), 1),
2588
2588
  y(fe, {
2589
2589
  "model-value": e.request.pageNumber,
@@ -2593,7 +2593,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2593
2593
  "show-label": !1,
2594
2594
  min: "1",
2595
2595
  max: a(r),
2596
- onInput: p[0] || (p[0] = (S) => a(m)(S.target))
2596
+ onInput: p[0] || (p[0] = (O) => a(m)(O.target))
2597
2597
  }, null, 8, ["model-value", "max"])
2598
2598
  ]),
2599
2599
  u("div", jn, [
@@ -2605,7 +2605,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2605
2605
  u("li", Dn, x(a(l)(e.request.pageNumber, a(ne).INTEGER)) + " / " + x(a(l)(a(r), a(ne).INTEGER)), 1),
2606
2606
  q(u("li", {
2607
2607
  class: "cl-cursor-pointer cl-mr-1 cl-mt-1 lg:cl-mr-2",
2608
- onClick: p[1] || (p[1] = (S) => g(1))
2608
+ onClick: p[1] || (p[1] = (O) => g(1))
2609
2609
  }, [
2610
2610
  y(d, {
2611
2611
  icon: "ph:caret-double-left",
@@ -2616,7 +2616,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2616
2616
  ]),
2617
2617
  q(u("li", {
2618
2618
  class: "cl-cursor-pointer cl-mt-1 lg:cl-mr-2 mr-1",
2619
- onClick: p[2] || (p[2] = (S) => g(e.request.pageNumber - 1))
2619
+ onClick: p[2] || (p[2] = (O) => g(e.request.pageNumber - 1))
2620
2620
  }, [
2621
2621
  y(d, {
2622
2622
  icon: "ph:caret-left",
@@ -2625,17 +2625,17 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2625
2625
  ], 512), [
2626
2626
  [R, e.request.pageNumber > 1]
2627
2627
  ]),
2628
- (i(!0), v(U, null, te(a(s), (S, V) => (i(), v("li", {
2628
+ (i(!0), v(U, null, te(a(s), (O, V) => (i(), v("li", {
2629
2629
  key: V,
2630
2630
  class: I(["cl-cursor-pointer cl-mr-1 lg:cl-mr-2", {
2631
- "cl-text-black cl-font-bold": e.request.pageNumber === S,
2632
- "cl-text-grey-6": e.request.pageNumber !== S
2631
+ "cl-text-black cl-font-bold": e.request.pageNumber === O,
2632
+ "cl-text-grey-6": e.request.pageNumber !== O
2633
2633
  }]),
2634
- onClick: (G) => g(S)
2635
- }, x(a(l)(S, a(ne).INTEGER)), 11, qn))), 128)),
2634
+ onClick: (G) => g(O)
2635
+ }, x(a(l)(O, a(ne).INTEGER)), 11, qn))), 128)),
2636
2636
  q(u("li", {
2637
2637
  class: "cl-cursor-pointer cl-mr-1 cl-mt-1 lg:cl-mr-2",
2638
- onClick: p[3] || (p[3] = (S) => g(e.request.pageNumber + 1))
2638
+ onClick: p[3] || (p[3] = (O) => g(e.request.pageNumber + 1))
2639
2639
  }, [
2640
2640
  y(d, {
2641
2641
  icon: "ph:caret-right",
@@ -2646,7 +2646,7 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2646
2646
  ]),
2647
2647
  q(u("li", {
2648
2648
  class: "cl-cursor-pointer cl-mr-1 cl-mt-1 lg:cl-mr-2",
2649
- onClick: p[4] || (p[4] = (S) => g(a(r)))
2649
+ onClick: p[4] || (p[4] = (O) => g(a(r)))
2650
2650
  }, [
2651
2651
  y(d, {
2652
2652
  icon: "ph:caret-double-right",
@@ -2659,14 +2659,14 @@ const rn = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, un = { class: "cl-gap-1
2659
2659
  ]),
2660
2660
  u("ul", Rn, [
2661
2661
  u("li", Pn, x(a(o)("grid.pageSize")), 1),
2662
- (i(), v(U, null, te(b, (S, V) => u("li", {
2662
+ (i(), v(U, null, te(b, (O, V) => u("li", {
2663
2663
  key: V,
2664
2664
  class: I(["cl-cursor-pointer cl-mr-1 lg:cl-mr-2", {
2665
- "cl-text-black cl-font-bold": e.request.pageSize === S,
2666
- "cl-text-grey-6": e.request.pageSize !== S
2665
+ "cl-text-black cl-font-bold": e.request.pageSize === O,
2666
+ "cl-text-grey-6": e.request.pageSize !== O
2667
2667
  }]),
2668
- onClick: (G) => h(S)
2669
- }, x(a(l)(S, a(ne).INTEGER)), 11, Un)), 64))
2668
+ onClick: (G) => h(O)
2669
+ }, x(a(l)(O, a(ne).INTEGER)), 11, Un)), 64))
2670
2670
  ]),
2671
2671
  u("ul", Bn, [
2672
2672
  u("li", zn, x(a(o)("grid.totalRecords")), 1),
@@ -2927,10 +2927,10 @@ const Yn = {
2927
2927
  }), c = E(() => g.value !== "" ? new Date(g.value) : null), b = E(() => Intl.NumberFormat(l.value).format(1.1).replace(/[0-9]+/g, "")), h = E(() => He(t.column));
2928
2928
  function m(d, w) {
2929
2929
  var G;
2930
- let $, S = !1;
2930
+ let $, O = !1;
2931
2931
  const V = ((d == null ? void 0 : d.value) ?? w).trim();
2932
2932
  if (s.value)
2933
- S = ((G = s.value) == null ? void 0 : G.filterValue) === V, $ = me(s.value), $.filterValue = V;
2933
+ O = ((G = s.value) == null ? void 0 : G.filterValue) === V, $ = me(s.value), $.filterValue = V;
2934
2934
  else if (V !== "" && typeof t.column.field < "u") {
2935
2935
  const ce = r();
2936
2936
  $ = {
@@ -2941,7 +2941,7 @@ const Yn = {
2941
2941
  };
2942
2942
  } else
2943
2943
  return;
2944
- S === !1 && (s.value = $);
2944
+ O === !1 && (s.value = $);
2945
2945
  }
2946
2946
  function f(d) {
2947
2947
  let w = "";
@@ -2980,7 +2980,7 @@ const Yn = {
2980
2980
  max: "2999-12-31T23:59",
2981
2981
  label: e.column.caption,
2982
2982
  "show-label": !1,
2983
- "input-type": e.column.type,
2983
+ "input-type": e.column.type === "slot" ? e.column.slotType : e.column.type,
2984
2984
  "onUpdate:modelValue": w[2] || (w[2] = ($) => p($))
2985
2985
  }, null, 8, ["model-value", "label", "input-type"])) : e.column.type === "number" || e.column.slotType === "number" ? (i(), B(fe, {
2986
2986
  key: 2,
@@ -2988,13 +2988,13 @@ const Yn = {
2988
2988
  class: "!cl-h-[2rem] !cl-text-xs cl-border-none cl-mb-0 cl-w-full lg:!cl-h-[2.5rem] lg:!cl-text-base",
2989
2989
  "input-type": "number",
2990
2990
  "show-arrows": !1,
2991
- onInput: w[3] || (w[3] = ($, S) => f(S))
2992
- }, null, 8, ["model-value"])) : e.column.type !== "slot" || e.column.slotType === "string" ? (i(), B(fe, {
2991
+ onInput: w[3] || (w[3] = ($, O) => f(O))
2992
+ }, null, 8, ["model-value"])) : e.column.type === "string" || e.column.slotType === "string" ? (i(), B(fe, {
2993
2993
  key: 3,
2994
2994
  "model-value": a(g),
2995
2995
  class: "!cl-h-[2rem] !cl-text-xs cl-border-none cl-mb-0 cl-w-full lg:!cl-h-[2.5rem] lg:!cl-text-base",
2996
2996
  "input-type": "text",
2997
- onInput: w[4] || (w[4] = ($, S) => m(null, S))
2997
+ onInput: w[4] || (w[4] = ($, O) => m(null, O))
2998
2998
  }, null, 8, ["model-value"])) : M("", !0)
2999
2999
  ])) : M("", !0);
3000
3000
  }
@@ -3110,7 +3110,7 @@ const Yn = {
3110
3110
  ]);
3111
3111
  };
3112
3112
  }
3113
- }), yo = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-50" }, wo = { class: "cl-bg-secondary-default cl-h-full cl-overflow-y-auto cl-overscroll-y-none cl-px-10 cl-py-20 cl-relative cl-text-grey-2 cl-w-80" }, xo = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, $o = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, ko = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, To = { class: "cl-flex-1 cl-py-2" }, Co = { class: "cl-py-2 cl-w-1/4" }, So = { class: "cl-py-2 cl-w-1/5" }, Oo = { class: "cl-flex-1 cl-py-2" }, Eo = { class: "cl-py-2 cl-w-1/4" }, jo = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, Ao = { key: 1 }, Mo = {
3113
+ }), yo = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-50" }, wo = { class: "cl-bg-secondary-default cl-h-full cl-overflow-y-auto cl-overscroll-y-none cl-px-10 cl-py-20 cl-relative cl-text-grey-2 cl-w-80" }, xo = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, $o = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, ko = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, To = { class: "cl-flex-1 cl-py-2" }, Co = { class: "cl-py-2 cl-w-1/4" }, Oo = { class: "cl-py-2 cl-w-1/5" }, So = { class: "cl-flex-1 cl-py-2" }, Eo = { class: "cl-py-2 cl-w-1/4" }, jo = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, Ao = { key: 1 }, Mo = {
3114
3114
  inheritAttrs: !1
3115
3115
  }, Io = /* @__PURE__ */ D({
3116
3116
  ...Mo,
@@ -3120,7 +3120,7 @@ const Yn = {
3120
3120
  },
3121
3121
  emits: ["update:columns"],
3122
3122
  setup(e, { emit: n }) {
3123
- const t = e, { t: l } = ae(), o = O(!1);
3123
+ const t = e, { t: l } = ae(), o = S(!1);
3124
3124
  function r(c, b, h) {
3125
3125
  h < c.length && h >= 0 && c.splice(h, 0, c.splice(b, 1)[0]);
3126
3126
  }
@@ -3161,13 +3161,13 @@ const Yn = {
3161
3161
  u("li", ko, [
3162
3162
  u("strong", To, x(a(l)("grid.column")), 1),
3163
3163
  u("strong", Co, x(a(l)("grid.visible")), 1),
3164
- u("strong", So, x(a(l)("grid.order")), 1)
3164
+ u("strong", Oo, x(a(l)("grid.order")), 1)
3165
3165
  ]),
3166
3166
  (i(!0), v(U, null, te(e.columns, (m, f) => (i(), v("li", {
3167
3167
  key: f,
3168
3168
  class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full"
3169
3169
  }, [
3170
- u("div", Oo, x(m.caption), 1),
3170
+ u("div", So, x(m.caption), 1),
3171
3171
  u("div", Eo, [
3172
3172
  y(fe, {
3173
3173
  "model-value": m.visible === void 0 || m.visible === !0,
@@ -3218,7 +3218,7 @@ const Yn = {
3218
3218
  const t = e, l = E({
3219
3219
  get: () => t.columns,
3220
3220
  set: (d) => n("update:columns", d)
3221
- }), o = E(() => l.value.filter((d) => d.visible ?? !0)), r = O({});
3221
+ }), o = E(() => l.value.filter((d) => d.visible ?? !0)), r = S({});
3222
3222
  function s() {
3223
3223
  const d = {};
3224
3224
  window.innerWidth >= 1024 && l.value.forEach((w) => {
@@ -3229,7 +3229,7 @@ const Yn = {
3229
3229
  function g(d) {
3230
3230
  return r.value[d] ?? "";
3231
3231
  }
3232
- Oe(() => {
3232
+ Se(() => {
3233
3233
  window.addEventListener("resize", s), s();
3234
3234
  }), Ue(() => window.removeEventListener("resize", s));
3235
3235
  const c = E({
@@ -3245,7 +3245,7 @@ const Yn = {
3245
3245
  deep: !0,
3246
3246
  immediate: !0
3247
3247
  });
3248
- const m = E(() => t.data), f = O(!1), p = O(!1);
3248
+ const m = E(() => t.data), f = S(!1), p = S(!1);
3249
3249
  return J(f, () => {
3250
3250
  f.value ? n("edit-start") : n("edit-end");
3251
3251
  }), (d, w) => (i(), v("div", No, [
@@ -3261,9 +3261,9 @@ const Yn = {
3261
3261
  }),
3262
3262
  y(mn, {
3263
3263
  "edit-mode": f.value,
3264
- "onUpdate:edit-mode": w[1] || (w[1] = ($) => f.value = $),
3264
+ "onUpdate:editMode": w[1] || (w[1] = ($) => f.value = $),
3265
3265
  "filter-panel-open": p.value,
3266
- "onUpdate:filter-panel-open": w[2] || (w[2] = ($) => p.value = $),
3266
+ "onUpdate:filterPanelOpen": w[2] || (w[2] = ($) => p.value = $),
3267
3267
  columns: e.columns,
3268
3268
  options: e.options,
3269
3269
  onClearFilters: b
@@ -3283,8 +3283,8 @@ const Yn = {
3283
3283
  }])
3284
3284
  }, [
3285
3285
  u("colgroup", Ro, [
3286
- (i(!0), v(U, null, te(a(o), ($, S) => (i(), v("col", {
3287
- key: S,
3286
+ (i(!0), v(U, null, te(a(o), ($, O) => (i(), v("col", {
3287
+ key: O,
3288
3288
  style: nl(g($.name)),
3289
3289
  span: 1
3290
3290
  }, null, 4))), 128))
@@ -3293,7 +3293,7 @@ const Yn = {
3293
3293
  request: a(c),
3294
3294
  "onUpdate:request": w[3] || (w[3] = ($) => ye(c) ? c.value = $ : null),
3295
3295
  "filter-panel-open": p.value,
3296
- "onUpdate:filter-panel-open": w[4] || (w[4] = ($) => p.value = $),
3296
+ "onUpdate:filterPanelOpen": w[4] || (w[4] = ($) => p.value = $),
3297
3297
  columns: a(o),
3298
3298
  options: e.options
3299
3299
  }, null, 8, ["request", "filter-panel-open", "columns", "options"]),
@@ -3308,10 +3308,10 @@ const Yn = {
3308
3308
  onRowEdit: w[5] || (w[5] = ($) => d.$emit("row-edit", $)),
3309
3309
  onRowSelect: w[6] || (w[6] = ($) => d.$emit("row-select", $))
3310
3310
  }, Ve({ _: 2 }, [
3311
- te(d.$slots, ($, S) => ({
3312
- name: S,
3311
+ te(d.$slots, ($, O) => ({
3312
+ name: O,
3313
3313
  fn: z((V) => [
3314
- j(d.$slots, S, oe(ie(V)))
3314
+ j(d.$slots, O, oe(ie(V)))
3315
3315
  ])
3316
3316
  }))
3317
3317
  ]), 1032, ["columns", "request", "data", "loading", "edit-mode", "selection-enabled"])
@@ -3355,7 +3355,7 @@ const Yn = {
3355
3355
  },
3356
3356
  emits: ["update:is-open"],
3357
3357
  setup(e, { emit: n }) {
3358
- const t = e, l = O();
3358
+ const t = e, l = S();
3359
3359
  cl(l, o);
3360
3360
  function o() {
3361
3361
  t.isOpen === !0 && n("update:is-open", !1);
@@ -3454,7 +3454,7 @@ const Yo = {
3454
3454
  },
3455
3455
  emits: ["language-select"],
3456
3456
  setup(e, { emit: n }) {
3457
- const t = e, { locale: l } = ae(), o = O(!1), r = E(() => t.supportedLanguages.find((c) => c.localeCode === l.value) ?? t.defaultLangauge), s = E(() => t.supportedLanguages.filter((c) => Le(c)).sort((c, b) => c.nativeName > b.nativeName ? 1 : b.nativeName > c.nativeName ? -1 : 0));
3457
+ const t = e, { locale: l } = ae(), o = S(!1), r = E(() => t.supportedLanguages.find((c) => c.localeCode === l.value) ?? t.defaultLangauge), s = E(() => t.supportedLanguages.filter((c) => Le(c)).sort((c, b) => c.nativeName > b.nativeName ? 1 : b.nativeName > c.nativeName ? -1 : 0));
3458
3458
  function g() {
3459
3459
  t.disabled || (o.value = !o.value);
3460
3460
  }
@@ -3509,7 +3509,7 @@ const Yo = {
3509
3509
  "update:errors": null
3510
3510
  },
3511
3511
  setup(e, { emit: n }) {
3512
- const { t } = ae(), l = O(""), o = O(""), r = O("password"), s = O();
3512
+ const { t } = ae(), l = S(""), o = S(""), r = S("password"), s = S();
3513
3513
  function g() {
3514
3514
  const m = {
3515
3515
  username: l.value,
@@ -3666,14 +3666,14 @@ const Yo = {
3666
3666
  "white"
3667
3667
  ], ba = {
3668
3668
  id: "group-container",
3669
- class: "cl-bg-blue-default cl-h-full cl-overflow-y-auto cl-overscroll-y-none cl-w-20 cl-z-30"
3669
+ class: "cl-bg-blue-default cl-h-full cl-overflow-y-auto cl-overscroll-y-none cl-pb-20 cl-w-20 cl-z-30 xl:cl-pb-0"
3670
3670
  }, va = {
3671
3671
  key: 0,
3672
3672
  class: "cl-h-0 cl-w-0"
3673
3673
  }, ha = { class: "cl-relative cl-w-full" }, pa = /* @__PURE__ */ D({
3674
3674
  __name: "cl-ui-navigation",
3675
3675
  setup(e) {
3676
- const n = O([]), t = E(() => n.value.filter((f) => f.open === !0).length > 0);
3676
+ const n = S([]), t = E(() => n.value.filter((f) => f.open === !0).length > 0);
3677
3677
  function l(f) {
3678
3678
  let p = n.value.find((d) => d.id === f);
3679
3679
  return p || (p = {
@@ -3697,11 +3697,11 @@ const Yo = {
3697
3697
  deep: !0
3698
3698
  }
3699
3699
  );
3700
- const s = O(!1), g = O(!1), { start: c } = ol(() => g.value = !1, 100);
3700
+ const s = S(!1), g = S(!1), { start: c } = ol(() => g.value = !1, 100);
3701
3701
  function b() {
3702
3702
  s.value = !s.value, g.value = !0, c();
3703
3703
  }
3704
- const h = O();
3704
+ const h = S();
3705
3705
  function m() {
3706
3706
  s.value === !1 && t.value === !0 && n.value.forEach((f) => {
3707
3707
  f.open = !1;
@@ -3721,7 +3721,7 @@ const Yo = {
3721
3721
  y($e, { name: "slide-right" }, {
3722
3722
  default: z(() => [
3723
3723
  q(u("div", {
3724
- class: I(["cl-bg-grey-0 cl-border-grey-2 cl-border-r cl-duration-75 cl-h-full cl-min-w-[260px] cl-overflow-y-auto cl-overscroll-y-none cl-p-8 cl-top-0 cl-transition-shadow cl-w-[260px] cl-z-20", {
3724
+ class: I(["cl-bg-grey-0 cl-border-grey-2 cl-border-r cl-duration-75 cl-h-full cl-min-w-[260px] cl-overflow-y-auto cl-overscroll-y-none cl-p-8 cl-pb-24 cl-top-0 cl-transition-shadow cl-w-[260px] cl-z-20 xl:cl-pb-0", {
3725
3725
  "cl-relative": s.value,
3726
3726
  "cl-absolute cl-left-20 cl-shadow-lg": !s.value
3727
3727
  }])
@@ -3751,7 +3751,7 @@ const Yo = {
3751
3751
  };
3752
3752
  }
3753
3753
  });
3754
- const ya = /* @__PURE__ */ ve(pa, [["__scopeId", "data-v-20b0e94d"]]), wa = /* @__PURE__ */ D({
3754
+ const ya = /* @__PURE__ */ ve(pa, [["__scopeId", "data-v-478ca96d"]]), wa = /* @__PURE__ */ D({
3755
3755
  __name: "cl-ui-navigation-icon",
3756
3756
  props: {
3757
3757
  iconValue: null,
@@ -3791,16 +3791,16 @@ const ya = /* @__PURE__ */ ve(pa, [["__scopeId", "data-v-20b0e94d"]]), wa = /* @
3791
3791
  ])
3792
3792
  ], 64)) : M("", !0);
3793
3793
  }
3794
- }), Ta = {}, Ca = { class: "cl-w-full" }, Sa = {
3794
+ }), Ta = {}, Ca = { class: "cl-w-full" }, Oa = {
3795
3795
  key: 0,
3796
3796
  class: "cl-font-bold cl-mb-4 cl-select-none"
3797
- }, Oa = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
3797
+ }, Sa = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
3798
3798
  function Ea(e, n) {
3799
3799
  return i(), v("div", Ca, [
3800
- e.$slots.title ? (i(), v("div", Sa, [
3800
+ e.$slots.title ? (i(), v("div", Oa, [
3801
3801
  j(e.$slots, "title")
3802
3802
  ])) : M("", !0),
3803
- u("span", Oa, [
3803
+ u("span", Sa, [
3804
3804
  j(e.$slots, "default")
3805
3805
  ])
3806
3806
  ]);
@@ -3819,7 +3819,7 @@ const Na = /* @__PURE__ */ ve(Aa, [["render", Ia]]), Da = { class: "cl-w-full" }
3819
3819
  colour: { default: "default" }
3820
3820
  },
3821
3821
  setup(e) {
3822
- const n = e, t = O(), l = O(!1), o = O(!1);
3822
+ const n = e, t = S(), l = S(!1), o = S(!1);
3823
3823
  function r(b) {
3824
3824
  return b === n.currentTab;
3825
3825
  }
@@ -3840,7 +3840,7 @@ const Na = /* @__PURE__ */ ve(Aa, [["render", Ia]]), Da = { class: "cl-w-full" }
3840
3840
  b === "left" && (m = -h), t.value.scroll(t.value.scrollLeft + m, 0);
3841
3841
  }
3842
3842
  }
3843
- return Oe(() => g()), Ue(() => window.removeEventListener("resize", s)), (b, h) => {
3843
+ return Se(() => g()), Ue(() => window.removeEventListener("resize", s)), (b, h) => {
3844
3844
  const m = K("icon");
3845
3845
  return i(), v("div", Da, [
3846
3846
  u("div", null, [
@@ -3897,7 +3897,7 @@ const Na = /* @__PURE__ */ ve(Aa, [["render", Ia]]), Da = { class: "cl-w-full" }
3897
3897
  "update:currentTab": null
3898
3898
  },
3899
3899
  setup(e, { emit: n }) {
3900
- const t = e, l = O(), o = O(), r = E(() => t.id === t.currentTab);
3900
+ const t = e, l = S(), o = S(), r = E(() => t.id === t.currentTab);
3901
3901
  function s() {
3902
3902
  t.disabled || (l.value = !1, o.value = !1, n("update:currentTab", t.id));
3903
3903
  }
@@ -3927,7 +3927,7 @@ const Na = /* @__PURE__ */ ve(Aa, [["render", Ia]]), Da = { class: "cl-w-full" }
3927
3927
  onMouseout: c[1] || (c[1] = (b) => o.value = !1),
3928
3928
  onFocusin: c[2] || (c[2] = (b) => l.value = !0),
3929
3929
  onFocusout: c[3] || (c[3] = (b) => l.value = !1),
3930
- onKeyup: Se(Y(s, ["self"]), ["enter"])
3930
+ onKeyup: Oe(Y(s, ["self"]), ["enter"])
3931
3931
  }, [
3932
3932
  j(g.$slots, "default")
3933
3933
  ], 42, Ra));
@@ -3953,7 +3953,7 @@ const za = /* @__PURE__ */ ve(Ua, [["render", Ba]]), La = [
3953
3953
  cardSizes: Hl,
3954
3954
  clUiAccordion: xl,
3955
3955
  clUiAccordionHeader: Al,
3956
- clUiAccordionItem: Sl,
3956
+ clUiAccordionItem: Ol,
3957
3957
  clUiApp: ql,
3958
3958
  clUiButton: we,
3959
3959
  clUiCard: Gl,
@@ -4010,7 +4010,7 @@ export {
4010
4010
  Hl as cardSizes,
4011
4011
  xl as clUiAccordion,
4012
4012
  Al as clUiAccordionHeader,
4013
- Sl as clUiAccordionItem,
4013
+ Ol as clUiAccordionItem,
4014
4014
  ql as clUiApp,
4015
4015
  we as clUiButton,
4016
4016
  Gl as clUiCard,