@3squared/forge-ui-3 2.13.0 → 2.14.1

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,36 +1,37 @@
1
- import he from "primevue/message";
2
- import { defineComponent as $, openBlock as r, createBlock as f, normalizeProps as W, guardReactiveProps as Y, withCtx as y, createElementVNode as m, normalizeClass as F, unref as u, createCommentVNode as S, createVNode as h, renderSlot as w, ref as I, createElementBlock as v, Fragment as O, mergeProps as z, renderList as N, mergeModels as U, useModel as D, computed as T, createTextVNode as _, toDisplayString as k, withDirectives as H, vShow as J, createSlots as ee, onMounted as le, isRef as we, withKeys as X, normalizeStyle as ke, withModifiers as K, watch as ue, h as $e, useTemplateRef as Fe } from "vue";
3
- import { Icon as j } from "@iconify/vue";
4
- import A from "primevue/button";
5
- import Be from "primevue/toast";
6
- import Se from "primevue/autocomplete";
7
- import Ce from "primevue/checkbox";
8
- import { useField as te } from "vee-validate";
9
- import ze from "primevue/progressspinner";
10
- import Te from "primevue/dialog";
11
- import ne from "primevue/inputtext";
12
- import { vOnClickOutside as je } from "@vueuse/components";
13
- import _e from "primevue/menubar";
14
- import oe from "primevue/multiselect";
15
- import Ie from "primevue/datepicker";
1
+ import Be from "primevue/message";
2
+ import { defineComponent as S, openBlock as d, createBlock as b, normalizeProps as W, guardReactiveProps as G, withCtx as g, createElementVNode as m, normalizeClass as F, unref as u, createCommentVNode as C, createVNode as h, renderSlot as k, ref as P, createElementBlock as v, Fragment as E, mergeProps as j, renderList as U, mergeModels as R, useModel as N, computed as T, createTextVNode as M, toDisplayString as B, withDirectives as J, vShow as Z, createSlots as te, onMounted as ne, isRef as Fe, withKeys as ie, normalizeStyle as Se, withModifiers as X, watch as le, h as Ce, useTemplateRef as ze } from "vue";
3
+ import { Icon as I } from "@iconify/vue";
4
+ import q from "primevue/button";
5
+ import Te from "primevue/toast";
6
+ import je from "primevue/autocomplete";
7
+ import Ie from "primevue/checkbox";
8
+ import { useField as oe } from "vee-validate";
9
+ import Pe from "primevue/progressspinner";
10
+ import _e from "primevue/dialog";
11
+ import se from "primevue/inputtext";
12
+ import { vOnClickOutside as Me } from "@vueuse/components";
13
+ import Ve from "primevue/menubar";
14
+ import re from "primevue/multiselect";
15
+ import De from "primevue/datepicker";
16
16
  import ae from "primevue/select";
17
- import Pe from "primevue/inputmask";
18
- import Ve from "primevue/textarea";
19
- import me from "primevue/inputnumber";
20
- import Me from "primevue/chip";
21
- import De from "primevue/progressbar";
22
- import Oe from "primevue/step";
23
- import Ne from "primevue/stepper";
24
- import Ue from "primevue/steplist";
25
- import Ae from "primevue/steppanel";
26
- import qe from "primevue/steppanels";
27
- import Ee from "primevue/datatable";
28
- import { BlockBlobClient as ve } from "@azure/storage-blob";
29
- import fe from "primevue/popover";
30
- import Le from "primevue/image";
31
- import Re from "primevue/panel";
32
- import { ToggleButton as He } from "primevue";
33
- const We = {
17
+ import Oe from "primevue/inputmask";
18
+ import Ne from "primevue/textarea";
19
+ import fe from "primevue/inputnumber";
20
+ import Ae from "primevue/chip";
21
+ import Ee from "primevue/progressbar";
22
+ import Ue from "primevue/step";
23
+ import qe from "primevue/stepper";
24
+ import Le from "primevue/steplist";
25
+ import Re from "primevue/steppanel";
26
+ import He from "primevue/steppanels";
27
+ import We from "primevue/datatable";
28
+ import Ge from "primevue/treetable";
29
+ import { BlockBlobClient as ge } from "@azure/storage-blob";
30
+ import be from "primevue/popover";
31
+ import Ye from "primevue/image";
32
+ import Je from "primevue/panel";
33
+ import { ToggleButton as Ke } from "primevue";
34
+ const Ze = {
34
35
  autoComplete: {
35
36
  root: ({ props: e }) => ({
36
37
  class: [
@@ -59,7 +60,7 @@ const We = {
59
60
  }),
60
61
  emptyMessage: "mx-3 my-2"
61
62
  }
62
- }, Ye = {
63
+ }, Xe = {
63
64
  button: {
64
65
  root: ({ props: e }) => ({
65
66
  class: [
@@ -92,6 +93,13 @@ const We = {
92
93
  "text-success fw-bold btn-text-success": e.severity === "success" && e.text,
93
94
  "link-success text-decoration-underline link-underline-success": e.severity === "success" && e.link
94
95
  },
96
+ // Success Alternate
97
+ {
98
+ "btn-success-alternate text-white": e.severity === "success-alternate" && !e.outlined && !e.link && !e.text,
99
+ "btn-outline-success-alternate": e.severity === "success-alternate" && e.outlined,
100
+ "text-success-alternate fw-bold btn-text-success-alternate": e.severity === "success-alternate" && e.text,
101
+ "link-success-alternate text-decoration-underline link-underline-success-alternate": e.severity === "success-alternate" && e.link
102
+ },
95
103
  // Warning
96
104
  {
97
105
  "btn-warning text-white": e.severity === "warning" && !e.outlined && !e.link && !e.text,
@@ -142,6 +150,7 @@ const We = {
142
150
  "button-badge-brand": e.severity === "brand" && !e.outlined,
143
151
  "button-badge-secondary": e.severity === "secondary" && !e.outlined,
144
152
  "button-badge-success": e.severity === "success" && !e.outlined,
153
+ "button-badge-success-alternate": e.severity === "success-alternate" && !e.outlined,
145
154
  "button-badge-warning": (e.severity === "warning" || e.severity === "warn") && !e.outlined,
146
155
  "button-badge-danger": e.severity === "danger" && !e.outlined,
147
156
  "button-badge-info": e.severity === "info" && !e.outlined
@@ -151,6 +160,7 @@ const We = {
151
160
  "button-badge-brand outlined": e.severity === "brand" && e.outlined,
152
161
  "button-badge-secondary outlined": e.severity === "secondary" && e.outlined,
153
162
  "button-badge-success outlined": e.severity === "success" && e.outlined,
163
+ "button-badge-success-alternate outlined": e.severity === "success-alternate" && e.outlined,
154
164
  "button-badge-warning outlined": (e.severity === "warning" || e.severity === "warn") && e.outlined,
155
165
  "button-badge-danger outlined": e.severity === "danger" && e.outlined,
156
166
  "button-badge-info outlined": e.severity === "info" && e.outlined
@@ -160,7 +170,7 @@ const We = {
160
170
  })
161
171
  }
162
172
  }
163
- }, Ge = {
173
+ }, Qe = {
164
174
  checkbox: {
165
175
  root: () => ({
166
176
  class: ["form-check"]
@@ -175,7 +185,7 @@ const We = {
175
185
  ]
176
186
  })
177
187
  }
178
- }, Je = {
188
+ }, et = {
179
189
  select: {
180
190
  root: ({ props: e }) => ({
181
191
  class: [
@@ -225,7 +235,7 @@ const We = {
225
235
  ]
226
236
  })
227
237
  }
228
- }, Ke = {
238
+ }, tt = {
229
239
  column: {
230
240
  pcSortBadge: "ms-2 my-auto cursor-pointer",
231
241
  headerCell: (e) => {
@@ -243,17 +253,19 @@ const We = {
243
253
  },
244
254
  pcRowEditorInit: "btn",
245
255
  rowToggleButton: "btn",
256
+ nodeToggleButton: "btn btn-sm",
246
257
  columnResizer: {
247
258
  class: "position-absolute top-0 end-0 m-0 h-100 p-0 cursor-resize border border-transparent"
248
259
  },
249
260
  pcRowEditorSave: "btn",
250
261
  pcRowEditorCancel: "btn",
251
262
  bodyCell: (e) => {
252
- var t;
263
+ var t, a;
253
264
  return {
254
265
  class: {
255
- "position-sticky": ((t = e.column.props) == null ? void 0 : t.frozen) !== void 0,
256
- "overflow-hidden text-nowrap": e.props.resizableColumns
266
+ "expander-cell": (t = e.column.props) == null ? void 0 : t.expander,
267
+ "position-sticky": ((a = e.column.props) == null ? void 0 : a.frozen) !== void 0,
268
+ "overflow-hidden text-nowrap": e.parent.props.resizableColumns
257
269
  }
258
270
  };
259
271
  },
@@ -328,7 +340,7 @@ const We = {
328
340
  ]
329
341
  })
330
342
  }
331
- }, Ze = {
343
+ }, at = {
332
344
  inputtext: {
333
345
  root: (e) => {
334
346
  var t, a;
@@ -343,7 +355,7 @@ const We = {
343
355
  };
344
356
  }
345
357
  }
346
- }, Xe = {
358
+ }, it = {
347
359
  inputmask: {
348
360
  root: () => ({
349
361
  class: [
@@ -351,12 +363,12 @@ const We = {
351
363
  ]
352
364
  })
353
365
  }
354
- }, Qe = {
366
+ }, lt = {
355
367
  toggleSwitch: {
356
368
  root: "form-check form-switch",
357
369
  input: "form-check-input"
358
370
  }
359
- }, et = {
371
+ }, nt = {
360
372
  tag: {
361
373
  root: ({ props: e }) => ({
362
374
  class: [
@@ -368,7 +380,8 @@ const We = {
368
380
  "bg-success-subtle text-success border-success": e.severity === "success",
369
381
  "bg-warning-subtle text-warning border-warning": e.severity === "warning" || e.severity === "warn",
370
382
  "bg-danger-subtle text-danger border-danger": e.severity === "danger",
371
- "bg-info-subtle text-info border-info": e.severity === "info"
383
+ "bg-info-subtle text-info border-info": e.severity === "info",
384
+ "bg-success-alternate-subtle text-success-alternate border-success-alternate": e.severity === "success-alternate"
372
385
  },
373
386
  {
374
387
  "rounded-pill": e.rounded
@@ -376,7 +389,7 @@ const We = {
376
389
  ]
377
390
  })
378
391
  }
379
- }, tt = {
392
+ }, ot = {
380
393
  textarea: {
381
394
  root: () => ({
382
395
  class: [
@@ -384,13 +397,13 @@ const We = {
384
397
  ]
385
398
  })
386
399
  }
387
- }, at = {
400
+ }, st = {
388
401
  chip: {
389
402
  root: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 p-1",
390
403
  label: "px-2 fs-6 fw-400",
391
404
  removeIcon: "ms-auto my-auto"
392
405
  }
393
- }, it = {
406
+ }, rt = {
394
407
  dialog: {
395
408
  root: ({ parent: e }) => e.instance.$.type.name == "ConfirmDialog" ? {
396
409
  class: ["modal modal-dialog modal-content h-auto m-0 modal-sm"]
@@ -449,7 +462,7 @@ const We = {
449
462
  ]
450
463
  })
451
464
  }
452
- }, lt = {
465
+ }, dt = {
453
466
  popover: {
454
467
  root: (e) => ({
455
468
  class: [
@@ -463,7 +476,7 @@ const We = {
463
476
  content: "d-flex position-relative",
464
477
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
465
478
  }
466
- }, nt = {
479
+ }, pt = {
467
480
  message: {
468
481
  root: ({ props: e }) => ({
469
482
  class: [
@@ -473,6 +486,7 @@ const We = {
473
486
  "alert-brand": e.severity === "brand",
474
487
  "alert-secondary": e.severity === "secondary",
475
488
  "alert-success": e.severity === "success",
489
+ "alert-success-alternate": e.severity === "success-alternate",
476
490
  "alert-warning": e.severity === "warning" || e.severity === "warn",
477
491
  "alert-danger": e.severity === "danger" || e.severity === "error",
478
492
  "alert-info": e.severity === "info"
@@ -492,7 +506,7 @@ const We = {
492
506
  class: ["px-0 ms-2 btn d-flex"]
493
507
  })
494
508
  }
495
- }, ot = {
509
+ }, ct = {
496
510
  // More PT options defined in ForgeStepper.
497
511
  stepList: {
498
512
  root: "d-flex mb-2 w-100"
@@ -520,7 +534,7 @@ const We = {
520
534
  }),
521
535
  separator: "border border-1 separator"
522
536
  }
523
- }, st = {
537
+ }, ut = {
524
538
  tabList: {
525
539
  root: () => ({
526
540
  class: ["nav nav-tabs position-relative"]
@@ -545,7 +559,7 @@ const We = {
545
559
  class: ["p-2"]
546
560
  })
547
561
  }
548
- }, rt = {
562
+ }, mt = {
549
563
  // More PassThrough options defined in ForgeDatepicker.
550
564
  datepicker: {
551
565
  root: "d-inline-flex relative w-100",
@@ -620,7 +634,7 @@ const We = {
620
634
  pcDecrementButton: { root: "btn btn-sm", label: "d-none" },
621
635
  pcIncrementButton: { root: "btn btn-sm", label: "d-none" }
622
636
  }
623
- }, dt = {
637
+ }, vt = {
624
638
  multiselect: {
625
639
  root: ({ props: e }) => ({
626
640
  class: [
@@ -648,7 +662,7 @@ const We = {
648
662
  class: "d-none"
649
663
  })
650
664
  }
651
- }, pt = {
665
+ }, ft = {
652
666
  // More PassThrough options in component file.
653
667
  progressbar: {
654
668
  root: () => ({
@@ -658,7 +672,7 @@ const We = {
658
672
  class: ["text-white m-1"]
659
673
  })
660
674
  }
661
- }, ct = {
675
+ }, gt = {
662
676
  panel: {
663
677
  root: "card w-100",
664
678
  header: "h4 d-flex justify-content-between align-items-center fw-600 ms-4 me-3 my-2",
@@ -671,7 +685,7 @@ const We = {
671
685
  },
672
686
  contentContainer: "mt-2 mx-4 mb-4"
673
687
  }
674
- }, ut = {
688
+ }, bt = {
675
689
  // More PT options can be found in the ForgeTable file.
676
690
  dataTable: {
677
691
  root: "position-relative",
@@ -745,7 +759,7 @@ const We = {
745
759
  ]
746
760
  })
747
761
  }
748
- }, mt = {
762
+ }, yt = {
749
763
  badge: {
750
764
  root: ({ props: e }) => ({
751
765
  class: [
@@ -755,6 +769,7 @@ const We = {
755
769
  "badge-brand": e.severity === "brand",
756
770
  "badge-secondary": e.severity === "secondary",
757
771
  "badge-success": e.severity === "success",
772
+ "badge-success-alternate": e.severity === "success-alternate",
758
773
  "badge-warning": e.severity === "warning" || e.severity === "warn",
759
774
  "badge-danger": e.severity === "danger",
760
775
  "badge-info": e.severity === "info"
@@ -766,7 +781,7 @@ const We = {
766
781
  ]
767
782
  })
768
783
  }
769
- }, vt = {
784
+ }, xt = {
770
785
  // More PassThrough options in component file.
771
786
  menubar: {
772
787
  rootList: ({ instance: e }) => ({
@@ -847,7 +862,7 @@ const We = {
847
862
  ]
848
863
  })
849
864
  }
850
- }, ft = {
865
+ }, ht = {
851
866
  tooltip: {
852
867
  root: ({ context: e }) => ({
853
868
  class: [
@@ -869,7 +884,7 @@ const We = {
869
884
  class: ["tooltip-inner"]
870
885
  }
871
886
  }
872
- }, gt = {
887
+ }, wt = {
873
888
  selectButton: {
874
889
  root: () => ({
875
890
  class: ["btn-group"]
@@ -887,7 +902,7 @@ const We = {
887
902
  ]
888
903
  })
889
904
  }
890
- }, bt = {
905
+ }, kt = {
891
906
  splitbutton: {
892
907
  root: () => ({
893
908
  class: ["btn-group"]
@@ -901,6 +916,7 @@ const We = {
901
916
  "btn-brand": e.severity === "brand" && !e.outlined,
902
917
  "btn-secondary": e.severity === "secondary" && !e.outlined,
903
918
  "btn-success": e.severity === "success" && !e.outlined,
919
+ "btn-success-alternate": e.severity === "success-alternate" && !e.outlined,
904
920
  "btn-warning": (e.severity === "warning" || e.severity === "warn") && !e.outlined,
905
921
  "btn-danger": e.severity === "danger" && !e.outlined,
906
922
  "btn-info": e.severity === "info" && !e.outlined
@@ -910,6 +926,7 @@ const We = {
910
926
  "btn-outline-brand": e.severity === "brand" && e.outlined,
911
927
  "btn-outline-secondary": e.severity === "secondary" && e.outlined,
912
928
  "btn-outline-success": e.severity === "success" && e.outlined,
929
+ "btn-outline-success-alternate": e.severity === "success-alternate" && e.outlined,
913
930
  "btn-outline-warning": (e.severity === "warning" || e.severity === "warn") && e.outlined,
914
931
  "btn-outline-danger": e.severity === "danger" && e.outlined,
915
932
  "btn-outline-info": e.severity === "info" && e.outlined
@@ -931,7 +948,7 @@ const We = {
931
948
  separator: "border-bottom"
932
949
  }
933
950
  }
934
- }, yt = {
951
+ }, $t = {
935
952
  progressspinner: {
936
953
  spin: () => ({
937
954
  class: [
@@ -939,7 +956,7 @@ const We = {
939
956
  ]
940
957
  })
941
958
  }
942
- }, xt = {
959
+ }, Bt = {
943
960
  card: {
944
961
  root: () => ({
945
962
  class: ["card"]
@@ -963,11 +980,11 @@ const We = {
963
980
  class: ["card-header"]
964
981
  })
965
982
  }
966
- }, ht = {
983
+ }, Ft = {
967
984
  divider: {
968
985
  root: "border-bottom w-100 m-1"
969
986
  }
970
- }, wt = {
987
+ }, St = {
971
988
  image: {
972
989
  root: "position-relative d-inline-block",
973
990
  previewMask: "preview-button",
@@ -980,7 +997,7 @@ const We = {
980
997
  zoominbutton: "btn text-white",
981
998
  closebutton: "btn text-white"
982
999
  }
983
- }, kt = {
1000
+ }, Ct = {
984
1001
  toast: {
985
1002
  message: () => ({
986
1003
  class: ["toast-container w-100 position-relative"]
@@ -1001,21 +1018,22 @@ const We = {
1001
1018
  class: ["ps-1"]
1002
1019
  }),
1003
1020
  messageIcon: ({ props: e }) => {
1004
- var t, a, i, l;
1021
+ var t, a, i, l, n;
1005
1022
  return {
1006
1023
  class: [
1007
1024
  "toast-icon",
1008
1025
  {
1009
1026
  "text-primary": ((t = e.message) == null ? void 0 : t.severity) === "info",
1010
1027
  "text-success": ((a = e.message) == null ? void 0 : a.severity) === "success",
1011
- "text-danger": ((i = e.message) == null ? void 0 : i.severity) === "error",
1012
- "text-warning": ((l = e.message) == null ? void 0 : l.severity) === "warn"
1028
+ "text-success-alternate": ((i = e.message) == null ? void 0 : i.severity) === "success-alternate",
1029
+ "text-danger": ((l = e.message) == null ? void 0 : l.severity) === "error",
1030
+ "text-warning": ((n = e.message) == null ? void 0 : n.severity) === "warn"
1013
1031
  }
1014
1032
  ]
1015
1033
  };
1016
1034
  }
1017
1035
  }
1018
- }, $t = {
1036
+ }, zt = {
1019
1037
  tree: {
1020
1038
  node: "m-1",
1021
1039
  nodeToggleButton: ({ context: e }) => ({
@@ -1047,7 +1065,7 @@ const We = {
1047
1065
  pcFilterContainer: { root: "dropdown-item" },
1048
1066
  filterIcon: "d-none"
1049
1067
  }
1050
- }, Ft = {
1068
+ }, Tt = {
1051
1069
  treeSelect: {
1052
1070
  root: ({ props: e }) => ({
1053
1071
  class: [
@@ -1095,7 +1113,7 @@ const We = {
1095
1113
  filterIcon: "d-none"
1096
1114
  }
1097
1115
  }
1098
- }, Bt = {
1116
+ }, jt = {
1099
1117
  fieldset: {
1100
1118
  root: () => ({
1101
1119
  class: [
@@ -1121,7 +1139,7 @@ const We = {
1121
1139
  ]
1122
1140
  })
1123
1141
  }
1124
- }, St = {
1142
+ }, It = {
1125
1143
  accordionPanel: {
1126
1144
  root: "card my-2"
1127
1145
  },
@@ -1139,45 +1157,67 @@ const We = {
1139
1157
  accordionContent: {
1140
1158
  root: "mt-2 mx-4 mb-4"
1141
1159
  }
1142
- }, Di = {
1143
- ...We,
1144
- ...mt,
1145
- ...Ye,
1146
- ...xt,
1147
- ...Ge,
1148
- ...at,
1149
- ...Ke,
1150
- ...rt,
1151
- ...it,
1152
- ...ht,
1153
- ...Je,
1154
- ...wt,
1160
+ }, Pt = {
1161
+ // More PT options can be found in the ForgeTable file.
1162
+ treetable: {
1163
+ root: "position-relative",
1164
+ table: ({ props: e, attrs: t }) => ({
1165
+ class: [
1166
+ "table position-relative",
1167
+ {
1168
+ "table-striped": t.stripedRows || t.stripedRows == "",
1169
+ "table-hover": e.rowHover,
1170
+ "table-bordered": e.showGridlines,
1171
+ "table-sm": e.size === "small",
1172
+ "table-lg": e.size === "large",
1173
+ "opacity-50": e.loading
1174
+ }
1175
+ ]
1176
+ }),
1177
+ mask: () => ({
1178
+ class: "table-overlay table-spinner"
1179
+ })
1180
+ }
1181
+ }, Yi = {
1155
1182
  ...Ze,
1183
+ ...yt,
1156
1184
  ...Xe,
1185
+ ...Bt,
1157
1186
  ...Qe,
1158
- ...nt,
1159
- ...dt,
1160
- ...vt,
1187
+ ...st,
1188
+ ...tt,
1189
+ ...mt,
1190
+ ...rt,
1191
+ ...Ft,
1192
+ ...et,
1193
+ ...St,
1194
+ ...at,
1195
+ ...it,
1161
1196
  ...lt,
1162
1197
  ...pt,
1163
- ...yt,
1164
- ...ct,
1198
+ ...vt,
1199
+ ...xt,
1200
+ ...dt,
1201
+ ...ft,
1202
+ ...$t,
1165
1203
  ...gt,
1204
+ ...wt,
1205
+ ...kt,
1206
+ ...ct,
1166
1207
  ...bt,
1167
- ...ot,
1208
+ ...nt,
1168
1209
  ...ut,
1169
- ...et,
1170
- ...st,
1171
- ...kt,
1172
- ...tt,
1173
- ...Bt,
1174
- ...Ft,
1175
- ...$t,
1176
- ...St,
1210
+ ...Ct,
1211
+ ...ot,
1212
+ ...jt,
1213
+ ...Tt,
1214
+ ...zt,
1215
+ ...It,
1216
+ ...Pt,
1177
1217
  directives: {
1178
- ...ft
1218
+ ...ht
1179
1219
  }
1180
- }, se = /* @__PURE__ */ $({
1220
+ }, de = /* @__PURE__ */ S({
1181
1221
  __name: "ForgeAlert",
1182
1222
  props: {
1183
1223
  severity: { default: "primary" },
@@ -1197,32 +1237,32 @@ const We = {
1197
1237
  setup(e) {
1198
1238
  const t = e;
1199
1239
  return (a, i) => {
1200
- const l = he;
1201
- return r(), f(l, W(Y({ ...a.$attrs, ...t })), {
1202
- icon: y(() => [
1240
+ const l = Be;
1241
+ return d(), b(l, W(G({ ...a.$attrs, ...t })), {
1242
+ icon: g(() => [
1203
1243
  m("div", {
1204
1244
  class: F(t.icon ? "me-2 pe-1" : "")
1205
1245
  }, [
1206
- t.icon ? (r(), f(u(j), {
1246
+ t.icon ? (d(), b(u(I), {
1207
1247
  key: 0,
1208
1248
  "data-cy": "message-icon",
1209
1249
  icon: t.icon,
1210
1250
  class: F(`text-${t.severity}`),
1211
1251
  height: 35
1212
- }, null, 8, ["icon", "class"])) : S("", !0)
1252
+ }, null, 8, ["icon", "class"])) : C("", !0)
1213
1253
  ], 2)
1214
1254
  ]),
1215
- closeicon: y(() => [
1216
- h(u(j), { icon: "bi:x" })
1255
+ closeicon: g(() => [
1256
+ h(u(I), { icon: "bi:x" })
1217
1257
  ]),
1218
- default: y(() => [
1219
- w(a.$slots, "default")
1258
+ default: g(() => [
1259
+ k(a.$slots, "default")
1220
1260
  ]),
1221
1261
  _: 3
1222
1262
  }, 16);
1223
1263
  };
1224
1264
  }
1225
- }), Oi = /* @__PURE__ */ $({
1265
+ }), Ji = /* @__PURE__ */ S({
1226
1266
  __name: "ForgeActionButton",
1227
1267
  props: {
1228
1268
  action: {},
@@ -1231,7 +1271,7 @@ const We = {
1231
1271
  params: { default: Array }
1232
1272
  },
1233
1273
  setup(e) {
1234
- const t = I(!1), a = e, i = async () => {
1274
+ const t = P(!1), a = e, i = async () => {
1235
1275
  t.value = !0;
1236
1276
  try {
1237
1277
  await a.action.apply(this, a.params);
@@ -1241,30 +1281,30 @@ const We = {
1241
1281
  t.value = !1;
1242
1282
  };
1243
1283
  return (l, n) => {
1244
- const o = A;
1245
- return r(), v(O, null, [
1246
- h(o, z({ ...a, ...l.$attrs }, {
1284
+ const o = q;
1285
+ return d(), v(E, null, [
1286
+ h(o, j({ ...a, ...l.$attrs }, {
1247
1287
  loading: t.value,
1248
1288
  disabled: t.value || a.disabled,
1249
1289
  onClick: i
1250
1290
  }), null, 16, ["loading", "disabled"]),
1251
- h(u(Be))
1291
+ h(u(Te))
1252
1292
  ], 64);
1253
1293
  };
1254
1294
  }
1255
- }), Ni = /* @__PURE__ */ $({
1295
+ }), Ki = /* @__PURE__ */ S({
1256
1296
  __name: "ForgeAutoComplete",
1257
1297
  setup(e) {
1258
- return (t, a) => (r(), f(u(Se), z({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1259
- default: y(() => [
1260
- (r(!0), v(O, null, N(t.$slots, (i, l) => w(t.$slots, l, { slot: l })), 256))
1298
+ return (t, a) => (d(), b(u(je), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1299
+ default: g(() => [
1300
+ (d(!0), v(E, null, U(t.$slots, (i, l) => k(t.$slots, l, { slot: l })), 256))
1261
1301
  ]),
1262
1302
  _: 3
1263
1303
  }, 16));
1264
1304
  }
1265
- }), Ct = { class: "d-flex flex-column" }, zt = ["for"], ge = /* @__PURE__ */ $({
1305
+ }), _t = { class: "d-flex flex-column" }, Mt = ["for"], ye = /* @__PURE__ */ S({
1266
1306
  __name: "ForgeCheckbox",
1267
- props: /* @__PURE__ */ U({
1307
+ props: /* @__PURE__ */ R({
1268
1308
  label: { default: "" },
1269
1309
  value: {},
1270
1310
  modelValue: {},
@@ -1297,7 +1337,7 @@ const We = {
1297
1337
  }),
1298
1338
  emits: ["update:modelValue"],
1299
1339
  setup(e) {
1300
- const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: n } = te(
1340
+ const t = e, a = N(e, "modelValue"), { handleChange: i, errors: l, errorMessage: n } = oe(
1301
1341
  () => t.name ?? "",
1302
1342
  void 0,
1303
1343
  {
@@ -1308,41 +1348,41 @@ const We = {
1308
1348
  (t.disabled || t.readonly) && p.preventDefault(), t.name ? i(c) : a.value = c;
1309
1349
  }, s = T(() => l.value.length > 0);
1310
1350
  return (p, c) => {
1311
- const g = Ce;
1312
- return r(), v("div", Ct, [
1313
- m("div", z({
1351
+ const y = Ie;
1352
+ return d(), v("div", _t, [
1353
+ m("div", j({
1314
1354
  class: "d-flex",
1315
1355
  "data-cy": "checkbox-container",
1316
- onClick: c[2] || (c[2] = (d) => o(d, a.value))
1356
+ onClick: c[2] || (c[2] = (r) => o(r, a.value))
1317
1357
  }, { ...p.$attrs }), [
1318
- h(g, z({ ...t }, {
1358
+ h(y, j({ ...t }, {
1319
1359
  binary: "",
1320
1360
  modelValue: a.value,
1321
- "onUpdate:modelValue": c[0] || (c[0] = (d) => a.value = d),
1361
+ "onUpdate:modelValue": c[0] || (c[0] = (r) => a.value = r),
1322
1362
  "input-id": t.name,
1323
1363
  "input-class": { "is-invalid": s.value },
1324
1364
  class: t.disabled || t.readonly ? "" : "cursor-pointer"
1325
1365
  }), null, 16, ["modelValue", "input-id", "input-class", "class"]),
1326
1366
  m("label", {
1327
1367
  for: t.name,
1328
- onClick: c[1] || (c[1] = (d) => o(d, !a.value)),
1368
+ onClick: c[1] || (c[1] = (r) => o(r, !a.value)),
1329
1369
  class: F([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1330
1370
  }, [
1331
- w(p.$slots, "default", {}, () => [
1332
- _(k(t.label), 1)
1371
+ k(p.$slots, "default", {}, () => [
1372
+ M(B(t.label), 1)
1333
1373
  ])
1334
- ], 10, zt)
1374
+ ], 10, Mt)
1335
1375
  ], 16),
1336
- H(m("small", {
1376
+ J(m("small", {
1337
1377
  "data-cy": "error",
1338
1378
  class: "text-invalid"
1339
- }, k(u(n)), 513), [
1340
- [J, s.value]
1379
+ }, B(u(n)), 513), [
1380
+ [Z, s.value]
1341
1381
  ])
1342
1382
  ]);
1343
1383
  };
1344
1384
  }
1345
- }), re = /* @__PURE__ */ $({
1385
+ }), pe = /* @__PURE__ */ S({
1346
1386
  __name: "ForgeLoader",
1347
1387
  props: {
1348
1388
  severity: { default: "primary" },
@@ -1360,8 +1400,8 @@ const We = {
1360
1400
  })
1361
1401
  }));
1362
1402
  return (i, l) => {
1363
- const n = ze;
1364
- return r(), v("div", {
1403
+ const n = Pe;
1404
+ return d(), v("div", {
1365
1405
  class: F(i.inLine ? "" : "forge-loader")
1366
1406
  }, [
1367
1407
  h(n, {
@@ -1372,7 +1412,7 @@ const We = {
1372
1412
  ], 2);
1373
1413
  };
1374
1414
  }
1375
- }), Tt = ["href", "target"], Ui = /* @__PURE__ */ $({
1415
+ }), Vt = ["href", "target"], Zi = /* @__PURE__ */ S({
1376
1416
  __name: "ForgeLink",
1377
1417
  props: {
1378
1418
  url: {},
@@ -1406,25 +1446,25 @@ const We = {
1406
1446
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1407
1447
  "me-0": e.animateIconOnHover
1408
1448
  }));
1409
- return (i, l) => (r(), v("a", {
1449
+ return (i, l) => (d(), v("a", {
1410
1450
  id: "link",
1411
1451
  class: F(["cursor-pointer d-flex text-break", t.value]),
1412
1452
  href: i.url,
1413
1453
  target: i.target
1414
1454
  }, [
1415
- w(i.$slots, "default", {}, () => [
1416
- i.iconName ? (r(), f(u(j), {
1455
+ k(i.$slots, "default", {}, () => [
1456
+ i.iconName ? (d(), b(u(I), {
1417
1457
  key: 0,
1418
1458
  id: "link-icon",
1419
1459
  icon: i.iconName,
1420
1460
  class: F(["bi my-auto", a.value])
1421
- }, null, 8, ["icon", "class"])) : S("", !0),
1422
- _(" " + k(i.label), 1)
1461
+ }, null, 8, ["icon", "class"])) : C("", !0),
1462
+ M(" " + B(i.label), 1)
1423
1463
  ])
1424
- ], 10, Tt));
1464
+ ], 10, Vt));
1425
1465
  }
1426
1466
  });
1427
- function jt(e) {
1467
+ function Dt(e) {
1428
1468
  const t = {
1429
1469
  errorMessage: "",
1430
1470
  errorDetails: []
@@ -1435,18 +1475,18 @@ function jt(e) {
1435
1475
  }
1436
1476
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1437
1477
  }
1438
- function Ai(e, t) {
1478
+ function Xi(e, t) {
1439
1479
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1440
1480
  }
1441
- function qi(e, t, a) {
1481
+ function Qi(e, t, a) {
1442
1482
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1443
1483
  }
1444
- const _t = { key: 0 }, It = {
1484
+ const Ot = { key: 0 }, Nt = {
1445
1485
  class: "d-flex w-100",
1446
1486
  "data-cy": "footer"
1447
- }, Ei = /* @__PURE__ */ $({
1487
+ }, el = /* @__PURE__ */ S({
1448
1488
  __name: "ForgeModal",
1449
- props: /* @__PURE__ */ U({
1489
+ props: /* @__PURE__ */ R({
1450
1490
  cancelText: { default: "Cancel" },
1451
1491
  submitText: { default: "Submit" },
1452
1492
  showFooter: { type: Boolean, default: !0 },
@@ -1476,7 +1516,7 @@ const _t = { key: 0 }, It = {
1476
1516
  maximizable: { type: Boolean },
1477
1517
  breakpoints: {},
1478
1518
  draggable: { type: Boolean },
1479
- keepInViewPort: { type: Boolean },
1519
+ keepInViewport: { type: Boolean },
1480
1520
  minX: {},
1481
1521
  minY: {},
1482
1522
  appendTo: {},
@@ -1505,7 +1545,7 @@ const _t = { key: 0 }, It = {
1505
1545
  }),
1506
1546
  emits: ["update:visible", "update:error"],
1507
1547
  setup(e, { expose: t }) {
1508
- const a = D(e, "visible"), i = I(!1), l = e, n = I(!1), o = D(e, "error"), s = () => {
1548
+ const a = N(e, "visible"), i = P(!1), l = e, n = P(!1), o = N(e, "error"), s = () => {
1509
1549
  o.value = {
1510
1550
  hasError: !1,
1511
1551
  header: "",
@@ -1519,22 +1559,22 @@ const _t = { key: 0 }, It = {
1519
1559
  i.value = !1;
1520
1560
  }, c = () => {
1521
1561
  i.value = !0;
1522
- }, g = () => {
1562
+ }, y = () => {
1523
1563
  l.resetErrorOnClose && s(), a.value = !1;
1524
- }, d = async () => {
1564
+ }, r = async () => {
1525
1565
  if (l.onConfirm) {
1526
1566
  n.value = !0, o.value.hasError = !1;
1527
1567
  try {
1528
- const C = await l.onConfirm();
1529
- (C || C == null) && g();
1530
- } catch (C) {
1568
+ const z = await l.onConfirm();
1569
+ (z || z == null) && y();
1570
+ } catch (z) {
1531
1571
  o.value.hasError = !0;
1532
- const V = jt(C);
1533
- o.value.header = V.errorMessage, o.value.message = V.errorDetails;
1572
+ const D = Dt(z);
1573
+ o.value.header = D.errorMessage, o.value.message = D.errorDetails;
1534
1574
  }
1535
1575
  n.value = !1;
1536
1576
  }
1537
- }, B = T(() => ({
1577
+ }, $ = T(() => ({
1538
1578
  root: [
1539
1579
  "modal modal-dialog modal-content h-auto m-0",
1540
1580
  {
@@ -1551,24 +1591,24 @@ const _t = { key: 0 }, It = {
1551
1591
  }
1552
1592
  ]
1553
1593
  }));
1554
- return (C, V) => {
1555
- const M = A, q = Te;
1556
- return r(), f(q, z(l, {
1594
+ return (z, D) => {
1595
+ const O = q, A = _e;
1596
+ return d(), b(A, j(l, {
1557
1597
  onMaximize: c,
1558
1598
  onUnmaximize: p,
1559
- pt: B.value
1560
- }), ee({
1561
- closeicon: y(() => [
1562
- h(u(j), {
1599
+ pt: $.value
1600
+ }), te({
1601
+ closeicon: g(() => [
1602
+ h(u(I), {
1563
1603
  "data-cy": "close-icon",
1564
1604
  icon: "bi:x-lg",
1565
1605
  width: "18",
1566
1606
  height: "18",
1567
- onClick: g
1607
+ onClick: y
1568
1608
  })
1569
1609
  ]),
1570
- maximizeicon: y(() => [
1571
- h(u(j), {
1610
+ maximizeicon: g(() => [
1611
+ h(u(I), {
1572
1612
  "data-cy": "maximisable-icon",
1573
1613
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1574
1614
  width: "16",
@@ -1577,48 +1617,48 @@ const _t = { key: 0 }, It = {
1577
1617
  ]),
1578
1618
  _: 2
1579
1619
  }, [
1580
- N(C.$slots, (b, x) => ({
1581
- name: x,
1582
- fn: y((P) => [
1583
- x !== "footer" ? (r(), v(O, { key: 0 }, [
1584
- o.value.hasError ? (r(), f(se, {
1620
+ U(z.$slots, (x, w) => ({
1621
+ name: w,
1622
+ fn: g((_) => [
1623
+ w !== "footer" ? (d(), v(E, { key: 0 }, [
1624
+ o.value.hasError ? (d(), b(de, {
1585
1625
  key: 0,
1586
1626
  severity: "danger",
1587
1627
  "data-cy": "error"
1588
1628
  }, {
1589
- default: y(() => [
1629
+ default: g(() => [
1590
1630
  m("p", {
1591
1631
  class: F(o.value.message.length > 0 ? "my-auto" : "mb-0")
1592
- }, k(o.value.header), 3),
1593
- o.value.message.length > 0 ? (r(), v("ul", _t, [
1594
- (r(!0), v(O, null, N(o.value.message, (L) => (r(), v("li", { key: L }, k(L), 1))), 128))
1595
- ])) : S("", !0)
1632
+ }, B(o.value.header), 3),
1633
+ o.value.message.length > 0 ? (d(), v("ul", Ot, [
1634
+ (d(!0), v(E, null, U(o.value.message, (f) => (d(), v("li", { key: f }, B(f), 1))), 128))
1635
+ ])) : C("", !0)
1596
1636
  ]),
1597
1637
  _: 1
1598
- })) : S("", !0)
1599
- ], 64)) : S("", !0),
1600
- w(C.$slots, x, W(Y(P || {}))),
1601
- n.value ? w(C.$slots, "loader", { key: 1 }, () => [
1602
- h(re, { "data-cy": "loader" })
1603
- ]) : S("", !0)
1638
+ })) : C("", !0)
1639
+ ], 64)) : C("", !0),
1640
+ k(z.$slots, w, W(G(_ || {}))),
1641
+ n.value ? k(z.$slots, "loader", { key: 1 }, () => [
1642
+ h(pe, { "data-cy": "loader" })
1643
+ ]) : C("", !0)
1604
1644
  ])
1605
1645
  })),
1606
- C.showFooter ? {
1646
+ z.showFooter ? {
1607
1647
  name: "footer",
1608
- fn: y(() => [
1609
- m("div", It, [
1610
- h(M, {
1611
- label: C.cancelText,
1648
+ fn: g(() => [
1649
+ m("div", Nt, [
1650
+ h(O, {
1651
+ label: z.cancelText,
1612
1652
  class: F(l.cancelClass),
1613
1653
  outlined: "",
1614
- onClick: g,
1654
+ onClick: y,
1615
1655
  id: "cancel-button",
1616
1656
  type: l.cancelButtonType
1617
1657
  }, null, 8, ["label", "class", "type"]),
1618
- h(M, {
1619
- label: C.submitText,
1658
+ h(O, {
1659
+ label: z.submitText,
1620
1660
  class: F([l.submitClass, "ms-auto"]),
1621
- onClick: d,
1661
+ onClick: r,
1622
1662
  id: "submit-button",
1623
1663
  type: l.submitButtonType
1624
1664
  }, null, 8, ["label", "class", "type"])
@@ -1629,9 +1669,9 @@ const _t = { key: 0 }, It = {
1629
1669
  ]), 1040, ["pt"]);
1630
1670
  };
1631
1671
  }
1632
- }), Pt = ["id"], Vt = { key: 0 }, Mt = { key: 0 }, Dt = { class: "d-flex justify-content-between align-items-center position-relative" }, Ot = { key: 1 }, Nt = { "data-cy": "readonly-value" }, Ut = /* @__PURE__ */ $({
1672
+ }), At = ["id"], Et = { key: 0 }, Ut = { key: 0 }, qt = { class: "d-flex justify-content-between align-items-center position-relative" }, Lt = { key: 1 }, Rt = { "data-cy": "readonly-value" }, Ht = /* @__PURE__ */ S({
1633
1673
  __name: "ForgeInlineEditor",
1634
- props: /* @__PURE__ */ U({
1674
+ props: /* @__PURE__ */ R({
1635
1675
  name: { default: "" },
1636
1676
  completeAction: {},
1637
1677
  errorAction: {},
@@ -1644,13 +1684,13 @@ const _t = { key: 0 }, It = {
1644
1684
  }),
1645
1685
  emits: ["update:modelValue"],
1646
1686
  setup(e) {
1647
- const t = e, a = D(e, "modelValue"), i = I(!1), l = I(), n = () => {
1648
- var C;
1649
- i.value = !i.value, (C = l.value) == null || C.focus();
1687
+ const t = e, a = N(e, "modelValue"), i = P(!1), l = P(), n = () => {
1688
+ var z;
1689
+ i.value = !i.value, (z = l.value) == null || z.focus();
1650
1690
  }, o = async () => {
1651
- if (B.value)
1691
+ if ($.value)
1652
1692
  return !1;
1653
- if (a.value = d.value, t.completeAction)
1693
+ if (a.value = r.value, t.completeAction)
1654
1694
  try {
1655
1695
  await t.completeAction.apply(this, t.params), i.value = !i.value;
1656
1696
  } catch {
@@ -1661,94 +1701,94 @@ const _t = { key: 0 }, It = {
1661
1701
  }, s = () => {
1662
1702
  i.value = !i.value;
1663
1703
  }, p = () => {
1664
- d.value = null;
1665
- }, { errorMessage: c, errors: g, value: d } = te(() => t.name, void 0, {
1704
+ r.value = null;
1705
+ }, { errorMessage: c, errors: y, value: r } = oe(() => t.name, void 0, {
1666
1706
  initialValue: a.value
1667
1707
  });
1668
- le(() => {
1669
- d.value = a.value;
1708
+ ne(() => {
1709
+ r.value = a.value;
1670
1710
  });
1671
- const B = T(() => g.value.length > 0);
1672
- return (C, V) => {
1673
- const M = ne, q = A;
1674
- return r(), v("div", {
1711
+ const $ = T(() => y.value.length > 0);
1712
+ return (z, D) => {
1713
+ const O = se, A = q;
1714
+ return d(), v("div", {
1675
1715
  id: t.name
1676
1716
  }, [
1677
- C.readonly ? (r(), v("div", Ot, [
1678
- w(C.$slots, "default", {}, () => [
1679
- m("span", Nt, k(u(d)), 1)
1717
+ z.readonly ? (d(), v("div", Lt, [
1718
+ k(z.$slots, "default", {}, () => [
1719
+ m("span", Rt, B(u(r)), 1)
1680
1720
  ])
1681
- ])) : (r(), v("div", Vt, [
1682
- i.value ? (r(), v("div", Mt, [
1683
- H((r(), v("div", Dt, [
1684
- w(C.$slots, "editor", {
1685
- class: F({ "is-invalid": B.value }),
1721
+ ])) : (d(), v("div", Et, [
1722
+ i.value ? (d(), v("div", Ut, [
1723
+ J((d(), v("div", qt, [
1724
+ k(z.$slots, "editor", {
1725
+ class: F({ "is-invalid": $.value }),
1686
1726
  editFinished: o,
1687
1727
  cancel: s,
1688
- val: u(d)
1728
+ val: u(r)
1689
1729
  }, () => [
1690
- h(M, {
1691
- modelValue: u(d),
1692
- "onUpdate:modelValue": V[0] || (V[0] = (b) => we(d) ? d.value = b : null),
1730
+ h(O, {
1731
+ modelValue: u(r),
1732
+ "onUpdate:modelValue": D[0] || (D[0] = (x) => Fe(r) ? r.value = x : null),
1693
1733
  modelModifiers: { trim: !0 },
1694
1734
  "data-cy": "input",
1695
1735
  ref_key: "input",
1696
1736
  ref: l,
1697
- class: F({ "is-invalid": B.value }),
1737
+ class: F({ "is-invalid": $.value }),
1698
1738
  onKeydown: [
1699
- X(o, ["enter"]),
1700
- X(s, ["esc"])
1739
+ ie(o, ["enter"]),
1740
+ ie(s, ["esc"])
1701
1741
  ]
1702
1742
  }, null, 8, ["modelValue", "class"])
1703
1743
  ]),
1704
- h(u(j), {
1744
+ h(u(I), {
1705
1745
  icon: "bi:x-circle",
1706
1746
  class: "mx-2 cursor-pointer",
1707
1747
  onClick: p,
1708
- onKeydown: X(p, ["enter"]),
1748
+ onKeydown: ie(p, ["enter"]),
1709
1749
  "data-cy": "clear-icon"
1710
1750
  })
1711
1751
  ])), [
1712
- [u(je), o]
1752
+ [u(Me), o]
1713
1753
  ])
1714
- ])) : (r(), v("div", {
1754
+ ])) : (d(), v("div", {
1715
1755
  key: 1,
1716
1756
  class: "d-flex text-muted",
1717
1757
  onClick: n,
1718
1758
  onFocus: n
1719
1759
  }, [
1720
- w(C.$slots, "default", {}, () => [
1760
+ k(z.$slots, "default", {}, () => [
1721
1761
  m("div", {
1722
- class: F(["pe-2 cursor-pointer", { "text-invalid": B.value }]),
1762
+ class: F(["pe-2 cursor-pointer", { "text-invalid": $.value }]),
1723
1763
  "data-cy": "value"
1724
- }, k(u(d) ? u(d) : "Click to edit"), 3)
1764
+ }, B(u(r) ? u(r) : "Click to edit"), 3)
1725
1765
  ]),
1726
- h(q, {
1766
+ h(A, {
1727
1767
  link: "",
1728
1768
  class: "p-0 m-0"
1729
1769
  }, {
1730
- default: y(() => [
1731
- h(u(j), {
1770
+ default: g(() => [
1771
+ h(u(I), {
1732
1772
  icon: "bi:pencil",
1733
- class: F(B.value ? "text-invalid" : "text-muted"),
1773
+ class: F($.value ? "text-invalid" : "text-muted"),
1734
1774
  "data-cy": "edit-icon",
1735
- onKeydown: X(n, ["enter"])
1775
+ onKeydown: ie(n, ["enter"])
1736
1776
  }, null, 8, ["class"])
1737
1777
  ]),
1738
1778
  _: 1
1739
1779
  })
1740
1780
  ], 32))
1741
1781
  ])),
1742
- H(m("small", {
1782
+ J(m("small", {
1743
1783
  "data-cy": "error",
1744
1784
  class: "text-invalid"
1745
- }, k(u(c)), 513), [
1746
- [J, B.value]
1785
+ }, B(u(c)), 513), [
1786
+ [Z, $.value]
1747
1787
  ])
1748
- ], 8, Pt);
1788
+ ], 8, At);
1749
1789
  };
1750
1790
  }
1751
- }), At = ["href"], Li = /* @__PURE__ */ $({
1791
+ }), Wt = ["href"], tl = /* @__PURE__ */ S({
1752
1792
  __name: "ForgeNavbar",
1753
1793
  props: {
1754
1794
  severity: { default: "light" },
@@ -1776,6 +1816,7 @@ const _t = { key: 0 }, It = {
1776
1816
  "bg-brand": t.severity === "brand",
1777
1817
  "bg-secondary": t.severity === "secondary",
1778
1818
  "bg-success": t.severity === "success",
1819
+ "bg-success-alternate": t.severity === "success-alternate",
1779
1820
  "bg-warning": t.severity === "warning",
1780
1821
  "bg-danger": t.severity === "danger",
1781
1822
  "bg-info": t.severity === "info"
@@ -1792,24 +1833,24 @@ const _t = { key: 0 }, It = {
1792
1833
  ]
1793
1834
  })
1794
1835
  }));
1795
- return (i, l) => (r(), f(u(_e), z({ ...t, ...i.$attrs }, {
1836
+ return (i, l) => (d(), b(u(Ve), j({ ...t, ...i.$attrs }, {
1796
1837
  pt: a.value,
1797
1838
  "data-cy": "navbar"
1798
- }), ee({
1799
- start: y(() => [
1839
+ }), te({
1840
+ start: g(() => [
1800
1841
  m("a", {
1801
1842
  href: i.logoUrl,
1802
1843
  class: "navbar-brand ms-3",
1803
1844
  "data-cy": "logo"
1804
1845
  }, [
1805
- w(i.$slots, "logo", {}, () => [
1806
- l[0] || (l[0] = _(" Logo "))
1846
+ k(i.$slots, "logo", {}, () => [
1847
+ l[0] || (l[0] = M(" Logo "))
1807
1848
  ])
1808
- ], 8, At)
1849
+ ], 8, Wt)
1809
1850
  ]),
1810
- buttonicon: y(() => [
1811
- w(i.$slots, "buttonIcon", {}, () => [
1812
- h(u(j), {
1851
+ buttonicon: g(() => [
1852
+ k(i.$slots, "buttonIcon", {}, () => [
1853
+ h(u(I), {
1813
1854
  icon: "bi:list",
1814
1855
  class: F(t.severity === "light" ? "text-black" : "text-white"),
1815
1856
  height: "24",
@@ -1819,24 +1860,24 @@ const _t = { key: 0 }, It = {
1819
1860
  ]),
1820
1861
  _: 2
1821
1862
  }, [
1822
- N(i.$slots, (n, o) => ({
1863
+ U(i.$slots, (n, o) => ({
1823
1864
  name: o,
1824
- fn: y((s) => [
1825
- w(i.$slots, o, W(Y(s)))
1865
+ fn: g((s) => [
1866
+ k(i.$slots, o, W(G(s)))
1826
1867
  ])
1827
1868
  }))
1828
1869
  ]), 1040, ["pt"]));
1829
1870
  }
1830
- }), qt = { class: "border alternating-item-list" }, Et = {
1871
+ }), Gt = { class: "border alternating-item-list" }, Yt = {
1831
1872
  key: 0,
1832
1873
  class: "p-2 border-top border-bottom",
1833
1874
  "data-cy": "title"
1834
- }, Lt = { class: "d-inline-block" }, Rt = {
1875
+ }, Jt = { class: "d-inline-block" }, Kt = {
1835
1876
  key: 1,
1836
1877
  class: "p-2 item d-flex justify-content-between align-items-center"
1837
- }, Ht = /* @__PURE__ */ $({
1878
+ }, Zt = /* @__PURE__ */ S({
1838
1879
  __name: "ForgeMultiSelectPreview",
1839
- props: /* @__PURE__ */ U({
1880
+ props: /* @__PURE__ */ R({
1840
1881
  title: { default: "Selected Items" },
1841
1882
  orientation: { default: "row" },
1842
1883
  height: { default: "200px" },
@@ -1850,12 +1891,12 @@ const _t = { key: 0 }, It = {
1850
1891
  }),
1851
1892
  emits: ["update:modelValue"],
1852
1893
  setup(e) {
1853
- const t = e, a = D(e, "modelValue"), i = (l) => {
1894
+ const t = e, a = N(e, "modelValue"), i = (l) => {
1854
1895
  a.value = a.value.filter((n) => n.id !== l);
1855
1896
  };
1856
1897
  return (l, n) => {
1857
- const o = oe, s = A;
1858
- return r(), v("div", {
1898
+ const o = re, s = q;
1899
+ return d(), v("div", {
1859
1900
  class: F(l.orientation === "column" ? "row" : ""),
1860
1901
  "data-cy": "multiselect-preview"
1861
1902
  }, [
@@ -1863,7 +1904,7 @@ const _t = { key: 0 }, It = {
1863
1904
  class: F(l.orientation === "row" ? "col-12 mb-1" : "col"),
1864
1905
  "data-cy": "multiselect-container"
1865
1906
  }, [
1866
- h(o, z({
1907
+ h(o, j({
1867
1908
  modelValue: a.value,
1868
1909
  "onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
1869
1910
  }, { ...l.$attrs }, {
@@ -1872,76 +1913,76 @@ const _t = { key: 0 }, It = {
1872
1913
  placeholder: l.multiselectPlaceholder,
1873
1914
  "data-cy": "multiselect"
1874
1915
  }), {
1875
- default: y(() => [
1876
- (r(!0), v(O, null, N(l.$slots, (p, c) => w(l.$slots, c, { slot: c })), 256))
1916
+ default: g(() => [
1917
+ (d(!0), v(E, null, U(l.$slots, (p, c) => k(l.$slots, c, { slot: c })), 256))
1877
1918
  ]),
1878
1919
  _: 3
1879
1920
  }, 16, ["modelValue", "options", "placeholder"]),
1880
- w(l.$slots, "after-multi-select")
1921
+ k(l.$slots, "after-multi-select")
1881
1922
  ], 2),
1882
1923
  m("div", {
1883
1924
  class: F(l.orientation === "row" ? "col-12" : "col"),
1884
1925
  "data-cy": "options-preview"
1885
1926
  }, [
1886
1927
  m("div", {
1887
- style: ke({ height: l.height }),
1928
+ style: Se({ height: l.height }),
1888
1929
  class: "overflow-auto"
1889
1930
  }, [
1890
- m("div", qt, [
1891
- l.title ? (r(), v("div", Et, k(l.title), 1)) : S("", !0),
1892
- (r(!0), v(O, null, N(a.value, (p) => (r(), v("div", {
1931
+ m("div", Gt, [
1932
+ l.title ? (d(), v("div", Yt, B(l.title), 1)) : C("", !0),
1933
+ (d(!0), v(E, null, U(a.value, (p) => (d(), v("div", {
1893
1934
  key: p.id,
1894
1935
  class: "p-2 item d-flex justify-content-between align-items-center"
1895
1936
  }, [
1896
- w(l.$slots, "list-item", { item: p }, () => [
1897
- m("span", Lt, k(p.shortLabel ? p.shortLabel : p.label), 1)
1937
+ k(l.$slots, "list-item", { item: p }, () => [
1938
+ m("span", Jt, B(p.shortLabel ? p.shortLabel : p.label), 1)
1898
1939
  ]),
1899
- l.canRemoveItemFromPreview ? (r(), f(s, {
1940
+ l.canRemoveItemFromPreview ? (d(), b(s, {
1900
1941
  key: 0,
1901
1942
  link: "",
1902
1943
  class: "m-0 p-0 d-flex align-items-center",
1903
1944
  onClick: (c) => i(p.id)
1904
1945
  }, {
1905
- default: y(() => [
1906
- h(u(j), {
1946
+ default: g(() => [
1947
+ h(u(I), {
1907
1948
  icon: "bi:x",
1908
1949
  class: "close-icon",
1909
1950
  "data-cy": `close-icon-${p.id}`
1910
1951
  }, null, 8, ["data-cy"])
1911
1952
  ]),
1912
1953
  _: 2
1913
- }, 1032, ["onClick"])) : S("", !0)
1954
+ }, 1032, ["onClick"])) : C("", !0)
1914
1955
  ]))), 128)),
1915
- a.value == null || a.value.length == 0 ? (r(), v("div", Rt, k(t.optionsPreviewEmptyText), 1)) : S("", !0)
1956
+ a.value == null || a.value.length == 0 ? (d(), v("div", Kt, B(t.optionsPreviewEmptyText), 1)) : C("", !0)
1916
1957
  ])
1917
1958
  ], 4)
1918
1959
  ], 2)
1919
1960
  ], 2);
1920
1961
  };
1921
1962
  }
1922
- }), Wt = { class: "d-flex justify-content-between pb-2" }, Yt = {
1963
+ }), Xt = { class: "d-flex justify-content-between pb-2" }, Qt = {
1923
1964
  "data-cy": "title",
1924
1965
  class: "my-auto"
1925
- }, Gt = {
1966
+ }, ea = {
1926
1967
  "data-cy": "slot",
1927
1968
  class: "d-flex align-items-center"
1928
- }, Ri = /* @__PURE__ */ $({
1969
+ }, al = /* @__PURE__ */ S({
1929
1970
  __name: "ForgePageHeader",
1930
1971
  props: {
1931
1972
  title: {}
1932
1973
  },
1933
1974
  setup(e) {
1934
1975
  const t = e;
1935
- return (a, i) => (r(), v("div", Wt, [
1936
- m("h3", Yt, k(t.title), 1),
1937
- m("div", Gt, [
1938
- w(a.$slots, "default")
1976
+ return (a, i) => (d(), v("div", Xt, [
1977
+ m("h3", Qt, B(t.title), 1),
1978
+ m("div", ea, [
1979
+ k(a.$slots, "default")
1939
1980
  ])
1940
1981
  ]));
1941
1982
  }
1942
- }), Jt = { class: "d-flex" }, Kt = { "data-cy": "before-slot" }, Zt = { class: "position-relative w-100" }, Xt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ $({
1983
+ }), ta = { class: "d-flex" }, aa = { "data-cy": "before-slot" }, ia = { class: "position-relative w-100" }, la = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ S({
1943
1984
  __name: "ForgeDatepicker",
1944
- props: /* @__PURE__ */ U({
1985
+ props: /* @__PURE__ */ R({
1945
1986
  severity: { default: "primary" },
1946
1987
  modelValue: {},
1947
1988
  defaultValue: {},
@@ -1991,7 +2032,6 @@ const _t = { key: 0 }, It = {
1991
2032
  readonly: { type: Boolean },
1992
2033
  placeholder: {},
1993
2034
  appendTo: { default: "body" },
1994
- id: {},
1995
2035
  inputId: {},
1996
2036
  inputStyle: {},
1997
2037
  inputClass: {},
@@ -2015,37 +2055,38 @@ const _t = { key: 0 }, It = {
2015
2055
  }),
2016
2056
  emits: ["update:modelValue"],
2017
2057
  setup(e) {
2018
- const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: n, handleBlur: o, setValue: s } = te(() => t.name, void 0, {
2058
+ const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: l, handleChange: n, handleBlur: o, setValue: s } = oe(() => t.name, void 0, {
2019
2059
  initialValue: a.value
2020
2060
  }), p = () => {
2021
2061
  s(null), a.value = null;
2022
- }, c = T(() => i.value.length > 0), g = T(() => ({
2023
- dayCell: ({ context: d }) => ({
2062
+ }, c = T(() => i.value.length > 0), y = T(() => ({
2063
+ dayCell: ({ context: r }) => ({
2024
2064
  class: [
2025
2065
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
2026
2066
  {
2027
- "cursor-pointer": !d.disabled,
2028
- "pe-none": d.disabled,
2029
- "text-white": d.selected
2067
+ "cursor-pointer": !r.disabled,
2068
+ "pe-none": r.disabled,
2069
+ "text-white": r.selected
2030
2070
  },
2031
2071
  // Severities
2032
2072
  {
2033
- selected: d.selected && !d.disabled,
2034
- "text-primary": !d.selected && d.today && (t.severity === void 0 || t.severity === "primary"),
2035
- "text-brand": !d.selected && d.today && t.severity === "brand",
2036
- "text-secondary": !d.selected && d.today && t.severity === "secondary",
2037
- "text-success": !d.selected && d.today && t.severity === "success",
2038
- "text-warning": !d.selected && d.today && t.severity === "warning",
2039
- "text-danger": !d.selected && d.today && t.severity === "danger",
2040
- "text-info": !d.selected && d.today && t.severity === "info"
2073
+ selected: r.selected && !r.disabled,
2074
+ "text-primary": !r.selected && r.today && (t.severity === void 0 || t.severity === "primary"),
2075
+ "text-brand": !r.selected && r.today && t.severity === "brand",
2076
+ "text-secondary": !r.selected && r.today && t.severity === "secondary",
2077
+ "text-success": !r.selected && r.today && t.severity === "success",
2078
+ "text-success-alternate": !r.selected && r.today && t.severity === "success-alternate",
2079
+ "text-warning": !r.selected && r.today && t.severity === "warning",
2080
+ "text-danger": !r.selected && r.today && t.severity === "danger",
2081
+ "text-info": !r.selected && r.today && t.severity === "info"
2041
2082
  }
2042
2083
  ]
2043
2084
  }),
2044
- dayLabel: ({ context: d }) => ({
2085
+ dayLabel: ({ context: r }) => ({
2045
2086
  class: [
2046
2087
  // Disabled States
2047
2088
  {
2048
- "text-muted": d.disabled
2089
+ "text-muted": r.disabled
2049
2090
  }
2050
2091
  ]
2051
2092
  }),
@@ -2058,6 +2099,7 @@ const _t = { key: 0 }, It = {
2058
2099
  "btn-link text-brand": t.severity === "brand",
2059
2100
  "btn-link text-secondary": t.severity === "secondary",
2060
2101
  "btn-link text-success": t.severity === "success",
2102
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2061
2103
  "btn-link text-warning": t.severity === "warning",
2062
2104
  "btn-link text-danger": t.severity === "danger",
2063
2105
  "btn-link text-info": t.severity === "info"
@@ -2074,6 +2116,7 @@ const _t = { key: 0 }, It = {
2074
2116
  "btn-link text-brand": t.severity === "brand",
2075
2117
  "btn-link text-secondary": t.severity === "secondary",
2076
2118
  "btn-link text-success": t.severity === "success",
2119
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2077
2120
  "btn-link text-warning": t.severity === "warning",
2078
2121
  "btn-link text-danger": t.severity === "danger",
2079
2122
  "btn-link text-info": t.severity === "info"
@@ -2081,83 +2124,85 @@ const _t = { key: 0 }, It = {
2081
2124
  ]
2082
2125
  })
2083
2126
  },
2084
- year: ({ context: d }) => ({
2127
+ year: ({ context: r }) => ({
2085
2128
  class: [
2086
2129
  "col-3 text-center cursor-pointer py-2",
2087
2130
  {
2088
- "text-primary": (t.severity === void 0 || t.severity === "primary") && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2089
- "text-brand": t.severity === "brand" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2090
- "text-secondary": t.severity === "secondary" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2091
- "text-success": t.severity === "success" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2092
- "text-warning": t.severity === "warning" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2093
- "text-danger": t.severity === "danger" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2094
- "text-info": t.severity === "info" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear()
2131
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2132
+ "text-brand": t.severity === "brand" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2133
+ "text-secondary": t.severity === "secondary" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2134
+ "text-success": t.severity === "success" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2135
+ "text-success-alternate": t.severity === "success-alternate" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2136
+ "text-warning": t.severity === "warning" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2137
+ "text-danger": t.severity === "danger" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2138
+ "text-info": t.severity === "info" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear()
2095
2139
  }
2096
2140
  ]
2097
2141
  }),
2098
- month: ({ context: d }) => ({
2142
+ month: ({ context: r }) => ({
2099
2143
  class: [
2100
2144
  "col-3 text-center cursor-pointer py-2",
2101
2145
  {
2102
- "text-primary": (t.severity === void 0 || t.severity === "primary") && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2103
- "text-brand": t.severity === "brand" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2104
- "text-secondary": t.severity === "secondary" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2105
- "text-success": t.severity === "success" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2106
- "text-warning": t.severity === "warning" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2107
- "text-danger": t.severity === "danger" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2108
- "text-info": t.severity === "info" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
2146
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2147
+ "text-brand": t.severity === "brand" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2148
+ "text-secondary": t.severity === "secondary" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2149
+ "text-success": t.severity === "success" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2150
+ "text-success-alternate": t.severity === "success-alternate" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2151
+ "text-warning": t.severity === "warning" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2152
+ "text-danger": t.severity === "danger" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2153
+ "text-info": t.severity === "info" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
2109
2154
  }
2110
2155
  ]
2111
2156
  })
2112
2157
  }));
2113
- return (d, B) => {
2114
- const C = Ie;
2115
- return r(), v(O, null, [
2116
- m("div", Jt, [
2117
- m("span", Kt, [
2118
- w(d.$slots, "before")
2158
+ return (r, $) => {
2159
+ const z = De;
2160
+ return d(), v(E, null, [
2161
+ m("div", ta, [
2162
+ m("span", aa, [
2163
+ k(r.$slots, "before")
2119
2164
  ]),
2120
- m("div", Zt, [
2121
- h(C, z({ ...t, ...d.$attrs }, {
2122
- pt: g.value,
2165
+ m("div", ia, [
2166
+ h(z, j({ ...t, ...r.$attrs }, {
2167
+ pt: y.value,
2123
2168
  modelValue: a.value,
2124
2169
  "onUpdate:modelValue": [
2125
- B[0] || (B[0] = (V) => a.value = V),
2170
+ $[0] || ($[0] = (D) => a.value = D),
2126
2171
  u(n)
2127
2172
  ],
2128
- onBlur: B[1] || (B[1] = () => u(o)),
2173
+ onBlur: $[1] || ($[1] = () => u(o)),
2129
2174
  "input-class": { "datepicker-invalid": c.value }
2130
2175
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2131
- H(h(u(j), {
2176
+ J(h(u(I), {
2132
2177
  "data-cy": "icon",
2133
2178
  icon: "bi:calendar4",
2134
2179
  class: F(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2135
2180
  }, null, 8, ["class"]), [
2136
- [J, t.showIcon]
2181
+ [Z, t.showIcon]
2137
2182
  ]),
2138
- H(h(u(j), {
2183
+ J(h(u(I), {
2139
2184
  "data-cy": "icon",
2140
2185
  icon: "bi:x",
2141
2186
  onClick: p,
2142
2187
  class: F(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
2143
2188
  }, null, 8, ["class"]), [
2144
- [J, t.modelValue]
2189
+ [Z, t.modelValue]
2145
2190
  ])
2146
2191
  ]),
2147
- m("span", Xt, [
2148
- w(d.$slots, "after")
2192
+ m("span", la, [
2193
+ k(r.$slots, "after")
2149
2194
  ])
2150
2195
  ]),
2151
- H(m("small", {
2196
+ J(m("small", {
2152
2197
  "data-cy": "error",
2153
2198
  class: "text-invalid"
2154
- }, k(u(l)), 513), [
2155
- [J, c.value]
2199
+ }, B(u(l)), 513), [
2200
+ [Z, c.value]
2156
2201
  ])
2157
2202
  ], 64);
2158
2203
  };
2159
2204
  }
2160
- }), Hi = /* @__PURE__ */ $({
2205
+ }), il = /* @__PURE__ */ S({
2161
2206
  __name: "ForgeRemainingCharacters",
2162
2207
  props: {
2163
2208
  maxCount: { default: 300 },
@@ -2165,11 +2210,11 @@ const _t = { key: 0 }, It = {
2165
2210
  },
2166
2211
  setup(e) {
2167
2212
  const t = e, a = T(() => t.maxCount - t.currentCount);
2168
- return (i, l) => (r(), v("div", {
2213
+ return (i, l) => (d(), v("div", {
2169
2214
  class: F(a.value < 0 ? "text-danger" : "")
2170
- }, "Remaining characters: " + k(a.value), 3));
2215
+ }, "Remaining characters: " + B(a.value), 3));
2171
2216
  }
2172
- }), Qt = { class: "d-flex justify-content-between" }, Wi = /* @__PURE__ */ $({
2217
+ }), na = { class: "d-flex justify-content-between" }, ll = /* @__PURE__ */ S({
2173
2218
  __name: "ForgeForm",
2174
2219
  props: {
2175
2220
  onSubmit: {},
@@ -2181,7 +2226,7 @@ const _t = { key: 0 }, It = {
2181
2226
  hideCancel: { type: Boolean, default: !1 }
2182
2227
  },
2183
2228
  setup(e) {
2184
- const t = e, a = I(!1), i = I({
2229
+ const t = e, a = P(!1), i = P({
2185
2230
  hasError: !1,
2186
2231
  message: ""
2187
2232
  });
@@ -2195,39 +2240,39 @@ const _t = { key: 0 }, It = {
2195
2240
  a.value = !1;
2196
2241
  }
2197
2242
  return (n, o) => {
2198
- const s = A;
2199
- return r(), v("form", z(n.$attrs, {
2243
+ const s = q;
2244
+ return d(), v("form", j(n.$attrs, {
2200
2245
  novalidate: "",
2201
2246
  class: "position-relative shadow-sm border p-4 bg-white",
2202
- onSubmit: K(l, ["prevent"])
2247
+ onSubmit: X(l, ["prevent"])
2203
2248
  }), [
2204
- n.hideTitle ? S("", !0) : (r(), v(O, { key: 0 }, [
2205
- w(n.$slots, "title", {}, () => [
2249
+ n.hideTitle ? C("", !0) : (d(), v(E, { key: 0 }, [
2250
+ k(n.$slots, "title", {}, () => [
2206
2251
  m("h3", {
2207
2252
  class: F(n.titleClass),
2208
2253
  "data-cy": "form-title"
2209
- }, k(n.title), 3)
2254
+ }, B(n.title), 3)
2210
2255
  ]),
2211
2256
  o[1] || (o[1] = m("hr", null, null, -1))
2212
2257
  ], 64)),
2213
- i.value.hasError ? (r(), f(se, {
2258
+ i.value.hasError ? (d(), b(de, {
2214
2259
  key: 1,
2215
2260
  severity: "danger",
2216
2261
  "data-cy": "error"
2217
2262
  }, {
2218
- default: y(() => [
2219
- w(n.$slots, "error", {
2263
+ default: g(() => [
2264
+ k(n.$slots, "error", {
2220
2265
  error: i.value.message
2221
2266
  }, () => [
2222
- _(k(i.value.message), 1)
2267
+ M(B(i.value.message), 1)
2223
2268
  ])
2224
2269
  ]),
2225
2270
  _: 3
2226
- })) : S("", !0),
2227
- w(n.$slots, "default"),
2228
- m("div", Qt, [
2229
- w(n.$slots, "cancel", {}, () => [
2230
- n.hideCancel ? S("", !0) : (r(), f(s, {
2271
+ })) : C("", !0),
2272
+ k(n.$slots, "default"),
2273
+ m("div", na, [
2274
+ k(n.$slots, "cancel", {}, () => [
2275
+ n.hideCancel ? C("", !0) : (d(), b(s, {
2231
2276
  key: 0,
2232
2277
  "data-cy": "cancel-btn",
2233
2278
  type: "reset",
@@ -2235,42 +2280,42 @@ const _t = { key: 0 }, It = {
2235
2280
  outlined: "",
2236
2281
  onClick: o[0] || (o[0] = (p) => n.$emit("cancel"))
2237
2282
  }, {
2238
- default: y(() => [
2239
- _(k(n.cancelText), 1)
2283
+ default: g(() => [
2284
+ M(B(n.cancelText), 1)
2240
2285
  ]),
2241
2286
  _: 1
2242
2287
  }))
2243
2288
  ]),
2244
- w(n.$slots, "submit", { submit: l }, () => [
2289
+ k(n.$slots, "submit", { submit: l }, () => [
2245
2290
  h(s, {
2246
2291
  "data-cy": "submit-btn",
2247
2292
  type: "submit",
2248
2293
  severity: "primary",
2249
2294
  class: "ms-auto"
2250
2295
  }, {
2251
- default: y(() => [
2252
- _(k(n.submitText), 1)
2296
+ default: g(() => [
2297
+ M(B(n.submitText), 1)
2253
2298
  ]),
2254
2299
  _: 1
2255
2300
  })
2256
2301
  ])
2257
2302
  ]),
2258
- a.value ? (r(), f(re, {
2303
+ a.value ? (d(), b(pe, {
2259
2304
  key: 2,
2260
2305
  "data-cy": "loading-spinner"
2261
- })) : S("", !0)
2306
+ })) : C("", !0)
2262
2307
  ], 16);
2263
2308
  };
2264
2309
  }
2265
- }), ea = {
2310
+ }), oa = {
2266
2311
  key: 1,
2267
2312
  class: "d-flex flex-column w-100"
2268
- }, ta = ["for"], aa = {
2313
+ }, sa = ["for"], ra = {
2269
2314
  key: 0,
2270
2315
  class: "text-danger fw-600"
2271
- }, Yi = /* @__PURE__ */ $({
2316
+ }, nl = /* @__PURE__ */ S({
2272
2317
  __name: "ForgeFormField",
2273
- props: /* @__PURE__ */ U({
2318
+ props: /* @__PURE__ */ R({
2274
2319
  name: {},
2275
2320
  fieldLabelPosition: { default: "top" },
2276
2321
  fieldLabel: {},
@@ -2285,24 +2330,24 @@ const _t = { key: 0 }, It = {
2285
2330
  }),
2286
2331
  emits: ["update:modelValue"],
2287
2332
  setup(e) {
2288
- const t = D(e, "modelValue"), a = e, i = (g) => {
2289
- a.type == "number" ? s(g.value) : s(g);
2290
- }, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = te(() => a.name, void 0, {
2333
+ const t = N(e, "modelValue"), a = e, i = (y) => {
2334
+ a.type == "number" ? s(y.value) : s(y);
2335
+ }, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = oe(() => a.name, void 0, {
2291
2336
  initialValue: t.value
2292
2337
  }), c = T(() => l.value.length > 0);
2293
- return ue(() => n.value, (g) => {
2294
- t.value = g;
2295
- }, { immediate: !0 }), (g, d) => {
2296
- const B = Ve, C = Pe, V = ne, M = ae, q = oe, b = be;
2297
- return a.type === "checkbox" ? (r(), f(ge, z({
2338
+ return le(() => n.value, (y) => {
2339
+ t.value = y;
2340
+ }, { immediate: !0 }), (y, r) => {
2341
+ const $ = Ne, z = Oe, D = se, O = ae, A = re, x = xe;
2342
+ return a.type === "checkbox" ? (d(), b(ye, j({
2298
2343
  key: 0,
2299
2344
  id: a.name,
2300
2345
  label: a.fieldLabel
2301
- }, g.$attrs, {
2346
+ }, y.$attrs, {
2302
2347
  name: a.name,
2303
2348
  modelValue: t.value,
2304
- "onUpdate:modelValue": d[0] || (d[0] = (x) => t.value = x)
2305
- }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", ea, [
2349
+ "onUpdate:modelValue": r[0] || (r[0] = (w) => t.value = w)
2350
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), v("div", oa, [
2306
2351
  m("div", {
2307
2352
  "data-cy": "input-wrapper",
2308
2353
  class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2311,80 +2356,80 @@ const _t = { key: 0 }, It = {
2311
2356
  for: a.name,
2312
2357
  class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2313
2358
  }, [
2314
- _(k(a.fieldLabel) + " ", 1),
2315
- g.required ? (r(), v("span", aa, "*")) : S("", !0)
2316
- ], 10, ta),
2317
- w(g.$slots, "default", W(Y({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2318
- a.type === "number" ? (r(), f(u(me), z({
2359
+ M(B(a.fieldLabel) + " ", 1),
2360
+ y.required ? (d(), v("span", ra, "*")) : C("", !0)
2361
+ ], 10, sa),
2362
+ k(y.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2363
+ a.type === "number" ? (d(), b(u(fe), j({
2319
2364
  key: 0,
2320
2365
  id: a.name
2321
- }, g.$attrs, {
2366
+ }, y.$attrs, {
2322
2367
  placeholder: a.placeholder,
2323
2368
  "input-class": { "is-invalid": c.value },
2324
2369
  class: { "is-invalid": c.value },
2325
2370
  onInput: i,
2326
2371
  modelValue: t.value,
2327
- "onUpdate:modelValue": d[1] || (d[1] = (x) => t.value = x)
2328
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (r(), f(B, z({
2372
+ "onUpdate:modelValue": r[1] || (r[1] = (w) => t.value = w)
2373
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), b($, j({
2329
2374
  key: 1,
2330
2375
  id: a.name
2331
- }, g.$attrs, {
2376
+ }, y.$attrs, {
2332
2377
  placeholder: a.placeholder,
2333
2378
  class: { "is-invalid": c.value },
2334
2379
  modelValue: t.value,
2335
- "onUpdate:modelValue": d[2] || (d[2] = (x) => t.value = x),
2380
+ "onUpdate:modelValue": r[2] || (r[2] = (w) => t.value = w),
2336
2381
  onInput: i,
2337
2382
  onBlur: u(p)
2338
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (r(), f(C, z({
2383
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), b(z, j({
2339
2384
  key: 2,
2340
2385
  id: a.name
2341
- }, g.$attrs, {
2386
+ }, y.$attrs, {
2342
2387
  placeholder: a.placeholder,
2343
2388
  mask: a.mask,
2344
2389
  class: { "is-invalid": c.value },
2345
2390
  modelValue: t.value,
2346
- "onUpdate:modelValue": d[3] || (d[3] = (x) => t.value = x),
2391
+ "onUpdate:modelValue": r[3] || (r[3] = (w) => t.value = w),
2347
2392
  onComplete: i,
2348
2393
  onBlur: u(p)
2349
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (r(), f(V, z({
2394
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), b(D, j({
2350
2395
  key: 3,
2351
2396
  id: a.name
2352
- }, g.$attrs, {
2397
+ }, y.$attrs, {
2353
2398
  placeholder: a.placeholder,
2354
2399
  class: { "is-invalid": c.value },
2355
2400
  modelValue: t.value,
2356
- "onUpdate:modelValue": d[4] || (d[4] = (x) => t.value = x),
2401
+ "onUpdate:modelValue": r[4] || (r[4] = (w) => t.value = w),
2357
2402
  onInput: i,
2358
2403
  onBlur: u(p)
2359
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (r(), f(M, z({ key: 4 }, { ...a, ...g.$attrs }, {
2404
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), b(O, j({ key: 4 }, { ...a, ...y.$attrs }, {
2360
2405
  modelValue: t.value,
2361
- "onUpdate:modelValue": d[5] || (d[5] = (x) => t.value = x),
2406
+ "onUpdate:modelValue": r[5] || (r[5] = (w) => t.value = w),
2362
2407
  class: { "is-invalid": c.value }
2363
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (r(), f(q, z({ key: 5 }, { ...a, ...g.$attrs }, {
2408
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), b(A, j({ key: 5 }, { ...a, ...y.$attrs }, {
2364
2409
  modelValue: t.value,
2365
- "onUpdate:modelValue": d[6] || (d[6] = (x) => t.value = x),
2410
+ "onUpdate:modelValue": r[6] || (r[6] = (w) => t.value = w),
2366
2411
  class: { "is-invalid": c.value }
2367
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), f(Ht, z({ key: 6 }, { ...a, ...g.$attrs }, {
2412
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), b(Zt, j({ key: 6 }, { ...a, ...y.$attrs }, {
2368
2413
  modelValue: t.value,
2369
- "onUpdate:modelValue": d[7] || (d[7] = (x) => t.value = x),
2414
+ "onUpdate:modelValue": r[7] || (r[7] = (w) => t.value = w),
2370
2415
  class: { "is-invalid": c.value }
2371
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (r(), f(b, z({ key: 7 }, { ...a, ...g.$attrs }, {
2416
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), b(x, j({ key: 7 }, { ...a, ...y.$attrs }, {
2372
2417
  modelValue: t.value,
2373
- "onUpdate:modelValue": d[8] || (d[8] = (x) => t.value = x),
2418
+ "onUpdate:modelValue": r[8] || (r[8] = (w) => t.value = w),
2374
2419
  class: { "is-invalid": c.value }
2375
- }), null, 16, ["modelValue", "class"])) : S("", !0)
2420
+ }), null, 16, ["modelValue", "class"])) : C("", !0)
2376
2421
  ])
2377
2422
  ], 2),
2378
- H(m("small", {
2423
+ J(m("small", {
2379
2424
  "data-cy": "error",
2380
2425
  class: "invalid-feedback"
2381
- }, k(u(o)), 513), [
2382
- [J, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2426
+ }, B(u(o)), 513), [
2427
+ [Z, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2383
2428
  ])
2384
2429
  ]));
2385
2430
  };
2386
2431
  }
2387
- }), Gi = /* @__PURE__ */ $({
2432
+ }), ol = /* @__PURE__ */ S({
2388
2433
  __name: "ForgeChip",
2389
2434
  props: {
2390
2435
  chipSeverity: { default: "primary" },
@@ -2413,21 +2458,22 @@ const _t = { key: 0 }, It = {
2413
2458
  "bg-success-subtle border-success text-success": t.chipSeverity === "success",
2414
2459
  "bg-warning-subtle border-warning text-warning": t.chipSeverity === "warning",
2415
2460
  "bg-danger-subtle border-danger text-danger": t.chipSeverity === "danger",
2416
- "bg-info-subtle border-info text-info": t.chipSeverity === "info"
2461
+ "bg-info-subtle border-info text-info": t.chipSeverity === "info",
2462
+ "bg-info-success-alternate border-success-alternate text-success-alternate": t.chipSeverity === "success-alternate"
2417
2463
  }
2418
2464
  ]
2419
2465
  }));
2420
2466
  return (i, l) => {
2421
- const n = Me;
2422
- return r(), f(n, z({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2423
- default: y(() => [
2424
- (r(!0), v(O, null, N(i.$slots, (o, s) => w(i.$slots, s, { slot: s })), 256))
2467
+ const n = Ae;
2468
+ return d(), b(n, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2469
+ default: g(() => [
2470
+ (d(!0), v(E, null, U(i.$slots, (o, s) => k(i.$slots, s, { slot: s })), 256))
2425
2471
  ]),
2426
2472
  _: 3
2427
2473
  }, 16, ["pt"]);
2428
2474
  };
2429
2475
  }
2430
- }), Ji = /* @__PURE__ */ $({
2476
+ }), sl = /* @__PURE__ */ S({
2431
2477
  __name: "ForgeProgressBar",
2432
2478
  props: {
2433
2479
  severity: { default: "primary" },
@@ -2451,6 +2497,8 @@ const _t = { key: 0 }, It = {
2451
2497
  return "bg-secondary";
2452
2498
  case "success":
2453
2499
  return "bg-success";
2500
+ case "success-alternate":
2501
+ return "bg-success-alternate";
2454
2502
  case "warning":
2455
2503
  return "bg-warning";
2456
2504
  case "danger":
@@ -2471,17 +2519,17 @@ const _t = { key: 0 }, It = {
2471
2519
  }
2472
2520
  }));
2473
2521
  return (o, s) => {
2474
- const p = De;
2475
- return r(), f(p, z({ ...o.$attrs, ...t }, { pt: n.value }), {
2476
- default: y(() => [
2477
- w(o.$slots, "default")
2522
+ const p = Ee;
2523
+ return d(), b(p, j({ ...o.$attrs, ...t }, { pt: n.value }), {
2524
+ default: g(() => [
2525
+ k(o.$slots, "default")
2478
2526
  ]),
2479
2527
  _: 3
2480
2528
  }, 16, ["pt"]);
2481
2529
  };
2482
2530
  }
2483
2531
  });
2484
- var ia = /* @__PURE__ */ $({
2532
+ var da = /* @__PURE__ */ S({
2485
2533
  name: "VueDrawingCanvas",
2486
2534
  props: {
2487
2535
  strokeType: {
@@ -2794,13 +2842,13 @@ var ia = /* @__PURE__ */ $({
2794
2842
  },
2795
2843
  wrapText(e, t, a, i, l, n) {
2796
2844
  const o = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
2797
- var p = t.split(o).filter((M) => M.length > 0);
2798
- for (let M = 0; M < p.length; M++) {
2799
- for (var c = p[M].split(s).filter((q) => q.length > 0), g = "", d = 0; d < c.length; d++) {
2800
- var B = g + c[d] + " ", C = e.measureText(B), V = C.width;
2801
- V > l && d > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(g, a, i) : e.fillText(g, a, i), g = c[d] + " ", i += n) : g = B;
2845
+ var p = t.split(o).filter((O) => O.length > 0);
2846
+ for (let O = 0; O < p.length; O++) {
2847
+ for (var c = p[O].split(s).filter((A) => A.length > 0), y = "", r = 0; r < c.length; r++) {
2848
+ var $ = y + c[r] + " ", z = e.measureText($), D = z.width;
2849
+ D > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), y = c[r] + " ", i += n) : y = $;
2802
2850
  }
2803
- this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(g, a, i) : e.fillText(g, a, i), i += c.length > 0 ? n : 0;
2851
+ this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), i += c.length > 0 ? n : 0;
2804
2852
  }
2805
2853
  },
2806
2854
  save() {
@@ -2827,13 +2875,13 @@ var ia = /* @__PURE__ */ $({
2827
2875
  } else if (a.type === "Text") {
2828
2876
  let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", n = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", o = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2829
2877
  if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
2830
- let d, B;
2831
- a.fontStyle && a.fontStyle.width ? d = a.x + Math.floor(a.fontStyle.width / 2) : d = a.x, a.fontStyle && a.fontStyle.lineHeight ? B = a.y + Math.floor(a.fontStyle.lineHeight / 2) : B = a.y, t.translate(d, B), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(d * -1, B * -1);
2878
+ let r, $;
2879
+ a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? $ = a.y + Math.floor(a.fontStyle.lineHeight / 2) : $ = a.y, t.translate(r, $), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, $ * -1);
2832
2880
  }
2833
2881
  a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = o, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
2834
- let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, g = this.outputHeight === void 0 ? this.height : this.outputHeight;
2835
- if (s.width = Number(c), s.height = Number(g), p)
2836
- return p.drawImage(e, 0, 0, Number(c), Number(g)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2882
+ let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, y = this.outputHeight === void 0 ? this.height : this.outputHeight;
2883
+ if (s.width = Number(c), s.height = Number(y), p)
2884
+ return p.drawImage(e, 0, 0, Number(c), Number(y)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2837
2885
  }
2838
2886
  },
2839
2887
  isEmpty() {
@@ -2844,7 +2892,7 @@ var ia = /* @__PURE__ */ $({
2844
2892
  }
2845
2893
  },
2846
2894
  render() {
2847
- return $e("canvas", {
2895
+ return Ce("canvas", {
2848
2896
  id: this.canvasId,
2849
2897
  height: Number(this.height),
2850
2898
  width: Number(this.width),
@@ -2871,7 +2919,7 @@ var ia = /* @__PURE__ */ $({
2871
2919
  });
2872
2920
  }
2873
2921
  });
2874
- const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1 gap-1" }, Ki = /* @__PURE__ */ $({
2922
+ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1 gap-1" }, rl = /* @__PURE__ */ S({
2875
2923
  __name: "ForgeScratchpad",
2876
2924
  props: {
2877
2925
  showClear: { type: Boolean, default: !0 },
@@ -2884,7 +2932,7 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2884
2932
  },
2885
2933
  emits: ["save"],
2886
2934
  setup(e, { emit: t }) {
2887
- const a = e, i = t, l = Fe("drawingCanvas"), n = I(), o = () => {
2935
+ const a = e, i = t, l = ze("drawingCanvas"), n = P(), o = () => {
2888
2936
  l == null || l.value.reset();
2889
2937
  }, s = () => {
2890
2938
  l == null || l.value.redo();
@@ -2893,72 +2941,72 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2893
2941
  }, c = () => {
2894
2942
  i("save", l.value.isEmpty());
2895
2943
  };
2896
- return (g, d) => {
2897
- const B = A;
2898
- return r(), v("div", la, [
2899
- h(u(ia), z({
2944
+ return (y, r) => {
2945
+ const $ = q;
2946
+ return d(), v("div", pa, [
2947
+ h(u(da), j({
2900
2948
  ref_key: "drawingCanvas",
2901
2949
  ref: l,
2902
2950
  image: n.value,
2903
- "onUpdate:image": d[0] || (d[0] = (C) => n.value = C),
2951
+ "onUpdate:image": r[0] || (r[0] = (z) => n.value = z),
2904
2952
  "data-cy": "drawing-canvas",
2905
2953
  class: "border canvas"
2906
- }, { ...g.$attrs }, {
2907
- height: g.height,
2908
- width: g.width,
2909
- style: `height: ${g.height}px; width: ${g.width}px`,
2910
- "line-join": g.lineJoin
2954
+ }, { ...y.$attrs }, {
2955
+ height: y.height,
2956
+ width: y.width,
2957
+ style: `height: ${y.height}px; width: ${y.width}px`,
2958
+ "line-join": y.lineJoin
2911
2959
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
2912
- m("div", na, [
2913
- a.showUndo ? (r(), f(B, {
2960
+ m("div", ca, [
2961
+ a.showUndo ? (d(), b($, {
2914
2962
  key: 0,
2915
2963
  onClick: p,
2916
2964
  outlined: "",
2917
2965
  "data-cy": "undo-button"
2918
2966
  }, {
2919
- default: y(() => d[1] || (d[1] = [
2920
- _("Undo")
2967
+ default: g(() => r[1] || (r[1] = [
2968
+ M("Undo")
2921
2969
  ])),
2922
2970
  _: 1
2923
- })) : S("", !0),
2924
- a.showRedo ? (r(), f(B, {
2971
+ })) : C("", !0),
2972
+ a.showRedo ? (d(), b($, {
2925
2973
  key: 1,
2926
2974
  onClick: s,
2927
2975
  outlined: "",
2928
2976
  "data-cy": "redo-button"
2929
2977
  }, {
2930
- default: y(() => d[2] || (d[2] = [
2931
- _("Redo")
2978
+ default: g(() => r[2] || (r[2] = [
2979
+ M("Redo")
2932
2980
  ])),
2933
2981
  _: 1
2934
- })) : S("", !0),
2935
- a.showClear ? (r(), f(B, {
2982
+ })) : C("", !0),
2983
+ a.showClear ? (d(), b($, {
2936
2984
  key: 2,
2937
2985
  onClick: o,
2938
2986
  outlined: "",
2939
2987
  "data-cy": "clear-button"
2940
2988
  }, {
2941
- default: y(() => d[3] || (d[3] = [
2942
- _("Clear")
2989
+ default: g(() => r[3] || (r[3] = [
2990
+ M("Clear")
2943
2991
  ])),
2944
2992
  _: 1
2945
- })) : S("", !0),
2946
- a.showSave ? (r(), f(B, {
2993
+ })) : C("", !0),
2994
+ a.showSave ? (d(), b($, {
2947
2995
  key: 3,
2948
2996
  onClick: c,
2949
2997
  class: "ms-auto",
2950
2998
  "data-cy": "save-button"
2951
2999
  }, {
2952
- default: y(() => d[4] || (d[4] = [
2953
- _("Save")
3000
+ default: g(() => r[4] || (r[4] = [
3001
+ M("Save")
2954
3002
  ])),
2955
3003
  _: 1
2956
- })) : S("", !0)
3004
+ })) : C("", !0)
2957
3005
  ])
2958
3006
  ]);
2959
3007
  };
2960
3008
  }
2961
- }), oa = { class: "value text-white w-100 text-center" }, Zi = /* @__PURE__ */ $({
3009
+ }), ua = { class: "value text-white w-100 text-center" }, dl = /* @__PURE__ */ S({
2962
3010
  __name: "ForgeStatWidget",
2963
3011
  props: {
2964
3012
  size: { default: "md" },
@@ -2966,15 +3014,15 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2966
3014
  },
2967
3015
  setup(e) {
2968
3016
  const t = e;
2969
- return (a, i) => (r(), v("div", z(a.$attrs, {
3017
+ return (a, i) => (d(), v("div", j(a.$attrs, {
2970
3018
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2971
3019
  }), [
2972
- m("span", oa, [
2973
- w(a.$slots, "default")
3020
+ m("span", ua, [
3021
+ k(a.$slots, "default")
2974
3022
  ])
2975
3023
  ], 16));
2976
3024
  }
2977
- }), sa = { key: 0 }, Xi = /* @__PURE__ */ $({
3025
+ }), ma = { key: 0 }, pl = /* @__PURE__ */ S({
2978
3026
  __name: "ForgeStepper",
2979
3027
  props: {
2980
3028
  currentStep: { default: 1 },
@@ -3021,32 +3069,32 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3021
3069
  ]
3022
3070
  })
3023
3071
  }));
3024
- return (i, l) => (r(), f(u(Ne), { value: i.currentStep }, {
3025
- default: y(() => [
3026
- h(u(Ue), null, {
3027
- default: y(() => [
3028
- (r(!0), v(O, null, N(i.steps, (n) => (r(), f(u(Oe), z({
3072
+ return (i, l) => (d(), b(u(qe), { value: i.currentStep }, {
3073
+ default: g(() => [
3074
+ h(u(Le), null, {
3075
+ default: g(() => [
3076
+ (d(!0), v(E, null, U(i.steps, (n) => (d(), b(u(Ue), j({
3029
3077
  key: n.value,
3030
3078
  value: n.value,
3031
3079
  disabled: n.disabled,
3032
3080
  ref_for: !0
3033
3081
  }, { ...i.$attrs }, { pt: a.value }), {
3034
- default: y(() => [
3035
- i.showStepLabel ? (r(), v("div", sa, k(n.label), 1)) : S("", !0)
3082
+ default: g(() => [
3083
+ i.showStepLabel ? (d(), v("div", ma, B(n.label), 1)) : C("", !0)
3036
3084
  ]),
3037
3085
  _: 2
3038
3086
  }, 1040, ["value", "disabled", "pt"]))), 128))
3039
3087
  ]),
3040
3088
  _: 1
3041
3089
  }),
3042
- h(u(qe), null, {
3043
- default: y(() => [
3044
- (r(!0), v(O, null, N(i.steps, (n) => (r(), f(u(Ae), {
3090
+ h(u(He), null, {
3091
+ default: g(() => [
3092
+ (d(!0), v(E, null, U(i.steps, (n) => (d(), b(u(Re), {
3045
3093
  key: n.value,
3046
3094
  value: n.value
3047
3095
  }, {
3048
- default: y(() => [
3049
- w(i.$slots, "step" + n.value)
3096
+ default: g(() => [
3097
+ k(i.$slots, "step" + n.value)
3050
3098
  ]),
3051
3099
  _: 2
3052
3100
  }, 1032, ["value"]))), 128))
@@ -3057,7 +3105,7 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3057
3105
  _: 3
3058
3106
  }, 8, ["value"]));
3059
3107
  }
3060
- }), ra = { class: "p-4 text-wrap w-100" }, da = { class: "p-4 text-wrap w-100" }, Qi = /* @__PURE__ */ $({
3108
+ }), va = { class: "p-4 text-wrap w-100" }, fa = { class: "p-4 text-wrap w-100" }, cl = /* @__PURE__ */ S({
3061
3109
  __name: "ForgeTile",
3062
3110
  props: {
3063
3111
  severity: { default: "primary" },
@@ -3068,30 +3116,30 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3068
3116
  setup(e) {
3069
3117
  const t = e, a = T(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = T(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
3070
3118
  return (l, n) => {
3071
- const o = A;
3072
- return t.clickable ? (r(), f(o, {
3119
+ const o = q;
3120
+ return t.clickable ? (d(), b(o, {
3073
3121
  key: 0,
3074
3122
  class: F(["d-flex w-100 p-0 text-body", a.value]),
3075
3123
  severity: t.severity,
3076
3124
  unstyled: "",
3077
3125
  "data-cy": "button-tile"
3078
3126
  }, {
3079
- default: y(() => [
3080
- m("div", ra, [
3081
- w(l.$slots, "default", {}, () => [
3082
- n[0] || (n[0] = _("Tile Content"))
3127
+ default: g(() => [
3128
+ m("div", va, [
3129
+ k(l.$slots, "default", {}, () => [
3130
+ n[0] || (n[0] = M("Tile Content"))
3083
3131
  ])
3084
3132
  ])
3085
3133
  ]),
3086
3134
  _: 3
3087
- }, 8, ["severity", "class"])) : (r(), v("div", {
3135
+ }, 8, ["severity", "class"])) : (d(), v("div", {
3088
3136
  key: 1,
3089
3137
  class: F(["d-flex w-100", i.value]),
3090
3138
  "data-cy": "tile"
3091
3139
  }, [
3092
- m("div", da, [
3093
- w(l.$slots, "default", {}, () => [
3094
- n[1] || (n[1] = _("Tile Content"))
3140
+ m("div", fa, [
3141
+ k(l.$slots, "default", {}, () => [
3142
+ n[1] || (n[1] = M("Tile Content"))
3095
3143
  ])
3096
3144
  ])
3097
3145
  ], 2));
@@ -3101,13 +3149,13 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3101
3149
  function Q(e, t) {
3102
3150
  return e > 1 ? `${t}s` : t;
3103
3151
  }
3104
- const pa = {
3152
+ const ga = {
3105
3153
  class: "d-flex justify-content-start align-items-baseline",
3106
3154
  "data-cy": "pagination-header"
3107
- }, ca = { class: "ms-2" }, ua = { key: 0 }, ma = {
3155
+ }, ba = { class: "ms-2" }, ya = { key: 0 }, xa = {
3108
3156
  class: "w-auto",
3109
3157
  "data-cy": "total"
3110
- }, va = /* @__PURE__ */ $({
3158
+ }, he = /* @__PURE__ */ S({
3111
3159
  __name: "ForgePaginationHeader",
3112
3160
  props: {
3113
3161
  total: {},
@@ -3122,9 +3170,9 @@ const pa = {
3122
3170
  const o = Math.ceil(i.total / i.perPage);
3123
3171
  return `${o} ${Q(o, "page")}`;
3124
3172
  });
3125
- return (o, s) => (r(), v("div", pa, [
3126
- s[2] || (s[2] = _(" Number of results per page ")),
3127
- m("div", ca, [
3173
+ return (o, s) => (d(), v("div", ga, [
3174
+ s[2] || (s[2] = M(" Number of results per page ")),
3175
+ m("div", ba, [
3128
3176
  h(u(ae), {
3129
3177
  options: i.pageSizes,
3130
3178
  "model-value": i.perPage,
@@ -3132,16 +3180,16 @@ const pa = {
3132
3180
  onChange: s[0] || (s[0] = (p) => l(p))
3133
3181
  }, null, 8, ["options", "model-value"])
3134
3182
  ]),
3135
- i.total ? (r(), v("div", ua, [
3183
+ i.total ? (d(), v("div", ya, [
3136
3184
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3137
- m("span", ma, k(i.total) + " " + k(u(Q)(i.total, "result")) + " across " + k(n.value), 1)
3138
- ])) : S("", !0)
3185
+ m("span", xa, B(i.total) + " " + B(u(Q)(i.total, "result")) + " across " + B(n.value), 1)
3186
+ ])) : C("", !0)
3139
3187
  ]));
3140
3188
  }
3141
- }), fa = { class: "position-relative" }, ga = { "data-cy": "above-table-slot" }, ba = { class: "d-flex w-100" }, ya = {
3189
+ }), ha = { class: "position-relative" }, wa = { "data-cy": "above-table-slot" }, ka = { class: "d-flex w-100" }, $a = {
3142
3190
  class: "mx-auto",
3143
3191
  "data-cy": "empty-message"
3144
- }, xa = { class: "d-flex" }, ha = { class: "d-flex align-items-end mb-2" }, wa = { key: 0 }, ka = { class: "ms-auto" }, el = /* @__PURE__ */ $({
3192
+ }, Ba = { class: "d-flex" }, Fa = { class: "d-flex align-items-end mb-2" }, Sa = { key: 0 }, Ca = { class: "ms-auto" }, ul = /* @__PURE__ */ S({
3145
3193
  __name: "ForgeTable",
3146
3194
  props: {
3147
3195
  value: {},
@@ -3227,7 +3275,7 @@ const pa = {
3227
3275
  },
3228
3276
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3229
3277
  setup(e, { emit: t }) {
3230
- const a = t, i = e, l = I(), n = I([5, 10, 20, 50, 100]), o = I(10), s = I({
3278
+ const a = t, i = e, l = P(), n = P([5, 10, 20, 50, 100]), o = P(10), s = P({
3231
3279
  filters: i.filters,
3232
3280
  perPage: o.value,
3233
3281
  page: 0,
@@ -3235,9 +3283,9 @@ const pa = {
3235
3283
  sortField: "",
3236
3284
  total: i.totalRecords ?? i.value.length
3237
3285
  }), p = T(() => i.totalRecords ?? i.value.length), c = T(() => {
3238
- const b = Math.ceil(p.value / o.value);
3239
- return `${b} ${Q(b, "page")}`;
3240
- }), g = T(() => ({
3286
+ const x = Math.ceil(p.value / o.value);
3287
+ return `${x} ${Q(x, "page")}`;
3288
+ }), y = T(() => ({
3241
3289
  thead: () => ({
3242
3290
  class: [
3243
3291
  {
@@ -3253,160 +3301,428 @@ const pa = {
3253
3301
  "text-brand": i.severity === "brand",
3254
3302
  "text-primary": i.severity === "primary",
3255
3303
  "text-success": i.severity === "success",
3304
+ "text-success-alternate": i.severity === "success-alternate",
3256
3305
  "text-warning": i.severity === "warning",
3257
3306
  "text-danger": i.severity === "danger",
3258
3307
  "text-info": i.severity === "info"
3259
3308
  }
3260
3309
  ]
3261
3310
  })
3262
- })), d = () => {
3311
+ })), r = () => {
3263
3312
  if (i.clearAll)
3264
3313
  i.clearAll();
3265
3314
  else
3266
- for (const b in i.filters)
3267
- typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
3268
- V(i.filters);
3269
- }, B = () => {
3315
+ for (const x in i.filters)
3316
+ typeof i.filters[x] == "string" ? i.filters[x] = "" : i.filters[x].value = null;
3317
+ D(i.filters);
3318
+ }, $ = () => {
3270
3319
  l.value.exportCSV();
3271
- }, C = (b) => {
3272
- var x;
3273
- s.value.sortDirection = b.sortOrder === 1 ? "Asc" : b.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((x = b.sortField) == null ? void 0 : x.toString()) ?? "", a("update:tableContext", s.value), a("sort", b);
3274
- }, V = (b) => {
3275
- s.value.filters = b, a("update:tableContext", s.value), a("update:filters", b);
3276
- }, M = (b) => {
3277
- s.value.page = b.page, a("update:tableContext", s.value), a("page", b);
3278
- }, q = () => {
3320
+ }, z = (x) => {
3321
+ var w;
3322
+ s.value.sortDirection = x.sortOrder === 1 ? "Asc" : x.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((w = x.sortField) == null ? void 0 : w.toString()) ?? "", a("update:tableContext", s.value), a("sort", x);
3323
+ }, D = (x) => {
3324
+ s.value.filters = x, a("update:tableContext", s.value), a("update:filters", x);
3325
+ }, O = (x) => {
3326
+ s.value.page = x.page, a("update:tableContext", s.value), a("page", x);
3327
+ }, A = () => {
3279
3328
  s.value.perPage = o.value, a("update:tableContext", s.value);
3280
3329
  };
3281
- return ue(() => i.filters, (b) => {
3282
- s.value.filters = b, a("update:tableContext", s.value);
3283
- }, { deep: !0 }), le(() => a("update:tableContext", s.value)), (b, x) => (r(), v("div", fa, [
3284
- m("span", ga, [
3285
- w(b.$slots, "above-table")
3330
+ return le(() => i.filters, (x) => {
3331
+ s.value.filters = x, a("update:tableContext", s.value);
3332
+ }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (x, w) => (d(), v("div", ha, [
3333
+ m("span", wa, [
3334
+ k(x.$slots, "above-table")
3286
3335
  ]),
3287
- h(u(Ee), z({
3336
+ h(u(We), j({
3288
3337
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3289
- }, { ...i, ...b.$attrs }, {
3290
- pt: g.value,
3338
+ }, { ...i, ...x.$attrs }, {
3339
+ pt: y.value,
3291
3340
  rows: o.value,
3292
3341
  "total-records": p.value,
3293
3342
  "filter-display": i.filters ? "row" : void 0,
3294
3343
  ref_key: "forgeTable",
3295
3344
  ref: l,
3296
3345
  "data-cy": "table",
3297
- "onUpdate:filters": V,
3298
- onSort: C,
3299
- onPage: M,
3346
+ "onUpdate:filters": D,
3347
+ onSort: z,
3348
+ onPage: O,
3300
3349
  showHeaders: ""
3301
- }), ee({
3302
- empty: y(() => [
3303
- m("div", ba, [
3304
- m("h5", ya, k(b.emptyMessage ?? "No items Found."), 1)
3350
+ }), te({
3351
+ empty: g(() => [
3352
+ m("div", ka, [
3353
+ m("h5", $a, B(x.emptyMessage ?? "No items Found."), 1)
3305
3354
  ])
3306
3355
  ]),
3307
- header: y(() => [
3356
+ header: g(() => [
3308
3357
  m("div", {
3309
3358
  class: F(i.loading ? "opacity-50" : "")
3310
3359
  }, [
3311
- m("div", xa, [
3312
- m("div", ha, [
3313
- b.paginator && !b.legacyPaginationFooter ? (r(), v("span", wa, [
3314
- h(va, {
3360
+ m("div", Ba, [
3361
+ m("div", Fa, [
3362
+ x.paginator && !x.legacyPaginationFooter ? (d(), v("span", Sa, [
3363
+ h(he, {
3315
3364
  total: p.value,
3316
3365
  "page-sizes": n.value,
3317
3366
  "per-page": o.value,
3318
3367
  "onUpdate:perPage": [
3319
- x[0] || (x[0] = (P) => o.value = P),
3320
- q
3368
+ w[0] || (w[0] = (_) => o.value = _),
3369
+ A
3321
3370
  ]
3322
3371
  }, null, 8, ["total", "page-sizes", "per-page"])
3323
- ])) : S("", !0)
3372
+ ])) : C("", !0)
3324
3373
  ]),
3325
- m("div", ka, [
3326
- b.showClearButton ? (r(), f(u(A), {
3374
+ m("div", Ca, [
3375
+ x.showClearButton ? (d(), b(u(q), {
3327
3376
  key: 0,
3328
3377
  outlined: "",
3329
- class: F(b.showExporterButton ? "me-2" : ""),
3330
- onClick: d,
3378
+ class: F(x.showExporterButton ? "me-2" : ""),
3379
+ onClick: r,
3331
3380
  "data-cy": "clear-all"
3332
3381
  }, {
3333
- default: y(() => [
3334
- h(u(j), {
3382
+ default: g(() => [
3383
+ h(u(I), {
3335
3384
  icon: "bi:funnel-fill",
3336
3385
  width: "24",
3337
3386
  height: "24"
3338
3387
  }),
3339
- x[2] || (x[2] = _(" Clear "))
3388
+ w[2] || (w[2] = M(" Clear "))
3340
3389
  ]),
3341
3390
  _: 1
3342
- }, 8, ["class"])) : S("", !0),
3343
- b.showExporterButton ? (r(), f(u(A), {
3391
+ }, 8, ["class"])) : C("", !0),
3392
+ x.showExporterButton ? (d(), b(u(q), {
3344
3393
  key: 1,
3345
3394
  outlined: "",
3346
- onClick: B,
3395
+ onClick: $,
3347
3396
  "data-cy": "exporter"
3348
3397
  }, {
3349
- default: y(() => [
3350
- h(u(j), {
3398
+ default: g(() => [
3399
+ h(u(I), {
3351
3400
  icon: "typcn:export",
3352
3401
  width: "24",
3353
3402
  height: "24"
3354
3403
  }),
3355
- x[3] || (x[3] = _(" Export "))
3404
+ w[3] || (w[3] = M(" Export "))
3356
3405
  ]),
3357
3406
  _: 1
3358
- })) : S("", !0),
3359
- w(b.$slots, "column-customiser")
3407
+ })) : C("", !0),
3408
+ k(x.$slots, "column-customiser")
3360
3409
  ])
3361
3410
  ])
3362
3411
  ], 2)
3363
3412
  ]),
3364
- default: y(() => [
3365
- w(b.$slots, "default")
3413
+ default: g(() => [
3414
+ k(x.$slots, "default")
3366
3415
  ]),
3367
3416
  _: 2
3368
3417
  }, [
3369
- N(b.$slots, (P, L) => ({
3370
- name: L,
3371
- fn: y((ie) => [
3372
- w(b.$slots, L, W(Y(ie || {})))
3418
+ U(x.$slots, (_, f) => ({
3419
+ name: f,
3420
+ fn: g((V) => [
3421
+ k(x.$slots, f, W(G(V || {})))
3373
3422
  ])
3374
3423
  })),
3375
- b.legacyPaginationFooter ? {
3424
+ x.legacyPaginationFooter ? {
3376
3425
  name: "paginatorstart",
3377
- fn: y(() => [
3426
+ fn: g(() => [
3378
3427
  m("span", {
3379
3428
  class: F(["d-flex", i.loading ? "opacity-50" : ""]),
3380
3429
  "data-cy": "legacy-page-size"
3381
3430
  }, [
3382
- x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3431
+ w[4] || (w[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3383
3432
  h(u(ae), {
3384
3433
  options: n.value,
3385
3434
  modelValue: o.value,
3386
- "onUpdate:modelValue": x[1] || (x[1] = (P) => o.value = P),
3435
+ "onUpdate:modelValue": w[1] || (w[1] = (_) => o.value = _),
3387
3436
  class: "ms-2",
3388
- onClick: q
3437
+ onClick: A
3389
3438
  }, null, 8, ["options", "modelValue"])
3390
3439
  ], 2)
3391
3440
  ]),
3392
3441
  key: "0"
3393
3442
  } : void 0,
3394
- b.legacyPaginationFooter ? {
3443
+ x.legacyPaginationFooter ? {
3395
3444
  name: "paginatorend",
3396
- fn: y(() => [
3445
+ fn: g(() => [
3397
3446
  m("span", {
3398
3447
  "data-cy": "legacy-total",
3399
3448
  class: F(i.loading ? "opacity-50" : "")
3400
- }, k(p.value) + " " + k(u(Q)(p.value, "result")) + " across " + k(c.value), 3)
3449
+ }, B(p.value) + " " + B(u(Q)(p.value, "result")) + " across " + B(c.value), 3)
3401
3450
  ]),
3402
3451
  key: "1"
3403
3452
  } : void 0
3404
3453
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3405
3454
  ]));
3406
3455
  }
3407
- }), $a = { class: "d-flex position-relative" }, Fa = { class: "d-flex w-100" }, tl = /* @__PURE__ */ $({
3456
+ }), za = { class: "position-relative" }, Ta = { "data-cy": "above-table-slot" }, ja = { class: "d-flex" }, Ia = { class: "d-flex align-items-end mb-2" }, Pa = { key: 0 }, _a = { class: "ms-auto" }, ml = /* @__PURE__ */ S({
3457
+ __name: "ForgeTreeTable",
3458
+ props: {
3459
+ stripedRows: { type: Boolean, default: !1 },
3460
+ parentExpanderFullRow: { type: Boolean, default: !1 },
3461
+ totalColumns: { default: 1 },
3462
+ severity: {},
3463
+ value: {},
3464
+ legacyPaginationFooter: { type: Boolean, default: !1 },
3465
+ showClearButton: { type: Boolean, default: !1 },
3466
+ clearAll: {},
3467
+ emptyMessage: {},
3468
+ dataKey: {},
3469
+ expandedKeys: {},
3470
+ selectionKeys: {},
3471
+ selectionMode: {},
3472
+ metaKeySelection: { type: Boolean },
3473
+ contextMenu: { type: Boolean },
3474
+ contextMenuSelection: {},
3475
+ rows: {},
3476
+ first: {},
3477
+ totalRecords: {},
3478
+ paginator: { type: Boolean, default: !0 },
3479
+ paginatorPosition: {},
3480
+ alwaysShowPaginator: { type: Boolean, default: !0 },
3481
+ paginatorTemplate: {},
3482
+ pageLinkSize: {},
3483
+ rowsPerPageOptions: {},
3484
+ currentPageReportTemplate: {},
3485
+ lazy: { type: Boolean },
3486
+ loading: { type: Boolean },
3487
+ loadingIcon: {},
3488
+ loadingMode: {},
3489
+ rowHover: { type: Boolean },
3490
+ autoLayout: { type: Boolean },
3491
+ sortField: {},
3492
+ sortOrder: {},
3493
+ defaultSortOrder: {},
3494
+ multiSortMeta: {},
3495
+ sortMode: {},
3496
+ removableSort: { type: Boolean },
3497
+ filters: {},
3498
+ filterMode: {},
3499
+ filterLocale: {},
3500
+ resizableColumns: { type: Boolean },
3501
+ columnResizeMode: {},
3502
+ indentation: {},
3503
+ showGridlines: { type: Boolean },
3504
+ scrollable: { type: Boolean },
3505
+ scrollHeight: {},
3506
+ size: {},
3507
+ tableStyle: {},
3508
+ tableClass: {},
3509
+ tableProps: {},
3510
+ dt: {},
3511
+ pt: {},
3512
+ ptOptions: {},
3513
+ unstyled: { type: Boolean }
3514
+ },
3515
+ emits: ["update:filters", "update:tableContext", "sort", "page"],
3516
+ setup(e, { emit: t }) {
3517
+ const a = e, i = t, l = P([5, 10, 20, 50, 100]), n = P(10), o = P(0), s = P(0), p = P({
3518
+ filters: a.filters,
3519
+ perPage: n.value,
3520
+ page: 0,
3521
+ sortDirection: "None",
3522
+ sortField: "",
3523
+ total: a.totalRecords ?? a.value.length
3524
+ }), c = T(() => a.totalRecords ?? a.value.length), y = T(() => {
3525
+ const f = Math.ceil(c.value / n.value);
3526
+ return `${f} ${Q(f, "page")}`;
3527
+ }), r = T(() => ({
3528
+ root: "position-relative",
3529
+ table: (f) => ({
3530
+ class: [
3531
+ "table position-relative",
3532
+ {
3533
+ "table-striped": f.attrs.stripedRows,
3534
+ "table-hover": f.props.rowHover,
3535
+ "table-bordered": f.props.showGridlines,
3536
+ "table-sm": f.props.size === "small",
3537
+ "table-lg": f.props.size === "large",
3538
+ "opacity-50": f.props.loading
3539
+ }
3540
+ ]
3541
+ }),
3542
+ loadingIcon: () => ({
3543
+ class: [
3544
+ "spinner-border border-0",
3545
+ {
3546
+ "text-brand": a.severity === "brand",
3547
+ "text-primary": a.severity === "primary",
3548
+ "text-success": a.severity === "success",
3549
+ "text-success-alternate": a.severity === "success-alternate",
3550
+ "text-warning": a.severity === "warning",
3551
+ "text-danger": a.severity === "danger",
3552
+ "text-info": a.severity === "info"
3553
+ }
3554
+ ]
3555
+ }),
3556
+ row: ({ instance: f }) => [
3557
+ {
3558
+ "parent-node": f.node.hasOwnProperty("children")
3559
+ }
3560
+ ]
3561
+ }));
3562
+ le(() => a.parentExpanderFullRow, (f) => {
3563
+ f ? $() : z();
3564
+ });
3565
+ const $ = () => {
3566
+ a.parentExpanderFullRow && setTimeout(
3567
+ () => {
3568
+ const f = Array.from(
3569
+ document.querySelectorAll(".parent-node td.expander-cell")
3570
+ );
3571
+ Array.from(
3572
+ document.querySelectorAll(".parent-node td")
3573
+ ).forEach((L) => {
3574
+ L.classList.add("d-none");
3575
+ }), f.forEach((L) => {
3576
+ L.setAttribute("colspan", a.totalColumns.toString()), L.classList.remove("d-none");
3577
+ });
3578
+ },
3579
+ 0
3580
+ );
3581
+ }, z = () => {
3582
+ setTimeout(
3583
+ () => {
3584
+ const f = Array.from(
3585
+ document.querySelectorAll(".parent-node td.expander-cell")
3586
+ ), V = Array.from(
3587
+ document.querySelectorAll(".parent-node td")
3588
+ );
3589
+ f.forEach((L) => {
3590
+ L.removeAttribute("colspan");
3591
+ }), V.forEach((L) => {
3592
+ L.classList.remove("d-none");
3593
+ });
3594
+ },
3595
+ 0
3596
+ );
3597
+ }, D = () => {
3598
+ if (a.clearAll)
3599
+ a.clearAll();
3600
+ else
3601
+ for (const f in a.filters)
3602
+ typeof a.filters[f] == "string" ? a.filters[f] = "" : a.filters[f].value = null;
3603
+ A(a.filters);
3604
+ }, O = (f) => {
3605
+ var V;
3606
+ p.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = f.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", f), $();
3607
+ }, A = (f) => {
3608
+ p.value.filters = f, i("update:tableContext", p.value), i("update:filters", f), $();
3609
+ }, x = (f) => {
3610
+ p.value.page = s.value = f.page, _(), i("update:tableContext", p.value), i("page", f), $();
3611
+ }, w = () => {
3612
+ p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), _(), i("update:tableContext", p.value), $();
3613
+ };
3614
+ le(() => a.filters, (f) => {
3615
+ p.value.filters = f, i("update:tableContext", p.value);
3616
+ }, { deep: !0 }), ne(() => {
3617
+ $(), i("update:tableContext", p.value);
3618
+ });
3619
+ const _ = () => {
3620
+ o.value = s.value * n.value;
3621
+ };
3622
+ return (f, V) => (d(), v("div", za, [
3623
+ m("span", Ta, [
3624
+ k(f.$slots, "above-table")
3625
+ ]),
3626
+ h(u(Ge), j({
3627
+ class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
3628
+ }, { ...a, ...f.$attrs }, {
3629
+ pt: r.value,
3630
+ "filter-display": a.filters ? "row" : void 0,
3631
+ rows: f.paginator ? n.value : void 0,
3632
+ "data-cy": "tree-table",
3633
+ "onUpdate:filters": A,
3634
+ onSort: O,
3635
+ onPage: x,
3636
+ onNodeExpand: V[2] || (V[2] = () => $()),
3637
+ showHeaders: "",
3638
+ first: o.value
3639
+ }), te({
3640
+ header: g(() => [
3641
+ m("div", {
3642
+ class: F(a.loading ? "opacity-50" : "")
3643
+ }, [
3644
+ m("div", ja, [
3645
+ m("div", Ia, [
3646
+ f.paginator && !f.legacyPaginationFooter ? (d(), v("span", Pa, [
3647
+ h(he, {
3648
+ total: c.value,
3649
+ "page-sizes": l.value,
3650
+ "per-page": n.value,
3651
+ "onUpdate:perPage": [
3652
+ V[0] || (V[0] = (L) => n.value = L),
3653
+ w
3654
+ ]
3655
+ }, null, 8, ["total", "page-sizes", "per-page"])
3656
+ ])) : C("", !0)
3657
+ ]),
3658
+ m("div", _a, [
3659
+ f.showClearButton ? (d(), b(u(q), {
3660
+ key: 0,
3661
+ outlined: "",
3662
+ onClick: D,
3663
+ "data-cy": "clear-all"
3664
+ }, {
3665
+ default: g(() => [
3666
+ h(u(I), {
3667
+ icon: "bi:funnel-fill",
3668
+ width: "24",
3669
+ height: "24"
3670
+ }),
3671
+ V[3] || (V[3] = M(" Clear "))
3672
+ ]),
3673
+ _: 1
3674
+ })) : C("", !0),
3675
+ k(f.$slots, "column-customiser")
3676
+ ])
3677
+ ])
3678
+ ], 2)
3679
+ ]),
3680
+ default: g(() => [
3681
+ k(f.$slots, "default")
3682
+ ]),
3683
+ _: 2
3684
+ }, [
3685
+ U(f.$slots, (L, ve) => ({
3686
+ name: ve,
3687
+ fn: g(($e) => [
3688
+ k(f.$slots, ve, W(G($e || {})))
3689
+ ])
3690
+ })),
3691
+ f.legacyPaginationFooter ? {
3692
+ name: "paginatorstart",
3693
+ fn: g(() => [
3694
+ m("span", {
3695
+ class: F(["d-flex", a.loading ? "opacity-50" : ""]),
3696
+ "data-cy": "legacy-page-size"
3697
+ }, [
3698
+ V[4] || (V[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3699
+ h(u(ae), {
3700
+ options: l.value,
3701
+ modelValue: n.value,
3702
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => n.value = L),
3703
+ class: "ms-2",
3704
+ onClick: w
3705
+ }, null, 8, ["options", "modelValue"])
3706
+ ], 2)
3707
+ ]),
3708
+ key: "0"
3709
+ } : void 0,
3710
+ f.legacyPaginationFooter ? {
3711
+ name: "paginatorend",
3712
+ fn: g(() => [
3713
+ m("span", {
3714
+ "data-cy": "legacy-total",
3715
+ class: F(a.loading ? "opacity-50" : "")
3716
+ }, B(c.value) + " " + B(u(Q)(c.value, "result")) + " across " + B(y.value), 3)
3717
+ ]),
3718
+ key: "1"
3719
+ } : void 0
3720
+ ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3721
+ ]));
3722
+ }
3723
+ }), Ma = { class: "d-flex position-relative" }, Va = { class: "d-flex w-100" }, vl = /* @__PURE__ */ S({
3408
3724
  __name: "ForgeFilterHeader",
3409
- props: /* @__PURE__ */ U({
3725
+ props: /* @__PURE__ */ R({
3410
3726
  dataType: {},
3411
3727
  dropdownOptions: {},
3412
3728
  showClearButton: { type: Boolean, default: !1 },
@@ -3419,13 +3735,13 @@ const pa = {
3419
3735
  }),
3420
3736
  emits: ["update:modelValue"],
3421
3737
  setup(e) {
3422
- const t = D(e, "modelValue"), a = (l, n) => {
3738
+ const t = N(e, "modelValue"), a = (l, n) => {
3423
3739
  if (!l || Array.isArray(l) && l.length === 0)
3424
3740
  return n;
3425
3741
  const o = (s) => {
3426
3742
  var c;
3427
3743
  const p = (c = e.dropdownOptions) == null ? void 0 : c.find(
3428
- (g) => e.optionValue ? g[e.optionValue] === s : Object.keys(g).every((d) => s.hasOwnProperty(d) && g[d] === s[d])
3744
+ (y) => e.optionValue ? y[e.optionValue] === s : Object.keys(y).every((r) => s.hasOwnProperty(r) && y[r] === s[r])
3429
3745
  );
3430
3746
  return e.optionLabel ? p[e.optionLabel] : p;
3431
3747
  };
@@ -3434,21 +3750,21 @@ const pa = {
3434
3750
  e.clearFilter ? e.clearFilter() : t.value = null;
3435
3751
  };
3436
3752
  return (l, n) => {
3437
- const o = me, s = A;
3438
- return r(), v("div", $a, [
3439
- l.dataType === "numeric" ? (r(), f(o, z({
3753
+ const o = fe, s = q;
3754
+ return d(), v("div", Ma, [
3755
+ l.dataType === "numeric" ? (d(), b(o, j({
3440
3756
  key: 0,
3441
3757
  modelValue: t.value,
3442
3758
  "onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p),
3443
3759
  modelModifiers: { trim: !0 }
3444
- }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (r(), f(be, z({
3760
+ }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), b(xe, j({
3445
3761
  key: 1,
3446
3762
  modelValue: t.value,
3447
3763
  "onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
3448
3764
  }, l.$attrs, {
3449
3765
  "show-icon": !1,
3450
3766
  "show-on-focus": !0
3451
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(ae), z({
3767
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(u(ae), j({
3452
3768
  key: 2,
3453
3769
  modelValue: t.value,
3454
3770
  "onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
@@ -3457,19 +3773,19 @@ const pa = {
3457
3773
  "option-value": l.optionValue,
3458
3774
  "option-label": l.optionLabel
3459
3775
  }), {
3460
- value: y(({ value: p, placeholder: c }) => [
3461
- m("div", Fa, [
3776
+ value: g(({ value: p, placeholder: c }) => [
3777
+ m("div", Va, [
3462
3778
  m("span", {
3463
3779
  class: F({ "filter-placeholder": p === null })
3464
- }, k(a(p, c)), 3),
3465
- l.showClearButton && t.value !== null ? (r(), f(s, {
3780
+ }, B(a(p, c)), 3),
3781
+ l.showClearButton && t.value !== null ? (d(), b(s, {
3466
3782
  key: 0,
3467
- onClick: K(i, ["prevent"]),
3783
+ onClick: X(i, ["prevent"]),
3468
3784
  size: "small",
3469
3785
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3470
3786
  }, {
3471
- default: y(() => [
3472
- h(u(j), {
3787
+ default: g(() => [
3788
+ h(u(I), {
3473
3789
  icon: "bi:x",
3474
3790
  width: "1rem",
3475
3791
  height: "1rem",
@@ -3477,11 +3793,11 @@ const pa = {
3477
3793
  })
3478
3794
  ]),
3479
3795
  _: 1
3480
- })) : S("", !0)
3796
+ })) : C("", !0)
3481
3797
  ])
3482
3798
  ]),
3483
3799
  _: 1
3484
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (r(), f(u(oe), z({
3800
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), b(u(re), j({
3485
3801
  key: 3,
3486
3802
  modelValue: t.value,
3487
3803
  "onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
@@ -3491,20 +3807,20 @@ const pa = {
3491
3807
  "option-label": l.optionLabel,
3492
3808
  "option-value": l.optionValue,
3493
3809
  filter: ""
3494
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), f(u(ne), z({
3810
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), b(u(se), j({
3495
3811
  key: 4,
3496
3812
  modelValue: t.value,
3497
3813
  "onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p),
3498
3814
  modelModifiers: { trim: !0 }
3499
3815
  }, l.$attrs), null, 16, ["modelValue"])),
3500
- l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (r(), f(s, {
3816
+ l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (d(), b(s, {
3501
3817
  key: 5,
3502
- onClick: K(i, ["prevent"]),
3818
+ onClick: X(i, ["prevent"]),
3503
3819
  size: "small",
3504
3820
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3505
3821
  }, {
3506
- default: y(() => [
3507
- h(u(j), {
3822
+ default: g(() => [
3823
+ h(u(I), {
3508
3824
  icon: "bi:x",
3509
3825
  width: "1rem",
3510
3826
  height: "1rem",
@@ -3512,11 +3828,11 @@ const pa = {
3512
3828
  })
3513
3829
  ]),
3514
3830
  _: 1
3515
- })) : S("", !0)
3831
+ })) : C("", !0)
3516
3832
  ]);
3517
3833
  };
3518
3834
  }
3519
- }), de = {
3835
+ }), ce = {
3520
3836
  "application/prs.cww": ["cww"],
3521
3837
  "application/prs.xsf+xml": ["xsf"],
3522
3838
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -4215,8 +4531,8 @@ const pa = {
4215
4531
  "video/x-smv": ["smv"],
4216
4532
  "x-conference/x-cooltalk": ["ice"]
4217
4533
  };
4218
- Object.freeze(de);
4219
- const pe = {
4534
+ Object.freeze(ce);
4535
+ const ue = {
4220
4536
  "application/andrew-inset": ["ez"],
4221
4537
  "application/appinstaller": ["appinstaller"],
4222
4538
  "application/applixware": ["aw"],
@@ -4568,31 +4884,31 @@ const pe = {
4568
4884
  "video/quicktime": ["qt", "mov"],
4569
4885
  "video/webm": ["webm"]
4570
4886
  };
4571
- Object.freeze(pe);
4572
- var E = function(e, t, a, i) {
4887
+ Object.freeze(ue);
4888
+ var H = function(e, t, a, i) {
4573
4889
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
4574
4890
  if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4575
4891
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
4576
- }, G, Z, R;
4577
- class ye {
4892
+ }, K, ee, Y;
4893
+ class we {
4578
4894
  constructor(...t) {
4579
- G.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4895
+ K.set(this, /* @__PURE__ */ new Map()), ee.set(this, /* @__PURE__ */ new Map()), Y.set(this, /* @__PURE__ */ new Map());
4580
4896
  for (const a of t)
4581
4897
  this.define(a);
4582
4898
  }
4583
4899
  define(t, a = !1) {
4584
4900
  for (let [i, l] of Object.entries(t)) {
4585
- i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), E(this, R, "f").has(i) || E(this, R, "f").set(i, /* @__PURE__ */ new Set());
4586
- const n = E(this, R, "f").get(i);
4901
+ i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), H(this, Y, "f").has(i) || H(this, Y, "f").set(i, /* @__PURE__ */ new Set());
4902
+ const n = H(this, Y, "f").get(i);
4587
4903
  let o = !0;
4588
4904
  for (let s of l) {
4589
4905
  const p = s.startsWith("*");
4590
- if (s = p ? s.slice(1) : s, n == null || n.add(s), o && E(this, Z, "f").set(i, s), o = !1, p)
4906
+ if (s = p ? s.slice(1) : s, n == null || n.add(s), o && H(this, ee, "f").set(i, s), o = !1, p)
4591
4907
  continue;
4592
- const c = E(this, G, "f").get(s);
4908
+ const c = H(this, K, "f").get(s);
4593
4909
  if (c && c != i && !a)
4594
4910
  throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
4595
- E(this, G, "f").set(s, i);
4911
+ H(this, K, "f").set(s, i);
4596
4912
  }
4597
4913
  }
4598
4914
  return this;
@@ -4601,33 +4917,33 @@ class ye {
4601
4917
  if (typeof t != "string")
4602
4918
  return null;
4603
4919
  const a = t.replace(/^.*[/\\]/, "").toLowerCase(), i = a.replace(/^.*\./, "").toLowerCase(), l = a.length < t.length;
4604
- return !(i.length < a.length - 1) && l ? null : E(this, G, "f").get(i) ?? null;
4920
+ return !(i.length < a.length - 1) && l ? null : H(this, K, "f").get(i) ?? null;
4605
4921
  }
4606
4922
  getExtension(t) {
4607
4923
  var a;
4608
- return typeof t != "string" ? null : (t = (a = t == null ? void 0 : t.split) == null ? void 0 : a.call(t, ";")[0], (t && E(this, Z, "f").get(t.trim().toLowerCase())) ?? null);
4924
+ return typeof t != "string" ? null : (t = (a = t == null ? void 0 : t.split) == null ? void 0 : a.call(t, ";")[0], (t && H(this, ee, "f").get(t.trim().toLowerCase())) ?? null);
4609
4925
  }
4610
4926
  getAllExtensions(t) {
4611
- return typeof t != "string" ? null : E(this, R, "f").get(t.toLowerCase()) ?? null;
4927
+ return typeof t != "string" ? null : H(this, Y, "f").get(t.toLowerCase()) ?? null;
4612
4928
  }
4613
4929
  _freeze() {
4614
4930
  this.define = () => {
4615
4931
  throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
4616
4932
  }, Object.freeze(this);
4617
- for (const t of E(this, R, "f").values())
4933
+ for (const t of H(this, Y, "f").values())
4618
4934
  Object.freeze(t);
4619
4935
  return this;
4620
4936
  }
4621
4937
  _getTestState() {
4622
4938
  return {
4623
- types: E(this, G, "f"),
4624
- extensions: E(this, Z, "f")
4939
+ types: H(this, K, "f"),
4940
+ extensions: H(this, ee, "f")
4625
4941
  };
4626
4942
  }
4627
4943
  }
4628
- G = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4629
- const Ba = new ye(pe, de)._freeze();
4630
- function xe(e, t, a, i) {
4944
+ K = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
4945
+ const Da = new we(ue, ce)._freeze();
4946
+ function ke(e, t, a, i) {
4631
4947
  const l = t.flatMap((n) => n.file);
4632
4948
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
4633
4949
  const o = l.findIndex((p) => p.name === n.name);
@@ -4639,10 +4955,10 @@ function xe(e, t, a, i) {
4639
4955
  })) : t[o].status = "Duplicate";
4640
4956
  }), t;
4641
4957
  }
4642
- async function Sa(e, t) {
4958
+ async function Oa(e, t) {
4643
4959
  if (e === "Uploaded" && t !== null)
4644
4960
  try {
4645
- await new ve(t).delete();
4961
+ await new ge(t).delete();
4646
4962
  } catch (a) {
4647
4963
  if (a !== "BlobNotFound") {
4648
4964
  e = "DeleteFileFailed";
@@ -4650,7 +4966,7 @@ async function Sa(e, t) {
4650
4966
  }
4651
4967
  }
4652
4968
  }
4653
- function ce(e, t = !0, a = 1) {
4969
+ function me(e, t = !0, a = 1) {
4654
4970
  const i = t ? 1e3 : 1024;
4655
4971
  if (Math.abs(e) < i)
4656
4972
  return e + " B";
@@ -4662,22 +4978,22 @@ function ce(e, t = !0, a = 1) {
4662
4978
  while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
4663
4979
  return e.toFixed(a) + " " + l[n];
4664
4980
  }
4665
- function Ca(e) {
4981
+ function Na(e) {
4666
4982
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4667
4983
  }
4668
- function za(e) {
4984
+ function Aa(e) {
4669
4985
  return URL.createObjectURL(e);
4670
4986
  }
4671
- function Ta() {
4672
- const e = new ye(pe, de);
4987
+ function Ea() {
4988
+ const e = new we(ue, ce);
4673
4989
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4674
4990
  }
4675
- const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disabled", "multiple"], Ia = {
4991
+ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disabled", "multiple"], La = {
4676
4992
  class: "text-break accepted-file-types-container",
4677
4993
  id: "accepted-file-types-overlay"
4678
- }, Pa = /* @__PURE__ */ $({
4994
+ }, Ra = /* @__PURE__ */ S({
4679
4995
  __name: "UploadButton",
4680
- props: /* @__PURE__ */ U({
4996
+ props: /* @__PURE__ */ R({
4681
4997
  acceptedFileTypes: {},
4682
4998
  maxFileInput: {},
4683
4999
  showDragDropArea: { type: Boolean }
@@ -4687,13 +5003,13 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4687
5003
  }),
4688
5004
  emits: ["update:modelValue"],
4689
5005
  setup(e) {
4690
- const t = D(e, "modelValue"), a = I(), i = (o) => a.value.toggle(o), l = T(() => e.maxFileInput <= t.value.length), n = (o) => {
4691
- t.value = xe(o, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
5006
+ const t = N(e, "modelValue"), a = P(), i = (o) => a.value.toggle(o), l = T(() => e.maxFileInput <= t.value.length), n = (o) => {
5007
+ t.value = ke(o, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
4692
5008
  };
4693
5009
  return (o, s) => {
4694
- const p = A;
4695
- return r(), v("div", ja, [
4696
- w(o.$slots, "message"),
5010
+ const p = q;
5011
+ return d(), v("div", Ua, [
5012
+ k(o.$slots, "message"),
4697
5013
  m("div", null, [
4698
5014
  m("input", {
4699
5015
  id: "file-input",
@@ -4703,57 +5019,57 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4703
5019
  disabled: l.value,
4704
5020
  multiple: o.maxFileInput > 1,
4705
5021
  onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
4706
- }, null, 40, _a),
5022
+ }, null, 40, qa),
4707
5023
  m("label", {
4708
5024
  class: F([{ disabled: l.value }, "btn btn-primary"]),
4709
5025
  id: "file-input-button",
4710
5026
  for: "file-input"
4711
5027
  }, [
4712
- w(o.$slots, "button-content", {}, () => [
4713
- h(u(j), {
5028
+ k(o.$slots, "button-content", {}, () => [
5029
+ h(u(I), {
4714
5030
  icon: "bi:upload",
4715
5031
  class: "me-2",
4716
5032
  height: "20px",
4717
5033
  width: "20px"
4718
5034
  }),
4719
- s[1] || (s[1] = _(" Browse your computer "))
5035
+ s[1] || (s[1] = M(" Browse your computer "))
4720
5036
  ])
4721
5037
  ], 2)
4722
5038
  ]),
4723
- o.showDragDropArea ? (r(), f(p, {
5039
+ o.showDragDropArea ? (d(), b(p, {
4724
5040
  link: "",
4725
5041
  class: "ms-auto",
4726
5042
  key: o.acceptedFileTypes.length,
4727
5043
  id: "accepted-file-types",
4728
5044
  onClick: i
4729
5045
  }, {
4730
- default: y(() => s[2] || (s[2] = [
4731
- _("Accepted File Types")
5046
+ default: g(() => s[2] || (s[2] = [
5047
+ M("Accepted File Types")
4732
5048
  ])),
4733
5049
  _: 1
4734
- })) : S("", !0),
4735
- h(u(fe), {
5050
+ })) : C("", !0),
5051
+ h(u(be), {
4736
5052
  ref_key: "acceptedFilesOverlay",
4737
5053
  ref: a
4738
5054
  }, {
4739
- default: y(() => [
4740
- m("div", Ia, k(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5055
+ default: g(() => [
5056
+ m("div", La, B(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
4741
5057
  ]),
4742
5058
  _: 1
4743
5059
  }, 512)
4744
5060
  ]);
4745
5061
  };
4746
5062
  }
4747
- }), Va = {
5063
+ }), Ha = {
4748
5064
  key: 0,
4749
5065
  class: "py-4 px-3",
4750
5066
  id: "placeholder-message"
4751
- }, Ma = {
5067
+ }, Wa = {
4752
5068
  key: 1,
4753
5069
  class: "d-flex flex-column"
4754
- }, Da = /* @__PURE__ */ $({
5070
+ }, Ga = /* @__PURE__ */ S({
4755
5071
  __name: "DragDropArea",
4756
- props: /* @__PURE__ */ U({
5072
+ props: /* @__PURE__ */ R({
4757
5073
  maxFileInput: {},
4758
5074
  maxFileSize: {},
4759
5075
  acceptedFileTypes: {}
@@ -4763,30 +5079,30 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4763
5079
  }),
4764
5080
  emits: ["update:modelValue"],
4765
5081
  setup(e) {
4766
- const t = D(e, "modelValue"), a = I(!1), i = T(() => e.maxFileInput <= t.value.length), l = (n) => {
4767
- a.value = !1, n.dataTransfer.files.length > e.maxFileInput || i.value ? n.preventDefault() : t.value = xe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((o) => o.fileType), e.maxFileSize);
5082
+ const t = N(e, "modelValue"), a = P(!1), i = T(() => e.maxFileInput <= t.value.length), l = (n) => {
5083
+ a.value = !1, n.dataTransfer.files.length > e.maxFileInput || i.value ? n.preventDefault() : t.value = ke([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((o) => o.fileType), e.maxFileSize);
4768
5084
  };
4769
- return (n, o) => (r(), v("div", {
5085
+ return (n, o) => (d(), v("div", {
4770
5086
  id: "drag-drop-area",
4771
5087
  class: F(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
4772
- onDragleave: o[0] || (o[0] = K((s) => a.value = !1, ["prevent"])),
4773
- onDragover: o[1] || (o[1] = K((s) => a.value = !0, ["prevent"])),
4774
- onDrop: K(l, ["prevent"])
5088
+ onDragleave: o[0] || (o[0] = X((s) => a.value = !1, ["prevent"])),
5089
+ onDragover: o[1] || (o[1] = X((s) => a.value = !0, ["prevent"])),
5090
+ onDrop: X(l, ["prevent"])
4775
5091
  }, [
4776
- t.value.length === 0 ? (r(), v("div", Va, [
4777
- h(u(j), {
5092
+ t.value.length === 0 ? (d(), v("div", Ha, [
5093
+ h(u(I), {
4778
5094
  icon: "bi:upload",
4779
5095
  class: "me-2",
4780
5096
  height: "20px",
4781
5097
  width: "20px"
4782
5098
  }),
4783
- o[2] || (o[2] = _(" Drag and drop files here "))
4784
- ])) : (r(), v("div", Ma, [
4785
- w(n.$slots, "default")
5099
+ o[2] || (o[2] = M(" Drag and drop files here "))
5100
+ ])) : (d(), v("div", Wa, [
5101
+ k(n.$slots, "default")
4786
5102
  ]))
4787
5103
  ], 34));
4788
5104
  }
4789
- }), Oa = { class: "d-flex align-items-center me-2" }, Na = /* @__PURE__ */ $({
5105
+ }), Ya = { class: "d-flex align-items-center me-2" }, Ja = /* @__PURE__ */ S({
4790
5106
  __name: "UploadStatus",
4791
5107
  props: {
4792
5108
  fileSize: {},
@@ -4800,7 +5116,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4800
5116
  case "InvalidFileType":
4801
5117
  return "Upload Failed: File type is not accepted.";
4802
5118
  case "InvalidFileSize":
4803
- return `Upload Failed: File size exceeds the ${ce(t.maxFileSize)} limit.`;
5119
+ return `Upload Failed: File size exceeds the ${me(t.maxFileSize)} limit.`;
4804
5120
  case "Aborted":
4805
5121
  return "Upload Failed: User cancelled.";
4806
5122
  case "DeleteFileFailed":
@@ -4812,35 +5128,35 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4812
5128
  }
4813
5129
  });
4814
5130
  return (l, n) => {
4815
- const o = re;
4816
- return r(), v("div", Oa, [
4817
- t.uploadStatus === "Uploading" ? (r(), f(o, { key: 0 })) : S("", !0),
4818
- t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (r(), f(se, {
5131
+ const o = pe;
5132
+ return d(), v("div", Ya, [
5133
+ t.uploadStatus === "Uploading" ? (d(), b(o, { key: 0 })) : C("", !0),
5134
+ t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (d(), b(de, {
4819
5135
  key: 1,
4820
5136
  id: "upload-status-alert",
4821
5137
  severity: a.value,
4822
5138
  class: "mb-0 w-75 ms-auto"
4823
5139
  }, {
4824
- default: y(() => [
4825
- _(k(i.value), 1)
5140
+ default: g(() => [
5141
+ M(B(i.value), 1)
4826
5142
  ]),
4827
5143
  _: 1
4828
- }, 8, ["severity"])) : S("", !0)
5144
+ }, 8, ["severity"])) : C("", !0)
4829
5145
  ]);
4830
5146
  };
4831
5147
  }
4832
- }), Ua = ["data-cy"], Aa = { class: "ms-3 d-flex flex-column" }, qa = {
5148
+ }), Ka = ["data-cy"], Za = { class: "ms-3 d-flex flex-column" }, Xa = {
4833
5149
  key: 1,
4834
5150
  id: "file-name"
4835
- }, Ea = {
5151
+ }, Qa = {
4836
5152
  class: "text-black-50",
4837
5153
  id: "file-type"
4838
- }, La = {
5154
+ }, ei = {
4839
5155
  class: "text-black-50",
4840
5156
  id: "file-size"
4841
- }, Ra = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, Ha = /* @__PURE__ */ $({
5157
+ }, ti = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ai = /* @__PURE__ */ S({
4842
5158
  __name: "FileInfo",
4843
- props: /* @__PURE__ */ U({
5159
+ props: /* @__PURE__ */ R({
4844
5160
  editableFileName: { type: Boolean },
4845
5161
  acceptedFileTypes: {},
4846
5162
  maxFileSize: {},
@@ -4855,64 +5171,64 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4855
5171
  uploadStatus: { required: !0 },
4856
5172
  uploadStatusModifiers: {}
4857
5173
  }),
4858
- emits: /* @__PURE__ */ U(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5174
+ emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
4859
5175
  setup(e, { emit: t }) {
4860
- const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), n = t, o = I(a.value.name), s = I(""), p = I(0), c = I(), g = T(() => e.acceptedFileTypes.some(({ fileType: b }) => b === a.value.type)), d = T(() => a.value.size <= e.maxFileSize), B = T(() => a.value.type ? a.value.type : Ta().getType(a.value.name)), C = () => {
4861
- o.value != null && (V(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
4862
- }, V = () => {
4863
- let b = o.value.split("."), x = Ba.getExtension(B.value), P = o.value.split(".").pop();
4864
- b.length === 1 ? P && P.length > 0 && (o.value = [o.value, x].join(".")) : b.length > 1 && P !== x && (o.value = o.value.replace(P, x));
4865
- }, M = async () => {
4866
- if (!g.value || !d.value) {
4867
- l.value = g.value ? "InvalidFileSize" : "InvalidFileType";
5176
+ const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = P(a.value.name), s = P(""), p = P(0), c = P(), y = T(() => e.acceptedFileTypes.some(({ fileType: x }) => x === a.value.type)), r = T(() => a.value.size <= e.maxFileSize), $ = T(() => a.value.type ? a.value.type : Ea().getType(a.value.name)), z = () => {
5177
+ o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5178
+ }, D = () => {
5179
+ let x = o.value.split("."), w = Da.getExtension($.value), _ = o.value.split(".").pop();
5180
+ x.length === 1 ? _ && _.length > 0 && (o.value = [o.value, w].join(".")) : x.length > 1 && _ !== w && (o.value = o.value.replace(_, w));
5181
+ }, O = async () => {
5182
+ if (!y.value || !r.value) {
5183
+ l.value = y.value ? "InvalidFileSize" : "InvalidFileType";
4868
5184
  return;
4869
5185
  }
4870
5186
  l.value = "Preparing", c.value = new AbortController();
4871
- const [b, x] = await e.getFileUrlAction(a.value.name);
4872
- if (!b) {
5187
+ const [x, w] = await e.getFileUrlAction(a.value.name);
5188
+ if (!x) {
4873
5189
  l.value = "Failed";
4874
5190
  return;
4875
5191
  }
4876
5192
  try {
4877
5193
  l.value = "Uploading";
4878
- const P = new ve(b), L = {
5194
+ const _ = new ge(x), f = {
4879
5195
  abortSignal: c.value.signal,
4880
- onProgress: (ie) => p.value = ie.loadedBytes,
5196
+ onProgress: (V) => p.value = V.loadedBytes,
4881
5197
  blobHTTPHeaders: {
4882
- blobContentType: B.value,
5198
+ blobContentType: $.value,
4883
5199
  blobContentDisposition: `attachment; filename="${a.value.name}"`
4884
5200
  },
4885
5201
  tags: { temp: "true" }
4886
5202
  };
4887
- await P.uploadData(a.value, L), s.value = b, l.value = "Uploaded", i.value = x;
4888
- } catch (P) {
4889
- if (P.name === "AbortError") {
5203
+ await _.uploadData(a.value, f), s.value = x, l.value = "Uploaded", i.value = w;
5204
+ } catch (_) {
5205
+ if (_.name === "AbortError") {
4890
5206
  l.value = "Aborted";
4891
5207
  return;
4892
5208
  }
4893
5209
  l.value = "Failed";
4894
5210
  }
4895
- }, q = async () => {
4896
- await Sa(l.value, s.value), n("deleted", a.value);
5211
+ }, A = async () => {
5212
+ await Oa(l.value, s.value), n("deleted", a.value);
4897
5213
  };
4898
- return le(() => {
4899
- e.autoUploadToBlob && l.value != "Uploaded" && M();
4900
- }), (b, x) => {
4901
- const P = A;
4902
- return r(), v("div", {
5214
+ return ne(() => {
5215
+ e.autoUploadToBlob && l.value != "Uploaded" && O();
5216
+ }), (x, w) => {
5217
+ const _ = q;
5218
+ return d(), v("div", {
4903
5219
  class: "py-4 px-3 d-flex",
4904
5220
  "data-cy": `file-info-${a.value.name}`
4905
5221
  }, [
4906
5222
  m("div", null, [
4907
- u(Ca)(a.value.type) ? (r(), f(u(Le), {
5223
+ u(Na)(a.value.type) ? (d(), b(u(Ye), {
4908
5224
  key: 0,
4909
5225
  id: "thumbnail-image",
4910
5226
  "image-class": "image-file-thumbnail border",
4911
- src: u(za)(a.value),
5227
+ src: u(Aa)(a.value),
4912
5228
  alt: a.value.name,
4913
5229
  width: "75px",
4914
5230
  preview: ""
4915
- }, null, 8, ["src", "alt"])) : (r(), f(u(j), {
5231
+ }, null, 8, ["src", "alt"])) : (d(), b(u(I), {
4916
5232
  key: 1,
4917
5233
  id: "file-earmark",
4918
5234
  icon: "bi:file-earmark",
@@ -4920,80 +5236,80 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4920
5236
  width: "75px"
4921
5237
  }))
4922
5238
  ]),
4923
- m("div", Aa, [
5239
+ m("div", Za, [
4924
5240
  m("div", null, [
4925
- b.editableFileName ? (r(), f(Ut, {
5241
+ x.editableFileName ? (d(), b(Ht, {
4926
5242
  key: 0,
4927
5243
  id: "edit-file-name",
4928
5244
  modelValue: o.value,
4929
- "onUpdate:modelValue": x[0] || (x[0] = (L) => o.value = L),
4930
- rules: b.customFileNameRules,
5245
+ "onUpdate:modelValue": w[0] || (w[0] = (f) => o.value = f),
5246
+ rules: x.customFileNameRules,
4931
5247
  name: a.value.name,
4932
- "complete-action": C
4933
- }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", qa, k(o.value), 1))
5248
+ "complete-action": z
5249
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), v("span", Xa, B(o.value), 1))
4934
5250
  ]),
4935
- m("span", Ea, "File type: " + k(a.value.type.split("/").pop()), 1),
4936
- m("span", La, "File size: " + k(u(ce)(a.value.size)), 1)
5251
+ m("span", Qa, "File type: " + B(a.value.type.split("/").pop()), 1),
5252
+ m("span", ei, "File size: " + B(u(me)(a.value.size)), 1)
4937
5253
  ]),
4938
- m("div", Ra, [
4939
- (r(), f(Na, {
5254
+ m("div", ti, [
5255
+ (d(), b(Ja, {
4940
5256
  key: l.value,
4941
5257
  "file-size": a.value.size,
4942
5258
  "upload-status": l.value,
4943
5259
  "bytes-uploaded": p.value,
4944
- "max-file-size": b.maxFileSize
5260
+ "max-file-size": x.maxFileSize
4945
5261
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
4946
- l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (r(), f(P, {
5262
+ l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (d(), b(_, {
4947
5263
  key: 0,
4948
5264
  link: "",
4949
- onClick: M
5265
+ onClick: O
4950
5266
  }, {
4951
- default: y(() => [
4952
- h(u(j), {
5267
+ default: g(() => [
5268
+ h(u(I), {
4953
5269
  icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
4954
5270
  }, null, 8, ["icon"])
4955
5271
  ]),
4956
5272
  _: 1
4957
- })) : S("", !0),
4958
- l.value === "Uploading" ? (r(), f(P, {
5273
+ })) : C("", !0),
5274
+ l.value === "Uploading" ? (d(), b(_, {
4959
5275
  key: 1,
4960
5276
  link: "",
4961
- onClick: x[1] || (x[1] = (L) => c.value.abort())
5277
+ onClick: w[1] || (w[1] = (f) => c.value.abort())
4962
5278
  }, {
4963
- default: y(() => [
4964
- h(u(j), { icon: "bi:x-circle-fill" })
5279
+ default: g(() => [
5280
+ h(u(I), { icon: "bi:x-circle-fill" })
4965
5281
  ]),
4966
5282
  _: 1
4967
- })) : (r(), f(P, {
5283
+ })) : (d(), b(_, {
4968
5284
  key: 2,
4969
5285
  link: "",
4970
- onClick: q,
5286
+ onClick: A,
4971
5287
  id: "delete-button"
4972
5288
  }, {
4973
- default: y(() => [
4974
- h(u(j), { icon: "bi:trash" })
5289
+ default: g(() => [
5290
+ h(u(I), { icon: "bi:trash" })
4975
5291
  ]),
4976
5292
  _: 1
4977
5293
  }))
4978
5294
  ])
4979
- ], 8, Ua);
5295
+ ], 8, Ka);
4980
5296
  };
4981
5297
  }
4982
- }), Wa = { class: "d-flex justify-content-end mt-1 gap-1" }, Ya = { id: "max-file-size" }, Ga = { id: "max-file-input" }, Ja = /* @__PURE__ */ $({
5298
+ }), ii = { class: "d-flex justify-content-end mt-1 gap-1" }, li = { id: "max-file-size" }, ni = { id: "max-file-input" }, oi = /* @__PURE__ */ S({
4983
5299
  __name: "FileInputInfo",
4984
5300
  props: {
4985
5301
  maxFileSize: {},
4986
5302
  maxFileInput: {}
4987
5303
  },
4988
5304
  setup(e) {
4989
- return (t, a) => (r(), v("div", Wa, [
4990
- m("div", Ya, "Max file size: " + k(u(ce)(t.maxFileSize)), 1),
4991
- m("div", Ga, "| Max file count: " + k(t.maxFileInput), 1)
5305
+ return (t, a) => (d(), v("div", ii, [
5306
+ m("div", li, "Max file size: " + B(u(me)(t.maxFileSize)), 1),
5307
+ m("div", ni, "| Max file count: " + B(t.maxFileInput), 1)
4992
5308
  ]));
4993
5309
  }
4994
- }), Ka = { "data-cy": "file-uploader" }, Za = { key: 0 }, al = /* @__PURE__ */ $({
5310
+ }), si = { "data-cy": "file-uploader" }, ri = { key: 0 }, fl = /* @__PURE__ */ S({
4995
5311
  __name: "ForgeFileUploader",
4996
- props: /* @__PURE__ */ U({
5312
+ props: /* @__PURE__ */ R({
4997
5313
  acceptedFileTypes: {},
4998
5314
  maxFileSize: {},
4999
5315
  getFileUrlAction: {},
@@ -5008,25 +5324,25 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5008
5324
  }),
5009
5325
  emits: ["update:modelValue"],
5010
5326
  setup(e) {
5011
- const t = D(e, "modelValue"), a = e, i = (l) => {
5327
+ const t = N(e, "modelValue"), a = e, i = (l) => {
5012
5328
  t.value = t.value.filter((n) => n.file != l);
5013
5329
  };
5014
- return (l, n) => (r(), v("div", Ka, [
5015
- h(Pa, z(a, {
5330
+ return (l, n) => (d(), v("div", si, [
5331
+ h(Ra, j(a, {
5016
5332
  modelValue: t.value,
5017
5333
  "onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
5018
5334
  }), null, 16, ["modelValue"]),
5019
- l.showDragDropArea ? (r(), v("div", Za, [
5020
- h(Da, {
5335
+ l.showDragDropArea ? (d(), v("div", ri, [
5336
+ h(Ga, {
5021
5337
  "max-file-input": a.maxFileInput,
5022
5338
  "max-file-size": a.maxFileSize,
5023
5339
  "accepted-file-types": a.acceptedFileTypes,
5024
5340
  modelValue: t.value,
5025
5341
  "onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o)
5026
5342
  }, {
5027
- default: y(() => [
5028
- (r(!0), v(O, null, N(t.value, ({ file: o }, s) => (r(), v("div", null, [
5029
- (r(), f(Ha, z({
5343
+ default: g(() => [
5344
+ (d(!0), v(E, null, U(t.value, ({ file: o }, s) => (d(), v("div", null, [
5345
+ (d(), b(ai, j({
5030
5346
  key: o.name,
5031
5347
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5032
5348
  file: t.value[s].file,
@@ -5041,14 +5357,14 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5041
5357
  ]),
5042
5358
  _: 1
5043
5359
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5044
- h(Ja, {
5360
+ h(oi, {
5045
5361
  "max-file-size": a.maxFileSize,
5046
5362
  "max-file-input": l.maxFileInput
5047
5363
  }, null, 8, ["max-file-size", "max-file-input"])
5048
- ])) : S("", !0)
5364
+ ])) : C("", !0)
5049
5365
  ]));
5050
5366
  }
5051
- }), Xa = { class: "d-flex" }, Qa = { class: "me-3" }, ei = { class: "ms-2" }, ti = { class: "d-flex flex-column w-100" }, il = /* @__PURE__ */ $({
5367
+ }), di = { class: "d-flex" }, pi = { class: "me-3" }, ci = { class: "ms-2" }, ui = { class: "d-flex flex-column w-100" }, gl = /* @__PURE__ */ S({
5052
5368
  __name: "ForgeColumnCustomiser",
5053
5369
  props: {
5054
5370
  modelValue: { required: !0 },
@@ -5056,22 +5372,22 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5056
5372
  },
5057
5373
  emits: ["update:modelValue"],
5058
5374
  setup(e) {
5059
- const t = D(e, "modelValue"), a = I(), i = I(!1), l = (n) => {
5375
+ const t = N(e, "modelValue"), a = P(), i = P(!1), l = (n) => {
5060
5376
  a.value.toggle(n);
5061
5377
  };
5062
- return (n, o) => (r(), v(O, null, [
5063
- h(u(A), {
5378
+ return (n, o) => (d(), v(E, null, [
5379
+ h(u(q), {
5064
5380
  onClick: l,
5065
5381
  class: "ms-2"
5066
5382
  }, {
5067
- default: y(() => [
5068
- m("div", Xa, [
5069
- m("div", Qa, [
5070
- h(u(j), { icon: "bi:layout-three-columns" })
5383
+ default: g(() => [
5384
+ m("div", di, [
5385
+ m("div", pi, [
5386
+ h(u(I), { icon: "bi:layout-three-columns" })
5071
5387
  ]),
5072
- _(" Columns (" + k(t.value.filter((s) => s.selected).length ?? 0) + "/" + k(t.value.length ?? 0) + ") ", 1),
5073
- m("div", ei, [
5074
- h(u(j), {
5388
+ M(" Columns (" + B(t.value.filter((s) => s.selected).length ?? 0) + "/" + B(t.value.length ?? 0) + ") ", 1),
5389
+ m("div", ci, [
5390
+ h(u(I), {
5075
5391
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5076
5392
  }, null, 8, ["icon"])
5077
5393
  ])
@@ -5079,16 +5395,16 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5079
5395
  ]),
5080
5396
  _: 1
5081
5397
  }),
5082
- h(u(fe), {
5398
+ h(u(be), {
5083
5399
  ref_key: "columnCustomiserPanel",
5084
5400
  ref: a,
5085
5401
  class: "column-customiser",
5086
5402
  onHide: o[0] || (o[0] = () => i.value = !1),
5087
5403
  onShow: o[1] || (o[1] = () => i.value = !0)
5088
5404
  }, {
5089
- default: y(() => [
5090
- m("div", ti, [
5091
- (r(!0), v(O, null, N(t.value, (s, p) => (r(), v("div", {
5405
+ default: g(() => [
5406
+ m("div", ui, [
5407
+ (d(!0), v(E, null, U(t.value, (s, p) => (d(), v("div", {
5092
5408
  class: F(["d-flex cursor-pointer", {
5093
5409
  "border-top": p !== 0,
5094
5410
  "py-1": p !== 0 && t.value.length - 1 !== p,
@@ -5096,7 +5412,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5096
5412
  "pb-1": p === 0
5097
5413
  }])
5098
5414
  }, [
5099
- h(ge, {
5415
+ h(ye, {
5100
5416
  id: s.field,
5101
5417
  modelValue: s.selected,
5102
5418
  "onUpdate:modelValue": (c) => s.selected = c,
@@ -5111,19 +5427,19 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5111
5427
  }, 512)
5112
5428
  ], 64));
5113
5429
  }
5114
- }), ll = /* @__PURE__ */ $({
5430
+ }), bl = /* @__PURE__ */ S({
5115
5431
  __name: "ForgePanel",
5116
5432
  setup(e) {
5117
5433
  return (t, a) => {
5118
- const i = Re;
5119
- return r(), f(i, W(Y({ ...t.$attrs })), ee({
5120
- toggleicon: y(({ collapsed: l }) => [
5121
- l ? (r(), f(u(j), {
5434
+ const i = Je;
5435
+ return d(), b(i, W(G({ ...t.$attrs })), te({
5436
+ toggleicon: g(({ collapsed: l }) => [
5437
+ l ? (d(), b(u(I), {
5122
5438
  key: 0,
5123
5439
  "data-cy": "message-icon",
5124
5440
  icon: "bi:chevron-down"
5125
- })) : S("", !0),
5126
- l ? S("", !0) : (r(), f(u(j), {
5441
+ })) : C("", !0),
5442
+ l ? C("", !0) : (d(), b(u(I), {
5127
5443
  key: 1,
5128
5444
  "data-cy": "message-icon",
5129
5445
  icon: "bi:chevron-up"
@@ -5131,16 +5447,16 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5131
5447
  ]),
5132
5448
  _: 2
5133
5449
  }, [
5134
- N(t.$slots, (l, n) => ({
5450
+ U(t.$slots, (l, n) => ({
5135
5451
  name: n,
5136
- fn: y((o) => [
5137
- w(t.$slots, n, W(Y(o)))
5452
+ fn: g((o) => [
5453
+ k(t.$slots, n, W(G(o)))
5138
5454
  ])
5139
5455
  }))
5140
5456
  ]), 1040);
5141
5457
  };
5142
5458
  }
5143
- }), ai = /* @__PURE__ */ $({
5459
+ }), mi = /* @__PURE__ */ S({
5144
5460
  __name: "ForgeToggleButton",
5145
5461
  props: {
5146
5462
  severity: { default: "primary" }
@@ -5167,17 +5483,17 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5167
5483
  ]
5168
5484
  })
5169
5485
  }));
5170
- return (i, l) => (r(), f(u(He), z({ ...i.$attrs, ...t }, {
5486
+ return (i, l) => (d(), b(u(Ke), j({ ...i.$attrs, ...t }, {
5171
5487
  severity: t.severity,
5172
5488
  pt: a.value
5173
5489
  }), null, 16, ["severity", "pt"]));
5174
5490
  }
5175
- }), ii = {
5491
+ }), vi = {
5176
5492
  class: "btn-group",
5177
5493
  "data-cy": "forge-select-button"
5178
- }, nl = /* @__PURE__ */ $({
5494
+ }, yl = /* @__PURE__ */ S({
5179
5495
  __name: "ForgeSelectButton",
5180
- props: /* @__PURE__ */ U({
5496
+ props: /* @__PURE__ */ R({
5181
5497
  options: {},
5182
5498
  multiple: { type: Boolean, default: !0 },
5183
5499
  allowEmpty: { type: Boolean, default: !1 },
@@ -5188,7 +5504,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5188
5504
  }),
5189
5505
  emits: ["update:modelValue"],
5190
5506
  setup(e) {
5191
- const t = e, a = D(e, "modelValue"), i = (n) => {
5507
+ const t = e, a = N(e, "modelValue"), i = (n) => {
5192
5508
  var o;
5193
5509
  return t.multiple ? (o = a == null ? void 0 : a.value) == null ? void 0 : o.includes(n.value) : a.value === n.value;
5194
5510
  }, l = (n) => {
@@ -5205,8 +5521,8 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5205
5521
  } else
5206
5522
  a.value = a.value === n.value && t.allowEmpty ? null : n.value;
5207
5523
  };
5208
- return (n, o) => (r(), v("div", ii, [
5209
- (r(!0), v(O, null, N(n.options, (s, p) => (r(), f(ai, {
5524
+ return (n, o) => (d(), v("div", vi, [
5525
+ (d(!0), v(E, null, U(n.options, (s, p) => (d(), b(mi, {
5210
5526
  key: p,
5211
5527
  onLabel: s.label,
5212
5528
  offLabel: s.label,
@@ -5219,7 +5535,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5219
5535
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5220
5536
  ]));
5221
5537
  }
5222
- }), ol = () => ({
5538
+ }), xl = () => ({
5223
5539
  type: "component",
5224
5540
  resolve: (e) => {
5225
5541
  if (e.startsWith("Forge"))
@@ -5230,37 +5546,38 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5230
5546
  }
5231
5547
  });
5232
5548
  export {
5233
- Di as Bootstrap_PT,
5234
- Oi as ForgeActionButton,
5235
- se as ForgeAlert,
5236
- Ni as ForgeAutoComplete,
5237
- ge as ForgeCheckbox,
5238
- Gi as ForgeChip,
5239
- il as ForgeColumnCustomiser,
5240
- be as ForgeDatepicker,
5241
- al as ForgeFileUploader,
5242
- tl as ForgeFilterHeader,
5243
- Wi as ForgeForm,
5244
- Yi as ForgeFormField,
5245
- Ut as ForgeInlineEditor,
5246
- Ui as ForgeLink,
5247
- re as ForgeLoader,
5248
- Ei as ForgeModal,
5249
- Ht as ForgeMultiSelectPreview,
5250
- Li as ForgeNavbar,
5251
- Ri as ForgePageHeader,
5252
- ll as ForgePanel,
5253
- Ji as ForgeProgressBar,
5254
- Hi as ForgeRemainingCharacters,
5255
- ol as ForgeResolver,
5256
- Ki as ForgeScratchpad,
5257
- nl as ForgeSelectButton,
5258
- Zi as ForgeStatWidget,
5259
- Xi as ForgeStepper,
5260
- el as ForgeTable,
5261
- Qi as ForgeTile,
5262
- ai as ForgeToggleButton,
5263
- qi as convertToMultiSelectOption,
5264
- Ai as enumToMultiSelectList,
5265
- jt as parseError
5549
+ Yi as Bootstrap_PT,
5550
+ Ji as ForgeActionButton,
5551
+ de as ForgeAlert,
5552
+ Ki as ForgeAutoComplete,
5553
+ ye as ForgeCheckbox,
5554
+ ol as ForgeChip,
5555
+ gl as ForgeColumnCustomiser,
5556
+ xe as ForgeDatepicker,
5557
+ fl as ForgeFileUploader,
5558
+ vl as ForgeFilterHeader,
5559
+ ll as ForgeForm,
5560
+ nl as ForgeFormField,
5561
+ Ht as ForgeInlineEditor,
5562
+ Zi as ForgeLink,
5563
+ pe as ForgeLoader,
5564
+ el as ForgeModal,
5565
+ Zt as ForgeMultiSelectPreview,
5566
+ tl as ForgeNavbar,
5567
+ al as ForgePageHeader,
5568
+ bl as ForgePanel,
5569
+ sl as ForgeProgressBar,
5570
+ il as ForgeRemainingCharacters,
5571
+ xl as ForgeResolver,
5572
+ rl as ForgeScratchpad,
5573
+ yl as ForgeSelectButton,
5574
+ dl as ForgeStatWidget,
5575
+ pl as ForgeStepper,
5576
+ ul as ForgeTable,
5577
+ cl as ForgeTile,
5578
+ mi as ForgeToggleButton,
5579
+ ml as ForgeTreeTable,
5580
+ Qi as convertToMultiSelectOption,
5581
+ Xi as enumToMultiSelectList,
5582
+ Dt as parseError
5266
5583
  };