@citruslime/ui 3.0.2-beta.0 → 3.0.2-beta.2

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,5 +1,5 @@
1
1
  import { Icon as _ } from "@iconify/vue";
2
- import { defineComponent as P, ref as V, openBlock as p, createElementBlock as v, renderSlot as M, normalizeProps as ce, guardReactiveProps as pe, Fragment as Y, createElementVNode as m, normalizeClass as O, createVNode as C, unref as g, Transition as Me, withCtx as A, withDirectives as le, mergeProps as J, vShow as ue, createBlock as G, Teleport as wl, renderList as ne, toDisplayString as D, createCommentVNode as L, computed as $, mergeModels as fe, useModel as ve, createSlots as Te, vModelDynamic as jl, watch as te, toRefs as Pl, withKeys as be, onMounted as We, onUnmounted as sl, withModifiers as ae, nextTick as Ue, useAttrs as Ke, resolveComponent as Se, createTextVNode as ie, inject as rl, vModelCheckbox as yt, toValue as El, watchEffect as wt, vModelText as kl, useCssVars as Gl, toHandlers as kt, pushScopeId as Hl, popScopeId as Zl, provide as vl, normalizeStyle as il } from "vue";
2
+ import { defineComponent as P, ref as V, openBlock as p, createElementBlock as v, renderSlot as M, normalizeProps as ce, guardReactiveProps as pe, Fragment as Y, createElementVNode as m, normalizeClass as O, createVNode as C, unref as g, Transition as Me, withCtx as A, withDirectives as le, mergeProps as J, vShow as ue, createBlock as G, Teleport as wl, renderList as ne, toDisplayString as E, createCommentVNode as L, computed as $, mergeModels as fe, useModel as ve, createSlots as Te, vModelDynamic as jl, watch as te, toRefs as Pl, withKeys as be, onMounted as We, onUnmounted as sl, withModifiers as ae, nextTick as Ue, useAttrs as Ke, resolveComponent as Se, createTextVNode as ie, inject as rl, vModelCheckbox as yt, toValue as El, watchEffect as wt, vModelText as kl, useCssVars as Gl, toHandlers as kt, pushScopeId as Hl, popScopeId as Zl, provide as vl, normalizeStyle as il } from "vue";
3
3
  import { generateStringId as $t, highlightText as Ct, validateEmail as Tt } from "@citruslime/utils";
4
4
  import { onKeyDown as bl, unrefElement as St, tryOnScopeDispose as qt, onClickOutside as Qe, useTimeoutFn as Wl, useMouseInElement as Ot, useFocusWithin as Dt, useMediaQuery as Kl, useThrottle as Et, useElementBounding as At, useDebounceFn as el, useThrottleFn as Vt, useWindowSize as Mt, useBreakpoints as It, breakpointsTailwind as Nt } from "@vueuse/core";
5
5
  import { useI18n as de, createI18n as Rt } from "vue-i18n";
@@ -132,7 +132,7 @@ const Qt = ["onClick"], Yt = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
132
132
  }],
133
133
  onClick: (n) => g(Ql)(e)
134
134
  }), [
135
- m("span", Yt, D(e.message), 1),
135
+ m("span", Yt, E(e.message), 1),
136
136
  C(g(_), {
137
137
  class: "cl-inline-block cl-opacity-0 cl-transition-opacity group-hover:cl-opacity-100",
138
138
  icon: "ph:x",
@@ -322,7 +322,7 @@ const cl = /* @__PURE__ */ ye(xt, [["render", eo], ["__scopeId", "data-v-a21dc5d
322
322
  (p(!0), v(Y, null, ne(e.errors, (n, d) => (p(), v("div", {
323
323
  key: d,
324
324
  class: "cl-bg-danger-light cl-px-2 cl-rounded-md cl-text-center cl-text-danger-default cl-text-xs cl-w-full cl-whitespace-pre-line"
325
- }, D(n), 1))), 128))
325
+ }, E(n), 1))), 128))
326
326
  ])
327
327
  ])) : e.errors ? (p(), v("div", vo, "   ")) : L("", !0)
328
328
  ]));
@@ -521,13 +521,13 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
521
521
  emits: ["clear-object"],
522
522
  setup(o) {
523
523
  return (t, l) => (p(), v("div", $o, [
524
- t.additionalText !== "" ? (p(), v("div", Co, D(t.additionalText), 1)) : L("", !0),
524
+ t.additionalText !== "" ? (p(), v("div", Co, E(t.additionalText), 1)) : L("", !0),
525
525
  m("div", {
526
526
  class: O({
527
527
  "cl-w-1/2": t.additionalText !== "",
528
528
  "cl-w-full": t.additionalText === ""
529
529
  })
530
- }, D(t.text), 3),
530
+ }, E(t.text), 3),
531
531
  le(m("div", {
532
532
  class: "cl-cursor-pointer cl-float-right",
533
533
  onMousedown: l[0] || (l[0] = (e) => t.$emit("clear-object"))
@@ -584,13 +584,13 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
584
584
  onMousemove: r[0] || (r[0] = (k) => c(!0)),
585
585
  onMouseleave: r[1] || (r[1] = (k) => c(!1))
586
586
  }, [
587
- a.option !== null && ((f = a.option) == null ? void 0 : f.parentId) !== 0 && ((y = a.option) == null ? void 0 : y.parentId) !== void 0 ? (p(), v("div", To, D(n.value), 1)) : L("", !0),
587
+ a.option !== null && ((f = a.option) == null ? void 0 : f.parentId) !== 0 && ((y = a.option) == null ? void 0 : y.parentId) !== void 0 ? (p(), v("div", To, E(n.value), 1)) : L("", !0),
588
588
  m("div", {
589
589
  class: O({
590
590
  "cl-w-1/2": n.value !== "",
591
591
  "cl-w-full": n.value === ""
592
592
  })
593
- }, D(s.value), 3),
593
+ }, E(s.value), 3),
594
594
  le(m("div", So, [
595
595
  C(g(_), {
596
596
  class: "cl-transition-colors",
@@ -865,11 +865,11 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
865
865
  let w = "";
866
866
  return f.value && (f.value.parentName ? w = f.value.parentName + "; " + f.value.name : w = f.value.name), w;
867
867
  }
868
- function E() {
868
+ function D() {
869
869
  let w = !0;
870
870
  b.value === "" && (w = !1), e.objectParentType !== "" && y.value === null && (w = !1), B.value = w;
871
871
  }
872
- te(() => e.objectCreatedResponse, () => he()), te(() => e.parentObjectCreatedResponse, () => ge()), te(() => b.value, () => E()), te(() => y.value, () => E());
872
+ te(() => e.objectCreatedResponse, () => he()), te(() => e.parentObjectCreatedResponse, () => ge()), te(() => b.value, () => D()), te(() => y.value, () => D());
873
873
  const Z = V();
874
874
  return Qe(Z, () => r.value ? z(!1) : ""), t({
875
875
  focus() {
@@ -904,7 +904,7 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
904
904
  ]),
905
905
  le(m("div", Uo, [
906
906
  m("div", zo, [
907
- ie(D(g(a)("comboBox.required")) + " ", 1),
907
+ ie(E(g(a)("comboBox.required")) + " ", 1),
908
908
  C(g(_), {
909
909
  class: "cl-ml-1 cl-mt-1",
910
910
  icon: "ph:warning"
@@ -943,7 +943,7 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
943
943
  ]),
944
944
  C(_l, { size: "small" }, {
945
945
  title: A(() => [
946
- ie(D(g(a)("comboBox.createTitle", { object: w.objectType })), 1)
946
+ ie(E(g(a)("comboBox.createTitle", { object: w.objectType })), 1)
947
947
  ]),
948
948
  trigger: A(({ open: h }) => [
949
949
  le(C(Mo, {
@@ -978,7 +978,7 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
978
978
  onClick: h
979
979
  }, {
980
980
  default: A(() => [
981
- ie(D(g(a)("comboBox.cancel")), 1)
981
+ ie(E(g(a)("comboBox.cancel")), 1)
982
982
  ]),
983
983
  _: 2
984
984
  }, 1032, ["onClick"]),
@@ -991,7 +991,7 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
991
991
  }
992
992
  }, {
993
993
  default: A(() => [
994
- ie(D(g(a)("comboBox.create")), 1)
994
+ ie(E(g(a)("comboBox.create")), 1)
995
995
  ]),
996
996
  _: 2
997
997
  }, 1032, ["disabled", "onClick"])
@@ -1020,7 +1020,7 @@ const yo = /* @__PURE__ */ m("div", { tabindex: "0" }, null, -1), wo = {
1020
1020
  class: "cl-box-border cl-font-light cl-mb-2 cl-p-2 cl-placeholder-grey-3 cl-text-sm"
1021
1021
  }, {
1022
1022
  default: A(() => [
1023
- ie(D(g(a)("comboBox.createProperty")), 1)
1023
+ ie(E(g(a)("comboBox.createProperty")), 1)
1024
1024
  ]),
1025
1025
  _: 1
1026
1026
  }, 8, ["modelValue"])
@@ -1094,7 +1094,7 @@ const ea = { class: "cl-flex cl-flex-wrap cl-gap-1 cl-overflow-auto cl-pb-2 lg:c
1094
1094
  "cl-hidden": n.options.hideGridMobileView
1095
1095
  }])
1096
1096
  }, [
1097
- m("strong", null, D(g(l)("grid.gridTools")), 1)
1097
+ m("strong", null, E(g(l)("grid.gridTools")), 1)
1098
1098
  ], 2),
1099
1099
  m("div", ea, [
1100
1100
  m("div", la, [
@@ -1114,9 +1114,9 @@ const ea = { class: "cl-flex cl-flex-wrap cl-gap-1 cl-overflow-auto cl-pb-2 lg:c
1114
1114
  }, {
1115
1115
  default: A(() => [
1116
1116
  n.editMode ? (p(), v(Y, { key: 0 }, [
1117
- ie(D(g(l)("grid.finishEditing")), 1)
1117
+ ie(E(g(l)("grid.finishEditing")), 1)
1118
1118
  ], 64)) : (p(), v(Y, { key: 1 }, [
1119
- ie(D(g(l)("grid.editData")), 1)
1119
+ ie(E(g(l)("grid.editData")), 1)
1120
1120
  ], 64))
1121
1121
  ]),
1122
1122
  _: 1
@@ -1142,7 +1142,7 @@ const ea = { class: "cl-flex cl-flex-wrap cl-gap-1 cl-overflow-auto cl-pb-2 lg:c
1142
1142
  onClick: d[1] || (d[1] = ae((u) => n.$emit("update:filterPanelOpen", !n.filterPanelOpen), ["prevent"]))
1143
1143
  }, {
1144
1144
  default: A(() => [
1145
- ie(D(g(l)("grid.modifyFilters")), 1)
1145
+ ie(E(g(l)("grid.modifyFilters")), 1)
1146
1146
  ]),
1147
1147
  _: 1
1148
1148
  }, 8, ["disabled"])
@@ -1157,7 +1157,7 @@ const ea = { class: "cl-flex cl-flex-wrap cl-gap-1 cl-overflow-auto cl-pb-2 lg:c
1157
1157
  onClick: d[2] || (d[2] = ae((u) => n.$emit("clear-filters"), ["prevent"]))
1158
1158
  }, {
1159
1159
  default: A(() => [
1160
- ie(D(g(l)("grid.clearFilters")), 1)
1160
+ ie(E(g(l)("grid.clearFilters")), 1)
1161
1161
  ]),
1162
1162
  _: 1
1163
1163
  }, 8, ["id", "disabled"])) : L("", !0)
@@ -1406,16 +1406,16 @@ const sa = {
1406
1406
  fallbackWarn: !1,
1407
1407
  warnHtmlMessage: !1
1408
1408
  });
1409
- function Tc(o, t) {
1409
+ function Cc(o, t) {
1410
1410
  return Ce.global.mergeLocaleMessage(o, t), Ue();
1411
1411
  }
1412
- function Sc(o, t) {
1412
+ function Tc(o, t) {
1413
1413
  return Ce.global.mergeNumberFormat(o, t), Ue();
1414
1414
  }
1415
- function qc(o, t) {
1415
+ function Sc(o, t) {
1416
1416
  return Ce.global.mergeDateTimeFormat(o, t), Ue();
1417
1417
  }
1418
- function Oc(o) {
1418
+ function qc(o) {
1419
1419
  return Ce.global.locale.value = o, Ue();
1420
1420
  }
1421
1421
  const { locale: ca, getNumberFormat: ua } = Ce.global, pl = X.DECIMAL;
@@ -1569,7 +1569,7 @@ function ga(o) {
1569
1569
  from: "@iconify/vue"
1570
1570
  };
1571
1571
  }
1572
- function Dc() {
1572
+ function Oc() {
1573
1573
  return ga;
1574
1574
  }
1575
1575
  const { t: Oe } = Ce.global;
@@ -1763,7 +1763,13 @@ const wa = {
1763
1763
  maximumFractionDigits: 0,
1764
1764
  minimumFractionDigits: 0
1765
1765
  }
1766
- }) : Ee(c, t.column.format ?? X.DECIMAL, { locale: i });
1766
+ }) : Ee(c, t.column.format ?? X.DECIMAL, {
1767
+ locale: i,
1768
+ additionalOptions: {
1769
+ maximumFractionDigits: t.column.precision ?? 2,
1770
+ minimumFractionDigits: t.column.precision ?? 2
1771
+ }
1772
+ });
1767
1773
  }
1768
1774
  return (c, i) => {
1769
1775
  var a;
@@ -1774,13 +1780,13 @@ const wa = {
1774
1780
  disabled: !0
1775
1781
  }, null, 8, ["model-value"])) : (c.column.type === "date" || c.column.type === "datetime" || c.column.type === "dateRange") && c.column.field !== void 0 ? (p(), v(Y, { key: 2 }, [
1776
1782
  c.column.format !== void 0 ? (p(), v(Y, { key: 0 }, [
1777
- ie(D(n(c.data[c.column.field], c.column.format)), 1)
1783
+ ie(E(n(c.data[c.column.field], c.column.format)), 1)
1778
1784
  ], 64)) : c.column.type === "date" || c.column.type === "dateRange" ? (p(), v(Y, { key: 1 }, [
1779
- ie(D(n(c.data[c.column.field], g(se).DATE)), 1)
1785
+ ie(E(n(c.data[c.column.field], g(se).DATE)), 1)
1780
1786
  ], 64)) : (p(), v(Y, { key: 2 }, [
1781
- ie(D(n(c.data[c.column.field], g(se).DATETIME)), 1)
1787
+ ie(E(n(c.data[c.column.field], g(se).DATETIME)), 1)
1782
1788
  ], 64))
1783
- ], 64)) : c.column.type === "list" && c.column.field !== void 0 && c.column.listEntries !== void 0 ? (p(), v("span", wa, D(g(e)(((a = c.column.listEntries.find((r) => r.value === c.data[c.column.field])) == null ? void 0 : a.translationKey) ?? "")), 1)) : c.column.type === "number" && c.column.field !== void 0 ? (p(), v("span", ka, D(u(c.data[c.column.field], g(s))), 1)) : c.column.field !== void 0 ? (p(), v("span", $a, [
1789
+ ], 64)) : c.column.type === "list" && c.column.field !== void 0 && c.column.listEntries !== void 0 ? (p(), v("span", wa, E(g(e)(((a = c.column.listEntries.find((r) => r.value === c.data[c.column.field])) == null ? void 0 : a.translationKey) ?? "")), 1)) : c.column.type === "number" && c.column.field !== void 0 ? (p(), v("span", ka, E(u(c.data[c.column.field], g(s))), 1)) : c.column.field !== void 0 ? (p(), v("span", $a, [
1784
1790
  m("span", {
1785
1791
  innerHTML: d()
1786
1792
  }, null, 8, Ca)
@@ -1823,7 +1829,7 @@ const wa = {
1823
1829
  class: O(["cl-font-semibold lg:cl-hidden", {
1824
1830
  "cl-hidden": c.options.hideGridMobileView
1825
1831
  }])
1826
- }, D(c.column.caption), 3),
1832
+ }, E(c.column.caption), 3),
1827
1833
  c.editMode && c.column.editable === !0 ? M(c.$slots, `${c.column.name}Edit`, ce(J({ key: 0 }, {
1828
1834
  cellFocused: () => e("focus"),
1829
1835
  column: c.column,
@@ -2011,16 +2017,16 @@ const wa = {
2011
2017
  m("div", Da, [
2012
2018
  b.$slots.noData && b.request.filters.some((B) => B.filterValue !== "") === !1 ? (p(), v("div", Ea, [
2013
2019
  M(b.$slots, "noData")
2014
- ])) : (p(), v("strong", Aa, D(g(s)("grid.noData")), 1)),
2020
+ ])) : (p(), v("strong", Aa, E(g(s)("grid.noData")), 1)),
2015
2021
  b.request.filters.some((B) => B.filterValue !== "") ? (p(), v("div", Va, [
2016
- m("div", Ma, D(g(s)("grid.noDataFiltersPresent")), 1),
2022
+ m("div", Ma, E(g(s)("grid.noDataFiltersPresent")), 1),
2017
2023
  C(ke, {
2018
2024
  size: "small",
2019
2025
  colour: "danger",
2020
2026
  onClick: T[0] || (T[0] = ae((B) => b.$emit("clear-filters"), ["prevent"]))
2021
2027
  }, {
2022
2028
  default: A(() => [
2023
- ie(D(g(s)("grid.clearFilters")), 1)
2029
+ ie(E(g(s)("grid.clearFilters")), 1)
2024
2030
  ]),
2025
2031
  _: 1
2026
2032
  })
@@ -2237,15 +2243,15 @@ const wa = {
2237
2243
  m("div", Ba, [
2238
2244
  m("div", Fa, [
2239
2245
  m("div", ja, [
2240
- m("span", Pa, D(g(s)("grid.page")), 1),
2241
- m("span", null, D(g(we)(a.request.pageNumber)) + " / " + D(g(we)(n.value)), 1)
2246
+ m("span", Pa, E(g(s)("grid.page")), 1),
2247
+ m("span", null, E(g(we)(a.request.pageNumber)) + " / " + E(g(we)(n.value)), 1)
2242
2248
  ]),
2243
2249
  m("div", Ga, [
2244
- m("span", Ha, D(g(s)("grid.totalRecords")), 1),
2245
- m("span", null, D(g(we)(a.data.totalRecords)), 1)
2250
+ m("span", Ha, E(g(s)("grid.totalRecords")), 1),
2251
+ m("span", null, E(g(we)(a.data.totalRecords)), 1)
2246
2252
  ]),
2247
2253
  m("div", Za, [
2248
- m("span", Wa, D(g(s)("grid.pageSize")), 1),
2254
+ m("span", Wa, E(g(s)("grid.pageSize")), 1),
2249
2255
  m("ul", Ka, [
2250
2256
  (p(), v(Y, null, ne(c, (k, b) => m("li", {
2251
2257
  key: b,
@@ -2254,7 +2260,7 @@ const wa = {
2254
2260
  "cl-cursor-pointer": a.request.pageSize !== k
2255
2261
  }]),
2256
2262
  onClick: (T) => i(k)
2257
- }, D(g(we)(k)), 11, Qa)), 64))
2263
+ }, E(g(we)(k)), 11, Qa)), 64))
2258
2264
  ])
2259
2265
  ]),
2260
2266
  m("div", null, [
@@ -2290,7 +2296,7 @@ const wa = {
2290
2296
  "cl-cursor-pointer ": a.request.pageNumber !== k
2291
2297
  }]),
2292
2298
  onClick: (T) => u(k)
2293
- }, D(g(we)(k)), 11, _a))), 128)),
2299
+ }, E(g(we)(k)), 11, _a))), 128)),
2294
2300
  m("li", {
2295
2301
  class: O({
2296
2302
  "cl-text-grey-2 cl-pointer-events-none": a.request.pageNumber >= n.value,
@@ -2321,7 +2327,7 @@ const wa = {
2321
2327
  ]),
2322
2328
  m("div", Ja, [
2323
2329
  m("div", xa, [
2324
- m("span", Xa, D(g(s)("grid.jumpToPage")), 1),
2330
+ m("span", Xa, E(g(s)("grid.jumpToPage")), 1),
2325
2331
  C(_e, {
2326
2332
  "model-value": a.request.pageNumber,
2327
2333
  min: 1,
@@ -2470,7 +2476,7 @@ const on = { class: "cl-gap-1 cl-grid cl-grid-cols-2" }, an = ["onClick"], nn =
2470
2476
  }]),
2471
2477
  onClick: (a) => l("quick-date-selected", d)
2472
2478
  }, [
2473
- m("span", null, D(g(e)(d.translationKey)), 1)
2479
+ m("span", null, E(g(e)(d.translationKey)), 1)
2474
2480
  ], 10, an);
2475
2481
  }), 128))
2476
2482
  ]));
@@ -2603,7 +2609,7 @@ const on = { class: "cl-gap-1 cl-grid cl-grid-cols-2" }, an = ["onClick"], nn =
2603
2609
  return d;
2604
2610
  });
2605
2611
  return (d, u) => (p(), v("div", rn, [
2606
- m("div", null, D(g(s)("quickDates.quickDatesHeader")), 1),
2612
+ m("div", null, E(g(s)("quickDates.quickDatesHeader")), 1),
2607
2613
  (p(!0), v(Y, null, ne(n.value, (c, i) => (p(), v("div", {
2608
2614
  key: i,
2609
2615
  class: "cl-pt-2"
@@ -2909,7 +2915,7 @@ const on = { class: "cl-gap-1 cl-grid cl-grid-cols-2" }, an = ["onClick"], nn =
2909
2915
  disabled: r.disabled,
2910
2916
  class: "active:cl-bg-grey-0 cl-bg-white cl-border cl-border-grey-2 cl-leading-none cl-min-w-[26px] cl-p-[5px] cl-rounded-full cl-shadow cl-text-xs cl-transition-colors disabled:cl-bg-grey-1 hover:cl-bg-off-white",
2911
2917
  onClick: f[0] || (f[0] = (k) => a(r.min))
2912
- }, D(g(ml)(r.min, r.precision)), 9, fn),
2918
+ }, E(g(ml)(r.min, r.precision)), 9, fn),
2913
2919
  m("div", mn, [
2914
2920
  le(m("div", gn, [
2915
2921
  le(m("input", J({
@@ -2932,7 +2938,7 @@ const on = { class: "cl-gap-1 cl-grid cl-grid-cols-2" }, an = ["onClick"], nn =
2932
2938
  { number: !0 }
2933
2939
  ]
2934
2940
  ]),
2935
- m("div", bn, D(g(ml)(g(i), r.precision)), 1)
2941
+ m("div", bn, E(g(ml)(g(i), r.precision)), 1)
2936
2942
  ], 512), [
2937
2943
  [ue, c.value === !1]
2938
2944
  ]),
@@ -2956,7 +2962,7 @@ const on = { class: "cl-gap-1 cl-grid cl-grid-cols-2" }, an = ["onClick"], nn =
2956
2962
  disabled: r.disabled,
2957
2963
  class: "active:cl-bg-grey-0 cl-bg-white cl-border cl-border-grey-2 cl-leading-none cl-min-w-[26px] cl-p-[5px] cl-rounded-full cl-shadow cl-text-xs cl-transition-colors disabled:cl-bg-grey-1 hover:cl-bg-off-white",
2958
2964
  onClick: f[3] || (f[3] = (k) => a(r.max))
2959
- }, D(g(ml)(r.max, r.precision)), 9, hn),
2965
+ }, E(g(ml)(r.max, r.precision)), 9, hn),
2960
2966
  m("button", {
2961
2967
  disabled: r.disabled,
2962
2968
  class: "active:cl-bg-grey-0 cl-bg-white cl-border cl-border-grey-2 cl-leading-none cl-min-w-0 cl-p-[5px] cl-rounded-full cl-shadow cl-text-xs cl-transition-colors disabled:cl-bg-grey-1 hover:cl-bg-off-white",
@@ -3581,7 +3587,7 @@ const Fn = {
3581
3587
  "cl-left-0": a.value
3582
3588
  }])
3583
3589
  }, [
3584
- m("strong", Hn, D(g(s)("grid.availableMethods")), 1),
3590
+ m("strong", Hn, E(g(s)("grid.availableMethods")), 1),
3585
3591
  (p(!0), v(Y, null, ne(n.value, (y, k) => {
3586
3592
  var b;
3587
3593
  return p(), v("span", {
@@ -3591,7 +3597,7 @@ const Fn = {
3591
3597
  }]),
3592
3598
  onClick: ae((T) => u(y.method), ["prevent"])
3593
3599
  }, [
3594
- ie(D(y.description) + " ", 1),
3600
+ ie(E(y.description) + " ", 1),
3595
3601
  C(g(_), {
3596
3602
  icon: y.icon,
3597
3603
  class: "cl-float-right cl-text-grey-4 cl-text-sm"
@@ -3601,7 +3607,7 @@ const Fn = {
3601
3607
  ], 2)
3602
3608
  ], 512));
3603
3609
  }
3604
- }), ut = (o) => (Hl("data-v-908ee937"), o = o(), Zl(), o), Kn = ["onClick"], Qn = { class: "cl-p-1" }, Yn = ["disabled"], _n = {
3610
+ }), ut = (o) => (Hl("data-v-448a7917"), o = o(), Zl(), o), Kn = ["onClick"], Qn = { class: "cl-p-1" }, Yn = ["disabled"], _n = {
3605
3611
  key: 1,
3606
3612
  class: "cl-w-full"
3607
3613
  }, Jn = {
@@ -3632,35 +3638,35 @@ const Fn = {
3632
3638
  }
3633
3639
  const u = $({
3634
3640
  get: () => l.filter,
3635
- set: (E) => e("update:filter", E)
3641
+ set: (D) => e("update:filter", D)
3636
3642
  }), c = $(() => l.column.type === "date" || l.column.type === "datetime" || l.column.type === "slot" && (l.column.slotType === "date" || l.column.slotType === "datetime")), i = $(() => l.column.type === "dateRange" || l.column.type === "slot" && l.column.slotType === "dateRange"), a = $(() => l.column.type === "list" || l.column.type === "slot" && l.column.slotType === "list"), r = $(() => a.value && l.column.listType === "number"), f = $(() => l.column.type === "string" || l.column.type === "slot" && l.column.slotType === "string"), y = $(() => l.column.format === X.INTEGER ? X.DECIMAL : l.column.format ?? X.DECIMAL), k = V(!1), b = $(() => k.value || f.value === !1), T = $({
3637
3643
  get() {
3638
3644
  var Z, w, N, Q, h, U, W;
3639
- let E = (Z = u.value) == null ? void 0 : Z[0];
3640
- if (E) {
3645
+ let D = (Z = u.value) == null ? void 0 : Z[0];
3646
+ if (D) {
3641
3647
  if (c.value) {
3642
3648
  if ((((w = l.filter) == null ? void 0 : w.length) ?? 0) > 1) {
3643
3649
  const re = (N = u.value) == null ? void 0 : N.find((qe) => qe.filterOperation === oe.EQUAL_OR_GREATER_THAN), Ae = (Q = u.value) == null ? void 0 : Q.find((qe) => qe.filterOperation === oe.LESS_THAN);
3644
- re && Ae && (E = {
3650
+ re && Ae && (D = {
3645
3651
  filterOnColumn: l.column.field,
3646
3652
  filterOperation: oe.EQUAL,
3647
3653
  filterMethod: "equal",
3648
3654
  filterValue: re.filterValue
3649
3655
  });
3650
- } else if (E.filterOperation === oe.EQUAL_OR_LESS_THAN || E.filterOperation === oe.GREATER_THAN) {
3651
- let re = K.fromISO(E.filterValue, {
3656
+ } else if (D.filterOperation === oe.EQUAL_OR_LESS_THAN || D.filterOperation === oe.GREATER_THAN) {
3657
+ let re = K.fromISO(D.filterValue, {
3652
3658
  zone: l.timeZone ?? "UTC"
3653
3659
  });
3654
- l.column.type === "date" || l.column.type === "slot" && l.column.slotType === "date" ? re = re.minus({ days: 1 }) : re = re.minus({ minutes: 1 }), E = {
3660
+ l.column.type === "date" || l.column.type === "slot" && l.column.slotType === "date" ? re = re.minus({ days: 1 }) : re = re.minus({ minutes: 1 }), D = {
3655
3661
  filterOnColumn: l.column.field,
3656
- filterOperation: E.filterOperation,
3657
- filterMethod: E.filterOperation === oe.EQUAL_OR_LESS_THAN ? "equalorlessthan" : "greaterthan",
3662
+ filterOperation: D.filterOperation,
3663
+ filterMethod: D.filterOperation === oe.EQUAL_OR_LESS_THAN ? "equalorlessthan" : "greaterthan",
3658
3664
  filterValue: re.plus({ milliseconds: 1 }).toISO() ?? ""
3659
3665
  };
3660
3666
  }
3661
3667
  } else if (i.value && (((h = l.filter) == null ? void 0 : h.length) ?? 0) > 1) {
3662
3668
  const re = (U = u.value) == null ? void 0 : U.find((qe) => qe.filterOperation === oe.EQUAL_OR_GREATER_THAN), Ae = (W = u.value) == null ? void 0 : W.find((qe) => qe.filterOperation === oe.EQUAL_OR_LESS_THAN);
3663
- re && Ae && (E = {
3669
+ re && Ae && (D = {
3664
3670
  filterOnColumn: l.column.field,
3665
3671
  filterOperation: oe.EQUAL,
3666
3672
  filterMethod: "equal",
@@ -3671,12 +3677,12 @@ const Fn = {
3671
3677
  });
3672
3678
  }
3673
3679
  }
3674
- return E;
3680
+ return D;
3675
3681
  },
3676
- set(E) {
3682
+ set(D) {
3677
3683
  let Z = null;
3678
3684
  if (c.value) {
3679
- const w = E, N = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "equal"), Q = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "equalorlessthan"), h = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "greaterthan");
3685
+ const w = D, N = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "equal"), Q = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "equalorlessthan"), h = (w == null ? void 0 : w.filterMethod) && q(w.filterMethod, w.filterValue, "greaterthan");
3680
3686
  if (N) {
3681
3687
  let U = K.fromISO(w.filterValue, {
3682
3688
  zone: l.timeZone ?? "UTC"
@@ -3717,8 +3723,8 @@ const Fn = {
3717
3723
  }
3718
3724
  ];
3719
3725
  }
3720
- } else if (i.value && (E != null && E.filterValue)) {
3721
- const w = E.filterValue, N = K.fromISO(w.start, {
3726
+ } else if (i.value && (D != null && D.filterValue)) {
3727
+ const w = D.filterValue, N = K.fromISO(w.start, {
3722
3728
  zone: l.timeZone ?? "UTC"
3723
3729
  }).toISO(), Q = K.fromISO(w.end, {
3724
3730
  zone: l.timeZone ?? "UTC"
@@ -3739,7 +3745,7 @@ const Fn = {
3739
3745
  ];
3740
3746
  }
3741
3747
  if (Z === null) {
3742
- const w = E;
3748
+ const w = D;
3743
3749
  Z = w && [w];
3744
3750
  }
3745
3751
  if (Z && (c.value || i.value))
@@ -3747,24 +3753,24 @@ const Fn = {
3747
3753
  l.timeZone ? w.filterValue = K.fromISO(w.filterValue).setZone("UTC").toISO() ?? "" : w.filterValue = w.filterValue.replace("Z", "");
3748
3754
  b.value ? (u.value = Z, k.value = !1) : S(Z);
3749
3755
  }
3750
- }), S = el((E) => {
3751
- u.value = E;
3756
+ }), S = el((D) => {
3757
+ u.value = D;
3752
3758
  }, 1e3), B = $({
3753
3759
  get: () => T.value,
3754
- set(E) {
3755
- T.value = E;
3760
+ set(D) {
3761
+ T.value = D;
3756
3762
  }
3757
3763
  });
3758
- function q(E, Z, w) {
3759
- return Z !== void 0 && Z !== "" && E === w && c.value;
3764
+ function q(D, Z, w) {
3765
+ return Z !== void 0 && Z !== "" && D === w && c.value;
3760
3766
  }
3761
3767
  const z = $(() => {
3762
- var E;
3763
- return ((E = T.value) == null ? void 0 : E.filterValue) ?? "";
3768
+ var D;
3769
+ return ((D = T.value) == null ? void 0 : D.filterValue) ?? "";
3764
3770
  }), ee = $(() => z.value === "" ? null : z.value), I = $(() => z.value === "" ? null : z.value), R = $(() => $l(l.column));
3765
- function H(E, Z) {
3771
+ function H(D, Z) {
3766
3772
  var re;
3767
- let w, N = (E == null ? void 0 : E.value) ?? Z;
3773
+ let w, N = (D == null ? void 0 : D.value) ?? Z;
3768
3774
  const Q = ((re = T.value) == null ? void 0 : re.filterValue.toString()) ?? "", h = !!N.trim(), U = !!Q.trim();
3769
3775
  if (h === !1 && U && (N = ""), h || U) {
3770
3776
  if (T.value)
@@ -3782,8 +3788,8 @@ const Fn = {
3782
3788
  T.value = w;
3783
3789
  }
3784
3790
  }
3785
- function F(E, Z) {
3786
- let w = (E == null ? void 0 : E.value) ?? Z ?? 0;
3791
+ function F(D, Z) {
3792
+ let w = (D == null ? void 0 : D.value) ?? Z ?? 0;
3787
3793
  if (typeof w == "string") {
3788
3794
  const N = l.column.format === X.INTEGER, Q = (N ? X.DECIMAL : l.column.format) ?? X.DECIMAL;
3789
3795
  w = Jl(w, Q, { additionalOptions: {
@@ -3793,26 +3799,26 @@ const Fn = {
3793
3799
  }
3794
3800
  H(null, isNaN(w) ? "" : w.toString());
3795
3801
  }
3796
- function j(E) {
3802
+ function j(D) {
3797
3803
  var N;
3798
3804
  let Z, w = !1;
3799
3805
  if (T.value)
3800
- w = ((N = T.value) == null ? void 0 : N.filterValue) === E, Z = me(T.value), Z.filterValue = E ?? "";
3801
- else if (E !== null && typeof l.column.field < "u") {
3806
+ w = ((N = T.value) == null ? void 0 : N.filterValue) === D, Z = me(T.value), Z.filterValue = D ?? "";
3807
+ else if (D !== null && typeof l.column.field < "u") {
3802
3808
  const Q = d();
3803
3809
  Z = {
3804
3810
  filterOnColumn: l.column.field,
3805
3811
  filterMethod: oe[Q].replace("_", "").toLowerCase(),
3806
3812
  filterOperation: Q,
3807
- filterValue: E
3813
+ filterValue: D
3808
3814
  };
3809
3815
  } else
3810
3816
  return;
3811
3817
  w === !1 && (T.value = Z);
3812
3818
  }
3813
3819
  const x = V("");
3814
- function he(E) {
3815
- k.value = !1, E === "Enter" && (k.value = !0, H(null, x.value));
3820
+ function he(D) {
3821
+ k.value = !1, D === "Enter" && (k.value = !0, H(null, x.value));
3816
3822
  }
3817
3823
  te(() => z.value, () => {
3818
3824
  x.value = z.value;
@@ -3828,18 +3834,18 @@ const Fn = {
3828
3834
  dedupe: !0
3829
3835
  });
3830
3836
  const $e = rl("cl-ui-grid-id") ?? "cl-ui-grid-filter";
3831
- return (E, Z) => {
3837
+ return (D, Z) => {
3832
3838
  const w = Se("icon");
3833
3839
  return R.value ? (p(), v("div", {
3834
3840
  key: 0,
3835
3841
  class: O(["cl-border cl-border-grey-2 cl-flex cl-rounded-md", [
3836
- E.options.hideGridMobileView ? "cl-overflow-visible" : "cl-overflow-hidden lg:cl-overflow-visible"
3842
+ D.options.hideGridMobileView ? "cl-overflow-visible" : "cl-overflow-hidden lg:cl-overflow-visible"
3837
3843
  ]])
3838
3844
  }, [
3839
- E.column.type === "boolean" || E.column.type === "slot" && E.column.slotType === "boolean" ? (p(), G(hl, {
3845
+ D.column.type === "boolean" || D.column.type === "slot" && D.column.slotType === "boolean" ? (p(), G(hl, {
3840
3846
  key: 0,
3841
3847
  id: "`${gridId}-${column.name}`",
3842
- disabled: E.loading,
3848
+ disabled: D.loading,
3843
3849
  class: "!cl-border-t !cl-min-h-0 !cl-rounded-lg cl-bg-white cl-font-normal cl-max-h-max",
3844
3850
  "model-value": z.value,
3845
3851
  "onUpdate:modelValue": Z[0] || (Z[0] = (N) => H(null, N))
@@ -3851,10 +3857,10 @@ const Fn = {
3851
3857
  class: "!cl-h-[2rem] cl-bg-white cl-flex cl-font-normal cl-items-center cl-mb-0 cl-rounded-md cl-w-full",
3852
3858
  onClick: h
3853
3859
  }, [
3854
- m("span", Qn, D(z.value === "" ? "" : z.value === "true" ? g(s)("grid.true") : g(s)("grid.false")), 1),
3860
+ m("span", Qn, E(z.value === "" ? "" : z.value === "true" ? g(s)("grid.true") : g(s)("grid.false")), 1),
3855
3861
  m("div", {
3856
3862
  class: "cl-absolute cl-flex cl-items-center cl-right-1 cl-text-grey-3 cl-z-10",
3857
- disabled: E.loading
3863
+ disabled: D.loading
3858
3864
  }, [
3859
3865
  C(w, {
3860
3866
  icon: N ? "ph:caret-up-bold" : "ph:caret-down-bold"
@@ -3881,7 +3887,7 @@ const Fn = {
3881
3887
  onSelect: (Q) => N("true")
3882
3888
  }, {
3883
3889
  default: A(() => [
3884
- ie(D(g(s)("grid.true")), 1)
3890
+ ie(E(g(s)("grid.true")), 1)
3885
3891
  ]),
3886
3892
  _: 2
3887
3893
  }, 1032, ["is-selected", "onSelect"]),
@@ -3891,7 +3897,7 @@ const Fn = {
3891
3897
  onSelect: (Q) => N("false")
3892
3898
  }, {
3893
3899
  default: A(() => [
3894
- ie(D(g(s)("grid.false")), 1)
3900
+ ie(E(g(s)("grid.false")), 1)
3895
3901
  ]),
3896
3902
  _: 2
3897
3903
  }, 1032, ["is-selected", "onSelect"])
@@ -3899,34 +3905,34 @@ const Fn = {
3899
3905
  _: 1
3900
3906
  }, 8, ["disabled", "model-value"])) : c.value ? (p(), v("div", _n, [
3901
3907
  C(it, {
3902
- id: `${g($e)}-${E.column.name}`,
3908
+ id: `${g($e)}-${D.column.name}`,
3903
3909
  "model-value": ee.value,
3904
- "time-zone": E.timeZone,
3905
- readonly: E.loading,
3906
- type: E.column.type === "slot" ? E.column.slotType : E.column.type,
3910
+ "time-zone": D.timeZone,
3911
+ readonly: D.loading,
3912
+ type: D.column.type === "slot" ? D.column.slotType : D.column.type,
3907
3913
  class: "!cl-h-[2rem] cl-border-none cl-mb-0 cl-text-xs cl-w-full lg:!cl-text-base readonly-filter",
3908
3914
  "popover-placement": "bottom-start",
3909
3915
  "onUpdate:modelValue": Z[1] || (Z[1] = (N) => H(null, N ?? ""))
3910
3916
  }, null, 8, ["id", "model-value", "time-zone", "readonly", "type"])
3911
3917
  ])) : i.value ? (p(), v("div", Jn, [
3912
3918
  C(st, {
3913
- id: `${g($e)}-${E.column.name}`,
3919
+ id: `${g($e)}-${D.column.name}`,
3914
3920
  "model-value": I.value,
3915
3921
  class: "[&_.clear-icon]:-cl-pb-4 [&_.icon]:cl-text-sm [&_.range-input]:cl-h-[2rem] cl-border-none cl-h-[2rem] cl-mb-0 cl-w-full cl-z-50",
3916
- disabled: E.loading,
3917
- "time-zone": E.headerDisplayTimezone,
3918
- "quick-date-scope": E.quickDateScope,
3922
+ disabled: D.loading,
3923
+ "time-zone": D.headerDisplayTimezone,
3924
+ "quick-date-scope": D.quickDateScope,
3919
3925
  "popover-placement": "bottom-start",
3920
3926
  "onUpdate:modelValue": Z[2] || (Z[2] = (N) => j(N))
3921
3927
  }, null, 8, ["id", "model-value", "disabled", "time-zone", "quick-date-scope"])
3922
- ])) : E.column.type === "number" || E.column.type === "slot" && E.column.slotType === "number" ? (p(), v("div", xn, [
3928
+ ])) : D.column.type === "number" || D.column.type === "slot" && D.column.slotType === "number" ? (p(), v("div", xn, [
3923
3929
  C(_e, {
3924
- id: `${g($e)}-${E.column.name}`,
3930
+ id: `${g($e)}-${D.column.name}`,
3925
3931
  "model-value": z.value === "" || isNaN(+z.value) ? null : +z.value,
3926
3932
  format: y.value,
3927
- precision: E.column.format === g(X).INTEGER ? 0 : g(Cl)(y.value, { locale: g(n), additionalOptions: { maximumFractionDigits: 2 } }).maximumFractionDigits,
3933
+ precision: D.column.format === g(X).INTEGER ? 0 : g(Cl)(y.value, { locale: g(n), additionalOptions: { maximumFractionDigits: D.column.precision ?? 2 } }).maximumFractionDigits,
3928
3934
  class: "cl-border-none cl-font-normal cl-h-[2rem] cl-mb-0 cl-text-xs cl-w-full lg:cl-text-base readonly-filter",
3929
- readonly: E.loading,
3935
+ readonly: D.loading,
3930
3936
  "show-arrows": !1,
3931
3937
  "allow-empty": !0,
3932
3938
  "onUpdate:modelValue": Z[3] || (Z[3] = (N) => N !== null ? F(null, N) : H(null, ""))
@@ -3936,16 +3942,16 @@ const Fn = {
3936
3942
  ]),
3937
3943
  _: 1
3938
3944
  }, 8, ["id", "model-value", "format", "precision", "readonly"])
3939
- ])) : E.column.type === "string" || E.column.type === "slot" && E.column.slotType === "string" ? (p(), v("div", es, [
3945
+ ])) : D.column.type === "string" || D.column.type === "slot" && D.column.slotType === "string" ? (p(), v("div", es, [
3940
3946
  C(Re, {
3941
- id: `${g($e)}-${E.column.name}`,
3947
+ id: `${g($e)}-${D.column.name}`,
3942
3948
  modelValue: x.value,
3943
3949
  "onUpdate:modelValue": [
3944
3950
  Z[4] || (Z[4] = (N) => x.value = N),
3945
3951
  Z[5] || (Z[5] = (N) => H(null, N))
3946
3952
  ],
3947
3953
  class: "cl-border-none cl-font-normal cl-h-[2rem] cl-px-3 cl-text-xs lg:cl-text-base readonly-filter",
3948
- readonly: E.loading,
3954
+ readonly: D.loading,
3949
3955
  onKeySinglePress: he
3950
3956
  }, {
3951
3957
  default: A(() => [
@@ -3955,10 +3961,10 @@ const Fn = {
3955
3961
  }, 8, ["id", "modelValue", "readonly"])
3956
3962
  ])) : a.value ? (p(), G(hl, {
3957
3963
  key: 5,
3958
- id: `${g($e)}-${E.column.name}`,
3964
+ id: `${g($e)}-${D.column.name}`,
3959
3965
  "model-value": z.value,
3960
3966
  class: "!cl-border-t !cl-min-h-0 !cl-rounded-lg cl-bg-white cl-font-normal cl-max-h-max",
3961
- disabled: E.loading,
3967
+ disabled: D.loading,
3962
3968
  "onUpdate:modelValue": Z[6] || (Z[6] = (N) => r.value ? F(null, N) : H(null, N))
3963
3969
  }, {
3964
3970
  input: A(({ selectModalVisible: N, toggleSelectModalState: Q }) => [
@@ -3970,10 +3976,10 @@ const Fn = {
3970
3976
  class: "!cl-h-[2rem] cl-bg-white cl-flex cl-font-normal cl-items-center cl-mb-0 cl-rounded-md cl-w-full",
3971
3977
  onClick: h
3972
3978
  }, [
3973
- m("span", os, D(g(s)(((W = (U = E.column.listEntries) == null ? void 0 : U.find((re) => re.value.toString() === z.value)) == null ? void 0 : W.translationKey) ?? "")), 1),
3979
+ m("span", os, E(g(s)(((W = (U = D.column.listEntries) == null ? void 0 : U.find((re) => re.value.toString() === z.value)) == null ? void 0 : W.translationKey) ?? "")), 1),
3974
3980
  m("div", {
3975
3981
  class: "cl-absolute cl-flex cl-items-center cl-right-1 cl-text-grey-3 cl-z-10",
3976
- disabled: E.loading
3982
+ disabled: D.loading
3977
3983
  }, [
3978
3984
  C(w, {
3979
3985
  icon: N ? "ph:caret-up-bold" : "ph:caret-down-bold"
@@ -3995,14 +4001,14 @@ const Fn = {
3995
4001
  ]),
3996
4002
  _: 2
3997
4003
  }, 1032, ["onSelect"]),
3998
- (p(!0), v(Y, null, ne(E.column.listEntries ?? [], (Q) => (p(), G(ze, {
4004
+ (p(!0), v(Y, null, ne(D.column.listEntries ?? [], (Q) => (p(), G(ze, {
3999
4005
  key: Q.value,
4000
4006
  "is-selected": z.value === Q.value.toString(),
4001
4007
  class: "!cl-py-0 cl-text-xs",
4002
4008
  onSelect: (h) => N(Q.value)
4003
4009
  }, {
4004
4010
  default: A(() => [
4005
- ie(D(g(s)(Q.translationKey)), 1)
4011
+ ie(E(g(s)(Q.translationKey)), 1)
4006
4012
  ]),
4007
4013
  _: 2
4008
4014
  }, 1032, ["is-selected", "onSelect"]))), 128))
@@ -4013,15 +4019,15 @@ const Fn = {
4013
4019
  key: 6,
4014
4020
  filter: B.value,
4015
4021
  "onUpdate:filter": Z[7] || (Z[7] = (N) => B.value = N),
4016
- loading: E.loading,
4017
- column: E.column,
4022
+ loading: D.loading,
4023
+ column: D.column,
4018
4024
  "default-operation": d(),
4019
4025
  onSelectionChanged: Z[8] || (Z[8] = (N) => k.value = !0)
4020
4026
  }, null, 8, ["filter", "loading", "column", "default-operation"]))
4021
4027
  ], 2)) : L("", !0);
4022
4028
  };
4023
4029
  }
4024
- }), ss = /* @__PURE__ */ ye(ns, [["__scopeId", "data-v-908ee937"]]), rs = ["onClick"], is = ["onClick"], cs = { class: "cl-font-normal cl-mr-1" }, us = /* @__PURE__ */ P({
4030
+ }), ss = /* @__PURE__ */ ye(ns, [["__scopeId", "data-v-448a7917"]]), rs = ["onClick"], is = ["onClick"], cs = { class: "cl-font-normal cl-mr-1" }, us = /* @__PURE__ */ P({
4025
4031
  __name: "cl-ui-grid-header",
4026
4032
  props: {
4027
4033
  request: {},
@@ -4078,7 +4084,7 @@ const Fn = {
4078
4084
  onClick: (y) => g(Xe)(r) && i.loading === !1 ? u(r.field) : () => {
4079
4085
  }
4080
4086
  }, [
4081
- ie(D(r.caption) + " ", 1),
4087
+ ie(E(r.caption) + " ", 1),
4082
4088
  le(C(g(_), {
4083
4089
  class: "cl-inline-block",
4084
4090
  icon: "ph:caret-up"
@@ -4124,7 +4130,7 @@ const Fn = {
4124
4130
  class: O(["cl-col-span-2 lg:cl-hidden", {
4125
4131
  "cl-hidden": i.options.hideGridMobileView
4126
4132
  }])
4127
- }, D(r.caption), 3),
4133
+ }, E(r.caption), 3),
4128
4134
  g(Xe)(r) ? (p(), v("div", {
4129
4135
  key: 0,
4130
4136
  class: O(["cl-col-span-2 cl-gap-1 cl-span lg:cl-hidden", {
@@ -4132,7 +4138,7 @@ const Fn = {
4132
4138
  }]),
4133
4139
  onClick: (y) => i.loading === !1 ? u(r.field) : void 0
4134
4140
  }, [
4135
- m("span", cs, D(g(s)("grid.sortBy")), 1),
4141
+ m("span", cs, E(g(s)("grid.sortBy")), 1),
4136
4142
  d(r, !0) ? (p(), G(g(_), {
4137
4143
  key: 0,
4138
4144
  class: "cl-cursor-pointer cl-inline-block",
@@ -4256,7 +4262,7 @@ const Fn = {
4256
4262
  onClick: a[0] || (a[0] = ae((r) => n.value = !0, ["prevent"]))
4257
4263
  }), {
4258
4264
  default: A(() => [
4259
- ie(D(g(s)("grid.manageView")), 1)
4265
+ ie(E(g(s)("grid.manageView")), 1)
4260
4266
  ]),
4261
4267
  _: 1
4262
4268
  }, 16, ["disabled"]),
@@ -4271,18 +4277,18 @@ const Fn = {
4271
4277
  size: 16,
4272
4278
  onClick: a[1] || (a[1] = (r) => n.value = !1)
4273
4279
  }),
4274
- m("h3", bs, D(g(s)("grid.manageView")), 1),
4280
+ m("h3", bs, E(g(s)("grid.manageView")), 1),
4275
4281
  m("ul", hs, [
4276
4282
  m("li", ys, [
4277
- m("strong", ws, D(g(s)("grid.column")), 1),
4278
- m("strong", ks, D(g(s)("grid.visible")), 1),
4279
- m("strong", $s, D(g(s)("grid.order")), 1)
4283
+ m("strong", ws, E(g(s)("grid.column")), 1),
4284
+ m("strong", ks, E(g(s)("grid.visible")), 1),
4285
+ m("strong", $s, E(g(s)("grid.order")), 1)
4280
4286
  ]),
4281
4287
  (p(!0), v(Y, null, ne(i.columns, (r, f) => (p(), v("li", {
4282
4288
  key: f,
4283
4289
  class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full"
4284
4290
  }, [
4285
- m("div", Cs, D(r.caption), 1),
4291
+ m("div", Cs, E(r.caption), 1),
4286
4292
  m("div", Ts, [
4287
4293
  C(dl, {
4288
4294
  "model-value": r.visible === void 0 || r.visible === !0,
@@ -4303,7 +4309,7 @@ const Fn = {
4303
4309
  icon: "ph:arrow-right",
4304
4310
  onClick: (y) => c(f, "up")
4305
4311
  }, null, 8, ["onClick"])) : L("", !0)
4306
- ], 64)) : (p(), v("em", qs, D(g(s)("grid.hidden")), 1))
4312
+ ], 64)) : (p(), v("em", qs, E(g(s)("grid.hidden")), 1))
4307
4313
  ])
4308
4314
  ]))), 128))
4309
4315
  ])
@@ -4627,7 +4633,7 @@ const Us = ["id", "onClick"], dt = /* @__PURE__ */ P({
4627
4633
  class: O(["cl-tracking-wide", {
4628
4634
  "cl-opacity-0": d.loading
4629
4635
  }])
4630
- }, D(i.caption ? g(e)(i.caption) : i.name), 3),
4636
+ }, E(i.caption ? g(e)(i.caption) : i.name), 3),
4631
4637
  le(m("div", {
4632
4638
  class: O(["cl-px-0.5 cl-py-1 cl-rounded hover:cl-bg-link-lighter", {
4633
4639
  "cl-bg-link-lighter": s(i, !1) || s(i, !0),
@@ -4744,7 +4750,7 @@ const Us = ["id", "onClick"], dt = /* @__PURE__ */ P({
4744
4750
  ]])
4745
4751
  }, [
4746
4752
  M(n.$slots, "noData", {}, () => [
4747
- ie(D(g(l)("grid.noData")), 1)
4753
+ ie(E(g(l)("grid.noData")), 1)
4748
4754
  ])
4749
4755
  ], 2)) : (p(!0), v(Y, { key: 2 }, ne(n.data.results, (c, i) => {
4750
4756
  var a, r;
@@ -4832,7 +4838,13 @@ const Us = ["id", "onClick"], dt = /* @__PURE__ */ P({
4832
4838
  maximumFractionDigits: 0,
4833
4839
  minimumFractionDigits: 0
4834
4840
  }
4835
- }) : Ee(a, t.column.format ?? X.DECIMAL, { locale: r });
4841
+ }) : Ee(a, t.column.format ?? X.DECIMAL, {
4842
+ locale: r,
4843
+ additionalOptions: {
4844
+ maximumFractionDigits: t.column.precision ?? 2,
4845
+ minimumFractionDigits: t.column.precision ?? 2
4846
+ }
4847
+ });
4836
4848
  }
4837
4849
  return (a, r) => {
4838
4850
  var f;
@@ -4852,21 +4864,21 @@ const Us = ["id", "onClick"], dt = /* @__PURE__ */ P({
4852
4864
  id: g(l)
4853
4865
  }, [
4854
4866
  a.column.format !== void 0 ? (p(), v(Y, { key: 0 }, [
4855
- ie(D(u(a.data[a.column.field], a.column.format)), 1)
4867
+ ie(E(u(a.data[a.column.field], a.column.format)), 1)
4856
4868
  ], 64)) : a.column.type === "date" || a.column.type === "dateRange" ? (p(), v(Y, { key: 1 }, [
4857
- ie(D(u(a.data[a.column.field], g(se).DATE)), 1)
4869
+ ie(E(u(a.data[a.column.field], g(se).DATE)), 1)
4858
4870
  ], 64)) : (p(), v(Y, { key: 2 }, [
4859
- ie(D(u(a.data[a.column.field], g(se).DATETIME)), 1)
4871
+ ie(E(u(a.data[a.column.field], g(se).DATETIME)), 1)
4860
4872
  ], 64))
4861
4873
  ], 8, Ls)) : a.column.type === "list" && a.column.field !== void 0 && a.column.listEntries !== void 0 ? (p(), v("span", {
4862
4874
  key: 3,
4863
4875
  id: g(l),
4864
4876
  class: "cl-inline-block cl-whitespace-nowrap"
4865
- }, D(g(n)(((f = a.column.listEntries.find((y) => y.value === a.data[a.column.field])) == null ? void 0 : f.translationKey) ?? "")), 9, Bs)) : a.column.type === "number" && a.column.field !== void 0 ? (p(), v("span", {
4877
+ }, E(g(n)(((f = a.column.listEntries.find((y) => y.value === a.data[a.column.field])) == null ? void 0 : f.translationKey) ?? "")), 9, Bs)) : a.column.type === "number" && a.column.field !== void 0 ? (p(), v("span", {
4866
4878
  key: 4,
4867
4879
  id: g(l),
4868
4880
  class: "cl-inline-block cl-whitespace-nowrap"
4869
- }, D(i(a.data[a.column.field], g(d))), 9, Fs)) : a.column.field !== void 0 ? (p(), v("span", js, [
4881
+ }, E(i(a.data[a.column.field], g(d))), 9, Fs)) : a.column.field !== void 0 ? (p(), v("span", js, [
4870
4882
  m("span", {
4871
4883
  id: g(l),
4872
4884
  innerHTML: c()
@@ -4941,11 +4953,11 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
4941
4953
  }, [
4942
4954
  m("div", Ys, [
4943
4955
  m("div", null, [
4944
- m("span", _s, D(g(e)("grid.page")), 1),
4945
- m("span", null, D(g(we)(l.value.pageNumber)) + " / " + D(g(we)(s.value)), 1)
4956
+ m("span", _s, E(g(e)("grid.page")), 1),
4957
+ m("span", null, E(g(we)(l.value.pageNumber)) + " / " + E(g(we)(s.value)), 1)
4946
4958
  ]),
4947
4959
  c.value.length ? (p(), v("ul", Js, [
4948
- m("li", xs, D(g(e)("grid.pageSize")), 1),
4960
+ m("li", xs, E(g(e)("grid.pageSize")), 1),
4949
4961
  (p(!0), v(Y, null, ne(c.value, (k, b) => (p(), v("li", {
4950
4962
  id: `${a.gridId}-page-size-${k}`,
4951
4963
  key: b,
@@ -4954,7 +4966,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
4954
4966
  "cl-border-b-transparent hover:cl-border-b-link-lighter hover:cl-text-link-light cl-cursor-pointer": l.value.pageSize !== k
4955
4967
  }]),
4956
4968
  onClick: (T) => l.value.pageSize !== k ? i(k) : null
4957
- }, D(g(we)(k)), 11, Xs))), 128))
4969
+ }, E(g(we)(k)), 11, Xs))), 128))
4958
4970
  ])) : L("", !0)
4959
4971
  ]),
4960
4972
  m("div", null, [
@@ -4993,7 +5005,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
4993
5005
  "cl-cursor-pointer ": l.value.pageNumber !== k
4994
5006
  }]),
4995
5007
  onClick: (T) => l.value.pageNumber !== k ? d(k) : null
4996
- }, D(g(we)(k)), 11, or))), 128)),
5008
+ }, E(g(we)(k)), 11, or))), 128)),
4997
5009
  m("li", {
4998
5010
  id: `${a.gridId}-page-next`,
4999
5011
  class: O({
@@ -5090,8 +5102,8 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
5090
5102
  "cl-text-white": t.colour === "secondary"
5091
5103
  }])
5092
5104
  }, [
5093
- t.username ? (p(), v("div", ur, D(t.username), 1)) : L("", !0),
5094
- t.group ? (p(), v("div", dr, D(t.group), 1)) : L("", !0)
5105
+ t.username ? (p(), v("div", ur, E(t.username), 1)) : L("", !0),
5106
+ t.group ? (p(), v("div", dr, E(t.group), 1)) : L("", !0)
5095
5107
  ], 2),
5096
5108
  m("div", pr, [
5097
5109
  C(g(_), {
@@ -5402,7 +5414,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
5402
5414
  "cl-bg-grey-0": i.disabled
5403
5415
  }]),
5404
5416
  onClick: a[0] || (a[0] = (r) => e.value = i.disabled ? e.value : i.min)
5405
- }, D(Number.isInteger(i.min) ? g(we)(i.min) : g(Ee)(i.min, g(X).DECIMAL)), 3),
5417
+ }, E(Number.isInteger(i.min) ? g(we)(i.min) : g(Ee)(i.min, g(X).DECIMAL)), 3),
5406
5418
  m("div", kr, [
5407
5419
  c.value ? (p(), G(_e, {
5408
5420
  key: 0,
@@ -5442,7 +5454,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
5442
5454
  { number: !0 }
5443
5455
  ]
5444
5456
  ]),
5445
- m("div", Tr, D(Number.isInteger(e.value) ? g(we)(e.value) : g(Ee)(e.value, g(X).DECIMAL)), 1)
5457
+ m("div", Tr, E(Number.isInteger(e.value) ? g(we)(e.value) : g(Ee)(e.value, g(X).DECIMAL)), 1)
5446
5458
  ], 64))
5447
5459
  ]),
5448
5460
  m("span", {
@@ -5451,7 +5463,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
5451
5463
  "cl-bg-grey-0": i.disabled
5452
5464
  }]),
5453
5465
  onClick: a[3] || (a[3] = (r) => e.value = i.disabled ? e.value : i.max)
5454
- }, D(Number.isInteger(i.max) ? g(we)(i.max) : g(Ee)(i.max, g(X).DECIMAL)), 3),
5466
+ }, E(Number.isInteger(i.max) ? g(we)(i.max) : g(Ee)(i.max, g(X).DECIMAL)), 3),
5455
5467
  m("div", Sr, [
5456
5468
  m("div", {
5457
5469
  class: "cl-bg-white cl-border cl-border-transparent cl-cursor-pointer cl-float-right cl-p-1.5 cl-px-2 cl-rounded-full cl-shadow cl-text-xs hover:cl-border-grey-1",
@@ -5461,7 +5473,7 @@ const vt = /* @__PURE__ */ ye(Gs, [["render", Qs]]), Ys = { class: "cl-flex cl-g
5461
5473
  ])
5462
5474
  ])
5463
5475
  ])
5464
- ], 16)) : (p(), v("div", qr, D(g(s)("slider.invalidProps")), 1));
5476
+ ], 16)) : (p(), v("div", qr, E(g(s)("slider.invalidProps")), 1));
5465
5477
  }
5466
5478
  }), Dr = /* @__PURE__ */ ye(Or, [["__scopeId", "data-v-5cb4ccea"]]);
5467
5479
  function zl(o) {
@@ -5655,7 +5667,7 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5655
5667
  function $e(h) {
5656
5668
  u.value = h;
5657
5669
  }
5658
- async function E() {
5670
+ async function D() {
5659
5671
  c.value = !0, $e(!1), e.validateOn === "change" && await j(f.value);
5660
5672
  }
5661
5673
  function Z() {
@@ -5671,7 +5683,7 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5671
5683
  }
5672
5684
  }
5673
5685
  async function Q() {
5674
- await E(), Z();
5686
+ await D(), Z();
5675
5687
  }
5676
5688
  return We(() => {
5677
5689
  e.validateImmediately && F(e.modelValue, !0);
@@ -5701,11 +5713,11 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5701
5713
  }, [
5702
5714
  m("div", Vr, [
5703
5715
  m("div", Mr, [
5704
- le(m("label", { class: "cl-block cl-mb-1 cl-text-grey-4 cl-text-xs cl-tracking-widest" }, D(h.label), 513), [
5716
+ le(m("label", { class: "cl-block cl-mb-1 cl-text-grey-4 cl-text-xs cl-tracking-widest" }, E(h.label), 513), [
5705
5717
  [ue, h.showLabel && h.label !== ""]
5706
5718
  ])
5707
5719
  ]),
5708
- i.value ? (p(), v("label", Ir, " * ")) : h.isRequired && h.requiredText.length ? (p(), v("label", Nr, D(h.requiredText), 1)) : L("", !0)
5720
+ i.value ? (p(), v("label", Ir, " * ")) : h.isRequired && h.requiredText.length ? (p(), v("label", Nr, E(h.requiredText), 1)) : L("", !0)
5709
5721
  ]),
5710
5722
  h.inputType !== "range" && h.inputType !== "currency" && !g(Ll)(h.inputType) ? (p(), v("div", Rr, [
5711
5723
  le(m("input", J({
@@ -5789,7 +5801,7 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5789
5801
  "currency-options": R.value,
5790
5802
  onChange: U[7] || (U[7] = (W, re) => N(W, re)),
5791
5803
  onFocus: U[8] || (U[8] = (W) => s("focus")),
5792
- onBlur: E
5804
+ onBlur: D
5793
5805
  }), null, 16, ["modelValue", "disabled", "placeholder", "is-valid", "highlight-when-valid", "input-specific-classes", "group", "step", "currency-options"])
5794
5806
  ])) : g(Ll)(h.inputType) ? (p(), G(g(vr), J({ key: 2 }, h.$attrs, {
5795
5807
  ref_key: "inputElement",
@@ -5811,7 +5823,7 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5811
5823
  "initial-date": h.initialDate,
5812
5824
  "quick-date-scope": h.quickDateScope,
5813
5825
  "date-format-locale": h.dateFormatLocale,
5814
- onBlur: ae(E, ["self"]),
5826
+ onBlur: ae(D, ["self"]),
5815
5827
  onFocus: U[10] || (U[10] = (W) => s("focus"))
5816
5828
  }), null, 16, ["date", "class", "disabled", "required", "type", "time-zone", "min", "max", "placeholder", "initial-date", "quick-date-scope", "date-format-locale"])) : h.inputType === "range" && typeof f.value == "number" ? (p(), v("div", Br, [
5817
5829
  C(g(Dr), {
@@ -5825,13 +5837,13 @@ const Vr = { class: "cl-flex cl-justify-between" }, Mr = { class: "cl-w-full" },
5825
5837
  placeholder: a.value,
5826
5838
  "enforce-step": !0,
5827
5839
  disabled: h.disabled,
5828
- onBlur: ae(E, ["self"]),
5840
+ onBlur: ae(D, ["self"]),
5829
5841
  onFocus: U[12] || (U[12] = (W) => s("focus"))
5830
5842
  }, null, 8, ["value", "min", "max", "step", "placeholder", "disabled"])
5831
5843
  ])) : L("", !0)
5832
5844
  ], 32),
5833
- q.value && B.value && z.value ? (p(), v("div", Fr, D(B.value), 1)) : L("", !0),
5834
- !q.value && I.value.length > 0 && h.showValidationMessages && z.value ? (p(), v("div", jr, D(I.value), 1)) : L("", !0)
5845
+ q.value && B.value && z.value ? (p(), v("div", Fr, E(B.value), 1)) : L("", !0),
5846
+ !q.value && I.value.length > 0 && h.showValidationMessages && z.value ? (p(), v("div", jr, E(I.value), 1)) : L("", !0)
5835
5847
  ], 16));
5836
5848
  }
5837
5849
  }), Gr = /* @__PURE__ */ ye(Pr, [["__scopeId", "data-v-2373f106"]]), Hr = [
@@ -5903,7 +5915,7 @@ const Kr = {
5903
5915
  class: O(["cl-font-semibold cl-text-xs", {
5904
5916
  "cl-opacity-50": a.disabled
5905
5917
  }])
5906
- }, D(d.value.nativeName), 3)
5918
+ }, E(d.value.nativeName), 3)
5907
5919
  ], 2),
5908
5920
  C(Me, { name: "fade" }, {
5909
5921
  default: A(() => [
@@ -5917,7 +5929,7 @@ const Kr = {
5917
5929
  s.value = f.localeCode, i(), e("language-select", f.localeCode);
5918
5930
  }
5919
5931
  }, [
5920
- m("span", _r, D(f.nativeName), 1)
5932
+ m("span", _r, E(f.nativeName), 1)
5921
5933
  ], 8, Yr))), 128))
5922
5934
  ], 512), [
5923
5935
  [ue, n.value]
@@ -5999,7 +6011,7 @@ const Kr = {
5999
6011
  ]),
6000
6012
  _: 1
6001
6013
  }, 8, ["modelValue", "class", "errors", "placeholder"]),
6002
- u.value ? (p(), v("div", ri, D(g(e)("login.validEmail")), 1)) : L("", !0)
6014
+ u.value ? (p(), v("div", ri, E(g(e)("login.validEmail")), 1)) : L("", !0)
6003
6015
  ])
6004
6016
  ])
6005
6017
  ]),
@@ -6058,7 +6070,7 @@ const Kr = {
6058
6070
  onClick: ae(i, ["prevent"])
6059
6071
  }, {
6060
6072
  default: A(() => [
6061
- ie(D(g(e)("login.login")), 1)
6073
+ ie(E(g(e)("login.login")), 1)
6062
6074
  ]),
6063
6075
  _: 1
6064
6076
  }, 8, ["loading", "disabled"])
@@ -6073,7 +6085,7 @@ const Kr = {
6073
6085
  id: "cl-ui-login-errors",
6074
6086
  key: b,
6075
6087
  class: "cl-font-semibold"
6076
- }, D(k), 1))), 128))
6088
+ }, E(k), 1))), 128))
6077
6089
  ], 512), [
6078
6090
  [ue, (y = r.errors) == null ? void 0 : y.length]
6079
6091
  ])
@@ -6255,11 +6267,12 @@ function Vi(o, t) {
6255
6267
  M(o.$slots, "default")
6256
6268
  ]);
6257
6269
  }
6258
- const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-full" }, Ni = /* @__PURE__ */ P({
6270
+ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = /* @__PURE__ */ P({
6259
6271
  __name: "cl-ui-tab",
6260
6272
  props: {
6261
6273
  colour: { default: "default" },
6262
- layout: { default: "horizontal" }
6274
+ layout: { default: "horizontal" },
6275
+ overflowHidden: { type: Boolean, default: !0 }
6263
6276
  },
6264
6277
  emits: ["tab-opened"],
6265
6278
  setup(o, { expose: t, emit: l }) {
@@ -6347,14 +6360,18 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6347
6360
  })
6348
6361
  ])) : L("", !0)
6349
6362
  ], 2),
6350
- le(m("div", Ii, [
6363
+ le(m("div", {
6364
+ class: O(["cl-basis-full", {
6365
+ "cl-overflow-hidden": S.overflowHidden
6366
+ }])
6367
+ }, [
6351
6368
  M(S.$slots, "content", ce(pe({ isTabOpen: k })))
6352
- ], 512), [
6369
+ ], 2), [
6353
6370
  [ue, d.value]
6354
6371
  ])
6355
6372
  ], 2));
6356
6373
  }
6357
- }), Ri = ["inert"], Ui = /* @__PURE__ */ P({
6374
+ }), Ni = ["inert"], Ri = /* @__PURE__ */ P({
6358
6375
  __name: "cl-ui-tab-header",
6359
6376
  props: {
6360
6377
  open: { type: Boolean },
@@ -6380,37 +6397,37 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6380
6397
  inert: e.disabled
6381
6398
  }, [
6382
6399
  M(e.$slots, "default", {}, () => [
6383
- ie(D(e.title), 1)
6400
+ ie(E(e.title), 1)
6384
6401
  ])
6385
- ], 10, Ri));
6402
+ ], 10, Ni));
6386
6403
  }
6387
- }), zi = { key: 0 }, Li = { class: "cl-font-bold cl-mb-4" }, Bi = /* @__PURE__ */ P({
6404
+ }), Ui = { key: 0 }, zi = { class: "cl-font-bold cl-mb-4" }, Li = /* @__PURE__ */ P({
6388
6405
  __name: "cl-ui-tab-content",
6389
6406
  props: {
6390
6407
  open: { type: Boolean },
6391
6408
  title: { default: "" }
6392
6409
  },
6393
6410
  setup(o) {
6394
- return (t, l) => t.open ? (p(), v("div", zi, [
6411
+ return (t, l) => t.open ? (p(), v("div", Ui, [
6395
6412
  M(t.$slots, "header", {}, () => [
6396
- m("h4", Li, D(t.title), 1)
6413
+ m("h4", zi, E(t.title), 1)
6397
6414
  ]),
6398
6415
  M(t.$slots, "default")
6399
6416
  ])) : L("", !0);
6400
6417
  }
6401
- }), Fi = [
6418
+ }), Bi = [
6402
6419
  "default",
6403
6420
  "primary",
6404
6421
  "secondary",
6405
6422
  "danger",
6406
6423
  "blue"
6407
- ], ji = [
6424
+ ], Fi = [
6408
6425
  "left",
6409
6426
  "right"
6410
- ], Pi = [
6427
+ ], ji = [
6411
6428
  "horizontal",
6412
6429
  "vertical"
6413
- ], Gi = { class: "cl-block cl-h-full cl-w-full" }, Hi = ["multiple", "accept", "disabled"], Zi = ["multiple", "accept", "disabled"], Wi = /* @__PURE__ */ P({
6430
+ ], Pi = { class: "cl-block cl-h-full cl-w-full" }, Gi = ["multiple", "accept", "disabled"], Hi = ["multiple", "accept", "disabled"], Zi = /* @__PURE__ */ P({
6414
6431
  inheritAttrs: !1,
6415
6432
  __name: "cl-ui-file-uploader",
6416
6433
  props: {
@@ -6454,7 +6471,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6454
6471
  function a() {
6455
6472
  c.value && (c.value.value = ""), i.value && (i.value.value = "");
6456
6473
  }
6457
- return (r, f) => (p(), v("div", Gi, [
6474
+ return (r, f) => (p(), v("div", Pi, [
6458
6475
  r.uploaderType === "dragDrop" ? (p(), v("label", J({ key: 0 }, r.$attrs, {
6459
6476
  role: "button",
6460
6477
  class: ["cl-bg-opacity-10 cl-border cl-border-dashed cl-duration-300 cl-ease-in-out cl-flex cl-justify-center cl-relative cl-rounded-lg", {
@@ -6476,7 +6493,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6476
6493
  accept: r.acceptedFileTypes,
6477
6494
  disabled: r.disabled,
6478
6495
  onInput: n
6479
- }, null, 40, Hi),
6496
+ }, null, 40, Gi),
6480
6497
  M(r.$slots, "default")
6481
6498
  ], 16)) : (p(), v("input", {
6482
6499
  key: 1,
@@ -6491,10 +6508,10 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6491
6508
  accept: r.acceptedFileTypes,
6492
6509
  disabled: r.disabled,
6493
6510
  onInput: n
6494
- }, null, 42, Zi))
6511
+ }, null, 42, Hi))
6495
6512
  ]));
6496
6513
  }
6497
- }), Ki = /* @__PURE__ */ P({
6514
+ }), Wi = /* @__PURE__ */ P({
6498
6515
  inheritAttrs: !1,
6499
6516
  __name: "cl-ui-toggle",
6500
6517
  props: /* @__PURE__ */ fe({
@@ -6538,7 +6555,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6538
6555
  _: 3
6539
6556
  }, 8, ["show-required-asterisk"]));
6540
6557
  }
6541
- }), Qi = /* @__PURE__ */ P({
6558
+ }), Ki = /* @__PURE__ */ P({
6542
6559
  __name: "cl-ui-toggle-button",
6543
6560
  props: {
6544
6561
  isSelected: { type: Boolean },
@@ -6558,19 +6575,19 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6558
6575
  _: 3
6559
6576
  }, 8, ["class"]));
6560
6577
  }
6561
- }), Yi = {
6578
+ }), Qi = {
6562
6579
  key: 0,
6563
6580
  class: "cl-flex-1"
6564
- }, _i = {
6581
+ }, Yi = {
6565
6582
  key: 1,
6566
6583
  class: "cl-mb-1 cl-mt-0.5"
6567
- }, Ji = { class: "cl-overflow-y-auto cl-w-full" }, xi = {
6584
+ }, _i = { class: "cl-overflow-y-auto cl-w-full" }, Ji = {
6568
6585
  key: 1,
6569
6586
  class: "cl-mt-auto cl-w-full"
6570
- }, Xi = {
6587
+ }, xi = {
6571
6588
  key: 0,
6572
6589
  class: "cl-flex cl-flex-shrink-0 cl-w-16"
6573
- }, ec = /* @__PURE__ */ P({
6590
+ }, Xi = /* @__PURE__ */ P({
6574
6591
  __name: "cl-ui-menu",
6575
6592
  props: {
6576
6593
  open: { type: Boolean, required: !0 },
@@ -6615,7 +6632,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6615
6632
  t.value === !1 && n();
6616
6633
  }, ["self"]))
6617
6634
  }, [
6618
- t.value ? (p(), v("div", Yi, [
6635
+ t.value ? (p(), v("div", Qi, [
6619
6636
  M(c.$slots, "menuHeader")
6620
6637
  ])) : L("", !0),
6621
6638
  C(g(nl), {
@@ -6638,24 +6655,24 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6638
6655
  t.value === !1 ? (p(), G(g(nl), {
6639
6656
  key: 0,
6640
6657
  "icon-value": "ph:magnifying-glass"
6641
- })) : (p(), v("div", _i, [
6658
+ })) : (p(), v("div", Yi, [
6642
6659
  M(c.$slots, "searchInput")
6643
6660
  ]))
6644
6661
  ], 2)) : L("", !0),
6645
- m("div", Ji, [
6662
+ m("div", _i, [
6646
6663
  M(c.$slots, "default", ce(pe({ toggleOpen: s, groupIsOpen: e })))
6647
6664
  ]),
6648
- c.$slots.footer ? (p(), v("div", xi, [
6665
+ c.$slots.footer ? (p(), v("div", Ji, [
6649
6666
  M(c.$slots, "footer", ce(pe({ toggleOpen: s, groupIsOpen: e })))
6650
6667
  ])) : L("", !0)
6651
6668
  ], 2),
6652
- g(d) === !1 && t.value ? (p(), v("div", Xi)) : L("", !0)
6669
+ g(d) === !1 && t.value ? (p(), v("div", xi)) : L("", !0)
6653
6670
  ], 64));
6654
6671
  }
6655
- }), lc = { class: "cl-overflow-hidden cl-w-full" }, tc = { class: "cl-flex cl-flex-1 cl-items-center cl-justify-between" }, oc = { class: "cl-font-bold cl-whitespace-nowrap" }, ac = { class: "cl-overflow-hidden" }, nc = {
6672
+ }), ec = { class: "cl-overflow-hidden cl-w-full" }, lc = { class: "cl-flex cl-flex-1 cl-items-center cl-justify-between" }, tc = { class: "cl-font-bold cl-whitespace-nowrap" }, oc = { class: "cl-overflow-hidden" }, ac = {
6656
6673
  key: 0,
6657
6674
  class: "cl-mt-1"
6658
- }, sc = /* @__PURE__ */ P({
6675
+ }, nc = /* @__PURE__ */ P({
6659
6676
  __name: "cl-ui-menu-group",
6660
6677
  props: {
6661
6678
  title: {},
@@ -6667,14 +6684,14 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6667
6684
  setup(o) {
6668
6685
  return (t, l) => {
6669
6686
  const e = Se("icon");
6670
- return p(), v("div", lc, [
6687
+ return p(), v("div", ec, [
6671
6688
  m("div", {
6672
6689
  class: "cl-cursor-pointer cl-flex cl-items-center cl-rounded hover:cl-bg-primary-lighter",
6673
6690
  onClick: l[0] || (l[0] = (s) => t.$emit("toggle-open"))
6674
6691
  }, [
6675
6692
  C(g(nl), { "icon-value": t.iconValue }, null, 8, ["icon-value"]),
6676
- le(m("div", tc, [
6677
- m("span", oc, D(t.title), 1),
6693
+ le(m("div", lc, [
6694
+ m("span", tc, E(t.title), 1),
6678
6695
  t.$slots.default ? (p(), G(e, {
6679
6696
  key: 0,
6680
6697
  icon: t.open ? "ph:caret-up" : "ph:caret-down",
@@ -6684,8 +6701,8 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6684
6701
  [ue, t.menuOpen]
6685
6702
  ])
6686
6703
  ]),
6687
- m("div", ac, [
6688
- t.open && t.menuOpen === !0 ? (p(), v("div", nc, [
6704
+ m("div", oc, [
6705
+ t.open && t.menuOpen === !0 ? (p(), v("div", ac, [
6689
6706
  C(g(ht), null, {
6690
6707
  default: A(() => [
6691
6708
  M(t.$slots, "default")
@@ -6697,7 +6714,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6697
6714
  ]);
6698
6715
  };
6699
6716
  }
6700
- }), rc = { class: "cl-flex cl-flex-shrink-0 cl-h-12 cl-items-center cl-justify-center cl-w-12" }, Fl = "24", nl = /* @__PURE__ */ P({
6717
+ }), sc = { class: "cl-flex cl-flex-shrink-0 cl-h-12 cl-items-center cl-justify-center cl-w-12" }, Fl = "24", nl = /* @__PURE__ */ P({
6701
6718
  __name: "cl-ui-menu-icon",
6702
6719
  props: {
6703
6720
  iconValue: {}
@@ -6705,7 +6722,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6705
6722
  setup(o) {
6706
6723
  return (t, l) => {
6707
6724
  const e = Se("icon");
6708
- return p(), v("div", rc, [
6725
+ return p(), v("div", sc, [
6709
6726
  C(e, {
6710
6727
  icon: t.iconValue,
6711
6728
  width: Fl,
@@ -6714,26 +6731,26 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6714
6731
  ]);
6715
6732
  };
6716
6733
  }
6717
- }), ic = { class: "cl-flex cl-flex-row" }, cc = /* @__PURE__ */ m("div", { class: "cl-flex cl-justify-center cl-w-[47px]" }, [
6734
+ }), rc = { class: "cl-flex cl-flex-row" }, ic = /* @__PURE__ */ m("div", { class: "cl-flex cl-justify-center cl-w-[47px]" }, [
6718
6735
  /* @__PURE__ */ m("div", { class: "cl-bg-grey-2 cl-w-[1px]" }, "   ")
6719
- ], -1), uc = { class: "cl-flex cl-flex-col cl-gap-1" }, ht = /* @__PURE__ */ P({
6736
+ ], -1), cc = { class: "cl-flex cl-flex-col cl-gap-1" }, ht = /* @__PURE__ */ P({
6720
6737
  __name: "cl-ui-menu-section",
6721
6738
  setup(o) {
6722
- return (t, l) => (p(), v("div", ic, [
6723
- cc,
6724
- m("div", uc, [
6739
+ return (t, l) => (p(), v("div", rc, [
6740
+ ic,
6741
+ m("div", cc, [
6725
6742
  M(t.$slots, "default")
6726
6743
  ])
6727
6744
  ]));
6728
6745
  }
6729
- }), dc = { class: "cl-cursor-pointer cl-text-sm cl-transition-colors cl-w-full hover:cl-text-primary-darker" }, pc = /* @__PURE__ */ P({
6746
+ }), uc = { class: "cl-cursor-pointer cl-text-sm cl-transition-colors cl-w-full hover:cl-text-primary-darker" }, dc = /* @__PURE__ */ P({
6730
6747
  __name: "cl-ui-menu-item",
6731
6748
  setup(o) {
6732
- return (t, l) => (p(), v("div", dc, [
6749
+ return (t, l) => (p(), v("div", uc, [
6733
6750
  M(t.$slots, "default")
6734
6751
  ]));
6735
6752
  }
6736
- }), fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6753
+ }), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6737
6754
  __proto__: null,
6738
6755
  FilterOperation: oe,
6739
6756
  allQuickDates: at,
@@ -6748,7 +6765,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6748
6765
  clUiButton: ke,
6749
6766
  clUiCard: no,
6750
6767
  clUiComboBox: Po,
6751
- clUiFileUploader: Wi,
6768
+ clUiFileUploader: Zi,
6752
6769
  clUiFooter: xo,
6753
6770
  clUiGrid: Vs,
6754
6771
  clUiGridLite: Rs,
@@ -6773,10 +6790,10 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6773
6790
  clUiLanguageSwitcher: Jr,
6774
6791
  clUiLoadingSpinner: cl,
6775
6792
  clUiLogin: pi,
6776
- clUiMenu: ec,
6777
- clUiMenuGroup: sc,
6793
+ clUiMenu: Xi,
6794
+ clUiMenuGroup: nc,
6778
6795
  clUiMenuIcon: nl,
6779
- clUiMenuItem: pc,
6796
+ clUiMenuItem: dc,
6780
6797
  clUiMenuSection: ht,
6781
6798
  clUiModal: _l,
6782
6799
  clUiNavigation: hi,
@@ -6787,11 +6804,11 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6787
6804
  clUiNotification: Yl,
6788
6805
  clUiSelect: hl,
6789
6806
  clUiSelectOption: ze,
6790
- clUiTab: Ni,
6791
- clUiTabContent: Bi,
6792
- clUiTabHeader: Ui,
6793
- clUiToggle: Ki,
6794
- clUiToggleButton: Qi,
6807
+ clUiTab: Ii,
6808
+ clUiTabContent: Li,
6809
+ clUiTabHeader: Ri,
6810
+ clUiToggle: Wi,
6811
+ clUiToggleButton: Ki,
6795
6812
  currentQuickDates: He,
6796
6813
  dateTimeCalendarTypes: rt,
6797
6814
  filterMethodTypes: Rn,
@@ -6814,11 +6831,11 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6814
6831
  popoverPlacements: $n,
6815
6832
  quickDateNames: sn,
6816
6833
  stringFormats: Nn,
6817
- tabColours: Fi,
6818
- tabLayout: Pi,
6819
- tabScroll: ji
6820
- }, Symbol.toStringTag, { value: "Module" })), Ec = (o) => {
6821
- o.use(Ce), o.component("Icon", _), Object.entries(fc).forEach(([
6834
+ tabColours: Bi,
6835
+ tabLayout: ji,
6836
+ tabScroll: Fi
6837
+ }, Symbol.toStringTag, { value: "Module" })), Dc = (o) => {
6838
+ o.use(Ce), o.component("Icon", _), Object.entries(pc).forEach(([
6822
6839
  t,
6823
6840
  l
6824
6841
  ]) => {
@@ -6826,7 +6843,7 @@ const Mi = /* @__PURE__ */ ye(Ei, [["render", Vi]]), Ii = { class: "cl-basis-ful
6826
6843
  });
6827
6844
  };
6828
6845
  export {
6829
- Dc as CitrusLimeUI,
6846
+ Oc as CitrusLimeUI,
6830
6847
  se as DateFormat,
6831
6848
  oe as FilterOperation,
6832
6849
  X as NumberFormat,
@@ -6842,7 +6859,7 @@ export {
6842
6859
  ke as clUiButton,
6843
6860
  no as clUiCard,
6844
6861
  Po as clUiComboBox,
6845
- Wi as clUiFileUploader,
6862
+ Zi as clUiFileUploader,
6846
6863
  xo as clUiFooter,
6847
6864
  Vs as clUiGrid,
6848
6865
  Rs as clUiGridLite,
@@ -6867,10 +6884,10 @@ export {
6867
6884
  Jr as clUiLanguageSwitcher,
6868
6885
  cl as clUiLoadingSpinner,
6869
6886
  pi as clUiLogin,
6870
- ec as clUiMenu,
6871
- sc as clUiMenuGroup,
6887
+ Xi as clUiMenu,
6888
+ nc as clUiMenuGroup,
6872
6889
  nl as clUiMenuIcon,
6873
- pc as clUiMenuItem,
6890
+ dc as clUiMenuItem,
6874
6891
  ht as clUiMenuSection,
6875
6892
  _l as clUiModal,
6876
6893
  hi as clUiNavigation,
@@ -6881,15 +6898,15 @@ export {
6881
6898
  Yl as clUiNotification,
6882
6899
  hl as clUiSelect,
6883
6900
  ze as clUiSelectOption,
6884
- Ni as clUiTab,
6885
- Bi as clUiTabContent,
6886
- Ui as clUiTabHeader,
6887
- Ki as clUiToggle,
6888
- Qi as clUiToggleButton,
6901
+ Ii as clUiTab,
6902
+ Li as clUiTabContent,
6903
+ Ri as clUiTabHeader,
6904
+ Wi as clUiToggle,
6905
+ Ki as clUiToggleButton,
6889
6906
  He as currentQuickDates,
6890
6907
  rt as dateTimeCalendarTypes,
6891
6908
  ia as datetimeFormats,
6892
- Ec as default,
6909
+ Dc as default,
6893
6910
  da as doesNumberStringContainPart,
6894
6911
  Rn as filterMethodTypes,
6895
6912
  Ee as formatNumber,
@@ -6918,15 +6935,15 @@ export {
6918
6935
  $n as popoverPlacements,
6919
6936
  sn as quickDateNames,
6920
6937
  ma as scrubGroupSeparatorsFromFormattedValue,
6921
- Oc as setCurrentLocale,
6922
- qc as setLocaleDateTimeFormats,
6923
- Tc as setLocaleMessages,
6924
- Sc as setLocaleNumberFormats,
6938
+ qc as setCurrentLocale,
6939
+ Sc as setLocaleDateTimeFormats,
6940
+ Cc as setLocaleMessages,
6941
+ Tc as setLocaleNumberFormats,
6925
6942
  Al as showNotification,
6926
6943
  Nn as stringFormats,
6927
- Fi as tabColours,
6928
- Pi as tabLayout,
6929
- ji as tabScroll,
6944
+ Bi as tabColours,
6945
+ ji as tabLayout,
6946
+ Fi as tabScroll,
6930
6947
  Jl as unformatNumber,
6931
6948
  ya as validateEmail,
6932
6949
  ba as validateMaxValue,