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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,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;
253
- return {
263
+ var t, a;
264
+ return console.log(e.parent.props.resizableColumns), {
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 },
@@ -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: {},
@@ -2015,37 +2056,38 @@ const _t = { key: 0 }, It = {
2015
2056
  }),
2016
2057
  emits: ["update:modelValue"],
2017
2058
  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, {
2059
+ const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: l, handleChange: n, handleBlur: o, setValue: s } = oe(() => t.name, void 0, {
2019
2060
  initialValue: a.value
2020
2061
  }), p = () => {
2021
2062
  s(null), a.value = null;
2022
- }, c = T(() => i.value.length > 0), g = T(() => ({
2023
- dayCell: ({ context: d }) => ({
2063
+ }, c = T(() => i.value.length > 0), y = T(() => ({
2064
+ dayCell: ({ context: r }) => ({
2024
2065
  class: [
2025
2066
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
2026
2067
  {
2027
- "cursor-pointer": !d.disabled,
2028
- "pe-none": d.disabled,
2029
- "text-white": d.selected
2068
+ "cursor-pointer": !r.disabled,
2069
+ "pe-none": r.disabled,
2070
+ "text-white": r.selected
2030
2071
  },
2031
2072
  // Severities
2032
2073
  {
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"
2074
+ selected: r.selected && !r.disabled,
2075
+ "text-primary": !r.selected && r.today && (t.severity === void 0 || t.severity === "primary"),
2076
+ "text-brand": !r.selected && r.today && t.severity === "brand",
2077
+ "text-secondary": !r.selected && r.today && t.severity === "secondary",
2078
+ "text-success": !r.selected && r.today && t.severity === "success",
2079
+ "text-success-alternate": !r.selected && r.today && t.severity === "success-alternate",
2080
+ "text-warning": !r.selected && r.today && t.severity === "warning",
2081
+ "text-danger": !r.selected && r.today && t.severity === "danger",
2082
+ "text-info": !r.selected && r.today && t.severity === "info"
2041
2083
  }
2042
2084
  ]
2043
2085
  }),
2044
- dayLabel: ({ context: d }) => ({
2086
+ dayLabel: ({ context: r }) => ({
2045
2087
  class: [
2046
2088
  // Disabled States
2047
2089
  {
2048
- "text-muted": d.disabled
2090
+ "text-muted": r.disabled
2049
2091
  }
2050
2092
  ]
2051
2093
  }),
@@ -2058,6 +2100,7 @@ const _t = { key: 0 }, It = {
2058
2100
  "btn-link text-brand": t.severity === "brand",
2059
2101
  "btn-link text-secondary": t.severity === "secondary",
2060
2102
  "btn-link text-success": t.severity === "success",
2103
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2061
2104
  "btn-link text-warning": t.severity === "warning",
2062
2105
  "btn-link text-danger": t.severity === "danger",
2063
2106
  "btn-link text-info": t.severity === "info"
@@ -2074,6 +2117,7 @@ const _t = { key: 0 }, It = {
2074
2117
  "btn-link text-brand": t.severity === "brand",
2075
2118
  "btn-link text-secondary": t.severity === "secondary",
2076
2119
  "btn-link text-success": t.severity === "success",
2120
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2077
2121
  "btn-link text-warning": t.severity === "warning",
2078
2122
  "btn-link text-danger": t.severity === "danger",
2079
2123
  "btn-link text-info": t.severity === "info"
@@ -2081,83 +2125,85 @@ const _t = { key: 0 }, It = {
2081
2125
  ]
2082
2126
  })
2083
2127
  },
2084
- year: ({ context: d }) => ({
2128
+ year: ({ context: r }) => ({
2085
2129
  class: [
2086
2130
  "col-3 text-center cursor-pointer py-2",
2087
2131
  {
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()
2132
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2133
+ "text-brand": t.severity === "brand" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2134
+ "text-secondary": t.severity === "secondary" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2135
+ "text-success": t.severity === "success" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2136
+ "text-success-alternate": t.severity === "success-alternate" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2137
+ "text-warning": t.severity === "warning" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2138
+ "text-danger": t.severity === "danger" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2139
+ "text-info": t.severity === "info" && r.year.value === (/* @__PURE__ */ new Date()).getFullYear()
2095
2140
  }
2096
2141
  ]
2097
2142
  }),
2098
- month: ({ context: d }) => ({
2143
+ month: ({ context: r }) => ({
2099
2144
  class: [
2100
2145
  "col-3 text-center cursor-pointer py-2",
2101
2146
  {
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
2147
+ "text-primary": (t.severity === void 0 || t.severity === "primary") && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2148
+ "text-brand": t.severity === "brand" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2149
+ "text-secondary": t.severity === "secondary" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2150
+ "text-success": t.severity === "success" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2151
+ "text-success-alternate": t.severity === "success-alternate" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2152
+ "text-warning": t.severity === "warning" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2153
+ "text-danger": t.severity === "danger" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2154
+ "text-info": t.severity === "info" && r.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1
2109
2155
  }
2110
2156
  ]
2111
2157
  })
2112
2158
  }));
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")
2159
+ return (r, $) => {
2160
+ const z = De;
2161
+ return d(), v(E, null, [
2162
+ m("div", ta, [
2163
+ m("span", aa, [
2164
+ k(r.$slots, "before")
2119
2165
  ]),
2120
- m("div", Zt, [
2121
- h(C, z({ ...t, ...d.$attrs }, {
2122
- pt: g.value,
2166
+ m("div", ia, [
2167
+ h(z, j({ ...t, ...r.$attrs }, {
2168
+ pt: y.value,
2123
2169
  modelValue: a.value,
2124
2170
  "onUpdate:modelValue": [
2125
- B[0] || (B[0] = (V) => a.value = V),
2171
+ $[0] || ($[0] = (D) => a.value = D),
2126
2172
  u(n)
2127
2173
  ],
2128
- onBlur: B[1] || (B[1] = () => u(o)),
2174
+ onBlur: $[1] || ($[1] = () => u(o)),
2129
2175
  "input-class": { "datepicker-invalid": c.value }
2130
2176
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2131
- H(h(u(j), {
2177
+ J(h(u(I), {
2132
2178
  "data-cy": "icon",
2133
2179
  icon: "bi:calendar4",
2134
2180
  class: F(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2135
2181
  }, null, 8, ["class"]), [
2136
- [J, t.showIcon]
2182
+ [Z, t.showIcon]
2137
2183
  ]),
2138
- H(h(u(j), {
2184
+ J(h(u(I), {
2139
2185
  "data-cy": "icon",
2140
2186
  icon: "bi:x",
2141
2187
  onClick: p,
2142
2188
  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
2189
  }, null, 8, ["class"]), [
2144
- [J, t.modelValue]
2190
+ [Z, t.modelValue]
2145
2191
  ])
2146
2192
  ]),
2147
- m("span", Xt, [
2148
- w(d.$slots, "after")
2193
+ m("span", la, [
2194
+ k(r.$slots, "after")
2149
2195
  ])
2150
2196
  ]),
2151
- H(m("small", {
2197
+ J(m("small", {
2152
2198
  "data-cy": "error",
2153
2199
  class: "text-invalid"
2154
- }, k(u(l)), 513), [
2155
- [J, c.value]
2200
+ }, B(u(l)), 513), [
2201
+ [Z, c.value]
2156
2202
  ])
2157
2203
  ], 64);
2158
2204
  };
2159
2205
  }
2160
- }), Hi = /* @__PURE__ */ $({
2206
+ }), il = /* @__PURE__ */ S({
2161
2207
  __name: "ForgeRemainingCharacters",
2162
2208
  props: {
2163
2209
  maxCount: { default: 300 },
@@ -2165,11 +2211,11 @@ const _t = { key: 0 }, It = {
2165
2211
  },
2166
2212
  setup(e) {
2167
2213
  const t = e, a = T(() => t.maxCount - t.currentCount);
2168
- return (i, l) => (r(), v("div", {
2214
+ return (i, l) => (d(), v("div", {
2169
2215
  class: F(a.value < 0 ? "text-danger" : "")
2170
- }, "Remaining characters: " + k(a.value), 3));
2216
+ }, "Remaining characters: " + B(a.value), 3));
2171
2217
  }
2172
- }), Qt = { class: "d-flex justify-content-between" }, Wi = /* @__PURE__ */ $({
2218
+ }), na = { class: "d-flex justify-content-between" }, ll = /* @__PURE__ */ S({
2173
2219
  __name: "ForgeForm",
2174
2220
  props: {
2175
2221
  onSubmit: {},
@@ -2181,7 +2227,7 @@ const _t = { key: 0 }, It = {
2181
2227
  hideCancel: { type: Boolean, default: !1 }
2182
2228
  },
2183
2229
  setup(e) {
2184
- const t = e, a = I(!1), i = I({
2230
+ const t = e, a = P(!1), i = P({
2185
2231
  hasError: !1,
2186
2232
  message: ""
2187
2233
  });
@@ -2195,39 +2241,39 @@ const _t = { key: 0 }, It = {
2195
2241
  a.value = !1;
2196
2242
  }
2197
2243
  return (n, o) => {
2198
- const s = A;
2199
- return r(), v("form", z(n.$attrs, {
2244
+ const s = q;
2245
+ return d(), v("form", j(n.$attrs, {
2200
2246
  novalidate: "",
2201
2247
  class: "position-relative shadow-sm border p-4 bg-white",
2202
- onSubmit: K(l, ["prevent"])
2248
+ onSubmit: X(l, ["prevent"])
2203
2249
  }), [
2204
- n.hideTitle ? S("", !0) : (r(), v(O, { key: 0 }, [
2205
- w(n.$slots, "title", {}, () => [
2250
+ n.hideTitle ? C("", !0) : (d(), v(E, { key: 0 }, [
2251
+ k(n.$slots, "title", {}, () => [
2206
2252
  m("h3", {
2207
2253
  class: F(n.titleClass),
2208
2254
  "data-cy": "form-title"
2209
- }, k(n.title), 3)
2255
+ }, B(n.title), 3)
2210
2256
  ]),
2211
2257
  o[1] || (o[1] = m("hr", null, null, -1))
2212
2258
  ], 64)),
2213
- i.value.hasError ? (r(), f(se, {
2259
+ i.value.hasError ? (d(), b(de, {
2214
2260
  key: 1,
2215
2261
  severity: "danger",
2216
2262
  "data-cy": "error"
2217
2263
  }, {
2218
- default: y(() => [
2219
- w(n.$slots, "error", {
2264
+ default: g(() => [
2265
+ k(n.$slots, "error", {
2220
2266
  error: i.value.message
2221
2267
  }, () => [
2222
- _(k(i.value.message), 1)
2268
+ M(B(i.value.message), 1)
2223
2269
  ])
2224
2270
  ]),
2225
2271
  _: 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, {
2272
+ })) : C("", !0),
2273
+ k(n.$slots, "default"),
2274
+ m("div", na, [
2275
+ k(n.$slots, "cancel", {}, () => [
2276
+ n.hideCancel ? C("", !0) : (d(), b(s, {
2231
2277
  key: 0,
2232
2278
  "data-cy": "cancel-btn",
2233
2279
  type: "reset",
@@ -2235,42 +2281,42 @@ const _t = { key: 0 }, It = {
2235
2281
  outlined: "",
2236
2282
  onClick: o[0] || (o[0] = (p) => n.$emit("cancel"))
2237
2283
  }, {
2238
- default: y(() => [
2239
- _(k(n.cancelText), 1)
2284
+ default: g(() => [
2285
+ M(B(n.cancelText), 1)
2240
2286
  ]),
2241
2287
  _: 1
2242
2288
  }))
2243
2289
  ]),
2244
- w(n.$slots, "submit", { submit: l }, () => [
2290
+ k(n.$slots, "submit", { submit: l }, () => [
2245
2291
  h(s, {
2246
2292
  "data-cy": "submit-btn",
2247
2293
  type: "submit",
2248
2294
  severity: "primary",
2249
2295
  class: "ms-auto"
2250
2296
  }, {
2251
- default: y(() => [
2252
- _(k(n.submitText), 1)
2297
+ default: g(() => [
2298
+ M(B(n.submitText), 1)
2253
2299
  ]),
2254
2300
  _: 1
2255
2301
  })
2256
2302
  ])
2257
2303
  ]),
2258
- a.value ? (r(), f(re, {
2304
+ a.value ? (d(), b(pe, {
2259
2305
  key: 2,
2260
2306
  "data-cy": "loading-spinner"
2261
- })) : S("", !0)
2307
+ })) : C("", !0)
2262
2308
  ], 16);
2263
2309
  };
2264
2310
  }
2265
- }), ea = {
2311
+ }), oa = {
2266
2312
  key: 1,
2267
2313
  class: "d-flex flex-column w-100"
2268
- }, ta = ["for"], aa = {
2314
+ }, sa = ["for"], ra = {
2269
2315
  key: 0,
2270
2316
  class: "text-danger fw-600"
2271
- }, Yi = /* @__PURE__ */ $({
2317
+ }, nl = /* @__PURE__ */ S({
2272
2318
  __name: "ForgeFormField",
2273
- props: /* @__PURE__ */ U({
2319
+ props: /* @__PURE__ */ R({
2274
2320
  name: {},
2275
2321
  fieldLabelPosition: { default: "top" },
2276
2322
  fieldLabel: {},
@@ -2285,24 +2331,24 @@ const _t = { key: 0 }, It = {
2285
2331
  }),
2286
2332
  emits: ["update:modelValue"],
2287
2333
  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, {
2334
+ const t = N(e, "modelValue"), a = e, i = (y) => {
2335
+ a.type == "number" ? s(y.value) : s(y);
2336
+ }, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = oe(() => a.name, void 0, {
2291
2337
  initialValue: t.value
2292
2338
  }), 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({
2339
+ return le(() => n.value, (y) => {
2340
+ t.value = y;
2341
+ }, { immediate: !0 }), (y, r) => {
2342
+ const $ = Ne, z = Oe, D = se, O = ae, A = re, x = xe;
2343
+ return a.type === "checkbox" ? (d(), b(ye, j({
2298
2344
  key: 0,
2299
2345
  id: a.name,
2300
2346
  label: a.fieldLabel
2301
- }, g.$attrs, {
2347
+ }, y.$attrs, {
2302
2348
  name: a.name,
2303
2349
  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, [
2350
+ "onUpdate:modelValue": r[0] || (r[0] = (w) => t.value = w)
2351
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), v("div", oa, [
2306
2352
  m("div", {
2307
2353
  "data-cy": "input-wrapper",
2308
2354
  class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2311,80 +2357,80 @@ const _t = { key: 0 }, It = {
2311
2357
  for: a.name,
2312
2358
  class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2313
2359
  }, [
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({
2360
+ M(B(a.fieldLabel) + " ", 1),
2361
+ y.required ? (d(), v("span", ra, "*")) : C("", !0)
2362
+ ], 10, sa),
2363
+ k(y.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2364
+ a.type === "number" ? (d(), b(u(fe), j({
2319
2365
  key: 0,
2320
2366
  id: a.name
2321
- }, g.$attrs, {
2367
+ }, y.$attrs, {
2322
2368
  placeholder: a.placeholder,
2323
2369
  "input-class": { "is-invalid": c.value },
2324
2370
  class: { "is-invalid": c.value },
2325
2371
  onInput: i,
2326
2372
  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({
2373
+ "onUpdate:modelValue": r[1] || (r[1] = (w) => t.value = w)
2374
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), b($, j({
2329
2375
  key: 1,
2330
2376
  id: a.name
2331
- }, g.$attrs, {
2377
+ }, y.$attrs, {
2332
2378
  placeholder: a.placeholder,
2333
2379
  class: { "is-invalid": c.value },
2334
2380
  modelValue: t.value,
2335
- "onUpdate:modelValue": d[2] || (d[2] = (x) => t.value = x),
2381
+ "onUpdate:modelValue": r[2] || (r[2] = (w) => t.value = w),
2336
2382
  onInput: i,
2337
2383
  onBlur: u(p)
2338
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (r(), f(C, z({
2384
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), b(z, j({
2339
2385
  key: 2,
2340
2386
  id: a.name
2341
- }, g.$attrs, {
2387
+ }, y.$attrs, {
2342
2388
  placeholder: a.placeholder,
2343
2389
  mask: a.mask,
2344
2390
  class: { "is-invalid": c.value },
2345
2391
  modelValue: t.value,
2346
- "onUpdate:modelValue": d[3] || (d[3] = (x) => t.value = x),
2392
+ "onUpdate:modelValue": r[3] || (r[3] = (w) => t.value = w),
2347
2393
  onComplete: i,
2348
2394
  onBlur: u(p)
2349
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (r(), f(V, z({
2395
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), b(D, j({
2350
2396
  key: 3,
2351
2397
  id: a.name
2352
- }, g.$attrs, {
2398
+ }, y.$attrs, {
2353
2399
  placeholder: a.placeholder,
2354
2400
  class: { "is-invalid": c.value },
2355
2401
  modelValue: t.value,
2356
- "onUpdate:modelValue": d[4] || (d[4] = (x) => t.value = x),
2402
+ "onUpdate:modelValue": r[4] || (r[4] = (w) => t.value = w),
2357
2403
  onInput: i,
2358
2404
  onBlur: u(p)
2359
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (r(), f(M, z({ key: 4 }, { ...a, ...g.$attrs }, {
2405
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), b(O, j({ key: 4 }, { ...a, ...y.$attrs }, {
2360
2406
  modelValue: t.value,
2361
- "onUpdate:modelValue": d[5] || (d[5] = (x) => t.value = x),
2407
+ "onUpdate:modelValue": r[5] || (r[5] = (w) => t.value = w),
2362
2408
  class: { "is-invalid": c.value }
2363
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (r(), f(q, z({ key: 5 }, { ...a, ...g.$attrs }, {
2409
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), b(A, j({ key: 5 }, { ...a, ...y.$attrs }, {
2364
2410
  modelValue: t.value,
2365
- "onUpdate:modelValue": d[6] || (d[6] = (x) => t.value = x),
2411
+ "onUpdate:modelValue": r[6] || (r[6] = (w) => t.value = w),
2366
2412
  class: { "is-invalid": c.value }
2367
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), f(Ht, z({ key: 6 }, { ...a, ...g.$attrs }, {
2413
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), b(Zt, j({ key: 6 }, { ...a, ...y.$attrs }, {
2368
2414
  modelValue: t.value,
2369
- "onUpdate:modelValue": d[7] || (d[7] = (x) => t.value = x),
2415
+ "onUpdate:modelValue": r[7] || (r[7] = (w) => t.value = w),
2370
2416
  class: { "is-invalid": c.value }
2371
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (r(), f(b, z({ key: 7 }, { ...a, ...g.$attrs }, {
2417
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), b(x, j({ key: 7 }, { ...a, ...y.$attrs }, {
2372
2418
  modelValue: t.value,
2373
- "onUpdate:modelValue": d[8] || (d[8] = (x) => t.value = x),
2419
+ "onUpdate:modelValue": r[8] || (r[8] = (w) => t.value = w),
2374
2420
  class: { "is-invalid": c.value }
2375
- }), null, 16, ["modelValue", "class"])) : S("", !0)
2421
+ }), null, 16, ["modelValue", "class"])) : C("", !0)
2376
2422
  ])
2377
2423
  ], 2),
2378
- H(m("small", {
2424
+ J(m("small", {
2379
2425
  "data-cy": "error",
2380
2426
  class: "invalid-feedback"
2381
- }, k(u(o)), 513), [
2382
- [J, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2427
+ }, B(u(o)), 513), [
2428
+ [Z, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2383
2429
  ])
2384
2430
  ]));
2385
2431
  };
2386
2432
  }
2387
- }), Gi = /* @__PURE__ */ $({
2433
+ }), ol = /* @__PURE__ */ S({
2388
2434
  __name: "ForgeChip",
2389
2435
  props: {
2390
2436
  chipSeverity: { default: "primary" },
@@ -2413,21 +2459,22 @@ const _t = { key: 0 }, It = {
2413
2459
  "bg-success-subtle border-success text-success": t.chipSeverity === "success",
2414
2460
  "bg-warning-subtle border-warning text-warning": t.chipSeverity === "warning",
2415
2461
  "bg-danger-subtle border-danger text-danger": t.chipSeverity === "danger",
2416
- "bg-info-subtle border-info text-info": t.chipSeverity === "info"
2462
+ "bg-info-subtle border-info text-info": t.chipSeverity === "info",
2463
+ "bg-info-success-alternate border-success-alternate text-success-alternate": t.chipSeverity === "success-alternate"
2417
2464
  }
2418
2465
  ]
2419
2466
  }));
2420
2467
  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))
2468
+ const n = Ae;
2469
+ return d(), b(n, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2470
+ default: g(() => [
2471
+ (d(!0), v(E, null, U(i.$slots, (o, s) => k(i.$slots, s, { slot: s })), 256))
2425
2472
  ]),
2426
2473
  _: 3
2427
2474
  }, 16, ["pt"]);
2428
2475
  };
2429
2476
  }
2430
- }), Ji = /* @__PURE__ */ $({
2477
+ }), sl = /* @__PURE__ */ S({
2431
2478
  __name: "ForgeProgressBar",
2432
2479
  props: {
2433
2480
  severity: { default: "primary" },
@@ -2451,6 +2498,8 @@ const _t = { key: 0 }, It = {
2451
2498
  return "bg-secondary";
2452
2499
  case "success":
2453
2500
  return "bg-success";
2501
+ case "success-alternate":
2502
+ return "bg-success-alternate";
2454
2503
  case "warning":
2455
2504
  return "bg-warning";
2456
2505
  case "danger":
@@ -2471,17 +2520,17 @@ const _t = { key: 0 }, It = {
2471
2520
  }
2472
2521
  }));
2473
2522
  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")
2523
+ const p = Ee;
2524
+ return d(), b(p, j({ ...o.$attrs, ...t }, { pt: n.value }), {
2525
+ default: g(() => [
2526
+ k(o.$slots, "default")
2478
2527
  ]),
2479
2528
  _: 3
2480
2529
  }, 16, ["pt"]);
2481
2530
  };
2482
2531
  }
2483
2532
  });
2484
- var ia = /* @__PURE__ */ $({
2533
+ var da = /* @__PURE__ */ S({
2485
2534
  name: "VueDrawingCanvas",
2486
2535
  props: {
2487
2536
  strokeType: {
@@ -2794,13 +2843,13 @@ var ia = /* @__PURE__ */ $({
2794
2843
  },
2795
2844
  wrapText(e, t, a, i, l, n) {
2796
2845
  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;
2846
+ var p = t.split(o).filter((O) => O.length > 0);
2847
+ for (let O = 0; O < p.length; O++) {
2848
+ for (var c = p[O].split(s).filter((A) => A.length > 0), y = "", r = 0; r < c.length; r++) {
2849
+ var $ = y + c[r] + " ", z = e.measureText($), D = z.width;
2850
+ 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
2851
  }
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;
2852
+ 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
2853
  }
2805
2854
  },
2806
2855
  save() {
@@ -2827,13 +2876,13 @@ var ia = /* @__PURE__ */ $({
2827
2876
  } else if (a.type === "Text") {
2828
2877
  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
2878
  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);
2879
+ let r, $;
2880
+ 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
2881
  }
2833
2882
  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);
2883
+ 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;
2884
+ if (s.width = Number(c), s.height = Number(y), p)
2885
+ 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
2886
  }
2838
2887
  },
2839
2888
  isEmpty() {
@@ -2844,7 +2893,7 @@ var ia = /* @__PURE__ */ $({
2844
2893
  }
2845
2894
  },
2846
2895
  render() {
2847
- return $e("canvas", {
2896
+ return Ce("canvas", {
2848
2897
  id: this.canvasId,
2849
2898
  height: Number(this.height),
2850
2899
  width: Number(this.width),
@@ -2871,7 +2920,7 @@ var ia = /* @__PURE__ */ $({
2871
2920
  });
2872
2921
  }
2873
2922
  });
2874
- const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1 gap-1" }, Ki = /* @__PURE__ */ $({
2923
+ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1 gap-1" }, rl = /* @__PURE__ */ S({
2875
2924
  __name: "ForgeScratchpad",
2876
2925
  props: {
2877
2926
  showClear: { type: Boolean, default: !0 },
@@ -2884,7 +2933,7 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2884
2933
  },
2885
2934
  emits: ["save"],
2886
2935
  setup(e, { emit: t }) {
2887
- const a = e, i = t, l = Fe("drawingCanvas"), n = I(), o = () => {
2936
+ const a = e, i = t, l = ze("drawingCanvas"), n = P(), o = () => {
2888
2937
  l == null || l.value.reset();
2889
2938
  }, s = () => {
2890
2939
  l == null || l.value.redo();
@@ -2893,72 +2942,72 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2893
2942
  }, c = () => {
2894
2943
  i("save", l.value.isEmpty());
2895
2944
  };
2896
- return (g, d) => {
2897
- const B = A;
2898
- return r(), v("div", la, [
2899
- h(u(ia), z({
2945
+ return (y, r) => {
2946
+ const $ = q;
2947
+ return d(), v("div", pa, [
2948
+ h(u(da), j({
2900
2949
  ref_key: "drawingCanvas",
2901
2950
  ref: l,
2902
2951
  image: n.value,
2903
- "onUpdate:image": d[0] || (d[0] = (C) => n.value = C),
2952
+ "onUpdate:image": r[0] || (r[0] = (z) => n.value = z),
2904
2953
  "data-cy": "drawing-canvas",
2905
2954
  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
2955
+ }, { ...y.$attrs }, {
2956
+ height: y.height,
2957
+ width: y.width,
2958
+ style: `height: ${y.height}px; width: ${y.width}px`,
2959
+ "line-join": y.lineJoin
2911
2960
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
2912
- m("div", na, [
2913
- a.showUndo ? (r(), f(B, {
2961
+ m("div", ca, [
2962
+ a.showUndo ? (d(), b($, {
2914
2963
  key: 0,
2915
2964
  onClick: p,
2916
2965
  outlined: "",
2917
2966
  "data-cy": "undo-button"
2918
2967
  }, {
2919
- default: y(() => d[1] || (d[1] = [
2920
- _("Undo")
2968
+ default: g(() => r[1] || (r[1] = [
2969
+ M("Undo")
2921
2970
  ])),
2922
2971
  _: 1
2923
- })) : S("", !0),
2924
- a.showRedo ? (r(), f(B, {
2972
+ })) : C("", !0),
2973
+ a.showRedo ? (d(), b($, {
2925
2974
  key: 1,
2926
2975
  onClick: s,
2927
2976
  outlined: "",
2928
2977
  "data-cy": "redo-button"
2929
2978
  }, {
2930
- default: y(() => d[2] || (d[2] = [
2931
- _("Redo")
2979
+ default: g(() => r[2] || (r[2] = [
2980
+ M("Redo")
2932
2981
  ])),
2933
2982
  _: 1
2934
- })) : S("", !0),
2935
- a.showClear ? (r(), f(B, {
2983
+ })) : C("", !0),
2984
+ a.showClear ? (d(), b($, {
2936
2985
  key: 2,
2937
2986
  onClick: o,
2938
2987
  outlined: "",
2939
2988
  "data-cy": "clear-button"
2940
2989
  }, {
2941
- default: y(() => d[3] || (d[3] = [
2942
- _("Clear")
2990
+ default: g(() => r[3] || (r[3] = [
2991
+ M("Clear")
2943
2992
  ])),
2944
2993
  _: 1
2945
- })) : S("", !0),
2946
- a.showSave ? (r(), f(B, {
2994
+ })) : C("", !0),
2995
+ a.showSave ? (d(), b($, {
2947
2996
  key: 3,
2948
2997
  onClick: c,
2949
2998
  class: "ms-auto",
2950
2999
  "data-cy": "save-button"
2951
3000
  }, {
2952
- default: y(() => d[4] || (d[4] = [
2953
- _("Save")
3001
+ default: g(() => r[4] || (r[4] = [
3002
+ M("Save")
2954
3003
  ])),
2955
3004
  _: 1
2956
- })) : S("", !0)
3005
+ })) : C("", !0)
2957
3006
  ])
2958
3007
  ]);
2959
3008
  };
2960
3009
  }
2961
- }), oa = { class: "value text-white w-100 text-center" }, Zi = /* @__PURE__ */ $({
3010
+ }), ua = { class: "value text-white w-100 text-center" }, dl = /* @__PURE__ */ S({
2962
3011
  __name: "ForgeStatWidget",
2963
3012
  props: {
2964
3013
  size: { default: "md" },
@@ -2966,15 +3015,15 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
2966
3015
  },
2967
3016
  setup(e) {
2968
3017
  const t = e;
2969
- return (a, i) => (r(), v("div", z(a.$attrs, {
3018
+ return (a, i) => (d(), v("div", j(a.$attrs, {
2970
3019
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2971
3020
  }), [
2972
- m("span", oa, [
2973
- w(a.$slots, "default")
3021
+ m("span", ua, [
3022
+ k(a.$slots, "default")
2974
3023
  ])
2975
3024
  ], 16));
2976
3025
  }
2977
- }), sa = { key: 0 }, Xi = /* @__PURE__ */ $({
3026
+ }), ma = { key: 0 }, pl = /* @__PURE__ */ S({
2978
3027
  __name: "ForgeStepper",
2979
3028
  props: {
2980
3029
  currentStep: { default: 1 },
@@ -3021,32 +3070,32 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3021
3070
  ]
3022
3071
  })
3023
3072
  }));
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({
3073
+ return (i, l) => (d(), b(u(qe), { value: i.currentStep }, {
3074
+ default: g(() => [
3075
+ h(u(Le), null, {
3076
+ default: g(() => [
3077
+ (d(!0), v(E, null, U(i.steps, (n) => (d(), b(u(Ue), j({
3029
3078
  key: n.value,
3030
3079
  value: n.value,
3031
3080
  disabled: n.disabled,
3032
3081
  ref_for: !0
3033
3082
  }, { ...i.$attrs }, { pt: a.value }), {
3034
- default: y(() => [
3035
- i.showStepLabel ? (r(), v("div", sa, k(n.label), 1)) : S("", !0)
3083
+ default: g(() => [
3084
+ i.showStepLabel ? (d(), v("div", ma, B(n.label), 1)) : C("", !0)
3036
3085
  ]),
3037
3086
  _: 2
3038
3087
  }, 1040, ["value", "disabled", "pt"]))), 128))
3039
3088
  ]),
3040
3089
  _: 1
3041
3090
  }),
3042
- h(u(qe), null, {
3043
- default: y(() => [
3044
- (r(!0), v(O, null, N(i.steps, (n) => (r(), f(u(Ae), {
3091
+ h(u(He), null, {
3092
+ default: g(() => [
3093
+ (d(!0), v(E, null, U(i.steps, (n) => (d(), b(u(Re), {
3045
3094
  key: n.value,
3046
3095
  value: n.value
3047
3096
  }, {
3048
- default: y(() => [
3049
- w(i.$slots, "step" + n.value)
3097
+ default: g(() => [
3098
+ k(i.$slots, "step" + n.value)
3050
3099
  ]),
3051
3100
  _: 2
3052
3101
  }, 1032, ["value"]))), 128))
@@ -3057,7 +3106,7 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3057
3106
  _: 3
3058
3107
  }, 8, ["value"]));
3059
3108
  }
3060
- }), ra = { class: "p-4 text-wrap w-100" }, da = { class: "p-4 text-wrap w-100" }, Qi = /* @__PURE__ */ $({
3109
+ }), va = { class: "p-4 text-wrap w-100" }, fa = { class: "p-4 text-wrap w-100" }, cl = /* @__PURE__ */ S({
3061
3110
  __name: "ForgeTile",
3062
3111
  props: {
3063
3112
  severity: { default: "primary" },
@@ -3068,30 +3117,30 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3068
3117
  setup(e) {
3069
3118
  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
3119
  return (l, n) => {
3071
- const o = A;
3072
- return t.clickable ? (r(), f(o, {
3120
+ const o = q;
3121
+ return t.clickable ? (d(), b(o, {
3073
3122
  key: 0,
3074
3123
  class: F(["d-flex w-100 p-0 text-body", a.value]),
3075
3124
  severity: t.severity,
3076
3125
  unstyled: "",
3077
3126
  "data-cy": "button-tile"
3078
3127
  }, {
3079
- default: y(() => [
3080
- m("div", ra, [
3081
- w(l.$slots, "default", {}, () => [
3082
- n[0] || (n[0] = _("Tile Content"))
3128
+ default: g(() => [
3129
+ m("div", va, [
3130
+ k(l.$slots, "default", {}, () => [
3131
+ n[0] || (n[0] = M("Tile Content"))
3083
3132
  ])
3084
3133
  ])
3085
3134
  ]),
3086
3135
  _: 3
3087
- }, 8, ["severity", "class"])) : (r(), v("div", {
3136
+ }, 8, ["severity", "class"])) : (d(), v("div", {
3088
3137
  key: 1,
3089
3138
  class: F(["d-flex w-100", i.value]),
3090
3139
  "data-cy": "tile"
3091
3140
  }, [
3092
- m("div", da, [
3093
- w(l.$slots, "default", {}, () => [
3094
- n[1] || (n[1] = _("Tile Content"))
3141
+ m("div", fa, [
3142
+ k(l.$slots, "default", {}, () => [
3143
+ n[1] || (n[1] = M("Tile Content"))
3095
3144
  ])
3096
3145
  ])
3097
3146
  ], 2));
@@ -3101,13 +3150,13 @@ const la = { class: "d-flex flex-column" }, na = { class: "d-flex flex-row mt-1
3101
3150
  function Q(e, t) {
3102
3151
  return e > 1 ? `${t}s` : t;
3103
3152
  }
3104
- const pa = {
3153
+ const ga = {
3105
3154
  class: "d-flex justify-content-start align-items-baseline",
3106
3155
  "data-cy": "pagination-header"
3107
- }, ca = { class: "ms-2" }, ua = { key: 0 }, ma = {
3156
+ }, ba = { class: "ms-2" }, ya = { key: 0 }, xa = {
3108
3157
  class: "w-auto",
3109
3158
  "data-cy": "total"
3110
- }, va = /* @__PURE__ */ $({
3159
+ }, he = /* @__PURE__ */ S({
3111
3160
  __name: "ForgePaginationHeader",
3112
3161
  props: {
3113
3162
  total: {},
@@ -3122,9 +3171,9 @@ const pa = {
3122
3171
  const o = Math.ceil(i.total / i.perPage);
3123
3172
  return `${o} ${Q(o, "page")}`;
3124
3173
  });
3125
- return (o, s) => (r(), v("div", pa, [
3126
- s[2] || (s[2] = _(" Number of results per page ")),
3127
- m("div", ca, [
3174
+ return (o, s) => (d(), v("div", ga, [
3175
+ s[2] || (s[2] = M(" Number of results per page ")),
3176
+ m("div", ba, [
3128
3177
  h(u(ae), {
3129
3178
  options: i.pageSizes,
3130
3179
  "model-value": i.perPage,
@@ -3132,16 +3181,16 @@ const pa = {
3132
3181
  onChange: s[0] || (s[0] = (p) => l(p))
3133
3182
  }, null, 8, ["options", "model-value"])
3134
3183
  ]),
3135
- i.total ? (r(), v("div", ua, [
3184
+ i.total ? (d(), v("div", ya, [
3136
3185
  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)
3186
+ m("span", xa, B(i.total) + " " + B(u(Q)(i.total, "result")) + " across " + B(n.value), 1)
3187
+ ])) : C("", !0)
3139
3188
  ]));
3140
3189
  }
3141
- }), fa = { class: "position-relative" }, ga = { "data-cy": "above-table-slot" }, ba = { class: "d-flex w-100" }, ya = {
3190
+ }), ha = { class: "position-relative" }, wa = { "data-cy": "above-table-slot" }, ka = { class: "d-flex w-100" }, $a = {
3142
3191
  class: "mx-auto",
3143
3192
  "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__ */ $({
3193
+ }, Ba = { class: "d-flex" }, Fa = { class: "d-flex align-items-end mb-2" }, Sa = { key: 0 }, Ca = { class: "ms-auto" }, ul = /* @__PURE__ */ S({
3145
3194
  __name: "ForgeTable",
3146
3195
  props: {
3147
3196
  value: {},
@@ -3227,7 +3276,7 @@ const pa = {
3227
3276
  },
3228
3277
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3229
3278
  setup(e, { emit: t }) {
3230
- const a = t, i = e, l = I(), n = I([5, 10, 20, 50, 100]), o = I(10), s = I({
3279
+ const a = t, i = e, l = P(), n = P([5, 10, 20, 50, 100]), o = P(10), s = P({
3231
3280
  filters: i.filters,
3232
3281
  perPage: o.value,
3233
3282
  page: 0,
@@ -3235,9 +3284,9 @@ const pa = {
3235
3284
  sortField: "",
3236
3285
  total: i.totalRecords ?? i.value.length
3237
3286
  }), 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(() => ({
3287
+ const x = Math.ceil(p.value / o.value);
3288
+ return `${x} ${Q(x, "page")}`;
3289
+ }), y = T(() => ({
3241
3290
  thead: () => ({
3242
3291
  class: [
3243
3292
  {
@@ -3253,160 +3302,428 @@ const pa = {
3253
3302
  "text-brand": i.severity === "brand",
3254
3303
  "text-primary": i.severity === "primary",
3255
3304
  "text-success": i.severity === "success",
3305
+ "text-success-alternate": i.severity === "success-alternate",
3256
3306
  "text-warning": i.severity === "warning",
3257
3307
  "text-danger": i.severity === "danger",
3258
3308
  "text-info": i.severity === "info"
3259
3309
  }
3260
3310
  ]
3261
3311
  })
3262
- })), d = () => {
3312
+ })), r = () => {
3263
3313
  if (i.clearAll)
3264
3314
  i.clearAll();
3265
3315
  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 = () => {
3316
+ for (const x in i.filters)
3317
+ typeof i.filters[x] == "string" ? i.filters[x] = "" : i.filters[x].value = null;
3318
+ D(i.filters);
3319
+ }, $ = () => {
3270
3320
  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 = () => {
3321
+ }, z = (x) => {
3322
+ var w;
3323
+ 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);
3324
+ }, D = (x) => {
3325
+ s.value.filters = x, a("update:tableContext", s.value), a("update:filters", x);
3326
+ }, O = (x) => {
3327
+ s.value.page = x.page, a("update:tableContext", s.value), a("page", x);
3328
+ }, A = () => {
3279
3329
  s.value.perPage = o.value, a("update:tableContext", s.value);
3280
3330
  };
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")
3331
+ return le(() => i.filters, (x) => {
3332
+ s.value.filters = x, a("update:tableContext", s.value);
3333
+ }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (x, w) => (d(), v("div", ha, [
3334
+ m("span", wa, [
3335
+ k(x.$slots, "above-table")
3286
3336
  ]),
3287
- h(u(Ee), z({
3337
+ h(u(We), j({
3288
3338
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3289
- }, { ...i, ...b.$attrs }, {
3290
- pt: g.value,
3339
+ }, { ...i, ...x.$attrs }, {
3340
+ pt: y.value,
3291
3341
  rows: o.value,
3292
3342
  "total-records": p.value,
3293
3343
  "filter-display": i.filters ? "row" : void 0,
3294
3344
  ref_key: "forgeTable",
3295
3345
  ref: l,
3296
3346
  "data-cy": "table",
3297
- "onUpdate:filters": V,
3298
- onSort: C,
3299
- onPage: M,
3347
+ "onUpdate:filters": D,
3348
+ onSort: z,
3349
+ onPage: O,
3300
3350
  showHeaders: ""
3301
- }), ee({
3302
- empty: y(() => [
3303
- m("div", ba, [
3304
- m("h5", ya, k(b.emptyMessage ?? "No items Found."), 1)
3351
+ }), te({
3352
+ empty: g(() => [
3353
+ m("div", ka, [
3354
+ m("h5", $a, B(x.emptyMessage ?? "No items Found."), 1)
3305
3355
  ])
3306
3356
  ]),
3307
- header: y(() => [
3357
+ header: g(() => [
3308
3358
  m("div", {
3309
3359
  class: F(i.loading ? "opacity-50" : "")
3310
3360
  }, [
3311
- m("div", xa, [
3312
- m("div", ha, [
3313
- b.paginator && !b.legacyPaginationFooter ? (r(), v("span", wa, [
3314
- h(va, {
3361
+ m("div", Ba, [
3362
+ m("div", Fa, [
3363
+ x.paginator && !x.legacyPaginationFooter ? (d(), v("span", Sa, [
3364
+ h(he, {
3315
3365
  total: p.value,
3316
3366
  "page-sizes": n.value,
3317
3367
  "per-page": o.value,
3318
3368
  "onUpdate:perPage": [
3319
- x[0] || (x[0] = (P) => o.value = P),
3320
- q
3369
+ w[0] || (w[0] = (_) => o.value = _),
3370
+ A
3321
3371
  ]
3322
3372
  }, null, 8, ["total", "page-sizes", "per-page"])
3323
- ])) : S("", !0)
3373
+ ])) : C("", !0)
3324
3374
  ]),
3325
- m("div", ka, [
3326
- b.showClearButton ? (r(), f(u(A), {
3375
+ m("div", Ca, [
3376
+ x.showClearButton ? (d(), b(u(q), {
3327
3377
  key: 0,
3328
3378
  outlined: "",
3329
- class: F(b.showExporterButton ? "me-2" : ""),
3330
- onClick: d,
3379
+ class: F(x.showExporterButton ? "me-2" : ""),
3380
+ onClick: r,
3331
3381
  "data-cy": "clear-all"
3332
3382
  }, {
3333
- default: y(() => [
3334
- h(u(j), {
3383
+ default: g(() => [
3384
+ h(u(I), {
3335
3385
  icon: "bi:funnel-fill",
3336
3386
  width: "24",
3337
3387
  height: "24"
3338
3388
  }),
3339
- x[2] || (x[2] = _(" Clear "))
3389
+ w[2] || (w[2] = M(" Clear "))
3340
3390
  ]),
3341
3391
  _: 1
3342
- }, 8, ["class"])) : S("", !0),
3343
- b.showExporterButton ? (r(), f(u(A), {
3392
+ }, 8, ["class"])) : C("", !0),
3393
+ x.showExporterButton ? (d(), b(u(q), {
3344
3394
  key: 1,
3345
3395
  outlined: "",
3346
- onClick: B,
3396
+ onClick: $,
3347
3397
  "data-cy": "exporter"
3348
3398
  }, {
3349
- default: y(() => [
3350
- h(u(j), {
3399
+ default: g(() => [
3400
+ h(u(I), {
3351
3401
  icon: "typcn:export",
3352
3402
  width: "24",
3353
3403
  height: "24"
3354
3404
  }),
3355
- x[3] || (x[3] = _(" Export "))
3405
+ w[3] || (w[3] = M(" Export "))
3356
3406
  ]),
3357
3407
  _: 1
3358
- })) : S("", !0),
3359
- w(b.$slots, "column-customiser")
3408
+ })) : C("", !0),
3409
+ k(x.$slots, "column-customiser")
3360
3410
  ])
3361
3411
  ])
3362
3412
  ], 2)
3363
3413
  ]),
3364
- default: y(() => [
3365
- w(b.$slots, "default")
3414
+ default: g(() => [
3415
+ k(x.$slots, "default")
3366
3416
  ]),
3367
3417
  _: 2
3368
3418
  }, [
3369
- N(b.$slots, (P, L) => ({
3370
- name: L,
3371
- fn: y((ie) => [
3372
- w(b.$slots, L, W(Y(ie || {})))
3419
+ U(x.$slots, (_, f) => ({
3420
+ name: f,
3421
+ fn: g((V) => [
3422
+ k(x.$slots, f, W(G(V || {})))
3373
3423
  ])
3374
3424
  })),
3375
- b.legacyPaginationFooter ? {
3425
+ x.legacyPaginationFooter ? {
3376
3426
  name: "paginatorstart",
3377
- fn: y(() => [
3427
+ fn: g(() => [
3378
3428
  m("span", {
3379
3429
  class: F(["d-flex", i.loading ? "opacity-50" : ""]),
3380
3430
  "data-cy": "legacy-page-size"
3381
3431
  }, [
3382
- x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3432
+ w[4] || (w[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3383
3433
  h(u(ae), {
3384
3434
  options: n.value,
3385
3435
  modelValue: o.value,
3386
- "onUpdate:modelValue": x[1] || (x[1] = (P) => o.value = P),
3436
+ "onUpdate:modelValue": w[1] || (w[1] = (_) => o.value = _),
3387
3437
  class: "ms-2",
3388
- onClick: q
3438
+ onClick: A
3389
3439
  }, null, 8, ["options", "modelValue"])
3390
3440
  ], 2)
3391
3441
  ]),
3392
3442
  key: "0"
3393
3443
  } : void 0,
3394
- b.legacyPaginationFooter ? {
3444
+ x.legacyPaginationFooter ? {
3395
3445
  name: "paginatorend",
3396
- fn: y(() => [
3446
+ fn: g(() => [
3397
3447
  m("span", {
3398
3448
  "data-cy": "legacy-total",
3399
3449
  class: F(i.loading ? "opacity-50" : "")
3400
- }, k(p.value) + " " + k(u(Q)(p.value, "result")) + " across " + k(c.value), 3)
3450
+ }, B(p.value) + " " + B(u(Q)(p.value, "result")) + " across " + B(c.value), 3)
3401
3451
  ]),
3402
3452
  key: "1"
3403
3453
  } : void 0
3404
3454
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3405
3455
  ]));
3406
3456
  }
3407
- }), $a = { class: "d-flex position-relative" }, Fa = { class: "d-flex w-100" }, tl = /* @__PURE__ */ $({
3457
+ }), 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({
3458
+ __name: "ForgeTreeTable",
3459
+ props: {
3460
+ stripedRows: { type: Boolean, default: !1 },
3461
+ parentExpanderFullRow: { type: Boolean, default: !1 },
3462
+ totalColumns: { default: 1 },
3463
+ severity: {},
3464
+ value: {},
3465
+ legacyPaginationFooter: { type: Boolean, default: !1 },
3466
+ showClearButton: { type: Boolean, default: !1 },
3467
+ clearAll: {},
3468
+ emptyMessage: {},
3469
+ dataKey: {},
3470
+ expandedKeys: {},
3471
+ selectionKeys: {},
3472
+ selectionMode: {},
3473
+ metaKeySelection: { type: Boolean },
3474
+ contextMenu: { type: Boolean },
3475
+ contextMenuSelection: {},
3476
+ rows: {},
3477
+ first: {},
3478
+ totalRecords: {},
3479
+ paginator: { type: Boolean, default: !0 },
3480
+ paginatorPosition: {},
3481
+ alwaysShowPaginator: { type: Boolean, default: !0 },
3482
+ paginatorTemplate: {},
3483
+ pageLinkSize: {},
3484
+ rowsPerPageOptions: {},
3485
+ currentPageReportTemplate: {},
3486
+ lazy: { type: Boolean },
3487
+ loading: { type: Boolean },
3488
+ loadingIcon: {},
3489
+ loadingMode: {},
3490
+ rowHover: { type: Boolean },
3491
+ autoLayout: { type: Boolean },
3492
+ sortField: {},
3493
+ sortOrder: {},
3494
+ defaultSortOrder: {},
3495
+ multiSortMeta: {},
3496
+ sortMode: {},
3497
+ removableSort: { type: Boolean },
3498
+ filters: {},
3499
+ filterMode: {},
3500
+ filterLocale: {},
3501
+ resizableColumns: { type: Boolean },
3502
+ columnResizeMode: {},
3503
+ indentation: {},
3504
+ showGridlines: { type: Boolean },
3505
+ scrollable: { type: Boolean },
3506
+ scrollHeight: {},
3507
+ size: {},
3508
+ tableStyle: {},
3509
+ tableClass: {},
3510
+ tableProps: {},
3511
+ dt: {},
3512
+ pt: {},
3513
+ ptOptions: {},
3514
+ unstyled: { type: Boolean }
3515
+ },
3516
+ emits: ["update:filters", "update:tableContext", "sort", "page"],
3517
+ setup(e, { emit: t }) {
3518
+ const a = e, i = t, l = P([5, 10, 20, 50, 100]), n = P(10), o = P(0), s = P(0), p = P({
3519
+ filters: a.filters,
3520
+ perPage: n.value,
3521
+ page: 0,
3522
+ sortDirection: "None",
3523
+ sortField: "",
3524
+ total: a.totalRecords ?? a.value.length
3525
+ }), c = T(() => a.totalRecords ?? a.value.length), y = T(() => {
3526
+ const f = Math.ceil(c.value / n.value);
3527
+ return `${f} ${Q(f, "page")}`;
3528
+ }), r = T(() => ({
3529
+ root: "position-relative",
3530
+ table: (f) => ({
3531
+ class: [
3532
+ "table position-relative",
3533
+ {
3534
+ "table-striped": f.attrs.stripedRows,
3535
+ "table-hover": f.props.rowHover,
3536
+ "table-bordered": f.props.showGridlines,
3537
+ "table-sm": f.props.size === "small",
3538
+ "table-lg": f.props.size === "large",
3539
+ "opacity-50": f.props.loading
3540
+ }
3541
+ ]
3542
+ }),
3543
+ loadingIcon: () => ({
3544
+ class: [
3545
+ "spinner-border border-0",
3546
+ {
3547
+ "text-brand": a.severity === "brand",
3548
+ "text-primary": a.severity === "primary",
3549
+ "text-success": a.severity === "success",
3550
+ "text-success-alternate": a.severity === "success-alternate",
3551
+ "text-warning": a.severity === "warning",
3552
+ "text-danger": a.severity === "danger",
3553
+ "text-info": a.severity === "info"
3554
+ }
3555
+ ]
3556
+ }),
3557
+ row: ({ instance: f }) => [
3558
+ {
3559
+ "parent-node": f.node.hasOwnProperty("children")
3560
+ }
3561
+ ]
3562
+ }));
3563
+ le(() => a.parentExpanderFullRow, (f) => {
3564
+ f ? $() : z();
3565
+ });
3566
+ const $ = () => {
3567
+ a.parentExpanderFullRow && setTimeout(
3568
+ () => {
3569
+ const f = Array.from(
3570
+ document.querySelectorAll(".parent-node td.expander-cell")
3571
+ );
3572
+ Array.from(
3573
+ document.querySelectorAll(".parent-node td")
3574
+ ).forEach((L) => {
3575
+ L.classList.add("d-none");
3576
+ }), f.forEach((L) => {
3577
+ L.setAttribute("colspan", a.totalColumns.toString()), L.classList.remove("d-none");
3578
+ });
3579
+ },
3580
+ 0
3581
+ );
3582
+ }, z = () => {
3583
+ setTimeout(
3584
+ () => {
3585
+ const f = Array.from(
3586
+ document.querySelectorAll(".parent-node td.expander-cell")
3587
+ ), V = Array.from(
3588
+ document.querySelectorAll(".parent-node td")
3589
+ );
3590
+ f.forEach((L) => {
3591
+ L.removeAttribute("colspan");
3592
+ }), V.forEach((L) => {
3593
+ L.classList.remove("d-none");
3594
+ });
3595
+ },
3596
+ 0
3597
+ );
3598
+ }, D = () => {
3599
+ if (a.clearAll)
3600
+ a.clearAll();
3601
+ else
3602
+ for (const f in a.filters)
3603
+ typeof a.filters[f] == "string" ? a.filters[f] = "" : a.filters[f].value = null;
3604
+ A(a.filters);
3605
+ }, O = (f) => {
3606
+ var V;
3607
+ 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), $();
3608
+ }, A = (f) => {
3609
+ p.value.filters = f, i("update:tableContext", p.value), i("update:filters", f), $();
3610
+ }, x = (f) => {
3611
+ p.value.page = s.value = f.page, _(), i("update:tableContext", p.value), i("page", f), $();
3612
+ }, w = () => {
3613
+ p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), _(), i("update:tableContext", p.value), $();
3614
+ };
3615
+ le(() => a.filters, (f) => {
3616
+ p.value.filters = f, i("update:tableContext", p.value);
3617
+ }, { deep: !0 }), ne(() => {
3618
+ $(), i("update:tableContext", p.value);
3619
+ });
3620
+ const _ = () => {
3621
+ o.value = s.value * n.value;
3622
+ };
3623
+ return (f, V) => (d(), v("div", za, [
3624
+ m("span", Ta, [
3625
+ k(f.$slots, "above-table")
3626
+ ]),
3627
+ h(u(Ge), j({
3628
+ class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
3629
+ }, { ...a, ...f.$attrs }, {
3630
+ pt: r.value,
3631
+ "filter-display": a.filters ? "row" : void 0,
3632
+ rows: f.paginator ? n.value : void 0,
3633
+ "data-cy": "tree-table",
3634
+ "onUpdate:filters": A,
3635
+ onSort: O,
3636
+ onPage: x,
3637
+ onNodeExpand: V[2] || (V[2] = () => $()),
3638
+ showHeaders: "",
3639
+ first: o.value
3640
+ }), te({
3641
+ header: g(() => [
3642
+ m("div", {
3643
+ class: F(a.loading ? "opacity-50" : "")
3644
+ }, [
3645
+ m("div", ja, [
3646
+ m("div", Ia, [
3647
+ f.paginator && !f.legacyPaginationFooter ? (d(), v("span", Pa, [
3648
+ h(he, {
3649
+ total: c.value,
3650
+ "page-sizes": l.value,
3651
+ "per-page": n.value,
3652
+ "onUpdate:perPage": [
3653
+ V[0] || (V[0] = (L) => n.value = L),
3654
+ w
3655
+ ]
3656
+ }, null, 8, ["total", "page-sizes", "per-page"])
3657
+ ])) : C("", !0)
3658
+ ]),
3659
+ m("div", _a, [
3660
+ f.showClearButton ? (d(), b(u(q), {
3661
+ key: 0,
3662
+ outlined: "",
3663
+ onClick: D,
3664
+ "data-cy": "clear-all"
3665
+ }, {
3666
+ default: g(() => [
3667
+ h(u(I), {
3668
+ icon: "bi:funnel-fill",
3669
+ width: "24",
3670
+ height: "24"
3671
+ }),
3672
+ V[3] || (V[3] = M(" Clear "))
3673
+ ]),
3674
+ _: 1
3675
+ })) : C("", !0),
3676
+ k(f.$slots, "column-customiser")
3677
+ ])
3678
+ ])
3679
+ ], 2)
3680
+ ]),
3681
+ default: g(() => [
3682
+ k(f.$slots, "default")
3683
+ ]),
3684
+ _: 2
3685
+ }, [
3686
+ U(f.$slots, (L, ve) => ({
3687
+ name: ve,
3688
+ fn: g(($e) => [
3689
+ k(f.$slots, ve, W(G($e || {})))
3690
+ ])
3691
+ })),
3692
+ f.legacyPaginationFooter ? {
3693
+ name: "paginatorstart",
3694
+ fn: g(() => [
3695
+ m("span", {
3696
+ class: F(["d-flex", a.loading ? "opacity-50" : ""]),
3697
+ "data-cy": "legacy-page-size"
3698
+ }, [
3699
+ V[4] || (V[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3700
+ h(u(ae), {
3701
+ options: l.value,
3702
+ modelValue: n.value,
3703
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => n.value = L),
3704
+ class: "ms-2",
3705
+ onClick: w
3706
+ }, null, 8, ["options", "modelValue"])
3707
+ ], 2)
3708
+ ]),
3709
+ key: "0"
3710
+ } : void 0,
3711
+ f.legacyPaginationFooter ? {
3712
+ name: "paginatorend",
3713
+ fn: g(() => [
3714
+ m("span", {
3715
+ "data-cy": "legacy-total",
3716
+ class: F(a.loading ? "opacity-50" : "")
3717
+ }, B(c.value) + " " + B(u(Q)(c.value, "result")) + " across " + B(y.value), 3)
3718
+ ]),
3719
+ key: "1"
3720
+ } : void 0
3721
+ ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3722
+ ]));
3723
+ }
3724
+ }), Ma = { class: "d-flex position-relative" }, Va = { class: "d-flex w-100" }, vl = /* @__PURE__ */ S({
3408
3725
  __name: "ForgeFilterHeader",
3409
- props: /* @__PURE__ */ U({
3726
+ props: /* @__PURE__ */ R({
3410
3727
  dataType: {},
3411
3728
  dropdownOptions: {},
3412
3729
  showClearButton: { type: Boolean, default: !1 },
@@ -3419,13 +3736,13 @@ const pa = {
3419
3736
  }),
3420
3737
  emits: ["update:modelValue"],
3421
3738
  setup(e) {
3422
- const t = D(e, "modelValue"), a = (l, n) => {
3739
+ const t = N(e, "modelValue"), a = (l, n) => {
3423
3740
  if (!l || Array.isArray(l) && l.length === 0)
3424
3741
  return n;
3425
3742
  const o = (s) => {
3426
3743
  var c;
3427
3744
  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])
3745
+ (y) => e.optionValue ? y[e.optionValue] === s : Object.keys(y).every((r) => s.hasOwnProperty(r) && y[r] === s[r])
3429
3746
  );
3430
3747
  return e.optionLabel ? p[e.optionLabel] : p;
3431
3748
  };
@@ -3434,21 +3751,21 @@ const pa = {
3434
3751
  e.clearFilter ? e.clearFilter() : t.value = null;
3435
3752
  };
3436
3753
  return (l, n) => {
3437
- const o = me, s = A;
3438
- return r(), v("div", $a, [
3439
- l.dataType === "numeric" ? (r(), f(o, z({
3754
+ const o = fe, s = q;
3755
+ return d(), v("div", Ma, [
3756
+ l.dataType === "numeric" ? (d(), b(o, j({
3440
3757
  key: 0,
3441
3758
  modelValue: t.value,
3442
3759
  "onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p),
3443
3760
  modelModifiers: { trim: !0 }
3444
- }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (r(), f(be, z({
3761
+ }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), b(xe, j({
3445
3762
  key: 1,
3446
3763
  modelValue: t.value,
3447
3764
  "onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
3448
3765
  }, l.$attrs, {
3449
3766
  "show-icon": !1,
3450
3767
  "show-on-focus": !0
3451
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(ae), z({
3768
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(u(ae), j({
3452
3769
  key: 2,
3453
3770
  modelValue: t.value,
3454
3771
  "onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
@@ -3457,19 +3774,19 @@ const pa = {
3457
3774
  "option-value": l.optionValue,
3458
3775
  "option-label": l.optionLabel
3459
3776
  }), {
3460
- value: y(({ value: p, placeholder: c }) => [
3461
- m("div", Fa, [
3777
+ value: g(({ value: p, placeholder: c }) => [
3778
+ m("div", Va, [
3462
3779
  m("span", {
3463
3780
  class: F({ "filter-placeholder": p === null })
3464
- }, k(a(p, c)), 3),
3465
- l.showClearButton && t.value !== null ? (r(), f(s, {
3781
+ }, B(a(p, c)), 3),
3782
+ l.showClearButton && t.value !== null ? (d(), b(s, {
3466
3783
  key: 0,
3467
- onClick: K(i, ["prevent"]),
3784
+ onClick: X(i, ["prevent"]),
3468
3785
  size: "small",
3469
3786
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3470
3787
  }, {
3471
- default: y(() => [
3472
- h(u(j), {
3788
+ default: g(() => [
3789
+ h(u(I), {
3473
3790
  icon: "bi:x",
3474
3791
  width: "1rem",
3475
3792
  height: "1rem",
@@ -3477,11 +3794,11 @@ const pa = {
3477
3794
  })
3478
3795
  ]),
3479
3796
  _: 1
3480
- })) : S("", !0)
3797
+ })) : C("", !0)
3481
3798
  ])
3482
3799
  ]),
3483
3800
  _: 1
3484
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (r(), f(u(oe), z({
3801
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), b(u(re), j({
3485
3802
  key: 3,
3486
3803
  modelValue: t.value,
3487
3804
  "onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
@@ -3491,20 +3808,20 @@ const pa = {
3491
3808
  "option-label": l.optionLabel,
3492
3809
  "option-value": l.optionValue,
3493
3810
  filter: ""
3494
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), f(u(ne), z({
3811
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), b(u(se), j({
3495
3812
  key: 4,
3496
3813
  modelValue: t.value,
3497
3814
  "onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p),
3498
3815
  modelModifiers: { trim: !0 }
3499
3816
  }, l.$attrs), null, 16, ["modelValue"])),
3500
- l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (r(), f(s, {
3817
+ l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (d(), b(s, {
3501
3818
  key: 5,
3502
- onClick: K(i, ["prevent"]),
3819
+ onClick: X(i, ["prevent"]),
3503
3820
  size: "small",
3504
3821
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3505
3822
  }, {
3506
- default: y(() => [
3507
- h(u(j), {
3823
+ default: g(() => [
3824
+ h(u(I), {
3508
3825
  icon: "bi:x",
3509
3826
  width: "1rem",
3510
3827
  height: "1rem",
@@ -3512,11 +3829,11 @@ const pa = {
3512
3829
  })
3513
3830
  ]),
3514
3831
  _: 1
3515
- })) : S("", !0)
3832
+ })) : C("", !0)
3516
3833
  ]);
3517
3834
  };
3518
3835
  }
3519
- }), de = {
3836
+ }), ce = {
3520
3837
  "application/prs.cww": ["cww"],
3521
3838
  "application/prs.xsf+xml": ["xsf"],
3522
3839
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -4215,8 +4532,8 @@ const pa = {
4215
4532
  "video/x-smv": ["smv"],
4216
4533
  "x-conference/x-cooltalk": ["ice"]
4217
4534
  };
4218
- Object.freeze(de);
4219
- const pe = {
4535
+ Object.freeze(ce);
4536
+ const ue = {
4220
4537
  "application/andrew-inset": ["ez"],
4221
4538
  "application/appinstaller": ["appinstaller"],
4222
4539
  "application/applixware": ["aw"],
@@ -4568,31 +4885,31 @@ const pe = {
4568
4885
  "video/quicktime": ["qt", "mov"],
4569
4886
  "video/webm": ["webm"]
4570
4887
  };
4571
- Object.freeze(pe);
4572
- var E = function(e, t, a, i) {
4888
+ Object.freeze(ue);
4889
+ var H = function(e, t, a, i) {
4573
4890
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
4574
4891
  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
4892
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
4576
- }, G, Z, R;
4577
- class ye {
4893
+ }, K, ee, Y;
4894
+ class we {
4578
4895
  constructor(...t) {
4579
- G.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4896
+ K.set(this, /* @__PURE__ */ new Map()), ee.set(this, /* @__PURE__ */ new Map()), Y.set(this, /* @__PURE__ */ new Map());
4580
4897
  for (const a of t)
4581
4898
  this.define(a);
4582
4899
  }
4583
4900
  define(t, a = !1) {
4584
4901
  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);
4902
+ i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), H(this, Y, "f").has(i) || H(this, Y, "f").set(i, /* @__PURE__ */ new Set());
4903
+ const n = H(this, Y, "f").get(i);
4587
4904
  let o = !0;
4588
4905
  for (let s of l) {
4589
4906
  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)
4907
+ if (s = p ? s.slice(1) : s, n == null || n.add(s), o && H(this, ee, "f").set(i, s), o = !1, p)
4591
4908
  continue;
4592
- const c = E(this, G, "f").get(s);
4909
+ const c = H(this, K, "f").get(s);
4593
4910
  if (c && c != i && !a)
4594
4911
  throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
4595
- E(this, G, "f").set(s, i);
4912
+ H(this, K, "f").set(s, i);
4596
4913
  }
4597
4914
  }
4598
4915
  return this;
@@ -4601,33 +4918,33 @@ class ye {
4601
4918
  if (typeof t != "string")
4602
4919
  return null;
4603
4920
  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;
4921
+ return !(i.length < a.length - 1) && l ? null : H(this, K, "f").get(i) ?? null;
4605
4922
  }
4606
4923
  getExtension(t) {
4607
4924
  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);
4925
+ 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
4926
  }
4610
4927
  getAllExtensions(t) {
4611
- return typeof t != "string" ? null : E(this, R, "f").get(t.toLowerCase()) ?? null;
4928
+ return typeof t != "string" ? null : H(this, Y, "f").get(t.toLowerCase()) ?? null;
4612
4929
  }
4613
4930
  _freeze() {
4614
4931
  this.define = () => {
4615
4932
  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
4933
  }, Object.freeze(this);
4617
- for (const t of E(this, R, "f").values())
4934
+ for (const t of H(this, Y, "f").values())
4618
4935
  Object.freeze(t);
4619
4936
  return this;
4620
4937
  }
4621
4938
  _getTestState() {
4622
4939
  return {
4623
- types: E(this, G, "f"),
4624
- extensions: E(this, Z, "f")
4940
+ types: H(this, K, "f"),
4941
+ extensions: H(this, ee, "f")
4625
4942
  };
4626
4943
  }
4627
4944
  }
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) {
4945
+ K = /* @__PURE__ */ new WeakMap(), ee = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
4946
+ const Da = new we(ue, ce)._freeze();
4947
+ function ke(e, t, a, i) {
4631
4948
  const l = t.flatMap((n) => n.file);
4632
4949
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
4633
4950
  const o = l.findIndex((p) => p.name === n.name);
@@ -4639,10 +4956,10 @@ function xe(e, t, a, i) {
4639
4956
  })) : t[o].status = "Duplicate";
4640
4957
  }), t;
4641
4958
  }
4642
- async function Sa(e, t) {
4959
+ async function Oa(e, t) {
4643
4960
  if (e === "Uploaded" && t !== null)
4644
4961
  try {
4645
- await new ve(t).delete();
4962
+ await new ge(t).delete();
4646
4963
  } catch (a) {
4647
4964
  if (a !== "BlobNotFound") {
4648
4965
  e = "DeleteFileFailed";
@@ -4650,7 +4967,7 @@ async function Sa(e, t) {
4650
4967
  }
4651
4968
  }
4652
4969
  }
4653
- function ce(e, t = !0, a = 1) {
4970
+ function me(e, t = !0, a = 1) {
4654
4971
  const i = t ? 1e3 : 1024;
4655
4972
  if (Math.abs(e) < i)
4656
4973
  return e + " B";
@@ -4662,22 +4979,22 @@ function ce(e, t = !0, a = 1) {
4662
4979
  while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
4663
4980
  return e.toFixed(a) + " " + l[n];
4664
4981
  }
4665
- function Ca(e) {
4982
+ function Na(e) {
4666
4983
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4667
4984
  }
4668
- function za(e) {
4985
+ function Aa(e) {
4669
4986
  return URL.createObjectURL(e);
4670
4987
  }
4671
- function Ta() {
4672
- const e = new ye(pe, de);
4988
+ function Ea() {
4989
+ const e = new we(ue, ce);
4673
4990
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4674
4991
  }
4675
- const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disabled", "multiple"], Ia = {
4992
+ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disabled", "multiple"], La = {
4676
4993
  class: "text-break accepted-file-types-container",
4677
4994
  id: "accepted-file-types-overlay"
4678
- }, Pa = /* @__PURE__ */ $({
4995
+ }, Ra = /* @__PURE__ */ S({
4679
4996
  __name: "UploadButton",
4680
- props: /* @__PURE__ */ U({
4997
+ props: /* @__PURE__ */ R({
4681
4998
  acceptedFileTypes: {},
4682
4999
  maxFileInput: {},
4683
5000
  showDragDropArea: { type: Boolean }
@@ -4687,13 +5004,13 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4687
5004
  }),
4688
5005
  emits: ["update:modelValue"],
4689
5006
  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);
5007
+ const t = N(e, "modelValue"), a = P(), i = (o) => a.value.toggle(o), l = T(() => e.maxFileInput <= t.value.length), n = (o) => {
5008
+ t.value = ke(o, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
4692
5009
  };
4693
5010
  return (o, s) => {
4694
- const p = A;
4695
- return r(), v("div", ja, [
4696
- w(o.$slots, "message"),
5011
+ const p = q;
5012
+ return d(), v("div", Ua, [
5013
+ k(o.$slots, "message"),
4697
5014
  m("div", null, [
4698
5015
  m("input", {
4699
5016
  id: "file-input",
@@ -4703,57 +5020,57 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4703
5020
  disabled: l.value,
4704
5021
  multiple: o.maxFileInput > 1,
4705
5022
  onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
4706
- }, null, 40, _a),
5023
+ }, null, 40, qa),
4707
5024
  m("label", {
4708
5025
  class: F([{ disabled: l.value }, "btn btn-primary"]),
4709
5026
  id: "file-input-button",
4710
5027
  for: "file-input"
4711
5028
  }, [
4712
- w(o.$slots, "button-content", {}, () => [
4713
- h(u(j), {
5029
+ k(o.$slots, "button-content", {}, () => [
5030
+ h(u(I), {
4714
5031
  icon: "bi:upload",
4715
5032
  class: "me-2",
4716
5033
  height: "20px",
4717
5034
  width: "20px"
4718
5035
  }),
4719
- s[1] || (s[1] = _(" Browse your computer "))
5036
+ s[1] || (s[1] = M(" Browse your computer "))
4720
5037
  ])
4721
5038
  ], 2)
4722
5039
  ]),
4723
- o.showDragDropArea ? (r(), f(p, {
5040
+ o.showDragDropArea ? (d(), b(p, {
4724
5041
  link: "",
4725
5042
  class: "ms-auto",
4726
5043
  key: o.acceptedFileTypes.length,
4727
5044
  id: "accepted-file-types",
4728
5045
  onClick: i
4729
5046
  }, {
4730
- default: y(() => s[2] || (s[2] = [
4731
- _("Accepted File Types")
5047
+ default: g(() => s[2] || (s[2] = [
5048
+ M("Accepted File Types")
4732
5049
  ])),
4733
5050
  _: 1
4734
- })) : S("", !0),
4735
- h(u(fe), {
5051
+ })) : C("", !0),
5052
+ h(u(be), {
4736
5053
  ref_key: "acceptedFilesOverlay",
4737
5054
  ref: a
4738
5055
  }, {
4739
- default: y(() => [
4740
- m("div", Ia, k(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5056
+ default: g(() => [
5057
+ m("div", La, B(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
4741
5058
  ]),
4742
5059
  _: 1
4743
5060
  }, 512)
4744
5061
  ]);
4745
5062
  };
4746
5063
  }
4747
- }), Va = {
5064
+ }), Ha = {
4748
5065
  key: 0,
4749
5066
  class: "py-4 px-3",
4750
5067
  id: "placeholder-message"
4751
- }, Ma = {
5068
+ }, Wa = {
4752
5069
  key: 1,
4753
5070
  class: "d-flex flex-column"
4754
- }, Da = /* @__PURE__ */ $({
5071
+ }, Ga = /* @__PURE__ */ S({
4755
5072
  __name: "DragDropArea",
4756
- props: /* @__PURE__ */ U({
5073
+ props: /* @__PURE__ */ R({
4757
5074
  maxFileInput: {},
4758
5075
  maxFileSize: {},
4759
5076
  acceptedFileTypes: {}
@@ -4763,30 +5080,30 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4763
5080
  }),
4764
5081
  emits: ["update:modelValue"],
4765
5082
  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);
5083
+ const t = N(e, "modelValue"), a = P(!1), i = T(() => e.maxFileInput <= t.value.length), l = (n) => {
5084
+ 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
5085
  };
4769
- return (n, o) => (r(), v("div", {
5086
+ return (n, o) => (d(), v("div", {
4770
5087
  id: "drag-drop-area",
4771
5088
  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"])
5089
+ onDragleave: o[0] || (o[0] = X((s) => a.value = !1, ["prevent"])),
5090
+ onDragover: o[1] || (o[1] = X((s) => a.value = !0, ["prevent"])),
5091
+ onDrop: X(l, ["prevent"])
4775
5092
  }, [
4776
- t.value.length === 0 ? (r(), v("div", Va, [
4777
- h(u(j), {
5093
+ t.value.length === 0 ? (d(), v("div", Ha, [
5094
+ h(u(I), {
4778
5095
  icon: "bi:upload",
4779
5096
  class: "me-2",
4780
5097
  height: "20px",
4781
5098
  width: "20px"
4782
5099
  }),
4783
- o[2] || (o[2] = _(" Drag and drop files here "))
4784
- ])) : (r(), v("div", Ma, [
4785
- w(n.$slots, "default")
5100
+ o[2] || (o[2] = M(" Drag and drop files here "))
5101
+ ])) : (d(), v("div", Wa, [
5102
+ k(n.$slots, "default")
4786
5103
  ]))
4787
5104
  ], 34));
4788
5105
  }
4789
- }), Oa = { class: "d-flex align-items-center me-2" }, Na = /* @__PURE__ */ $({
5106
+ }), Ya = { class: "d-flex align-items-center me-2" }, Ja = /* @__PURE__ */ S({
4790
5107
  __name: "UploadStatus",
4791
5108
  props: {
4792
5109
  fileSize: {},
@@ -4800,7 +5117,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4800
5117
  case "InvalidFileType":
4801
5118
  return "Upload Failed: File type is not accepted.";
4802
5119
  case "InvalidFileSize":
4803
- return `Upload Failed: File size exceeds the ${ce(t.maxFileSize)} limit.`;
5120
+ return `Upload Failed: File size exceeds the ${me(t.maxFileSize)} limit.`;
4804
5121
  case "Aborted":
4805
5122
  return "Upload Failed: User cancelled.";
4806
5123
  case "DeleteFileFailed":
@@ -4812,35 +5129,35 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4812
5129
  }
4813
5130
  });
4814
5131
  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, {
5132
+ const o = pe;
5133
+ return d(), v("div", Ya, [
5134
+ t.uploadStatus === "Uploading" ? (d(), b(o, { key: 0 })) : C("", !0),
5135
+ t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (d(), b(de, {
4819
5136
  key: 1,
4820
5137
  id: "upload-status-alert",
4821
5138
  severity: a.value,
4822
5139
  class: "mb-0 w-75 ms-auto"
4823
5140
  }, {
4824
- default: y(() => [
4825
- _(k(i.value), 1)
5141
+ default: g(() => [
5142
+ M(B(i.value), 1)
4826
5143
  ]),
4827
5144
  _: 1
4828
- }, 8, ["severity"])) : S("", !0)
5145
+ }, 8, ["severity"])) : C("", !0)
4829
5146
  ]);
4830
5147
  };
4831
5148
  }
4832
- }), Ua = ["data-cy"], Aa = { class: "ms-3 d-flex flex-column" }, qa = {
5149
+ }), Ka = ["data-cy"], Za = { class: "ms-3 d-flex flex-column" }, Xa = {
4833
5150
  key: 1,
4834
5151
  id: "file-name"
4835
- }, Ea = {
5152
+ }, Qa = {
4836
5153
  class: "text-black-50",
4837
5154
  id: "file-type"
4838
- }, La = {
5155
+ }, ei = {
4839
5156
  class: "text-black-50",
4840
5157
  id: "file-size"
4841
- }, Ra = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, Ha = /* @__PURE__ */ $({
5158
+ }, ti = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ai = /* @__PURE__ */ S({
4842
5159
  __name: "FileInfo",
4843
- props: /* @__PURE__ */ U({
5160
+ props: /* @__PURE__ */ R({
4844
5161
  editableFileName: { type: Boolean },
4845
5162
  acceptedFileTypes: {},
4846
5163
  maxFileSize: {},
@@ -4855,64 +5172,64 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4855
5172
  uploadStatus: { required: !0 },
4856
5173
  uploadStatusModifiers: {}
4857
5174
  }),
4858
- emits: /* @__PURE__ */ U(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5175
+ emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
4859
5176
  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";
5177
+ 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 = () => {
5178
+ o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5179
+ }, D = () => {
5180
+ let x = o.value.split("."), w = Da.getExtension($.value), _ = o.value.split(".").pop();
5181
+ x.length === 1 ? _ && _.length > 0 && (o.value = [o.value, w].join(".")) : x.length > 1 && _ !== w && (o.value = o.value.replace(_, w));
5182
+ }, O = async () => {
5183
+ if (!y.value || !r.value) {
5184
+ l.value = y.value ? "InvalidFileSize" : "InvalidFileType";
4868
5185
  return;
4869
5186
  }
4870
5187
  l.value = "Preparing", c.value = new AbortController();
4871
- const [b, x] = await e.getFileUrlAction(a.value.name);
4872
- if (!b) {
5188
+ const [x, w] = await e.getFileUrlAction(a.value.name);
5189
+ if (!x) {
4873
5190
  l.value = "Failed";
4874
5191
  return;
4875
5192
  }
4876
5193
  try {
4877
5194
  l.value = "Uploading";
4878
- const P = new ve(b), L = {
5195
+ const _ = new ge(x), f = {
4879
5196
  abortSignal: c.value.signal,
4880
- onProgress: (ie) => p.value = ie.loadedBytes,
5197
+ onProgress: (V) => p.value = V.loadedBytes,
4881
5198
  blobHTTPHeaders: {
4882
- blobContentType: B.value,
5199
+ blobContentType: $.value,
4883
5200
  blobContentDisposition: `attachment; filename="${a.value.name}"`
4884
5201
  },
4885
5202
  tags: { temp: "true" }
4886
5203
  };
4887
- await P.uploadData(a.value, L), s.value = b, l.value = "Uploaded", i.value = x;
4888
- } catch (P) {
4889
- if (P.name === "AbortError") {
5204
+ await _.uploadData(a.value, f), s.value = x, l.value = "Uploaded", i.value = w;
5205
+ } catch (_) {
5206
+ if (_.name === "AbortError") {
4890
5207
  l.value = "Aborted";
4891
5208
  return;
4892
5209
  }
4893
5210
  l.value = "Failed";
4894
5211
  }
4895
- }, q = async () => {
4896
- await Sa(l.value, s.value), n("deleted", a.value);
5212
+ }, A = async () => {
5213
+ await Oa(l.value, s.value), n("deleted", a.value);
4897
5214
  };
4898
- return le(() => {
4899
- e.autoUploadToBlob && l.value != "Uploaded" && M();
4900
- }), (b, x) => {
4901
- const P = A;
4902
- return r(), v("div", {
5215
+ return ne(() => {
5216
+ e.autoUploadToBlob && l.value != "Uploaded" && O();
5217
+ }), (x, w) => {
5218
+ const _ = q;
5219
+ return d(), v("div", {
4903
5220
  class: "py-4 px-3 d-flex",
4904
5221
  "data-cy": `file-info-${a.value.name}`
4905
5222
  }, [
4906
5223
  m("div", null, [
4907
- u(Ca)(a.value.type) ? (r(), f(u(Le), {
5224
+ u(Na)(a.value.type) ? (d(), b(u(Ye), {
4908
5225
  key: 0,
4909
5226
  id: "thumbnail-image",
4910
5227
  "image-class": "image-file-thumbnail border",
4911
- src: u(za)(a.value),
5228
+ src: u(Aa)(a.value),
4912
5229
  alt: a.value.name,
4913
5230
  width: "75px",
4914
5231
  preview: ""
4915
- }, null, 8, ["src", "alt"])) : (r(), f(u(j), {
5232
+ }, null, 8, ["src", "alt"])) : (d(), b(u(I), {
4916
5233
  key: 1,
4917
5234
  id: "file-earmark",
4918
5235
  icon: "bi:file-earmark",
@@ -4920,80 +5237,80 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
4920
5237
  width: "75px"
4921
5238
  }))
4922
5239
  ]),
4923
- m("div", Aa, [
5240
+ m("div", Za, [
4924
5241
  m("div", null, [
4925
- b.editableFileName ? (r(), f(Ut, {
5242
+ x.editableFileName ? (d(), b(Ht, {
4926
5243
  key: 0,
4927
5244
  id: "edit-file-name",
4928
5245
  modelValue: o.value,
4929
- "onUpdate:modelValue": x[0] || (x[0] = (L) => o.value = L),
4930
- rules: b.customFileNameRules,
5246
+ "onUpdate:modelValue": w[0] || (w[0] = (f) => o.value = f),
5247
+ rules: x.customFileNameRules,
4931
5248
  name: a.value.name,
4932
- "complete-action": C
4933
- }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", qa, k(o.value), 1))
5249
+ "complete-action": z
5250
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), v("span", Xa, B(o.value), 1))
4934
5251
  ]),
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)
5252
+ m("span", Qa, "File type: " + B(a.value.type.split("/").pop()), 1),
5253
+ m("span", ei, "File size: " + B(u(me)(a.value.size)), 1)
4937
5254
  ]),
4938
- m("div", Ra, [
4939
- (r(), f(Na, {
5255
+ m("div", ti, [
5256
+ (d(), b(Ja, {
4940
5257
  key: l.value,
4941
5258
  "file-size": a.value.size,
4942
5259
  "upload-status": l.value,
4943
5260
  "bytes-uploaded": p.value,
4944
- "max-file-size": b.maxFileSize
5261
+ "max-file-size": x.maxFileSize
4945
5262
  }, 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, {
5263
+ l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (d(), b(_, {
4947
5264
  key: 0,
4948
5265
  link: "",
4949
- onClick: M
5266
+ onClick: O
4950
5267
  }, {
4951
- default: y(() => [
4952
- h(u(j), {
5268
+ default: g(() => [
5269
+ h(u(I), {
4953
5270
  icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
4954
5271
  }, null, 8, ["icon"])
4955
5272
  ]),
4956
5273
  _: 1
4957
- })) : S("", !0),
4958
- l.value === "Uploading" ? (r(), f(P, {
5274
+ })) : C("", !0),
5275
+ l.value === "Uploading" ? (d(), b(_, {
4959
5276
  key: 1,
4960
5277
  link: "",
4961
- onClick: x[1] || (x[1] = (L) => c.value.abort())
5278
+ onClick: w[1] || (w[1] = (f) => c.value.abort())
4962
5279
  }, {
4963
- default: y(() => [
4964
- h(u(j), { icon: "bi:x-circle-fill" })
5280
+ default: g(() => [
5281
+ h(u(I), { icon: "bi:x-circle-fill" })
4965
5282
  ]),
4966
5283
  _: 1
4967
- })) : (r(), f(P, {
5284
+ })) : (d(), b(_, {
4968
5285
  key: 2,
4969
5286
  link: "",
4970
- onClick: q,
5287
+ onClick: A,
4971
5288
  id: "delete-button"
4972
5289
  }, {
4973
- default: y(() => [
4974
- h(u(j), { icon: "bi:trash" })
5290
+ default: g(() => [
5291
+ h(u(I), { icon: "bi:trash" })
4975
5292
  ]),
4976
5293
  _: 1
4977
5294
  }))
4978
5295
  ])
4979
- ], 8, Ua);
5296
+ ], 8, Ka);
4980
5297
  };
4981
5298
  }
4982
- }), Wa = { class: "d-flex justify-content-end mt-1 gap-1" }, Ya = { id: "max-file-size" }, Ga = { id: "max-file-input" }, Ja = /* @__PURE__ */ $({
5299
+ }), 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
5300
  __name: "FileInputInfo",
4984
5301
  props: {
4985
5302
  maxFileSize: {},
4986
5303
  maxFileInput: {}
4987
5304
  },
4988
5305
  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)
5306
+ return (t, a) => (d(), v("div", ii, [
5307
+ m("div", li, "Max file size: " + B(u(me)(t.maxFileSize)), 1),
5308
+ m("div", ni, "| Max file count: " + B(t.maxFileInput), 1)
4992
5309
  ]));
4993
5310
  }
4994
- }), Ka = { "data-cy": "file-uploader" }, Za = { key: 0 }, al = /* @__PURE__ */ $({
5311
+ }), si = { "data-cy": "file-uploader" }, ri = { key: 0 }, fl = /* @__PURE__ */ S({
4995
5312
  __name: "ForgeFileUploader",
4996
- props: /* @__PURE__ */ U({
5313
+ props: /* @__PURE__ */ R({
4997
5314
  acceptedFileTypes: {},
4998
5315
  maxFileSize: {},
4999
5316
  getFileUrlAction: {},
@@ -5008,25 +5325,25 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5008
5325
  }),
5009
5326
  emits: ["update:modelValue"],
5010
5327
  setup(e) {
5011
- const t = D(e, "modelValue"), a = e, i = (l) => {
5328
+ const t = N(e, "modelValue"), a = e, i = (l) => {
5012
5329
  t.value = t.value.filter((n) => n.file != l);
5013
5330
  };
5014
- return (l, n) => (r(), v("div", Ka, [
5015
- h(Pa, z(a, {
5331
+ return (l, n) => (d(), v("div", si, [
5332
+ h(Ra, j(a, {
5016
5333
  modelValue: t.value,
5017
5334
  "onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
5018
5335
  }), null, 16, ["modelValue"]),
5019
- l.showDragDropArea ? (r(), v("div", Za, [
5020
- h(Da, {
5336
+ l.showDragDropArea ? (d(), v("div", ri, [
5337
+ h(Ga, {
5021
5338
  "max-file-input": a.maxFileInput,
5022
5339
  "max-file-size": a.maxFileSize,
5023
5340
  "accepted-file-types": a.acceptedFileTypes,
5024
5341
  modelValue: t.value,
5025
5342
  "onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o)
5026
5343
  }, {
5027
- default: y(() => [
5028
- (r(!0), v(O, null, N(t.value, ({ file: o }, s) => (r(), v("div", null, [
5029
- (r(), f(Ha, z({
5344
+ default: g(() => [
5345
+ (d(!0), v(E, null, U(t.value, ({ file: o }, s) => (d(), v("div", null, [
5346
+ (d(), b(ai, j({
5030
5347
  key: o.name,
5031
5348
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5032
5349
  file: t.value[s].file,
@@ -5041,14 +5358,14 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5041
5358
  ]),
5042
5359
  _: 1
5043
5360
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5044
- h(Ja, {
5361
+ h(oi, {
5045
5362
  "max-file-size": a.maxFileSize,
5046
5363
  "max-file-input": l.maxFileInput
5047
5364
  }, null, 8, ["max-file-size", "max-file-input"])
5048
- ])) : S("", !0)
5365
+ ])) : C("", !0)
5049
5366
  ]));
5050
5367
  }
5051
- }), Xa = { class: "d-flex" }, Qa = { class: "me-3" }, ei = { class: "ms-2" }, ti = { class: "d-flex flex-column w-100" }, il = /* @__PURE__ */ $({
5368
+ }), di = { class: "d-flex" }, pi = { class: "me-3" }, ci = { class: "ms-2" }, ui = { class: "d-flex flex-column w-100" }, gl = /* @__PURE__ */ S({
5052
5369
  __name: "ForgeColumnCustomiser",
5053
5370
  props: {
5054
5371
  modelValue: { required: !0 },
@@ -5056,22 +5373,22 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5056
5373
  },
5057
5374
  emits: ["update:modelValue"],
5058
5375
  setup(e) {
5059
- const t = D(e, "modelValue"), a = I(), i = I(!1), l = (n) => {
5376
+ const t = N(e, "modelValue"), a = P(), i = P(!1), l = (n) => {
5060
5377
  a.value.toggle(n);
5061
5378
  };
5062
- return (n, o) => (r(), v(O, null, [
5063
- h(u(A), {
5379
+ return (n, o) => (d(), v(E, null, [
5380
+ h(u(q), {
5064
5381
  onClick: l,
5065
5382
  class: "ms-2"
5066
5383
  }, {
5067
- default: y(() => [
5068
- m("div", Xa, [
5069
- m("div", Qa, [
5070
- h(u(j), { icon: "bi:layout-three-columns" })
5384
+ default: g(() => [
5385
+ m("div", di, [
5386
+ m("div", pi, [
5387
+ h(u(I), { icon: "bi:layout-three-columns" })
5071
5388
  ]),
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), {
5389
+ M(" Columns (" + B(t.value.filter((s) => s.selected).length ?? 0) + "/" + B(t.value.length ?? 0) + ") ", 1),
5390
+ m("div", ci, [
5391
+ h(u(I), {
5075
5392
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5076
5393
  }, null, 8, ["icon"])
5077
5394
  ])
@@ -5079,16 +5396,16 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5079
5396
  ]),
5080
5397
  _: 1
5081
5398
  }),
5082
- h(u(fe), {
5399
+ h(u(be), {
5083
5400
  ref_key: "columnCustomiserPanel",
5084
5401
  ref: a,
5085
5402
  class: "column-customiser",
5086
5403
  onHide: o[0] || (o[0] = () => i.value = !1),
5087
5404
  onShow: o[1] || (o[1] = () => i.value = !0)
5088
5405
  }, {
5089
- default: y(() => [
5090
- m("div", ti, [
5091
- (r(!0), v(O, null, N(t.value, (s, p) => (r(), v("div", {
5406
+ default: g(() => [
5407
+ m("div", ui, [
5408
+ (d(!0), v(E, null, U(t.value, (s, p) => (d(), v("div", {
5092
5409
  class: F(["d-flex cursor-pointer", {
5093
5410
  "border-top": p !== 0,
5094
5411
  "py-1": p !== 0 && t.value.length - 1 !== p,
@@ -5096,7 +5413,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5096
5413
  "pb-1": p === 0
5097
5414
  }])
5098
5415
  }, [
5099
- h(ge, {
5416
+ h(ye, {
5100
5417
  id: s.field,
5101
5418
  modelValue: s.selected,
5102
5419
  "onUpdate:modelValue": (c) => s.selected = c,
@@ -5111,19 +5428,19 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5111
5428
  }, 512)
5112
5429
  ], 64));
5113
5430
  }
5114
- }), ll = /* @__PURE__ */ $({
5431
+ }), bl = /* @__PURE__ */ S({
5115
5432
  __name: "ForgePanel",
5116
5433
  setup(e) {
5117
5434
  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), {
5435
+ const i = Je;
5436
+ return d(), b(i, W(G({ ...t.$attrs })), te({
5437
+ toggleicon: g(({ collapsed: l }) => [
5438
+ l ? (d(), b(u(I), {
5122
5439
  key: 0,
5123
5440
  "data-cy": "message-icon",
5124
5441
  icon: "bi:chevron-down"
5125
- })) : S("", !0),
5126
- l ? S("", !0) : (r(), f(u(j), {
5442
+ })) : C("", !0),
5443
+ l ? C("", !0) : (d(), b(u(I), {
5127
5444
  key: 1,
5128
5445
  "data-cy": "message-icon",
5129
5446
  icon: "bi:chevron-up"
@@ -5131,16 +5448,16 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5131
5448
  ]),
5132
5449
  _: 2
5133
5450
  }, [
5134
- N(t.$slots, (l, n) => ({
5451
+ U(t.$slots, (l, n) => ({
5135
5452
  name: n,
5136
- fn: y((o) => [
5137
- w(t.$slots, n, W(Y(o)))
5453
+ fn: g((o) => [
5454
+ k(t.$slots, n, W(G(o)))
5138
5455
  ])
5139
5456
  }))
5140
5457
  ]), 1040);
5141
5458
  };
5142
5459
  }
5143
- }), ai = /* @__PURE__ */ $({
5460
+ }), mi = /* @__PURE__ */ S({
5144
5461
  __name: "ForgeToggleButton",
5145
5462
  props: {
5146
5463
  severity: { default: "primary" }
@@ -5167,17 +5484,17 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5167
5484
  ]
5168
5485
  })
5169
5486
  }));
5170
- return (i, l) => (r(), f(u(He), z({ ...i.$attrs, ...t }, {
5487
+ return (i, l) => (d(), b(u(Ke), j({ ...i.$attrs, ...t }, {
5171
5488
  severity: t.severity,
5172
5489
  pt: a.value
5173
5490
  }), null, 16, ["severity", "pt"]));
5174
5491
  }
5175
- }), ii = {
5492
+ }), vi = {
5176
5493
  class: "btn-group",
5177
5494
  "data-cy": "forge-select-button"
5178
- }, nl = /* @__PURE__ */ $({
5495
+ }, yl = /* @__PURE__ */ S({
5179
5496
  __name: "ForgeSelectButton",
5180
- props: /* @__PURE__ */ U({
5497
+ props: /* @__PURE__ */ R({
5181
5498
  options: {},
5182
5499
  multiple: { type: Boolean, default: !0 },
5183
5500
  allowEmpty: { type: Boolean, default: !1 },
@@ -5188,7 +5505,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5188
5505
  }),
5189
5506
  emits: ["update:modelValue"],
5190
5507
  setup(e) {
5191
- const t = e, a = D(e, "modelValue"), i = (n) => {
5508
+ const t = e, a = N(e, "modelValue"), i = (n) => {
5192
5509
  var o;
5193
5510
  return t.multiple ? (o = a == null ? void 0 : a.value) == null ? void 0 : o.includes(n.value) : a.value === n.value;
5194
5511
  }, l = (n) => {
@@ -5205,8 +5522,8 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5205
5522
  } else
5206
5523
  a.value = a.value === n.value && t.allowEmpty ? null : n.value;
5207
5524
  };
5208
- return (n, o) => (r(), v("div", ii, [
5209
- (r(!0), v(O, null, N(n.options, (s, p) => (r(), f(ai, {
5525
+ return (n, o) => (d(), v("div", vi, [
5526
+ (d(!0), v(E, null, U(n.options, (s, p) => (d(), b(mi, {
5210
5527
  key: p,
5211
5528
  onLabel: s.label,
5212
5529
  offLabel: s.label,
@@ -5219,7 +5536,7 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5219
5536
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5220
5537
  ]));
5221
5538
  }
5222
- }), ol = () => ({
5539
+ }), xl = () => ({
5223
5540
  type: "component",
5224
5541
  resolve: (e) => {
5225
5542
  if (e.startsWith("Forge"))
@@ -5230,37 +5547,38 @@ const ja = { class: "d-flex justify-content-between" }, _a = ["accept", "disable
5230
5547
  }
5231
5548
  });
5232
5549
  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
5550
+ Yi as Bootstrap_PT,
5551
+ Ji as ForgeActionButton,
5552
+ de as ForgeAlert,
5553
+ Ki as ForgeAutoComplete,
5554
+ ye as ForgeCheckbox,
5555
+ ol as ForgeChip,
5556
+ gl as ForgeColumnCustomiser,
5557
+ xe as ForgeDatepicker,
5558
+ fl as ForgeFileUploader,
5559
+ vl as ForgeFilterHeader,
5560
+ ll as ForgeForm,
5561
+ nl as ForgeFormField,
5562
+ Ht as ForgeInlineEditor,
5563
+ Zi as ForgeLink,
5564
+ pe as ForgeLoader,
5565
+ el as ForgeModal,
5566
+ Zt as ForgeMultiSelectPreview,
5567
+ tl as ForgeNavbar,
5568
+ al as ForgePageHeader,
5569
+ bl as ForgePanel,
5570
+ sl as ForgeProgressBar,
5571
+ il as ForgeRemainingCharacters,
5572
+ xl as ForgeResolver,
5573
+ rl as ForgeScratchpad,
5574
+ yl as ForgeSelectButton,
5575
+ dl as ForgeStatWidget,
5576
+ pl as ForgeStepper,
5577
+ ul as ForgeTable,
5578
+ cl as ForgeTile,
5579
+ mi as ForgeToggleButton,
5580
+ ml as ForgeTreeTable,
5581
+ Qi as convertToMultiSelectOption,
5582
+ Xi as enumToMultiSelectList,
5583
+ Dt as parseError
5266
5584
  };