@3squared/forge-ui-3 2.12.3 → 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 b, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as S, createVNode as h, renderSlot as k, ref as _, createElementBlock as v, Fragment as O, mergeProps as z, renderList as N, mergeModels as U, useModel as D, computed as T, createTextVNode as I, toDisplayString as w, 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 ce, 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 oe from "primevue/inputtext";
12
- import { vOnClickOutside as je } from "@vueuse/components";
13
- import Ie from "primevue/menubar";
14
- import ne from "primevue/multiselect";
15
- import _e 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 ue 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 me } from "@azure/storage-blob";
29
- import ve 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
- }, ot = {
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
- }, nt = {
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
- }, Ni = {
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
- ...ot,
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
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: b(() => [
1240
+ const l = Be;
1241
+ return d(), b(l, W(G({ ...a.$attrs, ...t })), {
1242
+ icon: g(() => [
1203
1243
  m("div", {
1204
- class: B(t.icon ? "me-2 pe-1" : "")
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
- class: B(`text-${t.severity}`),
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: b(() => [
1216
- h(u(j), { icon: "bi:x" })
1255
+ closeicon: g(() => [
1256
+ h(u(I), { icon: "bi:x" })
1217
1257
  ]),
1218
- default: b(() => [
1258
+ default: g(() => [
1219
1259
  k(a.$slots, "default")
1220
1260
  ]),
1221
1261
  _: 3
1222
1262
  }, 16);
1223
1263
  };
1224
1264
  }
1225
- }), Ui = /* @__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 = _(!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);
@@ -1240,31 +1280,31 @@ const We = {
1240
1280
  }
1241
1281
  t.value = !1;
1242
1282
  };
1243
- return (l, o) => {
1244
- const n = A;
1245
- return r(), v(O, null, [
1246
- h(n, z({ ...a, ...l.$attrs }, {
1283
+ return (l, n) => {
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
- }), Ai = /* @__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: b(() => [
1260
- (r(!0), v(O, null, N(t.$slots, (i, l) => k(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"], fe = /* @__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,69 +1337,82 @@ 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: o } = 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
  {
1304
1344
  type: "checkbox",
1305
1345
  checkedValue: a.value
1306
1346
  }
1307
- ), n = (p, c) => {
1347
+ ), o = (p, c) => {
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) => n(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) => n(d, !a.value)),
1329
- class: B([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1368
+ onClick: c[1] || (c[1] = (r) => o(r, !a.value)),
1369
+ class: F([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1330
1370
  }, [
1331
1371
  k(p.$slots, "default", {}, () => [
1332
- I(w(t.label), 1)
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
- }, w(u(o)), 513), [
1340
- [J, s.value]
1379
+ }, B(u(n)), 513), [
1380
+ [Z, s.value]
1341
1381
  ])
1342
1382
  ]);
1343
1383
  };
1344
1384
  }
1345
- }), Tt = { class: "forge-loader" }, ge = /* @__PURE__ */ $({
1385
+ }), pe = /* @__PURE__ */ S({
1346
1386
  __name: "ForgeLoader",
1347
1387
  props: {
1348
- severity: { default: "primary" }
1388
+ severity: { default: "primary" },
1389
+ inLine: { type: Boolean, default: !1 }
1349
1390
  },
1350
1391
  setup(e) {
1351
- const t = e;
1352
- return (a, i) => {
1353
- const l = ze;
1354
- return r(), v("div", Tt, [
1355
- h(l, {
1392
+ const t = e, a = T(() => ({
1393
+ spin: () => ({
1394
+ class: [
1395
+ "spinner-border",
1396
+ {
1397
+ "spinner-border-sm": t.inLine
1398
+ }
1399
+ ]
1400
+ })
1401
+ }));
1402
+ return (i, l) => {
1403
+ const n = Pe;
1404
+ return d(), v("div", {
1405
+ class: F(i.inLine ? "" : "forge-loader")
1406
+ }, [
1407
+ h(n, {
1356
1408
  "animation-duration": ".75",
1357
- class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1358
- }, null, 8, ["class"])
1359
- ]);
1409
+ class: F(`text-${t.severity === void 0 ? "primary" : t.severity}`),
1410
+ pt: a.value
1411
+ }, null, 8, ["class", "pt"])
1412
+ ], 2);
1360
1413
  };
1361
1414
  }
1362
- }), jt = ["href", "target"], qi = /* @__PURE__ */ $({
1415
+ }), Vt = ["href", "target"], Zi = /* @__PURE__ */ S({
1363
1416
  __name: "ForgeLink",
1364
1417
  props: {
1365
1418
  url: {},
@@ -1393,25 +1446,25 @@ const We = {
1393
1446
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1394
1447
  "me-0": e.animateIconOnHover
1395
1448
  }));
1396
- return (i, l) => (r(), v("a", {
1449
+ return (i, l) => (d(), v("a", {
1397
1450
  id: "link",
1398
- class: B(["cursor-pointer d-flex text-break", t.value]),
1451
+ class: F(["cursor-pointer d-flex text-break", t.value]),
1399
1452
  href: i.url,
1400
1453
  target: i.target
1401
1454
  }, [
1402
1455
  k(i.$slots, "default", {}, () => [
1403
- i.iconName ? (r(), f(u(j), {
1456
+ i.iconName ? (d(), b(u(I), {
1404
1457
  key: 0,
1405
1458
  id: "link-icon",
1406
1459
  icon: i.iconName,
1407
- class: B(["bi my-auto", a.value])
1408
- }, null, 8, ["icon", "class"])) : S("", !0),
1409
- I(" " + w(i.label), 1)
1460
+ class: F(["bi my-auto", a.value])
1461
+ }, null, 8, ["icon", "class"])) : C("", !0),
1462
+ M(" " + B(i.label), 1)
1410
1463
  ])
1411
- ], 10, jt));
1464
+ ], 10, Vt));
1412
1465
  }
1413
1466
  });
1414
- function It(e) {
1467
+ function Dt(e) {
1415
1468
  const t = {
1416
1469
  errorMessage: "",
1417
1470
  errorDetails: []
@@ -1422,18 +1475,18 @@ function It(e) {
1422
1475
  }
1423
1476
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1424
1477
  }
1425
- function Ei(e, t) {
1478
+ function Xi(e, t) {
1426
1479
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1427
1480
  }
1428
- function Li(e, t, a) {
1481
+ function Qi(e, t, a) {
1429
1482
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1430
1483
  }
1431
- const _t = { key: 0 }, Pt = {
1484
+ const Ot = { key: 0 }, Nt = {
1432
1485
  class: "d-flex w-100",
1433
1486
  "data-cy": "footer"
1434
- }, Ri = /* @__PURE__ */ $({
1487
+ }, el = /* @__PURE__ */ S({
1435
1488
  __name: "ForgeModal",
1436
- props: /* @__PURE__ */ U({
1489
+ props: /* @__PURE__ */ R({
1437
1490
  cancelText: { default: "Cancel" },
1438
1491
  submitText: { default: "Submit" },
1439
1492
  showFooter: { type: Boolean, default: !0 },
@@ -1492,8 +1545,8 @@ const _t = { key: 0 }, Pt = {
1492
1545
  }),
1493
1546
  emits: ["update:visible", "update:error"],
1494
1547
  setup(e, { expose: t }) {
1495
- const a = D(e, "visible"), i = _(!1), l = e, o = _(!1), n = D(e, "error"), s = () => {
1496
- n.value = {
1548
+ const a = N(e, "visible"), i = P(!1), l = e, n = P(!1), o = N(e, "error"), s = () => {
1549
+ o.value = {
1497
1550
  hasError: !1,
1498
1551
  header: "",
1499
1552
  message: []
@@ -1506,22 +1559,22 @@ const _t = { key: 0 }, Pt = {
1506
1559
  i.value = !1;
1507
1560
  }, c = () => {
1508
1561
  i.value = !0;
1509
- }, g = () => {
1562
+ }, y = () => {
1510
1563
  l.resetErrorOnClose && s(), a.value = !1;
1511
- }, d = async () => {
1564
+ }, r = async () => {
1512
1565
  if (l.onConfirm) {
1513
- o.value = !0, n.value.hasError = !1;
1566
+ n.value = !0, o.value.hasError = !1;
1514
1567
  try {
1515
- const C = await l.onConfirm();
1516
- (C || C == null) && g();
1517
- } catch (C) {
1518
- n.value.hasError = !0;
1519
- const V = It(C);
1520
- n.value.header = V.errorMessage, n.value.message = V.errorDetails;
1568
+ const z = await l.onConfirm();
1569
+ (z || z == null) && y();
1570
+ } catch (z) {
1571
+ o.value.hasError = !0;
1572
+ const D = Dt(z);
1573
+ o.value.header = D.errorMessage, o.value.message = D.errorDetails;
1521
1574
  }
1522
- o.value = !1;
1575
+ n.value = !1;
1523
1576
  }
1524
- }, F = T(() => ({
1577
+ }, $ = T(() => ({
1525
1578
  root: [
1526
1579
  "modal modal-dialog modal-content h-auto m-0",
1527
1580
  {
@@ -1538,24 +1591,24 @@ const _t = { key: 0 }, Pt = {
1538
1591
  }
1539
1592
  ]
1540
1593
  }));
1541
- return (C, V) => {
1542
- const M = A, q = Te;
1543
- return r(), f(q, z(l, {
1594
+ return (z, D) => {
1595
+ const O = q, A = _e;
1596
+ return d(), b(A, j(l, {
1544
1597
  onMaximize: c,
1545
1598
  onUnmaximize: p,
1546
- pt: F.value
1547
- }), ee({
1548
- closeicon: b(() => [
1549
- h(u(j), {
1599
+ pt: $.value
1600
+ }), te({
1601
+ closeicon: g(() => [
1602
+ h(u(I), {
1550
1603
  "data-cy": "close-icon",
1551
1604
  icon: "bi:x-lg",
1552
1605
  width: "18",
1553
1606
  height: "18",
1554
- onClick: g
1607
+ onClick: y
1555
1608
  })
1556
1609
  ]),
1557
- maximizeicon: b(() => [
1558
- h(u(j), {
1610
+ maximizeicon: g(() => [
1611
+ h(u(I), {
1559
1612
  "data-cy": "maximisable-icon",
1560
1613
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1561
1614
  width: "16",
@@ -1564,48 +1617,48 @@ const _t = { key: 0 }, Pt = {
1564
1617
  ]),
1565
1618
  _: 2
1566
1619
  }, [
1567
- N(C.$slots, (y, x) => ({
1568
- name: x,
1569
- fn: b((P) => [
1570
- x !== "footer" ? (r(), v(O, { key: 0 }, [
1571
- n.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, {
1572
1625
  key: 0,
1573
1626
  severity: "danger",
1574
1627
  "data-cy": "error"
1575
1628
  }, {
1576
- default: b(() => [
1629
+ default: g(() => [
1577
1630
  m("p", {
1578
- class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
1579
- }, w(n.value.header), 3),
1580
- n.value.message.length > 0 ? (r(), v("ul", _t, [
1581
- (r(!0), v(O, null, N(n.value.message, (L) => (r(), v("li", { key: L }, w(L), 1))), 128))
1582
- ])) : S("", !0)
1631
+ class: F(o.value.message.length > 0 ? "my-auto" : "mb-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)
1583
1636
  ]),
1584
1637
  _: 1
1585
- })) : S("", !0)
1586
- ], 64)) : S("", !0),
1587
- k(C.$slots, x, W(Y(P || {}))),
1588
- o.value ? k(C.$slots, "loader", { key: 1 }, () => [
1589
- h(ge, { "data-cy": "loader" })
1590
- ]) : 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)
1591
1644
  ])
1592
1645
  })),
1593
- C.showFooter ? {
1646
+ z.showFooter ? {
1594
1647
  name: "footer",
1595
- fn: b(() => [
1596
- m("div", Pt, [
1597
- h(M, {
1598
- label: C.cancelText,
1599
- class: B(l.cancelClass),
1648
+ fn: g(() => [
1649
+ m("div", Nt, [
1650
+ h(O, {
1651
+ label: z.cancelText,
1652
+ class: F(l.cancelClass),
1600
1653
  outlined: "",
1601
- onClick: g,
1654
+ onClick: y,
1602
1655
  id: "cancel-button",
1603
1656
  type: l.cancelButtonType
1604
1657
  }, null, 8, ["label", "class", "type"]),
1605
- h(M, {
1606
- label: C.submitText,
1607
- class: B([l.submitClass, "ms-auto"]),
1608
- onClick: d,
1658
+ h(O, {
1659
+ label: z.submitText,
1660
+ class: F([l.submitClass, "ms-auto"]),
1661
+ onClick: r,
1609
1662
  id: "submit-button",
1610
1663
  type: l.submitButtonType
1611
1664
  }, null, 8, ["label", "class", "type"])
@@ -1616,9 +1669,9 @@ const _t = { key: 0 }, Pt = {
1616
1669
  ]), 1040, ["pt"]);
1617
1670
  };
1618
1671
  }
1619
- }), Vt = ["id"], Mt = { key: 0 }, Dt = { key: 0 }, Ot = { class: "d-flex justify-content-between align-items-center position-relative" }, Nt = { key: 1 }, Ut = { "data-cy": "readonly-value" }, At = /* @__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({
1620
1673
  __name: "ForgeInlineEditor",
1621
- props: /* @__PURE__ */ U({
1674
+ props: /* @__PURE__ */ R({
1622
1675
  name: { default: "" },
1623
1676
  completeAction: {},
1624
1677
  errorAction: {},
@@ -1631,13 +1684,13 @@ const _t = { key: 0 }, Pt = {
1631
1684
  }),
1632
1685
  emits: ["update:modelValue"],
1633
1686
  setup(e) {
1634
- const t = e, a = D(e, "modelValue"), i = _(!1), l = _(), o = () => {
1635
- var C;
1636
- i.value = !i.value, (C = l.value) == null || C.focus();
1637
- }, n = async () => {
1638
- if (F.value)
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();
1690
+ }, o = async () => {
1691
+ if ($.value)
1639
1692
  return !1;
1640
- if (a.value = d.value, t.completeAction)
1693
+ if (a.value = r.value, t.completeAction)
1641
1694
  try {
1642
1695
  await t.completeAction.apply(this, t.params), i.value = !i.value;
1643
1696
  } catch {
@@ -1648,94 +1701,94 @@ const _t = { key: 0 }, Pt = {
1648
1701
  }, s = () => {
1649
1702
  i.value = !i.value;
1650
1703
  }, p = () => {
1651
- d.value = null;
1652
- }, { 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, {
1653
1706
  initialValue: a.value
1654
1707
  });
1655
- le(() => {
1656
- d.value = a.value;
1708
+ ne(() => {
1709
+ r.value = a.value;
1657
1710
  });
1658
- const F = T(() => g.value.length > 0);
1659
- return (C, V) => {
1660
- const M = oe, q = A;
1661
- 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", {
1662
1715
  id: t.name
1663
1716
  }, [
1664
- C.readonly ? (r(), v("div", Nt, [
1665
- k(C.$slots, "default", {}, () => [
1666
- m("span", Ut, w(u(d)), 1)
1717
+ z.readonly ? (d(), v("div", Lt, [
1718
+ k(z.$slots, "default", {}, () => [
1719
+ m("span", Rt, B(u(r)), 1)
1667
1720
  ])
1668
- ])) : (r(), v("div", Mt, [
1669
- i.value ? (r(), v("div", Dt, [
1670
- H((r(), v("div", Ot, [
1671
- k(C.$slots, "editor", {
1672
- class: B({ "is-invalid": F.value }),
1673
- editFinished: n,
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 }),
1726
+ editFinished: o,
1674
1727
  cancel: s,
1675
- val: u(d)
1728
+ val: u(r)
1676
1729
  }, () => [
1677
- h(M, {
1678
- modelValue: u(d),
1679
- "onUpdate:modelValue": V[0] || (V[0] = (y) => we(d) ? d.value = y : null),
1730
+ h(O, {
1731
+ modelValue: u(r),
1732
+ "onUpdate:modelValue": D[0] || (D[0] = (x) => Fe(r) ? r.value = x : null),
1680
1733
  modelModifiers: { trim: !0 },
1681
1734
  "data-cy": "input",
1682
1735
  ref_key: "input",
1683
1736
  ref: l,
1684
- class: B({ "is-invalid": F.value }),
1737
+ class: F({ "is-invalid": $.value }),
1685
1738
  onKeydown: [
1686
- X(n, ["enter"]),
1687
- X(s, ["esc"])
1739
+ ie(o, ["enter"]),
1740
+ ie(s, ["esc"])
1688
1741
  ]
1689
1742
  }, null, 8, ["modelValue", "class"])
1690
1743
  ]),
1691
- h(u(j), {
1744
+ h(u(I), {
1692
1745
  icon: "bi:x-circle",
1693
1746
  class: "mx-2 cursor-pointer",
1694
1747
  onClick: p,
1695
- onKeydown: X(p, ["enter"]),
1748
+ onKeydown: ie(p, ["enter"]),
1696
1749
  "data-cy": "clear-icon"
1697
1750
  })
1698
1751
  ])), [
1699
- [u(je), n]
1752
+ [u(Me), o]
1700
1753
  ])
1701
- ])) : (r(), v("div", {
1754
+ ])) : (d(), v("div", {
1702
1755
  key: 1,
1703
1756
  class: "d-flex text-muted",
1704
- onClick: o,
1705
- onFocus: o
1757
+ onClick: n,
1758
+ onFocus: n
1706
1759
  }, [
1707
- k(C.$slots, "default", {}, () => [
1760
+ k(z.$slots, "default", {}, () => [
1708
1761
  m("div", {
1709
- class: B(["pe-2 cursor-pointer", { "text-invalid": F.value }]),
1762
+ class: F(["pe-2 cursor-pointer", { "text-invalid": $.value }]),
1710
1763
  "data-cy": "value"
1711
- }, w(u(d) ? u(d) : "Click to edit"), 3)
1764
+ }, B(u(r) ? u(r) : "Click to edit"), 3)
1712
1765
  ]),
1713
- h(q, {
1766
+ h(A, {
1714
1767
  link: "",
1715
1768
  class: "p-0 m-0"
1716
1769
  }, {
1717
- default: b(() => [
1718
- h(u(j), {
1770
+ default: g(() => [
1771
+ h(u(I), {
1719
1772
  icon: "bi:pencil",
1720
- class: B(F.value ? "text-invalid" : "text-muted"),
1773
+ class: F($.value ? "text-invalid" : "text-muted"),
1721
1774
  "data-cy": "edit-icon",
1722
- onKeydown: X(o, ["enter"])
1775
+ onKeydown: ie(n, ["enter"])
1723
1776
  }, null, 8, ["class"])
1724
1777
  ]),
1725
1778
  _: 1
1726
1779
  })
1727
1780
  ], 32))
1728
1781
  ])),
1729
- H(m("small", {
1782
+ J(m("small", {
1730
1783
  "data-cy": "error",
1731
1784
  class: "text-invalid"
1732
- }, w(u(c)), 513), [
1733
- [J, F.value]
1785
+ }, B(u(c)), 513), [
1786
+ [Z, $.value]
1734
1787
  ])
1735
- ], 8, Vt);
1788
+ ], 8, At);
1736
1789
  };
1737
1790
  }
1738
- }), qt = ["href"], Hi = /* @__PURE__ */ $({
1791
+ }), Wt = ["href"], tl = /* @__PURE__ */ S({
1739
1792
  __name: "ForgeNavbar",
1740
1793
  props: {
1741
1794
  severity: { default: "light" },
@@ -1763,6 +1816,7 @@ const _t = { key: 0 }, Pt = {
1763
1816
  "bg-brand": t.severity === "brand",
1764
1817
  "bg-secondary": t.severity === "secondary",
1765
1818
  "bg-success": t.severity === "success",
1819
+ "bg-success-alternate": t.severity === "success-alternate",
1766
1820
  "bg-warning": t.severity === "warning",
1767
1821
  "bg-danger": t.severity === "danger",
1768
1822
  "bg-info": t.severity === "info"
@@ -1779,26 +1833,26 @@ const _t = { key: 0 }, Pt = {
1779
1833
  ]
1780
1834
  })
1781
1835
  }));
1782
- return (i, l) => (r(), f(u(Ie), z({ ...t, ...i.$attrs }, {
1836
+ return (i, l) => (d(), b(u(Ve), j({ ...t, ...i.$attrs }, {
1783
1837
  pt: a.value,
1784
1838
  "data-cy": "navbar"
1785
- }), ee({
1786
- start: b(() => [
1839
+ }), te({
1840
+ start: g(() => [
1787
1841
  m("a", {
1788
1842
  href: i.logoUrl,
1789
1843
  class: "navbar-brand ms-3",
1790
1844
  "data-cy": "logo"
1791
1845
  }, [
1792
1846
  k(i.$slots, "logo", {}, () => [
1793
- l[0] || (l[0] = I(" Logo "))
1847
+ l[0] || (l[0] = M(" Logo "))
1794
1848
  ])
1795
- ], 8, qt)
1849
+ ], 8, Wt)
1796
1850
  ]),
1797
- buttonicon: b(() => [
1851
+ buttonicon: g(() => [
1798
1852
  k(i.$slots, "buttonIcon", {}, () => [
1799
- h(u(j), {
1853
+ h(u(I), {
1800
1854
  icon: "bi:list",
1801
- class: B(t.severity === "light" ? "text-black" : "text-white"),
1855
+ class: F(t.severity === "light" ? "text-black" : "text-white"),
1802
1856
  height: "24",
1803
1857
  "data-cy": "burger-icon"
1804
1858
  }, null, 8, ["class"])
@@ -1806,24 +1860,24 @@ const _t = { key: 0 }, Pt = {
1806
1860
  ]),
1807
1861
  _: 2
1808
1862
  }, [
1809
- N(i.$slots, (o, n) => ({
1810
- name: n,
1811
- fn: b((s) => [
1812
- k(i.$slots, n, W(Y(s)))
1863
+ U(i.$slots, (n, o) => ({
1864
+ name: o,
1865
+ fn: g((s) => [
1866
+ k(i.$slots, o, W(G(s)))
1813
1867
  ])
1814
1868
  }))
1815
1869
  ]), 1040, ["pt"]));
1816
1870
  }
1817
- }), Et = { class: "border alternating-item-list" }, Lt = {
1871
+ }), Gt = { class: "border alternating-item-list" }, Yt = {
1818
1872
  key: 0,
1819
1873
  class: "p-2 border-top border-bottom",
1820
1874
  "data-cy": "title"
1821
- }, Rt = { class: "d-inline-block" }, Ht = {
1875
+ }, Jt = { class: "d-inline-block" }, Kt = {
1822
1876
  key: 1,
1823
1877
  class: "p-2 item d-flex justify-content-between align-items-center"
1824
- }, Wt = /* @__PURE__ */ $({
1878
+ }, Zt = /* @__PURE__ */ S({
1825
1879
  __name: "ForgeMultiSelectPreview",
1826
- props: /* @__PURE__ */ U({
1880
+ props: /* @__PURE__ */ R({
1827
1881
  title: { default: "Selected Items" },
1828
1882
  orientation: { default: "row" },
1829
1883
  height: { default: "200px" },
@@ -1837,98 +1891,98 @@ const _t = { key: 0 }, Pt = {
1837
1891
  }),
1838
1892
  emits: ["update:modelValue"],
1839
1893
  setup(e) {
1840
- const t = e, a = D(e, "modelValue"), i = (l) => {
1841
- a.value = a.value.filter((o) => o.id !== l);
1894
+ const t = e, a = N(e, "modelValue"), i = (l) => {
1895
+ a.value = a.value.filter((n) => n.id !== l);
1842
1896
  };
1843
- return (l, o) => {
1844
- const n = ne, s = A;
1845
- return r(), v("div", {
1846
- class: B(l.orientation === "column" ? "row" : ""),
1897
+ return (l, n) => {
1898
+ const o = re, s = q;
1899
+ return d(), v("div", {
1900
+ class: F(l.orientation === "column" ? "row" : ""),
1847
1901
  "data-cy": "multiselect-preview"
1848
1902
  }, [
1849
1903
  m("div", {
1850
- class: B(l.orientation === "row" ? "col-12 mb-1" : "col"),
1904
+ class: F(l.orientation === "row" ? "col-12 mb-1" : "col"),
1851
1905
  "data-cy": "multiselect-container"
1852
1906
  }, [
1853
- h(n, z({
1907
+ h(o, j({
1854
1908
  modelValue: a.value,
1855
- "onUpdate:modelValue": o[0] || (o[0] = (p) => a.value = p)
1909
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
1856
1910
  }, { ...l.$attrs }, {
1857
1911
  options: t.options ?? [],
1858
1912
  optionLabel: "label",
1859
1913
  placeholder: l.multiselectPlaceholder,
1860
1914
  "data-cy": "multiselect"
1861
1915
  }), {
1862
- default: b(() => [
1863
- (r(!0), v(O, null, N(l.$slots, (p, c) => k(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))
1864
1918
  ]),
1865
1919
  _: 3
1866
1920
  }, 16, ["modelValue", "options", "placeholder"]),
1867
1921
  k(l.$slots, "after-multi-select")
1868
1922
  ], 2),
1869
1923
  m("div", {
1870
- class: B(l.orientation === "row" ? "col-12" : "col"),
1924
+ class: F(l.orientation === "row" ? "col-12" : "col"),
1871
1925
  "data-cy": "options-preview"
1872
1926
  }, [
1873
1927
  m("div", {
1874
- style: ke({ height: l.height }),
1928
+ style: Se({ height: l.height }),
1875
1929
  class: "overflow-auto"
1876
1930
  }, [
1877
- m("div", Et, [
1878
- l.title ? (r(), v("div", Lt, w(l.title), 1)) : S("", !0),
1879
- (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", {
1880
1934
  key: p.id,
1881
1935
  class: "p-2 item d-flex justify-content-between align-items-center"
1882
1936
  }, [
1883
1937
  k(l.$slots, "list-item", { item: p }, () => [
1884
- m("span", Rt, w(p.shortLabel ? p.shortLabel : p.label), 1)
1938
+ m("span", Jt, B(p.shortLabel ? p.shortLabel : p.label), 1)
1885
1939
  ]),
1886
- l.canRemoveItemFromPreview ? (r(), f(s, {
1940
+ l.canRemoveItemFromPreview ? (d(), b(s, {
1887
1941
  key: 0,
1888
1942
  link: "",
1889
1943
  class: "m-0 p-0 d-flex align-items-center",
1890
1944
  onClick: (c) => i(p.id)
1891
1945
  }, {
1892
- default: b(() => [
1893
- h(u(j), {
1946
+ default: g(() => [
1947
+ h(u(I), {
1894
1948
  icon: "bi:x",
1895
1949
  class: "close-icon",
1896
1950
  "data-cy": `close-icon-${p.id}`
1897
1951
  }, null, 8, ["data-cy"])
1898
1952
  ]),
1899
1953
  _: 2
1900
- }, 1032, ["onClick"])) : S("", !0)
1954
+ }, 1032, ["onClick"])) : C("", !0)
1901
1955
  ]))), 128)),
1902
- a.value == null || a.value.length == 0 ? (r(), v("div", Ht, w(t.optionsPreviewEmptyText), 1)) : S("", !0)
1956
+ a.value == null || a.value.length == 0 ? (d(), v("div", Kt, B(t.optionsPreviewEmptyText), 1)) : C("", !0)
1903
1957
  ])
1904
1958
  ], 4)
1905
1959
  ], 2)
1906
1960
  ], 2);
1907
1961
  };
1908
1962
  }
1909
- }), Yt = { class: "d-flex justify-content-between pb-2" }, Gt = {
1963
+ }), Xt = { class: "d-flex justify-content-between pb-2" }, Qt = {
1910
1964
  "data-cy": "title",
1911
1965
  class: "my-auto"
1912
- }, Jt = {
1966
+ }, ea = {
1913
1967
  "data-cy": "slot",
1914
1968
  class: "d-flex align-items-center"
1915
- }, Wi = /* @__PURE__ */ $({
1969
+ }, al = /* @__PURE__ */ S({
1916
1970
  __name: "ForgePageHeader",
1917
1971
  props: {
1918
1972
  title: {}
1919
1973
  },
1920
1974
  setup(e) {
1921
1975
  const t = e;
1922
- return (a, i) => (r(), v("div", Yt, [
1923
- m("h3", Gt, w(t.title), 1),
1924
- m("div", Jt, [
1976
+ return (a, i) => (d(), v("div", Xt, [
1977
+ m("h3", Qt, B(t.title), 1),
1978
+ m("div", ea, [
1925
1979
  k(a.$slots, "default")
1926
1980
  ])
1927
1981
  ]));
1928
1982
  }
1929
- }), Kt = { class: "d-flex" }, Zt = { "data-cy": "before-slot" }, Xt = { class: "position-relative w-100" }, Qt = { "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({
1930
1984
  __name: "ForgeDatepicker",
1931
- props: /* @__PURE__ */ U({
1985
+ props: /* @__PURE__ */ R({
1932
1986
  severity: { default: "primary" },
1933
1987
  modelValue: {},
1934
1988
  defaultValue: {},
@@ -2002,37 +2056,38 @@ const _t = { key: 0 }, Pt = {
2002
2056
  }),
2003
2057
  emits: ["update:modelValue"],
2004
2058
  setup(e) {
2005
- const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, 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, {
2006
2060
  initialValue: a.value
2007
2061
  }), p = () => {
2008
2062
  s(null), a.value = null;
2009
- }, c = T(() => i.value.length > 0), g = T(() => ({
2010
- dayCell: ({ context: d }) => ({
2063
+ }, c = T(() => i.value.length > 0), y = T(() => ({
2064
+ dayCell: ({ context: r }) => ({
2011
2065
  class: [
2012
2066
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
2013
2067
  {
2014
- "cursor-pointer": !d.disabled,
2015
- "pe-none": d.disabled,
2016
- "text-white": d.selected
2068
+ "cursor-pointer": !r.disabled,
2069
+ "pe-none": r.disabled,
2070
+ "text-white": r.selected
2017
2071
  },
2018
2072
  // Severities
2019
2073
  {
2020
- selected: d.selected && !d.disabled,
2021
- "text-primary": !d.selected && d.today && (t.severity === void 0 || t.severity === "primary"),
2022
- "text-brand": !d.selected && d.today && t.severity === "brand",
2023
- "text-secondary": !d.selected && d.today && t.severity === "secondary",
2024
- "text-success": !d.selected && d.today && t.severity === "success",
2025
- "text-warning": !d.selected && d.today && t.severity === "warning",
2026
- "text-danger": !d.selected && d.today && t.severity === "danger",
2027
- "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"
2028
2083
  }
2029
2084
  ]
2030
2085
  }),
2031
- dayLabel: ({ context: d }) => ({
2086
+ dayLabel: ({ context: r }) => ({
2032
2087
  class: [
2033
2088
  // Disabled States
2034
2089
  {
2035
- "text-muted": d.disabled
2090
+ "text-muted": r.disabled
2036
2091
  }
2037
2092
  ]
2038
2093
  }),
@@ -2045,6 +2100,7 @@ const _t = { key: 0 }, Pt = {
2045
2100
  "btn-link text-brand": t.severity === "brand",
2046
2101
  "btn-link text-secondary": t.severity === "secondary",
2047
2102
  "btn-link text-success": t.severity === "success",
2103
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2048
2104
  "btn-link text-warning": t.severity === "warning",
2049
2105
  "btn-link text-danger": t.severity === "danger",
2050
2106
  "btn-link text-info": t.severity === "info"
@@ -2061,6 +2117,7 @@ const _t = { key: 0 }, Pt = {
2061
2117
  "btn-link text-brand": t.severity === "brand",
2062
2118
  "btn-link text-secondary": t.severity === "secondary",
2063
2119
  "btn-link text-success": t.severity === "success",
2120
+ "btn-link text-success-alternate": t.severity === "success-alternate",
2064
2121
  "btn-link text-warning": t.severity === "warning",
2065
2122
  "btn-link text-danger": t.severity === "danger",
2066
2123
  "btn-link text-info": t.severity === "info"
@@ -2068,83 +2125,85 @@ const _t = { key: 0 }, Pt = {
2068
2125
  ]
2069
2126
  })
2070
2127
  },
2071
- year: ({ context: d }) => ({
2128
+ year: ({ context: r }) => ({
2072
2129
  class: [
2073
2130
  "col-3 text-center cursor-pointer py-2",
2074
2131
  {
2075
- "text-primary": (t.severity === void 0 || t.severity === "primary") && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2076
- "text-brand": t.severity === "brand" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2077
- "text-secondary": t.severity === "secondary" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2078
- "text-success": t.severity === "success" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2079
- "text-warning": t.severity === "warning" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2080
- "text-danger": t.severity === "danger" && d.year.value === (/* @__PURE__ */ new Date()).getFullYear(),
2081
- "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()
2082
2140
  }
2083
2141
  ]
2084
2142
  }),
2085
- month: ({ context: d }) => ({
2143
+ month: ({ context: r }) => ({
2086
2144
  class: [
2087
2145
  "col-3 text-center cursor-pointer py-2",
2088
2146
  {
2089
- "text-primary": (t.severity === void 0 || t.severity === "primary") && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2090
- "text-brand": t.severity === "brand" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2091
- "text-secondary": t.severity === "secondary" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2092
- "text-success": t.severity === "success" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2093
- "text-warning": t.severity === "warning" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2094
- "text-danger": t.severity === "danger" && d.monthIndex + 1 === (/* @__PURE__ */ new Date()).getMonth() + 1,
2095
- "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
2096
2155
  }
2097
2156
  ]
2098
2157
  })
2099
2158
  }));
2100
- return (d, F) => {
2101
- const C = _e;
2102
- return r(), v(O, null, [
2103
- m("div", Kt, [
2104
- m("span", Zt, [
2105
- k(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")
2106
2165
  ]),
2107
- m("div", Xt, [
2108
- h(C, z({ ...t, ...d.$attrs }, {
2109
- pt: g.value,
2166
+ m("div", ia, [
2167
+ h(z, j({ ...t, ...r.$attrs }, {
2168
+ pt: y.value,
2110
2169
  modelValue: a.value,
2111
2170
  "onUpdate:modelValue": [
2112
- F[0] || (F[0] = (V) => a.value = V),
2113
- u(o)
2171
+ $[0] || ($[0] = (D) => a.value = D),
2172
+ u(n)
2114
2173
  ],
2115
- onBlur: F[1] || (F[1] = () => u(n)),
2174
+ onBlur: $[1] || ($[1] = () => u(o)),
2116
2175
  "input-class": { "datepicker-invalid": c.value }
2117
2176
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2118
- H(h(u(j), {
2177
+ J(h(u(I), {
2119
2178
  "data-cy": "icon",
2120
2179
  icon: "bi:calendar4",
2121
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2180
+ class: F(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2122
2181
  }, null, 8, ["class"]), [
2123
- [J, t.showIcon]
2182
+ [Z, t.showIcon]
2124
2183
  ]),
2125
- H(h(u(j), {
2184
+ J(h(u(I), {
2126
2185
  "data-cy": "icon",
2127
2186
  icon: "bi:x",
2128
2187
  onClick: p,
2129
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
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"])
2130
2189
  }, null, 8, ["class"]), [
2131
- [J, t.modelValue]
2190
+ [Z, t.modelValue]
2132
2191
  ])
2133
2192
  ]),
2134
- m("span", Qt, [
2135
- k(d.$slots, "after")
2193
+ m("span", la, [
2194
+ k(r.$slots, "after")
2136
2195
  ])
2137
2196
  ]),
2138
- H(m("small", {
2197
+ J(m("small", {
2139
2198
  "data-cy": "error",
2140
2199
  class: "text-invalid"
2141
- }, w(u(l)), 513), [
2142
- [J, c.value]
2200
+ }, B(u(l)), 513), [
2201
+ [Z, c.value]
2143
2202
  ])
2144
2203
  ], 64);
2145
2204
  };
2146
2205
  }
2147
- }), Yi = /* @__PURE__ */ $({
2206
+ }), il = /* @__PURE__ */ S({
2148
2207
  __name: "ForgeRemainingCharacters",
2149
2208
  props: {
2150
2209
  maxCount: { default: 300 },
@@ -2152,11 +2211,11 @@ const _t = { key: 0 }, Pt = {
2152
2211
  },
2153
2212
  setup(e) {
2154
2213
  const t = e, a = T(() => t.maxCount - t.currentCount);
2155
- return (i, l) => (r(), v("div", {
2156
- class: B(a.value < 0 ? "text-danger" : "")
2157
- }, "Remaining characters: " + w(a.value), 3));
2214
+ return (i, l) => (d(), v("div", {
2215
+ class: F(a.value < 0 ? "text-danger" : "")
2216
+ }, "Remaining characters: " + B(a.value), 3));
2158
2217
  }
2159
- }), ea = { class: "d-flex justify-content-between" }, Gi = /* @__PURE__ */ $({
2218
+ }), na = { class: "d-flex justify-content-between" }, ll = /* @__PURE__ */ S({
2160
2219
  __name: "ForgeForm",
2161
2220
  props: {
2162
2221
  onSubmit: {},
@@ -2168,7 +2227,7 @@ const _t = { key: 0 }, Pt = {
2168
2227
  hideCancel: { type: Boolean, default: !1 }
2169
2228
  },
2170
2229
  setup(e) {
2171
- const t = e, a = _(!1), i = _({
2230
+ const t = e, a = P(!1), i = P({
2172
2231
  hasError: !1,
2173
2232
  message: ""
2174
2233
  });
@@ -2176,88 +2235,88 @@ const _t = { key: 0 }, Pt = {
2176
2235
  a.value = !0, i.value.hasError = !1;
2177
2236
  try {
2178
2237
  await t.onSubmit();
2179
- } catch (o) {
2180
- i.value.hasError = !0, o.message && (i.value.message = o.message);
2238
+ } catch (n) {
2239
+ i.value.hasError = !0, n.message && (i.value.message = n.message);
2181
2240
  }
2182
2241
  a.value = !1;
2183
2242
  }
2184
- return (o, n) => {
2185
- const s = A;
2186
- return r(), v("form", z(o.$attrs, {
2243
+ return (n, o) => {
2244
+ const s = q;
2245
+ return d(), v("form", j(n.$attrs, {
2187
2246
  novalidate: "",
2188
2247
  class: "position-relative shadow-sm border p-4 bg-white",
2189
- onSubmit: K(l, ["prevent"])
2248
+ onSubmit: X(l, ["prevent"])
2190
2249
  }), [
2191
- o.hideTitle ? S("", !0) : (r(), v(O, { key: 0 }, [
2192
- k(o.$slots, "title", {}, () => [
2250
+ n.hideTitle ? C("", !0) : (d(), v(E, { key: 0 }, [
2251
+ k(n.$slots, "title", {}, () => [
2193
2252
  m("h3", {
2194
- class: B(o.titleClass),
2253
+ class: F(n.titleClass),
2195
2254
  "data-cy": "form-title"
2196
- }, w(o.title), 3)
2255
+ }, B(n.title), 3)
2197
2256
  ]),
2198
- n[1] || (n[1] = m("hr", null, null, -1))
2257
+ o[1] || (o[1] = m("hr", null, null, -1))
2199
2258
  ], 64)),
2200
- i.value.hasError ? (r(), f(se, {
2259
+ i.value.hasError ? (d(), b(de, {
2201
2260
  key: 1,
2202
2261
  severity: "danger",
2203
2262
  "data-cy": "error"
2204
2263
  }, {
2205
- default: b(() => [
2206
- k(o.$slots, "error", {
2264
+ default: g(() => [
2265
+ k(n.$slots, "error", {
2207
2266
  error: i.value.message
2208
2267
  }, () => [
2209
- I(w(i.value.message), 1)
2268
+ M(B(i.value.message), 1)
2210
2269
  ])
2211
2270
  ]),
2212
2271
  _: 3
2213
- })) : S("", !0),
2214
- k(o.$slots, "default"),
2215
- m("div", ea, [
2216
- k(o.$slots, "cancel", {}, () => [
2217
- o.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, {
2218
2277
  key: 0,
2219
2278
  "data-cy": "cancel-btn",
2220
2279
  type: "reset",
2221
2280
  severity: "secondary",
2222
2281
  outlined: "",
2223
- onClick: n[0] || (n[0] = (p) => o.$emit("cancel"))
2282
+ onClick: o[0] || (o[0] = (p) => n.$emit("cancel"))
2224
2283
  }, {
2225
- default: b(() => [
2226
- I(w(o.cancelText), 1)
2284
+ default: g(() => [
2285
+ M(B(n.cancelText), 1)
2227
2286
  ]),
2228
2287
  _: 1
2229
2288
  }))
2230
2289
  ]),
2231
- k(o.$slots, "submit", { submit: l }, () => [
2290
+ k(n.$slots, "submit", { submit: l }, () => [
2232
2291
  h(s, {
2233
2292
  "data-cy": "submit-btn",
2234
2293
  type: "submit",
2235
2294
  severity: "primary",
2236
2295
  class: "ms-auto"
2237
2296
  }, {
2238
- default: b(() => [
2239
- I(w(o.submitText), 1)
2297
+ default: g(() => [
2298
+ M(B(n.submitText), 1)
2240
2299
  ]),
2241
2300
  _: 1
2242
2301
  })
2243
2302
  ])
2244
2303
  ]),
2245
- a.value ? (r(), f(ge, {
2304
+ a.value ? (d(), b(pe, {
2246
2305
  key: 2,
2247
2306
  "data-cy": "loading-spinner"
2248
- })) : S("", !0)
2307
+ })) : C("", !0)
2249
2308
  ], 16);
2250
2309
  };
2251
2310
  }
2252
- }), ta = {
2311
+ }), oa = {
2253
2312
  key: 1,
2254
2313
  class: "d-flex flex-column w-100"
2255
- }, aa = ["for"], ia = {
2314
+ }, sa = ["for"], ra = {
2256
2315
  key: 0,
2257
2316
  class: "text-danger fw-600"
2258
- }, Ji = /* @__PURE__ */ $({
2317
+ }, nl = /* @__PURE__ */ S({
2259
2318
  __name: "ForgeFormField",
2260
- props: /* @__PURE__ */ U({
2319
+ props: /* @__PURE__ */ R({
2261
2320
  name: {},
2262
2321
  fieldLabelPosition: { default: "top" },
2263
2322
  fieldLabel: {},
@@ -2272,106 +2331,106 @@ const _t = { key: 0 }, Pt = {
2272
2331
  }),
2273
2332
  emits: ["update:modelValue"],
2274
2333
  setup(e) {
2275
- const t = D(e, "modelValue"), a = e, i = (g) => {
2276
- a.type == "number" ? s(g.value) : s(g);
2277
- }, { errors: l, value: o, errorMessage: n, 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, {
2278
2337
  initialValue: t.value
2279
2338
  }), c = T(() => l.value.length > 0);
2280
- return ce(() => o.value, (g) => {
2281
- t.value = g;
2282
- }, { immediate: !0 }), (g, d) => {
2283
- const F = Ve, C = Pe, V = oe, M = ae, q = ne, y = be;
2284
- return a.type === "checkbox" ? (r(), f(fe, 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({
2285
2344
  key: 0,
2286
2345
  id: a.name,
2287
2346
  label: a.fieldLabel
2288
- }, g.$attrs, {
2347
+ }, y.$attrs, {
2289
2348
  name: a.name,
2290
2349
  modelValue: t.value,
2291
- "onUpdate:modelValue": d[0] || (d[0] = (x) => t.value = x)
2292
- }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", ta, [
2350
+ "onUpdate:modelValue": r[0] || (r[0] = (w) => t.value = w)
2351
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), v("div", oa, [
2293
2352
  m("div", {
2294
2353
  "data-cy": "input-wrapper",
2295
- class: B(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2354
+ class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
2296
2355
  }, [
2297
2356
  m("label", {
2298
2357
  for: a.name,
2299
- class: B(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2358
+ class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2300
2359
  }, [
2301
- I(w(a.fieldLabel) + " ", 1),
2302
- g.required ? (r(), v("span", ia, "*")) : S("", !0)
2303
- ], 10, aa),
2304
- k(g.$slots, "default", W(Y({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2305
- a.type === "number" ? (r(), f(u(ue), 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({
2306
2365
  key: 0,
2307
2366
  id: a.name
2308
- }, g.$attrs, {
2367
+ }, y.$attrs, {
2309
2368
  placeholder: a.placeholder,
2310
2369
  "input-class": { "is-invalid": c.value },
2311
2370
  class: { "is-invalid": c.value },
2312
2371
  onInput: i,
2313
2372
  modelValue: t.value,
2314
- "onUpdate:modelValue": d[1] || (d[1] = (x) => t.value = x)
2315
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (r(), f(F, 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({
2316
2375
  key: 1,
2317
2376
  id: a.name
2318
- }, g.$attrs, {
2377
+ }, y.$attrs, {
2319
2378
  placeholder: a.placeholder,
2320
2379
  class: { "is-invalid": c.value },
2321
2380
  modelValue: t.value,
2322
- "onUpdate:modelValue": d[2] || (d[2] = (x) => t.value = x),
2381
+ "onUpdate:modelValue": r[2] || (r[2] = (w) => t.value = w),
2323
2382
  onInput: i,
2324
2383
  onBlur: u(p)
2325
- }), 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({
2326
2385
  key: 2,
2327
2386
  id: a.name
2328
- }, g.$attrs, {
2387
+ }, y.$attrs, {
2329
2388
  placeholder: a.placeholder,
2330
2389
  mask: a.mask,
2331
2390
  class: { "is-invalid": c.value },
2332
2391
  modelValue: t.value,
2333
- "onUpdate:modelValue": d[3] || (d[3] = (x) => t.value = x),
2392
+ "onUpdate:modelValue": r[3] || (r[3] = (w) => t.value = w),
2334
2393
  onComplete: i,
2335
2394
  onBlur: u(p)
2336
- }), 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({
2337
2396
  key: 3,
2338
2397
  id: a.name
2339
- }, g.$attrs, {
2398
+ }, y.$attrs, {
2340
2399
  placeholder: a.placeholder,
2341
2400
  class: { "is-invalid": c.value },
2342
2401
  modelValue: t.value,
2343
- "onUpdate:modelValue": d[4] || (d[4] = (x) => t.value = x),
2402
+ "onUpdate:modelValue": r[4] || (r[4] = (w) => t.value = w),
2344
2403
  onInput: i,
2345
2404
  onBlur: u(p)
2346
- }), 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 }, {
2347
2406
  modelValue: t.value,
2348
- "onUpdate:modelValue": d[5] || (d[5] = (x) => t.value = x),
2407
+ "onUpdate:modelValue": r[5] || (r[5] = (w) => t.value = w),
2349
2408
  class: { "is-invalid": c.value }
2350
- }), 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 }, {
2351
2410
  modelValue: t.value,
2352
- "onUpdate:modelValue": d[6] || (d[6] = (x) => t.value = x),
2411
+ "onUpdate:modelValue": r[6] || (r[6] = (w) => t.value = w),
2353
2412
  class: { "is-invalid": c.value }
2354
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), f(Wt, z({ key: 6 }, { ...a, ...g.$attrs }, {
2413
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), b(Zt, j({ key: 6 }, { ...a, ...y.$attrs }, {
2355
2414
  modelValue: t.value,
2356
- "onUpdate:modelValue": d[7] || (d[7] = (x) => t.value = x),
2415
+ "onUpdate:modelValue": r[7] || (r[7] = (w) => t.value = w),
2357
2416
  class: { "is-invalid": c.value }
2358
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (r(), f(y, z({ key: 7 }, { ...a, ...g.$attrs }, {
2417
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), b(x, j({ key: 7 }, { ...a, ...y.$attrs }, {
2359
2418
  modelValue: t.value,
2360
- "onUpdate:modelValue": d[8] || (d[8] = (x) => t.value = x),
2419
+ "onUpdate:modelValue": r[8] || (r[8] = (w) => t.value = w),
2361
2420
  class: { "is-invalid": c.value }
2362
- }), null, 16, ["modelValue", "class"])) : S("", !0)
2421
+ }), null, 16, ["modelValue", "class"])) : C("", !0)
2363
2422
  ])
2364
2423
  ], 2),
2365
- H(m("small", {
2424
+ J(m("small", {
2366
2425
  "data-cy": "error",
2367
2426
  class: "invalid-feedback"
2368
- }, w(u(n)), 513), [
2369
- [J, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2427
+ }, B(u(o)), 513), [
2428
+ [Z, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2370
2429
  ])
2371
2430
  ]));
2372
2431
  };
2373
2432
  }
2374
- }), Ki = /* @__PURE__ */ $({
2433
+ }), ol = /* @__PURE__ */ S({
2375
2434
  __name: "ForgeChip",
2376
2435
  props: {
2377
2436
  chipSeverity: { default: "primary" },
@@ -2400,21 +2459,22 @@ const _t = { key: 0 }, Pt = {
2400
2459
  "bg-success-subtle border-success text-success": t.chipSeverity === "success",
2401
2460
  "bg-warning-subtle border-warning text-warning": t.chipSeverity === "warning",
2402
2461
  "bg-danger-subtle border-danger text-danger": t.chipSeverity === "danger",
2403
- "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"
2404
2464
  }
2405
2465
  ]
2406
2466
  }));
2407
2467
  return (i, l) => {
2408
- const o = Me;
2409
- return r(), f(o, z({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2410
- default: b(() => [
2411
- (r(!0), v(O, null, N(i.$slots, (n, s) => k(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))
2412
2472
  ]),
2413
2473
  _: 3
2414
2474
  }, 16, ["pt"]);
2415
2475
  };
2416
2476
  }
2417
- }), la = /* @__PURE__ */ $({
2477
+ }), sl = /* @__PURE__ */ S({
2418
2478
  __name: "ForgeProgressBar",
2419
2479
  props: {
2420
2480
  severity: { default: "primary" },
@@ -2438,6 +2498,8 @@ const _t = { key: 0 }, Pt = {
2438
2498
  return "bg-secondary";
2439
2499
  case "success":
2440
2500
  return "bg-success";
2501
+ case "success-alternate":
2502
+ return "bg-success-alternate";
2441
2503
  case "warning":
2442
2504
  return "bg-warning";
2443
2505
  case "danger":
@@ -2449,7 +2511,7 @@ const _t = { key: 0 }, Pt = {
2449
2511
  default:
2450
2512
  return "bg-primary";
2451
2513
  }
2452
- }), o = T(() => ({
2514
+ }), n = T(() => ({
2453
2515
  root: {
2454
2516
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2455
2517
  },
@@ -2457,18 +2519,18 @@ const _t = { key: 0 }, Pt = {
2457
2519
  class: [l.value, a.value, i.value, "progress-bar"]
2458
2520
  }
2459
2521
  }));
2460
- return (n, s) => {
2461
- const p = De;
2462
- return r(), f(p, z({ ...n.$attrs, ...t }, { pt: o.value }), {
2463
- default: b(() => [
2464
- k(n.$slots, "default")
2522
+ return (o, s) => {
2523
+ const p = Ee;
2524
+ return d(), b(p, j({ ...o.$attrs, ...t }, { pt: n.value }), {
2525
+ default: g(() => [
2526
+ k(o.$slots, "default")
2465
2527
  ]),
2466
2528
  _: 3
2467
2529
  }, 16, ["pt"]);
2468
2530
  };
2469
2531
  }
2470
2532
  });
2471
- var oa = /* @__PURE__ */ $({
2533
+ var da = /* @__PURE__ */ S({
2472
2534
  name: "VueDrawingCanvas",
2473
2535
  props: {
2474
2536
  strokeType: {
@@ -2779,15 +2841,15 @@ var oa = /* @__PURE__ */ $({
2779
2841
  e && this.save();
2780
2842
  });
2781
2843
  },
2782
- wrapText(e, t, a, i, l, o) {
2783
- const n = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
2784
- var p = t.split(n).filter((M) => M.length > 0);
2785
- for (let M = 0; M < p.length; M++) {
2786
- for (var c = p[M].split(s).filter((q) => q.length > 0), g = "", d = 0; d < c.length; d++) {
2787
- var F = g + c[d] + " ", C = e.measureText(F), V = C.width;
2788
- 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 += o) : g = F;
2844
+ wrapText(e, t, a, i, l, n) {
2845
+ const o = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
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 = $;
2789
2851
  }
2790
- 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 ? o : 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;
2791
2853
  }
2792
2854
  },
2793
2855
  save() {
@@ -2804,23 +2866,23 @@ var oa = /* @__PURE__ */ $({
2804
2866
  drawWatermark(e, t, a) {
2805
2867
  if (a.type === "Image") {
2806
2868
  let i = a.imageStyle ? a.imageStyle.width ? a.imageStyle.width : Number(this.width) : Number(this.width), l = a.imageStyle ? a.imageStyle.height ? a.imageStyle.height : Number(this.height) : Number(this.height);
2807
- const o = new Image();
2808
- o.src = a.source, o.onload = () => {
2809
- a && t && t.drawImage(o, a.x, a.y, Number(i), Number(l));
2810
- let n = document.createElement("canvas"), s = n.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, c = this.outputHeight === void 0 ? this.height : this.outputHeight;
2811
- if (n.width = Number(p), n.height = Number(c), s)
2812
- return s.drawImage(e, 0, 0, Number(p), Number(c)), this.$emit("update:image", n.toDataURL("image/" + this.saveAs, 1)), n.toDataURL("image/" + this.saveAs, 1);
2869
+ const n = new Image();
2870
+ n.src = a.source, n.onload = () => {
2871
+ a && t && t.drawImage(n, a.x, a.y, Number(i), Number(l));
2872
+ let o = document.createElement("canvas"), s = o.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, c = this.outputHeight === void 0 ? this.height : this.outputHeight;
2873
+ if (o.width = Number(p), o.height = Number(c), s)
2874
+ return s.drawImage(e, 0, 0, Number(p), Number(c)), this.$emit("update:image", o.toDataURL("image/" + this.saveAs, 1)), o.toDataURL("image/" + this.saveAs, 1);
2813
2875
  };
2814
2876
  } else if (a.type === "Text") {
2815
- let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", o = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", n = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2816
- if (t.font = i, t.textAlign = l, t.textBaseline = o, a.fontStyle && a.fontStyle.rotate) {
2817
- let d, F;
2818
- a.fontStyle && a.fontStyle.width ? d = a.x + Math.floor(a.fontStyle.width / 2) : d = a.x, a.fontStyle && a.fontStyle.lineHeight ? F = a.y + Math.floor(a.fontStyle.lineHeight / 2) : F = a.y, t.translate(d, F), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(d * -1, F * -1);
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";
2878
+ if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
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);
2819
2881
  }
2820
- 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 = n, 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));
2821
- 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;
2822
- if (s.width = Number(c), s.height = Number(g), p)
2823
- return p.drawImage(e, 0, 0, Number(c), Number(g)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2882
+ 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));
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);
2824
2886
  }
2825
2887
  },
2826
2888
  isEmpty() {
@@ -2831,7 +2893,7 @@ var oa = /* @__PURE__ */ $({
2831
2893
  }
2832
2894
  },
2833
2895
  render() {
2834
- return $e("canvas", {
2896
+ return Ce("canvas", {
2835
2897
  id: this.canvasId,
2836
2898
  height: Number(this.height),
2837
2899
  width: Number(this.width),
@@ -2858,7 +2920,7 @@ var oa = /* @__PURE__ */ $({
2858
2920
  });
2859
2921
  }
2860
2922
  });
2861
- const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1 gap-1" }, Zi = /* @__PURE__ */ $({
2923
+ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1 gap-1" }, rl = /* @__PURE__ */ S({
2862
2924
  __name: "ForgeScratchpad",
2863
2925
  props: {
2864
2926
  showClear: { type: Boolean, default: !0 },
@@ -2871,7 +2933,7 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
2871
2933
  },
2872
2934
  emits: ["save"],
2873
2935
  setup(e, { emit: t }) {
2874
- const a = e, i = t, l = Fe("drawingCanvas"), o = _(), n = () => {
2936
+ const a = e, i = t, l = ze("drawingCanvas"), n = P(), o = () => {
2875
2937
  l == null || l.value.reset();
2876
2938
  }, s = () => {
2877
2939
  l == null || l.value.redo();
@@ -2880,72 +2942,72 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
2880
2942
  }, c = () => {
2881
2943
  i("save", l.value.isEmpty());
2882
2944
  };
2883
- return (g, d) => {
2884
- const F = A;
2885
- return r(), v("div", na, [
2886
- h(u(oa), z({
2945
+ return (y, r) => {
2946
+ const $ = q;
2947
+ return d(), v("div", pa, [
2948
+ h(u(da), j({
2887
2949
  ref_key: "drawingCanvas",
2888
2950
  ref: l,
2889
- image: o.value,
2890
- "onUpdate:image": d[0] || (d[0] = (C) => o.value = C),
2951
+ image: n.value,
2952
+ "onUpdate:image": r[0] || (r[0] = (z) => n.value = z),
2891
2953
  "data-cy": "drawing-canvas",
2892
2954
  class: "border canvas"
2893
- }, { ...g.$attrs }, {
2894
- height: g.height,
2895
- width: g.width,
2896
- style: `height: ${g.height}px; width: ${g.width}px`,
2897
- "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
2898
2960
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
2899
- m("div", sa, [
2900
- a.showUndo ? (r(), f(F, {
2961
+ m("div", ca, [
2962
+ a.showUndo ? (d(), b($, {
2901
2963
  key: 0,
2902
2964
  onClick: p,
2903
2965
  outlined: "",
2904
2966
  "data-cy": "undo-button"
2905
2967
  }, {
2906
- default: b(() => d[1] || (d[1] = [
2907
- I("Undo")
2968
+ default: g(() => r[1] || (r[1] = [
2969
+ M("Undo")
2908
2970
  ])),
2909
2971
  _: 1
2910
- })) : S("", !0),
2911
- a.showRedo ? (r(), f(F, {
2972
+ })) : C("", !0),
2973
+ a.showRedo ? (d(), b($, {
2912
2974
  key: 1,
2913
2975
  onClick: s,
2914
2976
  outlined: "",
2915
2977
  "data-cy": "redo-button"
2916
2978
  }, {
2917
- default: b(() => d[2] || (d[2] = [
2918
- I("Redo")
2979
+ default: g(() => r[2] || (r[2] = [
2980
+ M("Redo")
2919
2981
  ])),
2920
2982
  _: 1
2921
- })) : S("", !0),
2922
- a.showClear ? (r(), f(F, {
2983
+ })) : C("", !0),
2984
+ a.showClear ? (d(), b($, {
2923
2985
  key: 2,
2924
- onClick: n,
2986
+ onClick: o,
2925
2987
  outlined: "",
2926
2988
  "data-cy": "clear-button"
2927
2989
  }, {
2928
- default: b(() => d[3] || (d[3] = [
2929
- I("Clear")
2990
+ default: g(() => r[3] || (r[3] = [
2991
+ M("Clear")
2930
2992
  ])),
2931
2993
  _: 1
2932
- })) : S("", !0),
2933
- a.showSave ? (r(), f(F, {
2994
+ })) : C("", !0),
2995
+ a.showSave ? (d(), b($, {
2934
2996
  key: 3,
2935
2997
  onClick: c,
2936
2998
  class: "ms-auto",
2937
2999
  "data-cy": "save-button"
2938
3000
  }, {
2939
- default: b(() => d[4] || (d[4] = [
2940
- I("Save")
3001
+ default: g(() => r[4] || (r[4] = [
3002
+ M("Save")
2941
3003
  ])),
2942
3004
  _: 1
2943
- })) : S("", !0)
3005
+ })) : C("", !0)
2944
3006
  ])
2945
3007
  ]);
2946
3008
  };
2947
3009
  }
2948
- }), ra = { class: "value text-white w-100 text-center" }, Xi = /* @__PURE__ */ $({
3010
+ }), ua = { class: "value text-white w-100 text-center" }, dl = /* @__PURE__ */ S({
2949
3011
  __name: "ForgeStatWidget",
2950
3012
  props: {
2951
3013
  size: { default: "md" },
@@ -2953,15 +3015,15 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
2953
3015
  },
2954
3016
  setup(e) {
2955
3017
  const t = e;
2956
- return (a, i) => (r(), v("div", z(a.$attrs, {
3018
+ return (a, i) => (d(), v("div", j(a.$attrs, {
2957
3019
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2958
3020
  }), [
2959
- m("span", ra, [
3021
+ m("span", ua, [
2960
3022
  k(a.$slots, "default")
2961
3023
  ])
2962
3024
  ], 16));
2963
3025
  }
2964
- }), da = { key: 0 }, Qi = /* @__PURE__ */ $({
3026
+ }), ma = { key: 0 }, pl = /* @__PURE__ */ S({
2965
3027
  __name: "ForgeStepper",
2966
3028
  props: {
2967
3029
  currentStep: { default: 1 },
@@ -3008,32 +3070,32 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
3008
3070
  ]
3009
3071
  })
3010
3072
  }));
3011
- return (i, l) => (r(), f(u(Ne), { value: i.currentStep }, {
3012
- default: b(() => [
3013
- h(u(Ue), null, {
3014
- default: b(() => [
3015
- (r(!0), v(O, null, N(i.steps, (o) => (r(), f(u(Oe), z({
3016
- key: o.value,
3017
- value: o.value,
3018
- disabled: o.disabled,
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({
3078
+ key: n.value,
3079
+ value: n.value,
3080
+ disabled: n.disabled,
3019
3081
  ref_for: !0
3020
3082
  }, { ...i.$attrs }, { pt: a.value }), {
3021
- default: b(() => [
3022
- i.showStepLabel ? (r(), v("div", da, w(o.label), 1)) : S("", !0)
3083
+ default: g(() => [
3084
+ i.showStepLabel ? (d(), v("div", ma, B(n.label), 1)) : C("", !0)
3023
3085
  ]),
3024
3086
  _: 2
3025
3087
  }, 1040, ["value", "disabled", "pt"]))), 128))
3026
3088
  ]),
3027
3089
  _: 1
3028
3090
  }),
3029
- h(u(qe), null, {
3030
- default: b(() => [
3031
- (r(!0), v(O, null, N(i.steps, (o) => (r(), f(u(Ae), {
3032
- key: o.value,
3033
- value: o.value
3091
+ h(u(He), null, {
3092
+ default: g(() => [
3093
+ (d(!0), v(E, null, U(i.steps, (n) => (d(), b(u(Re), {
3094
+ key: n.value,
3095
+ value: n.value
3034
3096
  }, {
3035
- default: b(() => [
3036
- k(i.$slots, "step" + o.value)
3097
+ default: g(() => [
3098
+ k(i.$slots, "step" + n.value)
3037
3099
  ]),
3038
3100
  _: 2
3039
3101
  }, 1032, ["value"]))), 128))
@@ -3044,7 +3106,7 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
3044
3106
  _: 3
3045
3107
  }, 8, ["value"]));
3046
3108
  }
3047
- }), pa = { class: "p-4 text-wrap w-100" }, ca = { class: "p-4 text-wrap w-100" }, el = /* @__PURE__ */ $({
3109
+ }), va = { class: "p-4 text-wrap w-100" }, fa = { class: "p-4 text-wrap w-100" }, cl = /* @__PURE__ */ S({
3048
3110
  __name: "ForgeTile",
3049
3111
  props: {
3050
3112
  severity: { default: "primary" },
@@ -3054,31 +3116,31 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
3054
3116
  },
3055
3117
  setup(e) {
3056
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" : ""}`);
3057
- return (l, o) => {
3058
- const n = A;
3059
- return t.clickable ? (r(), f(n, {
3119
+ return (l, n) => {
3120
+ const o = q;
3121
+ return t.clickable ? (d(), b(o, {
3060
3122
  key: 0,
3061
- class: B(["d-flex w-100 p-0 text-body", a.value]),
3123
+ class: F(["d-flex w-100 p-0 text-body", a.value]),
3062
3124
  severity: t.severity,
3063
3125
  unstyled: "",
3064
3126
  "data-cy": "button-tile"
3065
3127
  }, {
3066
- default: b(() => [
3067
- m("div", pa, [
3128
+ default: g(() => [
3129
+ m("div", va, [
3068
3130
  k(l.$slots, "default", {}, () => [
3069
- o[0] || (o[0] = I("Tile Content"))
3131
+ n[0] || (n[0] = M("Tile Content"))
3070
3132
  ])
3071
3133
  ])
3072
3134
  ]),
3073
3135
  _: 3
3074
- }, 8, ["severity", "class"])) : (r(), v("div", {
3136
+ }, 8, ["severity", "class"])) : (d(), v("div", {
3075
3137
  key: 1,
3076
- class: B(["d-flex w-100", i.value]),
3138
+ class: F(["d-flex w-100", i.value]),
3077
3139
  "data-cy": "tile"
3078
3140
  }, [
3079
- m("div", ca, [
3141
+ m("div", fa, [
3080
3142
  k(l.$slots, "default", {}, () => [
3081
- o[1] || (o[1] = I("Tile Content"))
3143
+ n[1] || (n[1] = M("Tile Content"))
3082
3144
  ])
3083
3145
  ])
3084
3146
  ], 2));
@@ -3088,13 +3150,13 @@ const na = { class: "d-flex flex-column" }, sa = { class: "d-flex flex-row mt-1
3088
3150
  function Q(e, t) {
3089
3151
  return e > 1 ? `${t}s` : t;
3090
3152
  }
3091
- const ua = {
3153
+ const ga = {
3092
3154
  class: "d-flex justify-content-start align-items-baseline",
3093
3155
  "data-cy": "pagination-header"
3094
- }, ma = { class: "ms-2" }, va = { key: 0 }, fa = {
3156
+ }, ba = { class: "ms-2" }, ya = { key: 0 }, xa = {
3095
3157
  class: "w-auto",
3096
3158
  "data-cy": "total"
3097
- }, ga = /* @__PURE__ */ $({
3159
+ }, he = /* @__PURE__ */ S({
3098
3160
  __name: "ForgePaginationHeader",
3099
3161
  props: {
3100
3162
  total: {},
@@ -3103,15 +3165,15 @@ const ua = {
3103
3165
  },
3104
3166
  emits: ["update:perPage"],
3105
3167
  setup(e, { emit: t }) {
3106
- const a = t, i = e, l = (n) => {
3107
- a("update:perPage", n.value);
3108
- }, o = T(() => {
3109
- const n = Math.ceil(i.total / i.perPage);
3110
- return `${n} ${Q(n, "page")}`;
3168
+ const a = t, i = e, l = (o) => {
3169
+ a("update:perPage", o.value);
3170
+ }, n = T(() => {
3171
+ const o = Math.ceil(i.total / i.perPage);
3172
+ return `${o} ${Q(o, "page")}`;
3111
3173
  });
3112
- return (n, s) => (r(), v("div", ua, [
3113
- s[2] || (s[2] = I(" Number of results per page ")),
3114
- m("div", ma, [
3174
+ return (o, s) => (d(), v("div", ga, [
3175
+ s[2] || (s[2] = M(" Number of results per page ")),
3176
+ m("div", ba, [
3115
3177
  h(u(ae), {
3116
3178
  options: i.pageSizes,
3117
3179
  "model-value": i.perPage,
@@ -3119,16 +3181,16 @@ const ua = {
3119
3181
  onChange: s[0] || (s[0] = (p) => l(p))
3120
3182
  }, null, 8, ["options", "model-value"])
3121
3183
  ]),
3122
- i.total ? (r(), v("div", va, [
3184
+ i.total ? (d(), v("div", ya, [
3123
3185
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3124
- m("span", fa, w(i.total) + " " + w(u(Q)(i.total, "result")) + " across " + w(o.value), 1)
3125
- ])) : S("", !0)
3186
+ m("span", xa, B(i.total) + " " + B(u(Q)(i.total, "result")) + " across " + B(n.value), 1)
3187
+ ])) : C("", !0)
3126
3188
  ]));
3127
3189
  }
3128
- }), ba = { class: "position-relative" }, ya = { "data-cy": "above-table-slot" }, xa = { class: "d-flex w-100" }, ha = {
3190
+ }), ha = { class: "position-relative" }, wa = { "data-cy": "above-table-slot" }, ka = { class: "d-flex w-100" }, $a = {
3129
3191
  class: "mx-auto",
3130
3192
  "data-cy": "empty-message"
3131
- }, wa = { class: "d-flex" }, ka = { class: "d-flex align-items-end mb-2" }, $a = { key: 0 }, Fa = { class: "ms-auto" }, tl = /* @__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({
3132
3194
  __name: "ForgeTable",
3133
3195
  props: {
3134
3196
  value: {},
@@ -3214,17 +3276,17 @@ const ua = {
3214
3276
  },
3215
3277
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3216
3278
  setup(e, { emit: t }) {
3217
- const a = t, i = e, l = _(), o = _([5, 10, 20, 50, 100]), n = _(10), s = _({
3279
+ const a = t, i = e, l = P(), n = P([5, 10, 20, 50, 100]), o = P(10), s = P({
3218
3280
  filters: i.filters,
3219
- perPage: n.value,
3281
+ perPage: o.value,
3220
3282
  page: 0,
3221
3283
  sortDirection: "None",
3222
3284
  sortField: "",
3223
3285
  total: i.totalRecords ?? i.value.length
3224
3286
  }), p = T(() => i.totalRecords ?? i.value.length), c = T(() => {
3225
- const y = Math.ceil(p.value / n.value);
3226
- return `${y} ${Q(y, "page")}`;
3227
- }), g = T(() => ({
3287
+ const x = Math.ceil(p.value / o.value);
3288
+ return `${x} ${Q(x, "page")}`;
3289
+ }), y = T(() => ({
3228
3290
  thead: () => ({
3229
3291
  class: [
3230
3292
  {
@@ -3240,160 +3302,428 @@ const ua = {
3240
3302
  "text-brand": i.severity === "brand",
3241
3303
  "text-primary": i.severity === "primary",
3242
3304
  "text-success": i.severity === "success",
3305
+ "text-success-alternate": i.severity === "success-alternate",
3243
3306
  "text-warning": i.severity === "warning",
3244
3307
  "text-danger": i.severity === "danger",
3245
3308
  "text-info": i.severity === "info"
3246
3309
  }
3247
3310
  ]
3248
3311
  })
3249
- })), d = () => {
3312
+ })), r = () => {
3250
3313
  if (i.clearAll)
3251
3314
  i.clearAll();
3252
3315
  else
3253
- for (const y in i.filters)
3254
- typeof i.filters[y] == "string" ? i.filters[y] = "" : i.filters[y].value = null;
3255
- V(i.filters);
3256
- }, F = () => {
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
+ }, $ = () => {
3257
3320
  l.value.exportCSV();
3258
- }, C = (y) => {
3259
- var x;
3260
- s.value.sortDirection = y.sortOrder === 1 ? "Asc" : y.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((x = y.sortField) == null ? void 0 : x.toString()) ?? "", a("update:tableContext", s.value), a("sort", y);
3261
- }, V = (y) => {
3262
- s.value.filters = y, a("update:tableContext", s.value), a("update:filters", y);
3263
- }, M = (y) => {
3264
- s.value.page = y.page, a("update:tableContext", s.value), a("page", y);
3265
- }, q = () => {
3266
- s.value.perPage = n.value, a("update:tableContext", s.value);
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 = () => {
3329
+ s.value.perPage = o.value, a("update:tableContext", s.value);
3267
3330
  };
3268
- return ce(() => i.filters, (y) => {
3269
- s.value.filters = y, a("update:tableContext", s.value);
3270
- }, { deep: !0 }), le(() => a("update:tableContext", s.value)), (y, x) => (r(), v("div", ba, [
3271
- m("span", ya, [
3272
- k(y.$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")
3273
3336
  ]),
3274
- h(u(Ee), z({
3337
+ h(u(We), j({
3275
3338
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3276
- }, { ...i, ...y.$attrs }, {
3277
- pt: g.value,
3278
- rows: n.value,
3339
+ }, { ...i, ...x.$attrs }, {
3340
+ pt: y.value,
3341
+ rows: o.value,
3279
3342
  "total-records": p.value,
3280
3343
  "filter-display": i.filters ? "row" : void 0,
3281
3344
  ref_key: "forgeTable",
3282
3345
  ref: l,
3283
3346
  "data-cy": "table",
3284
- "onUpdate:filters": V,
3285
- onSort: C,
3286
- onPage: M,
3347
+ "onUpdate:filters": D,
3348
+ onSort: z,
3349
+ onPage: O,
3287
3350
  showHeaders: ""
3288
- }), ee({
3289
- empty: b(() => [
3290
- m("div", xa, [
3291
- m("h5", ha, w(y.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)
3292
3355
  ])
3293
3356
  ]),
3294
- header: b(() => [
3357
+ header: g(() => [
3295
3358
  m("div", {
3296
- class: B(i.loading ? "opacity-50" : "")
3359
+ class: F(i.loading ? "opacity-50" : "")
3297
3360
  }, [
3298
- m("div", wa, [
3299
- m("div", ka, [
3300
- y.paginator && !y.legacyPaginationFooter ? (r(), v("span", $a, [
3301
- h(ga, {
3361
+ m("div", Ba, [
3362
+ m("div", Fa, [
3363
+ x.paginator && !x.legacyPaginationFooter ? (d(), v("span", Sa, [
3364
+ h(he, {
3302
3365
  total: p.value,
3303
- "page-sizes": o.value,
3304
- "per-page": n.value,
3366
+ "page-sizes": n.value,
3367
+ "per-page": o.value,
3305
3368
  "onUpdate:perPage": [
3306
- x[0] || (x[0] = (P) => n.value = P),
3307
- q
3369
+ w[0] || (w[0] = (_) => o.value = _),
3370
+ A
3308
3371
  ]
3309
3372
  }, null, 8, ["total", "page-sizes", "per-page"])
3310
- ])) : S("", !0)
3373
+ ])) : C("", !0)
3311
3374
  ]),
3312
- m("div", Fa, [
3313
- y.showClearButton ? (r(), f(u(A), {
3375
+ m("div", Ca, [
3376
+ x.showClearButton ? (d(), b(u(q), {
3314
3377
  key: 0,
3315
3378
  outlined: "",
3316
- class: B(y.showExporterButton ? "me-2" : ""),
3317
- onClick: d,
3379
+ class: F(x.showExporterButton ? "me-2" : ""),
3380
+ onClick: r,
3318
3381
  "data-cy": "clear-all"
3319
3382
  }, {
3320
- default: b(() => [
3321
- h(u(j), {
3383
+ default: g(() => [
3384
+ h(u(I), {
3322
3385
  icon: "bi:funnel-fill",
3323
3386
  width: "24",
3324
3387
  height: "24"
3325
3388
  }),
3326
- x[2] || (x[2] = I(" Clear "))
3389
+ w[2] || (w[2] = M(" Clear "))
3327
3390
  ]),
3328
3391
  _: 1
3329
- }, 8, ["class"])) : S("", !0),
3330
- y.showExporterButton ? (r(), f(u(A), {
3392
+ }, 8, ["class"])) : C("", !0),
3393
+ x.showExporterButton ? (d(), b(u(q), {
3331
3394
  key: 1,
3332
3395
  outlined: "",
3333
- onClick: F,
3396
+ onClick: $,
3334
3397
  "data-cy": "exporter"
3335
3398
  }, {
3336
- default: b(() => [
3337
- h(u(j), {
3399
+ default: g(() => [
3400
+ h(u(I), {
3338
3401
  icon: "typcn:export",
3339
3402
  width: "24",
3340
3403
  height: "24"
3341
3404
  }),
3342
- x[3] || (x[3] = I(" Export "))
3405
+ w[3] || (w[3] = M(" Export "))
3343
3406
  ]),
3344
3407
  _: 1
3345
- })) : S("", !0),
3346
- k(y.$slots, "column-customiser")
3408
+ })) : C("", !0),
3409
+ k(x.$slots, "column-customiser")
3347
3410
  ])
3348
3411
  ])
3349
3412
  ], 2)
3350
3413
  ]),
3351
- default: b(() => [
3352
- k(y.$slots, "default")
3414
+ default: g(() => [
3415
+ k(x.$slots, "default")
3353
3416
  ]),
3354
3417
  _: 2
3355
3418
  }, [
3356
- N(y.$slots, (P, L) => ({
3357
- name: L,
3358
- fn: b((ie) => [
3359
- k(y.$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 || {})))
3360
3423
  ])
3361
3424
  })),
3362
- y.legacyPaginationFooter ? {
3425
+ x.legacyPaginationFooter ? {
3363
3426
  name: "paginatorstart",
3364
- fn: b(() => [
3427
+ fn: g(() => [
3365
3428
  m("span", {
3366
- class: B(["d-flex", i.loading ? "opacity-50" : ""]),
3429
+ class: F(["d-flex", i.loading ? "opacity-50" : ""]),
3367
3430
  "data-cy": "legacy-page-size"
3368
3431
  }, [
3369
- 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)),
3370
3433
  h(u(ae), {
3371
- options: o.value,
3372
- modelValue: n.value,
3373
- "onUpdate:modelValue": x[1] || (x[1] = (P) => n.value = P),
3434
+ options: n.value,
3435
+ modelValue: o.value,
3436
+ "onUpdate:modelValue": w[1] || (w[1] = (_) => o.value = _),
3374
3437
  class: "ms-2",
3375
- onClick: q
3438
+ onClick: A
3376
3439
  }, null, 8, ["options", "modelValue"])
3377
3440
  ], 2)
3378
3441
  ]),
3379
3442
  key: "0"
3380
3443
  } : void 0,
3381
- y.legacyPaginationFooter ? {
3444
+ x.legacyPaginationFooter ? {
3382
3445
  name: "paginatorend",
3383
- fn: b(() => [
3446
+ fn: g(() => [
3384
3447
  m("span", {
3385
3448
  "data-cy": "legacy-total",
3386
- class: B(i.loading ? "opacity-50" : "")
3387
- }, w(p.value) + " " + w(u(Q)(p.value, "result")) + " across " + w(c.value), 3)
3449
+ class: F(i.loading ? "opacity-50" : "")
3450
+ }, B(p.value) + " " + B(u(Q)(p.value, "result")) + " across " + B(c.value), 3)
3388
3451
  ]),
3389
3452
  key: "1"
3390
3453
  } : void 0
3391
3454
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3392
3455
  ]));
3393
3456
  }
3394
- }), Ba = { class: "d-flex position-relative" }, Sa = { class: "d-flex w-100" }, al = /* @__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({
3395
3725
  __name: "ForgeFilterHeader",
3396
- props: /* @__PURE__ */ U({
3726
+ props: /* @__PURE__ */ R({
3397
3727
  dataType: {},
3398
3728
  dropdownOptions: {},
3399
3729
  showClearButton: { type: Boolean, default: !1 },
@@ -3406,57 +3736,57 @@ const ua = {
3406
3736
  }),
3407
3737
  emits: ["update:modelValue"],
3408
3738
  setup(e) {
3409
- const t = D(e, "modelValue"), a = (l, o) => {
3739
+ const t = N(e, "modelValue"), a = (l, n) => {
3410
3740
  if (!l || Array.isArray(l) && l.length === 0)
3411
- return o;
3412
- const n = (s) => {
3741
+ return n;
3742
+ const o = (s) => {
3413
3743
  var c;
3414
3744
  const p = (c = e.dropdownOptions) == null ? void 0 : c.find(
3415
- (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])
3416
3746
  );
3417
3747
  return e.optionLabel ? p[e.optionLabel] : p;
3418
3748
  };
3419
- return Array.isArray(l) ? l.map(n).join(", ") : n(l);
3749
+ return Array.isArray(l) ? l.map(o).join(", ") : o(l);
3420
3750
  }, i = () => {
3421
3751
  e.clearFilter ? e.clearFilter() : t.value = null;
3422
3752
  };
3423
- return (l, o) => {
3424
- const n = ue, s = A;
3425
- return r(), v("div", Ba, [
3426
- l.dataType === "numeric" ? (r(), f(n, z({
3753
+ return (l, n) => {
3754
+ const o = fe, s = q;
3755
+ return d(), v("div", Ma, [
3756
+ l.dataType === "numeric" ? (d(), b(o, j({
3427
3757
  key: 0,
3428
3758
  modelValue: t.value,
3429
- "onUpdate:modelValue": o[0] || (o[0] = (p) => t.value = p),
3759
+ "onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p),
3430
3760
  modelModifiers: { trim: !0 }
3431
- }, 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({
3432
3762
  key: 1,
3433
3763
  modelValue: t.value,
3434
- "onUpdate:modelValue": o[1] || (o[1] = (p) => t.value = p)
3764
+ "onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
3435
3765
  }, l.$attrs, {
3436
3766
  "show-icon": !1,
3437
3767
  "show-on-focus": !0
3438
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(ae), z({
3768
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(u(ae), j({
3439
3769
  key: 2,
3440
3770
  modelValue: t.value,
3441
- "onUpdate:modelValue": o[2] || (o[2] = (p) => t.value = p)
3771
+ "onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
3442
3772
  }, l.$attrs, {
3443
3773
  options: l.dropdownOptions,
3444
3774
  "option-value": l.optionValue,
3445
3775
  "option-label": l.optionLabel
3446
3776
  }), {
3447
- value: b(({ value: p, placeholder: c }) => [
3448
- m("div", Sa, [
3777
+ value: g(({ value: p, placeholder: c }) => [
3778
+ m("div", Va, [
3449
3779
  m("span", {
3450
- class: B({ "filter-placeholder": p === null })
3451
- }, w(a(p, c)), 3),
3452
- l.showClearButton && t.value !== null ? (r(), f(s, {
3780
+ class: F({ "filter-placeholder": p === null })
3781
+ }, B(a(p, c)), 3),
3782
+ l.showClearButton && t.value !== null ? (d(), b(s, {
3453
3783
  key: 0,
3454
- onClick: K(i, ["prevent"]),
3784
+ onClick: X(i, ["prevent"]),
3455
3785
  size: "small",
3456
3786
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3457
3787
  }, {
3458
- default: b(() => [
3459
- h(u(j), {
3788
+ default: g(() => [
3789
+ h(u(I), {
3460
3790
  icon: "bi:x",
3461
3791
  width: "1rem",
3462
3792
  height: "1rem",
@@ -3464,34 +3794,34 @@ const ua = {
3464
3794
  })
3465
3795
  ]),
3466
3796
  _: 1
3467
- })) : S("", !0)
3797
+ })) : C("", !0)
3468
3798
  ])
3469
3799
  ]),
3470
3800
  _: 1
3471
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (r(), f(u(ne), z({
3801
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), b(u(re), j({
3472
3802
  key: 3,
3473
3803
  modelValue: t.value,
3474
- "onUpdate:modelValue": o[3] || (o[3] = (p) => t.value = p)
3804
+ "onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
3475
3805
  }, l.$attrs, {
3476
3806
  options: l.dropdownOptions,
3477
3807
  showToggleAll: !1,
3478
3808
  "option-label": l.optionLabel,
3479
3809
  "option-value": l.optionValue,
3480
3810
  filter: ""
3481
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (r(), f(u(oe), z({
3811
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), b(u(se), j({
3482
3812
  key: 4,
3483
3813
  modelValue: t.value,
3484
- "onUpdate:modelValue": o[4] || (o[4] = (p) => t.value = p),
3814
+ "onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p),
3485
3815
  modelModifiers: { trim: !0 }
3486
3816
  }, l.$attrs), null, 16, ["modelValue"])),
3487
- 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, {
3488
3818
  key: 5,
3489
- onClick: K(i, ["prevent"]),
3819
+ onClick: X(i, ["prevent"]),
3490
3820
  size: "small",
3491
3821
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3492
3822
  }, {
3493
- default: b(() => [
3494
- h(u(j), {
3823
+ default: g(() => [
3824
+ h(u(I), {
3495
3825
  icon: "bi:x",
3496
3826
  width: "1rem",
3497
3827
  height: "1rem",
@@ -3499,11 +3829,11 @@ const ua = {
3499
3829
  })
3500
3830
  ]),
3501
3831
  _: 1
3502
- })) : S("", !0)
3832
+ })) : C("", !0)
3503
3833
  ]);
3504
3834
  };
3505
3835
  }
3506
- }), re = {
3836
+ }), ce = {
3507
3837
  "application/prs.cww": ["cww"],
3508
3838
  "application/prs.xsf+xml": ["xsf"],
3509
3839
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -4202,8 +4532,8 @@ const ua = {
4202
4532
  "video/x-smv": ["smv"],
4203
4533
  "x-conference/x-cooltalk": ["ice"]
4204
4534
  };
4205
- Object.freeze(re);
4206
- const de = {
4535
+ Object.freeze(ce);
4536
+ const ue = {
4207
4537
  "application/andrew-inset": ["ez"],
4208
4538
  "application/appinstaller": ["appinstaller"],
4209
4539
  "application/applixware": ["aw"],
@@ -4555,31 +4885,31 @@ const de = {
4555
4885
  "video/quicktime": ["qt", "mov"],
4556
4886
  "video/webm": ["webm"]
4557
4887
  };
4558
- Object.freeze(de);
4559
- var E = function(e, t, a, i) {
4888
+ Object.freeze(ue);
4889
+ var H = function(e, t, a, i) {
4560
4890
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
4561
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");
4562
4892
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
4563
- }, G, Z, R;
4564
- class ye {
4893
+ }, K, ee, Y;
4894
+ class we {
4565
4895
  constructor(...t) {
4566
- 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());
4567
4897
  for (const a of t)
4568
4898
  this.define(a);
4569
4899
  }
4570
4900
  define(t, a = !1) {
4571
4901
  for (let [i, l] of Object.entries(t)) {
4572
- i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), E(this, R, "f").has(i) || E(this, R, "f").set(i, /* @__PURE__ */ new Set());
4573
- const o = E(this, R, "f").get(i);
4574
- let n = !0;
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);
4904
+ let o = !0;
4575
4905
  for (let s of l) {
4576
4906
  const p = s.startsWith("*");
4577
- if (s = p ? s.slice(1) : s, o == null || o.add(s), n && E(this, Z, "f").set(i, s), n = !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)
4578
4908
  continue;
4579
- const c = E(this, G, "f").get(s);
4909
+ const c = H(this, K, "f").get(s);
4580
4910
  if (c && c != i && !a)
4581
4911
  throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
4582
- E(this, G, "f").set(s, i);
4912
+ H(this, K, "f").set(s, i);
4583
4913
  }
4584
4914
  }
4585
4915
  return this;
@@ -4588,48 +4918,48 @@ class ye {
4588
4918
  if (typeof t != "string")
4589
4919
  return null;
4590
4920
  const a = t.replace(/^.*[/\\]/, "").toLowerCase(), i = a.replace(/^.*\./, "").toLowerCase(), l = a.length < t.length;
4591
- 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;
4592
4922
  }
4593
4923
  getExtension(t) {
4594
4924
  var a;
4595
- 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);
4596
4926
  }
4597
4927
  getAllExtensions(t) {
4598
- 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;
4599
4929
  }
4600
4930
  _freeze() {
4601
4931
  this.define = () => {
4602
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");
4603
4933
  }, Object.freeze(this);
4604
- for (const t of E(this, R, "f").values())
4934
+ for (const t of H(this, Y, "f").values())
4605
4935
  Object.freeze(t);
4606
4936
  return this;
4607
4937
  }
4608
4938
  _getTestState() {
4609
4939
  return {
4610
- types: E(this, G, "f"),
4611
- extensions: E(this, Z, "f")
4940
+ types: H(this, K, "f"),
4941
+ extensions: H(this, ee, "f")
4612
4942
  };
4613
4943
  }
4614
4944
  }
4615
- G = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4616
- const Ca = new ye(de, re)._freeze();
4617
- function xe(e, t, a, i) {
4618
- const l = t.flatMap((o) => o.file);
4619
- return t = t.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
4620
- const n = l.findIndex((p) => p.name === o.name);
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) {
4948
+ const l = t.flatMap((n) => n.file);
4949
+ return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
4950
+ const o = l.findIndex((p) => p.name === n.name);
4621
4951
  let s = "Not Uploaded";
4622
- n === -1 ? ((!a.includes(o.type) || !(o.size <= i)) && (s = a.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
4623
- file: o,
4952
+ o === -1 ? ((!a.includes(n.type) || !(n.size <= i)) && (s = a.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
4953
+ file: n,
4624
4954
  status: s,
4625
4955
  blobFileName: null
4626
- })) : t[n].status = "Duplicate";
4956
+ })) : t[o].status = "Duplicate";
4627
4957
  }), t;
4628
4958
  }
4629
- async function za(e, t) {
4959
+ async function Oa(e, t) {
4630
4960
  if (e === "Uploaded" && t !== null)
4631
4961
  try {
4632
- await new me(t).delete();
4962
+ await new ge(t).delete();
4633
4963
  } catch (a) {
4634
4964
  if (a !== "BlobNotFound") {
4635
4965
  e = "DeleteFileFailed";
@@ -4637,34 +4967,34 @@ async function za(e, t) {
4637
4967
  }
4638
4968
  }
4639
4969
  }
4640
- function pe(e, t = !0, a = 1) {
4970
+ function me(e, t = !0, a = 1) {
4641
4971
  const i = t ? 1e3 : 1024;
4642
4972
  if (Math.abs(e) < i)
4643
4973
  return e + " B";
4644
4974
  const l = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
4645
- let o = -1;
4646
- const n = 10 ** a;
4975
+ let n = -1;
4976
+ const o = 10 ** a;
4647
4977
  do
4648
- e /= i, ++o;
4649
- while (Math.round(Math.abs(e) * n) / n >= i && o < l.length - 1);
4650
- return e.toFixed(a) + " " + l[o];
4978
+ e /= i, ++n;
4979
+ while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
4980
+ return e.toFixed(a) + " " + l[n];
4651
4981
  }
4652
- function Ta(e) {
4982
+ function Na(e) {
4653
4983
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4654
4984
  }
4655
- function ja(e) {
4985
+ function Aa(e) {
4656
4986
  return URL.createObjectURL(e);
4657
4987
  }
4658
- function Ia() {
4659
- const e = new ye(de, re);
4988
+ function Ea() {
4989
+ const e = new we(ue, ce);
4660
4990
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4661
4991
  }
4662
- const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disabled", "multiple"], Va = {
4992
+ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disabled", "multiple"], La = {
4663
4993
  class: "text-break accepted-file-types-container",
4664
4994
  id: "accepted-file-types-overlay"
4665
- }, Ma = /* @__PURE__ */ $({
4995
+ }, Ra = /* @__PURE__ */ S({
4666
4996
  __name: "UploadButton",
4667
- props: /* @__PURE__ */ U({
4997
+ props: /* @__PURE__ */ R({
4668
4998
  acceptedFileTypes: {},
4669
4999
  maxFileInput: {},
4670
5000
  showDragDropArea: { type: Boolean }
@@ -4674,73 +5004,73 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4674
5004
  }),
4675
5005
  emits: ["update:modelValue"],
4676
5006
  setup(e) {
4677
- const t = D(e, "modelValue"), a = _(), i = (n) => a.value.toggle(n), l = T(() => e.maxFileInput <= t.value.length), o = (n) => {
4678
- t.value = xe(n, 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);
4679
5009
  };
4680
- return (n, s) => {
4681
- const p = A;
4682
- return r(), v("div", _a, [
4683
- k(n.$slots, "message"),
5010
+ return (o, s) => {
5011
+ const p = q;
5012
+ return d(), v("div", Ua, [
5013
+ k(o.$slots, "message"),
4684
5014
  m("div", null, [
4685
5015
  m("input", {
4686
5016
  id: "file-input",
4687
5017
  type: "file",
4688
5018
  class: "d-none",
4689
- accept: n.acceptedFileTypes.join(", "),
5019
+ accept: o.acceptedFileTypes.join(", "),
4690
5020
  disabled: l.value,
4691
- multiple: n.maxFileInput > 1,
4692
- onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
4693
- }, null, 40, Pa),
5021
+ multiple: o.maxFileInput > 1,
5022
+ onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
5023
+ }, null, 40, qa),
4694
5024
  m("label", {
4695
- class: B([{ disabled: l.value }, "btn btn-primary"]),
5025
+ class: F([{ disabled: l.value }, "btn btn-primary"]),
4696
5026
  id: "file-input-button",
4697
5027
  for: "file-input"
4698
5028
  }, [
4699
- k(n.$slots, "button-content", {}, () => [
4700
- h(u(j), {
5029
+ k(o.$slots, "button-content", {}, () => [
5030
+ h(u(I), {
4701
5031
  icon: "bi:upload",
4702
5032
  class: "me-2",
4703
5033
  height: "20px",
4704
5034
  width: "20px"
4705
5035
  }),
4706
- s[1] || (s[1] = I(" Browse your computer "))
5036
+ s[1] || (s[1] = M(" Browse your computer "))
4707
5037
  ])
4708
5038
  ], 2)
4709
5039
  ]),
4710
- n.showDragDropArea ? (r(), f(p, {
5040
+ o.showDragDropArea ? (d(), b(p, {
4711
5041
  link: "",
4712
5042
  class: "ms-auto",
4713
- key: n.acceptedFileTypes.length,
5043
+ key: o.acceptedFileTypes.length,
4714
5044
  id: "accepted-file-types",
4715
5045
  onClick: i
4716
5046
  }, {
4717
- default: b(() => s[2] || (s[2] = [
4718
- I("Accepted File Types")
5047
+ default: g(() => s[2] || (s[2] = [
5048
+ M("Accepted File Types")
4719
5049
  ])),
4720
5050
  _: 1
4721
- })) : S("", !0),
4722
- h(u(ve), {
5051
+ })) : C("", !0),
5052
+ h(u(be), {
4723
5053
  ref_key: "acceptedFilesOverlay",
4724
5054
  ref: a
4725
5055
  }, {
4726
- default: b(() => [
4727
- m("div", Va, w(n.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)
4728
5058
  ]),
4729
5059
  _: 1
4730
5060
  }, 512)
4731
5061
  ]);
4732
5062
  };
4733
5063
  }
4734
- }), Da = {
5064
+ }), Ha = {
4735
5065
  key: 0,
4736
5066
  class: "py-4 px-3",
4737
5067
  id: "placeholder-message"
4738
- }, Oa = {
5068
+ }, Wa = {
4739
5069
  key: 1,
4740
5070
  class: "d-flex flex-column"
4741
- }, Na = /* @__PURE__ */ $({
5071
+ }, Ga = /* @__PURE__ */ S({
4742
5072
  __name: "DragDropArea",
4743
- props: /* @__PURE__ */ U({
5073
+ props: /* @__PURE__ */ R({
4744
5074
  maxFileInput: {},
4745
5075
  maxFileSize: {},
4746
5076
  acceptedFileTypes: {}
@@ -4750,30 +5080,30 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4750
5080
  }),
4751
5081
  emits: ["update:modelValue"],
4752
5082
  setup(e) {
4753
- const t = D(e, "modelValue"), a = _(!1), i = T(() => e.maxFileInput <= t.value.length), l = (o) => {
4754
- a.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : t.value = xe([...o.dataTransfer.files], t.value, e.acceptedFileTypes.map((n) => n.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);
4755
5085
  };
4756
- return (o, n) => (r(), v("div", {
5086
+ return (n, o) => (d(), v("div", {
4757
5087
  id: "drag-drop-area",
4758
- class: B(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
4759
- onDragleave: n[0] || (n[0] = K((s) => a.value = !1, ["prevent"])),
4760
- onDragover: n[1] || (n[1] = K((s) => a.value = !0, ["prevent"])),
4761
- onDrop: K(l, ["prevent"])
5088
+ class: F(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
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"])
4762
5092
  }, [
4763
- t.value.length === 0 ? (r(), v("div", Da, [
4764
- h(u(j), {
5093
+ t.value.length === 0 ? (d(), v("div", Ha, [
5094
+ h(u(I), {
4765
5095
  icon: "bi:upload",
4766
5096
  class: "me-2",
4767
5097
  height: "20px",
4768
5098
  width: "20px"
4769
5099
  }),
4770
- n[2] || (n[2] = I(" Drag and drop files here "))
4771
- ])) : (r(), v("div", Oa, [
4772
- k(o.$slots, "default")
5100
+ o[2] || (o[2] = M(" Drag and drop files here "))
5101
+ ])) : (d(), v("div", Wa, [
5102
+ k(n.$slots, "default")
4773
5103
  ]))
4774
5104
  ], 34));
4775
5105
  }
4776
- }), Ua = { class: "d-flex align-items-center me-2" }, Aa = /* @__PURE__ */ $({
5106
+ }), Ya = { class: "d-flex align-items-center me-2" }, Ja = /* @__PURE__ */ S({
4777
5107
  __name: "UploadStatus",
4778
5108
  props: {
4779
5109
  fileSize: {},
@@ -4782,12 +5112,12 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4782
5112
  uploadStatus: {}
4783
5113
  },
4784
5114
  setup(e) {
4785
- const t = T(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), a = T(() => {
4786
- switch (e.uploadStatus) {
5115
+ const t = e, a = T(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = T(() => {
5116
+ switch (t.uploadStatus) {
4787
5117
  case "InvalidFileType":
4788
5118
  return "Upload Failed: File type is not accepted.";
4789
5119
  case "InvalidFileSize":
4790
- return `Upload Failed: File size exceeds the ${pe(e.maxFileSize)} limit.`;
5120
+ return `Upload Failed: File size exceeds the ${me(t.maxFileSize)} limit.`;
4791
5121
  case "Aborted":
4792
5122
  return "Upload Failed: User cancelled.";
4793
5123
  case "DeleteFileFailed":
@@ -4798,43 +5128,36 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4798
5128
  return "Upload Failed: Connection error, please try again.";
4799
5129
  }
4800
5130
  });
4801
- return (i, l) => (r(), v("div", Ua, [
4802
- i.uploadStatus === "Uploading" ? (r(), f(la, {
4803
- key: 0,
4804
- pixelWidth: 200,
4805
- animate: "",
4806
- striped: ""
4807
- }, {
4808
- default: b(() => [
4809
- I(w((i.bytesUploaded / i.fileSize * 100).toFixed(0)) + "%", 1)
4810
- ]),
4811
- _: 1
4812
- })) : S("", !0),
4813
- i.uploadStatus !== "Uploading" && i.uploadStatus !== "Not Uploaded" && i.uploadStatus !== "Uploaded" && i.uploadStatus !== "Preparing" ? (r(), f(se, {
4814
- key: 1,
4815
- id: "upload-status-alert",
4816
- severity: t.value,
4817
- class: "mb-0 w-75 ms-auto"
4818
- }, {
4819
- default: b(() => [
4820
- I(w(a.value), 1)
4821
- ]),
4822
- _: 1
4823
- }, 8, ["severity"])) : S("", !0)
4824
- ]));
5131
+ return (l, n) => {
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, {
5136
+ key: 1,
5137
+ id: "upload-status-alert",
5138
+ severity: a.value,
5139
+ class: "mb-0 w-75 ms-auto"
5140
+ }, {
5141
+ default: g(() => [
5142
+ M(B(i.value), 1)
5143
+ ]),
5144
+ _: 1
5145
+ }, 8, ["severity"])) : C("", !0)
5146
+ ]);
5147
+ };
4825
5148
  }
4826
- }), qa = ["data-cy"], Ea = { class: "ms-3 d-flex flex-column" }, La = {
5149
+ }), Ka = ["data-cy"], Za = { class: "ms-3 d-flex flex-column" }, Xa = {
4827
5150
  key: 1,
4828
5151
  id: "file-name"
4829
- }, Ra = {
5152
+ }, Qa = {
4830
5153
  class: "text-black-50",
4831
5154
  id: "file-type"
4832
- }, Ha = {
5155
+ }, ei = {
4833
5156
  class: "text-black-50",
4834
5157
  id: "file-size"
4835
- }, Wa = { class: "ms-auto my-auto d-flex" }, Ya = /* @__PURE__ */ $({
5158
+ }, ti = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ai = /* @__PURE__ */ S({
4836
5159
  __name: "FileInfo",
4837
- props: /* @__PURE__ */ U({
5160
+ props: /* @__PURE__ */ R({
4838
5161
  editableFileName: { type: Boolean },
4839
5162
  acceptedFileTypes: {},
4840
5163
  maxFileSize: {},
@@ -4849,64 +5172,64 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4849
5172
  uploadStatus: { required: !0 },
4850
5173
  uploadStatusModifiers: {}
4851
5174
  }),
4852
- emits: /* @__PURE__ */ U(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5175
+ emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
4853
5176
  setup(e, { emit: t }) {
4854
- const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), o = t, n = _(a.value.name), s = _(""), p = _(0), c = _(), g = T(() => e.acceptedFileTypes.some(({ fileType: y }) => y === a.value.type)), d = T(() => a.value.size <= e.maxFileSize), F = T(() => a.value.type ? a.value.type : Ia().getType(a.value.name)), C = () => {
4855
- n.value != null && (V(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
4856
- }, V = () => {
4857
- let y = n.value.split("."), x = Ca.getExtension(F.value), P = n.value.split(".").pop();
4858
- y.length === 1 ? P && P.length > 0 && (n.value = [n.value, x].join(".")) : y.length > 1 && P !== x && (n.value = n.value.replace(P, x));
4859
- }, M = async () => {
4860
- if (!g.value || !d.value) {
4861
- 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";
4862
5185
  return;
4863
5186
  }
4864
5187
  l.value = "Preparing", c.value = new AbortController();
4865
- const [y, x] = await e.getFileUrlAction(a.value.name);
4866
- if (!y) {
5188
+ const [x, w] = await e.getFileUrlAction(a.value.name);
5189
+ if (!x) {
4867
5190
  l.value = "Failed";
4868
5191
  return;
4869
5192
  }
4870
5193
  try {
4871
5194
  l.value = "Uploading";
4872
- const P = new me(y), L = {
5195
+ const _ = new ge(x), f = {
4873
5196
  abortSignal: c.value.signal,
4874
- onProgress: (ie) => p.value = ie.loadedBytes,
5197
+ onProgress: (V) => p.value = V.loadedBytes,
4875
5198
  blobHTTPHeaders: {
4876
- blobContentType: F.value,
5199
+ blobContentType: $.value,
4877
5200
  blobContentDisposition: `attachment; filename="${a.value.name}"`
4878
5201
  },
4879
5202
  tags: { temp: "true" }
4880
5203
  };
4881
- await P.uploadData(a.value, L), s.value = y, l.value = "Uploaded", i.value = x;
4882
- } catch (P) {
4883
- 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") {
4884
5207
  l.value = "Aborted";
4885
5208
  return;
4886
5209
  }
4887
5210
  l.value = "Failed";
4888
5211
  }
4889
- }, q = async () => {
4890
- await za(l.value, s.value), o("deleted", a.value);
5212
+ }, A = async () => {
5213
+ await Oa(l.value, s.value), n("deleted", a.value);
4891
5214
  };
4892
- return le(() => {
4893
- e.autoUploadToBlob && M();
4894
- }), (y, x) => {
4895
- const P = A;
4896
- 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", {
4897
5220
  class: "py-4 px-3 d-flex",
4898
5221
  "data-cy": `file-info-${a.value.name}`
4899
5222
  }, [
4900
5223
  m("div", null, [
4901
- u(Ta)(a.value.type) ? (r(), f(u(Le), {
5224
+ u(Na)(a.value.type) ? (d(), b(u(Ye), {
4902
5225
  key: 0,
4903
5226
  id: "thumbnail-image",
4904
5227
  "image-class": "image-file-thumbnail border",
4905
- src: u(ja)(a.value),
5228
+ src: u(Aa)(a.value),
4906
5229
  alt: a.value.name,
4907
5230
  width: "75px",
4908
5231
  preview: ""
4909
- }, null, 8, ["src", "alt"])) : (r(), f(u(j), {
5232
+ }, null, 8, ["src", "alt"])) : (d(), b(u(I), {
4910
5233
  key: 1,
4911
5234
  id: "file-earmark",
4912
5235
  icon: "bi:file-earmark",
@@ -4914,80 +5237,80 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4914
5237
  width: "75px"
4915
5238
  }))
4916
5239
  ]),
4917
- m("div", Ea, [
5240
+ m("div", Za, [
4918
5241
  m("div", null, [
4919
- y.editableFileName ? (r(), f(At, {
5242
+ x.editableFileName ? (d(), b(Ht, {
4920
5243
  key: 0,
4921
5244
  id: "edit-file-name",
4922
- modelValue: n.value,
4923
- "onUpdate:modelValue": x[0] || (x[0] = (L) => n.value = L),
4924
- rules: y.customFileNameRules,
5245
+ modelValue: o.value,
5246
+ "onUpdate:modelValue": w[0] || (w[0] = (f) => o.value = f),
5247
+ rules: x.customFileNameRules,
4925
5248
  name: a.value.name,
4926
- "complete-action": C
4927
- }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", La, w(n.value), 1))
5249
+ "complete-action": z
5250
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), v("span", Xa, B(o.value), 1))
4928
5251
  ]),
4929
- m("span", Ra, "File type: " + w(a.value.type.split("/").pop()), 1),
4930
- m("span", Ha, "File size: " + w(u(pe)(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)
4931
5254
  ]),
4932
- m("div", Wa, [
4933
- (r(), f(Aa, {
5255
+ m("div", ti, [
5256
+ (d(), b(Ja, {
4934
5257
  key: l.value,
4935
5258
  "file-size": a.value.size,
4936
5259
  "upload-status": l.value,
4937
5260
  "bytes-uploaded": p.value,
4938
- "max-file-size": y.maxFileSize
5261
+ "max-file-size": x.maxFileSize
4939
5262
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
4940
- 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(_, {
4941
5264
  key: 0,
4942
5265
  link: "",
4943
- onClick: M
5266
+ onClick: O
4944
5267
  }, {
4945
- default: b(() => [
4946
- h(u(j), {
5268
+ default: g(() => [
5269
+ h(u(I), {
4947
5270
  icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
4948
5271
  }, null, 8, ["icon"])
4949
5272
  ]),
4950
5273
  _: 1
4951
- })) : S("", !0),
4952
- l.value === "Uploading" ? (r(), f(P, {
5274
+ })) : C("", !0),
5275
+ l.value === "Uploading" ? (d(), b(_, {
4953
5276
  key: 1,
4954
5277
  link: "",
4955
- onClick: x[1] || (x[1] = (L) => c.value.value.abort())
5278
+ onClick: w[1] || (w[1] = (f) => c.value.abort())
4956
5279
  }, {
4957
- default: b(() => [
4958
- h(u(j), { icon: "bi:x-circle-fill" })
5280
+ default: g(() => [
5281
+ h(u(I), { icon: "bi:x-circle-fill" })
4959
5282
  ]),
4960
5283
  _: 1
4961
- })) : (r(), f(P, {
5284
+ })) : (d(), b(_, {
4962
5285
  key: 2,
4963
5286
  link: "",
4964
- onClick: q,
5287
+ onClick: A,
4965
5288
  id: "delete-button"
4966
5289
  }, {
4967
- default: b(() => [
4968
- h(u(j), { icon: "bi:trash" })
5290
+ default: g(() => [
5291
+ h(u(I), { icon: "bi:trash" })
4969
5292
  ]),
4970
5293
  _: 1
4971
5294
  }))
4972
5295
  ])
4973
- ], 8, qa);
5296
+ ], 8, Ka);
4974
5297
  };
4975
5298
  }
4976
- }), Ga = { class: "d-flex justify-content-end mt-1 gap-1" }, Ja = { id: "max-file-size" }, Ka = { id: "max-file-input" }, Za = /* @__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({
4977
5300
  __name: "FileInputInfo",
4978
5301
  props: {
4979
5302
  maxFileSize: {},
4980
5303
  maxFileInput: {}
4981
5304
  },
4982
5305
  setup(e) {
4983
- return (t, a) => (r(), v("div", Ga, [
4984
- m("div", Ja, "Max file size: " + w(u(pe)(t.maxFileSize)), 1),
4985
- m("div", Ka, "| Max file count: " + w(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)
4986
5309
  ]));
4987
5310
  }
4988
- }), Xa = { "data-cy": "file-uploader" }, Qa = { key: 0 }, il = /* @__PURE__ */ $({
5311
+ }), si = { "data-cy": "file-uploader" }, ri = { key: 0 }, fl = /* @__PURE__ */ S({
4989
5312
  __name: "ForgeFileUploader",
4990
- props: /* @__PURE__ */ U({
5313
+ props: /* @__PURE__ */ R({
4991
5314
  acceptedFileTypes: {},
4992
5315
  maxFileSize: {},
4993
5316
  getFileUrlAction: {},
@@ -5002,26 +5325,26 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5002
5325
  }),
5003
5326
  emits: ["update:modelValue"],
5004
5327
  setup(e) {
5005
- const t = D(e, "modelValue"), a = e, i = (l) => {
5006
- t.value = t.value.filter((o) => o.file != l);
5328
+ const t = N(e, "modelValue"), a = e, i = (l) => {
5329
+ t.value = t.value.filter((n) => n.file != l);
5007
5330
  };
5008
- return (l, o) => (r(), v("div", Xa, [
5009
- h(Ma, z(a, {
5331
+ return (l, n) => (d(), v("div", si, [
5332
+ h(Ra, j(a, {
5010
5333
  modelValue: t.value,
5011
- "onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n)
5334
+ "onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
5012
5335
  }), null, 16, ["modelValue"]),
5013
- l.showDragDropArea ? (r(), v("div", Qa, [
5014
- h(Na, {
5336
+ l.showDragDropArea ? (d(), v("div", ri, [
5337
+ h(Ga, {
5015
5338
  "max-file-input": a.maxFileInput,
5016
5339
  "max-file-size": a.maxFileSize,
5017
5340
  "accepted-file-types": a.acceptedFileTypes,
5018
5341
  modelValue: t.value,
5019
- "onUpdate:modelValue": o[1] || (o[1] = (n) => t.value = n)
5342
+ "onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o)
5020
5343
  }, {
5021
- default: b(() => [
5022
- (r(!0), v(O, null, N(t.value, ({ file: n }, s) => (r(), v("span", null, [
5023
- (r(), f(Ya, z({
5024
- key: n.name,
5344
+ default: g(() => [
5345
+ (d(!0), v(E, null, U(t.value, ({ file: o }, s) => (d(), v("div", null, [
5346
+ (d(), b(ai, j({
5347
+ key: o.name,
5025
5348
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5026
5349
  file: t.value[s].file,
5027
5350
  "onUpdate:file": (p) => t.value[s].file = p,
@@ -5035,14 +5358,14 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5035
5358
  ]),
5036
5359
  _: 1
5037
5360
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5038
- h(Za, {
5361
+ h(oi, {
5039
5362
  "max-file-size": a.maxFileSize,
5040
5363
  "max-file-input": l.maxFileInput
5041
5364
  }, null, 8, ["max-file-size", "max-file-input"])
5042
- ])) : S("", !0)
5365
+ ])) : C("", !0)
5043
5366
  ]));
5044
5367
  }
5045
- }), ei = { class: "d-flex" }, ti = { class: "me-3" }, ai = { class: "ms-2" }, ii = { class: "d-flex flex-column w-100" }, ll = /* @__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({
5046
5369
  __name: "ForgeColumnCustomiser",
5047
5370
  props: {
5048
5371
  modelValue: { required: !0 },
@@ -5050,22 +5373,22 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5050
5373
  },
5051
5374
  emits: ["update:modelValue"],
5052
5375
  setup(e) {
5053
- const t = D(e, "modelValue"), a = _(), i = _(!1), l = (o) => {
5054
- a.value.toggle(o);
5376
+ const t = N(e, "modelValue"), a = P(), i = P(!1), l = (n) => {
5377
+ a.value.toggle(n);
5055
5378
  };
5056
- return (o, n) => (r(), v(O, null, [
5057
- h(u(A), {
5379
+ return (n, o) => (d(), v(E, null, [
5380
+ h(u(q), {
5058
5381
  onClick: l,
5059
5382
  class: "ms-2"
5060
5383
  }, {
5061
- default: b(() => [
5062
- m("div", ei, [
5063
- m("div", ti, [
5064
- 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" })
5065
5388
  ]),
5066
- I(" Columns (" + w(t.value.filter((s) => s.selected).length ?? 0) + "/" + w(t.value.length ?? 0) + ") ", 1),
5067
- m("div", ai, [
5068
- 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), {
5069
5392
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5070
5393
  }, null, 8, ["icon"])
5071
5394
  ])
@@ -5073,24 +5396,24 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5073
5396
  ]),
5074
5397
  _: 1
5075
5398
  }),
5076
- h(u(ve), {
5399
+ h(u(be), {
5077
5400
  ref_key: "columnCustomiserPanel",
5078
5401
  ref: a,
5079
5402
  class: "column-customiser",
5080
- onHide: n[0] || (n[0] = () => i.value = !1),
5081
- onShow: n[1] || (n[1] = () => i.value = !0)
5403
+ onHide: o[0] || (o[0] = () => i.value = !1),
5404
+ onShow: o[1] || (o[1] = () => i.value = !0)
5082
5405
  }, {
5083
- default: b(() => [
5084
- m("div", ii, [
5085
- (r(!0), v(O, null, N(t.value, (s, p) => (r(), v("div", {
5086
- class: B(["d-flex cursor-pointer", {
5406
+ default: g(() => [
5407
+ m("div", ui, [
5408
+ (d(!0), v(E, null, U(t.value, (s, p) => (d(), v("div", {
5409
+ class: F(["d-flex cursor-pointer", {
5087
5410
  "border-top": p !== 0,
5088
5411
  "py-1": p !== 0 && t.value.length - 1 !== p,
5089
5412
  "pt-1": t.value.length - 1 === p,
5090
5413
  "pb-1": p === 0
5091
5414
  }])
5092
5415
  }, [
5093
- h(fe, {
5416
+ h(ye, {
5094
5417
  id: s.field,
5095
5418
  modelValue: s.selected,
5096
5419
  "onUpdate:modelValue": (c) => s.selected = c,
@@ -5105,19 +5428,19 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5105
5428
  }, 512)
5106
5429
  ], 64));
5107
5430
  }
5108
- }), ol = /* @__PURE__ */ $({
5431
+ }), bl = /* @__PURE__ */ S({
5109
5432
  __name: "ForgePanel",
5110
5433
  setup(e) {
5111
5434
  return (t, a) => {
5112
- const i = Re;
5113
- return r(), f(i, W(Y({ ...t.$attrs })), ee({
5114
- toggleicon: b(({ collapsed: l }) => [
5115
- 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), {
5116
5439
  key: 0,
5117
5440
  "data-cy": "message-icon",
5118
5441
  icon: "bi:chevron-down"
5119
- })) : S("", !0),
5120
- l ? S("", !0) : (r(), f(u(j), {
5442
+ })) : C("", !0),
5443
+ l ? C("", !0) : (d(), b(u(I), {
5121
5444
  key: 1,
5122
5445
  "data-cy": "message-icon",
5123
5446
  icon: "bi:chevron-up"
@@ -5125,16 +5448,16 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5125
5448
  ]),
5126
5449
  _: 2
5127
5450
  }, [
5128
- N(t.$slots, (l, o) => ({
5129
- name: o,
5130
- fn: b((n) => [
5131
- k(t.$slots, o, W(Y(n)))
5451
+ U(t.$slots, (l, n) => ({
5452
+ name: n,
5453
+ fn: g((o) => [
5454
+ k(t.$slots, n, W(G(o)))
5132
5455
  ])
5133
5456
  }))
5134
5457
  ]), 1040);
5135
5458
  };
5136
5459
  }
5137
- }), li = /* @__PURE__ */ $({
5460
+ }), mi = /* @__PURE__ */ S({
5138
5461
  __name: "ForgeToggleButton",
5139
5462
  props: {
5140
5463
  severity: { default: "primary" }
@@ -5161,17 +5484,17 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5161
5484
  ]
5162
5485
  })
5163
5486
  }));
5164
- return (i, l) => (r(), f(u(He), z({ ...i.$attrs, ...t }, {
5487
+ return (i, l) => (d(), b(u(Ke), j({ ...i.$attrs, ...t }, {
5165
5488
  severity: t.severity,
5166
5489
  pt: a.value
5167
5490
  }), null, 16, ["severity", "pt"]));
5168
5491
  }
5169
- }), oi = {
5492
+ }), vi = {
5170
5493
  class: "btn-group",
5171
5494
  "data-cy": "forge-select-button"
5172
- }, nl = /* @__PURE__ */ $({
5495
+ }, yl = /* @__PURE__ */ S({
5173
5496
  __name: "ForgeSelectButton",
5174
- props: /* @__PURE__ */ U({
5497
+ props: /* @__PURE__ */ R({
5175
5498
  options: {},
5176
5499
  multiple: { type: Boolean, default: !0 },
5177
5500
  allowEmpty: { type: Boolean, default: !1 },
@@ -5182,25 +5505,25 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5182
5505
  }),
5183
5506
  emits: ["update:modelValue"],
5184
5507
  setup(e) {
5185
- const t = e, a = D(e, "modelValue"), i = (o) => {
5186
- var n;
5187
- return t.multiple ? (n = a == null ? void 0 : a.value) == null ? void 0 : n.includes(o.value) : a.value === o.value;
5188
- }, l = (o) => {
5189
- var n;
5190
- if (!o.disabled)
5508
+ const t = e, a = N(e, "modelValue"), i = (n) => {
5509
+ var o;
5510
+ return t.multiple ? (o = a == null ? void 0 : a.value) == null ? void 0 : o.includes(n.value) : a.value === n.value;
5511
+ }, l = (n) => {
5512
+ var o;
5513
+ if (!n.disabled)
5191
5514
  if (t.multiple) {
5192
- let s = (n = a.value) != null && n.length ? [...a.value] : [];
5193
- if (s.length >= 1 && s.includes(o.value)) {
5515
+ let s = (o = a.value) != null && o.length ? [...a.value] : [];
5516
+ if (s.length >= 1 && s.includes(n.value)) {
5194
5517
  if (!t.allowEmpty && s.length === 1) return;
5195
- s = s.length > 1 ? s.filter((c) => c !== o.value) : [];
5518
+ s = s.length > 1 ? s.filter((c) => c !== n.value) : [];
5196
5519
  } else
5197
- s.push(o.value);
5520
+ s.push(n.value);
5198
5521
  a.value = s;
5199
5522
  } else
5200
- a.value = a.value === o.value && t.allowEmpty ? null : o.value;
5523
+ a.value = a.value === n.value && t.allowEmpty ? null : n.value;
5201
5524
  };
5202
- return (o, n) => (r(), v("div", oi, [
5203
- (r(!0), v(O, null, N(o.options, (s, p) => (r(), f(li, {
5525
+ return (n, o) => (d(), v("div", vi, [
5526
+ (d(!0), v(E, null, U(n.options, (s, p) => (d(), b(mi, {
5204
5527
  key: p,
5205
5528
  onLabel: s.label,
5206
5529
  offLabel: s.label,
@@ -5209,11 +5532,11 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5209
5532
  defaultValue: i(s),
5210
5533
  disabled: s.disabled,
5211
5534
  "data-cy": `toggle-button-${s.value}`,
5212
- invalid: o.invalid
5535
+ invalid: n.invalid
5213
5536
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5214
5537
  ]));
5215
5538
  }
5216
- }), sl = () => ({
5539
+ }), xl = () => ({
5217
5540
  type: "component",
5218
5541
  resolve: (e) => {
5219
5542
  if (e.startsWith("Forge"))
@@ -5224,37 +5547,38 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5224
5547
  }
5225
5548
  });
5226
5549
  export {
5227
- Ni as Bootstrap_PT,
5228
- Ui as ForgeActionButton,
5229
- se as ForgeAlert,
5230
- Ai as ForgeAutoComplete,
5231
- fe as ForgeCheckbox,
5232
- Ki as ForgeChip,
5233
- ll as ForgeColumnCustomiser,
5234
- be as ForgeDatepicker,
5235
- il as ForgeFileUploader,
5236
- al as ForgeFilterHeader,
5237
- Gi as ForgeForm,
5238
- Ji as ForgeFormField,
5239
- At as ForgeInlineEditor,
5240
- qi as ForgeLink,
5241
- ge as ForgeLoader,
5242
- Ri as ForgeModal,
5243
- Wt as ForgeMultiSelectPreview,
5244
- Hi as ForgeNavbar,
5245
- Wi as ForgePageHeader,
5246
- ol as ForgePanel,
5247
- la as ForgeProgressBar,
5248
- Yi as ForgeRemainingCharacters,
5249
- sl as ForgeResolver,
5250
- Zi as ForgeScratchpad,
5251
- nl as ForgeSelectButton,
5252
- Xi as ForgeStatWidget,
5253
- Qi as ForgeStepper,
5254
- tl as ForgeTable,
5255
- el as ForgeTile,
5256
- li as ForgeToggleButton,
5257
- Li as convertToMultiSelectOption,
5258
- Ei as enumToMultiSelectList,
5259
- It 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
5260
5584
  };