@3squared/forge-ui-3 1.2.0 → 1.3.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,9 +1,9 @@
1
1
  import ge from "primevue/message";
2
- import { defineComponent as F, openBlock as r, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as f, createElementVNode as m, normalizeClass as B, unref as p, createCommentVNode as C, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as V, mergeModels as R, useModel as U, computed as k, createTextVNode as z, toDisplayString as h, withDirectives as j, vShow as q, createSlots as te, renderList as H, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as Y, normalizeStyle as we, watch as de } from "vue";
2
+ import { defineComponent as F, openBlock as i, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as g, createElementVNode as m, normalizeClass as B, unref as p, createCommentVNode as C, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as V, mergeModels as R, useModel as U, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as j, vShow as q, createSlots as te, renderList as H, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as Y, normalizeStyle as we, watch as ue } from "vue";
3
3
  import { Icon as _ } from "@iconify/vue";
4
- import E from "primevue/button";
4
+ import L from "primevue/button";
5
5
  import xe from "primevue/toast";
6
- import ue from "primevue/checkbox";
6
+ import ce from "primevue/checkbox";
7
7
  import { useField as K } from "vee-validate";
8
8
  import ke from "primevue/progressspinner";
9
9
  import $e from "primevue/dialog";
@@ -11,21 +11,21 @@ import ie from "primevue/inputtext";
11
11
  import { vOnClickOutside as Be } from "@vueuse/components";
12
12
  import Fe from "primevue/menubar";
13
13
  import _e from "vue-multiselect";
14
+ import re from "primevue/multiselect";
14
15
  import Ve from "primevue/calendar";
15
16
  import ae from "primevue/dropdown";
16
17
  import Ce from "primevue/inputmask";
17
18
  import Se from "primevue/textarea";
18
- import ce from "primevue/inputnumber";
19
+ import me from "primevue/inputnumber";
19
20
  import Te from "primevue/chips";
20
21
  import Pe from "primevue/progressbar";
21
22
  import Me from "primevue/divider";
22
23
  import Ie from "primevue/steps";
23
24
  import ze from "primevue/datatable";
24
- import Oe from "primevue/multiselect";
25
- import { BlockBlobClient as me } from "@azure/storage-blob";
26
- import pe from "primevue/overlaypanel";
27
- import De from "primevue/image";
28
- const Ue = {
25
+ import { BlockBlobClient as pe } from "@azure/storage-blob";
26
+ import ve from "primevue/overlaypanel";
27
+ import Oe from "primevue/image";
28
+ const De = {
29
29
  button: {
30
30
  root: ({ props: e }) => ({
31
31
  class: [
@@ -116,7 +116,7 @@ const Ue = {
116
116
  ]
117
117
  })
118
118
  }
119
- }, Ae = {
119
+ }, Ue = {
120
120
  checkbox: {
121
121
  root: () => ({
122
122
  class: [
@@ -134,11 +134,11 @@ const Ue = {
134
134
  ]
135
135
  })
136
136
  }
137
- }, Ne = {
137
+ }, Ae = {
138
138
  dropdown: {
139
139
  root: ({ props: e }) => ({
140
140
  class: [
141
- "form-control d-flex cursor-pointer position-relative",
141
+ "form-select d-flex cursor-pointer position-relative",
142
142
  {
143
143
  disabled: e.disabled
144
144
  }
@@ -146,7 +146,7 @@ const Ue = {
146
146
  }),
147
147
  trigger: ({ state: e }) => ({
148
148
  class: [
149
- "my-auto filter-trigger",
149
+ "d-none my-auto filter-trigger",
150
150
  {
151
151
  "rotate-180": e.overlayVisible
152
152
  }
@@ -201,7 +201,7 @@ const Ue = {
201
201
  ]
202
202
  })
203
203
  }
204
- }, Ee = {
204
+ }, Ne = {
205
205
  column: {
206
206
  sortBadge: "ms-2 my-auto cursor-pointer",
207
207
  headerCell: (e) => {
@@ -317,7 +317,7 @@ const Ue = {
317
317
  };
318
318
  }
319
319
  }
320
- }, Re = {
320
+ }, Ee = {
321
321
  inputmask: {
322
322
  root: () => ({
323
323
  class: [
@@ -325,12 +325,12 @@ const Ue = {
325
325
  ]
326
326
  })
327
327
  }
328
- }, je = {
328
+ }, Re = {
329
329
  inputSwitch: {
330
330
  root: "form-check form-switch",
331
331
  input: "form-check-input"
332
332
  }
333
- }, He = {
333
+ }, je = {
334
334
  textarea: {
335
335
  root: () => ({
336
336
  class: [
@@ -338,13 +338,13 @@ const Ue = {
338
338
  ]
339
339
  })
340
340
  }
341
- }, qe = {
341
+ }, He = {
342
342
  // More PassThrough options in component file.
343
343
  chips: {
344
344
  root: "d-flex",
345
345
  label: "pe-2"
346
346
  }
347
- }, Ye = {
347
+ }, qe = {
348
348
  dialog: {
349
349
  header: () => ({
350
350
  class: ["modal-header"]
@@ -387,7 +387,7 @@ const Ue = {
387
387
  ]
388
388
  })
389
389
  }
390
- }, Ge = {
390
+ }, Ye = {
391
391
  overlaypanel: {
392
392
  root: (e) => ({
393
393
  class: [
@@ -401,7 +401,7 @@ const Ue = {
401
401
  content: "d-flex position-relative",
402
402
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
403
403
  }
404
- }, Ke = {
404
+ }, Ge = {
405
405
  message: {
406
406
  root: ({ props: e }) => ({
407
407
  class: [
@@ -430,13 +430,13 @@ const Ue = {
430
430
  class: ["px-0 ms-2 btn d-flex"]
431
431
  })
432
432
  }
433
- }, We = {
433
+ }, Ke = {
434
434
  // More PT options defined in ForgeStepper.
435
435
  steps: {
436
436
  root: "w-100 mx-2 line",
437
437
  menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
438
438
  }
439
- }, Ze = {
439
+ }, We = {
440
440
  tabview: {
441
441
  navContainer: () => ({
442
442
  class: ["nav nav-tabs position-relative"]
@@ -474,7 +474,7 @@ const Ue = {
474
474
  class: ["p-2"]
475
475
  })
476
476
  }
477
- }, Je = {
477
+ }, Ze = {
478
478
  // More PassThrough options defined in ForgeDatepicker.
479
479
  calendar: {
480
480
  root: "d-inline-flex relative w-100",
@@ -547,11 +547,11 @@ const Ue = {
547
547
  decrementButton: "btn btn-sm",
548
548
  incrementButton: "btn btn-sm"
549
549
  }
550
- }, Xe = {
550
+ }, Je = {
551
551
  multiselect: {
552
552
  root: ({ props: e }) => ({
553
553
  class: [
554
- "form-control d-flex cursor-pointer position-relative w-100",
554
+ "form-select d-flex cursor-pointer position-relative w-100",
555
555
  {
556
556
  disabled: e.disabled
557
557
  }
@@ -560,25 +560,28 @@ const Ue = {
560
560
  panel: "dropdown-menu overflow-y-auto show",
561
561
  list: "list-unstyled mb-0",
562
562
  item: "dropdown-item d-flex cursor-pointer",
563
- header: "d-flex",
563
+ header: "d-flex dropdown-item",
564
+ headerCheckbox: "dropdown-item ",
564
565
  labelContainer: "w-100 me-2",
565
566
  label: "w-100",
566
- filterContainer: "d-flex w-100",
567
+ filterContainer: "d-flex w-100 cursor-pointer",
567
568
  filterIcon: "d-none",
568
- filterInput: "form-control form-control-sm my-2 mx-3",
569
+ filterInput: "form-control form-control-sm",
569
570
  closeButton: "d-none",
570
571
  hiddenInput: "d-none",
572
+ token: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 pt-1",
573
+ tokenLabel: "px-2 fs-6 fw-400",
571
574
  emptymessage: "mx-3 my-2",
572
575
  trigger: ({ state: e }) => ({
573
576
  class: [
574
- "ms-auto my-auto filter-trigger",
577
+ "d-none ms-auto my-auto filter-trigger",
575
578
  {
576
579
  "rotate-180": e.overlayVisible
577
580
  }
578
581
  ]
579
582
  })
580
583
  }
581
- }, Qe = {
584
+ }, Xe = {
582
585
  // More PassThrough options in component file.
583
586
  progressbar: {
584
587
  root: () => ({
@@ -591,7 +594,7 @@ const Ue = {
591
594
  class: ["text-white"]
592
595
  })
593
596
  }
594
- }, et = {
597
+ }, Qe = {
595
598
  // More PT options can be found in the ForgeTable file.
596
599
  dataTable: {
597
600
  datatable: "position-relative",
@@ -651,7 +654,7 @@ const Ue = {
651
654
  ]
652
655
  })
653
656
  }
654
- }, tt = {
657
+ }, et = {
655
658
  badge: {
656
659
  root: ({ props: e }) => ({
657
660
  class: [
@@ -672,7 +675,7 @@ const Ue = {
672
675
  ]
673
676
  })
674
677
  }
675
- }, lt = {
678
+ }, tt = {
676
679
  // More PassThrough options in component file.
677
680
  menubar: {
678
681
  menu: ({ instance: e }) => ({
@@ -742,7 +745,7 @@ const Ue = {
742
745
  ]
743
746
  })
744
747
  }
745
- }, at = {
748
+ }, lt = {
746
749
  tooltip: {
747
750
  root: ({ context: e }) => ({
748
751
  class: [
@@ -764,7 +767,7 @@ const Ue = {
764
767
  class: ["tooltip-inner"]
765
768
  }
766
769
  }
767
- }, ot = {
770
+ }, at = {
768
771
  selectbutton: {
769
772
  root: () => ({
770
773
  class: ["btn-group"]
@@ -782,7 +785,7 @@ const Ue = {
782
785
  ]
783
786
  })
784
787
  }
785
- }, nt = {
788
+ }, ot = {
786
789
  progressspinner: {
787
790
  spinner: () => ({
788
791
  class: [
@@ -790,7 +793,7 @@ const Ue = {
790
793
  ]
791
794
  })
792
795
  }
793
- }, st = {
796
+ }, nt = {
794
797
  card: {
795
798
  root: () => ({
796
799
  class: ["card"]
@@ -814,11 +817,11 @@ const Ue = {
814
817
  class: ["card-header"]
815
818
  })
816
819
  }
817
- }, it = {
820
+ }, st = {
818
821
  divider: {
819
822
  root: "border-bottom w-100 m-1"
820
823
  }
821
- }, rt = {
824
+ }, it = {
822
825
  image: {
823
826
  root: "position-relative d-inline-block",
824
827
  button: "preview-button",
@@ -831,7 +834,7 @@ const Ue = {
831
834
  zoominbutton: "btn text-white",
832
835
  closebutton: "btn text-white"
833
836
  }
834
- }, dt = {
837
+ }, rt = {
835
838
  toast: {
836
839
  message: () => ({
837
840
  class: ["toast-container w-100 position-relative"]
@@ -869,7 +872,7 @@ const Ue = {
869
872
  };
870
873
  }
871
874
  }
872
- }, ut = {
875
+ }, dt = {
873
876
  fieldset: {
874
877
  root: () => ({
875
878
  class: [
@@ -892,36 +895,36 @@ const Ue = {
892
895
  ]
893
896
  })
894
897
  }
895
- }, xa = {
896
- ...tt,
898
+ }, ha = {
899
+ ...et,
900
+ ...De,
901
+ ...nt,
897
902
  ...Ue,
903
+ ...He,
904
+ ...Ne,
905
+ ...Ze,
906
+ ...qe,
898
907
  ...st,
899
908
  ...Ae,
900
- ...qe,
901
- ...Ee,
902
- ...Je,
903
- ...Ye,
904
909
  ...it,
905
- ...Ne,
906
- ...rt,
907
910
  ...Le,
911
+ ...Ee,
908
912
  ...Re,
909
- ...je,
910
- ...Ke,
911
- ...Xe,
912
- ...lt,
913
913
  ...Ge,
914
- ...Qe,
915
- ...nt,
914
+ ...Je,
915
+ ...tt,
916
+ ...Ye,
917
+ ...Xe,
916
918
  ...ot,
919
+ ...at,
920
+ ...Ke,
921
+ ...Qe,
917
922
  ...We,
918
- ...et,
919
- ...Ze,
923
+ ...rt,
924
+ ...je,
920
925
  ...dt,
921
- ...He,
922
- ...ut,
923
926
  directives: {
924
- ...at
927
+ ...lt
925
928
  }
926
929
  }, oe = /* @__PURE__ */ F({
927
930
  __name: "ForgeAlert",
@@ -941,12 +944,12 @@ const Ue = {
941
944
  const t = e;
942
945
  return (l, o) => {
943
946
  const a = ge;
944
- return r(), w(a, Q(ee({ ...l.$attrs, ...t })), {
945
- messageicon: f(() => [
947
+ return i(), w(a, Q(ee({ ...l.$attrs, ...t })), {
948
+ messageicon: g(() => [
946
949
  m("div", {
947
950
  class: B(t.icon ? "me-2 pe-1" : "")
948
951
  }, [
949
- t.icon ? (r(), w(p(_), {
952
+ t.icon ? (i(), w(p(_), {
950
953
  key: 0,
951
954
  "data-cy": "message-icon",
952
955
  icon: t.icon,
@@ -955,17 +958,17 @@ const Ue = {
955
958
  }, null, 8, ["icon", "class"])) : C("", !0)
956
959
  ], 2)
957
960
  ]),
958
- closeicon: f(() => [
961
+ closeicon: g(() => [
959
962
  y(p(_), { icon: "bi:x" })
960
963
  ]),
961
- default: f(() => [
964
+ default: g(() => [
962
965
  $(l.$slots, "default")
963
966
  ]),
964
967
  _: 3
965
968
  }, 16);
966
969
  };
967
970
  }
968
- }), ka = /* @__PURE__ */ F({
971
+ }), wa = /* @__PURE__ */ F({
969
972
  __name: "ForgeActionButton",
970
973
  props: {
971
974
  action: {},
@@ -984,8 +987,8 @@ const Ue = {
984
987
  t.value = !1;
985
988
  };
986
989
  return (a, n) => {
987
- const d = E;
988
- return r(), b(N, null, [
990
+ const d = L;
991
+ return i(), b(N, null, [
989
992
  y(d, V({ ...l, ...a.$attrs }, {
990
993
  loading: t.value,
991
994
  disabled: t.value || l.disabled,
@@ -995,7 +998,7 @@ const Ue = {
995
998
  ], 64);
996
999
  };
997
1000
  }
998
- }), ct = { class: "d-flex flex-column" }, mt = ["for"], pt = /* @__PURE__ */ F({
1001
+ }), ut = { class: "d-flex flex-column" }, ct = ["for"], mt = /* @__PURE__ */ F({
999
1002
  __name: "ForgeCheckbox",
1000
1003
  props: /* @__PURE__ */ R({
1001
1004
  label: { default: "" },
@@ -1032,44 +1035,44 @@ const Ue = {
1032
1035
  type: "checkbox",
1033
1036
  checkedValue: l.value
1034
1037
  }
1035
- ), d = (u) => {
1036
- t.name ? o(u) : l.value = u;
1037
- }, i = k(() => a.value.length > 0);
1038
- return (u, c) => {
1039
- const v = ue;
1040
- return r(), b("div", ct, [
1038
+ ), d = (r) => {
1039
+ t.name ? o(r) : l.value = r;
1040
+ }, u = k(() => a.value.length > 0);
1041
+ return (r, c) => {
1042
+ const v = ce;
1043
+ return i(), b("div", ut, [
1041
1044
  m("div", V({
1042
1045
  class: "d-flex cursor-pointer",
1043
1046
  "data-cy": "checkbox-container",
1044
1047
  onClick: c[2] || (c[2] = (s) => d(l.value))
1045
- }, { ...u.$attrs }), [
1048
+ }, { ...r.$attrs }), [
1046
1049
  y(v, V({ ...t }, {
1047
1050
  binary: "",
1048
1051
  modelValue: l.value,
1049
1052
  "onUpdate:modelValue": c[0] || (c[0] = (s) => l.value = s),
1050
1053
  "input-id": t.name,
1051
- "input-class": { "is-invalid": i.value }
1054
+ "input-class": { "is-invalid": u.value }
1052
1055
  }), null, 16, ["modelValue", "input-id", "input-class"]),
1053
1056
  m("label", {
1054
1057
  for: t.name,
1055
1058
  onClick: c[1] || (c[1] = (s) => d(!l.value)),
1056
- class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${i.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1059
+ class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${u.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1057
1060
  }, [
1058
- $(u.$slots, "default", {}, () => [
1059
- z(h(t.label), 1)
1061
+ $(r.$slots, "default", {}, () => [
1062
+ O(h(t.label), 1)
1060
1063
  ])
1061
- ], 10, mt)
1064
+ ], 10, ct)
1062
1065
  ], 16),
1063
1066
  j(m("small", {
1064
1067
  "data-cy": "error",
1065
1068
  class: "text-invalid"
1066
1069
  }, h(p(n)), 513), [
1067
- [q, i.value]
1070
+ [q, u.value]
1068
1071
  ])
1069
1072
  ]);
1070
1073
  };
1071
1074
  }
1072
- }), vt = { class: "forge-loader" }, ve = /* @__PURE__ */ F({
1075
+ }), pt = { class: "forge-loader" }, ye = /* @__PURE__ */ F({
1073
1076
  __name: "ForgeLoader",
1074
1077
  props: {
1075
1078
  severity: { default: "primary" }
@@ -1078,7 +1081,7 @@ const Ue = {
1078
1081
  const t = e;
1079
1082
  return (l, o) => {
1080
1083
  const a = ke;
1081
- return r(), b("div", vt, [
1084
+ return i(), b("div", pt, [
1082
1085
  y(a, {
1083
1086
  "animation-duration": ".75",
1084
1087
  class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
@@ -1086,7 +1089,7 @@ const Ue = {
1086
1089
  ]);
1087
1090
  };
1088
1091
  }
1089
- }), yt = ["href", "target"], $a = /* @__PURE__ */ F({
1092
+ }), vt = ["href", "target"], xa = /* @__PURE__ */ F({
1090
1093
  __name: "ForgeLink",
1091
1094
  props: {
1092
1095
  url: {},
@@ -1120,25 +1123,25 @@ const Ue = {
1120
1123
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1121
1124
  "me-0": e.animateIconOnHover
1122
1125
  }));
1123
- return (o, a) => (r(), b("a", {
1126
+ return (o, a) => (i(), b("a", {
1124
1127
  id: "link",
1125
1128
  class: B(["cursor-pointer d-flex text-break", t.value]),
1126
1129
  href: o.url,
1127
1130
  target: o.target
1128
1131
  }, [
1129
1132
  $(o.$slots, "default", {}, () => [
1130
- o.iconName ? (r(), w(p(_), {
1133
+ o.iconName ? (i(), w(p(_), {
1131
1134
  key: 0,
1132
1135
  id: "link-icon",
1133
1136
  icon: o.iconName,
1134
1137
  class: B(["bi my-auto", l.value])
1135
1138
  }, null, 8, ["icon", "class"])) : C("", !0),
1136
- z(" " + h(o.label), 1)
1139
+ O(" " + h(o.label), 1)
1137
1140
  ])
1138
- ], 10, yt));
1141
+ ], 10, vt));
1139
1142
  }
1140
1143
  });
1141
- function bt(e) {
1144
+ function yt(e) {
1142
1145
  const t = {
1143
1146
  errorMessage: "",
1144
1147
  errorDetails: []
@@ -1149,16 +1152,16 @@ function bt(e) {
1149
1152
  }
1150
1153
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1151
1154
  }
1152
- function Ba(e, t) {
1155
+ function ka(e, t) {
1153
1156
  return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
1154
1157
  }
1155
- function Fa(e, t, l) {
1158
+ function $a(e, t, l) {
1156
1159
  return { id: e, label: t ?? e.toString(), shortLabel: l };
1157
1160
  }
1158
- const ft = { key: 0 }, gt = {
1161
+ const bt = { key: 0 }, ft = {
1159
1162
  class: "d-flex w-100",
1160
1163
  "data-cy": "footer"
1161
- }, _a = /* @__PURE__ */ F({
1164
+ }, Ba = /* @__PURE__ */ F({
1162
1165
  __name: "ForgeModal",
1163
1166
  props: /* @__PURE__ */ R({
1164
1167
  cancelText: { default: "Cancel" },
@@ -1210,19 +1213,19 @@ const ft = { key: 0 }, gt = {
1210
1213
  message: []
1211
1214
  }), d = () => {
1212
1215
  l.value = !1;
1213
- }, i = () => {
1214
- l.value = !0;
1215
1216
  }, u = () => {
1217
+ l.value = !0;
1218
+ }, r = () => {
1216
1219
  t.value = !1;
1217
1220
  }, c = async () => {
1218
1221
  if (o.onConfirm) {
1219
1222
  a.value = !0, n.value.hasError = !1;
1220
1223
  try {
1221
1224
  const s = await o.onConfirm();
1222
- (s || s == null) && u();
1225
+ (s || s == null) && r();
1223
1226
  } catch (s) {
1224
1227
  n.value.hasError = !0;
1225
- const S = bt(s);
1228
+ const S = yt(s);
1226
1229
  n.value.header = S.errorMessage, n.value.message = S.errorDetails;
1227
1230
  }
1228
1231
  a.value = !1;
@@ -1239,22 +1242,22 @@ const ft = { key: 0 }, gt = {
1239
1242
  ]
1240
1243
  }));
1241
1244
  return (s, S) => {
1242
- const T = E, M = $e;
1243
- return r(), w(M, V(o, {
1244
- onMaximize: i,
1245
+ const T = L, M = $e;
1246
+ return i(), w(M, V(o, {
1247
+ onMaximize: u,
1245
1248
  onUnmaximize: d,
1246
1249
  pt: v.value
1247
1250
  }), te({
1248
- closeicon: f(() => [
1251
+ closeicon: g(() => [
1249
1252
  y(p(_), {
1250
1253
  "data-cy": "close-icon",
1251
1254
  icon: "bi:x-lg",
1252
1255
  width: "18",
1253
1256
  height: "18",
1254
- onClick: u
1257
+ onClick: r
1255
1258
  })
1256
1259
  ]),
1257
- maximizeicon: f(() => [
1260
+ maximizeicon: g(() => [
1258
1261
  y(p(_), {
1259
1262
  "data-cy": "maximisable-icon",
1260
1263
  icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
@@ -1264,39 +1267,39 @@ const ft = { key: 0 }, gt = {
1264
1267
  ]),
1265
1268
  _: 2
1266
1269
  }, [
1267
- H(s.$slots, (I, O) => ({
1268
- name: O,
1269
- fn: f((g) => [
1270
- n.value.hasError ? (r(), w(oe, {
1270
+ H(s.$slots, (I, z) => ({
1271
+ name: z,
1272
+ fn: g((f) => [
1273
+ n.value.hasError ? (i(), w(oe, {
1271
1274
  key: 0,
1272
1275
  severity: "danger",
1273
1276
  "data-cy": "error"
1274
1277
  }, {
1275
- default: f(() => [
1278
+ default: g(() => [
1276
1279
  m("p", {
1277
1280
  class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
1278
1281
  }, h(n.value.header), 3),
1279
- n.value.message.length > 0 ? (r(), b("ul", ft, [
1280
- (r(!0), b(N, null, H(n.value.message, (x) => (r(), b("li", { key: x }, h(x), 1))), 128))
1282
+ n.value.message.length > 0 ? (i(), b("ul", bt, [
1283
+ (i(!0), b(N, null, H(n.value.message, (x) => (i(), b("li", { key: x }, h(x), 1))), 128))
1281
1284
  ])) : C("", !0)
1282
1285
  ]),
1283
1286
  _: 1
1284
1287
  })) : C("", !0),
1285
- $(s.$slots, O, Q(ee(g || {}))),
1288
+ $(s.$slots, z, Q(ee(f || {}))),
1286
1289
  a.value ? $(s.$slots, "loader", { key: 1 }, () => [
1287
- y(ve, { "data-cy": "loader" })
1290
+ y(ye, { "data-cy": "loader" })
1288
1291
  ]) : C("", !0)
1289
1292
  ])
1290
1293
  })),
1291
1294
  s.showFooter ? {
1292
1295
  name: "footer",
1293
- fn: f(() => [
1294
- m("div", gt, [
1296
+ fn: g(() => [
1297
+ m("div", ft, [
1295
1298
  y(T, {
1296
1299
  label: s.cancelText,
1297
1300
  class: B(o.cancelClass),
1298
1301
  outlined: "",
1299
- onClick: u,
1302
+ onClick: r,
1300
1303
  id: "cancel-button",
1301
1304
  type: o.cancelButtonType
1302
1305
  }, null, 8, ["label", "class", "type"]),
@@ -1314,7 +1317,7 @@ const ft = { key: 0 }, gt = {
1314
1317
  ]), 1040, ["pt"]);
1315
1318
  };
1316
1319
  }
1317
- }), ht = ["id"], wt = { key: 0 }, xt = { key: 0 }, kt = { class: "d-flex justify-content-between align-items-center position-relative" }, $t = { key: 1 }, Bt = { "data-cy": "readonly-value" }, Ft = /* @__PURE__ */ F({
1320
+ }), gt = ["id"], ht = { key: 0 }, wt = { key: 0 }, xt = { class: "d-flex justify-content-between align-items-center position-relative" }, kt = { key: 1 }, $t = { "data-cy": "readonly-value" }, Bt = /* @__PURE__ */ F({
1318
1321
  __name: "ForgeInlineEditor",
1319
1322
  props: /* @__PURE__ */ R({
1320
1323
  name: { default: "" },
@@ -1343,9 +1346,9 @@ const ft = { key: 0 }, gt = {
1343
1346
  }
1344
1347
  else
1345
1348
  o.value = !o.value;
1346
- }, i = () => {
1347
- o.value = !o.value;
1348
1349
  }, u = () => {
1350
+ o.value = !o.value;
1351
+ }, r = () => {
1349
1352
  s.value = null;
1350
1353
  }, { errorMessage: c, errors: v, value: s } = K(() => t.name, void 0, {
1351
1354
  initialValue: l.value
@@ -1355,21 +1358,21 @@ const ft = { key: 0 }, gt = {
1355
1358
  });
1356
1359
  const S = k(() => v.value.length > 0);
1357
1360
  return (T, M) => {
1358
- const I = ie, O = E;
1359
- return r(), b("div", {
1361
+ const I = ie, z = L;
1362
+ return i(), b("div", {
1360
1363
  id: t.name
1361
1364
  }, [
1362
- T.readonly ? (r(), b("div", $t, [
1365
+ T.readonly ? (i(), b("div", kt, [
1363
1366
  $(T.$slots, "default", {}, () => [
1364
- m("span", Bt, h(p(s)), 1)
1367
+ m("span", $t, h(p(s)), 1)
1365
1368
  ])
1366
- ])) : (r(), b("div", wt, [
1367
- o.value ? (r(), b("div", xt, [
1368
- j((r(), b("div", kt, [
1369
+ ])) : (i(), b("div", ht, [
1370
+ o.value ? (i(), b("div", wt, [
1371
+ j((i(), b("div", xt, [
1369
1372
  $(T.$slots, "editor", {
1370
1373
  class: B({ "is-invalid": S.value }),
1371
1374
  editFinished: d,
1372
- cancel: i,
1375
+ cancel: u,
1373
1376
  val: p(s)
1374
1377
  }, () => [
1375
1378
  y(I, {
@@ -1377,26 +1380,26 @@ const ft = { key: 0 }, gt = {
1377
1380
  ref_key: "input",
1378
1381
  ref: a,
1379
1382
  modelValue: p(s),
1380
- "onUpdate:modelValue": M[0] || (M[0] = (g) => se(s) ? s.value = g : null),
1383
+ "onUpdate:modelValue": M[0] || (M[0] = (f) => se(s) ? s.value = f : null),
1381
1384
  modelModifiers: { trim: !0 },
1382
1385
  class: B({ "is-invalid": S.value }),
1383
1386
  onKeydown: [
1384
1387
  J(d, ["enter"]),
1385
- J(i, ["esc"])
1388
+ J(u, ["esc"])
1386
1389
  ]
1387
1390
  }, null, 8, ["modelValue", "class"])
1388
1391
  ]),
1389
1392
  y(p(_), {
1390
1393
  icon: "bi:x-circle",
1391
1394
  class: "mx-2 cursor-pointer",
1392
- onClick: u,
1393
- onKeydown: J(u, ["enter"]),
1395
+ onClick: r,
1396
+ onKeydown: J(r, ["enter"]),
1394
1397
  "data-cy": "clear-icon"
1395
1398
  })
1396
1399
  ])), [
1397
1400
  [p(Be), d]
1398
1401
  ])
1399
- ])) : (r(), b("div", {
1402
+ ])) : (i(), b("div", {
1400
1403
  key: 1,
1401
1404
  class: "d-flex text-muted",
1402
1405
  onClick: n,
@@ -1408,11 +1411,11 @@ const ft = { key: 0 }, gt = {
1408
1411
  "data-cy": "value"
1409
1412
  }, h(p(s) ? p(s) : "Click to edit"), 3)
1410
1413
  ]),
1411
- y(O, {
1414
+ y(z, {
1412
1415
  link: "",
1413
1416
  class: "p-0 m-0"
1414
1417
  }, {
1415
- default: f(() => [
1418
+ default: g(() => [
1416
1419
  y(p(_), {
1417
1420
  icon: "bi:pencil",
1418
1421
  class: B(S.value ? "text-invalid" : "text-muted"),
@@ -1430,10 +1433,10 @@ const ft = { key: 0 }, gt = {
1430
1433
  }, h(p(c)), 513), [
1431
1434
  [q, S.value]
1432
1435
  ])
1433
- ], 8, ht);
1436
+ ], 8, gt);
1434
1437
  };
1435
1438
  }
1436
- }), _t = ["href"], Va = /* @__PURE__ */ F({
1439
+ }), Ft = ["href"], Fa = /* @__PURE__ */ F({
1437
1440
  __name: "ForgeNavbar",
1438
1441
  props: {
1439
1442
  severity: { default: "light" },
@@ -1479,22 +1482,22 @@ const ft = { key: 0 }, gt = {
1479
1482
  }));
1480
1483
  return (o, a) => {
1481
1484
  const n = Fe;
1482
- return r(), w(n, V({ ...t, ...o.$attrs }, {
1485
+ return i(), w(n, V({ ...t, ...o.$attrs }, {
1483
1486
  pt: l.value,
1484
1487
  "data-cy": "navbar"
1485
1488
  }), te({
1486
- start: f(() => [
1489
+ start: g(() => [
1487
1490
  m("a", {
1488
1491
  href: o.logoUrl,
1489
1492
  class: "navbar-brand ms-3",
1490
1493
  "data-cy": "logo"
1491
1494
  }, [
1492
1495
  $(o.$slots, "logo", {}, () => [
1493
- a[0] || (a[0] = z(" Logo "))
1496
+ a[0] || (a[0] = O(" Logo "))
1494
1497
  ])
1495
- ], 8, _t)
1498
+ ], 8, Ft)
1496
1499
  ]),
1497
- menubuttonicon: f(() => [
1500
+ menubuttonicon: g(() => [
1498
1501
  $(o.$slots, "menubuttonicon", {}, () => [
1499
1502
  y(p(_), {
1500
1503
  icon: "bi:list",
@@ -1506,16 +1509,16 @@ const ft = { key: 0 }, gt = {
1506
1509
  ]),
1507
1510
  _: 2
1508
1511
  }, [
1509
- H(o.$slots, (d, i) => ({
1510
- name: i,
1511
- fn: f((u) => [
1512
- $(o.$slots, i, Q(ee(u)))
1512
+ H(o.$slots, (d, u) => ({
1513
+ name: u,
1514
+ fn: g((r) => [
1515
+ $(o.$slots, u, Q(ee(r)))
1513
1516
  ])
1514
1517
  }))
1515
1518
  ]), 1040, ["pt"]);
1516
1519
  };
1517
1520
  }
1518
- }), Vt = { class: "multiselect__caret" }, Ct = ["checked"], St = ["data-cy"], Tt = ["checked"], Pt = { class: "my-auto ms-1" }, Mt = { class: "multiselect__tag d-inline-flex" }, It = { class: "my-auto" }, ye = /* @__PURE__ */ F({
1521
+ }), _t = { class: "multiselect__caret" }, Vt = ["checked"], Ct = ["data-cy"], St = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, _a = /* @__PURE__ */ F({
1519
1522
  __name: "ForgeMultiSelect",
1520
1523
  props: {
1521
1524
  severity: { default: "primary" },
@@ -1527,13 +1530,13 @@ const ft = { key: 0 }, gt = {
1527
1530
  },
1528
1531
  emits: ["update:modelValue"],
1529
1532
  setup(e, { emit: t }) {
1530
- const l = e, o = (L, D) => {
1533
+ const l = e, o = (E, D) => {
1531
1534
  const A = {
1532
1535
  ...D,
1533
1536
  $isDisabled: D.$isDisabled ?? !1
1534
1537
  };
1535
- L(A);
1536
- }, a = he(), n = t, { errors: d, value: i, errorMessage: u } = K(() => l.name, void 0, {
1538
+ E(A);
1539
+ }, a = he(), n = t, { errors: d, value: u, errorMessage: r } = K(() => l.name, void 0, {
1537
1540
  initialValue: a.modelValue
1538
1541
  }), c = P(!1), v = k(() => ({
1539
1542
  multiple: !0,
@@ -1548,26 +1551,26 @@ const ft = { key: 0 }, gt = {
1548
1551
  searchable: !!(a.searchable === null || a.searchable) && a.modelValue.length === a.options.length,
1549
1552
  async: !1,
1550
1553
  ...a
1551
- })), s = k(() => `forge-multiselect-${l.severity}`), S = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${T.value ? " multiselect__option--selected" : ""}`), T = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => d.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), O = () => c.value = !0, g = () => c.value = !1, x = () => {
1552
- i.value = v.value.multiple ? [] : null, n("update:modelValue", i.value);
1553
- }, G = (L) => {
1554
- n("update:modelValue", l.selectValue ? L.map((D) => D[l.selectValue]) : L);
1555
- }, Z = (L) => a.modelValue !== null ? a.modelValue.some((D) => v.value.selectValue ? L[l.selectValue] === D : L.id === D.id && L.label === D.label) : !1, ne = () => {
1556
- T.value ? x() : (i.value = [...a.options], n("update:modelValue", [...a.options]));
1554
+ })), s = k(() => `forge-multiselect-${l.severity}`), S = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${T.value ? " multiselect__option--selected" : ""}`), T = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => d.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => c.value = !0, f = () => c.value = !1, x = () => {
1555
+ u.value = v.value.multiple ? [] : null, n("update:modelValue", u.value);
1556
+ }, G = (E) => {
1557
+ n("update:modelValue", l.selectValue ? E.map((D) => D[l.selectValue]) : E);
1558
+ }, Z = (E) => a.modelValue !== null ? a.modelValue.some((D) => v.value.selectValue ? E[l.selectValue] === D : E.id === D.id && E.label === D.label) : !1, ne = () => {
1559
+ T.value ? x() : (u.value = [...a.options], n("update:modelValue", [...a.options]));
1557
1560
  };
1558
- return (L, D) => (r(), b(N, null, [
1561
+ return (E, D) => (i(), b(N, null, [
1559
1562
  y(p(_e), V(v.value, {
1560
1563
  class: [s.value, M.value ? "is-invalid" : ""],
1561
1564
  "data-cy": "multiselect",
1562
1565
  "onUpdate:modelValue": [
1563
1566
  G,
1564
- D[1] || (D[1] = (A) => se(i) ? i.value = A : null)
1567
+ D[1] || (D[1] = (A) => se(u) ? u.value = A : null)
1565
1568
  ],
1566
- modelValue: p(i)
1569
+ modelValue: p(u)
1567
1570
  }), te({
1568
- caret: f(({ toggle: A }) => [
1569
- m("div", Vt, [
1570
- I.value ? (r(), w(p(_), {
1571
+ caret: g(({ toggle: A }) => [
1572
+ m("div", _t, [
1573
+ I.value ? (i(), w(p(_), {
1571
1574
  key: 0,
1572
1575
  icon: "bi:x",
1573
1576
  class: "my-auto text-black multiselect__clear",
@@ -1583,31 +1586,31 @@ const ft = { key: 0 }, gt = {
1583
1586
  }, null, 8, ["onClick"])
1584
1587
  ])
1585
1588
  ]),
1586
- tag: f(({ option: A, remove: W }) => [
1587
- m("div", Mt, [
1588
- m("div", It, h(A.label), 1),
1589
+ tag: g(({ option: A, remove: W }) => [
1590
+ m("div", Pt, [
1591
+ m("div", Mt, h(A.label), 1),
1589
1592
  y(p(_), {
1590
1593
  icon: "bi:x",
1591
1594
  class: "my-auto multiselect__tag-icon",
1592
- onMousedown: Y((Gl) => o(W, A), ["prevent", "stop"]),
1595
+ onMousedown: Y((ql) => o(W, A), ["prevent", "stop"]),
1593
1596
  height: "18px",
1594
1597
  width: "18px"
1595
1598
  }, null, 8, ["onMousedown"])
1596
1599
  ])
1597
1600
  ]),
1598
- default: f(() => [
1599
- (r(!0), b(N, null, H(L.$slots, (A, W) => $(L.$slots, W, { slot: W })), 256))
1601
+ default: g(() => [
1602
+ (i(!0), b(N, null, H(E.$slots, (A, W) => $(E.$slots, W, { slot: W })), 256))
1600
1603
  ]),
1601
1604
  _: 2
1602
1605
  }, [
1603
- v.value.multiple && L.showSelectAll && !v.value.async ? {
1606
+ v.value.multiple && E.showSelectAll && !v.value.async ? {
1604
1607
  name: "beforeList",
1605
- fn: f(() => [
1608
+ fn: g(() => [
1606
1609
  m("li", {
1607
1610
  class: "multiselect__element",
1608
1611
  onClick: ne,
1609
- onMouseover: O,
1610
- onMouseleave: g,
1612
+ onMouseover: z,
1613
+ onMouseleave: f,
1611
1614
  "data-cy": "toggle-all"
1612
1615
  }, [
1613
1616
  m("div", {
@@ -1618,7 +1621,7 @@ const ft = { key: 0 }, gt = {
1618
1621
  name: "selected",
1619
1622
  type: "checkbox",
1620
1623
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1621
- }, null, 8, Ct),
1624
+ }, null, 8, Vt),
1622
1625
  D[2] || (D[2] = m("div", { class: "my-auto ms-1" }, "Toggle all", -1))
1623
1626
  ], 2)
1624
1627
  ], 32)
@@ -1627,7 +1630,7 @@ const ft = { key: 0 }, gt = {
1627
1630
  } : void 0,
1628
1631
  v.value.multiple ? {
1629
1632
  name: "option",
1630
- fn: f(({ option: A }) => [
1633
+ fn: g(({ option: A }) => [
1631
1634
  m("div", {
1632
1635
  class: "d-flex py-1",
1633
1636
  "data-cy": A.label
@@ -1637,9 +1640,9 @@ const ft = { key: 0 }, gt = {
1637
1640
  name: "selected",
1638
1641
  type: "checkbox",
1639
1642
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1640
- }, null, 8, Tt),
1641
- m("div", Pt, h(A[v.value.label]), 1)
1642
- ], 8, St)
1643
+ }, null, 8, St),
1644
+ m("div", Tt, h(A[v.value.label]), 1)
1645
+ ], 8, Ct)
1643
1646
  ]),
1644
1647
  key: "1"
1645
1648
  } : void 0
@@ -1647,22 +1650,19 @@ const ft = { key: 0 }, gt = {
1647
1650
  j(m("small", {
1648
1651
  "data-cy": "error",
1649
1652
  class: "invalid-feedback"
1650
- }, h(p(u)), 513), [
1653
+ }, h(p(r)), 513), [
1651
1654
  [q, M.value]
1652
1655
  ])
1653
1656
  ], 64));
1654
1657
  }
1655
- }), zt = {
1656
- key: 0,
1657
- class: "pl-1"
1658
- }, Ot = { class: "border alternating-item-list" }, Dt = {
1658
+ }), It = { class: "border alternating-item-list" }, zt = {
1659
1659
  key: 0,
1660
1660
  class: "p-2 border-top border-bottom",
1661
1661
  "data-cy": "title"
1662
- }, Ut = { class: "d-inline-block" }, At = {
1662
+ }, Ot = { class: "d-inline-block" }, Dt = {
1663
1663
  key: 1,
1664
1664
  class: "p-2 item d-flex justify-content-between align-items-center"
1665
- }, Ca = /* @__PURE__ */ F({
1665
+ }, Va = /* @__PURE__ */ F({
1666
1666
  __name: "ForgeMultiSelectPreview",
1667
1667
  props: /* @__PURE__ */ R({
1668
1668
  title: { default: "Selected Items" },
@@ -1670,7 +1670,8 @@ const ft = { key: 0 }, gt = {
1670
1670
  height: { default: "200px" },
1671
1671
  options: {},
1672
1672
  canRemoveItemFromPreview: { type: Boolean, default: !1 },
1673
- optionsPreviewEmptyText: { default: "No Items Selected." }
1673
+ optionsPreviewEmptyText: { default: "No Items Selected." },
1674
+ multiselectPlaceholder: { default: "Select" }
1674
1675
  }, {
1675
1676
  modelValue: { default: [] },
1676
1677
  modelModifiers: {}
@@ -1681,8 +1682,8 @@ const ft = { key: 0 }, gt = {
1681
1682
  l.value = l.value.filter((n) => n.id !== a);
1682
1683
  };
1683
1684
  return (a, n) => {
1684
- const d = E;
1685
- return r(), b("div", {
1685
+ const d = re, u = L;
1686
+ return i(), b("div", {
1686
1687
  class: B(a.orientation === "column" ? "row" : ""),
1687
1688
  "data-cy": "multiselect-preview"
1688
1689
  }, [
@@ -1690,23 +1691,21 @@ const ft = { key: 0 }, gt = {
1690
1691
  class: B(a.orientation === "row" ? "col-12 mb-1" : "col"),
1691
1692
  "data-cy": "multiselect-container"
1692
1693
  }, [
1693
- y(ye, V({
1694
+ y(d, V({
1694
1695
  modelValue: l.value,
1695
- "onUpdate:modelValue": n[0] || (n[0] = (i) => l.value = i),
1696
- "limit-text": () => `${l.value.length} selected`,
1697
- options: t.options
1698
- }, { ...a.$attrs }), {
1699
- tag: f(() => n[1] || (n[1] = [
1700
- z(h(""))
1701
- ])),
1702
- selection: f(() => [
1703
- l.value.length > 0 ? (r(), b("span", zt, h(l.value.length) + " items selected", 1)) : C("", !0)
1704
- ]),
1705
- default: f(() => [
1706
- (r(!0), b(N, null, H(a.$slots, (i, u) => $(a.$slots, u, { slot: u })), 256))
1696
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r)
1697
+ }, { ...a.$attrs }, {
1698
+ options: t.options,
1699
+ display: "chip",
1700
+ optionLabel: "label",
1701
+ placeholder: a.multiselectPlaceholder,
1702
+ "data-cy": "multiselect"
1703
+ }), {
1704
+ default: g(() => [
1705
+ (i(!0), b(N, null, H(a.$slots, (r, c) => $(a.$slots, c, { slot: c })), 256))
1707
1706
  ]),
1708
1707
  _: 3
1709
- }, 16, ["modelValue", "limit-text", "options"]),
1708
+ }, 16, ["modelValue", "options", "placeholder"]),
1710
1709
  $(a.$slots, "after-multi-select")
1711
1710
  ], 2),
1712
1711
  m("div", {
@@ -1717,59 +1716,59 @@ const ft = { key: 0 }, gt = {
1717
1716
  style: we({ height: a.height }),
1718
1717
  class: "overflow-auto"
1719
1718
  }, [
1720
- m("div", Ot, [
1721
- a.title ? (r(), b("div", Dt, h(a.title), 1)) : C("", !0),
1722
- (r(!0), b(N, null, H(l.value, (i) => (r(), b("div", {
1723
- key: i.id,
1719
+ m("div", It, [
1720
+ a.title ? (i(), b("div", zt, h(a.title), 1)) : C("", !0),
1721
+ (i(!0), b(N, null, H(l.value, (r) => (i(), b("div", {
1722
+ key: r.id,
1724
1723
  class: "p-2 item d-flex justify-content-between align-items-center"
1725
1724
  }, [
1726
- $(a.$slots, "list-item", { item: i }, () => [
1727
- m("span", Ut, h(i.shortLabel ? i.shortLabel : i.label), 1)
1725
+ $(a.$slots, "list-item", { item: r }, () => [
1726
+ m("span", Ot, h(r.shortLabel ? r.shortLabel : r.label), 1)
1728
1727
  ]),
1729
- a.canRemoveItemFromPreview ? (r(), w(d, {
1728
+ a.canRemoveItemFromPreview ? (i(), w(u, {
1730
1729
  key: 0,
1731
1730
  link: "",
1732
1731
  class: "m-0 p-0 d-flex align-items-center",
1733
- onClick: (u) => o(i.id)
1732
+ onClick: (c) => o(r.id)
1734
1733
  }, {
1735
- default: f(() => [
1734
+ default: g(() => [
1736
1735
  y(p(_), {
1737
1736
  icon: "bi:x",
1738
1737
  class: "close-icon",
1739
- "data-cy": `close-icon-${i.id}`
1738
+ "data-cy": `close-icon-${r.id}`
1740
1739
  }, null, 8, ["data-cy"])
1741
1740
  ]),
1742
1741
  _: 2
1743
1742
  }, 1032, ["onClick"])) : C("", !0)
1744
1743
  ]))), 128)),
1745
- l.value.length === 0 ? (r(), b("div", At, h(t.optionsPreviewEmptyText), 1)) : C("", !0)
1744
+ l.value.length === 0 ? (i(), b("div", Dt, h(t.optionsPreviewEmptyText), 1)) : C("", !0)
1746
1745
  ])
1747
1746
  ], 4)
1748
1747
  ], 2)
1749
1748
  ], 2);
1750
1749
  };
1751
1750
  }
1752
- }), Nt = { class: "d-flex justify-content-between pb-2" }, Et = {
1751
+ }), Ut = { class: "d-flex justify-content-between pb-2" }, At = {
1753
1752
  "data-cy": "title",
1754
1753
  class: "my-auto"
1755
- }, Lt = {
1754
+ }, Nt = {
1756
1755
  "data-cy": "slot",
1757
1756
  class: "d-flex align-items-center"
1758
- }, Sa = /* @__PURE__ */ F({
1757
+ }, Ca = /* @__PURE__ */ F({
1759
1758
  __name: "ForgePageHeader",
1760
1759
  props: {
1761
1760
  title: {}
1762
1761
  },
1763
1762
  setup(e) {
1764
1763
  const t = e;
1765
- return (l, o) => (r(), b("div", Nt, [
1766
- m("h3", Et, h(t.title), 1),
1767
- m("div", Lt, [
1764
+ return (l, o) => (i(), b("div", Ut, [
1765
+ m("h3", At, h(t.title), 1),
1766
+ m("div", Nt, [
1768
1767
  $(l.$slots, "default")
1769
1768
  ])
1770
1769
  ]));
1771
1770
  }
1772
- }), Rt = { class: "d-flex" }, jt = { "data-cy": "before-slot" }, Ht = { class: "position-relative w-100" }, qt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1771
+ }), Lt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, jt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1773
1772
  __name: "ForgeDatepicker",
1774
1773
  props: /* @__PURE__ */ R({
1775
1774
  severity: { default: "primary" },
@@ -1842,10 +1841,10 @@ const ft = { key: 0 }, gt = {
1842
1841
  }),
1843
1842
  emits: ["update:modelValue"],
1844
1843
  setup(e) {
1845
- const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: i } = K(() => t.name, void 0, {
1844
+ const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: u } = K(() => t.name, void 0, {
1846
1845
  initialValue: l.value
1847
- }), u = () => {
1848
- i(null), l.value = null;
1846
+ }), r = () => {
1847
+ u(null), l.value = null;
1849
1848
  }, c = k(() => o.value.length > 0), v = k(() => ({
1850
1849
  day: ({ context: s }) => ({
1851
1850
  class: [
@@ -1939,12 +1938,12 @@ const ft = { key: 0 }, gt = {
1939
1938
  }));
1940
1939
  return (s, S) => {
1941
1940
  const T = Ve;
1942
- return r(), b(N, null, [
1943
- m("div", Rt, [
1944
- m("span", jt, [
1941
+ return i(), b(N, null, [
1942
+ m("div", Lt, [
1943
+ m("span", Et, [
1945
1944
  $(s.$slots, "before")
1946
1945
  ]),
1947
- m("div", Ht, [
1946
+ m("div", Rt, [
1948
1947
  y(T, V({ ...t, ...s.$attrs }, {
1949
1948
  pt: v.value,
1950
1949
  modelValue: l.value,
@@ -1965,13 +1964,13 @@ const ft = { key: 0 }, gt = {
1965
1964
  j(y(p(_), {
1966
1965
  "data-cy": "icon",
1967
1966
  icon: "bi:x",
1968
- onClick: u,
1967
+ onClick: r,
1969
1968
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
1970
1969
  }, null, 8, ["class"]), [
1971
1970
  [q, t.modelValue]
1972
1971
  ])
1973
1972
  ]),
1974
- m("span", qt, [
1973
+ m("span", jt, [
1975
1974
  $(s.$slots, "after")
1976
1975
  ])
1977
1976
  ]),
@@ -1984,7 +1983,7 @@ const ft = { key: 0 }, gt = {
1984
1983
  ], 64);
1985
1984
  };
1986
1985
  }
1987
- }), Ta = /* @__PURE__ */ F({
1986
+ }), Sa = /* @__PURE__ */ F({
1988
1987
  __name: "ForgeRemainingCharacters",
1989
1988
  props: {
1990
1989
  maxCount: { default: 300 },
@@ -1992,11 +1991,11 @@ const ft = { key: 0 }, gt = {
1992
1991
  },
1993
1992
  setup(e) {
1994
1993
  const t = e, l = k(() => t.maxCount - t.currentCount);
1995
- return (o, a) => (r(), b("div", {
1994
+ return (o, a) => (i(), b("div", {
1996
1995
  class: B(l.value < 0 ? "text-danger" : "")
1997
1996
  }, "Remaining characters: " + h(l.value), 3));
1998
1997
  }
1999
- }), Yt = { class: "d-flex justify-content-between" }, Pa = /* @__PURE__ */ F({
1998
+ }), Ht = { class: "d-flex justify-content-between" }, Ta = /* @__PURE__ */ F({
2000
1999
  __name: "ForgeForm",
2001
2000
  props: {
2002
2001
  onSubmit: {},
@@ -2022,13 +2021,13 @@ const ft = { key: 0 }, gt = {
2022
2021
  l.value = !1;
2023
2022
  }
2024
2023
  return (n, d) => {
2025
- const i = E;
2026
- return r(), b("form", V(n.$attrs, {
2024
+ const u = L;
2025
+ return i(), b("form", V(n.$attrs, {
2027
2026
  novalidate: "",
2028
2027
  class: "position-relative shadow-sm border p-4 bg-white",
2029
2028
  onSubmit: Y(a, ["prevent"])
2030
2029
  }), [
2031
- n.hideTitle ? C("", !0) : (r(), b(N, { key: 0 }, [
2030
+ n.hideTitle ? C("", !0) : (i(), b(N, { key: 0 }, [
2032
2031
  $(n.$slots, "title", {}, () => [
2033
2032
  m("h3", {
2034
2033
  class: B(n.titleClass),
@@ -2037,62 +2036,62 @@ const ft = { key: 0 }, gt = {
2037
2036
  ]),
2038
2037
  d[1] || (d[1] = m("hr", null, null, -1))
2039
2038
  ], 64)),
2040
- o.value.hasError ? (r(), w(oe, {
2039
+ o.value.hasError ? (i(), w(oe, {
2041
2040
  key: 1,
2042
2041
  severity: "danger",
2043
2042
  "data-cy": "error"
2044
2043
  }, {
2045
- default: f(() => [
2044
+ default: g(() => [
2046
2045
  $(n.$slots, "error", {
2047
2046
  error: o.value.message
2048
2047
  }, () => [
2049
- z(h(o.value.message), 1)
2048
+ O(h(o.value.message), 1)
2050
2049
  ])
2051
2050
  ]),
2052
2051
  _: 3
2053
2052
  })) : C("", !0),
2054
2053
  $(n.$slots, "default"),
2055
- m("div", Yt, [
2054
+ m("div", Ht, [
2056
2055
  $(n.$slots, "cancel", {}, () => [
2057
- n.hideCancel ? C("", !0) : (r(), w(i, {
2056
+ n.hideCancel ? C("", !0) : (i(), w(u, {
2058
2057
  key: 0,
2059
2058
  "data-cy": "cancel-btn",
2060
2059
  type: "reset",
2061
2060
  severity: "secondary",
2062
2061
  outlined: "",
2063
- onClick: d[0] || (d[0] = (u) => n.$emit("cancel"))
2062
+ onClick: d[0] || (d[0] = (r) => n.$emit("cancel"))
2064
2063
  }, {
2065
- default: f(() => [
2066
- z(h(n.cancelText), 1)
2064
+ default: g(() => [
2065
+ O(h(n.cancelText), 1)
2067
2066
  ]),
2068
2067
  _: 1
2069
2068
  }))
2070
2069
  ]),
2071
2070
  $(n.$slots, "submit", { submit: a }, () => [
2072
- y(i, {
2071
+ y(u, {
2073
2072
  "data-cy": "submit-btn",
2074
2073
  type: "submit",
2075
2074
  severity: "primary",
2076
2075
  class: "ms-auto"
2077
2076
  }, {
2078
- default: f(() => [
2079
- z(h(n.submitText), 1)
2077
+ default: g(() => [
2078
+ O(h(n.submitText), 1)
2080
2079
  ]),
2081
2080
  _: 1
2082
2081
  })
2083
2082
  ])
2084
2083
  ]),
2085
- l.value ? (r(), w(ve, {
2084
+ l.value ? (i(), w(ye, {
2086
2085
  key: 2,
2087
2086
  "data-cy": "loading-spinner"
2088
2087
  })) : C("", !0)
2089
2088
  ], 16);
2090
2089
  };
2091
2090
  }
2092
- }), Gt = {
2091
+ }), qt = {
2093
2092
  key: 1,
2094
2093
  class: "d-flex flex-column w-100"
2095
- }, Kt = ["for"], Ma = /* @__PURE__ */ F({
2094
+ }, Yt = ["for"], Pa = /* @__PURE__ */ F({
2096
2095
  __name: "ForgeFormField",
2097
2096
  props: /* @__PURE__ */ R({
2098
2097
  name: {},
@@ -2108,15 +2107,15 @@ const ft = { key: 0 }, gt = {
2108
2107
  emits: ["update:modelValue"],
2109
2108
  setup(e) {
2110
2109
  const t = U(e, "modelValue"), l = e, o = (v) => {
2111
- l.type == "number" ? i(v.value) : i(v);
2112
- }, { errors: a, value: n, errorMessage: d, handleChange: i, handleBlur: u } = K(() => l.name, void 0, {
2110
+ l.type == "number" ? u(v.value) : u(v);
2111
+ }, { errors: a, value: n, errorMessage: d, handleChange: u, handleBlur: r } = K(() => l.name, void 0, {
2113
2112
  initialValue: t.value
2114
2113
  }), c = k(() => a.value.length > 0);
2115
- return de(() => n.value, (v) => {
2114
+ return ue(() => n.value, (v) => {
2116
2115
  t.value = v;
2117
2116
  }, { immediate: !0 }), (v, s) => {
2118
- const S = Se, T = Ce, M = ie, I = ae, O = ye, g = be;
2119
- return l.type === "checkbox" ? (r(), w(pt, V({
2117
+ const S = Se, T = Ce, M = ie, I = ae, z = re, f = be;
2118
+ return l.type === "checkbox" ? (i(), w(mt, V({
2120
2119
  key: 0,
2121
2120
  id: l.name,
2122
2121
  label: l.fieldLabel
@@ -2124,7 +2123,7 @@ const ft = { key: 0 }, gt = {
2124
2123
  name: l.name,
2125
2124
  modelValue: t.value,
2126
2125
  "onUpdate:modelValue": s[0] || (s[0] = (x) => t.value = x)
2127
- }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), b("div", Gt, [
2126
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (i(), b("div", qt, [
2128
2127
  m("div", {
2129
2128
  "data-cy": "input-wrapper",
2130
2129
  class: B(["d-flex", l.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2132,8 +2131,8 @@ const ft = { key: 0 }, gt = {
2132
2131
  m("label", {
2133
2132
  for: l.name,
2134
2133
  class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2")
2135
- }, h(l.fieldLabel), 11, Kt),
2136
- l.type === "number" ? (r(), w(p(ce), V({
2134
+ }, h(l.fieldLabel), 11, Yt),
2135
+ l.type === "number" ? (i(), w(p(me), V({
2137
2136
  key: 0,
2138
2137
  id: l.name
2139
2138
  }, v.$attrs, {
@@ -2143,7 +2142,7 @@ const ft = { key: 0 }, gt = {
2143
2142
  modelValue: t.value,
2144
2143
  "onUpdate:modelValue": s[1] || (s[1] = (x) => t.value = x),
2145
2144
  onInput: o
2146
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (r(), w(S, V({
2145
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(S, V({
2147
2146
  key: 1,
2148
2147
  id: l.name
2149
2148
  }, v.$attrs, {
@@ -2152,8 +2151,8 @@ const ft = { key: 0 }, gt = {
2152
2151
  modelValue: t.value,
2153
2152
  "onUpdate:modelValue": s[2] || (s[2] = (x) => t.value = x),
2154
2153
  onInput: o,
2155
- onBlur: p(u)
2156
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (r(), w(T, V({
2154
+ onBlur: p(r)
2155
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(T, V({
2157
2156
  key: 2,
2158
2157
  id: l.name
2159
2158
  }, v.$attrs, {
@@ -2163,8 +2162,8 @@ const ft = { key: 0 }, gt = {
2163
2162
  modelValue: t.value,
2164
2163
  "onUpdate:modelValue": s[3] || (s[3] = (x) => t.value = x),
2165
2164
  onComplete: o,
2166
- onBlur: p(u)
2167
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (r(), w(M, V({
2165
+ onBlur: p(r)
2166
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(M, V({
2168
2167
  key: 3,
2169
2168
  id: l.name
2170
2169
  }, v.$attrs, {
@@ -2173,16 +2172,16 @@ const ft = { key: 0 }, gt = {
2173
2172
  modelValue: t.value,
2174
2173
  "onUpdate:modelValue": s[4] || (s[4] = (x) => t.value = x),
2175
2174
  onInput: o,
2176
- onBlur: p(u)
2177
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (r(), w(I, V({ key: 4 }, { ...l, ...v.$attrs }, {
2175
+ onBlur: p(r)
2176
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(I, V({ key: 4 }, { ...l, ...v.$attrs }, {
2178
2177
  modelValue: t.value,
2179
2178
  "onUpdate:modelValue": s[5] || (s[5] = (x) => t.value = x),
2180
2179
  class: { "is-invalid": c.value }
2181
- }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (r(), w(O, V({ key: 5 }, { ...l, ...v.$attrs }, {
2180
+ }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, V({ key: 5 }, { ...l, ...v.$attrs }, {
2182
2181
  modelValue: t.value,
2183
2182
  "onUpdate:modelValue": s[6] || (s[6] = (x) => t.value = x),
2184
2183
  class: { "is-invalid": c.value }
2185
- }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (r(), w(g, V({ key: 6 }, { ...l, ...v.$attrs }, {
2184
+ }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(f, V({ key: 6 }, { ...l, ...v.$attrs }, {
2186
2185
  modelValue: t.value,
2187
2186
  "onUpdate:modelValue": s[7] || (s[7] = (x) => t.value = x),
2188
2187
  class: { "is-invalid": c.value }
@@ -2197,7 +2196,7 @@ const ft = { key: 0 }, gt = {
2197
2196
  ]));
2198
2197
  };
2199
2198
  }
2200
- }), Ia = /* @__PURE__ */ F({
2199
+ }), Ma = /* @__PURE__ */ F({
2201
2200
  __name: "ForgeChips",
2202
2201
  props: {
2203
2202
  chipSeverity: { default: "primary" },
@@ -2229,11 +2228,11 @@ const ft = { key: 0 }, gt = {
2229
2228
  }), n = k(() => l.value.length > 0), d = k(() => ({
2230
2229
  inputtoken: "list-unstyled",
2231
2230
  input: "border-0",
2232
- container: ({ props: i }) => ({
2231
+ container: ({ props: u }) => ({
2233
2232
  class: [
2234
2233
  "form-control mb-0 d-flex",
2235
2234
  {
2236
- disabled: i.disabled,
2235
+ disabled: u.disabled,
2237
2236
  "is-invalid": n.value
2238
2237
  }
2239
2238
  ]
@@ -2257,15 +2256,15 @@ const ft = { key: 0 }, gt = {
2257
2256
  ]
2258
2257
  }
2259
2258
  }));
2260
- return (i, u) => {
2259
+ return (u, r) => {
2261
2260
  const c = Te;
2262
- return r(), b(N, null, [
2263
- y(c, V({ ...t, ...i.$attrs }, {
2261
+ return i(), b(N, null, [
2262
+ y(c, V({ ...t, ...u.$attrs }, {
2264
2263
  pt: d.value,
2265
2264
  "model-value": p(o),
2266
- "onUpdate:modelValue": u[0] || (u[0] = (v) => se(o) ? o.value = v : null)
2265
+ "onUpdate:modelValue": r[0] || (r[0] = (v) => se(o) ? o.value = v : null)
2267
2266
  }), {
2268
- removetokenicon: f(({ removeCallback: v }) => [
2267
+ removetokenicon: g(({ removeCallback: v }) => [
2269
2268
  j(y(p(_), {
2270
2269
  icon: "bi:x",
2271
2270
  class: "cursor-pointer",
@@ -2285,7 +2284,7 @@ const ft = { key: 0 }, gt = {
2285
2284
  ], 64);
2286
2285
  };
2287
2286
  }
2288
- }), Wt = /* @__PURE__ */ F({
2287
+ }), Gt = /* @__PURE__ */ F({
2289
2288
  __name: "ForgeProgressBar",
2290
2289
  props: {
2291
2290
  severity: { default: "primary" },
@@ -2327,17 +2326,17 @@ const ft = { key: 0 }, gt = {
2327
2326
  class: [a.value, l.value, o.value]
2328
2327
  }
2329
2328
  }));
2330
- return (d, i) => {
2331
- const u = Pe;
2332
- return r(), w(u, V({ ...d.$attrs, ...t }, { pt: n.value }), {
2333
- default: f(() => [
2329
+ return (d, u) => {
2330
+ const r = Pe;
2331
+ return i(), w(r, V({ ...d.$attrs, ...t }, { pt: n.value }), {
2332
+ default: g(() => [
2334
2333
  $(d.$slots, "default")
2335
2334
  ]),
2336
2335
  _: 3
2337
2336
  }, 16, ["pt"]);
2338
2337
  };
2339
2338
  }
2340
- }), Zt = { class: "value text-white w-100 text-center" }, za = /* @__PURE__ */ F({
2339
+ }), Kt = { class: "value text-white w-100 text-center" }, Ia = /* @__PURE__ */ F({
2341
2340
  __name: "ForgeStatWidget",
2342
2341
  props: {
2343
2342
  size: { default: "md" },
@@ -2345,18 +2344,18 @@ const ft = { key: 0 }, gt = {
2345
2344
  },
2346
2345
  setup(e) {
2347
2346
  const t = e;
2348
- return (l, o) => (r(), b("div", V(l.$attrs, {
2347
+ return (l, o) => (i(), b("div", V(l.$attrs, {
2349
2348
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2350
2349
  }), [
2351
- m("span", Zt, [
2350
+ m("span", Kt, [
2352
2351
  $(l.$slots, "default")
2353
2352
  ])
2354
2353
  ], 16));
2355
2354
  }
2356
- }), Jt = {
2355
+ }), Wt = {
2357
2356
  class: "d-flex flex-column align-items-center",
2358
2357
  "data-cy": "stepper"
2359
- }, Xt = { class: "d-flex align-items-center justify-content-center w-100" }, Oa = /* @__PURE__ */ F({
2358
+ }, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, za = /* @__PURE__ */ F({
2360
2359
  __name: "ForgeStepper",
2361
2360
  props: {
2362
2361
  currentStep: { default: 0 },
@@ -2383,10 +2382,10 @@ const ft = { key: 0 }, gt = {
2383
2382
  a.value++;
2384
2383
  while (o.model[a.value].disabled);
2385
2384
  l("update:currentStep", a.value);
2386
- }, i = k(() => {
2385
+ }, u = k(() => {
2387
2386
  const c = o.model.findIndex((v) => !v.disabled);
2388
2387
  return !(c < a.value && c > -1);
2389
- }), u = k(() => ({
2388
+ }), r = k(() => ({
2390
2389
  menuitem: (c) => ({
2391
2390
  class: [{
2392
2391
  "cursor-pointer": !c.context.disabled
@@ -2423,17 +2422,17 @@ const ft = { key: 0 }, gt = {
2423
2422
  })
2424
2423
  }));
2425
2424
  return (c, v) => {
2426
- const s = E, S = Ie, T = Me;
2427
- return r(), b("div", Jt, [
2428
- m("div", Xt, [
2425
+ const s = L, S = Ie, T = Me;
2426
+ return i(), b("div", Wt, [
2427
+ m("div", Zt, [
2429
2428
  y(s, {
2430
2429
  severity: o.severity,
2431
- disabled: i.value,
2430
+ disabled: u.value,
2432
2431
  onClick: n,
2433
2432
  class: "rounded-circle py-2 me-4",
2434
2433
  "data-cy": "back-button"
2435
2434
  }, {
2436
- default: f(() => [
2435
+ default: g(() => [
2437
2436
  y(p(_), {
2438
2437
  icon: "bi:chevron-left",
2439
2438
  class: "mb-1"
@@ -2445,12 +2444,12 @@ const ft = { key: 0 }, gt = {
2445
2444
  "active-step": a.value,
2446
2445
  "onUpdate:activeStep": v[0] || (v[0] = (M) => a.value = M),
2447
2446
  model: o.model,
2448
- pt: u.value,
2447
+ pt: r.value,
2449
2448
  readonly: !1
2450
2449
  }, null, 8, ["active-step", "model", "pt"])
2451
2450
  ]),
2452
2451
  y(T, { class: "m-4" }),
2453
- (r(!0), b(N, null, H(o.model, (M, I) => (r(), b("div", {
2452
+ (i(!0), b(N, null, H(o.model, (M, I) => (i(), b("div", {
2454
2453
  key: I,
2455
2454
  class: "w-100"
2456
2455
  }, [
@@ -2463,8 +2462,8 @@ const ft = { key: 0 }, gt = {
2463
2462
  severity: "info",
2464
2463
  "data-cy": "alert"
2465
2464
  }, {
2466
- default: f(() => [
2467
- z(" Please add Slot Content for the key " + h(M.key ?? M.label) + " ", 1),
2465
+ default: g(() => [
2466
+ O(" Please add Slot Content for the key " + h(M.key ?? M.label) + " ", 1),
2468
2467
  y(s, {
2469
2468
  severity: "primary",
2470
2469
  label: "Next",
@@ -2479,7 +2478,7 @@ const ft = { key: 0 }, gt = {
2479
2478
  ]);
2480
2479
  };
2481
2480
  }
2482
- }), Qt = { class: "p-4 text-wrap w-100" }, el = { class: "p-4 text-wrap w-100" }, Da = /* @__PURE__ */ F({
2481
+ }), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, Oa = /* @__PURE__ */ F({
2483
2482
  __name: "ForgeTile",
2484
2483
  props: {
2485
2484
  severity: { default: "primary" },
@@ -2490,30 +2489,30 @@ const ft = { key: 0 }, gt = {
2490
2489
  setup(e) {
2491
2490
  const t = e, l = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), o = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
2492
2491
  return (a, n) => {
2493
- const d = E;
2494
- return t.clickable ? (r(), w(d, {
2492
+ const d = L;
2493
+ return t.clickable ? (i(), w(d, {
2495
2494
  key: 0,
2496
2495
  class: B(["d-flex w-100 p-0 text-body", l.value]),
2497
2496
  severity: t.severity,
2498
2497
  unstyled: "",
2499
2498
  "data-cy": "button-tile"
2500
2499
  }, {
2501
- default: f(() => [
2502
- m("div", Qt, [
2500
+ default: g(() => [
2501
+ m("div", Jt, [
2503
2502
  $(a.$slots, "default", {}, () => [
2504
- n[0] || (n[0] = z("Tile Content"))
2503
+ n[0] || (n[0] = O("Tile Content"))
2505
2504
  ])
2506
2505
  ])
2507
2506
  ]),
2508
2507
  _: 3
2509
- }, 8, ["severity", "class"])) : (r(), b("div", {
2508
+ }, 8, ["severity", "class"])) : (i(), b("div", {
2510
2509
  key: 1,
2511
2510
  class: B(["d-flex w-100", o.value]),
2512
2511
  "data-cy": "tile"
2513
2512
  }, [
2514
- m("div", el, [
2513
+ m("div", Xt, [
2515
2514
  $(a.$slots, "default", {}, () => [
2516
- n[1] || (n[1] = z("Tile Content"))
2515
+ n[1] || (n[1] = O("Tile Content"))
2517
2516
  ])
2518
2517
  ])
2519
2518
  ], 2));
@@ -2523,13 +2522,13 @@ const ft = { key: 0 }, gt = {
2523
2522
  function X(e, t) {
2524
2523
  return e > 1 ? `${t}s` : t;
2525
2524
  }
2526
- const tl = {
2525
+ const Qt = {
2527
2526
  class: "d-flex justify-content-start align-items-baseline",
2528
2527
  "data-cy": "pagination-header"
2529
- }, ll = { class: "ms-2" }, al = { key: 0 }, ol = {
2528
+ }, el = { class: "ms-2" }, tl = { key: 0 }, ll = {
2530
2529
  class: "w-auto",
2531
2530
  "data-cy": "total"
2532
- }, nl = /* @__PURE__ */ F({
2531
+ }, al = /* @__PURE__ */ F({
2533
2532
  __name: "ForgePaginationHeader",
2534
2533
  props: {
2535
2534
  total: {},
@@ -2544,26 +2543,26 @@ const tl = {
2544
2543
  const d = Math.ceil(o.total / o.perPage);
2545
2544
  return `${d} ${X(d, "page")}`;
2546
2545
  });
2547
- return (d, i) => (r(), b("div", tl, [
2548
- i[2] || (i[2] = z(" Number of results per page ")),
2549
- m("div", ll, [
2546
+ return (d, u) => (i(), b("div", Qt, [
2547
+ u[2] || (u[2] = O(" Number of results per page ")),
2548
+ m("div", el, [
2550
2549
  y(p(ae), {
2551
2550
  options: o.pageSizes,
2552
2551
  "model-value": o.perPage,
2553
2552
  class: "page-size",
2554
- onChange: i[0] || (i[0] = (u) => a(u))
2553
+ onChange: u[0] || (u[0] = (r) => a(r))
2555
2554
  }, null, 8, ["options", "model-value"])
2556
2555
  ]),
2557
- o.total ? (r(), b("div", al, [
2558
- i[1] || (i[1] = m("span", { class: "mx-2" }, "|", -1)),
2559
- m("span", ol, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
2556
+ o.total ? (i(), b("div", tl, [
2557
+ u[1] || (u[1] = m("span", { class: "mx-2" }, "|", -1)),
2558
+ m("span", ll, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
2560
2559
  ])) : C("", !0)
2561
2560
  ]));
2562
2561
  }
2563
- }), sl = { class: "position-relative" }, il = { "data-cy": "above-table-slot" }, rl = { class: "d-flex w-100" }, dl = {
2562
+ }), ol = { class: "position-relative" }, nl = { "data-cy": "above-table-slot" }, sl = { class: "d-flex w-100" }, il = {
2564
2563
  class: "mx-auto",
2565
2564
  "data-cy": "empty-message"
2566
- }, ul = { class: "d-flex" }, cl = { class: "d-flex align-items-end mb-2" }, ml = { key: 0 }, pl = { class: "ms-auto" }, Ua = /* @__PURE__ */ F({
2565
+ }, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Da = /* @__PURE__ */ F({
2567
2566
  __name: "ForgeTable",
2568
2567
  props: {
2569
2568
  value: {},
@@ -2645,16 +2644,16 @@ const tl = {
2645
2644
  },
2646
2645
  emits: ["update:filters", "update:tableContext", "sort", "page"],
2647
2646
  setup(e, { emit: t }) {
2648
- const l = t, o = e, a = P(), n = P([10, 20, 50, 100]), d = P(20), i = P({
2647
+ const l = t, o = e, a = P(), n = P([10, 20, 50, 100]), d = P(20), u = P({
2649
2648
  filters: o.filters,
2650
2649
  perPage: d.value,
2651
2650
  page: 0,
2652
2651
  sortDirection: "None",
2653
2652
  sortField: "",
2654
2653
  total: o.totalRecords ?? o.value.length
2655
- }), u = k(() => o.totalRecords ?? o.value.length), c = k(() => {
2656
- const g = Math.ceil(u.value / d.value);
2657
- return `${g} ${X(g, "page")}`;
2654
+ }), r = k(() => o.totalRecords ?? o.value.length), c = k(() => {
2655
+ const f = Math.ceil(r.value / d.value);
2656
+ return `${f} ${X(f, "page")}`;
2658
2657
  }), v = k(() => ({
2659
2658
  thead: () => ({
2660
2659
  class: [
@@ -2681,33 +2680,33 @@ const tl = {
2681
2680
  if (o.clearAll)
2682
2681
  o.clearAll();
2683
2682
  else
2684
- for (const g in o.filters)
2685
- typeof o.filters[g] == "string" ? o.filters[g] = "" : o.filters[g].value = null;
2683
+ for (const f in o.filters)
2684
+ typeof o.filters[f] == "string" ? o.filters[f] = "" : o.filters[f].value = null;
2686
2685
  M(o.filters);
2687
2686
  }, S = () => {
2688
2687
  a.value.exportCSV();
2689
- }, T = (g) => {
2688
+ }, T = (f) => {
2690
2689
  var x;
2691
- i.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", i.value.sortField = ((x = g.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", i.value), l("sort", g);
2692
- }, M = (g) => {
2693
- i.value.filters = g, l("update:tableContext", i.value), l("update:filters", g);
2694
- }, I = (g) => {
2695
- i.value.page = g.page, l("update:tableContext", i.value), l("page", g);
2696
- }, O = () => {
2697
- i.value.perPage = d.value, l("update:tableContext", i.value);
2690
+ u.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", u.value.sortField = ((x = f.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", u.value), l("sort", f);
2691
+ }, M = (f) => {
2692
+ u.value.filters = f, l("update:tableContext", u.value), l("update:filters", f);
2693
+ }, I = (f) => {
2694
+ u.value.page = f.page, l("update:tableContext", u.value), l("page", f);
2695
+ }, z = () => {
2696
+ u.value.perPage = d.value, l("update:tableContext", u.value);
2698
2697
  };
2699
- return de(() => o.filters, (g) => {
2700
- i.value.filters = g, l("update:tableContext", i.value);
2701
- }, { deep: !0 }), le(() => l("update:tableContext", i.value)), (g, x) => (r(), b("div", sl, [
2702
- m("span", il, [
2703
- $(g.$slots, "above-table")
2698
+ return ue(() => o.filters, (f) => {
2699
+ u.value.filters = f, l("update:tableContext", u.value);
2700
+ }, { deep: !0 }), le(() => l("update:tableContext", u.value)), (f, x) => (i(), b("div", ol, [
2701
+ m("span", nl, [
2702
+ $(f.$slots, "above-table")
2704
2703
  ]),
2705
2704
  y(p(ze), V({
2706
2705
  class: ["w-100", `${o.severity ? `forge-table-${o.severity}` : ""}`]
2707
- }, { ...o, ...g.$attrs }, {
2706
+ }, { ...o, ...f.$attrs }, {
2708
2707
  pt: v.value,
2709
2708
  rows: d.value,
2710
- "total-records": u.value,
2709
+ "total-records": r.value,
2711
2710
  "filter-display": o.filters ? "row" : void 0,
2712
2711
  ref_key: "forgeTable",
2713
2712
  ref: a,
@@ -2716,82 +2715,82 @@ const tl = {
2716
2715
  onSort: T,
2717
2716
  onPage: I
2718
2717
  }), te({
2719
- empty: f(() => [
2720
- m("div", rl, [
2721
- m("h5", dl, h(g.emptyMessage ?? "No items Found."), 1)
2718
+ empty: g(() => [
2719
+ m("div", sl, [
2720
+ m("h5", il, h(f.emptyMessage ?? "No items Found."), 1)
2722
2721
  ])
2723
2722
  ]),
2724
- header: f(() => [
2723
+ header: g(() => [
2725
2724
  m("div", {
2726
2725
  class: B(o.loading ? "opacity-50" : "")
2727
2726
  }, [
2728
- m("div", ul, [
2729
- m("div", cl, [
2730
- g.paginator && !g.legacyPaginationFooter ? (r(), b("span", ml, [
2731
- y(nl, {
2732
- total: u.value,
2727
+ m("div", rl, [
2728
+ m("div", dl, [
2729
+ f.paginator && !f.legacyPaginationFooter ? (i(), b("span", ul, [
2730
+ y(al, {
2731
+ total: r.value,
2733
2732
  "page-sizes": n.value,
2734
2733
  "per-page": d.value,
2735
2734
  "onUpdate:perPage": [
2736
2735
  x[0] || (x[0] = (G) => d.value = G),
2737
- O
2736
+ z
2738
2737
  ]
2739
2738
  }, null, 8, ["total", "page-sizes", "per-page"])
2740
2739
  ])) : C("", !0)
2741
2740
  ]),
2742
- m("div", pl, [
2743
- g.showClearButton ? (r(), w(p(E), {
2741
+ m("div", cl, [
2742
+ f.showClearButton ? (i(), w(p(L), {
2744
2743
  key: 0,
2745
2744
  outlined: "",
2746
- class: B(g.showExporterButton ? "me-2" : ""),
2745
+ class: B(f.showExporterButton ? "me-2" : ""),
2747
2746
  onClick: s,
2748
2747
  "data-cy": "clear-all"
2749
2748
  }, {
2750
- default: f(() => [
2749
+ default: g(() => [
2751
2750
  y(p(_), {
2752
2751
  icon: "bi:funnel-fill",
2753
2752
  width: "24",
2754
2753
  height: "24"
2755
2754
  }),
2756
- x[2] || (x[2] = z(" Clear "))
2755
+ x[2] || (x[2] = O(" Clear "))
2757
2756
  ]),
2758
2757
  _: 1
2759
2758
  }, 8, ["class"])) : C("", !0),
2760
- g.showExporterButton ? (r(), w(p(E), {
2759
+ f.showExporterButton ? (i(), w(p(L), {
2761
2760
  key: 1,
2762
2761
  outlined: "",
2763
2762
  onClick: S,
2764
2763
  "data-cy": "exporter"
2765
2764
  }, {
2766
- default: f(() => [
2765
+ default: g(() => [
2767
2766
  y(p(_), {
2768
2767
  icon: "typcn:export",
2769
2768
  width: "24",
2770
2769
  height: "24"
2771
2770
  }),
2772
- x[3] || (x[3] = z(" Export "))
2771
+ x[3] || (x[3] = O(" Export "))
2773
2772
  ]),
2774
2773
  _: 1
2775
2774
  })) : C("", !0),
2776
- $(g.$slots, "column-customiser")
2775
+ $(f.$slots, "column-customiser")
2777
2776
  ])
2778
2777
  ])
2779
2778
  ], 2)
2780
2779
  ]),
2781
- default: f(() => [
2782
- $(g.$slots, "default")
2780
+ default: g(() => [
2781
+ $(f.$slots, "default")
2783
2782
  ]),
2784
2783
  _: 2
2785
2784
  }, [
2786
- H(g.$slots, (G, Z) => ({
2785
+ H(f.$slots, (G, Z) => ({
2787
2786
  name: Z,
2788
- fn: f((ne) => [
2789
- $(g.$slots, Z, Q(ee(ne || {})))
2787
+ fn: g((ne) => [
2788
+ $(f.$slots, Z, Q(ee(ne || {})))
2790
2789
  ])
2791
2790
  })),
2792
- g.legacyPaginationFooter ? {
2791
+ f.legacyPaginationFooter ? {
2793
2792
  name: "paginatorstart",
2794
- fn: f(() => [
2793
+ fn: g(() => [
2795
2794
  m("span", {
2796
2795
  class: B(["d-flex", o.loading ? "opacity-50" : ""]),
2797
2796
  "data-cy": "legacy-page-size"
@@ -2802,26 +2801,26 @@ const tl = {
2802
2801
  modelValue: d.value,
2803
2802
  "onUpdate:modelValue": x[1] || (x[1] = (G) => d.value = G),
2804
2803
  class: "ms-2",
2805
- onClick: O
2804
+ onClick: z
2806
2805
  }, null, 8, ["options", "modelValue"])
2807
2806
  ], 2)
2808
2807
  ]),
2809
2808
  key: "0"
2810
2809
  } : void 0,
2811
- g.legacyPaginationFooter ? {
2810
+ f.legacyPaginationFooter ? {
2812
2811
  name: "paginatorend",
2813
- fn: f(() => [
2812
+ fn: g(() => [
2814
2813
  m("span", {
2815
2814
  "data-cy": "legacy-total",
2816
2815
  class: B(o.loading ? "opacity-50" : "")
2817
- }, h(u.value) + " " + h(p(X)(u.value, "result")) + " across " + h(c.value), 3)
2816
+ }, h(r.value) + " " + h(p(X)(r.value, "result")) + " across " + h(c.value), 3)
2818
2817
  ]),
2819
2818
  key: "1"
2820
2819
  } : void 0
2821
2820
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
2822
2821
  ]));
2823
2822
  }
2824
- }), vl = { class: "d-flex position-relative" }, yl = { class: "d-flex w-100" }, bl = { class: "d-flex w-100" }, Aa = /* @__PURE__ */ F({
2823
+ }), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, vl = { class: "d-flex w-100" }, Ua = /* @__PURE__ */ F({
2825
2824
  __name: "ForgeFilterHeader",
2826
2825
  props: /* @__PURE__ */ R({
2827
2826
  dataType: {},
@@ -2839,52 +2838,52 @@ const tl = {
2839
2838
  const t = U(e, "modelValue"), l = (a, n) => {
2840
2839
  if (!a || Array.isArray(a) && a.length === 0)
2841
2840
  return n;
2842
- const d = (i) => {
2841
+ const d = (u) => {
2843
2842
  var c;
2844
- const u = (c = e.dropdownOptions) == null ? void 0 : c.find(
2845
- (v) => e.optionValue ? v[e.optionValue] === i : Object.keys(v).every((s) => i.hasOwnProperty(s) && v[s] === i[s])
2843
+ const r = (c = e.dropdownOptions) == null ? void 0 : c.find(
2844
+ (v) => e.optionValue ? v[e.optionValue] === u : Object.keys(v).every((s) => u.hasOwnProperty(s) && v[s] === u[s])
2846
2845
  );
2847
- return e.optionLabel ? u[e.optionLabel] : u;
2846
+ return e.optionLabel ? r[e.optionLabel] : r;
2848
2847
  };
2849
2848
  return Array.isArray(a) ? a.map(d).join(", ") : d(a);
2850
2849
  }, o = () => {
2851
2850
  e.clearFilter ? e.clearFilter() : t.value = null;
2852
2851
  };
2853
2852
  return (a, n) => {
2854
- const d = ce, i = E;
2855
- return r(), b("div", vl, [
2856
- a.dataType === "numeric" ? (r(), w(d, V({
2853
+ const d = me, u = L;
2854
+ return i(), b("div", ml, [
2855
+ a.dataType === "numeric" ? (i(), w(d, V({
2857
2856
  key: 0,
2858
2857
  modelValue: t.value,
2859
- "onUpdate:modelValue": n[0] || (n[0] = (u) => t.value = u)
2860
- }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (r(), w(be, V({
2858
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r)
2859
+ }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(be, V({
2861
2860
  key: 1,
2862
2861
  modelValue: t.value,
2863
- "onUpdate:modelValue": n[1] || (n[1] = (u) => t.value = u)
2862
+ "onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r)
2864
2863
  }, a.$attrs, {
2865
2864
  "show-icon": !1,
2866
2865
  "show-on-focus": !0
2867
- }), null, 16, ["modelValue"])) : a.dataType === "select" ? (r(), w(p(ae), V({
2866
+ }), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(p(ae), V({
2868
2867
  key: 2,
2869
2868
  modelValue: t.value,
2870
- "onUpdate:modelValue": n[2] || (n[2] = (u) => t.value = u)
2869
+ "onUpdate:modelValue": n[2] || (n[2] = (r) => t.value = r)
2871
2870
  }, a.$attrs, {
2872
2871
  options: a.dropdownOptions,
2873
2872
  "option-value": a.optionValue,
2874
2873
  "option-label": a.optionLabel
2875
2874
  }), {
2876
- value: f(({ value: u, placeholder: c }) => [
2877
- m("div", yl, [
2875
+ value: g(({ value: r, placeholder: c }) => [
2876
+ m("div", pl, [
2878
2877
  m("span", {
2879
- class: B({ "filter-placeholder": u === null })
2880
- }, h(l(u, c)), 3),
2881
- a.showClearButton && t.value !== null ? (r(), w(i, {
2878
+ class: B({ "filter-placeholder": r === null })
2879
+ }, h(l(r, c)), 3),
2880
+ a.showClearButton && t.value !== null ? (i(), w(u, {
2882
2881
  key: 0,
2883
2882
  onClick: Y(o, ["prevent"]),
2884
2883
  size: "small",
2885
2884
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2886
2885
  }, {
2887
- default: f(() => [
2886
+ default: g(() => [
2888
2887
  y(p(_), {
2889
2888
  icon: "bi:x",
2890
2889
  width: "1rem",
@@ -2897,29 +2896,30 @@ const tl = {
2897
2896
  ])
2898
2897
  ]),
2899
2898
  _: 1
2900
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (r(), w(p(Oe), V({
2899
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(p(re), V({
2901
2900
  key: 3,
2902
2901
  modelValue: t.value,
2903
- "onUpdate:modelValue": n[3] || (n[3] = (u) => t.value = u)
2902
+ "onUpdate:modelValue": n[3] || (n[3] = (r) => t.value = r)
2904
2903
  }, a.$attrs, {
2905
2904
  options: a.dropdownOptions,
2906
2905
  showToggleAll: !1,
2907
2906
  "option-label": a.optionLabel,
2908
2907
  "option-value": a.optionValue,
2909
- filter: ""
2908
+ filter: "",
2909
+ display: "chip"
2910
2910
  }), {
2911
- value: f(({ value: u, placeholder: c }) => [
2912
- m("div", bl, [
2911
+ value: g(({ value: r, placeholder: c }) => [
2912
+ m("div", vl, [
2913
2913
  m("span", {
2914
- class: B({ "filter-placeholder": (u == null ? void 0 : u.length) === 0 || u === null })
2915
- }, h(l(u, c)), 3),
2916
- a.showClearButton && (u == null ? void 0 : u.length) > 0 ? (r(), w(i, {
2914
+ class: B({ "filter-placeholder": (r == null ? void 0 : r.length) === 0 || r === null })
2915
+ }, h(l(r, c)), 3),
2916
+ a.showClearButton && (r == null ? void 0 : r.length) > 0 ? (i(), w(u, {
2917
2917
  key: 0,
2918
2918
  onClick: Y(o, ["prevent"]),
2919
2919
  size: "small",
2920
2920
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2921
2921
  }, {
2922
- default: f(() => [
2922
+ default: g(() => [
2923
2923
  y(p(_), {
2924
2924
  icon: "bi:x",
2925
2925
  width: "1rem",
@@ -2932,18 +2932,18 @@ const tl = {
2932
2932
  ])
2933
2933
  ]),
2934
2934
  _: 1
2935
- }, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), w(p(ie), V({
2935
+ }, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(p(ie), V({
2936
2936
  key: 4,
2937
2937
  modelValue: t.value,
2938
- "onUpdate:modelValue": n[4] || (n[4] = (u) => t.value = u)
2938
+ "onUpdate:modelValue": n[4] || (n[4] = (r) => t.value = r)
2939
2939
  }, a.$attrs), null, 16, ["modelValue"])),
2940
- a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (r(), w(i, {
2940
+ a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(u, {
2941
2941
  key: 5,
2942
2942
  onClick: Y(o, ["prevent"]),
2943
2943
  size: "small",
2944
2944
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
2945
2945
  }, {
2946
- default: f(() => [
2946
+ default: g(() => [
2947
2947
  y(p(_), {
2948
2948
  icon: "bi:x",
2949
2949
  width: "1rem",
@@ -2960,19 +2960,19 @@ const tl = {
2960
2960
  function fe(e, t, l, o) {
2961
2961
  const a = t.flatMap((n) => n.file);
2962
2962
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
2963
- const d = a.findIndex((u) => u.name === n.name);
2964
- let i = "Not Uploaded";
2965
- d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (i = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2963
+ const d = a.findIndex((r) => r.name === n.name);
2964
+ let u = "Not Uploaded";
2965
+ d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (u = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2966
2966
  file: n,
2967
- status: i,
2967
+ status: u,
2968
2968
  blobFileName: null
2969
2969
  })) : t[d].status = "Duplicate";
2970
2970
  }), t;
2971
2971
  }
2972
- async function fl(e, t) {
2972
+ async function yl(e, t) {
2973
2973
  if (e === "Uploaded" && t !== null)
2974
2974
  try {
2975
- await new me(t).delete();
2975
+ await new pe(t).delete();
2976
2976
  } catch (l) {
2977
2977
  if (l !== "BlobNotFound") {
2978
2978
  e = "DeleteFileFailed";
@@ -2980,7 +2980,7 @@ async function fl(e, t) {
2980
2980
  }
2981
2981
  }
2982
2982
  }
2983
- function re(e, t = !0, l = 1) {
2983
+ function de(e, t = !0, l = 1) {
2984
2984
  const o = t ? 1e3 : 1024;
2985
2985
  if (Math.abs(e) < o)
2986
2986
  return e + " B";
@@ -2992,16 +2992,16 @@ function re(e, t = !0, l = 1) {
2992
2992
  while (Math.round(Math.abs(e) * d) / d >= o && n < a.length - 1);
2993
2993
  return e.toFixed(l) + " " + a[n];
2994
2994
  }
2995
- function gl(e) {
2995
+ function bl(e) {
2996
2996
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
2997
2997
  }
2998
- function hl(e) {
2998
+ function fl(e) {
2999
2999
  return URL.createObjectURL(e);
3000
3000
  }
3001
- const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disabled", "multiple"], kl = {
3001
+ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disabled", "multiple"], wl = {
3002
3002
  class: "text-break accepted-file-types-container",
3003
3003
  id: "accepted-file-types-overlay"
3004
- }, $l = /* @__PURE__ */ F({
3004
+ }, xl = /* @__PURE__ */ F({
3005
3005
  __name: "UploadButton",
3006
3006
  props: /* @__PURE__ */ R({
3007
3007
  acceptedFileTypes: {},
@@ -3014,11 +3014,11 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3014
3014
  emits: ["update:modelValue"],
3015
3015
  setup(e) {
3016
3016
  const t = U(e, "modelValue"), l = P(), o = (d) => l.value.toggle(d), a = k(() => e.maxFileInput <= t.value.length), n = (d) => {
3017
- t.value = fe(d, t.value, e.acceptedFileTypes.map((i) => i.fileType), e.maxFileInput);
3017
+ t.value = fe(d, t.value, e.acceptedFileTypes.map((u) => u.fileType), e.maxFileInput);
3018
3018
  };
3019
- return (d, i) => {
3020
- const u = E;
3021
- return r(), b("div", wl, [
3019
+ return (d, u) => {
3020
+ const r = L;
3021
+ return i(), b("div", gl, [
3022
3022
  $(d.$slots, "message"),
3023
3023
  m("div", null, [
3024
3024
  m("input", {
@@ -3028,8 +3028,8 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3028
3028
  accept: d.acceptedFileTypes.join(", "),
3029
3029
  disabled: a.value,
3030
3030
  multiple: d.maxFileInput > 1,
3031
- onInput: i[0] || (i[0] = (c) => n([...c.target.files]))
3032
- }, null, 40, xl),
3031
+ onInput: u[0] || (u[0] = (c) => n([...c.target.files]))
3032
+ }, null, 40, hl),
3033
3033
  m("label", {
3034
3034
  class: B([{ disabled: a.value }, "btn btn-primary"]),
3035
3035
  id: "file-input-button",
@@ -3042,42 +3042,42 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3042
3042
  height: "20px",
3043
3043
  width: "20px"
3044
3044
  }),
3045
- i[1] || (i[1] = z(" Browse your computer "))
3045
+ u[1] || (u[1] = O(" Browse your computer "))
3046
3046
  ])
3047
3047
  ], 2)
3048
3048
  ]),
3049
- d.showDragDropArea ? (r(), w(u, {
3049
+ d.showDragDropArea ? (i(), w(r, {
3050
3050
  link: "",
3051
3051
  class: "ms-auto",
3052
3052
  key: d.acceptedFileTypes.length,
3053
3053
  id: "accepted-file-types",
3054
3054
  onClick: o
3055
3055
  }, {
3056
- default: f(() => i[2] || (i[2] = [
3057
- z("Accepted File Types")
3056
+ default: g(() => u[2] || (u[2] = [
3057
+ O("Accepted File Types")
3058
3058
  ])),
3059
3059
  _: 1
3060
3060
  })) : C("", !0),
3061
- y(p(pe), {
3061
+ y(p(ve), {
3062
3062
  ref_key: "acceptedFilesOverlay",
3063
3063
  ref: l
3064
3064
  }, {
3065
- default: f(() => [
3066
- m("div", kl, h(d.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3065
+ default: g(() => [
3066
+ m("div", wl, h(d.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3067
3067
  ]),
3068
3068
  _: 1
3069
3069
  }, 512)
3070
3070
  ]);
3071
3071
  };
3072
3072
  }
3073
- }), Bl = {
3073
+ }), kl = {
3074
3074
  key: 0,
3075
3075
  class: "py-4 px-3",
3076
3076
  id: "placeholder-message"
3077
- }, Fl = {
3077
+ }, $l = {
3078
3078
  key: 1,
3079
3079
  class: "d-flex flex-column"
3080
- }, _l = /* @__PURE__ */ F({
3080
+ }, Bl = /* @__PURE__ */ F({
3081
3081
  __name: "DragDropArea",
3082
3082
  props: /* @__PURE__ */ R({
3083
3083
  maxFileInput: {},
@@ -3092,27 +3092,27 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3092
3092
  const t = U(e, "modelValue"), l = P(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
3093
3093
  l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = fe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileSize);
3094
3094
  };
3095
- return (n, d) => (r(), b("div", {
3095
+ return (n, d) => (i(), b("div", {
3096
3096
  id: "drag-drop-area",
3097
3097
  class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
3098
- onDragleave: d[0] || (d[0] = Y((i) => l.value = !1, ["prevent"])),
3099
- onDragover: d[1] || (d[1] = Y((i) => l.value = !0, ["prevent"])),
3098
+ onDragleave: d[0] || (d[0] = Y((u) => l.value = !1, ["prevent"])),
3099
+ onDragover: d[1] || (d[1] = Y((u) => l.value = !0, ["prevent"])),
3100
3100
  onDrop: Y(a, ["prevent"])
3101
3101
  }, [
3102
- t.value.length === 0 ? (r(), b("div", Bl, [
3102
+ t.value.length === 0 ? (i(), b("div", kl, [
3103
3103
  y(p(_), {
3104
3104
  icon: "bi:upload",
3105
3105
  class: "me-2",
3106
3106
  height: "20px",
3107
3107
  width: "20px"
3108
3108
  }),
3109
- d[2] || (d[2] = z(" Drag and drop files here "))
3110
- ])) : (r(), b("div", Fl, [
3109
+ d[2] || (d[2] = O(" Drag and drop files here "))
3110
+ ])) : (i(), b("div", $l, [
3111
3111
  $(n.$slots, "default")
3112
3112
  ]))
3113
3113
  ], 34));
3114
3114
  }
3115
- }), Vl = { class: "d-flex align-items-center me-2" }, Cl = /* @__PURE__ */ F({
3115
+ }), Fl = { class: "d-flex align-items-center me-2" }, _l = /* @__PURE__ */ F({
3116
3116
  __name: "UploadStatus",
3117
3117
  props: {
3118
3118
  fileSize: {},
@@ -3126,7 +3126,7 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3126
3126
  case "InvalidFileType":
3127
3127
  return "Upload Failed: File type is not accepted.";
3128
3128
  case "InvalidFileSize":
3129
- return `Upload Failed: File size exceeds the ${re(e.maxFileSize)} limit.`;
3129
+ return `Upload Failed: File size exceeds the ${de(e.maxFileSize)} limit.`;
3130
3130
  case "Aborted":
3131
3131
  return "Upload Failed: User cancelled.";
3132
3132
  case "DeleteFileFailed":
@@ -3137,41 +3137,41 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3137
3137
  return "Upload Failed: Connection error, please try again.";
3138
3138
  }
3139
3139
  });
3140
- return (o, a) => (r(), b("div", Vl, [
3141
- o.uploadStatus === "Uploading" ? (r(), w(Wt, {
3140
+ return (o, a) => (i(), b("div", Fl, [
3141
+ o.uploadStatus === "Uploading" ? (i(), w(Gt, {
3142
3142
  key: 0,
3143
3143
  pixelWidth: 200,
3144
3144
  animate: "",
3145
3145
  striped: ""
3146
3146
  }, {
3147
- default: f(() => [
3148
- z(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
3147
+ default: g(() => [
3148
+ O(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
3149
3149
  ]),
3150
3150
  _: 1
3151
3151
  })) : C("", !0),
3152
- o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (r(), w(oe, {
3152
+ o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (i(), w(oe, {
3153
3153
  key: 1,
3154
3154
  id: "upload-status-alert",
3155
3155
  severity: t.value,
3156
3156
  class: "mb-0 w-75 ms-auto"
3157
3157
  }, {
3158
- default: f(() => [
3159
- z(h(l.value), 1)
3158
+ default: g(() => [
3159
+ O(h(l.value), 1)
3160
3160
  ]),
3161
3161
  _: 1
3162
3162
  }, 8, ["severity"])) : C("", !0)
3163
3163
  ]));
3164
3164
  }
3165
- }), Sl = ["data-cy"], Tl = { class: "ms-3 d-flex flex-column" }, Pl = {
3165
+ }), Vl = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Sl = {
3166
3166
  key: 1,
3167
3167
  id: "file-name"
3168
- }, Ml = {
3168
+ }, Tl = {
3169
3169
  class: "text-black-50",
3170
3170
  id: "file-type"
3171
- }, Il = {
3171
+ }, Pl = {
3172
3172
  class: "text-black-50",
3173
3173
  id: "file-size"
3174
- }, zl = { class: "ms-auto my-auto d-flex" }, Ol = /* @__PURE__ */ F({
3174
+ }, Ml = { class: "ms-auto my-auto d-flex" }, Il = /* @__PURE__ */ F({
3175
3175
  __name: "FileInfo",
3176
3176
  props: /* @__PURE__ */ R({
3177
3177
  editableFileName: { type: Boolean },
@@ -3190,7 +3190,7 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3190
3190
  }),
3191
3191
  emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3192
3192
  setup(e, { emit: t }) {
3193
- const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, d = P(l.value.name), i = P(""), u = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), S = () => {
3193
+ const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, d = P(l.value.name), u = P(""), r = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), S = () => {
3194
3194
  l.value = new File([l.value], d.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3195
3195
  }, T = async () => {
3196
3196
  if (!v.value || !s.value) {
@@ -3198,47 +3198,47 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3198
3198
  return;
3199
3199
  }
3200
3200
  a.value = "Preparing", c.value = new AbortController();
3201
- const [I, O] = await e.getFileUrlAction(l.value.name);
3201
+ const [I, z] = await e.getFileUrlAction(l.value.name);
3202
3202
  if (!I) {
3203
3203
  a.value = "Failed";
3204
3204
  return;
3205
3205
  }
3206
3206
  try {
3207
3207
  a.value = "Uploading";
3208
- const g = new me(I), x = {
3208
+ const f = new pe(I), x = {
3209
3209
  abortSignal: c.value.signal,
3210
- onProgress: (G) => u.value = G.loadedBytes,
3210
+ onProgress: (G) => r.value = G.loadedBytes,
3211
3211
  tags: { temp: "true" }
3212
3212
  };
3213
- await g.uploadData(l.value, x), i.value = I, a.value = "Uploaded", o.value = O;
3214
- } catch (g) {
3215
- if (g.name === "AbortError") {
3213
+ await f.uploadData(l.value, x), u.value = I, a.value = "Uploaded", o.value = z;
3214
+ } catch (f) {
3215
+ if (f.name === "AbortError") {
3216
3216
  a.value = "Aborted";
3217
3217
  return;
3218
3218
  }
3219
3219
  a.value = "Failed";
3220
3220
  }
3221
3221
  }, M = async () => {
3222
- await fl(a.value, i.value), n("deleted", l.value);
3222
+ await yl(a.value, u.value), n("deleted", l.value);
3223
3223
  };
3224
3224
  return le(() => {
3225
3225
  e.autoUploadToBlob && T();
3226
- }), (I, O) => {
3227
- const g = E;
3228
- return r(), b("div", {
3226
+ }), (I, z) => {
3227
+ const f = L;
3228
+ return i(), b("div", {
3229
3229
  class: "py-4 px-3 d-flex",
3230
3230
  "data-cy": `file-info-${l.value.name}`
3231
3231
  }, [
3232
3232
  m("div", null, [
3233
- p(gl)(l.value.type) ? (r(), w(p(De), {
3233
+ p(bl)(l.value.type) ? (i(), w(p(Oe), {
3234
3234
  key: 0,
3235
3235
  id: "thumbnail-image",
3236
3236
  "image-class": "image-file-thumbnail border",
3237
- src: p(hl)(l.value),
3237
+ src: p(fl)(l.value),
3238
3238
  alt: l.value.name,
3239
3239
  width: "75px",
3240
3240
  preview: ""
3241
- }, null, 8, ["src", "alt"])) : (r(), w(p(_), {
3241
+ }, null, 8, ["src", "alt"])) : (i(), w(p(_), {
3242
3242
  key: 1,
3243
3243
  id: "file-earmark",
3244
3244
  icon: "bi:file-earmark",
@@ -3246,76 +3246,76 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3246
3246
  width: "75px"
3247
3247
  }))
3248
3248
  ]),
3249
- m("div", Tl, [
3249
+ m("div", Cl, [
3250
3250
  m("div", null, [
3251
- I.editableFileName ? (r(), w(Ft, {
3251
+ I.editableFileName ? (i(), w(Bt, {
3252
3252
  key: 0,
3253
3253
  id: "edit-file-name",
3254
3254
  modelValue: d.value,
3255
- "onUpdate:modelValue": O[0] || (O[0] = (x) => d.value = x),
3255
+ "onUpdate:modelValue": z[0] || (z[0] = (x) => d.value = x),
3256
3256
  rules: I.customFileNameRules,
3257
3257
  name: l.value.name,
3258
3258
  "complete-action": S
3259
- }, null, 8, ["modelValue", "rules", "name"])) : (r(), b("span", Pl, h(l.value.name), 1))
3259
+ }, null, 8, ["modelValue", "rules", "name"])) : (i(), b("span", Sl, h(l.value.name), 1))
3260
3260
  ]),
3261
- m("span", Ml, "File type: " + h(l.value.type.split("/").pop()), 1),
3262
- m("span", Il, "File size: " + h(p(re)(l.value.size)), 1)
3261
+ m("span", Tl, "File type: " + h(l.value.type.split("/").pop()), 1),
3262
+ m("span", Pl, "File size: " + h(p(de)(l.value.size)), 1)
3263
3263
  ]),
3264
- m("div", zl, [
3265
- (r(), w(Cl, {
3264
+ m("div", Ml, [
3265
+ (i(), w(_l, {
3266
3266
  key: a.value,
3267
3267
  "file-size": l.value.size,
3268
3268
  "upload-status": a.value,
3269
- "bytes-uploaded": u.value,
3269
+ "bytes-uploaded": r.value,
3270
3270
  "max-file-size": I.maxFileSize
3271
3271
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
3272
- a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (r(), w(g, {
3272
+ a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (i(), w(f, {
3273
3273
  key: 0,
3274
3274
  link: "",
3275
3275
  onClick: T
3276
3276
  }, {
3277
- default: f(() => [
3277
+ default: g(() => [
3278
3278
  y(p(_), {
3279
3279
  icon: a.value === "Not Uploaded" || a.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
3280
3280
  }, null, 8, ["icon"])
3281
3281
  ]),
3282
3282
  _: 1
3283
3283
  })) : C("", !0),
3284
- a.value === "Uploading" ? (r(), w(g, {
3284
+ a.value === "Uploading" ? (i(), w(f, {
3285
3285
  key: 1,
3286
3286
  link: "",
3287
- onClick: O[1] || (O[1] = (x) => c.value.value.abort())
3287
+ onClick: z[1] || (z[1] = (x) => c.value.value.abort())
3288
3288
  }, {
3289
- default: f(() => [
3289
+ default: g(() => [
3290
3290
  y(p(_), { icon: "bi:x-circle-fill" })
3291
3291
  ]),
3292
3292
  _: 1
3293
- })) : (r(), w(g, {
3293
+ })) : (i(), w(f, {
3294
3294
  key: 2,
3295
3295
  link: "",
3296
3296
  onClick: M,
3297
3297
  id: "delete-button"
3298
3298
  }, {
3299
- default: f(() => [
3299
+ default: g(() => [
3300
3300
  y(p(_), { icon: "bi:trash" })
3301
3301
  ]),
3302
3302
  _: 1
3303
3303
  }))
3304
3304
  ])
3305
- ], 8, Sl);
3305
+ ], 8, Vl);
3306
3306
  };
3307
3307
  }
3308
- }), Dl = { class: "d-flex justify-content-end mt-1" }, Ul = { id: "max-file-size" }, Al = /* @__PURE__ */ F({
3308
+ }), zl = { class: "d-flex justify-content-end mt-1" }, Ol = { id: "max-file-size" }, Dl = /* @__PURE__ */ F({
3309
3309
  __name: "MaxFileSize",
3310
3310
  props: {
3311
3311
  maxFileSize: {}
3312
3312
  },
3313
3313
  setup(e) {
3314
- return (t, l) => (r(), b("div", Dl, [
3315
- m("div", Ul, "Max file size: " + h(p(re)(t.maxFileSize)), 1)
3314
+ return (t, l) => (i(), b("div", zl, [
3315
+ m("div", Ol, "Max file size: " + h(p(de)(t.maxFileSize)), 1)
3316
3316
  ]));
3317
3317
  }
3318
- }), Nl = { "data-cy": "file-uploader" }, El = { key: 0 }, Na = /* @__PURE__ */ F({
3318
+ }), Ul = { "data-cy": "file-uploader" }, Al = { key: 0 }, Aa = /* @__PURE__ */ F({
3319
3319
  __name: "ForgeFileUploader",
3320
3320
  props: /* @__PURE__ */ R({
3321
3321
  acceptedFileTypes: {},
@@ -3335,43 +3335,43 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3335
3335
  const t = U(e, "modelValue"), l = e, o = (a) => {
3336
3336
  t.value = t.value.filter((n) => n.file != a);
3337
3337
  };
3338
- return (a, n) => (r(), b("div", Nl, [
3339
- y($l, V(l, {
3338
+ return (a, n) => (i(), b("div", Ul, [
3339
+ y(xl, V(l, {
3340
3340
  modelValue: t.value,
3341
3341
  "onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
3342
3342
  }), null, 16, ["modelValue"]),
3343
- a.showDragDropArea ? (r(), b("div", El, [
3344
- y(_l, {
3343
+ a.showDragDropArea ? (i(), b("div", Al, [
3344
+ y(Bl, {
3345
3345
  "max-file-input": l.maxFileInput,
3346
3346
  "max-file-size": l.maxFileSize,
3347
3347
  "accepted-file-types": l.acceptedFileTypes,
3348
3348
  modelValue: t.value,
3349
3349
  "onUpdate:modelValue": n[1] || (n[1] = (d) => t.value = d)
3350
3350
  }, {
3351
- default: f(() => [
3352
- (r(!0), b(N, null, H(t.value, ({ file: d }, i) => (r(), b("span", null, [
3353
- (r(), w(Ol, V({
3351
+ default: g(() => [
3352
+ (i(!0), b(N, null, H(t.value, ({ file: d }, u) => (i(), b("span", null, [
3353
+ (i(), w(Il, V({
3354
3354
  key: d.name,
3355
- class: i === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3356
- file: t.value[i].file,
3357
- "onUpdate:file": (u) => t.value[i].file = u,
3358
- "blob-file-name": t.value[i].blobFileName,
3359
- "onUpdate:blobFileName": (u) => t.value[i].blobFileName = u,
3360
- "upload-status": t.value[i].status,
3361
- "onUpdate:uploadStatus": (u) => t.value[i].status = u,
3355
+ class: u === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3356
+ file: t.value[u].file,
3357
+ "onUpdate:file": (r) => t.value[u].file = r,
3358
+ "blob-file-name": t.value[u].blobFileName,
3359
+ "onUpdate:blobFileName": (r) => t.value[u].blobFileName = r,
3360
+ "upload-status": t.value[u].status,
3361
+ "onUpdate:uploadStatus": (r) => t.value[u].status = r,
3362
3362
  ref_for: !0
3363
3363
  }, l, { onDeleted: o }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
3364
3364
  ]))), 256))
3365
3365
  ]),
3366
3366
  _: 1
3367
3367
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3368
- y(Al, {
3368
+ y(Dl, {
3369
3369
  "max-file-size": l.maxFileSize
3370
3370
  }, null, 8, ["max-file-size"])
3371
3371
  ])) : C("", !0)
3372
3372
  ]));
3373
3373
  }
3374
- }), Ll = { class: "d-flex" }, Rl = { class: "me-3" }, jl = { class: "ms-2" }, Hl = { class: "d-flex flex-column w-100" }, ql = ["onClick"], Yl = ["for"], Ea = /* @__PURE__ */ F({
3374
+ }), Nl = { class: "d-flex" }, Ll = { class: "me-3" }, El = { class: "ms-2" }, Rl = { class: "d-flex flex-column w-100" }, jl = ["onClick"], Hl = ["for"], Na = /* @__PURE__ */ F({
3375
3375
  __name: "ForgeColumnCustomiser",
3376
3376
  props: {
3377
3377
  modelValue: { required: !0 },
@@ -3379,26 +3379,26 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3379
3379
  },
3380
3380
  emits: ["update:modelValue"],
3381
3381
  setup(e) {
3382
- const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), d = (u) => {
3383
- l.value.toggle(u);
3384
- }, i = (u) => {
3385
- const c = n.value.find((v) => v.field === u);
3382
+ const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), d = (r) => {
3383
+ l.value.toggle(r);
3384
+ }, u = (r) => {
3385
+ const c = n.value.find((v) => v.field === r);
3386
3386
  c.selected = !c.selected, t.value = n.value.filter((v) => v.selected);
3387
3387
  };
3388
3388
  return le(() => {
3389
- a.value = [...t.value], n.value = [...t.value].map((u) => ({ ...u, selected: !0 }));
3390
- }), (u, c) => (r(), b(N, null, [
3391
- y(p(E), {
3389
+ a.value = [...t.value], n.value = [...t.value].map((r) => ({ ...r, selected: !0 }));
3390
+ }), (r, c) => (i(), b(N, null, [
3391
+ y(p(L), {
3392
3392
  onClick: d,
3393
3393
  class: "ms-2"
3394
3394
  }, {
3395
- default: f(() => [
3396
- m("div", Ll, [
3397
- m("div", Rl, [
3395
+ default: g(() => [
3396
+ m("div", Nl, [
3397
+ m("div", Ll, [
3398
3398
  y(p(_), { icon: "bi:layout-three-columns" })
3399
3399
  ]),
3400
- z(" Columns (" + h(t.value.length ?? 0) + "/" + h(a.value.length ?? 0) + ") ", 1),
3401
- m("div", jl, [
3400
+ O(" Columns (" + h(t.value.length ?? 0) + "/" + h(a.value.length ?? 0) + ") ", 1),
3401
+ m("div", El, [
3402
3402
  y(p(_), {
3403
3403
  icon: o.value ? "bi:chevron-up" : "bi:chevron-down"
3404
3404
  }, null, 8, ["icon"])
@@ -3407,25 +3407,25 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3407
3407
  ]),
3408
3408
  _: 1
3409
3409
  }),
3410
- y(p(pe), {
3410
+ y(p(ve), {
3411
3411
  ref_key: "columnCustomiserPanel",
3412
3412
  ref: l,
3413
3413
  class: "column-customiser",
3414
3414
  onHide: c[0] || (c[0] = () => o.value = !1),
3415
3415
  onShow: c[1] || (c[1] = () => o.value = !0)
3416
3416
  }, {
3417
- default: f(() => [
3418
- m("div", Hl, [
3419
- (r(!0), b(N, null, H(a.value, (v, s) => (r(), b("div", {
3417
+ default: g(() => [
3418
+ m("div", Rl, [
3419
+ (i(!0), b(N, null, H(a.value, (v, s) => (i(), b("div", {
3420
3420
  class: B(["d-flex cursor-pointer", {
3421
3421
  "border-top": s !== 0,
3422
3422
  "py-1": s !== 0 && a.value.length - 1 !== s,
3423
3423
  "pt-1": a.value.length - 1 === s,
3424
3424
  "pb-1": s === 0
3425
3425
  }]),
3426
- onClick: (S) => i(v.field)
3426
+ onClick: (S) => u(v.field)
3427
3427
  }, [
3428
- y(p(ue), {
3428
+ y(p(ce), {
3429
3429
  id: v.field,
3430
3430
  "model-value": n.value.find((S) => S.field === v.field).selected,
3431
3431
  binary: "",
@@ -3434,8 +3434,8 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3434
3434
  m("label", {
3435
3435
  for: v.field,
3436
3436
  class: "cursor-pointer"
3437
- }, h(v.header), 9, Yl)
3438
- ], 10, ql))), 256))
3437
+ }, h(v.header), 9, Hl)
3438
+ ], 10, jl))), 256))
3439
3439
  ])
3440
3440
  ]),
3441
3441
  _: 1
@@ -3444,32 +3444,32 @@ const wl = { class: "d-flex justify-content-between" }, xl = ["accept", "disable
3444
3444
  }
3445
3445
  });
3446
3446
  export {
3447
- xa as Bootstrap_PT,
3448
- ka as ForgeActionButton,
3447
+ ha as Bootstrap_PT,
3448
+ wa as ForgeActionButton,
3449
3449
  oe as ForgeAlert,
3450
- pt as ForgeCheckbox,
3451
- Ia as ForgeChips,
3452
- Ea as ForgeColumnCustomiser,
3450
+ mt as ForgeCheckbox,
3451
+ Ma as ForgeChips,
3452
+ Na as ForgeColumnCustomiser,
3453
3453
  be as ForgeDatepicker,
3454
- Na as ForgeFileUploader,
3455
- Aa as ForgeFilterHeader,
3456
- Pa as ForgeForm,
3457
- Ma as ForgeFormField,
3458
- Ft as ForgeInlineEditor,
3459
- $a as ForgeLink,
3460
- ve as ForgeLoader,
3461
- _a as ForgeModal,
3462
- ye as ForgeMultiSelect,
3463
- Ca as ForgeMultiSelectPreview,
3464
- Va as ForgeNavbar,
3465
- Sa as ForgePageHeader,
3466
- Wt as ForgeProgressBar,
3467
- Ta as ForgeRemainingCharacters,
3468
- za as ForgeStatWidget,
3469
- Oa as ForgeStepper,
3470
- Ua as ForgeTable,
3471
- Da as ForgeTile,
3472
- Fa as convertToMultiSelectOption,
3473
- Ba as enumToMultiSelectList,
3474
- bt as parseError
3454
+ Aa as ForgeFileUploader,
3455
+ Ua as ForgeFilterHeader,
3456
+ Ta as ForgeForm,
3457
+ Pa as ForgeFormField,
3458
+ Bt as ForgeInlineEditor,
3459
+ xa as ForgeLink,
3460
+ ye as ForgeLoader,
3461
+ Ba as ForgeModal,
3462
+ _a as ForgeMultiSelect,
3463
+ Va as ForgeMultiSelectPreview,
3464
+ Fa as ForgeNavbar,
3465
+ Ca as ForgePageHeader,
3466
+ Gt as ForgeProgressBar,
3467
+ Sa as ForgeRemainingCharacters,
3468
+ Ia as ForgeStatWidget,
3469
+ za as ForgeStepper,
3470
+ Da as ForgeTable,
3471
+ Oa as ForgeTile,
3472
+ $a as convertToMultiSelectOption,
3473
+ ka as enumToMultiSelectList,
3474
+ yt as parseError
3475
3475
  };