@citruslime/ui 2.5.0 → 2.5.1-beta.0

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,7 +1,7 @@
1
1
  import { Icon as z } from "@iconify/vue";
2
- import { defineComponent as B, ref as A, openBlock as d, createElementBlock as y, renderSlot as N, normalizeProps as ee, guardReactiveProps as se, Fragment as x, createElementVNode as g, normalizeClass as I, createVNode as T, unref as f, Transition as ve, withCtx as F, withDirectives as Z, mergeProps as re, vShow as G, createBlock as L, Teleport as _e, renderList as le, toDisplayString as S, createCommentVNode as q, nextTick as Ce, computed as E, toHandlers as ol, withModifiers as Y, useCssVars as al, vModelText as sl, onMounted as qe, watch as J, vModelDynamic as nl, withKeys as ye, onUnmounted as Ve, resolveComponent as rl, createTextVNode as ae, watchEffect as il, createSlots as ze, normalizeStyle as cl } from "vue";
2
+ import { defineComponent as B, ref as A, openBlock as d, createElementBlock as y, renderSlot as N, normalizeProps as ee, guardReactiveProps as se, Fragment as x, createElementVNode as g, normalizeClass as I, createVNode as T, unref as f, Transition as ve, withCtx as F, withDirectives as Z, mergeProps as re, vShow as G, createBlock as L, Teleport as Ve, renderList as le, toDisplayString as S, createCommentVNode as q, nextTick as Ce, computed as E, toHandlers as al, withModifiers as Y, useCssVars as sl, vModelText as nl, onMounted as qe, watch as J, vModelDynamic as rl, withKeys as ye, onUnmounted as _e, resolveComponent as Qe, createTextVNode as ae, watchEffect as il, createSlots as ze, normalizeStyle as cl } from "vue";
3
3
  import { generateStringId as ul, highlightText as dl } from "@citruslime/utils";
4
- import { onClickOutside as Ue, useTimeoutFn as Qe, useDebounceFn as Ye, useWindowSize as pl } from "@vueuse/core";
4
+ import { onClickOutside as Ue, useTimeoutFn as Ye, useDebounceFn as Je, useWindowSize as pl } from "@vueuse/core";
5
5
  import { createI18n as fl, useI18n as te } from "vue-i18n";
6
6
  import { DateTime as P } from "luxon";
7
7
  import { DatePicker as Le } from "v-calendar";
@@ -97,12 +97,12 @@ function De(o) {
97
97
  id: ul(),
98
98
  ...o
99
99
  };
100
- Ae.value.push(a), setTimeout(() => Je(a), o.duration);
100
+ Ae.value.push(a), setTimeout(() => Xe(a), o.duration);
101
101
  }
102
- function Je(o) {
102
+ function Xe(o) {
103
103
  Ae.value = Ae.value.filter((a) => a.id !== o.id);
104
104
  }
105
- const Tl = ["onClick"], Ol = { class: "cl-flex-1 cl-select-none cl-text-ellipsis cl-w-64" }, Xe = /* @__PURE__ */ B({
105
+ const Tl = ["onClick"], Ol = { class: "cl-flex-1 cl-select-none cl-text-ellipsis cl-w-64" }, el = /* @__PURE__ */ B({
106
106
  inheritAttrs: !1,
107
107
  __name: "cl-ui-notification",
108
108
  props: {
@@ -110,7 +110,7 @@ const Tl = ["onClick"], Ol = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
110
110
  position: { default: "top-right" }
111
111
  },
112
112
  setup(o) {
113
- return (a, e) => (d(), L(_e, { to: a.container }, [
113
+ return (a, e) => (d(), L(Ve, { to: a.container }, [
114
114
  g("div", {
115
115
  class: I(["cl-fixed cl-w-80 cl-z-50", {
116
116
  "cl-top-5 cl-left-5": a.position === "top-left",
@@ -130,7 +130,7 @@ const Tl = ["onClick"], Ol = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
130
130
  "cl-bg-danger-default": l.colour === "danger",
131
131
  "cl-bg-warning-default": l.colour === "warning"
132
132
  }],
133
- onClick: (p) => f(Je)(l)
133
+ onClick: (p) => f(Xe)(l)
134
134
  }), [
135
135
  g("span", Ol, S(l.message), 1),
136
136
  T(f(z), {
@@ -150,7 +150,7 @@ const Tl = ["onClick"], Ol = { class: "cl-flex-1 cl-select-none cl-text-ellipsis
150
150
  },
151
151
  setup(o) {
152
152
  return (a, e) => (d(), y(x, null, [
153
- T(Xe, {
153
+ T(el, {
154
154
  class: I({
155
155
  "first:cl-mt-[4.25rem]": a.$slots.header
156
156
  })
@@ -233,7 +233,7 @@ const Ne = /* @__PURE__ */ me(Al, [["render", Nl], ["__scopeId", "data-v-a21dc5d
233
233
  "small",
234
234
  "medium",
235
235
  "large"
236
- ], _l = { key: 0 }, Vl = /* @__PURE__ */ B({
236
+ ], Vl = { key: 0 }, _l = /* @__PURE__ */ B({
237
237
  __name: "cl-ui-card",
238
238
  props: {
239
239
  size: { default: "medium" },
@@ -245,7 +245,7 @@ const Ne = /* @__PURE__ */ me(Al, [["render", Nl], ["__scopeId", "data-v-a21dc5d
245
245
  "cl-cursor-pointer hover:cl-shadow-xl hover:cl-border-grey-0": a.hover
246
246
  }])
247
247
  }, [
248
- a.$slots.image ? (d(), y("div", _l, [
248
+ a.$slots.image ? (d(), y("div", Vl, [
249
249
  N(a.$slots, "image")
250
250
  ])) : q("", !0),
251
251
  a.$slots.title ? (d(), y("div", {
@@ -445,16 +445,16 @@ const Ul = {
445
445
  fallbackWarn: !1,
446
446
  warnHtmlMessage: !1
447
447
  });
448
- function Ls(o, a) {
448
+ function Ds(o, a) {
449
449
  return fe.global.mergeLocaleMessage(o, a), Ce();
450
450
  }
451
- function Ds(o, a) {
451
+ function Ps(o, a) {
452
452
  return fe.global.mergeNumberFormat(o, a), Ce();
453
453
  }
454
- function Ps(o, a) {
454
+ function Fs(o, a) {
455
455
  return fe.global.mergeDateTimeFormat(o, a), Ce();
456
456
  }
457
- function Fs(o) {
457
+ function Hs(o) {
458
458
  return fe.global.locale.value = o, Ce();
459
459
  }
460
460
  const { t: de } = fe.global;
@@ -620,7 +620,7 @@ const Hl = { class: "cl-relative" }, xl = ["value", "disabled", "placeholder"],
620
620
  type: "text",
621
621
  disabled: t.disabled,
622
622
  placeholder: i.value
623
- }, ol(t.events, !0)), null, 16, xl),
623
+ }, al(t.events, !0)), null, 16, xl),
624
624
  Z(T(f(z), {
625
625
  class: I(["cl-absolute cl-bg-transparent cl-cursor-text cl-left-2 cl-text-grey-4 cl-top-3.5 icon", {
626
626
  "!cl-bg-off-white": t.disabled
@@ -804,7 +804,7 @@ function Kl(o) {
804
804
  from: "@iconify/vue"
805
805
  };
806
806
  }
807
- function Hs() {
807
+ function xs() {
808
808
  return Kl;
809
809
  }
810
810
  const Ql = [
@@ -845,7 +845,7 @@ const Ql = [
845
845
  },
846
846
  setup(o, { expose: a, emit: e }) {
847
847
  const l = o;
848
- al((h) => ({
848
+ sl((h) => ({
849
849
  "1e2ffb88": n.value
850
850
  }));
851
851
  const { n: s, t: p } = te(), i = A(), t = E({
@@ -897,7 +897,7 @@ const Ql = [
897
897
  disabled: h.disabled
898
898
  }, null, 8, Xl), [
899
899
  [
900
- sl,
900
+ nl,
901
901
  t.value,
902
902
  void 0,
903
903
  { number: !0 }
@@ -1042,33 +1042,33 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1042
1042
  get: () => l.modelValue,
1043
1043
  set: (b) => w(b)
1044
1044
  }), c = E(() => typeof l.min == "number" ? l.min.toString() : l.min), u = E(() => typeof l.max == "number" ? l.max.toString() : l.max), $ = E(() => typeof l.min == "number" || l.min === null ? l.min : parseFloat(l.min)), j = E(() => typeof l.max == "number" || l.max === null ? l.max : parseFloat(l.max)), R = E(() => l.messageWhenValid.trim() !== "" ? l.messageWhenValid : ""), M = A(!0), v = A(!0), C = A([]), k = E(() => {
1045
- var b, V;
1045
+ var b, _;
1046
1046
  return [
1047
1047
  ...((b = C.value) == null ? void 0 : b.filter((D) => ((D == null ? void 0 : D.length) ?? 0) > 0)) ?? [],
1048
- ...((V = l.externalErrors) == null ? void 0 : V.filter((D) => ((D == null ? void 0 : D.length) ?? 0) > 0)) ?? []
1048
+ ...((_ = l.externalErrors) == null ? void 0 : _.filter((D) => ((D == null ? void 0 : D.length) ?? 0) > 0)) ?? []
1049
1049
  ].join(`
1050
1050
  `);
1051
1051
  });
1052
1052
  async function w(b) {
1053
- l.validateOn === "input" && await _(b), e("update:model-value", b);
1053
+ l.validateOn === "input" && await V(b), e("update:model-value", b);
1054
1054
  }
1055
- async function U(b, V) {
1056
- l.onInputFunction !== void 0 && (b = l.onInputFunction(b)), l.validateOn === "change" && (v.value = !1), (V || l.validateOn === "input") && await _(b), e("update:model-value", b);
1055
+ async function U(b, _) {
1056
+ l.onInputFunction !== void 0 && (b = l.onInputFunction(b)), l.validateOn === "change" && (v.value = !1), (_ || l.validateOn === "input") && await V(b), e("update:model-value", b);
1057
1057
  }
1058
- function _(b) {
1059
- const V = {
1058
+ function V(b) {
1059
+ const _ = {
1060
1060
  message: "",
1061
1061
  valid: !0
1062
1062
  }, D = [
1063
1063
  l.customValidationFunction === null || l.customValidationFunction === void 0 ? new Promise((be) => {
1064
- be(V);
1064
+ be(_);
1065
1065
  }) : new Promise((be) => {
1066
1066
  be(l.customValidationFunction(l.label, b));
1067
1067
  })
1068
1068
  ];
1069
1069
  return (typeof b == "string" || typeof b == "number") && (D.push(Ll(l.min, l.inputType, l.label, b, l.timeZone)), D.push(Dl(l.max, l.inputType, l.label, b, l.timeZone))), l.isRequired && D.push(Pl(l.label, b)), l.inputType === "email" && typeof b == "string" && D.push(Fl(l.label, b)), Promise.all(D).then((be) => {
1070
- const tl = [...be.map((Te) => Te.message)], Be = be.some((Te) => Te.message.length > 0 && Te.valid === !1) || l.externalErrors.length > 0;
1071
- v.value = !0, Be ? (C.value = tl, e("validated", !1, b)) : (C.value = [], e("validated", !0, b)), M.value = !Be;
1070
+ const ol = [...be.map((Te) => Te.message)], Be = be.some((Te) => Te.message.length > 0 && Te.valid === !1) || l.externalErrors.length > 0;
1071
+ v.value = !0, Be ? (C.value = ol, e("validated", !1, b)) : (C.value = [], e("validated", !0, b)), M.value = !Be;
1072
1072
  });
1073
1073
  }
1074
1074
  function K() {
@@ -1081,26 +1081,26 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1081
1081
  function Ie(b) {
1082
1082
  if (s.value) {
1083
1083
  s.value.stepUp(), s.value.focus(), U(s.value.valueAsNumber, !1);
1084
- const V = {
1084
+ const _ = {
1085
1085
  target: s.value
1086
1086
  };
1087
- e("input", V, s.value.valueAsNumber), e("change", b, s.value.valueAsNumber);
1087
+ e("input", _, s.value.valueAsNumber), e("change", b, s.value.valueAsNumber);
1088
1088
  }
1089
1089
  }
1090
1090
  function je(b) {
1091
1091
  if (s.value) {
1092
1092
  s.value.stepDown(), s.value.focus(), U(s.value.valueAsNumber, !1);
1093
- const V = {
1093
+ const _ = {
1094
1094
  target: s.value
1095
1095
  };
1096
- e("input", V, s.value.valueAsNumber), e("change", b, s.value.valueAsNumber);
1096
+ e("input", _, s.value.valueAsNumber), e("change", b, s.value.valueAsNumber);
1097
1097
  }
1098
1098
  }
1099
1099
  function we(b) {
1100
1100
  p.value = b;
1101
1101
  }
1102
1102
  async function he() {
1103
- i.value = !0, we(!1), l.validateOn === "change" && await _(m.value);
1103
+ i.value = !0, we(!1), l.validateOn === "change" && await V(m.value);
1104
1104
  }
1105
1105
  function $e() {
1106
1106
  r.value++;
@@ -1111,12 +1111,12 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1111
1111
  function H() {
1112
1112
  var D;
1113
1113
  let b = !0;
1114
- const V = t.value;
1115
- return p.value ? b = V : i.value && ((D = m.value) == null ? void 0 : D.toString().trim()) === "" && l.requiredText.trim() !== "" && (b = !1), !l.hideRequiredAsterisk && b;
1114
+ const _ = t.value;
1115
+ return p.value ? b = _ : i.value && ((D = m.value) == null ? void 0 : D.toString().trim()) === "" && l.requiredText.trim() !== "" && (b = !1), !l.hideRequiredAsterisk && b;
1116
1116
  }
1117
1117
  async function ne(b) {
1118
- const V = xe(b, l.inputType);
1119
- l.validateOn === "change" && await _(V), e("change", b, V);
1118
+ const _ = xe(b, l.inputType);
1119
+ l.validateOn === "change" && await V(_), e("change", b, _);
1120
1120
  }
1121
1121
  async function Q() {
1122
1122
  await he(), $e();
@@ -1124,7 +1124,7 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1124
1124
  return qe(() => {
1125
1125
  l.validateImmediately && U(l.modelValue, !0);
1126
1126
  }), J(() => l.isRequired, () => U(l.modelValue, !0)), J(() => l.externalErrors, async () => {
1127
- await _(m.value), e("update:model-value", m.value);
1127
+ await V(m.value), e("update:model-value", m.value);
1128
1128
  }), J(
1129
1129
  () => l.modelValue,
1130
1130
  () => {
@@ -1139,13 +1139,13 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1139
1139
  var b;
1140
1140
  (b = s.value) == null || b.blur();
1141
1141
  }
1142
- }), (b, V) => (d(), y("div", re({ ...b.$attrs, id: void 0 }, {
1142
+ }), (b, _) => (d(), y("div", re({ ...b.$attrs, id: void 0 }, {
1143
1143
  key: r.value,
1144
1144
  class: "cl-align-top cl-border-none cl-inline-block cl-text-left"
1145
1145
  }), [
1146
1146
  g("div", {
1147
- onMouseenter: V[10] || (V[10] = (D) => we(!0)),
1148
- onMouseleave: V[11] || (V[11] = (D) => we(!1))
1147
+ onMouseenter: _[10] || (_[10] = (D) => we(!0)),
1148
+ onMouseleave: _[11] || (_[11] = (D) => we(!1))
1149
1149
  }, [
1150
1150
  g("div", it, [
1151
1151
  g("div", ct, [
@@ -1160,7 +1160,7 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1160
1160
  Z(g("input", re({
1161
1161
  ref_key: "inputElement",
1162
1162
  ref: s,
1163
- "onUpdate:modelValue": V[0] || (V[0] = (D) => m.value = D)
1163
+ "onUpdate:modelValue": _[0] || (_[0] = (D) => m.value = D)
1164
1164
  }, b.$attrs, {
1165
1165
  class: ["!cl-mb-1 cl-block cl-border cl-duration-300 cl-h-full cl-transition cl-w-full focus:cl-outline-none", {
1166
1166
  "hover:!cl-border-grey-3": b.disabled === !1 && !f(ke)(b.inputType),
@@ -1184,16 +1184,16 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1184
1184
  accept: b.fileExtensions,
1185
1185
  name: b.group,
1186
1186
  autocomplete: b.autocomplete,
1187
- onClick: V[1] || (V[1] = (D) => ue(D)),
1188
- onFocus: V[2] || (V[2] = (D) => e("focus")),
1187
+ onClick: _[1] || (_[1] = (D) => ue(D)),
1188
+ onFocus: _[2] || (_[2] = (D) => e("focus")),
1189
1189
  onBlur: Y(Q, ["self"]),
1190
1190
  onMousewheelPassive: O,
1191
- onInput: V[3] || (V[3] = (D) => {
1191
+ onInput: _[3] || (_[3] = (D) => {
1192
1192
  e("input", D, f(xe)(D, b.inputType));
1193
1193
  }),
1194
1194
  onChange: ne
1195
1195
  }), null, 16, ft), [
1196
- [nl, m.value]
1196
+ [rl, m.value]
1197
1197
  ]),
1198
1198
  T(ve, {
1199
1199
  name: "fade",
@@ -1205,14 +1205,14 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1205
1205
  icon: "ph:caret-up-bold",
1206
1206
  class: "cl-absolute cl-bg-link-default cl-right-1 cl-rounded-full cl-text-sm cl-text-white cl-top-1 hover:cl-bg-link-light hover:cl-cursor-pointer",
1207
1207
  onClick: Ie,
1208
- onMousedown: V[4] || (V[4] = Y(() => {
1208
+ onMousedown: _[4] || (_[4] = Y(() => {
1209
1209
  }, ["prevent"]))
1210
1210
  }),
1211
1211
  T(f(z), {
1212
1212
  icon: "ph:caret-down-bold",
1213
1213
  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",
1214
1214
  onClick: je,
1215
- onMousedown: V[5] || (V[5] = Y(() => {
1215
+ onMousedown: _[5] || (_[5] = Y(() => {
1216
1216
  }, ["prevent"]))
1217
1217
  })
1218
1218
  ], 512)), [
@@ -1225,7 +1225,7 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1225
1225
  ref_key: "inputElement",
1226
1226
  ref: s,
1227
1227
  date: h.value,
1228
- "onUpdate:date": V[6] || (V[6] = (D) => h.value = D),
1228
+ "onUpdate:date": _[6] || (_[6] = (D) => h.value = D),
1229
1229
  class: ["cl-block cl-duration-300 cl-h-fit cl-mb-1 cl-rounded-lg cl-text-sm cl-transition cl-w-full focus:cl-outline-none", {
1230
1230
  "hover:cl-border-grey-3": !b.disabled,
1231
1231
  "!cl-border-danger-default": !M.value,
@@ -1240,20 +1240,20 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1240
1240
  placeholder: n.value,
1241
1241
  "initial-date": b.initialDate,
1242
1242
  onBlur: Y(he, ["self"]),
1243
- onFocus: V[7] || (V[7] = (D) => e("focus"))
1243
+ onFocus: _[7] || (_[7] = (D) => e("focus"))
1244
1244
  }), null, 16, ["date", "class", "disabled", "required", "type", "time-zone", "min", "max", "placeholder", "initial-date", "onBlur"])) : b.inputType === "range" && typeof m.value == "number" ? (d(), y("div", gt, [
1245
1245
  T(f(st), {
1246
1246
  ref_key: "inputElement",
1247
1247
  ref: s,
1248
1248
  value: m.value,
1249
- "onUpdate:value": V[8] || (V[8] = (D) => m.value = D),
1249
+ "onUpdate:value": _[8] || (_[8] = (D) => m.value = D),
1250
1250
  min: $.value ?? 0,
1251
1251
  max: j.value ?? 1e3,
1252
1252
  step: b.step,
1253
1253
  "enforce-step": !0,
1254
1254
  disabled: b.disabled,
1255
1255
  onBlur: Y(he, ["self"]),
1256
- onFocus: V[9] || (V[9] = (D) => e("focus"))
1256
+ onFocus: _[9] || (_[9] = (D) => e("focus"))
1257
1257
  }, null, 8, ["value", "min", "max", "step", "disabled", "onBlur"])
1258
1258
  ])) : q("", !0)
1259
1259
  ], 32),
@@ -1265,7 +1265,7 @@ const it = { class: "cl-flex cl-justify-between" }, ct = { class: "cl-w-full" },
1265
1265
  const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { 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" }, wt = ["onKeypress"], $t = {
1266
1266
  key: 0,
1267
1267
  class: "cl-mt-1 cl-opacity-60 cl-text-primary-default"
1268
- }, kt = { class: "cl-overflow-y-auto cl-overscroll-y-none cl-p-2 cl-w-full" }, el = /* @__PURE__ */ B({
1268
+ }, kt = { class: "cl-overflow-y-auto cl-overscroll-y-none cl-p-2 cl-w-full" }, ll = /* @__PURE__ */ B({
1269
1269
  inheritAttrs: !1,
1270
1270
  __name: "cl-ui-modal",
1271
1271
  props: {
@@ -1286,7 +1286,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1286
1286
  }
1287
1287
  return (i, t) => (d(), y(x, null, [
1288
1288
  N(i.$slots, "trigger", ee(se({ open: l }))),
1289
- (d(), L(_e, { to: "body" }, [
1289
+ (d(), L(Ve, { to: "body" }, [
1290
1290
  T(ve, { name: "fade" }, {
1291
1291
  default: F(() => [
1292
1292
  Z(g("div", yt, [
@@ -1485,10 +1485,10 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1485
1485
  function R(w) {
1486
1486
  if (w.key === "Tab" && w.shiftKey === !0) {
1487
1487
  const U = document.getElementsByTagName("input");
1488
- let _ = -1;
1488
+ let V = -1;
1489
1489
  for (let K = 0; K < U.length; K++)
1490
- U[K] === w.target && (_ = K - 1);
1491
- _ >= 0 && (U[_].focus(), c());
1490
+ U[K] === w.target && (V = K - 1);
1491
+ V >= 0 && (U[V].focus(), c());
1492
1492
  }
1493
1493
  }
1494
1494
  function M() {
@@ -1511,11 +1511,11 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1511
1511
  return J(() => e.results, () => v()), J(() => e.errorMessage, () => v()), J(() => e.isVisible, () => k()), qe(() => {
1512
1512
  var w;
1513
1513
  return (w = n.value) == null ? void 0 : w.addEventListener("keydown", R);
1514
- }), Ve(() => {
1514
+ }), _e(() => {
1515
1515
  var w;
1516
1516
  return (w = n.value) == null ? void 0 : w.removeEventListener("keydown", R);
1517
1517
  }), (w, U) => {
1518
- var _;
1518
+ var V;
1519
1519
  return d(), y("div", {
1520
1520
  ref_key: "container",
1521
1521
  ref: n,
@@ -1552,7 +1552,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1552
1552
  "additional-text": w.objectParentType,
1553
1553
  class: "cl-bg-grey-2 cl-mt-1"
1554
1554
  }, null, 8, ["text", "additional-text"])) : q("", !0),
1555
- w.results !== null && ((_ = w.results) == null ? void 0 : _.length) === 0 && s.value.trim() !== "" && w.canCreateNewObject === !1 && w.errorMessage === "" ? (d(), L(Oe, {
1555
+ w.results !== null && ((V = w.results) == null ? void 0 : V.length) === 0 && s.value.trim() !== "" && w.canCreateNewObject === !1 && w.errorMessage === "" ? (d(), L(Oe, {
1556
1556
  key: 2,
1557
1557
  text: f(l)("comboBox.noResults", { value: s.value })
1558
1558
  }, null, 8, ["text"])) : q("", !0),
@@ -1585,7 +1585,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1585
1585
  ], 40, Et);
1586
1586
  };
1587
1587
  }
1588
- }), It = { class: "cl-flex" }, jt = { class: "cl-relative cl-right-20 cl-top-0.5" }, Rt = { class: "cl-absolute cl-flex cl-float-right cl-font-semibold cl-mt-2 cl-text-danger-default cl-text-sm cl-z-10" }, _t = { class: "cl-min-h-[16rem] cl-mx-4" }, Vt = { class: "cl-p-2 cl-text-right cl-w-full" }, zt = /* @__PURE__ */ B({
1588
+ }), It = { class: "cl-flex" }, jt = { class: "cl-relative cl-right-20 cl-top-0.5" }, Rt = { class: "cl-absolute cl-flex cl-float-right cl-font-semibold cl-mt-2 cl-text-danger-default cl-text-sm cl-z-10" }, Vt = { class: "cl-min-h-[16rem] cl-mx-4" }, _t = { class: "cl-p-2 cl-text-right cl-w-full" }, zt = /* @__PURE__ */ B({
1589
1589
  __name: "cl-ui-combo-box",
1590
1590
  props: {
1591
1591
  loading: { type: Boolean, default: !1 },
@@ -1646,7 +1646,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1646
1646
  }
1647
1647
  return H;
1648
1648
  }
1649
- function _() {
1649
+ function V() {
1650
1650
  var O;
1651
1651
  $.value = {
1652
1652
  name: c.value,
@@ -1675,7 +1675,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1675
1675
  });
1676
1676
  }
1677
1677
  function je() {
1678
- var H, ne, Q, b, V;
1678
+ var H, ne, Q, b, _;
1679
1679
  De({
1680
1680
  message: i("comboBox.createSuccessful", { object: l.objectType, name: ((H = l.objectCreatedResponse) == null ? void 0 : H.name) ?? "" }),
1681
1681
  colour: "primary",
@@ -1685,7 +1685,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1685
1685
  m.value && m.value.id === ((ne = l.objectCreatedResponse) == null ? void 0 : ne.parentId) && (O = m.value.name), n.value = {
1686
1686
  id: ((Q = l.objectCreatedResponse) == null ? void 0 : Q.id) ?? 0,
1687
1687
  name: ((b = l.objectCreatedResponse) == null ? void 0 : b.name) ?? "",
1688
- parentId: ((V = l.objectCreatedResponse) == null ? void 0 : V.parentId) ?? 0,
1688
+ parentId: ((_ = l.objectCreatedResponse) == null ? void 0 : _.parentId) ?? 0,
1689
1689
  parentName: O
1690
1690
  };
1691
1691
  }
@@ -1705,7 +1705,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1705
1705
  });
1706
1706
  const $e = A();
1707
1707
  return Ue($e, () => t.value ? M(!1) : ""), (O, H) => {
1708
- const ne = rl("cl-ui-combo-box", !0);
1708
+ const ne = Qe("cl-ui-combo-box", !0);
1709
1709
  return d(), y("div", {
1710
1710
  ref_key: "outsideRef",
1711
1711
  ref: $e,
@@ -1763,7 +1763,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1763
1763
  })
1764
1764
  ], 2))
1765
1765
  ]),
1766
- T(el, { size: "small" }, {
1766
+ T(ll, { size: "small" }, {
1767
1767
  title: F(() => [
1768
1768
  ae(S(f(i)("comboBox.createTitle", { object: O.objectType })), 1)
1769
1769
  ]),
@@ -1792,7 +1792,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1792
1792
  ])
1793
1793
  ]),
1794
1794
  footer: F(({ close: Q }) => [
1795
- g("div", Vt, [
1795
+ g("div", _t, [
1796
1796
  T(ge, {
1797
1797
  class: "cl-mr-3",
1798
1798
  colour: "default",
@@ -1809,7 +1809,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1809
1809
  size: "small",
1810
1810
  disabled: !j.value,
1811
1811
  onClick: (b) => {
1812
- _(), Q();
1812
+ V(), Q();
1813
1813
  }
1814
1814
  }, {
1815
1815
  default: F(() => [
@@ -1820,7 +1820,7 @@ const ie = /* @__PURE__ */ me(bt, [["__scopeId", "data-v-b573d104"]]), yt = { cl
1820
1820
  ])
1821
1821
  ]),
1822
1822
  default: F(() => [
1823
- g("div", _t, [
1823
+ g("div", Vt, [
1824
1824
  O.objectParentType ? (d(), L(ne, {
1825
1825
  key: 0,
1826
1826
  "current-object": m.value,
@@ -2023,7 +2023,7 @@ const Wt = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Kt = { class: "cl-gap-1
2023
2023
  }
2024
2024
  function i() {
2025
2025
  let t = a.data[a.column.field];
2026
- return a.column.maxLength && (t = t.trimToLength(a.column.maxLength, a.column.format !== void 0 ? a.column.format === "ellipsis" : !1)), a.searchValue && a.column.searchable && (t = dl(t, a.searchValue.split(" "))), t;
2026
+ return a.column.maxLength && (t = t.trimToLength(a.column.maxLength, a.column.format !== void 0 ? a.column.format === "ellipsis" : !1)), a.searchValue && a.column.searchable && (t = dl(t, a.searchValue.split(" "))), a.column.format === "wrap-text" && (t = `<span class="cl-break-words cl-whitespace-pre-wrap">${t}</span>`), t;
2027
2027
  }
2028
2028
  return (t, n) => {
2029
2029
  var r;
@@ -2107,7 +2107,7 @@ const Wt = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Kt = { class: "cl-gap-1
2107
2107
  "search-value": t.searchValue
2108
2108
  }, {
2109
2109
  [t.column.name]: F(() => [
2110
- N(t.$slots, t.column.name, ee(se({ column: t.column, record: t.data })))
2110
+ N(t.$slots, t.column.name, ee(se({ column: t.column, record: t.data, searchValue: t.searchValue })))
2111
2111
  ]),
2112
2112
  _: 2
2113
2113
  }, 1032, ["column", "data", "time-zone", "search-value"]))
@@ -2191,7 +2191,7 @@ const Wt = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Kt = { class: "cl-gap-1
2191
2191
  {
2192
2192
  count: 0,
2193
2193
  target: null,
2194
- reset: Qe(() => {
2194
+ reset: Ye(() => {
2195
2195
  r.value[j] && (r.value[j].count = 0, r.value[j].target = null);
2196
2196
  }, 2500, { immediate: !1 })
2197
2197
  }
@@ -2312,7 +2312,7 @@ const Wt = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Kt = { class: "cl-gap-1
2312
2312
  const u = ce(e.request);
2313
2313
  u.pageSize = c, u.pageNumber = 1, a("update:request", u);
2314
2314
  }
2315
- const h = Ye(n, 750);
2315
+ const h = Je(n, 750);
2316
2316
  return (c, u) => {
2317
2317
  var $, j;
2318
2318
  return (j = ($ = c.data) == null ? void 0 : $.results) != null && j.length && c.request ? (d(), y("div", vo, [
@@ -2418,21 +2418,24 @@ const Wt = { class: "cl-mb-2 cl-text-sm lg:cl-hidden" }, Kt = { class: "cl-gap-1
2418
2418
  "list",
2419
2419
  "slot"
2420
2420
  ];
2421
- function ll(o) {
2421
+ function tl(o) {
2422
2422
  return typeof o.caption == "string" && typeof o.name == "string" && typeof o.type == "string";
2423
2423
  }
2424
- function _o(o) {
2424
+ function Vo(o) {
2425
2425
  let a = Array.isArray(o);
2426
2426
  if (a) {
2427
2427
  for (const e of o)
2428
- if (!ll(e)) {
2428
+ if (!tl(e)) {
2429
2429
  a = !1;
2430
2430
  break;
2431
2431
  }
2432
2432
  }
2433
2433
  return a;
2434
2434
  }
2435
- const Vo = ["ellipsis"];
2435
+ const _o = [
2436
+ "ellipsis",
2437
+ "wrap-text"
2438
+ ];
2436
2439
  var W = /* @__PURE__ */ ((o) => (o[o.CONTAINS = 0] = "CONTAINS", o[o.NOT_CONTAINS = 1] = "NOT_CONTAINS", o[o.EQUAL = 2] = "EQUAL", o[o.NOT_EQUAL = 3] = "NOT_EQUAL", o[o.STARTS_WITH = 4] = "STARTS_WITH", o[o.ENDS_WITH = 5] = "ENDS_WITH", o[o.GREATER_THAN = 6] = "GREATER_THAN", o[o.LESS_THAN = 7] = "LESS_THAN", o[o.EQUAL_OR_GREATER_THAN = 8] = "EQUAL_OR_GREATER_THAN", o[o.EQUAL_OR_LESS_THAN = 9] = "EQUAL_OR_LESS_THAN", o[o.AND_CONTAINS = 10] = "AND_CONTAINS", o))(W || {});
2437
2440
  const zo = [
2438
2441
  "equal",
@@ -2693,22 +2696,22 @@ const Do = {
2693
2696
  let v = (C = i.value) == null ? void 0 : C[0];
2694
2697
  if (v && t.value) {
2695
2698
  if ((((k = e.filter) == null ? void 0 : k.length) ?? 0) > 1) {
2696
- const _ = (w = i.value) == null ? void 0 : w.find((ue) => ue.filterOperation === W.EQUAL_OR_GREATER_THAN), K = (U = i.value) == null ? void 0 : U.find((ue) => ue.filterOperation === W.LESS_THAN);
2697
- _ && K && (v = {
2699
+ const V = (w = i.value) == null ? void 0 : w.find((ue) => ue.filterOperation === W.EQUAL_OR_GREATER_THAN), K = (U = i.value) == null ? void 0 : U.find((ue) => ue.filterOperation === W.LESS_THAN);
2700
+ V && K && (v = {
2698
2701
  filterOnColumn: e.column.field,
2699
2702
  filterOperation: W.EQUAL,
2700
2703
  filterMethod: "equal",
2701
- filterValue: _.filterValue
2704
+ filterValue: V.filterValue
2702
2705
  });
2703
2706
  } else if (v.filterOperation === W.EQUAL_OR_LESS_THAN || v.filterOperation === W.GREATER_THAN) {
2704
- let _ = P.fromISO(v.filterValue, {
2707
+ let V = P.fromISO(v.filterValue, {
2705
2708
  zone: e.timeZone ?? "UTC"
2706
2709
  });
2707
- e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? _ = _.minus({ days: 1 }) : _ = _.minus({ minutes: 1 }), v = {
2710
+ e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? V = V.minus({ days: 1 }) : V = V.minus({ minutes: 1 }), v = {
2708
2711
  filterOnColumn: e.column.field,
2709
2712
  filterOperation: v.filterOperation,
2710
2713
  filterMethod: v.filterOperation === W.EQUAL_OR_LESS_THAN ? "equalorlessthan" : "greaterthan",
2711
- filterValue: _.plus({ milliseconds: 1 }).toISO() ?? ""
2714
+ filterValue: V.plus({ milliseconds: 1 }).toISO() ?? ""
2712
2715
  };
2713
2716
  }
2714
2717
  }
@@ -2718,12 +2721,12 @@ const Do = {
2718
2721
  let C;
2719
2722
  const k = (v == null ? void 0 : v.filterMethod) && h(v.filterMethod, v.filterValue, "equal"), w = (v == null ? void 0 : v.filterMethod) && h(v.filterMethod, v.filterValue, "equalorlessthan"), U = (v == null ? void 0 : v.filterMethod) && h(v.filterMethod, v.filterValue, "greaterthan");
2720
2723
  if (k) {
2721
- let _ = P.fromISO(v.filterValue, {
2724
+ let V = P.fromISO(v.filterValue, {
2722
2725
  zone: e.timeZone ?? "UTC"
2723
2726
  }).set({ second: 0, millisecond: 0 });
2724
- const K = _.toISO();
2725
- e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? _ = _.plus({ days: 1 }) : _ = _.plus({ minutes: 1 });
2726
- const ue = _.toISO();
2727
+ const K = V.toISO();
2728
+ e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? V = V.plus({ days: 1 }) : V = V.plus({ minutes: 1 });
2729
+ const ue = V.toISO();
2727
2730
  C = [
2728
2731
  {
2729
2732
  filterOnColumn: e.column.field,
@@ -2739,22 +2742,22 @@ const Do = {
2739
2742
  }
2740
2743
  ];
2741
2744
  } else if (w || U) {
2742
- let _ = P.fromISO(v.filterValue, {
2745
+ let V = P.fromISO(v.filterValue, {
2743
2746
  zone: e.timeZone ?? "UTC"
2744
2747
  }).set({ second: 0, millisecond: 0 });
2745
- e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? _ = _.plus({ days: 1 }) : _ = _.plus({ minutes: 1 }), C = [
2748
+ e.column.type === "date" || e.column.type === "slot" && e.column.slotType === "date" ? V = V.plus({ days: 1 }) : V = V.plus({ minutes: 1 }), C = [
2746
2749
  {
2747
2750
  filterOnColumn: e.column.field,
2748
2751
  filterOperation: w ? W.EQUAL_OR_LESS_THAN : W.GREATER_THAN,
2749
2752
  filterMethod: w ? "equalorlessthan" : "greaterthan",
2750
- filterValue: _.minus({ milliseconds: 1 }).toISO()
2753
+ filterValue: V.minus({ milliseconds: 1 }).toISO()
2751
2754
  }
2752
2755
  ];
2753
2756
  } else
2754
2757
  C = v && [v];
2755
2758
  if (C && t.value)
2756
- for (const _ of C)
2757
- e.timeZone ? _.filterValue = P.fromISO(_.filterValue).setZone("UTC").toISO() ?? "" : _.filterValue = _.filterValue.replace("Z", "");
2759
+ for (const V of C)
2760
+ e.timeZone ? V.filterValue = P.fromISO(V.filterValue).setZone("UTC").toISO() ?? "" : V.filterValue = V.filterValue.replace("Z", "");
2758
2761
  i.value = C;
2759
2762
  }
2760
2763
  });
@@ -2766,11 +2769,11 @@ const Do = {
2766
2769
  return ((v = m.value) == null ? void 0 : v.filterValue) ?? "";
2767
2770
  }), u = E(() => c.value === "" ? null : c.value), $ = E(() => Intl.NumberFormat(l.value).format(1.1).replace(/[0-9]+/g, "")), j = E(() => Me(e.column));
2768
2771
  function R(v, C) {
2769
- var _;
2772
+ var V;
2770
2773
  let k, w = !1;
2771
2774
  const U = ((v == null ? void 0 : v.value) ?? C).trim();
2772
2775
  if (m.value)
2773
- w = ((_ = m.value) == null ? void 0 : _.filterValue) === U, k = ce(m.value), k.filterValue = U;
2776
+ w = ((V = m.value) == null ? void 0 : V.filterValue) === U, k = ce(m.value), k.filterValue = U;
2774
2777
  else if (U !== "" && typeof e.column.field < "u") {
2775
2778
  const K = p();
2776
2779
  k = {
@@ -2959,7 +2962,7 @@ const Do = {
2959
2962
  ], 2)
2960
2963
  ]));
2961
2964
  }
2962
- }), ua = /* @__PURE__ */ B({
2965
+ }), ua = { class: "cl-flex cl-mb-2" }, da = /* @__PURE__ */ B({
2963
2966
  __name: "cl-ui-grid-search",
2964
2967
  props: {
2965
2968
  searchValue: {},
@@ -2989,19 +2992,29 @@ const Do = {
2989
2992
  }
2990
2993
  J(() => e.columns, () => s(e.searchValue));
2991
2994
  const { t: p } = te();
2992
- return (i, t) => N(i.$slots, "search", ee(se({ searchValue: i.searchValue, performSearch: s })), () => [
2993
- T(ie, {
2994
- "model-value": i.searchValue,
2995
- class: "cl-mb-2 cl-w-full",
2996
- "input-type": "text",
2997
- disabled: i.loading,
2998
- "placeholder-text": i.columns.length > 4 ? f(p)("grid.search") : f(p)("grid.searchSpecific", { columns: i.columns.map((n) => n.caption).join(", ") }),
2999
- onKeypress: t[0] || (t[0] = ye((n) => s(n.target.value), ["enter"])),
3000
- onBlur: t[1] || (t[1] = (n) => s(n.target.value))
3001
- }, null, 8, ["model-value", "disabled", "placeholder-text"])
3002
- ]);
2995
+ return (i, t) => {
2996
+ const n = Qe("icon");
2997
+ return N(i.$slots, "search", ee(se({ searchValue: i.searchValue, performSearch: s })), () => [
2998
+ g("div", ua, [
2999
+ T(ie, {
3000
+ "model-value": i.searchValue,
3001
+ class: "cl-grow",
3002
+ "input-type": "text",
3003
+ disabled: i.loading,
3004
+ "placeholder-text": i.columns.length > 4 ? f(p)("grid.search") : f(p)("grid.searchSpecific", { columns: i.columns.map((r) => r.caption).join(", ") }),
3005
+ onKeypress: t[0] || (t[0] = ye((r) => s(r.target.value), ["enter"])),
3006
+ onBlur: t[1] || (t[1] = (r) => s(r.target.value))
3007
+ }, null, 8, ["model-value", "disabled", "placeholder-text"]),
3008
+ T(n, {
3009
+ class: "cl-absolute cl-cursor-pointer cl-right-4 cl-top-3 cl-z-10 hover:cl-text-primary-darker",
3010
+ icon: "ph:x-bold",
3011
+ onClick: t[2] || (t[2] = Y((r) => s(""), ["prevent"]))
3012
+ })
3013
+ ])
3014
+ ]);
3015
+ };
3003
3016
  }
3004
- }), da = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-40" }, pa = { 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" }, fa = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, ma = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, ga = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, va = { class: "cl-flex-1 cl-py-2" }, ha = { class: "cl-py-2 cl-w-1/4" }, ba = { class: "cl-py-2 cl-w-1/5" }, ya = { class: "cl-flex-1 cl-py-2" }, wa = { class: "cl-py-2 cl-w-1/4" }, $a = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, ka = { key: 1 }, Ca = /* @__PURE__ */ B({
3017
+ }), pa = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-40" }, fa = { 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" }, ma = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" }, ga = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" }, va = { class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full" }, ha = { class: "cl-flex-1 cl-py-2" }, ba = { class: "cl-py-2 cl-w-1/4" }, ya = { class: "cl-py-2 cl-w-1/5" }, wa = { class: "cl-flex-1 cl-py-2" }, $a = { class: "cl-py-2 cl-w-1/4" }, ka = { class: "cl-py-2 cl-text-off-white cl-w-1/5" }, Ca = { key: 1 }, Ta = /* @__PURE__ */ B({
3005
3018
  inheritAttrs: !1,
3006
3019
  __name: "cl-ui-grid-view-manager",
3007
3020
  props: {
@@ -3032,37 +3045,37 @@ const Do = {
3032
3045
  ]),
3033
3046
  _: 1
3034
3047
  }, 16),
3035
- (d(), L(_e, { to: "body" }, [
3048
+ (d(), L(Ve, { to: "body" }, [
3036
3049
  T(ve, { name: "slide-left" }, {
3037
3050
  default: F(() => [
3038
- Z(g("div", da, [
3039
- g("div", pa, [
3051
+ Z(g("div", pa, [
3052
+ g("div", fa, [
3040
3053
  T(f(z), {
3041
3054
  class: "cl-absolute cl-cursor-pointer cl-right-3 cl-text-off-white cl-top-3",
3042
3055
  icon: "ph:x",
3043
3056
  size: 16,
3044
3057
  onClick: r[1] || (r[1] = (m) => s.value = !1)
3045
3058
  }),
3046
- g("h3", fa, S(f(l)("grid.manageView")), 1),
3047
- g("ul", ma, [
3048
- g("li", ga, [
3049
- g("strong", va, S(f(l)("grid.column")), 1),
3050
- g("strong", ha, S(f(l)("grid.visible")), 1),
3051
- g("strong", ba, S(f(l)("grid.order")), 1)
3059
+ g("h3", ma, S(f(l)("grid.manageView")), 1),
3060
+ g("ul", ga, [
3061
+ g("li", va, [
3062
+ g("strong", ha, S(f(l)("grid.column")), 1),
3063
+ g("strong", ba, S(f(l)("grid.visible")), 1),
3064
+ g("strong", ya, S(f(l)("grid.order")), 1)
3052
3065
  ]),
3053
3066
  (d(!0), y(x, null, le(n.columns, (m, h) => (d(), y("li", {
3054
3067
  key: h,
3055
3068
  class: "cl-border-b cl-border-grey-2 cl-flex cl-py-2 cl-text-sm cl-w-full"
3056
3069
  }, [
3057
- g("div", ya, S(m.caption), 1),
3058
- g("div", wa, [
3070
+ g("div", wa, S(m.caption), 1),
3071
+ g("div", $a, [
3059
3072
  T(ie, {
3060
3073
  "model-value": m.visible === void 0 || m.visible === !0,
3061
3074
  "input-type": "checkbox",
3062
3075
  onClick: (c) => i(c.target, m)
3063
3076
  }, null, 8, ["model-value", "onClick"])
3064
3077
  ]),
3065
- g("div", $a, [
3078
+ g("div", ka, [
3066
3079
  m.visible === void 0 || m.visible === !0 ? (d(), y(x, { key: 0 }, [
3067
3080
  h !== 0 ? (d(), L(f(z), {
3068
3081
  key: 0,
@@ -3076,7 +3089,7 @@ const Do = {
3076
3089
  icon: "ph:arrow-right",
3077
3090
  onClick: (c) => t(h, "up")
3078
3091
  }, null, 8, ["onClick"])) : q("", !0)
3079
- ], 64)) : (d(), y("em", ka, S(f(l)("grid.hidden")), 1))
3092
+ ], 64)) : (d(), y("em", Ca, S(f(l)("grid.hidden")), 1))
3080
3093
  ])
3081
3094
  ]))), 128))
3082
3095
  ])
@@ -3090,7 +3103,7 @@ const Do = {
3090
3103
  ]))
3091
3104
  ], 64));
3092
3105
  }
3093
- }), Ta = { class: "cl-relative cl-w-full grid-wrapper lg:cl-min-h-fit" }, Oa = { class: "cl-absolute cl-flex cl-items-center cl-justify-center cl-min-h-full cl-p-28 cl-pt-0 cl-w-full" }, Sa = { class: "cl-overflow-x-auto cl-overscroll-x-none cl-pt-1" }, Ea = { class: "cl-hidden lg:cl-table-column-group" }, Aa = /* @__PURE__ */ B({
3106
+ }), Oa = { class: "cl-relative cl-w-full grid-wrapper lg:cl-min-h-fit" }, Sa = { class: "cl-absolute cl-flex cl-items-center cl-justify-center cl-min-h-full cl-p-28 cl-pt-0 cl-w-full" }, Ea = { class: "cl-overflow-x-auto cl-overscroll-x-none cl-pt-1" }, Aa = { class: "cl-hidden lg:cl-table-column-group" }, qa = /* @__PURE__ */ B({
3094
3107
  __name: "cl-ui-grid",
3095
3108
  props: {
3096
3109
  columns: {},
@@ -3118,7 +3131,7 @@ const Do = {
3118
3131
  }
3119
3132
  qe(() => {
3120
3133
  window.addEventListener("resize", i), i();
3121
- }), Ve(() => window.removeEventListener("resize", i));
3134
+ }), _e(() => window.removeEventListener("resize", i));
3122
3135
  const n = E({
3123
3136
  get: () => e.request,
3124
3137
  set: (v) => a("update:request", v)
@@ -3127,7 +3140,7 @@ const Do = {
3127
3140
  const v = ce(n.value);
3128
3141
  v.pageNumber = 1, v.filters = [], R.value = "", n.value = v;
3129
3142
  }
3130
- const m = Ye(() => a("data-request"), 750);
3143
+ const m = Je(() => a("data-request"), 750);
3131
3144
  J(n, m, {
3132
3145
  deep: !0,
3133
3146
  immediate: !0
@@ -3153,8 +3166,8 @@ const Do = {
3153
3166
  };
3154
3167
  }
3155
3168
  }), R = A(""), M = E(() => e.columns.filter((v) => (v.type === "string" || v.type === "slot" && v.slotType === "string") && v.searchable));
3156
- return (v, C) => (d(), y("div", Ta, [
3157
- M.value.length > 0 ? (d(), L(ua, {
3169
+ return (v, C) => (d(), y("div", Oa, [
3170
+ M.value.length > 0 ? (d(), L(da, {
3158
3171
  key: 0,
3159
3172
  "search-value": R.value,
3160
3173
  "onUpdate:searchValue": C[0] || (C[0] = (k) => R.value = k),
@@ -3170,7 +3183,7 @@ const Do = {
3170
3183
  }, 8, ["search-value", "request", "columns", "loading"])) : q("", !0),
3171
3184
  T(ve, { name: "fade" }, {
3172
3185
  default: F(() => [
3173
- Z(g("div", Oa, [
3186
+ Z(g("div", Sa, [
3174
3187
  T(Ne, { class: "after:!cl-h-20 after:!cl-w-20 cl-h-20 cl-w-20" })
3175
3188
  ], 512), [
3176
3189
  [G, v.loading]
@@ -3193,20 +3206,20 @@ const Do = {
3193
3206
  N(v.$slots, "additional-grid-actions", ee(se(k)))
3194
3207
  ]),
3195
3208
  "view-manager": F(() => [
3196
- T(Ca, {
3209
+ T(Ta, {
3197
3210
  columns: l.value,
3198
3211
  "onUpdate:columns": C[2] || (C[2] = (k) => l.value = k)
3199
3212
  }, null, 8, ["columns"])
3200
3213
  ]),
3201
3214
  _: 3
3202
3215
  }, 8, ["edit-mode", "filter-panel-open", "columns", "options", "request", "loading"]),
3203
- g("div", Sa, [
3216
+ g("div", Ea, [
3204
3217
  g("table", {
3205
3218
  class: I(["cl-delay-75 cl-min-h-[276px] cl-overflow-x-auto cl-overscroll-x-none cl-text-left cl-transition-opacity cl-w-full", {
3206
3219
  "cl-opacity-40": v.loading
3207
3220
  }])
3208
3221
  }, [
3209
- g("colgroup", Ea, [
3222
+ g("colgroup", Aa, [
3210
3223
  (d(!0), y(x, null, le(s.value, (k, w) => (d(), y("col", {
3211
3224
  key: w,
3212
3225
  style: cl(t(k.name)),
@@ -3252,7 +3265,7 @@ const Do = {
3252
3265
  }, null, 8, ["request", "loading", "data"])
3253
3266
  ]));
3254
3267
  }
3255
- }), qa = { 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" }, Na = /* @__PURE__ */ B({
3268
+ }), Na = { 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" }, Ia = /* @__PURE__ */ B({
3256
3269
  __name: "cl-ui-header",
3257
3270
  props: {
3258
3271
  isOpen: { type: Boolean }
@@ -3262,7 +3275,7 @@ const Do = {
3262
3275
  const e = o, l = A();
3263
3276
  return Ue(l, () => {
3264
3277
  (e.isOpen ?? !1) && a("open-click");
3265
- }), (s, p) => (d(), y("header", qa, [
3278
+ }), (s, p) => (d(), y("header", Na, [
3266
3279
  N(s.$slots, "logo"),
3267
3280
  g("div", {
3268
3281
  ref_key: "headerMenuElement",
@@ -3275,13 +3288,13 @@ const Do = {
3275
3288
  ], 512)
3276
3289
  ]));
3277
3290
  }
3278
- }), Ia = { 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]" }, ja = ["src"], Ra = {
3291
+ }), ja = { 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]" }, Ra = ["src"], Va = {
3279
3292
  key: 0,
3280
3293
  class: "cl-text-ellipsis cl-whitespace-nowrap"
3281
3294
  }, _a = {
3282
3295
  key: 1,
3283
3296
  class: "cl-text-ellipsis cl-text-xs cl-whitespace-nowrap"
3284
- }, Va = { 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" }, za = { class: "cl-absolute cl-bg-white cl-right-0 cl-shadow-2xl cl-top-20 cl-w-full cl-z-20" }, Ua = /* @__PURE__ */ B({
3297
+ }, za = { 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" }, Ua = { class: "cl-absolute cl-bg-white cl-right-0 cl-shadow-2xl cl-top-20 cl-w-full cl-z-20" }, Ma = /* @__PURE__ */ B({
3285
3298
  __name: "cl-ui-header-menu",
3286
3299
  props: {
3287
3300
  username: { default: "" },
@@ -3298,12 +3311,12 @@ const Do = {
3298
3311
  "cl-bg-blue-light": a.colour === "secondary"
3299
3312
  }])
3300
3313
  }, [
3301
- g("div", Ia, [
3314
+ g("div", ja, [
3302
3315
  e.image ? (d(), y("img", {
3303
3316
  key: 0,
3304
3317
  src: e.image,
3305
3318
  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"
3306
- }, null, 8, ja)) : (d(), L(f(z), {
3319
+ }, null, 8, Ra)) : (d(), L(f(z), {
3307
3320
  key: 1,
3308
3321
  class: "cl-hidden cl-m-4 cl-text-white md:cl-block",
3309
3322
  icon: "ph:user-circle",
@@ -3316,10 +3329,10 @@ const Do = {
3316
3329
  "cl-text-white": a.colour === "secondary"
3317
3330
  }])
3318
3331
  }, [
3319
- e.username ? (d(), y("div", Ra, S(e.username), 1)) : q("", !0),
3332
+ e.username ? (d(), y("div", Va, S(e.username), 1)) : q("", !0),
3320
3333
  e.group ? (d(), y("div", _a, S(e.group), 1)) : q("", !0)
3321
3334
  ], 2),
3322
- g("div", Va, [
3335
+ g("div", za, [
3323
3336
  T(f(z), {
3324
3337
  class: I(["cl-transform-gpu cl-transition-transform", {
3325
3338
  "cl-rotate-180": e.isOpen,
@@ -3332,7 +3345,7 @@ const Do = {
3332
3345
  ]),
3333
3346
  T(ve, { name: "fade" }, {
3334
3347
  default: F(() => [
3335
- Z(g("div", za, [
3348
+ Z(g("div", Ua, [
3336
3349
  N(e.$slots, "default")
3337
3350
  ], 512), [
3338
3351
  [G, e.isOpen]
@@ -3346,24 +3359,24 @@ const Do = {
3346
3359
  function Re(o) {
3347
3360
  return /[a-z]{2}-[A-Z]{2}/gm.test(o.localeCode);
3348
3361
  }
3349
- function Ma(o) {
3362
+ function Ba(o) {
3350
3363
  let a = Array.isArray(o);
3351
3364
  if (a) {
3352
3365
  for (const e of o)
3353
- if (!Ba(e)) {
3366
+ if (!La(e)) {
3354
3367
  a = !1;
3355
3368
  break;
3356
3369
  }
3357
3370
  }
3358
3371
  return a;
3359
3372
  }
3360
- function Ba(o) {
3373
+ function La(o) {
3361
3374
  return typeof o.name == "string" && typeof o.nativeName == "string" && typeof o.localeCode == "string";
3362
3375
  }
3363
- const La = {
3376
+ const Da = {
3364
3377
  key: 0,
3365
3378
  class: "cl-flex cl-relative cl-select-none cl-w-auto cl-z-30"
3366
- }, Da = { 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" }, Pa = ["data-localename", "data-localecode", "onClick"], Fa = { class: "cl-text-xs" }, Ha = /* @__PURE__ */ B({
3379
+ }, Pa = { 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" }, Fa = ["data-localename", "data-localecode", "onClick"], Ha = { class: "cl-text-xs" }, xa = /* @__PURE__ */ B({
3367
3380
  __name: "cl-ui-language-switcher",
3368
3381
  props: {
3369
3382
  supportedLanguages: {},
@@ -3378,7 +3391,7 @@ const La = {
3378
3391
  }
3379
3392
  return J(() => e.disabled, (n) => {
3380
3393
  n && (s.value = !1);
3381
- }), (n, r) => p.value !== null && f(Re)(p.value) ? (d(), y("div", La, [
3394
+ }), (n, r) => p.value !== null && f(Re)(p.value) ? (d(), y("div", Da, [
3382
3395
  g("div", {
3383
3396
  class: I(["cl-flex cl-items-center", {
3384
3397
  "cl-cursor-pointer": !n.disabled
@@ -3393,7 +3406,7 @@ const La = {
3393
3406
  ], 2),
3394
3407
  T(ve, { name: "fade" }, {
3395
3408
  default: F(() => [
3396
- Z(g("div", Da, [
3409
+ Z(g("div", Pa, [
3397
3410
  (d(!0), y(x, null, le(i.value, (m, h) => (d(), y("div", {
3398
3411
  key: h,
3399
3412
  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",
@@ -3403,8 +3416,8 @@ const La = {
3403
3416
  l.value = m.localeCode, t(), a("language-select", m.localeCode);
3404
3417
  }
3405
3418
  }, [
3406
- g("span", Fa, S(m.nativeName), 1)
3407
- ], 8, Pa))), 128))
3419
+ g("span", Ha, S(m.nativeName), 1)
3420
+ ], 8, Fa))), 128))
3408
3421
  ], 512), [
3409
3422
  [G, s.value]
3410
3423
  ])
@@ -3413,10 +3426,10 @@ const La = {
3413
3426
  })
3414
3427
  ])) : q("", !0);
3415
3428
  }
3416
- }), xa = { class: "cl-relative" }, Za = { class: "cl-h-full cl-z-0 xl:cl-h-screen" }, Ga = { 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" }, Wa = { class: "cl-col-span-10 lg:cl-col-span-3" }, Ka = {
3429
+ }), Za = { class: "cl-relative" }, Ga = { class: "cl-h-full cl-z-0 xl:cl-h-screen" }, Wa = { 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" }, Ka = { class: "cl-col-span-10 lg:cl-col-span-3" }, Qa = {
3417
3430
  key: 0,
3418
3431
  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"
3419
- }, Qa = { class: "cl-col-span-3" }, Ya = { class: "cl-inline cl-relative cl-text-grey-4" }, Ja = { class: "cl-col-span-3" }, Xa = { class: "cl-inline cl-relative cl-text-grey-4" }, es = { class: "cl-col-span-10 cl-emphasis-danger cl-mt-10 cl-p-3 cl-rounded-md cl-text-sm md:cl-mt-3" }, ls = /* @__PURE__ */ B({
3432
+ }, Ya = { class: "cl-col-span-3" }, Ja = { class: "cl-inline cl-relative cl-text-grey-4" }, Xa = { class: "cl-col-span-3" }, es = { class: "cl-inline cl-relative cl-text-grey-4" }, ls = { class: "cl-col-span-10 cl-emphasis-danger cl-mt-10 cl-p-3 cl-rounded-md cl-text-sm md:cl-mt-3" }, ts = /* @__PURE__ */ B({
3420
3433
  __name: "cl-ui-login",
3421
3434
  props: {
3422
3435
  errors: { default: () => [] },
@@ -3448,15 +3461,15 @@ const La = {
3448
3461
  function m(h, c) {
3449
3462
  i.value = h;
3450
3463
  }
3451
- return (h, c) => (d(), y("div", xa, [
3452
- g("div", Za, [
3464
+ return (h, c) => (d(), y("div", Za, [
3465
+ g("div", Ga, [
3453
3466
  N(h.$slots, "background")
3454
3467
  ]),
3455
- g("form", Ga, [
3456
- g("div", Wa, [
3468
+ g("form", Wa, [
3469
+ g("div", Ka, [
3457
3470
  N(h.$slots, "logo")
3458
3471
  ]),
3459
- h.$slots["language-switcher"] ? (d(), y("div", Ka, [
3472
+ h.$slots["language-switcher"] ? (d(), y("div", Qa, [
3460
3473
  N(h.$slots, "language-switcher")
3461
3474
  ])) : q("", !0),
3462
3475
  g("div", {
@@ -3465,8 +3478,8 @@ const La = {
3465
3478
  "cl-col-span-6": h.$slots["language-switcher"]
3466
3479
  }])
3467
3480
  }, [
3468
- g("div", Qa, [
3469
- g("div", Ya, [
3481
+ g("div", Ya, [
3482
+ g("div", Ja, [
3470
3483
  T(f(z), {
3471
3484
  class: "cl-absolute cl-left-3 cl-top-2.5 cl-z-10",
3472
3485
  icon: "ph:user",
@@ -3494,8 +3507,8 @@ const La = {
3494
3507
  }, null, 8, ["modelValue", "highlight-when-valid", "label", "placeholder-text", "message-when-valid"])
3495
3508
  ])
3496
3509
  ]),
3497
- g("div", Ja, [
3498
- g("div", Xa, [
3510
+ g("div", Xa, [
3511
+ g("div", es, [
3499
3512
  T(f(z), {
3500
3513
  class: "cl-absolute cl-left-3 cl-top-2.5 cl-z-10",
3501
3514
  icon: "ph:lock",
@@ -3559,7 +3572,7 @@ const La = {
3559
3572
  default: F(() => {
3560
3573
  var u;
3561
3574
  return [
3562
- Z(g("span", es, [
3575
+ Z(g("span", ls, [
3563
3576
  (d(!0), y(x, null, le(h.errors, ($, j) => (d(), y("div", {
3564
3577
  id: "cl-ui-login-errors",
3565
3578
  key: j,
@@ -3575,19 +3588,19 @@ const La = {
3575
3588
  ])
3576
3589
  ]));
3577
3590
  }
3578
- }), ts = [
3591
+ }), os = [
3579
3592
  "x-small",
3580
3593
  "small",
3581
3594
  "medium",
3582
3595
  "large"
3583
- ], os = [
3596
+ ], as = [
3584
3597
  "primary",
3585
3598
  "secondary",
3586
3599
  "white"
3587
- ], as = {
3600
+ ], ss = {
3588
3601
  key: 0,
3589
3602
  class: "cl-h-0 cl-w-0"
3590
- }, ss = { class: "cl-relative cl-w-full" }, ns = /* @__PURE__ */ B({
3603
+ }, ns = { class: "cl-relative cl-w-full" }, rs = /* @__PURE__ */ B({
3591
3604
  __name: "cl-ui-navigation",
3592
3605
  props: {
3593
3606
  colour: { default: "default" }
@@ -3617,7 +3630,7 @@ const La = {
3617
3630
  deep: !0
3618
3631
  }
3619
3632
  );
3620
- const t = A(!1), n = A(!1), { start: r } = Qe(() => n.value = !1, 100);
3633
+ const t = A(!1), n = A(!1), { start: r } = Ye(() => n.value = !1, 100);
3621
3634
  function m() {
3622
3635
  t.value = !t.value, n.value = !0, r();
3623
3636
  }
@@ -3643,7 +3656,7 @@ const La = {
3643
3656
  }, [
3644
3657
  N(u.$slots, "icon", re({ navcolour: u.colour }, { groupIsOpen: s, toggleOpen: p }), void 0, !0)
3645
3658
  ], 2),
3646
- n.value ? (d(), y("div", as)) : q("", !0),
3659
+ n.value ? (d(), y("div", ss)) : q("", !0),
3647
3660
  T(ve, { name: "slide-right" }, {
3648
3661
  default: F(() => [
3649
3662
  Z(g("div", {
@@ -3652,7 +3665,7 @@ const La = {
3652
3665
  "cl-absolute cl-left-20 cl-shadow-lg": !t.value
3653
3666
  }])
3654
3667
  }, [
3655
- g("div", ss, [
3668
+ g("div", ns, [
3656
3669
  g("span", {
3657
3670
  class: "cl-absolute cl-cursor-pointer cl-hidden cl-right-0 cl-top-1.5 lg:cl-block",
3658
3671
  onClick: m
@@ -3676,7 +3689,7 @@ const La = {
3676
3689
  ], 512));
3677
3690
  }
3678
3691
  });
3679
- const rs = /* @__PURE__ */ me(ns, [["__scopeId", "data-v-0958dcf5"]]), is = /* @__PURE__ */ B({
3692
+ const is = /* @__PURE__ */ me(rs, [["__scopeId", "data-v-0958dcf5"]]), cs = /* @__PURE__ */ B({
3680
3693
  __name: "cl-ui-navigation-icon",
3681
3694
  props: {
3682
3695
  iconValue: {},
@@ -3699,10 +3712,10 @@ const rs = /* @__PURE__ */ me(ns, [["__scopeId", "data-v-0958dcf5"]]), is = /* @
3699
3712
  }, null, 8, ["icon"])
3700
3713
  ], 2));
3701
3714
  }
3702
- }), cs = {
3715
+ }), us = {
3703
3716
  key: 0,
3704
3717
  class: "cl-font-bold cl-leading-8 cl-mb-8 cl-pr-8 cl-select-none cl-text-lg cl-text-secondary-default"
3705
- }, us = { class: "cl-flex cl-flex-wrap cl-space-y-8 cl-text-sm cl-w-full" }, ds = /* @__PURE__ */ B({
3718
+ }, ds = { class: "cl-flex cl-flex-wrap cl-space-y-8 cl-text-sm cl-w-full" }, ps = /* @__PURE__ */ B({
3706
3719
  __name: "cl-ui-navigation-group",
3707
3720
  props: {
3708
3721
  open: { type: Boolean }
@@ -3713,35 +3726,35 @@ const rs = /* @__PURE__ */ me(ns, [["__scopeId", "data-v-0958dcf5"]]), is = /* @
3713
3726
  "cl-hidden": !a.open
3714
3727
  })
3715
3728
  }, [
3716
- a.$slots.title ? (d(), y("div", cs, [
3729
+ a.$slots.title ? (d(), y("div", us, [
3717
3730
  N(a.$slots, "title")
3718
3731
  ])) : q("", !0),
3719
- g("div", us, [
3732
+ g("div", ds, [
3720
3733
  N(a.$slots, "default")
3721
3734
  ])
3722
3735
  ], 2));
3723
3736
  }
3724
- }), ps = {}, fs = { class: "cl-w-full" }, ms = {
3737
+ }), fs = {}, ms = { class: "cl-w-full" }, gs = {
3725
3738
  key: 0,
3726
3739
  class: "cl-font-bold cl-mb-4 cl-select-none"
3727
- }, gs = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
3728
- function vs(o, a) {
3729
- return d(), y("div", fs, [
3730
- o.$slots.title ? (d(), y("div", ms, [
3740
+ }, vs = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
3741
+ function hs(o, a) {
3742
+ return d(), y("div", ms, [
3743
+ o.$slots.title ? (d(), y("div", gs, [
3731
3744
  N(o.$slots, "title")
3732
3745
  ])) : q("", !0),
3733
- g("span", gs, [
3746
+ g("span", vs, [
3734
3747
  N(o.$slots, "default")
3735
3748
  ])
3736
3749
  ]);
3737
3750
  }
3738
- const hs = /* @__PURE__ */ me(ps, [["render", vs]]), bs = {}, ys = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-primary-darker" };
3739
- function ws(o, a) {
3740
- return d(), y("div", ys, [
3751
+ const bs = /* @__PURE__ */ me(fs, [["render", hs]]), ys = {}, ws = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-primary-darker" };
3752
+ function $s(o, a) {
3753
+ return d(), y("div", ws, [
3741
3754
  N(o.$slots, "default")
3742
3755
  ]);
3743
3756
  }
3744
- const $s = /* @__PURE__ */ me(bs, [["render", ws]]), ks = { class: "cl-w-full" }, Cs = /* @__PURE__ */ B({
3757
+ const ks = /* @__PURE__ */ me(ys, [["render", $s]]), Cs = { class: "cl-w-full" }, Ts = /* @__PURE__ */ B({
3745
3758
  __name: "cl-ui-tab",
3746
3759
  props: {
3747
3760
  currentTab: { default: 0 },
@@ -3770,7 +3783,7 @@ const $s = /* @__PURE__ */ me(bs, [["render", ws]]), ks = { class: "cl-w-full" }
3770
3783
  r === "left" && (h = -m), e.value.scroll(e.value.scrollLeft + h, 0);
3771
3784
  }
3772
3785
  }
3773
- return qe(() => t()), Ve(() => window.removeEventListener("resize", i)), (r, m) => (d(), y("div", ks, [
3786
+ return qe(() => t()), _e(() => window.removeEventListener("resize", i)), (r, m) => (d(), y("div", Cs, [
3774
3787
  g("div", null, [
3775
3788
  l.value ? (d(), y("div", {
3776
3789
  key: 0,
@@ -3812,7 +3825,7 @@ const $s = /* @__PURE__ */ me(bs, [["render", ws]]), ks = { class: "cl-w-full" }
3812
3825
  N(r.$slots, "content", ee(se({ isTabOpen: p, disabled: r.disabled, colour: r.colour })))
3813
3826
  ]));
3814
3827
  }
3815
- }), Ts = ["onKeyup"], Os = /* @__PURE__ */ B({
3828
+ }), Os = ["onKeyup"], Ss = /* @__PURE__ */ B({
3816
3829
  __name: "cl-ui-tab-header",
3817
3830
  props: {
3818
3831
  id: {},
@@ -3857,22 +3870,22 @@ const $s = /* @__PURE__ */ me(bs, [["render", ws]]), ks = { class: "cl-w-full" }
3857
3870
  onKeyup: ye(Y(i, ["self"]), ["enter"])
3858
3871
  }, [
3859
3872
  N(t.$slots, "default")
3860
- ], 42, Ts));
3873
+ ], 42, Os));
3861
3874
  }
3862
- }), Ss = {};
3863
- function Es(o, a) {
3875
+ }), Es = {};
3876
+ function As(o, a) {
3864
3877
  return N(o.$slots, "default");
3865
3878
  }
3866
- const As = /* @__PURE__ */ me(Ss, [["render", Es]]), qs = [
3879
+ const qs = /* @__PURE__ */ me(Es, [["render", As]]), Ns = [
3867
3880
  "default",
3868
3881
  "primary",
3869
3882
  "secondary",
3870
3883
  "danger",
3871
3884
  "blue"
3872
- ], Ns = [
3885
+ ], Is = [
3873
3886
  "left",
3874
3887
  "right"
3875
- ], Is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3888
+ ], js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3876
3889
  __proto__: null,
3877
3890
  FilterOperation: W,
3878
3891
  buttonColours: jl,
@@ -3883,26 +3896,26 @@ const As = /* @__PURE__ */ me(Ss, [["render", Es]]), qs = [
3883
3896
  clUiAccordionItem: yl,
3884
3897
  clUiApp: El,
3885
3898
  clUiButton: ge,
3886
- clUiCard: Vl,
3899
+ clUiCard: _l,
3887
3900
  clUiComboBox: zt,
3888
3901
  clUiFooter: Zt,
3889
- clUiGrid: Aa,
3890
- clUiHeader: Na,
3891
- clUiHeaderMenu: Ua,
3902
+ clUiGrid: qa,
3903
+ clUiHeader: Ia,
3904
+ clUiHeaderMenu: Ma,
3892
3905
  clUiInput: ie,
3893
- clUiLanguageSwitcher: Ha,
3906
+ clUiLanguageSwitcher: xa,
3894
3907
  clUiLoadingSpinner: Ne,
3895
- clUiLogin: ls,
3896
- clUiModal: el,
3897
- clUiNavigation: rs,
3898
- clUiNavigationGroup: ds,
3899
- clUiNavigationIcon: is,
3900
- clUiNavigationItem: $s,
3901
- clUiNavigationSection: hs,
3902
- clUiNotification: Xe,
3903
- clUiTab: Cs,
3904
- clUiTabContent: As,
3905
- clUiTabHeader: Os,
3908
+ clUiLogin: ts,
3909
+ clUiModal: ll,
3910
+ clUiNavigation: is,
3911
+ clUiNavigationGroup: ps,
3912
+ clUiNavigationIcon: cs,
3913
+ clUiNavigationItem: ks,
3914
+ clUiNavigationSection: bs,
3915
+ clUiNotification: el,
3916
+ clUiTab: Ts,
3917
+ clUiTabContent: qs,
3918
+ clUiTabHeader: Ss,
3906
3919
  filterMethodTypes: zo,
3907
3920
  gridColumnTypes: Ro,
3908
3921
  inputTypes: Ql,
@@ -3910,18 +3923,18 @@ const As = /* @__PURE__ */ me(Ss, [["render", Es]]), qs = [
3910
3923
  isComboBoxItem: Ut,
3911
3924
  isFilterRequest: Bo,
3912
3925
  isFilterResponse: Lo,
3913
- isGridColumn: ll,
3914
- isGridColumnArray: _o,
3915
- isLanguageArray: Ma,
3926
+ isGridColumn: tl,
3927
+ isGridColumnArray: Vo,
3928
+ isLanguageArray: Ba,
3916
3929
  isLanguageLocaleFormat: Re,
3917
- modalColours: os,
3918
- modalSizes: ts,
3919
- stringFormats: Vo,
3920
- tabColours: qs,
3921
- tabScroll: Ns
3930
+ modalColours: as,
3931
+ modalSizes: os,
3932
+ stringFormats: _o,
3933
+ tabColours: Ns,
3934
+ tabScroll: Is
3922
3935
  }, Symbol.toStringTag, { value: "Module" }));
3923
- const xs = (o) => {
3924
- o.use(fe), o.component("Icon", z), Object.entries(Is).forEach(([
3936
+ const Zs = (o) => {
3937
+ o.use(fe), o.component("Icon", z), Object.entries(js).forEach(([
3925
3938
  a,
3926
3939
  e
3927
3940
  ]) => {
@@ -3929,7 +3942,7 @@ const xs = (o) => {
3929
3942
  });
3930
3943
  };
3931
3944
  export {
3932
- Hs as CitrusLimeUI,
3945
+ xs as CitrusLimeUI,
3933
3946
  X as DateFormat,
3934
3947
  W as FilterOperation,
3935
3948
  oe as NumberFormat,
@@ -3941,28 +3954,28 @@ export {
3941
3954
  yl as clUiAccordionItem,
3942
3955
  El as clUiApp,
3943
3956
  ge as clUiButton,
3944
- Vl as clUiCard,
3957
+ _l as clUiCard,
3945
3958
  zt as clUiComboBox,
3946
3959
  Zt as clUiFooter,
3947
- Aa as clUiGrid,
3948
- Na as clUiHeader,
3949
- Ua as clUiHeaderMenu,
3960
+ qa as clUiGrid,
3961
+ Ia as clUiHeader,
3962
+ Ma as clUiHeaderMenu,
3950
3963
  ie as clUiInput,
3951
- Ha as clUiLanguageSwitcher,
3964
+ xa as clUiLanguageSwitcher,
3952
3965
  Ne as clUiLoadingSpinner,
3953
- ls as clUiLogin,
3954
- el as clUiModal,
3955
- rs as clUiNavigation,
3956
- ds as clUiNavigationGroup,
3957
- is as clUiNavigationIcon,
3958
- $s as clUiNavigationItem,
3959
- hs as clUiNavigationSection,
3960
- Xe as clUiNotification,
3961
- Cs as clUiTab,
3962
- As as clUiTabContent,
3963
- Os as clUiTabHeader,
3966
+ ts as clUiLogin,
3967
+ ll as clUiModal,
3968
+ is as clUiNavigation,
3969
+ ps as clUiNavigationGroup,
3970
+ cs as clUiNavigationIcon,
3971
+ ks as clUiNavigationItem,
3972
+ bs as clUiNavigationSection,
3973
+ el as clUiNotification,
3974
+ Ts as clUiTab,
3975
+ qs as clUiTabContent,
3976
+ Ss as clUiTabHeader,
3964
3977
  Bl as datetimeFormats,
3965
- xs as default,
3978
+ Zs as default,
3966
3979
  zo as filterMethodTypes,
3967
3980
  Ro as gridColumnTypes,
3968
3981
  fe as i18n,
@@ -3971,22 +3984,22 @@ export {
3971
3984
  Ut as isComboBoxItem,
3972
3985
  Bo as isFilterRequest,
3973
3986
  Lo as isFilterResponse,
3974
- ll as isGridColumn,
3975
- _o as isGridColumnArray,
3976
- Ma as isLanguageArray,
3987
+ tl as isGridColumn,
3988
+ Vo as isGridColumnArray,
3989
+ Ba as isLanguageArray,
3977
3990
  Re as isLanguageLocaleFormat,
3978
3991
  Ul as messages,
3979
- os as modalColours,
3980
- ts as modalSizes,
3992
+ as as modalColours,
3993
+ os as modalSizes,
3981
3994
  Ml as numberFormats,
3982
- Fs as setCurrentLocale,
3983
- Ps as setLocaleDateTimeFormats,
3984
- Ls as setLocaleMessages,
3985
- Ds as setLocaleNumberFormats,
3995
+ Hs as setCurrentLocale,
3996
+ Fs as setLocaleDateTimeFormats,
3997
+ Ds as setLocaleMessages,
3998
+ Ps as setLocaleNumberFormats,
3986
3999
  De as showNotification,
3987
- Vo as stringFormats,
3988
- qs as tabColours,
3989
- Ns as tabScroll,
4000
+ _o as stringFormats,
4001
+ Ns as tabColours,
4002
+ Is as tabScroll,
3990
4003
  Fl as validateEmail,
3991
4004
  Dl as validateMaxValue,
3992
4005
  Ll as validateMinValue