@citruslime/ui 3.0.0-beta.8 → 3.0.0-beta.9

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 G } from "@iconify/vue";
2
- import { defineComponent as P, ref as I, openBlock as p, createElementBlock as b, renderSlot as M, normalizeProps as de, guardReactiveProps as fe, Fragment as Y, createElementVNode as f, normalizeClass as j, createVNode as E, unref as m, Transition as Ce, withCtx as R, withDirectives as Q, mergeProps as oe, vShow as X, createBlock as W, Teleport as ol, renderList as re, toDisplayString as N, createCommentVNode as U, computed as D, mergeModels as ve, useModel as Ee, createSlots as Ae, vModelDynamic as Tl, watch as le, toRefs as Zl, withKeys as me, onMounted as Le, onUnmounted as Ye, withModifiers as ee, nextTick as Ne, resolveComponent as Fe, createTextVNode as ue, inject as al, vModelCheckbox as Gl, watchEffect as Kl, toValue as pl, toHandlers as xl, useCssVars as Ol, vModelText as ql, pushScopeId as Ql, popScopeId as Yl, useAttrs as _l, provide as fl, normalizeStyle as Jl } from "vue";
2
+ import { defineComponent as P, ref as I, openBlock as p, createElementBlock as b, renderSlot as M, normalizeProps as de, guardReactiveProps as fe, Fragment as Y, createElementVNode as f, normalizeClass as j, createVNode as E, unref as m, Transition as Ce, withCtx as R, withDirectives as Q, mergeProps as ae, vShow as X, createBlock as W, Teleport as ol, renderList as re, toDisplayString as N, createCommentVNode as U, computed as D, mergeModels as ve, useModel as Ee, createSlots as Ae, vModelDynamic as Tl, watch as le, toRefs as Zl, withKeys as me, onMounted as Le, onUnmounted as Ye, withModifiers as ee, nextTick as Ne, resolveComponent as Fe, createTextVNode as ue, inject as al, vModelCheckbox as Gl, watchEffect as Kl, toValue as pl, toHandlers as xl, useCssVars as Ol, vModelText as ql, pushScopeId as Ql, popScopeId as Yl, useAttrs as _l, provide as fl, normalizeStyle as Jl } from "vue";
3
3
  import { generateStringId as Xl, highlightText as et, validateEmail as lt } from "@citruslime/utils";
4
4
  import { unrefElement as tt, tryOnScopeDispose as ot, onClickOutside as nl, useTimeoutFn as Sl, useMouseInElement as at, useFocusWithin as nt, useMediaQuery as st, useThrottle as rt, useElementBounding as it, useDebounceFn as ct, useWindowSize as ut } from "@vueuse/core";
5
5
  import { useI18n as se, createI18n as dt } from "vue-i18n";
@@ -69,7 +69,7 @@ const mt = { class: "cl-overflow-hidden" }, gt = /* @__PURE__ */ P({
69
69
  f("div", ht, [
70
70
  E(Ce, { name: "grow-down" }, {
71
71
  default: R(() => [
72
- Q(f("div", oe(a.$attrs, { class: "cl-ml-10 cl-p-4" }), [
72
+ Q(f("div", ae(a.$attrs, { class: "cl-ml-10 cl-p-4" }), [
73
73
  M(a.$slots, "default")
74
74
  ], 16), [
75
75
  [X, a.open]
@@ -121,7 +121,7 @@ const Tt = ["onClick"], Ot = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
121
121
  "cl-bottom-5 cl-right-5": o.position === "bottom-right"
122
122
  }])
123
123
  }, [
124
- (p(!0), b(Y, null, re(m(Ke), (e, c) => (p(), b("div", oe(o.$attrs, {
124
+ (p(!0), b(Y, null, re(m(Ke), (e, c) => (p(), b("div", ae(o.$attrs, {
125
125
  key: c,
126
126
  class: ["cl-break-words cl-cursor-pointer cl-flex cl-font-semibold cl-group cl-mb-2 cl-overflow-hidden cl-p-4 cl-rounded cl-shadow-lg cl-text-sm", {
127
127
  "cl-bg-white": e.colour === "default",
@@ -199,7 +199,7 @@ const _e = /* @__PURE__ */ ye(Dt, [["render", At], ["__scopeId", "data-v-a21dc5d
199
199
  Q(E(_e, { class: "relative" }, null, 512), [
200
200
  [X, e.loading]
201
201
  ]),
202
- Q(f("button", oe(e.$attrs, {
202
+ Q(f("button", ae(e.$attrs, {
203
203
  ref_key: "buttonRef",
204
204
  ref: t,
205
205
  class: ["cl-align-middle cl-border cl-font-semibold cl-inline-block cl-rounded cl-select-none cl-shadow cl-text-center cl-transition-colors", {
@@ -355,7 +355,7 @@ const _e = /* @__PURE__ */ ye(Dt, [["render", At], ["__scopeId", "data-v-a21dc5d
355
355
  errors: d.errors
356
356
  }, Ae({
357
357
  default: R(() => [
358
- Q(f("input", oe(d.$attrs, {
358
+ Q(f("input", ae(d.$attrs, {
359
359
  ref_key: "inputRef",
360
360
  ref: a,
361
361
  "onUpdate:modelValue": i[0] || (i[0] = (u) => e.value = u),
@@ -458,7 +458,7 @@ const Kt = /* @__PURE__ */ f("div", { tabindex: "0" }, null, -1), xt = {
458
458
  class: "cl-align-items-center cl-bg-black cl-bg-opacity-40 cl-bottom-0 cl-fixed cl-flex cl-h-full cl-justify-center cl-left-0 cl-right-0 cl-top-0 cl-w-full cl-z-40 xl:cl-h-screen"
459
459
  }, [
460
460
  Kt,
461
- f("div", oe(s.$attrs, {
461
+ f("div", ae(s.$attrs, {
462
462
  class: ["cl-bg-white cl-flex cl-flex-wrap cl-max-h-[calc(100%-8rem)] cl-mx-0 cl-my-auto cl-overflow-y-auto cl-overscroll-y-none cl-relative cl-rounded-lg cl-shadow-lg xl:cl-max-h-[calc(100vh-8rem)]", {
463
463
  "lg:cl-w-2/12 cl-w-10/12": s.size === "x-small",
464
464
  "cl-w-6/12": s.size === "small",
@@ -778,7 +778,7 @@ const Kt = /* @__PURE__ */ f("div", { tabindex: "0" }, null, -1), xt = {
778
778
  }), r = I(null), n = D(() => x()), g = I(""), y = I(""), k = I(), S = I(!0), C = I(!1);
779
779
  function T(V) {
780
780
  var ie;
781
- const H = ((ie = ae.value) == null ? void 0 : ie.getBoundingClientRect().top) || 0;
781
+ const H = ((ie = ne.value) == null ? void 0 : ie.getBoundingClientRect().top) || 0;
782
782
  C.value = window.innerHeight - H < 280, e.disabled || (typeof V < "u" ? u.value = V : u.value = !u.value);
783
783
  }
784
784
  function L(V) {
@@ -863,8 +863,8 @@ const Kt = /* @__PURE__ */ f("div", { tabindex: "0" }, null, -1), xt = {
863
863
  g.value === "" && (V = !1), e.objectParentType !== "" && r.value === null && (V = !1), S.value = V;
864
864
  }
865
865
  le(() => e.objectCreatedResponse, () => v()), le(() => e.parentObjectCreatedResponse, () => $()), le(() => g.value, () => ge()), le(() => r.value, () => ge());
866
- const ae = I();
867
- return nl(ae, () => u.value ? T(!1) : ""), o({
866
+ const ne = I();
867
+ return nl(ne, () => u.value ? T(!1) : ""), o({
868
868
  focus() {
869
869
  T(), c("focus");
870
870
  }
@@ -872,7 +872,7 @@ const Kt = /* @__PURE__ */ f("div", { tabindex: "0" }, null, -1), xt = {
872
872
  const ie = Fe("cl-ui-combo-box", !0);
873
873
  return p(), b("div", {
874
874
  ref_key: "outsideRef",
875
- ref: ae,
875
+ ref: ne,
876
876
  class: "cl-relative"
877
877
  }, [
878
878
  f("div", ro, [
@@ -1178,7 +1178,7 @@ const Eo = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Ao = { class: "cl-gap-1
1178
1178
  errors: d.errors
1179
1179
  }, Ae({
1180
1180
  default: R(() => [
1181
- Q(f("input", oe({
1181
+ Q(f("input", ae({
1182
1182
  ref_key: "inputRef",
1183
1183
  ref: a
1184
1184
  }, d.$attrs, {
@@ -1208,7 +1208,7 @@ const Eo = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Ao = { class: "cl-gap-1
1208
1208
  ]), 1032, ["show-required-asterisk", "errors"]));
1209
1209
  }
1210
1210
  }), rl = /* @__PURE__ */ ye(jo, [["__scopeId", "data-v-d8bbd8db"]]);
1211
- var ne = /* @__PURE__ */ ((l) => (l.CURRENCY = "currency", l.PERCENTAGE = "percentage", l.INTEGER = "integer", l.DECIMAL = "decimal", l.MULTIPLIER = "multiplier", l))(ne || {}), ce = /* @__PURE__ */ ((l) => (l.SHORT_DATE = "short-date", l.SHORT_DATETIME = "short-datetime", l.DATE = "date", l.DATETIME = "datetime", l.LONG_DATE = "long-date", l.LONG_DATETIME = "long-datetime", l.TIME = "time", l.MONTH_YEAR = "month-year", l))(ce || {});
1211
+ var oe = /* @__PURE__ */ ((l) => (l.CURRENCY = "currency", l.PERCENTAGE = "percentage", l.INTEGER = "integer", l.DECIMAL = "decimal", l.MULTIPLIER = "multiplier", l))(oe || {}), ce = /* @__PURE__ */ ((l) => (l.SHORT_DATE = "short-date", l.SHORT_DATETIME = "short-datetime", l.DATE = "date", l.DATETIME = "datetime", l.LONG_DATE = "long-date", l.LONG_DATETIME = "long-datetime", l.TIME = "time", l.MONTH_YEAR = "month-year", l))(ce || {});
1212
1212
  const zo = {
1213
1213
  key: 3,
1214
1214
  class: "cl-inline-block cl-whitespace-nowrap"
@@ -1279,7 +1279,7 @@ const zo = {
1279
1279
  ], 64)) : (p(), b(Y, { key: 2 }, [
1280
1280
  ue(N(d(u.data[u.column.field], m(ce).DATETIME)), 1)
1281
1281
  ], 64))
1282
- ], 64)) : u.column.type === "list" && u.column.field !== void 0 && u.column.listEntries !== void 0 ? (p(), b("span", zo, N(m(e)(((r = u.column.listEntries.find((n) => n.value === u.data[u.column.field])) == null ? void 0 : r.translationKey) ?? "")), 1)) : u.column.type === "number" && u.column.field !== void 0 ? (p(), b("span", Lo, N(m(a)(u.data[u.column.field], u.column.format ?? m(ne).DECIMAL)), 1)) : u.column.field !== void 0 ? (p(), b("span", Fo, [
1282
+ ], 64)) : u.column.type === "list" && u.column.field !== void 0 && u.column.listEntries !== void 0 ? (p(), b("span", zo, N(m(e)(((r = u.column.listEntries.find((n) => n.value === u.data[u.column.field])) == null ? void 0 : r.translationKey) ?? "")), 1)) : u.column.type === "number" && u.column.field !== void 0 ? (p(), b("span", Lo, N(m(a)(u.data[u.column.field], u.column.format ?? m(oe).DECIMAL)), 1)) : u.column.field !== void 0 ? (p(), b("span", Fo, [
1283
1283
  f("span", {
1284
1284
  innerHTML: i()
1285
1285
  }, null, 8, Bo)
@@ -1315,7 +1315,7 @@ const zo = {
1315
1315
  }])
1316
1316
  }, [
1317
1317
  f("span", Po, N(u.column.caption), 1),
1318
- u.editMode && u.column.editable === !0 ? M(u.$slots, `${u.column.name}Edit`, de(oe({ key: 0 }, {
1318
+ u.editMode && u.column.editable === !0 ? M(u.$slots, `${u.column.name}Edit`, de(ae({ key: 0 }, {
1319
1319
  cellFocused: () => e("focus"),
1320
1320
  column: u.column,
1321
1321
  edited: d.value,
@@ -1478,7 +1478,7 @@ const zo = {
1478
1478
  re(y.$slots, (L, B) => ({
1479
1479
  name: B,
1480
1480
  fn: R((A) => [
1481
- M(y.$slots, B, oe(A, { disabled: y.loading }))
1481
+ M(y.$slots, B, ae(A, { disabled: y.loading }))
1482
1482
  ])
1483
1483
  }))
1484
1484
  ]), 1032, ["data", "columns", "time-zone", "search-value", "edit-mode", "class", "onClick", "onCellFocus", "onCellEdit"]))), 128)) : y.loading ? U("", !0) : (p(), b("tr", Zo, [
@@ -1608,20 +1608,20 @@ const zo = {
1608
1608
  }
1609
1609
  }, Xo = {
1610
1610
  "en-GB": {
1611
- [ne.PERCENTAGE]: {
1611
+ [oe.PERCENTAGE]: {
1612
1612
  style: "percent",
1613
1613
  maximumFractionDigits: 2,
1614
1614
  minimumFractionDigits: 0
1615
1615
  },
1616
- [ne.INTEGER]: {
1616
+ [oe.INTEGER]: {
1617
1617
  maximumFractionDigits: 0,
1618
1618
  minimumFractionDigits: 0
1619
1619
  },
1620
- [ne.DECIMAL]: {
1620
+ [oe.DECIMAL]: {
1621
1621
  maximumFractionDigits: 2,
1622
1622
  minimumFractionDigits: 1
1623
1623
  },
1624
- [ne.CURRENCY]: {
1624
+ [oe.CURRENCY]: {
1625
1625
  style: "currency",
1626
1626
  currency: "GBP",
1627
1627
  currencyDisplay: "symbol",
@@ -1687,27 +1687,27 @@ const zo = {
1687
1687
  fallbackWarn: !1,
1688
1688
  warnHtmlMessage: !1
1689
1689
  });
1690
- function ai(l, o) {
1690
+ function ni(l, o) {
1691
1691
  return he.global.mergeLocaleMessage(l, o), Ne();
1692
1692
  }
1693
- function ni(l, o) {
1693
+ function si(l, o) {
1694
1694
  return he.global.mergeNumberFormat(l, o), Ne();
1695
1695
  }
1696
- function si(l, o) {
1696
+ function ri(l, o) {
1697
1697
  return he.global.mergeDateTimeFormat(l, o), Ne();
1698
1698
  }
1699
- function ri(l) {
1699
+ function ii(l) {
1700
1700
  return he.global.locale.value = l, Ne();
1701
1701
  }
1702
- const { n: la, locale: ta, getNumberFormat: oa } = he.global, il = ne.DECIMAL;
1702
+ const { n: la, locale: ta, getNumberFormat: oa } = he.global, il = oe.DECIMAL;
1703
1703
  function qe(l) {
1704
- return Ve(l, ne.DECIMAL, { additionalOptions: {
1704
+ return Ve(l, oe.DECIMAL, { additionalOptions: {
1705
1705
  minimumFractionDigits: 0,
1706
1706
  maximumFractionDigits: 0
1707
1707
  } });
1708
1708
  }
1709
1709
  function el(l, o) {
1710
- return Ve(l, ne.DECIMAL, { additionalOptions: {
1710
+ return Ve(l, oe.DECIMAL, { additionalOptions: {
1711
1711
  minimumFractionDigits: 0,
1712
1712
  maximumFractionDigits: o
1713
1713
  } });
@@ -1811,7 +1811,7 @@ function ze(l, o) {
1811
1811
  };
1812
1812
  }
1813
1813
  function cl(l) {
1814
- return na(l) ? l : ne.CURRENCY;
1814
+ return na(l) ? l : oe.CURRENCY;
1815
1815
  }
1816
1816
  function Xe(l) {
1817
1817
  return l.includes("{0}");
@@ -1831,7 +1831,7 @@ function sa(l) {
1831
1831
  from: "@iconify/vue"
1832
1832
  };
1833
1833
  }
1834
- function ii() {
1834
+ function ci() {
1835
1835
  return sa;
1836
1836
  }
1837
1837
  const { t: we } = he.global;
@@ -1968,7 +1968,7 @@ const da = ["value", "inputmode", "required", "disabled", "placeholder"], pa = {
1968
1968
  __name: "cl-ui-input-number",
1969
1969
  props: /* @__PURE__ */ ve({
1970
1970
  errors: { default: () => [] },
1971
- format: { default: ne.DECIMAL },
1971
+ format: { default: oe.DECIMAL },
1972
1972
  locale: { default: null },
1973
1973
  currency: { default: null },
1974
1974
  required: { type: Boolean, default: !1 },
@@ -1997,7 +1997,7 @@ const da = ["value", "inputmode", "required", "disabled", "placeholder"], pa = {
1997
1997
  })), y = D(() => e.format ? Il(e.format, {
1998
1998
  locale: e.locale,
1999
1999
  additionalOptions: g.value
2000
- }) : g.value), k = D(() => Math.pow(10, y.value.maximumFractionDigits ?? 0)), S = D(() => Math.pow(10, e.format === ne.PERCENTAGE ? 2 : 0)), C = D(() => k.value * S.value), T = I(void 0);
2000
+ }) : g.value), k = D(() => Math.pow(10, y.value.maximumFractionDigits ?? 0)), S = D(() => Math.pow(10, e.format === oe.PERCENTAGE ? 2 : 0)), C = D(() => k.value * S.value), T = I(void 0);
2001
2001
  le(c, () => T.value = void 0);
2002
2002
  const L = D({
2003
2003
  get: () => T.value ? q(T.value) : c.value,
@@ -2014,7 +2014,7 @@ const da = ["value", "inputmode", "required", "disabled", "placeholder"], pa = {
2014
2014
  c.value = null;
2015
2015
  else if (v !== "") {
2016
2016
  let _ = typeof v == "number" ? v : q(v);
2017
- $ && e.format === ne.PERCENTAGE && (_ = _ / S.value), isNaN(_) === !1 && (c.value = A(Math.round(_ * C.value) / C.value));
2017
+ $ && e.format === oe.PERCENTAGE && (_ = _ / S.value), isNaN(_) === !1 && (c.value = A(Math.round(_ * C.value) / C.value));
2018
2018
  }
2019
2019
  }
2020
2020
  function O(v) {
@@ -2054,14 +2054,14 @@ const da = ["value", "inputmode", "required", "disabled", "placeholder"], pa = {
2054
2054
  ref: i,
2055
2055
  class: "cl-relative cl-w-full"
2056
2056
  }, [
2057
- (p(), b("input", oe(v.$attrs, {
2057
+ (p(), b("input", ae(v.$attrs, {
2058
2058
  ref_key: "inputRef",
2059
2059
  ref: u,
2060
2060
  key: d.value,
2061
2061
  value: B.value,
2062
2062
  class: "cl-bg-white cl-border cl-border-grey-2 cl-outline-none cl-p-1 cl-px-2 cl-rounded-lg cl-transition-colors disabled:cl-bg-grey-1 disabled:cl-border-grey-2 disabled:cl-placeholder-grey-3 focus-within:cl-border-link-light hover:cl-border-grey-3",
2063
2063
  type: "text",
2064
- inputmode: v.format === m(ne).DECIMAL && v.precision === 0 ? "numeric" : "decimal",
2064
+ inputmode: v.format === m(oe).DECIMAL && v.precision === 0 ? "numeric" : "decimal",
2065
2065
  required: v.required,
2066
2066
  disabled: v.disabled,
2067
2067
  placeholder: v.placeholder ?? void 0,
@@ -2422,7 +2422,7 @@ const Ma = {
2422
2422
  _: 1
2423
2423
  }, 8, ["disabled", "class"]))
2424
2424
  ])) : (p(), b("div", Ra, [
2425
- f("input", oe({
2425
+ f("input", ae({
2426
2426
  ref_key: "element",
2427
2427
  ref: e
2428
2428
  }, i.$attrs, {
@@ -2714,7 +2714,7 @@ const Ma = {
2714
2714
  popover: s.value
2715
2715
  }, {
2716
2716
  default: R(({ inputValue: O, inputEvents: q }) => [
2717
- E(Ue, oe(A.$attrs, {
2717
+ E(Ue, ae(A.$attrs, {
2718
2718
  ref_key: "input",
2719
2719
  ref: n,
2720
2720
  date: O,
@@ -2748,7 +2748,7 @@ const Ma = {
2748
2748
  onDayclick: z[4] || (z[4] = (O) => y.value = null)
2749
2749
  }, {
2750
2750
  default: R(({ togglePopover: O }) => [
2751
- E(Ue, oe(A.$attrs, {
2751
+ E(Ue, ae(A.$attrs, {
2752
2752
  ref_key: "input",
2753
2753
  ref: n,
2754
2754
  type: A.type,
@@ -2793,7 +2793,7 @@ const Ma = {
2793
2793
  popover: s.value
2794
2794
  }, {
2795
2795
  default: R(({ inputValue: O, inputEvents: q }) => [
2796
- E(Ue, oe(A.$attrs, {
2796
+ E(Ue, ae(A.$attrs, {
2797
2797
  ref_key: "input",
2798
2798
  ref: n,
2799
2799
  date: O,
@@ -2864,7 +2864,7 @@ const Ma = {
2864
2864
  }, N(m(el)(n.min, n.precision)), 9, Qa),
2865
2865
  f("div", Ya, [
2866
2866
  Q(f("div", _a, [
2867
- Q(f("input", oe({
2867
+ Q(f("input", ae({
2868
2868
  ref_key: "sliderRef",
2869
2869
  ref: a,
2870
2870
  "onUpdate:modelValue": g[1] || (g[1] = (k) => e.value = k)
@@ -2888,7 +2888,7 @@ const Ma = {
2888
2888
  ], 512), [
2889
2889
  [X, u.value === !1]
2890
2890
  ]),
2891
- Q(E(Be, oe({
2891
+ Q(E(Be, ae({
2892
2892
  ref_key: "inputRef",
2893
2893
  ref: d,
2894
2894
  modelValue: e.value,
@@ -2995,7 +2995,7 @@ const Ma = {
2995
2995
  popover: r.value
2996
2996
  }, {
2997
2997
  default: R(({ inputValue: T, inputEvents: L }) => [
2998
- E(Ue, oe(k.$attrs, {
2998
+ E(Ue, ae(k.$attrs, {
2999
2999
  ref_key: "input",
3000
3000
  ref: g,
3001
3001
  date: T,
@@ -3028,7 +3028,7 @@ const Ma = {
3028
3028
  popover: r.value
3029
3029
  }, {
3030
3030
  default: R(({ inputValue: T, inputEvents: L }) => [
3031
- E(Ue, oe(k.$attrs, {
3031
+ E(Ue, ae(k.$attrs, {
3032
3032
  ref_key: "input",
3033
3033
  ref: g,
3034
3034
  date: T,
@@ -3157,7 +3157,7 @@ const Ma = {
3157
3157
  var s;
3158
3158
  (s = a.value) == null || s.focus();
3159
3159
  }
3160
- }), (s, r) => i.value ? (p(), b("div", de(oe({ key: 0 }, s.$attrs)), [
3160
+ }), (s, r) => i.value ? (p(), b("div", de(ae({ key: 0 }, s.$attrs)), [
3161
3161
  f("div", cn, [
3162
3162
  f("span", {
3163
3163
  class: j(["cl-border cl-border-transparent cl-leading-6 cl-mr-1 cl-px-2 cl-rounded-full cl-select-none cl-shadow cl-text-center cl-text-xs", {
@@ -3165,7 +3165,7 @@ const Ma = {
3165
3165
  "cl-bg-grey-0": s.disabled
3166
3166
  }]),
3167
3167
  onClick: r[0] || (r[0] = (n) => e.value = s.disabled ? e.value : s.min)
3168
- }, N(Number.isInteger(s.min) ? m(qe)(s.min) : m(Ve)(s.min, m(ne).DECIMAL)), 3),
3168
+ }, N(Number.isInteger(s.min) ? m(qe)(s.min) : m(Ve)(s.min, m(oe).DECIMAL)), 3),
3169
3169
  f("div", un, [
3170
3170
  u.value ? (p(), W(Be, {
3171
3171
  key: 0,
@@ -3174,8 +3174,8 @@ const Ma = {
3174
3174
  modelValue: e.value,
3175
3175
  "onUpdate:modelValue": r[1] || (r[1] = (n) => e.value = n),
3176
3176
  class: "cl-min-w-[8.5rem] cl-w-full",
3177
- format: m(ne).DECIMAL,
3178
- precision: Number.isInteger(s.min) ? 0 : m(Il)(m(ne).DECIMAL).maximumFractionDigits,
3177
+ format: m(oe).DECIMAL,
3178
+ precision: Number.isInteger(s.min) ? 0 : m(Il)(m(oe).DECIMAL).maximumFractionDigits,
3179
3179
  min: s.min,
3180
3180
  max: s.max,
3181
3181
  step: s.step,
@@ -3205,7 +3205,7 @@ const Ma = {
3205
3205
  { number: !0 }
3206
3206
  ]
3207
3207
  ]),
3208
- f("div", fn, N(Number.isInteger(e.value) ? m(qe)(e.value) : m(Ve)(e.value, m(ne).DECIMAL)), 1)
3208
+ f("div", fn, N(Number.isInteger(e.value) ? m(qe)(e.value) : m(Ve)(e.value, m(oe).DECIMAL)), 1)
3209
3209
  ], 64))
3210
3210
  ]),
3211
3211
  f("span", {
@@ -3214,7 +3214,7 @@ const Ma = {
3214
3214
  "cl-bg-grey-0": s.disabled
3215
3215
  }]),
3216
3216
  onClick: r[3] || (r[3] = (n) => e.value = s.disabled ? e.value : s.max)
3217
- }, N(Number.isInteger(s.max) ? m(qe)(s.max) : m(Ve)(s.max, m(ne).DECIMAL)), 3),
3217
+ }, N(Number.isInteger(s.max) ? m(qe)(s.max) : m(Ve)(s.max, m(oe).DECIMAL)), 3),
3218
3218
  f("div", mn, [
3219
3219
  f("div", {
3220
3220
  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",
@@ -3406,7 +3406,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3406
3406
  c("input", F, a.value.valueAsNumber), c("change", w, a.value.valueAsNumber);
3407
3407
  }
3408
3408
  }
3409
- function ae(w) {
3409
+ function ne(w) {
3410
3410
  if (a.value) {
3411
3411
  a.value.stepDown(), a.value.focus(), v(a.value.valueAsNumber, !1);
3412
3412
  const F = {
@@ -3454,7 +3454,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3454
3454
  var w, F;
3455
3455
  e.inputType === "currency" ? (w = d == null ? void 0 : d.value) == null || w.blur() : (F = a.value) == null || F.blur();
3456
3456
  }
3457
- }), (w, F) => (p(), b("div", oe({ ...w.$attrs, id: void 0 }, {
3457
+ }), (w, F) => (p(), b("div", ae({ ...w.$attrs, id: void 0 }, {
3458
3458
  key: n.value,
3459
3459
  class: "cl-align-top cl-border-none cl-inline-block cl-text-left"
3460
3460
  }), [
@@ -3471,7 +3471,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3471
3471
  s.value ? (p(), b("label", $n, " * ")) : w.isRequired && w.requiredText.length ? (p(), b("label", Cn, N(w.requiredText), 1)) : U("", !0)
3472
3472
  ]),
3473
3473
  w.inputType !== "range" && w.inputType !== "currency" && !m(kl)(w.inputType) ? (p(), b("div", Tn, [
3474
- Q(f("input", oe({
3474
+ Q(f("input", ae({
3475
3475
  ref_key: "inputElement",
3476
3476
  ref: a,
3477
3477
  "onUpdate:modelValue": F[0] || (F[0] = (K) => g.value = K)
@@ -3524,7 +3524,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3524
3524
  E(m(G), {
3525
3525
  icon: "ph:caret-down-bold",
3526
3526
  class: "cl-absolute cl-bg-link-default cl-bottom-2 cl-right-1 cl-rounded-full cl-text-sm cl-text-white hover:cl-bg-link-light hover:cl-cursor-pointer",
3527
- onClick: ae,
3527
+ onClick: ne,
3528
3528
  onMousedown: F[5] || (F[5] = ee(() => {
3529
3529
  }, ["prevent"]))
3530
3530
  })
@@ -3535,7 +3535,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3535
3535
  _: 1
3536
3536
  })
3537
3537
  ])) : w.inputType === "currency" ? (p(), b("div", Sn, [
3538
- E(sn, oe({
3538
+ E(sn, ae({
3539
3539
  ref_key: "currencyInputRef",
3540
3540
  ref: d,
3541
3541
  modelValue: g.value,
@@ -3554,7 +3554,7 @@ const wn = { class: "cl-flex cl-justify-between" }, kn = { class: "cl-w-full" },
3554
3554
  onFocus: F[8] || (F[8] = (K) => c("focus")),
3555
3555
  onBlur: H
3556
3556
  }), null, 16, ["modelValue", "disabled", "placeholder", "is-valid", "highlight-when-valid", "input-specific-classes", "group", "step", "currency-options"])
3557
- ])) : m(kl)(w.inputType) ? (p(), W(m(Ga), oe({ key: 2 }, w.$attrs, {
3557
+ ])) : m(kl)(w.inputType) ? (p(), W(m(Ga), ae({ key: 2 }, w.$attrs, {
3558
3558
  ref_key: "inputElement",
3559
3559
  ref: a,
3560
3560
  date: y.value,
@@ -3868,10 +3868,13 @@ const Fn = {
3868
3868
  }), Kn = {
3869
3869
  key: 0,
3870
3870
  class: "cl-border cl-border-grey-2 cl-flex cl-overflow-hidden cl-rounded-md lg:cl-overflow-visible"
3871
- }, xn = ["id", "disabled"], Qn = /* @__PURE__ */ f("option", { value: void 0 }, null, -1), Yn = ["selected"], _n = ["selected"], Jn = /* @__PURE__ */ f("span", null, null, -1), Xn = {
3871
+ }, xn = ["id", "disabled"], Qn = /* @__PURE__ */ f("option", { value: void 0 }, null, -1), Yn = ["selected"], _n = ["selected"], Jn = {
3872
+ key: 3,
3873
+ class: "cl-w-full"
3874
+ }, Xn = /* @__PURE__ */ f("span", null, null, -1), es = {
3872
3875
  key: 4,
3873
3876
  class: "cl-w-full"
3874
- }, es = /* @__PURE__ */ f("span", null, null, -1), ls = ["id", "disabled"], ts = /* @__PURE__ */ f("option", { value: void 0 }, null, -1), os = ["value", "selected"], as = /* @__PURE__ */ P({
3877
+ }, ls = /* @__PURE__ */ f("span", null, null, -1), ts = ["id", "disabled"], os = /* @__PURE__ */ f("option", { value: void 0 }, null, -1), as = ["value", "selected"], ns = /* @__PURE__ */ P({
3875
3878
  __name: "cl-ui-grid-filter",
3876
3879
  props: {
3877
3880
  loading: { type: Boolean },
@@ -3892,7 +3895,7 @@ const Fn = {
3892
3895
  set: (h) => e("update:filter", h)
3893
3896
  }), s = D(() => t.column.type === "date" || t.column.type === "datetime" || t.column.type === "slot" && (t.column.slotType === "date" || t.column.slotType === "datetime")), r = D(() => t.column.type === "dateRange" || t.column.type === "slot" && t.column.slotType === "dateRange"), n = D(() => t.column.type === "list" || t.column.type === "slot" && t.column.slotType === "list"), g = D(() => n.value && t.column.listType === "number"), y = D({
3894
3897
  get() {
3895
- var v, $, _, x, ge, ae, V;
3898
+ var v, $, _, x, ge, ne, V;
3896
3899
  let h = (v = u.value) == null ? void 0 : v[0];
3897
3900
  if (h) {
3898
3901
  if (s.value) {
@@ -3916,7 +3919,7 @@ const Fn = {
3916
3919
  };
3917
3920
  }
3918
3921
  } else if (r.value && (((ge = t.filter) == null ? void 0 : ge.length) ?? 0) > 1) {
3919
- const H = (ae = u.value) == null ? void 0 : ae.find((te) => te.filterOperation === J.EQUAL_OR_GREATER_THAN), ie = (V = u.value) == null ? void 0 : V.find((te) => te.filterOperation === J.EQUAL_OR_LESS_THAN);
3922
+ const H = (ne = u.value) == null ? void 0 : ne.find((te) => te.filterOperation === J.EQUAL_OR_GREATER_THAN), ie = (V = u.value) == null ? void 0 : V.find((te) => te.filterOperation === J.EQUAL_OR_LESS_THAN);
3920
3923
  H && ie && (h = {
3921
3924
  filterOnColumn: t.column.field,
3922
3925
  filterOperation: J.EQUAL,
@@ -3935,15 +3938,15 @@ const Fn = {
3935
3938
  if (s.value) {
3936
3939
  const $ = h, _ = ($ == null ? void 0 : $.filterMethod) && S($.filterMethod, $.filterValue, "equal"), x = ($ == null ? void 0 : $.filterMethod) && S($.filterMethod, $.filterValue, "equalorlessthan"), ge = ($ == null ? void 0 : $.filterMethod) && S($.filterMethod, $.filterValue, "greaterthan");
3937
3940
  if (_) {
3938
- let ae = Z.fromISO($.filterValue, {
3941
+ let ne = Z.fromISO($.filterValue, {
3939
3942
  zone: t.timeZone ?? "UTC"
3940
3943
  }).set({
3941
3944
  second: 0,
3942
3945
  millisecond: 0
3943
3946
  });
3944
- const V = ae.toISO();
3945
- t.column.type === "date" || t.column.type === "slot" && t.column.slotType === "date" ? ae = ae.plus({ days: 1 }) : ae = ae.plus({ minutes: 1 });
3946
- const H = ae.toISO();
3947
+ const V = ne.toISO();
3948
+ t.column.type === "date" || t.column.type === "slot" && t.column.slotType === "date" ? ne = ne.plus({ days: 1 }) : ne = ne.plus({ minutes: 1 });
3949
+ const H = ne.toISO();
3947
3950
  v = [
3948
3951
  {
3949
3952
  filterOnColumn: t.column.field,
@@ -3959,18 +3962,18 @@ const Fn = {
3959
3962
  }
3960
3963
  ];
3961
3964
  } else if (x || ge) {
3962
- let ae = Z.fromISO($.filterValue, {
3965
+ let ne = Z.fromISO($.filterValue, {
3963
3966
  zone: t.timeZone ?? "UTC"
3964
3967
  }).set({
3965
3968
  second: 0,
3966
3969
  millisecond: 0
3967
3970
  });
3968
- t.column.type === "date" || t.column.type === "slot" && t.column.slotType === "date" ? ae = ae.plus({ days: 1 }) : ae = ae.plus({ minutes: 1 }), v = [
3971
+ t.column.type === "date" || t.column.type === "slot" && t.column.slotType === "date" ? ne = ne.plus({ days: 1 }) : ne = ne.plus({ minutes: 1 }), v = [
3969
3972
  {
3970
3973
  filterOnColumn: t.column.field,
3971
3974
  filterOperation: x ? J.EQUAL_OR_LESS_THAN : J.GREATER_THAN,
3972
3975
  filterMethod: x ? "equalorlessthan" : "greaterthan",
3973
- filterValue: ae.minus({ milliseconds: 1 }).toISO()
3976
+ filterValue: ne.minus({ milliseconds: 1 }).toISO()
3974
3977
  }
3975
3978
  ];
3976
3979
  }
@@ -4024,11 +4027,11 @@ const Fn = {
4024
4027
  if (y.value)
4025
4028
  _ = ((ge = y.value) == null ? void 0 : ge.filterValue) === x, $ = pe(k.value), $.filterValue = x;
4026
4029
  else if (x !== "" && typeof t.column.field < "u") {
4027
- const ae = i();
4030
+ const ne = i();
4028
4031
  $ = {
4029
4032
  filterOnColumn: t.column.field,
4030
- filterMethod: J[ae].replace("_", "").toLowerCase(),
4031
- filterOperation: ae,
4033
+ filterMethod: J[ne].replace("_", "").toLowerCase(),
4034
+ filterOperation: ne,
4032
4035
  filterValue: x
4033
4036
  };
4034
4037
  } else
@@ -4038,7 +4041,7 @@ const Fn = {
4038
4041
  function z(h, v) {
4039
4042
  let $ = (h == null ? void 0 : h.value) ?? v ?? 0;
4040
4043
  if (typeof $ == "string") {
4041
- const _ = t.column.format === ne.INTEGER, x = _ ? ne.DECIMAL : t.column.format;
4044
+ const _ = t.column.format === oe.INTEGER, x = (_ ? oe.DECIMAL : t.column.format) ?? oe.DECIMAL;
4042
4045
  $ = Nl($, x, { additionalOptions: {
4043
4046
  maximumFractionDigits: _ ? 0 : void 0,
4044
4047
  minimumFractionDigits: _ ? 0 : void 0
@@ -4102,25 +4105,26 @@ const Fn = {
4102
4105
  "time-zone": h.headerDisplayTimezone,
4103
4106
  "quick-date-scope": h.quickDateScope,
4104
4107
  "onUpdate:modelValue": v[2] || (v[2] = ($) => O($))
4105
- }, null, 8, ["id", "model-value", "disabled", "time-zone", "quick-date-scope"])) : h.column.type === "number" || h.column.type === "slot" && h.column.slotType === "number" ? (p(), W(Be, {
4106
- key: 3,
4107
- id: `${m(q)}-${h.column.name}`,
4108
- "model-value": C.value === "" || isNaN(+C.value) ? null : +C.value,
4109
- format: h.column.format === m(ne).INTEGER ? m(ne).DECIMAL : h.column.format,
4110
- precision: m(a)(m(d))[h.column.format ?? m(ne).DECIMAL].maximumFractionDigits,
4111
- class: "cl-border-none cl-font-normal cl-h-[2rem] cl-mb-0 cl-text-xs cl-w-full lg:cl-text-base",
4112
- disabled: h.loading,
4113
- readonly: h.loading,
4114
- "show-arrows": !1,
4115
- "allow-empty": !0,
4116
- "show-currency-symbol": !1,
4117
- "onUpdate:modelValue": v[3] || (v[3] = ($) => $ !== null ? z(null, $) : A(null, ""))
4118
- }, {
4119
- default: R(() => [
4120
- Jn
4121
- ]),
4122
- _: 1
4123
- }, 8, ["id", "model-value", "format", "precision", "disabled", "readonly"])) : h.column.type === "string" || h.column.type === "slot" && h.column.slotType === "string" ? (p(), b("div", Xn, [
4108
+ }, null, 8, ["id", "model-value", "disabled", "time-zone", "quick-date-scope"])) : h.column.type === "number" || h.column.type === "slot" && h.column.slotType === "number" ? (p(), b("div", Jn, [
4109
+ E(Be, {
4110
+ id: `${m(q)}-${h.column.name}`,
4111
+ "model-value": C.value === "" || isNaN(+C.value) ? null : +C.value,
4112
+ format: h.column.format === m(oe).INTEGER ? m(oe).DECIMAL : h.column.format,
4113
+ precision: m(a)(m(d))[h.column.format ?? m(oe).DECIMAL].maximumFractionDigits,
4114
+ class: "cl-border-none cl-font-normal cl-h-[2rem] cl-mb-0 cl-text-xs cl-w-full lg:cl-text-base",
4115
+ disabled: h.loading,
4116
+ readonly: h.loading,
4117
+ "show-arrows": !1,
4118
+ "allow-empty": !0,
4119
+ "show-currency-symbol": !1,
4120
+ "onUpdate:modelValue": v[3] || (v[3] = ($) => $ !== null ? z(null, $) : A(null, ""))
4121
+ }, {
4122
+ default: R(() => [
4123
+ Xn
4124
+ ]),
4125
+ _: 1
4126
+ }, 8, ["id", "model-value", "format", "precision", "disabled", "readonly"])
4127
+ ])) : h.column.type === "string" || h.column.type === "slot" && h.column.slotType === "string" ? (p(), b("div", es, [
4124
4128
  E(Se, {
4125
4129
  id: `${m(q)}-${h.column.name}`,
4126
4130
  "model-value": C.value,
@@ -4129,7 +4133,7 @@ const Fn = {
4129
4133
  "onUpdate:modelValue": v[4] || (v[4] = ($) => A(null, $))
4130
4134
  }, {
4131
4135
  default: R(() => [
4132
- es
4136
+ ls
4133
4137
  ]),
4134
4138
  _: 1
4135
4139
  }, 8, ["id", "model-value", "disabled"])
@@ -4140,13 +4144,13 @@ const Fn = {
4140
4144
  disabled: h.loading,
4141
4145
  onChange: v[5] || (v[5] = ($) => g.value ? z($.target) : A($.target))
4142
4146
  }, [
4143
- ts,
4147
+ os,
4144
4148
  (p(!0), b(Y, null, re(h.column.listEntries ?? [], ($) => (p(), b("option", {
4145
4149
  key: $.value,
4146
4150
  value: $.value,
4147
4151
  selected: C.value === $.value.toString()
4148
- }, N(m(c)($.translationKey)), 9, os))), 128))
4149
- ], 40, ls)) : U("", !0),
4152
+ }, N(m(c)($.translationKey)), 9, as))), 128))
4153
+ ], 40, ts)) : U("", !0),
4150
4154
  r.value ? U("", !0) : (p(), W(Gn, {
4151
4155
  key: 6,
4152
4156
  filter: k.value,
@@ -4157,7 +4161,7 @@ const Fn = {
4157
4161
  }, null, 8, ["filter", "loading", "column", "default-operation"]))
4158
4162
  ])) : U("", !0);
4159
4163
  }
4160
- }), ns = { class: "-cl-top-1 cl-bg-white cl-shadow-sm cl-sticky cl-z-20 lg:cl-bg-transparent lg:cl-relative lg:cl-shadow-none" }, ss = { class: "cl-hidden lg:cl-table-row" }, rs = ["onClick"], is = { class: "cl-flex cl-justify-end cl-w-full lg:cl-hidden" }, cs = { class: "cl-col-span-2 lg:cl-hidden" }, us = ["onClick"], ds = { class: "cl-font-normal cl-mr-1" }, ps = /* @__PURE__ */ P({
4164
+ }), ss = { class: "-cl-top-1 cl-bg-white cl-shadow-sm cl-sticky cl-z-20 lg:cl-bg-transparent lg:cl-relative lg:cl-shadow-none" }, rs = { class: "cl-hidden lg:cl-table-row" }, is = ["onClick"], cs = { class: "cl-flex cl-justify-end cl-w-full lg:cl-hidden" }, us = { class: "cl-col-span-2 lg:cl-hidden" }, ds = ["onClick"], ps = { class: "cl-font-normal cl-mr-1" }, fs = /* @__PURE__ */ P({
4161
4165
  __name: "cl-ui-grid-header",
4162
4166
  props: {
4163
4167
  request: {},
@@ -4195,8 +4199,8 @@ const Fn = {
4195
4199
  ], r.pageNumber = 1, a.value = r;
4196
4200
  }
4197
4201
  }
4198
- return (s, r) => (p(), b("thead", ns, [
4199
- f("tr", ss, [
4202
+ return (s, r) => (p(), b("thead", ss, [
4203
+ f("tr", rs, [
4200
4204
  (p(!0), b(Y, null, re(s.columns, (n, g) => (p(), b("th", {
4201
4205
  key: g,
4202
4206
  class: j(["cl-text-grey-3 cl-text-sm", {
@@ -4218,14 +4222,14 @@ const Fn = {
4218
4222
  }, null, 512), [
4219
4223
  [X, d(n, !1)]
4220
4224
  ])
4221
- ], 10, rs))), 128))
4225
+ ], 10, is))), 128))
4222
4226
  ]),
4223
4227
  f("tr", {
4224
4228
  class: j(["cl-border cl-border-grey-2 cl-flex cl-flex-wrap cl-p-2 lg:cl-border-none lg:cl-p-0 lg:cl-table-row", {
4225
4229
  "cl-hidden lg:cl-table-row": !s.filterPanelOpen
4226
4230
  }])
4227
4231
  }, [
4228
- f("div", is, [
4232
+ f("div", cs, [
4229
4233
  E(m(G), {
4230
4234
  class: "cl-text-grey-4 hover:cl-cursor-pointer hover:cl-text-link-default",
4231
4235
  icon: "ph:x",
@@ -4239,13 +4243,13 @@ const Fn = {
4239
4243
  "cl-hidden lg:cl-table-cell": !m(sl)(n)
4240
4244
  }])
4241
4245
  }, [
4242
- f("div", cs, N(n.caption), 1),
4246
+ f("div", us, N(n.caption), 1),
4243
4247
  m(Ze)(n) ? (p(), b("div", {
4244
4248
  key: 0,
4245
4249
  class: "cl-col-span-2 cl-gap-1 cl-span lg:cl-hidden",
4246
4250
  onClick: (y) => s.loading === !1 ? i(n.field) : void 0
4247
4251
  }, [
4248
- f("span", ds, N(m(c)("grid.sortBy")), 1),
4252
+ f("span", ps, N(m(c)("grid.sortBy")), 1),
4249
4253
  d(n, !0) ? (p(), W(m(G), {
4250
4254
  key: 0,
4251
4255
  class: "cl-cursor-pointer cl-inline-block",
@@ -4259,8 +4263,8 @@ const Fn = {
4259
4263
  class: "cl-cursor-pointer cl-inline-block",
4260
4264
  icon: "ph:minus"
4261
4265
  }))
4262
- ], 8, us)) : U("", !0),
4263
- E(as, {
4266
+ ], 8, ds)) : U("", !0),
4267
+ E(ns, {
4264
4268
  class: "cl-col-span-4",
4265
4269
  loading: s.loading,
4266
4270
  filter: a.value.filters.filter((y) => y.filterOnColumn === n.field),
@@ -4274,7 +4278,7 @@ const Fn = {
4274
4278
  ], 2)
4275
4279
  ]));
4276
4280
  }
4277
- }), fs = { class: "cl-flex cl-mb-2" }, ms = { class: "cl-basis-full cl-grow" }, gs = /* @__PURE__ */ f("span", null, null, -1), vs = /* @__PURE__ */ P({
4281
+ }), ms = { class: "cl-flex cl-mb-2" }, gs = { class: "cl-basis-full cl-grow" }, vs = /* @__PURE__ */ f("span", null, null, -1), bs = /* @__PURE__ */ P({
4278
4282
  __name: "cl-ui-grid-search",
4279
4283
  props: /* @__PURE__ */ ve({
4280
4284
  columns: {},
@@ -4308,8 +4312,8 @@ const Fn = {
4308
4312
  return (u, s) => {
4309
4313
  const r = Fe("icon");
4310
4314
  return M(u.$slots, "search", de(fe({ searchValue: e.value, performSearch: d })), () => [
4311
- f("div", fs, [
4312
- f("div", ms, [
4315
+ f("div", ms, [
4316
+ f("div", gs, [
4313
4317
  E(Se, {
4314
4318
  modelValue: e.value,
4315
4319
  "onUpdate:modelValue": s[0] || (s[0] = (n) => e.value = n),
@@ -4320,7 +4324,7 @@ const Fn = {
4320
4324
  onBlur: s[2] || (s[2] = (n) => d(e.value))
4321
4325
  }, {
4322
4326
  default: R(() => [
4323
- gs
4327
+ vs
4324
4328
  ]),
4325
4329
  _: 1
4326
4330
  }, 8, ["modelValue", "placeholder"])
@@ -4334,7 +4338,7 @@ const Fn = {
4334
4338
  ]);
4335
4339
  };
4336
4340
  }
4337
- }), bs = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-40" }, hs = { 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" }, ys = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, ws = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, ks = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, $s = { class: "cl-flex-1 cl-py-2" }, Cs = { class: "cl-py-2 cl-w-1/4" }, Ts = { class: "cl-py-2 cl-w-1/5" }, Os = { class: "cl-flex-1 cl-py-2" }, qs = { class: "cl-py-2 cl-w-1/4" }, Ss = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, Ds = { key: 1 }, Es = /* @__PURE__ */ P({
4341
+ }), hs = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-40" }, ys = { 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" }, ws = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, ks = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, $s = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, Cs = { class: "cl-flex-1 cl-py-2" }, Ts = { class: "cl-py-2 cl-w-1/4" }, Os = { class: "cl-py-2 cl-w-1/5" }, qs = { class: "cl-flex-1 cl-py-2" }, Ss = { class: "cl-py-2 cl-w-1/4" }, Ds = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, Es = { key: 1 }, As = /* @__PURE__ */ P({
4338
4342
  inheritAttrs: !1,
4339
4343
  __name: "cl-ui-grid-view-manager",
4340
4344
  props: {
@@ -4356,7 +4360,7 @@ const Fn = {
4356
4360
  d(n, s, g), e("update:columns", n);
4357
4361
  }
4358
4362
  return (s, r) => (p(), b(Y, null, [
4359
- E(be, oe(s.$attrs, {
4363
+ E(be, ae(s.$attrs, {
4360
4364
  class: "cl-w-full",
4361
4365
  size: "small",
4362
4366
  disabled: s.loading,
@@ -4370,33 +4374,33 @@ const Fn = {
4370
4374
  (p(), W(ol, { to: "body" }, [
4371
4375
  E(Ce, { name: "slide-left" }, {
4372
4376
  default: R(() => [
4373
- Q(f("div", bs, [
4374
- f("div", hs, [
4377
+ Q(f("div", hs, [
4378
+ f("div", ys, [
4375
4379
  E(m(G), {
4376
4380
  class: "cl-absolute cl-cursor-pointer cl-right-3 cl-text-off-white cl-top-3",
4377
4381
  icon: "ph:x",
4378
4382
  size: 16,
4379
4383
  onClick: r[1] || (r[1] = (n) => a.value = !1)
4380
4384
  }),
4381
- f("h3", ys, N(m(c)("grid.manageView")), 1),
4382
- f("ul", ws, [
4383
- f("li", ks, [
4384
- f("strong", $s, N(m(c)("grid.column")), 1),
4385
- f("strong", Cs, N(m(c)("grid.visible")), 1),
4386
- f("strong", Ts, N(m(c)("grid.order")), 1)
4385
+ f("h3", ws, N(m(c)("grid.manageView")), 1),
4386
+ f("ul", ks, [
4387
+ f("li", $s, [
4388
+ f("strong", Cs, N(m(c)("grid.column")), 1),
4389
+ f("strong", Ts, N(m(c)("grid.visible")), 1),
4390
+ f("strong", Os, N(m(c)("grid.order")), 1)
4387
4391
  ]),
4388
4392
  (p(!0), b(Y, null, re(s.columns, (n, g) => (p(), b("li", {
4389
4393
  key: g,
4390
4394
  class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full"
4391
4395
  }, [
4392
- f("div", Os, N(n.caption), 1),
4393
- f("div", qs, [
4396
+ f("div", qs, N(n.caption), 1),
4397
+ f("div", Ss, [
4394
4398
  E(rl, {
4395
4399
  "model-value": n.visible === void 0 || n.visible === !0,
4396
4400
  "onUpdate:modelValue": (y) => i(y, n)
4397
4401
  }, null, 8, ["model-value", "onUpdate:modelValue"])
4398
4402
  ]),
4399
- f("div", Ss, [
4403
+ f("div", Ds, [
4400
4404
  n.visible === void 0 || n.visible === !0 ? (p(), b(Y, { key: 0 }, [
4401
4405
  g !== 0 ? (p(), W(m(G), {
4402
4406
  key: 0,
@@ -4410,7 +4414,7 @@ const Fn = {
4410
4414
  icon: "ph:arrow-right",
4411
4415
  onClick: (y) => u(g, "up")
4412
4416
  }, null, 8, ["onClick"])) : U("", !0)
4413
- ], 64)) : (p(), b("em", Ds, N(m(c)("grid.hidden")), 1))
4417
+ ], 64)) : (p(), b("em", Es, N(m(c)("grid.hidden")), 1))
4414
4418
  ])
4415
4419
  ]))), 128))
4416
4420
  ])
@@ -4424,7 +4428,7 @@ const Fn = {
4424
4428
  ]))
4425
4429
  ], 64));
4426
4430
  }
4427
- }), As = { class: "cl-relative cl-w-full grid-wrapper lg:cl-min-h-fit" }, Vs = { class: "cl-absolute cl-flex cl-items-center cl-justify-center cl-min-h-full cl-p-28 cl-pt-0 cl-w-full" }, Ns = { class: "cl-overflow-x-auto cl-overscroll-x-none cl-pt-1" }, Is = { class: "cl-hidden lg:cl-table-column-group" }, Ms = /* @__PURE__ */ P({
4431
+ }), Vs = { class: "cl-relative cl-w-full grid-wrapper lg:cl-min-h-fit" }, Ns = { class: "cl-absolute cl-flex cl-items-center cl-justify-center cl-min-h-full cl-p-28 cl-pt-0 cl-w-full" }, Is = { class: "cl-overflow-x-auto cl-overscroll-x-none cl-pt-1" }, Ms = { class: "cl-hidden lg:cl-table-column-group" }, Rs = /* @__PURE__ */ P({
4428
4432
  __name: "cl-ui-grid",
4429
4433
  props: {
4430
4434
  columns: {},
@@ -4497,8 +4501,8 @@ const Fn = {
4497
4501
  };
4498
4502
  }
4499
4503
  }), A = I(((O = t.request.filters.find((q) => q.filterMethod === "andcontains" || q.filterOperation === J.AND_CONTAINS)) == null ? void 0 : O.filterValue) ?? ""), z = D(() => t.columns.filter((q) => (q.type === "string" || q.type === "slot" && q.slotType === "string") && q.searchable));
4500
- return (q, h) => (p(), b("div", As, [
4501
- z.value.length > 0 ? (p(), W(vs, {
4504
+ return (q, h) => (p(), b("div", Vs, [
4505
+ z.value.length > 0 ? (p(), W(bs, {
4502
4506
  key: 0,
4503
4507
  "search-value": A.value,
4504
4508
  "onUpdate:searchValue": h[0] || (h[0] = (v) => A.value = v),
@@ -4513,7 +4517,7 @@ const Fn = {
4513
4517
  }, 8, ["search-value", "request", "columns"])) : U("", !0),
4514
4518
  E(Ce, { name: "fade" }, {
4515
4519
  default: R(() => [
4516
- Q(f("div", Vs, [
4520
+ Q(f("div", Ns, [
4517
4521
  E(_e, { class: "after:!cl-h-20 after:!cl-w-20 cl-h-20 cl-w-20" })
4518
4522
  ], 512), [
4519
4523
  [X, q.loading]
@@ -4536,7 +4540,7 @@ const Fn = {
4536
4540
  M(q.$slots, "additional-grid-actions", de(fe(v)))
4537
4541
  ]),
4538
4542
  "view-manager": R(() => [
4539
- E(Es, {
4543
+ E(As, {
4540
4544
  columns: i.value,
4541
4545
  "onUpdate:columns": h[2] || (h[2] = (v) => i.value = v),
4542
4546
  loading: q.loading
@@ -4544,20 +4548,20 @@ const Fn = {
4544
4548
  ]),
4545
4549
  _: 3
4546
4550
  }, 8, ["edit-mode", "filter-panel-open", "columns", "options", "request", "loading"]),
4547
- f("div", Ns, [
4551
+ f("div", Is, [
4548
4552
  f("table", {
4549
4553
  class: j(["cl-delay-75 cl-min-h-[276px] cl-overflow-x-auto cl-overscroll-x-none cl-text-left cl-transition-opacity cl-w-full", {
4550
4554
  "cl-opacity-40 cl-pointer-events-none": q.loading
4551
4555
  }])
4552
4556
  }, [
4553
- f("colgroup", Is, [
4557
+ f("colgroup", Ms, [
4554
4558
  (p(!0), b(Y, null, re(u.value, (v, $) => (p(), b("col", {
4555
4559
  key: $,
4556
4560
  style: Jl(n(v.name)),
4557
4561
  span: 1
4558
4562
  }, null, 4))), 128))
4559
4563
  ]),
4560
- E(ps, {
4564
+ E(fs, {
4561
4565
  request: B.value,
4562
4566
  "onUpdate:request": h[5] || (h[5] = (v) => B.value = v),
4563
4567
  "filter-panel-open": T.value,
@@ -4602,7 +4606,7 @@ const Fn = {
4602
4606
  }, null, 8, ["request", "loading", "show-unsaved-changes-warning", "data"])
4603
4607
  ]));
4604
4608
  }
4605
- }), Rs = { class: "cl-absolute cl-bg-secondary-default cl-flex cl-h-20 cl-items-center cl-justify-between cl-left-0 cl-top-0 cl-w-full cl-z-40" }, Us = /* @__PURE__ */ P({
4609
+ }), Us = { class: "cl-absolute cl-bg-secondary-default cl-flex cl-h-20 cl-items-center cl-justify-between cl-left-0 cl-top-0 cl-w-full cl-z-40" }, js = /* @__PURE__ */ P({
4606
4610
  __name: "cl-ui-header",
4607
4611
  props: {
4608
4612
  isOpen: { type: Boolean }
@@ -4612,7 +4616,7 @@ const Fn = {
4612
4616
  const t = l, e = o, c = I();
4613
4617
  return nl(c, () => {
4614
4618
  (t.isOpen ?? !1) && e("open-click");
4615
- }), (a, d) => (p(), b("header", Rs, [
4619
+ }), (a, d) => (p(), b("header", Us, [
4616
4620
  M(a.$slots, "logo"),
4617
4621
  f("div", {
4618
4622
  ref_key: "headerMenuElement",
@@ -4625,15 +4629,15 @@ const Fn = {
4625
4629
  ], 512)
4626
4630
  ]));
4627
4631
  }
4628
- }), js = { class: "cl-bg-transparent cl-flex cl-items-center cl-select-none hover:cl-bg-opacity-10 hover:cl-bg-white md:cl-min-w-[320px]" }, zs = ["src"], Ls = {
4632
+ }), zs = { class: "cl-bg-transparent cl-flex cl-items-center cl-select-none hover:cl-bg-opacity-10 hover:cl-bg-white md:cl-min-w-[320px]" }, Ls = ["src"], Fs = {
4629
4633
  key: 0,
4630
4634
  id: "cl-ui-header-menu-username",
4631
4635
  class: "cl-text-ellipsis cl-whitespace-nowrap"
4632
- }, Fs = {
4636
+ }, Bs = {
4633
4637
  key: 1,
4634
4638
  id: "cl-ui-header-menu-group",
4635
4639
  class: "cl-text-ellipsis cl-text-xs cl-whitespace-nowrap"
4636
- }, Bs = { class: "cl-content-center cl-flex cl-h-20 cl-items-center cl-justify-center cl-justify-items-center cl-transition-all cl-w-10 md:cl-ml-4 md:cl-w-20" }, Ps = { class: "cl-absolute cl-bg-white cl-right-0 cl-shadow-2xl cl-top-20 cl-w-full cl-z-20" }, Hs = /* @__PURE__ */ P({
4640
+ }, Ps = { class: "cl-content-center cl-flex cl-h-20 cl-items-center cl-justify-center cl-justify-items-center cl-transition-all cl-w-10 md:cl-ml-4 md:cl-w-20" }, Hs = { class: "cl-absolute cl-bg-white cl-right-0 cl-shadow-2xl cl-top-20 cl-w-full cl-z-20" }, Ws = /* @__PURE__ */ P({
4637
4641
  __name: "cl-ui-header-menu",
4638
4642
  props: {
4639
4643
  username: { default: "" },
@@ -4649,12 +4653,12 @@ const Fn = {
4649
4653
  "cl-bg-blue-light": o.colour === "secondary"
4650
4654
  }])
4651
4655
  }, [
4652
- f("div", js, [
4656
+ f("div", zs, [
4653
4657
  o.image ? (p(), b("img", {
4654
4658
  key: 0,
4655
4659
  src: o.image,
4656
4660
  class: "cl-hidden cl-m-4 cl-max-h-12 cl-max-w-12 cl-ring-2 cl-ring-white cl-rounded-full md:cl-block"
4657
- }, null, 8, zs)) : (p(), W(m(G), {
4661
+ }, null, 8, Ls)) : (p(), W(m(G), {
4658
4662
  key: 1,
4659
4663
  class: "cl-hidden cl-m-4 cl-text-white md:cl-block",
4660
4664
  icon: "ph:user-circle",
@@ -4667,10 +4671,10 @@ const Fn = {
4667
4671
  "cl-text-white": o.colour === "secondary"
4668
4672
  }])
4669
4673
  }, [
4670
- o.username ? (p(), b("div", Ls, N(o.username), 1)) : U("", !0),
4671
- o.group ? (p(), b("div", Fs, N(o.group), 1)) : U("", !0)
4674
+ o.username ? (p(), b("div", Fs, N(o.username), 1)) : U("", !0),
4675
+ o.group ? (p(), b("div", Bs, N(o.group), 1)) : U("", !0)
4672
4676
  ], 2),
4673
- f("div", Bs, [
4677
+ f("div", Ps, [
4674
4678
  E(m(G), {
4675
4679
  class: j(["cl-transform-gpu cl-transition-transform", {
4676
4680
  "cl-rotate-180": o.isOpen,
@@ -4683,7 +4687,7 @@ const Fn = {
4683
4687
  ]),
4684
4688
  E(Ce, { name: "fade" }, {
4685
4689
  default: R(() => [
4686
- Q(f("div", Ps, [
4690
+ Q(f("div", Hs, [
4687
4691
  M(o.$slots, "default")
4688
4692
  ], 512), [
4689
4693
  [X, o.isOpen]
@@ -4693,10 +4697,10 @@ const Fn = {
4693
4697
  })
4694
4698
  ], 2));
4695
4699
  }
4696
- }), Ws = [
4700
+ }), Zs = [
4697
4701
  "default",
4698
4702
  "secondary"
4699
- ], Zs = [
4703
+ ], Gs = [
4700
4704
  "button",
4701
4705
  "checkbox",
4702
4706
  "color",
@@ -4718,24 +4722,24 @@ const Fn = {
4718
4722
  function tl(l) {
4719
4723
  return /[a-z]{2}-[A-Z]{2}/gm.test(l.localeCode);
4720
4724
  }
4721
- function Gs(l) {
4725
+ function Ks(l) {
4722
4726
  let o = Array.isArray(l);
4723
4727
  if (o) {
4724
4728
  for (const t of l)
4725
- if (!Ks(t)) {
4729
+ if (!xs(t)) {
4726
4730
  o = !1;
4727
4731
  break;
4728
4732
  }
4729
4733
  }
4730
4734
  return o;
4731
4735
  }
4732
- function Ks(l) {
4736
+ function xs(l) {
4733
4737
  return typeof l.name == "string" && typeof l.nativeName == "string" && typeof l.localeCode == "string";
4734
4738
  }
4735
- const xs = {
4739
+ const Qs = {
4736
4740
  key: 0,
4737
4741
  class: "cl-flex cl-relative cl-select-none cl-w-auto cl-z-30"
4738
- }, Qs = { class: "cl-absolute cl-bg-white cl-border cl-border-grey-0 cl-overflow-hidden cl-right-0 cl-rounded cl-shadow-xl cl-text-black cl-top-6 cl-z-30" }, Ys = ["data-localename", "data-localecode", "onClick"], _s = { class: "cl-text-xs" }, Js = /* @__PURE__ */ P({
4742
+ }, Ys = { class: "cl-absolute cl-bg-white cl-border cl-border-grey-0 cl-overflow-hidden cl-right-0 cl-rounded cl-shadow-xl cl-text-black cl-top-6 cl-z-30" }, _s = ["data-localename", "data-localecode", "onClick"], Js = { class: "cl-text-xs" }, Xs = /* @__PURE__ */ P({
4739
4743
  __name: "cl-ui-language-switcher",
4740
4744
  props: {
4741
4745
  supportedLanguages: {},
@@ -4754,7 +4758,7 @@ const xs = {
4754
4758
  }
4755
4759
  return le(() => t.disabled, (r) => {
4756
4760
  r && (a.value = !1);
4757
- }), (r, n) => d.value !== null && m(tl)(d.value) ? (p(), b("div", xs, [
4761
+ }), (r, n) => d.value !== null && m(tl)(d.value) ? (p(), b("div", Qs, [
4758
4762
  f("div", {
4759
4763
  class: j(["cl-flex cl-items-center", {
4760
4764
  "cl-cursor-pointer": !r.disabled
@@ -4769,7 +4773,7 @@ const xs = {
4769
4773
  ], 2),
4770
4774
  E(Ce, { name: "fade" }, {
4771
4775
  default: R(() => [
4772
- Q(f("div", Qs, [
4776
+ Q(f("div", Ys, [
4773
4777
  (p(!0), b(Y, null, re(i.value, (g, y) => (p(), b("div", {
4774
4778
  key: y,
4775
4779
  class: "cl-border-b cl-border-grey-0 cl-cursor-pointer cl-flex cl-items-center cl-justify-center cl-p-1 cl-text-center cl-transition-colors cl-w-28 hover:cl-bg-grey-0 last-child:cl-border-b-0 last:cl-border-b-0 lg:cl-p-2",
@@ -4779,8 +4783,8 @@ const xs = {
4779
4783
  c.value = g.localeCode, s(), e("language-select", g.localeCode);
4780
4784
  }
4781
4785
  }, [
4782
- f("span", _s, N(g.nativeName), 1)
4783
- ], 8, Ys))), 128))
4786
+ f("span", Js, N(g.nativeName), 1)
4787
+ ], 8, _s))), 128))
4784
4788
  ], 512), [
4785
4789
  [X, a.value]
4786
4790
  ])
@@ -4789,13 +4793,13 @@ const xs = {
4789
4793
  })
4790
4794
  ])) : U("", !0);
4791
4795
  }
4792
- }), Xs = { class: "cl-relative" }, er = { class: "cl-h-full cl-z-0 xl:cl-h-screen" }, lr = { class: "cl-absolute cl-bg-secondary-default cl-gap-y-1 cl-grid cl-grid-cols-1 cl-left-0 cl-opacity-95 cl-p-6 cl-top-0 cl-w-full cl-z-10 lg:cl-gap-x-1 lg:cl-grid-cols-10 lg:cl-p-10" }, tr = { class: "cl-col-span-10 lg:cl-col-span-3" }, or = {
4796
+ }), er = { class: "cl-relative" }, lr = { class: "cl-h-full cl-z-0 xl:cl-h-screen" }, tr = { class: "cl-absolute cl-bg-secondary-default cl-gap-y-1 cl-grid cl-grid-cols-1 cl-left-0 cl-opacity-95 cl-p-6 cl-top-0 cl-w-full cl-z-10 lg:cl-gap-x-1 lg:cl-grid-cols-10 lg:cl-p-10" }, or = { class: "cl-col-span-10 lg:cl-col-span-3" }, ar = {
4793
4797
  key: 0,
4794
4798
  class: "cl-col-span-10 cl-flex cl-items-start cl-justify-end cl-text-white lg:cl-col-span-1 lg:cl-p-2"
4795
- }, ar = { class: "cl-col-span-3" }, nr = { class: "cl-relative cl-text-grey-4" }, sr = { class: "cl-w-full" }, rr = /* @__PURE__ */ f("span", null, null, -1), ir = {
4799
+ }, nr = { class: "cl-col-span-3" }, sr = { class: "cl-relative cl-text-grey-4" }, rr = { class: "cl-w-full" }, ir = /* @__PURE__ */ f("span", null, null, -1), cr = {
4796
4800
  key: 0,
4797
4801
  class: "cl-bg-primary-lighter cl-mt-1 cl-rounded-md cl-text-center cl-text-secondary-default cl-text-xs cl-w-full"
4798
- }, cr = { class: "cl-col-span-3" }, ur = { class: "cl-relative cl-text-grey-4" }, dr = /* @__PURE__ */ f("span", null, null, -1), pr = { class: "cl-col-span-10 cl-emphasis-danger cl-mt-10 cl-p-3 cl-rounded-md cl-text-sm md:cl-mt-3" }, fr = /* @__PURE__ */ P({
4802
+ }, ur = { class: "cl-col-span-3" }, dr = { class: "cl-relative cl-text-grey-4" }, pr = /* @__PURE__ */ f("span", null, null, -1), fr = { class: "cl-col-span-10 cl-emphasis-danger cl-mt-10 cl-p-3 cl-rounded-md cl-text-sm md:cl-mt-3" }, mr = /* @__PURE__ */ P({
4799
4803
  __name: "cl-ui-login",
4800
4804
  props: {
4801
4805
  errors: { default: () => [] },
@@ -4817,15 +4821,15 @@ const xs = {
4817
4821
  return le([
4818
4822
  c,
4819
4823
  a
4820
- ], s), (r, n) => (p(), b("div", Xs, [
4821
- f("div", er, [
4824
+ ], s), (r, n) => (p(), b("div", er, [
4825
+ f("div", lr, [
4822
4826
  M(r.$slots, "background")
4823
4827
  ]),
4824
- f("form", lr, [
4825
- f("div", tr, [
4828
+ f("form", tr, [
4829
+ f("div", or, [
4826
4830
  M(r.$slots, "logo")
4827
4831
  ]),
4828
- r.$slots["language-switcher"] ? (p(), b("div", or, [
4832
+ r.$slots["language-switcher"] ? (p(), b("div", ar, [
4829
4833
  M(r.$slots, "language-switcher")
4830
4834
  ])) : U("", !0),
4831
4835
  f("div", {
@@ -4834,14 +4838,14 @@ const xs = {
4834
4838
  "cl-col-span-6": r.$slots["language-switcher"]
4835
4839
  }])
4836
4840
  }, [
4837
- f("div", ar, [
4838
- f("div", nr, [
4841
+ f("div", nr, [
4842
+ f("div", sr, [
4839
4843
  E(m(G), {
4840
4844
  class: "cl-absolute cl-left-3 cl-top-3 cl-z-10",
4841
4845
  icon: "ph:user",
4842
4846
  size: 18
4843
4847
  }),
4844
- f("div", sr, [
4848
+ f("div", rr, [
4845
4849
  E(Se, {
4846
4850
  id: "cl-ui-login-usernameinput",
4847
4851
  modelValue: c.value,
@@ -4857,16 +4861,16 @@ const xs = {
4857
4861
  autocomplete: "username"
4858
4862
  }, {
4859
4863
  default: R(() => [
4860
- rr
4864
+ ir
4861
4865
  ]),
4862
4866
  _: 1
4863
4867
  }, 8, ["modelValue", "class", "errors", "placeholder"]),
4864
- i.value ? (p(), b("div", ir, N(m(e)("login.validEmail")), 1)) : U("", !0)
4868
+ i.value ? (p(), b("div", cr, N(m(e)("login.validEmail")), 1)) : U("", !0)
4865
4869
  ])
4866
4870
  ])
4867
4871
  ]),
4868
- f("div", cr, [
4869
- f("div", ur, [
4872
+ f("div", ur, [
4873
+ f("div", dr, [
4870
4874
  E(m(G), {
4871
4875
  class: "cl-absolute cl-left-3 cl-top-3 cl-z-10",
4872
4876
  icon: "ph:lock",
@@ -4900,7 +4904,7 @@ const xs = {
4900
4904
  autocomplete: "current-password"
4901
4905
  }, {
4902
4906
  default: R(() => [
4903
- dr
4907
+ pr
4904
4908
  ]),
4905
4909
  _: 1
4906
4910
  }, 8, ["modelValue", "class", "type", "placeholder"])
@@ -4930,7 +4934,7 @@ const xs = {
4930
4934
  default: R(() => {
4931
4935
  var g;
4932
4936
  return [
4933
- Q(f("span", pr, [
4937
+ Q(f("span", fr, [
4934
4938
  (p(!0), b(Y, null, re(r.errors, (y, k) => (p(), b("div", {
4935
4939
  id: "cl-ui-login-errors",
4936
4940
  key: k,
@@ -4946,19 +4950,19 @@ const xs = {
4946
4950
  ])
4947
4951
  ]));
4948
4952
  }
4949
- }), mr = [
4953
+ }), gr = [
4950
4954
  "x-small",
4951
4955
  "small",
4952
4956
  "medium",
4953
4957
  "large"
4954
- ], gr = [
4958
+ ], vr = [
4955
4959
  "primary",
4956
4960
  "secondary",
4957
4961
  "white"
4958
- ], vr = {
4962
+ ], br = {
4959
4963
  key: 0,
4960
4964
  class: "cl-h-0 cl-w-0"
4961
- }, br = { class: "cl-relative cl-w-full" }, hr = /* @__PURE__ */ P({
4965
+ }, hr = { class: "cl-relative cl-w-full" }, yr = /* @__PURE__ */ P({
4962
4966
  __name: "cl-ui-navigation",
4963
4967
  props: {
4964
4968
  colour: { default: "default" }
@@ -5018,9 +5022,9 @@ const xs = {
5018
5022
  "cl-bg-blue-dark": C.colour === "secondary"
5019
5023
  }])
5020
5024
  }, [
5021
- M(C.$slots, "icon", oe({ navcolour: C.colour }, { groupIsOpen: d, toggleOpen: i }), void 0, !0)
5025
+ M(C.$slots, "icon", ae({ navcolour: C.colour }, { groupIsOpen: d, toggleOpen: i }), void 0, !0)
5022
5026
  ], 2),
5023
- r.value ? (p(), b("div", vr)) : U("", !0),
5027
+ r.value ? (p(), b("div", br)) : U("", !0),
5024
5028
  E(Ce, { name: "slide-right" }, {
5025
5029
  default: R(() => [
5026
5030
  Q(f("div", {
@@ -5029,7 +5033,7 @@ const xs = {
5029
5033
  "cl-absolute cl-left-20 cl-shadow-lg": !s.value
5030
5034
  }])
5031
5035
  }, [
5032
- f("div", br, [
5036
+ f("div", hr, [
5033
5037
  f("span", {
5034
5038
  class: "cl-absolute cl-cursor-pointer cl-hidden cl-right-0 cl-top-1.5 lg:cl-block",
5035
5039
  onClick: T[0] || (T[0] = () => g())
@@ -5052,7 +5056,7 @@ const xs = {
5052
5056
  })
5053
5057
  ], 512));
5054
5058
  }
5055
- }), yr = /* @__PURE__ */ ye(hr, [["__scopeId", "data-v-db3283cd"]]), wr = /* @__PURE__ */ P({
5059
+ }), wr = /* @__PURE__ */ ye(yr, [["__scopeId", "data-v-db3283cd"]]), kr = /* @__PURE__ */ P({
5056
5060
  __name: "cl-ui-navigation-icon",
5057
5061
  props: {
5058
5062
  iconValue: {},
@@ -5075,10 +5079,10 @@ const xs = {
5075
5079
  }, null, 8, ["icon"])
5076
5080
  ], 2));
5077
5081
  }
5078
- }), kr = {
5082
+ }), $r = {
5079
5083
  key: 0,
5080
5084
  class: "cl-font-bold cl-leading-8 cl-mb-8 cl-pr-8 cl-select-none cl-text-lg cl-text-secondary-default"
5081
- }, $r = { class: "cl-flex cl-flex-wrap cl-space-y-8 cl-text-sm cl-w-full" }, Cr = /* @__PURE__ */ P({
5085
+ }, Cr = { class: "cl-flex cl-flex-wrap cl-space-y-8 cl-text-sm cl-w-full" }, Tr = /* @__PURE__ */ P({
5082
5086
  __name: "cl-ui-navigation-group",
5083
5087
  props: {
5084
5088
  open: { type: Boolean }
@@ -5089,35 +5093,35 @@ const xs = {
5089
5093
  "cl-hidden": !o.open
5090
5094
  })
5091
5095
  }, [
5092
- o.$slots.title ? (p(), b("div", kr, [
5096
+ o.$slots.title ? (p(), b("div", $r, [
5093
5097
  M(o.$slots, "title")
5094
5098
  ])) : U("", !0),
5095
- f("div", $r, [
5099
+ f("div", Cr, [
5096
5100
  M(o.$slots, "default")
5097
5101
  ])
5098
5102
  ], 2));
5099
5103
  }
5100
- }), Tr = {}, Or = { class: "cl-w-full" }, qr = {
5104
+ }), Or = {}, qr = { class: "cl-w-full" }, Sr = {
5101
5105
  key: 0,
5102
5106
  class: "cl-font-bold cl-mb-4 cl-select-none"
5103
- }, Sr = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
5104
- function Dr(l, o) {
5105
- return p(), b("div", Or, [
5106
- l.$slots.title ? (p(), b("div", qr, [
5107
+ }, Dr = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
5108
+ function Er(l, o) {
5109
+ return p(), b("div", qr, [
5110
+ l.$slots.title ? (p(), b("div", Sr, [
5107
5111
  M(l.$slots, "title")
5108
5112
  ])) : U("", !0),
5109
- f("span", Sr, [
5113
+ f("span", Dr, [
5110
5114
  M(l.$slots, "default")
5111
5115
  ])
5112
5116
  ]);
5113
5117
  }
5114
- const Er = /* @__PURE__ */ ye(Tr, [["render", Dr]]), Ar = {}, Vr = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-primary-darker" };
5115
- function Nr(l, o) {
5116
- return p(), b("div", Vr, [
5118
+ const Ar = /* @__PURE__ */ ye(Or, [["render", Er]]), Vr = {}, Nr = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-primary-darker" };
5119
+ function Ir(l, o) {
5120
+ return p(), b("div", Nr, [
5117
5121
  M(l.$slots, "default")
5118
5122
  ]);
5119
5123
  }
5120
- const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5124
+ const Mr = /* @__PURE__ */ ye(Vr, [["render", Ir]]), Rr = /* @__PURE__ */ P({
5121
5125
  __name: "cl-ui-tab",
5122
5126
  props: {
5123
5127
  colour: { default: "default" },
@@ -5216,7 +5220,7 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5216
5220
  ])
5217
5221
  ], 2));
5218
5222
  }
5219
- }), Rr = ["inert"], Ur = /* @__PURE__ */ P({
5223
+ }), Ur = ["inert"], jr = /* @__PURE__ */ P({
5220
5224
  __name: "cl-ui-tab-header",
5221
5225
  props: {
5222
5226
  open: { type: Boolean },
@@ -5244,35 +5248,35 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5244
5248
  M(e.$slots, "default", {}, () => [
5245
5249
  ue(N(e.title), 1)
5246
5250
  ])
5247
- ], 10, Rr));
5251
+ ], 10, Ur));
5248
5252
  }
5249
- }), jr = { key: 0 }, zr = { class: "cl-font-bold cl-mb-4" }, Lr = /* @__PURE__ */ P({
5253
+ }), zr = { key: 0 }, Lr = { class: "cl-font-bold cl-mb-4" }, Fr = /* @__PURE__ */ P({
5250
5254
  __name: "cl-ui-tab-content",
5251
5255
  props: {
5252
5256
  open: { type: Boolean },
5253
5257
  title: { default: "" }
5254
5258
  },
5255
5259
  setup(l) {
5256
- return (o, t) => o.open ? (p(), b("div", jr, [
5260
+ return (o, t) => o.open ? (p(), b("div", zr, [
5257
5261
  M(o.$slots, "header", {}, () => [
5258
- f("h4", zr, N(o.title), 1)
5262
+ f("h4", Lr, N(o.title), 1)
5259
5263
  ]),
5260
5264
  M(o.$slots, "default")
5261
5265
  ])) : U("", !0);
5262
5266
  }
5263
- }), Fr = [
5267
+ }), Br = [
5264
5268
  "default",
5265
5269
  "primary",
5266
5270
  "secondary",
5267
5271
  "danger",
5268
5272
  "blue"
5269
- ], Br = [
5273
+ ], Pr = [
5270
5274
  "left",
5271
5275
  "right"
5272
- ], Pr = [
5276
+ ], Hr = [
5273
5277
  "horizontal",
5274
5278
  "vertical"
5275
- ], Hr = { class: "cl-block cl-h-full cl-w-full" }, Wr = ["multiple", "accept", "disabled"], Zr = ["multiple", "accept", "disabled"], Gr = /* @__PURE__ */ P({
5279
+ ], Wr = { class: "cl-block cl-h-full cl-w-full" }, Zr = ["multiple", "accept", "disabled"], Gr = ["multiple", "accept", "disabled"], Kr = /* @__PURE__ */ P({
5276
5280
  inheritAttrs: !1,
5277
5281
  __name: "cl-ui-file-uploader",
5278
5282
  props: {
@@ -5316,8 +5320,8 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5316
5320
  function r() {
5317
5321
  u.value && (u.value.value = ""), s.value && (s.value.value = "");
5318
5322
  }
5319
- return (n, g) => (p(), b("div", Hr, [
5320
- n.uploaderType === "dragDrop" ? (p(), b("label", oe({ key: 0 }, n.$attrs, {
5323
+ return (n, g) => (p(), b("div", Wr, [
5324
+ n.uploaderType === "dragDrop" ? (p(), b("label", ae({ key: 0 }, n.$attrs, {
5321
5325
  role: "button",
5322
5326
  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", {
5323
5327
  "cl-bg-grey-3 cl-border-grey-5 cl-cursor-default": n.disabled === !0,
@@ -5338,7 +5342,7 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5338
5342
  accept: n.acceptedFileTypes,
5339
5343
  disabled: n.disabled,
5340
5344
  onInput: a
5341
- }, null, 40, Wr),
5345
+ }, null, 40, Zr),
5342
5346
  M(n.$slots, "default")
5343
5347
  ], 16)) : (p(), b("input", {
5344
5348
  key: 1,
@@ -5353,10 +5357,10 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5353
5357
  accept: n.acceptedFileTypes,
5354
5358
  disabled: n.disabled,
5355
5359
  onInput: a
5356
- }, null, 42, Zr))
5360
+ }, null, 42, Gr))
5357
5361
  ]));
5358
5362
  }
5359
- }), Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5363
+ }), xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5360
5364
  __proto__: null,
5361
5365
  FilterOperation: J,
5362
5366
  allQuickDates: Bl,
@@ -5370,56 +5374,56 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5370
5374
  clUiButton: be,
5371
5375
  clUiCard: Rt,
5372
5376
  clUiComboBox: bo,
5373
- clUiFileUploader: Gr,
5377
+ clUiFileUploader: Kr,
5374
5378
  clUiFooter: So,
5375
- clUiGrid: Ms,
5376
- clUiHeader: Us,
5377
- clUiHeaderMenu: Hs,
5379
+ clUiGrid: Rs,
5380
+ clUiHeader: js,
5381
+ clUiHeaderMenu: Ws,
5378
5382
  clUiInput: ll,
5379
5383
  clUiInputCheckbox: rl,
5380
5384
  clUiInputDateTime: an,
5381
5385
  clUiInputNumber: Be,
5382
5386
  clUiInputRange: on,
5383
5387
  clUiInputText: Se,
5384
- clUiLanguageSwitcher: Js,
5388
+ clUiLanguageSwitcher: Xs,
5385
5389
  clUiLoadingSpinner: _e,
5386
- clUiLogin: fr,
5390
+ clUiLogin: mr,
5387
5391
  clUiModal: Al,
5388
- clUiNavigation: yr,
5389
- clUiNavigationGroup: Cr,
5390
- clUiNavigationIcon: wr,
5391
- clUiNavigationItem: Ir,
5392
- clUiNavigationSection: Er,
5392
+ clUiNavigation: wr,
5393
+ clUiNavigationGroup: Tr,
5394
+ clUiNavigationIcon: kr,
5395
+ clUiNavigationItem: Mr,
5396
+ clUiNavigationSection: Ar,
5393
5397
  clUiNotification: El,
5394
- clUiTab: Mr,
5395
- clUiTabContent: Lr,
5396
- clUiTabHeader: Ur,
5398
+ clUiTab: Rr,
5399
+ clUiTabContent: Fr,
5400
+ clUiTabHeader: jr,
5397
5401
  currentQuickDates: je,
5398
5402
  dateTimeCalendarTypes: Pl,
5399
5403
  filterMethodTypes: Rn,
5400
5404
  futureQuickDates: Qe,
5401
5405
  gridColumnTypes: Nn,
5402
- headerColour: Ws,
5406
+ headerColour: Zs,
5403
5407
  inputTextTypes: Ka,
5404
- inputTypes: Zs,
5408
+ inputTypes: Gs,
5405
5409
  isComboBoxCreateRequest: yo,
5406
5410
  isComboBoxItem: ho,
5407
5411
  isFilterRequest: zn,
5408
5412
  isFilterResponse: Ln,
5409
5413
  isGridColumn: Hl,
5410
5414
  isGridColumnArray: In,
5411
- isLanguageArray: Gs,
5415
+ isLanguageArray: Ks,
5412
5416
  isLanguageLocaleFormat: tl,
5413
- modalColours: gr,
5414
- modalSizes: mr,
5417
+ modalColours: vr,
5418
+ modalSizes: gr,
5415
5419
  pastQuickDates: xe,
5416
5420
  quickDateNames: Pa,
5417
5421
  stringFormats: Mn,
5418
- tabColours: Fr,
5419
- tabLayout: Pr,
5420
- tabScroll: Br
5421
- }, Symbol.toStringTag, { value: "Module" })), ci = (l) => {
5422
- l.use(he), l.component("Icon", G), Object.entries(Kr).forEach(([
5422
+ tabColours: Br,
5423
+ tabLayout: Hr,
5424
+ tabScroll: Pr
5425
+ }, Symbol.toStringTag, { value: "Module" })), ui = (l) => {
5426
+ l.use(he), l.component("Icon", G), Object.entries(xr).forEach(([
5423
5427
  o,
5424
5428
  t
5425
5429
  ]) => {
@@ -5427,10 +5431,10 @@ const Ir = /* @__PURE__ */ ye(Ar, [["render", Nr]]), Mr = /* @__PURE__ */ P({
5427
5431
  });
5428
5432
  };
5429
5433
  export {
5430
- ii as CitrusLimeUI,
5434
+ ci as CitrusLimeUI,
5431
5435
  ce as DateFormat,
5432
5436
  J as FilterOperation,
5433
- ne as NumberFormat,
5437
+ oe as NumberFormat,
5434
5438
  Bl as allQuickDates,
5435
5439
  Nt as buttonColours,
5436
5440
  It as buttonSizes,
@@ -5442,34 +5446,34 @@ export {
5442
5446
  be as clUiButton,
5443
5447
  Rt as clUiCard,
5444
5448
  bo as clUiComboBox,
5445
- Gr as clUiFileUploader,
5449
+ Kr as clUiFileUploader,
5446
5450
  So as clUiFooter,
5447
- Ms as clUiGrid,
5448
- Us as clUiHeader,
5449
- Hs as clUiHeaderMenu,
5451
+ Rs as clUiGrid,
5452
+ js as clUiHeader,
5453
+ Ws as clUiHeaderMenu,
5450
5454
  ll as clUiInput,
5451
5455
  rl as clUiInputCheckbox,
5452
5456
  an as clUiInputDateTime,
5453
5457
  Be as clUiInputNumber,
5454
5458
  on as clUiInputRange,
5455
5459
  Se as clUiInputText,
5456
- Js as clUiLanguageSwitcher,
5460
+ Xs as clUiLanguageSwitcher,
5457
5461
  _e as clUiLoadingSpinner,
5458
- fr as clUiLogin,
5462
+ mr as clUiLogin,
5459
5463
  Al as clUiModal,
5460
- yr as clUiNavigation,
5461
- Cr as clUiNavigationGroup,
5462
- wr as clUiNavigationIcon,
5463
- Ir as clUiNavigationItem,
5464
- Er as clUiNavigationSection,
5464
+ wr as clUiNavigation,
5465
+ Tr as clUiNavigationGroup,
5466
+ kr as clUiNavigationIcon,
5467
+ Mr as clUiNavigationItem,
5468
+ Ar as clUiNavigationSection,
5465
5469
  El as clUiNotification,
5466
- Mr as clUiTab,
5467
- Lr as clUiTabContent,
5468
- Ur as clUiTabHeader,
5470
+ Rr as clUiTab,
5471
+ Fr as clUiTabContent,
5472
+ jr as clUiTabHeader,
5469
5473
  je as currentQuickDates,
5470
5474
  Pl as dateTimeCalendarTypes,
5471
5475
  ea as datetimeFormats,
5472
- ci as default,
5476
+ ui as default,
5473
5477
  Rn as filterMethodTypes,
5474
5478
  Ve as formatNumber,
5475
5479
  el as formatNumberAsDecimal,
@@ -5477,33 +5481,33 @@ export {
5477
5481
  Qe as futureQuickDates,
5478
5482
  Il as getMergedFormatOptions,
5479
5483
  Nn as gridColumnTypes,
5480
- Ws as headerColour,
5484
+ Zs as headerColour,
5481
5485
  he as i18n,
5482
5486
  Ka as inputTextTypes,
5483
- Zs as inputTypes,
5487
+ Gs as inputTypes,
5484
5488
  yo as isComboBoxCreateRequest,
5485
5489
  ho as isComboBoxItem,
5486
5490
  zn as isFilterRequest,
5487
5491
  Ln as isFilterResponse,
5488
5492
  Hl as isGridColumn,
5489
5493
  In as isGridColumnArray,
5490
- Gs as isLanguageArray,
5494
+ Ks as isLanguageArray,
5491
5495
  tl as isLanguageLocaleFormat,
5492
5496
  Jo as messages,
5493
- gr as modalColours,
5494
- mr as modalSizes,
5497
+ vr as modalColours,
5498
+ gr as modalSizes,
5495
5499
  Xo as numberFormats,
5496
5500
  xe as pastQuickDates,
5497
5501
  Pa as quickDateNames,
5498
- ri as setCurrentLocale,
5499
- si as setLocaleDateTimeFormats,
5500
- ai as setLocaleMessages,
5501
- ni as setLocaleNumberFormats,
5502
+ ii as setCurrentLocale,
5503
+ ri as setLocaleDateTimeFormats,
5504
+ ni as setLocaleMessages,
5505
+ si as setLocaleNumberFormats,
5502
5506
  ml as showNotification,
5503
5507
  Mn as stringFormats,
5504
- Fr as tabColours,
5505
- Pr as tabLayout,
5506
- Br as tabScroll,
5508
+ Br as tabColours,
5509
+ Hr as tabLayout,
5510
+ Pr as tabScroll,
5507
5511
  Nl as unformatNumber,
5508
5512
  ua as validateEmail,
5509
5513
  ia as validateMaxValue,