@3squared/forge-ui-3 0.16.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  import be from "primevue/message";
2
- import { defineComponent as F, openBlock as i, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as g, createElementVNode as c, normalizeClass as B, unref as m, createCommentVNode as S, createVNode as f, renderSlot as $, ref as I, createElementBlock as v, Fragment as L, mergeProps as _, mergeModels as E, useModel as A, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as j, vShow as H, createSlots as te, renderList as Y, onMounted as ne, isRef as se, withKeys as J, useAttrs as fe, withModifiers as q, normalizeStyle as ge, watch as de } from "vue";
2
+ import { defineComponent as F, openBlock as r, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as b, createElementVNode as c, normalizeClass as B, unref as p, createCommentVNode as S, createVNode as f, renderSlot as $, ref as M, createElementBlock as v, Fragment as R, mergeProps as _, mergeModels as E, useModel as A, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as j, vShow as H, createSlots as te, renderList as Y, onMounted as ne, isRef as se, withKeys as J, useAttrs as fe, withModifiers as q, normalizeStyle as ge, watch as de } from "vue";
3
3
  import { Icon as V } from "@iconify/vue";
4
- import R from "primevue/button";
4
+ import L from "primevue/button";
5
5
  import he from "primevue/toast";
6
6
  import we from "primevue/checkbox";
7
7
  import { useField as K } from "vee-validate";
@@ -23,8 +23,9 @@ import Me from "primevue/steps";
23
23
  import Ie from "primevue/datatable";
24
24
  import ze from "primevue/multiselect";
25
25
  import { BlockBlobClient as ce } from "@azure/storage-blob";
26
- import Oe from "primevue/image";
27
- const De = {
26
+ import Oe from "primevue/overlaypanel";
27
+ import De from "primevue/image";
28
+ const Ue = {
28
29
  button: {
29
30
  root: ({ props: e }) => ({
30
31
  class: [
@@ -115,7 +116,7 @@ const De = {
115
116
  ]
116
117
  })
117
118
  }
118
- }, Ue = {
119
+ }, Ae = {
119
120
  checkbox: {
120
121
  root: () => ({
121
122
  class: [
@@ -133,7 +134,7 @@ const De = {
133
134
  ]
134
135
  })
135
136
  }
136
- }, Ae = {
137
+ }, Ne = {
137
138
  dropdown: {
138
139
  root: ({ props: e }) => ({
139
140
  class: [
@@ -200,7 +201,7 @@ const De = {
200
201
  ]
201
202
  })
202
203
  }
203
- }, Ne = {
204
+ }, Ee = {
204
205
  column: {
205
206
  sortBadge: "ms-2 my-auto cursor-pointer",
206
207
  headerCell: (e) => {
@@ -301,7 +302,7 @@ const De = {
301
302
  ]
302
303
  })
303
304
  }
304
- }, Ee = {
305
+ }, Le = {
305
306
  inputtext: {
306
307
  root: (e) => {
307
308
  var t, l;
@@ -316,7 +317,7 @@ const De = {
316
317
  };
317
318
  }
318
319
  }
319
- }, Le = {
320
+ }, Re = {
320
321
  inputmask: {
321
322
  root: () => ({
322
323
  class: [
@@ -324,12 +325,12 @@ const De = {
324
325
  ]
325
326
  })
326
327
  }
327
- }, Re = {
328
+ }, je = {
328
329
  inputSwitch: {
329
330
  root: "form-check form-switch",
330
331
  input: "form-check-input"
331
332
  }
332
- }, je = {
333
+ }, He = {
333
334
  textarea: {
334
335
  root: () => ({
335
336
  class: [
@@ -337,13 +338,13 @@ const De = {
337
338
  ]
338
339
  })
339
340
  }
340
- }, He = {
341
+ }, qe = {
341
342
  // More PassThrough options in component file.
342
343
  chips: {
343
344
  root: "d-flex",
344
345
  label: "pe-2"
345
346
  }
346
- }, qe = {
347
+ }, Ye = {
347
348
  dialog: {
348
349
  header: () => ({
349
350
  class: ["modal-header"]
@@ -386,7 +387,7 @@ const De = {
386
387
  ]
387
388
  })
388
389
  }
389
- }, Ye = {
390
+ }, Ge = {
390
391
  overlaypanel: {
391
392
  root: (e) => ({
392
393
  class: [
@@ -400,7 +401,7 @@ const De = {
400
401
  content: "d-flex position-relative",
401
402
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
402
403
  }
403
- }, Ge = {
404
+ }, Ke = {
404
405
  message: {
405
406
  root: ({ props: e }) => ({
406
407
  class: [
@@ -429,13 +430,13 @@ const De = {
429
430
  class: ["px-0 ms-2 btn d-flex"]
430
431
  })
431
432
  }
432
- }, Ke = {
433
+ }, We = {
433
434
  // More PT options defined in ForgeStepper.
434
435
  steps: {
435
436
  root: "w-100 mx-2 line",
436
437
  menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
437
438
  }
438
- }, We = {
439
+ }, Ze = {
439
440
  tabview: {
440
441
  navContainer: () => ({
441
442
  class: ["nav nav-tabs position-relative"]
@@ -473,7 +474,7 @@ const De = {
473
474
  class: ["p-2"]
474
475
  })
475
476
  }
476
- }, Ze = {
477
+ }, Je = {
477
478
  // More PassThrough options defined in ForgeDatepicker.
478
479
  calendar: {
479
480
  root: "d-inline-flex relative w-100",
@@ -546,7 +547,7 @@ const De = {
546
547
  decrementButton: "btn btn-sm",
547
548
  incrementButton: "btn btn-sm"
548
549
  }
549
- }, Je = {
550
+ }, Xe = {
550
551
  multiselect: {
551
552
  root: ({ props: e }) => ({
552
553
  class: [
@@ -577,7 +578,7 @@ const De = {
577
578
  ]
578
579
  })
579
580
  }
580
- }, Xe = {
581
+ }, Qe = {
581
582
  // More PassThrough options in component file.
582
583
  progressbar: {
583
584
  root: () => ({
@@ -590,7 +591,7 @@ const De = {
590
591
  class: ["text-white"]
591
592
  })
592
593
  }
593
- }, Qe = {
594
+ }, et = {
594
595
  // More PT options can be found in the ForgeTable file.
595
596
  dataTable: {
596
597
  datatable: "position-relative",
@@ -650,7 +651,7 @@ const De = {
650
651
  ]
651
652
  })
652
653
  }
653
- }, et = {
654
+ }, tt = {
654
655
  badge: {
655
656
  root: ({ props: e }) => ({
656
657
  class: [
@@ -671,7 +672,7 @@ const De = {
671
672
  ]
672
673
  })
673
674
  }
674
- }, tt = {
675
+ }, lt = {
675
676
  // More PassThrough options in component file.
676
677
  menubar: {
677
678
  menu: ({ instance: e }) => ({
@@ -741,7 +742,7 @@ const De = {
741
742
  ]
742
743
  })
743
744
  }
744
- }, lt = {
745
+ }, at = {
745
746
  tooltip: {
746
747
  root: ({ context: e }) => ({
747
748
  class: [
@@ -763,7 +764,7 @@ const De = {
763
764
  class: ["tooltip-inner"]
764
765
  }
765
766
  }
766
- }, at = {
767
+ }, ot = {
767
768
  selectbutton: {
768
769
  root: () => ({
769
770
  class: ["btn-group"]
@@ -781,7 +782,7 @@ const De = {
781
782
  ]
782
783
  })
783
784
  }
784
- }, ot = {
785
+ }, nt = {
785
786
  progressspinner: {
786
787
  spinner: () => ({
787
788
  class: [
@@ -789,7 +790,7 @@ const De = {
789
790
  ]
790
791
  })
791
792
  }
792
- }, nt = {
793
+ }, st = {
793
794
  card: {
794
795
  root: () => ({
795
796
  class: ["card"]
@@ -813,11 +814,11 @@ const De = {
813
814
  class: ["card-header"]
814
815
  })
815
816
  }
816
- }, st = {
817
+ }, it = {
817
818
  divider: {
818
819
  root: "border-bottom w-100 m-1"
819
820
  }
820
- }, it = {
821
+ }, rt = {
821
822
  image: {
822
823
  root: "position-relative d-inline-block",
823
824
  button: "preview-button",
@@ -830,7 +831,7 @@ const De = {
830
831
  zoominbutton: "btn text-white",
831
832
  closebutton: "btn text-white"
832
833
  }
833
- }, rt = {
834
+ }, dt = {
834
835
  toast: {
835
836
  message: () => ({
836
837
  class: ["toast-container w-100 position-relative"]
@@ -868,35 +869,35 @@ const De = {
868
869
  };
869
870
  }
870
871
  }
871
- }, ca = {
872
- ...et,
873
- ...De,
874
- ...nt,
872
+ }, ya = {
873
+ ...tt,
875
874
  ...Ue,
876
- ...He,
877
- ...Ne,
878
- ...Ze,
879
- ...qe,
880
875
  ...st,
881
876
  ...Ae,
882
- ...it,
877
+ ...qe,
883
878
  ...Ee,
884
- ...Le,
885
- ...Re,
886
- ...Ge,
887
879
  ...Je,
888
- ...tt,
889
880
  ...Ye,
890
- ...Xe,
891
- ...ot,
892
- ...at,
881
+ ...it,
882
+ ...Ne,
883
+ ...rt,
884
+ ...Le,
885
+ ...Re,
886
+ ...je,
893
887
  ...Ke,
888
+ ...Xe,
889
+ ...lt,
890
+ ...Ge,
894
891
  ...Qe,
892
+ ...nt,
893
+ ...ot,
895
894
  ...We,
896
- ...rt,
897
- ...je,
895
+ ...et,
896
+ ...Ze,
897
+ ...dt,
898
+ ...He,
898
899
  directives: {
899
- ...lt
900
+ ...at
900
901
  }
901
902
  }, ae = /* @__PURE__ */ F({
902
903
  __name: "ForgeAlert",
@@ -916,12 +917,12 @@ const De = {
916
917
  const t = e;
917
918
  return (l, o) => {
918
919
  const a = be;
919
- return i(), w(a, Q(ee({ ...l.$attrs, ...t })), {
920
- messageicon: g(() => [
920
+ return r(), w(a, Q(ee({ ...l.$attrs, ...t })), {
921
+ messageicon: b(() => [
921
922
  c("div", {
922
923
  class: B(t.icon ? "me-2 pe-1" : "")
923
924
  }, [
924
- t.icon ? (i(), w(m(V), {
925
+ t.icon ? (r(), w(p(V), {
925
926
  key: 0,
926
927
  "data-cy": "message-icon",
927
928
  icon: t.icon,
@@ -930,17 +931,17 @@ const De = {
930
931
  }, null, 8, ["icon", "class"])) : S("", !0)
931
932
  ], 2)
932
933
  ]),
933
- closeicon: g(() => [
934
- f(m(V), { icon: "bi:x" })
934
+ closeicon: b(() => [
935
+ f(p(V), { icon: "bi:x" })
935
936
  ]),
936
- default: g(() => [
937
+ default: b(() => [
937
938
  $(l.$slots, "default")
938
939
  ]),
939
940
  _: 3
940
941
  }, 16);
941
942
  };
942
943
  }
943
- }), ma = /* @__PURE__ */ F({
944
+ }), va = /* @__PURE__ */ F({
944
945
  __name: "ForgeActionButton",
945
946
  props: {
946
947
  action: {},
@@ -949,7 +950,7 @@ const De = {
949
950
  params: { default: Array }
950
951
  },
951
952
  setup(e) {
952
- const t = I(!1), l = e, o = async () => {
953
+ const t = M(!1), l = e, o = async () => {
953
954
  t.value = !0;
954
955
  try {
955
956
  await l.action.apply(this, l.params);
@@ -959,18 +960,18 @@ const De = {
959
960
  t.value = !1;
960
961
  };
961
962
  return (a, n) => {
962
- const d = R;
963
- return i(), v(L, null, [
963
+ const d = L;
964
+ return r(), v(R, null, [
964
965
  f(d, _({ ...l, ...a.$attrs }, {
965
966
  loading: t.value,
966
967
  disabled: t.value || l.disabled,
967
968
  onClick: o
968
969
  }), null, 16, ["loading", "disabled"]),
969
- f(m(he))
970
+ f(p(he))
970
971
  ], 64);
971
972
  };
972
973
  }
973
- }), dt = { class: "d-flex flex-column" }, ut = ["for"], ct = /* @__PURE__ */ F({
974
+ }), ut = { class: "d-flex flex-column" }, ct = ["for"], mt = /* @__PURE__ */ F({
974
975
  __name: "ForgeCheckbox",
975
976
  props: /* @__PURE__ */ E({
976
977
  label: { default: "" },
@@ -1008,15 +1009,15 @@ const De = {
1008
1009
  type: "checkbox",
1009
1010
  checkedValue: l.value
1010
1011
  }), d = k(() => a.value.length > 0);
1011
- return (r, u) => {
1012
- const p = we;
1013
- return i(), v("div", dt, [
1012
+ return (s, u) => {
1013
+ const m = we;
1014
+ return r(), v("div", ut, [
1014
1015
  c("div", _({
1015
1016
  class: "d-flex cursor-pointer",
1016
1017
  "data-cy": "checkbox-container",
1017
- onClick: u[2] || (u[2] = (y) => m(o)(l.value))
1018
- }, { ...r.$attrs }), [
1019
- f(p, _({ ...t }, {
1018
+ onClick: u[2] || (u[2] = (y) => p(o)(l.value))
1019
+ }, { ...s.$attrs }), [
1020
+ f(m, _({ ...t }, {
1020
1021
  binary: "",
1021
1022
  modelValue: l.value,
1022
1023
  "onUpdate:modelValue": u[0] || (u[0] = (y) => l.value = y),
@@ -1025,24 +1026,24 @@ const De = {
1025
1026
  }), null, 16, ["modelValue", "input-id", "input-class"]),
1026
1027
  c("label", {
1027
1028
  for: t.name,
1028
- onClick: u[1] || (u[1] = (y) => m(o)(l.value)),
1029
+ onClick: u[1] || (u[1] = (y) => p(o)(l.value)),
1029
1030
  class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${d.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1030
1031
  }, [
1031
- $(r.$slots, "default", {}, () => [
1032
+ $(s.$slots, "default", {}, () => [
1032
1033
  O(h(t.label), 1)
1033
1034
  ])
1034
- ], 10, ut)
1035
+ ], 10, ct)
1035
1036
  ], 16),
1036
1037
  j(c("small", {
1037
1038
  "data-cy": "error",
1038
1039
  class: "text-invalid"
1039
- }, h(m(n)), 513), [
1040
+ }, h(p(n)), 513), [
1040
1041
  [H, d.value]
1041
1042
  ])
1042
1043
  ]);
1043
1044
  };
1044
1045
  }
1045
- }), mt = { class: "forge-loader" }, me = /* @__PURE__ */ F({
1046
+ }), pt = { class: "forge-loader" }, me = /* @__PURE__ */ F({
1046
1047
  __name: "ForgeLoader",
1047
1048
  props: {
1048
1049
  severity: { default: "primary" }
@@ -1051,7 +1052,7 @@ const De = {
1051
1052
  const t = e;
1052
1053
  return (l, o) => {
1053
1054
  const a = xe;
1054
- return i(), v("div", mt, [
1055
+ return r(), v("div", pt, [
1055
1056
  f(a, {
1056
1057
  "animation-duration": ".75",
1057
1058
  class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
@@ -1059,7 +1060,7 @@ const De = {
1059
1060
  ]);
1060
1061
  };
1061
1062
  }
1062
- }), pt = ["href", "target"], pa = /* @__PURE__ */ F({
1063
+ }), yt = ["href", "target"], ba = /* @__PURE__ */ F({
1063
1064
  __name: "ForgeLink",
1064
1065
  props: {
1065
1066
  url: {},
@@ -1093,14 +1094,14 @@ const De = {
1093
1094
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1094
1095
  "me-0": e.animateIconOnHover
1095
1096
  }));
1096
- return (o, a) => (i(), v("a", {
1097
+ return (o, a) => (r(), v("a", {
1097
1098
  id: "link",
1098
1099
  class: B(["cursor-pointer d-flex text-break", t.value]),
1099
1100
  href: o.url,
1100
1101
  target: o.target
1101
1102
  }, [
1102
1103
  $(o.$slots, "default", {}, () => [
1103
- o.iconName ? (i(), w(m(V), {
1104
+ o.iconName ? (r(), w(p(V), {
1104
1105
  key: 0,
1105
1106
  id: "link-icon",
1106
1107
  icon: o.iconName,
@@ -1108,10 +1109,10 @@ const De = {
1108
1109
  }, null, 8, ["icon", "class"])) : S("", !0),
1109
1110
  O(" " + h(o.label), 1)
1110
1111
  ])
1111
- ], 10, pt));
1112
+ ], 10, yt));
1112
1113
  }
1113
1114
  });
1114
- function yt(e) {
1115
+ function vt(e) {
1115
1116
  const t = {
1116
1117
  errorMessage: "",
1117
1118
  errorDetails: []
@@ -1122,16 +1123,16 @@ function yt(e) {
1122
1123
  }
1123
1124
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1124
1125
  }
1125
- function ya(e, t) {
1126
+ function fa(e, t) {
1126
1127
  return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
1127
1128
  }
1128
- function va(e, t, l) {
1129
+ function ga(e, t, l) {
1129
1130
  return { id: e, label: t ?? e.toString(), shortLabel: l };
1130
1131
  }
1131
- const vt = { key: 0 }, bt = {
1132
+ const bt = { key: 0 }, ft = {
1132
1133
  class: "d-flex w-100",
1133
1134
  "data-cy": "footer"
1134
- }, ba = /* @__PURE__ */ F({
1135
+ }, ha = /* @__PURE__ */ F({
1135
1136
  __name: "ForgeModal",
1136
1137
  props: /* @__PURE__ */ E({
1137
1138
  cancelText: { default: "Cancel" },
@@ -1177,25 +1178,25 @@ const vt = { key: 0 }, bt = {
1177
1178
  }),
1178
1179
  emits: ["update:visible"],
1179
1180
  setup(e) {
1180
- const t = A(e, "visible"), l = I(!1), o = e, a = I(!1), n = I({
1181
+ const t = A(e, "visible"), l = M(!1), o = e, a = M(!1), n = M({
1181
1182
  hasError: !1,
1182
1183
  header: "",
1183
1184
  message: []
1184
1185
  }), d = () => {
1185
1186
  l.value = !1;
1186
- }, r = () => {
1187
+ }, s = () => {
1187
1188
  l.value = !0;
1188
1189
  }, u = () => {
1189
1190
  t.value = !1;
1190
- }, p = async () => {
1191
+ }, m = async () => {
1191
1192
  if (o.onConfirm) {
1192
1193
  a.value = !0, n.value.hasError = !1;
1193
1194
  try {
1194
- const s = await o.onConfirm();
1195
- (s || s == null) && u();
1196
- } catch (s) {
1195
+ const i = await o.onConfirm();
1196
+ (i || i == null) && u();
1197
+ } catch (i) {
1197
1198
  n.value.hasError = !0;
1198
- const T = yt(s);
1199
+ const T = vt(i);
1199
1200
  n.value.header = T.errorMessage, n.value.message = T.errorDetails;
1200
1201
  }
1201
1202
  a.value = !1;
@@ -1211,15 +1212,15 @@ const vt = { key: 0 }, bt = {
1211
1212
  }
1212
1213
  ]
1213
1214
  }));
1214
- return (s, T) => {
1215
- const C = R, P = ke;
1216
- return i(), w(P, _(o, {
1217
- onMaximize: r,
1215
+ return (i, T) => {
1216
+ const C = L, P = ke;
1217
+ return r(), w(P, _(o, {
1218
+ onMaximize: s,
1218
1219
  onUnmaximize: d,
1219
1220
  pt: y.value
1220
1221
  }), te({
1221
- closeicon: g(() => [
1222
- f(m(V), {
1222
+ closeicon: b(() => [
1223
+ f(p(V), {
1223
1224
  "data-cy": "close-icon",
1224
1225
  icon: "bi:x-lg",
1225
1226
  width: "18",
@@ -1227,8 +1228,8 @@ const vt = { key: 0 }, bt = {
1227
1228
  onClick: u
1228
1229
  })
1229
1230
  ]),
1230
- maximizeicon: g(() => [
1231
- f(m(V), {
1231
+ maximizeicon: b(() => [
1232
+ f(p(V), {
1232
1233
  "data-cy": "maximisable-icon",
1233
1234
  icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1234
1235
  width: "16",
@@ -1237,36 +1238,36 @@ const vt = { key: 0 }, bt = {
1237
1238
  ]),
1238
1239
  _: 2
1239
1240
  }, [
1240
- Y(s.$slots, (M, z) => ({
1241
+ Y(i.$slots, (I, z) => ({
1241
1242
  name: z,
1242
- fn: g((b) => [
1243
- n.value.hasError ? (i(), w(ae, {
1243
+ fn: b((g) => [
1244
+ n.value.hasError ? (r(), w(ae, {
1244
1245
  key: 0,
1245
1246
  severity: "danger",
1246
1247
  "data-cy": "error"
1247
1248
  }, {
1248
- default: g(() => [
1249
+ default: b(() => [
1249
1250
  c("p", {
1250
1251
  class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
1251
1252
  }, h(n.value.header), 3),
1252
- n.value.message.length > 0 ? (i(), v("ul", vt, [
1253
- (i(!0), v(L, null, Y(n.value.message, (x) => (i(), v("li", { key: x }, h(x), 1))), 128))
1253
+ n.value.message.length > 0 ? (r(), v("ul", bt, [
1254
+ (r(!0), v(R, null, Y(n.value.message, (x) => (r(), v("li", { key: x }, h(x), 1))), 128))
1254
1255
  ])) : S("", !0)
1255
1256
  ]),
1256
1257
  _: 1
1257
1258
  })) : S("", !0),
1258
- $(s.$slots, z, Q(ee(b || {}))),
1259
- a.value ? $(s.$slots, "loader", { key: 1 }, () => [
1259
+ $(i.$slots, z, Q(ee(g || {}))),
1260
+ a.value ? $(i.$slots, "loader", { key: 1 }, () => [
1260
1261
  f(me, { "data-cy": "loader" })
1261
1262
  ]) : S("", !0)
1262
1263
  ])
1263
1264
  })),
1264
- s.showFooter ? {
1265
+ i.showFooter ? {
1265
1266
  name: "footer",
1266
- fn: g(() => [
1267
- c("div", bt, [
1267
+ fn: b(() => [
1268
+ c("div", ft, [
1268
1269
  f(C, {
1269
- label: s.cancelText,
1270
+ label: i.cancelText,
1270
1271
  class: B(o.cancelClass),
1271
1272
  outlined: "",
1272
1273
  onClick: u,
@@ -1274,9 +1275,9 @@ const vt = { key: 0 }, bt = {
1274
1275
  type: o.cancelButtonType
1275
1276
  }, null, 8, ["label", "class", "type"]),
1276
1277
  f(C, {
1277
- label: s.submitText,
1278
+ label: i.submitText,
1278
1279
  class: B([o.submitClass, "ms-auto"]),
1279
- onClick: p,
1280
+ onClick: m,
1280
1281
  id: "submit-button",
1281
1282
  type: o.submitButtonType
1282
1283
  }, null, 8, ["label", "class", "type"])
@@ -1287,7 +1288,7 @@ const vt = { key: 0 }, bt = {
1287
1288
  ]), 1040, ["pt"]);
1288
1289
  };
1289
1290
  }
1290
- }), ft = ["id"], gt = { key: 0 }, ht = { key: 0 }, wt = { class: "d-flex justify-content-between align-items-center position-relative" }, xt = { key: 1 }, kt = { "data-cy": "readonly-value" }, $t = /* @__PURE__ */ F({
1291
+ }), gt = ["id"], ht = { key: 0 }, wt = { key: 0 }, xt = { class: "d-flex justify-content-between align-items-center position-relative" }, kt = { key: 1 }, $t = { "data-cy": "readonly-value" }, Bt = /* @__PURE__ */ F({
1291
1292
  __name: "ForgeInlineEditor",
1292
1293
  props: /* @__PURE__ */ E({
1293
1294
  name: { default: "" },
@@ -1302,13 +1303,13 @@ const vt = { key: 0 }, bt = {
1302
1303
  }),
1303
1304
  emits: ["update:modelValue"],
1304
1305
  setup(e) {
1305
- const t = e, l = A(e, "modelValue"), o = I(!1), a = I(), n = () => {
1306
+ const t = e, l = A(e, "modelValue"), o = M(!1), a = M(), n = () => {
1306
1307
  var C;
1307
1308
  o.value = !o.value, (C = a.value) == null || C.focus();
1308
1309
  }, d = async () => {
1309
1310
  if (T.value)
1310
1311
  return !1;
1311
- if (l.value = s.value, t.completeAction)
1312
+ if (l.value = i.value, t.completeAction)
1312
1313
  try {
1313
1314
  await t.completeAction.apply(this, t.params), o.value = !o.value;
1314
1315
  } catch {
@@ -1316,50 +1317,50 @@ const vt = { key: 0 }, bt = {
1316
1317
  }
1317
1318
  else
1318
1319
  o.value = !o.value;
1319
- }, r = () => {
1320
+ }, s = () => {
1320
1321
  o.value = !o.value;
1321
1322
  }, u = () => {
1322
- s.value = null;
1323
- }, { errorMessage: p, errors: y, value: s } = K(() => t.name, void 0, {
1323
+ i.value = null;
1324
+ }, { errorMessage: m, errors: y, value: i } = K(() => t.name, void 0, {
1324
1325
  initialValue: l.value
1325
1326
  });
1326
1327
  ne(() => {
1327
- s.value = l.value;
1328
+ i.value = l.value;
1328
1329
  });
1329
1330
  const T = k(() => y.value.length > 0);
1330
1331
  return (C, P) => {
1331
- const M = ie, z = R;
1332
- return i(), v("div", {
1332
+ const I = ie, z = L;
1333
+ return r(), v("div", {
1333
1334
  id: t.name
1334
1335
  }, [
1335
- C.readonly ? (i(), v("div", xt, [
1336
+ C.readonly ? (r(), v("div", kt, [
1336
1337
  $(C.$slots, "default", {}, () => [
1337
- c("span", kt, h(m(s)), 1)
1338
+ c("span", $t, h(p(i)), 1)
1338
1339
  ])
1339
- ])) : (i(), v("div", gt, [
1340
- o.value ? (i(), v("div", ht, [
1341
- j((i(), v("div", wt, [
1340
+ ])) : (r(), v("div", ht, [
1341
+ o.value ? (r(), v("div", wt, [
1342
+ j((r(), v("div", xt, [
1342
1343
  $(C.$slots, "editor", {
1343
1344
  class: B({ "is-invalid": T.value }),
1344
1345
  editFinished: d,
1345
- cancel: r,
1346
- val: m(s)
1346
+ cancel: s,
1347
+ val: p(i)
1347
1348
  }, () => [
1348
- f(M, {
1349
+ f(I, {
1349
1350
  "data-cy": "input",
1350
1351
  ref_key: "input",
1351
1352
  ref: a,
1352
- modelValue: m(s),
1353
- "onUpdate:modelValue": P[0] || (P[0] = (b) => se(s) ? s.value = b : null),
1353
+ modelValue: p(i),
1354
+ "onUpdate:modelValue": P[0] || (P[0] = (g) => se(i) ? i.value = g : null),
1354
1355
  modelModifiers: { trim: !0 },
1355
1356
  class: B({ "is-invalid": T.value }),
1356
1357
  onKeydown: [
1357
1358
  J(d, ["enter"]),
1358
- J(r, ["esc"])
1359
+ J(s, ["esc"])
1359
1360
  ]
1360
1361
  }, null, 8, ["modelValue", "class"])
1361
1362
  ]),
1362
- f(m(V), {
1363
+ f(p(V), {
1363
1364
  icon: "bi:x-circle",
1364
1365
  class: "mx-2 cursor-pointer",
1365
1366
  onClick: u,
@@ -1367,9 +1368,9 @@ const vt = { key: 0 }, bt = {
1367
1368
  "data-cy": "clear-icon"
1368
1369
  })
1369
1370
  ])), [
1370
- [m($e), d]
1371
+ [p($e), d]
1371
1372
  ])
1372
- ])) : (i(), v("div", {
1373
+ ])) : (r(), v("div", {
1373
1374
  key: 1,
1374
1375
  class: "d-flex text-muted",
1375
1376
  onClick: n,
@@ -1379,14 +1380,14 @@ const vt = { key: 0 }, bt = {
1379
1380
  c("div", {
1380
1381
  class: B(["pe-2 cursor-pointer", { "text-invalid": T.value }]),
1381
1382
  "data-cy": "value"
1382
- }, h(m(s) ? m(s) : "Click to edit"), 3)
1383
+ }, h(p(i) ? p(i) : "Click to edit"), 3)
1383
1384
  ]),
1384
1385
  f(z, {
1385
1386
  link: "",
1386
1387
  class: "p-0 m-0"
1387
1388
  }, {
1388
- default: g(() => [
1389
- f(m(V), {
1389
+ default: b(() => [
1390
+ f(p(V), {
1390
1391
  icon: "bi:pencil",
1391
1392
  class: B(T.value ? "text-invalid" : "text-muted"),
1392
1393
  "data-cy": "edit-icon",
@@ -1400,13 +1401,13 @@ const vt = { key: 0 }, bt = {
1400
1401
  j(c("small", {
1401
1402
  "data-cy": "error",
1402
1403
  class: "text-invalid"
1403
- }, h(m(p)), 513), [
1404
+ }, h(p(m)), 513), [
1404
1405
  [H, T.value]
1405
1406
  ])
1406
- ], 8, ft);
1407
+ ], 8, gt);
1407
1408
  };
1408
1409
  }
1409
- }), Bt = ["href"], fa = /* @__PURE__ */ F({
1410
+ }), Ft = ["href"], wa = /* @__PURE__ */ F({
1410
1411
  __name: "ForgeNavbar",
1411
1412
  props: {
1412
1413
  severity: { default: "light" },
@@ -1452,11 +1453,11 @@ const vt = { key: 0 }, bt = {
1452
1453
  }));
1453
1454
  return (o, a) => {
1454
1455
  const n = Be;
1455
- return i(), w(n, _({ ...t, ...o.$attrs }, {
1456
+ return r(), w(n, _({ ...t, ...o.$attrs }, {
1456
1457
  pt: l.value,
1457
1458
  "data-cy": "navbar"
1458
1459
  }), te({
1459
- start: g(() => [
1460
+ start: b(() => [
1460
1461
  c("a", {
1461
1462
  href: o.logoUrl,
1462
1463
  class: "navbar-brand ms-3",
@@ -1465,11 +1466,11 @@ const vt = { key: 0 }, bt = {
1465
1466
  $(o.$slots, "logo", {}, () => [
1466
1467
  a[0] || (a[0] = O(" Logo "))
1467
1468
  ])
1468
- ], 8, Bt)
1469
+ ], 8, Ft)
1469
1470
  ]),
1470
- menubuttonicon: g(() => [
1471
+ menubuttonicon: b(() => [
1471
1472
  $(o.$slots, "menubuttonicon", {}, () => [
1472
- f(m(V), {
1473
+ f(p(V), {
1473
1474
  icon: "bi:list",
1474
1475
  class: B(t.severity === "light" ? "text-black" : "text-white"),
1475
1476
  height: "24",
@@ -1479,16 +1480,16 @@ const vt = { key: 0 }, bt = {
1479
1480
  ]),
1480
1481
  _: 2
1481
1482
  }, [
1482
- Y(o.$slots, (d, r) => ({
1483
- name: r,
1484
- fn: g((u) => [
1485
- $(o.$slots, r, Q(ee(u)))
1483
+ Y(o.$slots, (d, s) => ({
1484
+ name: s,
1485
+ fn: b((u) => [
1486
+ $(o.$slots, s, Q(ee(u)))
1486
1487
  ])
1487
1488
  }))
1488
1489
  ]), 1040, ["pt"]);
1489
1490
  };
1490
1491
  }
1491
- }), Ft = { class: "multiselect__caret" }, _t = ["checked"], St = ["data-cy"], Vt = ["checked"], Ct = { class: "my-auto ms-1" }, Tt = { class: "multiselect__tag d-inline-flex" }, Pt = { class: "my-auto" }, pe = /* @__PURE__ */ F({
1492
+ }), _t = { class: "multiselect__caret" }, St = ["checked"], Vt = ["data-cy"], Ct = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, pe = /* @__PURE__ */ F({
1492
1493
  __name: "ForgeMultiSelect",
1493
1494
  props: {
1494
1495
  severity: { default: "primary" },
@@ -1506,13 +1507,13 @@ const vt = { key: 0 }, bt = {
1506
1507
  $isDisabled: D.$isDisabled ?? !1
1507
1508
  };
1508
1509
  N(U);
1509
- }, a = fe(), n = t, { errors: d, value: r, errorMessage: u } = K(() => l.name, void 0, {
1510
+ }, a = fe(), n = t, { errors: d, value: s, errorMessage: u } = K(() => l.name, void 0, {
1510
1511
  initialValue: a.modelValue
1511
- }), p = I(!1), y = k(() => ({
1512
+ }), m = M(!1), y = k(() => ({
1512
1513
  multiple: !0,
1513
1514
  label: "label",
1514
1515
  trackBy: "id",
1515
- showPointer: !p.value,
1516
+ showPointer: !m.value,
1516
1517
  placeholder: a.searchable === null || a.searchable ? "Search" : "Select",
1517
1518
  allowEmpty: !0,
1518
1519
  selectValue: "",
@@ -1521,26 +1522,26 @@ const vt = { key: 0 }, bt = {
1521
1522
  searchable: !!(a.searchable === null || a.searchable) && a.modelValue.length === a.options.length,
1522
1523
  async: !1,
1523
1524
  ...a
1524
- })), s = k(() => `forge-multiselect-${l.severity}`), T = k(() => `multiselect__option ${p.value ? " multiselect__option--highlight" : ""} ${C.value ? " multiselect__option--selected" : ""}`), C = k(() => y.value && !(y.value.multiple || !l.showSelectAll || y.value.async) ? !1 : a.modelValue.length === a.options.length), P = k(() => d.value.length > 0), M = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (y.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => p.value = !0, b = () => p.value = !1, x = () => {
1525
- r.value = y.value.multiple ? [] : null, n("update:modelValue", r.value);
1525
+ })), i = k(() => `forge-multiselect-${l.severity}`), T = k(() => `multiselect__option ${m.value ? " multiselect__option--highlight" : ""} ${C.value ? " multiselect__option--selected" : ""}`), C = k(() => y.value && !(y.value.multiple || !l.showSelectAll || y.value.async) ? !1 : a.modelValue.length === a.options.length), P = k(() => d.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (y.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => m.value = !0, g = () => m.value = !1, x = () => {
1526
+ s.value = y.value.multiple ? [] : null, n("update:modelValue", s.value);
1526
1527
  }, G = (N) => {
1527
1528
  n("update:modelValue", l.selectValue ? N.map((D) => D[l.selectValue]) : N);
1528
1529
  }, Z = (N) => a.modelValue !== null ? a.modelValue.some((D) => y.value.selectValue ? N[l.selectValue] === D : N.id === D.id && N.label === D.label) : !1, oe = () => {
1529
- C.value ? x() : (r.value = [...a.options], n("update:modelValue", [...a.options]));
1530
+ C.value ? x() : (s.value = [...a.options], n("update:modelValue", [...a.options]));
1530
1531
  };
1531
- return (N, D) => (i(), v(L, null, [
1532
- f(m(Fe), _(y.value, {
1533
- class: [s.value, P.value ? "is-invalid" : ""],
1532
+ return (N, D) => (r(), v(R, null, [
1533
+ f(p(Fe), _(y.value, {
1534
+ class: [i.value, P.value ? "is-invalid" : ""],
1534
1535
  "data-cy": "multiselect",
1535
1536
  "onUpdate:modelValue": [
1536
1537
  G,
1537
- D[1] || (D[1] = (U) => se(r) ? r.value = U : null)
1538
+ D[1] || (D[1] = (U) => se(s) ? s.value = U : null)
1538
1539
  ],
1539
- modelValue: m(r)
1540
+ modelValue: p(s)
1540
1541
  }), te({
1541
- caret: g(({ toggle: U }) => [
1542
- c("div", Ft, [
1543
- M.value ? (i(), w(m(V), {
1542
+ caret: b(({ toggle: U }) => [
1543
+ c("div", _t, [
1544
+ I.value ? (r(), w(p(V), {
1544
1545
  key: 0,
1545
1546
  icon: "bi:x",
1546
1547
  class: "my-auto text-black multiselect__clear",
@@ -1549,38 +1550,38 @@ const vt = { key: 0 }, bt = {
1549
1550
  height: "18px",
1550
1551
  width: "18px"
1551
1552
  })) : S("", !0),
1552
- f(m(V), {
1553
+ f(p(V), {
1553
1554
  icon: "bi:chevron-down",
1554
1555
  onClick: U,
1555
1556
  class: "multiselect__arrow"
1556
1557
  }, null, 8, ["onClick"])
1557
1558
  ])
1558
1559
  ]),
1559
- tag: g(({ option: U, remove: W }) => [
1560
- c("div", Tt, [
1561
- c("div", Pt, h(U.label), 1),
1562
- f(m(V), {
1560
+ tag: b(({ option: U, remove: W }) => [
1561
+ c("div", Pt, [
1562
+ c("div", Mt, h(U.label), 1),
1563
+ f(p(V), {
1563
1564
  icon: "bi:x",
1564
1565
  class: "my-auto multiselect__tag-icon",
1565
- onMousedown: q((Al) => o(W, U), ["prevent", "stop"]),
1566
+ onMousedown: q((El) => o(W, U), ["prevent", "stop"]),
1566
1567
  height: "18px",
1567
1568
  width: "18px"
1568
1569
  }, null, 8, ["onMousedown"])
1569
1570
  ])
1570
1571
  ]),
1571
- default: g(() => [
1572
- (i(!0), v(L, null, Y(N.$slots, (U, W) => $(N.$slots, W, { slot: W })), 256))
1572
+ default: b(() => [
1573
+ (r(!0), v(R, null, Y(N.$slots, (U, W) => $(N.$slots, W, { slot: W })), 256))
1573
1574
  ]),
1574
1575
  _: 2
1575
1576
  }, [
1576
1577
  y.value.multiple && N.showSelectAll && !y.value.async ? {
1577
1578
  name: "beforeList",
1578
- fn: g(() => [
1579
+ fn: b(() => [
1579
1580
  c("li", {
1580
1581
  class: "multiselect__element",
1581
1582
  onClick: oe,
1582
1583
  onMouseover: z,
1583
- onMouseleave: b,
1584
+ onMouseleave: g,
1584
1585
  "data-cy": "toggle-all"
1585
1586
  }, [
1586
1587
  c("div", {
@@ -1591,7 +1592,7 @@ const vt = { key: 0 }, bt = {
1591
1592
  name: "selected",
1592
1593
  type: "checkbox",
1593
1594
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1594
- }, null, 8, _t),
1595
+ }, null, 8, St),
1595
1596
  D[2] || (D[2] = c("div", { class: "my-auto ms-1" }, "Toggle all", -1))
1596
1597
  ], 2)
1597
1598
  ], 32)
@@ -1600,7 +1601,7 @@ const vt = { key: 0 }, bt = {
1600
1601
  } : void 0,
1601
1602
  y.value.multiple ? {
1602
1603
  name: "option",
1603
- fn: g(({ option: U }) => [
1604
+ fn: b(({ option: U }) => [
1604
1605
  c("div", {
1605
1606
  class: "d-flex py-1",
1606
1607
  "data-cy": U.label
@@ -1610,9 +1611,9 @@ const vt = { key: 0 }, bt = {
1610
1611
  name: "selected",
1611
1612
  type: "checkbox",
1612
1613
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1613
- }, null, 8, Vt),
1614
- c("div", Ct, h(U[y.value.label]), 1)
1615
- ], 8, St)
1614
+ }, null, 8, Ct),
1615
+ c("div", Tt, h(U[y.value.label]), 1)
1616
+ ], 8, Vt)
1616
1617
  ]),
1617
1618
  key: "1"
1618
1619
  } : void 0
@@ -1620,22 +1621,22 @@ const vt = { key: 0 }, bt = {
1620
1621
  j(c("small", {
1621
1622
  "data-cy": "error",
1622
1623
  class: "invalid-feedback"
1623
- }, h(m(u)), 513), [
1624
+ }, h(p(u)), 513), [
1624
1625
  [H, P.value]
1625
1626
  ])
1626
1627
  ], 64));
1627
1628
  }
1628
- }), Mt = {
1629
+ }), It = {
1629
1630
  key: 0,
1630
1631
  class: "pl-1"
1631
- }, It = { class: "border alternating-item-list" }, zt = {
1632
+ }, zt = { class: "border alternating-item-list" }, Ot = {
1632
1633
  key: 0,
1633
1634
  class: "p-2 border-top border-bottom",
1634
1635
  "data-cy": "title"
1635
- }, Ot = { class: "d-inline-block" }, Dt = {
1636
+ }, Dt = { class: "d-inline-block" }, Ut = {
1636
1637
  key: 1,
1637
1638
  class: "p-2 item d-flex justify-content-between align-items-center"
1638
- }, ga = /* @__PURE__ */ F({
1639
+ }, xa = /* @__PURE__ */ F({
1639
1640
  __name: "ForgeMultiSelectPreview",
1640
1641
  props: /* @__PURE__ */ E({
1641
1642
  title: { default: "Selected Items" },
@@ -1654,8 +1655,8 @@ const vt = { key: 0 }, bt = {
1654
1655
  l.value = l.value.filter((n) => n.id !== a);
1655
1656
  };
1656
1657
  return (a, n) => {
1657
- const d = R;
1658
- return i(), v("div", {
1658
+ const d = L;
1659
+ return r(), v("div", {
1659
1660
  class: B(a.orientation === "column" ? "row" : ""),
1660
1661
  "data-cy": "multiselect-preview"
1661
1662
  }, [
@@ -1665,18 +1666,18 @@ const vt = { key: 0 }, bt = {
1665
1666
  }, [
1666
1667
  f(pe, _({
1667
1668
  modelValue: l.value,
1668
- "onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r),
1669
+ "onUpdate:modelValue": n[0] || (n[0] = (s) => l.value = s),
1669
1670
  "limit-text": () => `${l.value.length} selected`,
1670
1671
  options: t.options
1671
1672
  }, { ...a.$attrs }), {
1672
- tag: g(() => n[1] || (n[1] = [
1673
+ tag: b(() => n[1] || (n[1] = [
1673
1674
  O(h(""))
1674
1675
  ])),
1675
- selection: g(() => [
1676
- l.value.length > 0 ? (i(), v("span", Mt, h(l.value.length) + " items selected", 1)) : S("", !0)
1676
+ selection: b(() => [
1677
+ l.value.length > 0 ? (r(), v("span", It, h(l.value.length) + " items selected", 1)) : S("", !0)
1677
1678
  ]),
1678
- default: g(() => [
1679
- (i(!0), v(L, null, Y(a.$slots, (r, u) => $(a.$slots, u, { slot: u })), 256))
1679
+ default: b(() => [
1680
+ (r(!0), v(R, null, Y(a.$slots, (s, u) => $(a.$slots, u, { slot: u })), 256))
1680
1681
  ]),
1681
1682
  _: 3
1682
1683
  }, 16, ["modelValue", "limit-text", "options"]),
@@ -1690,59 +1691,59 @@ const vt = { key: 0 }, bt = {
1690
1691
  style: ge({ height: a.height }),
1691
1692
  class: "overflow-auto"
1692
1693
  }, [
1693
- c("div", It, [
1694
- a.title ? (i(), v("div", zt, h(a.title), 1)) : S("", !0),
1695
- (i(!0), v(L, null, Y(l.value, (r) => (i(), v("div", {
1696
- key: r.id,
1694
+ c("div", zt, [
1695
+ a.title ? (r(), v("div", Ot, h(a.title), 1)) : S("", !0),
1696
+ (r(!0), v(R, null, Y(l.value, (s) => (r(), v("div", {
1697
+ key: s.id,
1697
1698
  class: "p-2 item d-flex justify-content-between align-items-center"
1698
1699
  }, [
1699
- $(a.$slots, "list-item", { item: r }, () => [
1700
- c("span", Ot, h(r.shortLabel ? r.shortLabel : r.label), 1)
1700
+ $(a.$slots, "list-item", { item: s }, () => [
1701
+ c("span", Dt, h(s.shortLabel ? s.shortLabel : s.label), 1)
1701
1702
  ]),
1702
- a.canRemoveItemFromPreview ? (i(), w(d, {
1703
+ a.canRemoveItemFromPreview ? (r(), w(d, {
1703
1704
  key: 0,
1704
1705
  link: "",
1705
1706
  class: "m-0 p-0 d-flex align-items-center",
1706
- onClick: (u) => o(r.id)
1707
+ onClick: (u) => o(s.id)
1707
1708
  }, {
1708
- default: g(() => [
1709
- f(m(V), {
1709
+ default: b(() => [
1710
+ f(p(V), {
1710
1711
  icon: "bi:x",
1711
1712
  class: "close-icon",
1712
- "data-cy": `close-icon-${r.id}`
1713
+ "data-cy": `close-icon-${s.id}`
1713
1714
  }, null, 8, ["data-cy"])
1714
1715
  ]),
1715
1716
  _: 2
1716
1717
  }, 1032, ["onClick"])) : S("", !0)
1717
1718
  ]))), 128)),
1718
- l.value.length === 0 ? (i(), v("div", Dt, h(t.optionsPreviewEmptyText), 1)) : S("", !0)
1719
+ l.value.length === 0 ? (r(), v("div", Ut, h(t.optionsPreviewEmptyText), 1)) : S("", !0)
1719
1720
  ])
1720
1721
  ], 4)
1721
1722
  ], 2)
1722
1723
  ], 2);
1723
1724
  };
1724
1725
  }
1725
- }), Ut = { class: "d-flex justify-content-between pb-2" }, At = {
1726
+ }), At = { class: "d-flex justify-content-between pb-2" }, Nt = {
1726
1727
  "data-cy": "title",
1727
1728
  class: "my-auto"
1728
- }, Nt = {
1729
+ }, Et = {
1729
1730
  "data-cy": "slot",
1730
1731
  class: "d-flex align-items-center"
1731
- }, ha = /* @__PURE__ */ F({
1732
+ }, ka = /* @__PURE__ */ F({
1732
1733
  __name: "ForgePageHeader",
1733
1734
  props: {
1734
1735
  title: {}
1735
1736
  },
1736
1737
  setup(e) {
1737
1738
  const t = e;
1738
- return (l, o) => (i(), v("div", Ut, [
1739
- c("h3", At, h(t.title), 1),
1740
- c("div", Nt, [
1739
+ return (l, o) => (r(), v("div", At, [
1740
+ c("h3", Nt, h(t.title), 1),
1741
+ c("div", Et, [
1741
1742
  $(l.$slots, "default")
1742
1743
  ])
1743
1744
  ]));
1744
1745
  }
1745
- }), Et = { class: "d-flex" }, Lt = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, jt = { "data-cy": "after-slot" }, ye = /* @__PURE__ */ F({
1746
+ }), Lt = { class: "d-flex" }, Rt = { "data-cy": "before-slot" }, jt = { class: "position-relative w-100" }, Ht = { "data-cy": "after-slot" }, ye = /* @__PURE__ */ F({
1746
1747
  __name: "ForgeDatepicker",
1747
1748
  props: /* @__PURE__ */ E({
1748
1749
  severity: { default: "primary" },
@@ -1815,37 +1816,37 @@ const vt = { key: 0 }, bt = {
1815
1816
  }),
1816
1817
  emits: ["update:modelValue"],
1817
1818
  setup(e) {
1818
- const t = e, l = A(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: r } = K(() => t.name, void 0, {
1819
+ const t = e, l = A(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: s } = K(() => t.name, void 0, {
1819
1820
  initialValue: l.value
1820
1821
  }), u = () => {
1821
- r(null), l.value = null;
1822
- }, p = k(() => o.value.length > 0), y = k(() => ({
1823
- day: ({ context: s }) => ({
1822
+ s(null), l.value = null;
1823
+ }, m = k(() => o.value.length > 0), y = k(() => ({
1824
+ day: ({ context: i }) => ({
1824
1825
  class: [
1825
1826
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
1826
1827
  {
1827
- "cursor-pointer": !s.disabled,
1828
- "pe-none": s.disabled,
1829
- "text-white": s.selected
1828
+ "cursor-pointer": !i.disabled,
1829
+ "pe-none": i.disabled,
1830
+ "text-white": i.selected
1830
1831
  },
1831
1832
  // Severities
1832
1833
  {
1833
- selected: s.selected && !s.disabled,
1834
- "text-primary": !s.selected && s.today && (t.severity === void 0 || t.severity === "primary"),
1835
- "text-brand": !s.selected && s.today && t.severity === "brand",
1836
- "text-secondary": !s.selected && s.today && t.severity === "secondary",
1837
- "text-success": !s.selected && s.today && t.severity === "success",
1838
- "text-warning": !s.selected && s.today && t.severity === "warning",
1839
- "text-danger": !s.selected && s.today && t.severity === "danger",
1840
- "text-info": !s.selected && s.today && t.severity === "info"
1834
+ selected: i.selected && !i.disabled,
1835
+ "text-primary": !i.selected && i.today && (t.severity === void 0 || t.severity === "primary"),
1836
+ "text-brand": !i.selected && i.today && t.severity === "brand",
1837
+ "text-secondary": !i.selected && i.today && t.severity === "secondary",
1838
+ "text-success": !i.selected && i.today && t.severity === "success",
1839
+ "text-warning": !i.selected && i.today && t.severity === "warning",
1840
+ "text-danger": !i.selected && i.today && t.severity === "danger",
1841
+ "text-info": !i.selected && i.today && t.severity === "info"
1841
1842
  }
1842
1843
  ]
1843
1844
  }),
1844
- dayLabel: ({ context: s }) => ({
1845
+ dayLabel: ({ context: i }) => ({
1845
1846
  class: [
1846
1847
  // Disabled States
1847
1848
  {
1848
- "text-muted": s.disabled
1849
+ "text-muted": i.disabled
1849
1850
  }
1850
1851
  ]
1851
1852
  }),
@@ -1881,61 +1882,61 @@ const vt = { key: 0 }, bt = {
1881
1882
  ]
1882
1883
  })
1883
1884
  },
1884
- year: ({ context: s }) => ({
1885
+ year: ({ context: i }) => ({
1885
1886
  class: [
1886
1887
  "col-3 text-center cursor-pointer py-2",
1887
1888
  {
1888
- "text-primary": (t.severity === void 0 || t.severity === "primary") && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1889
- "text-brand": t.severity === "brand" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1890
- "text-secondary": t.severity === "secondary" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1891
- "text-success": t.severity === "success" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1892
- "text-warning": t.severity === "warning" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1893
- "text-danger": t.severity === "danger" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1894
- "text-info": t.severity === "info" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1889
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1890
+ "text-brand": t.severity === "brand" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1891
+ "text-secondary": t.severity === "secondary" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1892
+ "text-success": t.severity === "success" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1893
+ "text-warning": t.severity === "warning" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1894
+ "text-danger": t.severity === "danger" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1895
+ "text-info": t.severity === "info" && i.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1895
1896
  }
1896
1897
  ]
1897
1898
  }),
1898
- month: ({ context: s }) => ({
1899
+ month: ({ context: i }) => ({
1899
1900
  class: [
1900
1901
  "col-3 text-center cursor-pointer py-2",
1901
1902
  {
1902
- "text-primary": (t.severity === void 0 || t.severity === "primary") && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1903
- "text-brand": t.severity === "brand" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1904
- "text-secondary": t.severity === "secondary" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1905
- "text-success": t.severity === "success" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1906
- "text-warning": t.severity === "warning" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1907
- "text-danger": t.severity === "danger" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1908
- "text-info": t.severity === "info" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1903
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1904
+ "text-brand": t.severity === "brand" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1905
+ "text-secondary": t.severity === "secondary" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1906
+ "text-success": t.severity === "success" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1907
+ "text-warning": t.severity === "warning" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1908
+ "text-danger": t.severity === "danger" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1909
+ "text-info": t.severity === "info" && i.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1909
1910
  }
1910
1911
  ]
1911
1912
  })
1912
1913
  }));
1913
- return (s, T) => {
1914
+ return (i, T) => {
1914
1915
  const C = _e;
1915
- return i(), v(L, null, [
1916
- c("div", Et, [
1917
- c("span", Lt, [
1918
- $(s.$slots, "before")
1916
+ return r(), v(R, null, [
1917
+ c("div", Lt, [
1918
+ c("span", Rt, [
1919
+ $(i.$slots, "before")
1919
1920
  ]),
1920
- c("div", Rt, [
1921
- f(C, _({ ...t, ...s.$attrs }, {
1921
+ c("div", jt, [
1922
+ f(C, _({ ...t, ...i.$attrs }, {
1922
1923
  pt: y.value,
1923
1924
  modelValue: l.value,
1924
1925
  "onUpdate:modelValue": [
1925
1926
  T[0] || (T[0] = (P) => l.value = P),
1926
- m(n)
1927
+ p(n)
1927
1928
  ],
1928
- onBlur: m(d),
1929
- "input-class": { "datepicker-invalid": p.value }
1929
+ onBlur: p(d),
1930
+ "input-class": { "datepicker-invalid": m.value }
1930
1931
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "onBlur", "input-class"]),
1931
- j(f(m(V), {
1932
+ j(f(p(V), {
1932
1933
  "data-cy": "icon",
1933
1934
  icon: "bi:calendar4",
1934
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${p.value ? "text-danger-dark" : "text-muted"}`])
1935
+ class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${m.value ? "text-danger-dark" : "text-muted"}`])
1935
1936
  }, null, 8, ["class"]), [
1936
1937
  [H, t.showIcon]
1937
1938
  ]),
1938
- j(f(m(V), {
1939
+ j(f(p(V), {
1939
1940
  "data-cy": "icon",
1940
1941
  icon: "bi:x",
1941
1942
  onClick: u,
@@ -1944,20 +1945,20 @@ const vt = { key: 0 }, bt = {
1944
1945
  [H, t.modelValue]
1945
1946
  ])
1946
1947
  ]),
1947
- c("span", jt, [
1948
- $(s.$slots, "after")
1948
+ c("span", Ht, [
1949
+ $(i.$slots, "after")
1949
1950
  ])
1950
1951
  ]),
1951
1952
  j(c("small", {
1952
1953
  "data-cy": "error",
1953
1954
  class: "text-invalid"
1954
- }, h(m(a)), 513), [
1955
- [H, p.value]
1955
+ }, h(p(a)), 513), [
1956
+ [H, m.value]
1956
1957
  ])
1957
1958
  ], 64);
1958
1959
  };
1959
1960
  }
1960
- }), wa = /* @__PURE__ */ F({
1961
+ }), $a = /* @__PURE__ */ F({
1961
1962
  __name: "ForgeRemainingCharacters",
1962
1963
  props: {
1963
1964
  maxCount: { default: 300 },
@@ -1965,11 +1966,11 @@ const vt = { key: 0 }, bt = {
1965
1966
  },
1966
1967
  setup(e) {
1967
1968
  const t = e, l = k(() => t.maxCount - t.currentCount);
1968
- return (o, a) => (i(), v("div", {
1969
+ return (o, a) => (r(), v("div", {
1969
1970
  class: B(l.value < 0 ? "text-danger" : "")
1970
1971
  }, "Remaining characters: " + h(l.value), 3));
1971
1972
  }
1972
- }), Ht = { class: "d-flex justify-content-between" }, xa = /* @__PURE__ */ F({
1973
+ }), qt = { class: "d-flex justify-content-between" }, Ba = /* @__PURE__ */ F({
1973
1974
  __name: "ForgeForm",
1974
1975
  props: {
1975
1976
  onSubmit: {},
@@ -1981,7 +1982,7 @@ const vt = { key: 0 }, bt = {
1981
1982
  hideCancel: { type: Boolean, default: !1 }
1982
1983
  },
1983
1984
  setup(e) {
1984
- const t = e, l = I(!1), o = I({
1985
+ const t = e, l = M(!1), o = M({
1985
1986
  hasError: !1,
1986
1987
  message: ""
1987
1988
  });
@@ -1995,13 +1996,13 @@ const vt = { key: 0 }, bt = {
1995
1996
  l.value = !1;
1996
1997
  }
1997
1998
  return (n, d) => {
1998
- const r = R;
1999
- return i(), v("form", _(n.$attrs, {
1999
+ const s = L;
2000
+ return r(), v("form", _(n.$attrs, {
2000
2001
  novalidate: "",
2001
2002
  class: "position-relative shadow-sm border p-4 bg-white",
2002
2003
  onSubmit: q(a, ["prevent"])
2003
2004
  }), [
2004
- n.hideTitle ? S("", !0) : (i(), v(L, { key: 0 }, [
2005
+ n.hideTitle ? S("", !0) : (r(), v(R, { key: 0 }, [
2005
2006
  $(n.$slots, "title", {}, () => [
2006
2007
  c("h3", {
2007
2008
  class: B(n.titleClass),
@@ -2010,12 +2011,12 @@ const vt = { key: 0 }, bt = {
2010
2011
  ]),
2011
2012
  d[1] || (d[1] = c("hr", null, null, -1))
2012
2013
  ], 64)),
2013
- o.value.hasError ? (i(), w(ae, {
2014
+ o.value.hasError ? (r(), w(ae, {
2014
2015
  key: 1,
2015
2016
  severity: "danger",
2016
2017
  "data-cy": "error"
2017
2018
  }, {
2018
- default: g(() => [
2019
+ default: b(() => [
2019
2020
  $(n.$slots, "error", {
2020
2021
  error: o.value.message
2021
2022
  }, () => [
@@ -2025,9 +2026,9 @@ const vt = { key: 0 }, bt = {
2025
2026
  _: 3
2026
2027
  })) : S("", !0),
2027
2028
  $(n.$slots, "default"),
2028
- c("div", Ht, [
2029
+ c("div", qt, [
2029
2030
  $(n.$slots, "cancel", {}, () => [
2030
- n.hideCancel ? S("", !0) : (i(), w(r, {
2031
+ n.hideCancel ? S("", !0) : (r(), w(s, {
2031
2032
  key: 0,
2032
2033
  "data-cy": "cancel-btn",
2033
2034
  type: "reset",
@@ -2035,37 +2036,37 @@ const vt = { key: 0 }, bt = {
2035
2036
  outlined: "",
2036
2037
  onClick: d[0] || (d[0] = (u) => n.$emit("cancel"))
2037
2038
  }, {
2038
- default: g(() => [
2039
+ default: b(() => [
2039
2040
  O(h(n.cancelText), 1)
2040
2041
  ]),
2041
2042
  _: 1
2042
2043
  }))
2043
2044
  ]),
2044
2045
  $(n.$slots, "submit", { submit: a }, () => [
2045
- f(r, {
2046
+ f(s, {
2046
2047
  "data-cy": "submit-btn",
2047
2048
  type: "submit",
2048
2049
  severity: "primary",
2049
2050
  class: "ms-auto"
2050
2051
  }, {
2051
- default: g(() => [
2052
+ default: b(() => [
2052
2053
  O(h(n.submitText), 1)
2053
2054
  ]),
2054
2055
  _: 1
2055
2056
  })
2056
2057
  ])
2057
2058
  ]),
2058
- l.value ? (i(), w(me, {
2059
+ l.value ? (r(), w(me, {
2059
2060
  key: 2,
2060
2061
  "data-cy": "loading-spinner"
2061
2062
  })) : S("", !0)
2062
2063
  ], 16);
2063
2064
  };
2064
2065
  }
2065
- }), qt = {
2066
+ }), Yt = {
2066
2067
  key: 1,
2067
2068
  class: "d-flex flex-column w-100"
2068
- }, Yt = ["for"], ka = /* @__PURE__ */ F({
2069
+ }, Gt = ["for"], Fa = /* @__PURE__ */ F({
2069
2070
  __name: "ForgeFormField",
2070
2071
  props: /* @__PURE__ */ E({
2071
2072
  name: {},
@@ -2081,23 +2082,23 @@ const vt = { key: 0 }, bt = {
2081
2082
  emits: ["update:modelValue"],
2082
2083
  setup(e) {
2083
2084
  const t = A(e, "modelValue"), l = e, o = (y) => {
2084
- l.type == "number" ? r(y.value) : r(y);
2085
- }, { errors: a, value: n, errorMessage: d, handleChange: r, handleBlur: u } = K(() => l.name, void 0, {
2085
+ l.type == "number" ? s(y.value) : s(y);
2086
+ }, { errors: a, value: n, errorMessage: d, handleChange: s, handleBlur: u } = K(() => l.name, void 0, {
2086
2087
  initialValue: t.value
2087
- }), p = k(() => a.value.length > 0);
2088
+ }), m = k(() => a.value.length > 0);
2088
2089
  return de(() => n.value, (y) => {
2089
2090
  t.value = y;
2090
- }, { immediate: !0 }), (y, s) => {
2091
- const T = Ve, C = Se, P = ie, M = le, z = pe, b = ye;
2092
- return l.type === "checkbox" ? (i(), w(ct, _({
2091
+ }, { immediate: !0 }), (y, i) => {
2092
+ const T = Ve, C = Se, P = ie, I = le, z = pe, g = ye;
2093
+ return l.type === "checkbox" ? (r(), w(mt, _({
2093
2094
  key: 0,
2094
2095
  id: l.name,
2095
2096
  label: l.fieldLabel
2096
2097
  }, y.$attrs, {
2097
2098
  name: l.name,
2098
2099
  modelValue: t.value,
2099
- "onUpdate:modelValue": s[0] || (s[0] = (x) => t.value = x)
2100
- }), null, 16, ["id", "label", "name", "modelValue"])) : (i(), v("div", qt, [
2100
+ "onUpdate:modelValue": i[0] || (i[0] = (x) => t.value = x)
2101
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", Yt, [
2101
2102
  c("div", {
2102
2103
  "data-cy": "input-wrapper",
2103
2104
  class: B(["d-flex", l.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2105,72 +2106,72 @@ const vt = { key: 0 }, bt = {
2105
2106
  c("label", {
2106
2107
  for: l.name,
2107
2108
  class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2")
2108
- }, h(l.fieldLabel), 11, Yt),
2109
- l.type === "number" ? (i(), w(m(ue), _({
2109
+ }, h(l.fieldLabel), 11, Gt),
2110
+ l.type === "number" ? (r(), w(p(ue), _({
2110
2111
  key: 0,
2111
2112
  id: l.name
2112
2113
  }, y.$attrs, {
2113
2114
  placeholder: l.placeholder,
2114
- "input-class": { "is-invalid": p.value },
2115
- class: { "is-invalid": p.value },
2115
+ "input-class": { "is-invalid": m.value },
2116
+ class: { "is-invalid": m.value },
2116
2117
  modelValue: t.value,
2117
- "onUpdate:modelValue": s[1] || (s[1] = (x) => t.value = x),
2118
+ "onUpdate:modelValue": i[1] || (i[1] = (x) => t.value = x),
2118
2119
  onInput: o
2119
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(T, _({
2120
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (r(), w(T, _({
2120
2121
  key: 1,
2121
2122
  id: l.name
2122
2123
  }, y.$attrs, {
2123
2124
  placeholder: l.placeholder,
2124
- class: { "is-invalid": p.value },
2125
+ class: { "is-invalid": m.value },
2125
2126
  modelValue: t.value,
2126
- "onUpdate:modelValue": s[2] || (s[2] = (x) => t.value = x),
2127
+ "onUpdate:modelValue": i[2] || (i[2] = (x) => t.value = x),
2127
2128
  onInput: o,
2128
- onBlur: m(u)
2129
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(C, _({
2129
+ onBlur: p(u)
2130
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (r(), w(C, _({
2130
2131
  key: 2,
2131
2132
  id: l.name
2132
2133
  }, y.$attrs, {
2133
2134
  placeholder: l.placeholder,
2134
2135
  mask: l.mask,
2135
- class: { "is-invalid": p.value },
2136
+ class: { "is-invalid": m.value },
2136
2137
  modelValue: t.value,
2137
- "onUpdate:modelValue": s[3] || (s[3] = (x) => t.value = x),
2138
+ "onUpdate:modelValue": i[3] || (i[3] = (x) => t.value = x),
2138
2139
  onComplete: o,
2139
- onBlur: m(u)
2140
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(P, _({
2140
+ onBlur: p(u)
2141
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (r(), w(P, _({
2141
2142
  key: 3,
2142
2143
  id: l.name
2143
2144
  }, y.$attrs, {
2144
2145
  placeholder: l.placeholder,
2145
- class: { "is-invalid": p.value },
2146
+ class: { "is-invalid": m.value },
2146
2147
  modelValue: t.value,
2147
- "onUpdate:modelValue": s[4] || (s[4] = (x) => t.value = x),
2148
+ "onUpdate:modelValue": i[4] || (i[4] = (x) => t.value = x),
2148
2149
  onInput: o,
2149
- onBlur: m(u)
2150
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(M, _({ key: 4 }, { ...l, ...y.$attrs }, {
2150
+ onBlur: p(u)
2151
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (r(), w(I, _({ key: 4 }, { ...l, ...y.$attrs }, {
2151
2152
  modelValue: t.value,
2152
- "onUpdate:modelValue": s[5] || (s[5] = (x) => t.value = x),
2153
- class: { "is-invalid": p.value }
2154
- }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, _({ key: 5 }, { ...l, ...y.$attrs }, {
2153
+ "onUpdate:modelValue": i[5] || (i[5] = (x) => t.value = x),
2154
+ class: { "is-invalid": m.value }
2155
+ }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (r(), w(z, _({ key: 5 }, { ...l, ...y.$attrs }, {
2155
2156
  modelValue: t.value,
2156
- "onUpdate:modelValue": s[6] || (s[6] = (x) => t.value = x),
2157
- class: { "is-invalid": p.value }
2158
- }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(b, _({ key: 6 }, { ...l, ...y.$attrs }, {
2157
+ "onUpdate:modelValue": i[6] || (i[6] = (x) => t.value = x),
2158
+ class: { "is-invalid": m.value }
2159
+ }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (r(), w(g, _({ key: 6 }, { ...l, ...y.$attrs }, {
2159
2160
  modelValue: t.value,
2160
- "onUpdate:modelValue": s[7] || (s[7] = (x) => t.value = x),
2161
- class: { "is-invalid": p.value }
2161
+ "onUpdate:modelValue": i[7] || (i[7] = (x) => t.value = x),
2162
+ class: { "is-invalid": m.value }
2162
2163
  }), null, 16, ["modelValue", "class"])) : S("", !0)
2163
2164
  ], 2),
2164
2165
  j(c("small", {
2165
2166
  "data-cy": "error",
2166
2167
  class: "invalid-feedback"
2167
- }, h(m(d)), 513), [
2168
- [H, p.value && l.type !== "multiselect" && l.type !== "datepicker"]
2168
+ }, h(p(d)), 513), [
2169
+ [H, m.value && l.type !== "multiselect" && l.type !== "datepicker"]
2169
2170
  ])
2170
2171
  ]));
2171
2172
  };
2172
2173
  }
2173
- }), $a = /* @__PURE__ */ F({
2174
+ }), _a = /* @__PURE__ */ F({
2174
2175
  __name: "ForgeChips",
2175
2176
  props: {
2176
2177
  chipSeverity: { default: "primary" },
@@ -2202,11 +2203,11 @@ const vt = { key: 0 }, bt = {
2202
2203
  }), n = k(() => l.value.length > 0), d = k(() => ({
2203
2204
  inputtoken: "list-unstyled",
2204
2205
  input: "border-0",
2205
- container: ({ props: r }) => ({
2206
+ container: ({ props: s }) => ({
2206
2207
  class: [
2207
2208
  "form-control mb-0 d-flex",
2208
2209
  {
2209
- disabled: r.disabled,
2210
+ disabled: s.disabled,
2210
2211
  "is-invalid": n.value
2211
2212
  }
2212
2213
  ]
@@ -2230,16 +2231,16 @@ const vt = { key: 0 }, bt = {
2230
2231
  ]
2231
2232
  }
2232
2233
  }));
2233
- return (r, u) => {
2234
- const p = Ce;
2235
- return i(), v(L, null, [
2236
- f(p, _({ ...t, ...r.$attrs }, {
2234
+ return (s, u) => {
2235
+ const m = Ce;
2236
+ return r(), v(R, null, [
2237
+ f(m, _({ ...t, ...s.$attrs }, {
2237
2238
  pt: d.value,
2238
- "model-value": m(o),
2239
+ "model-value": p(o),
2239
2240
  "onUpdate:modelValue": u[0] || (u[0] = (y) => se(o) ? o.value = y : null)
2240
2241
  }), {
2241
- removetokenicon: g(({ removeCallback: y }) => [
2242
- j(f(m(V), {
2242
+ removetokenicon: b(({ removeCallback: y }) => [
2243
+ j(f(p(V), {
2243
2244
  icon: "bi:x",
2244
2245
  class: "cursor-pointer",
2245
2246
  onClick: y
@@ -2252,13 +2253,13 @@ const vt = { key: 0 }, bt = {
2252
2253
  j(c("small", {
2253
2254
  "data-cy": "error",
2254
2255
  class: "text-invalid"
2255
- }, h(m(a)), 513), [
2256
+ }, h(p(a)), 513), [
2256
2257
  [H, n.value]
2257
2258
  ])
2258
2259
  ], 64);
2259
2260
  };
2260
2261
  }
2261
- }), Gt = /* @__PURE__ */ F({
2262
+ }), Kt = /* @__PURE__ */ F({
2262
2263
  __name: "ForgeProgressBar",
2263
2264
  props: {
2264
2265
  severity: { default: "primary" },
@@ -2300,17 +2301,17 @@ const vt = { key: 0 }, bt = {
2300
2301
  class: [a.value, l.value, o.value]
2301
2302
  }
2302
2303
  }));
2303
- return (d, r) => {
2304
+ return (d, s) => {
2304
2305
  const u = Te;
2305
- return i(), w(u, _({ ...d.$attrs, ...t }, { pt: n.value }), {
2306
- default: g(() => [
2306
+ return r(), w(u, _({ ...d.$attrs, ...t }, { pt: n.value }), {
2307
+ default: b(() => [
2307
2308
  $(d.$slots, "default")
2308
2309
  ]),
2309
2310
  _: 3
2310
2311
  }, 16, ["pt"]);
2311
2312
  };
2312
2313
  }
2313
- }), Kt = { class: "value text-white w-100 text-center" }, Ba = /* @__PURE__ */ F({
2314
+ }), Wt = { class: "value text-white w-100 text-center" }, Sa = /* @__PURE__ */ F({
2314
2315
  __name: "ForgeStatWidget",
2315
2316
  props: {
2316
2317
  size: { default: "md" },
@@ -2318,18 +2319,18 @@ const vt = { key: 0 }, bt = {
2318
2319
  },
2319
2320
  setup(e) {
2320
2321
  const t = e;
2321
- return (l, o) => (i(), v("div", _(l.$attrs, {
2322
+ return (l, o) => (r(), v("div", _(l.$attrs, {
2322
2323
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2323
2324
  }), [
2324
- c("span", Kt, [
2325
+ c("span", Wt, [
2325
2326
  $(l.$slots, "default")
2326
2327
  ])
2327
2328
  ], 16));
2328
2329
  }
2329
- }), Wt = {
2330
+ }), Zt = {
2330
2331
  class: "d-flex flex-column align-items-center",
2331
2332
  "data-cy": "stepper"
2332
- }, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, Fa = /* @__PURE__ */ F({
2333
+ }, Jt = { class: "d-flex align-items-center justify-content-center w-100" }, Va = /* @__PURE__ */ F({
2333
2334
  __name: "ForgeStepper",
2334
2335
  props: {
2335
2336
  currentStep: { default: 0 },
@@ -2345,7 +2346,7 @@ const vt = { key: 0 }, bt = {
2345
2346
  },
2346
2347
  emits: ["update:currentStep"],
2347
2348
  setup(e, { emit: t }) {
2348
- const l = t, o = e, a = I(o.currentStep), n = () => {
2349
+ const l = t, o = e, a = M(o.currentStep), n = () => {
2349
2350
  do
2350
2351
  a.value--;
2351
2352
  while (o.model[a.value].disabled);
@@ -2356,58 +2357,58 @@ const vt = { key: 0 }, bt = {
2356
2357
  a.value++;
2357
2358
  while (o.model[a.value].disabled);
2358
2359
  l("update:currentStep", a.value);
2359
- }, r = k(() => {
2360
- const p = o.model.findIndex((y) => !y.disabled);
2361
- return !(p < a.value && p > -1);
2360
+ }, s = k(() => {
2361
+ const m = o.model.findIndex((y) => !y.disabled);
2362
+ return !(m < a.value && m > -1);
2362
2363
  }), u = k(() => ({
2363
- menuitem: (p) => ({
2364
+ menuitem: (m) => ({
2364
2365
  class: [{
2365
- "cursor-pointer": !p.context.disabled
2366
+ "cursor-pointer": !m.context.disabled
2366
2367
  }]
2367
2368
  }),
2368
- step: (p) => ({
2369
+ step: (m) => ({
2369
2370
  class: [
2370
2371
  "d-flex align-items-center justify-content-center mb-2 step",
2371
2372
  {
2372
- inactive: p.context.disabled,
2373
- "bg-primary text-white": p.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2374
- "bg-brand text-white": p.context.index === a.value && o.severity === "brand",
2375
- "bg-secondary text-white": p.context.index === a.value && o.severity === "secondary",
2376
- "bg-success text-white": p.context.index === a.value && o.severity === "success",
2377
- "bg-warning text-white": p.context.index === a.value && o.severity === "warning",
2378
- "bg-danger text-white": p.context.index === a.value && o.severity === "danger",
2379
- "bg-info text-white": p.context.index === a.value && o.severity === "info"
2373
+ inactive: m.context.disabled,
2374
+ "bg-primary text-white": m.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2375
+ "bg-brand text-white": m.context.index === a.value && o.severity === "brand",
2376
+ "bg-secondary text-white": m.context.index === a.value && o.severity === "secondary",
2377
+ "bg-success text-white": m.context.index === a.value && o.severity === "success",
2378
+ "bg-warning text-white": m.context.index === a.value && o.severity === "warning",
2379
+ "bg-danger text-white": m.context.index === a.value && o.severity === "danger",
2380
+ "bg-info text-white": m.context.index === a.value && o.severity === "info"
2380
2381
  }
2381
2382
  ]
2382
2383
  }),
2383
- label: (p) => ({
2384
+ label: (m) => ({
2384
2385
  class: [
2385
2386
  "h5",
2386
2387
  {
2387
- "border-bottom border-2 border-primary": p.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2388
- "border-bottom border-2 border-brand": p.context.index === a.value && o.severity === "brand",
2389
- "border-bottom border-2 border-secondary": p.context.index === a.value && o.severity === "secondary",
2390
- "border-bottom border-2 border-success": p.context.index === a.value && o.severity === "success",
2391
- "border-bottom border-2 border-warning": p.context.index === a.value && o.severity === "warning",
2392
- "border-bottom border-2 border-danger": p.context.index === a.value && o.severity === "danger",
2393
- "border-bottom border-2 border-info": p.context.index === a.value && o.severity === "info"
2388
+ "border-bottom border-2 border-primary": m.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2389
+ "border-bottom border-2 border-brand": m.context.index === a.value && o.severity === "brand",
2390
+ "border-bottom border-2 border-secondary": m.context.index === a.value && o.severity === "secondary",
2391
+ "border-bottom border-2 border-success": m.context.index === a.value && o.severity === "success",
2392
+ "border-bottom border-2 border-warning": m.context.index === a.value && o.severity === "warning",
2393
+ "border-bottom border-2 border-danger": m.context.index === a.value && o.severity === "danger",
2394
+ "border-bottom border-2 border-info": m.context.index === a.value && o.severity === "info"
2394
2395
  }
2395
2396
  ]
2396
2397
  })
2397
2398
  }));
2398
- return (p, y) => {
2399
- const s = R, T = Me, C = Pe;
2400
- return i(), v("div", Wt, [
2401
- c("div", Zt, [
2402
- f(s, {
2399
+ return (m, y) => {
2400
+ const i = L, T = Me, C = Pe;
2401
+ return r(), v("div", Zt, [
2402
+ c("div", Jt, [
2403
+ f(i, {
2403
2404
  severity: o.severity,
2404
- disabled: r.value,
2405
+ disabled: s.value,
2405
2406
  onClick: n,
2406
2407
  class: "rounded-circle py-2 me-4",
2407
2408
  "data-cy": "back-button"
2408
2409
  }, {
2409
- default: g(() => [
2410
- f(m(V), {
2410
+ default: b(() => [
2411
+ f(p(V), {
2411
2412
  icon: "bi:chevron-left",
2412
2413
  class: "mb-1"
2413
2414
  })
@@ -2423,11 +2424,11 @@ const vt = { key: 0 }, bt = {
2423
2424
  }, null, 8, ["active-step", "model", "pt"])
2424
2425
  ]),
2425
2426
  f(C, { class: "m-4" }),
2426
- (i(!0), v(L, null, Y(o.model, (P, M) => (i(), v("div", {
2427
- key: M,
2427
+ (r(!0), v(R, null, Y(o.model, (P, I) => (r(), v("div", {
2428
+ key: I,
2428
2429
  class: "w-100"
2429
2430
  }, [
2430
- M === a.value ? $(p.$slots, P.key ?? P.label, {
2431
+ I === a.value ? $(m.$slots, P.key ?? P.label, {
2431
2432
  key: 0,
2432
2433
  nextStep: d,
2433
2434
  previousStep: n
@@ -2436,9 +2437,9 @@ const vt = { key: 0 }, bt = {
2436
2437
  severity: "info",
2437
2438
  "data-cy": "alert"
2438
2439
  }, {
2439
- default: g(() => [
2440
+ default: b(() => [
2440
2441
  O(" Please add Slot Content for the key " + h(P.key ?? P.label) + " ", 1),
2441
- f(s, {
2442
+ f(i, {
2442
2443
  severity: "primary",
2443
2444
  label: "Next",
2444
2445
  onClick: d,
@@ -2452,7 +2453,7 @@ const vt = { key: 0 }, bt = {
2452
2453
  ]);
2453
2454
  };
2454
2455
  }
2455
- }), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, _a = /* @__PURE__ */ F({
2456
+ }), Xt = { class: "p-4 text-wrap w-100" }, Qt = { class: "p-4 text-wrap w-100" }, Ca = /* @__PURE__ */ F({
2456
2457
  __name: "ForgeTile",
2457
2458
  props: {
2458
2459
  severity: { default: "primary" },
@@ -2463,28 +2464,28 @@ const vt = { key: 0 }, bt = {
2463
2464
  setup(e) {
2464
2465
  const t = e, l = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), o = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
2465
2466
  return (a, n) => {
2466
- const d = R;
2467
- return t.clickable ? (i(), w(d, {
2467
+ const d = L;
2468
+ return t.clickable ? (r(), w(d, {
2468
2469
  key: 0,
2469
2470
  class: B(["d-flex w-100 p-0 text-body", l.value]),
2470
2471
  severity: t.severity,
2471
2472
  unstyled: "",
2472
2473
  "data-cy": "button-tile"
2473
2474
  }, {
2474
- default: g(() => [
2475
- c("div", Jt, [
2475
+ default: b(() => [
2476
+ c("div", Xt, [
2476
2477
  $(a.$slots, "default", {}, () => [
2477
2478
  n[0] || (n[0] = O("Tile Content"))
2478
2479
  ])
2479
2480
  ])
2480
2481
  ]),
2481
2482
  _: 3
2482
- }, 8, ["severity", "class"])) : (i(), v("div", {
2483
+ }, 8, ["severity", "class"])) : (r(), v("div", {
2483
2484
  key: 1,
2484
2485
  class: B(["d-flex w-100", o.value]),
2485
2486
  "data-cy": "tile"
2486
2487
  }, [
2487
- c("div", Xt, [
2488
+ c("div", Qt, [
2488
2489
  $(a.$slots, "default", {}, () => [
2489
2490
  n[1] || (n[1] = O("Tile Content"))
2490
2491
  ])
@@ -2496,13 +2497,13 @@ const vt = { key: 0 }, bt = {
2496
2497
  function X(e, t) {
2497
2498
  return e > 1 ? `${t}s` : t;
2498
2499
  }
2499
- const Qt = {
2500
+ const el = {
2500
2501
  class: "d-flex justify-content-start align-items-baseline",
2501
2502
  "data-cy": "pagination-header"
2502
- }, el = { class: "ms-2" }, tl = { key: 0 }, ll = {
2503
+ }, tl = { class: "ms-2" }, ll = { key: 0 }, al = {
2503
2504
  class: "w-auto",
2504
2505
  "data-cy": "total"
2505
- }, al = /* @__PURE__ */ F({
2506
+ }, ol = /* @__PURE__ */ F({
2506
2507
  __name: "ForgePaginationHeader",
2507
2508
  props: {
2508
2509
  total: {},
@@ -2517,26 +2518,26 @@ const Qt = {
2517
2518
  const d = Math.ceil(o.total / o.perPage);
2518
2519
  return `${d} ${X(d, "page")}`;
2519
2520
  });
2520
- return (d, r) => (i(), v("div", Qt, [
2521
- r[2] || (r[2] = O(" Number of results per page ")),
2522
- c("div", el, [
2523
- f(m(le), {
2521
+ return (d, s) => (r(), v("div", el, [
2522
+ s[2] || (s[2] = O(" Number of results per page ")),
2523
+ c("div", tl, [
2524
+ f(p(le), {
2524
2525
  options: o.pageSizes,
2525
2526
  "model-value": o.perPage,
2526
2527
  class: "page-size",
2527
- onChange: r[0] || (r[0] = (u) => a(u))
2528
+ onChange: s[0] || (s[0] = (u) => a(u))
2528
2529
  }, null, 8, ["options", "model-value"])
2529
2530
  ]),
2530
- o.total ? (i(), v("div", tl, [
2531
- r[1] || (r[1] = c("span", { class: "mx-2" }, "|", -1)),
2532
- c("span", ll, h(o.total) + " " + h(m(X)(o.total, "result")) + " across " + h(n.value), 1)
2531
+ o.total ? (r(), v("div", ll, [
2532
+ s[1] || (s[1] = c("span", { class: "mx-2" }, "|", -1)),
2533
+ c("span", al, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
2533
2534
  ])) : S("", !0)
2534
2535
  ]));
2535
2536
  }
2536
- }), ol = { class: "position-relative" }, nl = { "data-cy": "above-table-slot" }, sl = { class: "d-flex w-100" }, il = {
2537
+ }), nl = { class: "position-relative" }, sl = { "data-cy": "above-table-slot" }, il = { class: "d-flex w-100" }, rl = {
2537
2538
  class: "mx-auto",
2538
2539
  "data-cy": "empty-message"
2539
- }, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Sa = /* @__PURE__ */ F({
2540
+ }, dl = { class: "d-flex" }, ul = { class: "d-flex align-items-end mb-2" }, cl = { key: 0 }, ml = { class: "ms-auto" }, Ta = /* @__PURE__ */ F({
2540
2541
  __name: "ForgeTable",
2541
2542
  props: {
2542
2543
  value: {},
@@ -2618,16 +2619,16 @@ const Qt = {
2618
2619
  },
2619
2620
  emits: ["update:filters", "update:tableContext", "sort", "page"],
2620
2621
  setup(e, { emit: t }) {
2621
- const l = t, o = e, a = I(), n = I([10, 20, 50, 100]), d = I(20), r = I({
2622
+ const l = t, o = e, a = M(), n = M([10, 20, 50, 100]), d = M(20), s = M({
2622
2623
  filters: o.filters,
2623
2624
  perPage: d.value,
2624
2625
  page: 0,
2625
2626
  sortDirection: "None",
2626
2627
  sortField: "",
2627
2628
  total: o.totalRecords ?? o.value.length
2628
- }), u = k(() => o.totalRecords ?? o.value.length), p = k(() => {
2629
- const b = Math.ceil(u.value / d.value);
2630
- return `${b} ${X(b, "page")}`;
2629
+ }), u = k(() => o.totalRecords ?? o.value.length), m = k(() => {
2630
+ const g = Math.ceil(u.value / d.value);
2631
+ return `${g} ${X(g, "page")}`;
2631
2632
  }), y = k(() => ({
2632
2633
  thead: () => ({
2633
2634
  class: [
@@ -2650,34 +2651,34 @@ const Qt = {
2650
2651
  }
2651
2652
  ]
2652
2653
  })
2653
- })), s = () => {
2654
+ })), i = () => {
2654
2655
  if (o.clearAll)
2655
2656
  o.clearAll();
2656
2657
  else
2657
- for (const b in o.filters)
2658
- typeof o.filters[b] == "string" ? o.filters[b] = "" : o.filters[b].value = null;
2658
+ for (const g in o.filters)
2659
+ typeof o.filters[g] == "string" ? o.filters[g] = "" : o.filters[g].value = null;
2659
2660
  P(o.filters);
2660
2661
  }, T = () => {
2661
2662
  a.value.exportCSV();
2662
- }, C = (b) => {
2663
+ }, C = (g) => {
2663
2664
  var x;
2664
- r.value.sortDirection = b.sortOrder === 1 ? "Asc" : b.sortOrder === -1 ? "Desc" : "None", r.value.sortField = ((x = b.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", r.value), l("sort", b);
2665
- }, P = (b) => {
2666
- r.value.filters = b, l("update:tableContext", r.value), l("update:filters", b);
2667
- }, M = (b) => {
2668
- r.value.page = b.page, l("update:tableContext", r.value), l("page", b);
2665
+ s.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((x = g.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", s.value), l("sort", g);
2666
+ }, P = (g) => {
2667
+ s.value.filters = g, l("update:tableContext", s.value), l("update:filters", g);
2668
+ }, I = (g) => {
2669
+ s.value.page = g.page, l("update:tableContext", s.value), l("page", g);
2669
2670
  }, z = () => {
2670
- r.value.perPage = d.value, l("update:tableContext", r.value);
2671
+ s.value.perPage = d.value, l("update:tableContext", s.value);
2671
2672
  };
2672
- return de(() => o.filters, (b) => {
2673
- r.value.filters = b, l("update:tableContext", r.value);
2674
- }, { deep: !0 }), ne(() => l("update:tableContext", r.value)), (b, x) => (i(), v("div", ol, [
2675
- c("span", nl, [
2676
- $(b.$slots, "above-table")
2673
+ return de(() => o.filters, (g) => {
2674
+ s.value.filters = g, l("update:tableContext", s.value);
2675
+ }, { deep: !0 }), ne(() => l("update:tableContext", s.value)), (g, x) => (r(), v("div", nl, [
2676
+ c("span", sl, [
2677
+ $(g.$slots, "above-table")
2677
2678
  ]),
2678
- f(m(Ie), _({
2679
+ f(p(Ie), _({
2679
2680
  class: ["w-100", `${o.severity ? `forge-table-${o.severity}` : ""}`]
2680
- }, { ...o, ...b.$attrs }, {
2681
+ }, { ...o, ...g.$attrs }, {
2681
2682
  pt: y.value,
2682
2683
  rows: d.value,
2683
2684
  "total-records": u.value,
@@ -2687,21 +2688,21 @@ const Qt = {
2687
2688
  "data-cy": "table",
2688
2689
  "onUpdate:filters": P,
2689
2690
  onSort: C,
2690
- onPage: M
2691
+ onPage: I
2691
2692
  }), te({
2692
- empty: g(() => [
2693
- c("div", sl, [
2694
- c("h5", il, h(b.emptyMessage ?? "No items Found."), 1)
2693
+ empty: b(() => [
2694
+ c("div", il, [
2695
+ c("h5", rl, h(g.emptyMessage ?? "No items Found."), 1)
2695
2696
  ])
2696
2697
  ]),
2697
- header: g(() => [
2698
+ header: b(() => [
2698
2699
  c("div", {
2699
2700
  class: B(o.loading ? "opacity-50" : "")
2700
2701
  }, [
2701
- c("div", rl, [
2702
- c("div", dl, [
2703
- b.paginator && !b.legacyPaginationFooter ? (i(), v("span", ul, [
2704
- f(al, {
2702
+ c("div", dl, [
2703
+ c("div", ul, [
2704
+ g.paginator && !g.legacyPaginationFooter ? (r(), v("span", cl, [
2705
+ f(ol, {
2705
2706
  total: u.value,
2706
2707
  "page-sizes": n.value,
2707
2708
  "per-page": d.value,
@@ -2712,16 +2713,16 @@ const Qt = {
2712
2713
  }, null, 8, ["total", "page-sizes", "per-page"])
2713
2714
  ])) : S("", !0)
2714
2715
  ]),
2715
- c("div", cl, [
2716
- b.showClearButton ? (i(), w(m(R), {
2716
+ c("div", ml, [
2717
+ g.showClearButton ? (r(), w(p(L), {
2717
2718
  key: 0,
2718
2719
  outlined: "",
2719
- class: B(b.showExporterButton ? "me-2" : ""),
2720
- onClick: s,
2720
+ class: B(g.showExporterButton ? "me-2" : ""),
2721
+ onClick: i,
2721
2722
  "data-cy": "clear-all"
2722
2723
  }, {
2723
- default: g(() => [
2724
- f(m(V), {
2724
+ default: b(() => [
2725
+ f(p(V), {
2725
2726
  icon: "bi:funnel-fill",
2726
2727
  width: "24",
2727
2728
  height: "24"
@@ -2730,14 +2731,14 @@ const Qt = {
2730
2731
  ]),
2731
2732
  _: 1
2732
2733
  }, 8, ["class"])) : S("", !0),
2733
- b.showExporterButton ? (i(), w(m(R), {
2734
+ g.showExporterButton ? (r(), w(p(L), {
2734
2735
  key: 1,
2735
2736
  outlined: "",
2736
2737
  onClick: T,
2737
2738
  "data-cy": "exporter"
2738
2739
  }, {
2739
- default: g(() => [
2740
- f(m(V), {
2740
+ default: b(() => [
2741
+ f(p(V), {
2741
2742
  icon: "typcn:export",
2742
2743
  width: "24",
2743
2744
  height: "24"
@@ -2750,26 +2751,26 @@ const Qt = {
2750
2751
  ])
2751
2752
  ], 2)
2752
2753
  ]),
2753
- default: g(() => [
2754
- $(b.$slots, "default")
2754
+ default: b(() => [
2755
+ $(g.$slots, "default")
2755
2756
  ]),
2756
2757
  _: 2
2757
2758
  }, [
2758
- Y(b.$slots, (G, Z) => ({
2759
+ Y(g.$slots, (G, Z) => ({
2759
2760
  name: Z,
2760
- fn: g((oe) => [
2761
- $(b.$slots, Z, Q(ee(oe || {})))
2761
+ fn: b((oe) => [
2762
+ $(g.$slots, Z, Q(ee(oe || {})))
2762
2763
  ])
2763
2764
  })),
2764
- b.legacyPaginationFooter ? {
2765
+ g.legacyPaginationFooter ? {
2765
2766
  name: "paginatorstart",
2766
- fn: g(() => [
2767
+ fn: b(() => [
2767
2768
  c("span", {
2768
2769
  class: B(["d-flex", o.loading ? "opacity-50" : ""]),
2769
2770
  "data-cy": "legacy-page-size"
2770
2771
  }, [
2771
2772
  x[4] || (x[4] = c("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
2772
- f(m(le), {
2773
+ f(p(le), {
2773
2774
  options: n.value,
2774
2775
  modelValue: d.value,
2775
2776
  "onUpdate:modelValue": x[1] || (x[1] = (G) => d.value = G),
@@ -2780,20 +2781,20 @@ const Qt = {
2780
2781
  ]),
2781
2782
  key: "0"
2782
2783
  } : void 0,
2783
- b.legacyPaginationFooter ? {
2784
+ g.legacyPaginationFooter ? {
2784
2785
  name: "paginatorend",
2785
- fn: g(() => [
2786
+ fn: b(() => [
2786
2787
  c("span", {
2787
2788
  "data-cy": "legacy-total",
2788
2789
  class: B(o.loading ? "opacity-50" : "")
2789
- }, h(u.value) + " " + h(m(X)(u.value, "result")) + " across " + h(p.value), 3)
2790
+ }, h(u.value) + " " + h(p(X)(u.value, "result")) + " across " + h(m.value), 3)
2790
2791
  ]),
2791
2792
  key: "1"
2792
2793
  } : void 0
2793
2794
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
2794
2795
  ]));
2795
2796
  }
2796
- }), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, yl = { class: "d-flex w-100" }, Va = /* @__PURE__ */ F({
2797
+ }), pl = { class: "d-flex position-relative" }, yl = { class: "d-flex w-100" }, vl = { class: "d-flex w-100" }, Pa = /* @__PURE__ */ F({
2797
2798
  __name: "ForgeFilterHeader",
2798
2799
  props: /* @__PURE__ */ E({
2799
2800
  dataType: {},
@@ -2811,10 +2812,10 @@ const Qt = {
2811
2812
  const t = A(e, "modelValue"), l = (a, n) => {
2812
2813
  if (!a || Array.isArray(a) && a.length === 0)
2813
2814
  return n;
2814
- const d = (r) => {
2815
- var p;
2816
- const u = (p = e.dropdownOptions) == null ? void 0 : p.find(
2817
- (y) => e.optionValue ? y[e.optionValue] === r : Object.keys(y).every((s) => r.hasOwnProperty(s) && y[s] === r[s])
2815
+ const d = (s) => {
2816
+ var m;
2817
+ const u = (m = e.dropdownOptions) == null ? void 0 : m.find(
2818
+ (y) => e.optionValue ? y[e.optionValue] === s : Object.keys(y).every((i) => s.hasOwnProperty(i) && y[i] === s[i])
2818
2819
  );
2819
2820
  return e.optionLabel ? u[e.optionLabel] : u;
2820
2821
  };
@@ -2823,20 +2824,20 @@ const Qt = {
2823
2824
  e.clearFilter ? e.clearFilter() : t.value = null;
2824
2825
  };
2825
2826
  return (a, n) => {
2826
- const d = ue, r = R;
2827
- return i(), v("div", ml, [
2828
- a.dataType === "numeric" ? (i(), w(d, _({
2827
+ const d = ue, s = L;
2828
+ return r(), v("div", pl, [
2829
+ a.dataType === "numeric" ? (r(), w(d, _({
2829
2830
  key: 0,
2830
2831
  modelValue: t.value,
2831
2832
  "onUpdate:modelValue": n[0] || (n[0] = (u) => t.value = u)
2832
- }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(ye, _({
2833
+ }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (r(), w(ye, _({
2833
2834
  key: 1,
2834
2835
  modelValue: t.value,
2835
2836
  "onUpdate:modelValue": n[1] || (n[1] = (u) => t.value = u)
2836
2837
  }, a.$attrs, {
2837
2838
  "show-icon": !1,
2838
2839
  "show-on-focus": !0
2839
- }), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(m(le), _({
2840
+ }), null, 16, ["modelValue"])) : a.dataType === "select" ? (r(), w(p(le), _({
2840
2841
  key: 2,
2841
2842
  modelValue: t.value,
2842
2843
  "onUpdate:modelValue": n[2] || (n[2] = (u) => t.value = u)
@@ -2845,19 +2846,19 @@ const Qt = {
2845
2846
  "option-value": a.optionValue,
2846
2847
  "option-label": a.optionLabel
2847
2848
  }), {
2848
- value: g(({ value: u, placeholder: p }) => [
2849
- c("div", pl, [
2849
+ value: b(({ value: u, placeholder: m }) => [
2850
+ c("div", yl, [
2850
2851
  c("span", {
2851
2852
  class: B({ "filter-placeholder": u === null })
2852
- }, h(l(u, p)), 3),
2853
- a.showClearButton && t.value !== null ? (i(), w(r, {
2853
+ }, h(l(u, m)), 3),
2854
+ a.showClearButton && t.value !== null ? (r(), w(s, {
2854
2855
  key: 0,
2855
2856
  onClick: q(o, ["prevent"]),
2856
2857
  size: "small",
2857
2858
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2858
2859
  }, {
2859
- default: g(() => [
2860
- f(m(V), {
2860
+ default: b(() => [
2861
+ f(p(V), {
2861
2862
  icon: "bi:x",
2862
2863
  width: "1rem",
2863
2864
  height: "1rem",
@@ -2869,7 +2870,7 @@ const Qt = {
2869
2870
  ])
2870
2871
  ]),
2871
2872
  _: 1
2872
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(m(ze), _({
2873
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (r(), w(p(ze), _({
2873
2874
  key: 3,
2874
2875
  modelValue: t.value,
2875
2876
  "onUpdate:modelValue": n[3] || (n[3] = (u) => t.value = u)
@@ -2880,19 +2881,19 @@ const Qt = {
2880
2881
  "option-value": a.optionValue,
2881
2882
  filter: ""
2882
2883
  }), {
2883
- value: g(({ value: u, placeholder: p }) => [
2884
- c("div", yl, [
2884
+ value: b(({ value: u, placeholder: m }) => [
2885
+ c("div", vl, [
2885
2886
  c("span", {
2886
2887
  class: B({ "filter-placeholder": (u == null ? void 0 : u.length) === 0 || u === null })
2887
- }, h(l(u, p)), 3),
2888
- a.showClearButton && (u == null ? void 0 : u.length) > 0 ? (i(), w(r, {
2888
+ }, h(l(u, m)), 3),
2889
+ a.showClearButton && (u == null ? void 0 : u.length) > 0 ? (r(), w(s, {
2889
2890
  key: 0,
2890
2891
  onClick: q(o, ["prevent"]),
2891
2892
  size: "small",
2892
2893
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2893
2894
  }, {
2894
- default: g(() => [
2895
- f(m(V), {
2895
+ default: b(() => [
2896
+ f(p(V), {
2896
2897
  icon: "bi:x",
2897
2898
  width: "1rem",
2898
2899
  height: "1rem",
@@ -2904,19 +2905,19 @@ const Qt = {
2904
2905
  ])
2905
2906
  ]),
2906
2907
  _: 1
2907
- }, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(m(ie), _({
2908
+ }, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), w(p(ie), _({
2908
2909
  key: 4,
2909
2910
  modelValue: t.value,
2910
2911
  "onUpdate:modelValue": n[4] || (n[4] = (u) => t.value = u)
2911
2912
  }, a.$attrs), null, 16, ["modelValue"])),
2912
- a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(r, {
2913
+ a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (r(), w(s, {
2913
2914
  key: 5,
2914
2915
  onClick: q(o, ["prevent"]),
2915
2916
  size: "small",
2916
2917
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
2917
2918
  }, {
2918
- default: g(() => [
2919
- f(m(V), {
2919
+ default: b(() => [
2920
+ f(p(V), {
2920
2921
  icon: "bi:x",
2921
2922
  width: "1rem",
2922
2923
  height: "1rem",
@@ -2933,15 +2934,15 @@ function ve(e, t, l, o) {
2933
2934
  const a = t.flatMap((n) => n.file);
2934
2935
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
2935
2936
  const d = a.findIndex((u) => u.name === n.name);
2936
- let r = "Not Uploaded";
2937
- d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (r = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2937
+ let s = "Not Uploaded";
2938
+ d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (s = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2938
2939
  file: n,
2939
- status: r,
2940
+ status: s,
2940
2941
  blobFileName: null
2941
2942
  })) : t[d].status = "Duplicate";
2942
2943
  }), t;
2943
2944
  }
2944
- async function vl(e, t) {
2945
+ async function bl(e, t) {
2945
2946
  if (e === "Uploaded" && t !== null)
2946
2947
  try {
2947
2948
  await new ce(t).delete();
@@ -2964,13 +2965,16 @@ function re(e, t = !0, l = 1) {
2964
2965
  while (Math.round(Math.abs(e) * d) / d >= o && n < a.length - 1);
2965
2966
  return e.toFixed(l) + " " + a[n];
2966
2967
  }
2967
- function bl(e) {
2968
+ function fl(e) {
2968
2969
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
2969
2970
  }
2970
- function fl(e) {
2971
+ function gl(e) {
2971
2972
  return URL.createObjectURL(e);
2972
2973
  }
2973
- const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disabled", "multiple"], wl = /* @__PURE__ */ F({
2974
+ const hl = { class: "d-flex justify-content-between" }, wl = ["accept", "disabled", "multiple"], xl = {
2975
+ class: "text-break accepted-file-types-container",
2976
+ id: "accepted-file-types-overlay"
2977
+ }, kl = /* @__PURE__ */ F({
2974
2978
  __name: "UploadButton",
2975
2979
  props: /* @__PURE__ */ E({
2976
2980
  acceptedFileTypes: {},
@@ -2982,52 +2986,71 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
2982
2986
  }),
2983
2987
  emits: ["update:modelValue"],
2984
2988
  setup(e) {
2985
- const t = A(e, "modelValue"), l = k(() => e.maxFileInput <= t.value.length), o = (a) => {
2986
- t.value = ve(a, t.value, e.acceptedFileTypes, e.maxFileInput);
2989
+ const t = A(e, "modelValue"), l = M(), o = (d) => l.value.toggle(d), a = k(() => e.maxFileInput <= t.value.length), n = (d) => {
2990
+ t.value = ve(d, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
2991
+ };
2992
+ return (d, s) => {
2993
+ const u = L;
2994
+ return r(), v("div", hl, [
2995
+ $(d.$slots, "message"),
2996
+ c("div", null, [
2997
+ c("input", {
2998
+ id: "file-input",
2999
+ type: "file",
3000
+ class: "d-none",
3001
+ accept: d.acceptedFileTypes.join(", "),
3002
+ disabled: a.value,
3003
+ multiple: d.maxFileInput > 1,
3004
+ onInput: s[0] || (s[0] = (m) => n([...m.target.files]))
3005
+ }, null, 40, wl),
3006
+ c("label", {
3007
+ class: B([{ disabled: a.value }, "btn btn-primary"]),
3008
+ id: "file-input-button",
3009
+ for: "file-input"
3010
+ }, [
3011
+ $(d.$slots, "button-content", {}, () => [
3012
+ f(p(V), {
3013
+ icon: "bi:upload",
3014
+ class: "me-2",
3015
+ height: "20px",
3016
+ width: "20px"
3017
+ }),
3018
+ s[1] || (s[1] = O(" Browse your computer "))
3019
+ ])
3020
+ ], 2)
3021
+ ]),
3022
+ d.showDragDropArea ? (r(), w(u, {
3023
+ link: "",
3024
+ class: "ms-auto",
3025
+ key: d.acceptedFileTypes.length,
3026
+ id: "accepted-file-types",
3027
+ onClick: o
3028
+ }, {
3029
+ default: b(() => s[2] || (s[2] = [
3030
+ O("Accepted File Types")
3031
+ ])),
3032
+ _: 1
3033
+ })) : S("", !0),
3034
+ f(p(Oe), {
3035
+ ref_key: "acceptedFilesOverlay",
3036
+ ref: l
3037
+ }, {
3038
+ default: b(() => [
3039
+ c("div", xl, h(d.acceptedFileTypes.map((m) => m.label ?? m.fileType.split("/").pop()).join(", ")), 1)
3040
+ ]),
3041
+ _: 1
3042
+ }, 512)
3043
+ ]);
2987
3044
  };
2988
- return (a, n) => (i(), v("div", gl, [
2989
- $(a.$slots, "message"),
2990
- c("div", null, [
2991
- c("input", {
2992
- id: "file-input",
2993
- type: "file",
2994
- class: "d-none",
2995
- accept: a.acceptedFileTypes.join(", "),
2996
- disabled: l.value,
2997
- multiple: a.maxFileInput > 1,
2998
- onInput: n[0] || (n[0] = (d) => o([...d.target.files]))
2999
- }, null, 40, hl),
3000
- c("label", {
3001
- class: B([{ disabled: l.value }, "btn btn-primary"]),
3002
- id: "file-input-button",
3003
- for: "file-input"
3004
- }, [
3005
- $(a.$slots, "button-content", {}, () => [
3006
- f(m(V), {
3007
- icon: "bi:upload",
3008
- class: "me-2",
3009
- height: "20px",
3010
- width: "20px"
3011
- }),
3012
- n[1] || (n[1] = O(" Browse your computer "))
3013
- ])
3014
- ], 2)
3015
- ]),
3016
- a.showDragDropArea ? (i(), v("div", {
3017
- class: "ms-auto",
3018
- key: a.acceptedFileTypes.length,
3019
- id: "accepted-file-types"
3020
- }, "Accepted File Types: " + h(a.acceptedFileTypes.map((d) => d.split("/").pop()).join(", ")), 1)) : S("", !0)
3021
- ]));
3022
3045
  }
3023
- }), xl = {
3046
+ }), $l = {
3024
3047
  key: 0,
3025
3048
  class: "py-4 px-3",
3026
3049
  id: "placeholder-message"
3027
- }, kl = {
3050
+ }, Bl = {
3028
3051
  key: 1,
3029
3052
  class: "d-flex flex-column"
3030
- }, $l = /* @__PURE__ */ F({
3053
+ }, Fl = /* @__PURE__ */ F({
3031
3054
  __name: "DragDropArea",
3032
3055
  props: /* @__PURE__ */ E({
3033
3056
  maxFileInput: {},
@@ -3039,30 +3062,30 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3039
3062
  }),
3040
3063
  emits: ["update:modelValue"],
3041
3064
  setup(e) {
3042
- const t = A(e, "modelValue"), l = I(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
3043
- l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = ve([...n.dataTransfer.files], t.value, e.acceptedFileTypes, e.maxFileSize);
3065
+ const t = A(e, "modelValue"), l = M(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
3066
+ l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = ve([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileSize);
3044
3067
  };
3045
- return (n, d) => (i(), v("div", {
3068
+ return (n, d) => (r(), v("div", {
3046
3069
  id: "drag-drop-area",
3047
3070
  class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
3048
- onDragleave: d[0] || (d[0] = q((r) => l.value = !1, ["prevent"])),
3049
- onDragover: d[1] || (d[1] = q((r) => l.value = !0, ["prevent"])),
3071
+ onDragleave: d[0] || (d[0] = q((s) => l.value = !1, ["prevent"])),
3072
+ onDragover: d[1] || (d[1] = q((s) => l.value = !0, ["prevent"])),
3050
3073
  onDrop: q(a, ["prevent"])
3051
3074
  }, [
3052
- t.value.length === 0 ? (i(), v("div", xl, [
3053
- f(m(V), {
3075
+ t.value.length === 0 ? (r(), v("div", $l, [
3076
+ f(p(V), {
3054
3077
  icon: "bi:upload",
3055
3078
  class: "me-2",
3056
3079
  height: "20px",
3057
3080
  width: "20px"
3058
3081
  }),
3059
3082
  d[2] || (d[2] = O(" Drag and drop files here "))
3060
- ])) : (i(), v("div", kl, [
3083
+ ])) : (r(), v("div", Bl, [
3061
3084
  $(n.$slots, "default")
3062
3085
  ]))
3063
3086
  ], 34));
3064
3087
  }
3065
- }), Bl = { class: "d-flex align-items-center me-2" }, Fl = /* @__PURE__ */ F({
3088
+ }), _l = { class: "d-flex align-items-center me-2" }, Sl = /* @__PURE__ */ F({
3066
3089
  __name: "UploadStatus",
3067
3090
  props: {
3068
3091
  fileSize: {},
@@ -3087,41 +3110,41 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3087
3110
  return "Upload Failed: Connection error, please try again.";
3088
3111
  }
3089
3112
  });
3090
- return (o, a) => (i(), v("div", Bl, [
3091
- o.uploadStatus === "Uploading" ? (i(), w(Gt, {
3113
+ return (o, a) => (r(), v("div", _l, [
3114
+ o.uploadStatus === "Uploading" ? (r(), w(Kt, {
3092
3115
  key: 0,
3093
3116
  pixelWidth: 200,
3094
3117
  animate: "",
3095
3118
  striped: ""
3096
3119
  }, {
3097
- default: g(() => [
3120
+ default: b(() => [
3098
3121
  O(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
3099
3122
  ]),
3100
3123
  _: 1
3101
3124
  })) : S("", !0),
3102
- o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (i(), w(ae, {
3125
+ o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (r(), w(ae, {
3103
3126
  key: 1,
3104
3127
  id: "upload-status-alert",
3105
3128
  severity: t.value,
3106
3129
  class: "mb-0 w-75 ms-auto"
3107
3130
  }, {
3108
- default: g(() => [
3131
+ default: b(() => [
3109
3132
  O(h(l.value), 1)
3110
3133
  ]),
3111
3134
  _: 1
3112
3135
  }, 8, ["severity"])) : S("", !0)
3113
3136
  ]));
3114
3137
  }
3115
- }), _l = ["data-cy"], Sl = { class: "ms-3 d-flex flex-column" }, Vl = {
3138
+ }), Vl = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Tl = {
3116
3139
  key: 1,
3117
3140
  id: "file-name"
3118
- }, Cl = {
3141
+ }, Pl = {
3119
3142
  class: "text-black-50",
3120
3143
  id: "file-type"
3121
- }, Tl = {
3144
+ }, Ml = {
3122
3145
  class: "text-black-50",
3123
3146
  id: "file-size"
3124
- }, Pl = { class: "ms-auto my-auto d-flex" }, Ml = /* @__PURE__ */ F({
3147
+ }, Il = { class: "ms-auto my-auto d-flex" }, zl = /* @__PURE__ */ F({
3125
3148
  __name: "FileInfo",
3126
3149
  props: /* @__PURE__ */ E({
3127
3150
  editableFileName: { type: Boolean },
@@ -3140,55 +3163,55 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3140
3163
  }),
3141
3164
  emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3142
3165
  setup(e, { emit: t }) {
3143
- const l = A(e, "file"), o = A(e, "blobFileName"), a = A(e, "uploadStatus"), n = t, d = I(l.value.name), r = I(""), u = I(0), p = I(), y = k(() => e.acceptedFileTypes.includes(l.value.type)), s = k(() => l.value.size <= e.maxFileSize), T = () => {
3166
+ const l = A(e, "file"), o = A(e, "blobFileName"), a = A(e, "uploadStatus"), n = t, d = M(l.value.name), s = M(""), u = M(0), m = M(), y = k(() => e.acceptedFileTypes.includes(l.value.type)), i = k(() => l.value.size <= e.maxFileSize), T = () => {
3144
3167
  l.value = new File([l.value], d.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3145
3168
  }, C = async () => {
3146
- if (!y.value || !s.value) {
3169
+ if (!y.value || !i.value) {
3147
3170
  a.value = y.value ? "InvalidFileSize" : "InvalidFileType";
3148
3171
  return;
3149
3172
  }
3150
- a.value = "Preparing", p.value = new AbortController();
3151
- const [M, z] = await e.getFileUrlAction(l.value.name);
3152
- if (!M) {
3173
+ a.value = "Preparing", m.value = new AbortController();
3174
+ const [I, z] = await e.getFileUrlAction(l.value.name);
3175
+ if (!I) {
3153
3176
  a.value = "Failed";
3154
3177
  return;
3155
3178
  }
3156
3179
  try {
3157
3180
  a.value = "Uploading";
3158
- const b = new ce(M), x = {
3159
- abortSignal: p.value.signal,
3181
+ const g = new ce(I), x = {
3182
+ abortSignal: m.value.signal,
3160
3183
  onProgress: (G) => u.value = G.loadedBytes,
3161
3184
  tags: { temp: "true" }
3162
3185
  };
3163
- await b.uploadData(l.value, x), r.value = M, a.value = "Uploaded", o.value = z;
3164
- } catch (b) {
3165
- if (b.name === "AbortError") {
3186
+ await g.uploadData(l.value, x), s.value = I, a.value = "Uploaded", o.value = z;
3187
+ } catch (g) {
3188
+ if (g.name === "AbortError") {
3166
3189
  a.value = "Aborted";
3167
3190
  return;
3168
3191
  }
3169
3192
  a.value = "Failed";
3170
3193
  }
3171
3194
  }, P = async () => {
3172
- await vl(a.value, r.value), n("deleted", l.value);
3195
+ await bl(a.value, s.value), n("deleted", l.value);
3173
3196
  };
3174
3197
  return ne(() => {
3175
3198
  e.autoUploadToBlob && C();
3176
- }), (M, z) => {
3177
- const b = R;
3178
- return i(), v("div", {
3199
+ }), (I, z) => {
3200
+ const g = L;
3201
+ return r(), v("div", {
3179
3202
  class: "py-4 px-3 d-flex",
3180
3203
  "data-cy": `file-info-${l.value.name}`
3181
3204
  }, [
3182
3205
  c("div", null, [
3183
- m(bl)(l.value.type) ? (i(), w(m(Oe), {
3206
+ p(fl)(l.value.type) ? (r(), w(p(De), {
3184
3207
  key: 0,
3185
3208
  id: "thumbnail-image",
3186
3209
  "image-class": "image-file-thumbnail border",
3187
- src: m(fl)(l.value),
3210
+ src: p(gl)(l.value),
3188
3211
  alt: l.value.name,
3189
3212
  width: "75px",
3190
3213
  preview: ""
3191
- }, null, 8, ["src", "alt"])) : (i(), w(m(V), {
3214
+ }, null, 8, ["src", "alt"])) : (r(), w(p(V), {
3192
3215
  key: 1,
3193
3216
  id: "file-earmark",
3194
3217
  icon: "bi:file-earmark",
@@ -3196,76 +3219,76 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3196
3219
  width: "75px"
3197
3220
  }))
3198
3221
  ]),
3199
- c("div", Sl, [
3222
+ c("div", Cl, [
3200
3223
  c("div", null, [
3201
- M.editableFileName ? (i(), w($t, {
3224
+ I.editableFileName ? (r(), w(Bt, {
3202
3225
  key: 0,
3203
3226
  id: "edit-file-name",
3204
3227
  modelValue: d.value,
3205
3228
  "onUpdate:modelValue": z[0] || (z[0] = (x) => d.value = x),
3206
- rules: M.customFileNameRules,
3229
+ rules: I.customFileNameRules,
3207
3230
  name: l.value.name,
3208
3231
  "complete-action": T
3209
- }, null, 8, ["modelValue", "rules", "name"])) : (i(), v("span", Vl, h(l.value.name), 1))
3232
+ }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", Tl, h(l.value.name), 1))
3210
3233
  ]),
3211
- c("span", Cl, "File type: " + h(l.value.type.split("/").pop()), 1),
3212
- c("span", Tl, "File size: " + h(m(re)(l.value.size)), 1)
3234
+ c("span", Pl, "File type: " + h(l.value.type.split("/").pop()), 1),
3235
+ c("span", Ml, "File size: " + h(p(re)(l.value.size)), 1)
3213
3236
  ]),
3214
- c("div", Pl, [
3215
- (i(), w(Fl, {
3237
+ c("div", Il, [
3238
+ (r(), w(Sl, {
3216
3239
  key: a.value,
3217
3240
  "file-size": l.value.size,
3218
3241
  "upload-status": a.value,
3219
3242
  "bytes-uploaded": u.value,
3220
- "max-file-size": M.maxFileSize
3243
+ "max-file-size": I.maxFileSize
3221
3244
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
3222
- a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (i(), w(b, {
3245
+ a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (r(), w(g, {
3223
3246
  key: 0,
3224
3247
  link: "",
3225
3248
  onClick: C
3226
3249
  }, {
3227
- default: g(() => [
3228
- f(m(V), {
3250
+ default: b(() => [
3251
+ f(p(V), {
3229
3252
  icon: a.value === "Not Uploaded" || a.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
3230
3253
  }, null, 8, ["icon"])
3231
3254
  ]),
3232
3255
  _: 1
3233
3256
  })) : S("", !0),
3234
- a.value === "Uploading" ? (i(), w(b, {
3257
+ a.value === "Uploading" ? (r(), w(g, {
3235
3258
  key: 1,
3236
3259
  link: "",
3237
- onClick: z[1] || (z[1] = (x) => p.value.value.abort())
3260
+ onClick: z[1] || (z[1] = (x) => m.value.value.abort())
3238
3261
  }, {
3239
- default: g(() => [
3240
- f(m(V), { icon: "bi:x-circle-fill" })
3262
+ default: b(() => [
3263
+ f(p(V), { icon: "bi:x-circle-fill" })
3241
3264
  ]),
3242
3265
  _: 1
3243
- })) : (i(), w(b, {
3266
+ })) : (r(), w(g, {
3244
3267
  key: 2,
3245
3268
  link: "",
3246
3269
  onClick: P,
3247
3270
  id: "delete-button"
3248
3271
  }, {
3249
- default: g(() => [
3250
- f(m(V), { icon: "bi:trash" })
3272
+ default: b(() => [
3273
+ f(p(V), { icon: "bi:trash" })
3251
3274
  ]),
3252
3275
  _: 1
3253
3276
  }))
3254
3277
  ])
3255
- ], 8, _l);
3278
+ ], 8, Vl);
3256
3279
  };
3257
3280
  }
3258
- }), Il = { class: "d-flex justify-content-end mt-1" }, zl = { id: "max-file-size" }, Ol = /* @__PURE__ */ F({
3281
+ }), Ol = { class: "d-flex justify-content-end mt-1" }, Dl = { id: "max-file-size" }, Ul = /* @__PURE__ */ F({
3259
3282
  __name: "MaxFileSize",
3260
3283
  props: {
3261
3284
  maxFileSize: {}
3262
3285
  },
3263
3286
  setup(e) {
3264
- return (t, l) => (i(), v("div", Il, [
3265
- c("div", zl, "Max file size: " + h(m(re)(t.maxFileSize)), 1)
3287
+ return (t, l) => (r(), v("div", Ol, [
3288
+ c("div", Dl, "Max file size: " + h(p(re)(t.maxFileSize)), 1)
3266
3289
  ]));
3267
3290
  }
3268
- }), Dl = { "data-cy": "file-uploader" }, Ul = { key: 0 }, Ca = /* @__PURE__ */ F({
3291
+ }), Al = { "data-cy": "file-uploader" }, Nl = { key: 0 }, Ma = /* @__PURE__ */ F({
3269
3292
  __name: "ForgeFileUploader",
3270
3293
  props: /* @__PURE__ */ E({
3271
3294
  acceptedFileTypes: {},
@@ -3285,37 +3308,37 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3285
3308
  const t = A(e, "modelValue"), l = e, o = (a) => {
3286
3309
  t.value = t.value.filter((n) => n.file != a);
3287
3310
  };
3288
- return (a, n) => (i(), v("div", Dl, [
3289
- f(wl, _(l, {
3311
+ return (a, n) => (r(), v("div", Al, [
3312
+ f(kl, _(l, {
3290
3313
  modelValue: t.value,
3291
3314
  "onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
3292
3315
  }), null, 16, ["modelValue"]),
3293
- a.showDragDropArea ? (i(), v("div", Ul, [
3294
- f($l, {
3316
+ a.showDragDropArea ? (r(), v("div", Nl, [
3317
+ f(Fl, {
3295
3318
  "max-file-input": l.maxFileInput,
3296
3319
  "max-file-size": l.maxFileSize,
3297
3320
  "accepted-file-types": l.acceptedFileTypes,
3298
3321
  modelValue: t.value,
3299
3322
  "onUpdate:modelValue": n[1] || (n[1] = (d) => t.value = d)
3300
3323
  }, {
3301
- default: g(() => [
3302
- (i(!0), v(L, null, Y(t.value, ({ file: d }, r) => (i(), v("span", null, [
3303
- (i(), w(Ml, _({
3324
+ default: b(() => [
3325
+ (r(!0), v(R, null, Y(t.value, ({ file: d }, s) => (r(), v("span", null, [
3326
+ (r(), w(zl, _({
3304
3327
  key: d.name,
3305
- class: r === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3306
- file: t.value[r].file,
3307
- "onUpdate:file": (u) => t.value[r].file = u,
3308
- "blob-file-name": t.value[r].blobFileName,
3309
- "onUpdate:blobFileName": (u) => t.value[r].blobFileName = u,
3310
- "upload-status": t.value[r].status,
3311
- "onUpdate:uploadStatus": (u) => t.value[r].status = u,
3328
+ class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3329
+ file: t.value[s].file,
3330
+ "onUpdate:file": (u) => t.value[s].file = u,
3331
+ "blob-file-name": t.value[s].blobFileName,
3332
+ "onUpdate:blobFileName": (u) => t.value[s].blobFileName = u,
3333
+ "upload-status": t.value[s].status,
3334
+ "onUpdate:uploadStatus": (u) => t.value[s].status = u,
3312
3335
  ref_for: !0
3313
3336
  }, l, { onDeleted: o }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
3314
3337
  ]))), 256))
3315
3338
  ]),
3316
3339
  _: 1
3317
3340
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3318
- f(Ol, {
3341
+ f(Ul, {
3319
3342
  "max-file-size": l.maxFileSize
3320
3343
  }, null, 8, ["max-file-size"])
3321
3344
  ])) : S("", !0)
@@ -3323,31 +3346,31 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3323
3346
  }
3324
3347
  });
3325
3348
  export {
3326
- ca as Bootstrap_PT,
3327
- ma as ForgeActionButton,
3349
+ ya as Bootstrap_PT,
3350
+ va as ForgeActionButton,
3328
3351
  ae as ForgeAlert,
3329
- ct as ForgeCheckbox,
3330
- $a as ForgeChips,
3352
+ mt as ForgeCheckbox,
3353
+ _a as ForgeChips,
3331
3354
  ye as ForgeDatepicker,
3332
- Ca as ForgeFileUploader,
3333
- Va as ForgeFilterHeader,
3334
- xa as ForgeForm,
3335
- ka as ForgeFormField,
3336
- $t as ForgeInlineEditor,
3337
- pa as ForgeLink,
3355
+ Ma as ForgeFileUploader,
3356
+ Pa as ForgeFilterHeader,
3357
+ Ba as ForgeForm,
3358
+ Fa as ForgeFormField,
3359
+ Bt as ForgeInlineEditor,
3360
+ ba as ForgeLink,
3338
3361
  me as ForgeLoader,
3339
- ba as ForgeModal,
3362
+ ha as ForgeModal,
3340
3363
  pe as ForgeMultiSelect,
3341
- ga as ForgeMultiSelectPreview,
3342
- fa as ForgeNavbar,
3343
- ha as ForgePageHeader,
3344
- Gt as ForgeProgressBar,
3345
- wa as ForgeRemainingCharacters,
3346
- Ba as ForgeStatWidget,
3347
- Fa as ForgeStepper,
3348
- Sa as ForgeTable,
3349
- _a as ForgeTile,
3350
- va as convertToMultiSelectOption,
3351
- ya as enumToMultiSelectList,
3352
- yt as parseError
3364
+ xa as ForgeMultiSelectPreview,
3365
+ wa as ForgeNavbar,
3366
+ ka as ForgePageHeader,
3367
+ Kt as ForgeProgressBar,
3368
+ $a as ForgeRemainingCharacters,
3369
+ Sa as ForgeStatWidget,
3370
+ Va as ForgeStepper,
3371
+ Ta as ForgeTable,
3372
+ Ca as ForgeTile,
3373
+ ga as convertToMultiSelectOption,
3374
+ fa as enumToMultiSelectList,
3375
+ vt as parseError
3353
3376
  };