@3squared/forge-ui-3 2.24.1 → 2.25.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,39 +1,39 @@
1
- import Fe from "primevue/message";
2
- import { defineComponent as z, createBlock as x, openBlock as d, normalizeProps as G, guardReactiveProps as Y, withCtx as g, renderSlot as C, createVNode as k, unref as c, createElementVNode as m, normalizeClass as P, createCommentVNode as T, ref as I, createElementBlock as b, Fragment as N, mergeProps as j, renderList as U, mergeModels as E, useModel as L, computed as M, withDirectives as K, createTextVNode as V, toDisplayString as $, vShow as X, createSlots as ie, onMounted as ne, withKeys as le, isRef as Se, normalizeStyle as Ce, withModifiers as Q, watch as W, h as Te, useTemplateRef as ze } from "vue";
3
- import { Icon as _ } from "@iconify/vue";
4
- import q from "primevue/button";
1
+ import Se from "primevue/message";
2
+ import { defineComponent as z, createBlock as y, openBlock as d, normalizeProps as G, guardReactiveProps as Y, withCtx as v, renderSlot as C, createVNode as h, unref as p, createElementVNode as m, normalizeClass as P, createCommentVNode as T, ref as I, createElementBlock as g, Fragment as E, mergeProps as j, renderList as q, mergeModels as _, useModel as N, computed as M, withDirectives as K, createTextVNode as O, toDisplayString as B, vShow as X, createSlots as le, onMounted as se, withKeys as ne, isRef as Fe, normalizeStyle as Ce, withModifiers as Q, watch as W, h as Te, useTemplateRef as ze } from "vue";
3
+ import { Icon as V } from "@iconify/vue";
4
+ import R from "primevue/button";
5
5
  import Pe from "primevue/toast";
6
6
  import je from "primevue/autocomplete";
7
7
  import Me from "primevue/checkbox";
8
- import { useField as se } from "vee-validate";
8
+ import { useField as re } from "vee-validate";
9
9
  import Ie from "primevue/progressspinner";
10
- import _e from "primevue/dialog";
11
- import ae from "primevue/inputtext";
12
- import { vOnClickOutside as Ve } from "@vueuse/components";
13
- import De from "primevue/menubar";
14
- import de from "primevue/multiselect";
15
- import Oe from "primevue/datepicker";
10
+ import Ve from "primevue/dialog";
11
+ import ie from "primevue/inputtext";
12
+ import { vOnClickOutside as De } from "@vueuse/components";
13
+ import Oe from "primevue/menubar";
14
+ import ue from "primevue/multiselect";
15
+ import Ae from "primevue/datepicker";
16
16
  import oe from "primevue/select";
17
- import Ae from "primevue/inputmask";
18
- import Le from "primevue/textarea";
19
- import fe from "primevue/inputnumber";
20
- import Ne from "primevue/chip";
21
- import Ue from "primevue/progressbar";
22
- import Ee from "primevue/step";
23
- import qe from "primevue/stepper";
17
+ import Le from "primevue/inputmask";
18
+ import Ne from "primevue/textarea";
19
+ import be from "primevue/inputnumber";
20
+ import Ue from "primevue/chip";
21
+ import Ee from "primevue/progressbar";
22
+ import qe from "primevue/step";
23
+ import _e from "primevue/stepper";
24
24
  import Re from "primevue/steplist";
25
25
  import He from "primevue/steppanel";
26
26
  import We from "primevue/steppanels";
27
27
  import Ge from "primevue/datatable";
28
28
  import Ye from "primevue/treetable";
29
- import { BlockBlobClient as ge } from "@azure/storage-blob";
30
- import be from "primevue/popover";
31
- import Je from "primevue/image";
32
- import Ke from "primevue/panel";
33
- import { ToggleButton as Ze } from "primevue";
34
- import Xe from "primevue/confirmpopup";
35
- import Qe from "primevue/picklist";
36
- const et = {
29
+ import { BlockBlobClient as pe, newPipeline as Je } from "@azure/storage-blob";
30
+ import ye from "primevue/popover";
31
+ import Ke from "primevue/image";
32
+ import Ze from "primevue/panel";
33
+ import { ToggleButton as Xe } from "primevue";
34
+ import Qe from "primevue/confirmpopup";
35
+ import et from "primevue/picklist";
36
+ const tt = {
37
37
  autoComplete: {
38
38
  root: ({ props: e }) => ({
39
39
  class: [
@@ -62,7 +62,7 @@ const et = {
62
62
  }),
63
63
  emptyMessage: "mx-3 my-2"
64
64
  }
65
- }, tt = {
65
+ }, at = {
66
66
  button: {
67
67
  root: ({ props: e }) => ({
68
68
  class: [
@@ -172,7 +172,7 @@ const et = {
172
172
  })
173
173
  }
174
174
  }
175
- }, at = {
175
+ }, it = {
176
176
  checkbox: {
177
177
  root: () => ({
178
178
  class: ["form-check"]
@@ -187,7 +187,7 @@ const et = {
187
187
  ]
188
188
  })
189
189
  }
190
- }, it = {
190
+ }, lt = {
191
191
  select: {
192
192
  root: ({ props: e }) => ({
193
193
  class: [
@@ -252,14 +252,14 @@ const et = {
252
252
  }
253
253
  }),
254
254
  headerCell: (e) => {
255
- var t, a, i, o, l, n;
255
+ var t, a, i, l, o, n;
256
256
  return {
257
257
  class: [
258
258
  "align-top",
259
259
  {
260
260
  "cursor-move": (t = e.props) == null ? void 0 : t.reorderableColumns,
261
- "position-sticky": ((a = e.column) == null ? void 0 : a.context.frozen) !== void 0 || ((i = e.column) == null ? void 0 : i.context.frozen) || ((o = e.column) == null ? void 0 : o.context.frozen) === "",
262
- "overflow-hidden position-relative bg-clip-padding": (l = e.column) == null ? void 0 : l.context.resizable,
261
+ "position-sticky": ((a = e.column) == null ? void 0 : a.context.frozen) !== void 0 || ((i = e.column) == null ? void 0 : i.context.frozen) || ((l = e.column) == null ? void 0 : l.context.frozen) === "",
262
+ "overflow-hidden position-relative bg-clip-padding": (o = e.column) == null ? void 0 : o.context.resizable,
263
263
  "align-bottom": ((n = e.column.props) == null ? void 0 : n.rowspan) > 1
264
264
  }
265
265
  ]
@@ -364,7 +364,7 @@ const et = {
364
364
  ]
365
365
  })
366
366
  }
367
- }, lt = {
367
+ }, nt = {
368
368
  inputtext: {
369
369
  root: (e) => {
370
370
  var t, a;
@@ -379,7 +379,7 @@ const et = {
379
379
  };
380
380
  }
381
381
  }
382
- }, nt = {
382
+ }, st = {
383
383
  inputmask: {
384
384
  root: () => ({
385
385
  class: [
@@ -387,12 +387,12 @@ const et = {
387
387
  ]
388
388
  })
389
389
  }
390
- }, st = {
390
+ }, rt = {
391
391
  toggleSwitch: {
392
392
  root: "form-check form-switch",
393
393
  input: "form-check-input"
394
394
  }
395
- }, rt = {
395
+ }, dt = {
396
396
  tag: {
397
397
  root: ({ props: e }) => ({
398
398
  class: [
@@ -413,7 +413,7 @@ const et = {
413
413
  ]
414
414
  })
415
415
  }
416
- }, dt = {
416
+ }, ct = {
417
417
  textarea: {
418
418
  root: () => ({
419
419
  class: [
@@ -427,7 +427,7 @@ const et = {
427
427
  label: "px-2 fs-6 fw-400",
428
428
  removeIcon: "ms-auto my-auto"
429
429
  }
430
- }, ct = {
430
+ }, ut = {
431
431
  dialog: {
432
432
  root: ({ parent: e }) => e.instance.$.type.name == "ConfirmDialog" ? {
433
433
  class: ["modal modal-dialog modal-content h-auto m-0"]
@@ -486,7 +486,7 @@ const et = {
486
486
  ]
487
487
  })
488
488
  }
489
- }, ut = {
489
+ }, mt = {
490
490
  popover: {
491
491
  root: (e) => ({
492
492
  class: [
@@ -500,7 +500,7 @@ const et = {
500
500
  content: "d-flex position-relative",
501
501
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
502
502
  }
503
- }, mt = {
503
+ }, vt = {
504
504
  message: {
505
505
  root: ({ props: e }) => ({
506
506
  class: [
@@ -530,7 +530,7 @@ const et = {
530
530
  class: ["px-0 ms-2 btn d-flex"]
531
531
  })
532
532
  }
533
- }, vt = {
533
+ }, ft = {
534
534
  // More PT options defined in ForgeStepper.
535
535
  stepList: {
536
536
  root: "d-flex mb-2 w-100"
@@ -558,7 +558,7 @@ const et = {
558
558
  }),
559
559
  separator: "border border-1 separator"
560
560
  }
561
- }, ft = {
561
+ }, gt = {
562
562
  tabList: {
563
563
  root: () => ({
564
564
  class: ["nav nav-tabs position-relative"]
@@ -583,7 +583,7 @@ const et = {
583
583
  class: ["p-2"]
584
584
  })
585
585
  }
586
- }, gt = {
586
+ }, bt = {
587
587
  // More PassThrough options defined in ForgeDatepicker.
588
588
  datepicker: {
589
589
  root: "d-flex flex-1 relative",
@@ -684,7 +684,7 @@ const et = {
684
684
  pcDecrementButton: { root: "btn btn-sm", label: "d-none" },
685
685
  pcIncrementButton: { root: "btn btn-sm", label: "d-none" }
686
686
  }
687
- }, bt = {
687
+ }, yt = {
688
688
  multiselect: {
689
689
  root: ({ props: e }) => ({
690
690
  class: [
@@ -712,7 +712,7 @@ const et = {
712
712
  class: "d-none"
713
713
  })
714
714
  }
715
- }, yt = {
715
+ }, xt = {
716
716
  // More PassThrough options in component file.
717
717
  progressbar: {
718
718
  root: () => ({
@@ -722,7 +722,7 @@ const et = {
722
722
  class: ["text-white m-1"]
723
723
  })
724
724
  }
725
- }, xt = {
725
+ }, ht = {
726
726
  panel: {
727
727
  root: "card w-100",
728
728
  header: "h4 d-flex justify-content-between align-items-center fw-600 ms-4 me-3 my-2",
@@ -735,7 +735,7 @@ const et = {
735
735
  },
736
736
  contentContainer: "mt-2 mx-4 mb-4"
737
737
  }
738
- }, ht = {
738
+ }, wt = {
739
739
  // More PT options can be found in the ForgeTable file.
740
740
  dataTable: {
741
741
  root: "position-relative",
@@ -808,7 +808,7 @@ const et = {
808
808
  ]
809
809
  })
810
810
  }
811
- }, wt = {
811
+ }, kt = {
812
812
  badge: {
813
813
  root: ({ props: e }) => ({
814
814
  class: [
@@ -830,7 +830,7 @@ const et = {
830
830
  ]
831
831
  })
832
832
  }
833
- }, kt = {
833
+ }, Bt = {
834
834
  // More PassThrough options in component file.
835
835
  menubar: {
836
836
  rootList: ({ instance: e }) => ({
@@ -911,7 +911,7 @@ const et = {
911
911
  ]
912
912
  })
913
913
  }
914
- }, Bt = {
914
+ }, $t = {
915
915
  tooltip: {
916
916
  root: ({ context: e }) => ({
917
917
  class: [
@@ -933,7 +933,7 @@ const et = {
933
933
  class: ["tooltip-inner"]
934
934
  }
935
935
  }
936
- }, $t = {
936
+ }, St = {
937
937
  selectButton: {
938
938
  root: () => ({
939
939
  class: ["btn-group"]
@@ -1002,7 +1002,7 @@ const et = {
1002
1002
  separator: "border-bottom"
1003
1003
  }
1004
1004
  }
1005
- }, St = {
1005
+ }, Ct = {
1006
1006
  progressspinner: {
1007
1007
  spin: () => ({
1008
1008
  class: [
@@ -1010,7 +1010,7 @@ const et = {
1010
1010
  ]
1011
1011
  })
1012
1012
  }
1013
- }, Ct = {
1013
+ }, Tt = {
1014
1014
  card: {
1015
1015
  root: () => ({
1016
1016
  class: ["card"]
@@ -1034,11 +1034,11 @@ const et = {
1034
1034
  class: ["card-header"]
1035
1035
  })
1036
1036
  }
1037
- }, Tt = {
1037
+ }, zt = {
1038
1038
  divider: {
1039
1039
  root: "border-bottom w-100 m-1"
1040
1040
  }
1041
- }, zt = {
1041
+ }, Pt = {
1042
1042
  image: {
1043
1043
  root: "position-relative d-inline-block",
1044
1044
  previewMask: "preview-button",
@@ -1051,7 +1051,7 @@ const et = {
1051
1051
  zoominbutton: "btn text-white",
1052
1052
  closebutton: "btn text-white"
1053
1053
  }
1054
- }, Pt = {
1054
+ }, jt = {
1055
1055
  toast: {
1056
1056
  message: () => ({
1057
1057
  class: ["toast-container w-100 position-relative"]
@@ -1072,7 +1072,7 @@ const et = {
1072
1072
  class: ["ps-1"]
1073
1073
  }),
1074
1074
  messageIcon: ({ props: e }) => {
1075
- var t, a, i, o, l;
1075
+ var t, a, i, l, o;
1076
1076
  return {
1077
1077
  class: [
1078
1078
  "toast-icon",
@@ -1080,14 +1080,14 @@ const et = {
1080
1080
  "text-primary": ((t = e.message) == null ? void 0 : t.severity) === "info",
1081
1081
  "text-success": ((a = e.message) == null ? void 0 : a.severity) === "success",
1082
1082
  "text-success-alternate": ((i = e.message) == null ? void 0 : i.severity) === "success-alternate",
1083
- "text-danger": ((o = e.message) == null ? void 0 : o.severity) === "error",
1084
- "text-warning": ((l = e.message) == null ? void 0 : l.severity) === "warn"
1083
+ "text-danger": ((l = e.message) == null ? void 0 : l.severity) === "error",
1084
+ "text-warning": ((o = e.message) == null ? void 0 : o.severity) === "warn"
1085
1085
  }
1086
1086
  ]
1087
1087
  };
1088
1088
  }
1089
1089
  }
1090
- }, jt = {
1090
+ }, Mt = {
1091
1091
  tree: {
1092
1092
  node: "m-1",
1093
1093
  nodeToggleButton: ({ context: e }) => ({
@@ -1119,7 +1119,7 @@ const et = {
1119
1119
  pcFilterContainer: { root: "dropdown-item" },
1120
1120
  filterIcon: "d-none"
1121
1121
  }
1122
- }, Mt = {
1122
+ }, It = {
1123
1123
  treeSelect: {
1124
1124
  root: ({ props: e }) => ({
1125
1125
  class: [
@@ -1167,7 +1167,7 @@ const et = {
1167
1167
  filterIcon: "d-none"
1168
1168
  }
1169
1169
  }
1170
- }, It = {
1170
+ }, Vt = {
1171
1171
  fieldset: {
1172
1172
  root: () => ({
1173
1173
  class: [
@@ -1193,7 +1193,7 @@ const et = {
1193
1193
  ]
1194
1194
  })
1195
1195
  }
1196
- }, _t = {
1196
+ }, Dt = {
1197
1197
  accordionPanel: {
1198
1198
  root: "card my-2"
1199
1199
  },
@@ -1210,7 +1210,7 @@ const et = {
1210
1210
  accordionContent: {
1211
1211
  root: "mt-2 mx-4 mb-4"
1212
1212
  }
1213
- }, Vt = {
1213
+ }, Ot = {
1214
1214
  // More PT options can be found in the ForgeTable file.
1215
1215
  treetable: {
1216
1216
  root: "position-relative",
@@ -1231,7 +1231,7 @@ const et = {
1231
1231
  class: "table-overlay table-spinner"
1232
1232
  })
1233
1233
  }
1234
- }, Dt = {
1234
+ }, At = {
1235
1235
  picklist: {
1236
1236
  root: " d-flex gap-3",
1237
1237
  pcMoveAllToSourceButton: { root: "btn btn-sm btn-outline-primary focus-ring " },
@@ -1267,7 +1267,7 @@ const et = {
1267
1267
  sourceListContainer: " h-100 flex-1",
1268
1268
  targetListContainer: "h-100 flex-1"
1269
1269
  }
1270
- }, Ot = {
1270
+ }, Lt = {
1271
1271
  listbox: {
1272
1272
  root: "border rounded",
1273
1273
  list: "list-unstyled list-group list-group-flush",
@@ -1286,7 +1286,7 @@ const et = {
1286
1286
  filterIcon: "d-none",
1287
1287
  pcFilter: { root: "form-control form-control-sm mx-2 mt-2 mb-1" }
1288
1288
  }
1289
- }, At = {
1289
+ }, Nt = {
1290
1290
  drawer: {
1291
1291
  root: ({ props: e }) => ({
1292
1292
  class: [
@@ -1312,49 +1312,49 @@ const et = {
1312
1312
  ]
1313
1313
  })
1314
1314
  }
1315
- }, ro = {
1316
- ...et,
1317
- ...wt,
1315
+ }, dl = {
1318
1316
  ...tt,
1319
- ...Ct,
1317
+ ...kt,
1320
1318
  ...at,
1321
- ...pt,
1322
- ...ot,
1323
- ...gt,
1324
- ...ct,
1325
1319
  ...Tt,
1326
1320
  ...it,
1321
+ ...pt,
1322
+ ...ot,
1323
+ ...bt,
1324
+ ...ut,
1327
1325
  ...zt,
1328
1326
  ...lt,
1327
+ ...Pt,
1329
1328
  ...nt,
1330
1329
  ...st,
1331
- ...mt,
1332
- ...bt,
1333
- ...kt,
1334
- ...ut,
1330
+ ...rt,
1331
+ ...vt,
1335
1332
  ...yt,
1336
- ...St,
1333
+ ...Bt,
1334
+ ...mt,
1337
1335
  ...xt,
1338
- ...$t,
1339
- ...Ft,
1340
- ...vt,
1336
+ ...Ct,
1341
1337
  ...ht,
1342
- ...rt,
1338
+ ...St,
1339
+ ...Ft,
1343
1340
  ...ft,
1344
- ...Pt,
1341
+ ...wt,
1345
1342
  ...dt,
1346
- ...It,
1347
- ...Mt,
1343
+ ...gt,
1348
1344
  ...jt,
1349
- ..._t,
1345
+ ...ct,
1350
1346
  ...Vt,
1347
+ ...It,
1348
+ ...Mt,
1351
1349
  ...Dt,
1352
1350
  ...Ot,
1353
1351
  ...At,
1352
+ ...Lt,
1353
+ ...Nt,
1354
1354
  directives: {
1355
- ...Bt
1355
+ ...$t
1356
1356
  }
1357
- }, re = /* @__PURE__ */ z({
1357
+ }, de = /* @__PURE__ */ z({
1358
1358
  __name: "ForgeAlert",
1359
1359
  props: {
1360
1360
  severity: { default: "primary" },
@@ -1374,13 +1374,13 @@ const et = {
1374
1374
  setup(e) {
1375
1375
  const t = e;
1376
1376
  return (a, i) => {
1377
- const o = Fe;
1378
- return d(), x(o, G(Y({ ...a.$attrs, ...t })), {
1379
- icon: g(() => [
1377
+ const l = Se;
1378
+ return d(), y(l, G(Y({ ...a.$attrs, ...t })), {
1379
+ icon: v(() => [
1380
1380
  m("div", {
1381
1381
  class: P(t.icon ? "me-2 pe-1" : "")
1382
1382
  }, [
1383
- t.icon ? (d(), x(c(_), {
1383
+ t.icon ? (d(), y(p(V), {
1384
1384
  key: 0,
1385
1385
  "data-cy": "message-icon",
1386
1386
  icon: t.icon,
@@ -1389,17 +1389,17 @@ const et = {
1389
1389
  }, null, 8, ["icon", "class"])) : T("", !0)
1390
1390
  ], 2)
1391
1391
  ]),
1392
- closeicon: g(() => [
1393
- k(c(_), { icon: "bi:x" })
1392
+ closeicon: v(() => [
1393
+ h(p(V), { icon: "bi:x" })
1394
1394
  ]),
1395
- default: g(() => [
1395
+ default: v(() => [
1396
1396
  C(a.$slots, "default")
1397
1397
  ]),
1398
1398
  _: 3
1399
1399
  }, 16);
1400
1400
  };
1401
1401
  }
1402
- }), po = /* @__PURE__ */ z({
1402
+ }), cl = /* @__PURE__ */ z({
1403
1403
  __name: "ForgeActionButton",
1404
1404
  props: {
1405
1405
  action: {},
@@ -1412,36 +1412,36 @@ const et = {
1412
1412
  t.value = !0;
1413
1413
  try {
1414
1414
  await a.action.apply(this, a.params);
1415
- } catch (o) {
1416
- await a.errorAction.apply(this, a.errorParams ? [...a.errorParams, o] : [o]);
1415
+ } catch (l) {
1416
+ await a.errorAction.apply(this, a.errorParams ? [...a.errorParams, l] : [l]);
1417
1417
  }
1418
1418
  t.value = !1;
1419
1419
  };
1420
- return (o, l) => {
1421
- const n = q;
1422
- return d(), b(N, null, [
1423
- k(n, j({ ...a, ...o.$attrs }, {
1420
+ return (l, o) => {
1421
+ const n = R;
1422
+ return d(), g(E, null, [
1423
+ h(n, j({ ...a, ...l.$attrs }, {
1424
1424
  loading: t.value,
1425
1425
  disabled: t.value || a.disabled,
1426
1426
  onClick: i
1427
1427
  }), null, 16, ["loading", "disabled"]),
1428
- k(c(Pe))
1428
+ h(p(Pe))
1429
1429
  ], 64);
1430
1430
  };
1431
1431
  }
1432
- }), co = /* @__PURE__ */ z({
1432
+ }), pl = /* @__PURE__ */ z({
1433
1433
  __name: "ForgeAutoComplete",
1434
1434
  setup(e) {
1435
- return (t, a) => (d(), x(c(je), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1436
- default: g(() => [
1437
- (d(!0), b(N, null, U(t.$slots, (i, o) => C(t.$slots, o, { slot: o })), 256))
1435
+ return (t, a) => (d(), y(p(je), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1436
+ default: v(() => [
1437
+ (d(!0), g(E, null, q(t.$slots, (i, l) => C(t.$slots, l, { slot: l })), 256))
1438
1438
  ]),
1439
1439
  _: 3
1440
1440
  }, 16));
1441
1441
  }
1442
- }), Lt = { class: "d-flex flex-column" }, Nt = ["for"], ye = /* @__PURE__ */ z({
1442
+ }), Ut = { class: "d-flex flex-column" }, Et = ["for"], xe = /* @__PURE__ */ z({
1443
1443
  __name: "ForgeCheckbox",
1444
- props: /* @__PURE__ */ E({
1444
+ props: /* @__PURE__ */ _({
1445
1445
  label: { default: "" },
1446
1446
  value: {},
1447
1447
  modelValue: {},
@@ -1474,25 +1474,25 @@ const et = {
1474
1474
  }),
1475
1475
  emits: ["update:modelValue"],
1476
1476
  setup(e) {
1477
- const t = e, a = L(e, "modelValue"), { handleChange: i, errors: o, errorMessage: l } = se(
1477
+ const t = e, a = N(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = re(
1478
1478
  () => t.name ?? "",
1479
1479
  void 0,
1480
1480
  {
1481
1481
  type: "checkbox",
1482
1482
  checkedValue: a.value
1483
1483
  }
1484
- ), n = (p, u) => {
1485
- (t.disabled || t.readonly) && p.preventDefault(), t.name ? i(u) : a.value = u;
1486
- }, s = M(() => o.value.length > 0);
1487
- return (p, u) => {
1488
- const h = Me;
1489
- return d(), b("div", Lt, [
1484
+ ), n = (c, u) => {
1485
+ (t.disabled || t.readonly) && c.preventDefault(), t.name ? i(u) : a.value = u;
1486
+ }, s = M(() => l.value.length > 0);
1487
+ return (c, u) => {
1488
+ const w = Me;
1489
+ return d(), g("div", Ut, [
1490
1490
  m("div", j({
1491
1491
  class: "d-flex",
1492
1492
  "data-cy": "checkbox-container",
1493
1493
  onClick: u[2] || (u[2] = (r) => n(r, a.value))
1494
- }, { ...p.$attrs }), [
1495
- k(h, j({ ...t }, {
1494
+ }, { ...c.$attrs }), [
1495
+ h(w, j({ ...t }, {
1496
1496
  binary: "",
1497
1497
  modelValue: a.value,
1498
1498
  "onUpdate:modelValue": u[0] || (u[0] = (r) => a.value = r),
@@ -1505,21 +1505,21 @@ const et = {
1505
1505
  onClick: u[1] || (u[1] = (r) => n(r, !a.value)),
1506
1506
  class: P([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1507
1507
  }, [
1508
- C(p.$slots, "default", {}, () => [
1509
- V($(t.label), 1)
1508
+ C(c.$slots, "default", {}, () => [
1509
+ O(B(t.label), 1)
1510
1510
  ])
1511
- ], 10, Nt)
1511
+ ], 10, Et)
1512
1512
  ], 16),
1513
1513
  K(m("small", {
1514
1514
  "data-cy": "error",
1515
1515
  class: "text-invalid"
1516
- }, $(c(l)), 513), [
1516
+ }, B(p(o)), 513), [
1517
1517
  [X, s.value]
1518
1518
  ])
1519
1519
  ]);
1520
1520
  };
1521
1521
  }
1522
- }), pe = /* @__PURE__ */ z({
1522
+ }), me = /* @__PURE__ */ z({
1523
1523
  __name: "ForgeLoader",
1524
1524
  props: {
1525
1525
  severity: { default: "primary" },
@@ -1536,12 +1536,12 @@ const et = {
1536
1536
  ]
1537
1537
  })
1538
1538
  }));
1539
- return (i, o) => {
1540
- const l = Ie;
1541
- return d(), b("div", {
1542
- class: P(i.inLine ? "" : "forge-loader")
1539
+ return (i, l) => {
1540
+ const o = Ie;
1541
+ return d(), g("div", {
1542
+ class: P(e.inLine ? "" : "forge-loader")
1543
1543
  }, [
1544
- k(l, {
1544
+ h(o, {
1545
1545
  "animation-duration": ".75",
1546
1546
  class: P(`text-${t.severity === void 0 ? "primary" : t.severity}`),
1547
1547
  pt: a.value
@@ -1549,7 +1549,7 @@ const et = {
1549
1549
  ], 2);
1550
1550
  };
1551
1551
  }
1552
- }), Ut = ["href", "target"], uo = /* @__PURE__ */ z({
1552
+ }), qt = ["href", "target"], ul = /* @__PURE__ */ z({
1553
1553
  __name: "ForgeLink",
1554
1554
  props: {
1555
1555
  url: {},
@@ -1583,25 +1583,25 @@ const et = {
1583
1583
  "ms-0": e.positionIconEnd && e.animateIconOnHover,
1584
1584
  "me-0": e.animateIconOnHover
1585
1585
  }));
1586
- return (i, o) => (d(), b("a", {
1586
+ return (i, l) => (d(), g("a", {
1587
1587
  id: "link",
1588
1588
  class: P(["cursor-pointer d-flex text-break", t.value]),
1589
- href: i.url,
1590
- target: i.target
1589
+ href: e.url,
1590
+ target: e.target
1591
1591
  }, [
1592
1592
  C(i.$slots, "default", {}, () => [
1593
- i.iconName ? (d(), x(c(_), {
1593
+ e.iconName ? (d(), y(p(V), {
1594
1594
  key: 0,
1595
1595
  id: "link-icon",
1596
- icon: i.iconName,
1596
+ icon: e.iconName,
1597
1597
  class: P(["bi my-auto", a.value])
1598
1598
  }, null, 8, ["icon", "class"])) : T("", !0),
1599
- V(" " + $(i.label), 1)
1599
+ O(" " + B(e.label), 1)
1600
1600
  ])
1601
- ], 10, Ut));
1601
+ ], 10, qt));
1602
1602
  }
1603
1603
  });
1604
- function Et(e) {
1604
+ function _t(e) {
1605
1605
  const t = {
1606
1606
  errorMessage: "",
1607
1607
  errorDetails: []
@@ -1612,22 +1612,22 @@ function Et(e) {
1612
1612
  }
1613
1613
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1614
1614
  }
1615
- function mo(e, t) {
1615
+ function ml(e, t) {
1616
1616
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1617
1617
  }
1618
- function vo(e, t, a) {
1618
+ function vl(e, t, a) {
1619
1619
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1620
1620
  }
1621
- const qt = {
1621
+ const Rt = {
1622
1622
  key: 0,
1623
1623
  class: "sticky-top py-3 error-bg",
1624
1624
  "data-cy": "error-wrapper"
1625
- }, Rt = { key: 0 }, Ht = {
1625
+ }, Ht = { key: 0 }, Wt = {
1626
1626
  class: "d-flex w-100",
1627
1627
  "data-cy": "footer"
1628
- }, fo = /* @__PURE__ */ z({
1628
+ }, fl = /* @__PURE__ */ z({
1629
1629
  __name: "ForgeModal",
1630
- props: /* @__PURE__ */ E({
1630
+ props: /* @__PURE__ */ _({
1631
1631
  cancelText: { default: "Cancel" },
1632
1632
  submitText: { default: "Submit" },
1633
1633
  showFooter: { type: Boolean, default: !0 },
@@ -1688,7 +1688,7 @@ const qt = {
1688
1688
  }),
1689
1689
  emits: ["update:visible", "update:error"],
1690
1690
  setup(e, { expose: t }) {
1691
- const a = L(e, "visible"), i = I(!1), o = e, l = I(!1), n = L(e, "error"), s = () => {
1691
+ const a = N(e, "visible"), i = I(!1), l = e, o = I(!1), n = N(e, "error"), s = () => {
1692
1692
  n.value = {
1693
1693
  hasError: !1,
1694
1694
  header: "",
@@ -1698,62 +1698,62 @@ const qt = {
1698
1698
  t({
1699
1699
  resetError: s
1700
1700
  });
1701
- const p = () => {
1701
+ const c = () => {
1702
1702
  i.value = !1;
1703
1703
  }, u = () => {
1704
1704
  i.value = !0;
1705
- }, h = () => {
1706
- o.resetErrorOnClose && s(), a.value = !1;
1705
+ }, w = () => {
1706
+ l.resetErrorOnClose && s(), a.value = !1;
1707
1707
  }, r = async () => {
1708
- if (o.onConfirm) {
1709
- l.value = !0, n.value.hasError = !1;
1708
+ if (l.onConfirm) {
1709
+ o.value = !0, n.value.hasError = !1;
1710
1710
  try {
1711
- const v = await o.onConfirm();
1712
- (v || v == null) && h();
1713
- } catch (v) {
1711
+ const b = await l.onConfirm();
1712
+ (b || b == null) && w();
1713
+ } catch (b) {
1714
1714
  n.value.hasError = !0;
1715
- const S = Et(v);
1715
+ const S = _t(b);
1716
1716
  n.value.header = S.errorMessage, n.value.message = S.errorDetails;
1717
1717
  }
1718
- l.value = !1;
1718
+ o.value = !1;
1719
1719
  }
1720
- }, w = M(() => ({
1720
+ }, x = M(() => ({
1721
1721
  root: [
1722
1722
  "modal modal-dialog modal-content h-auto m-0",
1723
1723
  {
1724
1724
  "mw-100 vh-100 vw-100 top-0 start-0": i.value,
1725
- "modal-sm": o.size === "sm",
1726
- "modal-lg": o.size === "lg",
1727
- "modal-xl": o.size === "xl"
1725
+ "modal-sm": l.size === "sm",
1726
+ "modal-lg": l.size === "lg",
1727
+ "modal-xl": l.size === "xl"
1728
1728
  }
1729
1729
  ],
1730
1730
  content: [
1731
1731
  "modal-body overflow-y-auto",
1732
1732
  {
1733
- [`${o.maxHeight}`]: o.maxHeight && !i.value,
1734
- [`${o.minHeight}`]: o.minHeight && !i.value,
1733
+ [`${l.maxHeight}`]: l.maxHeight && !i.value,
1734
+ [`${l.minHeight}`]: l.minHeight && !i.value,
1735
1735
  "pt-0": n.value.hasError
1736
1736
  }
1737
1737
  ]
1738
1738
  }));
1739
- return (v, S) => {
1740
- const F = q, A = _e;
1741
- return d(), x(A, j(o, {
1739
+ return (b, S) => {
1740
+ const F = R, L = Ve;
1741
+ return d(), y(L, j(l, {
1742
1742
  onMaximize: u,
1743
- onUnmaximize: p,
1744
- pt: w.value
1745
- }), ie({
1746
- closeicon: g(() => [
1747
- k(c(_), {
1743
+ onUnmaximize: c,
1744
+ pt: x.value
1745
+ }), le({
1746
+ closeicon: v(() => [
1747
+ h(p(V), {
1748
1748
  "data-cy": "close-icon",
1749
1749
  icon: "bi:x-lg",
1750
1750
  width: "18",
1751
1751
  height: "18",
1752
- onClick: h
1752
+ onClick: w
1753
1753
  })
1754
1754
  ]),
1755
- maximizeicon: g(() => [
1756
- k(c(_), {
1755
+ maximizeicon: v(() => [
1756
+ h(p(V), {
1757
1757
  "data-cy": "maximisable-icon",
1758
1758
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1759
1759
  width: "16",
@@ -1762,52 +1762,52 @@ const qt = {
1762
1762
  ]),
1763
1763
  _: 2
1764
1764
  }, [
1765
- U(v.$slots, (f, B) => ({
1766
- name: B,
1767
- fn: g((D) => [
1768
- B == "default" ? (d(), b(N, { key: 0 }, [
1769
- n.value.hasError && !v.hideErrorBanner ? (d(), b("div", qt, [
1770
- k(re, {
1765
+ q(b.$slots, ($, k) => ({
1766
+ name: k,
1767
+ fn: v((A) => [
1768
+ k == "default" ? (d(), g(E, { key: 0 }, [
1769
+ n.value.hasError && !e.hideErrorBanner ? (d(), g("div", Rt, [
1770
+ h(de, {
1771
1771
  severity: "danger",
1772
1772
  "data-cy": "error",
1773
1773
  class: "mb-0"
1774
1774
  }, {
1775
- default: g(() => [
1775
+ default: v(() => [
1776
1776
  m("p", {
1777
1777
  class: P(n.value.message.length > 0 ? "my-auto" : "mb-0")
1778
- }, $(n.value.header), 3),
1779
- n.value.message.length > 0 ? (d(), b("ul", Rt, [
1780
- (d(!0), b(N, null, U(n.value.message, (y) => (d(), b("li", { key: y }, $(y), 1))), 128))
1778
+ }, B(n.value.header), 3),
1779
+ n.value.message.length > 0 ? (d(), g("ul", Ht, [
1780
+ (d(!0), g(E, null, q(n.value.message, (f) => (d(), g("li", { key: f }, B(f), 1))), 128))
1781
1781
  ])) : T("", !0)
1782
1782
  ]),
1783
1783
  _: 1
1784
1784
  })
1785
1785
  ])) : T("", !0)
1786
1786
  ], 64)) : T("", !0),
1787
- C(v.$slots, B, G(Y(D || {}))),
1788
- l.value ? C(v.$slots, "loader", { key: 1 }, () => [
1789
- k(pe, { "data-cy": "loader" })
1787
+ C(b.$slots, k, G(Y(A || {}))),
1788
+ o.value ? C(b.$slots, "loader", { key: 1 }, () => [
1789
+ h(me, { "data-cy": "loader" })
1790
1790
  ]) : T("", !0)
1791
1791
  ])
1792
1792
  })),
1793
- v.showFooter ? {
1793
+ e.showFooter ? {
1794
1794
  name: "footer",
1795
- fn: g(() => [
1796
- m("div", Ht, [
1797
- k(F, {
1798
- label: v.cancelText,
1799
- class: P(o.cancelClass),
1795
+ fn: v(() => [
1796
+ m("div", Wt, [
1797
+ h(F, {
1798
+ label: e.cancelText,
1799
+ class: P(l.cancelClass),
1800
1800
  outlined: "",
1801
- onClick: h,
1801
+ onClick: w,
1802
1802
  id: "cancel-button",
1803
- type: o.cancelButtonType
1803
+ type: l.cancelButtonType
1804
1804
  }, null, 8, ["label", "class", "type"]),
1805
- k(F, {
1806
- label: v.submitText,
1807
- class: P([o.submitClass, "ms-auto"]),
1805
+ h(F, {
1806
+ label: e.submitText,
1807
+ class: P([l.submitClass, "ms-auto"]),
1808
1808
  onClick: r,
1809
1809
  id: "submit-button",
1810
- type: o.submitButtonType
1810
+ type: l.submitButtonType
1811
1811
  }, null, 8, ["label", "class", "type"])
1812
1812
  ])
1813
1813
  ]),
@@ -1816,9 +1816,9 @@ const qt = {
1816
1816
  ]), 1040, ["pt"]);
1817
1817
  };
1818
1818
  }
1819
- }), Wt = ["id"], Gt = { key: 0 }, Yt = { key: 0 }, Jt = { class: "d-flex justify-content-between align-items-center position-relative" }, Kt = { key: 1 }, Zt = { "data-cy": "readonly-value" }, Xt = /* @__PURE__ */ z({
1819
+ }), Gt = ["id"], Yt = { key: 0 }, Jt = { key: 0 }, Kt = { class: "d-flex justify-content-between align-items-center position-relative" }, Zt = { key: 1 }, Xt = { "data-cy": "readonly-value" }, Qt = /* @__PURE__ */ z({
1820
1820
  __name: "ForgeInlineEditor",
1821
- props: /* @__PURE__ */ E({
1821
+ props: /* @__PURE__ */ _({
1822
1822
  name: { default: "" },
1823
1823
  completeAction: {},
1824
1824
  errorAction: {},
@@ -1831,11 +1831,11 @@ const qt = {
1831
1831
  }),
1832
1832
  emits: ["update:modelValue"],
1833
1833
  setup(e) {
1834
- const t = e, a = L(e, "modelValue"), i = I(!1), o = I(), l = () => {
1835
- var v;
1836
- i.value = !i.value, (v = o.value) == null || v.focus();
1834
+ const t = e, a = N(e, "modelValue"), i = I(!1), l = I(), o = () => {
1835
+ var b;
1836
+ i.value = !i.value, (b = l.value) == null || b.focus();
1837
1837
  }, n = async () => {
1838
- if (w.value)
1838
+ if (x.value)
1839
1839
  return !1;
1840
1840
  if (a.value = r.value, t.completeAction)
1841
1841
  try {
@@ -1847,79 +1847,79 @@ const qt = {
1847
1847
  i.value = !i.value;
1848
1848
  }, s = () => {
1849
1849
  i.value = !i.value;
1850
- }, p = () => {
1850
+ }, c = () => {
1851
1851
  r.value = null;
1852
- }, { errorMessage: u, errors: h, value: r } = se(() => t.name, void 0, {
1852
+ }, { errorMessage: u, errors: w, value: r } = re(() => t.name, void 0, {
1853
1853
  initialValue: a.value
1854
1854
  });
1855
- ne(() => {
1855
+ se(() => {
1856
1856
  r.value = a.value;
1857
1857
  });
1858
- const w = M(() => h.value.length > 0);
1859
- return (v, S) => {
1860
- const F = ae, A = q;
1861
- return d(), b("div", {
1858
+ const x = M(() => w.value.length > 0);
1859
+ return (b, S) => {
1860
+ const F = ie, L = R;
1861
+ return d(), g("div", {
1862
1862
  id: t.name
1863
1863
  }, [
1864
- v.readonly ? (d(), b("div", Kt, [
1865
- C(v.$slots, "default", {}, () => [
1866
- m("span", Zt, $(c(r)), 1)
1864
+ e.readonly ? (d(), g("div", Zt, [
1865
+ C(b.$slots, "default", {}, () => [
1866
+ m("span", Xt, B(p(r)), 1)
1867
1867
  ])
1868
- ])) : (d(), b("div", Gt, [
1869
- i.value ? (d(), b("div", Yt, [
1870
- K((d(), b("div", Jt, [
1871
- C(v.$slots, "editor", {
1872
- class: P({ "is-invalid": w.value }),
1868
+ ])) : (d(), g("div", Yt, [
1869
+ i.value ? (d(), g("div", Jt, [
1870
+ K((d(), g("div", Kt, [
1871
+ C(b.$slots, "editor", {
1872
+ class: P({ "is-invalid": x.value }),
1873
1873
  editFinished: n,
1874
1874
  cancel: s,
1875
- val: c(r)
1875
+ val: p(r)
1876
1876
  }, () => [
1877
- k(F, {
1878
- modelValue: c(r),
1879
- "onUpdate:modelValue": S[0] || (S[0] = (f) => Se(r) ? r.value = f : null),
1877
+ h(F, {
1878
+ modelValue: p(r),
1879
+ "onUpdate:modelValue": S[0] || (S[0] = ($) => Fe(r) ? r.value = $ : null),
1880
1880
  modelModifiers: { trim: !0 },
1881
1881
  "data-cy": "input",
1882
1882
  ref_key: "input",
1883
- ref: o,
1884
- class: P({ "is-invalid": w.value }),
1883
+ ref: l,
1884
+ class: P({ "is-invalid": x.value }),
1885
1885
  onKeydown: [
1886
- le(n, ["enter"]),
1887
- le(s, ["esc"])
1886
+ ne(n, ["enter"]),
1887
+ ne(s, ["esc"])
1888
1888
  ]
1889
1889
  }, null, 8, ["modelValue", "class"])
1890
1890
  ]),
1891
- k(c(_), {
1891
+ h(p(V), {
1892
1892
  icon: "bi:x-circle",
1893
1893
  class: "mx-2 cursor-pointer",
1894
- onClick: p,
1895
- onKeydown: le(p, ["enter"]),
1894
+ onClick: c,
1895
+ onKeydown: ne(c, ["enter"]),
1896
1896
  "data-cy": "clear-icon"
1897
1897
  })
1898
1898
  ])), [
1899
- [c(Ve), n]
1899
+ [p(De), n]
1900
1900
  ])
1901
- ])) : (d(), b("div", {
1901
+ ])) : (d(), g("div", {
1902
1902
  key: 1,
1903
1903
  class: "d-flex text-muted",
1904
- onClick: l,
1905
- onFocus: l
1904
+ onClick: o,
1905
+ onFocus: o
1906
1906
  }, [
1907
- C(v.$slots, "default", {}, () => [
1907
+ C(b.$slots, "default", {}, () => [
1908
1908
  m("div", {
1909
- class: P(["pe-2 cursor-pointer", { "text-invalid": w.value }]),
1909
+ class: P(["pe-2 cursor-pointer", { "text-invalid": x.value }]),
1910
1910
  "data-cy": "value"
1911
- }, $(c(r) ? c(r) : "Click to edit"), 3)
1911
+ }, B(p(r) ? p(r) : "Click to edit"), 3)
1912
1912
  ]),
1913
- k(A, {
1913
+ h(L, {
1914
1914
  link: "",
1915
1915
  class: "p-0 m-0"
1916
1916
  }, {
1917
- default: g(() => [
1918
- k(c(_), {
1917
+ default: v(() => [
1918
+ h(p(V), {
1919
1919
  icon: "bi:pencil",
1920
- class: P(w.value ? "text-invalid" : "text-muted"),
1920
+ class: P(x.value ? "text-invalid" : "text-muted"),
1921
1921
  "data-cy": "edit-icon",
1922
- onKeydown: le(l, ["enter"])
1922
+ onKeydown: ne(o, ["enter"])
1923
1923
  }, null, 8, ["class"])
1924
1924
  ]),
1925
1925
  _: 1
@@ -1929,13 +1929,13 @@ const qt = {
1929
1929
  K(m("small", {
1930
1930
  "data-cy": "error",
1931
1931
  class: "text-invalid"
1932
- }, $(c(u)), 513), [
1933
- [X, w.value]
1932
+ }, B(p(u)), 513), [
1933
+ [X, x.value]
1934
1934
  ])
1935
- ], 8, Wt);
1935
+ ], 8, Gt);
1936
1936
  };
1937
1937
  }
1938
- }), Qt = ["href"], go = /* @__PURE__ */ z({
1938
+ }), ea = ["href"], gl = /* @__PURE__ */ z({
1939
1939
  __name: "ForgeNavbar",
1940
1940
  props: {
1941
1941
  severity: { default: "light" },
@@ -1980,24 +1980,24 @@ const qt = {
1980
1980
  ]
1981
1981
  })
1982
1982
  }));
1983
- return (i, o) => (d(), x(c(De), j({ ...t, ...i.$attrs }, {
1983
+ return (i, l) => (d(), y(p(Oe), j({ ...t, ...i.$attrs }, {
1984
1984
  pt: a.value,
1985
1985
  "data-cy": "navbar"
1986
- }), ie({
1987
- start: g(() => [
1986
+ }), le({
1987
+ start: v(() => [
1988
1988
  m("a", {
1989
- href: i.logoUrl,
1989
+ href: e.logoUrl,
1990
1990
  class: "navbar-brand ms-3",
1991
1991
  "data-cy": "logo"
1992
1992
  }, [
1993
1993
  C(i.$slots, "logo", {}, () => [
1994
- o[0] || (o[0] = V(" Logo ", -1))
1994
+ l[0] || (l[0] = O(" Logo ", -1))
1995
1995
  ])
1996
- ], 8, Qt)
1996
+ ], 8, ea)
1997
1997
  ]),
1998
- buttonicon: g(() => [
1998
+ buttonicon: v(() => [
1999
1999
  C(i.$slots, "buttonIcon", {}, () => [
2000
- k(c(_), {
2000
+ h(p(V), {
2001
2001
  icon: "bi:list",
2002
2002
  class: P(t.severity === "light" ? "text-black" : "text-white"),
2003
2003
  height: "24",
@@ -2007,24 +2007,24 @@ const qt = {
2007
2007
  ]),
2008
2008
  _: 2
2009
2009
  }, [
2010
- U(i.$slots, (l, n) => ({
2010
+ q(i.$slots, (o, n) => ({
2011
2011
  name: n,
2012
- fn: g((s) => [
2012
+ fn: v((s) => [
2013
2013
  C(i.$slots, n, G(Y(s)))
2014
2014
  ])
2015
2015
  }))
2016
2016
  ]), 1040, ["pt"]));
2017
2017
  }
2018
- }), ea = { class: "border alternating-item-list" }, ta = {
2018
+ }), ta = { class: "border alternating-item-list" }, aa = {
2019
2019
  key: 0,
2020
2020
  class: "p-2 border-top border-bottom",
2021
2021
  "data-cy": "title"
2022
- }, aa = { class: "d-inline-block" }, ia = {
2022
+ }, ia = { class: "d-inline-block" }, la = {
2023
2023
  key: 1,
2024
2024
  class: "p-2 item d-flex justify-content-between align-items-center"
2025
2025
  }, oa = /* @__PURE__ */ z({
2026
2026
  __name: "ForgeMultiSelectPreview",
2027
- props: /* @__PURE__ */ E({
2027
+ props: /* @__PURE__ */ _({
2028
2028
  title: { default: "Selected Items" },
2029
2029
  orientation: { default: "row" },
2030
2030
  height: { default: "200px" },
@@ -2038,98 +2038,98 @@ const qt = {
2038
2038
  }),
2039
2039
  emits: ["update:modelValue"],
2040
2040
  setup(e) {
2041
- const t = e, a = L(e, "modelValue"), i = (o) => {
2042
- a.value = a.value.filter((l) => l.id !== o);
2041
+ const t = e, a = N(e, "modelValue"), i = (l) => {
2042
+ a.value = a.value.filter((o) => o.id !== l);
2043
2043
  };
2044
- return (o, l) => {
2045
- const n = de, s = q;
2046
- return d(), b("div", {
2047
- class: P(o.orientation === "column" ? "row" : "flex-1"),
2044
+ return (l, o) => {
2045
+ const n = ue, s = R;
2046
+ return d(), g("div", {
2047
+ class: P(e.orientation === "column" ? "row" : "flex-1"),
2048
2048
  "data-cy": "multiselect-preview"
2049
2049
  }, [
2050
2050
  m("div", {
2051
- class: P(o.orientation === "row" ? "col-12 mb-1" : "col"),
2051
+ class: P(e.orientation === "row" ? "col-12 mb-1" : "col"),
2052
2052
  "data-cy": "multiselect-container"
2053
2053
  }, [
2054
- k(n, j({
2054
+ h(n, j({
2055
2055
  modelValue: a.value,
2056
- "onUpdate:modelValue": l[0] || (l[0] = (p) => a.value = p)
2057
- }, { ...o.$attrs }, {
2056
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => a.value = c)
2057
+ }, { ...l.$attrs }, {
2058
2058
  options: t.options ?? [],
2059
2059
  optionLabel: "label",
2060
- placeholder: o.multiselectPlaceholder,
2060
+ placeholder: e.multiselectPlaceholder,
2061
2061
  "data-cy": "multiselect"
2062
2062
  }), {
2063
- default: g(() => [
2064
- (d(!0), b(N, null, U(o.$slots, (p, u) => C(o.$slots, u, { slot: u })), 256))
2063
+ default: v(() => [
2064
+ (d(!0), g(E, null, q(l.$slots, (c, u) => C(l.$slots, u, { slot: u })), 256))
2065
2065
  ]),
2066
2066
  _: 3
2067
2067
  }, 16, ["modelValue", "options", "placeholder"]),
2068
- C(o.$slots, "after-multi-select")
2068
+ C(l.$slots, "after-multi-select")
2069
2069
  ], 2),
2070
2070
  m("div", {
2071
- class: P(o.orientation === "row" ? "col-12" : "col"),
2071
+ class: P(e.orientation === "row" ? "col-12" : "col"),
2072
2072
  "data-cy": "options-preview"
2073
2073
  }, [
2074
2074
  m("div", {
2075
- style: Ce({ height: o.height }),
2075
+ style: Ce({ height: e.height }),
2076
2076
  class: "overflow-auto"
2077
2077
  }, [
2078
- m("div", ea, [
2079
- o.title ? (d(), b("div", ta, $(o.title), 1)) : T("", !0),
2080
- (d(!0), b(N, null, U(a.value, (p) => (d(), b("div", {
2081
- key: p.id,
2078
+ m("div", ta, [
2079
+ e.title ? (d(), g("div", aa, B(e.title), 1)) : T("", !0),
2080
+ (d(!0), g(E, null, q(a.value, (c) => (d(), g("div", {
2081
+ key: c.id,
2082
2082
  class: "p-2 item d-flex justify-content-between align-items-center"
2083
2083
  }, [
2084
- C(o.$slots, "list-item", { item: p }, () => [
2085
- m("span", aa, $(p.shortLabel ? p.shortLabel : p.label), 1)
2084
+ C(l.$slots, "list-item", { item: c }, () => [
2085
+ m("span", ia, B(c.shortLabel ? c.shortLabel : c.label), 1)
2086
2086
  ]),
2087
- o.canRemoveItemFromPreview ? (d(), x(s, {
2087
+ e.canRemoveItemFromPreview ? (d(), y(s, {
2088
2088
  key: 0,
2089
2089
  link: "",
2090
2090
  class: "m-0 p-0 d-flex align-items-center",
2091
- onClick: (u) => i(p.id)
2091
+ onClick: (u) => i(c.id)
2092
2092
  }, {
2093
- default: g(() => [
2094
- k(c(_), {
2093
+ default: v(() => [
2094
+ h(p(V), {
2095
2095
  icon: "bi:x",
2096
2096
  class: "close-icon",
2097
- "data-cy": `close-icon-${p.id}`
2097
+ "data-cy": `close-icon-${c.id}`
2098
2098
  }, null, 8, ["data-cy"])
2099
2099
  ]),
2100
2100
  _: 2
2101
2101
  }, 1032, ["onClick"])) : T("", !0)
2102
2102
  ]))), 128)),
2103
- a.value == null || a.value.length == 0 ? (d(), b("div", ia, $(t.optionsPreviewEmptyText), 1)) : T("", !0)
2103
+ a.value == null || a.value.length == 0 ? (d(), g("div", la, B(t.optionsPreviewEmptyText), 1)) : T("", !0)
2104
2104
  ])
2105
2105
  ], 4)
2106
2106
  ], 2)
2107
2107
  ], 2);
2108
2108
  };
2109
2109
  }
2110
- }), la = { class: "d-flex justify-content-between pb-2" }, na = {
2110
+ }), na = { class: "d-flex justify-content-between pb-2" }, sa = {
2111
2111
  "data-cy": "title",
2112
2112
  class: "my-auto"
2113
- }, sa = {
2113
+ }, ra = {
2114
2114
  "data-cy": "slot",
2115
2115
  class: "d-flex align-items-center"
2116
- }, bo = /* @__PURE__ */ z({
2116
+ }, bl = /* @__PURE__ */ z({
2117
2117
  __name: "ForgePageHeader",
2118
2118
  props: {
2119
2119
  title: {}
2120
2120
  },
2121
2121
  setup(e) {
2122
2122
  const t = e;
2123
- return (a, i) => (d(), b("div", la, [
2124
- m("h3", na, $(t.title), 1),
2125
- m("div", sa, [
2123
+ return (a, i) => (d(), g("div", na, [
2124
+ m("h3", sa, B(t.title), 1),
2125
+ m("div", ra, [
2126
2126
  C(a.$slots, "default")
2127
2127
  ])
2128
2128
  ]));
2129
2129
  }
2130
- }), ra = { class: "d-flex flex-1" }, da = { "data-cy": "before-slot" }, pa = { class: "position-relative d-flex flex-1" }, ca = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ z({
2130
+ }), da = { class: "d-flex flex-1" }, ca = { "data-cy": "before-slot" }, pa = { class: "position-relative d-flex flex-1" }, ua = { "data-cy": "after-slot" }, he = /* @__PURE__ */ z({
2131
2131
  __name: "ForgeDatepicker",
2132
- props: /* @__PURE__ */ E({
2132
+ props: /* @__PURE__ */ _({
2133
2133
  severity: { default: "primary" },
2134
2134
  modelValue: {},
2135
2135
  defaultValue: {},
@@ -2203,12 +2203,12 @@ const qt = {
2203
2203
  }),
2204
2204
  emits: ["update:modelValue"],
2205
2205
  setup(e) {
2206
- const t = e, a = L(e, "modelValue"), { errors: i, errorMessage: o, handleChange: l, handleBlur: n, setValue: s } = se(() => t.name, void 0, {
2206
+ const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, setValue: s } = re(() => t.name, void 0, {
2207
2207
  initialValue: a.value
2208
- }), p = () => {
2208
+ }), c = () => {
2209
2209
  s(null), a.value = null;
2210
- }, u = M(() => i.value.length > 0), h = M(() => ({
2211
- day: ({ context: r, props: w, attrs: v }) => ({
2210
+ }, u = M(() => i.value.length > 0), w = M(() => ({
2211
+ day: ({ context: r, props: x, attrs: b }) => ({
2212
2212
  class: [
2213
2213
  "d-flex justify-content-center align-items-center",
2214
2214
  {
@@ -2223,19 +2223,19 @@ const qt = {
2223
2223
  //This is used to show which dates should be shows as 'disabled'. The first part of logic is used to only (due to prime vue passing
2224
2224
  //disabled for otherMonth dates) show the disabled styling for current calendar dates. The second part of logic is used to set the
2225
2225
  //disabled state for dates out of the min/max date range, as they would also come through the context as disabled dates without knowing why
2226
- "text-grey-300": r.disabled && !r.otherMonth || w.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < w.minDate || w.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > w.maxDate,
2227
- "fw-500": r.disabled && !r.otherMonth || w.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < w.minDate || w.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > w.maxDate
2226
+ "text-grey-300": r.disabled && !r.otherMonth || x.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < x.minDate || x.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > x.maxDate,
2227
+ "fw-500": r.disabled && !r.otherMonth || x.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < x.minDate || x.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > x.maxDate
2228
2228
  },
2229
2229
  // Severities
2230
2230
  {
2231
- "date-primary": v.severity === void 0 || v.severity === "primary",
2232
- "date-brand": v.severity === "brand",
2233
- "date-secondary": v.severity === "secondary",
2234
- "date-success": v.severity === "success",
2235
- "date-success-alternate": v.severity === "success-alternate",
2236
- "date-warning": v.severity === "warning",
2237
- "date-danger": v.severity === "danger",
2238
- "date-info": v.severity === "info"
2231
+ "date-primary": b.severity === void 0 || b.severity === "primary",
2232
+ "date-brand": b.severity === "brand",
2233
+ "date-secondary": b.severity === "secondary",
2234
+ "date-success": b.severity === "success",
2235
+ "date-success-alternate": b.severity === "success-alternate",
2236
+ "date-warning": b.severity === "warning",
2237
+ "date-danger": b.severity === "danger",
2238
+ "date-info": b.severity === "info"
2239
2239
  }
2240
2240
  ]
2241
2241
  }),
@@ -2312,54 +2312,54 @@ const qt = {
2312
2312
  ]
2313
2313
  })
2314
2314
  }));
2315
- return (r, w) => {
2316
- const v = Oe;
2317
- return d(), b(N, null, [
2318
- m("div", ra, [
2319
- m("span", da, [
2315
+ return (r, x) => {
2316
+ const b = Ae;
2317
+ return d(), g(E, null, [
2318
+ m("div", da, [
2319
+ m("span", ca, [
2320
2320
  C(r.$slots, "before")
2321
2321
  ]),
2322
2322
  m("div", pa, [
2323
- k(v, j({ ...t, ...r.$attrs }, {
2324
- pt: h.value,
2323
+ h(b, j({ ...t, ...r.$attrs }, {
2324
+ pt: w.value,
2325
2325
  modelValue: a.value,
2326
2326
  "onUpdate:modelValue": [
2327
- w[0] || (w[0] = (S) => a.value = S),
2328
- c(l)
2327
+ x[0] || (x[0] = (S) => a.value = S),
2328
+ p(o)
2329
2329
  ],
2330
- onBlur: w[1] || (w[1] = () => c(n)),
2330
+ onBlur: x[1] || (x[1] = () => p(n)),
2331
2331
  "input-class": { "text-truncate": !0, "datepicker-invalid": u.value, "pe-5": t.showIcon && t.modelValue, "pe-4": (t.showIcon || t.modelValue) && !(t.showIcon && t.modelValue) }
2332
2332
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2333
- K(k(c(_), {
2333
+ K(h(p(V), {
2334
2334
  "data-cy": "icon",
2335
2335
  icon: "bi:calendar4",
2336
2336
  class: P(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white pe-none", `${u.value ? "text-danger-dark" : "text-muted"}`])
2337
2337
  }, null, 8, ["class"]), [
2338
2338
  [X, t.showIcon && !t.inline]
2339
2339
  ]),
2340
- K(k(c(_), {
2340
+ K(h(p(V), {
2341
2341
  "data-cy": "icon",
2342
2342
  icon: "bi:x",
2343
- onClick: p,
2343
+ onClick: c,
2344
2344
  class: P(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
2345
2345
  }, null, 8, ["class"]), [
2346
- [X, t.modelValue && !t.inline && !r.readonly]
2346
+ [X, t.modelValue && !t.inline && !e.readonly]
2347
2347
  ])
2348
2348
  ]),
2349
- m("span", ca, [
2349
+ m("span", ua, [
2350
2350
  C(r.$slots, "after")
2351
2351
  ])
2352
2352
  ]),
2353
2353
  K(m("small", {
2354
2354
  "data-cy": "error",
2355
2355
  class: "text-invalid"
2356
- }, $(c(o)), 513), [
2356
+ }, B(p(l)), 513), [
2357
2357
  [X, u.value]
2358
2358
  ])
2359
2359
  ], 64);
2360
2360
  };
2361
2361
  }
2362
- }), yo = /* @__PURE__ */ z({
2362
+ }), yl = /* @__PURE__ */ z({
2363
2363
  __name: "ForgeRemainingCharacters",
2364
2364
  props: {
2365
2365
  maxCount: { default: 300 },
@@ -2367,11 +2367,11 @@ const qt = {
2367
2367
  },
2368
2368
  setup(e) {
2369
2369
  const t = e, a = M(() => t.maxCount - t.currentCount);
2370
- return (i, o) => (d(), b("div", {
2370
+ return (i, l) => (d(), g("div", {
2371
2371
  class: P(a.value < 0 ? "text-danger" : "")
2372
- }, "Remaining characters: " + $(a.value), 3));
2372
+ }, "Remaining characters: " + B(a.value), 3));
2373
2373
  }
2374
- }), ua = { class: "d-flex justify-content-between" }, xo = /* @__PURE__ */ z({
2374
+ }), ma = { class: "d-flex justify-content-between" }, xl = /* @__PURE__ */ z({
2375
2375
  __name: "ForgeForm",
2376
2376
  props: {
2377
2377
  onSubmit: {},
@@ -2387,95 +2387,95 @@ const qt = {
2387
2387
  hasError: !1,
2388
2388
  message: ""
2389
2389
  });
2390
- async function o() {
2390
+ async function l() {
2391
2391
  a.value = !0, i.value.hasError = !1;
2392
2392
  try {
2393
2393
  await t.onSubmit();
2394
- } catch (l) {
2395
- i.value.hasError = !0, l.message && (i.value.message = l.message);
2394
+ } catch (o) {
2395
+ i.value.hasError = !0, o.message && (i.value.message = o.message);
2396
2396
  }
2397
2397
  a.value = !1;
2398
2398
  }
2399
- return (l, n) => {
2400
- const s = q;
2401
- return d(), b("form", j(l.$attrs, {
2399
+ return (o, n) => {
2400
+ const s = R;
2401
+ return d(), g("form", j(o.$attrs, {
2402
2402
  novalidate: "",
2403
2403
  class: "position-relative shadow-sm border p-4 bg-white",
2404
- onSubmit: Q(o, ["prevent"])
2404
+ onSubmit: Q(l, ["prevent"])
2405
2405
  }), [
2406
- l.hideTitle ? T("", !0) : (d(), b(N, { key: 0 }, [
2407
- C(l.$slots, "title", {}, () => [
2406
+ e.hideTitle ? T("", !0) : (d(), g(E, { key: 0 }, [
2407
+ C(o.$slots, "title", {}, () => [
2408
2408
  m("h3", {
2409
- class: P(l.titleClass),
2409
+ class: P(e.titleClass),
2410
2410
  "data-cy": "form-title"
2411
- }, $(l.title), 3)
2411
+ }, B(e.title), 3)
2412
2412
  ]),
2413
2413
  n[1] || (n[1] = m("hr", null, null, -1))
2414
2414
  ], 64)),
2415
- i.value.hasError ? (d(), x(re, {
2415
+ i.value.hasError ? (d(), y(de, {
2416
2416
  key: 1,
2417
2417
  severity: "danger",
2418
2418
  "data-cy": "error"
2419
2419
  }, {
2420
- default: g(() => [
2421
- C(l.$slots, "error", {
2420
+ default: v(() => [
2421
+ C(o.$slots, "error", {
2422
2422
  error: i.value.message
2423
2423
  }, () => [
2424
- V($(i.value.message), 1)
2424
+ O(B(i.value.message), 1)
2425
2425
  ])
2426
2426
  ]),
2427
2427
  _: 3
2428
2428
  })) : T("", !0),
2429
- C(l.$slots, "default"),
2430
- m("div", ua, [
2431
- C(l.$slots, "cancel", {}, () => [
2432
- l.hideCancel ? T("", !0) : (d(), x(s, {
2429
+ C(o.$slots, "default"),
2430
+ m("div", ma, [
2431
+ C(o.$slots, "cancel", {}, () => [
2432
+ e.hideCancel ? T("", !0) : (d(), y(s, {
2433
2433
  key: 0,
2434
2434
  "data-cy": "cancel-btn",
2435
2435
  type: "reset",
2436
2436
  severity: "secondary",
2437
2437
  outlined: "",
2438
- onClick: n[0] || (n[0] = (p) => l.$emit("cancel"))
2438
+ onClick: n[0] || (n[0] = (c) => o.$emit("cancel"))
2439
2439
  }, {
2440
- default: g(() => [
2441
- V($(l.cancelText), 1)
2440
+ default: v(() => [
2441
+ O(B(e.cancelText), 1)
2442
2442
  ]),
2443
2443
  _: 1
2444
2444
  }))
2445
2445
  ]),
2446
- C(l.$slots, "submit", { submit: o }, () => [
2447
- k(s, {
2446
+ C(o.$slots, "submit", { submit: l }, () => [
2447
+ h(s, {
2448
2448
  "data-cy": "submit-btn",
2449
2449
  type: "submit",
2450
2450
  severity: "primary",
2451
2451
  class: "ms-auto"
2452
2452
  }, {
2453
- default: g(() => [
2454
- V($(l.submitText), 1)
2453
+ default: v(() => [
2454
+ O(B(e.submitText), 1)
2455
2455
  ]),
2456
2456
  _: 1
2457
2457
  })
2458
2458
  ])
2459
2459
  ]),
2460
- a.value ? (d(), x(pe, {
2460
+ a.value ? (d(), y(me, {
2461
2461
  key: 2,
2462
2462
  "data-cy": "loading-spinner"
2463
2463
  })) : T("", !0)
2464
2464
  ], 16);
2465
2465
  };
2466
2466
  }
2467
- }), ma = {
2467
+ }), va = {
2468
2468
  key: 1,
2469
2469
  class: "d-flex flex-column w-100"
2470
- }, va = ["for"], fa = {
2470
+ }, fa = ["for"], ga = {
2471
2471
  key: 0,
2472
2472
  class: "text-danger fw-600"
2473
- }, ga = {
2473
+ }, ba = {
2474
2474
  class: "flex--1",
2475
2475
  style: { flex: "1 0 auto" }
2476
- }, ho = /* @__PURE__ */ z({
2476
+ }, hl = /* @__PURE__ */ z({
2477
2477
  __name: "ForgeFormField",
2478
- props: /* @__PURE__ */ E({
2478
+ props: /* @__PURE__ */ _({
2479
2479
  name: {},
2480
2480
  fieldLabelPosition: { default: "top" },
2481
2481
  fieldLabel: {},
@@ -2490,24 +2490,24 @@ const qt = {
2490
2490
  }),
2491
2491
  emits: ["update:modelValue"],
2492
2492
  setup(e) {
2493
- const t = L(e, "modelValue"), a = e, i = (h) => {
2494
- a.type == "number" ? s(h.value) : s(h);
2495
- }, { errors: o, value: l, errorMessage: n, handleChange: s, handleBlur: p } = se(() => a.name, void 0, {
2493
+ const t = N(e, "modelValue"), a = e, i = (w) => {
2494
+ a.type == "number" ? s(w.value) : s(w);
2495
+ }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: c } = re(() => a.name, void 0, {
2496
2496
  initialValue: t.value
2497
- }), u = M(() => o.value.length > 0);
2498
- return W(() => l.value, (h) => {
2499
- t.value = h;
2500
- }, { immediate: !0 }), (h, r) => {
2501
- const w = Le, v = Ae, S = ae, F = oe, A = de, f = xe;
2502
- return a.type === "checkbox" ? (d(), x(ye, j({
2497
+ }), u = M(() => l.value.length > 0);
2498
+ return W(() => o.value, (w) => {
2499
+ t.value = w;
2500
+ }, { immediate: !0 }), (w, r) => {
2501
+ const x = Ne, b = Le, S = ie, F = oe, L = ue, $ = he;
2502
+ return a.type === "checkbox" ? (d(), y(xe, j({
2503
2503
  key: 0,
2504
2504
  id: a.name,
2505
2505
  label: a.fieldLabel
2506
- }, h.$attrs, {
2506
+ }, w.$attrs, {
2507
2507
  name: a.name,
2508
2508
  modelValue: t.value,
2509
- "onUpdate:modelValue": r[0] || (r[0] = (B) => t.value = B)
2510
- }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", ma, [
2509
+ "onUpdate:modelValue": r[0] || (r[0] = (k) => t.value = k)
2510
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), g("div", va, [
2511
2511
  m("div", {
2512
2512
  "data-cy": "input-wrapper",
2513
2513
  class: P(["d-flex flex--1", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2516,74 +2516,74 @@ const qt = {
2516
2516
  for: a.name,
2517
2517
  class: P(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2518
2518
  }, [
2519
- V($(a.fieldLabel) + " ", 1),
2520
- h.required ? (d(), b("span", fa, "*")) : T("", !0)
2521
- ], 10, va),
2522
- m("div", ga, [
2523
- C(h.$slots, "default", G(Y({ modelValue: t.value, updateModel: c(s), hasErrors: u.value })), () => [
2524
- a.type === "number" ? (d(), x(c(fe), j({
2519
+ O(B(a.fieldLabel) + " ", 1),
2520
+ e.required ? (d(), g("span", ga, "*")) : T("", !0)
2521
+ ], 10, fa),
2522
+ m("div", ba, [
2523
+ C(w.$slots, "default", G(Y({ modelValue: t.value, updateModel: p(s), hasErrors: u.value })), () => [
2524
+ a.type === "number" ? (d(), y(p(be), j({
2525
2525
  key: 0,
2526
2526
  id: a.name
2527
- }, h.$attrs, {
2527
+ }, w.$attrs, {
2528
2528
  class: ["flex-1", { "is-invalid": u.value }],
2529
2529
  placeholder: a.placeholder,
2530
2530
  "input-class": { "is-invalid": u.value },
2531
2531
  onInput: i,
2532
2532
  modelValue: t.value,
2533
- "onUpdate:modelValue": r[1] || (r[1] = (B) => t.value = B)
2534
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), x(w, j({
2533
+ "onUpdate:modelValue": r[1] || (r[1] = (k) => t.value = k)
2534
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), y(x, j({
2535
2535
  key: 1,
2536
2536
  id: a.name
2537
- }, h.$attrs, {
2537
+ }, w.$attrs, {
2538
2538
  class: ["w-100", { "is-invalid": u.value }],
2539
2539
  placeholder: a.placeholder,
2540
2540
  modelValue: t.value,
2541
- "onUpdate:modelValue": r[2] || (r[2] = (B) => t.value = B),
2541
+ "onUpdate:modelValue": r[2] || (r[2] = (k) => t.value = k),
2542
2542
  onInput: i,
2543
- onBlur: c(p)
2544
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), x(v, j({
2543
+ onBlur: p(c)
2544
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), y(b, j({
2545
2545
  key: 2,
2546
2546
  id: a.name
2547
- }, h.$attrs, {
2547
+ }, w.$attrs, {
2548
2548
  class: ["flex-1", { "is-invalid": u.value }],
2549
2549
  placeholder: a.placeholder,
2550
2550
  mask: a.mask,
2551
2551
  modelValue: t.value,
2552
- "onUpdate:modelValue": r[3] || (r[3] = (B) => t.value = B),
2552
+ "onUpdate:modelValue": r[3] || (r[3] = (k) => t.value = k),
2553
2553
  onComplete: i,
2554
- onBlur: c(p)
2555
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), x(S, j({
2554
+ onBlur: p(c)
2555
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), y(S, j({
2556
2556
  key: 3,
2557
2557
  id: a.name
2558
- }, h.$attrs, {
2558
+ }, w.$attrs, {
2559
2559
  class: ["flex-1", { "is-invalid": u.value }],
2560
2560
  placeholder: a.placeholder,
2561
2561
  modelValue: t.value,
2562
- "onUpdate:modelValue": r[4] || (r[4] = (B) => t.value = B),
2562
+ "onUpdate:modelValue": r[4] || (r[4] = (k) => t.value = k),
2563
2563
  onInput: i,
2564
- onBlur: c(p)
2565
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), x(F, j({ key: 4 }, { ...a, ...h.$attrs }, {
2564
+ onBlur: p(c)
2565
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), y(F, j({ key: 4 }, { ...a, ...w.$attrs }, {
2566
2566
  modelValue: t.value,
2567
- "onUpdate:modelValue": r[5] || (r[5] = (B) => t.value = B),
2567
+ "onUpdate:modelValue": r[5] || (r[5] = (k) => t.value = k),
2568
2568
  class: { "is-invalid": u.value }
2569
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), x(A, j({ key: 5 }, { ...a, ...h.$attrs }, {
2569
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), y(L, j({ key: 5 }, { ...a, ...w.$attrs }, {
2570
2570
  modelValue: t.value,
2571
- "onUpdate:modelValue": r[6] || (r[6] = (B) => t.value = B),
2571
+ "onUpdate:modelValue": r[6] || (r[6] = (k) => t.value = k),
2572
2572
  class: { "is-invalid": u.value }
2573
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), x(oa, j({ key: 6 }, { ...a, ...h.$attrs }, {
2573
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), y(oa, j({ key: 6 }, { ...a, ...w.$attrs }, {
2574
2574
  modelValue: t.value,
2575
- "onUpdate:modelValue": r[7] || (r[7] = (B) => t.value = B),
2575
+ "onUpdate:modelValue": r[7] || (r[7] = (k) => t.value = k),
2576
2576
  class: { "is-invalid": u.value }
2577
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), x(f, j({ key: 7 }, { ...a, ...h.$attrs }, {
2577
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), y($, j({ key: 7 }, { ...a, ...w.$attrs }, {
2578
2578
  modelValue: t.value,
2579
- "onUpdate:modelValue": r[8] || (r[8] = (B) => t.value = B),
2579
+ "onUpdate:modelValue": r[8] || (r[8] = (k) => t.value = k),
2580
2580
  class: { "is-invalid": u.value }
2581
2581
  }), null, 16, ["modelValue", "class"])) : T("", !0)
2582
2582
  ]),
2583
2583
  K(m("small", {
2584
2584
  "data-cy": "error",
2585
2585
  class: "invalid-feedback"
2586
- }, $(c(n)), 513), [
2586
+ }, B(p(n)), 513), [
2587
2587
  [X, u.value && a.type !== "multiselect" && a.type !== "datepicker"]
2588
2588
  ])
2589
2589
  ])
@@ -2591,7 +2591,7 @@ const qt = {
2591
2591
  ]));
2592
2592
  };
2593
2593
  }
2594
- }), wo = /* @__PURE__ */ z({
2594
+ }), wl = /* @__PURE__ */ z({
2595
2595
  __name: "ForgeChip",
2596
2596
  props: {
2597
2597
  chipSeverity: { default: "primary" },
@@ -2625,17 +2625,17 @@ const qt = {
2625
2625
  }
2626
2626
  ]
2627
2627
  }));
2628
- return (i, o) => {
2629
- const l = Ne;
2630
- return d(), x(l, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2631
- default: g(() => [
2632
- (d(!0), b(N, null, U(i.$slots, (n, s) => C(i.$slots, s, { slot: s })), 256))
2628
+ return (i, l) => {
2629
+ const o = Ue;
2630
+ return d(), y(o, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2631
+ default: v(() => [
2632
+ (d(!0), g(E, null, q(i.$slots, (n, s) => C(i.$slots, s, { slot: s })), 256))
2633
2633
  ]),
2634
2634
  _: 3
2635
2635
  }, 16, ["pt"]);
2636
2636
  };
2637
2637
  }
2638
- }), ko = /* @__PURE__ */ z({
2638
+ }), kl = /* @__PURE__ */ z({
2639
2639
  __name: "ForgeProgressBar",
2640
2640
  props: {
2641
2641
  severity: { default: "primary" },
@@ -2651,7 +2651,7 @@ const qt = {
2651
2651
  unstyled: { type: Boolean }
2652
2652
  },
2653
2653
  setup(e) {
2654
- const t = e, a = M(() => t.striped ? "progress-bar-striped" : null), i = M(() => t.animate ? "progress-bar-animated" : null), o = M(() => {
2654
+ const t = e, a = M(() => t.striped ? "progress-bar-striped" : null), i = M(() => t.animate ? "progress-bar-animated" : null), l = M(() => {
2655
2655
  switch (t.severity) {
2656
2656
  case "brand":
2657
2657
  return "bg-brand";
@@ -2672,18 +2672,18 @@ const qt = {
2672
2672
  default:
2673
2673
  return "bg-primary";
2674
2674
  }
2675
- }), l = M(() => ({
2675
+ }), o = M(() => ({
2676
2676
  root: {
2677
2677
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2678
2678
  },
2679
2679
  value: {
2680
- class: [o.value, a.value, i.value, "progress-bar"]
2680
+ class: [l.value, a.value, i.value, "progress-bar"]
2681
2681
  }
2682
2682
  }));
2683
2683
  return (n, s) => {
2684
- const p = Ue;
2685
- return d(), x(p, j({ ...n.$attrs, ...t }, { pt: l.value }), {
2686
- default: g(() => [
2684
+ const c = Ee;
2685
+ return d(), y(c, j({ ...n.$attrs, ...t }, { pt: o.value }), {
2686
+ default: v(() => [
2687
2687
  C(n.$slots, "default")
2688
2688
  ]),
2689
2689
  _: 3
@@ -2691,7 +2691,7 @@ const qt = {
2691
2691
  };
2692
2692
  }
2693
2693
  });
2694
- var ba = /* @__PURE__ */ z({
2694
+ var ya = /* @__PURE__ */ z({
2695
2695
  name: "VueDrawingCanvas",
2696
2696
  props: {
2697
2697
  strokeType: {
@@ -2858,8 +2858,8 @@ var ba = /* @__PURE__ */ z({
2858
2858
  getCoordinates(e) {
2859
2859
  let t, a;
2860
2860
  if (e.touches && e.touches.length > 0) {
2861
- let o = document.querySelector("#" + this.canvasId).getBoundingClientRect();
2862
- t = e.touches[0].clientX - o.left, a = e.touches[0].clientY - o.top;
2861
+ let l = document.querySelector("#" + this.canvasId).getBoundingClientRect();
2862
+ t = e.touches[0].clientX - l.left, a = e.touches[0].clientY - l.top;
2863
2863
  } else
2864
2864
  t = e.offsetX, a = e.offsetY;
2865
2865
  return {
@@ -2938,13 +2938,13 @@ var ba = /* @__PURE__ */ z({
2938
2938
  }];
2939
2939
  break;
2940
2940
  case "circle":
2941
- let o = this.strokes.from.x - t.x < 0 ? (this.strokes.from.x - t.x) * -1 : this.strokes.from.x - t.x;
2941
+ let l = this.strokes.from.x - t.x < 0 ? (this.strokes.from.x - t.x) * -1 : this.strokes.from.x - t.x;
2942
2942
  this.guides = [{
2943
- x: this.strokes.from.x > t.x ? this.strokes.from.x - o : this.strokes.from.x + o,
2943
+ x: this.strokes.from.x > t.x ? this.strokes.from.x - l : this.strokes.from.x + l,
2944
2944
  y: this.strokes.from.y
2945
2945
  }, {
2946
- x: o,
2947
- y: o
2946
+ x: l,
2947
+ y: l
2948
2948
  }];
2949
2949
  break;
2950
2950
  }
@@ -3002,15 +3002,15 @@ var ba = /* @__PURE__ */ z({
3002
3002
  e && this.save();
3003
3003
  });
3004
3004
  },
3005
- wrapText(e, t, a, i, o, l) {
3005
+ wrapText(e, t, a, i, l, o) {
3006
3006
  const n = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
3007
- var p = t.split(n).filter((F) => F.length > 0);
3008
- for (let F = 0; F < p.length; F++) {
3009
- for (var u = p[F].split(s).filter((A) => A.length > 0), h = "", r = 0; r < u.length; r++) {
3010
- var w = h + u[r] + " ", v = e.measureText(w), S = v.width;
3011
- S > o && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), h = u[r] + " ", i += l) : h = w;
3007
+ var c = t.split(n).filter((F) => F.length > 0);
3008
+ for (let F = 0; F < c.length; F++) {
3009
+ for (var u = c[F].split(s).filter((L) => L.length > 0), w = "", r = 0; r < u.length; r++) {
3010
+ var x = w + u[r] + " ", b = e.measureText(x), S = b.width;
3011
+ S > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(w, a, i) : e.fillText(w, a, i), w = u[r] + " ", i += o) : w = x;
3012
3012
  }
3013
- this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), i += u.length > 0 ? l : 0;
3013
+ this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(w, a, i) : e.fillText(w, a, i), i += u.length > 0 ? o : 0;
3014
3014
  }
3015
3015
  },
3016
3016
  save() {
@@ -3019,31 +3019,31 @@ var ba = /* @__PURE__ */ z({
3019
3019
  let t = document.createElement("canvas"), a = t.getContext("2d");
3020
3020
  a && (t.width = Number(this.width), t.height = Number(this.height), a.drawImage(e, 0, 0, Number(this.width), Number(this.height)), this.drawWatermark(t, a, this.watermark));
3021
3021
  } else {
3022
- let t = document.createElement("canvas"), a = t.getContext("2d"), i = this.outputWidth === void 0 ? this.width : this.outputWidth, o = this.outputHeight === void 0 ? this.height : this.outputHeight;
3023
- if (t.width = Number(i), t.height = Number(o), a)
3024
- return a.drawImage(e, 0, 0, Number(i), Number(o)), this.$emit("update:image", t.toDataURL("image/" + this.saveAs, 1)), t.toDataURL("image/" + this.saveAs, 1);
3022
+ let t = document.createElement("canvas"), a = t.getContext("2d"), i = this.outputWidth === void 0 ? this.width : this.outputWidth, l = this.outputHeight === void 0 ? this.height : this.outputHeight;
3023
+ if (t.width = Number(i), t.height = Number(l), a)
3024
+ return a.drawImage(e, 0, 0, Number(i), Number(l)), this.$emit("update:image", t.toDataURL("image/" + this.saveAs, 1)), t.toDataURL("image/" + this.saveAs, 1);
3025
3025
  }
3026
3026
  },
3027
3027
  drawWatermark(e, t, a) {
3028
3028
  if (a.type === "Image") {
3029
- let i = a.imageStyle ? a.imageStyle.width ? a.imageStyle.width : Number(this.width) : Number(this.width), o = a.imageStyle ? a.imageStyle.height ? a.imageStyle.height : Number(this.height) : Number(this.height);
3030
- const l = new Image();
3031
- l.src = a.source, l.onload = () => {
3032
- a && t && t.drawImage(l, a.x, a.y, Number(i), Number(o));
3033
- let n = document.createElement("canvas"), s = n.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, u = this.outputHeight === void 0 ? this.height : this.outputHeight;
3034
- if (n.width = Number(p), n.height = Number(u), s)
3035
- return s.drawImage(e, 0, 0, Number(p), Number(u)), this.$emit("update:image", n.toDataURL("image/" + this.saveAs, 1)), n.toDataURL("image/" + this.saveAs, 1);
3029
+ 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);
3030
+ const o = new Image();
3031
+ o.src = a.source, o.onload = () => {
3032
+ a && t && t.drawImage(o, a.x, a.y, Number(i), Number(l));
3033
+ let n = document.createElement("canvas"), s = n.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, u = this.outputHeight === void 0 ? this.height : this.outputHeight;
3034
+ if (n.width = Number(c), n.height = Number(u), s)
3035
+ return s.drawImage(e, 0, 0, Number(c), Number(u)), this.$emit("update:image", n.toDataURL("image/" + this.saveAs, 1)), n.toDataURL("image/" + this.saveAs, 1);
3036
3036
  };
3037
3037
  } else if (a.type === "Text") {
3038
- let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", o = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", l = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", n = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
3039
- if (t.font = i, t.textAlign = o, t.textBaseline = l, a.fontStyle && a.fontStyle.rotate) {
3040
- let r, w;
3041
- a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? w = a.y + Math.floor(a.fontStyle.lineHeight / 2) : w = a.y, t.translate(r, w), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, w * -1);
3038
+ 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";
3039
+ if (t.font = i, t.textAlign = l, t.textBaseline = o, a.fontStyle && a.fontStyle.rotate) {
3040
+ let r, x;
3041
+ a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? x = a.y + Math.floor(a.fontStyle.lineHeight / 2) : x = a.y, t.translate(r, x), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, x * -1);
3042
3042
  }
3043
3043
  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));
3044
- let s = document.createElement("canvas"), p = s.getContext("2d"), u = this.outputWidth === void 0 ? this.width : this.outputWidth, h = this.outputHeight === void 0 ? this.height : this.outputHeight;
3045
- if (s.width = Number(u), s.height = Number(h), p)
3046
- return p.drawImage(e, 0, 0, Number(u), Number(h)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
3044
+ let s = document.createElement("canvas"), c = s.getContext("2d"), u = this.outputWidth === void 0 ? this.width : this.outputWidth, w = this.outputHeight === void 0 ? this.height : this.outputHeight;
3045
+ if (s.width = Number(u), s.height = Number(w), c)
3046
+ return c.drawImage(e, 0, 0, Number(u), Number(w)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
3047
3047
  }
3048
3048
  },
3049
3049
  isEmpty() {
@@ -3081,7 +3081,7 @@ var ba = /* @__PURE__ */ z({
3081
3081
  });
3082
3082
  }
3083
3083
  });
3084
- const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1 gap-1" }, Bo = /* @__PURE__ */ z({
3084
+ const xa = { class: "d-flex flex-column" }, ha = { class: "d-flex flex-row mt-1 gap-1" }, Bl = /* @__PURE__ */ z({
3085
3085
  __name: "ForgeScratchpad",
3086
3086
  props: {
3087
3087
  showClear: { type: Boolean, default: !0 },
@@ -3094,73 +3094,73 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3094
3094
  },
3095
3095
  emits: ["save"],
3096
3096
  setup(e, { emit: t }) {
3097
- const a = e, i = t, o = ze("drawingCanvas"), l = I(), n = () => {
3098
- o == null || o.value.reset();
3097
+ const a = e, i = t, l = ze("drawingCanvas"), o = I(), n = () => {
3098
+ l == null || l.value.reset();
3099
3099
  }, s = () => {
3100
- o == null || o.value.redo();
3101
- }, p = () => {
3102
- o == null || o.value.undo();
3100
+ l == null || l.value.redo();
3101
+ }, c = () => {
3102
+ l == null || l.value.undo();
3103
3103
  }, u = () => {
3104
- i("save", o.value.isEmpty());
3104
+ i("save", l.value.isEmpty());
3105
3105
  };
3106
- return (h, r) => {
3107
- const w = q;
3108
- return d(), b("div", ya, [
3109
- k(c(ba), j({
3106
+ return (w, r) => {
3107
+ const x = R;
3108
+ return d(), g("div", xa, [
3109
+ h(p(ya), j({
3110
3110
  ref_key: "drawingCanvas",
3111
- ref: o,
3112
- image: l.value,
3113
- "onUpdate:image": r[0] || (r[0] = (v) => l.value = v),
3111
+ ref: l,
3112
+ image: o.value,
3113
+ "onUpdate:image": r[0] || (r[0] = (b) => o.value = b),
3114
3114
  "data-cy": "drawing-canvas",
3115
3115
  class: "border canvas"
3116
- }, { ...h.$attrs }, {
3117
- height: h.height,
3118
- width: h.width,
3119
- style: `height: ${h.height}px; width: ${h.width}px`,
3120
- "line-join": h.lineJoin
3116
+ }, { ...w.$attrs }, {
3117
+ height: e.height,
3118
+ width: e.width,
3119
+ style: `height: ${e.height}px; width: ${e.width}px`,
3120
+ "line-join": e.lineJoin
3121
3121
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
3122
- m("div", xa, [
3123
- a.showUndo ? (d(), x(w, {
3122
+ m("div", ha, [
3123
+ a.showUndo ? (d(), y(x, {
3124
3124
  key: 0,
3125
- onClick: p,
3125
+ onClick: c,
3126
3126
  outlined: "",
3127
3127
  "data-cy": "undo-button"
3128
3128
  }, {
3129
- default: g(() => [...r[1] || (r[1] = [
3130
- V("Undo", -1)
3129
+ default: v(() => [...r[1] || (r[1] = [
3130
+ O("Undo", -1)
3131
3131
  ])]),
3132
3132
  _: 1
3133
3133
  })) : T("", !0),
3134
- a.showRedo ? (d(), x(w, {
3134
+ a.showRedo ? (d(), y(x, {
3135
3135
  key: 1,
3136
3136
  onClick: s,
3137
3137
  outlined: "",
3138
3138
  "data-cy": "redo-button"
3139
3139
  }, {
3140
- default: g(() => [...r[2] || (r[2] = [
3141
- V("Redo", -1)
3140
+ default: v(() => [...r[2] || (r[2] = [
3141
+ O("Redo", -1)
3142
3142
  ])]),
3143
3143
  _: 1
3144
3144
  })) : T("", !0),
3145
- a.showClear ? (d(), x(w, {
3145
+ a.showClear ? (d(), y(x, {
3146
3146
  key: 2,
3147
3147
  onClick: n,
3148
3148
  outlined: "",
3149
3149
  "data-cy": "clear-button"
3150
3150
  }, {
3151
- default: g(() => [...r[3] || (r[3] = [
3152
- V("Clear", -1)
3151
+ default: v(() => [...r[3] || (r[3] = [
3152
+ O("Clear", -1)
3153
3153
  ])]),
3154
3154
  _: 1
3155
3155
  })) : T("", !0),
3156
- a.showSave ? (d(), x(w, {
3156
+ a.showSave ? (d(), y(x, {
3157
3157
  key: 3,
3158
3158
  onClick: u,
3159
3159
  class: "ms-auto",
3160
3160
  "data-cy": "save-button"
3161
3161
  }, {
3162
- default: g(() => [...r[4] || (r[4] = [
3163
- V("Save", -1)
3162
+ default: v(() => [...r[4] || (r[4] = [
3163
+ O("Save", -1)
3164
3164
  ])]),
3165
3165
  _: 1
3166
3166
  })) : T("", !0)
@@ -3168,7 +3168,7 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3168
3168
  ]);
3169
3169
  };
3170
3170
  }
3171
- }), ha = { class: "value text-white w-100 text-center" }, $o = /* @__PURE__ */ z({
3171
+ }), wa = { class: "value text-white w-100 text-center" }, $l = /* @__PURE__ */ z({
3172
3172
  __name: "ForgeStatWidget",
3173
3173
  props: {
3174
3174
  size: { default: "md" },
@@ -3176,15 +3176,15 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3176
3176
  },
3177
3177
  setup(e) {
3178
3178
  const t = e;
3179
- return (a, i) => (d(), b("div", j(a.$attrs, {
3179
+ return (a, i) => (d(), g("div", j(a.$attrs, {
3180
3180
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
3181
3181
  }), [
3182
- m("span", ha, [
3182
+ m("span", wa, [
3183
3183
  C(a.$slots, "default")
3184
3184
  ])
3185
3185
  ], 16));
3186
3186
  }
3187
- }), wa = { key: 0 }, Fo = /* @__PURE__ */ z({
3187
+ }), ka = { key: 0 }, Sl = /* @__PURE__ */ z({
3188
3188
  __name: "ForgeStepper",
3189
3189
  props: {
3190
3190
  currentStep: { default: 1 },
@@ -3231,31 +3231,31 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3231
3231
  ]
3232
3232
  })
3233
3233
  }));
3234
- return (i, o) => (d(), x(c(qe), { value: i.currentStep }, {
3235
- default: g(() => [
3236
- k(c(Re), null, {
3237
- default: g(() => [
3238
- (d(!0), b(N, null, U(i.steps, (l) => (d(), x(c(Ee), j({
3239
- key: l.value,
3240
- value: l.value,
3241
- disabled: l.disabled
3234
+ return (i, l) => (d(), y(p(_e), { value: e.currentStep }, {
3235
+ default: v(() => [
3236
+ h(p(Re), null, {
3237
+ default: v(() => [
3238
+ (d(!0), g(E, null, q(e.steps, (o) => (d(), y(p(qe), j({
3239
+ key: o.value,
3240
+ value: o.value,
3241
+ disabled: o.disabled
3242
3242
  }, { ref_for: !0 }, { ...i.$attrs }, { pt: a.value }), {
3243
- default: g(() => [
3244
- i.showStepLabel ? (d(), b("div", wa, $(l.label), 1)) : T("", !0)
3243
+ default: v(() => [
3244
+ e.showStepLabel ? (d(), g("div", ka, B(o.label), 1)) : T("", !0)
3245
3245
  ]),
3246
3246
  _: 2
3247
3247
  }, 1040, ["value", "disabled", "pt"]))), 128))
3248
3248
  ]),
3249
3249
  _: 1
3250
3250
  }),
3251
- k(c(We), null, {
3252
- default: g(() => [
3253
- (d(!0), b(N, null, U(i.steps, (l) => (d(), x(c(He), {
3254
- key: l.value,
3255
- value: l.value
3251
+ h(p(We), null, {
3252
+ default: v(() => [
3253
+ (d(!0), g(E, null, q(e.steps, (o) => (d(), y(p(He), {
3254
+ key: o.value,
3255
+ value: o.value
3256
3256
  }, {
3257
- default: g(() => [
3258
- C(i.$slots, "step" + l.value)
3257
+ default: v(() => [
3258
+ C(i.$slots, "step" + o.value)
3259
3259
  ]),
3260
3260
  _: 2
3261
3261
  }, 1032, ["value"]))), 128))
@@ -3266,7 +3266,7 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3266
3266
  _: 3
3267
3267
  }, 8, ["value"]));
3268
3268
  }
3269
- }), ka = { class: "p-4 text-wrap w-100" }, Ba = { class: "p-4 text-wrap w-100" }, So = /* @__PURE__ */ z({
3269
+ }), Ba = { class: "p-4 text-wrap w-100" }, $a = { class: "p-4 text-wrap w-100" }, Fl = /* @__PURE__ */ z({
3270
3270
  __name: "ForgeTile",
3271
3271
  props: {
3272
3272
  severity: { default: "primary" },
@@ -3276,31 +3276,31 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3276
3276
  },
3277
3277
  setup(e) {
3278
3278
  const t = e, a = M(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = M(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
3279
- return (o, l) => {
3280
- const n = q;
3281
- return t.clickable ? (d(), x(n, {
3279
+ return (l, o) => {
3280
+ const n = R;
3281
+ return t.clickable ? (d(), y(n, {
3282
3282
  key: 0,
3283
3283
  class: P(["d-flex w-100 p-0 text-body", a.value]),
3284
3284
  severity: t.severity,
3285
3285
  unstyled: "",
3286
3286
  "data-cy": "button-tile"
3287
3287
  }, {
3288
- default: g(() => [
3289
- m("div", ka, [
3290
- C(o.$slots, "default", {}, () => [
3291
- l[0] || (l[0] = V("Tile Content", -1))
3288
+ default: v(() => [
3289
+ m("div", Ba, [
3290
+ C(l.$slots, "default", {}, () => [
3291
+ o[0] || (o[0] = O("Tile Content", -1))
3292
3292
  ])
3293
3293
  ])
3294
3294
  ]),
3295
3295
  _: 3
3296
- }, 8, ["severity", "class"])) : (d(), b("div", {
3296
+ }, 8, ["severity", "class"])) : (d(), g("div", {
3297
3297
  key: 1,
3298
3298
  class: P(["d-flex w-100", i.value]),
3299
3299
  "data-cy": "tile"
3300
3300
  }, [
3301
- m("div", Ba, [
3302
- C(o.$slots, "default", {}, () => [
3303
- l[1] || (l[1] = V("Tile Content", -1))
3301
+ m("div", $a, [
3302
+ C(l.$slots, "default", {}, () => [
3303
+ o[1] || (o[1] = O("Tile Content", -1))
3304
3304
  ])
3305
3305
  ])
3306
3306
  ], 2));
@@ -3310,13 +3310,13 @@ const ya = { class: "d-flex flex-column" }, xa = { class: "d-flex flex-row mt-1
3310
3310
  function ee(e, t) {
3311
3311
  return e > 1 ? `${t}s` : t;
3312
3312
  }
3313
- const $a = {
3313
+ const Sa = {
3314
3314
  class: "d-flex justify-content-start align-items-baseline",
3315
3315
  "data-cy": "pagination-header"
3316
- }, Fa = { class: "ms-2" }, Sa = { key: 0 }, Ca = {
3316
+ }, Fa = { class: "ms-2" }, Ca = { key: 0 }, Ta = {
3317
3317
  class: "w-auto",
3318
3318
  "data-cy": "total"
3319
- }, he = /* @__PURE__ */ z({
3319
+ }, we = /* @__PURE__ */ z({
3320
3320
  __name: "ForgePaginationHeader",
3321
3321
  props: {
3322
3322
  total: {},
@@ -3325,33 +3325,33 @@ const $a = {
3325
3325
  },
3326
3326
  emits: ["update:perPage"],
3327
3327
  setup(e, { emit: t }) {
3328
- const a = t, i = e, o = (n) => {
3328
+ const a = t, i = e, l = (n) => {
3329
3329
  a("update:perPage", n.value);
3330
- }, l = M(() => {
3330
+ }, o = M(() => {
3331
3331
  const n = Math.ceil(i.total / i.perPage);
3332
3332
  return `${n} ${ee(n, "page")}`;
3333
3333
  });
3334
- return (n, s) => (d(), b("div", $a, [
3335
- s[2] || (s[2] = V(" Number of results per page ", -1)),
3334
+ return (n, s) => (d(), g("div", Sa, [
3335
+ s[2] || (s[2] = O(" Number of results per page ", -1)),
3336
3336
  m("div", Fa, [
3337
- k(c(oe), {
3337
+ h(p(oe), {
3338
3338
  options: i.pageSizes,
3339
3339
  "model-value": i.perPage,
3340
3340
  class: "page-size",
3341
- onChange: s[0] || (s[0] = (p) => o(p)),
3341
+ onChange: s[0] || (s[0] = (c) => l(c)),
3342
3342
  "data-cy": "pagination-page-size-select"
3343
3343
  }, null, 8, ["options", "model-value"])
3344
3344
  ]),
3345
- i.total ? (d(), b("div", Sa, [
3345
+ i.total ? (d(), g("div", Ca, [
3346
3346
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3347
- m("span", Ca, $(i.total) + " " + $(c(ee)(i.total, "result")) + " across " + $(l.value), 1)
3347
+ m("span", Ta, B(i.total) + " " + B(p(ee)(i.total, "result")) + " across " + B(o.value), 1)
3348
3348
  ])) : T("", !0)
3349
3349
  ]));
3350
3350
  }
3351
- }), Ta = { class: "position-relative" }, za = { "data-cy": "above-table-slot" }, Pa = { class: "d-flex w-100" }, ja = {
3351
+ }), za = { class: "position-relative" }, Pa = { "data-cy": "above-table-slot" }, ja = { class: "d-flex w-100" }, Ma = {
3352
3352
  class: "mx-auto",
3353
3353
  "data-cy": "empty-message"
3354
- }, Ma = { class: "d-flex" }, Ia = { class: "d-flex align-items-end mb-2" }, _a = { key: 0 }, Va = { class: "ms-auto" }, Co = /* @__PURE__ */ z({
3354
+ }, Ia = { class: "d-flex" }, Va = { class: "d-flex align-items-end mb-2" }, Da = { key: 0 }, Oa = { class: "ms-auto" }, Cl = /* @__PURE__ */ z({
3355
3355
  __name: "ForgeTable",
3356
3356
  props: {
3357
3357
  value: {},
@@ -3438,7 +3438,7 @@ const $a = {
3438
3438
  },
3439
3439
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3440
3440
  setup(e, { emit: t }) {
3441
- const a = t, i = e, o = I(), l = I([5, 10, 20, 50, 100]), n = I(i.perPage ?? 10), s = I({
3441
+ const a = t, i = e, l = I(), o = I([5, 10, 20, 50, 100]), n = I(i.perPage ?? 10), s = I({
3442
3442
  filters: i.filters,
3443
3443
  perPage: n.value,
3444
3444
  page: 0,
@@ -3446,13 +3446,13 @@ const $a = {
3446
3446
  sortField: "",
3447
3447
  total: i.totalRecords ?? i.value.length
3448
3448
  });
3449
- W(() => i.perPage, (f) => {
3450
- f && (n.value = f, s.value.perPage = f);
3449
+ W(() => i.perPage, ($) => {
3450
+ $ && (n.value = $, s.value.perPage = $);
3451
3451
  });
3452
- const p = M(() => i.totalRecords ?? i.value.length), u = M(() => {
3453
- const f = Math.ceil(p.value / n.value);
3454
- return `${f} ${ee(f, "page")}`;
3455
- }), h = M(() => ({
3452
+ const c = M(() => i.totalRecords ?? i.value.length), u = M(() => {
3453
+ const $ = Math.ceil(c.value / n.value);
3454
+ return `${$} ${ee($, "page")}`;
3455
+ }), w = M(() => ({
3456
3456
  thead: () => ({
3457
3457
  class: [
3458
3458
  {
@@ -3479,151 +3479,151 @@ const $a = {
3479
3479
  if (i.clearAll)
3480
3480
  i.clearAll();
3481
3481
  else
3482
- for (const f in i.filters)
3483
- typeof i.filters[f] == "string" ? i.filters[f] = "" : i.filters[f].value = null;
3482
+ for (const $ in i.filters)
3483
+ typeof i.filters[$] == "string" ? i.filters[$] = "" : i.filters[$].value = null;
3484
3484
  S(i.filters);
3485
- }, w = () => {
3486
- o.value.exportCSV();
3487
- }, v = (f) => {
3488
- var B;
3489
- s.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((B = f.sortField) == null ? void 0 : B.toString()) ?? "", a("update:tableContext", s.value), a("sort", f);
3490
- }, S = (f) => {
3491
- s.value.filters = f, a("update:tableContext", s.value), a("update:filters", f);
3492
- }, F = (f) => {
3493
- s.value.page = f.page, a("update:tableContext", s.value), a("page", f);
3494
- }, A = () => {
3485
+ }, x = () => {
3486
+ l.value.exportCSV();
3487
+ }, b = ($) => {
3488
+ var k;
3489
+ s.value.sortDirection = $.sortOrder === 1 ? "Asc" : $.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((k = $.sortField) == null ? void 0 : k.toString()) ?? "", a("update:tableContext", s.value), a("sort", $);
3490
+ }, S = ($) => {
3491
+ s.value.filters = $, a("update:tableContext", s.value), a("update:filters", $);
3492
+ }, F = ($) => {
3493
+ s.value.page = $.page, a("update:tableContext", s.value), a("page", $);
3494
+ }, L = () => {
3495
3495
  s.value.perPage = n.value, a("update:tableContext", s.value);
3496
3496
  };
3497
- return W(() => i.filters, (f) => {
3498
- s.value.filters = f, a("update:tableContext", s.value);
3499
- }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (f, B) => (d(), b("div", Ta, [
3500
- m("span", za, [
3501
- C(f.$slots, "above-table")
3497
+ return W(() => i.filters, ($) => {
3498
+ s.value.filters = $, a("update:tableContext", s.value);
3499
+ }, { deep: !0 }), se(() => a("update:tableContext", s.value)), ($, k) => (d(), g("div", za, [
3500
+ m("span", Pa, [
3501
+ C($.$slots, "above-table")
3502
3502
  ]),
3503
- k(c(Ge), j({
3503
+ h(p(Ge), j({
3504
3504
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3505
- }, { ...i, ...f.$attrs }, {
3506
- pt: h.value,
3505
+ }, { ...i, ...$.$attrs }, {
3506
+ pt: w.value,
3507
3507
  rows: n.value,
3508
- "total-records": p.value,
3508
+ "total-records": c.value,
3509
3509
  "filter-display": i.filters ? "row" : void 0,
3510
3510
  ref_key: "forgeTable",
3511
- ref: o,
3511
+ ref: l,
3512
3512
  "data-cy": "table",
3513
3513
  "onUpdate:filters": S,
3514
- onSort: v,
3514
+ onSort: b,
3515
3515
  onPage: F,
3516
3516
  showHeaders: ""
3517
- }), ie({
3518
- empty: g(() => [
3519
- m("div", Pa, [
3520
- m("h5", ja, $(f.emptyMessage ?? "No items Found."), 1)
3517
+ }), le({
3518
+ empty: v(() => [
3519
+ m("div", ja, [
3520
+ m("h5", Ma, B(e.emptyMessage ?? "No items Found."), 1)
3521
3521
  ])
3522
3522
  ]),
3523
- header: g(() => [
3523
+ header: v(() => [
3524
3524
  m("div", {
3525
3525
  class: P(i.loading ? "opacity-50" : "")
3526
3526
  }, [
3527
- m("div", Ma, [
3528
- m("div", Ia, [
3529
- f.paginator && !f.legacyPaginationFooter ? (d(), b("span", _a, [
3530
- k(he, {
3531
- total: p.value,
3532
- "page-sizes": l.value,
3527
+ m("div", Ia, [
3528
+ m("div", Va, [
3529
+ e.paginator && !e.legacyPaginationFooter ? (d(), g("span", Da, [
3530
+ h(we, {
3531
+ total: c.value,
3532
+ "page-sizes": o.value,
3533
3533
  "per-page": n.value,
3534
3534
  "onUpdate:perPage": [
3535
- B[0] || (B[0] = (D) => n.value = D),
3536
- A
3535
+ k[0] || (k[0] = (A) => n.value = A),
3536
+ L
3537
3537
  ]
3538
3538
  }, null, 8, ["total", "page-sizes", "per-page"])
3539
3539
  ])) : T("", !0)
3540
3540
  ]),
3541
- m("div", Va, [
3542
- f.showClearButton ? (d(), x(c(q), {
3541
+ m("div", Oa, [
3542
+ e.showClearButton ? (d(), y(p(R), {
3543
3543
  key: 0,
3544
3544
  outlined: "",
3545
- class: P(f.showExporterButton ? "me-2" : ""),
3545
+ class: P(e.showExporterButton ? "me-2" : ""),
3546
3546
  onClick: r,
3547
3547
  "data-cy": "clear-all"
3548
3548
  }, {
3549
- default: g(() => [
3550
- k(c(_), {
3549
+ default: v(() => [
3550
+ h(p(V), {
3551
3551
  icon: "bi:funnel-fill",
3552
3552
  width: "24",
3553
3553
  height: "24"
3554
3554
  }),
3555
- B[2] || (B[2] = V(" Clear ", -1))
3555
+ k[2] || (k[2] = O(" Clear ", -1))
3556
3556
  ]),
3557
3557
  _: 1
3558
3558
  }, 8, ["class"])) : T("", !0),
3559
- f.showExporterButton ? (d(), x(c(q), {
3559
+ e.showExporterButton ? (d(), y(p(R), {
3560
3560
  key: 1,
3561
3561
  outlined: "",
3562
- onClick: w,
3562
+ onClick: x,
3563
3563
  "data-cy": "exporter"
3564
3564
  }, {
3565
- default: g(() => [
3566
- k(c(_), {
3565
+ default: v(() => [
3566
+ h(p(V), {
3567
3567
  icon: "typcn:export",
3568
3568
  width: "24",
3569
3569
  height: "24"
3570
3570
  }),
3571
- B[3] || (B[3] = V(" Export ", -1))
3571
+ k[3] || (k[3] = O(" Export ", -1))
3572
3572
  ]),
3573
3573
  _: 1
3574
3574
  })) : T("", !0),
3575
- C(f.$slots, "column-customiser")
3575
+ C($.$slots, "column-customiser")
3576
3576
  ])
3577
3577
  ])
3578
3578
  ], 2)
3579
3579
  ]),
3580
- default: g(() => [
3581
- C(f.$slots, "default")
3580
+ default: v(() => [
3581
+ C($.$slots, "default")
3582
3582
  ]),
3583
3583
  _: 2
3584
3584
  }, [
3585
- U(f.$slots, (D, y) => ({
3586
- name: y,
3587
- fn: g((O) => [
3588
- C(f.$slots, y, G(Y(O || {})))
3585
+ q($.$slots, (A, f) => ({
3586
+ name: f,
3587
+ fn: v((D) => [
3588
+ C($.$slots, f, G(Y(D || {})))
3589
3589
  ])
3590
3590
  })),
3591
- f.legacyPaginationFooter ? {
3591
+ e.legacyPaginationFooter ? {
3592
3592
  name: "paginatorstart",
3593
- fn: g(() => [
3593
+ fn: v(() => [
3594
3594
  m("span", {
3595
3595
  class: P(["d-flex", i.loading ? "opacity-50" : ""]),
3596
3596
  "data-cy": "legacy-page-size"
3597
3597
  }, [
3598
- B[4] || (B[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3599
- k(c(oe), {
3600
- options: l.value,
3598
+ k[4] || (k[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3599
+ h(p(oe), {
3600
+ options: o.value,
3601
3601
  modelValue: n.value,
3602
- "onUpdate:modelValue": B[1] || (B[1] = (D) => n.value = D),
3602
+ "onUpdate:modelValue": k[1] || (k[1] = (A) => n.value = A),
3603
3603
  class: "ms-2",
3604
- onClick: A
3604
+ onClick: L
3605
3605
  }, null, 8, ["options", "modelValue"])
3606
3606
  ], 2)
3607
3607
  ]),
3608
3608
  key: "0"
3609
3609
  } : void 0,
3610
- f.legacyPaginationFooter ? {
3610
+ e.legacyPaginationFooter ? {
3611
3611
  name: "paginatorend",
3612
- fn: g(() => [
3612
+ fn: v(() => [
3613
3613
  m("span", {
3614
3614
  "data-cy": "legacy-total",
3615
3615
  class: P(i.loading ? "opacity-50" : "")
3616
- }, $(p.value) + " " + $(c(ee)(p.value, "result")) + " across " + $(u.value), 3)
3616
+ }, B(c.value) + " " + B(p(ee)(c.value, "result")) + " across " + B(u.value), 3)
3617
3617
  ]),
3618
3618
  key: "1"
3619
3619
  } : void 0
3620
3620
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3621
3621
  ]));
3622
3622
  }
3623
- }), Da = { class: "position-relative" }, Oa = { "data-cy": "above-table-slot" }, Aa = { class: "d-flex w-100" }, La = {
3623
+ }), Aa = { class: "position-relative" }, La = { "data-cy": "above-table-slot" }, Na = { class: "d-flex w-100" }, Ua = {
3624
3624
  class: "mx-auto",
3625
3625
  "data-cy": "empty-message"
3626
- }, Na = { class: "d-flex" }, Ua = { class: "d-flex align-items-end mb-2" }, Ea = { key: 0 }, qa = { class: "ms-auto" }, To = /* @__PURE__ */ z({
3626
+ }, Ea = { class: "d-flex" }, qa = { class: "d-flex align-items-end mb-2" }, _a = { key: 0 }, Ra = { class: "ms-auto" }, Tl = /* @__PURE__ */ z({
3627
3627
  __name: "ForgeTreeTable",
3628
3628
  props: {
3629
3629
  stripedRows: { type: Boolean, default: !1 },
@@ -3684,28 +3684,28 @@ const $a = {
3684
3684
  },
3685
3685
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3686
3686
  setup(e, { emit: t }) {
3687
- const a = e, i = t, o = I([5, 10, 20, 50, 100]), l = I(10), n = I(0), s = I(0), p = I({
3687
+ const a = e, i = t, l = I([5, 10, 20, 50, 100]), o = I(10), n = I(0), s = I(0), c = I({
3688
3688
  filters: a.filters,
3689
- perPage: l.value,
3689
+ perPage: o.value,
3690
3690
  page: 0,
3691
3691
  sortDirection: "None",
3692
3692
  sortField: "",
3693
3693
  total: a.totalRecords ?? a.value.length
3694
- }), u = M(() => a.totalRecords ?? a.value.length), h = M(() => {
3695
- const y = Math.ceil(u.value / l.value);
3696
- return `${y} ${ee(y, "page")}`;
3694
+ }), u = M(() => a.totalRecords ?? a.value.length), w = M(() => {
3695
+ const f = Math.ceil(u.value / o.value);
3696
+ return `${f} ${ee(f, "page")}`;
3697
3697
  }), r = M(() => ({
3698
3698
  root: "position-relative",
3699
- table: (y) => ({
3699
+ table: (f) => ({
3700
3700
  class: [
3701
3701
  "table position-relative",
3702
3702
  {
3703
- "table-striped": y.attrs.stripedRows,
3704
- "table-hover": y.props.rowHover,
3705
- "table-bordered": y.props.showGridlines,
3706
- "table-sm": y.props.size === "small",
3707
- "table-lg": y.props.size === "large",
3708
- "opacity-50": y.props.loading
3703
+ "table-striped": f.attrs.stripedRows,
3704
+ "table-hover": f.props.rowHover,
3705
+ "table-bordered": f.props.showGridlines,
3706
+ "table-sm": f.props.size === "small",
3707
+ "table-lg": f.props.size === "large",
3708
+ "opacity-50": f.props.loading
3709
3709
  }
3710
3710
  ]
3711
3711
  }),
@@ -3723,43 +3723,43 @@ const $a = {
3723
3723
  }
3724
3724
  ]
3725
3725
  }),
3726
- row: ({ instance: y }) => [
3726
+ row: ({ instance: f }) => [
3727
3727
  {
3728
- "parent-node": y.node.hasOwnProperty("children")
3728
+ "parent-node": f.node.hasOwnProperty("children")
3729
3729
  }
3730
3730
  ]
3731
3731
  }));
3732
- W(() => a.parentExpanderFullRow, (y) => {
3733
- y ? w() : v();
3732
+ W(() => a.parentExpanderFullRow, (f) => {
3733
+ f ? x() : b();
3734
3734
  });
3735
- const w = () => {
3735
+ const x = () => {
3736
3736
  a.parentExpanderFullRow && setTimeout(
3737
3737
  () => {
3738
- const y = Array.from(
3738
+ const f = Array.from(
3739
3739
  document.querySelectorAll(".parent-node td.expander-cell")
3740
3740
  );
3741
3741
  Array.from(
3742
3742
  document.querySelectorAll(".parent-node td")
3743
- ).forEach((R) => {
3744
- R.classList.add("d-none");
3745
- }), y.forEach((R) => {
3746
- R.setAttribute("colspan", a.totalColumns.toString()), R.classList.remove("d-none");
3743
+ ).forEach((U) => {
3744
+ U.classList.add("d-none");
3745
+ }), f.forEach((U) => {
3746
+ U.setAttribute("colspan", a.totalColumns.toString()), U.classList.remove("d-none");
3747
3747
  });
3748
3748
  },
3749
3749
  0
3750
3750
  );
3751
- }, v = () => {
3751
+ }, b = () => {
3752
3752
  setTimeout(
3753
3753
  () => {
3754
- const y = Array.from(
3754
+ const f = Array.from(
3755
3755
  document.querySelectorAll(".parent-node td.expander-cell")
3756
- ), O = Array.from(
3756
+ ), D = Array.from(
3757
3757
  document.querySelectorAll(".parent-node td")
3758
3758
  );
3759
- y.forEach((R) => {
3760
- R.removeAttribute("colspan");
3761
- }), O.forEach((R) => {
3762
- R.classList.remove("d-none");
3759
+ f.forEach((U) => {
3760
+ U.removeAttribute("colspan");
3761
+ }), D.forEach((U) => {
3762
+ U.classList.remove("d-none");
3763
3763
  });
3764
3764
  },
3765
3765
  0
@@ -3768,138 +3768,138 @@ const $a = {
3768
3768
  if (a.clearAll)
3769
3769
  a.clearAll();
3770
3770
  else
3771
- for (const y in a.filters)
3772
- typeof a.filters[y] == "string" ? a.filters[y] = "" : a.filters[y].value = null;
3773
- A(a.filters);
3774
- }, F = (y) => {
3775
- var O;
3776
- p.value.sortDirection = y.sortOrder === 1 ? "Asc" : y.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((O = y.sortField) == null ? void 0 : O.toString()) ?? "", i("update:tableContext", p.value), i("sort", y), w();
3777
- }, A = (y) => {
3778
- p.value.filters = y, i("update:tableContext", p.value), i("update:filters", y), w();
3779
- }, f = (y) => {
3780
- p.value.page = s.value = y.page, D(), i("update:tableContext", p.value), i("page", y), w();
3781
- }, B = () => {
3782
- p.value.perPage = l.value, s.value = 0, p.value.page = s.value = Math.floor(n.value / l.value), D(), i("update:tableContext", p.value), w();
3771
+ for (const f in a.filters)
3772
+ typeof a.filters[f] == "string" ? a.filters[f] = "" : a.filters[f].value = null;
3773
+ L(a.filters);
3774
+ }, F = (f) => {
3775
+ var D;
3776
+ c.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", c.value.sortField = ((D = f.sortField) == null ? void 0 : D.toString()) ?? "", i("update:tableContext", c.value), i("sort", f), x();
3777
+ }, L = (f) => {
3778
+ c.value.filters = f, i("update:tableContext", c.value), i("update:filters", f), x();
3779
+ }, $ = (f) => {
3780
+ c.value.page = s.value = f.page, A(), i("update:tableContext", c.value), i("page", f), x();
3781
+ }, k = () => {
3782
+ c.value.perPage = o.value, s.value = 0, c.value.page = s.value = Math.floor(n.value / o.value), A(), i("update:tableContext", c.value), x();
3783
3783
  };
3784
- W(() => a.filters, (y) => {
3785
- p.value.filters = y, i("update:tableContext", p.value);
3784
+ W(() => a.filters, (f) => {
3785
+ c.value.filters = f, i("update:tableContext", c.value);
3786
3786
  }, { deep: !0 }), W(() => a.value, () => {
3787
- w();
3788
- }), ne(() => {
3789
- w(), i("update:tableContext", p.value);
3787
+ x();
3788
+ }), se(() => {
3789
+ x(), i("update:tableContext", c.value);
3790
3790
  });
3791
- const D = () => {
3792
- n.value = s.value * l.value;
3791
+ const A = () => {
3792
+ n.value = s.value * o.value;
3793
3793
  };
3794
- return (y, O) => (d(), b("div", Da, [
3795
- m("span", Oa, [
3796
- C(y.$slots, "above-table")
3794
+ return (f, D) => (d(), g("div", Aa, [
3795
+ m("span", La, [
3796
+ C(f.$slots, "above-table")
3797
3797
  ]),
3798
- k(c(Ye), j({
3798
+ h(p(Ye), j({
3799
3799
  class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
3800
- }, { ...a, ...y.$attrs }, {
3800
+ }, { ...a, ...f.$attrs }, {
3801
3801
  pt: r.value,
3802
3802
  "filter-display": a.filters ? "row" : void 0,
3803
- rows: y.paginator ? l.value : void 0,
3803
+ rows: e.paginator ? o.value : void 0,
3804
3804
  "data-cy": "tree-table",
3805
- "onUpdate:filters": A,
3805
+ "onUpdate:filters": L,
3806
3806
  onSort: F,
3807
- onPage: f,
3808
- onNodeExpand: O[2] || (O[2] = () => w()),
3807
+ onPage: $,
3808
+ onNodeExpand: D[2] || (D[2] = () => x()),
3809
3809
  showHeaders: "",
3810
3810
  first: n.value
3811
- }), ie({
3812
- empty: g(() => [
3813
- m("div", Aa, [
3814
- m("h5", La, $(y.emptyMessage ?? "No items Found."), 1)
3811
+ }), le({
3812
+ empty: v(() => [
3813
+ m("div", Na, [
3814
+ m("h5", Ua, B(e.emptyMessage ?? "No items Found."), 1)
3815
3815
  ])
3816
3816
  ]),
3817
- header: g(() => [
3817
+ header: v(() => [
3818
3818
  m("div", {
3819
3819
  class: P(a.loading ? "opacity-50" : "")
3820
3820
  }, [
3821
- m("div", Na, [
3822
- m("div", Ua, [
3823
- y.paginator && !y.legacyPaginationFooter ? (d(), b("span", Ea, [
3824
- k(he, {
3821
+ m("div", Ea, [
3822
+ m("div", qa, [
3823
+ e.paginator && !e.legacyPaginationFooter ? (d(), g("span", _a, [
3824
+ h(we, {
3825
3825
  total: u.value,
3826
- "page-sizes": o.value,
3827
- "per-page": l.value,
3826
+ "page-sizes": l.value,
3827
+ "per-page": o.value,
3828
3828
  "onUpdate:perPage": [
3829
- O[0] || (O[0] = (R) => l.value = R),
3830
- B
3829
+ D[0] || (D[0] = (U) => o.value = U),
3830
+ k
3831
3831
  ]
3832
3832
  }, null, 8, ["total", "page-sizes", "per-page"])
3833
3833
  ])) : T("", !0)
3834
3834
  ]),
3835
- m("div", qa, [
3836
- y.showClearButton ? (d(), x(c(q), {
3835
+ m("div", Ra, [
3836
+ e.showClearButton ? (d(), y(p(R), {
3837
3837
  key: 0,
3838
3838
  outlined: "",
3839
3839
  onClick: S,
3840
3840
  "data-cy": "clear-all"
3841
3841
  }, {
3842
- default: g(() => [
3843
- k(c(_), {
3842
+ default: v(() => [
3843
+ h(p(V), {
3844
3844
  icon: "bi:funnel-fill",
3845
3845
  width: "24",
3846
3846
  height: "24"
3847
3847
  }),
3848
- O[3] || (O[3] = V(" Clear ", -1))
3848
+ D[3] || (D[3] = O(" Clear ", -1))
3849
3849
  ]),
3850
3850
  _: 1
3851
3851
  })) : T("", !0),
3852
- C(y.$slots, "column-customiser")
3852
+ C(f.$slots, "column-customiser")
3853
3853
  ])
3854
3854
  ])
3855
3855
  ], 2)
3856
3856
  ]),
3857
- default: g(() => [
3858
- C(y.$slots, "default")
3857
+ default: v(() => [
3858
+ C(f.$slots, "default")
3859
3859
  ]),
3860
3860
  _: 2
3861
3861
  }, [
3862
- U(y.$slots, (R, ve) => ({
3863
- name: ve,
3864
- fn: g(($e) => [
3865
- C(y.$slots, ve, G(Y($e || {})))
3862
+ q(f.$slots, (U, te) => ({
3863
+ name: te,
3864
+ fn: v((ce) => [
3865
+ C(f.$slots, te, G(Y(ce || {})))
3866
3866
  ])
3867
3867
  })),
3868
- y.legacyPaginationFooter ? {
3868
+ e.legacyPaginationFooter ? {
3869
3869
  name: "paginatorstart",
3870
- fn: g(() => [
3870
+ fn: v(() => [
3871
3871
  m("span", {
3872
3872
  class: P(["d-flex", a.loading ? "opacity-50" : ""]),
3873
3873
  "data-cy": "legacy-page-size"
3874
3874
  }, [
3875
- O[4] || (O[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3876
- k(c(oe), {
3877
- options: o.value,
3878
- modelValue: l.value,
3879
- "onUpdate:modelValue": O[1] || (O[1] = (R) => l.value = R),
3875
+ D[4] || (D[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3876
+ h(p(oe), {
3877
+ options: l.value,
3878
+ modelValue: o.value,
3879
+ "onUpdate:modelValue": D[1] || (D[1] = (U) => o.value = U),
3880
3880
  class: "ms-2",
3881
- onClick: B
3881
+ onClick: k
3882
3882
  }, null, 8, ["options", "modelValue"])
3883
3883
  ], 2)
3884
3884
  ]),
3885
3885
  key: "0"
3886
3886
  } : void 0,
3887
- y.legacyPaginationFooter ? {
3887
+ e.legacyPaginationFooter ? {
3888
3888
  name: "paginatorend",
3889
- fn: g(() => [
3889
+ fn: v(() => [
3890
3890
  m("span", {
3891
3891
  "data-cy": "legacy-total",
3892
3892
  class: P(a.loading ? "opacity-50" : "")
3893
- }, $(u.value) + " " + $(c(ee)(u.value, "result")) + " across " + $(h.value), 3)
3893
+ }, B(u.value) + " " + B(p(ee)(u.value, "result")) + " across " + B(w.value), 3)
3894
3894
  ]),
3895
3895
  key: "1"
3896
3896
  } : void 0
3897
3897
  ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3898
3898
  ]));
3899
3899
  }
3900
- }), Ra = { class: "d-flex position-relative" }, Ha = { class: "d-flex w-100" }, zo = /* @__PURE__ */ z({
3900
+ }), Ha = { class: "d-flex position-relative" }, Wa = { class: "d-flex w-100" }, zl = /* @__PURE__ */ z({
3901
3901
  __name: "ForgeFilterHeader",
3902
- props: /* @__PURE__ */ E({
3902
+ props: /* @__PURE__ */ _({
3903
3903
  dataType: {},
3904
3904
  dropdownOptions: {},
3905
3905
  showClearButton: { type: Boolean, default: !1 },
@@ -3912,57 +3912,57 @@ const $a = {
3912
3912
  }),
3913
3913
  emits: ["update:modelValue"],
3914
3914
  setup(e) {
3915
- const t = L(e, "modelValue"), a = (o, l) => {
3916
- if (!o && typeof o != "boolean" || Array.isArray(o) && o.length === 0)
3917
- return l;
3915
+ const t = N(e, "modelValue"), a = (l, o) => {
3916
+ if (!l && typeof l != "boolean" || Array.isArray(l) && l.length === 0)
3917
+ return o;
3918
3918
  const n = (s) => {
3919
3919
  var u;
3920
- const p = (u = e.dropdownOptions) == null ? void 0 : u.find(
3921
- (h) => e.optionValue ? h[e.optionValue] === s : Object.keys(h).every((r) => s.hasOwnProperty(r) && h[r] === s[r])
3920
+ const c = (u = e.dropdownOptions) == null ? void 0 : u.find(
3921
+ (w) => e.optionValue ? w[e.optionValue] === s : Object.keys(w).every((r) => s.hasOwnProperty(r) && w[r] === s[r])
3922
3922
  );
3923
- return e.optionLabel ? p[e.optionLabel] : p;
3923
+ return e.optionLabel ? c[e.optionLabel] : c;
3924
3924
  };
3925
- return Array.isArray(o) ? o.map(n).join(", ") : n(o);
3925
+ return Array.isArray(l) ? l.map(n).join(", ") : n(l);
3926
3926
  }, i = () => {
3927
3927
  e.clearFilter ? e.clearFilter() : t.value = null;
3928
3928
  };
3929
- return (o, l) => {
3930
- const n = fe, s = q;
3931
- return d(), b("div", Ra, [
3932
- o.dataType === "numeric" ? (d(), x(n, j({
3929
+ return (l, o) => {
3930
+ const n = be, s = R;
3931
+ return d(), g("div", Ha, [
3932
+ e.dataType === "numeric" ? (d(), y(n, j({
3933
3933
  key: 0,
3934
3934
  modelValue: t.value,
3935
- "onUpdate:modelValue": l[0] || (l[0] = (p) => t.value = p),
3935
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => t.value = c),
3936
3936
  modelModifiers: { trim: !0 }
3937
- }, o.$attrs), null, 16, ["modelValue"])) : o.dataType === "date" ? (d(), x(xe, j({
3937
+ }, l.$attrs), null, 16, ["modelValue"])) : e.dataType === "date" ? (d(), y(he, j({
3938
3938
  key: 1,
3939
3939
  modelValue: t.value,
3940
- "onUpdate:modelValue": l[1] || (l[1] = (p) => t.value = p)
3941
- }, o.$attrs, {
3940
+ "onUpdate:modelValue": o[1] || (o[1] = (c) => t.value = c)
3941
+ }, l.$attrs, {
3942
3942
  "show-icon": !1,
3943
3943
  "show-on-focus": !0
3944
- }), null, 16, ["modelValue"])) : o.dataType === "select" ? (d(), x(c(oe), j({
3944
+ }), null, 16, ["modelValue"])) : e.dataType === "select" ? (d(), y(p(oe), j({
3945
3945
  key: 2,
3946
3946
  modelValue: t.value,
3947
- "onUpdate:modelValue": l[2] || (l[2] = (p) => t.value = p)
3948
- }, o.$attrs, {
3949
- options: o.dropdownOptions,
3950
- "option-value": o.optionValue,
3951
- "option-label": o.optionLabel
3947
+ "onUpdate:modelValue": o[2] || (o[2] = (c) => t.value = c)
3948
+ }, l.$attrs, {
3949
+ options: e.dropdownOptions,
3950
+ "option-value": e.optionValue,
3951
+ "option-label": e.optionLabel
3952
3952
  }), {
3953
- value: g(({ value: p, placeholder: u }) => [
3954
- m("div", Ha, [
3953
+ value: v(({ value: c, placeholder: u }) => [
3954
+ m("div", Wa, [
3955
3955
  m("span", {
3956
- class: P({ "filter-placeholder": p === null })
3957
- }, $(a(p, u)), 3),
3958
- o.showClearButton && t.value !== null ? (d(), x(s, {
3956
+ class: P({ "filter-placeholder": c === null })
3957
+ }, B(a(c, u)), 3),
3958
+ e.showClearButton && t.value !== null ? (d(), y(s, {
3959
3959
  key: 0,
3960
3960
  onClick: Q(i, ["stop"]),
3961
3961
  size: "small",
3962
3962
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3963
3963
  }, {
3964
- default: g(() => [
3965
- k(c(_), {
3964
+ default: v(() => [
3965
+ h(p(V), {
3966
3966
  icon: "bi:x",
3967
3967
  width: "1rem",
3968
3968
  height: "1rem",
@@ -3974,30 +3974,30 @@ const $a = {
3974
3974
  ])
3975
3975
  ]),
3976
3976
  _: 1
3977
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : o.dataType === "multiselect" ? (d(), x(c(de), j({
3977
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : e.dataType === "multiselect" ? (d(), y(p(ue), j({
3978
3978
  key: 3,
3979
3979
  modelValue: t.value,
3980
- "onUpdate:modelValue": l[3] || (l[3] = (p) => t.value = p)
3981
- }, o.$attrs, {
3982
- options: o.dropdownOptions,
3980
+ "onUpdate:modelValue": o[3] || (o[3] = (c) => t.value = c)
3981
+ }, l.$attrs, {
3982
+ options: e.dropdownOptions,
3983
3983
  showToggleAll: !1,
3984
- "option-label": o.optionLabel,
3985
- "option-value": o.optionValue,
3984
+ "option-label": e.optionLabel,
3985
+ "option-value": e.optionValue,
3986
3986
  filter: ""
3987
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), x(c(ae), j({
3987
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), y(p(ie), j({
3988
3988
  key: 4,
3989
3989
  modelValue: t.value,
3990
- "onUpdate:modelValue": l[4] || (l[4] = (p) => t.value = p),
3990
+ "onUpdate:modelValue": o[4] || (o[4] = (c) => t.value = c),
3991
3991
  modelModifiers: { trim: !0 }
3992
- }, o.$attrs), null, 16, ["modelValue"])),
3993
- o.showClearButton && t.value !== null && o.dataType !== "select" && o.dataType !== "multiselect" && o.dataType !== "date" && t.value != "" ? (d(), x(s, {
3992
+ }, l.$attrs), null, 16, ["modelValue"])),
3993
+ e.showClearButton && t.value !== null && e.dataType !== "select" && e.dataType !== "multiselect" && e.dataType !== "date" && t.value != "" ? (d(), y(s, {
3994
3994
  key: 5,
3995
3995
  onClick: Q(i, ["prevent"]),
3996
3996
  size: "small",
3997
3997
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3998
3998
  }, {
3999
- default: g(() => [
4000
- k(c(_), {
3999
+ default: v(() => [
4000
+ h(p(V), {
4001
4001
  icon: "bi:x",
4002
4002
  width: "1rem",
4003
4003
  height: "1rem",
@@ -4009,7 +4009,7 @@ const $a = {
4009
4009
  ]);
4010
4010
  };
4011
4011
  }
4012
- }), ce = {
4012
+ }), ve = {
4013
4013
  "application/prs.cww": ["cww"],
4014
4014
  "application/prs.xsf+xml": ["xsf"],
4015
4015
  "application/vnd.1000minds.decision-model+xml": ["1km"],
@@ -4725,8 +4725,8 @@ const $a = {
4725
4725
  "video/x-smv": ["smv"],
4726
4726
  "x-conference/x-cooltalk": ["ice"]
4727
4727
  };
4728
- Object.freeze(ce);
4729
- const ue = {
4728
+ Object.freeze(ve);
4729
+ const fe = {
4730
4730
  "application/andrew-inset": ["ez"],
4731
4731
  "application/appinstaller": ["appinstaller"],
4732
4732
  "application/applixware": ["aw"],
@@ -5090,26 +5090,26 @@ const ue = {
5090
5090
  "video/quicktime": ["qt", "mov"],
5091
5091
  "video/webm": ["webm"]
5092
5092
  };
5093
- Object.freeze(ue);
5093
+ Object.freeze(fe);
5094
5094
  var H = function(e, t, a, i) {
5095
5095
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
5096
5096
  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");
5097
5097
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
5098
- }, Z, te, J;
5099
- class we {
5098
+ }, Z, ae, J;
5099
+ class ke {
5100
5100
  constructor(...t) {
5101
- Z.set(this, /* @__PURE__ */ new Map()), te.set(this, /* @__PURE__ */ new Map()), J.set(this, /* @__PURE__ */ new Map());
5101
+ Z.set(this, /* @__PURE__ */ new Map()), ae.set(this, /* @__PURE__ */ new Map()), J.set(this, /* @__PURE__ */ new Map());
5102
5102
  for (const a of t)
5103
5103
  this.define(a);
5104
5104
  }
5105
5105
  define(t, a = !1) {
5106
- for (let [i, o] of Object.entries(t)) {
5107
- i = i.toLowerCase(), o = o.map((s) => s.toLowerCase()), H(this, J, "f").has(i) || H(this, J, "f").set(i, /* @__PURE__ */ new Set());
5108
- const l = H(this, J, "f").get(i);
5106
+ for (let [i, l] of Object.entries(t)) {
5107
+ i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), H(this, J, "f").has(i) || H(this, J, "f").set(i, /* @__PURE__ */ new Set());
5108
+ const o = H(this, J, "f").get(i);
5109
5109
  let n = !0;
5110
- for (let s of o) {
5111
- const p = s.startsWith("*");
5112
- if (s = p ? s.slice(1) : s, l == null || l.add(s), n && H(this, te, "f").set(i, s), n = !1, p)
5110
+ for (let s of l) {
5111
+ const c = s.startsWith("*");
5112
+ if (s = c ? s.slice(1) : s, o == null || o.add(s), n && H(this, ae, "f").set(i, s), n = !1, c)
5113
5113
  continue;
5114
5114
  const u = H(this, Z, "f").get(s);
5115
5115
  if (u && u != i && !a)
@@ -5122,12 +5122,12 @@ class we {
5122
5122
  getType(t) {
5123
5123
  if (typeof t != "string")
5124
5124
  return null;
5125
- const a = t.replace(/^.*[/\\]/s, "").toLowerCase(), i = a.replace(/^.*\./s, "").toLowerCase(), o = a.length < t.length;
5126
- return !(i.length < a.length - 1) && o ? null : H(this, Z, "f").get(i) ?? null;
5125
+ const a = t.replace(/^.*[/\\]/s, "").toLowerCase(), i = a.replace(/^.*\./s, "").toLowerCase(), l = a.length < t.length;
5126
+ return !(i.length < a.length - 1) && l ? null : H(this, Z, "f").get(i) ?? null;
5127
5127
  }
5128
5128
  getExtension(t) {
5129
5129
  var a;
5130
- return typeof t != "string" ? null : (t = (a = t == null ? void 0 : t.split) == null ? void 0 : a.call(t, ";")[0], (t && H(this, te, "f").get(t.trim().toLowerCase())) ?? null);
5130
+ return typeof t != "string" ? null : (t = (a = t == null ? void 0 : t.split) == null ? void 0 : a.call(t, ";")[0], (t && H(this, ae, "f").get(t.trim().toLowerCase())) ?? null);
5131
5131
  }
5132
5132
  getAllExtensions(t) {
5133
5133
  return typeof t != "string" ? null : H(this, J, "f").get(t.toLowerCase()) ?? null;
@@ -5143,21 +5143,21 @@ class we {
5143
5143
  _getTestState() {
5144
5144
  return {
5145
5145
  types: H(this, Z, "f"),
5146
- extensions: H(this, te, "f")
5146
+ extensions: H(this, ae, "f")
5147
5147
  };
5148
5148
  }
5149
5149
  }
5150
- Z = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
5151
- const Wa = new we(ue, ce)._freeze();
5152
- function ke(e, t, a, i) {
5153
- const o = t.flatMap((l) => l.file);
5154
- return t = t.map((l) => ({ ...l, status: l.status == "Duplicate" ? "Not Uploaded" : l.status })), e.forEach((l) => {
5155
- const n = o.findIndex((p) => p.name === l.name);
5150
+ Z = /* @__PURE__ */ new WeakMap(), ae = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
5151
+ const Ga = new ke(fe, ve)._freeze();
5152
+ function Be(e, t, a, i) {
5153
+ const l = t.flatMap((o) => o.file);
5154
+ return t = t.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
5155
+ const n = l.findIndex((c) => c.name === o.name);
5156
5156
  let s = "Not Uploaded";
5157
5157
  if (n === -1) {
5158
- const p = Ka(l);
5159
- !p || !a.includes(p) ? s = "InvalidFileType" : l.size <= i || (s = "InvalidFileSize"), t.unshift({
5160
- file: l,
5158
+ const c = Za(o);
5159
+ !c || !a.includes(c) ? s = "InvalidFileType" : o.size <= i || (s = "InvalidFileSize"), t.unshift({
5160
+ file: o,
5161
5161
  status: s,
5162
5162
  blobFileName: null
5163
5163
  });
@@ -5165,10 +5165,10 @@ function ke(e, t, a, i) {
5165
5165
  t[n].status = "Duplicate";
5166
5166
  }), t;
5167
5167
  }
5168
- async function Ga(e, t) {
5168
+ async function Ya(e, t) {
5169
5169
  if (e === "Uploaded" && t !== null)
5170
5170
  try {
5171
- await new ge(t).delete();
5171
+ await new pe(t).delete();
5172
5172
  } catch (a) {
5173
5173
  if (a !== "BlobNotFound") {
5174
5174
  e = "DeleteFileFailed";
@@ -5176,37 +5176,37 @@ async function Ga(e, t) {
5176
5176
  }
5177
5177
  }
5178
5178
  }
5179
- function me(e, t = !0, a = 1) {
5179
+ function ge(e, t = !0, a = 1) {
5180
5180
  const i = t ? 1e3 : 1024;
5181
5181
  if (Math.abs(e) < i)
5182
5182
  return e + " B";
5183
- const o = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
5184
- let l = -1;
5183
+ const l = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
5184
+ let o = -1;
5185
5185
  const n = 10 ** a;
5186
5186
  do
5187
- e /= i, ++l;
5188
- while (Math.round(Math.abs(e) * n) / n >= i && l < o.length - 1);
5189
- return e.toFixed(a) + " " + o[l];
5187
+ e /= i, ++o;
5188
+ while (Math.round(Math.abs(e) * n) / n >= i && o < l.length - 1);
5189
+ return e.toFixed(a) + " " + l[o];
5190
5190
  }
5191
- function Ya(e) {
5191
+ function Ja(e) {
5192
5192
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
5193
5193
  }
5194
- function Ja(e) {
5194
+ function Ka(e) {
5195
5195
  return URL.createObjectURL(e);
5196
5196
  }
5197
- function Ka(e) {
5198
- return e.type ? e.type : Be().getType(e.name);
5197
+ function Za(e) {
5198
+ return e.type ? e.type : $e().getType(e.name);
5199
5199
  }
5200
- function Be() {
5201
- const e = new we(ue, ce);
5200
+ function $e() {
5201
+ const e = new ke(fe, ve);
5202
5202
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
5203
5203
  }
5204
- const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disabled", "multiple"], Qa = {
5204
+ const Xa = { class: "d-flex justify-content-between" }, Qa = ["accept", "disabled", "multiple"], ei = {
5205
5205
  class: "text-break accepted-file-types-container",
5206
5206
  id: "accepted-file-types-overlay"
5207
- }, ei = /* @__PURE__ */ z({
5207
+ }, ti = /* @__PURE__ */ z({
5208
5208
  __name: "UploadButton",
5209
- props: /* @__PURE__ */ E({
5209
+ props: /* @__PURE__ */ _({
5210
5210
  acceptedFileTypes: {},
5211
5211
  maxFileInput: {},
5212
5212
  maxFileSize: {},
@@ -5217,73 +5217,73 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5217
5217
  }),
5218
5218
  emits: ["update:modelValue"],
5219
5219
  setup(e) {
5220
- const t = L(e, "modelValue"), a = I(), i = (n) => a.value.toggle(n), o = M(() => e.maxFileInput <= t.value.length), l = (n) => {
5221
- t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
5220
+ const t = N(e, "modelValue"), a = I(), i = (n) => a.value.toggle(n), l = M(() => e.maxFileInput <= t.value.length), o = (n) => {
5221
+ t.value = Be(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
5222
5222
  };
5223
5223
  return (n, s) => {
5224
- const p = q;
5225
- return d(), b("div", Za, [
5224
+ const c = R;
5225
+ return d(), g("div", Xa, [
5226
5226
  C(n.$slots, "message"),
5227
5227
  m("div", null, [
5228
5228
  m("input", {
5229
5229
  id: "file-input",
5230
5230
  type: "file",
5231
5231
  class: "d-none",
5232
- accept: n.acceptedFileTypes.join(", "),
5233
- disabled: o.value,
5234
- multiple: n.maxFileInput > 1,
5235
- onInput: s[0] || (s[0] = (u) => l([...u.target.files]))
5236
- }, null, 40, Xa),
5232
+ accept: e.acceptedFileTypes.join(", "),
5233
+ disabled: l.value,
5234
+ multiple: e.maxFileInput > 1,
5235
+ onInput: s[0] || (s[0] = (u) => o([...u.target.files]))
5236
+ }, null, 40, Qa),
5237
5237
  m("label", {
5238
- class: P([{ disabled: o.value }, "btn btn-primary"]),
5238
+ class: P([{ disabled: l.value }, "btn btn-primary"]),
5239
5239
  id: "file-input-button",
5240
5240
  for: "file-input"
5241
5241
  }, [
5242
5242
  C(n.$slots, "button-content", {}, () => [
5243
- k(c(_), {
5243
+ h(p(V), {
5244
5244
  icon: "bi:upload",
5245
5245
  class: "me-2",
5246
5246
  height: "20px",
5247
5247
  width: "20px"
5248
5248
  }),
5249
- s[1] || (s[1] = V(" Browse your computer ", -1))
5249
+ s[1] || (s[1] = O(" Browse your computer ", -1))
5250
5250
  ])
5251
5251
  ], 2)
5252
5252
  ]),
5253
- n.showDragDropArea ? (d(), x(p, {
5253
+ e.showDragDropArea ? (d(), y(c, {
5254
5254
  link: "",
5255
5255
  class: "ms-auto",
5256
- key: n.acceptedFileTypes.length,
5256
+ key: e.acceptedFileTypes.length,
5257
5257
  id: "accepted-file-types",
5258
5258
  onClick: i
5259
5259
  }, {
5260
- default: g(() => [...s[2] || (s[2] = [
5261
- V("Accepted File Types", -1)
5260
+ default: v(() => [...s[2] || (s[2] = [
5261
+ O("Accepted File Types", -1)
5262
5262
  ])]),
5263
5263
  _: 1
5264
5264
  })) : T("", !0),
5265
- k(c(be), {
5265
+ h(p(ye), {
5266
5266
  ref_key: "acceptedFilesOverlay",
5267
5267
  ref: a
5268
5268
  }, {
5269
- default: g(() => [
5270
- m("div", Qa, $(n.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
5269
+ default: v(() => [
5270
+ m("div", ei, B(e.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
5271
5271
  ]),
5272
5272
  _: 1
5273
5273
  }, 512)
5274
5274
  ]);
5275
5275
  };
5276
5276
  }
5277
- }), ti = {
5277
+ }), ai = {
5278
5278
  key: 0,
5279
5279
  class: "py-4 px-3",
5280
5280
  id: "placeholder-message"
5281
- }, ai = {
5281
+ }, ii = {
5282
5282
  key: 1,
5283
5283
  class: "d-flex flex-column"
5284
- }, ii = /* @__PURE__ */ z({
5284
+ }, li = /* @__PURE__ */ z({
5285
5285
  __name: "DragDropArea",
5286
- props: /* @__PURE__ */ E({
5286
+ props: /* @__PURE__ */ _({
5287
5287
  maxFileInput: {},
5288
5288
  maxFileSize: {},
5289
5289
  acceptedFileTypes: {}
@@ -5293,30 +5293,30 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5293
5293
  }),
5294
5294
  emits: ["update:modelValue"],
5295
5295
  setup(e) {
5296
- const t = L(e, "modelValue"), a = I(!1), i = M(() => e.maxFileInput <= t.value.length), o = (l) => {
5297
- a.value = !1, l.dataTransfer.files.length > e.maxFileInput || i.value ? l.preventDefault() : t.value = ke([...l.dataTransfer.files], t.value, e.acceptedFileTypes.map((n) => n.fileType), e.maxFileSize);
5296
+ const t = N(e, "modelValue"), a = I(!1), i = M(() => e.maxFileInput <= t.value.length), l = (o) => {
5297
+ a.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : t.value = Be([...o.dataTransfer.files], t.value, e.acceptedFileTypes.map((n) => n.fileType), e.maxFileSize);
5298
5298
  };
5299
- return (l, n) => (d(), b("div", {
5299
+ return (o, n) => (d(), g("div", {
5300
5300
  id: "drag-drop-area",
5301
5301
  class: P(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
5302
5302
  onDragleave: n[0] || (n[0] = Q((s) => a.value = !1, ["prevent"])),
5303
5303
  onDragover: n[1] || (n[1] = Q((s) => a.value = !0, ["prevent"])),
5304
- onDrop: Q(o, ["prevent"])
5304
+ onDrop: Q(l, ["prevent"])
5305
5305
  }, [
5306
- t.value.length === 0 ? (d(), b("div", ti, [
5307
- k(c(_), {
5306
+ t.value.length === 0 ? (d(), g("div", ai, [
5307
+ h(p(V), {
5308
5308
  icon: "bi:upload",
5309
5309
  class: "me-2",
5310
5310
  height: "20px",
5311
5311
  width: "20px"
5312
5312
  }),
5313
- n[2] || (n[2] = V(" Drag and drop files here ", -1))
5314
- ])) : (d(), b("div", ai, [
5315
- C(l.$slots, "default")
5313
+ n[2] || (n[2] = O(" Drag and drop files here ", -1))
5314
+ ])) : (d(), g("div", ii, [
5315
+ C(o.$slots, "default")
5316
5316
  ]))
5317
5317
  ], 34));
5318
5318
  }
5319
- }), oi = { class: "d-flex align-items-center me-2" }, li = /* @__PURE__ */ z({
5319
+ }), oi = { class: "d-flex align-items-center me-2" }, ni = /* @__PURE__ */ z({
5320
5320
  __name: "UploadStatus",
5321
5321
  props: {
5322
5322
  fileSize: {},
@@ -5330,7 +5330,7 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5330
5330
  case "InvalidFileType":
5331
5331
  return "Upload Failed: File type is not accepted.";
5332
5332
  case "InvalidFileSize":
5333
- return `Upload Failed: File size exceeds the ${me(t.maxFileSize)} limit.`;
5333
+ return `Upload Failed: File size exceeds the ${ge(t.maxFileSize)} limit.`;
5334
5334
  case "Aborted":
5335
5335
  return "Upload Failed: User cancelled.";
5336
5336
  case "DeleteFileFailed":
@@ -5341,45 +5341,46 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5341
5341
  return "Upload Failed: Connection error, please try again.";
5342
5342
  }
5343
5343
  });
5344
- return (o, l) => {
5345
- const n = pe;
5346
- return d(), b("div", oi, [
5347
- t.uploadStatus === "Uploading" ? (d(), x(n, {
5344
+ return (l, o) => {
5345
+ const n = me;
5346
+ return d(), g("div", oi, [
5347
+ t.uploadStatus === "Uploading" ? (d(), y(n, {
5348
5348
  key: 0,
5349
5349
  "in-line": ""
5350
5350
  })) : T("", !0),
5351
- t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (d(), x(re, {
5351
+ t.uploadStatus !== "Uploading" && t.uploadStatus !== "Not Uploaded" && t.uploadStatus !== "Uploaded" && t.uploadStatus !== "Preparing" ? (d(), y(de, {
5352
5352
  key: 1,
5353
5353
  id: "upload-status-alert",
5354
5354
  severity: a.value,
5355
5355
  class: "mb-0 w-75 ms-auto"
5356
5356
  }, {
5357
- default: g(() => [
5358
- V($(i.value), 1)
5357
+ default: v(() => [
5358
+ O(B(i.value), 1)
5359
5359
  ]),
5360
5360
  _: 1
5361
5361
  }, 8, ["severity"])) : T("", !0)
5362
5362
  ]);
5363
5363
  };
5364
5364
  }
5365
- }), ni = ["data-cy"], si = { class: "ms-3 d-flex flex-column" }, ri = {
5365
+ }), si = ["data-cy"], ri = { class: "ms-3 d-flex flex-column" }, di = {
5366
5366
  key: 1,
5367
5367
  id: "file-name"
5368
- }, di = {
5368
+ }, ci = {
5369
5369
  class: "text-black-50",
5370
5370
  id: "file-type"
5371
5371
  }, pi = {
5372
5372
  class: "text-black-50",
5373
5373
  id: "file-size"
5374
- }, ci = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ui = /* @__PURE__ */ z({
5374
+ }, ui = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, mi = /* @__PURE__ */ z({
5375
5375
  __name: "FileInfo",
5376
- props: /* @__PURE__ */ E({
5376
+ props: /* @__PURE__ */ _({
5377
5377
  editableFileName: { type: Boolean },
5378
5378
  acceptedFileTypes: {},
5379
5379
  maxFileSize: {},
5380
5380
  getFileUrlAction: { type: Function },
5381
5381
  customFileNameRules: {},
5382
- autoUploadToBlob: { type: Boolean }
5382
+ autoUploadToBlob: { type: Boolean },
5383
+ storageServiceVersionOverride: {}
5383
5384
  }, {
5384
5385
  file: { required: !0 },
5385
5386
  fileModifiers: {},
@@ -5388,64 +5389,80 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5388
5389
  uploadStatus: { required: !0 },
5389
5390
  uploadStatusModifiers: {}
5390
5391
  }),
5391
- emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5392
+ emits: /* @__PURE__ */ _(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5392
5393
  setup(e, { emit: t }) {
5393
- const a = L(e, "file"), i = L(e, "blobFileName"), o = L(e, "uploadStatus"), l = t, n = I(a.value.name), s = I(""), p = I(0), u = I(), h = M(() => e.acceptedFileTypes.some(({ fileType: f }) => f === a.value.type)), r = M(() => a.value.size <= e.maxFileSize), w = M(() => a.value.type ? a.value.type : Be().getType(a.value.name)), v = () => {
5394
+ const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), o = t, n = I(a.value.name), s = I(""), c = I(0), u = I(), w = M(() => e.acceptedFileTypes.some(({ fileType: k }) => k === a.value.type)), r = M(() => a.value.size <= e.maxFileSize), x = M(() => a.value.type ? a.value.type : $e().getType(a.value.name)), b = () => {
5394
5395
  n.value != null && (S(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5395
5396
  }, S = () => {
5396
- let f = n.value.split("."), B = Wa.getExtension(w.value), D = n.value.split(".").pop();
5397
- f.length === 1 ? D && D.length > 0 && (n.value = [n.value, B].join(".")) : f.length > 1 && D !== B && (n.value = n.value.replace(D, B));
5398
- }, F = async () => {
5399
- if (!h.value || !r.value) {
5400
- o.value = h.value ? "InvalidFileSize" : "InvalidFileType";
5397
+ let k = n.value.split("."), A = Ga.getExtension(x.value), f = n.value.split(".").pop();
5398
+ k.length === 1 ? f && f.length > 0 && (n.value = [n.value, A].join(".")) : k.length > 1 && f !== A && (n.value = n.value.replace(f, A));
5399
+ }, F = (k, A) => {
5400
+ let f = {};
5401
+ if (A) {
5402
+ f = {
5403
+ // 👇 this is where additional policies go
5404
+ additionalPolicies: [
5405
+ { policy: {
5406
+ name: "forceVersionPolicy",
5407
+ sendRequest: async (te, ce) => (te.headers.set("x-ms-version", A), ce(te))
5408
+ }, position: "perRetry" }
5409
+ ]
5410
+ };
5411
+ const U = Je(void 0, f);
5412
+ return new pe(k, U);
5413
+ }
5414
+ return new pe(k);
5415
+ }, L = async () => {
5416
+ if (!w.value || !r.value) {
5417
+ l.value = w.value ? "InvalidFileSize" : "InvalidFileType";
5401
5418
  return;
5402
5419
  }
5403
- o.value = "Preparing", u.value = new AbortController();
5404
- const [f, B] = await e.getFileUrlAction(a.value.name);
5405
- if (!f) {
5406
- o.value = "Failed";
5420
+ l.value = "Preparing", u.value = new AbortController();
5421
+ const [k, A] = await e.getFileUrlAction(a.value.name);
5422
+ if (!k) {
5423
+ l.value = "Failed";
5407
5424
  return;
5408
5425
  }
5409
5426
  try {
5410
- o.value = "Uploading";
5411
- const D = new ge(f), y = {
5427
+ l.value = "Uploading";
5428
+ const f = F(k, e.storageServiceVersionOverride), D = {
5412
5429
  abortSignal: u.value.signal,
5413
- onProgress: (O) => p.value = O.loadedBytes,
5430
+ onProgress: (U) => c.value = U.loadedBytes,
5414
5431
  blobHTTPHeaders: {
5415
- blobContentType: w.value,
5432
+ blobContentType: x.value,
5416
5433
  blobContentDisposition: `attachment; filename="${a.value.name}"`
5417
5434
  },
5418
5435
  tags: { temp: "true" }
5419
5436
  };
5420
- await D.uploadData(a.value, y), s.value = f, o.value = "Uploaded", i.value = B;
5421
- } catch (D) {
5422
- if (D.name === "AbortError") {
5423
- o.value = "Aborted";
5437
+ await f.uploadData(a.value, D), s.value = k, l.value = "Uploaded", i.value = A;
5438
+ } catch (f) {
5439
+ if (f.name === "AbortError") {
5440
+ l.value = "Aborted";
5424
5441
  return;
5425
5442
  }
5426
- o.value = "Failed";
5443
+ l.value = "Failed";
5427
5444
  }
5428
- }, A = async () => {
5429
- await Ga(o.value, s.value), l("deleted", a.value);
5445
+ }, $ = async () => {
5446
+ await Ya(l.value, s.value), o("deleted", a.value);
5430
5447
  };
5431
- return ne(() => {
5432
- e.autoUploadToBlob && o.value != "Uploaded" && F();
5433
- }), (f, B) => {
5434
- const D = q;
5435
- return d(), b("div", {
5448
+ return se(() => {
5449
+ e.autoUploadToBlob && l.value != "Uploaded" && L();
5450
+ }), (k, A) => {
5451
+ const f = R;
5452
+ return d(), g("div", {
5436
5453
  class: "py-4 px-3 d-flex",
5437
5454
  "data-cy": `file-info-${a.value.name}`
5438
5455
  }, [
5439
5456
  m("div", null, [
5440
- c(Ya)(a.value.type) ? (d(), x(c(Je), {
5457
+ p(Ja)(a.value.type) ? (d(), y(p(Ke), {
5441
5458
  key: 0,
5442
5459
  id: "thumbnail-image",
5443
5460
  "image-class": "image-file-thumbnail border",
5444
- src: c(Ja)(a.value),
5461
+ src: p(Ka)(a.value),
5445
5462
  alt: a.value.name,
5446
5463
  width: "75px",
5447
5464
  preview: ""
5448
- }, null, 8, ["src", "alt"])) : (d(), x(c(_), {
5465
+ }, null, 8, ["src", "alt"])) : (d(), y(p(V), {
5449
5466
  key: 1,
5450
5467
  id: "file-earmark",
5451
5468
  icon: "bi:file-earmark",
@@ -5453,80 +5470,80 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5453
5470
  width: "75px"
5454
5471
  }))
5455
5472
  ]),
5456
- m("div", si, [
5473
+ m("div", ri, [
5457
5474
  m("div", null, [
5458
- f.editableFileName ? (d(), x(Xt, {
5475
+ e.editableFileName ? (d(), y(Qt, {
5459
5476
  key: 0,
5460
5477
  id: "edit-file-name",
5461
5478
  modelValue: n.value,
5462
- "onUpdate:modelValue": B[0] || (B[0] = (y) => n.value = y),
5463
- rules: f.customFileNameRules,
5479
+ "onUpdate:modelValue": A[0] || (A[0] = (D) => n.value = D),
5480
+ rules: e.customFileNameRules,
5464
5481
  name: a.value.name,
5465
- "complete-action": v
5466
- }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", ri, $(n.value), 1))
5482
+ "complete-action": b
5483
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), g("span", di, B(n.value), 1))
5467
5484
  ]),
5468
- m("span", di, "File type: " + $(a.value.type.split("/").pop()), 1),
5469
- m("span", pi, "File size: " + $(c(me)(a.value.size)), 1)
5485
+ m("span", ci, "File type: " + B(a.value.type.split("/").pop()), 1),
5486
+ m("span", pi, "File size: " + B(p(ge)(a.value.size)), 1)
5470
5487
  ]),
5471
- m("div", ci, [
5472
- (d(), x(li, {
5473
- key: o.value,
5488
+ m("div", ui, [
5489
+ (d(), y(ni, {
5490
+ key: l.value,
5474
5491
  "file-size": a.value.size,
5475
- "upload-status": o.value,
5476
- "bytes-uploaded": p.value,
5477
- "max-file-size": f.maxFileSize
5492
+ "upload-status": l.value,
5493
+ "bytes-uploaded": c.value,
5494
+ "max-file-size": e.maxFileSize
5478
5495
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
5479
- o.value === "Not Uploaded" || o.value === "Failed" || o.value === "Duplicate" || o.value === "Aborted" ? (d(), x(D, {
5496
+ l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (d(), y(f, {
5480
5497
  key: 0,
5481
5498
  link: "",
5482
- onClick: F
5499
+ onClick: L
5483
5500
  }, {
5484
- default: g(() => [
5485
- k(c(_), {
5486
- icon: o.value === "Not Uploaded" || o.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
5501
+ default: v(() => [
5502
+ h(p(V), {
5503
+ icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
5487
5504
  }, null, 8, ["icon"])
5488
5505
  ]),
5489
5506
  _: 1
5490
5507
  })) : T("", !0),
5491
- o.value === "Uploading" ? (d(), x(D, {
5508
+ l.value === "Uploading" ? (d(), y(f, {
5492
5509
  key: 1,
5493
5510
  link: "",
5494
- onClick: B[1] || (B[1] = (y) => u.value.abort())
5511
+ onClick: A[1] || (A[1] = (D) => u.value.abort())
5495
5512
  }, {
5496
- default: g(() => [
5497
- k(c(_), { icon: "bi:x-circle-fill" })
5513
+ default: v(() => [
5514
+ h(p(V), { icon: "bi:x-circle-fill" })
5498
5515
  ]),
5499
5516
  _: 1
5500
- })) : (d(), x(D, {
5517
+ })) : (d(), y(f, {
5501
5518
  key: 2,
5502
5519
  link: "",
5503
- onClick: A,
5520
+ onClick: $,
5504
5521
  id: "delete-button"
5505
5522
  }, {
5506
- default: g(() => [
5507
- k(c(_), { icon: "bi:trash" })
5523
+ default: v(() => [
5524
+ h(p(V), { icon: "bi:trash" })
5508
5525
  ]),
5509
5526
  _: 1
5510
5527
  }))
5511
5528
  ])
5512
- ], 8, ni);
5529
+ ], 8, si);
5513
5530
  };
5514
5531
  }
5515
- }), mi = { class: "d-flex justify-content-end mt-1 gap-1" }, vi = { id: "max-file-size" }, fi = { id: "max-file-input" }, gi = /* @__PURE__ */ z({
5532
+ }), vi = { class: "d-flex justify-content-end mt-1 gap-1" }, fi = { id: "max-file-size" }, gi = { id: "max-file-input" }, bi = /* @__PURE__ */ z({
5516
5533
  __name: "FileInputInfo",
5517
5534
  props: {
5518
5535
  maxFileSize: {},
5519
5536
  maxFileInput: {}
5520
5537
  },
5521
5538
  setup(e) {
5522
- return (t, a) => (d(), b("div", mi, [
5523
- m("div", vi, "Max file size: " + $(c(me)(t.maxFileSize)), 1),
5524
- m("div", fi, "| Max file count: " + $(t.maxFileInput), 1)
5539
+ return (t, a) => (d(), g("div", vi, [
5540
+ m("div", fi, "Max file size: " + B(p(ge)(e.maxFileSize)), 1),
5541
+ m("div", gi, "| Max file count: " + B(e.maxFileInput), 1)
5525
5542
  ]));
5526
5543
  }
5527
- }), bi = { "data-cy": "file-uploader" }, yi = { key: 1 }, Po = /* @__PURE__ */ z({
5544
+ }), yi = { "data-cy": "file-uploader" }, xi = { key: 1 }, Pl = /* @__PURE__ */ z({
5528
5545
  __name: "ForgeFileUploader",
5529
- props: /* @__PURE__ */ E({
5546
+ props: /* @__PURE__ */ _({
5530
5547
  acceptedFileTypes: {},
5531
5548
  maxFileSize: {},
5532
5549
  getFileUrlAction: {},
@@ -5535,67 +5552,71 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5535
5552
  maxFileInput: { default: 3 },
5536
5553
  editableFileName: { type: Boolean, default: !1 },
5537
5554
  autoUploadToBlob: { type: Boolean, default: !0 },
5538
- maxFileWarning: { default: "Maximum number of files reached." }
5555
+ maxFileWarning: { default: "Maximum number of files reached." },
5556
+ storageServiceVersionOverride: {}
5539
5557
  }, {
5540
5558
  modelValue: { default: [] },
5541
5559
  modelModifiers: {}
5542
5560
  }),
5543
5561
  emits: ["update:modelValue"],
5544
5562
  setup(e) {
5545
- const t = L(e, "modelValue");
5546
- W(t, (o, l) => {
5547
- o.length > a.maxFileInput && (o.length = a.maxFileInput);
5563
+ const t = N(e, "modelValue");
5564
+ W(t, (l, o) => {
5565
+ l.length > a.maxFileInput && (l.length = a.maxFileInput);
5548
5566
  }, { deep: 2 });
5549
- const a = e, i = (o) => {
5550
- t.value = t.value.filter((l) => l.file != o);
5567
+ const a = e, i = (l) => {
5568
+ t.value = t.value.filter((o) => o.file != l);
5551
5569
  };
5552
- return (o, l) => (d(), b("div", bi, [
5553
- t.value.length == o.maxFileInput && a.maxFileWarning != null ? (d(), x(re, {
5570
+ return (l, o) => (d(), g("div", yi, [
5571
+ t.value.length == e.maxFileInput && a.maxFileWarning != null ? (d(), y(de, {
5554
5572
  key: 0,
5555
5573
  id: "max-files-alert",
5556
5574
  severity: "danger"
5557
5575
  }, {
5558
- default: g(() => [
5559
- V($(o.maxFileWarning), 1)
5576
+ default: v(() => [
5577
+ O(B(e.maxFileWarning), 1)
5560
5578
  ]),
5561
5579
  _: 1
5562
5580
  })) : T("", !0),
5563
- k(ei, j(a, {
5581
+ h(ti, j(a, {
5564
5582
  modelValue: t.value,
5565
- "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n)
5583
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n)
5566
5584
  }), null, 16, ["modelValue"]),
5567
- o.showDragDropArea ? (d(), b("div", yi, [
5568
- k(ii, {
5585
+ e.showDragDropArea ? (d(), g("div", xi, [
5586
+ h(li, {
5569
5587
  "max-file-input": a.maxFileInput,
5570
5588
  "max-file-size": a.maxFileSize,
5571
5589
  "accepted-file-types": a.acceptedFileTypes,
5572
5590
  modelValue: t.value,
5573
- "onUpdate:modelValue": l[1] || (l[1] = (n) => t.value = n)
5591
+ "onUpdate:modelValue": o[1] || (o[1] = (n) => t.value = n)
5574
5592
  }, {
5575
- default: g(() => [
5576
- (d(!0), b(N, null, U(t.value, ({ file: n }, s) => (d(), b("div", null, [
5577
- (d(), x(ui, j({
5593
+ default: v(() => [
5594
+ (d(!0), g(E, null, q(t.value, ({ file: n }, s) => (d(), g("div", null, [
5595
+ (d(), y(mi, j({
5578
5596
  key: n.name,
5579
5597
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5580
5598
  file: t.value[s].file,
5581
- "onUpdate:file": (p) => t.value[s].file = p,
5599
+ "onUpdate:file": (c) => t.value[s].file = c,
5582
5600
  "blob-file-name": t.value[s].blobFileName,
5583
- "onUpdate:blobFileName": (p) => t.value[s].blobFileName = p,
5601
+ "onUpdate:blobFileName": (c) => t.value[s].blobFileName = c,
5584
5602
  "upload-status": t.value[s].status,
5585
- "onUpdate:uploadStatus": (p) => t.value[s].status = p
5586
- }, { ref_for: !0 }, a, { onDeleted: i }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
5603
+ "onUpdate:uploadStatus": (c) => t.value[s].status = c
5604
+ }, { ref_for: !0 }, a, {
5605
+ onDeleted: i,
5606
+ "storage-service-version-override": e.storageServiceVersionOverride
5607
+ }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus", "storage-service-version-override"]))
5587
5608
  ]))), 256))
5588
5609
  ]),
5589
5610
  _: 1
5590
5611
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5591
- k(gi, {
5612
+ h(bi, {
5592
5613
  "max-file-size": a.maxFileSize,
5593
- "max-file-input": o.maxFileInput
5614
+ "max-file-input": e.maxFileInput
5594
5615
  }, null, 8, ["max-file-size", "max-file-input"])
5595
5616
  ])) : T("", !0)
5596
5617
  ]));
5597
5618
  }
5598
- }), xi = { class: "d-flex" }, hi = { class: "me-3" }, wi = { class: "ms-2" }, ki = { class: "d-flex flex-column w-100" }, jo = /* @__PURE__ */ z({
5619
+ }), hi = { class: "d-flex" }, wi = { class: "me-3" }, ki = { class: "ms-2" }, Bi = { class: "d-flex flex-column w-100" }, jl = /* @__PURE__ */ z({
5599
5620
  __name: "ForgeColumnCustomiser",
5600
5621
  props: {
5601
5622
  modelValue: { required: !0 },
@@ -5603,22 +5624,22 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5603
5624
  },
5604
5625
  emits: ["update:modelValue"],
5605
5626
  setup(e) {
5606
- const t = L(e, "modelValue"), a = I(), i = I(!1), o = (l) => {
5607
- a.value.toggle(l);
5627
+ const t = N(e, "modelValue"), a = I(), i = I(!1), l = (o) => {
5628
+ a.value.toggle(o);
5608
5629
  };
5609
- return (l, n) => (d(), b(N, null, [
5610
- k(c(q), {
5611
- onClick: o,
5630
+ return (o, n) => (d(), g(E, null, [
5631
+ h(p(R), {
5632
+ onClick: l,
5612
5633
  class: "ms-2"
5613
5634
  }, {
5614
- default: g(() => [
5615
- m("div", xi, [
5616
- m("div", hi, [
5617
- k(c(_), { icon: "bi:layout-three-columns" })
5618
- ]),
5619
- V(" Columns (" + $(t.value.filter((s) => s.selected).length ?? 0) + "/" + $(t.value.length ?? 0) + ") ", 1),
5635
+ default: v(() => [
5636
+ m("div", hi, [
5620
5637
  m("div", wi, [
5621
- k(c(_), {
5638
+ h(p(V), { icon: "bi:layout-three-columns" })
5639
+ ]),
5640
+ O(" Columns (" + B(t.value.filter((s) => s.selected).length ?? 0) + "/" + B(t.value.length ?? 0) + ") ", 1),
5641
+ m("div", ki, [
5642
+ h(p(V), {
5622
5643
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5623
5644
  }, null, 8, ["icon"])
5624
5645
  ])
@@ -5626,24 +5647,24 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5626
5647
  ]),
5627
5648
  _: 1
5628
5649
  }),
5629
- k(c(be), {
5650
+ h(p(ye), {
5630
5651
  ref_key: "columnCustomiserPanel",
5631
5652
  ref: a,
5632
5653
  class: "column-customiser",
5633
5654
  onHide: n[0] || (n[0] = () => i.value = !1),
5634
5655
  onShow: n[1] || (n[1] = () => i.value = !0)
5635
5656
  }, {
5636
- default: g(() => [
5637
- m("div", ki, [
5638
- (d(!0), b(N, null, U(t.value, (s, p) => (d(), b("div", {
5657
+ default: v(() => [
5658
+ m("div", Bi, [
5659
+ (d(!0), g(E, null, q(t.value, (s, c) => (d(), g("div", {
5639
5660
  class: P(["d-flex cursor-pointer", {
5640
- "border-top": p !== 0,
5641
- "py-1": p !== 0 && t.value.length - 1 !== p,
5642
- "pt-1": t.value.length - 1 === p,
5643
- "pb-1": p === 0
5661
+ "border-top": c !== 0,
5662
+ "py-1": c !== 0 && t.value.length - 1 !== c,
5663
+ "pt-1": t.value.length - 1 === c,
5664
+ "pb-1": c === 0
5644
5665
  }])
5645
5666
  }, [
5646
- k(ye, {
5667
+ h(xe, {
5647
5668
  id: s.field,
5648
5669
  modelValue: s.selected,
5649
5670
  "onUpdate:modelValue": (u) => s.selected = u,
@@ -5658,19 +5679,19 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5658
5679
  }, 512)
5659
5680
  ], 64));
5660
5681
  }
5661
- }), Mo = /* @__PURE__ */ z({
5682
+ }), Ml = /* @__PURE__ */ z({
5662
5683
  __name: "ForgePanel",
5663
5684
  setup(e) {
5664
5685
  return (t, a) => {
5665
- const i = Ke;
5666
- return d(), x(i, G(Y({ ...t.$attrs })), ie({
5667
- toggleicon: g(({ collapsed: o }) => [
5668
- o ? (d(), x(c(_), {
5686
+ const i = Ze;
5687
+ return d(), y(i, G(Y({ ...t.$attrs })), le({
5688
+ toggleicon: v(({ collapsed: l }) => [
5689
+ l ? (d(), y(p(V), {
5669
5690
  key: 0,
5670
5691
  "data-cy": "message-icon",
5671
5692
  icon: "bi:chevron-down"
5672
5693
  })) : T("", !0),
5673
- o ? T("", !0) : (d(), x(c(_), {
5694
+ l ? T("", !0) : (d(), y(p(V), {
5674
5695
  key: 1,
5675
5696
  "data-cy": "message-icon",
5676
5697
  icon: "bi:chevron-up"
@@ -5678,16 +5699,16 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5678
5699
  ]),
5679
5700
  _: 2
5680
5701
  }, [
5681
- U(t.$slots, (o, l) => ({
5682
- name: l,
5683
- fn: g((n) => [
5684
- C(t.$slots, l, G(Y(n)))
5702
+ q(t.$slots, (l, o) => ({
5703
+ name: o,
5704
+ fn: v((n) => [
5705
+ C(t.$slots, o, G(Y(n)))
5685
5706
  ])
5686
5707
  }))
5687
5708
  ]), 1040);
5688
5709
  };
5689
5710
  }
5690
- }), Bi = /* @__PURE__ */ z({
5711
+ }), $i = /* @__PURE__ */ z({
5691
5712
  __name: "ForgeToggleButton",
5692
5713
  props: {
5693
5714
  severity: { default: "primary" }
@@ -5714,17 +5735,17 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5714
5735
  ]
5715
5736
  })
5716
5737
  }));
5717
- return (i, o) => (d(), x(c(Ze), j({ ...i.$attrs, ...t }, {
5738
+ return (i, l) => (d(), y(p(Xe), j({ ...i.$attrs, ...t }, {
5718
5739
  severity: t.severity,
5719
5740
  pt: a.value
5720
5741
  }), null, 16, ["severity", "pt"]));
5721
5742
  }
5722
- }), $i = {
5743
+ }), Si = {
5723
5744
  class: "btn-group",
5724
5745
  "data-cy": "forge-select-button"
5725
- }, Io = /* @__PURE__ */ z({
5746
+ }, Il = /* @__PURE__ */ z({
5726
5747
  __name: "ForgeSelectButton",
5727
- props: /* @__PURE__ */ E({
5748
+ props: /* @__PURE__ */ _({
5728
5749
  options: {},
5729
5750
  multiple: { type: Boolean, default: !0 },
5730
5751
  allowEmpty: { type: Boolean, default: !1 },
@@ -5735,38 +5756,38 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5735
5756
  }),
5736
5757
  emits: ["update:modelValue"],
5737
5758
  setup(e) {
5738
- const t = e, a = L(e, "modelValue"), i = (l) => {
5759
+ const t = e, a = N(e, "modelValue"), i = (o) => {
5739
5760
  var n;
5740
- return t.multiple ? (n = a == null ? void 0 : a.value) == null ? void 0 : n.includes(l.value) : a.value === l.value;
5741
- }, o = (l) => {
5761
+ return t.multiple ? (n = a == null ? void 0 : a.value) == null ? void 0 : n.includes(o.value) : a.value === o.value;
5762
+ }, l = (o) => {
5742
5763
  var n;
5743
- if (!l.disabled)
5764
+ if (!o.disabled)
5744
5765
  if (t.multiple) {
5745
5766
  let s = (n = a.value) != null && n.length ? [...a.value] : [];
5746
- if (s.length >= 1 && s.includes(l.value)) {
5767
+ if (s.length >= 1 && s.includes(o.value)) {
5747
5768
  if (!t.allowEmpty && s.length === 1) return;
5748
- s = s.length > 1 ? s.filter((u) => u !== l.value) : [];
5769
+ s = s.length > 1 ? s.filter((u) => u !== o.value) : [];
5749
5770
  } else
5750
- s.push(l.value);
5771
+ s.push(o.value);
5751
5772
  a.value = s;
5752
5773
  } else
5753
- a.value = a.value === l.value && t.allowEmpty ? null : l.value;
5774
+ a.value = a.value === o.value && t.allowEmpty ? null : o.value;
5754
5775
  };
5755
- return (l, n) => (d(), b("div", $i, [
5756
- (d(!0), b(N, null, U(l.options, (s, p) => (d(), x(Bi, {
5757
- key: p,
5776
+ return (o, n) => (d(), g("div", Si, [
5777
+ (d(!0), g(E, null, q(e.options, (s, c) => (d(), y($i, {
5778
+ key: c,
5758
5779
  onLabel: s.label,
5759
5780
  offLabel: s.label,
5760
5781
  severity: s.severity,
5761
- onChange: (u) => o(s),
5782
+ onChange: (u) => l(s),
5762
5783
  defaultValue: i(s),
5763
5784
  disabled: s.disabled,
5764
5785
  "data-cy": `toggle-button-${s.value}`,
5765
- invalid: l.invalid
5786
+ invalid: e.invalid
5766
5787
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5767
5788
  ]));
5768
5789
  }
5769
- }), _o = /* @__PURE__ */ z({
5790
+ }), Vl = /* @__PURE__ */ z({
5770
5791
  __name: "ForgeConfirmPopup",
5771
5792
  setup(e) {
5772
5793
  const t = M(() => ({
@@ -5780,9 +5801,9 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5780
5801
  pcRejectButton: { root: "btn btn-outline-primary btn-sm" },
5781
5802
  pcAcceptButton: { root: "btn btn-primary btn-sm" }
5782
5803
  }));
5783
- return (a, i) => (d(), x(c(Xe), j({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5784
- default: g(() => [
5785
- (d(!0), b(N, null, U(a.$slots, (o, l) => C(a.$slots, l, { slot: l })), 256))
5804
+ return (a, i) => (d(), y(p(Qe), j({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5805
+ default: v(() => [
5806
+ (d(!0), g(E, null, q(a.$slots, (l, o) => C(a.$slots, o, { slot: o })), 256))
5786
5807
  ]),
5787
5808
  _: 3
5788
5809
  }, 16, ["pt"]));
@@ -5790,12 +5811,12 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5790
5811
  }), Fi = {
5791
5812
  key: 0,
5792
5813
  class: "mb-1"
5793
- }, Si = {
5814
+ }, Ci = {
5794
5815
  key: 0,
5795
5816
  class: "mb-1"
5796
- }, Vo = /* @__PURE__ */ z({
5817
+ }, Dl = /* @__PURE__ */ z({
5797
5818
  __name: "ForgePickList",
5798
- props: /* @__PURE__ */ E({
5819
+ props: /* @__PURE__ */ _({
5799
5820
  filterBy: {},
5800
5821
  sourceTitle: {},
5801
5822
  targetTitle: {},
@@ -5836,59 +5857,59 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5836
5857
  }),
5837
5858
  emits: ["update:modelValue", "update:targetList", "update:sourceList"],
5838
5859
  setup(e) {
5839
- const t = e, a = L(e, "modelValue"), i = L(e, "targetList"), o = L(e, "sourceList"), l = I(null), n = I(null), s = (v) => {
5840
- const { items: S } = v;
5841
- i.value.push(...S), o.value = o.value.filter((F) => !S.includes(F));
5842
- }, p = (v) => {
5843
- const { items: S } = v;
5844
- o.value.push(...S), i.value = i.value.filter((F) => !S.includes(F));
5860
+ const t = e, a = N(e, "modelValue"), i = N(e, "targetList"), l = N(e, "sourceList"), o = I(null), n = I(null), s = (b) => {
5861
+ const { items: S } = b;
5862
+ i.value.push(...S), l.value = l.value.filter((F) => !S.includes(F));
5863
+ }, c = (b) => {
5864
+ const { items: S } = b;
5865
+ l.value.push(...S), i.value = i.value.filter((F) => !S.includes(F));
5845
5866
  }, u = () => {
5846
- o.value = [.../* @__PURE__ */ new Set([...o.value, ...a.value[1]])], i.value = i.value.filter((v) => !a.value[1].includes(v));
5847
- }, h = () => {
5848
- i.value = [.../* @__PURE__ */ new Set([...i.value, ...a.value[0]])], o.value = o.value.filter((v) => !a.value[0].includes(v));
5867
+ l.value = [.../* @__PURE__ */ new Set([...l.value, ...a.value[1]])], i.value = i.value.filter((b) => !a.value[1].includes(b));
5868
+ }, w = () => {
5869
+ i.value = [.../* @__PURE__ */ new Set([...i.value, ...a.value[0]])], l.value = l.value.filter((b) => !a.value[0].includes(b));
5849
5870
  };
5850
- W(o, async () => {
5871
+ W(l, async () => {
5851
5872
  r();
5852
5873
  }), W(i, async () => {
5853
- w();
5874
+ x();
5854
5875
  });
5855
5876
  const r = () => {
5856
5877
  var F;
5857
- const v = t.filterBy, S = l.value ? o.value.filter((A) => {
5858
- var f;
5859
- return A[v].toLowerCase().includes((f = l.value) == null ? void 0 : f.toLowerCase());
5860
- }) : [...o.value];
5878
+ const b = t.filterBy, S = o.value ? l.value.filter((L) => {
5879
+ var $;
5880
+ return L[b].toLowerCase().includes(($ = o.value) == null ? void 0 : $.toLowerCase());
5881
+ }) : [...l.value];
5861
5882
  (F = a.value) == null || F.splice(0, 1, S);
5862
- }, w = () => {
5883
+ }, x = () => {
5863
5884
  var F;
5864
- const v = t.filterBy, S = n.value ? i.value.filter((A) => {
5865
- var f;
5866
- return A[v].toLowerCase().includes((f = n.value) == null ? void 0 : f.toLowerCase());
5885
+ const b = t.filterBy, S = n.value ? i.value.filter((L) => {
5886
+ var $;
5887
+ return L[b].toLowerCase().includes(($ = n.value) == null ? void 0 : $.toLowerCase());
5867
5888
  }) : [...i.value];
5868
5889
  (F = a.value) == null || F.splice(1, 1, S);
5869
5890
  };
5870
5891
  return W(
5871
5892
  () => a.value,
5872
- (v) => {
5893
+ (b) => {
5873
5894
  var S, F;
5874
- v && (i.value = v[1].length > 0 ? [...v[1]] : [], o.value = v[0].length > 0 ? [...v[0]] : [], (S = a.value) == null || S.splice(0, 1, o.value), (F = a.value) == null || F.splice(1, 1, i.value));
5895
+ b && (i.value = b[1].length > 0 ? [...b[1]] : [], l.value = b[0].length > 0 ? [...b[0]] : [], (S = a.value) == null || S.splice(0, 1, l.value), (F = a.value) == null || F.splice(1, 1, i.value));
5875
5896
  },
5876
5897
  { once: !0 }
5877
- ), (v, S) => (d(), x(c(Qe), j({
5898
+ ), (b, S) => (d(), y(p(et), j({
5878
5899
  modelValue: a.value,
5879
5900
  "onUpdate:modelValue": S[2] || (S[2] = (F) => a.value = F)
5880
- }, { ...v.$attrs, ...t }, {
5901
+ }, { ...b.$attrs, ...t }, {
5881
5902
  onMoveAllToSource: u,
5882
- onMoveAllToTarget: h,
5903
+ onMoveAllToTarget: w,
5883
5904
  onMoveToTarget: S[3] || (S[3] = (F) => s(F)),
5884
- onMoveToSource: S[4] || (S[4] = (F) => p(F))
5905
+ onMoveToSource: S[4] || (S[4] = (F) => c(F))
5885
5906
  }), {
5886
- sourceheader: g(() => [
5887
- v.sourceTitle ? (d(), b("div", Fi, $(v.sourceTitle), 1)) : T("", !0),
5888
- k(c(ae), {
5889
- modelValue: l.value,
5907
+ sourceheader: v(() => [
5908
+ e.sourceTitle ? (d(), g("div", Fi, B(e.sourceTitle), 1)) : T("", !0),
5909
+ h(p(ie), {
5910
+ modelValue: o.value,
5890
5911
  "onUpdate:modelValue": [
5891
- S[0] || (S[0] = (F) => l.value = F),
5912
+ S[0] || (S[0] = (F) => o.value = F),
5892
5913
  r
5893
5914
  ],
5894
5915
  class: "mb-2",
@@ -5896,26 +5917,26 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5896
5917
  "data-cy": "source-search"
5897
5918
  }, null, 8, ["modelValue"])
5898
5919
  ]),
5899
- targetheader: g(() => [
5900
- v.targetTitle ? (d(), b("div", Si, $(v.targetTitle), 1)) : T("", !0),
5901
- k(c(ae), {
5920
+ targetheader: v(() => [
5921
+ e.targetTitle ? (d(), g("div", Ci, B(e.targetTitle), 1)) : T("", !0),
5922
+ h(p(ie), {
5902
5923
  modelValue: n.value,
5903
5924
  "onUpdate:modelValue": [
5904
5925
  S[1] || (S[1] = (F) => n.value = F),
5905
- w
5926
+ x
5906
5927
  ],
5907
5928
  class: "mb-2",
5908
5929
  placeholder: "Search",
5909
5930
  "data-cy": "target-search"
5910
5931
  }, null, 8, ["modelValue"])
5911
5932
  ]),
5912
- option: g(({ option: F }) => [
5913
- V($(F[v.filterBy]), 1)
5933
+ option: v(({ option: F }) => [
5934
+ O(B(F[e.filterBy]), 1)
5914
5935
  ]),
5915
5936
  _: 1
5916
5937
  }, 16, ["modelValue"]));
5917
5938
  }
5918
- }), Do = () => ({
5939
+ }), Ol = () => ({
5919
5940
  type: "component",
5920
5941
  resolve: (e) => {
5921
5942
  if (e.startsWith("Forge"))
@@ -5926,40 +5947,40 @@ const Za = { class: "d-flex justify-content-between" }, Xa = ["accept", "disable
5926
5947
  }
5927
5948
  });
5928
5949
  export {
5929
- ro as Bootstrap_PT,
5930
- po as ForgeActionButton,
5931
- re as ForgeAlert,
5932
- co as ForgeAutoComplete,
5933
- ye as ForgeCheckbox,
5934
- wo as ForgeChip,
5935
- jo as ForgeColumnCustomiser,
5936
- _o as ForgeConfirmPopup,
5937
- xe as ForgeDatepicker,
5938
- Po as ForgeFileUploader,
5939
- zo as ForgeFilterHeader,
5940
- xo as ForgeForm,
5941
- ho as ForgeFormField,
5942
- Xt as ForgeInlineEditor,
5943
- uo as ForgeLink,
5944
- pe as ForgeLoader,
5945
- fo as ForgeModal,
5950
+ dl as Bootstrap_PT,
5951
+ cl as ForgeActionButton,
5952
+ de as ForgeAlert,
5953
+ pl as ForgeAutoComplete,
5954
+ xe as ForgeCheckbox,
5955
+ wl as ForgeChip,
5956
+ jl as ForgeColumnCustomiser,
5957
+ Vl as ForgeConfirmPopup,
5958
+ he as ForgeDatepicker,
5959
+ Pl as ForgeFileUploader,
5960
+ zl as ForgeFilterHeader,
5961
+ xl as ForgeForm,
5962
+ hl as ForgeFormField,
5963
+ Qt as ForgeInlineEditor,
5964
+ ul as ForgeLink,
5965
+ me as ForgeLoader,
5966
+ fl as ForgeModal,
5946
5967
  oa as ForgeMultiSelectPreview,
5947
- go as ForgeNavbar,
5948
- bo as ForgePageHeader,
5949
- Mo as ForgePanel,
5950
- Vo as ForgePickList,
5951
- ko as ForgeProgressBar,
5952
- yo as ForgeRemainingCharacters,
5953
- Do as ForgeResolver,
5954
- Bo as ForgeScratchpad,
5955
- Io as ForgeSelectButton,
5956
- $o as ForgeStatWidget,
5957
- Fo as ForgeStepper,
5958
- Co as ForgeTable,
5959
- So as ForgeTile,
5960
- Bi as ForgeToggleButton,
5961
- To as ForgeTreeTable,
5962
- vo as convertToMultiSelectOption,
5963
- mo as enumToMultiSelectList,
5964
- Et as parseError
5968
+ gl as ForgeNavbar,
5969
+ bl as ForgePageHeader,
5970
+ Ml as ForgePanel,
5971
+ Dl as ForgePickList,
5972
+ kl as ForgeProgressBar,
5973
+ yl as ForgeRemainingCharacters,
5974
+ Ol as ForgeResolver,
5975
+ Bl as ForgeScratchpad,
5976
+ Il as ForgeSelectButton,
5977
+ $l as ForgeStatWidget,
5978
+ Sl as ForgeStepper,
5979
+ Cl as ForgeTable,
5980
+ Fl as ForgeTile,
5981
+ $i as ForgeToggleButton,
5982
+ Tl as ForgeTreeTable,
5983
+ vl as convertToMultiSelectOption,
5984
+ ml as enumToMultiSelectList,
5985
+ _t as parseError
5965
5986
  };