@3squared/forge-ui-3 0.6.0 → 0.6.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,14 +1,14 @@
1
1
  import fe from "primevue/message";
2
- import { defineComponent as $, openBlock as s, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as b, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as F, createVNode as v, renderSlot as x, ref as M, createElementBlock as p, Fragment as D, mergeProps as S, onMounted as oe, watch as ge, computed as k, isRef as j, createTextVNode as P, toDisplayString as h, withDirectives as L, vShow as Y, mergeModels as q, useModel as R, createSlots as te, renderList as H, withKeys as J, useAttrs as de, withModifiers as G, normalizeStyle as he } from "vue";
2
+ import { defineComponent as F, openBlock as s, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as b, createElementVNode as m, normalizeClass as _, unref as u, createCommentVNode as B, createVNode as v, renderSlot as k, ref as M, createElementBlock as p, Fragment as A, mergeProps as S, onMounted as oe, watch as ge, computed as x, isRef as j, createTextVNode as P, toDisplayString as h, withDirectives as L, vShow as Y, mergeModels as q, useModel as R, createSlots as te, renderList as H, withKeys as J, useAttrs as de, withModifiers as G, normalizeStyle as he } from "vue";
3
3
  import { Icon as C } from "@iconify/vue";
4
4
  import E from "primevue/button";
5
5
  import we from "primevue/toast";
6
- import ke from "primevue/checkbox";
6
+ import xe from "primevue/checkbox";
7
7
  import { useField as W } from "vee-validate";
8
- import xe from "primevue/progressspinner";
9
- import _e from "primevue/dialog";
8
+ import ke from "primevue/progressspinner";
9
+ import $e from "primevue/dialog";
10
10
  import ne from "primevue/inputtext";
11
- import { vOnClickOutside as $e } from "@vueuse/components";
11
+ import { vOnClickOutside as _e } from "@vueuse/components";
12
12
  import Fe from "primevue/menubar";
13
13
  import Be from "vue-multiselect";
14
14
  import Se from "primevue/calendar";
@@ -540,6 +540,7 @@ const Ue = {
540
540
  }, Xe = {
541
541
  // More PT options can be found in the ForgeTable file.
542
542
  dataTable: {
543
+ datatable: "position-relative",
543
544
  table: (e) => ({
544
545
  class: [
545
546
  "table position-relative",
@@ -567,9 +568,6 @@ const Ue = {
567
568
  }),
568
569
  loadingOverlay: () => ({
569
570
  class: "table-overlay table-spinner"
570
- }),
571
- loadingIcon: () => ({
572
- class: "spinner-border border-0"
573
571
  })
574
572
  },
575
573
  paginator: {
@@ -817,7 +815,7 @@ const Ue = {
817
815
  };
818
816
  }
819
817
  }
820
- }, il = {
818
+ }, sl = {
821
819
  ...Qe,
822
820
  ...Ue,
823
821
  ...ot,
@@ -847,7 +845,7 @@ const Ue = {
847
845
  directives: {
848
846
  ...tt
849
847
  }
850
- }, ae = /* @__PURE__ */ $({
848
+ }, ae = /* @__PURE__ */ F({
851
849
  __name: "ForgeAlert",
852
850
  props: {
853
851
  severity: { default: "primary" },
@@ -868,28 +866,28 @@ const Ue = {
868
866
  return s(), w(l, Q(ee({ ...n.$attrs, ...t })), {
869
867
  messageicon: b(() => [
870
868
  m("div", {
871
- class: B(t.icon ? "me-2 pe-1" : "")
869
+ class: _(t.icon ? "me-2 pe-1" : "")
872
870
  }, [
873
871
  t.icon ? (s(), w(u(C), {
874
872
  key: 0,
875
873
  "data-cy": "message-icon",
876
874
  icon: t.icon,
877
- class: B(`text-${t.severity}`),
875
+ class: _(`text-${t.severity}`),
878
876
  height: 35
879
- }, null, 8, ["icon", "class"])) : F("", !0)
877
+ }, null, 8, ["icon", "class"])) : B("", !0)
880
878
  ], 2)
881
879
  ]),
882
880
  closeicon: b(() => [
883
881
  v(u(C), { icon: "bi:x" })
884
882
  ]),
885
883
  default: b(() => [
886
- x(n.$slots, "default")
884
+ k(n.$slots, "default")
887
885
  ]),
888
886
  _: 3
889
887
  }, 16);
890
888
  };
891
889
  }
892
- }), rl = /* @__PURE__ */ $({
890
+ }), il = /* @__PURE__ */ F({
893
891
  __name: "ForgeActionButton",
894
892
  props: {
895
893
  action: {},
@@ -909,7 +907,7 @@ const Ue = {
909
907
  };
910
908
  return (l, o) => {
911
909
  const i = E;
912
- return s(), p(D, null, [
910
+ return s(), p(A, null, [
913
911
  v(i, S({ ...n, ...l.$attrs }, {
914
912
  loading: t.value,
915
913
  disabled: t.value || n.disabled,
@@ -919,7 +917,7 @@ const Ue = {
919
917
  ], 64);
920
918
  };
921
919
  }
922
- }), rt = /* @__PURE__ */ m("div", null, null, -1), dt = ["for"], me = /* @__PURE__ */ $({
920
+ }), rt = /* @__PURE__ */ m("div", null, null, -1), dt = ["for"], me = /* @__PURE__ */ F({
923
921
  __name: "ForgeCheckbox",
924
922
  props: {
925
923
  label: { default: "" },
@@ -958,15 +956,15 @@ const Ue = {
958
956
  }), ge(() => a.value, (y) => {
959
957
  i(y);
960
958
  });
961
- const g = k(() => d.value.length > 0);
959
+ const g = x(() => d.value.length > 0);
962
960
  return (y, c) => {
963
- const _ = ke;
964
- return s(), p(D, null, [
961
+ const $ = xe;
962
+ return s(), p(A, null, [
965
963
  m("div", S({
966
964
  class: "d-flex",
967
965
  "data-cy": "checkbox-container"
968
966
  }, { ...y.$attrs }), [
969
- v(_, S({
967
+ v($, S({
970
968
  id: a.name
971
969
  }, { ...a }, {
972
970
  modelValue: u(l),
@@ -981,10 +979,10 @@ const Ue = {
981
979
  }, 16, ["id", "modelValue", "input-class"]),
982
980
  m("label", {
983
981
  for: a.name,
984
- class: B(`${a.disabled ? "opacity-50" : "cursor-pointer"}`),
982
+ class: _(`${a.disabled ? "opacity-50" : "cursor-pointer"}`),
985
983
  onClick: r
986
984
  }, [
987
- x(y.$slots, "default", {}, () => [
985
+ k(y.$slots, "default", {}, () => [
988
986
  P(h(a.label), 1)
989
987
  ])
990
988
  ], 10, dt)
@@ -998,7 +996,7 @@ const Ue = {
998
996
  ], 64);
999
997
  };
1000
998
  }
1001
- }), ut = { class: "forge-loader" }, pe = /* @__PURE__ */ $({
999
+ }), ut = { class: "forge-loader" }, pe = /* @__PURE__ */ F({
1002
1000
  __name: "ForgeLoader",
1003
1001
  props: {
1004
1002
  severity: { default: "primary" }
@@ -1006,16 +1004,16 @@ const Ue = {
1006
1004
  setup(e) {
1007
1005
  const t = e;
1008
1006
  return (n, a) => {
1009
- const l = xe;
1007
+ const l = ke;
1010
1008
  return s(), p("div", ut, [
1011
1009
  v(l, {
1012
1010
  "animation-duration": ".75",
1013
- class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1011
+ class: _(`text-${t.severity === void 0 ? "primary" : t.severity}`)
1014
1012
  }, null, 8, ["class"])
1015
1013
  ]);
1016
1014
  };
1017
1015
  }
1018
- }), ct = ["href", "target"], dl = /* @__PURE__ */ $({
1016
+ }), ct = ["href", "target"], rl = /* @__PURE__ */ F({
1019
1017
  __name: "ForgeLink",
1020
1018
  props: {
1021
1019
  url: {},
@@ -1033,7 +1031,7 @@ const Ue = {
1033
1031
  iconName: {}
1034
1032
  },
1035
1033
  setup(e) {
1036
- const t = k(() => ({
1034
+ const t = x(() => ({
1037
1035
  [`link-${e.severity}`]: e.severity,
1038
1036
  [`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
1039
1037
  [`link-opacity-${e.opacity}`]: e.opacity,
@@ -1042,7 +1040,7 @@ const Ue = {
1042
1040
  [`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
1043
1041
  [`link-offset-${e.underlineOffset}`]: e.underlineOffset,
1044
1042
  "icon-link icon-link-hover": e.animateIconOnHover
1045
- })), n = k(() => ({
1043
+ })), n = x(() => ({
1046
1044
  "order-2": e.positionIconEnd,
1047
1045
  "me-1": !e.positionIconEnd && !e.animateIconOnHover,
1048
1046
  "ms-1": e.positionIconEnd && !e.animateIconOnHover,
@@ -1051,17 +1049,17 @@ const Ue = {
1051
1049
  }));
1052
1050
  return (a, l) => (s(), p("a", {
1053
1051
  id: "link",
1054
- class: B(["cursor-pointer d-flex", t.value]),
1052
+ class: _(["cursor-pointer d-flex", t.value]),
1055
1053
  href: a.url,
1056
1054
  target: a.target
1057
1055
  }, [
1058
- x(a.$slots, "default", {}, () => [
1056
+ k(a.$slots, "default", {}, () => [
1059
1057
  a.iconName ? (s(), w(u(C), {
1060
1058
  key: 0,
1061
1059
  id: "link-icon",
1062
1060
  icon: a.iconName,
1063
- class: B(["bi my-auto", n.value])
1064
- }, null, 8, ["icon", "class"])) : F("", !0),
1061
+ class: _(["bi my-auto", n.value])
1062
+ }, null, 8, ["icon", "class"])) : B("", !0),
1065
1063
  P(" " + h(a.label), 1)
1066
1064
  ])
1067
1065
  ], 10, ct));
@@ -1081,7 +1079,7 @@ function mt(e) {
1081
1079
  const pt = { key: 0 }, yt = {
1082
1080
  class: "d-flex w-100",
1083
1081
  "data-cy": "footer"
1084
- }, ul = /* @__PURE__ */ $({
1082
+ }, dl = /* @__PURE__ */ F({
1085
1083
  __name: "ForgeModal",
1086
1084
  props: /* @__PURE__ */ q({
1087
1085
  cancelText: { default: "Cancel" },
@@ -1147,7 +1145,7 @@ const pt = { key: 0 }, yt = {
1147
1145
  }
1148
1146
  l.value = !1;
1149
1147
  }
1150
- }, g = k(() => ({
1148
+ }, g = x(() => ({
1151
1149
  root: [
1152
1150
  "modal modal-dialog modal-content h-auto m-0",
1153
1151
  {
@@ -1156,7 +1154,7 @@ const pt = { key: 0 }, yt = {
1156
1154
  ]
1157
1155
  }));
1158
1156
  return (y, c) => {
1159
- const _ = E, V = _e;
1157
+ const $ = E, V = $e;
1160
1158
  return s(), w(V, S(a, {
1161
1159
  onMaximize: d,
1162
1160
  onUnmaximize: i,
@@ -1191,34 +1189,34 @@ const pt = { key: 0 }, yt = {
1191
1189
  }, {
1192
1190
  default: b(() => [
1193
1191
  m("p", {
1194
- class: B(o.value.message.length > 0 ? "my-auto" : "mb-0")
1192
+ class: _(o.value.message.length > 0 ? "my-auto" : "mb-0")
1195
1193
  }, h(o.value.header), 3),
1196
1194
  o.value.message.length > 0 ? (s(), p("ul", pt, [
1197
- (s(!0), p(D, null, H(o.value.message, (N) => (s(), p("li", { key: N }, h(N), 1))), 128))
1198
- ])) : F("", !0)
1195
+ (s(!0), p(A, null, H(o.value.message, (N) => (s(), p("li", { key: N }, h(N), 1))), 128))
1196
+ ])) : B("", !0)
1199
1197
  ]),
1200
1198
  _: 1
1201
- })) : F("", !0),
1202
- x(y.$slots, I, Q(ee(z || {}))),
1203
- l.value ? x(y.$slots, "loader", { key: 1 }, () => [
1199
+ })) : B("", !0),
1200
+ k(y.$slots, I, Q(ee(z || {}))),
1201
+ l.value ? k(y.$slots, "loader", { key: 1 }, () => [
1204
1202
  v(pe, { "data-cy": "loader" })
1205
- ]) : F("", !0)
1203
+ ]) : B("", !0)
1206
1204
  ])
1207
1205
  })),
1208
1206
  y.showFooter ? {
1209
1207
  name: "footer",
1210
1208
  fn: b(() => [
1211
1209
  m("div", yt, [
1212
- v(_, {
1210
+ v($, {
1213
1211
  label: y.cancelText,
1214
- class: B(a.cancelClass),
1212
+ class: _(a.cancelClass),
1215
1213
  outlined: "",
1216
1214
  onClick: f,
1217
1215
  id: "cancel-button"
1218
1216
  }, null, 8, ["label", "class"]),
1219
- v(_, {
1217
+ v($, {
1220
1218
  label: y.submitText,
1221
- class: B([a.submitClass, "ms-auto"]),
1219
+ class: _([a.submitClass, "ms-auto"]),
1222
1220
  onClick: r,
1223
1221
  id: "submit-button"
1224
1222
  }, null, 8, ["label", "class"])
@@ -1229,7 +1227,7 @@ const pt = { key: 0 }, yt = {
1229
1227
  ]), 1040, ["pt"]);
1230
1228
  };
1231
1229
  }
1232
- }), vt = ["id"], bt = { key: 0 }, ft = { key: 0 }, gt = { class: "d-flex justify-content-between align-items-center position-relative" }, ht = { key: 1 }, wt = { "data-cy": "readonly-value" }, kt = /* @__PURE__ */ $({
1230
+ }), vt = ["id"], bt = { key: 0 }, ft = { key: 0 }, gt = { class: "d-flex justify-content-between align-items-center position-relative" }, ht = { key: 1 }, wt = { "data-cy": "readonly-value" }, xt = /* @__PURE__ */ F({
1233
1231
  __name: "ForgeInlineEditor",
1234
1232
  props: /* @__PURE__ */ q({
1235
1233
  name: { default: "" },
@@ -1246,8 +1244,8 @@ const pt = { key: 0 }, yt = {
1246
1244
  emits: ["update:modelValue"],
1247
1245
  setup(e) {
1248
1246
  const t = e, n = R(e, "modelValue"), a = M(!1), l = M(), o = () => {
1249
- var _;
1250
- a.value = !a.value, (_ = l.value) == null || _.focus();
1247
+ var $;
1248
+ a.value = !a.value, ($ = l.value) == null || $.focus();
1251
1249
  }, i = async () => {
1252
1250
  if (c.value)
1253
1251
  return !1;
@@ -1267,21 +1265,21 @@ const pt = { key: 0 }, yt = {
1267
1265
  oe(() => {
1268
1266
  y.value = n.value;
1269
1267
  });
1270
- const c = k(() => g.value.length > 0);
1271
- return (_, V) => {
1268
+ const c = x(() => g.value.length > 0);
1269
+ return ($, V) => {
1272
1270
  const T = ne, I = E;
1273
1271
  return s(), p("div", {
1274
1272
  id: t.name
1275
1273
  }, [
1276
- _.readonly ? (s(), p("div", ht, [
1277
- x(_.$slots, "default", {}, () => [
1274
+ $.readonly ? (s(), p("div", ht, [
1275
+ k($.$slots, "default", {}, () => [
1278
1276
  m("span", wt, h(u(y)), 1)
1279
1277
  ])
1280
1278
  ])) : (s(), p("div", bt, [
1281
1279
  a.value ? (s(), p("div", ft, [
1282
1280
  L((s(), p("div", gt, [
1283
- x(_.$slots, "editor", {
1284
- class: B({ "is-invalid": c.value }),
1281
+ k($.$slots, "editor", {
1282
+ class: _({ "is-invalid": c.value }),
1285
1283
  editFinished: i,
1286
1284
  cancel: d,
1287
1285
  val: u(y)
@@ -1293,7 +1291,7 @@ const pt = { key: 0 }, yt = {
1293
1291
  modelValue: u(y),
1294
1292
  "onUpdate:modelValue": V[0] || (V[0] = (z) => j(y) ? y.value = z : null),
1295
1293
  modelModifiers: { trim: !0 },
1296
- class: B({ "is-invalid": c.value }),
1294
+ class: _({ "is-invalid": c.value }),
1297
1295
  onKeydown: [
1298
1296
  J(i, ["enter"]),
1299
1297
  J(d, ["esc"])
@@ -1308,7 +1306,7 @@ const pt = { key: 0 }, yt = {
1308
1306
  "data-cy": "clear-icon"
1309
1307
  })
1310
1308
  ])), [
1311
- [u($e), i]
1309
+ [u(_e), i]
1312
1310
  ])
1313
1311
  ])) : (s(), p("div", {
1314
1312
  key: 1,
@@ -1316,9 +1314,9 @@ const pt = { key: 0 }, yt = {
1316
1314
  onClick: o,
1317
1315
  onFocus: o
1318
1316
  }, [
1319
- x(_.$slots, "default", {}, () => [
1317
+ k($.$slots, "default", {}, () => [
1320
1318
  m("div", {
1321
- class: B(["pe-2 cursor-pointer", { "text-invalid": c.value }]),
1319
+ class: _(["pe-2 cursor-pointer", { "text-invalid": c.value }]),
1322
1320
  "data-cy": "value"
1323
1321
  }, h(u(y) ? u(y) : "Click to edit"), 3)
1324
1322
  ]),
@@ -1329,7 +1327,7 @@ const pt = { key: 0 }, yt = {
1329
1327
  default: b(() => [
1330
1328
  v(u(C), {
1331
1329
  icon: "bi:pencil",
1332
- class: B(c.value ? "text-invalid" : "text-muted"),
1330
+ class: _(c.value ? "text-invalid" : "text-muted"),
1333
1331
  "data-cy": "edit-icon",
1334
1332
  onKeydown: J(o, ["enter"])
1335
1333
  }, null, 8, ["class"])
@@ -1347,7 +1345,7 @@ const pt = { key: 0 }, yt = {
1347
1345
  ], 8, vt);
1348
1346
  };
1349
1347
  }
1350
- }), xt = ["href"], cl = /* @__PURE__ */ $({
1348
+ }), kt = ["href"], ul = /* @__PURE__ */ F({
1351
1349
  __name: "ForgeNavbar",
1352
1350
  props: {
1353
1351
  severity: { default: "light" },
@@ -1364,7 +1362,7 @@ const pt = { key: 0 }, yt = {
1364
1362
  unstyled: { type: Boolean }
1365
1363
  },
1366
1364
  setup(e) {
1367
- const t = e, n = k(() => ({
1365
+ const t = e, n = x(() => ({
1368
1366
  root: () => ({
1369
1367
  class: [
1370
1368
  "navbar container-fluid navbar-expand-lg",
@@ -1403,16 +1401,16 @@ const pt = { key: 0 }, yt = {
1403
1401
  class: "navbar-brand ms-3",
1404
1402
  "data-cy": "logo"
1405
1403
  }, [
1406
- x(a.$slots, "logo", {}, () => [
1404
+ k(a.$slots, "logo", {}, () => [
1407
1405
  P(" Logo ")
1408
1406
  ])
1409
- ], 8, xt)
1407
+ ], 8, kt)
1410
1408
  ]),
1411
1409
  menubuttonicon: b(() => [
1412
- x(a.$slots, "menubuttonicon", {}, () => [
1410
+ k(a.$slots, "menubuttonicon", {}, () => [
1413
1411
  v(u(C), {
1414
1412
  icon: "bi:list",
1415
- class: B(t.severity === "light" ? "text-black" : "text-white"),
1413
+ class: _(t.severity === "light" ? "text-black" : "text-white"),
1416
1414
  height: "24",
1417
1415
  "data-cy": "burger-icon"
1418
1416
  }, null, 8, ["class"])
@@ -1423,13 +1421,13 @@ const pt = { key: 0 }, yt = {
1423
1421
  H(a.$slots, (i, d) => ({
1424
1422
  name: d,
1425
1423
  fn: b((f) => [
1426
- x(a.$slots, d, Q(ee(f)))
1424
+ k(a.$slots, d, Q(ee(f)))
1427
1425
  ])
1428
1426
  }))
1429
1427
  ]), 1040, ["pt"]);
1430
1428
  };
1431
1429
  }
1432
- }), _t = /* @__PURE__ */ m("div", { class: "ps-1" }, "Select all", -1), $t = ["data-cy"], Ft = { class: "ps-1 w-100" }, Bt = { class: "multiselect__tag d-inline-flex" }, St = { class: "my-auto" }, Ct = /* @__PURE__ */ $({
1430
+ }), $t = /* @__PURE__ */ m("div", { class: "ps-1" }, "Select all", -1), _t = ["data-cy"], Ft = { class: "ps-1 w-100" }, Bt = { class: "multiselect__tag d-inline-flex" }, St = { class: "my-auto" }, Ct = /* @__PURE__ */ F({
1433
1431
  __name: "ForgeMultiSelect",
1434
1432
  props: {
1435
1433
  severity: { default: "primary" },
@@ -1442,13 +1440,13 @@ const pt = { key: 0 }, yt = {
1442
1440
  },
1443
1441
  emits: ["update:modelValue"],
1444
1442
  setup(e, { emit: t }) {
1445
- const n = e, a = (U, O) => {
1443
+ const n = e, a = (D, O) => {
1446
1444
  const Z = {
1447
1445
  ...O,
1448
1446
  $isDisabled: O.$isDisabled ?? !1
1449
1447
  };
1450
- U(Z);
1451
- }, l = de(), o = t, { errors: i, value: d, errorMessage: f } = W(() => n.name, n.rules), r = M(!1), g = k(() => ({
1448
+ D(Z);
1449
+ }, l = de(), o = t, { errors: i, value: d, errorMessage: f } = W(() => n.name, n.rules), r = M(!1), g = x(() => ({
1452
1450
  multiple: !0,
1453
1451
  label: "label",
1454
1452
  trackBy: "id",
@@ -1461,26 +1459,26 @@ const pt = { key: 0 }, yt = {
1461
1459
  searchable: !!(l.searchable === null || l.searchable) && l.modelValue.length === l.options.length,
1462
1460
  async: !1,
1463
1461
  ...l
1464
- })), y = k(() => `forge-multiselect-${n.severity}`), c = k(() => `multiselect__option ${r.value ? " multiselect__option--highlight" : ""} ${_.value ? " multiselect__option--selected" : ""}`), _ = k(() => g.value && !(g.value.multiple || !n.showSelectAll || g.value.async) ? !1 : l.modelValue.length === l.options.length), V = k(() => i.value.length > 0), T = k(() => !!((l.allowEmpty == null || l.allowEmpty) && n.showClearSelection && (g.value.multiple ? l.modelValue.length > 0 : l.modelValue))), I = () => r.value = !0, z = () => r.value = !1, N = () => {
1462
+ })), y = x(() => `forge-multiselect-${n.severity}`), c = x(() => `multiselect__option ${r.value ? " multiselect__option--highlight" : ""} ${$.value ? " multiselect__option--selected" : ""}`), $ = x(() => g.value && !(g.value.multiple || !n.showSelectAll || g.value.async) ? !1 : l.modelValue.length === l.options.length), V = x(() => i.value.length > 0), T = x(() => !!((l.allowEmpty == null || l.allowEmpty) && n.showClearSelection && (g.value.multiple ? l.modelValue.length > 0 : l.modelValue))), I = () => r.value = !0, z = () => r.value = !1, N = () => {
1465
1463
  d.value = g.value.multiple ? [] : null, o("update:modelValue", d.value);
1466
- }, le = (U) => {
1467
- o("update:modelValue", n.selectValue ? U.map((O) => O[n.selectValue]) : U);
1468
- }, ve = (U) => l.modelValue !== null ? l.modelValue.some((O) => g.value.selectValue ? U[n.selectValue] === O : U.id === O.id && U.label === O.label) : !1, be = () => {
1469
- _.value ? N() : (d.value = [...l.options], o("update:modelValue", [...l.options]));
1464
+ }, le = (D) => {
1465
+ o("update:modelValue", n.selectValue ? D.map((O) => O[n.selectValue]) : D);
1466
+ }, ve = (D) => l.modelValue !== null ? l.modelValue.some((O) => g.value.selectValue ? D[n.selectValue] === O : D.id === O.id && D.label === O.label) : !1, be = () => {
1467
+ $.value ? N() : (d.value = [...l.options], o("update:modelValue", [...l.options]));
1470
1468
  };
1471
- return (U, O) => {
1469
+ return (D, O) => {
1472
1470
  const Z = me;
1473
- return s(), p(D, null, [
1471
+ return s(), p(A, null, [
1474
1472
  v(u(Be), S(g.value, {
1475
1473
  class: [y.value, V.value ? "is-invalid" : ""],
1476
1474
  "data-cy": "multiselect",
1477
1475
  "onUpdate:modelValue": [
1478
1476
  le,
1479
- O[1] || (O[1] = (A) => j(d) ? d.value = A : null)
1477
+ O[1] || (O[1] = (U) => j(d) ? d.value = U : null)
1480
1478
  ],
1481
1479
  modelValue: u(d)
1482
1480
  }), te({
1483
- caret: b(({ toggle: A }) => [
1481
+ caret: b(({ toggle: U }) => [
1484
1482
  T.value ? (s(), w(u(C), {
1485
1483
  key: 0,
1486
1484
  icon: "bi:x",
@@ -1489,31 +1487,31 @@ const pt = { key: 0 }, yt = {
1489
1487
  "data-cy": "clear",
1490
1488
  height: "18px",
1491
1489
  width: "18px"
1492
- })) : F("", !0),
1490
+ })) : B("", !0),
1493
1491
  v(u(C), {
1494
1492
  icon: "bi:chevron-down",
1495
- onClick: A,
1493
+ onClick: U,
1496
1494
  class: "multiselect__select"
1497
1495
  }, null, 8, ["onClick"])
1498
1496
  ]),
1499
- tag: b(({ option: A, remove: K }) => [
1497
+ tag: b(({ option: U, remove: K }) => [
1500
1498
  m("div", Bt, [
1501
- m("div", St, h(A.label), 1),
1499
+ m("div", St, h(U.label), 1),
1502
1500
  v(u(C), {
1503
1501
  icon: "bi:x",
1504
1502
  class: "my-auto multiselect__tag-icon",
1505
- onMousedown: G((za) => a(K, A), ["prevent", "stop"]),
1503
+ onMousedown: G((Ia) => a(K, U), ["prevent", "stop"]),
1506
1504
  height: "18px",
1507
1505
  width: "18px"
1508
1506
  }, null, 8, ["onMousedown"])
1509
1507
  ])
1510
1508
  ]),
1511
1509
  default: b(() => [
1512
- (s(!0), p(D, null, H(U.$slots, (A, K) => x(U.$slots, K, { slot: K })), 256))
1510
+ (s(!0), p(A, null, H(D.$slots, (U, K) => k(D.$slots, K, { slot: K })), 256))
1513
1511
  ]),
1514
1512
  _: 2
1515
1513
  }, [
1516
- g.value.multiple && U.showSelectAll && !g.value.async ? {
1514
+ g.value.multiple && D.showSelectAll && !g.value.async ? {
1517
1515
  name: "beforeList",
1518
1516
  fn: b(() => [
1519
1517
  m("li", {
@@ -1524,11 +1522,11 @@ const pt = { key: 0 }, yt = {
1524
1522
  "data-cy": "toggle-all"
1525
1523
  }, [
1526
1524
  m("span", {
1527
- class: B(`${c.value}`)
1525
+ class: _(`${c.value}`)
1528
1526
  }, [
1529
- v(Z, { value: _.value }, {
1527
+ v(Z, { value: $.value }, {
1530
1528
  default: b(() => [
1531
- _t
1529
+ $t
1532
1530
  ]),
1533
1531
  _: 1
1534
1532
  }, 8, ["value"])
@@ -1539,20 +1537,20 @@ const pt = { key: 0 }, yt = {
1539
1537
  } : void 0,
1540
1538
  g.value.multiple ? {
1541
1539
  name: "option",
1542
- fn: b(({ option: A }) => [
1540
+ fn: b(({ option: U }) => [
1543
1541
  m("div", {
1544
- "data-cy": A.label
1542
+ "data-cy": U.label
1545
1543
  }, [
1546
1544
  (s(), w(Z, {
1547
- value: ve(A),
1548
- key: A
1545
+ value: ve(U),
1546
+ key: U
1549
1547
  }, {
1550
1548
  default: b(() => [
1551
- m("div", Ft, h(A[g.value.label]), 1)
1549
+ m("div", Ft, h(U[g.value.label]), 1)
1552
1550
  ]),
1553
1551
  _: 2
1554
1552
  }, 1032, ["value"]))
1555
- ], 8, $t)
1553
+ ], 8, _t)
1556
1554
  ]),
1557
1555
  key: "1"
1558
1556
  } : void 0
@@ -1576,7 +1574,7 @@ const pt = { key: 0 }, yt = {
1576
1574
  }, Pt = { class: "d-inline-block" }, It = {
1577
1575
  key: 1,
1578
1576
  class: "p-2 item d-flex justify-content-between align-items-center"
1579
- }, ml = /* @__PURE__ */ $({
1577
+ }, cl = /* @__PURE__ */ F({
1580
1578
  __name: "ForgeMultiSelectPreview",
1581
1579
  props: {
1582
1580
  title: { default: "Selected Items" },
@@ -1587,7 +1585,7 @@ const pt = { key: 0 }, yt = {
1587
1585
  },
1588
1586
  emits: ["update:modelValue"],
1589
1587
  setup(e, { emit: t }) {
1590
- const n = e, a = de(), l = t, o = k(() => `${a.modelValue.length} selected`), i = k(() => a.modelValue.length), d = (r) => {
1588
+ const n = e, a = de(), l = t, o = x(() => `${a.modelValue.length} selected`), i = x(() => a.modelValue.length), d = (r) => {
1591
1589
  l("update:modelValue", r);
1592
1590
  }, f = (r) => {
1593
1591
  d(a.modelValue.filter((g) => g.id !== r));
@@ -1595,11 +1593,11 @@ const pt = { key: 0 }, yt = {
1595
1593
  return (r, g) => {
1596
1594
  const y = E;
1597
1595
  return s(), p("div", {
1598
- class: B(r.orientation === "column" ? "row" : ""),
1596
+ class: _(r.orientation === "column" ? "row" : ""),
1599
1597
  "data-cy": "multiselect-preview"
1600
1598
  }, [
1601
1599
  m("div", {
1602
- class: B(r.orientation === "row" ? "col-12 mb-1" : "col"),
1600
+ class: _(r.orientation === "row" ? "col-12 mb-1" : "col"),
1603
1601
  "data-cy": "multiselect-container"
1604
1602
  }, [
1605
1603
  v(Ct, {
@@ -1615,17 +1613,17 @@ const pt = { key: 0 }, yt = {
1615
1613
  P(h(""))
1616
1614
  ]),
1617
1615
  selection: b(() => [
1618
- r.$attrs.modelValue.length > 0 ? (s(), p("span", Vt, h(i.value) + " items selected", 1)) : F("", !0)
1616
+ r.$attrs.modelValue.length > 0 ? (s(), p("span", Vt, h(i.value) + " items selected", 1)) : B("", !0)
1619
1617
  ]),
1620
1618
  default: b(() => [
1621
- (s(!0), p(D, null, H(r.$slots, (c, _) => x(r.$slots, _, { slot: _ })), 256))
1619
+ (s(!0), p(A, null, H(r.$slots, (c, $) => k(r.$slots, $, { slot: $ })), 256))
1622
1620
  ]),
1623
1621
  _: 3
1624
1622
  }, 8, ["modelValue", "limit-text", "options"]),
1625
- x(r.$slots, "after-multi-select")
1623
+ k(r.$slots, "after-multi-select")
1626
1624
  ], 2),
1627
1625
  m("div", {
1628
- class: B(r.orientation === "row" ? "col-12" : "col"),
1626
+ class: _(r.orientation === "row" ? "col-12" : "col"),
1629
1627
  "data-cy": "options-preview"
1630
1628
  }, [
1631
1629
  m("div", {
@@ -1633,19 +1631,19 @@ const pt = { key: 0 }, yt = {
1633
1631
  class: "overflow-auto"
1634
1632
  }, [
1635
1633
  m("div", Tt, [
1636
- r.title ? (s(), p("div", Mt, h(r.title), 1)) : F("", !0),
1637
- (s(!0), p(D, null, H(r.$attrs.modelValue, (c) => (s(), p("div", {
1634
+ r.title ? (s(), p("div", Mt, h(r.title), 1)) : B("", !0),
1635
+ (s(!0), p(A, null, H(r.$attrs.modelValue, (c) => (s(), p("div", {
1638
1636
  key: c.id,
1639
1637
  class: "p-2 item d-flex justify-content-between align-items-center"
1640
1638
  }, [
1641
- x(r.$slots, "list-item", { item: c }, () => [
1639
+ k(r.$slots, "list-item", { item: c }, () => [
1642
1640
  m("span", Pt, h(c.shortLabel ? c.shortLabel : c.label), 1)
1643
1641
  ]),
1644
1642
  r.canRemoveItemFromPreview ? (s(), w(y, {
1645
1643
  key: 0,
1646
1644
  link: "",
1647
1645
  class: "m-0 p-0 d-flex align-items-center",
1648
- onClick: (_) => f(c.id)
1646
+ onClick: ($) => f(c.id)
1649
1647
  }, {
1650
1648
  default: b(() => [
1651
1649
  v(u(C), {
@@ -1655,9 +1653,9 @@ const pt = { key: 0 }, yt = {
1655
1653
  }, null, 8, ["data-cy"])
1656
1654
  ]),
1657
1655
  _: 2
1658
- }, 1032, ["onClick"])) : F("", !0)
1656
+ }, 1032, ["onClick"])) : B("", !0)
1659
1657
  ]))), 128)),
1660
- r.$attrs.modelValue.length === 0 ? (s(), p("div", It, "No Items Selected.")) : F("", !0)
1658
+ r.$attrs.modelValue.length === 0 ? (s(), p("div", It, "No Items Selected.")) : B("", !0)
1661
1659
  ])
1662
1660
  ], 4)
1663
1661
  ], 2)
@@ -1670,7 +1668,7 @@ const pt = { key: 0 }, yt = {
1670
1668
  }, Dt = {
1671
1669
  "data-cy": "slot",
1672
1670
  class: "d-flex align-items-center"
1673
- }, pl = /* @__PURE__ */ $({
1671
+ }, ml = /* @__PURE__ */ F({
1674
1672
  __name: "ForgePageHeader",
1675
1673
  props: {
1676
1674
  title: {}
@@ -1680,11 +1678,11 @@ const pt = { key: 0 }, yt = {
1680
1678
  return (n, a) => (s(), p("div", zt, [
1681
1679
  m("h3", Ot, h(t.title), 1),
1682
1680
  m("div", Dt, [
1683
- x(n.$slots, "default")
1681
+ k(n.$slots, "default")
1684
1682
  ])
1685
1683
  ]));
1686
1684
  }
1687
- }), Ut = { "data-cy": "before-slot" }, At = { class: "position-relative" }, Nt = { "data-cy": "after-slot" }, Et = /* @__PURE__ */ $({
1685
+ }), Ut = { "data-cy": "before-slot" }, At = { class: "position-relative" }, Nt = { "data-cy": "after-slot" }, Et = /* @__PURE__ */ F({
1688
1686
  __name: "ForgeDatepicker",
1689
1687
  props: /* @__PURE__ */ q({
1690
1688
  severity: { default: "primary" },
@@ -1758,7 +1756,7 @@ const pt = { key: 0 }, yt = {
1758
1756
  setup(e) {
1759
1757
  const t = e, n = R(e, "modelValue"), a = () => {
1760
1758
  n.value = null;
1761
- }, l = k(() => ({
1759
+ }, l = x(() => ({
1762
1760
  day: ({ context: o }) => ({
1763
1761
  class: [
1764
1762
  `text-center date-${t.severity === void 0 ? "primary" : t.severity}`,
@@ -1851,9 +1849,9 @@ const pt = { key: 0 }, yt = {
1851
1849
  }));
1852
1850
  return (o, i) => {
1853
1851
  const d = Se;
1854
- return s(), p(D, null, [
1852
+ return s(), p(A, null, [
1855
1853
  m("span", Ut, [
1856
- x(o.$slots, "before")
1854
+ k(o.$slots, "before")
1857
1855
  ]),
1858
1856
  m("div", At, [
1859
1857
  v(d, S({ ...t, ...o.$attrs }, {
@@ -1872,30 +1870,30 @@ const pt = { key: 0 }, yt = {
1872
1870
  "data-cy": "icon",
1873
1871
  icon: "bi:x",
1874
1872
  onClick: a,
1875
- class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer", t.showIcon ? "datepicker-close-icon" : "me-2"])
1873
+ class: _(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer", t.showIcon ? "datepicker-close-icon" : "me-2"])
1876
1874
  }, null, 8, ["class"]), [
1877
1875
  [Y, t.modelValue]
1878
1876
  ])
1879
1877
  ]),
1880
1878
  m("span", Nt, [
1881
- x(o.$slots, "after")
1879
+ k(o.$slots, "after")
1882
1880
  ])
1883
1881
  ], 64);
1884
1882
  };
1885
1883
  }
1886
- }), yl = /* @__PURE__ */ $({
1884
+ }), pl = /* @__PURE__ */ F({
1887
1885
  __name: "ForgeRemainingCharacters",
1888
1886
  props: {
1889
1887
  maxCount: { default: 300 },
1890
1888
  currentCount: {}
1891
1889
  },
1892
1890
  setup(e) {
1893
- const t = e, n = k(() => t.maxCount - t.currentCount);
1891
+ const t = e, n = x(() => t.maxCount - t.currentCount);
1894
1892
  return (a, l) => (s(), p("div", {
1895
- class: B(n.value < 0 ? "text-danger" : "")
1893
+ class: _(n.value < 0 ? "text-danger" : "")
1896
1894
  }, "Remaining characters: " + h(n.value), 3));
1897
1895
  }
1898
- }), Rt = /* @__PURE__ */ m("hr", null, null, -1), Lt = { class: "d-flex justify-content-between" }, vl = /* @__PURE__ */ $({
1896
+ }), Rt = /* @__PURE__ */ m("hr", null, null, -1), Lt = { class: "d-flex justify-content-between" }, yl = /* @__PURE__ */ F({
1899
1897
  __name: "ForgeForm",
1900
1898
  props: {
1901
1899
  onSubmit: {},
@@ -1927,10 +1925,10 @@ const pt = { key: 0 }, yt = {
1927
1925
  class: "position-relative shadow-sm border p-4 bg-white",
1928
1926
  onSubmit: G(l, ["prevent"])
1929
1927
  }), [
1930
- o.hideTitle ? F("", !0) : (s(), p(D, { key: 0 }, [
1931
- x(o.$slots, "title", {}, () => [
1928
+ o.hideTitle ? B("", !0) : (s(), p(A, { key: 0 }, [
1929
+ k(o.$slots, "title", {}, () => [
1932
1930
  m("h3", {
1933
- class: B(o.titleClass),
1931
+ class: _(o.titleClass),
1934
1932
  "data-cy": "form-title"
1935
1933
  }, h(o.title), 3)
1936
1934
  ]),
@@ -1942,18 +1940,18 @@ const pt = { key: 0 }, yt = {
1942
1940
  "data-cy": "error"
1943
1941
  }, {
1944
1942
  default: b(() => [
1945
- x(o.$slots, "error", {
1943
+ k(o.$slots, "error", {
1946
1944
  error: a.value.message
1947
1945
  }, () => [
1948
1946
  P(h(a.value.message), 1)
1949
1947
  ])
1950
1948
  ]),
1951
1949
  _: 3
1952
- })) : F("", !0),
1953
- x(o.$slots, "default"),
1950
+ })) : B("", !0),
1951
+ k(o.$slots, "default"),
1954
1952
  m("div", Lt, [
1955
- x(o.$slots, "cancel", {}, () => [
1956
- o.hideCancel ? F("", !0) : (s(), w(d, {
1953
+ k(o.$slots, "cancel", {}, () => [
1954
+ o.hideCancel ? B("", !0) : (s(), w(d, {
1957
1955
  key: 0,
1958
1956
  "data-cy": "cancel-btn",
1959
1957
  type: "reset",
@@ -1967,7 +1965,7 @@ const pt = { key: 0 }, yt = {
1967
1965
  _: 1
1968
1966
  }))
1969
1967
  ]),
1970
- x(o.$slots, "submit", { submit: l }, () => [
1968
+ k(o.$slots, "submit", { submit: l }, () => [
1971
1969
  v(d, {
1972
1970
  "data-cy": "submit-btn",
1973
1971
  type: "submit",
@@ -1984,11 +1982,11 @@ const pt = { key: 0 }, yt = {
1984
1982
  n.value ? (s(), w(pe, {
1985
1983
  key: 2,
1986
1984
  "data-cy": "loading-spinner"
1987
- })) : F("", !0)
1985
+ })) : B("", !0)
1988
1986
  ], 16);
1989
1987
  };
1990
1988
  }
1991
- }), Ht = { class: "d-flex flex-column" }, jt = ["for"], bl = /* @__PURE__ */ $({
1989
+ }), Ht = { class: "d-flex flex-column" }, jt = ["for"], vl = /* @__PURE__ */ F({
1992
1990
  __name: "ForgeFormField",
1993
1991
  props: {
1994
1992
  name: {},
@@ -1999,14 +1997,14 @@ const pt = { key: 0 }, yt = {
1999
1997
  placeholder: { default: "" }
2000
1998
  },
2001
1999
  setup(e) {
2002
- const t = e, { errors: n, value: a, errorMessage: l } = W(() => t.name, t.rules), o = k(() => n.value.length > 0);
2000
+ const t = e, { errors: n, value: a, errorMessage: l } = W(() => t.name, t.rules), o = x(() => n.value.length > 0);
2003
2001
  return (i, d) => {
2004
2002
  const f = Ve, r = Ce, g = ne;
2005
2003
  return s(), p("div", Ht, [
2006
2004
  t.type !== "checkbox" ? (s(), p("label", {
2007
2005
  key: 0,
2008
2006
  for: t.name
2009
- }, h(t.label), 9, jt)) : F("", !0),
2007
+ }, h(t.label), 9, jt)) : B("", !0),
2010
2008
  t.type === "checkbox" ? (s(), w(me, S({
2011
2009
  key: 1,
2012
2010
  id: t.name,
@@ -2042,18 +2040,18 @@ const pt = { key: 0 }, yt = {
2042
2040
  modelValue: u(a),
2043
2041
  "onUpdate:modelValue": d[3] || (d[3] = (y) => j(a) ? a.value = y : null),
2044
2042
  class: { "is-invalid": o.value }
2045
- }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "class"])) : F("", !0),
2043
+ }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "class"])) : B("", !0),
2046
2044
  t.type !== "checkbox" ? L((s(), p("small", {
2047
2045
  key: 6,
2048
2046
  "data-cy": "error",
2049
2047
  class: "invalid-feedback"
2050
2048
  }, h(u(l)), 513)), [
2051
2049
  [Y, o.value]
2052
- ]) : F("", !0)
2050
+ ]) : B("", !0)
2053
2051
  ]);
2054
2052
  };
2055
2053
  }
2056
- }), fl = /* @__PURE__ */ $({
2054
+ }), bl = /* @__PURE__ */ F({
2057
2055
  __name: "ForgeChips",
2058
2056
  props: {
2059
2057
  chipSeverity: { default: "primary" },
@@ -2083,7 +2081,7 @@ const pt = { key: 0 }, yt = {
2083
2081
  setup(e) {
2084
2082
  const t = e, { errors: n, value: a, errorMessage: l } = W(() => t.name, t.rules);
2085
2083
  a.value = t.modelValue;
2086
- const o = k(() => n.value.length > 0), i = k(() => ({
2084
+ const o = x(() => n.value.length > 0), i = x(() => ({
2087
2085
  inputtoken: "list-unstyled",
2088
2086
  input: "border-0",
2089
2087
  container: ({ props: d }) => ({
@@ -2116,7 +2114,7 @@ const pt = { key: 0 }, yt = {
2116
2114
  }));
2117
2115
  return (d, f) => {
2118
2116
  const r = Te;
2119
- return s(), p(D, null, [
2117
+ return s(), p(A, null, [
2120
2118
  v(r, S({ ...t, ...d.$attrs }, {
2121
2119
  pt: i.value,
2122
2120
  "model-value": u(a),
@@ -2142,7 +2140,7 @@ const pt = { key: 0 }, yt = {
2142
2140
  ], 64);
2143
2141
  };
2144
2142
  }
2145
- }), Yt = /* @__PURE__ */ $({
2143
+ }), Yt = /* @__PURE__ */ F({
2146
2144
  __name: "ForgeProgressBar",
2147
2145
  props: {
2148
2146
  severity: { default: "primary" },
@@ -2157,7 +2155,7 @@ const pt = { key: 0 }, yt = {
2157
2155
  unstyled: { type: Boolean }
2158
2156
  },
2159
2157
  setup(e) {
2160
- const t = e, n = k(() => t.striped ? "progress-bar-striped" : null), a = k(() => t.animate ? "progress-bar-animated" : null), l = k(() => {
2158
+ const t = e, n = x(() => t.striped ? "progress-bar-striped" : null), a = x(() => t.animate ? "progress-bar-animated" : null), l = x(() => {
2161
2159
  switch (t.severity) {
2162
2160
  case "brand":
2163
2161
  return "bg-brand";
@@ -2176,7 +2174,7 @@ const pt = { key: 0 }, yt = {
2176
2174
  default:
2177
2175
  return "bg-primary";
2178
2176
  }
2179
- }), o = k(() => ({
2177
+ }), o = x(() => ({
2180
2178
  root: {
2181
2179
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2182
2180
  },
@@ -2188,13 +2186,13 @@ const pt = { key: 0 }, yt = {
2188
2186
  const f = Me;
2189
2187
  return s(), w(f, S({ ...i.$attrs, ...t }, { pt: o.value }), {
2190
2188
  default: b(() => [
2191
- x(i.$slots, "default")
2189
+ k(i.$slots, "default")
2192
2190
  ]),
2193
2191
  _: 3
2194
2192
  }, 16, ["pt"]);
2195
2193
  };
2196
2194
  }
2197
- }), qt = { class: "value text-white w-100 text-center" }, gl = /* @__PURE__ */ $({
2195
+ }), qt = { class: "value text-white w-100 text-center" }, fl = /* @__PURE__ */ F({
2198
2196
  __name: "ForgeStatWidget",
2199
2197
  props: {
2200
2198
  size: { default: "md" },
@@ -2206,14 +2204,14 @@ const pt = { key: 0 }, yt = {
2206
2204
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2207
2205
  }), [
2208
2206
  m("span", qt, [
2209
- x(n.$slots, "default")
2207
+ k(n.$slots, "default")
2210
2208
  ])
2211
2209
  ], 16));
2212
2210
  }
2213
2211
  }), Gt = {
2214
2212
  class: "d-flex flex-column align-items-center",
2215
2213
  "data-cy": "stepper"
2216
- }, Kt = { class: "d-flex align-items-center justify-content-center w-100" }, hl = /* @__PURE__ */ $({
2214
+ }, Kt = { class: "d-flex align-items-center justify-content-center w-100" }, gl = /* @__PURE__ */ F({
2217
2215
  __name: "ForgeStepper",
2218
2216
  props: {
2219
2217
  currentStep: { default: 0 },
@@ -2240,10 +2238,10 @@ const pt = { key: 0 }, yt = {
2240
2238
  l.value++;
2241
2239
  while (a.model[l.value].disabled);
2242
2240
  n("update:currentStep", l.value);
2243
- }, d = k(() => {
2241
+ }, d = x(() => {
2244
2242
  const r = a.model.findIndex((g) => !g.disabled);
2245
2243
  return !(r < l.value && r > -1);
2246
- }), f = k(() => ({
2244
+ }), f = x(() => ({
2247
2245
  menuitem: (r) => ({
2248
2246
  class: [{
2249
2247
  "cursor-pointer": !r.context.disabled
@@ -2280,7 +2278,7 @@ const pt = { key: 0 }, yt = {
2280
2278
  })
2281
2279
  }));
2282
2280
  return (r, g) => {
2283
- const y = E, c = Ie, _ = Pe;
2281
+ const y = E, c = Ie, $ = Pe;
2284
2282
  return s(), p("div", Gt, [
2285
2283
  m("div", Kt, [
2286
2284
  v(y, {
@@ -2306,12 +2304,12 @@ const pt = { key: 0 }, yt = {
2306
2304
  readonly: !1
2307
2305
  }, null, 8, ["active-step", "model", "pt"])
2308
2306
  ]),
2309
- v(_),
2310
- (s(!0), p(D, null, H(a.model, (V, T) => (s(), p("div", {
2307
+ v($),
2308
+ (s(!0), p(A, null, H(a.model, (V, T) => (s(), p("div", {
2311
2309
  key: T,
2312
2310
  class: "w-100"
2313
2311
  }, [
2314
- T === l.value ? x(r.$slots, V.key ?? V.label, {
2312
+ T === l.value ? k(r.$slots, V.key ?? V.label, {
2315
2313
  key: 0,
2316
2314
  nextStep: i,
2317
2315
  previousStep: o
@@ -2331,12 +2329,12 @@ const pt = { key: 0 }, yt = {
2331
2329
  ]),
2332
2330
  _: 2
2333
2331
  }, 1024)
2334
- ]) : F("", !0)
2332
+ ]) : B("", !0)
2335
2333
  ]))), 128))
2336
2334
  ]);
2337
2335
  };
2338
2336
  }
2339
- }), Wt = { class: "p-4 text-wrap w-100" }, Zt = { class: "p-4 text-wrap w-100" }, wl = /* @__PURE__ */ $({
2337
+ }), Wt = { class: "p-4 text-wrap w-100" }, Zt = { class: "p-4 text-wrap w-100" }, hl = /* @__PURE__ */ F({
2340
2338
  __name: "ForgeTile",
2341
2339
  props: {
2342
2340
  severity: { default: "primary" },
@@ -2344,19 +2342,19 @@ const pt = { key: 0 }, yt = {
2344
2342
  clickable: { type: Boolean, default: !1 }
2345
2343
  },
2346
2344
  setup(e) {
2347
- const t = e, n = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "border-0" : `tile-bar-${t.barPosition}`}`), a = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`}`);
2345
+ const t = e, n = x(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "border-0" : `tile-bar-${t.barPosition}`}`), a = x(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`}`);
2348
2346
  return (l, o) => {
2349
2347
  const i = E;
2350
2348
  return t.clickable ? (s(), w(i, {
2351
2349
  key: 0,
2352
- class: B(["d-flex w-100 p-0 text-body", n.value]),
2350
+ class: _(["d-flex w-100 p-0 text-body", n.value]),
2353
2351
  severity: t.severity,
2354
2352
  unstyled: "",
2355
2353
  "data-cy": "button-tile"
2356
2354
  }, {
2357
2355
  default: b(() => [
2358
2356
  m("div", Wt, [
2359
- x(l.$slots, "default", {}, () => [
2357
+ k(l.$slots, "default", {}, () => [
2360
2358
  P("Tile Content")
2361
2359
  ])
2362
2360
  ])
@@ -2364,11 +2362,11 @@ const pt = { key: 0 }, yt = {
2364
2362
  _: 3
2365
2363
  }, 8, ["severity", "class"])) : (s(), p("div", {
2366
2364
  key: 1,
2367
- class: B(["d-flex w-100", a.value]),
2365
+ class: _(["d-flex w-100", a.value]),
2368
2366
  "data-cy": "tile"
2369
2367
  }, [
2370
2368
  m("div", Zt, [
2371
- x(l.$slots, "default", {}, () => [
2369
+ k(l.$slots, "default", {}, () => [
2372
2370
  P("Tile Content")
2373
2371
  ])
2374
2372
  ])
@@ -2385,7 +2383,7 @@ const Jt = {
2385
2383
  }, Xt = { class: "ms-2" }, Qt = { key: 0 }, ea = /* @__PURE__ */ m("span", { class: "mx-2" }, "|", -1), ta = {
2386
2384
  class: "w-auto",
2387
2385
  "data-cy": "total"
2388
- }, aa = /* @__PURE__ */ $({
2386
+ }, aa = /* @__PURE__ */ F({
2389
2387
  __name: "ForgePaginationHeader",
2390
2388
  props: {
2391
2389
  total: {},
@@ -2396,7 +2394,7 @@ const Jt = {
2396
2394
  setup(e, { emit: t }) {
2397
2395
  const n = t, a = e, l = (i) => {
2398
2396
  n("update:perPage", i.value);
2399
- }, o = k(() => {
2397
+ }, o = x(() => {
2400
2398
  const i = Math.ceil(a.total / a.perPage);
2401
2399
  return `${i} ${X(i, "page")}`;
2402
2400
  });
@@ -2412,13 +2410,10 @@ const Jt = {
2412
2410
  a.total ? (s(), p("div", Qt, [
2413
2411
  ea,
2414
2412
  m("span", ta, h(a.total) + " " + h(u(X)(a.total, "result")) + " across " + h(o.value), 1)
2415
- ])) : F("", !0)
2413
+ ])) : B("", !0)
2416
2414
  ]));
2417
2415
  }
2418
- }), la = { "data-cy": "above-table-slot" }, oa = { class: "d-flex" }, na = { class: "d-flex align-items-end mb-2" }, sa = { key: 0 }, ia = { class: "ms-auto" }, ra = {
2419
- class: "d-flex",
2420
- "data-cy": "legacy-page-size"
2421
- }, da = /* @__PURE__ */ m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1), ua = { "data-cy": "legacy-total" }, kl = /* @__PURE__ */ $({
2416
+ }), la = { class: "position-relative" }, oa = { "data-cy": "above-table-slot" }, na = { class: "d-flex" }, sa = { class: "d-flex align-items-end mb-2" }, ia = { key: 0 }, ra = { class: "ms-auto" }, da = /* @__PURE__ */ m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1), wl = /* @__PURE__ */ F({
2422
2417
  __name: "ForgeTable",
2423
2418
  props: {
2424
2419
  value: {},
@@ -2505,12 +2500,12 @@ const Jt = {
2505
2500
  f(a.filters);
2506
2501
  }, f = (c) => {
2507
2502
  n("update:filters", c);
2508
- }, r = k(() => {
2503
+ }, r = x(() => {
2509
2504
  const c = Math.ceil((a.total ?? a.value.length) / o.value);
2510
2505
  return `${c} ${X(c, "page")}`;
2511
2506
  }), g = () => {
2512
2507
  i.value.exportCSV();
2513
- }, y = k(() => ({
2508
+ }, y = x(() => ({
2514
2509
  thead: () => ({
2515
2510
  class: [
2516
2511
  {
@@ -2518,11 +2513,24 @@ const Jt = {
2518
2513
  }
2519
2514
  ],
2520
2515
  style: "position: "
2516
+ }),
2517
+ loadingIcon: () => ({
2518
+ class: [
2519
+ "spinner-border border-0",
2520
+ {
2521
+ "text-brand": a.severity === "brand",
2522
+ "text-primary": a.severity === "primary",
2523
+ "text-success": a.severity === "success",
2524
+ "text-warning": a.severity === "warning",
2525
+ "text-danger": a.severity === "danger",
2526
+ "text-info": a.severity === "info"
2527
+ }
2528
+ ]
2521
2529
  })
2522
2530
  }));
2523
- return (c, _) => (s(), p(D, null, [
2524
- m("span", la, [
2525
- x(c.$slots, "above-table")
2531
+ return (c, $) => (s(), p("div", la, [
2532
+ m("span", oa, [
2533
+ k(c.$slots, "above-table")
2526
2534
  ]),
2527
2535
  v(u(ze), S({
2528
2536
  class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
@@ -2537,91 +2545,101 @@ const Jt = {
2537
2545
  "data-cy": "table"
2538
2546
  }), te({
2539
2547
  header: b(() => [
2540
- m("div", oa, [
2548
+ m("div", {
2549
+ class: _(a.loading ? "opacity-50" : "")
2550
+ }, [
2541
2551
  m("div", na, [
2542
- c.paginator && !c.legacyPaginationFooter ? (s(), p("span", sa, [
2543
- v(aa, {
2544
- total: c.total ?? c.value.length,
2545
- "page-sizes": l.value,
2546
- "per-page": o.value,
2547
- "onUpdate:perPage": _[0] || (_[0] = (V) => o.value = V)
2548
- }, null, 8, ["total", "page-sizes", "per-page"])
2549
- ])) : F("", !0)
2550
- ]),
2551
- m("div", ia, [
2552
- c.showClearButton ? (s(), w(u(E), {
2553
- key: 0,
2554
- outlined: "",
2555
- class: B(c.showExporterButton ? "me-2" : ""),
2556
- onClick: d,
2557
- "data-cy": "clear-all"
2558
- }, {
2559
- default: b(() => [
2560
- v(u(C), {
2561
- icon: "bi:funnel-fill",
2562
- width: "24",
2563
- height: "24"
2564
- }),
2565
- P(" Clear ")
2566
- ]),
2567
- _: 1
2568
- }, 8, ["class"])) : F("", !0),
2569
- c.showExporterButton ? (s(), w(u(E), {
2570
- key: 1,
2571
- outlined: "",
2572
- onClick: g,
2573
- "data-cy": "exporter"
2574
- }, {
2575
- default: b(() => [
2576
- v(u(C), {
2577
- icon: "typcn:export",
2578
- width: "24",
2579
- height: "24"
2580
- }),
2581
- P(" Export ")
2582
- ]),
2583
- _: 1
2584
- })) : F("", !0)
2552
+ m("div", sa, [
2553
+ c.paginator && !c.legacyPaginationFooter ? (s(), p("span", ia, [
2554
+ v(aa, {
2555
+ total: c.total ?? c.value.length,
2556
+ "page-sizes": l.value,
2557
+ "per-page": o.value,
2558
+ "onUpdate:perPage": $[0] || ($[0] = (V) => o.value = V)
2559
+ }, null, 8, ["total", "page-sizes", "per-page"])
2560
+ ])) : B("", !0)
2561
+ ]),
2562
+ m("div", ra, [
2563
+ c.showClearButton ? (s(), w(u(E), {
2564
+ key: 0,
2565
+ outlined: "",
2566
+ class: _(c.showExporterButton ? "me-2" : ""),
2567
+ onClick: d,
2568
+ "data-cy": "clear-all"
2569
+ }, {
2570
+ default: b(() => [
2571
+ v(u(C), {
2572
+ icon: "bi:funnel-fill",
2573
+ width: "24",
2574
+ height: "24"
2575
+ }),
2576
+ P(" Clear ")
2577
+ ]),
2578
+ _: 1
2579
+ }, 8, ["class"])) : B("", !0),
2580
+ c.showExporterButton ? (s(), w(u(E), {
2581
+ key: 1,
2582
+ outlined: "",
2583
+ onClick: g,
2584
+ "data-cy": "exporter"
2585
+ }, {
2586
+ default: b(() => [
2587
+ v(u(C), {
2588
+ icon: "typcn:export",
2589
+ width: "24",
2590
+ height: "24"
2591
+ }),
2592
+ P(" Export ")
2593
+ ]),
2594
+ _: 1
2595
+ })) : B("", !0)
2596
+ ])
2585
2597
  ])
2586
- ])
2598
+ ], 2)
2587
2599
  ]),
2588
2600
  default: b(() => [
2589
- x(c.$slots, "default")
2601
+ k(c.$slots, "default")
2590
2602
  ]),
2591
2603
  _: 2
2592
2604
  }, [
2593
2605
  H(c.$slots, (V, T) => ({
2594
2606
  name: T,
2595
2607
  fn: b((I) => [
2596
- x(c.$slots, T, Q(ee(I || {})))
2608
+ k(c.$slots, T, Q(ee(I || {})))
2597
2609
  ])
2598
2610
  })),
2599
2611
  c.legacyPaginationFooter ? {
2600
2612
  name: "paginatorstart",
2601
2613
  fn: b(() => [
2602
- m("span", ra, [
2614
+ m("span", {
2615
+ class: _(["d-flex", a.loading ? "opacity-50" : ""]),
2616
+ "data-cy": "legacy-page-size"
2617
+ }, [
2603
2618
  da,
2604
2619
  v(u(se), {
2605
2620
  options: l.value,
2606
2621
  modelValue: o.value,
2607
- "onUpdate:modelValue": _[1] || (_[1] = (V) => o.value = V),
2622
+ "onUpdate:modelValue": $[1] || ($[1] = (V) => o.value = V),
2608
2623
  class: "ms-2"
2609
2624
  }, null, 8, ["options", "modelValue"])
2610
- ])
2625
+ ], 2)
2611
2626
  ]),
2612
2627
  key: "0"
2613
2628
  } : void 0,
2614
2629
  c.legacyPaginationFooter ? {
2615
2630
  name: "paginatorend",
2616
2631
  fn: b(() => [
2617
- m("span", ua, h(c.total ?? c.value.length) + " " + h(u(X)(c.total ?? c.value.length, "result")) + " across " + h(r.value), 1)
2632
+ m("span", {
2633
+ "data-cy": "legacy-total",
2634
+ class: _(a.loading ? "opacity-50" : "")
2635
+ }, h(c.total ?? c.value.length) + " " + h(u(X)(c.total ?? c.value.length, "result")) + " across " + h(r.value), 3)
2618
2636
  ]),
2619
2637
  key: "1"
2620
2638
  } : void 0
2621
2639
  ]), 1040, ["class", "rows", "total-records", "filter-display", "pt"])
2622
- ], 64));
2640
+ ]));
2623
2641
  }
2624
- }), xl = /* @__PURE__ */ $({
2642
+ }), xl = /* @__PURE__ */ F({
2625
2643
  __name: "ForgeFilterHeader",
2626
2644
  props: {
2627
2645
  dataType: {},
@@ -2659,7 +2677,7 @@ function ye(e, t, n, a) {
2659
2677
  })) : t[i].status = "Duplicate";
2660
2678
  }), t;
2661
2679
  }
2662
- async function ca(e, t) {
2680
+ async function ua(e, t) {
2663
2681
  if (e === "Uploaded" && t !== null)
2664
2682
  try {
2665
2683
  await new ce(t).delete();
@@ -2682,13 +2700,13 @@ function ie(e, t = !0, n = 1) {
2682
2700
  while (Math.round(Math.abs(e) * i) / i >= a && o < l.length - 1);
2683
2701
  return e.toFixed(n) + " " + l[o];
2684
2702
  }
2685
- function ma(e) {
2703
+ function ca(e) {
2686
2704
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
2687
2705
  }
2688
- function pa(e) {
2706
+ function ma(e) {
2689
2707
  return URL.createObjectURL(e);
2690
2708
  }
2691
- const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disabled", "multiple"], ba = /* @__PURE__ */ $({
2709
+ const pa = { class: "d-flex justify-content-between" }, ya = ["accept", "disabled", "multiple"], va = /* @__PURE__ */ F({
2692
2710
  __name: "UploadButton",
2693
2711
  props: /* @__PURE__ */ q({
2694
2712
  acceptedFileTypes: {},
@@ -2700,11 +2718,11 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2700
2718
  }),
2701
2719
  emits: ["update:modelValue"],
2702
2720
  setup(e) {
2703
- const t = R(e, "modelValue"), n = k(() => e.maxFileInput <= t.value.length), a = (l) => {
2721
+ const t = R(e, "modelValue"), n = x(() => e.maxFileInput <= t.value.length), a = (l) => {
2704
2722
  t.value = ye(l, t.value, e.acceptedFileTypes, e.maxFileInput);
2705
2723
  };
2706
- return (l, o) => (s(), p("div", ya, [
2707
- x(l.$slots, "message"),
2724
+ return (l, o) => (s(), p("div", pa, [
2725
+ k(l.$slots, "message"),
2708
2726
  m("div", null, [
2709
2727
  m("input", {
2710
2728
  id: "file-input",
@@ -2714,13 +2732,13 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2714
2732
  disabled: n.value,
2715
2733
  multiple: l.maxFileInput > 1,
2716
2734
  onInput: o[0] || (o[0] = (i) => a([...i.target.files]))
2717
- }, null, 40, va),
2735
+ }, null, 40, ya),
2718
2736
  m("label", {
2719
- class: B([{ disabled: n.value }, "btn btn-primary"]),
2737
+ class: _([{ disabled: n.value }, "btn btn-primary"]),
2720
2738
  id: "file-input-button",
2721
2739
  for: "file-input"
2722
2740
  }, [
2723
- x(l.$slots, "button-content", {}, () => [
2741
+ k(l.$slots, "button-content", {}, () => [
2724
2742
  v(u(C), {
2725
2743
  icon: "bi:upload",
2726
2744
  class: "me-2",
@@ -2735,17 +2753,17 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2735
2753
  class: "ms-auto",
2736
2754
  key: l.acceptedFileTypes.length,
2737
2755
  id: "accepted-file-types"
2738
- }, "Accepted File Types: " + h(l.acceptedFileTypes.map((i) => i.split("/").pop()).join(", ")), 1)) : F("", !0)
2756
+ }, "Accepted File Types: " + h(l.acceptedFileTypes.map((i) => i.split("/").pop()).join(", ")), 1)) : B("", !0)
2739
2757
  ]));
2740
2758
  }
2741
- }), fa = {
2759
+ }), ba = {
2742
2760
  key: 0,
2743
2761
  class: "py-4 px-3",
2744
2762
  id: "placeholder-message"
2745
- }, ga = {
2763
+ }, fa = {
2746
2764
  key: 1,
2747
2765
  class: "d-flex flex-column"
2748
- }, ha = /* @__PURE__ */ $({
2766
+ }, ga = /* @__PURE__ */ F({
2749
2767
  __name: "DragDropArea",
2750
2768
  props: /* @__PURE__ */ q({
2751
2769
  maxFileInput: {},
@@ -2757,17 +2775,17 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2757
2775
  }),
2758
2776
  emits: ["update:modelValue"],
2759
2777
  setup(e) {
2760
- const t = R(e, "modelValue"), n = M(!1), a = k(() => e.maxFileInput <= t.value.length), l = (o) => {
2778
+ const t = R(e, "modelValue"), n = M(!1), a = x(() => e.maxFileInput <= t.value.length), l = (o) => {
2761
2779
  n.value = !1, o.dataTransfer.files.length > e.maxFileInput || a.value ? o.preventDefault() : t.value = ye([...o.dataTransfer.files], t.value, e.acceptedFileTypes, e.maxFileSize);
2762
2780
  };
2763
2781
  return (o, i) => (s(), p("div", {
2764
2782
  id: "drag-drop-area",
2765
- class: B(`${n.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
2783
+ class: _(`${n.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
2766
2784
  onDragleave: i[0] || (i[0] = G((d) => n.value = !1, ["prevent"])),
2767
2785
  onDragover: i[1] || (i[1] = G((d) => n.value = !0, ["prevent"])),
2768
2786
  onDrop: G(l, ["prevent"])
2769
2787
  }, [
2770
- t.value.length === 0 ? (s(), p("div", fa, [
2788
+ t.value.length === 0 ? (s(), p("div", ba, [
2771
2789
  v(u(C), {
2772
2790
  icon: "bi:upload",
2773
2791
  class: "me-2",
@@ -2775,12 +2793,12 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2775
2793
  width: "20px"
2776
2794
  }),
2777
2795
  P(" Drag and drop files here ")
2778
- ])) : (s(), p("div", ga, [
2779
- x(o.$slots, "default")
2796
+ ])) : (s(), p("div", fa, [
2797
+ k(o.$slots, "default")
2780
2798
  ]))
2781
2799
  ], 34));
2782
2800
  }
2783
- }), wa = { class: "d-flex align-items-center me-2" }, ka = /* @__PURE__ */ $({
2801
+ }), ha = { class: "d-flex align-items-center me-2" }, wa = /* @__PURE__ */ F({
2784
2802
  __name: "UploadStatus",
2785
2803
  props: {
2786
2804
  fileSize: {},
@@ -2789,7 +2807,7 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2789
2807
  uploadStatus: {}
2790
2808
  },
2791
2809
  setup(e) {
2792
- const t = k(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), n = k(() => {
2810
+ const t = x(() => e.uploadStatus === "Failed" || e.uploadStatus === "InvalidFileType" || e.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), n = x(() => {
2793
2811
  switch (e.uploadStatus) {
2794
2812
  case "InvalidFileType":
2795
2813
  return "Upload Failed: File type is not accepted.";
@@ -2805,7 +2823,7 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2805
2823
  return "Upload Failed: Connection error, please try again.";
2806
2824
  }
2807
2825
  });
2808
- return (a, l) => (s(), p("div", wa, [
2826
+ return (a, l) => (s(), p("div", ha, [
2809
2827
  a.uploadStatus === "Uploading" ? (s(), w(Yt, {
2810
2828
  key: 0,
2811
2829
  pixelWidth: 200,
@@ -2816,7 +2834,7 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2816
2834
  P(h((a.bytesUploaded / a.fileSize * 100).toFixed(0)) + "%", 1)
2817
2835
  ]),
2818
2836
  _: 1
2819
- })) : F("", !0),
2837
+ })) : B("", !0),
2820
2838
  a.uploadStatus !== "Uploading" && a.uploadStatus !== "Not Uploaded" && a.uploadStatus !== "Uploaded" && a.uploadStatus !== "Preparing" ? (s(), w(ae, {
2821
2839
  key: 1,
2822
2840
  id: "upload-status-alert",
@@ -2827,19 +2845,19 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2827
2845
  P(h(n.value), 1)
2828
2846
  ]),
2829
2847
  _: 1
2830
- }, 8, ["severity"])) : F("", !0)
2848
+ }, 8, ["severity"])) : B("", !0)
2831
2849
  ]));
2832
2850
  }
2833
- }), xa = ["data-cy"], _a = { class: "ms-3 d-flex flex-column" }, $a = {
2851
+ }), xa = ["data-cy"], ka = { class: "ms-3 d-flex flex-column" }, $a = {
2834
2852
  key: 1,
2835
2853
  id: "file-name"
2836
- }, Fa = {
2854
+ }, _a = {
2837
2855
  class: "text-black-50",
2838
2856
  id: "file-type"
2839
- }, Ba = {
2857
+ }, Fa = {
2840
2858
  class: "text-black-50",
2841
2859
  id: "file-size"
2842
- }, Sa = { class: "ms-auto my-auto d-flex" }, Ca = /* @__PURE__ */ $({
2860
+ }, Ba = { class: "ms-auto my-auto d-flex" }, Sa = /* @__PURE__ */ F({
2843
2861
  __name: "FileInfo",
2844
2862
  props: /* @__PURE__ */ q({
2845
2863
  editableFileName: { type: Boolean },
@@ -2858,9 +2876,9 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2858
2876
  }),
2859
2877
  emits: /* @__PURE__ */ q(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
2860
2878
  setup(e, { emit: t }) {
2861
- const n = R(e, "file"), a = R(e, "blobFileName"), l = R(e, "uploadStatus"), o = t, i = M(n.value.name), d = M(""), f = M(0), r = M(), g = k(() => e.acceptedFileTypes.includes(n.value.type)), y = k(() => n.value.size <= e.maxFileSize), c = () => {
2879
+ const n = R(e, "file"), a = R(e, "blobFileName"), l = R(e, "uploadStatus"), o = t, i = M(n.value.name), d = M(""), f = M(0), r = M(), g = x(() => e.acceptedFileTypes.includes(n.value.type)), y = x(() => n.value.size <= e.maxFileSize), c = () => {
2862
2880
  n.value = new File([n.value], i.value, { type: n.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
2863
- }, _ = async () => {
2881
+ }, $ = async () => {
2864
2882
  if (!g.value || !y.value) {
2865
2883
  l.value = g.value ? "InvalidFileSize" : "InvalidFileType";
2866
2884
  return;
@@ -2887,10 +2905,10 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2887
2905
  l.value = "Failed";
2888
2906
  }
2889
2907
  }, V = async () => {
2890
- await ca(l.value, d.value), o("deleted", n.value);
2908
+ await ua(l.value, d.value), o("deleted", n.value);
2891
2909
  };
2892
2910
  return oe(() => {
2893
- e.autoUploadToBlob && _();
2911
+ e.autoUploadToBlob && $();
2894
2912
  }), (T, I) => {
2895
2913
  const z = E;
2896
2914
  return s(), p("div", {
@@ -2898,11 +2916,11 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2898
2916
  "data-cy": `file-info-${n.value.name}`
2899
2917
  }, [
2900
2918
  m("div", null, [
2901
- u(ma)(n.value.type) ? (s(), w(u(De), {
2919
+ u(ca)(n.value.type) ? (s(), w(u(De), {
2902
2920
  key: 0,
2903
2921
  id: "thumbnail-image",
2904
2922
  "image-class": "image-file-thumbnail border",
2905
- src: u(pa)(n.value),
2923
+ src: u(ma)(n.value),
2906
2924
  alt: n.value.name,
2907
2925
  width: "75px",
2908
2926
  preview: ""
@@ -2914,9 +2932,9 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2914
2932
  width: "75px"
2915
2933
  }))
2916
2934
  ]),
2917
- m("div", _a, [
2935
+ m("div", ka, [
2918
2936
  m("div", null, [
2919
- T.editableFileName ? (s(), w(kt, {
2937
+ T.editableFileName ? (s(), w(xt, {
2920
2938
  key: 0,
2921
2939
  id: "edit-file-name",
2922
2940
  modelValue: i.value,
@@ -2926,11 +2944,11 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2926
2944
  "complete-action": c
2927
2945
  }, null, 8, ["modelValue", "rules", "name"])) : (s(), p("span", $a, h(n.value.name), 1))
2928
2946
  ]),
2929
- m("span", Fa, "File type: " + h(n.value.type.split("/").pop()), 1),
2930
- m("span", Ba, "File size: " + h(u(ie)(n.value.size)), 1)
2947
+ m("span", _a, "File type: " + h(n.value.type.split("/").pop()), 1),
2948
+ m("span", Fa, "File size: " + h(u(ie)(n.value.size)), 1)
2931
2949
  ]),
2932
- m("div", Sa, [
2933
- (s(), w(ka, {
2950
+ m("div", Ba, [
2951
+ (s(), w(wa, {
2934
2952
  key: l.value,
2935
2953
  "file-size": n.value.size,
2936
2954
  "upload-status": l.value,
@@ -2940,7 +2958,7 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2940
2958
  l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (s(), w(z, {
2941
2959
  key: 0,
2942
2960
  link: "",
2943
- onClick: _
2961
+ onClick: $
2944
2962
  }, {
2945
2963
  default: b(() => [
2946
2964
  v(u(C), {
@@ -2948,7 +2966,7 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2948
2966
  }, null, 8, ["icon"])
2949
2967
  ]),
2950
2968
  _: 1
2951
- })) : F("", !0),
2969
+ })) : B("", !0),
2952
2970
  l.value === "Uploading" ? (s(), w(z, {
2953
2971
  key: 1,
2954
2972
  link: "",
@@ -2973,17 +2991,17 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
2973
2991
  ], 8, xa);
2974
2992
  };
2975
2993
  }
2976
- }), Va = { class: "d-flex justify-content-end mt-1" }, Ta = { id: "max-file-size" }, Ma = /* @__PURE__ */ $({
2994
+ }), Ca = { class: "d-flex justify-content-end mt-1" }, Va = { id: "max-file-size" }, Ta = /* @__PURE__ */ F({
2977
2995
  __name: "MaxFileSize",
2978
2996
  props: {
2979
2997
  maxFileSize: {}
2980
2998
  },
2981
2999
  setup(e) {
2982
- return (t, n) => (s(), p("div", Va, [
2983
- m("div", Ta, "Max file size: " + h(u(ie)(t.maxFileSize)), 1)
3000
+ return (t, n) => (s(), p("div", Ca, [
3001
+ m("div", Va, "Max file size: " + h(u(ie)(t.maxFileSize)), 1)
2984
3002
  ]));
2985
3003
  }
2986
- }), Pa = { "data-cy": "file-uploader" }, Ia = { key: 0 }, _l = /* @__PURE__ */ $({
3004
+ }), Ma = { "data-cy": "file-uploader" }, Pa = { key: 0 }, kl = /* @__PURE__ */ F({
2987
3005
  __name: "ForgeFileUploader",
2988
3006
  props: /* @__PURE__ */ q({
2989
3007
  acceptedFileTypes: {},
@@ -3003,13 +3021,13 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
3003
3021
  const t = R(e, "modelValue"), n = e, a = (l) => {
3004
3022
  t.value = t.value.filter((o) => o.file != l);
3005
3023
  };
3006
- return (l, o) => (s(), p("div", Pa, [
3007
- v(ba, S(n, {
3024
+ return (l, o) => (s(), p("div", Ma, [
3025
+ v(va, S(n, {
3008
3026
  modelValue: t.value,
3009
3027
  "onUpdate:modelValue": o[0] || (o[0] = (i) => t.value = i)
3010
3028
  }), null, 16, ["modelValue"]),
3011
- l.showDragDropArea ? (s(), p("div", Ia, [
3012
- v(ha, {
3029
+ l.showDragDropArea ? (s(), p("div", Pa, [
3030
+ v(ga, {
3013
3031
  "max-file-input": n.maxFileInput,
3014
3032
  "max-file-size": n.maxFileSize,
3015
3033
  "accepted-file-types": n.acceptedFileTypes,
@@ -3017,8 +3035,8 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
3017
3035
  "onUpdate:modelValue": o[1] || (o[1] = (i) => t.value = i)
3018
3036
  }, {
3019
3037
  default: b(() => [
3020
- (s(!0), p(D, null, H(t.value, ({ file: i }, d) => (s(), p("span", null, [
3021
- (s(), w(Ca, S({
3038
+ (s(!0), p(A, null, H(t.value, ({ file: i }, d) => (s(), p("span", null, [
3039
+ (s(), w(Sa, S({
3022
3040
  key: i.name,
3023
3041
  class: d === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3024
3042
  file: t.value[d].file,
@@ -3033,36 +3051,36 @@ const ya = { class: "d-flex justify-content-between" }, va = ["accept", "disable
3033
3051
  ]),
3034
3052
  _: 1
3035
3053
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3036
- v(Ma, {
3054
+ v(Ta, {
3037
3055
  "max-file-size": n.maxFileSize
3038
3056
  }, null, 8, ["max-file-size"])
3039
- ])) : F("", !0)
3057
+ ])) : B("", !0)
3040
3058
  ]));
3041
3059
  }
3042
3060
  });
3043
3061
  export {
3044
- il as Bootstrap_PT,
3045
- rl as ForgeActionButton,
3062
+ sl as Bootstrap_PT,
3063
+ il as ForgeActionButton,
3046
3064
  ae as ForgeAlert,
3047
3065
  me as ForgeCheckbox,
3048
- fl as ForgeChips,
3066
+ bl as ForgeChips,
3049
3067
  Et as ForgeDatepicker,
3050
- _l as ForgeFileUploader,
3068
+ kl as ForgeFileUploader,
3051
3069
  xl as ForgeFilterHeader,
3052
- vl as ForgeForm,
3053
- bl as ForgeFormField,
3054
- kt as ForgeInlineEditor,
3055
- dl as ForgeLink,
3070
+ yl as ForgeForm,
3071
+ vl as ForgeFormField,
3072
+ xt as ForgeInlineEditor,
3073
+ rl as ForgeLink,
3056
3074
  pe as ForgeLoader,
3057
- ul as ForgeModal,
3075
+ dl as ForgeModal,
3058
3076
  Ct as ForgeMultiSelect,
3059
- ml as ForgeMultiSelectPreview,
3060
- cl as ForgeNavbar,
3061
- pl as ForgePageHeader,
3077
+ cl as ForgeMultiSelectPreview,
3078
+ ul as ForgeNavbar,
3079
+ ml as ForgePageHeader,
3062
3080
  Yt as ForgeProgressBar,
3063
- yl as ForgeRemainingCharacters,
3064
- gl as ForgeStatWidget,
3065
- hl as ForgeStepper,
3066
- kl as ForgeTable,
3067
- wl as ForgeTile
3081
+ pl as ForgeRemainingCharacters,
3082
+ fl as ForgeStatWidget,
3083
+ gl as ForgeStepper,
3084
+ wl as ForgeTable,
3085
+ hl as ForgeTile
3068
3086
  };