@3squared/forge-ui-3 1.3.0 → 1.3.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,10 +1,10 @@
1
1
  import ge from "primevue/message";
2
- import { defineComponent as F, openBlock as i, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as g, createElementVNode as m, normalizeClass as B, unref as p, createCommentVNode as C, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as V, mergeModels as R, useModel as U, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as j, vShow as q, createSlots as te, renderList as H, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as Y, normalizeStyle as we, watch as ue } from "vue";
3
- import { Icon as _ } from "@iconify/vue";
2
+ import { defineComponent as F, openBlock as i, createBlock as w, normalizeProps as Q, guardReactiveProps as ee, withCtx as g, createElementVNode as m, normalizeClass as B, unref as p, createCommentVNode as T, createVNode as y, renderSlot as $, ref as P, createElementBlock as b, Fragment as N, mergeProps as _, mergeModels as R, useModel as U, computed as k, createTextVNode as O, toDisplayString as h, withDirectives as H, vShow as q, createSlots as te, renderList as j, onMounted as le, isRef as se, withKeys as J, useAttrs as he, withModifiers as W, normalizeStyle as we, watch as ue } from "vue";
3
+ import { Icon as C } from "@iconify/vue";
4
4
  import L from "primevue/button";
5
5
  import xe from "primevue/toast";
6
6
  import ce from "primevue/checkbox";
7
- import { useField as K } from "vee-validate";
7
+ import { useField as G } from "vee-validate";
8
8
  import ke from "primevue/progressspinner";
9
9
  import $e from "primevue/dialog";
10
10
  import ie from "primevue/inputtext";
@@ -12,9 +12,9 @@ import { vOnClickOutside as Be } from "@vueuse/components";
12
12
  import Fe from "primevue/menubar";
13
13
  import _e from "vue-multiselect";
14
14
  import re from "primevue/multiselect";
15
- import Ve from "primevue/calendar";
15
+ import Ce from "primevue/calendar";
16
16
  import ae from "primevue/dropdown";
17
- import Ce from "primevue/inputmask";
17
+ import Ve from "primevue/inputmask";
18
18
  import Se from "primevue/textarea";
19
19
  import me from "primevue/inputnumber";
20
20
  import Te from "primevue/chips";
@@ -152,7 +152,10 @@ const De = {
152
152
  }
153
153
  ]
154
154
  }),
155
- list: "list-unstyled mb-0 dropdown-menu overflow-y-auto show w-100",
155
+ list: ({ props: e }) => ({
156
+ class: ["list-unstyled mb-0 overflow-y-auto"],
157
+ style: "max-height:" + (e.scrollHeight ? e.scrollHeight : "200px")
158
+ }),
156
159
  item: ({ context: e }) => ({
157
160
  class: [
158
161
  "dropdown-item d-flex cursor-pointer text-wrap",
@@ -161,37 +164,17 @@ const De = {
161
164
  }
162
165
  ]
163
166
  }),
164
- header: "d-flex border-bottom pb-2",
165
- headercheckboxcontainer: "form-check ms-2 mt-2",
166
- headercheckbox: (e) => ({
167
- class: [
168
- "form-check-input px-2 py-2 rounded position-relative",
169
- {
170
- "bg-primary": e.instance.allSelected
171
- }
172
- ]
173
- }),
174
- headercheckboxicon: "mb-1 fw-medium text-white position-absolute filter-header-multiselect__check-icon",
175
- filtercontainer: "d-flex position-relative mt-1 ps-2 w-100",
176
- filterinput: "form-control w-100",
177
- filtericon: {
167
+ panel: "dropdown-menu overflow-y-auto show",
168
+ filterContainer: "d-flex position-relative p-2 w-100",
169
+ filterInput: "form-control w-100",
170
+ filterIcon: {
178
171
  class: ["position-absolute bottom-0 end-0 me-3"],
179
172
  style: "top: 35%;"
180
173
  },
181
- closebutton: "btn",
182
- checkbox: (e) => ({
183
- class: [
184
- "form-check-input px-2 py-2 rounded position-relative",
185
- {
186
- "bg-primary": e.context.selected,
187
- "form-check-input__focus": e.state.focused
188
- }
189
- ]
190
- }),
191
- checkboxicon: "mb-1 fw-medium text-white position-absolute filter-header-multiselect__check-icon",
192
- clearicon: "ms-auto my-auto",
174
+ clearIcon: "ms-auto my-auto",
193
175
  loadingIcon: "spinner-border spinner-border-sm border-0",
194
176
  itemGroupLabel: "ps-2 fw-bold",
177
+ emptyMessage: "mx-3 my-2",
195
178
  input: ({ instance: e }) => ({
196
179
  class: [
197
180
  "w-100",
@@ -330,7 +313,7 @@ const De = {
330
313
  root: "form-check form-switch",
331
314
  input: "form-check-input"
332
315
  }
333
- }, je = {
316
+ }, He = {
334
317
  textarea: {
335
318
  root: () => ({
336
319
  class: [
@@ -338,7 +321,7 @@ const De = {
338
321
  ]
339
322
  })
340
323
  }
341
- }, He = {
324
+ }, je = {
342
325
  // More PassThrough options in component file.
343
326
  chips: {
344
327
  root: "d-flex",
@@ -401,7 +384,7 @@ const De = {
401
384
  content: "d-flex position-relative",
402
385
  closeButton: "position-absolute top-0 end-0 p-1 btn btn-link text-black ms-2"
403
386
  }
404
- }, Ge = {
387
+ }, We = {
405
388
  message: {
406
389
  root: ({ props: e }) => ({
407
390
  class: [
@@ -430,13 +413,13 @@ const De = {
430
413
  class: ["px-0 ms-2 btn d-flex"]
431
414
  })
432
415
  }
433
- }, Ke = {
416
+ }, Ge = {
434
417
  // More PT options defined in ForgeStepper.
435
418
  steps: {
436
419
  root: "w-100 mx-2 line",
437
420
  menu: "p-0 m-0 list-unstyled d-flex justify-content-between "
438
421
  }
439
- }, We = {
422
+ }, Ke = {
440
423
  tabview: {
441
424
  navContainer: () => ({
442
425
  class: ["nav nav-tabs position-relative"]
@@ -563,7 +546,7 @@ const De = {
563
546
  header: "d-flex dropdown-item",
564
547
  headerCheckbox: "dropdown-item ",
565
548
  labelContainer: "w-100 me-2",
566
- label: "w-100",
549
+ label: "w-100 ellipsis-overflow",
567
550
  filterContainer: "d-flex w-100 cursor-pointer",
568
551
  filterIcon: "d-none",
569
552
  filterInput: "form-control form-control-sm",
@@ -571,7 +554,8 @@ const De = {
571
554
  hiddenInput: "d-none",
572
555
  token: "badge rounded-pill bg-primary-subtle text-primary d-inline-flex align-items-center border border-primary me-1 pt-1",
573
556
  tokenLabel: "px-2 fs-6 fw-400",
574
- emptymessage: "mx-3 my-2",
557
+ emptyMessage: "mx-3 my-2",
558
+ clearIcon: "ms-auto my-auto",
575
559
  trigger: ({ state: e }) => ({
576
560
  class: [
577
561
  "d-none ms-auto my-auto filter-trigger",
@@ -895,12 +879,12 @@ const De = {
895
879
  ]
896
880
  })
897
881
  }
898
- }, ha = {
882
+ }, ga = {
899
883
  ...et,
900
884
  ...De,
901
885
  ...nt,
902
886
  ...Ue,
903
- ...He,
887
+ ...je,
904
888
  ...Ne,
905
889
  ...Ze,
906
890
  ...qe,
@@ -910,18 +894,18 @@ const De = {
910
894
  ...Le,
911
895
  ...Ee,
912
896
  ...Re,
913
- ...Ge,
897
+ ...We,
914
898
  ...Je,
915
899
  ...tt,
916
900
  ...Ye,
917
901
  ...Xe,
918
902
  ...ot,
919
903
  ...at,
920
- ...Ke,
904
+ ...Ge,
921
905
  ...Qe,
922
- ...We,
906
+ ...Ke,
923
907
  ...rt,
924
- ...je,
908
+ ...He,
925
909
  ...dt,
926
910
  directives: {
927
911
  ...lt
@@ -949,17 +933,17 @@ const De = {
949
933
  m("div", {
950
934
  class: B(t.icon ? "me-2 pe-1" : "")
951
935
  }, [
952
- t.icon ? (i(), w(p(_), {
936
+ t.icon ? (i(), w(p(C), {
953
937
  key: 0,
954
938
  "data-cy": "message-icon",
955
939
  icon: t.icon,
956
940
  class: B(`text-${t.severity}`),
957
941
  height: 35
958
- }, null, 8, ["icon", "class"])) : C("", !0)
942
+ }, null, 8, ["icon", "class"])) : T("", !0)
959
943
  ], 2)
960
944
  ]),
961
945
  closeicon: g(() => [
962
- y(p(_), { icon: "bi:x" })
946
+ y(p(C), { icon: "bi:x" })
963
947
  ]),
964
948
  default: g(() => [
965
949
  $(l.$slots, "default")
@@ -968,7 +952,7 @@ const De = {
968
952
  }, 16);
969
953
  };
970
954
  }
971
- }), wa = /* @__PURE__ */ F({
955
+ }), ha = /* @__PURE__ */ F({
972
956
  __name: "ForgeActionButton",
973
957
  props: {
974
958
  action: {},
@@ -987,9 +971,9 @@ const De = {
987
971
  t.value = !1;
988
972
  };
989
973
  return (a, n) => {
990
- const d = L;
974
+ const r = L;
991
975
  return i(), b(N, null, [
992
- y(d, V({ ...l, ...a.$attrs }, {
976
+ y(r, _({ ...l, ...a.$attrs }, {
993
977
  loading: t.value,
994
978
  disabled: t.value || l.disabled,
995
979
  onClick: o
@@ -1028,46 +1012,46 @@ const De = {
1028
1012
  }),
1029
1013
  emits: ["update:modelValue"],
1030
1014
  setup(e) {
1031
- const t = e, l = U(e, "modelValue"), { handleChange: o, errors: a, errorMessage: n } = K(
1015
+ const t = e, l = U(e, "modelValue"), { handleChange: o, errors: a, errorMessage: n } = G(
1032
1016
  () => t.name ?? "",
1033
1017
  void 0,
1034
1018
  {
1035
1019
  type: "checkbox",
1036
1020
  checkedValue: l.value
1037
1021
  }
1038
- ), d = (r) => {
1039
- t.name ? o(r) : l.value = r;
1040
- }, u = k(() => a.value.length > 0);
1041
- return (r, c) => {
1022
+ ), r = (u) => {
1023
+ t.name ? o(u) : l.value = u;
1024
+ }, d = k(() => a.value.length > 0);
1025
+ return (u, c) => {
1042
1026
  const v = ce;
1043
1027
  return i(), b("div", ut, [
1044
- m("div", V({
1028
+ m("div", _({
1045
1029
  class: "d-flex cursor-pointer",
1046
1030
  "data-cy": "checkbox-container",
1047
- onClick: c[2] || (c[2] = (s) => d(l.value))
1048
- }, { ...r.$attrs }), [
1049
- y(v, V({ ...t }, {
1031
+ onClick: c[2] || (c[2] = (s) => r(l.value))
1032
+ }, { ...u.$attrs }), [
1033
+ y(v, _({ ...t }, {
1050
1034
  binary: "",
1051
1035
  modelValue: l.value,
1052
1036
  "onUpdate:modelValue": c[0] || (c[0] = (s) => l.value = s),
1053
1037
  "input-id": t.name,
1054
- "input-class": { "is-invalid": u.value }
1038
+ "input-class": { "is-invalid": d.value }
1055
1039
  }), null, 16, ["modelValue", "input-id", "input-class"]),
1056
1040
  m("label", {
1057
1041
  for: t.name,
1058
- onClick: c[1] || (c[1] = (s) => d(!l.value)),
1059
- class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${u.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1042
+ onClick: c[1] || (c[1] = (s) => r(!l.value)),
1043
+ class: B([`${t.disabled ? "opacity-50" : "cursor-pointer"} ${d.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1060
1044
  }, [
1061
- $(r.$slots, "default", {}, () => [
1045
+ $(u.$slots, "default", {}, () => [
1062
1046
  O(h(t.label), 1)
1063
1047
  ])
1064
1048
  ], 10, ct)
1065
1049
  ], 16),
1066
- j(m("small", {
1050
+ H(m("small", {
1067
1051
  "data-cy": "error",
1068
1052
  class: "text-invalid"
1069
1053
  }, h(p(n)), 513), [
1070
- [q, u.value]
1054
+ [q, d.value]
1071
1055
  ])
1072
1056
  ]);
1073
1057
  };
@@ -1089,7 +1073,7 @@ const De = {
1089
1073
  ]);
1090
1074
  };
1091
1075
  }
1092
- }), vt = ["href", "target"], xa = /* @__PURE__ */ F({
1076
+ }), vt = ["href", "target"], wa = /* @__PURE__ */ F({
1093
1077
  __name: "ForgeLink",
1094
1078
  props: {
1095
1079
  url: {},
@@ -1130,12 +1114,12 @@ const De = {
1130
1114
  target: o.target
1131
1115
  }, [
1132
1116
  $(o.$slots, "default", {}, () => [
1133
- o.iconName ? (i(), w(p(_), {
1117
+ o.iconName ? (i(), w(p(C), {
1134
1118
  key: 0,
1135
1119
  id: "link-icon",
1136
1120
  icon: o.iconName,
1137
1121
  class: B(["bi my-auto", l.value])
1138
- }, null, 8, ["icon", "class"])) : C("", !0),
1122
+ }, null, 8, ["icon", "class"])) : T("", !0),
1139
1123
  O(" " + h(o.label), 1)
1140
1124
  ])
1141
1125
  ], 10, vt));
@@ -1152,16 +1136,16 @@ function yt(e) {
1152
1136
  }
1153
1137
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1154
1138
  }
1155
- function ka(e, t) {
1139
+ function xa(e, t) {
1156
1140
  return e.map((l) => ({ id: l, label: t ? t(l) : `${l}` }));
1157
1141
  }
1158
- function $a(e, t, l) {
1142
+ function ka(e, t, l) {
1159
1143
  return { id: e, label: t ?? e.toString(), shortLabel: l };
1160
1144
  }
1161
1145
  const bt = { key: 0 }, ft = {
1162
1146
  class: "d-flex w-100",
1163
1147
  "data-cy": "footer"
1164
- }, Ba = /* @__PURE__ */ F({
1148
+ }, $a = /* @__PURE__ */ F({
1165
1149
  __name: "ForgeModal",
1166
1150
  props: /* @__PURE__ */ R({
1167
1151
  cancelText: { default: "Cancel" },
@@ -1211,22 +1195,22 @@ const bt = { key: 0 }, ft = {
1211
1195
  hasError: !1,
1212
1196
  header: "",
1213
1197
  message: []
1214
- }), d = () => {
1198
+ }), r = () => {
1215
1199
  l.value = !1;
1216
- }, u = () => {
1200
+ }, d = () => {
1217
1201
  l.value = !0;
1218
- }, r = () => {
1202
+ }, u = () => {
1219
1203
  t.value = !1;
1220
1204
  }, c = async () => {
1221
1205
  if (o.onConfirm) {
1222
1206
  a.value = !0, n.value.hasError = !1;
1223
1207
  try {
1224
1208
  const s = await o.onConfirm();
1225
- (s || s == null) && r();
1209
+ (s || s == null) && u();
1226
1210
  } catch (s) {
1227
1211
  n.value.hasError = !0;
1228
- const S = yt(s);
1229
- n.value.header = S.errorMessage, n.value.message = S.errorDetails;
1212
+ const V = yt(s);
1213
+ n.value.header = V.errorMessage, n.value.message = V.errorDetails;
1230
1214
  }
1231
1215
  a.value = !1;
1232
1216
  }
@@ -1241,24 +1225,24 @@ const bt = { key: 0 }, ft = {
1241
1225
  }
1242
1226
  ]
1243
1227
  }));
1244
- return (s, S) => {
1245
- const T = L, M = $e;
1246
- return i(), w(M, V(o, {
1247
- onMaximize: u,
1248
- onUnmaximize: d,
1228
+ return (s, V) => {
1229
+ const S = L, M = $e;
1230
+ return i(), w(M, _(o, {
1231
+ onMaximize: d,
1232
+ onUnmaximize: r,
1249
1233
  pt: v.value
1250
1234
  }), te({
1251
1235
  closeicon: g(() => [
1252
- y(p(_), {
1236
+ y(p(C), {
1253
1237
  "data-cy": "close-icon",
1254
1238
  icon: "bi:x-lg",
1255
1239
  width: "18",
1256
1240
  height: "18",
1257
- onClick: r
1241
+ onClick: u
1258
1242
  })
1259
1243
  ]),
1260
1244
  maximizeicon: g(() => [
1261
- y(p(_), {
1245
+ y(p(C), {
1262
1246
  "data-cy": "maximisable-icon",
1263
1247
  icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1264
1248
  width: "16",
@@ -1267,7 +1251,7 @@ const bt = { key: 0 }, ft = {
1267
1251
  ]),
1268
1252
  _: 2
1269
1253
  }, [
1270
- H(s.$slots, (I, z) => ({
1254
+ j(s.$slots, (I, z) => ({
1271
1255
  name: z,
1272
1256
  fn: g((f) => [
1273
1257
  n.value.hasError ? (i(), w(oe, {
@@ -1280,30 +1264,30 @@ const bt = { key: 0 }, ft = {
1280
1264
  class: B(n.value.message.length > 0 ? "my-auto" : "mb-0")
1281
1265
  }, h(n.value.header), 3),
1282
1266
  n.value.message.length > 0 ? (i(), b("ul", bt, [
1283
- (i(!0), b(N, null, H(n.value.message, (x) => (i(), b("li", { key: x }, h(x), 1))), 128))
1284
- ])) : C("", !0)
1267
+ (i(!0), b(N, null, j(n.value.message, (x) => (i(), b("li", { key: x }, h(x), 1))), 128))
1268
+ ])) : T("", !0)
1285
1269
  ]),
1286
1270
  _: 1
1287
- })) : C("", !0),
1271
+ })) : T("", !0),
1288
1272
  $(s.$slots, z, Q(ee(f || {}))),
1289
1273
  a.value ? $(s.$slots, "loader", { key: 1 }, () => [
1290
1274
  y(ye, { "data-cy": "loader" })
1291
- ]) : C("", !0)
1275
+ ]) : T("", !0)
1292
1276
  ])
1293
1277
  })),
1294
1278
  s.showFooter ? {
1295
1279
  name: "footer",
1296
1280
  fn: g(() => [
1297
1281
  m("div", ft, [
1298
- y(T, {
1282
+ y(S, {
1299
1283
  label: s.cancelText,
1300
1284
  class: B(o.cancelClass),
1301
1285
  outlined: "",
1302
- onClick: r,
1286
+ onClick: u,
1303
1287
  id: "cancel-button",
1304
1288
  type: o.cancelButtonType
1305
1289
  }, null, 8, ["label", "class", "type"]),
1306
- y(T, {
1290
+ y(S, {
1307
1291
  label: s.submitText,
1308
1292
  class: B([o.submitClass, "ms-auto"]),
1309
1293
  onClick: c,
@@ -1333,10 +1317,10 @@ const bt = { key: 0 }, ft = {
1333
1317
  emits: ["update:modelValue"],
1334
1318
  setup(e) {
1335
1319
  const t = e, l = U(e, "modelValue"), o = P(!1), a = P(), n = () => {
1336
- var T;
1337
- o.value = !o.value, (T = a.value) == null || T.focus();
1338
- }, d = async () => {
1339
- if (S.value)
1320
+ var S;
1321
+ o.value = !o.value, (S = a.value) == null || S.focus();
1322
+ }, r = async () => {
1323
+ if (V.value)
1340
1324
  return !1;
1341
1325
  if (l.value = s.value, t.completeAction)
1342
1326
  try {
@@ -1346,33 +1330,33 @@ const bt = { key: 0 }, ft = {
1346
1330
  }
1347
1331
  else
1348
1332
  o.value = !o.value;
1349
- }, u = () => {
1333
+ }, d = () => {
1350
1334
  o.value = !o.value;
1351
- }, r = () => {
1335
+ }, u = () => {
1352
1336
  s.value = null;
1353
- }, { errorMessage: c, errors: v, value: s } = K(() => t.name, void 0, {
1337
+ }, { errorMessage: c, errors: v, value: s } = G(() => t.name, void 0, {
1354
1338
  initialValue: l.value
1355
1339
  });
1356
1340
  le(() => {
1357
1341
  s.value = l.value;
1358
1342
  });
1359
- const S = k(() => v.value.length > 0);
1360
- return (T, M) => {
1343
+ const V = k(() => v.value.length > 0);
1344
+ return (S, M) => {
1361
1345
  const I = ie, z = L;
1362
1346
  return i(), b("div", {
1363
1347
  id: t.name
1364
1348
  }, [
1365
- T.readonly ? (i(), b("div", kt, [
1366
- $(T.$slots, "default", {}, () => [
1349
+ S.readonly ? (i(), b("div", kt, [
1350
+ $(S.$slots, "default", {}, () => [
1367
1351
  m("span", $t, h(p(s)), 1)
1368
1352
  ])
1369
1353
  ])) : (i(), b("div", ht, [
1370
1354
  o.value ? (i(), b("div", wt, [
1371
- j((i(), b("div", xt, [
1372
- $(T.$slots, "editor", {
1373
- class: B({ "is-invalid": S.value }),
1374
- editFinished: d,
1375
- cancel: u,
1355
+ H((i(), b("div", xt, [
1356
+ $(S.$slots, "editor", {
1357
+ class: B({ "is-invalid": V.value }),
1358
+ editFinished: r,
1359
+ cancel: d,
1376
1360
  val: p(s)
1377
1361
  }, () => [
1378
1362
  y(I, {
@@ -1382,22 +1366,22 @@ const bt = { key: 0 }, ft = {
1382
1366
  modelValue: p(s),
1383
1367
  "onUpdate:modelValue": M[0] || (M[0] = (f) => se(s) ? s.value = f : null),
1384
1368
  modelModifiers: { trim: !0 },
1385
- class: B({ "is-invalid": S.value }),
1369
+ class: B({ "is-invalid": V.value }),
1386
1370
  onKeydown: [
1387
- J(d, ["enter"]),
1388
- J(u, ["esc"])
1371
+ J(r, ["enter"]),
1372
+ J(d, ["esc"])
1389
1373
  ]
1390
1374
  }, null, 8, ["modelValue", "class"])
1391
1375
  ]),
1392
- y(p(_), {
1376
+ y(p(C), {
1393
1377
  icon: "bi:x-circle",
1394
1378
  class: "mx-2 cursor-pointer",
1395
- onClick: r,
1396
- onKeydown: J(r, ["enter"]),
1379
+ onClick: u,
1380
+ onKeydown: J(u, ["enter"]),
1397
1381
  "data-cy": "clear-icon"
1398
1382
  })
1399
1383
  ])), [
1400
- [p(Be), d]
1384
+ [p(Be), r]
1401
1385
  ])
1402
1386
  ])) : (i(), b("div", {
1403
1387
  key: 1,
@@ -1405,9 +1389,9 @@ const bt = { key: 0 }, ft = {
1405
1389
  onClick: n,
1406
1390
  onFocus: n
1407
1391
  }, [
1408
- $(T.$slots, "default", {}, () => [
1392
+ $(S.$slots, "default", {}, () => [
1409
1393
  m("div", {
1410
- class: B(["pe-2 cursor-pointer", { "text-invalid": S.value }]),
1394
+ class: B(["pe-2 cursor-pointer", { "text-invalid": V.value }]),
1411
1395
  "data-cy": "value"
1412
1396
  }, h(p(s) ? p(s) : "Click to edit"), 3)
1413
1397
  ]),
@@ -1416,9 +1400,9 @@ const bt = { key: 0 }, ft = {
1416
1400
  class: "p-0 m-0"
1417
1401
  }, {
1418
1402
  default: g(() => [
1419
- y(p(_), {
1403
+ y(p(C), {
1420
1404
  icon: "bi:pencil",
1421
- class: B(S.value ? "text-invalid" : "text-muted"),
1405
+ class: B(V.value ? "text-invalid" : "text-muted"),
1422
1406
  "data-cy": "edit-icon",
1423
1407
  onKeydown: J(n, ["enter"])
1424
1408
  }, null, 8, ["class"])
@@ -1427,16 +1411,16 @@ const bt = { key: 0 }, ft = {
1427
1411
  })
1428
1412
  ], 32))
1429
1413
  ])),
1430
- j(m("small", {
1414
+ H(m("small", {
1431
1415
  "data-cy": "error",
1432
1416
  class: "text-invalid"
1433
1417
  }, h(p(c)), 513), [
1434
- [q, S.value]
1418
+ [q, V.value]
1435
1419
  ])
1436
1420
  ], 8, gt);
1437
1421
  };
1438
1422
  }
1439
- }), Ft = ["href"], Fa = /* @__PURE__ */ F({
1423
+ }), Ft = ["href"], Ba = /* @__PURE__ */ F({
1440
1424
  __name: "ForgeNavbar",
1441
1425
  props: {
1442
1426
  severity: { default: "light" },
@@ -1482,7 +1466,7 @@ const bt = { key: 0 }, ft = {
1482
1466
  }));
1483
1467
  return (o, a) => {
1484
1468
  const n = Fe;
1485
- return i(), w(n, V({ ...t, ...o.$attrs }, {
1469
+ return i(), w(n, _({ ...t, ...o.$attrs }, {
1486
1470
  pt: l.value,
1487
1471
  "data-cy": "navbar"
1488
1472
  }), te({
@@ -1499,7 +1483,7 @@ const bt = { key: 0 }, ft = {
1499
1483
  ]),
1500
1484
  menubuttonicon: g(() => [
1501
1485
  $(o.$slots, "menubuttonicon", {}, () => [
1502
- y(p(_), {
1486
+ y(p(C), {
1503
1487
  icon: "bi:list",
1504
1488
  class: B(t.severity === "light" ? "text-black" : "text-white"),
1505
1489
  height: "24",
@@ -1509,16 +1493,16 @@ const bt = { key: 0 }, ft = {
1509
1493
  ]),
1510
1494
  _: 2
1511
1495
  }, [
1512
- H(o.$slots, (d, u) => ({
1513
- name: u,
1514
- fn: g((r) => [
1515
- $(o.$slots, u, Q(ee(r)))
1496
+ j(o.$slots, (r, d) => ({
1497
+ name: d,
1498
+ fn: g((u) => [
1499
+ $(o.$slots, d, Q(ee(u)))
1516
1500
  ])
1517
1501
  }))
1518
1502
  ]), 1040, ["pt"]);
1519
1503
  };
1520
1504
  }
1521
- }), _t = { class: "multiselect__caret" }, Vt = ["checked"], Ct = ["data-cy"], St = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, _a = /* @__PURE__ */ F({
1505
+ }), _t = { class: "multiselect__caret" }, Ct = ["checked"], Vt = ["data-cy"], St = ["checked"], Tt = { class: "my-auto ms-1" }, Pt = { class: "multiselect__tag d-inline-flex" }, Mt = { class: "my-auto" }, Fa = /* @__PURE__ */ F({
1522
1506
  __name: "ForgeMultiSelect",
1523
1507
  props: {
1524
1508
  severity: { default: "primary" },
@@ -1536,7 +1520,7 @@ const bt = { key: 0 }, ft = {
1536
1520
  $isDisabled: D.$isDisabled ?? !1
1537
1521
  };
1538
1522
  E(A);
1539
- }, a = he(), n = t, { errors: d, value: u, errorMessage: r } = K(() => l.name, void 0, {
1523
+ }, a = he(), n = t, { errors: r, value: d, errorMessage: u } = G(() => l.name, void 0, {
1540
1524
  initialValue: a.modelValue
1541
1525
  }), c = P(!1), v = k(() => ({
1542
1526
  multiple: !0,
@@ -1551,55 +1535,55 @@ const bt = { key: 0 }, ft = {
1551
1535
  searchable: !!(a.searchable === null || a.searchable) && a.modelValue.length === a.options.length,
1552
1536
  async: !1,
1553
1537
  ...a
1554
- })), s = k(() => `forge-multiselect-${l.severity}`), S = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${T.value ? " multiselect__option--selected" : ""}`), T = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => d.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => c.value = !0, f = () => c.value = !1, x = () => {
1555
- u.value = v.value.multiple ? [] : null, n("update:modelValue", u.value);
1556
- }, G = (E) => {
1538
+ })), s = k(() => `forge-multiselect-${l.severity}`), V = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${S.value ? " multiselect__option--selected" : ""}`), S = k(() => v.value && !(v.value.multiple || !l.showSelectAll || v.value.async) ? !1 : a.modelValue.length === a.options.length), M = k(() => r.value.length > 0), I = k(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (v.value.multiple ? a.modelValue.length > 0 : a.modelValue))), z = () => c.value = !0, f = () => c.value = !1, x = () => {
1539
+ d.value = v.value.multiple ? [] : null, n("update:modelValue", d.value);
1540
+ }, Y = (E) => {
1557
1541
  n("update:modelValue", l.selectValue ? E.map((D) => D[l.selectValue]) : E);
1558
1542
  }, Z = (E) => a.modelValue !== null ? a.modelValue.some((D) => v.value.selectValue ? E[l.selectValue] === D : E.id === D.id && E.label === D.label) : !1, ne = () => {
1559
- T.value ? x() : (u.value = [...a.options], n("update:modelValue", [...a.options]));
1543
+ S.value ? x() : (d.value = [...a.options], n("update:modelValue", [...a.options]));
1560
1544
  };
1561
1545
  return (E, D) => (i(), b(N, null, [
1562
- y(p(_e), V(v.value, {
1546
+ y(p(_e), _(v.value, {
1563
1547
  class: [s.value, M.value ? "is-invalid" : ""],
1564
1548
  "data-cy": "multiselect",
1565
1549
  "onUpdate:modelValue": [
1566
- G,
1567
- D[1] || (D[1] = (A) => se(u) ? u.value = A : null)
1550
+ Y,
1551
+ D[1] || (D[1] = (A) => se(d) ? d.value = A : null)
1568
1552
  ],
1569
- modelValue: p(u)
1553
+ modelValue: p(d)
1570
1554
  }), te({
1571
1555
  caret: g(({ toggle: A }) => [
1572
1556
  m("div", _t, [
1573
- I.value ? (i(), w(p(_), {
1557
+ I.value ? (i(), w(p(C), {
1574
1558
  key: 0,
1575
1559
  icon: "bi:x",
1576
1560
  class: "my-auto text-black multiselect__clear",
1577
- onMousedown: D[0] || (D[0] = Y((W) => x(), ["prevent", "stop"])),
1561
+ onMousedown: D[0] || (D[0] = W((K) => x(), ["prevent", "stop"])),
1578
1562
  "data-cy": "clear",
1579
1563
  height: "18px",
1580
1564
  width: "18px"
1581
- })) : C("", !0),
1582
- y(p(_), {
1565
+ })) : T("", !0),
1566
+ y(p(C), {
1583
1567
  icon: "bi:chevron-down",
1584
1568
  onClick: A,
1585
1569
  class: "multiselect__arrow"
1586
1570
  }, null, 8, ["onClick"])
1587
1571
  ])
1588
1572
  ]),
1589
- tag: g(({ option: A, remove: W }) => [
1573
+ tag: g(({ option: A, remove: K }) => [
1590
1574
  m("div", Pt, [
1591
1575
  m("div", Mt, h(A.label), 1),
1592
- y(p(_), {
1576
+ y(p(C), {
1593
1577
  icon: "bi:x",
1594
1578
  class: "my-auto multiselect__tag-icon",
1595
- onMousedown: Y((ql) => o(W, A), ["prevent", "stop"]),
1579
+ onMousedown: W((jl) => o(K, A), ["prevent", "stop"]),
1596
1580
  height: "18px",
1597
1581
  width: "18px"
1598
1582
  }, null, 8, ["onMousedown"])
1599
1583
  ])
1600
1584
  ]),
1601
1585
  default: g(() => [
1602
- (i(!0), b(N, null, H(E.$slots, (A, W) => $(E.$slots, W, { slot: W })), 256))
1586
+ (i(!0), b(N, null, j(E.$slots, (A, K) => $(E.$slots, K, { slot: K })), 256))
1603
1587
  ]),
1604
1588
  _: 2
1605
1589
  }, [
@@ -1614,14 +1598,14 @@ const bt = { key: 0 }, ft = {
1614
1598
  "data-cy": "toggle-all"
1615
1599
  }, [
1616
1600
  m("div", {
1617
- class: B(["d-flex py-1", S.value])
1601
+ class: B(["d-flex py-1", V.value])
1618
1602
  }, [
1619
1603
  m("input", {
1620
- checked: T.value,
1604
+ checked: S.value,
1621
1605
  name: "selected",
1622
1606
  type: "checkbox",
1623
1607
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1624
- }, null, 8, Vt),
1608
+ }, null, 8, Ct),
1625
1609
  D[2] || (D[2] = m("div", { class: "my-auto ms-1" }, "Toggle all", -1))
1626
1610
  ], 2)
1627
1611
  ], 32)
@@ -1642,15 +1626,15 @@ const bt = { key: 0 }, ft = {
1642
1626
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
1643
1627
  }, null, 8, St),
1644
1628
  m("div", Tt, h(A[v.value.label]), 1)
1645
- ], 8, Ct)
1629
+ ], 8, Vt)
1646
1630
  ]),
1647
1631
  key: "1"
1648
1632
  } : void 0
1649
1633
  ]), 1040, ["class", "modelValue"]),
1650
- j(m("small", {
1634
+ H(m("small", {
1651
1635
  "data-cy": "error",
1652
1636
  class: "invalid-feedback"
1653
- }, h(p(r)), 513), [
1637
+ }, h(p(u)), 513), [
1654
1638
  [q, M.value]
1655
1639
  ])
1656
1640
  ], 64));
@@ -1662,7 +1646,7 @@ const bt = { key: 0 }, ft = {
1662
1646
  }, Ot = { class: "d-inline-block" }, Dt = {
1663
1647
  key: 1,
1664
1648
  class: "p-2 item d-flex justify-content-between align-items-center"
1665
- }, Va = /* @__PURE__ */ F({
1649
+ }, _a = /* @__PURE__ */ F({
1666
1650
  __name: "ForgeMultiSelectPreview",
1667
1651
  props: /* @__PURE__ */ R({
1668
1652
  title: { default: "Selected Items" },
@@ -1682,7 +1666,7 @@ const bt = { key: 0 }, ft = {
1682
1666
  l.value = l.value.filter((n) => n.id !== a);
1683
1667
  };
1684
1668
  return (a, n) => {
1685
- const d = re, u = L;
1669
+ const r = re, d = L;
1686
1670
  return i(), b("div", {
1687
1671
  class: B(a.orientation === "column" ? "row" : ""),
1688
1672
  "data-cy": "multiselect-preview"
@@ -1691,9 +1675,9 @@ const bt = { key: 0 }, ft = {
1691
1675
  class: B(a.orientation === "row" ? "col-12 mb-1" : "col"),
1692
1676
  "data-cy": "multiselect-container"
1693
1677
  }, [
1694
- y(d, V({
1678
+ y(r, _({
1695
1679
  modelValue: l.value,
1696
- "onUpdate:modelValue": n[0] || (n[0] = (r) => l.value = r)
1680
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => l.value = u)
1697
1681
  }, { ...a.$attrs }, {
1698
1682
  options: t.options,
1699
1683
  display: "chip",
@@ -1702,7 +1686,7 @@ const bt = { key: 0 }, ft = {
1702
1686
  "data-cy": "multiselect"
1703
1687
  }), {
1704
1688
  default: g(() => [
1705
- (i(!0), b(N, null, H(a.$slots, (r, c) => $(a.$slots, c, { slot: c })), 256))
1689
+ (i(!0), b(N, null, j(a.$slots, (u, c) => $(a.$slots, c, { slot: c })), 256))
1706
1690
  ]),
1707
1691
  _: 3
1708
1692
  }, 16, ["modelValue", "options", "placeholder"]),
@@ -1717,31 +1701,31 @@ const bt = { key: 0 }, ft = {
1717
1701
  class: "overflow-auto"
1718
1702
  }, [
1719
1703
  m("div", It, [
1720
- a.title ? (i(), b("div", zt, h(a.title), 1)) : C("", !0),
1721
- (i(!0), b(N, null, H(l.value, (r) => (i(), b("div", {
1722
- key: r.id,
1704
+ a.title ? (i(), b("div", zt, h(a.title), 1)) : T("", !0),
1705
+ (i(!0), b(N, null, j(l.value, (u) => (i(), b("div", {
1706
+ key: u.id,
1723
1707
  class: "p-2 item d-flex justify-content-between align-items-center"
1724
1708
  }, [
1725
- $(a.$slots, "list-item", { item: r }, () => [
1726
- m("span", Ot, h(r.shortLabel ? r.shortLabel : r.label), 1)
1709
+ $(a.$slots, "list-item", { item: u }, () => [
1710
+ m("span", Ot, h(u.shortLabel ? u.shortLabel : u.label), 1)
1727
1711
  ]),
1728
- a.canRemoveItemFromPreview ? (i(), w(u, {
1712
+ a.canRemoveItemFromPreview ? (i(), w(d, {
1729
1713
  key: 0,
1730
1714
  link: "",
1731
1715
  class: "m-0 p-0 d-flex align-items-center",
1732
- onClick: (c) => o(r.id)
1716
+ onClick: (c) => o(u.id)
1733
1717
  }, {
1734
1718
  default: g(() => [
1735
- y(p(_), {
1719
+ y(p(C), {
1736
1720
  icon: "bi:x",
1737
1721
  class: "close-icon",
1738
- "data-cy": `close-icon-${r.id}`
1722
+ "data-cy": `close-icon-${u.id}`
1739
1723
  }, null, 8, ["data-cy"])
1740
1724
  ]),
1741
1725
  _: 2
1742
- }, 1032, ["onClick"])) : C("", !0)
1726
+ }, 1032, ["onClick"])) : T("", !0)
1743
1727
  ]))), 128)),
1744
- l.value.length === 0 ? (i(), b("div", Dt, h(t.optionsPreviewEmptyText), 1)) : C("", !0)
1728
+ l.value.length === 0 ? (i(), b("div", Dt, h(t.optionsPreviewEmptyText), 1)) : T("", !0)
1745
1729
  ])
1746
1730
  ], 4)
1747
1731
  ], 2)
@@ -1768,7 +1752,7 @@ const bt = { key: 0 }, ft = {
1768
1752
  ])
1769
1753
  ]));
1770
1754
  }
1771
- }), Lt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, jt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1755
+ }), Lt = { class: "d-flex" }, Et = { "data-cy": "before-slot" }, Rt = { class: "position-relative w-100" }, Ht = { "data-cy": "after-slot" }, be = /* @__PURE__ */ F({
1772
1756
  __name: "ForgeDatepicker",
1773
1757
  props: /* @__PURE__ */ R({
1774
1758
  severity: { default: "primary" },
@@ -1841,10 +1825,10 @@ const bt = { key: 0 }, ft = {
1841
1825
  }),
1842
1826
  emits: ["update:modelValue"],
1843
1827
  setup(e) {
1844
- const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: d, setValue: u } = K(() => t.name, void 0, {
1828
+ const t = e, l = U(e, "modelValue"), { errors: o, errorMessage: a, handleChange: n, handleBlur: r, setValue: d } = G(() => t.name, void 0, {
1845
1829
  initialValue: l.value
1846
- }), r = () => {
1847
- u(null), l.value = null;
1830
+ }), u = () => {
1831
+ d(null), l.value = null;
1848
1832
  }, c = k(() => o.value.length > 0), v = k(() => ({
1849
1833
  day: ({ context: s }) => ({
1850
1834
  class: [
@@ -1936,45 +1920,45 @@ const bt = { key: 0 }, ft = {
1936
1920
  ]
1937
1921
  })
1938
1922
  }));
1939
- return (s, S) => {
1940
- const T = Ve;
1923
+ return (s, V) => {
1924
+ const S = Ce;
1941
1925
  return i(), b(N, null, [
1942
1926
  m("div", Lt, [
1943
1927
  m("span", Et, [
1944
1928
  $(s.$slots, "before")
1945
1929
  ]),
1946
1930
  m("div", Rt, [
1947
- y(T, V({ ...t, ...s.$attrs }, {
1931
+ y(S, _({ ...t, ...s.$attrs }, {
1948
1932
  pt: v.value,
1949
1933
  modelValue: l.value,
1950
1934
  "onUpdate:modelValue": [
1951
- S[0] || (S[0] = (M) => l.value = M),
1935
+ V[0] || (V[0] = (M) => l.value = M),
1952
1936
  p(n)
1953
1937
  ],
1954
- onBlur: p(d),
1938
+ onBlur: p(r),
1955
1939
  "input-class": { "datepicker-invalid": c.value }
1956
1940
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "onBlur", "input-class"]),
1957
- j(y(p(_), {
1941
+ H(y(p(C), {
1958
1942
  "data-cy": "icon",
1959
1943
  icon: "bi:calendar4",
1960
1944
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
1961
1945
  }, null, 8, ["class"]), [
1962
1946
  [q, t.showIcon]
1963
1947
  ]),
1964
- j(y(p(_), {
1948
+ H(y(p(C), {
1965
1949
  "data-cy": "icon",
1966
1950
  icon: "bi:x",
1967
- onClick: r,
1951
+ onClick: u,
1968
1952
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
1969
1953
  }, null, 8, ["class"]), [
1970
1954
  [q, t.modelValue]
1971
1955
  ])
1972
1956
  ]),
1973
- m("span", jt, [
1957
+ m("span", Ht, [
1974
1958
  $(s.$slots, "after")
1975
1959
  ])
1976
1960
  ]),
1977
- j(m("small", {
1961
+ H(m("small", {
1978
1962
  "data-cy": "error",
1979
1963
  class: "text-invalid"
1980
1964
  }, h(p(a)), 513), [
@@ -1983,7 +1967,7 @@ const bt = { key: 0 }, ft = {
1983
1967
  ], 64);
1984
1968
  };
1985
1969
  }
1986
- }), Sa = /* @__PURE__ */ F({
1970
+ }), Va = /* @__PURE__ */ F({
1987
1971
  __name: "ForgeRemainingCharacters",
1988
1972
  props: {
1989
1973
  maxCount: { default: 300 },
@@ -1995,7 +1979,7 @@ const bt = { key: 0 }, ft = {
1995
1979
  class: B(l.value < 0 ? "text-danger" : "")
1996
1980
  }, "Remaining characters: " + h(l.value), 3));
1997
1981
  }
1998
- }), Ht = { class: "d-flex justify-content-between" }, Ta = /* @__PURE__ */ F({
1982
+ }), jt = { class: "d-flex justify-content-between" }, Sa = /* @__PURE__ */ F({
1999
1983
  __name: "ForgeForm",
2000
1984
  props: {
2001
1985
  onSubmit: {},
@@ -2020,21 +2004,21 @@ const bt = { key: 0 }, ft = {
2020
2004
  }
2021
2005
  l.value = !1;
2022
2006
  }
2023
- return (n, d) => {
2024
- const u = L;
2025
- return i(), b("form", V(n.$attrs, {
2007
+ return (n, r) => {
2008
+ const d = L;
2009
+ return i(), b("form", _(n.$attrs, {
2026
2010
  novalidate: "",
2027
2011
  class: "position-relative shadow-sm border p-4 bg-white",
2028
- onSubmit: Y(a, ["prevent"])
2012
+ onSubmit: W(a, ["prevent"])
2029
2013
  }), [
2030
- n.hideTitle ? C("", !0) : (i(), b(N, { key: 0 }, [
2014
+ n.hideTitle ? T("", !0) : (i(), b(N, { key: 0 }, [
2031
2015
  $(n.$slots, "title", {}, () => [
2032
2016
  m("h3", {
2033
2017
  class: B(n.titleClass),
2034
2018
  "data-cy": "form-title"
2035
2019
  }, h(n.title), 3)
2036
2020
  ]),
2037
- d[1] || (d[1] = m("hr", null, null, -1))
2021
+ r[1] || (r[1] = m("hr", null, null, -1))
2038
2022
  ], 64)),
2039
2023
  o.value.hasError ? (i(), w(oe, {
2040
2024
  key: 1,
@@ -2049,17 +2033,17 @@ const bt = { key: 0 }, ft = {
2049
2033
  ])
2050
2034
  ]),
2051
2035
  _: 3
2052
- })) : C("", !0),
2036
+ })) : T("", !0),
2053
2037
  $(n.$slots, "default"),
2054
- m("div", Ht, [
2038
+ m("div", jt, [
2055
2039
  $(n.$slots, "cancel", {}, () => [
2056
- n.hideCancel ? C("", !0) : (i(), w(u, {
2040
+ n.hideCancel ? T("", !0) : (i(), w(d, {
2057
2041
  key: 0,
2058
2042
  "data-cy": "cancel-btn",
2059
2043
  type: "reset",
2060
2044
  severity: "secondary",
2061
2045
  outlined: "",
2062
- onClick: d[0] || (d[0] = (r) => n.$emit("cancel"))
2046
+ onClick: r[0] || (r[0] = (u) => n.$emit("cancel"))
2063
2047
  }, {
2064
2048
  default: g(() => [
2065
2049
  O(h(n.cancelText), 1)
@@ -2068,7 +2052,7 @@ const bt = { key: 0 }, ft = {
2068
2052
  }))
2069
2053
  ]),
2070
2054
  $(n.$slots, "submit", { submit: a }, () => [
2071
- y(u, {
2055
+ y(d, {
2072
2056
  "data-cy": "submit-btn",
2073
2057
  type: "submit",
2074
2058
  severity: "primary",
@@ -2084,14 +2068,14 @@ const bt = { key: 0 }, ft = {
2084
2068
  l.value ? (i(), w(ye, {
2085
2069
  key: 2,
2086
2070
  "data-cy": "loading-spinner"
2087
- })) : C("", !0)
2071
+ })) : T("", !0)
2088
2072
  ], 16);
2089
2073
  };
2090
2074
  }
2091
2075
  }), qt = {
2092
2076
  key: 1,
2093
2077
  class: "d-flex flex-column w-100"
2094
- }, Yt = ["for"], Pa = /* @__PURE__ */ F({
2078
+ }, Yt = ["for"], Ta = /* @__PURE__ */ F({
2095
2079
  __name: "ForgeFormField",
2096
2080
  props: /* @__PURE__ */ R({
2097
2081
  name: {},
@@ -2099,7 +2083,8 @@ const bt = { key: 0 }, ft = {
2099
2083
  fieldLabel: {},
2100
2084
  type: { default: "text" },
2101
2085
  mask: { default: "" },
2102
- placeholder: { default: "" }
2086
+ placeholder: { default: "" },
2087
+ labelWidthClass: { default: "w-25" }
2103
2088
  }, {
2104
2089
  modelValue: {},
2105
2090
  modelModifiers: {}
@@ -2107,15 +2092,15 @@ const bt = { key: 0 }, ft = {
2107
2092
  emits: ["update:modelValue"],
2108
2093
  setup(e) {
2109
2094
  const t = U(e, "modelValue"), l = e, o = (v) => {
2110
- l.type == "number" ? u(v.value) : u(v);
2111
- }, { errors: a, value: n, errorMessage: d, handleChange: u, handleBlur: r } = K(() => l.name, void 0, {
2095
+ l.type == "number" ? d(v.value) : d(v);
2096
+ }, { errors: a, value: n, errorMessage: r, handleChange: d, handleBlur: u } = G(() => l.name, void 0, {
2112
2097
  initialValue: t.value
2113
2098
  }), c = k(() => a.value.length > 0);
2114
2099
  return ue(() => n.value, (v) => {
2115
2100
  t.value = v;
2116
2101
  }, { immediate: !0 }), (v, s) => {
2117
- const S = Se, T = Ce, M = ie, I = ae, z = re, f = be;
2118
- return l.type === "checkbox" ? (i(), w(mt, V({
2102
+ const V = Se, S = Ve, M = ie, I = ae, z = re, f = be;
2103
+ return l.type === "checkbox" ? (i(), w(mt, _({
2119
2104
  key: 0,
2120
2105
  id: l.name,
2121
2106
  label: l.fieldLabel
@@ -2130,9 +2115,9 @@ const bt = { key: 0 }, ft = {
2130
2115
  }, [
2131
2116
  m("label", {
2132
2117
  for: l.name,
2133
- class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2")
2118
+ class: B(l.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + l.labelWidthClass)
2134
2119
  }, h(l.fieldLabel), 11, Yt),
2135
- l.type === "number" ? (i(), w(p(me), V({
2120
+ l.type === "number" ? (i(), w(p(me), _({
2136
2121
  key: 0,
2137
2122
  id: l.name
2138
2123
  }, v.$attrs, {
@@ -2142,7 +2127,7 @@ const bt = { key: 0 }, ft = {
2142
2127
  modelValue: t.value,
2143
2128
  "onUpdate:modelValue": s[1] || (s[1] = (x) => t.value = x),
2144
2129
  onInput: o
2145
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(S, V({
2130
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : l.type === "textarea" ? (i(), w(V, _({
2146
2131
  key: 1,
2147
2132
  id: l.name
2148
2133
  }, v.$attrs, {
@@ -2151,8 +2136,8 @@ const bt = { key: 0 }, ft = {
2151
2136
  modelValue: t.value,
2152
2137
  "onUpdate:modelValue": s[2] || (s[2] = (x) => t.value = x),
2153
2138
  onInput: o,
2154
- onBlur: p(r)
2155
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(T, V({
2139
+ onBlur: p(u)
2140
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "mask" ? (i(), w(S, _({
2156
2141
  key: 2,
2157
2142
  id: l.name
2158
2143
  }, v.$attrs, {
@@ -2162,8 +2147,8 @@ const bt = { key: 0 }, ft = {
2162
2147
  modelValue: t.value,
2163
2148
  "onUpdate:modelValue": s[3] || (s[3] = (x) => t.value = x),
2164
2149
  onComplete: o,
2165
- onBlur: p(r)
2166
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(M, V({
2150
+ onBlur: p(u)
2151
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : l.type === "text" ? (i(), w(M, _({
2167
2152
  key: 3,
2168
2153
  id: l.name
2169
2154
  }, v.$attrs, {
@@ -2172,31 +2157,31 @@ const bt = { key: 0 }, ft = {
2172
2157
  modelValue: t.value,
2173
2158
  "onUpdate:modelValue": s[4] || (s[4] = (x) => t.value = x),
2174
2159
  onInput: o,
2175
- onBlur: p(r)
2176
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(I, V({ key: 4 }, { ...l, ...v.$attrs }, {
2160
+ onBlur: p(u)
2161
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : l.type === "select" ? (i(), w(I, _({ key: 4 }, { ...l, ...v.$attrs }, {
2177
2162
  modelValue: t.value,
2178
2163
  "onUpdate:modelValue": s[5] || (s[5] = (x) => t.value = x),
2179
2164
  class: { "is-invalid": c.value }
2180
- }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, V({ key: 5 }, { ...l, ...v.$attrs }, {
2165
+ }), null, 16, ["modelValue", "class"])) : l.type === "multiselect" ? (i(), w(z, _({ key: 5 }, { ...l, ...v.$attrs }, {
2181
2166
  modelValue: t.value,
2182
2167
  "onUpdate:modelValue": s[6] || (s[6] = (x) => t.value = x),
2183
2168
  class: { "is-invalid": c.value }
2184
- }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(f, V({ key: 6 }, { ...l, ...v.$attrs }, {
2169
+ }), null, 16, ["modelValue", "class"])) : l.type === "datepicker" ? (i(), w(f, _({ key: 6 }, { ...l, ...v.$attrs }, {
2185
2170
  modelValue: t.value,
2186
2171
  "onUpdate:modelValue": s[7] || (s[7] = (x) => t.value = x),
2187
2172
  class: { "is-invalid": c.value }
2188
- }), null, 16, ["modelValue", "class"])) : C("", !0)
2173
+ }), null, 16, ["modelValue", "class"])) : T("", !0)
2189
2174
  ], 2),
2190
- j(m("small", {
2175
+ H(m("small", {
2191
2176
  "data-cy": "error",
2192
2177
  class: "invalid-feedback"
2193
- }, h(p(d)), 513), [
2178
+ }, h(p(r)), 513), [
2194
2179
  [q, c.value && l.type !== "multiselect" && l.type !== "datepicker"]
2195
2180
  ])
2196
2181
  ]));
2197
2182
  };
2198
2183
  }
2199
- }), Ma = /* @__PURE__ */ F({
2184
+ }), Pa = /* @__PURE__ */ F({
2200
2185
  __name: "ForgeChips",
2201
2186
  props: {
2202
2187
  chipSeverity: { default: "primary" },
@@ -2223,16 +2208,16 @@ const bt = { key: 0 }, ft = {
2223
2208
  unstyled: { type: Boolean }
2224
2209
  },
2225
2210
  setup(e) {
2226
- const t = e, { errors: l, value: o, errorMessage: a } = K(() => t.name, void 0, {
2211
+ const t = e, { errors: l, value: o, errorMessage: a } = G(() => t.name, void 0, {
2227
2212
  initialValue: t.modelValue
2228
- }), n = k(() => l.value.length > 0), d = k(() => ({
2213
+ }), n = k(() => l.value.length > 0), r = k(() => ({
2229
2214
  inputtoken: "list-unstyled",
2230
2215
  input: "border-0",
2231
- container: ({ props: u }) => ({
2216
+ container: ({ props: d }) => ({
2232
2217
  class: [
2233
2218
  "form-control mb-0 d-flex",
2234
2219
  {
2235
- disabled: u.disabled,
2220
+ disabled: d.disabled,
2236
2221
  "is-invalid": n.value
2237
2222
  }
2238
2223
  ]
@@ -2256,16 +2241,16 @@ const bt = { key: 0 }, ft = {
2256
2241
  ]
2257
2242
  }
2258
2243
  }));
2259
- return (u, r) => {
2244
+ return (d, u) => {
2260
2245
  const c = Te;
2261
2246
  return i(), b(N, null, [
2262
- y(c, V({ ...t, ...u.$attrs }, {
2263
- pt: d.value,
2247
+ y(c, _({ ...t, ...d.$attrs }, {
2248
+ pt: r.value,
2264
2249
  "model-value": p(o),
2265
- "onUpdate:modelValue": r[0] || (r[0] = (v) => se(o) ? o.value = v : null)
2250
+ "onUpdate:modelValue": u[0] || (u[0] = (v) => se(o) ? o.value = v : null)
2266
2251
  }), {
2267
2252
  removetokenicon: g(({ removeCallback: v }) => [
2268
- j(y(p(_), {
2253
+ H(y(p(C), {
2269
2254
  icon: "bi:x",
2270
2255
  class: "cursor-pointer",
2271
2256
  onClick: v
@@ -2275,7 +2260,7 @@ const bt = { key: 0 }, ft = {
2275
2260
  ]),
2276
2261
  _: 1
2277
2262
  }, 16, ["pt", "model-value"]),
2278
- j(m("small", {
2263
+ H(m("small", {
2279
2264
  "data-cy": "error",
2280
2265
  class: "text-invalid"
2281
2266
  }, h(p(a)), 513), [
@@ -2284,7 +2269,7 @@ const bt = { key: 0 }, ft = {
2284
2269
  ], 64);
2285
2270
  };
2286
2271
  }
2287
- }), Gt = /* @__PURE__ */ F({
2272
+ }), Wt = /* @__PURE__ */ F({
2288
2273
  __name: "ForgeProgressBar",
2289
2274
  props: {
2290
2275
  severity: { default: "primary" },
@@ -2326,17 +2311,17 @@ const bt = { key: 0 }, ft = {
2326
2311
  class: [a.value, l.value, o.value]
2327
2312
  }
2328
2313
  }));
2329
- return (d, u) => {
2330
- const r = Pe;
2331
- return i(), w(r, V({ ...d.$attrs, ...t }, { pt: n.value }), {
2314
+ return (r, d) => {
2315
+ const u = Pe;
2316
+ return i(), w(u, _({ ...r.$attrs, ...t }, { pt: n.value }), {
2332
2317
  default: g(() => [
2333
- $(d.$slots, "default")
2318
+ $(r.$slots, "default")
2334
2319
  ]),
2335
2320
  _: 3
2336
2321
  }, 16, ["pt"]);
2337
2322
  };
2338
2323
  }
2339
- }), Kt = { class: "value text-white w-100 text-center" }, Ia = /* @__PURE__ */ F({
2324
+ }), Gt = { class: "value text-white w-100 text-center" }, Ma = /* @__PURE__ */ F({
2340
2325
  __name: "ForgeStatWidget",
2341
2326
  props: {
2342
2327
  size: { default: "md" },
@@ -2344,18 +2329,18 @@ const bt = { key: 0 }, ft = {
2344
2329
  },
2345
2330
  setup(e) {
2346
2331
  const t = e;
2347
- return (l, o) => (i(), b("div", V(l.$attrs, {
2332
+ return (l, o) => (i(), b("div", _(l.$attrs, {
2348
2333
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2349
2334
  }), [
2350
- m("span", Kt, [
2335
+ m("span", Gt, [
2351
2336
  $(l.$slots, "default")
2352
2337
  ])
2353
2338
  ], 16));
2354
2339
  }
2355
- }), Wt = {
2340
+ }), Kt = {
2356
2341
  class: "d-flex flex-column align-items-center",
2357
2342
  "data-cy": "stepper"
2358
- }, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, za = /* @__PURE__ */ F({
2343
+ }, Zt = { class: "d-flex align-items-center justify-content-center w-100" }, Ia = /* @__PURE__ */ F({
2359
2344
  __name: "ForgeStepper",
2360
2345
  props: {
2361
2346
  currentStep: { default: 0 },
@@ -2376,16 +2361,16 @@ const bt = { key: 0 }, ft = {
2376
2361
  a.value--;
2377
2362
  while (o.model[a.value].disabled);
2378
2363
  l("update:currentStep", a.value);
2379
- }, d = () => {
2364
+ }, r = () => {
2380
2365
  if (a.value < o.model.length - 1)
2381
2366
  do
2382
2367
  a.value++;
2383
2368
  while (o.model[a.value].disabled);
2384
2369
  l("update:currentStep", a.value);
2385
- }, u = k(() => {
2370
+ }, d = k(() => {
2386
2371
  const c = o.model.findIndex((v) => !v.disabled);
2387
2372
  return !(c < a.value && c > -1);
2388
- }), r = k(() => ({
2373
+ }), u = k(() => ({
2389
2374
  menuitem: (c) => ({
2390
2375
  class: [{
2391
2376
  "cursor-pointer": !c.context.disabled
@@ -2422,40 +2407,40 @@ const bt = { key: 0 }, ft = {
2422
2407
  })
2423
2408
  }));
2424
2409
  return (c, v) => {
2425
- const s = L, S = Ie, T = Me;
2426
- return i(), b("div", Wt, [
2410
+ const s = L, V = Ie, S = Me;
2411
+ return i(), b("div", Kt, [
2427
2412
  m("div", Zt, [
2428
2413
  y(s, {
2429
2414
  severity: o.severity,
2430
- disabled: u.value,
2415
+ disabled: d.value,
2431
2416
  onClick: n,
2432
2417
  class: "rounded-circle py-2 me-4",
2433
2418
  "data-cy": "back-button"
2434
2419
  }, {
2435
2420
  default: g(() => [
2436
- y(p(_), {
2421
+ y(p(C), {
2437
2422
  icon: "bi:chevron-left",
2438
2423
  class: "mb-1"
2439
2424
  })
2440
2425
  ]),
2441
2426
  _: 1
2442
2427
  }, 8, ["severity", "disabled"]),
2443
- y(S, {
2428
+ y(V, {
2444
2429
  "active-step": a.value,
2445
2430
  "onUpdate:activeStep": v[0] || (v[0] = (M) => a.value = M),
2446
2431
  model: o.model,
2447
- pt: r.value,
2432
+ pt: u.value,
2448
2433
  readonly: !1
2449
2434
  }, null, 8, ["active-step", "model", "pt"])
2450
2435
  ]),
2451
- y(T, { class: "m-4" }),
2452
- (i(!0), b(N, null, H(o.model, (M, I) => (i(), b("div", {
2436
+ y(S, { class: "m-4" }),
2437
+ (i(!0), b(N, null, j(o.model, (M, I) => (i(), b("div", {
2453
2438
  key: I,
2454
2439
  class: "w-100"
2455
2440
  }, [
2456
2441
  I === a.value ? $(c.$slots, M.key ?? M.label, {
2457
2442
  key: 0,
2458
- nextStep: d,
2443
+ nextStep: r,
2459
2444
  previousStep: n
2460
2445
  }, () => [
2461
2446
  y(oe, {
@@ -2467,18 +2452,18 @@ const bt = { key: 0 }, ft = {
2467
2452
  y(s, {
2468
2453
  severity: "primary",
2469
2454
  label: "Next",
2470
- onClick: d,
2455
+ onClick: r,
2471
2456
  class: "ms-2"
2472
2457
  })
2473
2458
  ]),
2474
2459
  _: 2
2475
2460
  }, 1024)
2476
- ]) : C("", !0)
2461
+ ]) : T("", !0)
2477
2462
  ]))), 128))
2478
2463
  ]);
2479
2464
  };
2480
2465
  }
2481
- }), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, Oa = /* @__PURE__ */ F({
2466
+ }), Jt = { class: "p-4 text-wrap w-100" }, Xt = { class: "p-4 text-wrap w-100" }, za = /* @__PURE__ */ F({
2482
2467
  __name: "ForgeTile",
2483
2468
  props: {
2484
2469
  severity: { default: "primary" },
@@ -2489,8 +2474,8 @@ const bt = { key: 0 }, ft = {
2489
2474
  setup(e) {
2490
2475
  const t = e, l = k(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), o = k(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
2491
2476
  return (a, n) => {
2492
- const d = L;
2493
- return t.clickable ? (i(), w(d, {
2477
+ const r = L;
2478
+ return t.clickable ? (i(), w(r, {
2494
2479
  key: 0,
2495
2480
  class: B(["d-flex w-100 p-0 text-body", l.value]),
2496
2481
  severity: t.severity,
@@ -2537,32 +2522,32 @@ const Qt = {
2537
2522
  },
2538
2523
  emits: ["update:perPage"],
2539
2524
  setup(e, { emit: t }) {
2540
- const l = t, o = e, a = (d) => {
2541
- l("update:perPage", d.value);
2525
+ const l = t, o = e, a = (r) => {
2526
+ l("update:perPage", r.value);
2542
2527
  }, n = k(() => {
2543
- const d = Math.ceil(o.total / o.perPage);
2544
- return `${d} ${X(d, "page")}`;
2528
+ const r = Math.ceil(o.total / o.perPage);
2529
+ return `${r} ${X(r, "page")}`;
2545
2530
  });
2546
- return (d, u) => (i(), b("div", Qt, [
2547
- u[2] || (u[2] = O(" Number of results per page ")),
2531
+ return (r, d) => (i(), b("div", Qt, [
2532
+ d[2] || (d[2] = O(" Number of results per page ")),
2548
2533
  m("div", el, [
2549
2534
  y(p(ae), {
2550
2535
  options: o.pageSizes,
2551
2536
  "model-value": o.perPage,
2552
2537
  class: "page-size",
2553
- onChange: u[0] || (u[0] = (r) => a(r))
2538
+ onChange: d[0] || (d[0] = (u) => a(u))
2554
2539
  }, null, 8, ["options", "model-value"])
2555
2540
  ]),
2556
2541
  o.total ? (i(), b("div", tl, [
2557
- u[1] || (u[1] = m("span", { class: "mx-2" }, "|", -1)),
2542
+ d[1] || (d[1] = m("span", { class: "mx-2" }, "|", -1)),
2558
2543
  m("span", ll, h(o.total) + " " + h(p(X)(o.total, "result")) + " across " + h(n.value), 1)
2559
- ])) : C("", !0)
2544
+ ])) : T("", !0)
2560
2545
  ]));
2561
2546
  }
2562
2547
  }), ol = { class: "position-relative" }, nl = { "data-cy": "above-table-slot" }, sl = { class: "d-flex w-100" }, il = {
2563
2548
  class: "mx-auto",
2564
2549
  "data-cy": "empty-message"
2565
- }, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Da = /* @__PURE__ */ F({
2550
+ }, rl = { class: "d-flex" }, dl = { class: "d-flex align-items-end mb-2" }, ul = { key: 0 }, cl = { class: "ms-auto" }, Oa = /* @__PURE__ */ F({
2566
2551
  __name: "ForgeTable",
2567
2552
  props: {
2568
2553
  value: {},
@@ -2644,15 +2629,15 @@ const Qt = {
2644
2629
  },
2645
2630
  emits: ["update:filters", "update:tableContext", "sort", "page"],
2646
2631
  setup(e, { emit: t }) {
2647
- const l = t, o = e, a = P(), n = P([10, 20, 50, 100]), d = P(20), u = P({
2632
+ const l = t, o = e, a = P(), n = P([5, 10, 20, 50, 100]), r = P(5), d = P({
2648
2633
  filters: o.filters,
2649
- perPage: d.value,
2634
+ perPage: r.value,
2650
2635
  page: 0,
2651
2636
  sortDirection: "None",
2652
2637
  sortField: "",
2653
2638
  total: o.totalRecords ?? o.value.length
2654
- }), r = k(() => o.totalRecords ?? o.value.length), c = k(() => {
2655
- const f = Math.ceil(r.value / d.value);
2639
+ }), u = k(() => o.totalRecords ?? o.value.length), c = k(() => {
2640
+ const f = Math.ceil(u.value / r.value);
2656
2641
  return `${f} ${X(f, "page")}`;
2657
2642
  }), v = k(() => ({
2658
2643
  thead: () => ({
@@ -2683,36 +2668,36 @@ const Qt = {
2683
2668
  for (const f in o.filters)
2684
2669
  typeof o.filters[f] == "string" ? o.filters[f] = "" : o.filters[f].value = null;
2685
2670
  M(o.filters);
2686
- }, S = () => {
2671
+ }, V = () => {
2687
2672
  a.value.exportCSV();
2688
- }, T = (f) => {
2673
+ }, S = (f) => {
2689
2674
  var x;
2690
- u.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", u.value.sortField = ((x = f.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", u.value), l("sort", f);
2675
+ d.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", d.value.sortField = ((x = f.sortField) == null ? void 0 : x.toString()) ?? "", l("update:tableContext", d.value), l("sort", f);
2691
2676
  }, M = (f) => {
2692
- u.value.filters = f, l("update:tableContext", u.value), l("update:filters", f);
2677
+ d.value.filters = f, l("update:tableContext", d.value), l("update:filters", f);
2693
2678
  }, I = (f) => {
2694
- u.value.page = f.page, l("update:tableContext", u.value), l("page", f);
2679
+ d.value.page = f.page, l("update:tableContext", d.value), l("page", f);
2695
2680
  }, z = () => {
2696
- u.value.perPage = d.value, l("update:tableContext", u.value);
2681
+ d.value.perPage = r.value, l("update:tableContext", d.value);
2697
2682
  };
2698
2683
  return ue(() => o.filters, (f) => {
2699
- u.value.filters = f, l("update:tableContext", u.value);
2700
- }, { deep: !0 }), le(() => l("update:tableContext", u.value)), (f, x) => (i(), b("div", ol, [
2684
+ d.value.filters = f, l("update:tableContext", d.value);
2685
+ }, { deep: !0 }), le(() => l("update:tableContext", d.value)), (f, x) => (i(), b("div", ol, [
2701
2686
  m("span", nl, [
2702
2687
  $(f.$slots, "above-table")
2703
2688
  ]),
2704
- y(p(ze), V({
2689
+ y(p(ze), _({
2705
2690
  class: ["w-100", `${o.severity ? `forge-table-${o.severity}` : ""}`]
2706
2691
  }, { ...o, ...f.$attrs }, {
2707
2692
  pt: v.value,
2708
- rows: d.value,
2709
- "total-records": r.value,
2693
+ rows: r.value,
2694
+ "total-records": u.value,
2710
2695
  "filter-display": o.filters ? "row" : void 0,
2711
2696
  ref_key: "forgeTable",
2712
2697
  ref: a,
2713
2698
  "data-cy": "table",
2714
2699
  "onUpdate:filters": M,
2715
- onSort: T,
2700
+ onSort: S,
2716
2701
  onPage: I
2717
2702
  }), te({
2718
2703
  empty: g(() => [
@@ -2728,15 +2713,15 @@ const Qt = {
2728
2713
  m("div", dl, [
2729
2714
  f.paginator && !f.legacyPaginationFooter ? (i(), b("span", ul, [
2730
2715
  y(al, {
2731
- total: r.value,
2716
+ total: u.value,
2732
2717
  "page-sizes": n.value,
2733
- "per-page": d.value,
2718
+ "per-page": r.value,
2734
2719
  "onUpdate:perPage": [
2735
- x[0] || (x[0] = (G) => d.value = G),
2720
+ x[0] || (x[0] = (Y) => r.value = Y),
2736
2721
  z
2737
2722
  ]
2738
2723
  }, null, 8, ["total", "page-sizes", "per-page"])
2739
- ])) : C("", !0)
2724
+ ])) : T("", !0)
2740
2725
  ]),
2741
2726
  m("div", cl, [
2742
2727
  f.showClearButton ? (i(), w(p(L), {
@@ -2747,7 +2732,7 @@ const Qt = {
2747
2732
  "data-cy": "clear-all"
2748
2733
  }, {
2749
2734
  default: g(() => [
2750
- y(p(_), {
2735
+ y(p(C), {
2751
2736
  icon: "bi:funnel-fill",
2752
2737
  width: "24",
2753
2738
  height: "24"
@@ -2755,15 +2740,15 @@ const Qt = {
2755
2740
  x[2] || (x[2] = O(" Clear "))
2756
2741
  ]),
2757
2742
  _: 1
2758
- }, 8, ["class"])) : C("", !0),
2743
+ }, 8, ["class"])) : T("", !0),
2759
2744
  f.showExporterButton ? (i(), w(p(L), {
2760
2745
  key: 1,
2761
2746
  outlined: "",
2762
- onClick: S,
2747
+ onClick: V,
2763
2748
  "data-cy": "exporter"
2764
2749
  }, {
2765
2750
  default: g(() => [
2766
- y(p(_), {
2751
+ y(p(C), {
2767
2752
  icon: "typcn:export",
2768
2753
  width: "24",
2769
2754
  height: "24"
@@ -2771,7 +2756,7 @@ const Qt = {
2771
2756
  x[3] || (x[3] = O(" Export "))
2772
2757
  ]),
2773
2758
  _: 1
2774
- })) : C("", !0),
2759
+ })) : T("", !0),
2775
2760
  $(f.$slots, "column-customiser")
2776
2761
  ])
2777
2762
  ])
@@ -2782,7 +2767,7 @@ const Qt = {
2782
2767
  ]),
2783
2768
  _: 2
2784
2769
  }, [
2785
- H(f.$slots, (G, Z) => ({
2770
+ j(f.$slots, (Y, Z) => ({
2786
2771
  name: Z,
2787
2772
  fn: g((ne) => [
2788
2773
  $(f.$slots, Z, Q(ee(ne || {})))
@@ -2798,8 +2783,8 @@ const Qt = {
2798
2783
  x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
2799
2784
  y(p(ae), {
2800
2785
  options: n.value,
2801
- modelValue: d.value,
2802
- "onUpdate:modelValue": x[1] || (x[1] = (G) => d.value = G),
2786
+ modelValue: r.value,
2787
+ "onUpdate:modelValue": x[1] || (x[1] = (Y) => r.value = Y),
2803
2788
  class: "ms-2",
2804
2789
  onClick: z
2805
2790
  }, null, 8, ["options", "modelValue"])
@@ -2813,14 +2798,14 @@ const Qt = {
2813
2798
  m("span", {
2814
2799
  "data-cy": "legacy-total",
2815
2800
  class: B(o.loading ? "opacity-50" : "")
2816
- }, h(r.value) + " " + h(p(X)(r.value, "result")) + " across " + h(c.value), 3)
2801
+ }, h(u.value) + " " + h(p(X)(u.value, "result")) + " across " + h(c.value), 3)
2817
2802
  ]),
2818
2803
  key: "1"
2819
2804
  } : void 0
2820
2805
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
2821
2806
  ]));
2822
2807
  }
2823
- }), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, vl = { class: "d-flex w-100" }, Ua = /* @__PURE__ */ F({
2808
+ }), ml = { class: "d-flex position-relative" }, pl = { class: "d-flex w-100" }, Da = /* @__PURE__ */ F({
2824
2809
  __name: "ForgeFilterHeader",
2825
2810
  props: /* @__PURE__ */ R({
2826
2811
  dataType: {},
@@ -2838,53 +2823,53 @@ const Qt = {
2838
2823
  const t = U(e, "modelValue"), l = (a, n) => {
2839
2824
  if (!a || Array.isArray(a) && a.length === 0)
2840
2825
  return n;
2841
- const d = (u) => {
2826
+ const r = (d) => {
2842
2827
  var c;
2843
- const r = (c = e.dropdownOptions) == null ? void 0 : c.find(
2844
- (v) => e.optionValue ? v[e.optionValue] === u : Object.keys(v).every((s) => u.hasOwnProperty(s) && v[s] === u[s])
2828
+ const u = (c = e.dropdownOptions) == null ? void 0 : c.find(
2829
+ (v) => e.optionValue ? v[e.optionValue] === d : Object.keys(v).every((s) => d.hasOwnProperty(s) && v[s] === d[s])
2845
2830
  );
2846
- return e.optionLabel ? r[e.optionLabel] : r;
2831
+ return e.optionLabel ? u[e.optionLabel] : u;
2847
2832
  };
2848
- return Array.isArray(a) ? a.map(d).join(", ") : d(a);
2833
+ return Array.isArray(a) ? a.map(r).join(", ") : r(a);
2849
2834
  }, o = () => {
2850
2835
  e.clearFilter ? e.clearFilter() : t.value = null;
2851
2836
  };
2852
2837
  return (a, n) => {
2853
- const d = me, u = L;
2838
+ const r = me, d = L;
2854
2839
  return i(), b("div", ml, [
2855
- a.dataType === "numeric" ? (i(), w(d, V({
2840
+ a.dataType === "numeric" ? (i(), w(r, _({
2856
2841
  key: 0,
2857
2842
  modelValue: t.value,
2858
- "onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r)
2859
- }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(be, V({
2843
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => t.value = u)
2844
+ }, a.$attrs), null, 16, ["modelValue"])) : a.dataType === "date" ? (i(), w(be, _({
2860
2845
  key: 1,
2861
2846
  modelValue: t.value,
2862
- "onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r)
2847
+ "onUpdate:modelValue": n[1] || (n[1] = (u) => t.value = u)
2863
2848
  }, a.$attrs, {
2864
2849
  "show-icon": !1,
2865
2850
  "show-on-focus": !0
2866
- }), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(p(ae), V({
2851
+ }), null, 16, ["modelValue"])) : a.dataType === "select" ? (i(), w(p(ae), _({
2867
2852
  key: 2,
2868
2853
  modelValue: t.value,
2869
- "onUpdate:modelValue": n[2] || (n[2] = (r) => t.value = r)
2854
+ "onUpdate:modelValue": n[2] || (n[2] = (u) => t.value = u)
2870
2855
  }, a.$attrs, {
2871
2856
  options: a.dropdownOptions,
2872
2857
  "option-value": a.optionValue,
2873
2858
  "option-label": a.optionLabel
2874
2859
  }), {
2875
- value: g(({ value: r, placeholder: c }) => [
2860
+ value: g(({ value: u, placeholder: c }) => [
2876
2861
  m("div", pl, [
2877
2862
  m("span", {
2878
- class: B({ "filter-placeholder": r === null })
2879
- }, h(l(r, c)), 3),
2880
- a.showClearButton && t.value !== null ? (i(), w(u, {
2863
+ class: B({ "filter-placeholder": u === null })
2864
+ }, h(l(u, c)), 3),
2865
+ a.showClearButton && t.value !== null ? (i(), w(d, {
2881
2866
  key: 0,
2882
- onClick: Y(o, ["prevent"]),
2867
+ onClick: W(o, ["prevent"]),
2883
2868
  size: "small",
2884
2869
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
2885
2870
  }, {
2886
2871
  default: g(() => [
2887
- y(p(_), {
2872
+ y(p(C), {
2888
2873
  icon: "bi:x",
2889
2874
  width: "1rem",
2890
2875
  height: "1rem",
@@ -2892,14 +2877,14 @@ const Qt = {
2892
2877
  })
2893
2878
  ]),
2894
2879
  _: 1
2895
- })) : C("", !0)
2880
+ })) : T("", !0)
2896
2881
  ])
2897
2882
  ]),
2898
2883
  _: 1
2899
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(p(re), V({
2884
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : a.dataType === "multiselect" ? (i(), w(p(re), _({
2900
2885
  key: 3,
2901
2886
  modelValue: t.value,
2902
- "onUpdate:modelValue": n[3] || (n[3] = (r) => t.value = r)
2887
+ "onUpdate:modelValue": n[3] || (n[3] = (u) => t.value = u)
2903
2888
  }, a.$attrs, {
2904
2889
  options: a.dropdownOptions,
2905
2890
  showToggleAll: !1,
@@ -2907,44 +2892,19 @@ const Qt = {
2907
2892
  "option-value": a.optionValue,
2908
2893
  filter: "",
2909
2894
  display: "chip"
2910
- }), {
2911
- value: g(({ value: r, placeholder: c }) => [
2912
- m("div", vl, [
2913
- m("span", {
2914
- class: B({ "filter-placeholder": (r == null ? void 0 : r.length) === 0 || r === null })
2915
- }, h(l(r, c)), 3),
2916
- a.showClearButton && (r == null ? void 0 : r.length) > 0 ? (i(), w(u, {
2917
- key: 0,
2918
- onClick: Y(o, ["prevent"]),
2919
- size: "small",
2920
- class: "bg-transparent border-0 ms-auto p-0 pe-1"
2921
- }, {
2922
- default: g(() => [
2923
- y(p(_), {
2924
- icon: "bi:x",
2925
- width: "1rem",
2926
- height: "1rem",
2927
- class: "text-black"
2928
- })
2929
- ]),
2930
- _: 1
2931
- })) : C("", !0)
2932
- ])
2933
- ]),
2934
- _: 1
2935
- }, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(p(ie), V({
2895
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (i(), w(p(ie), _({
2936
2896
  key: 4,
2937
2897
  modelValue: t.value,
2938
- "onUpdate:modelValue": n[4] || (n[4] = (r) => t.value = r)
2898
+ "onUpdate:modelValue": n[4] || (n[4] = (u) => t.value = u)
2939
2899
  }, a.$attrs), null, 16, ["modelValue"])),
2940
- a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(u, {
2900
+ a.showClearButton && t.value !== null && a.dataType !== "select" && a.dataType !== "multiselect" && a.dataType !== "date" ? (i(), w(d, {
2941
2901
  key: 5,
2942
- onClick: Y(o, ["prevent"]),
2902
+ onClick: W(o, ["prevent"]),
2943
2903
  size: "small",
2944
2904
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
2945
2905
  }, {
2946
2906
  default: g(() => [
2947
- y(p(_), {
2907
+ y(p(C), {
2948
2908
  icon: "bi:x",
2949
2909
  width: "1rem",
2950
2910
  height: "1rem",
@@ -2952,7 +2912,7 @@ const Qt = {
2952
2912
  })
2953
2913
  ]),
2954
2914
  _: 1
2955
- })) : C("", !0)
2915
+ })) : T("", !0)
2956
2916
  ]);
2957
2917
  };
2958
2918
  }
@@ -2960,16 +2920,16 @@ const Qt = {
2960
2920
  function fe(e, t, l, o) {
2961
2921
  const a = t.flatMap((n) => n.file);
2962
2922
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
2963
- const d = a.findIndex((r) => r.name === n.name);
2964
- let u = "Not Uploaded";
2965
- d === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (u = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2923
+ const r = a.findIndex((u) => u.name === n.name);
2924
+ let d = "Not Uploaded";
2925
+ r === -1 ? ((!l.includes(n.type) || !(n.size <= o)) && (d = l.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
2966
2926
  file: n,
2967
- status: u,
2927
+ status: d,
2968
2928
  blobFileName: null
2969
- })) : t[d].status = "Duplicate";
2929
+ })) : t[r].status = "Duplicate";
2970
2930
  }), t;
2971
2931
  }
2972
- async function yl(e, t) {
2932
+ async function vl(e, t) {
2973
2933
  if (e === "Uploaded" && t !== null)
2974
2934
  try {
2975
2935
  await new pe(t).delete();
@@ -2986,22 +2946,22 @@ function de(e, t = !0, l = 1) {
2986
2946
  return e + " B";
2987
2947
  const a = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
2988
2948
  let n = -1;
2989
- const d = 10 ** l;
2949
+ const r = 10 ** l;
2990
2950
  do
2991
2951
  e /= o, ++n;
2992
- while (Math.round(Math.abs(e) * d) / d >= o && n < a.length - 1);
2952
+ while (Math.round(Math.abs(e) * r) / r >= o && n < a.length - 1);
2993
2953
  return e.toFixed(l) + " " + a[n];
2994
2954
  }
2995
- function bl(e) {
2955
+ function yl(e) {
2996
2956
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
2997
2957
  }
2998
- function fl(e) {
2958
+ function bl(e) {
2999
2959
  return URL.createObjectURL(e);
3000
2960
  }
3001
- const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disabled", "multiple"], wl = {
2961
+ const fl = { class: "d-flex justify-content-between" }, gl = ["accept", "disabled", "multiple"], hl = {
3002
2962
  class: "text-break accepted-file-types-container",
3003
2963
  id: "accepted-file-types-overlay"
3004
- }, xl = /* @__PURE__ */ F({
2964
+ }, wl = /* @__PURE__ */ F({
3005
2965
  __name: "UploadButton",
3006
2966
  props: /* @__PURE__ */ R({
3007
2967
  acceptedFileTypes: {},
@@ -3013,71 +2973,71 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3013
2973
  }),
3014
2974
  emits: ["update:modelValue"],
3015
2975
  setup(e) {
3016
- const t = U(e, "modelValue"), l = P(), o = (d) => l.value.toggle(d), a = k(() => e.maxFileInput <= t.value.length), n = (d) => {
3017
- t.value = fe(d, t.value, e.acceptedFileTypes.map((u) => u.fileType), e.maxFileInput);
2976
+ const t = U(e, "modelValue"), l = P(), o = (r) => l.value.toggle(r), a = k(() => e.maxFileInput <= t.value.length), n = (r) => {
2977
+ t.value = fe(r, t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileInput);
3018
2978
  };
3019
- return (d, u) => {
3020
- const r = L;
3021
- return i(), b("div", gl, [
3022
- $(d.$slots, "message"),
2979
+ return (r, d) => {
2980
+ const u = L;
2981
+ return i(), b("div", fl, [
2982
+ $(r.$slots, "message"),
3023
2983
  m("div", null, [
3024
2984
  m("input", {
3025
2985
  id: "file-input",
3026
2986
  type: "file",
3027
2987
  class: "d-none",
3028
- accept: d.acceptedFileTypes.join(", "),
2988
+ accept: r.acceptedFileTypes.join(", "),
3029
2989
  disabled: a.value,
3030
- multiple: d.maxFileInput > 1,
3031
- onInput: u[0] || (u[0] = (c) => n([...c.target.files]))
3032
- }, null, 40, hl),
2990
+ multiple: r.maxFileInput > 1,
2991
+ onInput: d[0] || (d[0] = (c) => n([...c.target.files]))
2992
+ }, null, 40, gl),
3033
2993
  m("label", {
3034
2994
  class: B([{ disabled: a.value }, "btn btn-primary"]),
3035
2995
  id: "file-input-button",
3036
2996
  for: "file-input"
3037
2997
  }, [
3038
- $(d.$slots, "button-content", {}, () => [
3039
- y(p(_), {
2998
+ $(r.$slots, "button-content", {}, () => [
2999
+ y(p(C), {
3040
3000
  icon: "bi:upload",
3041
3001
  class: "me-2",
3042
3002
  height: "20px",
3043
3003
  width: "20px"
3044
3004
  }),
3045
- u[1] || (u[1] = O(" Browse your computer "))
3005
+ d[1] || (d[1] = O(" Browse your computer "))
3046
3006
  ])
3047
3007
  ], 2)
3048
3008
  ]),
3049
- d.showDragDropArea ? (i(), w(r, {
3009
+ r.showDragDropArea ? (i(), w(u, {
3050
3010
  link: "",
3051
3011
  class: "ms-auto",
3052
- key: d.acceptedFileTypes.length,
3012
+ key: r.acceptedFileTypes.length,
3053
3013
  id: "accepted-file-types",
3054
3014
  onClick: o
3055
3015
  }, {
3056
- default: g(() => u[2] || (u[2] = [
3016
+ default: g(() => d[2] || (d[2] = [
3057
3017
  O("Accepted File Types")
3058
3018
  ])),
3059
3019
  _: 1
3060
- })) : C("", !0),
3020
+ })) : T("", !0),
3061
3021
  y(p(ve), {
3062
3022
  ref_key: "acceptedFilesOverlay",
3063
3023
  ref: l
3064
3024
  }, {
3065
3025
  default: g(() => [
3066
- m("div", wl, h(d.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3026
+ m("div", hl, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3067
3027
  ]),
3068
3028
  _: 1
3069
3029
  }, 512)
3070
3030
  ]);
3071
3031
  };
3072
3032
  }
3073
- }), kl = {
3033
+ }), xl = {
3074
3034
  key: 0,
3075
3035
  class: "py-4 px-3",
3076
3036
  id: "placeholder-message"
3077
- }, $l = {
3037
+ }, kl = {
3078
3038
  key: 1,
3079
3039
  class: "d-flex flex-column"
3080
- }, Bl = /* @__PURE__ */ F({
3040
+ }, $l = /* @__PURE__ */ F({
3081
3041
  __name: "DragDropArea",
3082
3042
  props: /* @__PURE__ */ R({
3083
3043
  maxFileInput: {},
@@ -3090,29 +3050,29 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3090
3050
  emits: ["update:modelValue"],
3091
3051
  setup(e) {
3092
3052
  const t = U(e, "modelValue"), l = P(!1), o = k(() => e.maxFileInput <= t.value.length), a = (n) => {
3093
- l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = fe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((d) => d.fileType), e.maxFileSize);
3053
+ l.value = !1, n.dataTransfer.files.length > e.maxFileInput || o.value ? n.preventDefault() : t.value = fe([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((r) => r.fileType), e.maxFileSize);
3094
3054
  };
3095
- return (n, d) => (i(), b("div", {
3055
+ return (n, r) => (i(), b("div", {
3096
3056
  id: "drag-drop-area",
3097
3057
  class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
3098
- onDragleave: d[0] || (d[0] = Y((u) => l.value = !1, ["prevent"])),
3099
- onDragover: d[1] || (d[1] = Y((u) => l.value = !0, ["prevent"])),
3100
- onDrop: Y(a, ["prevent"])
3058
+ onDragleave: r[0] || (r[0] = W((d) => l.value = !1, ["prevent"])),
3059
+ onDragover: r[1] || (r[1] = W((d) => l.value = !0, ["prevent"])),
3060
+ onDrop: W(a, ["prevent"])
3101
3061
  }, [
3102
- t.value.length === 0 ? (i(), b("div", kl, [
3103
- y(p(_), {
3062
+ t.value.length === 0 ? (i(), b("div", xl, [
3063
+ y(p(C), {
3104
3064
  icon: "bi:upload",
3105
3065
  class: "me-2",
3106
3066
  height: "20px",
3107
3067
  width: "20px"
3108
3068
  }),
3109
- d[2] || (d[2] = O(" Drag and drop files here "))
3110
- ])) : (i(), b("div", $l, [
3069
+ r[2] || (r[2] = O(" Drag and drop files here "))
3070
+ ])) : (i(), b("div", kl, [
3111
3071
  $(n.$slots, "default")
3112
3072
  ]))
3113
3073
  ], 34));
3114
3074
  }
3115
- }), Fl = { class: "d-flex align-items-center me-2" }, _l = /* @__PURE__ */ F({
3075
+ }), Bl = { class: "d-flex align-items-center me-2" }, Fl = /* @__PURE__ */ F({
3116
3076
  __name: "UploadStatus",
3117
3077
  props: {
3118
3078
  fileSize: {},
@@ -3137,8 +3097,8 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3137
3097
  return "Upload Failed: Connection error, please try again.";
3138
3098
  }
3139
3099
  });
3140
- return (o, a) => (i(), b("div", Fl, [
3141
- o.uploadStatus === "Uploading" ? (i(), w(Gt, {
3100
+ return (o, a) => (i(), b("div", Bl, [
3101
+ o.uploadStatus === "Uploading" ? (i(), w(Wt, {
3142
3102
  key: 0,
3143
3103
  pixelWidth: 200,
3144
3104
  animate: "",
@@ -3148,7 +3108,7 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3148
3108
  O(h((o.bytesUploaded / o.fileSize * 100).toFixed(0)) + "%", 1)
3149
3109
  ]),
3150
3110
  _: 1
3151
- })) : C("", !0),
3111
+ })) : T("", !0),
3152
3112
  o.uploadStatus !== "Uploading" && o.uploadStatus !== "Not Uploaded" && o.uploadStatus !== "Uploaded" && o.uploadStatus !== "Preparing" ? (i(), w(oe, {
3153
3113
  key: 1,
3154
3114
  id: "upload-status-alert",
@@ -3159,19 +3119,19 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3159
3119
  O(h(l.value), 1)
3160
3120
  ]),
3161
3121
  _: 1
3162
- }, 8, ["severity"])) : C("", !0)
3122
+ }, 8, ["severity"])) : T("", !0)
3163
3123
  ]));
3164
3124
  }
3165
- }), Vl = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Sl = {
3125
+ }), _l = ["data-cy"], Cl = { class: "ms-3 d-flex flex-column" }, Vl = {
3166
3126
  key: 1,
3167
3127
  id: "file-name"
3168
- }, Tl = {
3128
+ }, Sl = {
3169
3129
  class: "text-black-50",
3170
3130
  id: "file-type"
3171
- }, Pl = {
3131
+ }, Tl = {
3172
3132
  class: "text-black-50",
3173
3133
  id: "file-size"
3174
- }, Ml = { class: "ms-auto my-auto d-flex" }, Il = /* @__PURE__ */ F({
3134
+ }, Pl = { class: "ms-auto my-auto d-flex" }, Ml = /* @__PURE__ */ F({
3175
3135
  __name: "FileInfo",
3176
3136
  props: /* @__PURE__ */ R({
3177
3137
  editableFileName: { type: Boolean },
@@ -3190,9 +3150,9 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3190
3150
  }),
3191
3151
  emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3192
3152
  setup(e, { emit: t }) {
3193
- const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, d = P(l.value.name), u = P(""), r = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), S = () => {
3194
- l.value = new File([l.value], d.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3195
- }, T = async () => {
3153
+ const l = U(e, "file"), o = U(e, "blobFileName"), a = U(e, "uploadStatus"), n = t, r = P(l.value.name), d = P(""), u = P(0), c = P(), v = k(() => e.acceptedFileTypes.some(({ fileType: I }) => I === l.value.type)), s = k(() => l.value.size <= e.maxFileSize), V = () => {
3154
+ l.value = new File([l.value], r.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3155
+ }, S = async () => {
3196
3156
  if (!v.value || !s.value) {
3197
3157
  a.value = v.value ? "InvalidFileSize" : "InvalidFileType";
3198
3158
  return;
@@ -3207,10 +3167,10 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3207
3167
  a.value = "Uploading";
3208
3168
  const f = new pe(I), x = {
3209
3169
  abortSignal: c.value.signal,
3210
- onProgress: (G) => r.value = G.loadedBytes,
3170
+ onProgress: (Y) => u.value = Y.loadedBytes,
3211
3171
  tags: { temp: "true" }
3212
3172
  };
3213
- await f.uploadData(l.value, x), u.value = I, a.value = "Uploaded", o.value = z;
3173
+ await f.uploadData(l.value, x), d.value = I, a.value = "Uploaded", o.value = z;
3214
3174
  } catch (f) {
3215
3175
  if (f.name === "AbortError") {
3216
3176
  a.value = "Aborted";
@@ -3219,10 +3179,10 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3219
3179
  a.value = "Failed";
3220
3180
  }
3221
3181
  }, M = async () => {
3222
- await yl(a.value, u.value), n("deleted", l.value);
3182
+ await vl(a.value, d.value), n("deleted", l.value);
3223
3183
  };
3224
3184
  return le(() => {
3225
- e.autoUploadToBlob && T();
3185
+ e.autoUploadToBlob && S();
3226
3186
  }), (I, z) => {
3227
3187
  const f = L;
3228
3188
  return i(), b("div", {
@@ -3230,15 +3190,15 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3230
3190
  "data-cy": `file-info-${l.value.name}`
3231
3191
  }, [
3232
3192
  m("div", null, [
3233
- p(bl)(l.value.type) ? (i(), w(p(Oe), {
3193
+ p(yl)(l.value.type) ? (i(), w(p(Oe), {
3234
3194
  key: 0,
3235
3195
  id: "thumbnail-image",
3236
3196
  "image-class": "image-file-thumbnail border",
3237
- src: p(fl)(l.value),
3197
+ src: p(bl)(l.value),
3238
3198
  alt: l.value.name,
3239
3199
  width: "75px",
3240
3200
  preview: ""
3241
- }, null, 8, ["src", "alt"])) : (i(), w(p(_), {
3201
+ }, null, 8, ["src", "alt"])) : (i(), w(p(C), {
3242
3202
  key: 1,
3243
3203
  id: "file-earmark",
3244
3204
  icon: "bi:file-earmark",
@@ -3251,43 +3211,43 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3251
3211
  I.editableFileName ? (i(), w(Bt, {
3252
3212
  key: 0,
3253
3213
  id: "edit-file-name",
3254
- modelValue: d.value,
3255
- "onUpdate:modelValue": z[0] || (z[0] = (x) => d.value = x),
3214
+ modelValue: r.value,
3215
+ "onUpdate:modelValue": z[0] || (z[0] = (x) => r.value = x),
3256
3216
  rules: I.customFileNameRules,
3257
3217
  name: l.value.name,
3258
- "complete-action": S
3259
- }, null, 8, ["modelValue", "rules", "name"])) : (i(), b("span", Sl, h(l.value.name), 1))
3218
+ "complete-action": V
3219
+ }, null, 8, ["modelValue", "rules", "name"])) : (i(), b("span", Vl, h(l.value.name), 1))
3260
3220
  ]),
3261
- m("span", Tl, "File type: " + h(l.value.type.split("/").pop()), 1),
3262
- m("span", Pl, "File size: " + h(p(de)(l.value.size)), 1)
3221
+ m("span", Sl, "File type: " + h(l.value.type.split("/").pop()), 1),
3222
+ m("span", Tl, "File size: " + h(p(de)(l.value.size)), 1)
3263
3223
  ]),
3264
- m("div", Ml, [
3265
- (i(), w(_l, {
3224
+ m("div", Pl, [
3225
+ (i(), w(Fl, {
3266
3226
  key: a.value,
3267
3227
  "file-size": l.value.size,
3268
3228
  "upload-status": a.value,
3269
- "bytes-uploaded": r.value,
3229
+ "bytes-uploaded": u.value,
3270
3230
  "max-file-size": I.maxFileSize
3271
3231
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
3272
3232
  a.value === "Not Uploaded" || a.value === "Failed" || a.value === "Duplicate" || a.value === "Aborted" ? (i(), w(f, {
3273
3233
  key: 0,
3274
3234
  link: "",
3275
- onClick: T
3235
+ onClick: S
3276
3236
  }, {
3277
3237
  default: g(() => [
3278
- y(p(_), {
3238
+ y(p(C), {
3279
3239
  icon: a.value === "Not Uploaded" || a.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
3280
3240
  }, null, 8, ["icon"])
3281
3241
  ]),
3282
3242
  _: 1
3283
- })) : C("", !0),
3243
+ })) : T("", !0),
3284
3244
  a.value === "Uploading" ? (i(), w(f, {
3285
3245
  key: 1,
3286
3246
  link: "",
3287
3247
  onClick: z[1] || (z[1] = (x) => c.value.value.abort())
3288
3248
  }, {
3289
3249
  default: g(() => [
3290
- y(p(_), { icon: "bi:x-circle-fill" })
3250
+ y(p(C), { icon: "bi:x-circle-fill" })
3291
3251
  ]),
3292
3252
  _: 1
3293
3253
  })) : (i(), w(f, {
@@ -3297,25 +3257,25 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3297
3257
  id: "delete-button"
3298
3258
  }, {
3299
3259
  default: g(() => [
3300
- y(p(_), { icon: "bi:trash" })
3260
+ y(p(C), { icon: "bi:trash" })
3301
3261
  ]),
3302
3262
  _: 1
3303
3263
  }))
3304
3264
  ])
3305
- ], 8, Vl);
3265
+ ], 8, _l);
3306
3266
  };
3307
3267
  }
3308
- }), zl = { class: "d-flex justify-content-end mt-1" }, Ol = { id: "max-file-size" }, Dl = /* @__PURE__ */ F({
3268
+ }), Il = { class: "d-flex justify-content-end mt-1" }, zl = { id: "max-file-size" }, Ol = /* @__PURE__ */ F({
3309
3269
  __name: "MaxFileSize",
3310
3270
  props: {
3311
3271
  maxFileSize: {}
3312
3272
  },
3313
3273
  setup(e) {
3314
- return (t, l) => (i(), b("div", zl, [
3315
- m("div", Ol, "Max file size: " + h(p(de)(t.maxFileSize)), 1)
3274
+ return (t, l) => (i(), b("div", Il, [
3275
+ m("div", zl, "Max file size: " + h(p(de)(t.maxFileSize)), 1)
3316
3276
  ]));
3317
3277
  }
3318
- }), Ul = { "data-cy": "file-uploader" }, Al = { key: 0 }, Aa = /* @__PURE__ */ F({
3278
+ }), Dl = { "data-cy": "file-uploader" }, Ul = { key: 0 }, Ua = /* @__PURE__ */ F({
3319
3279
  __name: "ForgeFileUploader",
3320
3280
  props: /* @__PURE__ */ R({
3321
3281
  acceptedFileTypes: {},
@@ -3335,43 +3295,43 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3335
3295
  const t = U(e, "modelValue"), l = e, o = (a) => {
3336
3296
  t.value = t.value.filter((n) => n.file != a);
3337
3297
  };
3338
- return (a, n) => (i(), b("div", Ul, [
3339
- y(xl, V(l, {
3298
+ return (a, n) => (i(), b("div", Dl, [
3299
+ y(wl, _(l, {
3340
3300
  modelValue: t.value,
3341
- "onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
3301
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => t.value = r)
3342
3302
  }), null, 16, ["modelValue"]),
3343
- a.showDragDropArea ? (i(), b("div", Al, [
3344
- y(Bl, {
3303
+ a.showDragDropArea ? (i(), b("div", Ul, [
3304
+ y($l, {
3345
3305
  "max-file-input": l.maxFileInput,
3346
3306
  "max-file-size": l.maxFileSize,
3347
3307
  "accepted-file-types": l.acceptedFileTypes,
3348
3308
  modelValue: t.value,
3349
- "onUpdate:modelValue": n[1] || (n[1] = (d) => t.value = d)
3309
+ "onUpdate:modelValue": n[1] || (n[1] = (r) => t.value = r)
3350
3310
  }, {
3351
3311
  default: g(() => [
3352
- (i(!0), b(N, null, H(t.value, ({ file: d }, u) => (i(), b("span", null, [
3353
- (i(), w(Il, V({
3354
- key: d.name,
3355
- class: u === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3356
- file: t.value[u].file,
3357
- "onUpdate:file": (r) => t.value[u].file = r,
3358
- "blob-file-name": t.value[u].blobFileName,
3359
- "onUpdate:blobFileName": (r) => t.value[u].blobFileName = r,
3360
- "upload-status": t.value[u].status,
3361
- "onUpdate:uploadStatus": (r) => t.value[u].status = r,
3312
+ (i(!0), b(N, null, j(t.value, ({ file: r }, d) => (i(), b("span", null, [
3313
+ (i(), w(Ml, _({
3314
+ key: r.name,
3315
+ class: d === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
3316
+ file: t.value[d].file,
3317
+ "onUpdate:file": (u) => t.value[d].file = u,
3318
+ "blob-file-name": t.value[d].blobFileName,
3319
+ "onUpdate:blobFileName": (u) => t.value[d].blobFileName = u,
3320
+ "upload-status": t.value[d].status,
3321
+ "onUpdate:uploadStatus": (u) => t.value[d].status = u,
3362
3322
  ref_for: !0
3363
3323
  }, l, { onDeleted: o }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
3364
3324
  ]))), 256))
3365
3325
  ]),
3366
3326
  _: 1
3367
3327
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3368
- y(Dl, {
3328
+ y(Ol, {
3369
3329
  "max-file-size": l.maxFileSize
3370
3330
  }, null, 8, ["max-file-size"])
3371
- ])) : C("", !0)
3331
+ ])) : T("", !0)
3372
3332
  ]));
3373
3333
  }
3374
- }), Nl = { class: "d-flex" }, Ll = { class: "me-3" }, El = { class: "ms-2" }, Rl = { class: "d-flex flex-column w-100" }, jl = ["onClick"], Hl = ["for"], Na = /* @__PURE__ */ F({
3334
+ }), Al = { class: "d-flex" }, Nl = { class: "me-3" }, Ll = { class: "ms-2" }, El = { class: "d-flex flex-column w-100" }, Rl = ["onClick"], Hl = ["for"], Aa = /* @__PURE__ */ F({
3375
3335
  __name: "ForgeColumnCustomiser",
3376
3336
  props: {
3377
3337
  modelValue: { required: !0 },
@@ -3379,27 +3339,27 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3379
3339
  },
3380
3340
  emits: ["update:modelValue"],
3381
3341
  setup(e) {
3382
- const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), d = (r) => {
3383
- l.value.toggle(r);
3384
- }, u = (r) => {
3385
- const c = n.value.find((v) => v.field === r);
3342
+ const t = U(e, "modelValue"), l = P(), o = P(!1), a = P([]), n = P([]), r = (u) => {
3343
+ l.value.toggle(u);
3344
+ }, d = (u) => {
3345
+ const c = n.value.find((v) => v.field === u);
3386
3346
  c.selected = !c.selected, t.value = n.value.filter((v) => v.selected);
3387
3347
  };
3388
3348
  return le(() => {
3389
- a.value = [...t.value], n.value = [...t.value].map((r) => ({ ...r, selected: !0 }));
3390
- }), (r, c) => (i(), b(N, null, [
3349
+ a.value = [...t.value], n.value = [...t.value].map((u) => ({ ...u, selected: !0 }));
3350
+ }), (u, c) => (i(), b(N, null, [
3391
3351
  y(p(L), {
3392
- onClick: d,
3352
+ onClick: r,
3393
3353
  class: "ms-2"
3394
3354
  }, {
3395
3355
  default: g(() => [
3396
- m("div", Nl, [
3397
- m("div", Ll, [
3398
- y(p(_), { icon: "bi:layout-three-columns" })
3356
+ m("div", Al, [
3357
+ m("div", Nl, [
3358
+ y(p(C), { icon: "bi:layout-three-columns" })
3399
3359
  ]),
3400
3360
  O(" Columns (" + h(t.value.length ?? 0) + "/" + h(a.value.length ?? 0) + ") ", 1),
3401
- m("div", El, [
3402
- y(p(_), {
3361
+ m("div", Ll, [
3362
+ y(p(C), {
3403
3363
  icon: o.value ? "bi:chevron-up" : "bi:chevron-down"
3404
3364
  }, null, 8, ["icon"])
3405
3365
  ])
@@ -3415,19 +3375,19 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3415
3375
  onShow: c[1] || (c[1] = () => o.value = !0)
3416
3376
  }, {
3417
3377
  default: g(() => [
3418
- m("div", Rl, [
3419
- (i(!0), b(N, null, H(a.value, (v, s) => (i(), b("div", {
3378
+ m("div", El, [
3379
+ (i(!0), b(N, null, j(a.value, (v, s) => (i(), b("div", {
3420
3380
  class: B(["d-flex cursor-pointer", {
3421
3381
  "border-top": s !== 0,
3422
3382
  "py-1": s !== 0 && a.value.length - 1 !== s,
3423
3383
  "pt-1": a.value.length - 1 === s,
3424
3384
  "pb-1": s === 0
3425
3385
  }]),
3426
- onClick: (S) => u(v.field)
3386
+ onClick: (V) => d(v.field)
3427
3387
  }, [
3428
3388
  y(p(ce), {
3429
3389
  id: v.field,
3430
- "model-value": n.value.find((S) => S.field === v.field).selected,
3390
+ "model-value": n.value.find((V) => V.field === v.field).selected,
3431
3391
  binary: "",
3432
3392
  class: "cursor-pointer"
3433
3393
  }, null, 8, ["id", "model-value"]),
@@ -3435,7 +3395,7 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3435
3395
  for: v.field,
3436
3396
  class: "cursor-pointer"
3437
3397
  }, h(v.header), 9, Hl)
3438
- ], 10, jl))), 256))
3398
+ ], 10, Rl))), 256))
3439
3399
  ])
3440
3400
  ]),
3441
3401
  _: 1
@@ -3444,32 +3404,32 @@ const gl = { class: "d-flex justify-content-between" }, hl = ["accept", "disable
3444
3404
  }
3445
3405
  });
3446
3406
  export {
3447
- ha as Bootstrap_PT,
3448
- wa as ForgeActionButton,
3407
+ ga as Bootstrap_PT,
3408
+ ha as ForgeActionButton,
3449
3409
  oe as ForgeAlert,
3450
3410
  mt as ForgeCheckbox,
3451
- Ma as ForgeChips,
3452
- Na as ForgeColumnCustomiser,
3411
+ Pa as ForgeChips,
3412
+ Aa as ForgeColumnCustomiser,
3453
3413
  be as ForgeDatepicker,
3454
- Aa as ForgeFileUploader,
3455
- Ua as ForgeFilterHeader,
3456
- Ta as ForgeForm,
3457
- Pa as ForgeFormField,
3414
+ Ua as ForgeFileUploader,
3415
+ Da as ForgeFilterHeader,
3416
+ Sa as ForgeForm,
3417
+ Ta as ForgeFormField,
3458
3418
  Bt as ForgeInlineEditor,
3459
- xa as ForgeLink,
3419
+ wa as ForgeLink,
3460
3420
  ye as ForgeLoader,
3461
- Ba as ForgeModal,
3462
- _a as ForgeMultiSelect,
3463
- Va as ForgeMultiSelectPreview,
3464
- Fa as ForgeNavbar,
3421
+ $a as ForgeModal,
3422
+ Fa as ForgeMultiSelect,
3423
+ _a as ForgeMultiSelectPreview,
3424
+ Ba as ForgeNavbar,
3465
3425
  Ca as ForgePageHeader,
3466
- Gt as ForgeProgressBar,
3467
- Sa as ForgeRemainingCharacters,
3468
- Ia as ForgeStatWidget,
3469
- za as ForgeStepper,
3470
- Da as ForgeTable,
3471
- Oa as ForgeTile,
3472
- $a as convertToMultiSelectOption,
3473
- ka as enumToMultiSelectList,
3426
+ Wt as ForgeProgressBar,
3427
+ Va as ForgeRemainingCharacters,
3428
+ Ma as ForgeStatWidget,
3429
+ Ia as ForgeStepper,
3430
+ Oa as ForgeTable,
3431
+ za as ForgeTile,
3432
+ ka as convertToMultiSelectOption,
3433
+ xa as enumToMultiSelectList,
3474
3434
  yt as parseError
3475
3435
  };