@citruslime/ui 2.0.0-beta.22 → 2.0.0-beta.23

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.
@@ -36,8 +36,8 @@ import { generateStringId } from "@citruslime/utils";
36
36
  import { createI18n, useI18n } from "vue-i18n";
37
37
  import Flatpickr from "flatpickr";
38
38
  import { useDebouncer, copy } from "@citruslime/vue-utils";
39
- const _hoisted_1$u = { class: "cl-overflow-hidden" };
40
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
39
+ const _hoisted_1$w = { class: "cl-overflow-hidden" };
40
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
41
41
  props: {
42
42
  exclusive: { type: Boolean, default: false }
43
43
  },
@@ -69,17 +69,17 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
69
69
  }
70
70
  }
71
71
  return (_ctx, _cache) => {
72
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
72
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
73
73
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({ isItemOpen, toggleItem })))
74
74
  ]);
75
75
  };
76
76
  }
77
77
  });
78
- const _hoisted_1$t = { class: "cl-absolute cl-left-5 cl-top-5" };
78
+ const _hoisted_1$v = { class: "cl-absolute cl-left-5 cl-top-5" };
79
79
  const _hoisted_2$n = { class: "cl-font-semibold cl-ml-10 cl-p-4 cl-select-none cl-text-grey-5" };
80
80
  const _hoisted_3$h = { class: "cl-overflow-hidden" };
81
81
  const _hoisted_4$d = { class: "cl-ml-10 cl-p-4" };
82
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
82
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
83
83
  props: {
84
84
  open: { type: Boolean },
85
85
  disabled: { type: Boolean, default: false }
@@ -104,7 +104,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
104
104
  }]),
105
105
  onClick: toggle
106
106
  }, [
107
- createElementVNode("div", _hoisted_1$t, [
107
+ createElementVNode("div", _hoisted_1$v, [
108
108
  createVNode(_component_icon, {
109
109
  class: normalizeClass(["cl-duration-300 cl-ease-in-out cl-text-grey-3 cl-transform-gpu cl-transition-transform", {
110
110
  "cl-rotate-180": __props.open
@@ -140,14 +140,14 @@ var _export_sfc = (sfc, props) => {
140
140
  }
141
141
  return target;
142
142
  };
143
- const _sfc_main$t = {};
144
- const _hoisted_1$s = { class: "cl-border-b cl-border-grey-1 cl-font-semibold cl-pl-14 cl-pr-4 cl-py-2 cl-text-grey-3 cl-text-sm" };
145
- function _sfc_render$5(_ctx, _cache) {
146
- return openBlock(), createElementBlock("div", _hoisted_1$s, [
143
+ const _sfc_main$w = {};
144
+ const _hoisted_1$u = { class: "cl-border-b cl-border-grey-1 cl-font-semibold cl-pl-14 cl-pr-4 cl-py-2 cl-text-grey-3 cl-text-sm" };
145
+ function _sfc_render$6(_ctx, _cache) {
146
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
147
147
  renderSlot(_ctx.$slots, "default")
148
148
  ]);
149
149
  }
150
- var clUiAccordionHeader = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$5]]);
150
+ var clUiAccordionHeader = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$6]]);
151
151
  const notifications = ref([]);
152
152
  function showNotification(notification) {
153
153
  const newNotification = __spreadValues({
@@ -159,12 +159,12 @@ function showNotification(notification) {
159
159
  function removeNotification(notification) {
160
160
  notifications.value = notifications.value.filter((n) => n.id !== notification.id);
161
161
  }
162
- const _hoisted_1$r = ["onClick"];
162
+ const _hoisted_1$t = ["onClick"];
163
163
  const _hoisted_2$m = { class: "cl-flex-1 cl-select-none cl-text-ellipsis cl-w-64" };
164
164
  const __default__$4 = {
165
165
  inheritAttrs: false
166
166
  };
167
- const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
167
+ const _sfc_main$v = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$4), {
168
168
  props: {
169
169
  container: { default: "body" },
170
170
  position: { default: "top-right" }
@@ -202,23 +202,23 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
202
202
  size: 16,
203
203
  weight: "bold"
204
204
  })
205
- ], 16, _hoisted_1$r);
205
+ ], 16, _hoisted_1$t);
206
206
  }), 128))
207
207
  ], 2)
208
208
  ], 8, ["to"]);
209
209
  };
210
210
  }
211
211
  }));
212
- const _hoisted_1$q = { class: "cl-absolute cl-flex cl-flex-wrap cl-h-screen cl-max-h-screen cl-max-w-full cl-min-h-screen cl-min-w-full cl-w-full" };
213
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
212
+ const _hoisted_1$s = { class: "cl-absolute cl-flex cl-flex-wrap cl-h-screen cl-max-h-screen cl-max-w-full cl-min-h-screen cl-min-w-full cl-w-full" };
213
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
214
214
  props: {
215
215
  removePadding: { type: Boolean, default: false }
216
216
  },
217
217
  setup(__props) {
218
218
  return (_ctx, _cache) => {
219
219
  return openBlock(), createElementBlock(Fragment, null, [
220
- createVNode(_sfc_main$s),
221
- createElementVNode("div", _hoisted_1$q, [
220
+ createVNode(_sfc_main$v),
221
+ createElementVNode("div", _hoisted_1$s, [
222
222
  renderSlot(_ctx.$slots, "header"),
223
223
  createElementVNode("div", {
224
224
  class: normalizeClass(["cl-content-start cl-flex cl-flex-nowrap cl-items-stretch cl-max-h-screen cl-relative cl-w-full", {
@@ -240,17 +240,17 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
240
240
  }
241
241
  });
242
242
  var clUiLoadingSpinner_vue_vue_type_style_index_0_scoped_true_lang = "";
243
- const _sfc_main$q = {};
244
- const _hoisted_1$p = { class: "loading-spinner" };
245
- function _sfc_render$4(_ctx, _cache) {
246
- return openBlock(), createElementBlock("div", _hoisted_1$p);
243
+ const _sfc_main$t = {};
244
+ const _hoisted_1$r = { class: "loading-spinner" };
245
+ function _sfc_render$5(_ctx, _cache) {
246
+ return openBlock(), createElementBlock("div", _hoisted_1$r);
247
247
  }
248
- var ClUiLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$4], ["__scopeId", "data-v-60d7cfd0"]]);
249
- const _hoisted_1$o = ["disabled"];
248
+ var ClUiLoadingSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$5], ["__scopeId", "data-v-60d7cfd0"]]);
249
+ const _hoisted_1$q = ["disabled"];
250
250
  const __default__$3 = {
251
251
  inheritAttrs: false
252
252
  };
253
- const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
253
+ const _sfc_main$s = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$3), {
254
254
  props: {
255
255
  colour: { default: "default" },
256
256
  size: { default: "medium" },
@@ -278,7 +278,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
278
278
  disabled: __props.disabled
279
279
  }), [
280
280
  renderSlot(_ctx.$slots, "default")
281
- ], 16, _hoisted_1$o), [
281
+ ], 16, _hoisted_1$q), [
282
282
  [vShow, !__props.loading]
283
283
  ])
284
284
  ], 64);
@@ -297,8 +297,8 @@ const buttonSizes = [
297
297
  "medium",
298
298
  "large"
299
299
  ];
300
- const _hoisted_1$n = { key: 0 };
301
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
300
+ const _hoisted_1$p = { key: 0 };
301
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
302
302
  props: {
303
303
  size: { default: "medium" },
304
304
  hover: { type: Boolean, default: false }
@@ -310,7 +310,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
310
310
  "cl-cursor-pointer hover:cl-shadow-xl hover:cl-border-grey-0": __props.hover
311
311
  }])
312
312
  }, [
313
- _ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
313
+ _ctx.$slots.image ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
314
314
  renderSlot(_ctx.$slots, "image")
315
315
  ])) : createCommentVNode("", true),
316
316
  _ctx.$slots.title ? (openBlock(), createElementBlock("div", {
@@ -554,7 +554,7 @@ function validateMinValue(minimumValue, typeOfValue, valueName, actualValue) {
554
554
  valid: false,
555
555
  message: ""
556
556
  };
557
- if (minimumValue) {
557
+ if (minimumValue !== null && minimumValue !== void 0) {
558
558
  let isValid;
559
559
  let timeValue;
560
560
  switch (typeOfValue) {
@@ -604,7 +604,7 @@ function validateMaxValue(maximumValue, typeOfValue, valueName, actualValue) {
604
604
  valid: false,
605
605
  message: ""
606
606
  };
607
- if (maximumValue) {
607
+ if (maximumValue !== null && maximumValue !== void 0) {
608
608
  let isValid;
609
609
  let timeValue;
610
610
  switch (typeOfValue) {
@@ -1155,9 +1155,9 @@ function getFormattedTimeForMinMax(date) {
1155
1155
  }
1156
1156
  var clUiCalendar_vue_vue_type_style_index_0_lang = "";
1157
1157
  var clUiCalendar_vue_vue_type_style_index_1_scoped_true_lang = "";
1158
- const _hoisted_1$m = ["placeholder", "disabled"];
1158
+ const _hoisted_1$o = ["placeholder", "disabled"];
1159
1159
  const _hoisted_2$l = { class: "cl-absolute cl-bg-white cl-flex cl-right-2 cl-text-grey-4 cl-top-3.5" };
1160
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
1160
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
1161
1161
  props: {
1162
1162
  date: { default: null },
1163
1163
  datePlaceholder: { default: "Select date." },
@@ -1343,7 +1343,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1343
1343
  type: "text",
1344
1344
  placeholder: unref(placeholder),
1345
1345
  disabled: __props.disabled
1346
- }), null, 16, _hoisted_1$m),
1346
+ }), null, 16, _hoisted_1$o),
1347
1347
  withDirectives(createVNode(_component_icon, {
1348
1348
  class: normalizeClass(["cl-absolute cl-bg-white cl-right-2 cl-text-grey-4 cl-top-3.5", {
1349
1349
  "!cl-bg-off-white": __props.disabled
@@ -1384,14 +1384,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
1384
1384
  };
1385
1385
  }
1386
1386
  });
1387
- var clUiCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-533d446d"]]);
1387
+ var clUiCalendar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__scopeId", "data-v-533d446d"]]);
1388
1388
  const calendarTypes = [
1389
1389
  "date",
1390
1390
  "datetime",
1391
1391
  "time"
1392
1392
  ];
1393
1393
  var clUiSlider_vue_vue_type_style_index_0_scoped_true_lang = "";
1394
- const _hoisted_1$l = { class: "cl-flex cl-flex-wrap cl-items-center" };
1394
+ const _hoisted_1$n = { class: "cl-flex cl-flex-wrap cl-items-center" };
1395
1395
  const _hoisted_2$k = { class: "cl-flex cl-flex-1 cl-flex-wrap cl-items-center cl-mb-2 cl-mt-3 cl-relative md:cl-mt-0" };
1396
1396
  const _hoisted_3$g = { class: "cl-absolute cl-bg-grey-0 cl-leading-6 cl-ml-0 cl-px-3 cl-rounded-full cl-text-center cl-text-xs cl-top-full" };
1397
1397
  const _hoisted_4$c = {
@@ -1404,7 +1404,7 @@ const _hoisted_7$7 = {
1404
1404
  key: 1,
1405
1405
  class: "emphasis-danger text-sm w-full"
1406
1406
  };
1407
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
1407
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
1408
1408
  props: {
1409
1409
  value: null,
1410
1410
  min: null,
@@ -1459,7 +1459,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1459
1459
  withDirectives(createElementVNode("div", { class: "cl-bg-transparent cl-relative cl-text-center cl-text-sm" }, toDisplayString(unref(currentValue)), 513), [
1460
1460
  [vShow, !__props.showNumericInput]
1461
1461
  ]),
1462
- createElementVNode("div", _hoisted_1$l, [
1462
+ createElementVNode("div", _hoisted_1$n, [
1463
1463
  withDirectives(createVNode(_component_cl_ui_input, {
1464
1464
  modelValue: numericInputValue.value,
1465
1465
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => numericInputValue.value = $event),
@@ -1503,7 +1503,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1503
1503
  };
1504
1504
  }
1505
1505
  });
1506
- var clUiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-26895858"]]);
1506
+ var clUiSlider = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-26895858"]]);
1507
1507
  function isInputText(type) {
1508
1508
  let isText = false;
1509
1509
  switch (type) {
@@ -1555,7 +1555,7 @@ function getInputTypeAsCalendarType(type) {
1555
1555
  return calendarType;
1556
1556
  }
1557
1557
  var clUiInput_vue_vue_type_style_index_0_scoped_true_lang = "";
1558
- const _hoisted_1$k = { class: "cl-align-top cl-border-none cl-inline-block cl-text-left" };
1558
+ const _hoisted_1$m = { class: "cl-align-top cl-border-none cl-inline-block cl-text-left" };
1559
1559
  const _hoisted_2$j = { class: "cl-flex cl-justify-between" };
1560
1560
  const _hoisted_3$f = { class: "cl-w-full" };
1561
1561
  const _hoisted_4$b = {
@@ -1580,7 +1580,7 @@ const _hoisted_10$5 = {
1580
1580
  key: 1,
1581
1581
  class: "cl-bg-danger-light cl-px-2 cl-rounded-md cl-text-center cl-text-danger-default cl-text-xs cl-w-auto cl-whitespace-pre-line"
1582
1582
  };
1583
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
1583
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
1584
1584
  props: {
1585
1585
  inputType: { default: "text" },
1586
1586
  modelValue: { type: [String, Number, Boolean, Date, null], default: void 0 },
@@ -1771,7 +1771,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1771
1771
  watch(() => props.externalErrors, () => updateAndValidateValue(currentValue.value));
1772
1772
  return (_ctx, _cache) => {
1773
1773
  const _component_icon = resolveComponent("icon");
1774
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
1774
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
1775
1775
  createElementVNode("div", {
1776
1776
  onMouseenter: _cache[10] || (_cache[10] = ($event) => toggleFocus(true)),
1777
1777
  onMouseleave: _cache[11] || (_cache[11] = ($event) => toggleFocus(false))
@@ -1893,14 +1893,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
1893
1893
  };
1894
1894
  }
1895
1895
  });
1896
- var ClUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-007f3e50"]]);
1897
- const _hoisted_1$j = { class: "cl-align-items-center cl-bg-black cl-bg-opacity-40 cl-bottom-0 cl-fixed cl-flex cl-h-screen cl-justify-center cl-left-0 cl-right-0 cl-top-0 cl-w-full cl-z-40" };
1896
+ var ClUiInput = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-007f3e50"]]);
1897
+ const _hoisted_1$l = { class: "cl-align-items-center cl-bg-black cl-bg-opacity-40 cl-bottom-0 cl-fixed cl-flex cl-h-screen cl-justify-center cl-left-0 cl-right-0 cl-top-0 cl-w-full cl-z-40" };
1898
1898
  const _hoisted_2$i = ["onKeypress"];
1899
1899
  const _hoisted_3$e = { class: "cl-overflow-y-auto cl-p-2 cl-w-full" };
1900
1900
  const __default__$2 = {
1901
1901
  inheritAttrs: false
1902
1902
  };
1903
- const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
1903
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$2), {
1904
1904
  props: {
1905
1905
  headerColour: { default: "white" },
1906
1906
  preventClose: { type: Boolean, default: false },
@@ -1931,7 +1931,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1931
1931
  (openBlock(), createBlock(Teleport, { to: "body" }, [
1932
1932
  createVNode(Transition, { name: "fade" }, {
1933
1933
  default: withCtx(() => [
1934
- withDirectives(createElementVNode("div", _hoisted_1$j, [
1934
+ withDirectives(createElementVNode("div", _hoisted_1$l, [
1935
1935
  createElementVNode("div", mergeProps(_ctx.$attrs, {
1936
1936
  class: ["cl-bg-white cl-flex cl-flex-wrap cl-mx-0 cl-my-auto cl-overflow-y-auto cl-relative cl-rounded-lg cl-shadow-lg", {
1937
1937
  "lg:cl-w-2/12 cl-w-10/12": __props.size === "x-small",
@@ -1978,12 +1978,12 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
1978
1978
  };
1979
1979
  }
1980
1980
  }));
1981
- const _hoisted_1$i = { class: "cl-bg-grey-2 cl-border-b cl-border-grey-2 cl-border-t cl-flex cl-p-1" };
1981
+ const _hoisted_1$k = { class: "cl-bg-grey-2 cl-border-b cl-border-grey-2 cl-border-t cl-flex cl-p-1" };
1982
1982
  const _hoisted_2$h = {
1983
1983
  key: 0,
1984
1984
  class: "cl-w-1/2"
1985
1985
  };
1986
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
1986
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
1987
1987
  props: {
1988
1988
  showClearButton: { type: Boolean, default: false },
1989
1989
  text: { default: "" },
@@ -1995,7 +1995,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
1995
1995
  setup(__props) {
1996
1996
  return (_ctx, _cache) => {
1997
1997
  const _component_icon = resolveComponent("icon");
1998
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
1998
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
1999
1999
  __props.additionalText !== "" ? (openBlock(), createElementBlock("div", _hoisted_2$h, toDisplayString(__props.additionalText), 1)) : createCommentVNode("", true),
2000
2000
  createElementVNode("div", {
2001
2001
  class: normalizeClass({
@@ -2018,12 +2018,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2018
2018
  };
2019
2019
  }
2020
2020
  });
2021
- const _hoisted_1$h = {
2021
+ const _hoisted_1$j = {
2022
2022
  key: 0,
2023
2023
  class: "cl-w-1/2"
2024
2024
  };
2025
2025
  const _hoisted_2$g = { class: "cl-float-right cl-py-1.5" };
2026
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
2026
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2027
2027
  props: {
2028
2028
  isCreateNewOption: { type: Boolean, default: false },
2029
2029
  selectedIndex: { default: -1 },
@@ -2085,7 +2085,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2085
2085
  onMousemove: _cache[0] || (_cache[0] = ($event) => onHover(true)),
2086
2086
  onMouseleave: _cache[1] || (_cache[1] = ($event) => onHover(false))
2087
2087
  }, [
2088
- __props.option !== null && ((_a = __props.option) == null ? void 0 : _a.parentId) !== 0 && ((_b = __props.option) == null ? void 0 : _b.parentId) !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$h, toDisplayString(unref(displayedParent)), 1)) : createCommentVNode("", true),
2088
+ __props.option !== null && ((_a = __props.option) == null ? void 0 : _a.parentId) !== 0 && ((_b = __props.option) == null ? void 0 : _b.parentId) !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$j, toDisplayString(unref(displayedParent)), 1)) : createCommentVNode("", true),
2089
2089
  createElementVNode("div", {
2090
2090
  class: normalizeClass({
2091
2091
  "cl-w-1/2": unref(displayedParent) !== "",
@@ -2104,10 +2104,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
2104
2104
  };
2105
2105
  }
2106
2106
  });
2107
- const _hoisted_1$g = ["onKeyup"];
2107
+ const _hoisted_1$i = ["onKeyup"];
2108
2108
  const _hoisted_2$f = { class: "cl-flex" };
2109
2109
  const _hoisted_3$d = { key: 5 };
2110
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
2110
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
2111
2111
  props: {
2112
2112
  loading: { type: Boolean, default: false },
2113
2113
  objectType: null,
@@ -2256,27 +2256,27 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2256
2256
  [vShow, __props.loading]
2257
2257
  ])
2258
2258
  ]),
2259
- __props.currentObjectName !== "" ? (openBlock(), createBlock(_sfc_main$j, {
2259
+ __props.currentObjectName !== "" ? (openBlock(), createBlock(_sfc_main$m, {
2260
2260
  key: 0,
2261
2261
  "show-clear-button": __props.canClearSelectedObject,
2262
2262
  text: __props.currentObjectName,
2263
2263
  onClearObject: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("clear-object"))
2264
2264
  }, null, 8, ["show-clear-button", "text"])) : createCommentVNode("", true),
2265
- __props.objectParentType !== "" && __props.results !== void 0 && __props.results.length > 0 && __props.errorMessage === "" ? (openBlock(), createBlock(_sfc_main$j, {
2265
+ __props.objectParentType !== "" && __props.results !== void 0 && __props.results.length > 0 && __props.errorMessage === "" ? (openBlock(), createBlock(_sfc_main$m, {
2266
2266
  key: 1,
2267
2267
  text: __props.objectType,
2268
2268
  "additional-text": __props.objectParentType
2269
2269
  }, null, 8, ["text", "additional-text"])) : createCommentVNode("", true),
2270
- __props.results !== null && ((_a = __props.results) == null ? void 0 : _a.length) === 0 && searchText.value.trim() !== "" && __props.canCreateNewObject === false && __props.errorMessage === "" ? (openBlock(), createBlock(_sfc_main$j, {
2270
+ __props.results !== null && ((_a = __props.results) == null ? void 0 : _a.length) === 0 && searchText.value.trim() !== "" && __props.canCreateNewObject === false && __props.errorMessage === "" ? (openBlock(), createBlock(_sfc_main$m, {
2271
2271
  key: 2,
2272
2272
  text: unref(t2)("comboBox.noResults", { value: searchText.value })
2273
2273
  }, null, 8, ["text"])) : createCommentVNode("", true),
2274
- __props.errorMessage !== "" ? (openBlock(), createBlock(_sfc_main$j, {
2274
+ __props.errorMessage !== "" ? (openBlock(), createBlock(_sfc_main$m, {
2275
2275
  key: 3,
2276
2276
  class: "!cl-bg-danger-light cl-border-danger-light cl-rounded cl-text-danger-dark",
2277
2277
  text: unref(t2)("comboBox.errorMessage", { error: __props.errorMessage })
2278
2278
  }, null, 8, ["text"])) : createCommentVNode("", true),
2279
- showAddNewOption.value ? (openBlock(), createBlock(_sfc_main$i, {
2279
+ showAddNewOption.value ? (openBlock(), createBlock(_sfc_main$l, {
2280
2280
  key: 4,
2281
2281
  "is-create-new-option": true,
2282
2282
  text: unref(t2)("comboBox.addPrompt", { value: searchText.value, object: __props.objectType }),
@@ -2287,7 +2287,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2287
2287
  }, null, 8, ["text", "selected-index"])) : createCommentVNode("", true),
2288
2288
  __props.errorMessage === "" && __props.results !== null ? (openBlock(), createElementBlock("div", _hoisted_3$d, [
2289
2289
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.results, (result, index) => {
2290
- return openBlock(), createBlock(_sfc_main$i, {
2290
+ return openBlock(), createBlock(_sfc_main$l, {
2291
2291
  key: index,
2292
2292
  option: result,
2293
2293
  index,
@@ -2297,16 +2297,16 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
2297
2297
  }, null, 8, ["option", "index", "selected-index"]);
2298
2298
  }), 128))
2299
2299
  ])) : createCommentVNode("", true)
2300
- ], 40, _hoisted_1$g);
2300
+ ], 40, _hoisted_1$i);
2301
2301
  };
2302
2302
  }
2303
2303
  });
2304
- const _hoisted_1$f = { class: "cl-flex" };
2304
+ const _hoisted_1$h = { class: "cl-flex" };
2305
2305
  const _hoisted_2$e = { class: "cl-relative cl-right-20 cl-top-0.5" };
2306
2306
  const _hoisted_3$c = { class: "cl-absolute cl-flex cl-float-right cl-font-semibold cl-mt-2 cl-text-danger-default cl-text-sm" };
2307
2307
  const _hoisted_4$a = { class: "cl-ml-4 cl-w-11/12" };
2308
2308
  const _hoisted_5$7 = { class: "cl-p-2 cl-text-right cl-w-full" };
2309
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
2309
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
2310
2310
  props: {
2311
2311
  loading: { type: Boolean, default: false },
2312
2312
  disabled: { type: Boolean, default: false },
@@ -2465,7 +2465,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2465
2465
  const _component_icon = resolveComponent("icon");
2466
2466
  const _component_cl_ui_combo_box = resolveComponent("cl-ui-combo-box", true);
2467
2467
  return openBlock(), createElementBlock("div", null, [
2468
- createElementVNode("div", _hoisted_1$f, [
2468
+ createElementVNode("div", _hoisted_1$h, [
2469
2469
  createVNode(ClUiInput, {
2470
2470
  modelValue: unref(currentText),
2471
2471
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(currentText) ? currentText.value = $event : null),
@@ -2503,12 +2503,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2503
2503
  })
2504
2504
  ], 2)
2505
2505
  ]),
2506
- createVNode(_sfc_main$k, { size: "x-small" }, {
2506
+ createVNode(_sfc_main$n, { size: "x-small" }, {
2507
2507
  title: withCtx(() => [
2508
2508
  createTextVNode(toDisplayString(unref(t2)("comboBox.createTitle", { object: __props.objectType })), 1)
2509
2509
  ]),
2510
2510
  trigger: withCtx(({ open }) => [
2511
- withDirectives(createVNode(_sfc_main$h, {
2511
+ withDirectives(createVNode(_sfc_main$k, {
2512
2512
  "can-create-new-object": __props.canCreateNewObject,
2513
2513
  "can-clear-selected-object": __props.canClearSelectedObject,
2514
2514
  loading: __props.loading,
@@ -2529,7 +2529,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2529
2529
  ]),
2530
2530
  footer: withCtx(({ close }) => [
2531
2531
  createElementVNode("div", _hoisted_5$7, [
2532
- createVNode(_sfc_main$p, {
2532
+ createVNode(_sfc_main$s, {
2533
2533
  class: "cl-mr-4",
2534
2534
  colour: "primary",
2535
2535
  size: "small",
@@ -2544,7 +2544,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2544
2544
  ]),
2545
2545
  _: 2
2546
2546
  }, 1032, ["disabled", "onClick"]),
2547
- createVNode(_sfc_main$p, {
2547
+ createVNode(_sfc_main$s, {
2548
2548
  colour: "danger",
2549
2549
  size: "small",
2550
2550
  onClick: close
@@ -2594,8 +2594,8 @@ function isComboBoxItem(objectToTest) {
2594
2594
  function isComboBoxCreateRequest(objectToTest) {
2595
2595
  return typeof objectToTest.name === "string";
2596
2596
  }
2597
- const _sfc_main$f = {};
2598
- const _hoisted_1$e = { class: "cl-flex cl-flex-wrap cl-left-0 cl-mt-4 cl-w-full" };
2597
+ const _sfc_main$i = {};
2598
+ const _hoisted_1$g = { class: "cl-flex cl-flex-wrap cl-left-0 cl-mt-4 cl-w-full" };
2599
2599
  const _hoisted_2$d = {
2600
2600
  key: 0,
2601
2601
  class: "cl-w-full"
@@ -2606,8 +2606,8 @@ const _hoisted_3$b = {
2606
2606
  };
2607
2607
  const _hoisted_4$9 = { class: "cl-float-left" };
2608
2608
  const _hoisted_5$6 = { class: "cl-float-right" };
2609
- function _sfc_render$3(_ctx, _cache) {
2610
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
2609
+ function _sfc_render$4(_ctx, _cache) {
2610
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
2611
2611
  _ctx.$slots.default ? (openBlock(), createElementBlock("div", _hoisted_2$d, [
2612
2612
  renderSlot(_ctx.$slots, "default")
2613
2613
  ])) : createCommentVNode("", true),
@@ -2621,8 +2621,8 @@ function _sfc_render$3(_ctx, _cache) {
2621
2621
  ])) : createCommentVNode("", true)
2622
2622
  ]);
2623
2623
  }
2624
- var clUiFooter = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$3]]);
2625
- const _hoisted_1$d = { class: "cl-mr-2 lg:cl-hidden" };
2624
+ var clUiFooter = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$4]]);
2625
+ const _hoisted_1$f = { class: "cl-mr-2 lg:cl-hidden" };
2626
2626
  const _hoisted_2$c = { class: "cl-mr-2 lg:cl-hidden" };
2627
2627
  const _hoisted_3$a = {
2628
2628
  key: 0,
@@ -2635,7 +2635,7 @@ const _hoisted_4$8 = {
2635
2635
  const __default__$1 = {
2636
2636
  inheritAttrs: false
2637
2637
  };
2638
- const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
2638
+ const _sfc_main$h = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__$1), {
2639
2639
  props: {
2640
2640
  column: null,
2641
2641
  record: null,
@@ -2686,7 +2686,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
2686
2686
  "cl-bg-link-lighter": unref(edited)
2687
2687
  }]
2688
2688
  }), [
2689
- createElementVNode("strong", _hoisted_1$d, toDisplayString(__props.column.caption), 1),
2689
+ createElementVNode("strong", _hoisted_1$f, toDisplayString(__props.column.caption), 1),
2690
2690
  renderSlot(_ctx.$slots, `${__props.column.name}Edit`, normalizeProps(guardReactiveProps({
2691
2691
  cellFocused,
2692
2692
  column: __props.column,
@@ -2893,7 +2893,7 @@ const filterMethods = [
2893
2893
  ]
2894
2894
  }
2895
2895
  ];
2896
- const _hoisted_1$c = {
2896
+ const _hoisted_1$e = {
2897
2897
  key: 0,
2898
2898
  class: "cl-border-grey-2 cl-border-r cl-capitalize cl-group cl-inline cl-relative cl-w-auto"
2899
2899
  };
@@ -2911,7 +2911,7 @@ const _hoisted_12$3 = {
2911
2911
  key: 1,
2912
2912
  class: "cl-flex cl-w-full"
2913
2913
  };
2914
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
2914
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
2915
2915
  props: {
2916
2916
  request: null,
2917
2917
  column: null,
@@ -3038,7 +3038,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3038
3038
  "cl-border": __props.column.type !== "slot" || __props.column.slotType !== void 0 && __props.column.field !== void 0
3039
3039
  }])
3040
3040
  }, [
3041
- __props.column.type !== "slot" || __props.column.slotType !== void 0 && __props.column.field !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
3041
+ __props.column.type !== "slot" || __props.column.slotType !== void 0 && __props.column.field !== void 0 ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
3042
3042
  createElementVNode("div", _hoisted_2$b, [
3043
3043
  createVNode(_component_icon, {
3044
3044
  icon: "ph:sliders-horizontal",
@@ -3119,7 +3119,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3119
3119
  };
3120
3120
  }
3121
3121
  });
3122
- const _hoisted_1$b = {
3122
+ const _hoisted_1$d = {
3123
3123
  key: 0,
3124
3124
  class: "cl-flex cl-flex-wrap cl-justify-end cl-mt-4 cl-w-full"
3125
3125
  };
@@ -3138,7 +3138,7 @@ const _hoisted_13$1 = ["onClick"];
3138
3138
  const _hoisted_14$1 = { class: "cl-mb-2 cl-w-full lg:cl-p-2 md:cl-mb-0 md:cl-w-auto" };
3139
3139
  const _hoisted_15$1 = { class: "cl-block cl-mb-2 cl-text-grey-3 cl-w-full lg:cl-inline-block lg:cl-mb-0 lg:cl-mr-1 lg:cl-w-auto" };
3140
3140
  const _hoisted_16$1 = { class: "cl-block lg:cl-inline-block" };
3141
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
3141
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
3142
3142
  props: {
3143
3143
  request: null,
3144
3144
  data: { default: null }
@@ -3194,7 +3194,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3194
3194
  return (_ctx, _cache) => {
3195
3195
  var _a;
3196
3196
  const _component_icon = resolveComponent("icon");
3197
- return __props.data && ((_a = __props.data.results) == null ? void 0 : _a.length) && __props.request ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
3197
+ return __props.data && ((_a = __props.data.results) == null ? void 0 : _a.length) && __props.request ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
3198
3198
  createElementVNode("div", _hoisted_2$a, [
3199
3199
  createElementVNode("span", _hoisted_3$8, toDisplayString(unref(t2)("grid.jumpToPage")), 1),
3200
3200
  createVNode(ClUiInput, {
@@ -3294,7 +3294,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3294
3294
  };
3295
3295
  }
3296
3296
  });
3297
- const _hoisted_1$a = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-50" };
3297
+ const _hoisted_1$c = { class: "cl-fixed cl-flex cl-h-full cl-justify-end cl-right-0 cl-shadow-lg cl-top-0 cl-z-50" };
3298
3298
  const _hoisted_2$9 = { class: "cl-bg-secondary-default cl-h-full cl-overflow-y-auto cl-px-10 cl-py-20 cl-relative cl-text-grey-2 cl-w-80" };
3299
3299
  const _hoisted_3$7 = { class: "cl-mb-4 cl-text-2xl cl-text-off-white" };
3300
3300
  const _hoisted_4$5 = { class: "cl-border-grey-3 cl-border-t cl-flex cl-flex-wrap cl-text-sm cl-w-full" };
@@ -3309,7 +3309,7 @@ const _hoisted_12$1 = { key: 1 };
3309
3309
  const __default__ = {
3310
3310
  inheritAttrs: false
3311
3311
  };
3312
- const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
3312
+ const _sfc_main$e = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues({}, __default__), {
3313
3313
  props: {
3314
3314
  columns: null
3315
3315
  },
@@ -3344,7 +3344,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3344
3344
  return (_ctx, _cache) => {
3345
3345
  const _component_icon = resolveComponent("icon");
3346
3346
  return openBlock(), createElementBlock(Fragment, null, [
3347
- createVNode(_sfc_main$p, mergeProps(_ctx.$attrs, {
3347
+ createVNode(_sfc_main$s, mergeProps(_ctx.$attrs, {
3348
3348
  class: "cl-w-full",
3349
3349
  size: "small",
3350
3350
  onClick: _cache[0] || (_cache[0] = withModifiers(($event) => visible.value = true, ["prevent"]))
@@ -3357,7 +3357,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3357
3357
  (openBlock(), createBlock(Teleport, { to: "body" }, [
3358
3358
  createVNode(Transition, { name: "slide-left" }, {
3359
3359
  default: withCtx(() => [
3360
- withDirectives(createElementVNode("div", _hoisted_1$a, [
3360
+ withDirectives(createElementVNode("div", _hoisted_1$c, [
3361
3361
  createElementVNode("div", _hoisted_2$9, [
3362
3362
  createVNode(_component_icon, {
3363
3363
  class: "cl-absolute cl-cursor-pointer cl-right-3 cl-text-off-white cl-top-3",
@@ -3416,14 +3416,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
3416
3416
  };
3417
3417
  }
3418
3418
  }));
3419
- const _hoisted_1$9 = {
3419
+ const _hoisted_1$b = {
3420
3420
  key: 0,
3421
3421
  class: "cl-pb-2 cl-pr-2 cl-w-1/2 lg:cl-pb-0 lg:cl-w-auto"
3422
3422
  };
3423
3423
  const _hoisted_2$8 = { class: "cl-hidden cl-pr-2 lg:cl-inline-block" };
3424
3424
  const _hoisted_3$6 = { class: "cl-pb-2 cl-pr-2 cl-w-1/2 lg:cl-pb-0 lg:cl-pr-0 lg:cl-w-auto" };
3425
3425
  const _hoisted_4$4 = { class: "cl-pr-2 cl-w-full lg:cl-hidden md:cl-w-1/2" };
3426
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
3426
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3427
3427
  props: {
3428
3428
  columns: null,
3429
3429
  editMode: { type: Boolean },
@@ -3445,8 +3445,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3445
3445
  });
3446
3446
  return (_ctx, _cache) => {
3447
3447
  return openBlock(), createElementBlock(Fragment, null, [
3448
- __props.editEnabled ? (openBlock(), createElementBlock("span", _hoisted_1$9, [
3449
- createVNode(_sfc_main$p, {
3448
+ __props.editEnabled ? (openBlock(), createElementBlock("span", _hoisted_1$b, [
3449
+ createVNode(_sfc_main$s, {
3450
3450
  class: "cl-w-full lg:cl-w-auto",
3451
3451
  size: "small",
3452
3452
  colour: "default",
@@ -3463,13 +3463,13 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3463
3463
  })
3464
3464
  ])) : createCommentVNode("", true),
3465
3465
  createElementVNode("span", _hoisted_2$8, [
3466
- createVNode(_sfc_main$b, {
3466
+ createVNode(_sfc_main$e, {
3467
3467
  columns: unref(currentColumns),
3468
3468
  "onUpdate:columns": _cache[1] || (_cache[1] = ($event) => isRef(currentColumns) ? currentColumns.value = $event : null)
3469
3469
  }, null, 8, ["columns"])
3470
3470
  ]),
3471
3471
  createElementVNode("span", _hoisted_3$6, [
3472
- createVNode(_sfc_main$p, {
3472
+ createVNode(_sfc_main$s, {
3473
3473
  class: "cl-w-full lg:cl-w-auto",
3474
3474
  size: "small",
3475
3475
  onClick: _cache[2] || (_cache[2] = withModifiers(($event) => _ctx.$emit("reset-filters"), ["prevent"]))
@@ -3481,7 +3481,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3481
3481
  })
3482
3482
  ]),
3483
3483
  createElementVNode("span", _hoisted_4$4, [
3484
- createVNode(_sfc_main$p, {
3484
+ createVNode(_sfc_main$s, {
3485
3485
  class: "cl-w-full",
3486
3486
  colour: "blue",
3487
3487
  size: "small",
@@ -3498,7 +3498,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3498
3498
  }
3499
3499
  });
3500
3500
  var clUiGrid_vue_vue_type_style_index_0_scoped_true_lang = "";
3501
- const _hoisted_1$8 = { class: "cl-hidden cl-mb-4 cl-w-full lg:cl-block lg:cl-text-right" };
3501
+ const _hoisted_1$a = { class: "cl-hidden cl-mb-4 cl-w-full lg:cl-block lg:cl-text-right" };
3502
3502
  const _hoisted_2$7 = ["data-loading"];
3503
3503
  const _hoisted_3$5 = { class: "cl-absolute cl-bg-white cl-h-full cl-opacity-40 cl-w-full cl-z-20" };
3504
3504
  const _hoisted_4$3 = { class: "cl-bg-white cl-flex cl-flex-wrap cl-sticky cl-top-0 cl-w-full lg:cl-hidden" };
@@ -3526,7 +3526,7 @@ const _hoisted_22 = {
3526
3526
  key: 0,
3527
3527
  class: "cl-w-full"
3528
3528
  };
3529
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3529
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
3530
3530
  props: {
3531
3531
  columns: null,
3532
3532
  request: null,
@@ -3642,8 +3642,8 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3642
3642
  var _a, _b;
3643
3643
  const _component_icon = resolveComponent("icon");
3644
3644
  return openBlock(), createElementBlock(Fragment, null, [
3645
- createElementVNode("div", _hoisted_1$8, [
3646
- createVNode(_sfc_main$a, {
3645
+ createElementVNode("div", _hoisted_1$a, [
3646
+ createVNode(_sfc_main$d, {
3647
3647
  columns: unref(currentColumns),
3648
3648
  "onUpdate:columns": _cache[0] || (_cache[0] = ($event) => isRef(currentColumns) ? currentColumns.value = $event : null),
3649
3649
  "edit-mode": editMode.value,
@@ -3668,7 +3668,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3668
3668
  createElementVNode("div", _hoisted_5$2, [
3669
3669
  createElementVNode("strong", _hoisted_6$2, toDisplayString(unref(t2)("grid.gridTools")), 1),
3670
3670
  createElementVNode("div", _hoisted_7$2, [
3671
- createVNode(_sfc_main$a, {
3671
+ createVNode(_sfc_main$d, {
3672
3672
  columns: unref(currentColumns),
3673
3673
  "onUpdate:columns": _cache[2] || (_cache[2] = ($event) => isRef(currentColumns) ? currentColumns.value = $event : null),
3674
3674
  "edit-mode": editMode.value,
@@ -3704,7 +3704,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3704
3704
  class: "cl-grid cl-grid-cols-3 cl-mb-4 cl-w-full"
3705
3705
  }, [
3706
3706
  createElementVNode("div", null, toDisplayString(column.caption), 1),
3707
- createVNode(_sfc_main$d, {
3707
+ createVNode(_sfc_main$g, {
3708
3708
  request: unref(currentRequest),
3709
3709
  "onUpdate:request": _cache[6] || (_cache[6] = ($event) => isRef(currentRequest) ? currentRequest.value = $event : null),
3710
3710
  column
@@ -3785,7 +3785,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3785
3785
  class: "cl-p-1",
3786
3786
  style: normalizeStyle(getStyleForColumn(column.name))
3787
3787
  }, [
3788
- createVNode(_sfc_main$d, {
3788
+ createVNode(_sfc_main$g, {
3789
3789
  request: unref(currentRequest),
3790
3790
  "onUpdate:request": _cache[7] || (_cache[7] = ($event) => isRef(currentRequest) ? currentRequest.value = $event : null),
3791
3791
  column,
@@ -3805,7 +3805,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3805
3805
  })
3806
3806
  }, [
3807
3807
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(visibleColumns), (column, columnIndex) => {
3808
- return openBlock(), createBlock(_sfc_main$e, {
3808
+ return openBlock(), createBlock(_sfc_main$h, {
3809
3809
  key: columnIndex,
3810
3810
  class: "cl-align-top cl-p-2 cl-rounded cl-whitespace-nowrap",
3811
3811
  style: normalizeStyle(getStyleForColumn(column.name)),
@@ -3838,7 +3838,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3838
3838
  createElementVNode("strong", null, toDisplayString(unref(t2)("grid.noData")), 1),
3839
3839
  unref(currentRequest).filters.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_22, [
3840
3840
  createTextVNode(toDisplayString(unref(t2)("grid.noDataFiltersPresent")) + " ", 1),
3841
- createVNode(_sfc_main$p, {
3841
+ createVNode(_sfc_main$s, {
3842
3842
  size: "small",
3843
3843
  onClick: withModifiers(resetFilters, ["prevent"])
3844
3844
  }, {
@@ -3854,7 +3854,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3854
3854
  ])
3855
3855
  ])
3856
3856
  ]),
3857
- createVNode(_sfc_main$c, {
3857
+ createVNode(_sfc_main$f, {
3858
3858
  request: unref(currentRequest),
3859
3859
  "onUpdate:request": _cache[8] || (_cache[8] = ($event) => isRef(currentRequest) ? currentRequest.value = $event : null),
3860
3860
  data: __props.data
@@ -3864,12 +3864,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3864
3864
  };
3865
3865
  }
3866
3866
  });
3867
- var clUiGrid = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-7df0fada"]]);
3868
- const _sfc_main$8 = {};
3869
- const _hoisted_1$7 = { 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" };
3867
+ var clUiGrid = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__scopeId", "data-v-7df0fada"]]);
3868
+ const _sfc_main$b = {};
3869
+ const _hoisted_1$9 = { 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" };
3870
3870
  const _hoisted_2$6 = { class: "cl-flex cl-flex-nowrap" };
3871
- function _sfc_render$2(_ctx, _cache) {
3872
- return openBlock(), createElementBlock("header", _hoisted_1$7, [
3871
+ function _sfc_render$3(_ctx, _cache) {
3872
+ return openBlock(), createElementBlock("header", _hoisted_1$9, [
3873
3873
  renderSlot(_ctx.$slots, "logo"),
3874
3874
  createElementVNode("div", _hoisted_2$6, [
3875
3875
  renderSlot(_ctx.$slots, "menu"),
@@ -3877,8 +3877,8 @@ function _sfc_render$2(_ctx, _cache) {
3877
3877
  ])
3878
3878
  ]);
3879
3879
  }
3880
- var clUiHeader = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2]]);
3881
- const _hoisted_1$6 = { class: "md:cl-relative" };
3880
+ var clUiHeader = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$3]]);
3881
+ const _hoisted_1$8 = { class: "md:cl-relative" };
3882
3882
  const _hoisted_2$5 = { class: "cl-bg-blue-light cl-flex cl-items-center cl-select-none md:cl-min-w-[320px]" };
3883
3883
  const _hoisted_3$4 = ["src"];
3884
3884
  const _hoisted_4$2 = { class: "cl-cursor-default cl-grow cl-hidden cl-my-4 cl-text-white md:cl-block" };
@@ -3891,7 +3891,7 @@ const _hoisted_6$1 = {
3891
3891
  class: "cl-cursor-default cl-text-ellipsis cl-text-xs cl-whitespace-nowrap"
3892
3892
  };
3893
3893
  const _hoisted_7$1 = { class: "cl-absolute cl-bg-white cl-right-0 cl-shadow-2xl cl-top-20 cl-w-full cl-z-20" };
3894
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3894
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
3895
3895
  props: {
3896
3896
  username: { default: "" },
3897
3897
  group: { default: "" },
@@ -3901,7 +3901,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
3901
3901
  const isOpen = ref(false);
3902
3902
  return (_ctx, _cache) => {
3903
3903
  const _component_icon = resolveComponent("icon");
3904
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
3904
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [
3905
3905
  createElementVNode("div", _hoisted_2$5, [
3906
3906
  __props.image ? (openBlock(), createElementBlock("img", {
3907
3907
  key: 0,
@@ -3983,14 +3983,14 @@ function isLanguageArray(arrayToTest) {
3983
3983
  function isLanguage(objectToTest) {
3984
3984
  return typeof objectToTest.name === "string" && typeof objectToTest.nativeName === "string" && typeof objectToTest.localeCode === "string";
3985
3985
  }
3986
- const _hoisted_1$5 = {
3986
+ const _hoisted_1$7 = {
3987
3987
  key: 0,
3988
3988
  class: "cl-flex cl-relative cl-select-none cl-w-auto cl-z-30"
3989
3989
  };
3990
3990
  const _hoisted_2$4 = { 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-3" };
3991
3991
  const _hoisted_3$3 = ["data-localename", "data-localecode", "onClick"];
3992
3992
  const _hoisted_4$1 = { class: "cl-text-xs" };
3993
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
3993
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
3994
3994
  props: {
3995
3995
  supportedLanguages: null,
3996
3996
  disabled: { type: Boolean, default: false }
@@ -4015,7 +4015,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4015
4015
  }
4016
4016
  });
4017
4017
  return (_ctx, _cache) => {
4018
- return unref(selectedLanguage) !== null && unref(isLanguageLocaleFormat)(unref(selectedLanguage)) ? (openBlock(), createElementBlock("div", _hoisted_1$5, [
4018
+ return unref(selectedLanguage) !== null && unref(isLanguageLocaleFormat)(unref(selectedLanguage)) ? (openBlock(), createElementBlock("div", _hoisted_1$7, [
4019
4019
  createElementVNode("div", {
4020
4020
  class: normalizeClass(["cl-flex cl-items-center", {
4021
4021
  "cl-cursor-pointer": !__props.disabled
@@ -4055,7 +4055,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4055
4055
  };
4056
4056
  }
4057
4057
  });
4058
- const _hoisted_1$4 = { class: "cl-relative" };
4058
+ const _hoisted_1$6 = { class: "cl-relative" };
4059
4059
  const _hoisted_2$3 = { class: "cl-h-screen cl-z-0" };
4060
4060
  const _hoisted_3$2 = { 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" };
4061
4061
  const _hoisted_4 = { class: "cl-col-span-10 lg:cl-col-span-3" };
@@ -4068,7 +4068,7 @@ const _hoisted_7 = { class: "cl-inline cl-relative cl-text-grey-4" };
4068
4068
  const _hoisted_8 = { class: "cl-col-span-3" };
4069
4069
  const _hoisted_9 = { class: "cl-inline cl-relative cl-text-grey-4" };
4070
4070
  const _hoisted_10 = { class: "cl-col-span-10 cl-emphasis-danger cl-mt-10 cl-p-3 cl-rounded-md cl-text-sm md:cl-mt-3" };
4071
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4071
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
4072
4072
  props: {
4073
4073
  errors: { default: () => [] },
4074
4074
  loading: { type: Boolean, default: false }
@@ -4108,7 +4108,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4108
4108
  }
4109
4109
  return (_ctx, _cache) => {
4110
4110
  const _component_icon = resolveComponent("icon");
4111
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
4111
+ return openBlock(), createElementBlock("div", _hoisted_1$6, [
4112
4112
  createElementVNode("div", _hoisted_2$3, [
4113
4113
  renderSlot(_ctx.$slots, "background")
4114
4114
  ]),
@@ -4197,7 +4197,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4197
4197
  "cl-mt-1.5 cl-mb-1 md:cl-mt-0.5 md:cl-mb-7 lg:cl-mb-0": __props.loading
4198
4198
  }])
4199
4199
  }, [
4200
- createVNode(_sfc_main$p, {
4200
+ createVNode(_sfc_main$s, {
4201
4201
  class: "!cl-leading-9 cl-w-full",
4202
4202
  colour: "blue",
4203
4203
  loading: __props.loading,
@@ -4246,13 +4246,13 @@ const modalColours = [
4246
4246
  "white"
4247
4247
  ];
4248
4248
  var clUiNavigation_vue_vue_type_style_index_0_scoped_true_lang = "";
4249
- const _hoisted_1$3 = { class: "cl-flex cl-flex-nowrap cl-h-full cl-max-h-full cl-min-h-full cl-min-w-20 cl-relative cl-self-start cl-w-auto" };
4249
+ const _hoisted_1$5 = { class: "cl-flex cl-flex-nowrap cl-h-full cl-max-h-full cl-min-h-full cl-min-w-20 cl-relative cl-self-start cl-w-auto" };
4250
4250
  const _hoisted_2$2 = {
4251
4251
  id: "group-container",
4252
4252
  class: "cl-bg-blue-default cl-h-full cl-left-0 cl-max-h-full cl-min-h-full cl-min-w-20 cl-overflow-y-auto cl-self-start cl-sticky cl-w-20 cl-z-30"
4253
4253
  };
4254
4254
  const _hoisted_3$1 = { class: "cl-relative cl-w-full" };
4255
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4255
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4256
4256
  setup(__props) {
4257
4257
  const open = computed(() => groups.value.filter((i) => i.open === true).length > 0);
4258
4258
  const groups = ref([]);
@@ -4281,7 +4281,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4281
4281
  }
4282
4282
  return (_ctx, _cache) => {
4283
4283
  const _component_icon = resolveComponent("icon");
4284
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
4284
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
4285
4285
  createElementVNode("div", _hoisted_2$2, [
4286
4286
  renderSlot(_ctx.$slots, "icon", normalizeProps(guardReactiveProps({ groupIsOpen, toggleOpen })), void 0, true)
4287
4287
  ]),
@@ -4320,8 +4320,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
4320
4320
  };
4321
4321
  }
4322
4322
  });
4323
- var clUiNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6759d3a1"]]);
4324
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4323
+ var clUiNavigation = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-6759d3a1"]]);
4324
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
4325
4325
  props: {
4326
4326
  icon: null,
4327
4327
  open: { type: Boolean }
@@ -4343,19 +4343,19 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
4343
4343
  };
4344
4344
  }
4345
4345
  });
4346
- const _hoisted_1$2 = {
4346
+ const _hoisted_1$4 = {
4347
4347
  key: 0,
4348
4348
  class: "cl-font-bold cl-leading-8 cl-mb-8 cl-pr-8 cl-select-none cl-text-blue-light cl-text-lg"
4349
4349
  };
4350
4350
  const _hoisted_2$1 = { class: "cl-flex cl-flex-wrap cl-space-y-8 cl-text-sm cl-w-full" };
4351
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4351
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4352
4352
  props: {
4353
4353
  open: { type: Boolean }
4354
4354
  },
4355
4355
  setup(__props) {
4356
4356
  return (_ctx, _cache) => {
4357
4357
  return __props.open ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
4358
- _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
4358
+ _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_1$4, [
4359
4359
  renderSlot(_ctx.$slots, "title")
4360
4360
  ])) : createCommentVNode("", true),
4361
4361
  createElementVNode("div", _hoisted_2$1, [
@@ -4365,15 +4365,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4365
4365
  };
4366
4366
  }
4367
4367
  });
4368
- const _sfc_main$1 = {};
4369
- const _hoisted_1$1 = { class: "cl-w-full" };
4368
+ const _sfc_main$4 = {};
4369
+ const _hoisted_1$3 = { class: "cl-w-full" };
4370
4370
  const _hoisted_2 = {
4371
4371
  key: 0,
4372
4372
  class: "cl-font-bold cl-mb-4 cl-select-none"
4373
4373
  };
4374
4374
  const _hoisted_3 = { class: "cl-flex cl-flex-wrap cl-space-y-2" };
4375
- function _sfc_render$1(_ctx, _cache) {
4376
- return openBlock(), createElementBlock("div", _hoisted_1$1, [
4375
+ function _sfc_render$2(_ctx, _cache) {
4376
+ return openBlock(), createElementBlock("div", _hoisted_1$3, [
4377
4377
  _ctx.$slots.title ? (openBlock(), createElementBlock("div", _hoisted_2, [
4378
4378
  renderSlot(_ctx.$slots, "title")
4379
4379
  ])) : createCommentVNode("", true),
@@ -4382,28 +4382,188 @@ function _sfc_render$1(_ctx, _cache) {
4382
4382
  ])
4383
4383
  ]);
4384
4384
  }
4385
- var clUiNavigationSection = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
4386
- const _sfc_main = {};
4387
- const _hoisted_1 = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-blue-light" };
4388
- function _sfc_render(_ctx, _cache) {
4389
- return openBlock(), createElementBlock("div", _hoisted_1, [
4385
+ var clUiNavigationSection = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$2]]);
4386
+ const _sfc_main$3 = {};
4387
+ const _hoisted_1$2 = { class: "cl-cursor-pointer cl-transition-colors cl-w-full hover:cl-text-blue-light" };
4388
+ function _sfc_render$1(_ctx, _cache) {
4389
+ return openBlock(), createElementBlock("div", _hoisted_1$2, [
4390
4390
  renderSlot(_ctx.$slots, "default")
4391
4391
  ]);
4392
4392
  }
4393
- var clUiNavigationItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
4393
+ var clUiNavigationItem = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$1]]);
4394
+ const _hoisted_1$1 = { class: "cl-w-full" };
4395
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
4396
+ props: {
4397
+ currentTab: { default: 0 },
4398
+ disabled: { type: Boolean, default: false },
4399
+ colour: { default: "default" }
4400
+ },
4401
+ setup(__props) {
4402
+ const props = __props;
4403
+ const headerContainer = ref();
4404
+ const showLeftArrow = ref(false);
4405
+ const showRightArrow = ref(false);
4406
+ function isTabOpen(tabId) {
4407
+ return tabId === props.currentTab;
4408
+ }
4409
+ function onScroll() {
4410
+ if (headerContainer.value) {
4411
+ const maxScroll = headerContainer.value.scrollWidth - headerContainer.value.clientWidth;
4412
+ showLeftArrow.value = headerContainer.value.scrollLeft > 0;
4413
+ showRightArrow.value = headerContainer.value.scrollLeft < maxScroll;
4414
+ } else {
4415
+ showLeftArrow.value = false;
4416
+ showRightArrow.value = false;
4417
+ }
4418
+ }
4419
+ function initialiseScroll() {
4420
+ onScroll();
4421
+ window.addEventListener("resize", onScroll);
4422
+ }
4423
+ function scrollOnClick(direction) {
4424
+ if (headerContainer.value) {
4425
+ const scrollAmount = headerContainer.value.scrollWidth / 5;
4426
+ let scrollTo = scrollAmount;
4427
+ if (direction === "left") {
4428
+ scrollTo = -scrollAmount;
4429
+ }
4430
+ headerContainer.value.scroll(headerContainer.value.scrollLeft + scrollTo, 0);
4431
+ }
4432
+ }
4433
+ onMounted(() => initialiseScroll());
4434
+ onUnmounted(() => window.removeEventListener("resize", onScroll));
4435
+ return (_ctx, _cache) => {
4436
+ const _component_icon = resolveComponent("icon");
4437
+ return openBlock(), createElementBlock("div", _hoisted_1$1, [
4438
+ createElementVNode("div", null, [
4439
+ showLeftArrow.value ? (openBlock(), createElementBlock("div", {
4440
+ key: 0,
4441
+ class: "cl-bg-white cl-cursor-pointer cl-float-left cl-h-11 cl-w-4",
4442
+ onClick: _cache[0] || (_cache[0] = ($event) => scrollOnClick("left"))
4443
+ }, [
4444
+ createVNode(_component_icon, {
4445
+ icon: "ph:caret-left",
4446
+ class: "cl-mt-4 cl-text-secondary-default"
4447
+ })
4448
+ ])) : createCommentVNode("", true),
4449
+ createElementVNode("div", {
4450
+ ref_key: "headerContainer",
4451
+ ref: headerContainer,
4452
+ class: normalizeClass(["cl-flex cl-overflow-x-auto", {
4453
+ "cl-shadow-[inset_0_-1px_0_#eeeeee]": !__props.disabled && __props.colour === "default",
4454
+ "cl-shadow-[inset_0_-1px_0_#9acd32]": !__props.disabled && __props.colour === "primary",
4455
+ "cl-shadow-[inset_0_-1px_0_#30363e]": !__props.disabled && __props.colour === "secondary",
4456
+ "cl-shadow-[inset_0_-1px_0_#f0506e]": !__props.disabled && __props.colour === "danger",
4457
+ "cl-shadow-[inset_0_-1px_0_#1e90ff]": !__props.disabled && __props.colour === "blue",
4458
+ "cl-shadow-[inset_0_-1px_0_#d7d7d7]": __props.disabled,
4459
+ "cl-mr-4": showRightArrow.value
4460
+ }]),
4461
+ onScrollPassive: onScroll
4462
+ }, [
4463
+ renderSlot(_ctx.$slots, "headings", normalizeProps(guardReactiveProps({ isTabOpen, disabled: __props.disabled, colour: __props.colour })))
4464
+ ], 34),
4465
+ showRightArrow.value ? (openBlock(), createElementBlock("div", {
4466
+ key: 1,
4467
+ class: "cl-bg-white cl-bottom-12 cl-cursor-pointer cl-float-right cl-h-11 cl-relative cl-w-4",
4468
+ onClick: _cache[1] || (_cache[1] = ($event) => scrollOnClick("right"))
4469
+ }, [
4470
+ createVNode(_component_icon, {
4471
+ icon: "ph:caret-right",
4472
+ class: "cl-mt-4 cl-text-secondary-default"
4473
+ })
4474
+ ])) : createCommentVNode("", true)
4475
+ ]),
4476
+ renderSlot(_ctx.$slots, "content", normalizeProps(guardReactiveProps({ isTabOpen, disabled: __props.disabled, colour: __props.colour })))
4477
+ ]);
4478
+ };
4479
+ }
4480
+ });
4481
+ const _hoisted_1 = ["onKeyup"];
4482
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4483
+ props: {
4484
+ id: null,
4485
+ currentTab: null,
4486
+ disabled: { type: Boolean, default: false },
4487
+ colour: { default: "default" }
4488
+ },
4489
+ emits: {
4490
+ "update:currentTab": null
4491
+ },
4492
+ setup(__props, { emit }) {
4493
+ const props = __props;
4494
+ const tabbed = ref();
4495
+ const hovered = ref();
4496
+ const open = computed(() => props.id === props.currentTab);
4497
+ function tabClicked() {
4498
+ if (!props.disabled) {
4499
+ tabbed.value = false;
4500
+ hovered.value = false;
4501
+ emit("update:currentTab", props.id);
4502
+ }
4503
+ }
4504
+ return (_ctx, _cache) => {
4505
+ return openBlock(), createElementBlock("div", {
4506
+ class: normalizeClass(["cl-border-b cl-cursor-pointer cl-flex cl-items-center cl-px-4 cl-py-2 cl-rounded-b-none cl-rounded-sm cl-select-none cl-text-xl cl-transition cl-whitespace-nowrap focus:cl-outline-none", {
4507
+ "!cl-cursor-default cl-text-grey-4 !cl-border-grey-2": __props.disabled,
4508
+ "cl-border cl-border-b-0 cl-rounded-t-md cl-shadow-[inset_0_-1px_0_#ffffff] cl-cursor-default": unref(open),
4509
+ "cl-border-grey-0": __props.colour === "default",
4510
+ "cl-border-primary-default": __props.colour === "primary",
4511
+ "cl-border-secondary-default": __props.colour === "secondary",
4512
+ "cl-border-danger-default": __props.colour === "danger",
4513
+ "cl-border-link-default": __props.colour === "blue",
4514
+ "hover:cl-bg-grey-0": !unref(open) && !__props.disabled && __props.colour === "default",
4515
+ "hover:cl-bg-primary-lighter": !unref(open) && !__props.disabled && __props.colour === "primary",
4516
+ "hover:cl-bg-secondary-light focus:cl-text-white hover:cl-text-white": !unref(open) && !__props.disabled && __props.colour === "secondary",
4517
+ "hover:cl-bg-danger-light": !unref(open) && !__props.disabled && __props.colour === "danger",
4518
+ "hover:cl-bg-link-lighter": !unref(open) && !__props.disabled && __props.colour === "blue",
4519
+ "cl-bg-grey-0": tabbed.value && !__props.disabled && __props.colour === "default",
4520
+ "cl-bg-primary-lighter": tabbed.value && !__props.disabled && __props.colour === "primary",
4521
+ "cl-bg-secondary-light cl-text-white": tabbed.value && !__props.disabled && __props.colour === "secondary",
4522
+ "cl-bg-danger-light": tabbed.value && !__props.disabled && __props.colour === "danger",
4523
+ "cl-bg-link-lighter": tabbed.value && !__props.disabled && __props.colour === "blue"
4524
+ }]),
4525
+ tabindex: "0",
4526
+ onClick: tabClicked,
4527
+ onMouseover: _cache[0] || (_cache[0] = ($event) => hovered.value = true),
4528
+ onMouseout: _cache[1] || (_cache[1] = ($event) => hovered.value = false),
4529
+ onFocusin: _cache[2] || (_cache[2] = ($event) => tabbed.value = true),
4530
+ onFocusout: _cache[3] || (_cache[3] = ($event) => tabbed.value = false),
4531
+ onKeyup: withKeys(withModifiers(tabClicked, ["self"]), ["enter"])
4532
+ }, [
4533
+ renderSlot(_ctx.$slots, "default")
4534
+ ], 42, _hoisted_1);
4535
+ };
4536
+ }
4537
+ });
4538
+ const _sfc_main = {};
4539
+ function _sfc_render(_ctx, _cache) {
4540
+ return renderSlot(_ctx.$slots, "default");
4541
+ }
4542
+ var clUiTabContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
4543
+ const tabColours = [
4544
+ "default",
4545
+ "primary",
4546
+ "secondary",
4547
+ "danger",
4548
+ "blue"
4549
+ ];
4550
+ const tabScroll = [
4551
+ "left",
4552
+ "right"
4553
+ ];
4394
4554
  var components = /* @__PURE__ */ Object.freeze({
4395
4555
  __proto__: null,
4396
4556
  [Symbol.toStringTag]: "Module",
4397
- clUiAccordion: _sfc_main$v,
4398
- clUiAccordionItem: _sfc_main$u,
4557
+ clUiAccordion: _sfc_main$y,
4558
+ clUiAccordionItem: _sfc_main$x,
4399
4559
  clUiAccordionHeader,
4400
- clUiApp: _sfc_main$r,
4401
- clUiButton: _sfc_main$p,
4560
+ clUiApp: _sfc_main$u,
4561
+ clUiButton: _sfc_main$s,
4402
4562
  buttonColours,
4403
4563
  buttonSizes,
4404
- clUiCard: _sfc_main$o,
4564
+ clUiCard: _sfc_main$r,
4405
4565
  cardSizes,
4406
- clUiComboBox: _sfc_main$g,
4566
+ clUiComboBox: _sfc_main$j,
4407
4567
  isComboBoxItem,
4408
4568
  isComboBoxCreateRequest,
4409
4569
  clUiFooter,
@@ -4419,23 +4579,28 @@ var components = /* @__PURE__ */ Object.freeze({
4419
4579
  isFilterRequest,
4420
4580
  isFilterResponse,
4421
4581
  clUiHeader,
4422
- clUiHeaderMenu: _sfc_main$7,
4582
+ clUiHeaderMenu: _sfc_main$a,
4423
4583
  clUiInput: ClUiInput,
4424
4584
  inputTypes,
4425
- clUiLanguageSwitcher: _sfc_main$6,
4585
+ clUiLanguageSwitcher: _sfc_main$9,
4426
4586
  isLanguageLocaleFormat,
4427
4587
  isLanguageArray,
4428
4588
  clUiLoadingSpinner: ClUiLoadingSpinner,
4429
- clUiLogin: _sfc_main$5,
4430
- clUiModal: _sfc_main$k,
4589
+ clUiLogin: _sfc_main$8,
4590
+ clUiModal: _sfc_main$n,
4431
4591
  modalSizes,
4432
4592
  modalColours,
4433
4593
  clUiNavigation,
4434
- clUiNavigationIcon: _sfc_main$3,
4435
- clUiNavigationGroup: _sfc_main$2,
4594
+ clUiNavigationIcon: _sfc_main$6,
4595
+ clUiNavigationGroup: _sfc_main$5,
4436
4596
  clUiNavigationSection,
4437
4597
  clUiNavigationItem,
4438
- clUiNotification: _sfc_main$s
4598
+ clUiNotification: _sfc_main$v,
4599
+ clUiTab: _sfc_main$2,
4600
+ clUiTabHeader: _sfc_main$1,
4601
+ clUiTabContent,
4602
+ tabColours,
4603
+ tabScroll
4439
4604
  });
4440
4605
  var main = "";
4441
4606
  const install = (app) => {
@@ -4448,4 +4613,4 @@ const install = (app) => {
4448
4613
  app.component(name, component);
4449
4614
  });
4450
4615
  };
4451
- export { DateFormat, FilterOperation, NumberFormat, buttonColours, buttonSizes, cardSizes, _sfc_main$v as clUiAccordion, clUiAccordionHeader, _sfc_main$u as clUiAccordionItem, _sfc_main$r as clUiApp, _sfc_main$p as clUiButton, _sfc_main$o as clUiCard, _sfc_main$g as clUiComboBox, clUiFooter, clUiGrid, clUiHeader, _sfc_main$7 as clUiHeaderMenu, ClUiInput as clUiInput, _sfc_main$6 as clUiLanguageSwitcher, ClUiLoadingSpinner as clUiLoadingSpinner, _sfc_main$5 as clUiLogin, _sfc_main$k as clUiModal, clUiNavigation, _sfc_main$2 as clUiNavigationGroup, _sfc_main$3 as clUiNavigationIcon, clUiNavigationItem, clUiNavigationSection, _sfc_main$s as clUiNotification, datetimeFormats, install as default, filterMethodTypes, gridColumnTypes, i18n, inputTypes, isComboBoxCreateRequest, isComboBoxItem, isFilterRequest, isFilterResponse, isGridColumn, isGridColumnArray, isLanguageArray, isLanguageLocaleFormat, messages, modalColours, modalSizes, numberFormats, setCurrentLocale, setLocaleDateTimeFormats, setLocaleMessages, setLocaleNumberFormats, showNotification, stringFormats, validateEmail, validateMaxValue, validateMinValue };
4616
+ export { DateFormat, FilterOperation, NumberFormat, buttonColours, buttonSizes, cardSizes, _sfc_main$y as clUiAccordion, clUiAccordionHeader, _sfc_main$x as clUiAccordionItem, _sfc_main$u as clUiApp, _sfc_main$s as clUiButton, _sfc_main$r as clUiCard, _sfc_main$j as clUiComboBox, clUiFooter, clUiGrid, clUiHeader, _sfc_main$a as clUiHeaderMenu, ClUiInput as clUiInput, _sfc_main$9 as clUiLanguageSwitcher, ClUiLoadingSpinner as clUiLoadingSpinner, _sfc_main$8 as clUiLogin, _sfc_main$n as clUiModal, clUiNavigation, _sfc_main$5 as clUiNavigationGroup, _sfc_main$6 as clUiNavigationIcon, clUiNavigationItem, clUiNavigationSection, _sfc_main$v as clUiNotification, _sfc_main$2 as clUiTab, clUiTabContent, _sfc_main$1 as clUiTabHeader, datetimeFormats, install as default, filterMethodTypes, gridColumnTypes, i18n, inputTypes, isComboBoxCreateRequest, isComboBoxItem, isFilterRequest, isFilterResponse, isGridColumn, isGridColumnArray, isLanguageArray, isLanguageLocaleFormat, messages, modalColours, modalSizes, numberFormats, setCurrentLocale, setLocaleDateTimeFormats, setLocaleMessages, setLocaleNumberFormats, showNotification, stringFormats, tabColours, tabScroll, validateEmail, validateMaxValue, validateMinValue };