@3squared/forge-ui-3 1.3.2 → 1.3.4

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,31 +1,31 @@
1
- import ge 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 m, normalizeClass as B, unref as p, createCommentVNode as T, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as _, mergeModels as R, useModel as U, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as H, vShow as q, createSlots as te, renderList as j, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as W, normalizeStyle as we, watch as ue } from "vue";
3
- import { Icon as C } from "@iconify/vue";
4
- import L from "primevue/button";
5
- import xe from "primevue/toast";
6
- import ce from "primevue/checkbox";
7
- import { useField as G } from "vee-validate";
8
- import ke from "primevue/progressspinner";
9
- import $e from "primevue/dialog";
10
- import ie from "primevue/inputtext";
11
- import { vOnClickOutside as Be } from "@vueuse/components";
12
- import Fe from "primevue/menubar";
13
- import _e from "vue-multiselect";
14
- import re from "primevue/multiselect";
15
- import Ce from "primevue/calendar";
16
- import ae from "primevue/dropdown";
17
- import Ve from "primevue/inputmask";
18
- import Se from "primevue/textarea";
19
- import me from "primevue/inputnumber";
20
- import Te from "primevue/chips";
21
- import Pe from "primevue/progressbar";
22
- import Me from "primevue/divider";
23
- import Ie from "primevue/steps";
24
- import ze from "primevue/datatable";
25
- import { BlockBlobClient as pe } from "@azure/storage-blob";
26
- import ve from "primevue/overlaypanel";
27
- import Oe from "primevue/image";
28
- const De = {
1
+ import Fe from "primevue/message";
2
+ import { defineComponent as F, openBlock as p, createBlock as w, normalizeProps as ie, guardReactiveProps as le, withCtx as g, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as C, createVNode as f, renderSlot as $, ref as T, createElementBlock as x, Fragment as q, mergeProps as z, mergeModels as N, useModel as O, computed as k, createTextVNode as P, toDisplayString as h, withDirectives as H, vShow as Y, createSlots as oe, renderList as W, onMounted as ne, isRef as de, withKeys as ae, useAttrs as ze, withModifiers as G, normalizeStyle as _e, watch as xe } from "vue";
3
+ import { Icon as _ } from "@iconify/vue";
4
+ import A from "primevue/button";
5
+ import je from "primevue/toast";
6
+ import be from "primevue/checkbox";
7
+ import { useField as X } from "vee-validate";
8
+ import Ce from "primevue/progressspinner";
9
+ import Se from "primevue/dialog";
10
+ import ce from "primevue/inputtext";
11
+ import { vOnClickOutside as Ve } from "@vueuse/components";
12
+ import Te from "primevue/menubar";
13
+ import Me from "vue-multiselect";
14
+ import me from "primevue/multiselect";
15
+ import Pe from "primevue/calendar";
16
+ import se from "primevue/dropdown";
17
+ import Ie from "primevue/inputmask";
18
+ import Oe from "primevue/textarea";
19
+ import ge from "primevue/inputnumber";
20
+ import De from "primevue/chips";
21
+ import Ue from "primevue/progressbar";
22
+ import qe from "primevue/divider";
23
+ import Ae from "primevue/steps";
24
+ import Ee from "primevue/datatable";
25
+ import { BlockBlobClient as ye } from "@azure/storage-blob";
26
+ import he from "primevue/overlaypanel";
27
+ import Le from "primevue/image";
28
+ const Ne = {
29
29
  button: {
30
30
  root: ({ props: e }) => ({
31
31
  class: [
@@ -116,7 +116,7 @@ const De = {
116
116
  ]
117
117
  })
118
118
  }
119
- }, Ue = {
119
+ }, Re = {
120
120
  checkbox: {
121
121
  root: () => ({
122
122
  class: [
@@ -134,7 +134,7 @@ const De = {
134
134
  ]
135
135
  })
136
136
  }
137
- }, Ae = {
137
+ }, He = {
138
138
  dropdown: {
139
139
  root: ({ props: e }) => ({
140
140
  class: [
@@ -184,18 +184,18 @@ const De = {
184
184
  ]
185
185
  })
186
186
  }
187
- }, Ne = {
187
+ }, We = {
188
188
  column: {
189
189
  sortBadge: "ms-2 my-auto cursor-pointer",
190
190
  headerCell: (e) => {
191
- var t, l, o, a;
191
+ var a, t, i, l;
192
192
  return {
193
193
  class: [
194
194
  "align-top",
195
195
  {
196
196
  "cursor-move": e.props.reorderableColumns,
197
- "position-sticky": ((t = e.column) == null ? void 0 : t.context.frozen) !== void 0 || ((l = e.column) == null ? void 0 : l.context.frozen) || ((o = e.column) == null ? void 0 : o.context.frozen) === "",
198
- "overflow-hidden position-relative bg-clip-padding": (a = e.column) == null ? void 0 : a.context.resizable
197
+ "position-sticky": ((a = e.column) == null ? void 0 : a.context.frozen) !== void 0 || ((t = e.column) == null ? void 0 : t.context.frozen) || ((i = e.column) == null ? void 0 : i.context.frozen) === "",
198
+ "overflow-hidden position-relative bg-clip-padding": (l = e.column) == null ? void 0 : l.context.resizable
199
199
  }
200
200
  ]
201
201
  };
@@ -210,10 +210,10 @@ const De = {
210
210
  roweditorsavebutton: "btn",
211
211
  roweditorcancelbutton: "btn",
212
212
  bodyCell: (e) => {
213
- var t;
213
+ var a;
214
214
  return {
215
215
  class: {
216
- "position-sticky": ((t = e.column.props) == null ? void 0 : t.frozen) !== void 0,
216
+ "position-sticky": ((a = e.column.props) == null ? void 0 : a.frozen) !== void 0,
217
217
  "overflow-hidden text-nowrap": e.props.resizableColumns
218
218
  }
219
219
  };
@@ -248,13 +248,13 @@ const De = {
248
248
  columnfilter: "d-flex w-100",
249
249
  filterinput: "w-100",
250
250
  filterRowItem: (e) => {
251
- var t;
251
+ var a;
252
252
  return {
253
253
  class: [
254
254
  "dropdown-item cursor-pointer",
255
255
  {
256
256
  //@ts-ignore
257
- active: (t = e.column.context) == null ? void 0 : t.highlighted
257
+ active: (a = e.column.context) == null ? void 0 : a.highlighted
258
258
  }
259
259
  ]
260
260
  };
@@ -285,22 +285,22 @@ const De = {
285
285
  ]
286
286
  })
287
287
  }
288
- }, Le = {
288
+ }, Ye = {
289
289
  inputtext: {
290
290
  root: (e) => {
291
- var t, l;
291
+ var a, t;
292
292
  return {
293
293
  class: [
294
294
  "form-control",
295
295
  {
296
- "form-control-lg": ((t = e.props.size) == null ? void 0 : t.toLowerCase()) == "large",
297
- "form-control-sm": ((l = e.props.size) == null ? void 0 : l.toLowerCase()) == "small"
296
+ "form-control-lg": ((a = e.props.size) == null ? void 0 : a.toLowerCase()) == "large",
297
+ "form-control-sm": ((t = e.props.size) == null ? void 0 : t.toLowerCase()) == "small"
298
298
  }
299
299
  ]
300
300
  };
301
301
  }
302
302
  }
303
- }, Ee = {
303
+ }, Ge = {
304
304
  inputmask: {
305
305
  root: () => ({
306
306
  class: [
@@ -308,12 +308,12 @@ const De = {
308
308
  ]
309
309
  })
310
310
  }
311
- }, Re = {
311
+ }, Ke = {
312
312
  inputSwitch: {
313
313
  root: "form-check form-switch",
314
314
  input: "form-check-input"
315
315
  }
316
- }, He = {
316
+ }, Ze = {
317
317
  textarea: {
318
318
  root: () => ({
319
319
  class: [
@@ -321,13 +321,13 @@ const De = {
321
321
  ]
322
322
  })
323
323
  }
324
- }, je = {
324
+ }, Je = {
325
325
  // More PassThrough options in component file.
326
326
  chips: {
327
327
  root: "d-flex",
328
328
  label: "pe-2"
329
329
  }
330
- }, qe = {
330
+ }, Xe = {
331
331
  dialog: {
332
332
  header: () => ({
333
333
  class: ["modal-header"]
@@ -370,7 +370,7 @@ const De = {
370
370
  ]
371
371
  })
372
372
  }
373
- }, Ye = {
373
+ }, Qe = {
374
374
  overlaypanel: {
375
375
  root: (e) => ({
376
376
  class: [
@@ -384,7 +384,7 @@ const De = {
384
384
  content: "d-flex position-relative",
385
385
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
386
386
  }
387
- }, We = {
387
+ }, ea = {
388
388
  message: {
389
389
  root: ({ props: e }) => ({
390
390
  class: [
@@ -413,13 +413,13 @@ const De = {
413
413
  class: ["px-0 ms-2 btn d-flex"]
414
414
  })
415
415
  }
416
- }, Ge = {
416
+ }, aa = {
417
417
  // More PT options defined in ForgeStepper.
418
418
  steps: {
419
419
  root: "w-100 mx-2 line",
420
420
  menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
421
421
  }
422
- }, Ke = {
422
+ }, ta = {
423
423
  tabview: {
424
424
  navContainer: () => ({
425
425
  class: ["nav nav-tabs position-relative"]
@@ -442,13 +442,13 @@ const De = {
442
442
  class: ["nav-item"]
443
443
  }),
444
444
  headerAction: (e) => {
445
- var t;
445
+ var a;
446
446
  return {
447
447
  class: [
448
448
  "nav-link cursor-pointer",
449
449
  {
450
450
  active: e.tabpanel.context.active,
451
- disabled: (t = e.tabpanel.props) == null ? void 0 : t.disabled
451
+ disabled: (a = e.tabpanel.props) == null ? void 0 : a.disabled
452
452
  }
453
453
  ]
454
454
  };
@@ -457,7 +457,7 @@ const De = {
457
457
  class: ["p-2"]
458
458
  })
459
459
  }
460
- }, Ze = {
460
+ }, ia = {
461
461
  // More PassThrough options defined in ForgeDatepicker.
462
462
  calendar: {
463
463
  root: "d-inline-flex relative w-100",
@@ -530,7 +530,7 @@ const De = {
530
530
  decrementButton: "btn btn-sm",
531
531
  incrementButton: "btn btn-sm"
532
532
  }
533
- }, Je = {
533
+ }, la = {
534
534
  multiselect: {
535
535
  root: ({ props: e }) => ({
536
536
  class: [
@@ -565,7 +565,7 @@ const De = {
565
565
  ]
566
566
  })
567
567
  }
568
- }, Xe = {
568
+ }, oa = {
569
569
  // More PassThrough options in component file.
570
570
  progressbar: {
571
571
  root: () => ({
@@ -578,7 +578,7 @@ const De = {
578
578
  class: ["text-white"]
579
579
  })
580
580
  }
581
- }, Qe = {
581
+ }, na = {
582
582
  // More PT options can be found in the ForgeTable file.
583
583
  dataTable: {
584
584
  datatable: "position-relative",
@@ -613,12 +613,12 @@ const De = {
613
613
  },
614
614
  paginator: {
615
615
  root: (e) => {
616
- var t;
616
+ var a;
617
617
  return {
618
618
  class: [
619
619
  "m-auto pagination justify-content-center",
620
620
  {
621
- "opacity-50": (t = e.parent) == null ? void 0 : t.props.loading
621
+ "opacity-50": (a = e.parent) == null ? void 0 : a.props.loading
622
622
  }
623
623
  ]
624
624
  };
@@ -638,7 +638,7 @@ const De = {
638
638
  ]
639
639
  })
640
640
  }
641
- }, et = {
641
+ }, sa = {
642
642
  badge: {
643
643
  root: ({ props: e }) => ({
644
644
  class: [
@@ -659,7 +659,7 @@ const De = {
659
659
  ]
660
660
  })
661
661
  }
662
- }, tt = {
662
+ }, ra = {
663
663
  // More PassThrough options in component file.
664
664
  menubar: {
665
665
  menu: ({ instance: e }) => ({
@@ -678,14 +678,14 @@ const De = {
678
678
  }
679
679
  ]
680
680
  }),
681
- action: ({ context: e, instance: t }) => ({
681
+ action: ({ context: e, instance: a }) => ({
682
682
  class: [
683
683
  {
684
684
  active: e.active,
685
685
  "nav-link": e.level === 0,
686
686
  "dropdown-item": e.level > 0,
687
687
  disabled: e.item.item.disabled,
688
- "px-3": t.mobileActive
688
+ "px-3": a.mobileActive
689
689
  }
690
690
  ]
691
691
  }),
@@ -729,7 +729,7 @@ const De = {
729
729
  ]
730
730
  })
731
731
  }
732
- }, lt = {
732
+ }, pa = {
733
733
  tooltip: {
734
734
  root: ({ context: e }) => ({
735
735
  class: [
@@ -751,12 +751,12 @@ const De = {
751
751
  class: ["tooltip-inner"]
752
752
  }
753
753
  }
754
- }, at = {
754
+ }, da = {
755
755
  selectbutton: {
756
756
  root: () => ({
757
757
  class: ["btn-group"]
758
758
  }),
759
- button: ({ context: e, props: t }) => ({
759
+ button: ({ context: e, props: a }) => ({
760
760
  class: [
761
761
  "btn",
762
762
  {
@@ -764,12 +764,12 @@ const De = {
764
764
  "btn-outline-primary": !e.active
765
765
  },
766
766
  {
767
- "disabled w-auto": t.disabled || t.optionDisabled === e.option
767
+ "disabled w-auto": a.disabled || a.optionDisabled === e.option
768
768
  }
769
769
  ]
770
770
  })
771
771
  }
772
- }, ot = {
772
+ }, ca = {
773
773
  progressspinner: {
774
774
  spinner: () => ({
775
775
  class: [
@@ -777,7 +777,7 @@ const De = {
777
777
  ]
778
778
  })
779
779
  }
780
- }, nt = {
780
+ }, ma = {
781
781
  card: {
782
782
  root: () => ({
783
783
  class: ["card"]
@@ -801,11 +801,11 @@ const De = {
801
801
  class: ["card-header"]
802
802
  })
803
803
  }
804
- }, st = {
804
+ }, ua = {
805
805
  divider: {
806
806
  root: "border-bottom w-100 m-1"
807
807
  }
808
- }, it = {
808
+ }, va = {
809
809
  image: {
810
810
  root: "position-relative d-inline-block",
811
811
  button: "preview-button",
@@ -818,7 +818,7 @@ const De = {
818
818
  zoominbutton: "btn text-white",
819
819
  closebutton: "btn text-white"
820
820
  }
821
- }, rt = {
821
+ }, fa = {
822
822
  toast: {
823
823
  message: () => ({
824
824
  class: ["toast-container w-100 position-relative"]
@@ -842,21 +842,21 @@ const De = {
842
842
  class: ["ps-1"]
843
843
  }),
844
844
  icon: ({ props: e }) => {
845
- var t, l, o, a;
845
+ var a, t, i, l;
846
846
  return {
847
847
  class: [
848
848
  "toast-icon",
849
849
  {
850
- "text-primary": ((t = e.message) == null ? void 0 : t.severity) === "info",
851
- "text-success": ((l = e.message) == null ? void 0 : l.severity) === "success",
852
- "text-danger": ((o = e.message) == null ? void 0 : o.severity) === "error",
853
- "text-warning": ((a = e.message) == null ? void 0 : a.severity) === "warn"
850
+ "text-primary": ((a = e.message) == null ? void 0 : a.severity) === "info",
851
+ "text-success": ((t = e.message) == null ? void 0 : t.severity) === "success",
852
+ "text-danger": ((i = e.message) == null ? void 0 : i.severity) === "error",
853
+ "text-warning": ((l = e.message) == null ? void 0 : l.severity) === "warn"
854
854
  }
855
855
  ]
856
856
  };
857
857
  }
858
858
  }
859
- }, dt = {
859
+ }, xa = {
860
860
  fieldset: {
861
861
  root: () => ({
862
862
  class: [
@@ -879,38 +879,38 @@ const De = {
879
879
  ]
880
880
  })
881
881
  }
882
- }, ga = {
883
- ...et,
884
- ...De,
885
- ...nt,
886
- ...Ue,
887
- ...je,
882
+ }, zi = {
883
+ ...sa,
888
884
  ...Ne,
889
- ...Ze,
890
- ...qe,
891
- ...st,
892
- ...Ae,
893
- ...it,
894
- ...Le,
895
- ...Ee,
885
+ ...ma,
896
886
  ...Re,
897
- ...We,
898
887
  ...Je,
899
- ...tt,
900
- ...Ye,
888
+ ...We,
889
+ ...ia,
901
890
  ...Xe,
902
- ...ot,
903
- ...at,
891
+ ...ua,
892
+ ...He,
893
+ ...va,
894
+ ...Ye,
904
895
  ...Ge,
905
- ...Qe,
906
896
  ...Ke,
907
- ...rt,
908
- ...He,
909
- ...dt,
897
+ ...ea,
898
+ ...la,
899
+ ...ra,
900
+ ...Qe,
901
+ ...oa,
902
+ ...ca,
903
+ ...da,
904
+ ...aa,
905
+ ...na,
906
+ ...ta,
907
+ ...fa,
908
+ ...Ze,
909
+ ...xa,
910
910
  directives: {
911
- ...lt
911
+ ...pa
912
912
  }
913
- }, oe = /* @__PURE__ */ F({
913
+ }, re = /* @__PURE__ */ F({
914
914
  __name: "ForgeAlert",
915
915
  props: {
916
916
  severity: { default: "primary" },
@@ -925,34 +925,34 @@ const De = {
925
925
  unstyled: { type: Boolean }
926
926
  },
927
927
  setup(e) {
928
- const t = e;
929
- return (l, o) => {
930
- const a = ge;
931
- return i(), w(a, Q(ee({ ...l.$attrs, ...t })), {
928
+ const a = e;
929
+ return (t, i) => {
930
+ const l = Fe;
931
+ return p(), w(l, ie(le({ ...t.$attrs, ...a })), {
932
932
  messageicon: g(() => [
933
933
  m("div", {
934
- class: B(t.icon ? "me-2 pe-1" : "")
934
+ class: B(a.icon ? "me-2 pe-1" : "")
935
935
  }, [
936
- t.icon ? (i(), w(p(C), {
936
+ a.icon ? (p(), w(u(_), {
937
937
  key: 0,
938
938
  "data-cy": "message-icon",
939
- icon: t.icon,
940
- class: B(`text-${t.severity}`),
939
+ icon: a.icon,
940
+ class: B(`text-${a.severity}`),
941
941
  height: 35
942
- }, null, 8, ["icon", "class"])) : T("", !0)
942
+ }, null, 8, ["icon", "class"])) : C("", !0)
943
943
  ], 2)
944
944
  ]),
945
945
  closeicon: g(() => [
946
- y(p(C), { icon: "bi:x" })
946
+ f(u(_), { icon: "bi:x" })
947
947
  ]),
948
948
  default: g(() => [
949
- $(l.$slots, "default")
949
+ $(t.$slots, "default")
950
950
  ]),
951
951
  _: 3
952
952
  }, 16);
953
953
  };
954
954
  }
955
- }), ha = /* @__PURE__ */ F({
955
+ }), _i = /* @__PURE__ */ F({
956
956
  __name: "ForgeActionButton",
957
957
  props: {
958
958
  action: {},
@@ -961,30 +961,30 @@ const De = {
961
961
  params: { default: Array }
962
962
  },
963
963
  setup(e) {
964
- const t = P(!1), l = e, o = async () => {
965
- t.value = !0;
964
+ const a = T(!1), t = e, i = async () => {
965
+ a.value = !0;
966
966
  try {
967
- await l.action.apply(this, l.params);
968
- } catch (a) {
969
- await l.errorAction.apply(this, l.errorParams ? [...l.errorParams, a] : [a]);
967
+ await t.action.apply(this, t.params);
968
+ } catch (l) {
969
+ await t.errorAction.apply(this, t.errorParams ? [...t.errorParams, l] : [l]);
970
970
  }
971
- t.value = !1;
971
+ a.value = !1;
972
972
  };
973
- return (a, n) => {
974
- const r = L;
975
- return i(), b(N, null, [
976
- y(r, _({ ...l, ...a.$attrs }, {
977
- loading: t.value,
978
- disabled: t.value || l.disabled,
979
- onClick: o
973
+ return (l, o) => {
974
+ const r = A;
975
+ return p(), x(q, null, [
976
+ f(r, z({ ...t, ...l.$attrs }, {
977
+ loading: a.value,
978
+ disabled: a.value || t.disabled,
979
+ onClick: i
980
980
  }), null, 16, ["loading", "disabled"]),
981
- y(p(xe))
981
+ f(u(je))
982
982
  ], 64);
983
983
  };
984
984
  }
985
- }), ut = { class: "d-flex flex-column" }, ct = ["for"], mt = /* @__PURE__ */ F({
985
+ }), ba = { class: "d-flex flex-column" }, ga = ["for"], ya = /* @__PURE__ */ F({
986
986
  __name: "ForgeCheckbox",
987
- props: /* @__PURE__ */ R({
987
+ props: /* @__PURE__ */ N({
988
988
  label: { default: "" },
989
989
  value: {},
990
990
  modelValue: {},
@@ -1012,68 +1012,68 @@ const De = {
1012
1012
  }),
1013
1013
  emits: ["update:modelValue"],
1014
1014
  setup(e) {
1015
- const t = e, l = U(e, "modelValue"), { handleChange: o, errors: a, errorMessage: n } = G(
1016
- () => t.name ?? "",
1015
+ const a = e, t = O(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = X(
1016
+ () => a.name ?? "",
1017
1017
  void 0,
1018
1018
  {
1019
1019
  type: "checkbox",
1020
- checkedValue: l.value
1020
+ checkedValue: t.value
1021
1021
  }
1022
- ), r = (u) => {
1023
- t.name ? o(u) : l.value = u;
1024
- }, d = k(() => a.value.length > 0);
1025
- return (u, c) => {
1026
- const v = ce;
1027
- return i(), b("div", ut, [
1028
- m("div", _({
1022
+ ), r = (d) => {
1023
+ a.name ? i(d) : t.value = d;
1024
+ }, s = k(() => l.value.length > 0);
1025
+ return (d, c) => {
1026
+ const v = be;
1027
+ return p(), x("div", ba, [
1028
+ m("div", z({
1029
1029
  class: "d-flex cursor-pointer",
1030
1030
  "data-cy": "checkbox-container",
1031
- onClick: c[2] || (c[2] = (s) => r(l.value))
1032
- }, { ...u.$attrs }), [
1033
- y(v, _({ ...t }, {
1031
+ onClick: c[2] || (c[2] = (n) => r(t.value))
1032
+ }, { ...d.$attrs }), [
1033
+ f(v, z({ ...a }, {
1034
1034
  binary: "",
1035
- modelValue: l.value,
1036
- "onUpdate:modelValue": c[0] || (c[0] = (s) => l.value = s),
1037
- "input-id": t.name,
1038
- "input-class": { "is-invalid": d.value }
1035
+ modelValue: t.value,
1036
+ "onUpdate:modelValue": c[0] || (c[0] = (n) => t.value = n),
1037
+ "input-id": a.name,
1038
+ "input-class": { "is-invalid": s.value }
1039
1039
  }), null, 16, ["modelValue", "input-id", "input-class"]),
1040
1040
  m("label", {
1041
- for: t.name,
1042
- onClick: c[1] || (c[1] = (s) => r(!l.value)),
1043
- class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${d.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1041
+ for: a.name,
1042
+ onClick: c[1] || (c[1] = (n) => r(!t.value)),
1043
+ class: B([`${a.disabled ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1044
1044
  }, [
1045
- $(u.$slots, "default", {}, () => [
1046
- O(h(t.label), 1)
1045
+ $(d.$slots, "default", {}, () => [
1046
+ P(h(a.label), 1)
1047
1047
  ])
1048
- ], 10, ct)
1048
+ ], 10, ga)
1049
1049
  ], 16),
1050
1050
  H(m("small", {
1051
1051
  "data-cy": "error",
1052
1052
  class: "text-invalid"
1053
- }, h(p(n)), 513), [
1054
- [q, d.value]
1053
+ }, h(u(o)), 513), [
1054
+ [Y, s.value]
1055
1055
  ])
1056
1056
  ]);
1057
1057
  };
1058
1058
  }
1059
- }), pt = { class: "forge-loader" }, ye = /* @__PURE__ */ F({
1059
+ }), ha = { class: "forge-loader" }, we = /* @__PURE__ */ F({
1060
1060
  __name: "ForgeLoader",
1061
1061
  props: {
1062
1062
  severity: { default: "primary" }
1063
1063
  },
1064
1064
  setup(e) {
1065
- const t = e;
1066
- return (l, o) => {
1067
- const a = ke;
1068
- return i(), b("div", pt, [
1069
- y(a, {
1065
+ const a = e;
1066
+ return (t, i) => {
1067
+ const l = Ce;
1068
+ return p(), x("div", ha, [
1069
+ f(l, {
1070
1070
  "animation-duration": ".75",
1071
- class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1071
+ class: B(`text-${a.severity === void 0 ? "primary" : a.severity}`)
1072
1072
  }, null, 8, ["class"])
1073
1073
  ]);
1074
1074
  };
1075
1075
  }
1076
- }), vt = ["href", "target"], wa = /* @__PURE__ */ F({
1076
+ }), wa = ["href", "target"], ji = /* @__PURE__ */ F({
1077
1077
  __name: "ForgeLink",
1078
1078
  props: {
1079
1079
  url: {},
@@ -1091,7 +1091,7 @@ const De = {
1091
1091
  iconName: {}
1092
1092
  },
1093
1093
  setup(e) {
1094
- const t = k(() => ({
1094
+ const a = k(() => ({
1095
1095
  [`link-${e.severity}`]: e.severity,
1096
1096
  [`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
1097
1097
  [`link-opacity-${e.opacity}`]: e.opacity,
@@ -1100,54 +1100,54 @@ const De = {
1100
1100
  [`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
1101
1101
  [`link-offset-${e.underlineOffset}`]: e.underlineOffset,
1102
1102
  "icon-link icon-link-hover": e.animateIconOnHover
1103
- })), l = k(() => ({
1103
+ })), t = k(() => ({
1104
1104
  "order-2": e.positionIconEnd,
1105
1105
  "me-1": !e.positionIconEnd && !e.animateIconOnHover,
1106
1106
  "ms-1": e.positionIconEnd && !e.animateIconOnHover,
1107
1107
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1108
1108
  "me-0": e.animateIconOnHover
1109
1109
  }));
1110
- return (o, a) => (i(), b("a", {
1110
+ return (i, l) => (p(), x("a", {
1111
1111
  id: "link",
1112
- class: B(["cursor-pointer d-flex text-break", t.value]),
1113
- href: o.url,
1114
- target: o.target
1112
+ class: B(["cursor-pointer d-flex text-break", a.value]),
1113
+ href: i.url,
1114
+ target: i.target
1115
1115
  }, [
1116
- $(o.$slots, "default", {}, () => [
1117
- o.iconName ? (i(), w(p(C), {
1116
+ $(i.$slots, "default", {}, () => [
1117
+ i.iconName ? (p(), w(u(_), {
1118
1118
  key: 0,
1119
1119
  id: "link-icon",
1120
- icon: o.iconName,
1121
- class: B(["bi my-auto", l.value])
1122
- }, null, 8, ["icon", "class"])) : T("", !0),
1123
- O(" " + h(o.label), 1)
1120
+ icon: i.iconName,
1121
+ class: B(["bi my-auto", t.value])
1122
+ }, null, 8, ["icon", "class"])) : C("", !0),
1123
+ P(" " + h(i.label), 1)
1124
1124
  ])
1125
- ], 10, vt));
1125
+ ], 10, wa));
1126
1126
  }
1127
1127
  });
1128
- function yt(e) {
1129
- const t = {
1128
+ function ka(e) {
1129
+ const a = {
1130
1130
  errorMessage: "",
1131
1131
  errorDetails: []
1132
1132
  };
1133
- if (e.exception && (t.errorMessage = e.exception), e.message && (Array.isArray(e.message) ? t.errorDetails = e.message : t.errorMessage = e.message), e.response) {
1134
- const l = JSON.parse(e.response);
1135
- l.errors && (t.errorDetails = Object.values(l.errors).flat()), l.message && (t.errorDetails = l.message);
1133
+ if (e.exception && (a.errorMessage = e.exception), e.message && (Array.isArray(e.message) ? a.errorDetails = e.message : a.errorMessage = e.message), e.response) {
1134
+ const t = JSON.parse(e.response);
1135
+ t.errors && (a.errorDetails = Object.values(t.errors).flat()), t.message && (a.errorDetails = t.message);
1136
1136
  }
1137
- return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1137
+ return a.errorMessage === "" && a.errorDetails.length === 0 && (a.errorMessage = e), a;
1138
1138
  }
1139
- function xa(e, t) {
1140
- return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
1139
+ function Ci(e, a) {
1140
+ return e.map((t) => ({ id: t, label: a ? a(t) : `${t}` }));
1141
1141
  }
1142
- function ka(e, t, l) {
1143
- return { id: e, label: t ?? e.toString(), shortLabel: l };
1142
+ function Si(e, a, t) {
1143
+ return { id: e, label: a ?? e.toString(), shortLabel: t };
1144
1144
  }
1145
- const bt = { key: 0 }, ft = {
1145
+ const $a = { key: 0 }, Ba = {
1146
1146
  class: "d-flex w-100",
1147
1147
  "data-cy": "footer"
1148
- }, $a = /* @__PURE__ */ F({
1148
+ }, Vi = /* @__PURE__ */ F({
1149
1149
  __name: "ForgeModal",
1150
- props: /* @__PURE__ */ R({
1150
+ props: /* @__PURE__ */ N({
1151
1151
  cancelText: { default: "Cancel" },
1152
1152
  submitText: { default: "Submit" },
1153
1153
  showFooter: { type: Boolean, default: !0 },
@@ -1191,108 +1191,108 @@ const bt = { key: 0 }, ft = {
1191
1191
  }),
1192
1192
  emits: ["update:visible"],
1193
1193
  setup(e) {
1194
- const t = U(e, "visible"), l = P(!1), o = e, a = P(!1), n = P({
1194
+ const a = O(e, "visible"), t = T(!1), i = e, l = T(!1), o = T({
1195
1195
  hasError: !1,
1196
1196
  header: "",
1197
1197
  message: []
1198
1198
  }), r = () => {
1199
- l.value = !1;
1200
- }, d = () => {
1201
- l.value = !0;
1202
- }, u = () => {
1203
1199
  t.value = !1;
1200
+ }, s = () => {
1201
+ t.value = !0;
1202
+ }, d = () => {
1203
+ a.value = !1;
1204
1204
  }, c = async () => {
1205
- if (o.onConfirm) {
1206
- a.value = !0, n.value.hasError = !1;
1205
+ if (i.onConfirm) {
1206
+ l.value = !0, o.value.hasError = !1;
1207
1207
  try {
1208
- const s = await o.onConfirm();
1209
- (s || s == null) && u();
1210
- } catch (s) {
1211
- n.value.hasError = !0;
1212
- const V = yt(s);
1213
- n.value.header = V.errorMessage, n.value.message = V.errorDetails;
1208
+ const n = await i.onConfirm();
1209
+ (n || n == null) && d();
1210
+ } catch (n) {
1211
+ o.value.hasError = !0;
1212
+ const j = ka(n);
1213
+ o.value.header = j.errorMessage, o.value.message = j.errorDetails;
1214
1214
  }
1215
- a.value = !1;
1215
+ l.value = !1;
1216
1216
  }
1217
1217
  }, v = k(() => ({
1218
1218
  root: [
1219
1219
  "modal modal-dialog modal-content h-auto m-0",
1220
1220
  {
1221
- "mw-100 vh-100 vw-100 top-0 start-0": l.value,
1222
- "modal-sm": o.size === "sm",
1223
- "modal-lg": o.size === "lg",
1224
- "modal-xl": o.size === "xl"
1221
+ "mw-100 vh-100 vw-100 top-0 start-0": t.value,
1222
+ "modal-sm": i.size === "sm",
1223
+ "modal-lg": i.size === "lg",
1224
+ "modal-xl": i.size === "xl"
1225
1225
  }
1226
1226
  ]
1227
1227
  }));
1228
- return (s, V) => {
1229
- const S = L, M = $e;
1230
- return i(), w(M, _(o, {
1231
- onMaximize: d,
1228
+ return (n, j) => {
1229
+ const S = A, V = Se;
1230
+ return p(), w(V, z(i, {
1231
+ onMaximize: s,
1232
1232
  onUnmaximize: r,
1233
1233
  pt: v.value
1234
- }), te({
1234
+ }), oe({
1235
1235
  closeicon: g(() => [
1236
- y(p(C), {
1236
+ f(u(_), {
1237
1237
  "data-cy": "close-icon",
1238
1238
  icon: "bi:x-lg",
1239
1239
  width: "18",
1240
1240
  height: "18",
1241
- onClick: u
1241
+ onClick: d
1242
1242
  })
1243
1243
  ]),
1244
1244
  maximizeicon: g(() => [
1245
- y(p(C), {
1245
+ f(u(_), {
1246
1246
  "data-cy": "maximisable-icon",
1247
- icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1247
+ icon: t.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1248
1248
  width: "16",
1249
1249
  height: "16"
1250
1250
  }, null, 8, ["icon"])
1251
1251
  ]),
1252
1252
  _: 2
1253
1253
  }, [
1254
- j(s.$slots, (I, z) => ({
1255
- name: z,
1256
- fn: g((f) => [
1257
- n.value.hasError ? (i(), w(oe, {
1254
+ W(n.$slots, (D, M) => ({
1255
+ name: M,
1256
+ fn: g((b) => [
1257
+ o.value.hasError ? (p(), w(re, {
1258
1258
  key: 0,
1259
1259
  severity: "danger",
1260
1260
  "data-cy": "error"
1261
1261
  }, {
1262
1262
  default: g(() => [
1263
1263
  m("p", {
1264
- class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
1265
- }, h(n.value.header), 3),
1266
- n.value.message.length > 0 ? (i(), b("ul", bt, [
1267
- (i(!0), b(N, null, j(n.value.message, (x) => (i(), b("li", { key: x }, h(x), 1))), 128))
1268
- ])) : T("", !0)
1264
+ class: B(o.value.message.length > 0 ? "my-auto" : "mb-0")
1265
+ }, h(o.value.header), 3),
1266
+ o.value.message.length > 0 ? (p(), x("ul", $a, [
1267
+ (p(!0), x(q, null, W(o.value.message, (y) => (p(), x("li", { key: y }, h(y), 1))), 128))
1268
+ ])) : C("", !0)
1269
1269
  ]),
1270
1270
  _: 1
1271
- })) : T("", !0),
1272
- $(s.$slots, z, Q(ee(f || {}))),
1273
- a.value ? $(s.$slots, "loader", { key: 1 }, () => [
1274
- y(ye, { "data-cy": "loader" })
1275
- ]) : T("", !0)
1271
+ })) : C("", !0),
1272
+ $(n.$slots, M, ie(le(b || {}))),
1273
+ l.value ? $(n.$slots, "loader", { key: 1 }, () => [
1274
+ f(we, { "data-cy": "loader" })
1275
+ ]) : C("", !0)
1276
1276
  ])
1277
1277
  })),
1278
- s.showFooter ? {
1278
+ n.showFooter ? {
1279
1279
  name: "footer",
1280
1280
  fn: g(() => [
1281
- m("div", ft, [
1282
- y(S, {
1283
- label: s.cancelText,
1284
- class: B(o.cancelClass),
1281
+ m("div", Ba, [
1282
+ f(S, {
1283
+ label: n.cancelText,
1284
+ class: B(i.cancelClass),
1285
1285
  outlined: "",
1286
- onClick: u,
1286
+ onClick: d,
1287
1287
  id: "cancel-button",
1288
- type: o.cancelButtonType
1288
+ type: i.cancelButtonType
1289
1289
  }, null, 8, ["label", "class", "type"]),
1290
- y(S, {
1291
- label: s.submitText,
1292
- class: B([o.submitClass, "ms-auto"]),
1290
+ f(S, {
1291
+ label: n.submitText,
1292
+ class: B([i.submitClass, "ms-auto"]),
1293
1293
  onClick: c,
1294
1294
  id: "submit-button",
1295
- type: o.submitButtonType
1295
+ type: i.submitButtonType
1296
1296
  }, null, 8, ["label", "class", "type"])
1297
1297
  ])
1298
1298
  ]),
@@ -1301,9 +1301,9 @@ const bt = { key: 0 }, ft = {
1301
1301
  ]), 1040, ["pt"]);
1302
1302
  };
1303
1303
  }
1304
- }), 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({
1304
+ }), Fa = ["id"], za = { key: 0 }, _a = { key: 0 }, ja = { class: "d-flex justify-content-between align-items-center position-relative" }, Ca = { key: 1 }, Sa = { "data-cy": "readonly-value" }, Va = /* @__PURE__ */ F({
1305
1305
  __name: "ForgeInlineEditor",
1306
- props: /* @__PURE__ */ R({
1306
+ props: /* @__PURE__ */ N({
1307
1307
  name: { default: "" },
1308
1308
  completeAction: {},
1309
1309
  errorAction: {},
@@ -1316,95 +1316,95 @@ const bt = { key: 0 }, ft = {
1316
1316
  }),
1317
1317
  emits: ["update:modelValue"],
1318
1318
  setup(e) {
1319
- const t = e, l = U(e, "modelValue"), o = P(!1), a = P(), n = () => {
1319
+ const a = e, t = O(e, "modelValue"), i = T(!1), l = T(), o = () => {
1320
1320
  var S;
1321
- o.value = !o.value, (S = a.value) == null || S.focus();
1321
+ i.value = !i.value, (S = l.value) == null || S.focus();
1322
1322
  }, r = async () => {
1323
- if (V.value)
1323
+ if (j.value)
1324
1324
  return !1;
1325
- if (l.value = s.value, t.completeAction)
1325
+ if (t.value = n.value, a.completeAction)
1326
1326
  try {
1327
- await t.completeAction.apply(this, t.params), o.value = !o.value;
1327
+ await a.completeAction.apply(this, a.params), i.value = !i.value;
1328
1328
  } catch {
1329
- t.errorAction && await t.errorAction.apply(this, t.errorParams);
1329
+ a.errorAction && await a.errorAction.apply(this, a.errorParams);
1330
1330
  }
1331
1331
  else
1332
- o.value = !o.value;
1332
+ i.value = !i.value;
1333
+ }, s = () => {
1334
+ i.value = !i.value;
1333
1335
  }, d = () => {
1334
- o.value = !o.value;
1335
- }, u = () => {
1336
- s.value = null;
1337
- }, { errorMessage: c, errors: v, value: s } = G(() => t.name, void 0, {
1338
- initialValue: l.value
1336
+ n.value = null;
1337
+ }, { errorMessage: c, errors: v, value: n } = X(() => a.name, void 0, {
1338
+ initialValue: t.value
1339
1339
  });
1340
- le(() => {
1341
- s.value = l.value;
1340
+ ne(() => {
1341
+ n.value = t.value;
1342
1342
  });
1343
- const V = k(() => v.value.length > 0);
1344
- return (S, M) => {
1345
- const I = ie, z = L;
1346
- return i(), b("div", {
1347
- id: t.name
1343
+ const j = k(() => v.value.length > 0);
1344
+ return (S, V) => {
1345
+ const D = ce, M = A;
1346
+ return p(), x("div", {
1347
+ id: a.name
1348
1348
  }, [
1349
- S.readonly ? (i(), b("div", kt, [
1349
+ S.readonly ? (p(), x("div", Ca, [
1350
1350
  $(S.$slots, "default", {}, () => [
1351
- m("span", $t, h(p(s)), 1)
1351
+ m("span", Sa, h(u(n)), 1)
1352
1352
  ])
1353
- ])) : (i(), b("div", ht, [
1354
- o.value ? (i(), b("div", wt, [
1355
- H((i(), b("div", xt, [
1353
+ ])) : (p(), x("div", za, [
1354
+ i.value ? (p(), x("div", _a, [
1355
+ H((p(), x("div", ja, [
1356
1356
  $(S.$slots, "editor", {
1357
- class: B({ "is-invalid": V.value }),
1357
+ class: B({ "is-invalid": j.value }),
1358
1358
  editFinished: r,
1359
- cancel: d,
1360
- val: p(s)
1359
+ cancel: s,
1360
+ val: u(n)
1361
1361
  }, () => [
1362
- y(I, {
1362
+ f(D, {
1363
1363
  "data-cy": "input",
1364
1364
  ref_key: "input",
1365
- ref: a,
1366
- modelValue: p(s),
1367
- "onUpdate:modelValue": M[0] || (M[0] = (f) => se(s) ? s.value = f : null),
1365
+ ref: l,
1366
+ modelValue: u(n),
1367
+ "onUpdate:modelValue": V[0] || (V[0] = (b) => de(n) ? n.value = b : null),
1368
1368
  modelModifiers: { trim: !0 },
1369
- class: B({ "is-invalid": V.value }),
1369
+ class: B({ "is-invalid": j.value }),
1370
1370
  onKeydown: [
1371
- J(r, ["enter"]),
1372
- J(d, ["esc"])
1371
+ ae(r, ["enter"]),
1372
+ ae(s, ["esc"])
1373
1373
  ]
1374
1374
  }, null, 8, ["modelValue", "class"])
1375
1375
  ]),
1376
- y(p(C), {
1376
+ f(u(_), {
1377
1377
  icon: "bi:x-circle",
1378
1378
  class: "mx-2 cursor-pointer",
1379
- onClick: u,
1380
- onKeydown: J(u, ["enter"]),
1379
+ onClick: d,
1380
+ onKeydown: ae(d, ["enter"]),
1381
1381
  "data-cy": "clear-icon"
1382
1382
  })
1383
1383
  ])), [
1384
- [p(Be), r]
1384
+ [u(Ve), r]
1385
1385
  ])
1386
- ])) : (i(), b("div", {
1386
+ ])) : (p(), x("div", {
1387
1387
  key: 1,
1388
1388
  class: "d-flex text-muted",
1389
- onClick: n,
1390
- onFocus: n
1389
+ onClick: o,
1390
+ onFocus: o
1391
1391
  }, [
1392
1392
  $(S.$slots, "default", {}, () => [
1393
1393
  m("div", {
1394
- class: B(["pe-2 cursor-pointer", { "text-invalid": V.value }]),
1394
+ class: B(["pe-2 cursor-pointer", { "text-invalid": j.value }]),
1395
1395
  "data-cy": "value"
1396
- }, h(p(s) ? p(s) : "Click to edit"), 3)
1396
+ }, h(u(n) ? u(n) : "Click to edit"), 3)
1397
1397
  ]),
1398
- y(z, {
1398
+ f(M, {
1399
1399
  link: "",
1400
1400
  class: "p-0 m-0"
1401
1401
  }, {
1402
1402
  default: g(() => [
1403
- y(p(C), {
1403
+ f(u(_), {
1404
1404
  icon: "bi:pencil",
1405
- class: B(V.value ? "text-invalid" : "text-muted"),
1405
+ class: B(j.value ? "text-invalid" : "text-muted"),
1406
1406
  "data-cy": "edit-icon",
1407
- onKeydown: J(n, ["enter"])
1407
+ onKeydown: ae(o, ["enter"])
1408
1408
  }, null, 8, ["class"])
1409
1409
  ]),
1410
1410
  _: 1
@@ -1414,13 +1414,13 @@ const bt = { key: 0 }, ft = {
1414
1414
  H(m("small", {
1415
1415
  "data-cy": "error",
1416
1416
  class: "text-invalid"
1417
- }, h(p(c)), 513), [
1418
- [q, V.value]
1417
+ }, h(u(c)), 513), [
1418
+ [Y, j.value]
1419
1419
  ])
1420
- ], 8, gt);
1420
+ ], 8, Fa);
1421
1421
  };
1422
1422
  }
1423
- }), Ft = ["href"], Ba = /* @__PURE__ */ F({
1423
+ }), Ta = ["href"], Ti = /* @__PURE__ */ F({
1424
1424
  __name: "ForgeNavbar",
1425
1425
  props: {
1426
1426
  severity: { default: "light" },
@@ -1437,55 +1437,55 @@ const bt = { key: 0 }, ft = {
1437
1437
  unstyled: { type: Boolean }
1438
1438
  },
1439
1439
  setup(e) {
1440
- const t = e, l = k(() => ({
1440
+ const a = e, t = k(() => ({
1441
1441
  root: () => ({
1442
1442
  class: [
1443
1443
  "navbar container-fluid navbar-expand-lg",
1444
1444
  {
1445
- "bg-light": t.severity === "light",
1446
- "bg-dark": t.severity === "dark",
1447
- "bg-primary": t.severity === "primary",
1448
- "bg-brand": t.severity === "brand",
1449
- "bg-secondary": t.severity === "secondary",
1450
- "bg-success": t.severity === "success",
1451
- "bg-warning": t.severity === "warning",
1452
- "bg-danger": t.severity === "danger",
1453
- "bg-info": t.severity === "info"
1445
+ "bg-light": a.severity === "light",
1446
+ "bg-dark": a.severity === "dark",
1447
+ "bg-primary": a.severity === "primary",
1448
+ "bg-brand": a.severity === "brand",
1449
+ "bg-secondary": a.severity === "secondary",
1450
+ "bg-success": a.severity === "success",
1451
+ "bg-warning": a.severity === "warning",
1452
+ "bg-danger": a.severity === "danger",
1453
+ "bg-info": a.severity === "info"
1454
1454
  },
1455
1455
  {
1456
- "navbar-light": t.severity === "light",
1457
- "navbar-dark": t.severity !== "light"
1456
+ "navbar-light": a.severity === "light",
1457
+ "navbar-dark": a.severity !== "light"
1458
1458
  },
1459
1459
  {
1460
- "fixed-top": t.position === "fixed-top",
1461
- "fixed-bottom": t.position === "fixed-bottom",
1462
- "sticky-top": t.position === "sticky-top"
1460
+ "fixed-top": a.position === "fixed-top",
1461
+ "fixed-bottom": a.position === "fixed-bottom",
1462
+ "sticky-top": a.position === "sticky-top"
1463
1463
  }
1464
1464
  ]
1465
1465
  })
1466
1466
  }));
1467
- return (o, a) => {
1468
- const n = Fe;
1469
- return i(), w(n, _({ ...t, ...o.$attrs }, {
1470
- pt: l.value,
1467
+ return (i, l) => {
1468
+ const o = Te;
1469
+ return p(), w(o, z({ ...a, ...i.$attrs }, {
1470
+ pt: t.value,
1471
1471
  "data-cy": "navbar"
1472
- }), te({
1472
+ }), oe({
1473
1473
  start: g(() => [
1474
1474
  m("a", {
1475
- href: o.logoUrl,
1475
+ href: i.logoUrl,
1476
1476
  class: "navbar-brand ms-3",
1477
1477
  "data-cy": "logo"
1478
1478
  }, [
1479
- $(o.$slots, "logo", {}, () => [
1480
- a[0] || (a[0] = O(" Logo "))
1479
+ $(i.$slots, "logo", {}, () => [
1480
+ l[0] || (l[0] = P(" Logo "))
1481
1481
  ])
1482
- ], 8, Ft)
1482
+ ], 8, Ta)
1483
1483
  ]),
1484
1484
  menubuttonicon: g(() => [
1485
- $(o.$slots, "menubuttonicon", {}, () => [
1486
- y(p(C), {
1485
+ $(i.$slots, "menubuttonicon", {}, () => [
1486
+ f(u(_), {
1487
1487
  icon: "bi:list",
1488
- class: B(t.severity === "light" ? "text-black" : "text-white"),
1488
+ class: B(a.severity === "light" ? "text-black" : "text-white"),
1489
1489
  height: "24",
1490
1490
  "data-cy": "burger-icon"
1491
1491
  }, null, 8, ["class"])
@@ -1493,16 +1493,16 @@ const bt = { key: 0 }, ft = {
1493
1493
  ]),
1494
1494
  _: 2
1495
1495
  }, [
1496
- j(o.$slots, (r, d) => ({
1497
- name: d,
1498
- fn: g((u) => [
1499
- $(o.$slots, d, Q(ee(u)))
1496
+ W(i.$slots, (r, s) => ({
1497
+ name: s,
1498
+ fn: g((d) => [
1499
+ $(i.$slots, s, ie(le(d)))
1500
1500
  ])
1501
1501
  }))
1502
1502
  ]), 1040, ["pt"]);
1503
1503
  };
1504
1504
  }
1505
- }), _t = { class: "multiselect__caret" }, Ct = ["checked"], Vt = ["data-cy"], St = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, Fa = /* @__PURE__ */ F({
1505
+ }), Ma = { class: "multiselect__caret" }, Pa = ["checked"], Ia = ["data-cy"], Oa = ["checked"], Da = { class: "my-auto ms-1" }, Ua = { class: "multiselect__tag d-inline-flex" }, qa = { class: "my-auto" }, Mi = /* @__PURE__ */ F({
1506
1506
  __name: "ForgeMultiSelect",
1507
1507
  props: {
1508
1508
  severity: { default: "primary" },
@@ -1513,77 +1513,77 @@ const bt = { key: 0 }, ft = {
1513
1513
  name: { default: "" }
1514
1514
  },
1515
1515
  emits: ["update:modelValue"],
1516
- setup(e, { emit: t }) {
1517
- const l = e, o = (E, D) => {
1518
- const A = {
1519
- ...D,
1520
- $isDisabled: D.$isDisabled ?? !1
1516
+ setup(e, { emit: a }) {
1517
+ const t = e, i = (E, I) => {
1518
+ const U = {
1519
+ ...I,
1520
+ $isDisabled: I.$isDisabled ?? !1
1521
1521
  };
1522
- E(A);
1523
- }, a = he(), n = t, { errors: r, value: d, errorMessage: u } = G(() => l.name, void 0, {
1524
- initialValue: a.modelValue
1525
- }), c = P(!1), v = k(() => ({
1522
+ E(U);
1523
+ }, l = ze(), o = a, { errors: r, value: s, errorMessage: d } = X(() => t.name, void 0, {
1524
+ initialValue: l.modelValue
1525
+ }), c = T(!1), v = k(() => ({
1526
1526
  multiple: !0,
1527
1527
  label: "label",
1528
1528
  trackBy: "id",
1529
1529
  showPointer: !c.value,
1530
- placeholder: a.searchable === null || a.searchable ? "Search" : "Select",
1530
+ placeholder: l.searchable === null || l.searchable ? "Search" : "Select",
1531
1531
  allowEmpty: !0,
1532
1532
  selectValue: "",
1533
- closeOnSelect: !!(a.multiple === null || a.multiple),
1534
- clearOnSelect: !!(a.multiple === null || a.multiple),
1535
- searchable: !!(a.searchable === null || a.searchable) && a.modelValue.length === a.options.length,
1533
+ closeOnSelect: !!(l.multiple === null || l.multiple),
1534
+ clearOnSelect: !!(l.multiple === null || l.multiple),
1535
+ searchable: !!(l.searchable === null || l.searchable) && l.modelValue.length === l.options.length,
1536
1536
  async: !1,
1537
- ...a
1538
- })), s = k(() => `forge-multiselect-${l.severity}`), V = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${S.value ? " multiselect__option--selected" : ""}`), S = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => r.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => c.value = !0, f = () => c.value = !1, x = () => {
1539
- d.value = v.value.multiple ? [] : null, n("update:modelValue", d.value);
1540
- }, Y = (E) => {
1541
- n("update:modelValue", l.selectValue ? E.map((D) => D[l.selectValue]) : E);
1542
- }, Z = (E) => a.modelValue !== null ? a.modelValue.some((D) => v.value.selectValue ? E[l.selectValue] === D : E.id === D.id && E.label === D.label) : !1, ne = () => {
1543
- S.value ? x() : (d.value = [...a.options], n("update:modelValue", [...a.options]));
1537
+ ...l
1538
+ })), n = k(() => `forge-multiselect-${t.severity}`), j = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${S.value ? " multiselect__option--selected" : ""}`), S = k(() => v.value && !(v.value.multiple || !t.showSelectAll || v.value.async) ? !1 : l.modelValue.length === l.options.length), V = k(() => r.value.length > 0), D = k(() => !!((l.allowEmpty == null || l.allowEmpty) && t.showClearSelection && (v.value.multiple ? l.modelValue.length > 0 : l.modelValue))), M = () => c.value = !0, b = () => c.value = !1, y = () => {
1539
+ s.value = v.value.multiple ? [] : null, o("update:modelValue", s.value);
1540
+ }, R = (E) => {
1541
+ o("update:modelValue", t.selectValue ? E.map((I) => I[t.selectValue]) : E);
1542
+ }, Z = (E) => l.modelValue !== null ? l.modelValue.some((I) => v.value.selectValue ? E[t.selectValue] === I : E.id === I.id && E.label === I.label) : !1, pe = () => {
1543
+ S.value ? y() : (s.value = [...l.options], o("update:modelValue", [...l.options]));
1544
1544
  };
1545
- return (E, D) => (i(), b(N, null, [
1546
- y(p(_e), _(v.value, {
1547
- class: [s.value, M.value ? "is-invalid" : ""],
1545
+ return (E, I) => (p(), x(q, null, [
1546
+ f(u(Me), z(v.value, {
1547
+ class: [n.value, V.value ? "is-invalid" : ""],
1548
1548
  "data-cy": "multiselect",
1549
1549
  "onUpdate:modelValue": [
1550
- Y,
1551
- D[1] || (D[1] = (A) => se(d) ? d.value = A : null)
1550
+ R,
1551
+ I[1] || (I[1] = (U) => de(s) ? s.value = U : null)
1552
1552
  ],
1553
- modelValue: p(d)
1554
- }), te({
1555
- caret: g(({ toggle: A }) => [
1556
- m("div", _t, [
1557
- I.value ? (i(), w(p(C), {
1553
+ modelValue: u(s)
1554
+ }), oe({
1555
+ caret: g(({ toggle: U }) => [
1556
+ m("div", Ma, [
1557
+ D.value ? (p(), w(u(_), {
1558
1558
  key: 0,
1559
1559
  icon: "bi:x",
1560
1560
  class: "my-auto text-black multiselect__clear",
1561
- onMousedown: D[0] || (D[0] = W((K) => x(), ["prevent", "stop"])),
1561
+ onMousedown: I[0] || (I[0] = G((Q) => y(), ["prevent", "stop"])),
1562
1562
  "data-cy": "clear",
1563
1563
  height: "18px",
1564
1564
  width: "18px"
1565
- })) : T("", !0),
1566
- y(p(C), {
1565
+ })) : C("", !0),
1566
+ f(u(_), {
1567
1567
  icon: "bi:chevron-down",
1568
- onClick: A,
1568
+ onClick: U,
1569
1569
  class: "multiselect__arrow"
1570
1570
  }, null, 8, ["onClick"])
1571
1571
  ])
1572
1572
  ]),
1573
- tag: g(({ option: A, remove: K }) => [
1574
- m("div", Pt, [
1575
- m("div", Mt, h(A.label), 1),
1576
- y(p(C), {
1573
+ tag: g(({ option: U, remove: Q }) => [
1574
+ m("div", Ua, [
1575
+ m("div", qa, h(U.label), 1),
1576
+ f(u(_), {
1577
1577
  icon: "bi:x",
1578
1578
  class: "my-auto multiselect__tag-icon",
1579
- onMousedown: W((jl) => o(K, A), ["prevent", "stop"]),
1579
+ onMousedown: G((Xt) => i(Q, U), ["prevent", "stop"]),
1580
1580
  height: "18px",
1581
1581
  width: "18px"
1582
1582
  }, null, 8, ["onMousedown"])
1583
1583
  ])
1584
1584
  ]),
1585
1585
  default: g(() => [
1586
- (i(!0), b(N, null, j(E.$slots, (A, K) => $(E.$slots, K, { slot: K })), 256))
1586
+ (p(!0), x(q, null, W(E.$slots, (U, Q) => $(E.$slots, Q, { slot: Q })), 256))
1587
1587
  ]),
1588
1588
  _: 2
1589
1589
  }, [
@@ -1592,21 +1592,21 @@ const bt = { key: 0 }, ft = {
1592
1592
  fn: g(() => [
1593
1593
  m("li", {
1594
1594
  class: "multiselect__element",
1595
- onClick: ne,
1596
- onMouseover: z,
1597
- onMouseleave: f,
1595
+ onClick: pe,
1596
+ onMouseover: M,
1597
+ onMouseleave: b,
1598
1598
  "data-cy": "toggle-all"
1599
1599
  }, [
1600
1600
  m("div", {
1601
- class: B(["d-flex py-1", V.value])
1601
+ class: B(["d-flex py-1", j.value])
1602
1602
  }, [
1603
1603
  m("input", {
1604
1604
  checked: S.value,
1605
1605
  name: "selected",
1606
1606
  type: "checkbox",
1607
1607
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1608
- }, null, 8, Ct),
1609
- D[2] || (D[2] = m("div", { class: "my-auto ms-1" }, "Toggle all", -1))
1608
+ }, null, 8, Pa),
1609
+ I[2] || (I[2] = m("div", { class: "my-auto ms-1" }, "Toggle all", -1))
1610
1610
  ], 2)
1611
1611
  ], 32)
1612
1612
  ]),
@@ -1614,19 +1614,19 @@ const bt = { key: 0 }, ft = {
1614
1614
  } : void 0,
1615
1615
  v.value.multiple ? {
1616
1616
  name: "option",
1617
- fn: g(({ option: A }) => [
1617
+ fn: g(({ option: U }) => [
1618
1618
  m("div", {
1619
1619
  class: "d-flex py-1",
1620
- "data-cy": A.label
1620
+ "data-cy": U.label
1621
1621
  }, [
1622
1622
  m("input", {
1623
- checked: Z(A),
1623
+ checked: Z(U),
1624
1624
  name: "selected",
1625
1625
  type: "checkbox",
1626
1626
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1627
- }, null, 8, St),
1628
- m("div", Tt, h(A[v.value.label]), 1)
1629
- ], 8, Vt)
1627
+ }, null, 8, Oa),
1628
+ m("div", Da, h(U[v.value.label]), 1)
1629
+ ], 8, Ia)
1630
1630
  ]),
1631
1631
  key: "1"
1632
1632
  } : void 0
@@ -1634,21 +1634,21 @@ const bt = { key: 0 }, ft = {
1634
1634
  H(m("small", {
1635
1635
  "data-cy": "error",
1636
1636
  class: "invalid-feedback"
1637
- }, h(p(u)), 513), [
1638
- [q, M.value]
1637
+ }, h(u(d)), 513), [
1638
+ [Y, V.value]
1639
1639
  ])
1640
1640
  ], 64));
1641
1641
  }
1642
- }), It = { class: "border alternating-item-list" }, zt = {
1642
+ }), Aa = { class: "border alternating-item-list" }, Ea = {
1643
1643
  key: 0,
1644
1644
  class: "p-2 border-top border-bottom",
1645
1645
  "data-cy": "title"
1646
- }, Ot = { class: "d-inline-block" }, Dt = {
1646
+ }, La = { class: "d-inline-block" }, Na = {
1647
1647
  key: 1,
1648
1648
  class: "p-2 item d-flex justify-content-between align-items-center"
1649
- }, _a = /* @__PURE__ */ F({
1649
+ }, Pi = /* @__PURE__ */ F({
1650
1650
  __name: "ForgeMultiSelectPreview",
1651
- props: /* @__PURE__ */ R({
1651
+ props: /* @__PURE__ */ N({
1652
1652
  title: { default: "Selected Items" },
1653
1653
  orientation: { default: "row" },
1654
1654
  height: { default: "200px" },
@@ -1662,99 +1662,98 @@ const bt = { key: 0 }, ft = {
1662
1662
  }),
1663
1663
  emits: ["update:modelValue"],
1664
1664
  setup(e) {
1665
- const t = e, l = U(e, "modelValue"), o = (a) => {
1666
- l.value = l.value.filter((n) => n.id !== a);
1665
+ const a = e, t = O(e, "modelValue"), i = (l) => {
1666
+ t.value = t.value.filter((o) => o.id !== l);
1667
1667
  };
1668
- return (a, n) => {
1669
- const r = re, d = L;
1670
- return i(), b("div", {
1671
- class: B(a.orientation === "column" ? "row" : ""),
1668
+ return (l, o) => {
1669
+ const r = me, s = A;
1670
+ return p(), x("div", {
1671
+ class: B(l.orientation === "column" ? "row" : ""),
1672
1672
  "data-cy": "multiselect-preview"
1673
1673
  }, [
1674
1674
  m("div", {
1675
- class: B(a.orientation === "row" ? "col-12 mb-1" : "col"),
1675
+ class: B(l.orientation === "row" ? "col-12 mb-1" : "col"),
1676
1676
  "data-cy": "multiselect-container"
1677
1677
  }, [
1678
- y(r, _({
1679
- modelValue: l.value,
1680
- "onUpdate:modelValue": n[0] || (n[0] = (u) => l.value = u)
1681
- }, { ...a.$attrs }, {
1682
- options: t.options,
1683
- display: "chip",
1678
+ f(r, z({
1679
+ modelValue: t.value,
1680
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => t.value = d)
1681
+ }, { ...l.$attrs }, {
1682
+ options: a.options,
1684
1683
  optionLabel: "label",
1685
- placeholder: a.multiselectPlaceholder,
1684
+ placeholder: l.multiselectPlaceholder,
1686
1685
  "data-cy": "multiselect"
1687
1686
  }), {
1688
1687
  default: g(() => [
1689
- (i(!0), b(N, null, j(a.$slots, (u, c) => $(a.$slots, c, { slot: c })), 256))
1688
+ (p(!0), x(q, null, W(l.$slots, (d, c) => $(l.$slots, c, { slot: c })), 256))
1690
1689
  ]),
1691
1690
  _: 3
1692
1691
  }, 16, ["modelValue", "options", "placeholder"]),
1693
- $(a.$slots, "after-multi-select")
1692
+ $(l.$slots, "after-multi-select")
1694
1693
  ], 2),
1695
1694
  m("div", {
1696
- class: B(a.orientation === "row" ? "col-12" : "col"),
1695
+ class: B(l.orientation === "row" ? "col-12" : "col"),
1697
1696
  "data-cy": "options-preview"
1698
1697
  }, [
1699
1698
  m("div", {
1700
- style: we({ height: a.height }),
1699
+ style: _e({ height: l.height }),
1701
1700
  class: "overflow-auto"
1702
1701
  }, [
1703
- m("div", It, [
1704
- a.title ? (i(), b("div", zt, h(a.title), 1)) : T("", !0),
1705
- (i(!0), b(N, null, j(l.value, (u) => (i(), b("div", {
1706
- key: u.id,
1702
+ m("div", Aa, [
1703
+ l.title ? (p(), x("div", Ea, h(l.title), 1)) : C("", !0),
1704
+ (p(!0), x(q, null, W(t.value, (d) => (p(), x("div", {
1705
+ key: d.id,
1707
1706
  class: "p-2 item d-flex justify-content-between align-items-center"
1708
1707
  }, [
1709
- $(a.$slots, "list-item", { item: u }, () => [
1710
- m("span", Ot, h(u.shortLabel ? u.shortLabel : u.label), 1)
1708
+ $(l.$slots, "list-item", { item: d }, () => [
1709
+ m("span", La, h(d.shortLabel ? d.shortLabel : d.label), 1)
1711
1710
  ]),
1712
- a.canRemoveItemFromPreview ? (i(), w(d, {
1711
+ l.canRemoveItemFromPreview ? (p(), w(s, {
1713
1712
  key: 0,
1714
1713
  link: "",
1715
1714
  class: "m-0 p-0 d-flex align-items-center",
1716
- onClick: (c) => o(u.id)
1715
+ onClick: (c) => i(d.id)
1717
1716
  }, {
1718
1717
  default: g(() => [
1719
- y(p(C), {
1718
+ f(u(_), {
1720
1719
  icon: "bi:x",
1721
1720
  class: "close-icon",
1722
- "data-cy": `close-icon-${u.id}`
1721
+ "data-cy": `close-icon-${d.id}`
1723
1722
  }, null, 8, ["data-cy"])
1724
1723
  ]),
1725
1724
  _: 2
1726
- }, 1032, ["onClick"])) : T("", !0)
1725
+ }, 1032, ["onClick"])) : C("", !0)
1727
1726
  ]))), 128)),
1728
- l.value.length === 0 ? (i(), b("div", Dt, h(t.optionsPreviewEmptyText), 1)) : T("", !0)
1727
+ t.value.length === 0 ? (p(), x("div", Na, h(a.optionsPreviewEmptyText), 1)) : C("", !0)
1729
1728
  ])
1730
1729
  ], 4)
1731
1730
  ], 2)
1732
1731
  ], 2);
1733
1732
  };
1734
1733
  }
1735
- }), Ut = { class: "d-flex justify-content-between pb-2" }, At = {
1734
+ }), Ra = { class: "d-flex justify-content-between pb-2" }, Ha = {
1736
1735
  "data-cy": "title",
1737
1736
  class: "my-auto"
1738
- }, Nt = {
1737
+ }, Wa = {
1739
1738
  "data-cy": "slot",
1740
1739
  class: "d-flex align-items-center"
1741
- }, Ca = /* @__PURE__ */ F({
1740
+ }, Ii = /* @__PURE__ */ F({
1742
1741
  __name: "ForgePageHeader",
1743
1742
  props: {
1744
1743
  title: {}
1745
1744
  },
1746
1745
  setup(e) {
1747
- const t = e;
1748
- return (l, o) => (i(), b("div", Ut, [
1749
- m("h3", At, h(t.title), 1),
1750
- m("div", Nt, [
1751
- $(l.$slots, "default")
1746
+ const a = e;
1747
+ return (t, i) => (p(), x("div", Ra, [
1748
+ m("h3", Ha, h(a.title), 1),
1749
+ m("div", Wa, [
1750
+ $(t.$slots, "default")
1752
1751
  ])
1753
1752
  ]));
1754
1753
  }
1755
- }), Lt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, Ht = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1754
+ }), Ya = { class: "d-flex" }, Ga = { "data-cy": "before-slot" }, Ka = { class: "position-relative w-100" }, Za = { "data-cy": "after-slot" }, ke = /* @__PURE__ */ F({
1756
1755
  __name: "ForgeDatepicker",
1757
- props: /* @__PURE__ */ R({
1756
+ props: /* @__PURE__ */ N({
1758
1757
  severity: { default: "primary" },
1759
1758
  modelValue: {},
1760
1759
  selectionMode: { default: "single" },
@@ -1825,37 +1824,37 @@ const bt = { key: 0 }, ft = {
1825
1824
  }),
1826
1825
  emits: ["update:modelValue"],
1827
1826
  setup(e) {
1828
- const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: r, setValue: d } = G(() => t.name, void 0, {
1829
- initialValue: l.value
1830
- }), u = () => {
1831
- d(null), l.value = null;
1832
- }, c = k(() => o.value.length > 0), v = k(() => ({
1833
- day: ({ context: s }) => ({
1827
+ const a = e, t = O(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: r, setValue: s } = X(() => a.name, void 0, {
1828
+ initialValue: t.value
1829
+ }), d = () => {
1830
+ s(null), t.value = null;
1831
+ }, c = k(() => i.value.length > 0), v = k(() => ({
1832
+ day: ({ context: n }) => ({
1834
1833
  class: [
1835
- `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
1834
+ `text-center date-${a.severity === void 0 ? "primary" : a.severity}`,
1836
1835
  {
1837
- "cursor-pointer": !s.disabled,
1838
- "pe-none": s.disabled,
1839
- "text-white": s.selected
1836
+ "cursor-pointer": !n.disabled,
1837
+ "pe-none": n.disabled,
1838
+ "text-white": n.selected
1840
1839
  },
1841
1840
  // Severities
1842
1841
  {
1843
- selected: s.selected && !s.disabled,
1844
- "text-primary": !s.selected && s.today && (t.severity === void 0 || t.severity === "primary"),
1845
- "text-brand": !s.selected && s.today && t.severity === "brand",
1846
- "text-secondary": !s.selected && s.today && t.severity === "secondary",
1847
- "text-success": !s.selected && s.today && t.severity === "success",
1848
- "text-warning": !s.selected && s.today && t.severity === "warning",
1849
- "text-danger": !s.selected && s.today && t.severity === "danger",
1850
- "text-info": !s.selected && s.today && t.severity === "info"
1842
+ selected: n.selected && !n.disabled,
1843
+ "text-primary": !n.selected && n.today && (a.severity === void 0 || a.severity === "primary"),
1844
+ "text-brand": !n.selected && n.today && a.severity === "brand",
1845
+ "text-secondary": !n.selected && n.today && a.severity === "secondary",
1846
+ "text-success": !n.selected && n.today && a.severity === "success",
1847
+ "text-warning": !n.selected && n.today && a.severity === "warning",
1848
+ "text-danger": !n.selected && n.today && a.severity === "danger",
1849
+ "text-info": !n.selected && n.today && a.severity === "info"
1851
1850
  }
1852
1851
  ]
1853
1852
  }),
1854
- dayLabel: ({ context: s }) => ({
1853
+ dayLabel: ({ context: n }) => ({
1855
1854
  class: [
1856
1855
  // Disabled States
1857
1856
  {
1858
- "text-muted": s.disabled
1857
+ "text-muted": n.disabled
1859
1858
  }
1860
1859
  ]
1861
1860
  }),
@@ -1864,13 +1863,13 @@ const bt = { key: 0 }, ft = {
1864
1863
  class: [
1865
1864
  "btn ms-auto",
1866
1865
  {
1867
- "btn-link text-primary": t.severity === void 0 || t.severity === "primary",
1868
- "btn-link text-brand": t.severity === "brand",
1869
- "btn-link text-secondary": t.severity === "secondary",
1870
- "btn-link text-success": t.severity === "success",
1871
- "btn-link text-warning": t.severity === "warning",
1872
- "btn-link text-danger": t.severity === "danger",
1873
- "btn-link text-info": t.severity === "info"
1866
+ "btn-link text-primary": a.severity === void 0 || a.severity === "primary",
1867
+ "btn-link text-brand": a.severity === "brand",
1868
+ "btn-link text-secondary": a.severity === "secondary",
1869
+ "btn-link text-success": a.severity === "success",
1870
+ "btn-link text-warning": a.severity === "warning",
1871
+ "btn-link text-danger": a.severity === "danger",
1872
+ "btn-link text-info": a.severity === "info"
1874
1873
  }
1875
1874
  ]
1876
1875
  })
@@ -1880,106 +1879,106 @@ const bt = { key: 0 }, ft = {
1880
1879
  class: [
1881
1880
  "btn",
1882
1881
  {
1883
- "btn-link text-primary": t.severity === void 0 || t.severity === "primary",
1884
- "btn-link text-brand": t.severity === "brand",
1885
- "btn-link text-secondary": t.severity === "secondary",
1886
- "btn-link text-success": t.severity === "success",
1887
- "btn-link text-warning": t.severity === "warning",
1888
- "btn-link text-danger": t.severity === "danger",
1889
- "btn-link text-info": t.severity === "info"
1882
+ "btn-link text-primary": a.severity === void 0 || a.severity === "primary",
1883
+ "btn-link text-brand": a.severity === "brand",
1884
+ "btn-link text-secondary": a.severity === "secondary",
1885
+ "btn-link text-success": a.severity === "success",
1886
+ "btn-link text-warning": a.severity === "warning",
1887
+ "btn-link text-danger": a.severity === "danger",
1888
+ "btn-link text-info": a.severity === "info"
1890
1889
  }
1891
1890
  ]
1892
1891
  })
1893
1892
  },
1894
- year: ({ context: s }) => ({
1893
+ year: ({ context: n }) => ({
1895
1894
  class: [
1896
1895
  "col-3 text-center cursor-pointer py-2",
1897
1896
  {
1898
- "text-primary": (t.severity === void 0 || t.severity === "primary") && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1899
- "text-brand": t.severity === "brand" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1900
- "text-secondary": t.severity === "secondary" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1901
- "text-success": t.severity === "success" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1902
- "text-warning": t.severity === "warning" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1903
- "text-danger": t.severity === "danger" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1904
- "text-info": t.severity === "info" && s.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1897
+ "text-primary": (a.severity === void 0 || a.severity === "primary") && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1898
+ "text-brand": a.severity === "brand" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1899
+ "text-secondary": a.severity === "secondary" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1900
+ "text-success": a.severity === "success" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1901
+ "text-warning": a.severity === "warning" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1902
+ "text-danger": a.severity === "danger" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
1903
+ "text-info": a.severity === "info" && n.year.value === (/* @__PURE__ */ new Date()).getFullYear()
1905
1904
  }
1906
1905
  ]
1907
1906
  }),
1908
- month: ({ context: s }) => ({
1907
+ month: ({ context: n }) => ({
1909
1908
  class: [
1910
1909
  "col-3 text-center cursor-pointer py-2",
1911
1910
  {
1912
- "text-primary": (t.severity === void 0 || t.severity === "primary") && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1913
- "text-brand": t.severity === "brand" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1914
- "text-secondary": t.severity === "secondary" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1915
- "text-success": t.severity === "success" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1916
- "text-warning": t.severity === "warning" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1917
- "text-danger": t.severity === "danger" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1918
- "text-info": t.severity === "info" && s.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1911
+ "text-primary": (a.severity === void 0 || a.severity === "primary") && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1912
+ "text-brand": a.severity === "brand" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1913
+ "text-secondary": a.severity === "secondary" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1914
+ "text-success": a.severity === "success" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1915
+ "text-warning": a.severity === "warning" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1916
+ "text-danger": a.severity === "danger" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
1917
+ "text-info": a.severity === "info" && n.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
1919
1918
  }
1920
1919
  ]
1921
1920
  })
1922
1921
  }));
1923
- return (s, V) => {
1924
- const S = Ce;
1925
- return i(), b(N, null, [
1926
- m("div", Lt, [
1927
- m("span", Et, [
1928
- $(s.$slots, "before")
1922
+ return (n, j) => {
1923
+ const S = Pe;
1924
+ return p(), x(q, null, [
1925
+ m("div", Ya, [
1926
+ m("span", Ga, [
1927
+ $(n.$slots, "before")
1929
1928
  ]),
1930
- m("div", Rt, [
1931
- y(S, _({ ...t, ...s.$attrs }, {
1929
+ m("div", Ka, [
1930
+ f(S, z({ ...a, ...n.$attrs }, {
1932
1931
  pt: v.value,
1933
- modelValue: l.value,
1932
+ modelValue: t.value,
1934
1933
  "onUpdate:modelValue": [
1935
- V[0] || (V[0] = (M) => l.value = M),
1936
- p(n)
1934
+ j[0] || (j[0] = (V) => t.value = V),
1935
+ u(o)
1937
1936
  ],
1938
- onBlur: p(r),
1937
+ onBlur: u(r),
1939
1938
  "input-class": { "datepicker-invalid": c.value }
1940
1939
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "onBlur", "input-class"]),
1941
- H(y(p(C), {
1940
+ H(f(u(_), {
1942
1941
  "data-cy": "icon",
1943
1942
  icon: "bi:calendar4",
1944
1943
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
1945
1944
  }, null, 8, ["class"]), [
1946
- [q, t.showIcon]
1945
+ [Y, a.showIcon]
1947
1946
  ]),
1948
- H(y(p(C), {
1947
+ H(f(u(_), {
1949
1948
  "data-cy": "icon",
1950
1949
  icon: "bi:x",
1951
- onClick: u,
1952
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
1950
+ onClick: d,
1951
+ class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", a.showIcon ? "datepicker-close-icon" : "me-2"])
1953
1952
  }, null, 8, ["class"]), [
1954
- [q, t.modelValue]
1953
+ [Y, a.modelValue]
1955
1954
  ])
1956
1955
  ]),
1957
- m("span", Ht, [
1958
- $(s.$slots, "after")
1956
+ m("span", Za, [
1957
+ $(n.$slots, "after")
1959
1958
  ])
1960
1959
  ]),
1961
1960
  H(m("small", {
1962
1961
  "data-cy": "error",
1963
1962
  class: "text-invalid"
1964
- }, h(p(a)), 513), [
1965
- [q, c.value]
1963
+ }, h(u(l)), 513), [
1964
+ [Y, c.value]
1966
1965
  ])
1967
1966
  ], 64);
1968
1967
  };
1969
1968
  }
1970
- }), Va = /* @__PURE__ */ F({
1969
+ }), Oi = /* @__PURE__ */ F({
1971
1970
  __name: "ForgeRemainingCharacters",
1972
1971
  props: {
1973
1972
  maxCount: { default: 300 },
1974
1973
  currentCount: {}
1975
1974
  },
1976
1975
  setup(e) {
1977
- const t = e, l = k(() => t.maxCount - t.currentCount);
1978
- return (o, a) => (i(), b("div", {
1979
- class: B(l.value < 0 ? "text-danger" : "")
1980
- }, "Remaining characters: " + h(l.value), 3));
1976
+ const a = e, t = k(() => a.maxCount - a.currentCount);
1977
+ return (i, l) => (p(), x("div", {
1978
+ class: B(t.value < 0 ? "text-danger" : "")
1979
+ }, "Remaining characters: " + h(t.value), 3));
1981
1980
  }
1982
- }), jt = { class: "d-flex justify-content-between" }, Sa = /* @__PURE__ */ F({
1981
+ }), Ja = { class: "d-flex justify-content-between" }, Di = /* @__PURE__ */ F({
1983
1982
  __name: "ForgeForm",
1984
1983
  props: {
1985
1984
  onSubmit: {},
@@ -1991,93 +1990,93 @@ const bt = { key: 0 }, ft = {
1991
1990
  hideCancel: { type: Boolean, default: !1 }
1992
1991
  },
1993
1992
  setup(e) {
1994
- const t = e, l = P(!1), o = P({
1993
+ const a = e, t = T(!1), i = T({
1995
1994
  hasError: !1,
1996
1995
  message: ""
1997
1996
  });
1998
- async function a() {
1999
- l.value = !0, o.value.hasError = !1;
1997
+ async function l() {
1998
+ t.value = !0, i.value.hasError = !1;
2000
1999
  try {
2001
- await t.onSubmit();
2002
- } catch (n) {
2003
- o.value.hasError = !0, n.message && (o.value.message = n.message);
2000
+ await a.onSubmit();
2001
+ } catch (o) {
2002
+ i.value.hasError = !0, o.message && (i.value.message = o.message);
2004
2003
  }
2005
- l.value = !1;
2004
+ t.value = !1;
2006
2005
  }
2007
- return (n, r) => {
2008
- const d = L;
2009
- return i(), b("form", _(n.$attrs, {
2006
+ return (o, r) => {
2007
+ const s = A;
2008
+ return p(), x("form", z(o.$attrs, {
2010
2009
  novalidate: "",
2011
2010
  class: "position-relative shadow-sm border p-4 bg-white",
2012
- onSubmit: W(a, ["prevent"])
2011
+ onSubmit: G(l, ["prevent"])
2013
2012
  }), [
2014
- n.hideTitle ? T("", !0) : (i(), b(N, { key: 0 }, [
2015
- $(n.$slots, "title", {}, () => [
2013
+ o.hideTitle ? C("", !0) : (p(), x(q, { key: 0 }, [
2014
+ $(o.$slots, "title", {}, () => [
2016
2015
  m("h3", {
2017
- class: B(n.titleClass),
2016
+ class: B(o.titleClass),
2018
2017
  "data-cy": "form-title"
2019
- }, h(n.title), 3)
2018
+ }, h(o.title), 3)
2020
2019
  ]),
2021
2020
  r[1] || (r[1] = m("hr", null, null, -1))
2022
2021
  ], 64)),
2023
- o.value.hasError ? (i(), w(oe, {
2022
+ i.value.hasError ? (p(), w(re, {
2024
2023
  key: 1,
2025
2024
  severity: "danger",
2026
2025
  "data-cy": "error"
2027
2026
  }, {
2028
2027
  default: g(() => [
2029
- $(n.$slots, "error", {
2030
- error: o.value.message
2028
+ $(o.$slots, "error", {
2029
+ error: i.value.message
2031
2030
  }, () => [
2032
- O(h(o.value.message), 1)
2031
+ P(h(i.value.message), 1)
2033
2032
  ])
2034
2033
  ]),
2035
2034
  _: 3
2036
- })) : T("", !0),
2037
- $(n.$slots, "default"),
2038
- m("div", jt, [
2039
- $(n.$slots, "cancel", {}, () => [
2040
- n.hideCancel ? T("", !0) : (i(), w(d, {
2035
+ })) : C("", !0),
2036
+ $(o.$slots, "default"),
2037
+ m("div", Ja, [
2038
+ $(o.$slots, "cancel", {}, () => [
2039
+ o.hideCancel ? C("", !0) : (p(), w(s, {
2041
2040
  key: 0,
2042
2041
  "data-cy": "cancel-btn",
2043
2042
  type: "reset",
2044
2043
  severity: "secondary",
2045
2044
  outlined: "",
2046
- onClick: r[0] || (r[0] = (u) => n.$emit("cancel"))
2045
+ onClick: r[0] || (r[0] = (d) => o.$emit("cancel"))
2047
2046
  }, {
2048
2047
  default: g(() => [
2049
- O(h(n.cancelText), 1)
2048
+ P(h(o.cancelText), 1)
2050
2049
  ]),
2051
2050
  _: 1
2052
2051
  }))
2053
2052
  ]),
2054
- $(n.$slots, "submit", { submit: a }, () => [
2055
- y(d, {
2053
+ $(o.$slots, "submit", { submit: l }, () => [
2054
+ f(s, {
2056
2055
  "data-cy": "submit-btn",
2057
2056
  type: "submit",
2058
2057
  severity: "primary",
2059
2058
  class: "ms-auto"
2060
2059
  }, {
2061
2060
  default: g(() => [
2062
- O(h(n.submitText), 1)
2061
+ P(h(o.submitText), 1)
2063
2062
  ]),
2064
2063
  _: 1
2065
2064
  })
2066
2065
  ])
2067
2066
  ]),
2068
- l.value ? (i(), w(ye, {
2067
+ t.value ? (p(), w(we, {
2069
2068
  key: 2,
2070
2069
  "data-cy": "loading-spinner"
2071
- })) : T("", !0)
2070
+ })) : C("", !0)
2072
2071
  ], 16);
2073
2072
  };
2074
2073
  }
2075
- }), qt = {
2074
+ }), Xa = {
2076
2075
  key: 1,
2077
2076
  class: "d-flex flex-column w-100"
2078
- }, Yt = ["for"], Ta = /* @__PURE__ */ F({
2077
+ }, Qa = ["for"], Ui = /* @__PURE__ */ F({
2079
2078
  __name: "ForgeFormField",
2080
- props: /* @__PURE__ */ R({
2079
+ props: /* @__PURE__ */ N({
2081
2080
  name: {},
2082
2081
  fieldLabelPosition: { default: "top" },
2083
2082
  fieldLabel: {},
@@ -2091,97 +2090,97 @@ const bt = { key: 0 }, ft = {
2091
2090
  }),
2092
2091
  emits: ["update:modelValue"],
2093
2092
  setup(e) {
2094
- const t = U(e, "modelValue"), l = e, o = (v) => {
2095
- l.type == "number" ? d(v.value) : d(v);
2096
- }, { errors: a, value: n, errorMessage: r, handleChange: d, handleBlur: u } = G(() => l.name, void 0, {
2097
- initialValue: t.value
2098
- }), c = k(() => a.value.length > 0);
2099
- return ue(() => n.value, (v) => {
2100
- t.value = v;
2101
- }, { immediate: !0 }), (v, s) => {
2102
- const V = Se, S = Ve, M = ie, I = ae, z = re, f = be;
2103
- return l.type === "checkbox" ? (i(), w(mt, _({
2093
+ const a = O(e, "modelValue"), t = e, i = (v) => {
2094
+ t.type == "number" ? s(v.value) : s(v);
2095
+ }, { errors: l, value: o, errorMessage: r, handleChange: s, handleBlur: d } = X(() => t.name, void 0, {
2096
+ initialValue: a.value
2097
+ }), c = k(() => l.value.length > 0);
2098
+ return xe(() => o.value, (v) => {
2099
+ a.value = v;
2100
+ }, { immediate: !0 }), (v, n) => {
2101
+ const j = Oe, S = Ie, V = ce, D = se, M = me, b = ke;
2102
+ return t.type === "checkbox" ? (p(), w(ya, z({
2104
2103
  key: 0,
2105
- id: l.name,
2106
- label: l.fieldLabel
2104
+ id: t.name,
2105
+ label: t.fieldLabel
2107
2106
  }, v.$attrs, {
2108
- name: l.name,
2109
- modelValue: t.value,
2110
- "onUpdate:modelValue": s[0] || (s[0] = (x) => t.value = x)
2111
- }), null, 16, ["id", "label", "name", "modelValue"])) : (i(), b("div", qt, [
2107
+ name: t.name,
2108
+ modelValue: a.value,
2109
+ "onUpdate:modelValue": n[0] || (n[0] = (y) => a.value = y)
2110
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (p(), x("div", Xa, [
2112
2111
  m("div", {
2113
2112
  "data-cy": "input-wrapper",
2114
- class: B(["d-flex", l.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2113
+ class: B(["d-flex", t.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2115
2114
  }, [
2116
2115
  m("label", {
2117
- for: l.name,
2118
- class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + l.labelWidthClass)
2119
- }, h(l.fieldLabel), 11, Yt),
2120
- l.type === "number" ? (i(), w(p(me), _({
2116
+ for: t.name,
2117
+ class: B(t.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + t.labelWidthClass)
2118
+ }, h(t.fieldLabel), 11, Qa),
2119
+ t.type === "number" ? (p(), w(u(ge), z({
2121
2120
  key: 0,
2122
- id: l.name
2121
+ id: t.name
2123
2122
  }, v.$attrs, {
2124
- placeholder: l.placeholder,
2123
+ placeholder: t.placeholder,
2125
2124
  "input-class": { "is-invalid": c.value },
2126
2125
  class: { "is-invalid": c.value },
2127
- modelValue: t.value,
2128
- "onUpdate:modelValue": s[1] || (s[1] = (x) => t.value = x),
2129
- onInput: o
2130
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(V, _({
2126
+ modelValue: a.value,
2127
+ "onUpdate:modelValue": n[1] || (n[1] = (y) => a.value = y),
2128
+ onInput: i
2129
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : t.type === "textarea" ? (p(), w(j, z({
2131
2130
  key: 1,
2132
- id: l.name
2131
+ id: t.name
2133
2132
  }, v.$attrs, {
2134
- placeholder: l.placeholder,
2133
+ placeholder: t.placeholder,
2135
2134
  class: { "is-invalid": c.value },
2136
- modelValue: t.value,
2137
- "onUpdate:modelValue": s[2] || (s[2] = (x) => t.value = x),
2138
- onInput: o,
2139
- onBlur: p(u)
2140
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(S, _({
2135
+ modelValue: a.value,
2136
+ "onUpdate:modelValue": n[2] || (n[2] = (y) => a.value = y),
2137
+ onInput: i,
2138
+ onBlur: u(d)
2139
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "mask" ? (p(), w(S, z({
2141
2140
  key: 2,
2142
- id: l.name
2141
+ id: t.name
2143
2142
  }, v.$attrs, {
2144
- placeholder: l.placeholder,
2145
- mask: l.mask,
2143
+ placeholder: t.placeholder,
2144
+ mask: t.mask,
2146
2145
  class: { "is-invalid": c.value },
2147
- modelValue: t.value,
2148
- "onUpdate:modelValue": s[3] || (s[3] = (x) => t.value = x),
2149
- onComplete: o,
2150
- onBlur: p(u)
2151
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(M, _({
2146
+ modelValue: a.value,
2147
+ "onUpdate:modelValue": n[3] || (n[3] = (y) => a.value = y),
2148
+ onComplete: i,
2149
+ onBlur: u(d)
2150
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : t.type === "text" ? (p(), w(V, z({
2152
2151
  key: 3,
2153
- id: l.name
2152
+ id: t.name
2154
2153
  }, v.$attrs, {
2155
- placeholder: l.placeholder,
2154
+ placeholder: t.placeholder,
2156
2155
  class: { "is-invalid": c.value },
2157
- modelValue: t.value,
2158
- "onUpdate:modelValue": s[4] || (s[4] = (x) => t.value = x),
2159
- onInput: o,
2160
- onBlur: p(u)
2161
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(I, _({ key: 4 }, { ...l, ...v.$attrs }, {
2162
- modelValue: t.value,
2163
- "onUpdate:modelValue": s[5] || (s[5] = (x) => t.value = x),
2156
+ modelValue: a.value,
2157
+ "onUpdate:modelValue": n[4] || (n[4] = (y) => a.value = y),
2158
+ onInput: i,
2159
+ onBlur: u(d)
2160
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "select" ? (p(), w(D, z({ key: 4 }, { ...t, ...v.$attrs }, {
2161
+ modelValue: a.value,
2162
+ "onUpdate:modelValue": n[5] || (n[5] = (y) => a.value = y),
2164
2163
  class: { "is-invalid": c.value }
2165
- }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, _({ key: 5 }, { ...l, ...v.$attrs }, {
2166
- modelValue: t.value,
2167
- "onUpdate:modelValue": s[6] || (s[6] = (x) => t.value = x),
2164
+ }), null, 16, ["modelValue", "class"])) : t.type === "multiselect" ? (p(), w(M, z({ key: 5 }, { ...t, ...v.$attrs }, {
2165
+ modelValue: a.value,
2166
+ "onUpdate:modelValue": n[6] || (n[6] = (y) => a.value = y),
2168
2167
  class: { "is-invalid": c.value }
2169
- }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(f, _({ key: 6 }, { ...l, ...v.$attrs }, {
2170
- modelValue: t.value,
2171
- "onUpdate:modelValue": s[7] || (s[7] = (x) => t.value = x),
2168
+ }), null, 16, ["modelValue", "class"])) : t.type === "datepicker" ? (p(), w(b, z({ key: 6 }, { ...t, ...v.$attrs }, {
2169
+ modelValue: a.value,
2170
+ "onUpdate:modelValue": n[7] || (n[7] = (y) => a.value = y),
2172
2171
  class: { "is-invalid": c.value }
2173
- }), null, 16, ["modelValue", "class"])) : T("", !0)
2172
+ }), null, 16, ["modelValue", "class"])) : C("", !0)
2174
2173
  ], 2),
2175
2174
  H(m("small", {
2176
2175
  "data-cy": "error",
2177
2176
  class: "invalid-feedback"
2178
- }, h(p(r)), 513), [
2179
- [q, c.value && l.type !== "multiselect" && l.type !== "datepicker"]
2177
+ }, h(u(r)), 513), [
2178
+ [Y, c.value && t.type !== "multiselect" && t.type !== "datepicker"]
2180
2179
  ])
2181
2180
  ]));
2182
2181
  };
2183
2182
  }
2184
- }), Pa = /* @__PURE__ */ F({
2183
+ }), qi = /* @__PURE__ */ F({
2185
2184
  __name: "ForgeChips",
2186
2185
  props: {
2187
2186
  chipSeverity: { default: "primary" },
@@ -2208,17 +2207,17 @@ const bt = { key: 0 }, ft = {
2208
2207
  unstyled: { type: Boolean }
2209
2208
  },
2210
2209
  setup(e) {
2211
- const t = e, { errors: l, value: o, errorMessage: a } = G(() => t.name, void 0, {
2212
- initialValue: t.modelValue
2213
- }), n = k(() => l.value.length > 0), r = k(() => ({
2210
+ const a = e, { errors: t, value: i, errorMessage: l } = X(() => a.name, void 0, {
2211
+ initialValue: a.modelValue
2212
+ }), o = k(() => t.value.length > 0), r = k(() => ({
2214
2213
  inputtoken: "list-unstyled",
2215
2214
  input: "border-0",
2216
- container: ({ props: d }) => ({
2215
+ container: ({ props: s }) => ({
2217
2216
  class: [
2218
2217
  "form-control mb-0 d-flex",
2219
2218
  {
2220
- disabled: d.disabled,
2221
- "is-invalid": n.value
2219
+ disabled: s.disabled,
2220
+ "is-invalid": o.value
2222
2221
  }
2223
2222
  ]
2224
2223
  }),
@@ -2226,36 +2225,36 @@ const bt = { key: 0 }, ft = {
2226
2225
  class: [
2227
2226
  "rounded px-2 py-1 me-2 text-white list-unstyled",
2228
2227
  {
2229
- "rounded-pill": t.pill,
2230
- "opacity-75": t.disabled
2228
+ "rounded-pill": a.pill,
2229
+ "opacity-75": a.disabled
2231
2230
  },
2232
2231
  {
2233
- "bg-primary border-primary": t.chipSeverity === void 0 || t.chipSeverity === "primary",
2234
- "bg-brand border-brand": t.chipSeverity === "brand",
2235
- "bg-secondary border-secondary": t.chipSeverity === "secondary",
2236
- "bg-success border-success": t.chipSeverity === "success",
2237
- "bg-warning border-warning": t.chipSeverity === "warning",
2238
- "bg-danger border-danger": t.chipSeverity === "danger",
2239
- "bg-info border-info": t.chipSeverity === "info"
2232
+ "bg-primary border-primary": a.chipSeverity === void 0 || a.chipSeverity === "primary",
2233
+ "bg-brand border-brand": a.chipSeverity === "brand",
2234
+ "bg-secondary border-secondary": a.chipSeverity === "secondary",
2235
+ "bg-success border-success": a.chipSeverity === "success",
2236
+ "bg-warning border-warning": a.chipSeverity === "warning",
2237
+ "bg-danger border-danger": a.chipSeverity === "danger",
2238
+ "bg-info border-info": a.chipSeverity === "info"
2240
2239
  }
2241
2240
  ]
2242
2241
  }
2243
2242
  }));
2244
- return (d, u) => {
2245
- const c = Te;
2246
- return i(), b(N, null, [
2247
- y(c, _({ ...t, ...d.$attrs }, {
2243
+ return (s, d) => {
2244
+ const c = De;
2245
+ return p(), x(q, null, [
2246
+ f(c, z({ ...a, ...s.$attrs }, {
2248
2247
  pt: r.value,
2249
- "model-value": p(o),
2250
- "onUpdate:modelValue": u[0] || (u[0] = (v) => se(o) ? o.value = v : null)
2248
+ "model-value": u(i),
2249
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => de(i) ? i.value = v : null)
2251
2250
  }), {
2252
2251
  removetokenicon: g(({ removeCallback: v }) => [
2253
- H(y(p(C), {
2252
+ H(f(u(_), {
2254
2253
  icon: "bi:x",
2255
2254
  class: "cursor-pointer",
2256
2255
  onClick: v
2257
2256
  }, null, 8, ["onClick"]), [
2258
- [q, !t.disabled]
2257
+ [Y, !a.disabled]
2259
2258
  ])
2260
2259
  ]),
2261
2260
  _: 1
@@ -2263,13 +2262,13 @@ const bt = { key: 0 }, ft = {
2263
2262
  H(m("small", {
2264
2263
  "data-cy": "error",
2265
2264
  class: "text-invalid"
2266
- }, h(p(a)), 513), [
2267
- [q, n.value]
2265
+ }, h(u(l)), 513), [
2266
+ [Y, o.value]
2268
2267
  ])
2269
2268
  ], 64);
2270
2269
  };
2271
2270
  }
2272
- }), Wt = /* @__PURE__ */ F({
2271
+ }), et = /* @__PURE__ */ F({
2273
2272
  __name: "ForgeProgressBar",
2274
2273
  props: {
2275
2274
  severity: { default: "primary" },
@@ -2284,8 +2283,8 @@ const bt = { key: 0 }, ft = {
2284
2283
  unstyled: { type: Boolean }
2285
2284
  },
2286
2285
  setup(e) {
2287
- const t = e, l = k(() => t.striped ? "progress-bar-striped" : null), o = k(() => t.animate ? "progress-bar-animated" : null), a = k(() => {
2288
- switch (t.severity) {
2286
+ const a = e, t = k(() => a.striped ? "progress-bar-striped" : null), i = k(() => a.animate ? "progress-bar-animated" : null), l = k(() => {
2287
+ switch (a.severity) {
2289
2288
  case "brand":
2290
2289
  return "bg-brand";
2291
2290
  case "secondary":
@@ -2303,17 +2302,17 @@ const bt = { key: 0 }, ft = {
2303
2302
  default:
2304
2303
  return "bg-primary";
2305
2304
  }
2306
- }), n = k(() => ({
2305
+ }), o = k(() => ({
2307
2306
  root: {
2308
- style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2307
+ style: a.pixelWidth ? `width: ${a.pixelWidth}px` : ""
2309
2308
  },
2310
2309
  value: {
2311
- class: [a.value, l.value, o.value]
2310
+ class: [l.value, t.value, i.value]
2312
2311
  }
2313
2312
  }));
2314
- return (r, d) => {
2315
- const u = Pe;
2316
- return i(), w(u, _({ ...r.$attrs, ...t }, { pt: n.value }), {
2313
+ return (r, s) => {
2314
+ const d = Ue;
2315
+ return p(), w(d, z({ ...r.$attrs, ...a }, { pt: o.value }), {
2317
2316
  default: g(() => [
2318
2317
  $(r.$slots, "default")
2319
2318
  ]),
@@ -2321,26 +2320,26 @@ const bt = { key: 0 }, ft = {
2321
2320
  }, 16, ["pt"]);
2322
2321
  };
2323
2322
  }
2324
- }), Gt = { class: "value text-white w-100 text-center" }, Ma = /* @__PURE__ */ F({
2323
+ }), at = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
2325
2324
  __name: "ForgeStatWidget",
2326
2325
  props: {
2327
2326
  size: { default: "md" },
2328
2327
  severity: { default: "primary" }
2329
2328
  },
2330
2329
  setup(e) {
2331
- const t = e;
2332
- return (l, o) => (i(), b("div", _(l.$attrs, {
2333
- class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2330
+ const a = e;
2331
+ return (t, i) => (p(), x("div", z(t.$attrs, {
2332
+ class: `d-flex shadow m-2 align-items-center widget--${a.size} bg-${a.severity}`
2334
2333
  }), [
2335
- m("span", Gt, [
2336
- $(l.$slots, "default")
2334
+ m("span", at, [
2335
+ $(t.$slots, "default")
2337
2336
  ])
2338
2337
  ], 16));
2339
2338
  }
2340
- }), Kt = {
2339
+ }), tt = {
2341
2340
  class: "d-flex flex-column align-items-center",
2342
2341
  "data-cy": "stepper"
2343
- }, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, Ia = /* @__PURE__ */ F({
2342
+ }, it = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
2344
2343
  __name: "ForgeStepper",
2345
2344
  props: {
2346
2345
  currentStep: { default: 0 },
@@ -2355,22 +2354,22 @@ const bt = { key: 0 }, ft = {
2355
2354
  unstyled: { type: Boolean }
2356
2355
  },
2357
2356
  emits: ["update:currentStep"],
2358
- setup(e, { emit: t }) {
2359
- const l = t, o = e, a = P(o.currentStep), n = () => {
2357
+ setup(e, { emit: a }) {
2358
+ const t = a, i = e, l = T(i.currentStep), o = () => {
2360
2359
  do
2361
- a.value--;
2362
- while (o.model[a.value].disabled);
2363
- l("update:currentStep", a.value);
2360
+ l.value--;
2361
+ while (i.model[l.value].disabled);
2362
+ t("update:currentStep", l.value);
2364
2363
  }, r = () => {
2365
- if (a.value < o.model.length - 1)
2364
+ if (l.value < i.model.length - 1)
2366
2365
  do
2367
- a.value++;
2368
- while (o.model[a.value].disabled);
2369
- l("update:currentStep", a.value);
2370
- }, d = k(() => {
2371
- const c = o.model.findIndex((v) => !v.disabled);
2372
- return !(c < a.value && c > -1);
2373
- }), u = k(() => ({
2366
+ l.value++;
2367
+ while (i.model[l.value].disabled);
2368
+ t("update:currentStep", l.value);
2369
+ }, s = k(() => {
2370
+ const c = i.model.findIndex((v) => !v.disabled);
2371
+ return !(c < l.value && c > -1);
2372
+ }), d = k(() => ({
2374
2373
  menuitem: (c) => ({
2375
2374
  class: [{
2376
2375
  "cursor-pointer": !c.context.disabled
@@ -2381,13 +2380,13 @@ const bt = { key: 0 }, ft = {
2381
2380
  "d-flex align-items-center justify-content-center mb-2 step",
2382
2381
  {
2383
2382
  inactive: c.context.disabled,
2384
- "bg-primary text-white": c.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2385
- "bg-brand text-white": c.context.index === a.value && o.severity === "brand",
2386
- "bg-secondary text-white": c.context.index === a.value && o.severity === "secondary",
2387
- "bg-success text-white": c.context.index === a.value && o.severity === "success",
2388
- "bg-warning text-white": c.context.index === a.value && o.severity === "warning",
2389
- "bg-danger text-white": c.context.index === a.value && o.severity === "danger",
2390
- "bg-info text-white": c.context.index === a.value && o.severity === "info"
2383
+ "bg-primary text-white": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
2384
+ "bg-brand text-white": c.context.index === l.value && i.severity === "brand",
2385
+ "bg-secondary text-white": c.context.index === l.value && i.severity === "secondary",
2386
+ "bg-success text-white": c.context.index === l.value && i.severity === "success",
2387
+ "bg-warning text-white": c.context.index === l.value && i.severity === "warning",
2388
+ "bg-danger text-white": c.context.index === l.value && i.severity === "danger",
2389
+ "bg-info text-white": c.context.index === l.value && i.severity === "info"
2391
2390
  }
2392
2391
  ]
2393
2392
  }),
@@ -2395,61 +2394,61 @@ const bt = { key: 0 }, ft = {
2395
2394
  class: [
2396
2395
  "h5",
2397
2396
  {
2398
- "border-bottom border-2 border-primary": c.context.index === a.value && (o.severity === void 0 || o.severity === "primary"),
2399
- "border-bottom border-2 border-brand": c.context.index === a.value && o.severity === "brand",
2400
- "border-bottom border-2 border-secondary": c.context.index === a.value && o.severity === "secondary",
2401
- "border-bottom border-2 border-success": c.context.index === a.value && o.severity === "success",
2402
- "border-bottom border-2 border-warning": c.context.index === a.value && o.severity === "warning",
2403
- "border-bottom border-2 border-danger": c.context.index === a.value && o.severity === "danger",
2404
- "border-bottom border-2 border-info": c.context.index === a.value && o.severity === "info"
2397
+ "border-bottom border-2 border-primary": c.context.index === l.value && (i.severity === void 0 || i.severity === "primary"),
2398
+ "border-bottom border-2 border-brand": c.context.index === l.value && i.severity === "brand",
2399
+ "border-bottom border-2 border-secondary": c.context.index === l.value && i.severity === "secondary",
2400
+ "border-bottom border-2 border-success": c.context.index === l.value && i.severity === "success",
2401
+ "border-bottom border-2 border-warning": c.context.index === l.value && i.severity === "warning",
2402
+ "border-bottom border-2 border-danger": c.context.index === l.value && i.severity === "danger",
2403
+ "border-bottom border-2 border-info": c.context.index === l.value && i.severity === "info"
2405
2404
  }
2406
2405
  ]
2407
2406
  })
2408
2407
  }));
2409
2408
  return (c, v) => {
2410
- const s = L, V = Ie, S = Me;
2411
- return i(), b("div", Kt, [
2412
- m("div", Zt, [
2413
- y(s, {
2414
- severity: o.severity,
2415
- disabled: d.value,
2416
- onClick: n,
2409
+ const n = A, j = Ae, S = qe;
2410
+ return p(), x("div", tt, [
2411
+ m("div", it, [
2412
+ f(n, {
2413
+ severity: i.severity,
2414
+ disabled: s.value,
2415
+ onClick: o,
2417
2416
  class: "rounded-circle py-2 me-4",
2418
2417
  "data-cy": "back-button"
2419
2418
  }, {
2420
2419
  default: g(() => [
2421
- y(p(C), {
2420
+ f(u(_), {
2422
2421
  icon: "bi:chevron-left",
2423
2422
  class: "mb-1"
2424
2423
  })
2425
2424
  ]),
2426
2425
  _: 1
2427
2426
  }, 8, ["severity", "disabled"]),
2428
- y(V, {
2429
- "active-step": a.value,
2430
- "onUpdate:activeStep": v[0] || (v[0] = (M) => a.value = M),
2431
- model: o.model,
2432
- pt: u.value,
2427
+ f(j, {
2428
+ "active-step": l.value,
2429
+ "onUpdate:activeStep": v[0] || (v[0] = (V) => l.value = V),
2430
+ model: i.model,
2431
+ pt: d.value,
2433
2432
  readonly: !1
2434
2433
  }, null, 8, ["active-step", "model", "pt"])
2435
2434
  ]),
2436
- y(S, { class: "m-4" }),
2437
- (i(!0), b(N, null, j(o.model, (M, I) => (i(), b("div", {
2438
- key: I,
2435
+ f(S, { class: "m-4" }),
2436
+ (p(!0), x(q, null, W(i.model, (V, D) => (p(), x("div", {
2437
+ key: D,
2439
2438
  class: "w-100"
2440
2439
  }, [
2441
- I === a.value ? $(c.$slots, M.key ?? M.label, {
2440
+ D === l.value ? $(c.$slots, V.key ?? V.label, {
2442
2441
  key: 0,
2443
2442
  nextStep: r,
2444
- previousStep: n
2443
+ previousStep: o
2445
2444
  }, () => [
2446
- y(oe, {
2445
+ f(re, {
2447
2446
  severity: "info",
2448
2447
  "data-cy": "alert"
2449
2448
  }, {
2450
2449
  default: g(() => [
2451
- O(" Please add Slot Content for the key " + h(M.key ?? M.label) + " ", 1),
2452
- y(s, {
2450
+ P(" Please add Slot Content for the key " + h(V.key ?? V.label) + " ", 1),
2451
+ f(n, {
2453
2452
  severity: "primary",
2454
2453
  label: "Next",
2455
2454
  onClick: r,
@@ -2458,12 +2457,12 @@ const bt = { key: 0 }, ft = {
2458
2457
  ]),
2459
2458
  _: 2
2460
2459
  }, 1024)
2461
- ]) : T("", !0)
2460
+ ]) : C("", !0)
2462
2461
  ]))), 128))
2463
2462
  ]);
2464
2463
  };
2465
2464
  }
2466
- }), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, za = /* @__PURE__ */ F({
2465
+ }), lt = { class: "p-4 text-wrap w-100" }, ot = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
2467
2466
  __name: "ForgeTile",
2468
2467
  props: {
2469
2468
  severity: { default: "primary" },
@@ -2472,48 +2471,48 @@ const bt = { key: 0 }, ft = {
2472
2471
  selected: { type: Boolean, default: !1 }
2473
2472
  },
2474
2473
  setup(e) {
2475
- 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" : ""}`);
2476
- return (a, n) => {
2477
- const r = L;
2478
- return t.clickable ? (i(), w(r, {
2474
+ const a = e, t = k(() => `${a.severity === void 0 ? "tile-primary" : `tile-${a.severity}`} ${a.barPosition === "none" ? "" : `tile-bar-${a.barPosition}`} ${a.selected ? "selected" : ""}`), i = k(() => `${a.severity === void 0 ? "tile-primary border-primary" : `tile-${a.severity} border-${a.severity}`} ${a.barPosition === "none" ? "" : `tile-bar-${a.barPosition}`} ${a.selected ? "selected" : ""}`);
2475
+ return (l, o) => {
2476
+ const r = A;
2477
+ return a.clickable ? (p(), w(r, {
2479
2478
  key: 0,
2480
- class: B(["d-flex w-100 p-0 text-body", l.value]),
2481
- severity: t.severity,
2479
+ class: B(["d-flex w-100 p-0 text-body", t.value]),
2480
+ severity: a.severity,
2482
2481
  unstyled: "",
2483
2482
  "data-cy": "button-tile"
2484
2483
  }, {
2485
2484
  default: g(() => [
2486
- m("div", Jt, [
2487
- $(a.$slots, "default", {}, () => [
2488
- n[0] || (n[0] = O("Tile Content"))
2485
+ m("div", lt, [
2486
+ $(l.$slots, "default", {}, () => [
2487
+ o[0] || (o[0] = P("Tile Content"))
2489
2488
  ])
2490
2489
  ])
2491
2490
  ]),
2492
2491
  _: 3
2493
- }, 8, ["severity", "class"])) : (i(), b("div", {
2492
+ }, 8, ["severity", "class"])) : (p(), x("div", {
2494
2493
  key: 1,
2495
- class: B(["d-flex w-100", o.value]),
2494
+ class: B(["d-flex w-100", i.value]),
2496
2495
  "data-cy": "tile"
2497
2496
  }, [
2498
- m("div", Xt, [
2499
- $(a.$slots, "default", {}, () => [
2500
- n[1] || (n[1] = O("Tile Content"))
2497
+ m("div", ot, [
2498
+ $(l.$slots, "default", {}, () => [
2499
+ o[1] || (o[1] = P("Tile Content"))
2501
2500
  ])
2502
2501
  ])
2503
2502
  ], 2));
2504
2503
  };
2505
2504
  }
2506
2505
  });
2507
- function X(e, t) {
2508
- return e > 1 ? `${t}s` : t;
2506
+ function te(e, a) {
2507
+ return e > 1 ? `${a}s` : a;
2509
2508
  }
2510
- const Qt = {
2509
+ const nt = {
2511
2510
  class: "d-flex justify-content-start align-items-baseline",
2512
2511
  "data-cy": "pagination-header"
2513
- }, el = { class: "ms-2" }, tl = { key: 0 }, ll = {
2512
+ }, st = { class: "ms-2" }, rt = { key: 0 }, pt = {
2514
2513
  class: "w-auto",
2515
2514
  "data-cy": "total"
2516
- }, al = /* @__PURE__ */ F({
2515
+ }, dt = /* @__PURE__ */ F({
2517
2516
  __name: "ForgePaginationHeader",
2518
2517
  props: {
2519
2518
  total: {},
@@ -2521,33 +2520,33 @@ const Qt = {
2521
2520
  perPage: { default: 10 }
2522
2521
  },
2523
2522
  emits: ["update:perPage"],
2524
- setup(e, { emit: t }) {
2525
- const l = t, o = e, a = (r) => {
2526
- l("update:perPage", r.value);
2527
- }, n = k(() => {
2528
- const r = Math.ceil(o.total / o.perPage);
2529
- return `${r} ${X(r, "page")}`;
2523
+ setup(e, { emit: a }) {
2524
+ const t = a, i = e, l = (r) => {
2525
+ t("update:perPage", r.value);
2526
+ }, o = k(() => {
2527
+ const r = Math.ceil(i.total / i.perPage);
2528
+ return `${r} ${te(r, "page")}`;
2530
2529
  });
2531
- return (r, d) => (i(), b("div", Qt, [
2532
- d[2] || (d[2] = O(" Number of results per page ")),
2533
- m("div", el, [
2534
- y(p(ae), {
2535
- options: o.pageSizes,
2536
- "model-value": o.perPage,
2530
+ return (r, s) => (p(), x("div", nt, [
2531
+ s[2] || (s[2] = P(" Number of results per page ")),
2532
+ m("div", st, [
2533
+ f(u(se), {
2534
+ options: i.pageSizes,
2535
+ "model-value": i.perPage,
2537
2536
  class: "page-size",
2538
- onChange: d[0] || (d[0] = (u) => a(u))
2537
+ onChange: s[0] || (s[0] = (d) => l(d))
2539
2538
  }, null, 8, ["options", "model-value"])
2540
2539
  ]),
2541
- o.total ? (i(), b("div", tl, [
2542
- d[1] || (d[1] = m("span", { class: "mx-2" }, "|", -1)),
2543
- m("span", ll, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
2544
- ])) : T("", !0)
2540
+ i.total ? (p(), x("div", rt, [
2541
+ s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
2542
+ m("span", pt, h(i.total) + " " + h(u(te)(i.total, "result")) + " across " + h(o.value), 1)
2543
+ ])) : C("", !0)
2545
2544
  ]));
2546
2545
  }
2547
- }), ol = { class: "position-relative" }, nl = { "data-cy": "above-table-slot" }, sl = { class: "d-flex w-100" }, il = {
2546
+ }), ct = { class: "position-relative" }, mt = { "data-cy": "above-table-slot" }, ut = { class: "d-flex w-100" }, vt = {
2548
2547
  class: "mx-auto",
2549
2548
  "data-cy": "empty-message"
2550
- }, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Oa = /* @__PURE__ */ F({
2549
+ }, ft = { class: "d-flex" }, xt = { class: "d-flex align-items-end mb-2" }, bt = { key: 0 }, gt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
2551
2550
  __name: "ForgeTable",
2552
2551
  props: {
2553
2552
  value: {},
@@ -2628,22 +2627,22 @@ const Qt = {
2628
2627
  unstyled: { type: Boolean }
2629
2628
  },
2630
2629
  emits: ["update:filters", "update:tableContext", "sort", "page"],
2631
- setup(e, { emit: t }) {
2632
- const l = t, o = e, a = P(), n = P([5, 10, 20, 50, 100]), r = P(5), d = P({
2633
- filters: o.filters,
2630
+ setup(e, { emit: a }) {
2631
+ const t = a, i = e, l = T(), o = T([5, 10, 20, 50, 100]), r = T(5), s = T({
2632
+ filters: i.filters,
2634
2633
  perPage: r.value,
2635
2634
  page: 0,
2636
2635
  sortDirection: "None",
2637
2636
  sortField: "",
2638
- total: o.totalRecords ?? o.value.length
2639
- }), u = k(() => o.totalRecords ?? o.value.length), c = k(() => {
2640
- const f = Math.ceil(u.value / r.value);
2641
- return `${f} ${X(f, "page")}`;
2637
+ total: i.totalRecords ?? i.value.length
2638
+ }), d = k(() => i.totalRecords ?? i.value.length), c = k(() => {
2639
+ const b = Math.ceil(d.value / r.value);
2640
+ return `${b} ${te(b, "page")}`;
2642
2641
  }), v = k(() => ({
2643
2642
  thead: () => ({
2644
2643
  class: [
2645
2644
  {
2646
- "sticky-header": o.stickyHeader
2645
+ "sticky-header": i.stickyHeader
2647
2646
  }
2648
2647
  ],
2649
2648
  style: "position: "
@@ -2652,162 +2651,162 @@ const Qt = {
2652
2651
  class: [
2653
2652
  "spinner-border border-0",
2654
2653
  {
2655
- "text-brand": o.severity === "brand",
2656
- "text-primary": o.severity === "primary",
2657
- "text-success": o.severity === "success",
2658
- "text-warning": o.severity === "warning",
2659
- "text-danger": o.severity === "danger",
2660
- "text-info": o.severity === "info"
2654
+ "text-brand": i.severity === "brand",
2655
+ "text-primary": i.severity === "primary",
2656
+ "text-success": i.severity === "success",
2657
+ "text-warning": i.severity === "warning",
2658
+ "text-danger": i.severity === "danger",
2659
+ "text-info": i.severity === "info"
2661
2660
  }
2662
2661
  ]
2663
2662
  })
2664
- })), s = () => {
2665
- if (o.clearAll)
2666
- o.clearAll();
2663
+ })), n = () => {
2664
+ if (i.clearAll)
2665
+ i.clearAll();
2667
2666
  else
2668
- for (const f in o.filters)
2669
- typeof o.filters[f] == "string" ? o.filters[f] = "" : o.filters[f].value = null;
2670
- M(o.filters);
2671
- }, V = () => {
2672
- a.value.exportCSV();
2673
- }, S = (f) => {
2674
- var x;
2675
- d.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", d.value.sortField = ((x = f.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", d.value), l("sort", f);
2676
- }, M = (f) => {
2677
- d.value.filters = f, l("update:tableContext", d.value), l("update:filters", f);
2678
- }, I = (f) => {
2679
- d.value.page = f.page, l("update:tableContext", d.value), l("page", f);
2680
- }, z = () => {
2681
- d.value.perPage = r.value, l("update:tableContext", d.value);
2667
+ for (const b in i.filters)
2668
+ typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
2669
+ V(i.filters);
2670
+ }, j = () => {
2671
+ l.value.exportCSV();
2672
+ }, S = (b) => {
2673
+ var y;
2674
+ s.value.sortDirection = b.sortOrder === 1 ? "Asc" : b.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((y = b.sortField) == null ? void 0 : y.toString()) ?? "", t("update:tableContext", s.value), t("sort", b);
2675
+ }, V = (b) => {
2676
+ s.value.filters = b, t("update:tableContext", s.value), t("update:filters", b);
2677
+ }, D = (b) => {
2678
+ s.value.page = b.page, t("update:tableContext", s.value), t("page", b);
2679
+ }, M = () => {
2680
+ s.value.perPage = r.value, t("update:tableContext", s.value);
2682
2681
  };
2683
- return ue(() => o.filters, (f) => {
2684
- d.value.filters = f, l("update:tableContext", d.value);
2685
- }, { deep: !0 }), le(() => l("update:tableContext", d.value)), (f, x) => (i(), b("div", ol, [
2686
- m("span", nl, [
2687
- $(f.$slots, "above-table")
2682
+ return xe(() => i.filters, (b) => {
2683
+ s.value.filters = b, t("update:tableContext", s.value);
2684
+ }, { deep: !0 }), ne(() => t("update:tableContext", s.value)), (b, y) => (p(), x("div", ct, [
2685
+ m("span", mt, [
2686
+ $(b.$slots, "above-table")
2688
2687
  ]),
2689
- y(p(ze), _({
2690
- class: ["w-100", `${o.severity ? `forge-table-${o.severity}` : ""}`]
2691
- }, { ...o, ...f.$attrs }, {
2688
+ f(u(Ee), z({
2689
+ class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
2690
+ }, { ...i, ...b.$attrs }, {
2692
2691
  pt: v.value,
2693
2692
  rows: r.value,
2694
- "total-records": u.value,
2695
- "filter-display": o.filters ? "row" : void 0,
2693
+ "total-records": d.value,
2694
+ "filter-display": i.filters ? "row" : void 0,
2696
2695
  ref_key: "forgeTable",
2697
- ref: a,
2696
+ ref: l,
2698
2697
  "data-cy": "table",
2699
- "onUpdate:filters": M,
2698
+ "onUpdate:filters": V,
2700
2699
  onSort: S,
2701
- onPage: I
2702
- }), te({
2700
+ onPage: D
2701
+ }), oe({
2703
2702
  empty: g(() => [
2704
- m("div", sl, [
2705
- m("h5", il, h(f.emptyMessage ?? "No items Found."), 1)
2703
+ m("div", ut, [
2704
+ m("h5", vt, h(b.emptyMessage ?? "No items Found."), 1)
2706
2705
  ])
2707
2706
  ]),
2708
2707
  header: g(() => [
2709
2708
  m("div", {
2710
- class: B(o.loading ? "opacity-50" : "")
2709
+ class: B(i.loading ? "opacity-50" : "")
2711
2710
  }, [
2712
- m("div", rl, [
2713
- m("div", dl, [
2714
- f.paginator && !f.legacyPaginationFooter ? (i(), b("span", ul, [
2715
- y(al, {
2716
- total: u.value,
2717
- "page-sizes": n.value,
2711
+ m("div", ft, [
2712
+ m("div", xt, [
2713
+ b.paginator && !b.legacyPaginationFooter ? (p(), x("span", bt, [
2714
+ f(dt, {
2715
+ total: d.value,
2716
+ "page-sizes": o.value,
2718
2717
  "per-page": r.value,
2719
2718
  "onUpdate:perPage": [
2720
- x[0] || (x[0] = (Y) => r.value = Y),
2721
- z
2719
+ y[0] || (y[0] = (R) => r.value = R),
2720
+ M
2722
2721
  ]
2723
2722
  }, null, 8, ["total", "page-sizes", "per-page"])
2724
- ])) : T("", !0)
2723
+ ])) : C("", !0)
2725
2724
  ]),
2726
- m("div", cl, [
2727
- f.showClearButton ? (i(), w(p(L), {
2725
+ m("div", gt, [
2726
+ b.showClearButton ? (p(), w(u(A), {
2728
2727
  key: 0,
2729
2728
  outlined: "",
2730
- class: B(f.showExporterButton ? "me-2" : ""),
2731
- onClick: s,
2729
+ class: B(b.showExporterButton ? "me-2" : ""),
2730
+ onClick: n,
2732
2731
  "data-cy": "clear-all"
2733
2732
  }, {
2734
2733
  default: g(() => [
2735
- y(p(C), {
2734
+ f(u(_), {
2736
2735
  icon: "bi:funnel-fill",
2737
2736
  width: "24",
2738
2737
  height: "24"
2739
2738
  }),
2740
- x[2] || (x[2] = O(" Clear "))
2739
+ y[2] || (y[2] = P(" Clear "))
2741
2740
  ]),
2742
2741
  _: 1
2743
- }, 8, ["class"])) : T("", !0),
2744
- f.showExporterButton ? (i(), w(p(L), {
2742
+ }, 8, ["class"])) : C("", !0),
2743
+ b.showExporterButton ? (p(), w(u(A), {
2745
2744
  key: 1,
2746
2745
  outlined: "",
2747
- onClick: V,
2746
+ onClick: j,
2748
2747
  "data-cy": "exporter"
2749
2748
  }, {
2750
2749
  default: g(() => [
2751
- y(p(C), {
2750
+ f(u(_), {
2752
2751
  icon: "typcn:export",
2753
2752
  width: "24",
2754
2753
  height: "24"
2755
2754
  }),
2756
- x[3] || (x[3] = O(" Export "))
2755
+ y[3] || (y[3] = P(" Export "))
2757
2756
  ]),
2758
2757
  _: 1
2759
- })) : T("", !0),
2760
- $(f.$slots, "column-customiser")
2758
+ })) : C("", !0),
2759
+ $(b.$slots, "column-customiser")
2761
2760
  ])
2762
2761
  ])
2763
2762
  ], 2)
2764
2763
  ]),
2765
2764
  default: g(() => [
2766
- $(f.$slots, "default")
2765
+ $(b.$slots, "default")
2767
2766
  ]),
2768
2767
  _: 2
2769
2768
  }, [
2770
- j(f.$slots, (Y, Z) => ({
2769
+ W(b.$slots, (R, Z) => ({
2771
2770
  name: Z,
2772
- fn: g((ne) => [
2773
- $(f.$slots, Z, Q(ee(ne || {})))
2771
+ fn: g((pe) => [
2772
+ $(b.$slots, Z, ie(le(pe || {})))
2774
2773
  ])
2775
2774
  })),
2776
- f.legacyPaginationFooter ? {
2775
+ b.legacyPaginationFooter ? {
2777
2776
  name: "paginatorstart",
2778
2777
  fn: g(() => [
2779
2778
  m("span", {
2780
- class: B(["d-flex", o.loading ? "opacity-50" : ""]),
2779
+ class: B(["d-flex", i.loading ? "opacity-50" : ""]),
2781
2780
  "data-cy": "legacy-page-size"
2782
2781
  }, [
2783
- x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
2784
- y(p(ae), {
2785
- options: n.value,
2782
+ y[4] || (y[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
2783
+ f(u(se), {
2784
+ options: o.value,
2786
2785
  modelValue: r.value,
2787
- "onUpdate:modelValue": x[1] || (x[1] = (Y) => r.value = Y),
2786
+ "onUpdate:modelValue": y[1] || (y[1] = (R) => r.value = R),
2788
2787
  class: "ms-2",
2789
- onClick: z
2788
+ onClick: M
2790
2789
  }, null, 8, ["options", "modelValue"])
2791
2790
  ], 2)
2792
2791
  ]),
2793
2792
  key: "0"
2794
2793
  } : void 0,
2795
- f.legacyPaginationFooter ? {
2794
+ b.legacyPaginationFooter ? {
2796
2795
  name: "paginatorend",
2797
2796
  fn: g(() => [
2798
2797
  m("span", {
2799
2798
  "data-cy": "legacy-total",
2800
- class: B(o.loading ? "opacity-50" : "")
2801
- }, h(u.value) + " " + h(p(X)(u.value, "result")) + " across " + h(c.value), 3)
2799
+ class: B(i.loading ? "opacity-50" : "")
2800
+ }, h(d.value) + " " + h(u(te)(d.value, "result")) + " across " + h(c.value), 3)
2802
2801
  ]),
2803
2802
  key: "1"
2804
2803
  } : void 0
2805
2804
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
2806
2805
  ]));
2807
2806
  }
2808
- }), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, Da = /* @__PURE__ */ F({
2807
+ }), yt = { class: "d-flex position-relative" }, ht = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
2809
2808
  __name: "ForgeFilterHeader",
2810
- props: /* @__PURE__ */ R({
2809
+ props: /* @__PURE__ */ N({
2811
2810
  dataType: {},
2812
2811
  dropdownOptions: {},
2813
2812
  showClearButton: { type: Boolean, default: !1 },
@@ -2820,56 +2819,56 @@ const Qt = {
2820
2819
  }),
2821
2820
  emits: ["update:modelValue"],
2822
2821
  setup(e) {
2823
- const t = U(e, "modelValue"), l = (a, n) => {
2824
- if (!a || Array.isArray(a) && a.length === 0)
2825
- return n;
2826
- const r = (d) => {
2822
+ const a = O(e, "modelValue"), t = (l, o) => {
2823
+ if (!l || Array.isArray(l) && l.length === 0)
2824
+ return o;
2825
+ const r = (s) => {
2827
2826
  var c;
2828
- const u = (c = e.dropdownOptions) == null ? void 0 : c.find(
2829
- (v) => e.optionValue ? v[e.optionValue] === d : Object.keys(v).every((s) => d.hasOwnProperty(s) && v[s] === d[s])
2827
+ const d = (c = e.dropdownOptions) == null ? void 0 : c.find(
2828
+ (v) => e.optionValue ? v[e.optionValue] === s : Object.keys(v).every((n) => s.hasOwnProperty(n) && v[n] === s[n])
2830
2829
  );
2831
- return e.optionLabel ? u[e.optionLabel] : u;
2830
+ return e.optionLabel ? d[e.optionLabel] : d;
2832
2831
  };
2833
- return Array.isArray(a) ? a.map(r).join(", ") : r(a);
2834
- }, o = () => {
2835
- e.clearFilter ? e.clearFilter() : t.value = null;
2832
+ return Array.isArray(l) ? l.map(r).join(", ") : r(l);
2833
+ }, i = () => {
2834
+ e.clearFilter ? e.clearFilter() : a.value = null;
2836
2835
  };
2837
- return (a, n) => {
2838
- const r = me, d = L;
2839
- return i(), b("div", ml, [
2840
- a.dataType === "numeric" ? (i(), w(r, _({
2836
+ return (l, o) => {
2837
+ const r = ge, s = A;
2838
+ return p(), x("div", yt, [
2839
+ l.dataType === "numeric" ? (p(), w(r, z({
2841
2840
  key: 0,
2842
- modelValue: t.value,
2843
- "onUpdate:modelValue": n[0] || (n[0] = (u) => t.value = u)
2844
- }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(be, _({
2841
+ modelValue: a.value,
2842
+ "onUpdate:modelValue": o[0] || (o[0] = (d) => a.value = d)
2843
+ }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (p(), w(ke, z({
2845
2844
  key: 1,
2846
- modelValue: t.value,
2847
- "onUpdate:modelValue": n[1] || (n[1] = (u) => t.value = u)
2848
- }, a.$attrs, {
2845
+ modelValue: a.value,
2846
+ "onUpdate:modelValue": o[1] || (o[1] = (d) => a.value = d)
2847
+ }, l.$attrs, {
2849
2848
  "show-icon": !1,
2850
2849
  "show-on-focus": !0
2851
- }), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(p(ae), _({
2850
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (p(), w(u(se), z({
2852
2851
  key: 2,
2853
- modelValue: t.value,
2854
- "onUpdate:modelValue": n[2] || (n[2] = (u) => t.value = u)
2855
- }, a.$attrs, {
2856
- options: a.dropdownOptions,
2857
- "option-value": a.optionValue,
2858
- "option-label": a.optionLabel
2852
+ modelValue: a.value,
2853
+ "onUpdate:modelValue": o[2] || (o[2] = (d) => a.value = d)
2854
+ }, l.$attrs, {
2855
+ options: l.dropdownOptions,
2856
+ "option-value": l.optionValue,
2857
+ "option-label": l.optionLabel
2859
2858
  }), {
2860
- value: g(({ value: u, placeholder: c }) => [
2861
- m("div", pl, [
2859
+ value: g(({ value: d, placeholder: c }) => [
2860
+ m("div", ht, [
2862
2861
  m("span", {
2863
- class: B({ "filter-placeholder": u === null })
2864
- }, h(l(u, c)), 3),
2865
- a.showClearButton && t.value !== null ? (i(), w(d, {
2862
+ class: B({ "filter-placeholder": d === null })
2863
+ }, h(t(d, c)), 3),
2864
+ l.showClearButton && a.value !== null ? (p(), w(s, {
2866
2865
  key: 0,
2867
- onClick: W(o, ["prevent"]),
2866
+ onClick: G(i, ["prevent"]),
2868
2867
  size: "small",
2869
2868
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2870
2869
  }, {
2871
2870
  default: g(() => [
2872
- y(p(C), {
2871
+ f(u(_), {
2873
2872
  icon: "bi:x",
2874
2873
  width: "1rem",
2875
2874
  height: "1rem",
@@ -2877,33 +2876,33 @@ const Qt = {
2877
2876
  })
2878
2877
  ]),
2879
2878
  _: 1
2880
- })) : T("", !0)
2879
+ })) : C("", !0)
2881
2880
  ])
2882
2881
  ]),
2883
2882
  _: 1
2884
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(p(re), _({
2883
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (p(), w(u(me), z({
2885
2884
  key: 3,
2886
- modelValue: t.value,
2887
- "onUpdate:modelValue": n[3] || (n[3] = (u) => t.value = u)
2888
- }, a.$attrs, {
2889
- options: a.dropdownOptions,
2885
+ modelValue: a.value,
2886
+ "onUpdate:modelValue": o[3] || (o[3] = (d) => a.value = d)
2887
+ }, l.$attrs, {
2888
+ options: l.dropdownOptions,
2890
2889
  showToggleAll: !1,
2891
- "option-label": a.optionLabel,
2892
- "option-value": a.optionValue,
2890
+ "option-label": l.optionLabel,
2891
+ "option-value": l.optionValue,
2893
2892
  filter: ""
2894
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(p(ie), _({
2893
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (p(), w(u(ce), z({
2895
2894
  key: 4,
2896
- modelValue: t.value,
2897
- "onUpdate:modelValue": n[4] || (n[4] = (u) => t.value = u)
2898
- }, a.$attrs), null, 16, ["modelValue"])),
2899
- a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(d, {
2895
+ modelValue: a.value,
2896
+ "onUpdate:modelValue": o[4] || (o[4] = (d) => a.value = d)
2897
+ }, l.$attrs), null, 16, ["modelValue"])),
2898
+ l.showClearButton && a.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (p(), w(s, {
2900
2899
  key: 5,
2901
- onClick: W(o, ["prevent"]),
2900
+ onClick: G(i, ["prevent"]),
2902
2901
  size: "small",
2903
2902
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
2904
2903
  }, {
2905
2904
  default: g(() => [
2906
- y(p(C), {
2905
+ f(u(_), {
2907
2906
  icon: "bi:x",
2908
2907
  width: "1rem",
2909
2908
  height: "1rem",
@@ -2911,58 +2910,123 @@ const Qt = {
2911
2910
  })
2912
2911
  ]),
2913
2912
  _: 1
2914
- })) : T("", !0)
2913
+ })) : C("", !0)
2915
2914
  ]);
2916
2915
  };
2917
2916
  }
2918
- });
2919
- function fe(e, t, l, o) {
2920
- const a = t.flatMap((n) => n.file);
2921
- return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
2922
- const r = a.findIndex((u) => u.name === n.name);
2923
- let d = "Not Uploaded";
2924
- r === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (d = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2925
- file: n,
2926
- status: d,
2917
+ }), ue = { "application/prs.cww": ["cww"], "application/prs.xsf+xml": ["xsf"], "application/vnd.1000minds.decision-model+xml": ["1km"], "application/vnd.3gpp.pic-bw-large": ["plb"], "application/vnd.3gpp.pic-bw-small": ["psb"], "application/vnd.3gpp.pic-bw-var": ["pvb"], "application/vnd.3gpp2.tcap": ["tcap"], "application/vnd.3m.post-it-notes": ["pwn"], "application/vnd.accpac.simply.aso": ["aso"], "application/vnd.accpac.simply.imp": ["imp"], "application/vnd.acucobol": ["acu"], "application/vnd.acucorp": ["atc", "acutc"], "application/vnd.adobe.air-application-installer-package+zip": ["air"], "application/vnd.adobe.formscentral.fcdt": ["fcdt"], "application/vnd.adobe.fxp": ["fxp", "fxpl"], "application/vnd.adobe.xdp+xml": ["xdp"], "application/vnd.adobe.xfdf": ["*xfdf"], "application/vnd.age": ["age"], "application/vnd.ahead.space": ["ahead"], "application/vnd.airzip.filesecure.azf": ["azf"], "application/vnd.airzip.filesecure.azs": ["azs"], "application/vnd.amazon.ebook": ["azw"], "application/vnd.americandynamics.acc": ["acc"], "application/vnd.amiga.ami": ["ami"], "application/vnd.android.package-archive": ["apk"], "application/vnd.anser-web-certificate-issue-initiation": ["cii"], "application/vnd.anser-web-funds-transfer-initiation": ["fti"], "application/vnd.antix.game-component": ["atx"], "application/vnd.apple.installer+xml": ["mpkg"], "application/vnd.apple.keynote": ["key"], "application/vnd.apple.mpegurl": ["m3u8"], "application/vnd.apple.numbers": ["numbers"], "application/vnd.apple.pages": ["pages"], "application/vnd.apple.pkpass": ["pkpass"], "application/vnd.aristanetworks.swi": ["swi"], "application/vnd.astraea-software.iota": ["iota"], "application/vnd.audiograph": ["aep"], "application/vnd.balsamiq.bmml+xml": ["bmml"], "application/vnd.blueice.multipass": ["mpm"], "application/vnd.bmi": ["bmi"], "application/vnd.businessobjects": ["rep"], "application/vnd.chemdraw+xml": ["cdxml"], "application/vnd.chipnuts.karaoke-mmd": ["mmd"], "application/vnd.cinderella": ["cdy"], "application/vnd.citationstyles.style+xml": ["csl"], "application/vnd.claymore": ["cla"], "application/vnd.cloanto.rp9": ["rp9"], "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"], "application/vnd.cluetrust.cartomobile-config": ["c11amc"], "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"], "application/vnd.commonspace": ["csp"], "application/vnd.contact.cmsg": ["cdbcmsg"], "application/vnd.cosmocaller": ["cmc"], "application/vnd.crick.clicker": ["clkx"], "application/vnd.crick.clicker.keyboard": ["clkk"], "application/vnd.crick.clicker.palette": ["clkp"], "application/vnd.crick.clicker.template": ["clkt"], "application/vnd.crick.clicker.wordbank": ["clkw"], "application/vnd.criticaltools.wbs+xml": ["wbs"], "application/vnd.ctc-posml": ["pml"], "application/vnd.cups-ppd": ["ppd"], "application/vnd.curl.car": ["car"], "application/vnd.curl.pcurl": ["pcurl"], "application/vnd.dart": ["dart"], "application/vnd.data-vision.rdz": ["rdz"], "application/vnd.dbf": ["dbf"], "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"], "application/vnd.dece.ttml+xml": ["uvt", "uvvt"], "application/vnd.dece.unspecified": ["uvx", "uvvx"], "application/vnd.dece.zip": ["uvz", "uvvz"], "application/vnd.denovo.fcselayout-link": ["fe_launch"], "application/vnd.dna": ["dna"], "application/vnd.dolby.mlp": ["mlp"], "application/vnd.dpgraph": ["dpg"], "application/vnd.dreamfactory": ["dfac"], "application/vnd.ds-keypoint": ["kpxx"], "application/vnd.dvb.ait": ["ait"], "application/vnd.dvb.service": ["svc"], "application/vnd.dynageo": ["geo"], "application/vnd.ecowin.chart": ["mag"], "application/vnd.enliven": ["nml"], "application/vnd.epson.esf": ["esf"], "application/vnd.epson.msf": ["msf"], "application/vnd.epson.quickanime": ["qam"], "application/vnd.epson.salt": ["slt"], "application/vnd.epson.ssf": ["ssf"], "application/vnd.eszigno3+xml": ["es3", "et3"], "application/vnd.ezpix-album": ["ez2"], "application/vnd.ezpix-package": ["ez3"], "application/vnd.fdf": ["*fdf"], "application/vnd.fdsn.mseed": ["mseed"], "application/vnd.fdsn.seed": ["seed", "dataless"], "application/vnd.flographit": ["gph"], "application/vnd.fluxtime.clip": ["ftc"], "application/vnd.framemaker": ["fm", "frame", "maker", "book"], "application/vnd.frogans.fnc": ["fnc"], "application/vnd.frogans.ltf": ["ltf"], "application/vnd.fsc.weblaunch": ["fsc"], "application/vnd.fujitsu.oasys": ["oas"], "application/vnd.fujitsu.oasys2": ["oa2"], "application/vnd.fujitsu.oasys3": ["oa3"], "application/vnd.fujitsu.oasysgp": ["fg5"], "application/vnd.fujitsu.oasysprs": ["bh2"], "application/vnd.fujixerox.ddd": ["ddd"], "application/vnd.fujixerox.docuworks": ["xdw"], "application/vnd.fujixerox.docuworks.binder": ["xbd"], "application/vnd.fuzzysheet": ["fzs"], "application/vnd.genomatix.tuxedo": ["txd"], "application/vnd.geogebra.file": ["ggb"], "application/vnd.geogebra.tool": ["ggt"], "application/vnd.geometry-explorer": ["gex", "gre"], "application/vnd.geonext": ["gxt"], "application/vnd.geoplan": ["g2w"], "application/vnd.geospace": ["g3w"], "application/vnd.gmx": ["gmx"], "application/vnd.google-apps.document": ["gdoc"], "application/vnd.google-apps.presentation": ["gslides"], "application/vnd.google-apps.spreadsheet": ["gsheet"], "application/vnd.google-earth.kml+xml": ["kml"], "application/vnd.google-earth.kmz": ["kmz"], "application/vnd.grafeq": ["gqf", "gqs"], "application/vnd.groove-account": ["gac"], "application/vnd.groove-help": ["ghf"], "application/vnd.groove-identity-message": ["gim"], "application/vnd.groove-injector": ["grv"], "application/vnd.groove-tool-message": ["gtm"], "application/vnd.groove-tool-template": ["tpl"], "application/vnd.groove-vcard": ["vcg"], "application/vnd.hal+xml": ["hal"], "application/vnd.handheld-entertainment+xml": ["zmm"], "application/vnd.hbci": ["hbci"], "application/vnd.hhe.lesson-player": ["les"], "application/vnd.hp-hpgl": ["hpgl"], "application/vnd.hp-hpid": ["hpid"], "application/vnd.hp-hps": ["hps"], "application/vnd.hp-jlyt": ["jlt"], "application/vnd.hp-pcl": ["pcl"], "application/vnd.hp-pclxl": ["pclxl"], "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"], "application/vnd.ibm.minipay": ["mpy"], "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"], "application/vnd.ibm.rights-management": ["irm"], "application/vnd.ibm.secure-container": ["sc"], "application/vnd.iccprofile": ["icc", "icm"], "application/vnd.igloader": ["igl"], "application/vnd.immervision-ivp": ["ivp"], "application/vnd.immervision-ivu": ["ivu"], "application/vnd.insors.igm": ["igm"], "application/vnd.intercon.formnet": ["xpw", "xpx"], "application/vnd.intergeo": ["i2g"], "application/vnd.intu.qbo": ["qbo"], "application/vnd.intu.qfx": ["qfx"], "application/vnd.ipunplugged.rcprofile": ["rcprofile"], "application/vnd.irepository.package+xml": ["irp"], "application/vnd.is-xpr": ["xpr"], "application/vnd.isac.fcs": ["fcs"], "application/vnd.jam": ["jam"], "application/vnd.jcp.javame.midlet-rms": ["rms"], "application/vnd.jisp": ["jisp"], "application/vnd.joost.joda-archive": ["joda"], "application/vnd.kahootz": ["ktz", "ktr"], "application/vnd.kde.karbon": ["karbon"], "application/vnd.kde.kchart": ["chrt"], "application/vnd.kde.kformula": ["kfo"], "application/vnd.kde.kivio": ["flw"], "application/vnd.kde.kontour": ["kon"], "application/vnd.kde.kpresenter": ["kpr", "kpt"], "application/vnd.kde.kspread": ["ksp"], "application/vnd.kde.kword": ["kwd", "kwt"], "application/vnd.kenameaapp": ["htke"], "application/vnd.kidspiration": ["kia"], "application/vnd.kinar": ["kne", "knp"], "application/vnd.koan": ["skp", "skd", "skt", "skm"], "application/vnd.kodak-descriptor": ["sse"], "application/vnd.las.las+xml": ["lasxml"], "application/vnd.llamagraphics.life-balance.desktop": ["lbd"], "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"], "application/vnd.lotus-1-2-3": ["123"], "application/vnd.lotus-approach": ["apr"], "application/vnd.lotus-freelance": ["pre"], "application/vnd.lotus-notes": ["nsf"], "application/vnd.lotus-organizer": ["org"], "application/vnd.lotus-screencam": ["scm"], "application/vnd.lotus-wordpro": ["lwp"], "application/vnd.macports.portpkg": ["portpkg"], "application/vnd.mapbox-vector-tile": ["mvt"], "application/vnd.mcd": ["mcd"], "application/vnd.medcalcdata": ["mc1"], "application/vnd.mediastation.cdkey": ["cdkey"], "application/vnd.mfer": ["mwf"], "application/vnd.mfmp": ["mfm"], "application/vnd.micrografx.flo": ["flo"], "application/vnd.micrografx.igx": ["igx"], "application/vnd.mif": ["mif"], "application/vnd.mobius.daf": ["daf"], "application/vnd.mobius.dis": ["dis"], "application/vnd.mobius.mbk": ["mbk"], "application/vnd.mobius.mqy": ["mqy"], "application/vnd.mobius.msl": ["msl"], "application/vnd.mobius.plc": ["plc"], "application/vnd.mobius.txf": ["txf"], "application/vnd.mophun.application": ["mpn"], "application/vnd.mophun.certificate": ["mpc"], "application/vnd.mozilla.xul+xml": ["xul"], "application/vnd.ms-artgalry": ["cil"], "application/vnd.ms-cab-compressed": ["cab"], "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"], "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"], "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"], "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"], "application/vnd.ms-excel.template.macroenabled.12": ["xltm"], "application/vnd.ms-fontobject": ["eot"], "application/vnd.ms-htmlhelp": ["chm"], "application/vnd.ms-ims": ["ims"], "application/vnd.ms-lrm": ["lrm"], "application/vnd.ms-officetheme": ["thmx"], "application/vnd.ms-outlook": ["msg"], "application/vnd.ms-pki.seccat": ["cat"], "application/vnd.ms-pki.stl": ["*stl"], "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"], "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"], "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"], "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"], "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"], "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"], "application/vnd.ms-project": ["*mpp", "mpt"], "application/vnd.ms-word.document.macroenabled.12": ["docm"], "application/vnd.ms-word.template.macroenabled.12": ["dotm"], "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"], "application/vnd.ms-wpl": ["wpl"], "application/vnd.ms-xpsdocument": ["xps"], "application/vnd.mseq": ["mseq"], "application/vnd.musician": ["mus"], "application/vnd.muvee.style": ["msty"], "application/vnd.mynfc": ["taglet"], "application/vnd.neurolanguage.nlu": ["nlu"], "application/vnd.nitf": ["ntf", "nitf"], "application/vnd.noblenet-directory": ["nnd"], "application/vnd.noblenet-sealer": ["nns"], "application/vnd.noblenet-web": ["nnw"], "application/vnd.nokia.n-gage.ac+xml": ["*ac"], "application/vnd.nokia.n-gage.data": ["ngdat"], "application/vnd.nokia.n-gage.symbian.install": ["n-gage"], "application/vnd.nokia.radio-preset": ["rpst"], "application/vnd.nokia.radio-presets": ["rpss"], "application/vnd.novadigm.edm": ["edm"], "application/vnd.novadigm.edx": ["edx"], "application/vnd.novadigm.ext": ["ext"], "application/vnd.oasis.opendocument.chart": ["odc"], "application/vnd.oasis.opendocument.chart-template": ["otc"], "application/vnd.oasis.opendocument.database": ["odb"], "application/vnd.oasis.opendocument.formula": ["odf"], "application/vnd.oasis.opendocument.formula-template": ["odft"], "application/vnd.oasis.opendocument.graphics": ["odg"], "application/vnd.oasis.opendocument.graphics-template": ["otg"], "application/vnd.oasis.opendocument.image": ["odi"], "application/vnd.oasis.opendocument.image-template": ["oti"], "application/vnd.oasis.opendocument.presentation": ["odp"], "application/vnd.oasis.opendocument.presentation-template": ["otp"], "application/vnd.oasis.opendocument.spreadsheet": ["ods"], "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"], "application/vnd.oasis.opendocument.text": ["odt"], "application/vnd.oasis.opendocument.text-master": ["odm"], "application/vnd.oasis.opendocument.text-template": ["ott"], "application/vnd.oasis.opendocument.text-web": ["oth"], "application/vnd.olpc-sugar": ["xo"], "application/vnd.oma.dd2+xml": ["dd2"], "application/vnd.openblox.game+xml": ["obgx"], "application/vnd.openofficeorg.extension": ["oxt"], "application/vnd.openstreetmap.data+xml": ["osm"], "application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"], "application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"], "application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"], "application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"], "application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"], "application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"], "application/vnd.osgeo.mapguide.package": ["mgp"], "application/vnd.osgi.dp": ["dp"], "application/vnd.osgi.subsystem": ["esa"], "application/vnd.palm": ["pdb", "pqa", "oprc"], "application/vnd.pawaafile": ["paw"], "application/vnd.pg.format": ["str"], "application/vnd.pg.osasli": ["ei6"], "application/vnd.picsel": ["efif"], "application/vnd.pmi.widget": ["wg"], "application/vnd.pocketlearn": ["plf"], "application/vnd.powerbuilder6": ["pbd"], "application/vnd.previewsystems.box": ["box"], "application/vnd.proteus.magazine": ["mgz"], "application/vnd.publishare-delta-tree": ["qps"], "application/vnd.pvi.ptid1": ["ptid"], "application/vnd.pwg-xhtml-print+xml": ["xhtm"], "application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"], "application/vnd.rar": ["rar"], "application/vnd.realvnc.bed": ["bed"], "application/vnd.recordare.musicxml": ["mxl"], "application/vnd.recordare.musicxml+xml": ["musicxml"], "application/vnd.rig.cryptonote": ["cryptonote"], "application/vnd.rim.cod": ["cod"], "application/vnd.rn-realmedia": ["rm"], "application/vnd.rn-realmedia-vbr": ["rmvb"], "application/vnd.route66.link66+xml": ["link66"], "application/vnd.sailingtracker.track": ["st"], "application/vnd.seemail": ["see"], "application/vnd.sema": ["sema"], "application/vnd.semd": ["semd"], "application/vnd.semf": ["semf"], "application/vnd.shana.informed.formdata": ["ifm"], "application/vnd.shana.informed.formtemplate": ["itp"], "application/vnd.shana.informed.interchange": ["iif"], "application/vnd.shana.informed.package": ["ipk"], "application/vnd.simtech-mindmapper": ["twd", "twds"], "application/vnd.smaf": ["mmf"], "application/vnd.smart.teacher": ["teacher"], "application/vnd.software602.filler.form+xml": ["fo"], "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"], "application/vnd.spotfire.dxp": ["dxp"], "application/vnd.spotfire.sfs": ["sfs"], "application/vnd.stardivision.calc": ["sdc"], "application/vnd.stardivision.draw": ["sda"], "application/vnd.stardivision.impress": ["sdd"], "application/vnd.stardivision.math": ["smf"], "application/vnd.stardivision.writer": ["sdw", "vor"], "application/vnd.stardivision.writer-global": ["sgl"], "application/vnd.stepmania.package": ["smzip"], "application/vnd.stepmania.stepchart": ["sm"], "application/vnd.sun.wadl+xml": ["wadl"], "application/vnd.sun.xml.calc": ["sxc"], "application/vnd.sun.xml.calc.template": ["stc"], "application/vnd.sun.xml.draw": ["sxd"], "application/vnd.sun.xml.draw.template": ["std"], "application/vnd.sun.xml.impress": ["sxi"], "application/vnd.sun.xml.impress.template": ["sti"], "application/vnd.sun.xml.math": ["sxm"], "application/vnd.sun.xml.writer": ["sxw"], "application/vnd.sun.xml.writer.global": ["sxg"], "application/vnd.sun.xml.writer.template": ["stw"], "application/vnd.sus-calendar": ["sus", "susp"], "application/vnd.svd": ["svd"], "application/vnd.symbian.install": ["sis", "sisx"], "application/vnd.syncml+xml": ["xsm"], "application/vnd.syncml.dm+wbxml": ["bdm"], "application/vnd.syncml.dm+xml": ["xdm"], "application/vnd.syncml.dmddf+xml": ["ddf"], "application/vnd.tao.intent-module-archive": ["tao"], "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"], "application/vnd.tmobile-livetv": ["tmo"], "application/vnd.trid.tpt": ["tpt"], "application/vnd.triscape.mxs": ["mxs"], "application/vnd.trueapp": ["tra"], "application/vnd.ufdl": ["ufd", "ufdl"], "application/vnd.uiq.theme": ["utz"], "application/vnd.umajin": ["umj"], "application/vnd.unity": ["unityweb"], "application/vnd.uoml+xml": ["uoml", "uo"], "application/vnd.vcx": ["vcx"], "application/vnd.visio": ["vsd", "vst", "vss", "vsw"], "application/vnd.visionary": ["vis"], "application/vnd.vsf": ["vsf"], "application/vnd.wap.wbxml": ["wbxml"], "application/vnd.wap.wmlc": ["wmlc"], "application/vnd.wap.wmlscriptc": ["wmlsc"], "application/vnd.webturbo": ["wtb"], "application/vnd.wolfram.player": ["nbp"], "application/vnd.wordperfect": ["wpd"], "application/vnd.wqd": ["wqd"], "application/vnd.wt.stf": ["stf"], "application/vnd.xara": ["xar"], "application/vnd.xfdl": ["xfdl"], "application/vnd.yamaha.hv-dic": ["hvd"], "application/vnd.yamaha.hv-script": ["hvs"], "application/vnd.yamaha.hv-voice": ["hvp"], "application/vnd.yamaha.openscoreformat": ["osf"], "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"], "application/vnd.yamaha.smaf-audio": ["saf"], "application/vnd.yamaha.smaf-phrase": ["spf"], "application/vnd.yellowriver-custom-menu": ["cmp"], "application/vnd.zul": ["zir", "zirz"], "application/vnd.zzazz.deck+xml": ["zaz"], "application/x-7z-compressed": ["7z"], "application/x-abiword": ["abw"], "application/x-ace-compressed": ["ace"], "application/x-apple-diskimage": ["*dmg"], "application/x-arj": ["arj"], "application/x-authorware-bin": ["aab", "x32", "u32", "vox"], "application/x-authorware-map": ["aam"], "application/x-authorware-seg": ["aas"], "application/x-bcpio": ["bcpio"], "application/x-bdoc": ["*bdoc"], "application/x-bittorrent": ["torrent"], "application/x-blorb": ["blb", "blorb"], "application/x-bzip": ["bz"], "application/x-bzip2": ["bz2", "boz"], "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"], "application/x-cdlink": ["vcd"], "application/x-cfs-compressed": ["cfs"], "application/x-chat": ["chat"], "application/x-chess-pgn": ["pgn"], "application/x-chrome-extension": ["crx"], "application/x-cocoa": ["cco"], "application/x-conference": ["nsc"], "application/x-cpio": ["cpio"], "application/x-csh": ["csh"], "application/x-debian-package": ["*deb", "udeb"], "application/x-dgc-compressed": ["dgc"], "application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"], "application/x-doom": ["wad"], "application/x-dtbncx+xml": ["ncx"], "application/x-dtbook+xml": ["dtb"], "application/x-dtbresource+xml": ["res"], "application/x-dvi": ["dvi"], "application/x-envoy": ["evy"], "application/x-eva": ["eva"], "application/x-font-bdf": ["bdf"], "application/x-font-ghostscript": ["gsf"], "application/x-font-linux-psf": ["psf"], "application/x-font-pcf": ["pcf"], "application/x-font-snf": ["snf"], "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"], "application/x-freearc": ["arc"], "application/x-futuresplash": ["spl"], "application/x-gca-compressed": ["gca"], "application/x-glulx": ["ulx"], "application/x-gnumeric": ["gnumeric"], "application/x-gramps-xml": ["gramps"], "application/x-gtar": ["gtar"], "application/x-hdf": ["hdf"], "application/x-httpd-php": ["php"], "application/x-install-instructions": ["install"], "application/x-iso9660-image": ["*iso"], "application/x-iwork-keynote-sffkey": ["*key"], "application/x-iwork-numbers-sffnumbers": ["*numbers"], "application/x-iwork-pages-sffpages": ["*pages"], "application/x-java-archive-diff": ["jardiff"], "application/x-java-jnlp-file": ["jnlp"], "application/x-keepass2": ["kdbx"], "application/x-latex": ["latex"], "application/x-lua-bytecode": ["luac"], "application/x-lzh-compressed": ["lzh", "lha"], "application/x-makeself": ["run"], "application/x-mie": ["mie"], "application/x-mobipocket-ebook": ["*prc", "mobi"], "application/x-ms-application": ["application"], "application/x-ms-shortcut": ["lnk"], "application/x-ms-wmd": ["wmd"], "application/x-ms-wmz": ["wmz"], "application/x-ms-xbap": ["xbap"], "application/x-msaccess": ["mdb"], "application/x-msbinder": ["obd"], "application/x-mscardfile": ["crd"], "application/x-msclip": ["clp"], "application/x-msdos-program": ["*exe"], "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"], "application/x-msmediaview": ["mvb", "m13", "m14"], "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"], "application/x-msmoney": ["mny"], "application/x-mspublisher": ["pub"], "application/x-msschedule": ["scd"], "application/x-msterminal": ["trm"], "application/x-mswrite": ["wri"], "application/x-netcdf": ["nc", "cdf"], "application/x-ns-proxy-autoconfig": ["pac"], "application/x-nzb": ["nzb"], "application/x-perl": ["pl", "pm"], "application/x-pilot": ["*prc", "*pdb"], "application/x-pkcs12": ["p12", "pfx"], "application/x-pkcs7-certificates": ["p7b", "spc"], "application/x-pkcs7-certreqresp": ["p7r"], "application/x-rar-compressed": ["*rar"], "application/x-redhat-package-manager": ["rpm"], "application/x-research-info-systems": ["ris"], "application/x-sea": ["sea"], "application/x-sh": ["sh"], "application/x-shar": ["shar"], "application/x-shockwave-flash": ["swf"], "application/x-silverlight-app": ["xap"], "application/x-sql": ["*sql"], "application/x-stuffit": ["sit"], "application/x-stuffitx": ["sitx"], "application/x-subrip": ["srt"], "application/x-sv4cpio": ["sv4cpio"], "application/x-sv4crc": ["sv4crc"], "application/x-t3vm-image": ["t3"], "application/x-tads": ["gam"], "application/x-tar": ["tar"], "application/x-tcl": ["tcl", "tk"], "application/x-tex": ["tex"], "application/x-tex-tfm": ["tfm"], "application/x-texinfo": ["texinfo", "texi"], "application/x-tgif": ["*obj"], "application/x-ustar": ["ustar"], "application/x-virtualbox-hdd": ["hdd"], "application/x-virtualbox-ova": ["ova"], "application/x-virtualbox-ovf": ["ovf"], "application/x-virtualbox-vbox": ["vbox"], "application/x-virtualbox-vbox-extpack": ["vbox-extpack"], "application/x-virtualbox-vdi": ["vdi"], "application/x-virtualbox-vhd": ["vhd"], "application/x-virtualbox-vmdk": ["vmdk"], "application/x-wais-source": ["src"], "application/x-web-app-manifest+json": ["webapp"], "application/x-x509-ca-cert": ["der", "crt", "pem"], "application/x-xfig": ["fig"], "application/x-xliff+xml": ["*xlf"], "application/x-xpinstall": ["xpi"], "application/x-xz": ["xz"], "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"], "audio/vnd.dece.audio": ["uva", "uvva"], "audio/vnd.digital-winds": ["eol"], "audio/vnd.dra": ["dra"], "audio/vnd.dts": ["dts"], "audio/vnd.dts.hd": ["dtshd"], "audio/vnd.lucent.voice": ["lvp"], "audio/vnd.ms-playready.media.pya": ["pya"], "audio/vnd.nuera.ecelp4800": ["ecelp4800"], "audio/vnd.nuera.ecelp7470": ["ecelp7470"], "audio/vnd.nuera.ecelp9600": ["ecelp9600"], "audio/vnd.rip": ["rip"], "audio/x-aac": ["*aac"], "audio/x-aiff": ["aif", "aiff", "aifc"], "audio/x-caf": ["caf"], "audio/x-flac": ["flac"], "audio/x-m4a": ["*m4a"], "audio/x-matroska": ["mka"], "audio/x-mpegurl": ["m3u"], "audio/x-ms-wax": ["wax"], "audio/x-ms-wma": ["wma"], "audio/x-pn-realaudio": ["ram", "ra"], "audio/x-pn-realaudio-plugin": ["rmp"], "audio/x-realaudio": ["*ra"], "audio/x-wav": ["*wav"], "chemical/x-cdx": ["cdx"], "chemical/x-cif": ["cif"], "chemical/x-cmdf": ["cmdf"], "chemical/x-cml": ["cml"], "chemical/x-csml": ["csml"], "chemical/x-xyz": ["xyz"], "image/prs.btif": ["btif", "btf"], "image/prs.pti": ["pti"], "image/vnd.adobe.photoshop": ["psd"], "image/vnd.airzip.accelerator.azv": ["azv"], "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"], "image/vnd.djvu": ["djvu", "djv"], "image/vnd.dvb.subtitle": ["*sub"], "image/vnd.dwg": ["dwg"], "image/vnd.dxf": ["dxf"], "image/vnd.fastbidsheet": ["fbs"], "image/vnd.fpx": ["fpx"], "image/vnd.fst": ["fst"], "image/vnd.fujixerox.edmics-mmr": ["mmr"], "image/vnd.fujixerox.edmics-rlc": ["rlc"], "image/vnd.microsoft.icon": ["ico"], "image/vnd.ms-dds": ["dds"], "image/vnd.ms-modi": ["mdi"], "image/vnd.ms-photo": ["wdp"], "image/vnd.net-fpx": ["npx"], "image/vnd.pco.b16": ["b16"], "image/vnd.tencent.tap": ["tap"], "image/vnd.valve.source.texture": ["vtf"], "image/vnd.wap.wbmp": ["wbmp"], "image/vnd.xiff": ["xif"], "image/vnd.zbrush.pcx": ["pcx"], "image/x-3ds": ["3ds"], "image/x-cmu-raster": ["ras"], "image/x-cmx": ["cmx"], "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"], "image/x-icon": ["*ico"], "image/x-jng": ["jng"], "image/x-mrsid-image": ["sid"], "image/x-ms-bmp": ["*bmp"], "image/x-pcx": ["*pcx"], "image/x-pict": ["pic", "pct"], "image/x-portable-anymap": ["pnm"], "image/x-portable-bitmap": ["pbm"], "image/x-portable-graymap": ["pgm"], "image/x-portable-pixmap": ["ppm"], "image/x-rgb": ["rgb"], "image/x-tga": ["tga"], "image/x-xbitmap": ["xbm"], "image/x-xpixmap": ["xpm"], "image/x-xwindowdump": ["xwd"], "message/vnd.wfa.wsc": ["wsc"], "model/vnd.cld": ["cld"], "model/vnd.collada+xml": ["dae"], "model/vnd.dwf": ["dwf"], "model/vnd.gdl": ["gdl"], "model/vnd.gtw": ["gtw"], "model/vnd.mts": ["mts"], "model/vnd.opengex": ["ogex"], "model/vnd.parasolid.transmit.binary": ["x_b"], "model/vnd.parasolid.transmit.text": ["x_t"], "model/vnd.pytha.pyox": ["pyo", "pyox"], "model/vnd.sap.vds": ["vds"], "model/vnd.usda": ["usda"], "model/vnd.usdz+zip": ["usdz"], "model/vnd.valve.source.compiled-map": ["bsp"], "model/vnd.vtu": ["vtu"], "text/prs.lines.tag": ["dsc"], "text/vnd.curl": ["curl"], "text/vnd.curl.dcurl": ["dcurl"], "text/vnd.curl.mcurl": ["mcurl"], "text/vnd.curl.scurl": ["scurl"], "text/vnd.dvb.subtitle": ["sub"], "text/vnd.familysearch.gedcom": ["ged"], "text/vnd.fly": ["fly"], "text/vnd.fmi.flexstor": ["flx"], "text/vnd.graphviz": ["gv"], "text/vnd.in3d.3dml": ["3dml"], "text/vnd.in3d.spot": ["spot"], "text/vnd.sun.j2me.app-descriptor": ["jad"], "text/vnd.wap.wml": ["wml"], "text/vnd.wap.wmlscript": ["wmls"], "text/x-asm": ["s", "asm"], "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"], "text/x-component": ["htc"], "text/x-fortran": ["f", "for", "f77", "f90"], "text/x-handlebars-template": ["hbs"], "text/x-java-source": ["java"], "text/x-lua": ["lua"], "text/x-markdown": ["mkd"], "text/x-nfo": ["nfo"], "text/x-opml": ["opml"], "text/x-org": ["*org"], "text/x-pascal": ["p", "pas"], "text/x-processing": ["pde"], "text/x-sass": ["sass"], "text/x-scss": ["scss"], "text/x-setext": ["etx"], "text/x-sfv": ["sfv"], "text/x-suse-ymp": ["ymp"], "text/x-uuencode": ["uu"], "text/x-vcalendar": ["vcs"], "text/x-vcard": ["vcf"], "video/vnd.dece.hd": ["uvh", "uvvh"], "video/vnd.dece.mobile": ["uvm", "uvvm"], "video/vnd.dece.pd": ["uvp", "uvvp"], "video/vnd.dece.sd": ["uvs", "uvvs"], "video/vnd.dece.video": ["uvv", "uvvv"], "video/vnd.dvb.file": ["dvb"], "video/vnd.fvt": ["fvt"], "video/vnd.mpegurl": ["mxu", "m4u"], "video/vnd.ms-playready.media.pyv": ["pyv"], "video/vnd.uvvu.mp4": ["uvu", "uvvu"], "video/vnd.vivo": ["viv"], "video/x-f4v": ["f4v"], "video/x-fli": ["fli"], "video/x-flv": ["flv"], "video/x-m4v": ["m4v"], "video/x-matroska": ["mkv", "mk3d", "mks"], "video/x-mng": ["mng"], "video/x-ms-asf": ["asf", "asx"], "video/x-ms-vob": ["vob"], "video/x-ms-wm": ["wm"], "video/x-ms-wmv": ["wmv"], "video/x-ms-wmx": ["wmx"], "video/x-ms-wvx": ["wvx"], "video/x-msvideo": ["avi"], "video/x-sgi-movie": ["movie"], "video/x-smv": ["smv"], "x-conference/x-cooltalk": ["ice"] };
2918
+ Object.freeze(ue);
2919
+ const ve = { "application/andrew-inset": ["ez"], "application/appinstaller": ["appinstaller"], "application/applixware": ["aw"], "application/appx": ["appx"], "application/appxbundle": ["appxbundle"], "application/atom+xml": ["atom"], "application/atomcat+xml": ["atomcat"], "application/atomdeleted+xml": ["atomdeleted"], "application/atomsvc+xml": ["atomsvc"], "application/atsc-dwd+xml": ["dwd"], "application/atsc-held+xml": ["held"], "application/atsc-rsat+xml": ["rsat"], "application/automationml-aml+xml": ["aml"], "application/automationml-amlx+zip": ["amlx"], "application/bdoc": ["bdoc"], "application/calendar+xml": ["xcs"], "application/ccxml+xml": ["ccxml"], "application/cdfx+xml": ["cdfx"], "application/cdmi-capability": ["cdmia"], "application/cdmi-container": ["cdmic"], "application/cdmi-domain": ["cdmid"], "application/cdmi-object": ["cdmio"], "application/cdmi-queue": ["cdmiq"], "application/cpl+xml": ["cpl"], "application/cu-seeme": ["cu"], "application/cwl": ["cwl"], "application/dash+xml": ["mpd"], "application/dash-patch+xml": ["mpp"], "application/davmount+xml": ["davmount"], "application/docbook+xml": ["dbk"], "application/dssc+der": ["dssc"], "application/dssc+xml": ["xdssc"], "application/ecmascript": ["ecma"], "application/emma+xml": ["emma"], "application/emotionml+xml": ["emotionml"], "application/epub+zip": ["epub"], "application/exi": ["exi"], "application/express": ["exp"], "application/fdf": ["fdf"], "application/fdt+xml": ["fdt"], "application/font-tdpfr": ["pfr"], "application/geo+json": ["geojson"], "application/gml+xml": ["gml"], "application/gpx+xml": ["gpx"], "application/gxf": ["gxf"], "application/gzip": ["gz"], "application/hjson": ["hjson"], "application/hyperstudio": ["stk"], "application/inkml+xml": ["ink", "inkml"], "application/ipfix": ["ipfix"], "application/its+xml": ["its"], "application/java-archive": ["jar", "war", "ear"], "application/java-serialized-object": ["ser"], "application/java-vm": ["class"], "application/javascript": ["*js"], "application/json": ["json", "map"], "application/json5": ["json5"], "application/jsonml+json": ["jsonml"], "application/ld+json": ["jsonld"], "application/lgr+xml": ["lgr"], "application/lost+xml": ["lostxml"], "application/mac-binhex40": ["hqx"], "application/mac-compactpro": ["cpt"], "application/mads+xml": ["mads"], "application/manifest+json": ["webmanifest"], "application/marc": ["mrc"], "application/marcxml+xml": ["mrcx"], "application/mathematica": ["ma", "nb", "mb"], "application/mathml+xml": ["mathml"], "application/mbox": ["mbox"], "application/media-policy-dataset+xml": ["mpf"], "application/mediaservercontrol+xml": ["mscml"], "application/metalink+xml": ["metalink"], "application/metalink4+xml": ["meta4"], "application/mets+xml": ["mets"], "application/mmt-aei+xml": ["maei"], "application/mmt-usd+xml": ["musd"], "application/mods+xml": ["mods"], "application/mp21": ["m21", "mp21"], "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"], "application/msix": ["msix"], "application/msixbundle": ["msixbundle"], "application/msword": ["doc", "dot"], "application/mxf": ["mxf"], "application/n-quads": ["nq"], "application/n-triples": ["nt"], "application/node": ["cjs"], "application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"], "application/oda": ["oda"], "application/oebps-package+xml": ["opf"], "application/ogg": ["ogx"], "application/omdoc+xml": ["omdoc"], "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"], "application/oxps": ["oxps"], "application/p2p-overlay+xml": ["relo"], "application/patch-ops-error+xml": ["xer"], "application/pdf": ["pdf"], "application/pgp-encrypted": ["pgp"], "application/pgp-keys": ["asc"], "application/pgp-signature": ["sig", "*asc"], "application/pics-rules": ["prf"], "application/pkcs10": ["p10"], "application/pkcs7-mime": ["p7m", "p7c"], "application/pkcs7-signature": ["p7s"], "application/pkcs8": ["p8"], "application/pkix-attr-cert": ["ac"], "application/pkix-cert": ["cer"], "application/pkix-crl": ["crl"], "application/pkix-pkipath": ["pkipath"], "application/pkixcmp": ["pki"], "application/pls+xml": ["pls"], "application/postscript": ["ai", "eps", "ps"], "application/provenance+xml": ["provx"], "application/pskc+xml": ["pskcxml"], "application/raml+yaml": ["raml"], "application/rdf+xml": ["rdf", "owl"], "application/reginfo+xml": ["rif"], "application/relax-ng-compact-syntax": ["rnc"], "application/resource-lists+xml": ["rl"], "application/resource-lists-diff+xml": ["rld"], "application/rls-services+xml": ["rs"], "application/route-apd+xml": ["rapd"], "application/route-s-tsid+xml": ["sls"], "application/route-usd+xml": ["rusd"], "application/rpki-ghostbusters": ["gbr"], "application/rpki-manifest": ["mft"], "application/rpki-roa": ["roa"], "application/rsd+xml": ["rsd"], "application/rss+xml": ["rss"], "application/rtf": ["rtf"], "application/sbml+xml": ["sbml"], "application/scvp-cv-request": ["scq"], "application/scvp-cv-response": ["scs"], "application/scvp-vp-request": ["spq"], "application/scvp-vp-response": ["spp"], "application/sdp": ["sdp"], "application/senml+xml": ["senmlx"], "application/sensml+xml": ["sensmlx"], "application/set-payment-initiation": ["setpay"], "application/set-registration-initiation": ["setreg"], "application/shf+xml": ["shf"], "application/sieve": ["siv", "sieve"], "application/smil+xml": ["smi", "smil"], "application/sparql-query": ["rq"], "application/sparql-results+xml": ["srx"], "application/sql": ["sql"], "application/srgs": ["gram"], "application/srgs+xml": ["grxml"], "application/sru+xml": ["sru"], "application/ssdl+xml": ["ssdl"], "application/ssml+xml": ["ssml"], "application/swid+xml": ["swidtag"], "application/tei+xml": ["tei", "teicorpus"], "application/thraud+xml": ["tfi"], "application/timestamped-data": ["tsd"], "application/toml": ["toml"], "application/trig": ["trig"], "application/ttml+xml": ["ttml"], "application/ubjson": ["ubj"], "application/urc-ressheet+xml": ["rsheet"], "application/urc-targetdesc+xml": ["td"], "application/voicexml+xml": ["vxml"], "application/wasm": ["wasm"], "application/watcherinfo+xml": ["wif"], "application/widget": ["wgt"], "application/winhlp": ["hlp"], "application/wsdl+xml": ["wsdl"], "application/wspolicy+xml": ["wspolicy"], "application/xaml+xml": ["xaml"], "application/xcap-att+xml": ["xav"], "application/xcap-caps+xml": ["xca"], "application/xcap-diff+xml": ["xdf"], "application/xcap-el+xml": ["xel"], "application/xcap-ns+xml": ["xns"], "application/xenc+xml": ["xenc"], "application/xfdf": ["xfdf"], "application/xhtml+xml": ["xhtml", "xht"], "application/xliff+xml": ["xlf"], "application/xml": ["xml", "xsl", "xsd", "rng"], "application/xml-dtd": ["dtd"], "application/xop+xml": ["xop"], "application/xproc+xml": ["xpl"], "application/xslt+xml": ["*xsl", "xslt"], "application/xspf+xml": ["xspf"], "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"], "application/yang": ["yang"], "application/yin+xml": ["yin"], "application/zip": ["zip"], "audio/3gpp": ["*3gpp"], "audio/aac": ["adts", "aac"], "audio/adpcm": ["adp"], "audio/amr": ["amr"], "audio/basic": ["au", "snd"], "audio/midi": ["mid", "midi", "kar", "rmi"], "audio/mobile-xmf": ["mxmf"], "audio/mp3": ["*mp3"], "audio/mp4": ["m4a", "mp4a"], "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"], "audio/ogg": ["oga", "ogg", "spx", "opus"], "audio/s3m": ["s3m"], "audio/silk": ["sil"], "audio/wav": ["wav"], "audio/wave": ["*wav"], "audio/webm": ["weba"], "audio/xm": ["xm"], "font/collection": ["ttc"], "font/otf": ["otf"], "font/ttf": ["ttf"], "font/woff": ["woff"], "font/woff2": ["woff2"], "image/aces": ["exr"], "image/apng": ["apng"], "image/avci": ["avci"], "image/avcs": ["avcs"], "image/avif": ["avif"], "image/bmp": ["bmp", "dib"], "image/cgm": ["cgm"], "image/dicom-rle": ["drle"], "image/dpx": ["dpx"], "image/emf": ["emf"], "image/fits": ["fits"], "image/g3fax": ["g3"], "image/gif": ["gif"], "image/heic": ["heic"], "image/heic-sequence": ["heics"], "image/heif": ["heif"], "image/heif-sequence": ["heifs"], "image/hej2k": ["hej2"], "image/hsj2": ["hsj2"], "image/ief": ["ief"], "image/jls": ["jls"], "image/jp2": ["jp2", "jpg2"], "image/jpeg": ["jpeg", "jpg", "jpe"], "image/jph": ["jph"], "image/jphc": ["jhc"], "image/jpm": ["jpm", "jpgm"], "image/jpx": ["jpx", "jpf"], "image/jxr": ["jxr"], "image/jxra": ["jxra"], "image/jxrs": ["jxrs"], "image/jxs": ["jxs"], "image/jxsc": ["jxsc"], "image/jxsi": ["jxsi"], "image/jxss": ["jxss"], "image/ktx": ["ktx"], "image/ktx2": ["ktx2"], "image/png": ["png"], "image/sgi": ["sgi"], "image/svg+xml": ["svg", "svgz"], "image/t38": ["t38"], "image/tiff": ["tif", "tiff"], "image/tiff-fx": ["tfx"], "image/webp": ["webp"], "image/wmf": ["wmf"], "message/disposition-notification": ["disposition-notification"], "message/global": ["u8msg"], "message/global-delivery-status": ["u8dsn"], "message/global-disposition-notification": ["u8mdn"], "message/global-headers": ["u8hdr"], "message/rfc822": ["eml", "mime"], "model/3mf": ["3mf"], "model/gltf+json": ["gltf"], "model/gltf-binary": ["glb"], "model/iges": ["igs", "iges"], "model/jt": ["jt"], "model/mesh": ["msh", "mesh", "silo"], "model/mtl": ["mtl"], "model/obj": ["obj"], "model/prc": ["prc"], "model/step+xml": ["stpx"], "model/step+zip": ["stpz"], "model/step-xml+zip": ["stpxz"], "model/stl": ["stl"], "model/u3d": ["u3d"], "model/vrml": ["wrl", "vrml"], "model/x3d+binary": ["*x3db", "x3dbz"], "model/x3d+fastinfoset": ["x3db"], "model/x3d+vrml": ["*x3dv", "x3dvz"], "model/x3d+xml": ["x3d", "x3dz"], "model/x3d-vrml": ["x3dv"], "text/cache-manifest": ["appcache", "manifest"], "text/calendar": ["ics", "ifb"], "text/coffeescript": ["coffee", "litcoffee"], "text/css": ["css"], "text/csv": ["csv"], "text/html": ["html", "htm", "shtml"], "text/jade": ["jade"], "text/javascript": ["js", "mjs"], "text/jsx": ["jsx"], "text/less": ["less"], "text/markdown": ["md", "markdown"], "text/mathml": ["mml"], "text/mdx": ["mdx"], "text/n3": ["n3"], "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"], "text/richtext": ["rtx"], "text/rtf": ["*rtf"], "text/sgml": ["sgml", "sgm"], "text/shex": ["shex"], "text/slim": ["slim", "slm"], "text/spdx": ["spdx"], "text/stylus": ["stylus", "styl"], "text/tab-separated-values": ["tsv"], "text/troff": ["t", "tr", "roff", "man", "me", "ms"], "text/turtle": ["ttl"], "text/uri-list": ["uri", "uris", "urls"], "text/vcard": ["vcard"], "text/vtt": ["vtt"], "text/wgsl": ["wgsl"], "text/xml": ["*xml"], "text/yaml": ["yaml", "yml"], "video/3gpp": ["3gp", "3gpp"], "video/3gpp2": ["3g2"], "video/h261": ["h261"], "video/h263": ["h263"], "video/h264": ["h264"], "video/iso.segment": ["m4s"], "video/jpeg": ["jpgv"], "video/jpm": ["*jpm", "*jpgm"], "video/mj2": ["mj2", "mjp2"], "video/mp2t": ["ts"], "video/mp4": ["mp4", "mp4v", "mpg4"], "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"], "video/ogg": ["ogv"], "video/quicktime": ["qt", "mov"], "video/webm": ["webm"] };
2920
+ Object.freeze(ve);
2921
+ var L = function(e, a, t, i) {
2922
+ if (t === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
2923
+ if (typeof a == "function" ? e !== a || !i : !a.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
2924
+ return t === "m" ? i : t === "a" ? i.call(e) : i ? i.value : a.get(e);
2925
+ }, J, ee, K;
2926
+ class $e {
2927
+ constructor(...a) {
2928
+ J.set(this, /* @__PURE__ */ new Map()), ee.set(this, /* @__PURE__ */ new Map()), K.set(this, /* @__PURE__ */ new Map());
2929
+ for (const t of a)
2930
+ this.define(t);
2931
+ }
2932
+ define(a, t = !1) {
2933
+ for (let [i, l] of Object.entries(a)) {
2934
+ i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), L(this, K, "f").has(i) || L(this, K, "f").set(i, /* @__PURE__ */ new Set());
2935
+ const o = L(this, K, "f").get(i);
2936
+ let r = !0;
2937
+ for (let s of l) {
2938
+ const d = s.startsWith("*");
2939
+ if (s = d ? s.slice(1) : s, o == null || o.add(s), r && L(this, ee, "f").set(i, s), r = !1, d)
2940
+ continue;
2941
+ const c = L(this, J, "f").get(s);
2942
+ if (c && c != i && !t)
2943
+ throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
2944
+ L(this, J, "f").set(s, i);
2945
+ }
2946
+ }
2947
+ return this;
2948
+ }
2949
+ getType(a) {
2950
+ if (typeof a != "string")
2951
+ return null;
2952
+ const t = a.replace(/^.*[/\\]/, "").toLowerCase(), i = t.replace(/^.*\./, "").toLowerCase(), l = t.length < a.length;
2953
+ return !(i.length < t.length - 1) && l ? null : L(this, J, "f").get(i) ?? null;
2954
+ }
2955
+ getExtension(a) {
2956
+ var t;
2957
+ return typeof a != "string" ? null : (a = (t = a == null ? void 0 : a.split) == null ? void 0 : t.call(a, ";")[0], (a && L(this, ee, "f").get(a.trim().toLowerCase())) ?? null);
2958
+ }
2959
+ getAllExtensions(a) {
2960
+ return typeof a != "string" ? null : L(this, K, "f").get(a.toLowerCase()) ?? null;
2961
+ }
2962
+ _freeze() {
2963
+ this.define = () => {
2964
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
2965
+ }, Object.freeze(this);
2966
+ for (const a of L(this, K, "f").values())
2967
+ Object.freeze(a);
2968
+ return this;
2969
+ }
2970
+ _getTestState() {
2971
+ return {
2972
+ types: L(this, J, "f"),
2973
+ extensions: L(this, ee, "f")
2974
+ };
2975
+ }
2976
+ }
2977
+ J = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap();
2978
+ new $e(ve, ue)._freeze();
2979
+ function Be(e, a, t, i) {
2980
+ const l = a.flatMap((o) => o.file);
2981
+ return a = a.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
2982
+ const r = l.findIndex((d) => d.name === o.name);
2983
+ let s = "Not Uploaded";
2984
+ r === -1 ? ((!t.includes(o.type) || !(o.size <= i)) && (s = t.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), a.unshift({
2985
+ file: o,
2986
+ status: s,
2927
2987
  blobFileName: null
2928
- })) : t[r].status = "Duplicate";
2929
- }), t;
2988
+ })) : a[r].status = "Duplicate";
2989
+ }), a;
2930
2990
  }
2931
- async function vl(e, t) {
2932
- if (e === "Uploaded" && t !== null)
2991
+ async function wt(e, a) {
2992
+ if (e === "Uploaded" && a !== null)
2933
2993
  try {
2934
- await new pe(t).delete();
2935
- } catch (l) {
2936
- if (l !== "BlobNotFound") {
2994
+ await new ye(a).delete();
2995
+ } catch (t) {
2996
+ if (t !== "BlobNotFound") {
2937
2997
  e = "DeleteFileFailed";
2938
2998
  return;
2939
2999
  }
2940
3000
  }
2941
3001
  }
2942
- function de(e, t = !0, l = 1) {
2943
- const o = t ? 1e3 : 1024;
2944
- if (Math.abs(e) < o)
3002
+ function fe(e, a = !0, t = 1) {
3003
+ const i = a ? 1e3 : 1024;
3004
+ if (Math.abs(e) < i)
2945
3005
  return e + " B";
2946
- const a = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
2947
- let n = -1;
2948
- const r = 10 ** l;
3006
+ const l = a ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
3007
+ let o = -1;
3008
+ const r = 10 ** t;
2949
3009
  do
2950
- e /= o, ++n;
2951
- while (Math.round(Math.abs(e) * r) / r >= o && n < a.length - 1);
2952
- return e.toFixed(l) + " " + a[n];
3010
+ e /= i, ++o;
3011
+ while (Math.round(Math.abs(e) * r) / r >= i && o < l.length - 1);
3012
+ return e.toFixed(t) + " " + l[o];
2953
3013
  }
2954
- function yl(e) {
3014
+ function kt(e) {
2955
3015
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
2956
3016
  }
2957
- function bl(e) {
3017
+ function $t(e) {
2958
3018
  return URL.createObjectURL(e);
2959
3019
  }
2960
- const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disabled", "multiple"], hl = {
3020
+ function Bt() {
3021
+ const e = new $e(ve, ue);
3022
+ return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
3023
+ }
3024
+ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disabled", "multiple"], _t = {
2961
3025
  class: "text-break accepted-file-types-container",
2962
3026
  id: "accepted-file-types-overlay"
2963
- }, wl = /* @__PURE__ */ F({
3027
+ }, jt = /* @__PURE__ */ F({
2964
3028
  __name: "UploadButton",
2965
- props: /* @__PURE__ */ R({
3029
+ props: /* @__PURE__ */ N({
2966
3030
  acceptedFileTypes: {},
2967
3031
  maxFileInput: {},
2968
3032
  showDragDropArea: { type: Boolean }
@@ -2972,12 +3036,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
2972
3036
  }),
2973
3037
  emits: ["update:modelValue"],
2974
3038
  setup(e) {
2975
- const t = U(e, "modelValue"), l = P(), o = (r) => l.value.toggle(r), a = k(() => e.maxFileInput <= t.value.length), n = (r) => {
2976
- t.value = fe(r, t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileInput);
3039
+ const a = O(e, "modelValue"), t = T(), i = (r) => t.value.toggle(r), l = k(() => e.maxFileInput <= a.value.length), o = (r) => {
3040
+ a.value = Be(r, a.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
2977
3041
  };
2978
- return (r, d) => {
2979
- const u = L;
2980
- return i(), b("div", fl, [
3042
+ return (r, s) => {
3043
+ const d = A;
3044
+ return p(), x("div", Ft, [
2981
3045
  $(r.$slots, "message"),
2982
3046
  m("div", null, [
2983
3047
  m("input", {
@@ -2985,60 +3049,60 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
2985
3049
  type: "file",
2986
3050
  class: "d-none",
2987
3051
  accept: r.acceptedFileTypes.join(", "),
2988
- disabled: a.value,
3052
+ disabled: l.value,
2989
3053
  multiple: r.maxFileInput > 1,
2990
- onInput: d[0] || (d[0] = (c) => n([...c.target.files]))
2991
- }, null, 40, gl),
3054
+ onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
3055
+ }, null, 40, zt),
2992
3056
  m("label", {
2993
- class: B([{ disabled: a.value }, "btn btn-primary"]),
3057
+ class: B([{ disabled: l.value }, "btn btn-primary"]),
2994
3058
  id: "file-input-button",
2995
3059
  for: "file-input"
2996
3060
  }, [
2997
3061
  $(r.$slots, "button-content", {}, () => [
2998
- y(p(C), {
3062
+ f(u(_), {
2999
3063
  icon: "bi:upload",
3000
3064
  class: "me-2",
3001
3065
  height: "20px",
3002
3066
  width: "20px"
3003
3067
  }),
3004
- d[1] || (d[1] = O(" Browse your computer "))
3068
+ s[1] || (s[1] = P(" Browse your computer "))
3005
3069
  ])
3006
3070
  ], 2)
3007
3071
  ]),
3008
- r.showDragDropArea ? (i(), w(u, {
3072
+ r.showDragDropArea ? (p(), w(d, {
3009
3073
  link: "",
3010
3074
  class: "ms-auto",
3011
3075
  key: r.acceptedFileTypes.length,
3012
3076
  id: "accepted-file-types",
3013
- onClick: o
3077
+ onClick: i
3014
3078
  }, {
3015
- default: g(() => d[2] || (d[2] = [
3016
- O("Accepted File Types")
3079
+ default: g(() => s[2] || (s[2] = [
3080
+ P("Accepted File Types")
3017
3081
  ])),
3018
3082
  _: 1
3019
- })) : T("", !0),
3020
- y(p(ve), {
3083
+ })) : C("", !0),
3084
+ f(u(he), {
3021
3085
  ref_key: "acceptedFilesOverlay",
3022
- ref: l
3086
+ ref: t
3023
3087
  }, {
3024
3088
  default: g(() => [
3025
- m("div", hl, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3089
+ m("div", _t, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3026
3090
  ]),
3027
3091
  _: 1
3028
3092
  }, 512)
3029
3093
  ]);
3030
3094
  };
3031
3095
  }
3032
- }), xl = {
3096
+ }), Ct = {
3033
3097
  key: 0,
3034
3098
  class: "py-4 px-3",
3035
3099
  id: "placeholder-message"
3036
- }, kl = {
3100
+ }, St = {
3037
3101
  key: 1,
3038
3102
  class: "d-flex flex-column"
3039
- }, $l = /* @__PURE__ */ F({
3103
+ }, Vt = /* @__PURE__ */ F({
3040
3104
  __name: "DragDropArea",
3041
- props: /* @__PURE__ */ R({
3105
+ props: /* @__PURE__ */ N({
3042
3106
  maxFileInput: {},
3043
3107
  maxFileSize: {},
3044
3108
  acceptedFileTypes: {}
@@ -3048,30 +3112,30 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3048
3112
  }),
3049
3113
  emits: ["update:modelValue"],
3050
3114
  setup(e) {
3051
- const t = U(e, "modelValue"), l = P(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
3052
- l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = fe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((r) => r.fileType), e.maxFileSize);
3115
+ const a = O(e, "modelValue"), t = T(!1), i = k(() => e.maxFileInput <= a.value.length), l = (o) => {
3116
+ t.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : a.value = Be([...o.dataTransfer.files], a.value, e.acceptedFileTypes.map((r) => r.fileType), e.maxFileSize);
3053
3117
  };
3054
- return (n, r) => (i(), b("div", {
3118
+ return (o, r) => (p(), x("div", {
3055
3119
  id: "drag-drop-area",
3056
- class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
3057
- onDragleave: r[0] || (r[0] = W((d) => l.value = !1, ["prevent"])),
3058
- onDragover: r[1] || (r[1] = W((d) => l.value = !0, ["prevent"])),
3059
- onDrop: W(a, ["prevent"])
3120
+ class: B(`${t.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
3121
+ onDragleave: r[0] || (r[0] = G((s) => t.value = !1, ["prevent"])),
3122
+ onDragover: r[1] || (r[1] = G((s) => t.value = !0, ["prevent"])),
3123
+ onDrop: G(l, ["prevent"])
3060
3124
  }, [
3061
- t.value.length === 0 ? (i(), b("div", xl, [
3062
- y(p(C), {
3125
+ a.value.length === 0 ? (p(), x("div", Ct, [
3126
+ f(u(_), {
3063
3127
  icon: "bi:upload",
3064
3128
  class: "me-2",
3065
3129
  height: "20px",
3066
3130
  width: "20px"
3067
3131
  }),
3068
- r[2] || (r[2] = O(" Drag and drop files here "))
3069
- ])) : (i(), b("div", kl, [
3070
- $(n.$slots, "default")
3132
+ r[2] || (r[2] = P(" Drag and drop files here "))
3133
+ ])) : (p(), x("div", St, [
3134
+ $(o.$slots, "default")
3071
3135
  ]))
3072
3136
  ], 34));
3073
3137
  }
3074
- }), Bl = { class: "d-flex align-items-center me-2" }, Fl = /* @__PURE__ */ F({
3138
+ }), Tt = { class: "d-flex align-items-center me-2" }, Mt = /* @__PURE__ */ F({
3075
3139
  __name: "UploadStatus",
3076
3140
  props: {
3077
3141
  fileSize: {},
@@ -3080,12 +3144,12 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3080
3144
  uploadStatus: {}
3081
3145
  },
3082
3146
  setup(e) {
3083
- const t = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), l = k(() => {
3147
+ const a = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), t = k(() => {
3084
3148
  switch (e.uploadStatus) {
3085
3149
  case "InvalidFileType":
3086
3150
  return "Upload Failed: File type is not accepted.";
3087
3151
  case "InvalidFileSize":
3088
- return `Upload Failed: File size exceeds the ${de(e.maxFileSize)} limit.`;
3152
+ return `Upload Failed: File size exceeds the ${fe(e.maxFileSize)} limit.`;
3089
3153
  case "Aborted":
3090
3154
  return "Upload Failed: User cancelled.";
3091
3155
  case "DeleteFileFailed":
@@ -3096,43 +3160,43 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3096
3160
  return "Upload Failed: Connection error, please try again.";
3097
3161
  }
3098
3162
  });
3099
- return (o, a) => (i(), b("div", Bl, [
3100
- o.uploadStatus === "Uploading" ? (i(), w(Wt, {
3163
+ return (i, l) => (p(), x("div", Tt, [
3164
+ i.uploadStatus === "Uploading" ? (p(), w(et, {
3101
3165
  key: 0,
3102
3166
  pixelWidth: 200,
3103
3167
  animate: "",
3104
3168
  striped: ""
3105
3169
  }, {
3106
3170
  default: g(() => [
3107
- O(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
3171
+ P(h((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
3108
3172
  ]),
3109
3173
  _: 1
3110
- })) : T("", !0),
3111
- o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (i(), w(oe, {
3174
+ })) : C("", !0),
3175
+ i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (p(), w(re, {
3112
3176
  key: 1,
3113
3177
  id: "upload-status-alert",
3114
- severity: t.value,
3178
+ severity: a.value,
3115
3179
  class: "mb-0 w-75 ms-auto"
3116
3180
  }, {
3117
3181
  default: g(() => [
3118
- O(h(l.value), 1)
3182
+ P(h(t.value), 1)
3119
3183
  ]),
3120
3184
  _: 1
3121
- }, 8, ["severity"])) : T("", !0)
3185
+ }, 8, ["severity"])) : C("", !0)
3122
3186
  ]));
3123
3187
  }
3124
- }), _l = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Vl = {
3188
+ }), Pt = ["data-cy"], It = { class: "ms-3 d-flex flex-column" }, Ot = {
3125
3189
  key: 1,
3126
3190
  id: "file-name"
3127
- }, Sl = {
3191
+ }, Dt = {
3128
3192
  class: "text-black-50",
3129
3193
  id: "file-type"
3130
- }, Tl = {
3194
+ }, Ut = {
3131
3195
  class: "text-black-50",
3132
3196
  id: "file-size"
3133
- }, Pl = { class: "ms-auto my-auto d-flex" }, Ml = /* @__PURE__ */ F({
3197
+ }, qt = { class: "ms-auto my-auto d-flex" }, At = /* @__PURE__ */ F({
3134
3198
  __name: "FileInfo",
3135
- props: /* @__PURE__ */ R({
3199
+ props: /* @__PURE__ */ N({
3136
3200
  editableFileName: { type: Boolean },
3137
3201
  acceptedFileTypes: {},
3138
3202
  maxFileSize: {},
@@ -3147,57 +3211,61 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3147
3211
  uploadStatus: { required: !0 },
3148
3212
  uploadStatusModifiers: {}
3149
3213
  }),
3150
- emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3151
- setup(e, { emit: t }) {
3152
- const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, r = P(l.value.name), d = P(""), u = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), V = () => {
3153
- l.value = new File([l.value], r.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3154
- }, S = async () => {
3155
- if (!v.value || !s.value) {
3156
- a.value = v.value ? "InvalidFileSize" : "InvalidFileType";
3214
+ emits: /* @__PURE__ */ N(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3215
+ setup(e, { emit: a }) {
3216
+ const t = O(e, "file"), i = O(e, "blobFileName"), l = O(e, "uploadStatus"), o = a, r = T(t.value.name), s = T(""), d = T(0), c = T(), v = k(() => e.acceptedFileTypes.some(({ fileType: M }) => M === t.value.type)), n = k(() => t.value.size <= e.maxFileSize), j = k(() => t.value.type ? t.value.type : Bt().getType(t.value.name)), S = () => {
3217
+ t.value = new File([t.value], r.value, { type: t.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3218
+ }, V = async () => {
3219
+ if (!v.value || !n.value) {
3220
+ l.value = v.value ? "InvalidFileSize" : "InvalidFileType";
3157
3221
  return;
3158
3222
  }
3159
- a.value = "Preparing", c.value = new AbortController();
3160
- const [I, z] = await e.getFileUrlAction(l.value.name);
3161
- if (!I) {
3162
- a.value = "Failed";
3223
+ l.value = "Preparing", c.value = new AbortController();
3224
+ const [M, b] = await e.getFileUrlAction(t.value.name);
3225
+ if (!M) {
3226
+ l.value = "Failed";
3163
3227
  return;
3164
3228
  }
3165
3229
  try {
3166
- a.value = "Uploading";
3167
- const f = new pe(I), x = {
3230
+ l.value = "Uploading";
3231
+ const y = new ye(M), R = {
3168
3232
  abortSignal: c.value.signal,
3169
- onProgress: (Y) => u.value = Y.loadedBytes,
3233
+ onProgress: (Z) => d.value = Z.loadedBytes,
3234
+ blobHTTPHeaders: {
3235
+ blobContentType: j.value,
3236
+ blobContentDisposition: `attachment; filename="${t.value.name}"`
3237
+ },
3170
3238
  tags: { temp: "true" }
3171
3239
  };
3172
- await f.uploadData(l.value, x), d.value = I, a.value = "Uploaded", o.value = z;
3173
- } catch (f) {
3174
- if (f.name === "AbortError") {
3175
- a.value = "Aborted";
3240
+ await y.uploadData(t.value, R), s.value = M, l.value = "Uploaded", i.value = b;
3241
+ } catch (y) {
3242
+ if (y.name === "AbortError") {
3243
+ l.value = "Aborted";
3176
3244
  return;
3177
3245
  }
3178
- a.value = "Failed";
3246
+ l.value = "Failed";
3179
3247
  }
3180
- }, M = async () => {
3181
- await vl(a.value, d.value), n("deleted", l.value);
3248
+ }, D = async () => {
3249
+ await wt(l.value, s.value), o("deleted", t.value);
3182
3250
  };
3183
- return le(() => {
3184
- e.autoUploadToBlob && S();
3185
- }), (I, z) => {
3186
- const f = L;
3187
- return i(), b("div", {
3251
+ return ne(() => {
3252
+ e.autoUploadToBlob && V();
3253
+ }), (M, b) => {
3254
+ const y = A;
3255
+ return p(), x("div", {
3188
3256
  class: "py-4 px-3 d-flex",
3189
- "data-cy": `file-info-${l.value.name}`
3257
+ "data-cy": `file-info-${t.value.name}`
3190
3258
  }, [
3191
3259
  m("div", null, [
3192
- p(yl)(l.value.type) ? (i(), w(p(Oe), {
3260
+ u(kt)(t.value.type) ? (p(), w(u(Le), {
3193
3261
  key: 0,
3194
3262
  id: "thumbnail-image",
3195
3263
  "image-class": "image-file-thumbnail border",
3196
- src: p(bl)(l.value),
3197
- alt: l.value.name,
3264
+ src: u($t)(t.value),
3265
+ alt: t.value.name,
3198
3266
  width: "75px",
3199
3267
  preview: ""
3200
- }, null, 8, ["src", "alt"])) : (i(), w(p(C), {
3268
+ }, null, 8, ["src", "alt"])) : (p(), w(u(_), {
3201
3269
  key: 1,
3202
3270
  id: "file-earmark",
3203
3271
  icon: "bi:file-earmark",
@@ -3205,78 +3273,78 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3205
3273
  width: "75px"
3206
3274
  }))
3207
3275
  ]),
3208
- m("div", Cl, [
3276
+ m("div", It, [
3209
3277
  m("div", null, [
3210
- I.editableFileName ? (i(), w(Bt, {
3278
+ M.editableFileName ? (p(), w(Va, {
3211
3279
  key: 0,
3212
3280
  id: "edit-file-name",
3213
3281
  modelValue: r.value,
3214
- "onUpdate:modelValue": z[0] || (z[0] = (x) => r.value = x),
3215
- rules: I.customFileNameRules,
3216
- name: l.value.name,
3217
- "complete-action": V
3218
- }, null, 8, ["modelValue", "rules", "name"])) : (i(), b("span", Vl, h(l.value.name), 1))
3282
+ "onUpdate:modelValue": b[0] || (b[0] = (R) => r.value = R),
3283
+ rules: M.customFileNameRules,
3284
+ name: t.value.name,
3285
+ "complete-action": S
3286
+ }, null, 8, ["modelValue", "rules", "name"])) : (p(), x("span", Ot, h(t.value.name), 1))
3219
3287
  ]),
3220
- m("span", Sl, "File type: " + h(l.value.type.split("/").pop()), 1),
3221
- m("span", Tl, "File size: " + h(p(de)(l.value.size)), 1)
3288
+ m("span", Dt, "File type: " + h(t.value.type.split("/").pop()), 1),
3289
+ m("span", Ut, "File size: " + h(u(fe)(t.value.size)), 1)
3222
3290
  ]),
3223
- m("div", Pl, [
3224
- (i(), w(Fl, {
3225
- key: a.value,
3226
- "file-size": l.value.size,
3227
- "upload-status": a.value,
3228
- "bytes-uploaded": u.value,
3229
- "max-file-size": I.maxFileSize
3291
+ m("div", qt, [
3292
+ (p(), w(Mt, {
3293
+ key: l.value,
3294
+ "file-size": t.value.size,
3295
+ "upload-status": l.value,
3296
+ "bytes-uploaded": d.value,
3297
+ "max-file-size": M.maxFileSize
3230
3298
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
3231
- a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (i(), w(f, {
3299
+ l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (p(), w(y, {
3232
3300
  key: 0,
3233
3301
  link: "",
3234
- onClick: S
3302
+ onClick: V
3235
3303
  }, {
3236
3304
  default: g(() => [
3237
- y(p(C), {
3238
- icon: a.value === "Not Uploaded" || a.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
3305
+ f(u(_), {
3306
+ icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
3239
3307
  }, null, 8, ["icon"])
3240
3308
  ]),
3241
3309
  _: 1
3242
- })) : T("", !0),
3243
- a.value === "Uploading" ? (i(), w(f, {
3310
+ })) : C("", !0),
3311
+ l.value === "Uploading" ? (p(), w(y, {
3244
3312
  key: 1,
3245
3313
  link: "",
3246
- onClick: z[1] || (z[1] = (x) => c.value.value.abort())
3314
+ onClick: b[1] || (b[1] = (R) => c.value.value.abort())
3247
3315
  }, {
3248
3316
  default: g(() => [
3249
- y(p(C), { icon: "bi:x-circle-fill" })
3317
+ f(u(_), { icon: "bi:x-circle-fill" })
3250
3318
  ]),
3251
3319
  _: 1
3252
- })) : (i(), w(f, {
3320
+ })) : (p(), w(y, {
3253
3321
  key: 2,
3254
3322
  link: "",
3255
- onClick: M,
3323
+ onClick: D,
3256
3324
  id: "delete-button"
3257
3325
  }, {
3258
3326
  default: g(() => [
3259
- y(p(C), { icon: "bi:trash" })
3327
+ f(u(_), { icon: "bi:trash" })
3260
3328
  ]),
3261
3329
  _: 1
3262
3330
  }))
3263
3331
  ])
3264
- ], 8, _l);
3332
+ ], 8, Pt);
3265
3333
  };
3266
3334
  }
3267
- }), Il = { class: "d-flex justify-content-end mt-1" }, zl = { id: "max-file-size" }, Ol = /* @__PURE__ */ F({
3335
+ }), Et = { class: "d-flex justify-content-end mt-1" }, Lt = { id: "max-file-size" }, Nt = /* @__PURE__ */ F({
3268
3336
  __name: "MaxFileSize",
3269
3337
  props: {
3270
3338
  maxFileSize: {}
3271
3339
  },
3272
3340
  setup(e) {
3273
- return (t, l) => (i(), b("div", Il, [
3274
- m("div", zl, "Max file size: " + h(p(de)(t.maxFileSize)), 1)
3341
+ return (a, t) => (p(), x("div", Et, [
3342
+ m("div", Lt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
3275
3343
  ]));
3276
3344
  }
3277
- }), Dl = { "data-cy": "file-uploader" }, Ul = { key: 0 }, Ua = /* @__PURE__ */ F({
3345
+ }), Rt = { "data-cy": "file-uploader" }, Ht = { key: 0 }, Hi = /* @__PURE__ */ F({
3278
3346
  __name: "ForgeFileUploader",
3279
- props: /* @__PURE__ */ R({
3347
+ props: /* @__PURE__ */ N({
3280
3348
  acceptedFileTypes: {},
3281
3349
  maxFileSize: {},
3282
3350
  getFileUrlAction: {},
@@ -3291,46 +3359,46 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3291
3359
  }),
3292
3360
  emits: ["update:modelValue"],
3293
3361
  setup(e) {
3294
- const t = U(e, "modelValue"), l = e, o = (a) => {
3295
- t.value = t.value.filter((n) => n.file != a);
3362
+ const a = O(e, "modelValue"), t = e, i = (l) => {
3363
+ a.value = a.value.filter((o) => o.file != l);
3296
3364
  };
3297
- return (a, n) => (i(), b("div", Dl, [
3298
- y(wl, _(l, {
3299
- modelValue: t.value,
3300
- "onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r)
3365
+ return (l, o) => (p(), x("div", Rt, [
3366
+ f(jt, z(t, {
3367
+ modelValue: a.value,
3368
+ "onUpdate:modelValue": o[0] || (o[0] = (r) => a.value = r)
3301
3369
  }), null, 16, ["modelValue"]),
3302
- a.showDragDropArea ? (i(), b("div", Ul, [
3303
- y($l, {
3304
- "max-file-input": l.maxFileInput,
3305
- "max-file-size": l.maxFileSize,
3306
- "accepted-file-types": l.acceptedFileTypes,
3307
- modelValue: t.value,
3308
- "onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r)
3370
+ l.showDragDropArea ? (p(), x("div", Ht, [
3371
+ f(Vt, {
3372
+ "max-file-input": t.maxFileInput,
3373
+ "max-file-size": t.maxFileSize,
3374
+ "accepted-file-types": t.acceptedFileTypes,
3375
+ modelValue: a.value,
3376
+ "onUpdate:modelValue": o[1] || (o[1] = (r) => a.value = r)
3309
3377
  }, {
3310
3378
  default: g(() => [
3311
- (i(!0), b(N, null, j(t.value, ({ file: r }, d) => (i(), b("span", null, [
3312
- (i(), w(Ml, _({
3379
+ (p(!0), x(q, null, W(a.value, ({ file: r }, s) => (p(), x("span", null, [
3380
+ (p(), w(At, z({
3313
3381
  key: r.name,
3314
- class: d === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3315
- file: t.value[d].file,
3316
- "onUpdate:file": (u) => t.value[d].file = u,
3317
- "blob-file-name": t.value[d].blobFileName,
3318
- "onUpdate:blobFileName": (u) => t.value[d].blobFileName = u,
3319
- "upload-status": t.value[d].status,
3320
- "onUpdate:uploadStatus": (u) => t.value[d].status = u,
3382
+ class: s === a.value.length - 1 || a.value.length == 1 ? "" : "border-bottom",
3383
+ file: a.value[s].file,
3384
+ "onUpdate:file": (d) => a.value[s].file = d,
3385
+ "blob-file-name": a.value[s].blobFileName,
3386
+ "onUpdate:blobFileName": (d) => a.value[s].blobFileName = d,
3387
+ "upload-status": a.value[s].status,
3388
+ "onUpdate:uploadStatus": (d) => a.value[s].status = d,
3321
3389
  ref_for: !0
3322
- }, l, { onDeleted: o }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
3390
+ }, t, { onDeleted: i }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
3323
3391
  ]))), 256))
3324
3392
  ]),
3325
3393
  _: 1
3326
3394
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3327
- y(Ol, {
3328
- "max-file-size": l.maxFileSize
3395
+ f(Nt, {
3396
+ "max-file-size": t.maxFileSize
3329
3397
  }, null, 8, ["max-file-size"])
3330
- ])) : T("", !0)
3398
+ ])) : C("", !0)
3331
3399
  ]));
3332
3400
  }
3333
- }), Al = { class: "d-flex" }, Nl = { class: "me-3" }, Ll = { class: "ms-2" }, El = { class: "d-flex flex-column w-100" }, Rl = ["onClick"], Hl = ["for"], Aa = /* @__PURE__ */ F({
3401
+ }), Wt = { class: "d-flex" }, Yt = { class: "me-3" }, Gt = { class: "ms-2" }, Kt = { class: "d-flex flex-column w-100" }, Zt = ["onClick"], Jt = ["for"], Wi = /* @__PURE__ */ F({
3334
3402
  __name: "ForgeColumnCustomiser",
3335
3403
  props: {
3336
3404
  modelValue: { required: !0 },
@@ -3338,63 +3406,63 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3338
3406
  },
3339
3407
  emits: ["update:modelValue"],
3340
3408
  setup(e) {
3341
- const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), r = (u) => {
3342
- l.value.toggle(u);
3343
- }, d = (u) => {
3344
- const c = n.value.find((v) => v.field === u);
3345
- c.selected = !c.selected, t.value = n.value.filter((v) => v.selected);
3409
+ const a = O(e, "modelValue"), t = T(), i = T(!1), l = T([]), o = T([]), r = (d) => {
3410
+ t.value.toggle(d);
3411
+ }, s = (d) => {
3412
+ const c = o.value.find((v) => v.field === d);
3413
+ c.selected = !c.selected, a.value = o.value.filter((v) => v.selected);
3346
3414
  };
3347
- return le(() => {
3348
- a.value = [...t.value], n.value = [...t.value].map((u) => ({ ...u, selected: !0 }));
3349
- }), (u, c) => (i(), b(N, null, [
3350
- y(p(L), {
3415
+ return ne(() => {
3416
+ l.value = [...a.value], o.value = [...a.value].map((d) => ({ ...d, selected: !0 }));
3417
+ }), (d, c) => (p(), x(q, null, [
3418
+ f(u(A), {
3351
3419
  onClick: r,
3352
3420
  class: "ms-2"
3353
3421
  }, {
3354
3422
  default: g(() => [
3355
- m("div", Al, [
3356
- m("div", Nl, [
3357
- y(p(C), { icon: "bi:layout-three-columns" })
3423
+ m("div", Wt, [
3424
+ m("div", Yt, [
3425
+ f(u(_), { icon: "bi:layout-three-columns" })
3358
3426
  ]),
3359
- O(" Columns (" + h(t.value.length ?? 0) + "/" + h(a.value.length ?? 0) + ") ", 1),
3360
- m("div", Ll, [
3361
- y(p(C), {
3362
- icon: o.value ? "bi:chevron-up" : "bi:chevron-down"
3427
+ P(" Columns (" + h(a.value.length ?? 0) + "/" + h(l.value.length ?? 0) + ") ", 1),
3428
+ m("div", Gt, [
3429
+ f(u(_), {
3430
+ icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
3363
3431
  }, null, 8, ["icon"])
3364
3432
  ])
3365
3433
  ])
3366
3434
  ]),
3367
3435
  _: 1
3368
3436
  }),
3369
- y(p(ve), {
3437
+ f(u(he), {
3370
3438
  ref_key: "columnCustomiserPanel",
3371
- ref: l,
3439
+ ref: t,
3372
3440
  class: "column-customiser",
3373
- onHide: c[0] || (c[0] = () => o.value = !1),
3374
- onShow: c[1] || (c[1] = () => o.value = !0)
3441
+ onHide: c[0] || (c[0] = () => i.value = !1),
3442
+ onShow: c[1] || (c[1] = () => i.value = !0)
3375
3443
  }, {
3376
3444
  default: g(() => [
3377
- m("div", El, [
3378
- (i(!0), b(N, null, j(a.value, (v, s) => (i(), b("div", {
3445
+ m("div", Kt, [
3446
+ (p(!0), x(q, null, W(l.value, (v, n) => (p(), x("div", {
3379
3447
  class: B(["d-flex cursor-pointer", {
3380
- "border-top": s !== 0,
3381
- "py-1": s !== 0 && a.value.length - 1 !== s,
3382
- "pt-1": a.value.length - 1 === s,
3383
- "pb-1": s === 0
3448
+ "border-top": n !== 0,
3449
+ "py-1": n !== 0 && l.value.length - 1 !== n,
3450
+ "pt-1": l.value.length - 1 === n,
3451
+ "pb-1": n === 0
3384
3452
  }]),
3385
- onClick: (V) => d(v.field)
3453
+ onClick: (j) => s(v.field)
3386
3454
  }, [
3387
- y(p(ce), {
3455
+ f(u(be), {
3388
3456
  id: v.field,
3389
- "model-value": n.value.find((V) => V.field === v.field).selected,
3457
+ "model-value": o.value.find((j) => j.field === v.field).selected,
3390
3458
  binary: "",
3391
3459
  class: "cursor-pointer"
3392
3460
  }, null, 8, ["id", "model-value"]),
3393
3461
  m("label", {
3394
3462
  for: v.field,
3395
3463
  class: "cursor-pointer"
3396
- }, h(v.header), 9, Hl)
3397
- ], 10, Rl))), 256))
3464
+ }, h(v.header), 9, Jt)
3465
+ ], 10, Zt))), 256))
3398
3466
  ])
3399
3467
  ]),
3400
3468
  _: 1
@@ -3403,32 +3471,32 @@ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disable
3403
3471
  }
3404
3472
  });
3405
3473
  export {
3406
- ga as Bootstrap_PT,
3407
- ha as ForgeActionButton,
3408
- oe as ForgeAlert,
3409
- mt as ForgeCheckbox,
3410
- Pa as ForgeChips,
3411
- Aa as ForgeColumnCustomiser,
3412
- be as ForgeDatepicker,
3413
- Ua as ForgeFileUploader,
3414
- Da as ForgeFilterHeader,
3415
- Sa as ForgeForm,
3416
- Ta as ForgeFormField,
3417
- Bt as ForgeInlineEditor,
3418
- wa as ForgeLink,
3419
- ye as ForgeLoader,
3420
- $a as ForgeModal,
3421
- Fa as ForgeMultiSelect,
3422
- _a as ForgeMultiSelectPreview,
3423
- Ba as ForgeNavbar,
3424
- Ca as ForgePageHeader,
3425
- Wt as ForgeProgressBar,
3426
- Va as ForgeRemainingCharacters,
3427
- Ma as ForgeStatWidget,
3428
- Ia as ForgeStepper,
3429
- Oa as ForgeTable,
3430
- za as ForgeTile,
3431
- ka as convertToMultiSelectOption,
3432
- xa as enumToMultiSelectList,
3433
- yt as parseError
3474
+ zi as Bootstrap_PT,
3475
+ _i as ForgeActionButton,
3476
+ re as ForgeAlert,
3477
+ ya as ForgeCheckbox,
3478
+ qi as ForgeChips,
3479
+ Wi as ForgeColumnCustomiser,
3480
+ ke as ForgeDatepicker,
3481
+ Hi as ForgeFileUploader,
3482
+ Ri as ForgeFilterHeader,
3483
+ Di as ForgeForm,
3484
+ Ui as ForgeFormField,
3485
+ Va as ForgeInlineEditor,
3486
+ ji as ForgeLink,
3487
+ we as ForgeLoader,
3488
+ Vi as ForgeModal,
3489
+ Mi as ForgeMultiSelect,
3490
+ Pi as ForgeMultiSelectPreview,
3491
+ Ti as ForgeNavbar,
3492
+ Ii as ForgePageHeader,
3493
+ et as ForgeProgressBar,
3494
+ Oi as ForgeRemainingCharacters,
3495
+ Ai as ForgeStatWidget,
3496
+ Ei as ForgeStepper,
3497
+ Ni as ForgeTable,
3498
+ Li as ForgeTile,
3499
+ Si as convertToMultiSelectOption,
3500
+ Ci as enumToMultiSelectList,
3501
+ ka as parseError
3434
3502
  };