@3squared/forge-ui-3 2.3.0 → 2.5.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,22 +1,22 @@
1
1
  import he from "primevue/message";
2
- import { defineComponent as F, openBlock as d, createBlock as b, normalizeProps as X, guardReactiveProps as Q, withCtx as g, createElementVNode as u, normalizeClass as B, unref as c, createCommentVNode as z, createVNode as y, renderSlot as k, ref as I, createElementBlock as f, Fragment as N, mergeProps as S, renderList as q, mergeModels as E, useModel as D, computed as C, createTextVNode as P, toDisplayString as w, withDirectives as H, vShow as Y, createSlots as ie, onMounted as le, isRef as we, withKeys as K, normalizeStyle as ke, withModifiers as G, watch as ce, h as $e, useTemplateRef as Be } from "vue";
3
- import { Icon as j } from "@iconify/vue";
2
+ import { defineComponent as B, openBlock as d, createBlock as f, normalizeProps as K, guardReactiveProps as Z, withCtx as g, createElementVNode as m, normalizeClass as F, unref as c, createCommentVNode as C, createVNode as y, renderSlot as k, ref as I, createElementBlock as b, Fragment as N, mergeProps as S, renderList as q, mergeModels as E, useModel as D, computed as z, createTextVNode as _, toDisplayString as w, withDirectives as H, vShow as Y, createSlots as ie, onMounted as le, isRef as we, withKeys as X, normalizeStyle as ke, withModifiers as G, watch as ce, h as $e, useTemplateRef as Fe } from "vue";
3
+ import { Icon as T } from "@iconify/vue";
4
4
  import U from "primevue/button";
5
- import Fe from "primevue/toast";
5
+ import Be from "primevue/toast";
6
6
  import Se from "primevue/autocomplete";
7
- import ze from "primevue/checkbox";
7
+ import Ce from "primevue/checkbox";
8
8
  import { useField as ee } from "vee-validate";
9
- import Ce from "primevue/progressspinner";
9
+ import ze from "primevue/progressspinner";
10
10
  import Te from "primevue/dialog";
11
- import oe from "primevue/inputtext";
11
+ import ne from "primevue/inputtext";
12
12
  import { vOnClickOutside as je } from "@vueuse/components";
13
13
  import Ie from "primevue/menubar";
14
- import ne from "primevue/multiselect";
15
- import Pe from "primevue/datepicker";
14
+ import oe from "primevue/multiselect";
15
+ import _e from "primevue/datepicker";
16
16
  import te from "primevue/select";
17
- import _e from "primevue/inputmask";
17
+ import Pe from "primevue/inputmask";
18
18
  import Ve from "primevue/textarea";
19
- import me from "primevue/inputnumber";
19
+ import ue from "primevue/inputnumber";
20
20
  import Me from "primevue/chip";
21
21
  import De from "primevue/progressbar";
22
22
  import Oe from "primevue/step";
@@ -25,10 +25,11 @@ import Ue from "primevue/steplist";
25
25
  import Ae from "primevue/steppanel";
26
26
  import qe from "primevue/steppanels";
27
27
  import Ee from "primevue/datatable";
28
- import { BlockBlobClient as ue } from "@azure/storage-blob";
28
+ import { BlockBlobClient as me } from "@azure/storage-blob";
29
29
  import ve from "primevue/popover";
30
30
  import Le from "primevue/image";
31
- const Re = {
31
+ import Re from "primevue/panel";
32
+ const He = {
32
33
  autoComplete: {
33
34
  root: ({ props: e }) => ({
34
35
  class: [
@@ -57,7 +58,7 @@ const Re = {
57
58
  }),
58
59
  emptyMessage: "mx-3 my-2"
59
60
  }
60
- }, He = {
61
+ }, We = {
61
62
  button: {
62
63
  root: ({ props: e }) => ({
63
64
  class: [
@@ -158,7 +159,7 @@ const Re = {
158
159
  })
159
160
  }
160
161
  }
161
- }, We = {
162
+ }, Ye = {
162
163
  checkbox: {
163
164
  root: () => ({
164
165
  class: ["form-check"]
@@ -174,7 +175,7 @@ const Re = {
174
175
  ]
175
176
  })
176
177
  }
177
- }, Ye = {
178
+ }, Ge = {
178
179
  select: {
179
180
  root: ({ props: e }) => ({
180
181
  class: [
@@ -184,7 +185,7 @@ const Re = {
184
185
  }
185
186
  ]
186
187
  }),
187
- dropdown: ({ state: e }) => ({
188
+ dropdown: () => ({
188
189
  class: [
189
190
  "d-none my-auto filter-trigger"
190
191
  ]
@@ -204,10 +205,12 @@ const Re = {
204
205
  overlay: "dropdown-menu overflow-y-auto show",
205
206
  header: "p-2 w-100",
206
207
  pcFilter: "form-control w-100",
207
- pcFilterIconContainer: { root: {
208
- class: ["position-absolute bottom-0 end-0 me-3"],
209
- style: "top: 8%;"
210
- } },
208
+ pcFilterIconContainer: {
209
+ root: {
210
+ class: ["position-absolute bottom-0 end-0 me-3"],
211
+ style: "top: 8%;"
212
+ }
213
+ },
211
214
  clearIcon: "ms-auto my-auto",
212
215
  loadingIcon: "spinner-border spinner-border-sm border-0",
213
216
  optionGroupLabel: "ps-2 fw-bold",
@@ -222,7 +225,7 @@ const Re = {
222
225
  ]
223
226
  })
224
227
  }
225
- }, Ge = {
228
+ }, Je = {
226
229
  column: {
227
230
  pcSortBadge: "ms-2 my-auto cursor-pointer",
228
231
  headerCell: (e) => {
@@ -325,7 +328,7 @@ const Re = {
325
328
  ]
326
329
  })
327
330
  }
328
- }, Je = {
331
+ }, Ke = {
329
332
  inputtext: {
330
333
  root: (e) => {
331
334
  var t, a;
@@ -340,7 +343,7 @@ const Re = {
340
343
  };
341
344
  }
342
345
  }
343
- }, Ke = {
346
+ }, Ze = {
344
347
  inputmask: {
345
348
  root: () => ({
346
349
  class: [
@@ -348,12 +351,12 @@ const Re = {
348
351
  ]
349
352
  })
350
353
  }
351
- }, Ze = {
354
+ }, Xe = {
352
355
  toggleSwitch: {
353
356
  root: "form-check form-switch",
354
357
  input: "form-check-input"
355
358
  }
356
- }, Xe = {
359
+ }, Qe = {
357
360
  tag: {
358
361
  root: ({ props: e }) => ({
359
362
  class: [
@@ -373,7 +376,7 @@ const Re = {
373
376
  ]
374
377
  })
375
378
  }
376
- }, Qe = {
379
+ }, et = {
377
380
  textarea: {
378
381
  root: () => ({
379
382
  class: [
@@ -381,18 +384,21 @@ const Re = {
381
384
  ]
382
385
  })
383
386
  }
384
- }, et = {
387
+ }, tt = {
385
388
  chip: {
386
389
  root: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 p-1",
387
390
  label: "px-2 fs-6 fw-400",
388
391
  removeIcon: "ms-auto my-auto"
389
392
  }
390
- }, tt = {
393
+ }, at = {
391
394
  dialog: {
395
+ root: ({ parent: e }) => e.instance.$.type.name == "ConfirmDialog" ? {
396
+ class: ["modal modal-dialog modal-content h-auto m-0 modal-sm"]
397
+ } : {},
392
398
  header: () => ({
393
399
  class: ["modal-header"]
394
400
  }),
395
- headerTitle: () => ({
401
+ title: () => ({
396
402
  class: ["h5 modal-title text-black"]
397
403
  }),
398
404
  content: () => ({
@@ -404,8 +410,17 @@ const Re = {
404
410
  headerIcons: () => ({
405
411
  class: ["ms-auto"]
406
412
  }),
407
- headerActions: "d-flex ms-auto",
408
- pcCloseButton: ({ props: e }) => ({
413
+ icon: () => ({
414
+ class: ["ms-auto"]
415
+ }),
416
+ headerActions: ({ parent: e }) => e.instance.$.type.name == "ConfirmDialog" ? {
417
+ class: ["d-none"]
418
+ } : {
419
+ class: ["d-flex ms-auto"]
420
+ },
421
+ pcCloseButton: ({ props: e, parent: t }) => t.instance.$.type.name == "ConfirmDialog" ? {
422
+ class: ["btn p-1", "ms-auto"]
423
+ } : {
409
424
  root: {
410
425
  class: [
411
426
  "btn p-1",
@@ -414,7 +429,7 @@ const Re = {
414
429
  }
415
430
  ]
416
431
  }
417
- }),
432
+ },
418
433
  pcMaximizeButton: ({ props: e }) => ({
419
434
  root: {
420
435
  class: [
@@ -434,7 +449,7 @@ const Re = {
434
449
  ]
435
450
  })
436
451
  }
437
- }, at = {
452
+ }, it = {
438
453
  popover: {
439
454
  root: (e) => ({
440
455
  class: [
@@ -448,7 +463,7 @@ const Re = {
448
463
  content: "d-flex position-relative",
449
464
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
450
465
  }
451
- }, it = {
466
+ }, lt = {
452
467
  message: {
453
468
  root: ({ props: e }) => ({
454
469
  class: [
@@ -477,7 +492,7 @@ const Re = {
477
492
  class: ["px-0 ms-2 btn d-flex"]
478
493
  })
479
494
  }
480
- }, lt = {
495
+ }, nt = {
481
496
  // More PT options defined in ForgeStepper.
482
497
  stepList: {
483
498
  root: "d-flex mb-2 w-100"
@@ -530,7 +545,7 @@ const Re = {
530
545
  class: ["p-2"]
531
546
  })
532
547
  }
533
- }, nt = {
548
+ }, st = {
534
549
  // More PassThrough options defined in ForgeDatepicker.
535
550
  datepicker: {
536
551
  root: "d-inline-flex relative w-100",
@@ -605,7 +620,7 @@ const Re = {
605
620
  pcDecrementButton: { root: "btn btn-sm", label: "d-none" },
606
621
  pcIncrementButton: { root: "btn btn-sm", label: "d-none" }
607
622
  }
608
- }, st = {
623
+ }, rt = {
609
624
  multiselect: {
610
625
  root: ({ props: e }) => ({
611
626
  class: [
@@ -633,7 +648,7 @@ const Re = {
633
648
  class: "d-none"
634
649
  })
635
650
  }
636
- }, rt = {
651
+ }, dt = {
637
652
  // More PassThrough options in component file.
638
653
  progressbar: {
639
654
  root: () => ({
@@ -643,14 +658,20 @@ const Re = {
643
658
  class: ["text-white m-1"]
644
659
  })
645
660
  }
646
- }, dt = {
661
+ }, pt = {
647
662
  panel: {
648
663
  root: "card w-100",
649
- header: "d-flex justify-content-between align-items-center fw-600 ms-4 me-3 my-2",
650
- pcToggleButton: "btn",
664
+ header: "h4 d-flex justify-content-between align-items-center fw-600 ms-4 me-3 my-2",
665
+ pcToggleButton: {
666
+ root: {
667
+ class: [
668
+ "btn"
669
+ ]
670
+ }
671
+ },
651
672
  contentContainer: "mt-2 mx-4 mb-4"
652
673
  }
653
- }, pt = {
674
+ }, ct = {
654
675
  // More PT options can be found in the ForgeTable file.
655
676
  dataTable: {
656
677
  root: "position-relative",
@@ -713,7 +734,7 @@ const Re = {
713
734
  ]
714
735
  })
715
736
  }
716
- }, ct = {
737
+ }, ut = {
717
738
  badge: {
718
739
  root: ({ props: e }) => ({
719
740
  class: [
@@ -815,7 +836,7 @@ const Re = {
815
836
  ]
816
837
  })
817
838
  }
818
- }, ut = {
839
+ }, vt = {
819
840
  tooltip: {
820
841
  root: ({ context: e }) => ({
821
842
  class: [
@@ -837,7 +858,7 @@ const Re = {
837
858
  class: ["tooltip-inner"]
838
859
  }
839
860
  }
840
- }, vt = {
861
+ }, ft = {
841
862
  selectButton: {
842
863
  root: () => ({
843
864
  class: ["btn-group"]
@@ -854,7 +875,7 @@ const Re = {
854
875
  ]
855
876
  })
856
877
  }
857
- }, ft = {
878
+ }, gt = {
858
879
  splitbutton: {
859
880
  root: () => ({
860
881
  class: ["btn-group"]
@@ -890,7 +911,7 @@ const Re = {
890
911
  separator: "border-bottom w-100"
891
912
  }
892
913
  }
893
- }, gt = {
914
+ }, bt = {
894
915
  progressspinner: {
895
916
  spin: () => ({
896
917
  class: [
@@ -898,7 +919,7 @@ const Re = {
898
919
  ]
899
920
  })
900
921
  }
901
- }, bt = {
922
+ }, xt = {
902
923
  card: {
903
924
  root: () => ({
904
925
  class: ["card"]
@@ -922,11 +943,11 @@ const Re = {
922
943
  class: ["card-header"]
923
944
  })
924
945
  }
925
- }, xt = {
946
+ }, yt = {
926
947
  divider: {
927
948
  root: "border-bottom w-100 m-1"
928
949
  }
929
- }, yt = {
950
+ }, ht = {
930
951
  image: {
931
952
  root: "position-relative d-inline-block",
932
953
  previewMask: "preview-button",
@@ -939,7 +960,7 @@ const Re = {
939
960
  zoominbutton: "btn text-white",
940
961
  closebutton: "btn text-white"
941
962
  }
942
- }, ht = {
963
+ }, wt = {
943
964
  toast: {
944
965
  message: () => ({
945
966
  class: ["toast-container w-100 position-relative"]
@@ -974,7 +995,7 @@ const Re = {
974
995
  };
975
996
  }
976
997
  }
977
- }, wt = {
998
+ }, kt = {
978
999
  fieldset: {
979
1000
  root: () => ({
980
1001
  class: [
@@ -1000,42 +1021,42 @@ const Re = {
1000
1021
  ]
1001
1022
  })
1002
1023
  }
1003
- }, zi = {
1004
- ...Re,
1005
- ...ct,
1024
+ }, Ti = {
1006
1025
  ...He,
1007
- ...bt,
1026
+ ...ut,
1008
1027
  ...We,
1009
- ...et,
1010
- ...Ge,
1011
- ...nt,
1012
- ...tt,
1013
1028
  ...xt,
1014
1029
  ...Ye,
1015
- ...yt,
1030
+ ...tt,
1016
1031
  ...Je,
1017
- ...Ke,
1018
- ...Ze,
1019
- ...it,
1020
1032
  ...st,
1021
- ...mt,
1022
1033
  ...at,
1034
+ ...yt,
1035
+ ...Ge,
1036
+ ...ht,
1037
+ ...Ke,
1038
+ ...Ze,
1039
+ ...Xe,
1040
+ ...lt,
1023
1041
  ...rt,
1024
- ...gt,
1042
+ ...mt,
1043
+ ...it,
1025
1044
  ...dt,
1026
- ...vt,
1027
- ...ft,
1028
- ...lt,
1045
+ ...bt,
1029
1046
  ...pt,
1030
- ...Xe,
1031
- ...ot,
1032
- ...ht,
1047
+ ...ft,
1048
+ ...gt,
1049
+ ...nt,
1050
+ ...ct,
1033
1051
  ...Qe,
1052
+ ...ot,
1034
1053
  ...wt,
1054
+ ...et,
1055
+ ...kt,
1035
1056
  directives: {
1036
- ...ut
1057
+ ...vt
1037
1058
  }
1038
- }, se = /* @__PURE__ */ F({
1059
+ }, se = /* @__PURE__ */ B({
1039
1060
  __name: "ForgeAlert",
1040
1061
  props: {
1041
1062
  severity: { default: "primary" },
@@ -1056,22 +1077,22 @@ const Re = {
1056
1077
  const t = e;
1057
1078
  return (a, i) => {
1058
1079
  const l = he;
1059
- return d(), b(l, X(Q({ ...a.$attrs, ...t })), {
1080
+ return d(), f(l, K(Z({ ...a.$attrs, ...t })), {
1060
1081
  icon: g(() => [
1061
- u("div", {
1062
- class: B(t.icon ? "me-2 pe-1" : "")
1082
+ m("div", {
1083
+ class: F(t.icon ? "me-2 pe-1" : "")
1063
1084
  }, [
1064
- t.icon ? (d(), b(c(j), {
1085
+ t.icon ? (d(), f(c(T), {
1065
1086
  key: 0,
1066
1087
  "data-cy": "message-icon",
1067
1088
  icon: t.icon,
1068
- class: B(`text-${t.severity}`),
1089
+ class: F(`text-${t.severity}`),
1069
1090
  height: 35
1070
- }, null, 8, ["icon", "class"])) : z("", !0)
1091
+ }, null, 8, ["icon", "class"])) : C("", !0)
1071
1092
  ], 2)
1072
1093
  ]),
1073
1094
  closeicon: g(() => [
1074
- y(c(j), { icon: "bi:x" })
1095
+ y(c(T), { icon: "bi:x" })
1075
1096
  ]),
1076
1097
  default: g(() => [
1077
1098
  k(a.$slots, "default")
@@ -1080,7 +1101,7 @@ const Re = {
1080
1101
  }, 16);
1081
1102
  };
1082
1103
  }
1083
- }), Ci = /* @__PURE__ */ F({
1104
+ }), ji = /* @__PURE__ */ B({
1084
1105
  __name: "ForgeActionButton",
1085
1106
  props: {
1086
1107
  action: {},
@@ -1098,29 +1119,29 @@ const Re = {
1098
1119
  }
1099
1120
  t.value = !1;
1100
1121
  };
1101
- return (l, o) => {
1122
+ return (l, n) => {
1102
1123
  const s = U;
1103
- return d(), f(N, null, [
1124
+ return d(), b(N, null, [
1104
1125
  y(s, S({ ...a, ...l.$attrs }, {
1105
1126
  loading: t.value,
1106
1127
  disabled: t.value || a.disabled,
1107
1128
  onClick: i
1108
1129
  }), null, 16, ["loading", "disabled"]),
1109
- y(c(Fe))
1130
+ y(c(Be))
1110
1131
  ], 64);
1111
1132
  };
1112
1133
  }
1113
- }), Ti = /* @__PURE__ */ F({
1134
+ }), Ii = /* @__PURE__ */ B({
1114
1135
  __name: "ForgeAutoComplete",
1115
1136
  setup(e) {
1116
- return (t, a) => (d(), b(c(Se), S({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1137
+ return (t, a) => (d(), f(c(Se), S({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1117
1138
  default: g(() => [
1118
- (d(!0), f(N, null, q(t.$slots, (i, l) => k(t.$slots, l, { slot: l })), 256))
1139
+ (d(!0), b(N, null, q(t.$slots, (i, l) => k(t.$slots, l, { slot: l })), 256))
1119
1140
  ]),
1120
1141
  _: 3
1121
1142
  }, 16));
1122
1143
  }
1123
- }), kt = { class: "d-flex flex-column" }, $t = ["for"], fe = /* @__PURE__ */ F({
1144
+ }), $t = { class: "d-flex flex-column" }, Ft = ["for"], fe = /* @__PURE__ */ B({
1124
1145
  __name: "ForgeCheckbox",
1125
1146
  props: /* @__PURE__ */ E({
1126
1147
  label: { default: "" },
@@ -1155,7 +1176,7 @@ const Re = {
1155
1176
  }),
1156
1177
  emits: ["update:modelValue"],
1157
1178
  setup(e) {
1158
- const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = ee(
1179
+ const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: n } = ee(
1159
1180
  () => t.name ?? "",
1160
1181
  void 0,
1161
1182
  {
@@ -1164,43 +1185,43 @@ const Re = {
1164
1185
  }
1165
1186
  ), s = (p) => {
1166
1187
  t.name ? i(p) : a.value = p;
1167
- }, r = C(() => l.value.length > 0);
1168
- return (p, m) => {
1169
- const x = ze;
1170
- return d(), f("div", kt, [
1171
- u("div", S({
1188
+ }, r = z(() => l.value.length > 0);
1189
+ return (p, u) => {
1190
+ const x = Ce;
1191
+ return d(), b("div", $t, [
1192
+ m("div", S({
1172
1193
  class: "d-flex",
1173
1194
  "data-cy": "checkbox-container",
1174
- onClick: m[2] || (m[2] = (n) => s(a.value))
1195
+ onClick: u[2] || (u[2] = (o) => s(a.value))
1175
1196
  }, { ...p.$attrs }), [
1176
1197
  y(x, S({ ...t }, {
1177
1198
  binary: "",
1178
1199
  modelValue: a.value,
1179
- "onUpdate:modelValue": m[0] || (m[0] = (n) => a.value = n),
1200
+ "onUpdate:modelValue": u[0] || (u[0] = (o) => a.value = o),
1180
1201
  "input-id": t.name,
1181
1202
  "input-class": { "is-invalid": r.value },
1182
1203
  class: t.disabled ? "" : "cursor-pointer"
1183
1204
  }), null, 16, ["modelValue", "input-id", "input-class", "class"]),
1184
- u("label", {
1205
+ m("label", {
1185
1206
  for: t.name,
1186
- onClick: m[1] || (m[1] = (n) => s(!a.value)),
1187
- class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${r.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1207
+ onClick: u[1] || (u[1] = (o) => s(!a.value)),
1208
+ class: F([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${r.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1188
1209
  }, [
1189
1210
  k(p.$slots, "default", {}, () => [
1190
- P(w(t.label), 1)
1211
+ _(w(t.label), 1)
1191
1212
  ])
1192
- ], 10, $t)
1213
+ ], 10, Ft)
1193
1214
  ], 16),
1194
- H(u("small", {
1215
+ H(m("small", {
1195
1216
  "data-cy": "error",
1196
1217
  class: "text-invalid"
1197
- }, w(c(o)), 513), [
1218
+ }, w(c(n)), 513), [
1198
1219
  [Y, r.value]
1199
1220
  ])
1200
1221
  ]);
1201
1222
  };
1202
1223
  }
1203
- }), Bt = { class: "forge-loader" }, ge = /* @__PURE__ */ F({
1224
+ }), Bt = { class: "forge-loader" }, ge = /* @__PURE__ */ B({
1204
1225
  __name: "ForgeLoader",
1205
1226
  props: {
1206
1227
  severity: { default: "primary" }
@@ -1208,16 +1229,16 @@ const Re = {
1208
1229
  setup(e) {
1209
1230
  const t = e;
1210
1231
  return (a, i) => {
1211
- const l = Ce;
1212
- return d(), f("div", Bt, [
1232
+ const l = ze;
1233
+ return d(), b("div", Bt, [
1213
1234
  y(l, {
1214
1235
  "animation-duration": ".75",
1215
- class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1236
+ class: F(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1216
1237
  }, null, 8, ["class"])
1217
1238
  ]);
1218
1239
  };
1219
1240
  }
1220
- }), Ft = ["href", "target"], ji = /* @__PURE__ */ F({
1241
+ }), St = ["href", "target"], _i = /* @__PURE__ */ B({
1221
1242
  __name: "ForgeLink",
1222
1243
  props: {
1223
1244
  url: {},
@@ -1235,7 +1256,7 @@ const Re = {
1235
1256
  iconName: {}
1236
1257
  },
1237
1258
  setup(e) {
1238
- const t = C(() => ({
1259
+ const t = z(() => ({
1239
1260
  [`link-${e.severity}`]: e.severity,
1240
1261
  [`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
1241
1262
  [`link-opacity-${e.opacity}`]: e.opacity,
@@ -1244,32 +1265,32 @@ const Re = {
1244
1265
  [`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
1245
1266
  [`link-offset-${e.underlineOffset}`]: e.underlineOffset,
1246
1267
  "icon-link icon-link-hover": e.animateIconOnHover
1247
- })), a = C(() => ({
1268
+ })), a = z(() => ({
1248
1269
  "order-2": e.positionIconEnd,
1249
1270
  "me-1": !e.positionIconEnd && !e.animateIconOnHover,
1250
1271
  "ms-1": e.positionIconEnd && !e.animateIconOnHover,
1251
1272
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1252
1273
  "me-0": e.animateIconOnHover
1253
1274
  }));
1254
- return (i, l) => (d(), f("a", {
1275
+ return (i, l) => (d(), b("a", {
1255
1276
  id: "link",
1256
- class: B(["cursor-pointer d-flex text-break", t.value]),
1277
+ class: F(["cursor-pointer d-flex text-break", t.value]),
1257
1278
  href: i.url,
1258
1279
  target: i.target
1259
1280
  }, [
1260
1281
  k(i.$slots, "default", {}, () => [
1261
- i.iconName ? (d(), b(c(j), {
1282
+ i.iconName ? (d(), f(c(T), {
1262
1283
  key: 0,
1263
1284
  id: "link-icon",
1264
1285
  icon: i.iconName,
1265
- class: B(["bi my-auto", a.value])
1266
- }, null, 8, ["icon", "class"])) : z("", !0),
1267
- P(" " + w(i.label), 1)
1286
+ class: F(["bi my-auto", a.value])
1287
+ }, null, 8, ["icon", "class"])) : C("", !0),
1288
+ _(" " + w(i.label), 1)
1268
1289
  ])
1269
- ], 10, Ft));
1290
+ ], 10, St));
1270
1291
  }
1271
1292
  });
1272
- function St(e) {
1293
+ function Ct(e) {
1273
1294
  const t = {
1274
1295
  errorMessage: "",
1275
1296
  errorDetails: []
@@ -1280,16 +1301,16 @@ function St(e) {
1280
1301
  }
1281
1302
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1282
1303
  }
1283
- function Ii(e, t) {
1304
+ function Pi(e, t) {
1284
1305
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1285
1306
  }
1286
- function Pi(e, t, a) {
1307
+ function Vi(e, t, a) {
1287
1308
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1288
1309
  }
1289
- const zt = { key: 0 }, Ct = {
1310
+ const zt = { key: 0 }, Tt = {
1290
1311
  class: "d-flex w-100",
1291
1312
  "data-cy": "footer"
1292
- }, _i = /* @__PURE__ */ F({
1313
+ }, Mi = /* @__PURE__ */ B({
1293
1314
  __name: "ForgeModal",
1294
1315
  props: /* @__PURE__ */ E({
1295
1316
  cancelText: { default: "Cancel" },
@@ -1339,7 +1360,7 @@ const zt = { key: 0 }, Ct = {
1339
1360
  }),
1340
1361
  emits: ["update:visible"],
1341
1362
  setup(e) {
1342
- const t = D(e, "visible"), a = I(!1), i = e, l = I(!1), o = I({
1363
+ const t = D(e, "visible"), a = I(!1), i = e, l = I(!1), n = I({
1343
1364
  hasError: !1,
1344
1365
  header: "",
1345
1366
  message: []
@@ -1349,20 +1370,20 @@ const zt = { key: 0 }, Ct = {
1349
1370
  a.value = !0;
1350
1371
  }, p = () => {
1351
1372
  t.value = !1;
1352
- }, m = async () => {
1373
+ }, u = async () => {
1353
1374
  if (i.onConfirm) {
1354
- l.value = !0, o.value.hasError = !1;
1375
+ l.value = !0, n.value.hasError = !1;
1355
1376
  try {
1356
- const n = await i.onConfirm();
1357
- (n || n == null) && p();
1358
- } catch (n) {
1359
- o.value.hasError = !0;
1360
- const $ = St(n);
1361
- o.value.header = $.errorMessage, o.value.message = $.errorDetails;
1377
+ const o = await i.onConfirm();
1378
+ (o || o == null) && p();
1379
+ } catch (o) {
1380
+ n.value.hasError = !0;
1381
+ const $ = Ct(o);
1382
+ n.value.header = $.errorMessage, n.value.message = $.errorDetails;
1362
1383
  }
1363
1384
  l.value = !1;
1364
1385
  }
1365
- }, x = C(() => ({
1386
+ }, x = z(() => ({
1366
1387
  root: [
1367
1388
  "modal modal-dialog modal-content h-auto m-0",
1368
1389
  {
@@ -1373,15 +1394,15 @@ const zt = { key: 0 }, Ct = {
1373
1394
  }
1374
1395
  ]
1375
1396
  }));
1376
- return (n, $) => {
1377
- const T = U, V = Te;
1378
- return d(), b(V, S(i, {
1397
+ return (o, $) => {
1398
+ const j = U, V = Te;
1399
+ return d(), f(V, S(i, {
1379
1400
  onMaximize: r,
1380
1401
  onUnmaximize: s,
1381
1402
  pt: x.value
1382
1403
  }), ie({
1383
1404
  closeicon: g(() => [
1384
- y(c(j), {
1405
+ y(c(T), {
1385
1406
  "data-cy": "close-icon",
1386
1407
  icon: "bi:x-lg",
1387
1408
  width: "18",
@@ -1390,7 +1411,7 @@ const zt = { key: 0 }, Ct = {
1390
1411
  })
1391
1412
  ]),
1392
1413
  maximizeicon: g(() => [
1393
- y(c(j), {
1414
+ y(c(T), {
1394
1415
  "data-cy": "maximisable-icon",
1395
1416
  icon: a.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1396
1417
  width: "16",
@@ -1399,46 +1420,46 @@ const zt = { key: 0 }, Ct = {
1399
1420
  ]),
1400
1421
  _: 2
1401
1422
  }, [
1402
- q(n.$slots, (M, O) => ({
1423
+ q(o.$slots, (M, O) => ({
1403
1424
  name: O,
1404
1425
  fn: g((v) => [
1405
- o.value.hasError ? (d(), b(se, {
1426
+ n.value.hasError ? (d(), f(se, {
1406
1427
  key: 0,
1407
1428
  severity: "danger",
1408
1429
  "data-cy": "error"
1409
1430
  }, {
1410
1431
  default: g(() => [
1411
- u("p", {
1412
- class: B(o.value.message.length > 0 ? "my-auto" : "mb-0")
1413
- }, w(o.value.header), 3),
1414
- o.value.message.length > 0 ? (d(), f("ul", zt, [
1415
- (d(!0), f(N, null, q(o.value.message, (h) => (d(), f("li", { key: h }, w(h), 1))), 128))
1416
- ])) : z("", !0)
1432
+ m("p", {
1433
+ class: F(n.value.message.length > 0 ? "my-auto" : "mb-0")
1434
+ }, w(n.value.header), 3),
1435
+ n.value.message.length > 0 ? (d(), b("ul", zt, [
1436
+ (d(!0), b(N, null, q(n.value.message, (h) => (d(), b("li", { key: h }, w(h), 1))), 128))
1437
+ ])) : C("", !0)
1417
1438
  ]),
1418
1439
  _: 1
1419
- })) : z("", !0),
1420
- k(n.$slots, O, X(Q(v || {}))),
1421
- l.value ? k(n.$slots, "loader", { key: 1 }, () => [
1440
+ })) : C("", !0),
1441
+ k(o.$slots, O, K(Z(v || {}))),
1442
+ l.value ? k(o.$slots, "loader", { key: 1 }, () => [
1422
1443
  y(ge, { "data-cy": "loader" })
1423
- ]) : z("", !0)
1444
+ ]) : C("", !0)
1424
1445
  ])
1425
1446
  })),
1426
- n.showFooter ? {
1447
+ o.showFooter ? {
1427
1448
  name: "footer",
1428
1449
  fn: g(() => [
1429
- u("div", Ct, [
1430
- y(T, {
1431
- label: n.cancelText,
1432
- class: B(i.cancelClass),
1450
+ m("div", Tt, [
1451
+ y(j, {
1452
+ label: o.cancelText,
1453
+ class: F(i.cancelClass),
1433
1454
  outlined: "",
1434
1455
  onClick: p,
1435
1456
  id: "cancel-button",
1436
1457
  type: i.cancelButtonType
1437
1458
  }, null, 8, ["label", "class", "type"]),
1438
- y(T, {
1439
- label: n.submitText,
1440
- class: B([i.submitClass, "ms-auto"]),
1441
- onClick: m,
1459
+ y(j, {
1460
+ label: o.submitText,
1461
+ class: F([i.submitClass, "ms-auto"]),
1462
+ onClick: u,
1442
1463
  id: "submit-button",
1443
1464
  type: i.submitButtonType
1444
1465
  }, null, 8, ["label", "class", "type"])
@@ -1449,7 +1470,7 @@ const zt = { key: 0 }, Ct = {
1449
1470
  ]), 1040, ["pt"]);
1450
1471
  };
1451
1472
  }
1452
- }), Tt = ["id"], jt = { key: 0 }, It = { key: 0 }, Pt = { class: "d-flex justify-content-between align-items-center position-relative" }, _t = { key: 1 }, Vt = { "data-cy": "readonly-value" }, Mt = /* @__PURE__ */ F({
1473
+ }), jt = ["id"], It = { key: 0 }, _t = { key: 0 }, Pt = { class: "d-flex justify-content-between align-items-center position-relative" }, Vt = { key: 1 }, Mt = { "data-cy": "readonly-value" }, Dt = /* @__PURE__ */ B({
1453
1474
  __name: "ForgeInlineEditor",
1454
1475
  props: /* @__PURE__ */ E({
1455
1476
  name: { default: "" },
@@ -1464,13 +1485,13 @@ const zt = { key: 0 }, Ct = {
1464
1485
  }),
1465
1486
  emits: ["update:modelValue"],
1466
1487
  setup(e) {
1467
- const t = e, a = D(e, "modelValue"), i = I(!1), l = I(), o = () => {
1468
- var T;
1469
- i.value = !i.value, (T = l.value) == null || T.focus();
1488
+ const t = e, a = D(e, "modelValue"), i = I(!1), l = I(), n = () => {
1489
+ var j;
1490
+ i.value = !i.value, (j = l.value) == null || j.focus();
1470
1491
  }, s = async () => {
1471
1492
  if ($.value)
1472
1493
  return !1;
1473
- if (a.value = n.value, t.completeAction)
1494
+ if (a.value = o.value, t.completeAction)
1474
1495
  try {
1475
1496
  await t.completeAction.apply(this, t.params), i.value = !i.value;
1476
1497
  } catch {
@@ -1481,94 +1502,94 @@ const zt = { key: 0 }, Ct = {
1481
1502
  }, r = () => {
1482
1503
  i.value = !i.value;
1483
1504
  }, p = () => {
1484
- n.value = null;
1485
- }, { errorMessage: m, errors: x, value: n } = ee(() => t.name, void 0, {
1505
+ o.value = null;
1506
+ }, { errorMessage: u, errors: x, value: o } = ee(() => t.name, void 0, {
1486
1507
  initialValue: a.value
1487
1508
  });
1488
1509
  le(() => {
1489
- n.value = a.value;
1510
+ o.value = a.value;
1490
1511
  });
1491
- const $ = C(() => x.value.length > 0);
1492
- return (T, V) => {
1493
- const M = oe, O = U;
1494
- return d(), f("div", {
1512
+ const $ = z(() => x.value.length > 0);
1513
+ return (j, V) => {
1514
+ const M = ne, O = U;
1515
+ return d(), b("div", {
1495
1516
  id: t.name
1496
1517
  }, [
1497
- T.readonly ? (d(), f("div", _t, [
1498
- k(T.$slots, "default", {}, () => [
1499
- u("span", Vt, w(c(n)), 1)
1518
+ j.readonly ? (d(), b("div", Vt, [
1519
+ k(j.$slots, "default", {}, () => [
1520
+ m("span", Mt, w(c(o)), 1)
1500
1521
  ])
1501
- ])) : (d(), f("div", jt, [
1502
- i.value ? (d(), f("div", It, [
1503
- H((d(), f("div", Pt, [
1504
- k(T.$slots, "editor", {
1505
- class: B({ "is-invalid": $.value }),
1522
+ ])) : (d(), b("div", It, [
1523
+ i.value ? (d(), b("div", _t, [
1524
+ H((d(), b("div", Pt, [
1525
+ k(j.$slots, "editor", {
1526
+ class: F({ "is-invalid": $.value }),
1506
1527
  editFinished: s,
1507
1528
  cancel: r,
1508
- val: c(n)
1529
+ val: c(o)
1509
1530
  }, () => [
1510
1531
  y(M, {
1511
- modelValue: c(n),
1512
- "onUpdate:modelValue": V[0] || (V[0] = (v) => we(n) ? n.value = v : null),
1532
+ modelValue: c(o),
1533
+ "onUpdate:modelValue": V[0] || (V[0] = (v) => we(o) ? o.value = v : null),
1513
1534
  modelModifiers: { trim: !0 },
1514
1535
  "data-cy": "input",
1515
1536
  ref_key: "input",
1516
1537
  ref: l,
1517
- class: B({ "is-invalid": $.value }),
1538
+ class: F({ "is-invalid": $.value }),
1518
1539
  onKeydown: [
1519
- K(s, ["enter"]),
1520
- K(r, ["esc"])
1540
+ X(s, ["enter"]),
1541
+ X(r, ["esc"])
1521
1542
  ]
1522
1543
  }, null, 8, ["modelValue", "class"])
1523
1544
  ]),
1524
- y(c(j), {
1545
+ y(c(T), {
1525
1546
  icon: "bi:x-circle",
1526
1547
  class: "mx-2 cursor-pointer",
1527
1548
  onClick: p,
1528
- onKeydown: K(p, ["enter"]),
1549
+ onKeydown: X(p, ["enter"]),
1529
1550
  "data-cy": "clear-icon"
1530
1551
  })
1531
1552
  ])), [
1532
1553
  [c(je), s]
1533
1554
  ])
1534
- ])) : (d(), f("div", {
1555
+ ])) : (d(), b("div", {
1535
1556
  key: 1,
1536
1557
  class: "d-flex text-muted",
1537
- onClick: o,
1538
- onFocus: o
1558
+ onClick: n,
1559
+ onFocus: n
1539
1560
  }, [
1540
- k(T.$slots, "default", {}, () => [
1541
- u("div", {
1542
- class: B(["pe-2 cursor-pointer", { "text-invalid": $.value }]),
1561
+ k(j.$slots, "default", {}, () => [
1562
+ m("div", {
1563
+ class: F(["pe-2 cursor-pointer", { "text-invalid": $.value }]),
1543
1564
  "data-cy": "value"
1544
- }, w(c(n) ? c(n) : "Click to edit"), 3)
1565
+ }, w(c(o) ? c(o) : "Click to edit"), 3)
1545
1566
  ]),
1546
1567
  y(O, {
1547
1568
  link: "",
1548
1569
  class: "p-0 m-0"
1549
1570
  }, {
1550
1571
  default: g(() => [
1551
- y(c(j), {
1572
+ y(c(T), {
1552
1573
  icon: "bi:pencil",
1553
- class: B($.value ? "text-invalid" : "text-muted"),
1574
+ class: F($.value ? "text-invalid" : "text-muted"),
1554
1575
  "data-cy": "edit-icon",
1555
- onKeydown: K(o, ["enter"])
1576
+ onKeydown: X(n, ["enter"])
1556
1577
  }, null, 8, ["class"])
1557
1578
  ]),
1558
1579
  _: 1
1559
1580
  })
1560
1581
  ], 32))
1561
1582
  ])),
1562
- H(u("small", {
1583
+ H(m("small", {
1563
1584
  "data-cy": "error",
1564
1585
  class: "text-invalid"
1565
- }, w(c(m)), 513), [
1586
+ }, w(c(u)), 513), [
1566
1587
  [Y, $.value]
1567
1588
  ])
1568
- ], 8, Tt);
1589
+ ], 8, jt);
1569
1590
  };
1570
1591
  }
1571
- }), Dt = ["href"], Vi = /* @__PURE__ */ F({
1592
+ }), Ot = ["href"], Di = /* @__PURE__ */ B({
1572
1593
  __name: "ForgeNavbar",
1573
1594
  props: {
1574
1595
  severity: { default: "light" },
@@ -1585,7 +1606,7 @@ const zt = { key: 0 }, Ct = {
1585
1606
  unstyled: { type: Boolean }
1586
1607
  },
1587
1608
  setup(e) {
1588
- const t = e, a = C(() => ({
1609
+ const t = e, a = z(() => ({
1589
1610
  root: () => ({
1590
1611
  class: [
1591
1612
  "navbar container-fluid navbar-expand-lg",
@@ -1612,26 +1633,26 @@ const zt = { key: 0 }, Ct = {
1612
1633
  ]
1613
1634
  })
1614
1635
  }));
1615
- return (i, l) => (d(), b(c(Ie), S({ ...t, ...i.$attrs }, {
1636
+ return (i, l) => (d(), f(c(Ie), S({ ...t, ...i.$attrs }, {
1616
1637
  pt: a.value,
1617
1638
  "data-cy": "navbar"
1618
1639
  }), ie({
1619
1640
  start: g(() => [
1620
- u("a", {
1641
+ m("a", {
1621
1642
  href: i.logoUrl,
1622
1643
  class: "navbar-brand ms-3",
1623
1644
  "data-cy": "logo"
1624
1645
  }, [
1625
1646
  k(i.$slots, "logo", {}, () => [
1626
- l[0] || (l[0] = P(" Logo "))
1647
+ l[0] || (l[0] = _(" Logo "))
1627
1648
  ])
1628
- ], 8, Dt)
1649
+ ], 8, Ot)
1629
1650
  ]),
1630
1651
  buttonicon: g(() => [
1631
1652
  k(i.$slots, "buttonIcon", {}, () => [
1632
- y(c(j), {
1653
+ y(c(T), {
1633
1654
  icon: "bi:list",
1634
- class: B(t.severity === "light" ? "text-black" : "text-white"),
1655
+ class: F(t.severity === "light" ? "text-black" : "text-white"),
1635
1656
  height: "24",
1636
1657
  "data-cy": "burger-icon"
1637
1658
  }, null, 8, ["class"])
@@ -1639,22 +1660,22 @@ const zt = { key: 0 }, Ct = {
1639
1660
  ]),
1640
1661
  _: 2
1641
1662
  }, [
1642
- q(i.$slots, (o, s) => ({
1663
+ q(i.$slots, (n, s) => ({
1643
1664
  name: s,
1644
1665
  fn: g((r) => [
1645
- k(i.$slots, s, X(Q(r)))
1666
+ k(i.$slots, s, K(Z(r)))
1646
1667
  ])
1647
1668
  }))
1648
1669
  ]), 1040, ["pt"]));
1649
1670
  }
1650
- }), Ot = { class: "border alternating-item-list" }, Nt = {
1671
+ }), Nt = { class: "border alternating-item-list" }, Ut = {
1651
1672
  key: 0,
1652
1673
  class: "p-2 border-top border-bottom",
1653
1674
  "data-cy": "title"
1654
- }, Ut = { class: "d-inline-block" }, At = {
1675
+ }, At = { class: "d-inline-block" }, qt = {
1655
1676
  key: 1,
1656
1677
  class: "p-2 item d-flex justify-content-between align-items-center"
1657
- }, qt = /* @__PURE__ */ F({
1678
+ }, Et = /* @__PURE__ */ B({
1658
1679
  __name: "ForgeMultiSelectPreview",
1659
1680
  props: /* @__PURE__ */ E({
1660
1681
  title: { default: "Selected Items" },
@@ -1671,21 +1692,21 @@ const zt = { key: 0 }, Ct = {
1671
1692
  emits: ["update:modelValue"],
1672
1693
  setup(e) {
1673
1694
  const t = e, a = D(e, "modelValue"), i = (l) => {
1674
- a.value = a.value.filter((o) => o.id !== l);
1695
+ a.value = a.value.filter((n) => n.id !== l);
1675
1696
  };
1676
- return (l, o) => {
1677
- const s = ne, r = U;
1678
- return d(), f("div", {
1679
- class: B(l.orientation === "column" ? "row" : ""),
1697
+ return (l, n) => {
1698
+ const s = oe, r = U;
1699
+ return d(), b("div", {
1700
+ class: F(l.orientation === "column" ? "row" : ""),
1680
1701
  "data-cy": "multiselect-preview"
1681
1702
  }, [
1682
- u("div", {
1683
- class: B(l.orientation === "row" ? "col-12 mb-1" : "col"),
1703
+ m("div", {
1704
+ class: F(l.orientation === "row" ? "col-12 mb-1" : "col"),
1684
1705
  "data-cy": "multiselect-container"
1685
1706
  }, [
1686
1707
  y(s, S({
1687
1708
  modelValue: a.value,
1688
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a.value = p)
1709
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
1689
1710
  }, { ...l.$attrs }, {
1690
1711
  options: t.options ?? [],
1691
1712
  optionLabel: "label",
@@ -1693,73 +1714,73 @@ const zt = { key: 0 }, Ct = {
1693
1714
  "data-cy": "multiselect"
1694
1715
  }), {
1695
1716
  default: g(() => [
1696
- (d(!0), f(N, null, q(l.$slots, (p, m) => k(l.$slots, m, { slot: m })), 256))
1717
+ (d(!0), b(N, null, q(l.$slots, (p, u) => k(l.$slots, u, { slot: u })), 256))
1697
1718
  ]),
1698
1719
  _: 3
1699
1720
  }, 16, ["modelValue", "options", "placeholder"]),
1700
1721
  k(l.$slots, "after-multi-select")
1701
1722
  ], 2),
1702
- u("div", {
1703
- class: B(l.orientation === "row" ? "col-12" : "col"),
1723
+ m("div", {
1724
+ class: F(l.orientation === "row" ? "col-12" : "col"),
1704
1725
  "data-cy": "options-preview"
1705
1726
  }, [
1706
- u("div", {
1727
+ m("div", {
1707
1728
  style: ke({ height: l.height }),
1708
1729
  class: "overflow-auto"
1709
1730
  }, [
1710
- u("div", Ot, [
1711
- l.title ? (d(), f("div", Nt, w(l.title), 1)) : z("", !0),
1712
- (d(!0), f(N, null, q(a.value, (p) => (d(), f("div", {
1731
+ m("div", Nt, [
1732
+ l.title ? (d(), b("div", Ut, w(l.title), 1)) : C("", !0),
1733
+ (d(!0), b(N, null, q(a.value, (p) => (d(), b("div", {
1713
1734
  key: p.id,
1714
1735
  class: "p-2 item d-flex justify-content-between align-items-center"
1715
1736
  }, [
1716
1737
  k(l.$slots, "list-item", { item: p }, () => [
1717
- u("span", Ut, w(p.shortLabel ? p.shortLabel : p.label), 1)
1738
+ m("span", At, w(p.shortLabel ? p.shortLabel : p.label), 1)
1718
1739
  ]),
1719
- l.canRemoveItemFromPreview ? (d(), b(r, {
1740
+ l.canRemoveItemFromPreview ? (d(), f(r, {
1720
1741
  key: 0,
1721
1742
  link: "",
1722
1743
  class: "m-0 p-0 d-flex align-items-center",
1723
- onClick: (m) => i(p.id)
1744
+ onClick: (u) => i(p.id)
1724
1745
  }, {
1725
1746
  default: g(() => [
1726
- y(c(j), {
1747
+ y(c(T), {
1727
1748
  icon: "bi:x",
1728
1749
  class: "close-icon",
1729
1750
  "data-cy": `close-icon-${p.id}`
1730
1751
  }, null, 8, ["data-cy"])
1731
1752
  ]),
1732
1753
  _: 2
1733
- }, 1032, ["onClick"])) : z("", !0)
1754
+ }, 1032, ["onClick"])) : C("", !0)
1734
1755
  ]))), 128)),
1735
- a.value == null || a.value.length == 0 ? (d(), f("div", At, w(t.optionsPreviewEmptyText), 1)) : z("", !0)
1756
+ a.value == null || a.value.length == 0 ? (d(), b("div", qt, w(t.optionsPreviewEmptyText), 1)) : C("", !0)
1736
1757
  ])
1737
1758
  ], 4)
1738
1759
  ], 2)
1739
1760
  ], 2);
1740
1761
  };
1741
1762
  }
1742
- }), Et = { class: "d-flex justify-content-between pb-2" }, Lt = {
1763
+ }), Lt = { class: "d-flex justify-content-between pb-2" }, Rt = {
1743
1764
  "data-cy": "title",
1744
1765
  class: "my-auto"
1745
- }, Rt = {
1766
+ }, Ht = {
1746
1767
  "data-cy": "slot",
1747
1768
  class: "d-flex align-items-center"
1748
- }, Mi = /* @__PURE__ */ F({
1769
+ }, Oi = /* @__PURE__ */ B({
1749
1770
  __name: "ForgePageHeader",
1750
1771
  props: {
1751
1772
  title: {}
1752
1773
  },
1753
1774
  setup(e) {
1754
1775
  const t = e;
1755
- return (a, i) => (d(), f("div", Et, [
1756
- u("h3", Lt, w(t.title), 1),
1757
- u("div", Rt, [
1776
+ return (a, i) => (d(), b("div", Lt, [
1777
+ m("h3", Rt, w(t.title), 1),
1778
+ m("div", Ht, [
1758
1779
  k(a.$slots, "default")
1759
1780
  ])
1760
1781
  ]));
1761
1782
  }
1762
- }), Ht = { class: "d-flex" }, Wt = { "data-cy": "before-slot" }, Yt = { class: "position-relative w-100" }, Gt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1783
+ }), Wt = { class: "d-flex" }, Yt = { "data-cy": "before-slot" }, Gt = { class: "position-relative w-100" }, Jt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ B({
1763
1784
  __name: "ForgeDatepicker",
1764
1785
  props: /* @__PURE__ */ E({
1765
1786
  severity: { default: "primary" },
@@ -1835,37 +1856,37 @@ const zt = { key: 0 }, Ct = {
1835
1856
  }),
1836
1857
  emits: ["update:modelValue"],
1837
1858
  setup(e) {
1838
- const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: s, setValue: r } = ee(() => t.name, void 0, {
1859
+ const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: n, handleBlur: s, setValue: r } = ee(() => t.name, void 0, {
1839
1860
  initialValue: a.value
1840
1861
  }), p = () => {
1841
1862
  r(null), a.value = null;
1842
- }, m = C(() => i.value.length > 0), x = C(() => ({
1843
- dayCell: ({ context: n }) => ({
1863
+ }, u = z(() => i.value.length > 0), x = z(() => ({
1864
+ dayCell: ({ context: o }) => ({
1844
1865
  class: [
1845
1866
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
1846
1867
  {
1847
- "cursor-pointer": !n.disabled,
1848
- "pe-none": n.disabled,
1849
- "text-white": n.selected
1868
+ "cursor-pointer": !o.disabled,
1869
+ "pe-none": o.disabled,
1870
+ "text-white": o.selected
1850
1871
  },
1851
1872
  // Severities
1852
1873
  {
1853
- selected: n.selected && !n.disabled,
1854
- "text-primary": !n.selected && n.today && (t.severity === void 0 || t.severity === "primary"),
1855
- "text-brand": !n.selected && n.today && t.severity === "brand",
1856
- "text-secondary": !n.selected && n.today && t.severity === "secondary",
1857
- "text-success": !n.selected && n.today && t.severity === "success",
1858
- "text-warning": !n.selected && n.today && t.severity === "warning",
1859
- "text-danger": !n.selected && n.today && t.severity === "danger",
1860
- "text-info": !n.selected && n.today && t.severity === "info"
1874
+ selected: o.selected && !o.disabled,
1875
+ "text-primary": !o.selected && o.today && (t.severity === void 0 || t.severity === "primary"),
1876
+ "text-brand": !o.selected && o.today && t.severity === "brand",
1877
+ "text-secondary": !o.selected && o.today && t.severity === "secondary",
1878
+ "text-success": !o.selected && o.today && t.severity === "success",
1879
+ "text-warning": !o.selected && o.today && t.severity === "warning",
1880
+ "text-danger": !o.selected && o.today && t.severity === "danger",
1881
+ "text-info": !o.selected && o.today && t.severity === "info"
1861
1882
  }
1862
1883
  ]
1863
1884
  }),
1864
- dayLabel: ({ context: n }) => ({
1885
+ dayLabel: ({ context: o }) => ({
1865
1886
  class: [
1866
1887
  // Disabled States
1867
1888
  {
1868
- "text-muted": n.disabled
1889
+ "text-muted": o.disabled
1869
1890
  }
1870
1891
  ]
1871
1892
  }),
@@ -1901,95 +1922,95 @@ const zt = { key: 0 }, Ct = {
1901
1922
  ]
1902
1923
  })
1903
1924
  },
1904
- year: ({ context: n }) => ({
1925
+ year: ({ context: o }) => ({
1905
1926
  class: [
1906
1927
  "col-3 text-center cursor-pointer py-2",
1907
1928
  {
1908
- "text-primary": (t.severity === void 0 || t.severity === "primary") && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1909
- "text-brand": t.severity === "brand" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1910
- "text-secondary": t.severity === "secondary" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1911
- "text-success": t.severity === "success" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1912
- "text-warning": t.severity === "warning" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1913
- "text-danger": t.severity === "danger" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1914
- "text-info": t.severity === "info" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1929
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1930
+ "text-brand": t.severity === "brand" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1931
+ "text-secondary": t.severity === "secondary" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1932
+ "text-success": t.severity === "success" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1933
+ "text-warning": t.severity === "warning" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1934
+ "text-danger": t.severity === "danger" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1935
+ "text-info": t.severity === "info" && o.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1915
1936
  }
1916
1937
  ]
1917
1938
  }),
1918
- month: ({ context: n }) => ({
1939
+ month: ({ context: o }) => ({
1919
1940
  class: [
1920
1941
  "col-3 text-center cursor-pointer py-2",
1921
1942
  {
1922
- "text-primary": (t.severity === void 0 || t.severity === "primary") && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1923
- "text-brand": t.severity === "brand" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1924
- "text-secondary": t.severity === "secondary" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1925
- "text-success": t.severity === "success" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1926
- "text-warning": t.severity === "warning" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1927
- "text-danger": t.severity === "danger" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1928
- "text-info": t.severity === "info" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1943
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1944
+ "text-brand": t.severity === "brand" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1945
+ "text-secondary": t.severity === "secondary" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1946
+ "text-success": t.severity === "success" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1947
+ "text-warning": t.severity === "warning" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1948
+ "text-danger": t.severity === "danger" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1949
+ "text-info": t.severity === "info" && o.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1929
1950
  }
1930
1951
  ]
1931
1952
  })
1932
1953
  }));
1933
- return (n, $) => {
1934
- const T = Pe;
1935
- return d(), f(N, null, [
1936
- u("div", Ht, [
1937
- u("span", Wt, [
1938
- k(n.$slots, "before")
1954
+ return (o, $) => {
1955
+ const j = _e;
1956
+ return d(), b(N, null, [
1957
+ m("div", Wt, [
1958
+ m("span", Yt, [
1959
+ k(o.$slots, "before")
1939
1960
  ]),
1940
- u("div", Yt, [
1941
- y(T, S({ ...t, ...n.$attrs }, {
1961
+ m("div", Gt, [
1962
+ y(j, S({ ...t, ...o.$attrs }, {
1942
1963
  pt: x.value,
1943
1964
  modelValue: a.value,
1944
1965
  "onUpdate:modelValue": [
1945
1966
  $[0] || ($[0] = (V) => a.value = V),
1946
- c(o)
1967
+ c(n)
1947
1968
  ],
1948
1969
  onBlur: $[1] || ($[1] = () => c(s)),
1949
- "input-class": { "datepicker-invalid": m.value }
1970
+ "input-class": { "datepicker-invalid": u.value }
1950
1971
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
1951
- H(y(c(j), {
1972
+ H(y(c(T), {
1952
1973
  "data-cy": "icon",
1953
1974
  icon: "bi:calendar4",
1954
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${m.value ? "text-danger-dark" : "text-muted"}`])
1975
+ class: F(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${u.value ? "text-danger-dark" : "text-muted"}`])
1955
1976
  }, null, 8, ["class"]), [
1956
1977
  [Y, t.showIcon]
1957
1978
  ]),
1958
- H(y(c(j), {
1979
+ H(y(c(T), {
1959
1980
  "data-cy": "icon",
1960
1981
  icon: "bi:x",
1961
1982
  onClick: p,
1962
- 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"])
1983
+ class: F(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
1963
1984
  }, null, 8, ["class"]), [
1964
1985
  [Y, t.modelValue]
1965
1986
  ])
1966
1987
  ]),
1967
- u("span", Gt, [
1968
- k(n.$slots, "after")
1988
+ m("span", Jt, [
1989
+ k(o.$slots, "after")
1969
1990
  ])
1970
1991
  ]),
1971
- H(u("small", {
1992
+ H(m("small", {
1972
1993
  "data-cy": "error",
1973
1994
  class: "text-invalid"
1974
1995
  }, w(c(l)), 513), [
1975
- [Y, m.value]
1996
+ [Y, u.value]
1976
1997
  ])
1977
1998
  ], 64);
1978
1999
  };
1979
2000
  }
1980
- }), Di = /* @__PURE__ */ F({
2001
+ }), Ni = /* @__PURE__ */ B({
1981
2002
  __name: "ForgeRemainingCharacters",
1982
2003
  props: {
1983
2004
  maxCount: { default: 300 },
1984
2005
  currentCount: {}
1985
2006
  },
1986
2007
  setup(e) {
1987
- const t = e, a = C(() => t.maxCount - t.currentCount);
1988
- return (i, l) => (d(), f("div", {
1989
- class: B(a.value < 0 ? "text-danger" : "")
2008
+ const t = e, a = z(() => t.maxCount - t.currentCount);
2009
+ return (i, l) => (d(), b("div", {
2010
+ class: F(a.value < 0 ? "text-danger" : "")
1990
2011
  }, "Remaining characters: " + w(a.value), 3));
1991
2012
  }
1992
- }), Jt = { class: "d-flex justify-content-between" }, Oi = /* @__PURE__ */ F({
2013
+ }), Kt = { class: "d-flex justify-content-between" }, Ui = /* @__PURE__ */ B({
1993
2014
  __name: "ForgeForm",
1994
2015
  props: {
1995
2016
  onSubmit: {},
@@ -2009,59 +2030,59 @@ const zt = { key: 0 }, Ct = {
2009
2030
  a.value = !0, i.value.hasError = !1;
2010
2031
  try {
2011
2032
  await t.onSubmit();
2012
- } catch (o) {
2013
- i.value.hasError = !0, o.message && (i.value.message = o.message);
2033
+ } catch (n) {
2034
+ i.value.hasError = !0, n.message && (i.value.message = n.message);
2014
2035
  }
2015
2036
  a.value = !1;
2016
2037
  }
2017
- return (o, s) => {
2038
+ return (n, s) => {
2018
2039
  const r = U;
2019
- return d(), f("form", S(o.$attrs, {
2040
+ return d(), b("form", S(n.$attrs, {
2020
2041
  novalidate: "",
2021
2042
  class: "position-relative shadow-sm border p-4 bg-white",
2022
2043
  onSubmit: G(l, ["prevent"])
2023
2044
  }), [
2024
- o.hideTitle ? z("", !0) : (d(), f(N, { key: 0 }, [
2025
- k(o.$slots, "title", {}, () => [
2026
- u("h3", {
2027
- class: B(o.titleClass),
2045
+ n.hideTitle ? C("", !0) : (d(), b(N, { key: 0 }, [
2046
+ k(n.$slots, "title", {}, () => [
2047
+ m("h3", {
2048
+ class: F(n.titleClass),
2028
2049
  "data-cy": "form-title"
2029
- }, w(o.title), 3)
2050
+ }, w(n.title), 3)
2030
2051
  ]),
2031
- s[1] || (s[1] = u("hr", null, null, -1))
2052
+ s[1] || (s[1] = m("hr", null, null, -1))
2032
2053
  ], 64)),
2033
- i.value.hasError ? (d(), b(se, {
2054
+ i.value.hasError ? (d(), f(se, {
2034
2055
  key: 1,
2035
2056
  severity: "danger",
2036
2057
  "data-cy": "error"
2037
2058
  }, {
2038
2059
  default: g(() => [
2039
- k(o.$slots, "error", {
2060
+ k(n.$slots, "error", {
2040
2061
  error: i.value.message
2041
2062
  }, () => [
2042
- P(w(i.value.message), 1)
2063
+ _(w(i.value.message), 1)
2043
2064
  ])
2044
2065
  ]),
2045
2066
  _: 3
2046
- })) : z("", !0),
2047
- k(o.$slots, "default"),
2048
- u("div", Jt, [
2049
- k(o.$slots, "cancel", {}, () => [
2050
- o.hideCancel ? z("", !0) : (d(), b(r, {
2067
+ })) : C("", !0),
2068
+ k(n.$slots, "default"),
2069
+ m("div", Kt, [
2070
+ k(n.$slots, "cancel", {}, () => [
2071
+ n.hideCancel ? C("", !0) : (d(), f(r, {
2051
2072
  key: 0,
2052
2073
  "data-cy": "cancel-btn",
2053
2074
  type: "reset",
2054
2075
  severity: "secondary",
2055
2076
  outlined: "",
2056
- onClick: s[0] || (s[0] = (p) => o.$emit("cancel"))
2077
+ onClick: s[0] || (s[0] = (p) => n.$emit("cancel"))
2057
2078
  }, {
2058
2079
  default: g(() => [
2059
- P(w(o.cancelText), 1)
2080
+ _(w(n.cancelText), 1)
2060
2081
  ]),
2061
2082
  _: 1
2062
2083
  }))
2063
2084
  ]),
2064
- k(o.$slots, "submit", { submit: l }, () => [
2085
+ k(n.$slots, "submit", { submit: l }, () => [
2065
2086
  y(r, {
2066
2087
  "data-cy": "submit-btn",
2067
2088
  type: "submit",
@@ -2069,23 +2090,23 @@ const zt = { key: 0 }, Ct = {
2069
2090
  class: "ms-auto"
2070
2091
  }, {
2071
2092
  default: g(() => [
2072
- P(w(o.submitText), 1)
2093
+ _(w(n.submitText), 1)
2073
2094
  ]),
2074
2095
  _: 1
2075
2096
  })
2076
2097
  ])
2077
2098
  ]),
2078
- a.value ? (d(), b(ge, {
2099
+ a.value ? (d(), f(ge, {
2079
2100
  key: 2,
2080
2101
  "data-cy": "loading-spinner"
2081
- })) : z("", !0)
2102
+ })) : C("", !0)
2082
2103
  ], 16);
2083
2104
  };
2084
2105
  }
2085
- }), Kt = {
2106
+ }), Zt = {
2086
2107
  key: 1,
2087
2108
  class: "d-flex flex-column w-100"
2088
- }, Zt = ["for"], Ni = /* @__PURE__ */ F({
2109
+ }, Xt = ["for"], Ai = /* @__PURE__ */ B({
2089
2110
  __name: "ForgeFormField",
2090
2111
  props: /* @__PURE__ */ E({
2091
2112
  name: {},
@@ -2103,99 +2124,99 @@ const zt = { key: 0 }, Ct = {
2103
2124
  setup(e) {
2104
2125
  const t = D(e, "modelValue"), a = e, i = (x) => {
2105
2126
  a.type == "number" ? r(x.value) : r(x);
2106
- }, { errors: l, value: o, errorMessage: s, handleChange: r, handleBlur: p } = ee(() => a.name, void 0, {
2127
+ }, { errors: l, value: n, errorMessage: s, handleChange: r, handleBlur: p } = ee(() => a.name, void 0, {
2107
2128
  initialValue: t.value
2108
- }), m = C(() => l.value.length > 0);
2109
- return ce(() => o.value, (x) => {
2129
+ }), u = z(() => l.value.length > 0);
2130
+ return ce(() => n.value, (x) => {
2110
2131
  t.value = x;
2111
- }, { immediate: !0 }), (x, n) => {
2112
- const $ = Ve, T = _e, V = oe, M = te, O = ne, v = be;
2113
- return a.type === "checkbox" ? (d(), b(fe, S({
2132
+ }, { immediate: !0 }), (x, o) => {
2133
+ const $ = Ve, j = Pe, V = ne, M = te, O = oe, v = be;
2134
+ return a.type === "checkbox" ? (d(), f(fe, S({
2114
2135
  key: 0,
2115
2136
  id: a.name,
2116
2137
  label: a.fieldLabel
2117
2138
  }, x.$attrs, {
2118
2139
  name: a.name,
2119
2140
  modelValue: t.value,
2120
- "onUpdate:modelValue": n[0] || (n[0] = (h) => t.value = h)
2121
- }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), f("div", Kt, [
2122
- u("div", {
2141
+ "onUpdate:modelValue": o[0] || (o[0] = (h) => t.value = h)
2142
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", Zt, [
2143
+ m("div", {
2123
2144
  "data-cy": "input-wrapper",
2124
- class: B(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2145
+ class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2125
2146
  }, [
2126
- u("label", {
2147
+ m("label", {
2127
2148
  for: a.name,
2128
- class: B(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2129
- }, w(a.fieldLabel), 11, Zt),
2130
- a.type === "number" ? (d(), b(c(me), S({
2149
+ class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2150
+ }, w(a.fieldLabel), 11, Xt),
2151
+ a.type === "number" ? (d(), f(c(ue), S({
2131
2152
  key: 0,
2132
2153
  id: a.name
2133
2154
  }, x.$attrs, {
2134
2155
  placeholder: a.placeholder,
2135
- "input-class": { "is-invalid": m.value },
2136
- class: { "is-invalid": m.value },
2156
+ "input-class": { "is-invalid": u.value },
2157
+ class: { "is-invalid": u.value },
2137
2158
  modelValue: t.value,
2138
- "onUpdate:modelValue": n[1] || (n[1] = (h) => t.value = h),
2159
+ "onUpdate:modelValue": o[1] || (o[1] = (h) => t.value = h),
2139
2160
  onInput: i
2140
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), b($, S({
2161
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), f($, S({
2141
2162
  key: 1,
2142
2163
  id: a.name
2143
2164
  }, x.$attrs, {
2144
2165
  placeholder: a.placeholder,
2145
- class: { "is-invalid": m.value },
2166
+ class: { "is-invalid": u.value },
2146
2167
  modelValue: t.value,
2147
- "onUpdate:modelValue": n[2] || (n[2] = (h) => t.value = h),
2168
+ "onUpdate:modelValue": o[2] || (o[2] = (h) => t.value = h),
2148
2169
  onInput: i,
2149
2170
  onBlur: c(p)
2150
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), b(T, S({
2171
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), f(j, S({
2151
2172
  key: 2,
2152
2173
  id: a.name
2153
2174
  }, x.$attrs, {
2154
2175
  placeholder: a.placeholder,
2155
2176
  mask: a.mask,
2156
- class: { "is-invalid": m.value },
2177
+ class: { "is-invalid": u.value },
2157
2178
  modelValue: t.value,
2158
- "onUpdate:modelValue": n[3] || (n[3] = (h) => t.value = h),
2179
+ "onUpdate:modelValue": o[3] || (o[3] = (h) => t.value = h),
2159
2180
  onComplete: i,
2160
2181
  onBlur: c(p)
2161
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), b(V, S({
2182
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), f(V, S({
2162
2183
  key: 3,
2163
2184
  id: a.name
2164
2185
  }, x.$attrs, {
2165
2186
  placeholder: a.placeholder,
2166
- class: { "is-invalid": m.value },
2187
+ class: { "is-invalid": u.value },
2167
2188
  modelValue: t.value,
2168
- "onUpdate:modelValue": n[4] || (n[4] = (h) => t.value = h),
2189
+ "onUpdate:modelValue": o[4] || (o[4] = (h) => t.value = h),
2169
2190
  onInput: i,
2170
2191
  onBlur: c(p)
2171
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), b(M, S({ key: 4 }, { ...a, ...x.$attrs }, {
2192
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), f(M, S({ key: 4 }, { ...a, ...x.$attrs }, {
2172
2193
  modelValue: t.value,
2173
- "onUpdate:modelValue": n[5] || (n[5] = (h) => t.value = h),
2174
- class: { "is-invalid": m.value }
2175
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), b(O, S({ key: 5 }, { ...a, ...x.$attrs }, {
2194
+ "onUpdate:modelValue": o[5] || (o[5] = (h) => t.value = h),
2195
+ class: { "is-invalid": u.value }
2196
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), f(O, S({ key: 5 }, { ...a, ...x.$attrs }, {
2176
2197
  modelValue: t.value,
2177
- "onUpdate:modelValue": n[6] || (n[6] = (h) => t.value = h),
2178
- class: { "is-invalid": m.value }
2179
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), b(qt, S({ key: 6 }, { ...a, ...x.$attrs }, {
2198
+ "onUpdate:modelValue": o[6] || (o[6] = (h) => t.value = h),
2199
+ class: { "is-invalid": u.value }
2200
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), f(Et, S({ key: 6 }, { ...a, ...x.$attrs }, {
2180
2201
  modelValue: t.value,
2181
- "onUpdate:modelValue": n[7] || (n[7] = (h) => t.value = h),
2182
- class: { "is-invalid": m.value }
2183
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), b(v, S({ key: 7 }, { ...a, ...x.$attrs }, {
2202
+ "onUpdate:modelValue": o[7] || (o[7] = (h) => t.value = h),
2203
+ class: { "is-invalid": u.value }
2204
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), f(v, S({ key: 7 }, { ...a, ...x.$attrs }, {
2184
2205
  modelValue: t.value,
2185
- "onUpdate:modelValue": n[8] || (n[8] = (h) => t.value = h),
2186
- class: { "is-invalid": m.value }
2187
- }), null, 16, ["modelValue", "class"])) : z("", !0)
2206
+ "onUpdate:modelValue": o[8] || (o[8] = (h) => t.value = h),
2207
+ class: { "is-invalid": u.value }
2208
+ }), null, 16, ["modelValue", "class"])) : C("", !0)
2188
2209
  ], 2),
2189
- H(u("small", {
2210
+ H(m("small", {
2190
2211
  "data-cy": "error",
2191
2212
  class: "invalid-feedback"
2192
2213
  }, w(c(s)), 513), [
2193
- [Y, m.value && a.type !== "multiselect" && a.type !== "datepicker"]
2214
+ [Y, u.value && a.type !== "multiselect" && a.type !== "datepicker"]
2194
2215
  ])
2195
2216
  ]));
2196
2217
  };
2197
2218
  }
2198
- }), Ui = /* @__PURE__ */ F({
2219
+ }), qi = /* @__PURE__ */ B({
2199
2220
  __name: "ForgeChip",
2200
2221
  props: {
2201
2222
  chipSeverity: { default: "primary" },
@@ -2211,7 +2232,7 @@ const zt = { key: 0 }, Ct = {
2211
2232
  unstyled: { type: Boolean }
2212
2233
  },
2213
2234
  setup(e) {
2214
- const t = e, a = C(() => ({
2235
+ const t = e, a = z(() => ({
2215
2236
  root: [
2216
2237
  "badge d-inline-flex align-items-center border me-1 p-1",
2217
2238
  {
@@ -2229,16 +2250,16 @@ const zt = { key: 0 }, Ct = {
2229
2250
  ]
2230
2251
  }));
2231
2252
  return (i, l) => {
2232
- const o = Me;
2233
- return d(), b(o, S({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2253
+ const n = Me;
2254
+ return d(), f(n, S({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2234
2255
  default: g(() => [
2235
- (d(!0), f(N, null, q(i.$slots, (s, r) => k(i.$slots, r, { slot: r })), 256))
2256
+ (d(!0), b(N, null, q(i.$slots, (s, r) => k(i.$slots, r, { slot: r })), 256))
2236
2257
  ]),
2237
2258
  _: 3
2238
2259
  }, 16, ["pt"]);
2239
2260
  };
2240
2261
  }
2241
- }), Xt = /* @__PURE__ */ F({
2262
+ }), Qt = /* @__PURE__ */ B({
2242
2263
  __name: "ForgeProgressBar",
2243
2264
  props: {
2244
2265
  severity: { default: "primary" },
@@ -2254,7 +2275,7 @@ const zt = { key: 0 }, Ct = {
2254
2275
  unstyled: { type: Boolean }
2255
2276
  },
2256
2277
  setup(e) {
2257
- const t = e, a = C(() => t.striped ? "progress-bar-striped" : null), i = C(() => t.animate ? "progress-bar-animated" : null), l = C(() => {
2278
+ const t = e, a = z(() => t.striped ? "progress-bar-striped" : null), i = z(() => t.animate ? "progress-bar-animated" : null), l = z(() => {
2258
2279
  switch (t.severity) {
2259
2280
  case "brand":
2260
2281
  return "bg-brand";
@@ -2273,7 +2294,7 @@ const zt = { key: 0 }, Ct = {
2273
2294
  default:
2274
2295
  return "bg-primary";
2275
2296
  }
2276
- }), o = C(() => ({
2297
+ }), n = z(() => ({
2277
2298
  root: {
2278
2299
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2279
2300
  },
@@ -2283,7 +2304,7 @@ const zt = { key: 0 }, Ct = {
2283
2304
  }));
2284
2305
  return (s, r) => {
2285
2306
  const p = De;
2286
- return d(), b(p, S({ ...s.$attrs, ...t }, { pt: o.value }), {
2307
+ return d(), f(p, S({ ...s.$attrs, ...t }, { pt: n.value }), {
2287
2308
  default: g(() => [
2288
2309
  k(s.$slots, "default")
2289
2310
  ]),
@@ -2292,7 +2313,7 @@ const zt = { key: 0 }, Ct = {
2292
2313
  };
2293
2314
  }
2294
2315
  });
2295
- var Qt = /* @__PURE__ */ F({
2316
+ var ea = /* @__PURE__ */ B({
2296
2317
  name: "VueDrawingCanvas",
2297
2318
  props: {
2298
2319
  strokeType: {
@@ -2603,15 +2624,15 @@ var Qt = /* @__PURE__ */ F({
2603
2624
  e && this.save();
2604
2625
  });
2605
2626
  },
2606
- wrapText(e, t, a, i, l, o) {
2627
+ wrapText(e, t, a, i, l, n) {
2607
2628
  const s = /(\r\n|\n\r|\n|\r)+/g, r = /\s+/g;
2608
2629
  var p = t.split(s).filter((M) => M.length > 0);
2609
2630
  for (let M = 0; M < p.length; M++) {
2610
- for (var m = p[M].split(r).filter((O) => O.length > 0), x = "", n = 0; n < m.length; n++) {
2611
- var $ = x + m[n] + " ", T = e.measureText($), V = T.width;
2612
- V > l && n > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), x = m[n] + " ", i += o) : x = $;
2631
+ for (var u = p[M].split(r).filter((O) => O.length > 0), x = "", o = 0; o < u.length; o++) {
2632
+ var $ = x + u[o] + " ", j = e.measureText($), V = j.width;
2633
+ V > l && o > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), x = u[o] + " ", i += n) : x = $;
2613
2634
  }
2614
- this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), i += m.length > 0 ? o : 0;
2635
+ this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), i += u.length > 0 ? n : 0;
2615
2636
  }
2616
2637
  },
2617
2638
  save() {
@@ -2628,23 +2649,23 @@ var Qt = /* @__PURE__ */ F({
2628
2649
  drawWatermark(e, t, a) {
2629
2650
  if (a.type === "Image") {
2630
2651
  let i = a.imageStyle ? a.imageStyle.width ? a.imageStyle.width : Number(this.width) : Number(this.width), l = a.imageStyle ? a.imageStyle.height ? a.imageStyle.height : Number(this.height) : Number(this.height);
2631
- const o = new Image();
2632
- o.src = a.source, o.onload = () => {
2633
- a && t && t.drawImage(o, a.x, a.y, Number(i), Number(l));
2634
- let s = document.createElement("canvas"), r = s.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, m = this.outputHeight === void 0 ? this.height : this.outputHeight;
2635
- if (s.width = Number(p), s.height = Number(m), r)
2636
- return r.drawImage(e, 0, 0, Number(p), Number(m)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2652
+ const n = new Image();
2653
+ n.src = a.source, n.onload = () => {
2654
+ a && t && t.drawImage(n, a.x, a.y, Number(i), Number(l));
2655
+ let s = document.createElement("canvas"), r = s.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, u = this.outputHeight === void 0 ? this.height : this.outputHeight;
2656
+ if (s.width = Number(p), s.height = Number(u), r)
2657
+ return r.drawImage(e, 0, 0, Number(p), Number(u)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2637
2658
  };
2638
2659
  } else if (a.type === "Text") {
2639
- let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", o = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", s = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2640
- if (t.font = i, t.textAlign = l, t.textBaseline = o, a.fontStyle && a.fontStyle.rotate) {
2641
- let n, $;
2642
- a.fontStyle && a.fontStyle.width ? n = a.x + Math.floor(a.fontStyle.width / 2) : n = a.x, a.fontStyle && a.fontStyle.lineHeight ? $ = a.y + Math.floor(a.fontStyle.lineHeight / 2) : $ = a.y, t.translate(n, $), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(n * -1, $ * -1);
2660
+ let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", n = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", s = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2661
+ if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
2662
+ let o, $;
2663
+ a.fontStyle && a.fontStyle.width ? o = a.x + Math.floor(a.fontStyle.width / 2) : o = a.x, a.fontStyle && a.fontStyle.lineHeight ? $ = a.y + Math.floor(a.fontStyle.lineHeight / 2) : $ = a.y, t.translate(o, $), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(o * -1, $ * -1);
2643
2664
  }
2644
2665
  a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = s, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
2645
- let r = document.createElement("canvas"), p = r.getContext("2d"), m = this.outputWidth === void 0 ? this.width : this.outputWidth, x = this.outputHeight === void 0 ? this.height : this.outputHeight;
2646
- if (r.width = Number(m), r.height = Number(x), p)
2647
- return p.drawImage(e, 0, 0, Number(m), Number(x)), this.$emit("update:image", r.toDataURL("image/" + this.saveAs, 1)), r.toDataURL("image/" + this.saveAs, 1);
2666
+ let r = document.createElement("canvas"), p = r.getContext("2d"), u = this.outputWidth === void 0 ? this.width : this.outputWidth, x = this.outputHeight === void 0 ? this.height : this.outputHeight;
2667
+ if (r.width = Number(u), r.height = Number(x), p)
2668
+ return p.drawImage(e, 0, 0, Number(u), Number(x)), this.$emit("update:image", r.toDataURL("image/" + this.saveAs, 1)), r.toDataURL("image/" + this.saveAs, 1);
2648
2669
  }
2649
2670
  },
2650
2671
  isEmpty() {
@@ -2682,7 +2703,7 @@ var Qt = /* @__PURE__ */ F({
2682
2703
  });
2683
2704
  }
2684
2705
  });
2685
- const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1 gap-1" }, Ai = /* @__PURE__ */ F({
2706
+ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1 gap-1" }, Ei = /* @__PURE__ */ B({
2686
2707
  __name: "ForgeScratchpad",
2687
2708
  props: {
2688
2709
  showClear: { type: Boolean, default: !0 },
@@ -2694,23 +2715,23 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2694
2715
  },
2695
2716
  emits: ["save"],
2696
2717
  setup(e, { emit: t }) {
2697
- const a = e, i = t, l = Be("drawingCanvas"), o = I(), s = () => {
2718
+ const a = e, i = t, l = Fe("drawingCanvas"), n = I(), s = () => {
2698
2719
  l == null || l.value.reset();
2699
2720
  }, r = () => {
2700
2721
  l == null || l.value.redo();
2701
2722
  }, p = () => {
2702
2723
  l == null || l.value.undo();
2703
- }, m = () => {
2724
+ }, u = () => {
2704
2725
  i("save", l.value.isEmpty());
2705
2726
  };
2706
- return (x, n) => {
2727
+ return (x, o) => {
2707
2728
  const $ = U;
2708
- return d(), f("div", ea, [
2709
- y(c(Qt), S({
2729
+ return d(), b("div", ta, [
2730
+ y(c(ea), S({
2710
2731
  ref_key: "drawingCanvas",
2711
2732
  ref: l,
2712
- image: o.value,
2713
- "onUpdate:image": n[0] || (n[0] = (T) => o.value = T),
2733
+ image: n.value,
2734
+ "onUpdate:image": o[0] || (o[0] = (j) => n.value = j),
2714
2735
  "data-cy": "drawing-canvas",
2715
2736
  class: "border canvas"
2716
2737
  }, { ...x.$attrs }, {
@@ -2718,56 +2739,56 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2718
2739
  width: x.width,
2719
2740
  style: `height: ${x.height}px; width: ${x.width}px`
2720
2741
  }), null, 16, ["image", "height", "width", "style"]),
2721
- u("div", ta, [
2722
- a.showUndo ? (d(), b($, {
2742
+ m("div", aa, [
2743
+ a.showUndo ? (d(), f($, {
2723
2744
  key: 0,
2724
2745
  onClick: p,
2725
2746
  outlined: "",
2726
2747
  "data-cy": "undo-button"
2727
2748
  }, {
2728
- default: g(() => n[1] || (n[1] = [
2729
- P("Undo")
2749
+ default: g(() => o[1] || (o[1] = [
2750
+ _("Undo")
2730
2751
  ])),
2731
2752
  _: 1
2732
- })) : z("", !0),
2733
- a.showRedo ? (d(), b($, {
2753
+ })) : C("", !0),
2754
+ a.showRedo ? (d(), f($, {
2734
2755
  key: 1,
2735
2756
  onClick: r,
2736
2757
  outlined: "",
2737
2758
  "data-cy": "redo-button"
2738
2759
  }, {
2739
- default: g(() => n[2] || (n[2] = [
2740
- P("Redo")
2760
+ default: g(() => o[2] || (o[2] = [
2761
+ _("Redo")
2741
2762
  ])),
2742
2763
  _: 1
2743
- })) : z("", !0),
2744
- a.showClear ? (d(), b($, {
2764
+ })) : C("", !0),
2765
+ a.showClear ? (d(), f($, {
2745
2766
  key: 2,
2746
2767
  onClick: s,
2747
2768
  outlined: "",
2748
2769
  "data-cy": "clear-button"
2749
2770
  }, {
2750
- default: g(() => n[3] || (n[3] = [
2751
- P("Clear")
2771
+ default: g(() => o[3] || (o[3] = [
2772
+ _("Clear")
2752
2773
  ])),
2753
2774
  _: 1
2754
- })) : z("", !0),
2755
- a.showSave ? (d(), b($, {
2775
+ })) : C("", !0),
2776
+ a.showSave ? (d(), f($, {
2756
2777
  key: 3,
2757
- onClick: m,
2778
+ onClick: u,
2758
2779
  class: "ms-auto",
2759
2780
  "data-cy": "save-button"
2760
2781
  }, {
2761
- default: g(() => n[4] || (n[4] = [
2762
- P("Save")
2782
+ default: g(() => o[4] || (o[4] = [
2783
+ _("Save")
2763
2784
  ])),
2764
2785
  _: 1
2765
- })) : z("", !0)
2786
+ })) : C("", !0)
2766
2787
  ])
2767
2788
  ]);
2768
2789
  };
2769
2790
  }
2770
- }), aa = { class: "value text-white w-100 text-center" }, qi = /* @__PURE__ */ F({
2791
+ }), ia = { class: "value text-white w-100 text-center" }, Li = /* @__PURE__ */ B({
2771
2792
  __name: "ForgeStatWidget",
2772
2793
  props: {
2773
2794
  size: { default: "md" },
@@ -2775,15 +2796,15 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2775
2796
  },
2776
2797
  setup(e) {
2777
2798
  const t = e;
2778
- return (a, i) => (d(), f("div", S(a.$attrs, {
2799
+ return (a, i) => (d(), b("div", S(a.$attrs, {
2779
2800
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2780
2801
  }), [
2781
- u("span", aa, [
2802
+ m("span", ia, [
2782
2803
  k(a.$slots, "default")
2783
2804
  ])
2784
2805
  ], 16));
2785
2806
  }
2786
- }), ia = { key: 0 }, Ei = /* @__PURE__ */ F({
2807
+ }), la = { key: 0 }, Ri = /* @__PURE__ */ B({
2787
2808
  __name: "ForgeStepper",
2788
2809
  props: {
2789
2810
  currentStep: { default: 1 },
@@ -2801,7 +2822,7 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2801
2822
  unstyled: { type: Boolean }
2802
2823
  },
2803
2824
  setup(e) {
2804
- const t = e, a = C(() => ({
2825
+ const t = e, a = z(() => ({
2805
2826
  header: {
2806
2827
  class: [
2807
2828
  "p-0 m-0 d-flex align-items-center border border-0 bg-transparent gap-1",
@@ -2830,18 +2851,18 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2830
2851
  ]
2831
2852
  })
2832
2853
  }));
2833
- return (i, l) => (d(), b(c(Ne), { value: i.currentStep }, {
2854
+ return (i, l) => (d(), f(c(Ne), { value: i.currentStep }, {
2834
2855
  default: g(() => [
2835
2856
  y(c(Ue), null, {
2836
2857
  default: g(() => [
2837
- (d(!0), f(N, null, q(i.steps, (o) => (d(), b(c(Oe), S({
2838
- key: o.value,
2839
- value: o.value,
2840
- disabled: o.disabled,
2858
+ (d(!0), b(N, null, q(i.steps, (n) => (d(), f(c(Oe), S({
2859
+ key: n.value,
2860
+ value: n.value,
2861
+ disabled: n.disabled,
2841
2862
  ref_for: !0
2842
2863
  }, { ...i.$attrs }, { pt: a.value }), {
2843
2864
  default: g(() => [
2844
- i.showStepLabel ? (d(), f("div", ia, w(o.label), 1)) : z("", !0)
2865
+ i.showStepLabel ? (d(), b("div", la, w(n.label), 1)) : C("", !0)
2845
2866
  ]),
2846
2867
  _: 2
2847
2868
  }, 1040, ["value", "disabled", "pt"]))), 128))
@@ -2850,12 +2871,12 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2850
2871
  }),
2851
2872
  y(c(qe), null, {
2852
2873
  default: g(() => [
2853
- (d(!0), f(N, null, q(i.steps, (o) => (d(), b(c(Ae), {
2854
- key: o.value,
2855
- value: o.value
2874
+ (d(!0), b(N, null, q(i.steps, (n) => (d(), f(c(Ae), {
2875
+ key: n.value,
2876
+ value: n.value
2856
2877
  }, {
2857
2878
  default: g(() => [
2858
- k(i.$slots, "step" + o.value)
2879
+ k(i.$slots, "step" + n.value)
2859
2880
  ]),
2860
2881
  _: 2
2861
2882
  }, 1032, ["value"]))), 128))
@@ -2866,7 +2887,7 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2866
2887
  _: 3
2867
2888
  }, 8, ["value"]));
2868
2889
  }
2869
- }), la = { class: "p-4 text-wrap w-100" }, oa = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
2890
+ }), na = { class: "p-4 text-wrap w-100" }, oa = { class: "p-4 text-wrap w-100" }, Hi = /* @__PURE__ */ B({
2870
2891
  __name: "ForgeTile",
2871
2892
  props: {
2872
2893
  severity: { default: "primary" },
@@ -2875,48 +2896,48 @@ const ea = { class: "d-flex flex-column" }, ta = { class: "d-flex flex-row mt-1
2875
2896
  selected: { type: Boolean, default: !1 }
2876
2897
  },
2877
2898
  setup(e) {
2878
- const t = e, a = C(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = C(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
2879
- return (l, o) => {
2899
+ const t = e, a = z(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = z(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
2900
+ return (l, n) => {
2880
2901
  const s = U;
2881
- return t.clickable ? (d(), b(s, {
2902
+ return t.clickable ? (d(), f(s, {
2882
2903
  key: 0,
2883
- class: B(["d-flex w-100 p-0 text-body", a.value]),
2904
+ class: F(["d-flex w-100 p-0 text-body", a.value]),
2884
2905
  severity: t.severity,
2885
2906
  unstyled: "",
2886
2907
  "data-cy": "button-tile"
2887
2908
  }, {
2888
2909
  default: g(() => [
2889
- u("div", la, [
2910
+ m("div", na, [
2890
2911
  k(l.$slots, "default", {}, () => [
2891
- o[0] || (o[0] = P("Tile Content"))
2912
+ n[0] || (n[0] = _("Tile Content"))
2892
2913
  ])
2893
2914
  ])
2894
2915
  ]),
2895
2916
  _: 3
2896
- }, 8, ["severity", "class"])) : (d(), f("div", {
2917
+ }, 8, ["severity", "class"])) : (d(), b("div", {
2897
2918
  key: 1,
2898
- class: B(["d-flex w-100", i.value]),
2919
+ class: F(["d-flex w-100", i.value]),
2899
2920
  "data-cy": "tile"
2900
2921
  }, [
2901
- u("div", oa, [
2922
+ m("div", oa, [
2902
2923
  k(l.$slots, "default", {}, () => [
2903
- o[1] || (o[1] = P("Tile Content"))
2924
+ n[1] || (n[1] = _("Tile Content"))
2904
2925
  ])
2905
2926
  ])
2906
2927
  ], 2));
2907
2928
  };
2908
2929
  }
2909
2930
  });
2910
- function Z(e, t) {
2931
+ function Q(e, t) {
2911
2932
  return e > 1 ? `${t}s` : t;
2912
2933
  }
2913
- const na = {
2934
+ const sa = {
2914
2935
  class: "d-flex justify-content-start align-items-baseline",
2915
2936
  "data-cy": "pagination-header"
2916
- }, sa = { class: "ms-2" }, ra = { key: 0 }, da = {
2937
+ }, ra = { class: "ms-2" }, da = { key: 0 }, pa = {
2917
2938
  class: "w-auto",
2918
2939
  "data-cy": "total"
2919
- }, pa = /* @__PURE__ */ F({
2940
+ }, ca = /* @__PURE__ */ B({
2920
2941
  __name: "ForgePaginationHeader",
2921
2942
  props: {
2922
2943
  total: {},
@@ -2927,13 +2948,13 @@ const na = {
2927
2948
  setup(e, { emit: t }) {
2928
2949
  const a = t, i = e, l = (s) => {
2929
2950
  a("update:perPage", s.value);
2930
- }, o = C(() => {
2951
+ }, n = z(() => {
2931
2952
  const s = Math.ceil(i.total / i.perPage);
2932
- return `${s} ${Z(s, "page")}`;
2953
+ return `${s} ${Q(s, "page")}`;
2933
2954
  });
2934
- return (s, r) => (d(), f("div", na, [
2935
- r[2] || (r[2] = P(" Number of results per page ")),
2936
- u("div", sa, [
2955
+ return (s, r) => (d(), b("div", sa, [
2956
+ r[2] || (r[2] = _(" Number of results per page ")),
2957
+ m("div", ra, [
2937
2958
  y(c(te), {
2938
2959
  options: i.pageSizes,
2939
2960
  "model-value": i.perPage,
@@ -2941,16 +2962,16 @@ const na = {
2941
2962
  onChange: r[0] || (r[0] = (p) => l(p))
2942
2963
  }, null, 8, ["options", "model-value"])
2943
2964
  ]),
2944
- i.total ? (d(), f("div", ra, [
2945
- r[1] || (r[1] = u("span", { class: "mx-2" }, "|", -1)),
2946
- u("span", da, w(i.total) + " " + w(c(Z)(i.total, "result")) + " across " + w(o.value), 1)
2947
- ])) : z("", !0)
2965
+ i.total ? (d(), b("div", da, [
2966
+ r[1] || (r[1] = m("span", { class: "mx-2" }, "|", -1)),
2967
+ m("span", pa, w(i.total) + " " + w(c(Q)(i.total, "result")) + " across " + w(n.value), 1)
2968
+ ])) : C("", !0)
2948
2969
  ]));
2949
2970
  }
2950
- }), ca = { class: "position-relative" }, ma = { "data-cy": "above-table-slot" }, ua = { class: "d-flex w-100" }, va = {
2971
+ }), ua = { class: "position-relative" }, ma = { "data-cy": "above-table-slot" }, va = { class: "d-flex w-100" }, fa = {
2951
2972
  class: "mx-auto",
2952
2973
  "data-cy": "empty-message"
2953
- }, fa = { class: "d-flex" }, ga = { class: "d-flex align-items-end mb-2" }, ba = { key: 0 }, xa = { class: "ms-auto" }, Ri = /* @__PURE__ */ F({
2974
+ }, ga = { class: "d-flex" }, ba = { class: "d-flex align-items-end mb-2" }, xa = { key: 0 }, ya = { class: "ms-auto" }, Wi = /* @__PURE__ */ B({
2954
2975
  __name: "ForgeTable",
2955
2976
  props: {
2956
2977
  value: {},
@@ -3036,17 +3057,17 @@ const na = {
3036
3057
  },
3037
3058
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3038
3059
  setup(e, { emit: t }) {
3039
- const a = t, i = e, l = I(), o = I([5, 10, 20, 50, 100]), s = I(10), r = I({
3060
+ const a = t, i = e, l = I(), n = I([5, 10, 20, 50, 100]), s = I(10), r = I({
3040
3061
  filters: i.filters,
3041
3062
  perPage: s.value,
3042
3063
  page: 0,
3043
3064
  sortDirection: "None",
3044
3065
  sortField: "",
3045
3066
  total: i.totalRecords ?? i.value.length
3046
- }), p = C(() => i.totalRecords ?? i.value.length), m = C(() => {
3067
+ }), p = z(() => i.totalRecords ?? i.value.length), u = z(() => {
3047
3068
  const v = Math.ceil(p.value / s.value);
3048
- return `${v} ${Z(v, "page")}`;
3049
- }), x = C(() => ({
3069
+ return `${v} ${Q(v, "page")}`;
3070
+ }), x = z(() => ({
3050
3071
  thead: () => ({
3051
3072
  class: [
3052
3073
  {
@@ -3068,7 +3089,7 @@ const na = {
3068
3089
  }
3069
3090
  ]
3070
3091
  })
3071
- })), n = () => {
3092
+ })), o = () => {
3072
3093
  if (i.clearAll)
3073
3094
  i.clearAll();
3074
3095
  else
@@ -3077,7 +3098,7 @@ const na = {
3077
3098
  V(i.filters);
3078
3099
  }, $ = () => {
3079
3100
  l.value.exportCSV();
3080
- }, T = (v) => {
3101
+ }, j = (v) => {
3081
3102
  var h;
3082
3103
  r.value.sortDirection = v.sortOrder === 1 ? "Asc" : v.sortOrder === -1 ? "Desc" : "None", r.value.sortField = ((h = v.sortField) == null ? void 0 : h.toString()) ?? "", a("update:tableContext", r.value), a("sort", v);
3083
3104
  }, V = (v) => {
@@ -3089,8 +3110,8 @@ const na = {
3089
3110
  };
3090
3111
  return ce(() => i.filters, (v) => {
3091
3112
  r.value.filters = v, a("update:tableContext", r.value);
3092
- }, { deep: !0 }), le(() => a("update:tableContext", r.value)), (v, h) => (d(), f("div", ca, [
3093
- u("span", ma, [
3113
+ }, { deep: !0 }), le(() => a("update:tableContext", r.value)), (v, h) => (d(), b("div", ua, [
3114
+ m("span", ma, [
3094
3115
  k(v.$slots, "above-table")
3095
3116
  ]),
3096
3117
  y(c(Ee), S({
@@ -3104,67 +3125,67 @@ const na = {
3104
3125
  ref: l,
3105
3126
  "data-cy": "table",
3106
3127
  "onUpdate:filters": V,
3107
- onSort: T,
3128
+ onSort: j,
3108
3129
  onPage: M,
3109
3130
  showHeaders: ""
3110
3131
  }), ie({
3111
3132
  empty: g(() => [
3112
- u("div", ua, [
3113
- u("h5", va, w(v.emptyMessage ?? "No items Found."), 1)
3133
+ m("div", va, [
3134
+ m("h5", fa, w(v.emptyMessage ?? "No items Found."), 1)
3114
3135
  ])
3115
3136
  ]),
3116
3137
  header: g(() => [
3117
- u("div", {
3118
- class: B(i.loading ? "opacity-50" : "")
3138
+ m("div", {
3139
+ class: F(i.loading ? "opacity-50" : "")
3119
3140
  }, [
3120
- u("div", fa, [
3121
- u("div", ga, [
3122
- v.paginator && !v.legacyPaginationFooter ? (d(), f("span", ba, [
3123
- y(pa, {
3141
+ m("div", ga, [
3142
+ m("div", ba, [
3143
+ v.paginator && !v.legacyPaginationFooter ? (d(), b("span", xa, [
3144
+ y(ca, {
3124
3145
  total: p.value,
3125
- "page-sizes": o.value,
3146
+ "page-sizes": n.value,
3126
3147
  "per-page": s.value,
3127
3148
  "onUpdate:perPage": [
3128
- h[0] || (h[0] = (_) => s.value = _),
3149
+ h[0] || (h[0] = (P) => s.value = P),
3129
3150
  O
3130
3151
  ]
3131
3152
  }, null, 8, ["total", "page-sizes", "per-page"])
3132
- ])) : z("", !0)
3153
+ ])) : C("", !0)
3133
3154
  ]),
3134
- u("div", xa, [
3135
- v.showClearButton ? (d(), b(c(U), {
3155
+ m("div", ya, [
3156
+ v.showClearButton ? (d(), f(c(U), {
3136
3157
  key: 0,
3137
3158
  outlined: "",
3138
- class: B(v.showExporterButton ? "me-2" : ""),
3139
- onClick: n,
3159
+ class: F(v.showExporterButton ? "me-2" : ""),
3160
+ onClick: o,
3140
3161
  "data-cy": "clear-all"
3141
3162
  }, {
3142
3163
  default: g(() => [
3143
- y(c(j), {
3164
+ y(c(T), {
3144
3165
  icon: "bi:funnel-fill",
3145
3166
  width: "24",
3146
3167
  height: "24"
3147
3168
  }),
3148
- h[2] || (h[2] = P(" Clear "))
3169
+ h[2] || (h[2] = _(" Clear "))
3149
3170
  ]),
3150
3171
  _: 1
3151
- }, 8, ["class"])) : z("", !0),
3152
- v.showExporterButton ? (d(), b(c(U), {
3172
+ }, 8, ["class"])) : C("", !0),
3173
+ v.showExporterButton ? (d(), f(c(U), {
3153
3174
  key: 1,
3154
3175
  outlined: "",
3155
3176
  onClick: $,
3156
3177
  "data-cy": "exporter"
3157
3178
  }, {
3158
3179
  default: g(() => [
3159
- y(c(j), {
3180
+ y(c(T), {
3160
3181
  icon: "typcn:export",
3161
3182
  width: "24",
3162
3183
  height: "24"
3163
3184
  }),
3164
- h[3] || (h[3] = P(" Export "))
3185
+ h[3] || (h[3] = _(" Export "))
3165
3186
  ]),
3166
3187
  _: 1
3167
- })) : z("", !0),
3188
+ })) : C("", !0),
3168
3189
  k(v.$slots, "column-customiser")
3169
3190
  ])
3170
3191
  ])
@@ -3175,24 +3196,24 @@ const na = {
3175
3196
  ]),
3176
3197
  _: 2
3177
3198
  }, [
3178
- q(v.$slots, (_, L) => ({
3199
+ q(v.$slots, (P, L) => ({
3179
3200
  name: L,
3180
3201
  fn: g((ae) => [
3181
- k(v.$slots, L, X(Q(ae || {})))
3202
+ k(v.$slots, L, K(Z(ae || {})))
3182
3203
  ])
3183
3204
  })),
3184
3205
  v.legacyPaginationFooter ? {
3185
3206
  name: "paginatorstart",
3186
3207
  fn: g(() => [
3187
- u("span", {
3188
- class: B(["d-flex", i.loading ? "opacity-50" : ""]),
3208
+ m("span", {
3209
+ class: F(["d-flex", i.loading ? "opacity-50" : ""]),
3189
3210
  "data-cy": "legacy-page-size"
3190
3211
  }, [
3191
- h[4] || (h[4] = u("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3212
+ h[4] || (h[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3192
3213
  y(c(te), {
3193
- options: o.value,
3214
+ options: n.value,
3194
3215
  modelValue: s.value,
3195
- "onUpdate:modelValue": h[1] || (h[1] = (_) => s.value = _),
3216
+ "onUpdate:modelValue": h[1] || (h[1] = (P) => s.value = P),
3196
3217
  class: "ms-2",
3197
3218
  onClick: O
3198
3219
  }, null, 8, ["options", "modelValue"])
@@ -3203,17 +3224,17 @@ const na = {
3203
3224
  v.legacyPaginationFooter ? {
3204
3225
  name: "paginatorend",
3205
3226
  fn: g(() => [
3206
- u("span", {
3227
+ m("span", {
3207
3228
  "data-cy": "legacy-total",
3208
- class: B(i.loading ? "opacity-50" : "")
3209
- }, w(p.value) + " " + w(c(Z)(p.value, "result")) + " across " + w(m.value), 3)
3229
+ class: F(i.loading ? "opacity-50" : "")
3230
+ }, w(p.value) + " " + w(c(Q)(p.value, "result")) + " across " + w(u.value), 3)
3210
3231
  ]),
3211
3232
  key: "1"
3212
3233
  } : void 0
3213
3234
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3214
3235
  ]));
3215
3236
  }
3216
- }), ya = { class: "d-flex position-relative" }, ha = { class: "d-flex w-100" }, Hi = /* @__PURE__ */ F({
3237
+ }), ha = { class: "d-flex position-relative" }, wa = { class: "d-flex w-100" }, Yi = /* @__PURE__ */ B({
3217
3238
  __name: "ForgeFilterHeader",
3218
3239
  props: /* @__PURE__ */ E({
3219
3240
  dataType: {},
@@ -3228,13 +3249,13 @@ const na = {
3228
3249
  }),
3229
3250
  emits: ["update:modelValue"],
3230
3251
  setup(e) {
3231
- const t = D(e, "modelValue"), a = (l, o) => {
3252
+ const t = D(e, "modelValue"), a = (l, n) => {
3232
3253
  if (!l || Array.isArray(l) && l.length === 0)
3233
- return o;
3254
+ return n;
3234
3255
  const s = (r) => {
3235
- var m;
3236
- const p = (m = e.dropdownOptions) == null ? void 0 : m.find(
3237
- (x) => e.optionValue ? x[e.optionValue] === r : Object.keys(x).every((n) => r.hasOwnProperty(n) && x[n] === r[n])
3256
+ var u;
3257
+ const p = (u = e.dropdownOptions) == null ? void 0 : u.find(
3258
+ (x) => e.optionValue ? x[e.optionValue] === r : Object.keys(x).every((o) => r.hasOwnProperty(o) && x[o] === r[o])
3238
3259
  );
3239
3260
  return e.optionLabel ? p[e.optionLabel] : p;
3240
3261
  };
@@ -3242,42 +3263,42 @@ const na = {
3242
3263
  }, i = () => {
3243
3264
  e.clearFilter ? e.clearFilter() : t.value = null;
3244
3265
  };
3245
- return (l, o) => {
3246
- const s = me, r = U;
3247
- return d(), f("div", ya, [
3248
- l.dataType === "numeric" ? (d(), b(s, S({
3266
+ return (l, n) => {
3267
+ const s = ue, r = U;
3268
+ return d(), b("div", ha, [
3269
+ l.dataType === "numeric" ? (d(), f(s, S({
3249
3270
  key: 0,
3250
3271
  modelValue: t.value,
3251
- "onUpdate:modelValue": o[0] || (o[0] = (p) => t.value = p)
3252
- }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), b(be, S({
3272
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p)
3273
+ }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), f(be, S({
3253
3274
  key: 1,
3254
3275
  modelValue: t.value,
3255
- "onUpdate:modelValue": o[1] || (o[1] = (p) => t.value = p)
3276
+ "onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
3256
3277
  }, l.$attrs, {
3257
3278
  "show-icon": !1,
3258
3279
  "show-on-focus": !0
3259
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(c(te), S({
3280
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), f(c(te), S({
3260
3281
  key: 2,
3261
3282
  modelValue: t.value,
3262
- "onUpdate:modelValue": o[2] || (o[2] = (p) => t.value = p)
3283
+ "onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
3263
3284
  }, l.$attrs, {
3264
3285
  options: l.dropdownOptions,
3265
3286
  "option-value": l.optionValue,
3266
3287
  "option-label": l.optionLabel
3267
3288
  }), {
3268
- value: g(({ value: p, placeholder: m }) => [
3269
- u("div", ha, [
3270
- u("span", {
3271
- class: B({ "filter-placeholder": p === null })
3272
- }, w(a(p, m)), 3),
3273
- l.showClearButton && t.value !== null ? (d(), b(r, {
3289
+ value: g(({ value: p, placeholder: u }) => [
3290
+ m("div", wa, [
3291
+ m("span", {
3292
+ class: F({ "filter-placeholder": p === null })
3293
+ }, w(a(p, u)), 3),
3294
+ l.showClearButton && t.value !== null ? (d(), f(r, {
3274
3295
  key: 0,
3275
3296
  onClick: G(i, ["prevent"]),
3276
3297
  size: "small",
3277
3298
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3278
3299
  }, {
3279
3300
  default: g(() => [
3280
- y(c(j), {
3301
+ y(c(T), {
3281
3302
  icon: "bi:x",
3282
3303
  width: "1rem",
3283
3304
  height: "1rem",
@@ -3285,33 +3306,33 @@ const na = {
3285
3306
  })
3286
3307
  ]),
3287
3308
  _: 1
3288
- })) : z("", !0)
3309
+ })) : C("", !0)
3289
3310
  ])
3290
3311
  ]),
3291
3312
  _: 1
3292
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), b(c(ne), S({
3313
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), f(c(oe), S({
3293
3314
  key: 3,
3294
3315
  modelValue: t.value,
3295
- "onUpdate:modelValue": o[3] || (o[3] = (p) => t.value = p)
3316
+ "onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
3296
3317
  }, l.$attrs, {
3297
3318
  options: l.dropdownOptions,
3298
3319
  showToggleAll: !1,
3299
3320
  "option-label": l.optionLabel,
3300
3321
  "option-value": l.optionValue,
3301
3322
  filter: ""
3302
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), b(c(oe), S({
3323
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), f(c(ne), S({
3303
3324
  key: 4,
3304
3325
  modelValue: t.value,
3305
- "onUpdate:modelValue": o[4] || (o[4] = (p) => t.value = p)
3326
+ "onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p)
3306
3327
  }, l.$attrs), null, 16, ["modelValue"])),
3307
- l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (d(), b(r, {
3328
+ l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (d(), f(r, {
3308
3329
  key: 5,
3309
3330
  onClick: G(i, ["prevent"]),
3310
3331
  size: "small",
3311
3332
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3312
3333
  }, {
3313
3334
  default: g(() => [
3314
- y(c(j), {
3335
+ y(c(T), {
3315
3336
  icon: "bi:x",
3316
3337
  width: "1rem",
3317
3338
  height: "1rem",
@@ -3319,7 +3340,7 @@ const na = {
3319
3340
  })
3320
3341
  ]),
3321
3342
  _: 1
3322
- })) : z("", !0)
3343
+ })) : C("", !0)
3323
3344
  ]);
3324
3345
  };
3325
3346
  }
@@ -4390,15 +4411,15 @@ class xe {
4390
4411
  define(t, a = !1) {
4391
4412
  for (let [i, l] of Object.entries(t)) {
4392
4413
  i = i.toLowerCase(), l = l.map((r) => r.toLowerCase()), A(this, R, "f").has(i) || A(this, R, "f").set(i, /* @__PURE__ */ new Set());
4393
- const o = A(this, R, "f").get(i);
4414
+ const n = A(this, R, "f").get(i);
4394
4415
  let s = !0;
4395
4416
  for (let r of l) {
4396
4417
  const p = r.startsWith("*");
4397
- if (r = p ? r.slice(1) : r, o == null || o.add(r), s && A(this, J, "f").set(i, r), s = !1, p)
4418
+ if (r = p ? r.slice(1) : r, n == null || n.add(r), s && A(this, J, "f").set(i, r), s = !1, p)
4398
4419
  continue;
4399
- const m = A(this, W, "f").get(r);
4400
- if (m && m != i && !a)
4401
- throw new Error(`"${i} -> ${r}" conflicts with "${m} -> ${r}". Pass \`force=true\` to override this definition.`);
4420
+ const u = A(this, W, "f").get(r);
4421
+ if (u && u != i && !a)
4422
+ throw new Error(`"${i} -> ${r}" conflicts with "${u} -> ${r}". Pass \`force=true\` to override this definition.`);
4402
4423
  A(this, W, "f").set(r, i);
4403
4424
  }
4404
4425
  }
@@ -4433,23 +4454,23 @@ class xe {
4433
4454
  }
4434
4455
  }
4435
4456
  W = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4436
- const wa = new xe(de, re)._freeze();
4457
+ const ka = new xe(de, re)._freeze();
4437
4458
  function ye(e, t, a, i) {
4438
- const l = t.flatMap((o) => o.file);
4439
- return t = t.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
4440
- const s = l.findIndex((p) => p.name === o.name);
4459
+ const l = t.flatMap((n) => n.file);
4460
+ return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
4461
+ const s = l.findIndex((p) => p.name === n.name);
4441
4462
  let r = "Not Uploaded";
4442
- s === -1 ? ((!a.includes(o.type) || !(o.size <= i)) && (r = a.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
4443
- file: o,
4463
+ s === -1 ? ((!a.includes(n.type) || !(n.size <= i)) && (r = a.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
4464
+ file: n,
4444
4465
  status: r,
4445
4466
  blobFileName: null
4446
4467
  })) : t[s].status = "Duplicate";
4447
4468
  }), t;
4448
4469
  }
4449
- async function ka(e, t) {
4470
+ async function $a(e, t) {
4450
4471
  if (e === "Uploaded" && t !== null)
4451
4472
  try {
4452
- await new ue(t).delete();
4473
+ await new me(t).delete();
4453
4474
  } catch (a) {
4454
4475
  if (a !== "BlobNotFound") {
4455
4476
  e = "DeleteFileFailed";
@@ -4462,27 +4483,27 @@ function pe(e, t = !0, a = 1) {
4462
4483
  if (Math.abs(e) < i)
4463
4484
  return e + " B";
4464
4485
  const l = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
4465
- let o = -1;
4486
+ let n = -1;
4466
4487
  const s = 10 ** a;
4467
4488
  do
4468
- e /= i, ++o;
4469
- while (Math.round(Math.abs(e) * s) / s >= i && o < l.length - 1);
4470
- return e.toFixed(a) + " " + l[o];
4489
+ e /= i, ++n;
4490
+ while (Math.round(Math.abs(e) * s) / s >= i && n < l.length - 1);
4491
+ return e.toFixed(a) + " " + l[n];
4471
4492
  }
4472
- function $a(e) {
4493
+ function Fa(e) {
4473
4494
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4474
4495
  }
4475
4496
  function Ba(e) {
4476
4497
  return URL.createObjectURL(e);
4477
4498
  }
4478
- function Fa() {
4499
+ function Sa() {
4479
4500
  const e = new xe(de, re);
4480
4501
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4481
4502
  }
4482
- const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disabled", "multiple"], Ca = {
4503
+ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disabled", "multiple"], Ta = {
4483
4504
  class: "text-break accepted-file-types-container",
4484
4505
  id: "accepted-file-types-overlay"
4485
- }, Ta = /* @__PURE__ */ F({
4506
+ }, ja = /* @__PURE__ */ B({
4486
4507
  __name: "UploadButton",
4487
4508
  props: /* @__PURE__ */ E({
4488
4509
  acceptedFileTypes: {},
@@ -4494,40 +4515,40 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4494
4515
  }),
4495
4516
  emits: ["update:modelValue"],
4496
4517
  setup(e) {
4497
- const t = D(e, "modelValue"), a = I(), i = (s) => a.value.toggle(s), l = C(() => e.maxFileInput <= t.value.length), o = (s) => {
4518
+ const t = D(e, "modelValue"), a = I(), i = (s) => a.value.toggle(s), l = z(() => e.maxFileInput <= t.value.length), n = (s) => {
4498
4519
  t.value = ye(s, t.value, e.acceptedFileTypes.map((r) => r.fileType), e.maxFileInput);
4499
4520
  };
4500
4521
  return (s, r) => {
4501
4522
  const p = U;
4502
- return d(), f("div", Sa, [
4523
+ return d(), b("div", Ca, [
4503
4524
  k(s.$slots, "message"),
4504
- u("div", null, [
4505
- u("input", {
4525
+ m("div", null, [
4526
+ m("input", {
4506
4527
  id: "file-input",
4507
4528
  type: "file",
4508
4529
  class: "d-none",
4509
4530
  accept: s.acceptedFileTypes.join(", "),
4510
4531
  disabled: l.value,
4511
4532
  multiple: s.maxFileInput > 1,
4512
- onInput: r[0] || (r[0] = (m) => o([...m.target.files]))
4533
+ onInput: r[0] || (r[0] = (u) => n([...u.target.files]))
4513
4534
  }, null, 40, za),
4514
- u("label", {
4515
- class: B([{ disabled: l.value }, "btn btn-primary"]),
4535
+ m("label", {
4536
+ class: F([{ disabled: l.value }, "btn btn-primary"]),
4516
4537
  id: "file-input-button",
4517
4538
  for: "file-input"
4518
4539
  }, [
4519
4540
  k(s.$slots, "button-content", {}, () => [
4520
- y(c(j), {
4541
+ y(c(T), {
4521
4542
  icon: "bi:upload",
4522
4543
  class: "me-2",
4523
4544
  height: "20px",
4524
4545
  width: "20px"
4525
4546
  }),
4526
- r[1] || (r[1] = P(" Browse your computer "))
4547
+ r[1] || (r[1] = _(" Browse your computer "))
4527
4548
  ])
4528
4549
  ], 2)
4529
4550
  ]),
4530
- s.showDragDropArea ? (d(), b(p, {
4551
+ s.showDragDropArea ? (d(), f(p, {
4531
4552
  link: "",
4532
4553
  class: "ms-auto",
4533
4554
  key: s.acceptedFileTypes.length,
@@ -4535,30 +4556,30 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4535
4556
  onClick: i
4536
4557
  }, {
4537
4558
  default: g(() => r[2] || (r[2] = [
4538
- P("Accepted File Types")
4559
+ _("Accepted File Types")
4539
4560
  ])),
4540
4561
  _: 1
4541
- })) : z("", !0),
4562
+ })) : C("", !0),
4542
4563
  y(c(ve), {
4543
4564
  ref_key: "acceptedFilesOverlay",
4544
4565
  ref: a
4545
4566
  }, {
4546
4567
  default: g(() => [
4547
- u("div", Ca, w(s.acceptedFileTypes.map((m) => m.label ?? m.fileType.split("/").pop()).join(", ")), 1)
4568
+ m("div", Ta, w(s.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
4548
4569
  ]),
4549
4570
  _: 1
4550
4571
  }, 512)
4551
4572
  ]);
4552
4573
  };
4553
4574
  }
4554
- }), ja = {
4575
+ }), Ia = {
4555
4576
  key: 0,
4556
4577
  class: "py-4 px-3",
4557
4578
  id: "placeholder-message"
4558
- }, Ia = {
4579
+ }, _a = {
4559
4580
  key: 1,
4560
4581
  class: "d-flex flex-column"
4561
- }, Pa = /* @__PURE__ */ F({
4582
+ }, Pa = /* @__PURE__ */ B({
4562
4583
  __name: "DragDropArea",
4563
4584
  props: /* @__PURE__ */ E({
4564
4585
  maxFileInput: {},
@@ -4570,30 +4591,30 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4570
4591
  }),
4571
4592
  emits: ["update:modelValue"],
4572
4593
  setup(e) {
4573
- const t = D(e, "modelValue"), a = I(!1), i = C(() => e.maxFileInput <= t.value.length), l = (o) => {
4574
- a.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : t.value = ye([...o.dataTransfer.files], t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
4594
+ const t = D(e, "modelValue"), a = I(!1), i = z(() => e.maxFileInput <= t.value.length), l = (n) => {
4595
+ a.value = !1, n.dataTransfer.files.length > e.maxFileInput || i.value ? n.preventDefault() : t.value = ye([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
4575
4596
  };
4576
- return (o, s) => (d(), f("div", {
4597
+ return (n, s) => (d(), b("div", {
4577
4598
  id: "drag-drop-area",
4578
- class: B(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
4599
+ class: F(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
4579
4600
  onDragleave: s[0] || (s[0] = G((r) => a.value = !1, ["prevent"])),
4580
4601
  onDragover: s[1] || (s[1] = G((r) => a.value = !0, ["prevent"])),
4581
4602
  onDrop: G(l, ["prevent"])
4582
4603
  }, [
4583
- t.value.length === 0 ? (d(), f("div", ja, [
4584
- y(c(j), {
4604
+ t.value.length === 0 ? (d(), b("div", Ia, [
4605
+ y(c(T), {
4585
4606
  icon: "bi:upload",
4586
4607
  class: "me-2",
4587
4608
  height: "20px",
4588
4609
  width: "20px"
4589
4610
  }),
4590
- s[2] || (s[2] = P(" Drag and drop files here "))
4591
- ])) : (d(), f("div", Ia, [
4592
- k(o.$slots, "default")
4611
+ s[2] || (s[2] = _(" Drag and drop files here "))
4612
+ ])) : (d(), b("div", _a, [
4613
+ k(n.$slots, "default")
4593
4614
  ]))
4594
4615
  ], 34));
4595
4616
  }
4596
- }), _a = { class: "d-flex align-items-center me-2" }, Va = /* @__PURE__ */ F({
4617
+ }), Va = { class: "d-flex align-items-center me-2" }, Ma = /* @__PURE__ */ B({
4597
4618
  __name: "UploadStatus",
4598
4619
  props: {
4599
4620
  fileSize: {},
@@ -4602,7 +4623,7 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4602
4623
  uploadStatus: {}
4603
4624
  },
4604
4625
  setup(e) {
4605
- const t = C(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), a = C(() => {
4626
+ const t = z(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), a = z(() => {
4606
4627
  switch (e.uploadStatus) {
4607
4628
  case "InvalidFileType":
4608
4629
  return "Upload Failed: File type is not accepted.";
@@ -4618,41 +4639,41 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4618
4639
  return "Upload Failed: Connection error, please try again.";
4619
4640
  }
4620
4641
  });
4621
- return (i, l) => (d(), f("div", _a, [
4622
- i.uploadStatus === "Uploading" ? (d(), b(Xt, {
4642
+ return (i, l) => (d(), b("div", Va, [
4643
+ i.uploadStatus === "Uploading" ? (d(), f(Qt, {
4623
4644
  key: 0,
4624
4645
  pixelWidth: 200,
4625
4646
  animate: "",
4626
4647
  striped: ""
4627
4648
  }, {
4628
4649
  default: g(() => [
4629
- P(w((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
4650
+ _(w((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
4630
4651
  ]),
4631
4652
  _: 1
4632
- })) : z("", !0),
4633
- i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (d(), b(se, {
4653
+ })) : C("", !0),
4654
+ i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (d(), f(se, {
4634
4655
  key: 1,
4635
4656
  id: "upload-status-alert",
4636
4657
  severity: t.value,
4637
4658
  class: "mb-0 w-75 ms-auto"
4638
4659
  }, {
4639
4660
  default: g(() => [
4640
- P(w(a.value), 1)
4661
+ _(w(a.value), 1)
4641
4662
  ]),
4642
4663
  _: 1
4643
- }, 8, ["severity"])) : z("", !0)
4664
+ }, 8, ["severity"])) : C("", !0)
4644
4665
  ]));
4645
4666
  }
4646
- }), Ma = ["data-cy"], Da = { class: "ms-3 d-flex flex-column" }, Oa = {
4667
+ }), Da = ["data-cy"], Oa = { class: "ms-3 d-flex flex-column" }, Na = {
4647
4668
  key: 1,
4648
4669
  id: "file-name"
4649
- }, Na = {
4670
+ }, Ua = {
4650
4671
  class: "text-black-50",
4651
4672
  id: "file-type"
4652
- }, Ua = {
4673
+ }, Aa = {
4653
4674
  class: "text-black-50",
4654
4675
  id: "file-size"
4655
- }, Aa = { class: "ms-auto my-auto d-flex" }, qa = /* @__PURE__ */ F({
4676
+ }, qa = { class: "ms-auto my-auto d-flex" }, Ea = /* @__PURE__ */ B({
4656
4677
  __name: "FileInfo",
4657
4678
  props: /* @__PURE__ */ E({
4658
4679
  editableFileName: { type: Boolean },
@@ -4671,17 +4692,17 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4671
4692
  }),
4672
4693
  emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
4673
4694
  setup(e, { emit: t }) {
4674
- const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), o = t, s = I(a.value.name), r = I(""), p = I(0), m = I(), x = C(() => e.acceptedFileTypes.some(({ fileType: v }) => v === a.value.type)), n = C(() => a.value.size <= e.maxFileSize), $ = C(() => a.value.type ? a.value.type : Fa().getType(a.value.name)), T = () => {
4695
+ const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), n = t, s = I(a.value.name), r = I(""), p = I(0), u = I(), x = z(() => e.acceptedFileTypes.some(({ fileType: v }) => v === a.value.type)), o = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : Sa().getType(a.value.name)), j = () => {
4675
4696
  s.value != null && (V(), a.value = new File([a.value], s.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
4676
4697
  }, V = () => {
4677
- let v = s.value.split("."), h = wa.getExtension($.value), _ = s.value.split(".").pop();
4678
- v.length === 1 ? _ && _.length > 0 && (s.value = [s.value, h].join(".")) : v.length > 1 && _ !== h && (s.value = s.value.replace(_, h));
4698
+ let v = s.value.split("."), h = ka.getExtension($.value), P = s.value.split(".").pop();
4699
+ v.length === 1 ? P && P.length > 0 && (s.value = [s.value, h].join(".")) : v.length > 1 && P !== h && (s.value = s.value.replace(P, h));
4679
4700
  }, M = async () => {
4680
- if (!x.value || !n.value) {
4701
+ if (!x.value || !o.value) {
4681
4702
  l.value = x.value ? "InvalidFileSize" : "InvalidFileType";
4682
4703
  return;
4683
4704
  }
4684
- l.value = "Preparing", m.value = new AbortController();
4705
+ l.value = "Preparing", u.value = new AbortController();
4685
4706
  const [v, h] = await e.getFileUrlAction(a.value.name);
4686
4707
  if (!v) {
4687
4708
  l.value = "Failed";
@@ -4689,8 +4710,8 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4689
4710
  }
4690
4711
  try {
4691
4712
  l.value = "Uploading";
4692
- const _ = new ue(v), L = {
4693
- abortSignal: m.value.signal,
4713
+ const P = new me(v), L = {
4714
+ abortSignal: u.value.signal,
4694
4715
  onProgress: (ae) => p.value = ae.loadedBytes,
4695
4716
  blobHTTPHeaders: {
4696
4717
  blobContentType: $.value,
@@ -4698,27 +4719,27 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4698
4719
  },
4699
4720
  tags: { temp: "true" }
4700
4721
  };
4701
- await _.uploadData(a.value, L), r.value = v, l.value = "Uploaded", i.value = h;
4702
- } catch (_) {
4703
- if (_.name === "AbortError") {
4722
+ await P.uploadData(a.value, L), r.value = v, l.value = "Uploaded", i.value = h;
4723
+ } catch (P) {
4724
+ if (P.name === "AbortError") {
4704
4725
  l.value = "Aborted";
4705
4726
  return;
4706
4727
  }
4707
4728
  l.value = "Failed";
4708
4729
  }
4709
4730
  }, O = async () => {
4710
- await ka(l.value, r.value), o("deleted", a.value);
4731
+ await $a(l.value, r.value), n("deleted", a.value);
4711
4732
  };
4712
4733
  return le(() => {
4713
4734
  e.autoUploadToBlob && M();
4714
4735
  }), (v, h) => {
4715
- const _ = U;
4716
- return d(), f("div", {
4736
+ const P = U;
4737
+ return d(), b("div", {
4717
4738
  class: "py-4 px-3 d-flex",
4718
4739
  "data-cy": `file-info-${a.value.name}`
4719
4740
  }, [
4720
- u("div", null, [
4721
- c($a)(a.value.type) ? (d(), b(c(Le), {
4741
+ m("div", null, [
4742
+ c(Fa)(a.value.type) ? (d(), f(c(Le), {
4722
4743
  key: 0,
4723
4744
  id: "thumbnail-image",
4724
4745
  "image-class": "image-file-thumbnail border",
@@ -4726,7 +4747,7 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4726
4747
  alt: a.value.name,
4727
4748
  width: "75px",
4728
4749
  preview: ""
4729
- }, null, 8, ["src", "alt"])) : (d(), b(c(j), {
4750
+ }, null, 8, ["src", "alt"])) : (d(), f(c(T), {
4730
4751
  key: 1,
4731
4752
  id: "file-earmark",
4732
4753
  icon: "bi:file-earmark",
@@ -4734,76 +4755,76 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4734
4755
  width: "75px"
4735
4756
  }))
4736
4757
  ]),
4737
- u("div", Da, [
4738
- u("div", null, [
4739
- v.editableFileName ? (d(), b(Mt, {
4758
+ m("div", Oa, [
4759
+ m("div", null, [
4760
+ v.editableFileName ? (d(), f(Dt, {
4740
4761
  key: 0,
4741
4762
  id: "edit-file-name",
4742
4763
  modelValue: s.value,
4743
4764
  "onUpdate:modelValue": h[0] || (h[0] = (L) => s.value = L),
4744
4765
  rules: v.customFileNameRules,
4745
4766
  name: a.value.name,
4746
- "complete-action": T
4747
- }, null, 8, ["modelValue", "rules", "name"])) : (d(), f("span", Oa, w(s.value), 1))
4767
+ "complete-action": j
4768
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", Na, w(s.value), 1))
4748
4769
  ]),
4749
- u("span", Na, "File type: " + w(a.value.type.split("/").pop()), 1),
4750
- u("span", Ua, "File size: " + w(c(pe)(a.value.size)), 1)
4770
+ m("span", Ua, "File type: " + w(a.value.type.split("/").pop()), 1),
4771
+ m("span", Aa, "File size: " + w(c(pe)(a.value.size)), 1)
4751
4772
  ]),
4752
- u("div", Aa, [
4753
- (d(), b(Va, {
4773
+ m("div", qa, [
4774
+ (d(), f(Ma, {
4754
4775
  key: l.value,
4755
4776
  "file-size": a.value.size,
4756
4777
  "upload-status": l.value,
4757
4778
  "bytes-uploaded": p.value,
4758
4779
  "max-file-size": v.maxFileSize
4759
4780
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
4760
- l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (d(), b(_, {
4781
+ l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (d(), f(P, {
4761
4782
  key: 0,
4762
4783
  link: "",
4763
4784
  onClick: M
4764
4785
  }, {
4765
4786
  default: g(() => [
4766
- y(c(j), {
4787
+ y(c(T), {
4767
4788
  icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
4768
4789
  }, null, 8, ["icon"])
4769
4790
  ]),
4770
4791
  _: 1
4771
- })) : z("", !0),
4772
- l.value === "Uploading" ? (d(), b(_, {
4792
+ })) : C("", !0),
4793
+ l.value === "Uploading" ? (d(), f(P, {
4773
4794
  key: 1,
4774
4795
  link: "",
4775
- onClick: h[1] || (h[1] = (L) => m.value.value.abort())
4796
+ onClick: h[1] || (h[1] = (L) => u.value.value.abort())
4776
4797
  }, {
4777
4798
  default: g(() => [
4778
- y(c(j), { icon: "bi:x-circle-fill" })
4799
+ y(c(T), { icon: "bi:x-circle-fill" })
4779
4800
  ]),
4780
4801
  _: 1
4781
- })) : (d(), b(_, {
4802
+ })) : (d(), f(P, {
4782
4803
  key: 2,
4783
4804
  link: "",
4784
4805
  onClick: O,
4785
4806
  id: "delete-button"
4786
4807
  }, {
4787
4808
  default: g(() => [
4788
- y(c(j), { icon: "bi:trash" })
4809
+ y(c(T), { icon: "bi:trash" })
4789
4810
  ]),
4790
4811
  _: 1
4791
4812
  }))
4792
4813
  ])
4793
- ], 8, Ma);
4814
+ ], 8, Da);
4794
4815
  };
4795
4816
  }
4796
- }), Ea = { class: "d-flex justify-content-end mt-1" }, La = { id: "max-file-size" }, Ra = /* @__PURE__ */ F({
4817
+ }), La = { class: "d-flex justify-content-end mt-1" }, Ra = { id: "max-file-size" }, Ha = /* @__PURE__ */ B({
4797
4818
  __name: "MaxFileSize",
4798
4819
  props: {
4799
4820
  maxFileSize: {}
4800
4821
  },
4801
4822
  setup(e) {
4802
- return (t, a) => (d(), f("div", Ea, [
4803
- u("div", La, "Max file size: " + w(c(pe)(t.maxFileSize)), 1)
4823
+ return (t, a) => (d(), b("div", La, [
4824
+ m("div", Ra, "Max file size: " + w(c(pe)(t.maxFileSize)), 1)
4804
4825
  ]));
4805
4826
  }
4806
- }), Ha = { "data-cy": "file-uploader" }, Wa = { key: 0 }, Wi = /* @__PURE__ */ F({
4827
+ }), Wa = { "data-cy": "file-uploader" }, Ya = { key: 0 }, Gi = /* @__PURE__ */ B({
4807
4828
  __name: "ForgeFileUploader",
4808
4829
  props: /* @__PURE__ */ E({
4809
4830
  acceptedFileTypes: {},
@@ -4821,24 +4842,24 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4821
4842
  emits: ["update:modelValue"],
4822
4843
  setup(e) {
4823
4844
  const t = D(e, "modelValue"), a = e, i = (l) => {
4824
- t.value = t.value.filter((o) => o.file != l);
4845
+ t.value = t.value.filter((n) => n.file != l);
4825
4846
  };
4826
- return (l, o) => (d(), f("div", Ha, [
4827
- y(Ta, S(a, {
4847
+ return (l, n) => (d(), b("div", Wa, [
4848
+ y(ja, S(a, {
4828
4849
  modelValue: t.value,
4829
- "onUpdate:modelValue": o[0] || (o[0] = (s) => t.value = s)
4850
+ "onUpdate:modelValue": n[0] || (n[0] = (s) => t.value = s)
4830
4851
  }), null, 16, ["modelValue"]),
4831
- l.showDragDropArea ? (d(), f("div", Wa, [
4852
+ l.showDragDropArea ? (d(), b("div", Ya, [
4832
4853
  y(Pa, {
4833
4854
  "max-file-input": a.maxFileInput,
4834
4855
  "max-file-size": a.maxFileSize,
4835
4856
  "accepted-file-types": a.acceptedFileTypes,
4836
4857
  modelValue: t.value,
4837
- "onUpdate:modelValue": o[1] || (o[1] = (s) => t.value = s)
4858
+ "onUpdate:modelValue": n[1] || (n[1] = (s) => t.value = s)
4838
4859
  }, {
4839
4860
  default: g(() => [
4840
- (d(!0), f(N, null, q(t.value, ({ file: s }, r) => (d(), f("span", null, [
4841
- (d(), b(qa, S({
4861
+ (d(!0), b(N, null, q(t.value, ({ file: s }, r) => (d(), b("span", null, [
4862
+ (d(), f(Ea, S({
4842
4863
  key: s.name,
4843
4864
  class: r === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
4844
4865
  file: t.value[r].file,
@@ -4853,13 +4874,13 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4853
4874
  ]),
4854
4875
  _: 1
4855
4876
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
4856
- y(Ra, {
4877
+ y(Ha, {
4857
4878
  "max-file-size": a.maxFileSize
4858
4879
  }, null, 8, ["max-file-size"])
4859
- ])) : z("", !0)
4880
+ ])) : C("", !0)
4860
4881
  ]));
4861
4882
  }
4862
- }), Ya = { class: "d-flex" }, Ga = { class: "me-3" }, Ja = { class: "ms-2" }, Ka = { class: "d-flex flex-column w-100" }, Yi = /* @__PURE__ */ F({
4883
+ }), Ga = { class: "d-flex" }, Ja = { class: "me-3" }, Ka = { class: "ms-2" }, Za = { class: "d-flex flex-column w-100" }, Ji = /* @__PURE__ */ B({
4863
4884
  __name: "ForgeColumnCustomiser",
4864
4885
  props: {
4865
4886
  modelValue: { required: !0 },
@@ -4867,22 +4888,22 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4867
4888
  },
4868
4889
  emits: ["update:modelValue"],
4869
4890
  setup(e) {
4870
- const t = D(e, "modelValue"), a = I(), i = I(!1), l = (o) => {
4871
- a.value.toggle(o);
4891
+ const t = D(e, "modelValue"), a = I(), i = I(!1), l = (n) => {
4892
+ a.value.toggle(n);
4872
4893
  };
4873
- return (o, s) => (d(), f(N, null, [
4894
+ return (n, s) => (d(), b(N, null, [
4874
4895
  y(c(U), {
4875
4896
  onClick: l,
4876
4897
  class: "ms-2"
4877
4898
  }, {
4878
4899
  default: g(() => [
4879
- u("div", Ya, [
4880
- u("div", Ga, [
4881
- y(c(j), { icon: "bi:layout-three-columns" })
4900
+ m("div", Ga, [
4901
+ m("div", Ja, [
4902
+ y(c(T), { icon: "bi:layout-three-columns" })
4882
4903
  ]),
4883
- P(" Columns (" + w(t.value.filter((r) => r.selected).length ?? 0) + "/" + w(t.value.length ?? 0) + ") ", 1),
4884
- u("div", Ja, [
4885
- y(c(j), {
4904
+ _(" Columns (" + w(t.value.filter((r) => r.selected).length ?? 0) + "/" + w(t.value.length ?? 0) + ") ", 1),
4905
+ m("div", Ka, [
4906
+ y(c(T), {
4886
4907
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
4887
4908
  }, null, 8, ["icon"])
4888
4909
  ])
@@ -4898,9 +4919,9 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4898
4919
  onShow: s[1] || (s[1] = () => i.value = !0)
4899
4920
  }, {
4900
4921
  default: g(() => [
4901
- u("div", Ka, [
4902
- (d(!0), f(N, null, q(t.value, (r, p) => (d(), f("div", {
4903
- class: B(["d-flex cursor-pointer", {
4922
+ m("div", Za, [
4923
+ (d(!0), b(N, null, q(t.value, (r, p) => (d(), b("div", {
4924
+ class: F(["d-flex cursor-pointer", {
4904
4925
  "border-top": p !== 0,
4905
4926
  "py-1": p !== 0 && t.value.length - 1 !== p,
4906
4927
  "pt-1": t.value.length - 1 === p,
@@ -4910,7 +4931,7 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4910
4931
  y(fe, {
4911
4932
  id: r.field,
4912
4933
  modelValue: r.selected,
4913
- "onUpdate:modelValue": (m) => r.selected = m,
4934
+ "onUpdate:modelValue": (u) => r.selected = u,
4914
4935
  binary: "",
4915
4936
  class: "cursor-pointer",
4916
4937
  label: r.header
@@ -4922,35 +4943,61 @@ const Sa = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4922
4943
  }, 512)
4923
4944
  ], 64));
4924
4945
  }
4946
+ }), Ki = /* @__PURE__ */ B({
4947
+ __name: "ForgePanel",
4948
+ setup(e) {
4949
+ return (t, a) => {
4950
+ const i = Re;
4951
+ return d(), f(i, K(Z({ ...t.$attrs })), {
4952
+ toggleicon: g(({ collapsed: l }) => [
4953
+ l ? (d(), f(c(T), {
4954
+ key: 0,
4955
+ "data-cy": "message-icon",
4956
+ icon: "bi:chevron-down"
4957
+ })) : C("", !0),
4958
+ l ? C("", !0) : (d(), f(c(T), {
4959
+ key: 1,
4960
+ "data-cy": "message-icon",
4961
+ icon: "bi:chevron-up"
4962
+ }))
4963
+ ]),
4964
+ default: g(() => [
4965
+ k(t.$slots, "default")
4966
+ ]),
4967
+ _: 3
4968
+ }, 16);
4969
+ };
4970
+ }
4925
4971
  });
4926
4972
  export {
4927
- zi as Bootstrap_PT,
4928
- Ci as ForgeActionButton,
4973
+ Ti as Bootstrap_PT,
4974
+ ji as ForgeActionButton,
4929
4975
  se as ForgeAlert,
4930
- Ti as ForgeAutoComplete,
4976
+ Ii as ForgeAutoComplete,
4931
4977
  fe as ForgeCheckbox,
4932
- Ui as ForgeChip,
4933
- Yi as ForgeColumnCustomiser,
4978
+ qi as ForgeChip,
4979
+ Ji as ForgeColumnCustomiser,
4934
4980
  be as ForgeDatepicker,
4935
- Wi as ForgeFileUploader,
4936
- Hi as ForgeFilterHeader,
4937
- Oi as ForgeForm,
4938
- Ni as ForgeFormField,
4939
- Mt as ForgeInlineEditor,
4940
- ji as ForgeLink,
4981
+ Gi as ForgeFileUploader,
4982
+ Yi as ForgeFilterHeader,
4983
+ Ui as ForgeForm,
4984
+ Ai as ForgeFormField,
4985
+ Dt as ForgeInlineEditor,
4986
+ _i as ForgeLink,
4941
4987
  ge as ForgeLoader,
4942
- _i as ForgeModal,
4943
- qt as ForgeMultiSelectPreview,
4944
- Vi as ForgeNavbar,
4945
- Mi as ForgePageHeader,
4946
- Xt as ForgeProgressBar,
4947
- Di as ForgeRemainingCharacters,
4948
- Ai as ForgeScratchpad,
4949
- qi as ForgeStatWidget,
4950
- Ei as ForgeStepper,
4951
- Ri as ForgeTable,
4952
- Li as ForgeTile,
4953
- Pi as convertToMultiSelectOption,
4954
- Ii as enumToMultiSelectList,
4955
- St as parseError
4988
+ Mi as ForgeModal,
4989
+ Et as ForgeMultiSelectPreview,
4990
+ Di as ForgeNavbar,
4991
+ Oi as ForgePageHeader,
4992
+ Ki as ForgePanel,
4993
+ Qt as ForgeProgressBar,
4994
+ Ni as ForgeRemainingCharacters,
4995
+ Ei as ForgeScratchpad,
4996
+ Li as ForgeStatWidget,
4997
+ Ri as ForgeStepper,
4998
+ Wi as ForgeTable,
4999
+ Hi as ForgeTile,
5000
+ Vi as convertToMultiSelectOption,
5001
+ Pi as enumToMultiSelectList,
5002
+ Ct as parseError
4956
5003
  };