@3squared/forge-ui-3 0.2.1 → 0.2.3

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,5 +1,5 @@
1
1
  import pe from "primevue/message";
2
- import { defineComponent as $, openBlock as n, createBlock as w, normalizeProps as te, guardReactiveProps as ae, withCtx as b, createElementVNode as c, normalizeClass as B, unref as u, createCommentVNode as F, createVNode as v, renderSlot as k, ref as z, createElementBlock as p, Fragment as M, mergeProps as S, computed as h, createTextVNode as T, toDisplayString as g, withDirectives as R, vShow as H, mergeModels as q, useModel as E, createSlots as J, renderList as L, onMounted as ne, isRef as j, withKeys as Z, useAttrs as ie, withModifiers as K, normalizeStyle as ye } from "vue";
2
+ import { defineComponent as $, openBlock as n, createBlock as w, normalizeProps as J, guardReactiveProps as X, withCtx as b, createElementVNode as c, normalizeClass as F, unref as u, createCommentVNode as B, createVNode as v, renderSlot as k, ref as I, createElementBlock as p, Fragment as U, mergeProps as S, computed as h, createTextVNode as z, toDisplayString as g, withDirectives as j, vShow as q, mergeModels as G, useModel as L, createSlots as Q, renderList as E, onMounted as ne, isRef as H, withKeys as Z, useAttrs as ie, withModifiers as K, normalizeStyle as ye } from "vue";
3
3
  import { Icon as C } from "@iconify/vue";
4
4
  import A from "primevue/button";
5
5
  import ve from "primevue/toast";
@@ -495,7 +495,7 @@ const za = {
495
495
  icons: "d-flex ms-auto",
496
496
  closeButton: ({ props: e }) => ({
497
497
  class: [
498
- "btn",
498
+ "btn p-0",
499
499
  {
500
500
  "ms-auto": !e.maximizable
501
501
  }
@@ -503,9 +503,9 @@ const za = {
503
503
  }),
504
504
  maximizableButton: ({ props: e }) => ({
505
505
  class: [
506
- "btn ms-auto",
506
+ "btn ms-auto p-0",
507
507
  {
508
- "me-2": e.closable
508
+ "me-3": e.closable
509
509
  }
510
510
  ]
511
511
  }),
@@ -798,7 +798,7 @@ const za = {
798
798
  zoominbutton: "btn text-white",
799
799
  closebutton: "btn text-white"
800
800
  }
801
- }, X = /* @__PURE__ */ $({
801
+ }, ee = /* @__PURE__ */ $({
802
802
  __name: "ForgeAlert",
803
803
  props: {
804
804
  severity: { default: "primary" },
@@ -816,18 +816,18 @@ const za = {
816
816
  const t = e;
817
817
  return (l, a) => {
818
818
  const o = pe;
819
- return n(), w(o, te(ae({ ...l.$attrs, ...t })), {
819
+ return n(), w(o, J(X({ ...l.$attrs, ...t })), {
820
820
  messageicon: b(() => [
821
821
  c("div", {
822
- class: B(t.icon ? "me-2 pe-1" : "")
822
+ class: F(t.icon ? "me-2 pe-1" : "")
823
823
  }, [
824
824
  t.icon ? (n(), w(u(C), {
825
825
  key: 0,
826
826
  "data-cy": "message-icon",
827
827
  icon: t.icon,
828
- class: B(`text-${t.severity}`),
828
+ class: F(`text-${t.severity}`),
829
829
  height: 35
830
- }, null, 8, ["icon", "class"])) : F("", !0)
830
+ }, null, 8, ["icon", "class"])) : B("", !0)
831
831
  ], 2)
832
832
  ]),
833
833
  closeicon: b(() => [
@@ -849,7 +849,7 @@ const za = {
849
849
  params: { default: Array }
850
850
  },
851
851
  setup(e) {
852
- const t = z(!1), l = e, a = async () => {
852
+ const t = I(!1), l = e, a = async () => {
853
853
  t.value = !0;
854
854
  try {
855
855
  await l.action.apply(this, l.params);
@@ -860,7 +860,7 @@ const za = {
860
860
  };
861
861
  return (o, s) => {
862
862
  const i = A;
863
- return n(), p(M, null, [
863
+ return n(), p(U, null, [
864
864
  v(i, S({ ...l, ...o.$attrs }, {
865
865
  loading: t.value,
866
866
  disabled: t.value || l.disabled,
@@ -910,7 +910,7 @@ const za = {
910
910
  }, r = h(() => i.value.length > 0);
911
911
  return (_, d) => {
912
912
  const f = be;
913
- return n(), p(M, null, [
913
+ return n(), p(U, null, [
914
914
  c("div", Te, [
915
915
  v(f, S({
916
916
  id: a.name
@@ -926,19 +926,19 @@ const za = {
926
926
  }, 16, ["id", "value", "input-class"]),
927
927
  c("label", {
928
928
  for: a.name,
929
- class: B(`${a.disabled ? "opacity-50" : "cursor-pointer"}`),
929
+ class: F(`${a.disabled ? "opacity-50" : "cursor-pointer"}`),
930
930
  onClick: y
931
931
  }, [
932
932
  k(_.$slots, "default", {}, () => [
933
- T(g(a.label), 1)
933
+ z(g(a.label), 1)
934
934
  ])
935
935
  ], 10, Pe)
936
936
  ]),
937
- R(c("small", {
937
+ j(c("small", {
938
938
  "data-cy": "error",
939
939
  class: "text-invalid"
940
940
  }, g(u(m)), 513), [
941
- [H, r.value]
941
+ [q, r.value]
942
942
  ])
943
943
  ], 64);
944
944
  };
@@ -955,7 +955,7 @@ const za = {
955
955
  return n(), p("div", Oe, [
956
956
  v(o, {
957
957
  "animation-duration": ".75",
958
- class: B(`text-${t.severity === void 0 ? "primary" : t.severity}`)
958
+ class: F(`text-${t.severity === void 0 ? "primary" : t.severity}`)
959
959
  }, null, 8, ["class"])
960
960
  ]);
961
961
  };
@@ -996,7 +996,7 @@ const za = {
996
996
  }));
997
997
  return (a, o) => (n(), p("a", {
998
998
  id: "link",
999
- class: B(["cursor-pointer d-flex", t.value]),
999
+ class: F(["cursor-pointer d-flex", t.value]),
1000
1000
  href: a.url,
1001
1001
  target: a.target
1002
1002
  }, [
@@ -1005,9 +1005,9 @@ const za = {
1005
1005
  key: 0,
1006
1006
  id: "link-icon",
1007
1007
  icon: a.iconName,
1008
- class: B(["bi my-auto", l.value])
1009
- }, null, 8, ["icon", "class"])) : F("", !0),
1010
- T(" " + g(a.label), 1)
1008
+ class: F(["bi my-auto", l.value])
1009
+ }, null, 8, ["icon", "class"])) : B("", !0),
1010
+ z(" " + g(a.label), 1)
1011
1011
  ])
1012
1012
  ], 10, De));
1013
1013
  }
@@ -1028,7 +1028,7 @@ const Ne = { key: 0 }, Ee = {
1028
1028
  "data-cy": "footer"
1029
1029
  }, Pa = /* @__PURE__ */ $({
1030
1030
  __name: "ForgeModal",
1031
- props: /* @__PURE__ */ q({
1031
+ props: /* @__PURE__ */ G({
1032
1032
  cancelText: { default: "Cancel" },
1033
1033
  submitText: { default: "Submit" },
1034
1034
  showFooter: { type: Boolean, default: !0 },
@@ -1069,7 +1069,7 @@ const Ne = { key: 0 }, Ee = {
1069
1069
  }),
1070
1070
  emits: ["update:visible"],
1071
1071
  setup(e) {
1072
- const t = E(e, "visible"), l = z(!1), a = e, o = z(!1), s = z({
1072
+ const t = L(e, "visible"), l = I(!1), a = e, o = I(!1), s = I({
1073
1073
  hasError: !1,
1074
1074
  header: "",
1075
1075
  message: []
@@ -1101,66 +1101,72 @@ const Ne = { key: 0 }, Ee = {
1101
1101
  ]
1102
1102
  }));
1103
1103
  return (d, f) => {
1104
- const x = A, I = ge;
1105
- return n(), w(I, S(a, {
1104
+ const x = A, V = ge;
1105
+ return n(), w(V, S(a, {
1106
1106
  onMaximize: m,
1107
1107
  onUnmaximize: i,
1108
1108
  pt: _.value
1109
- }), J({
1109
+ }), Q({
1110
1110
  closeicon: b(() => [
1111
1111
  v(u(C), {
1112
1112
  "data-cy": "close-icon",
1113
1113
  icon: "bi:x-lg",
1114
- width: "21",
1115
- height: "21",
1114
+ width: "18",
1115
+ height: "18",
1116
1116
  onClick: y
1117
1117
  })
1118
1118
  ]),
1119
1119
  maximizeicon: b(() => [
1120
1120
  v(u(C), {
1121
1121
  "data-cy": "maximisable-icon",
1122
- icon: "bi:arrows-fullscreen"
1123
- })
1124
- ]),
1125
- default: b(() => [
1126
- s.value.hasError ? (n(), w(X, {
1127
- key: 0,
1128
- severity: "danger",
1129
- "data-cy": "error"
1130
- }, {
1131
- default: b(() => [
1132
- c("p", {
1133
- class: B(s.value.message.length > 0 ? "my-auto" : "mb-0")
1134
- }, g(s.value.header), 3),
1135
- s.value.message.length > 0 ? (n(), p("ul", Ne, [
1136
- (n(!0), p(M, null, L(s.value.message, (V) => (n(), p("li", { key: V }, g(V), 1))), 128))
1137
- ])) : F("", !0)
1138
- ]),
1139
- _: 1
1140
- })) : F("", !0),
1141
- k(d.$slots, "default"),
1142
- o.value ? k(d.$slots, "loader", { key: 1 }, () => [
1143
- v(ue, { "data-cy": "loader" })
1144
- ]) : F("", !0)
1122
+ icon: l.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1123
+ width: "16",
1124
+ height: "16"
1125
+ }, null, 8, ["icon"])
1145
1126
  ]),
1146
1127
  _: 2
1147
1128
  }, [
1129
+ E(d.$slots, (T, P) => ({
1130
+ name: P,
1131
+ fn: b((M) => [
1132
+ s.value.hasError ? (n(), w(ee, {
1133
+ key: 0,
1134
+ severity: "danger",
1135
+ "data-cy": "error"
1136
+ }, {
1137
+ default: b(() => [
1138
+ c("p", {
1139
+ class: F(s.value.message.length > 0 ? "my-auto" : "mb-0")
1140
+ }, g(s.value.header), 3),
1141
+ s.value.message.length > 0 ? (n(), p("ul", Ne, [
1142
+ (n(!0), p(U, null, E(s.value.message, (N) => (n(), p("li", { key: N }, g(N), 1))), 128))
1143
+ ])) : B("", !0)
1144
+ ]),
1145
+ _: 1
1146
+ })) : B("", !0),
1147
+ k(d.$slots, P, J(X(M || {}))),
1148
+ o.value ? k(d.$slots, "loader", { key: 1 }, () => [
1149
+ v(ue, { "data-cy": "loader" })
1150
+ ]) : B("", !0)
1151
+ ])
1152
+ })),
1148
1153
  d.showFooter ? {
1149
1154
  name: "footer",
1150
1155
  fn: b(() => [
1151
1156
  c("div", Ee, [
1152
1157
  v(x, {
1153
1158
  label: d.cancelText,
1159
+ class: F(a.cancelClass),
1154
1160
  outlined: "",
1155
1161
  onClick: y,
1156
- "data-cy": "cancel-button"
1157
- }, null, 8, ["label"]),
1162
+ id: "cancel-button"
1163
+ }, null, 8, ["label", "class"]),
1158
1164
  v(x, {
1159
1165
  label: d.submitText,
1160
- class: "ms-auto",
1166
+ class: F([a.submitClass, "ms-auto"]),
1161
1167
  onClick: r,
1162
- "data-cy": "submit-button"
1163
- }, null, 8, ["label"])
1168
+ id: "submit-button"
1169
+ }, null, 8, ["label", "class"])
1164
1170
  ])
1165
1171
  ]),
1166
1172
  key: "0"
@@ -1170,7 +1176,7 @@ const Ne = { key: 0 }, Ee = {
1170
1176
  }
1171
1177
  }), Re = ["id"], Le = { key: 0 }, je = { key: 0 }, He = { class: "d-flex justify-content-between align-items-center position-relative" }, qe = { key: 1 }, Ge = { "data-cy": "readonly-value" }, Ke = /* @__PURE__ */ $({
1172
1178
  __name: "ForgeInlineEditor",
1173
- props: /* @__PURE__ */ q({
1179
+ props: /* @__PURE__ */ G({
1174
1180
  name: { default: "" },
1175
1181
  rules: {},
1176
1182
  completeAction: {},
@@ -1184,7 +1190,7 @@ const Ne = { key: 0 }, Ee = {
1184
1190
  }),
1185
1191
  emits: ["update:modelValue"],
1186
1192
  setup(e) {
1187
- const t = e, l = E(e, "modelValue"), a = z(!1), o = z(), s = () => {
1193
+ const t = e, l = L(e, "modelValue"), a = I(!1), o = I(), s = () => {
1188
1194
  var x;
1189
1195
  a.value = !a.value, (x = o.value) == null || x.focus();
1190
1196
  }, i = async () => {
@@ -1207,8 +1213,8 @@ const Ne = { key: 0 }, Ee = {
1207
1213
  d.value = l.value;
1208
1214
  });
1209
1215
  const f = h(() => _.value.length > 0);
1210
- return (x, I) => {
1211
- const V = le, U = A;
1216
+ return (x, V) => {
1217
+ const T = le, P = A;
1212
1218
  return n(), p("div", {
1213
1219
  id: t.name
1214
1220
  }, [
@@ -1218,21 +1224,21 @@ const Ne = { key: 0 }, Ee = {
1218
1224
  ])
1219
1225
  ])) : (n(), p("div", Le, [
1220
1226
  a.value ? (n(), p("div", je, [
1221
- R((n(), p("div", He, [
1227
+ j((n(), p("div", He, [
1222
1228
  k(x.$slots, "editor", {
1223
- class: B({ "is-invalid": f.value }),
1229
+ class: F({ "is-invalid": f.value }),
1224
1230
  editFinished: i,
1225
1231
  cancel: m,
1226
1232
  val: u(d)
1227
1233
  }, () => [
1228
- v(V, {
1234
+ v(T, {
1229
1235
  "data-cy": "input",
1230
1236
  ref_key: "input",
1231
1237
  ref: o,
1232
1238
  modelValue: u(d),
1233
- "onUpdate:modelValue": I[0] || (I[0] = (P) => j(d) ? d.value = P : null),
1239
+ "onUpdate:modelValue": V[0] || (V[0] = (M) => H(d) ? d.value = M : null),
1234
1240
  modelModifiers: { trim: !0 },
1235
- class: B({ "is-invalid": f.value }),
1241
+ class: F({ "is-invalid": f.value }),
1236
1242
  onKeydown: [
1237
1243
  Z(i, ["enter"]),
1238
1244
  Z(m, ["esc"])
@@ -1257,18 +1263,18 @@ const Ne = { key: 0 }, Ee = {
1257
1263
  }, [
1258
1264
  k(x.$slots, "default", {}, () => [
1259
1265
  c("div", {
1260
- class: B(["pe-2 cursor-pointer", { "text-invalid": f.value }]),
1266
+ class: F(["pe-2 cursor-pointer", { "text-invalid": f.value }]),
1261
1267
  "data-cy": "value"
1262
1268
  }, g(u(d) ? u(d) : "Click to edit"), 3)
1263
1269
  ]),
1264
- v(U, {
1270
+ v(P, {
1265
1271
  link: "",
1266
1272
  class: "p-0 m-0"
1267
1273
  }, {
1268
1274
  default: b(() => [
1269
1275
  v(u(C), {
1270
1276
  icon: "bi:pencil",
1271
- class: B(f.value ? "text-invalid" : "text-muted"),
1277
+ class: F(f.value ? "text-invalid" : "text-muted"),
1272
1278
  "data-cy": "edit-icon",
1273
1279
  onKeydown: Z(s, ["enter"])
1274
1280
  }, null, 8, ["class"])
@@ -1277,11 +1283,11 @@ const Ne = { key: 0 }, Ee = {
1277
1283
  })
1278
1284
  ], 32))
1279
1285
  ])),
1280
- R(c("small", {
1286
+ j(c("small", {
1281
1287
  "data-cy": "error",
1282
1288
  class: "text-invalid"
1283
1289
  }, g(u(r)), 513), [
1284
- [H, f.value]
1290
+ [q, f.value]
1285
1291
  ])
1286
1292
  ], 8, Re);
1287
1293
  };
@@ -1334,7 +1340,7 @@ const Ne = { key: 0 }, Ee = {
1334
1340
  return n(), w(s, S({ ...t, ...a.$attrs }, {
1335
1341
  pt: l.value,
1336
1342
  "data-cy": "navbar"
1337
- }), J({
1343
+ }), Q({
1338
1344
  start: b(() => [
1339
1345
  c("a", {
1340
1346
  href: a.logoUrl,
@@ -1342,7 +1348,7 @@ const Ne = { key: 0 }, Ee = {
1342
1348
  "data-cy": "logo"
1343
1349
  }, [
1344
1350
  k(a.$slots, "logo", {}, () => [
1345
- T(" Logo ")
1351
+ z(" Logo ")
1346
1352
  ])
1347
1353
  ], 8, We)
1348
1354
  ]),
@@ -1350,7 +1356,7 @@ const Ne = { key: 0 }, Ee = {
1350
1356
  k(a.$slots, "menubuttonicon", {}, () => [
1351
1357
  v(u(C), {
1352
1358
  icon: "bi:list",
1353
- class: B(t.severity === "light" ? "text-black" : "text-white"),
1359
+ class: F(t.severity === "light" ? "text-black" : "text-white"),
1354
1360
  height: "24",
1355
1361
  "data-cy": "burger-icon"
1356
1362
  }, null, 8, ["class"])
@@ -1358,10 +1364,10 @@ const Ne = { key: 0 }, Ee = {
1358
1364
  ]),
1359
1365
  _: 2
1360
1366
  }, [
1361
- L(a.$slots, (i, m) => ({
1367
+ E(a.$slots, (i, m) => ({
1362
1368
  name: m,
1363
1369
  fn: b((y) => [
1364
- k(a.$slots, m, te(ae(y)))
1370
+ k(a.$slots, m, J(X(y)))
1365
1371
  ])
1366
1372
  }))
1367
1373
  ]), 1040, ["pt"]);
@@ -1380,7 +1386,7 @@ const Ne = { key: 0 }, Ee = {
1380
1386
  },
1381
1387
  emits: ["update:modelValue"],
1382
1388
  setup(e, { emit: t }) {
1383
- const l = e, a = ie(), o = t, { errors: s, value: i, errorMessage: m } = W(() => l.name, l.rules), y = z(!1), r = h(() => ({
1389
+ const l = e, a = ie(), o = t, { errors: s, value: i, errorMessage: m } = W(() => l.name, l.rules), y = I(!1), r = h(() => ({
1384
1390
  multiple: !0,
1385
1391
  label: "label",
1386
1392
  trackBy: "id",
@@ -1393,40 +1399,40 @@ const Ne = { key: 0 }, Ee = {
1393
1399
  searchable: !!((a.searchable === null || a.searchable) && !f.value),
1394
1400
  async: !1,
1395
1401
  ...a
1396
- })), _ = h(() => `forge-multiselect-${l.severity}`), d = h(() => `multiselect-option ${y.value ? " multiselect__option--highlight" : ""} ${f.value ? " multiselect__option--selected" : ""}`), f = h(() => r.value && !(r.value.multiple || !l.showSelectAll || r.value.async) ? !1 : a.modelValue.length === a.options.length), x = h(() => s.value.length > 0), I = h(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (r.value.multiple ? a.modelValue.length > 0 : a.modelValue))), V = () => y.value = !0, U = () => y.value = !1, P = () => {
1402
+ })), _ = h(() => `forge-multiselect-${l.severity}`), d = h(() => `multiselect-option ${y.value ? " multiselect__option--highlight" : ""} ${f.value ? " multiselect__option--selected" : ""}`), f = h(() => r.value && !(r.value.multiple || !l.showSelectAll || r.value.async) ? !1 : a.modelValue.length === a.options.length), x = h(() => s.value.length > 0), V = h(() => !!((a.allowEmpty == null || a.allowEmpty) && l.showClearSelection && (r.value.multiple ? a.modelValue.length > 0 : a.modelValue))), T = () => y.value = !0, P = () => y.value = !1, M = () => {
1397
1403
  i.value = r.value.multiple ? [] : null, o("update:modelValue", i.value);
1398
- }, G = (O) => {
1404
+ }, N = (O) => {
1399
1405
  o("update:modelValue", l.selectValue ? O.map((D) => D[l.selectValue]) : O);
1400
- }, Q = (O) => a.modelValue !== null ? a.modelValue.some((D) => r.value.selectValue ? O[l.selectValue] === D : O.id === D.id && O.label === D.label) : !1, me = () => {
1401
- f.value ? P() : (i.value = [...a.options], o("update:modelValue", [...a.options]));
1406
+ }, te = (O) => a.modelValue !== null ? a.modelValue.some((D) => r.value.selectValue ? O[l.selectValue] === D : O.id === D.id && O.label === D.label) : !1, me = () => {
1407
+ f.value ? M() : (i.value = [...a.options], o("update:modelValue", [...a.options]));
1402
1408
  };
1403
- return (O, D) => (n(), p(M, null, [
1409
+ return (O, D) => (n(), p(U, null, [
1404
1410
  v(u(ke), S(r.value, {
1405
1411
  class: [_.value, x.value ? "is-invalid" : ""],
1406
1412
  "data-cy": "multiselect",
1407
1413
  "onUpdate:modelValue": [
1408
- G,
1409
- D[1] || (D[1] = (N) => j(i) ? i.value = N : null)
1414
+ N,
1415
+ D[1] || (D[1] = (R) => H(i) ? i.value = R : null)
1410
1416
  ],
1411
1417
  modelValue: u(i)
1412
- }), J({
1418
+ }), Q({
1413
1419
  default: b(() => [
1414
- (n(!0), p(M, null, L(O.$slots, (N, ee) => k(O.$slots, ee, { slot: ee })), 256))
1420
+ (n(!0), p(U, null, E(O.$slots, (R, ae) => k(O.$slots, ae, { slot: ae })), 256))
1415
1421
  ]),
1416
1422
  _: 2
1417
1423
  }, [
1418
- I.value ? {
1424
+ V.value ? {
1419
1425
  name: "caret",
1420
- fn: b(({ toggle: N }) => [
1426
+ fn: b(({ toggle: R }) => [
1421
1427
  v(u(C), {
1422
1428
  icon: "bi:x",
1423
1429
  class: "my-auto multiselect__clear-icon",
1424
- onMousedown: D[0] || (D[0] = K((ee) => P(), ["prevent", "stop"])),
1430
+ onMousedown: D[0] || (D[0] = K((ae) => M(), ["prevent", "stop"])),
1425
1431
  "data-cy": "clear"
1426
1432
  }),
1427
1433
  c("div", {
1428
1434
  class: "multiselect__select",
1429
- onMousedown: K(N, ["prevent", "stop"])
1435
+ onMousedown: K(R, ["prevent", "stop"])
1430
1436
  }, null, 40, Ze)
1431
1437
  ]),
1432
1438
  key: "0"
@@ -1437,12 +1443,12 @@ const Ne = { key: 0 }, Ee = {
1437
1443
  c("li", {
1438
1444
  class: "multiselect__element",
1439
1445
  onClick: me,
1440
- onMouseover: V,
1441
- onMouseleave: U,
1446
+ onMouseover: T,
1447
+ onMouseleave: P,
1442
1448
  "data-cy": "toggle-all"
1443
1449
  }, [
1444
1450
  c("span", {
1445
- class: B(`multiselect__option ${d.value}`)
1451
+ class: F(`multiselect__option ${d.value}`)
1446
1452
  }, [
1447
1453
  c("input", {
1448
1454
  checked: f.value,
@@ -1458,27 +1464,27 @@ const Ne = { key: 0 }, Ee = {
1458
1464
  } : void 0,
1459
1465
  r.value.multiple ? {
1460
1466
  name: "option",
1461
- fn: b(({ option: N }) => [
1467
+ fn: b(({ option: R }) => [
1462
1468
  c("div", {
1463
- "data-cy": N.label
1469
+ "data-cy": R.label
1464
1470
  }, [
1465
1471
  c("input", {
1466
- checked: Q(N),
1472
+ checked: te(R),
1467
1473
  name: "selected",
1468
1474
  type: "checkbox",
1469
1475
  class: "multiselect__option--checkbox"
1470
1476
  }, null, 8, Qe),
1471
- T(" " + g(N[r.value.label]), 1)
1477
+ z(" " + g(R[r.value.label]), 1)
1472
1478
  ], 8, Xe)
1473
1479
  ]),
1474
1480
  key: "2"
1475
1481
  } : void 0
1476
1482
  ]), 1040, ["class", "modelValue"]),
1477
- R(c("small", {
1483
+ j(c("small", {
1478
1484
  "data-cy": "error",
1479
1485
  class: "invalid-feedback"
1480
1486
  }, g(u(m)), 513), [
1481
- [H, x.value]
1487
+ [q, x.value]
1482
1488
  ])
1483
1489
  ], 64));
1484
1490
  }
@@ -1511,11 +1517,11 @@ const Ne = { key: 0 }, Ee = {
1511
1517
  return (r, _) => {
1512
1518
  const d = A;
1513
1519
  return n(), p("div", {
1514
- class: B(r.orientation === "column" ? "row" : ""),
1520
+ class: F(r.orientation === "column" ? "row" : ""),
1515
1521
  "data-cy": "multiselect-preview"
1516
1522
  }, [
1517
1523
  c("div", {
1518
- class: B(r.orientation === "row" ? "col-12 mb-1" : "col"),
1524
+ class: F(r.orientation === "row" ? "col-12 mb-1" : "col"),
1519
1525
  "data-cy": "multiselect-container"
1520
1526
  }, [
1521
1527
  v(et, {
@@ -1528,20 +1534,20 @@ const Ne = { key: 0 }, Ee = {
1528
1534
  options: l.options
1529
1535
  }, {
1530
1536
  tag: b(() => [
1531
- T(g(""))
1537
+ z(g(""))
1532
1538
  ]),
1533
1539
  selection: b(() => [
1534
- r.$attrs.modelValue.length > 0 ? (n(), p("span", tt, g(i.value) + " items selected", 1)) : F("", !0)
1540
+ r.$attrs.modelValue.length > 0 ? (n(), p("span", tt, g(i.value) + " items selected", 1)) : B("", !0)
1535
1541
  ]),
1536
1542
  default: b(() => [
1537
- (n(!0), p(M, null, L(r.$slots, (f, x) => k(r.$slots, x, { slot: x })), 256))
1543
+ (n(!0), p(U, null, E(r.$slots, (f, x) => k(r.$slots, x, { slot: x })), 256))
1538
1544
  ]),
1539
1545
  _: 3
1540
1546
  }, 8, ["modelValue", "limit-text", "options"]),
1541
1547
  k(r.$slots, "after-multi-select")
1542
1548
  ], 2),
1543
1549
  c("div", {
1544
- class: B(r.orientation === "row" ? "col-12" : "col"),
1550
+ class: F(r.orientation === "row" ? "col-12" : "col"),
1545
1551
  "data-cy": "options-preview"
1546
1552
  }, [
1547
1553
  c("div", {
@@ -1549,8 +1555,8 @@ const Ne = { key: 0 }, Ee = {
1549
1555
  class: "overflow-auto"
1550
1556
  }, [
1551
1557
  c("div", at, [
1552
- r.title ? (n(), p("div", lt, g(r.title), 1)) : F("", !0),
1553
- (n(!0), p(M, null, L(r.$attrs.modelValue, (f) => (n(), p("div", {
1558
+ r.title ? (n(), p("div", lt, g(r.title), 1)) : B("", !0),
1559
+ (n(!0), p(U, null, E(r.$attrs.modelValue, (f) => (n(), p("div", {
1554
1560
  key: f.id,
1555
1561
  class: "p-2 item d-flex justify-content-between align-items-center"
1556
1562
  }, [
@@ -1571,9 +1577,9 @@ const Ne = { key: 0 }, Ee = {
1571
1577
  }, null, 8, ["data-cy"])
1572
1578
  ]),
1573
1579
  _: 2
1574
- }, 1032, ["onClick"])) : F("", !0)
1580
+ }, 1032, ["onClick"])) : B("", !0)
1575
1581
  ]))), 128)),
1576
- r.$attrs.modelValue.length === 0 ? (n(), p("div", st, "No Items Selected.")) : F("", !0)
1582
+ r.$attrs.modelValue.length === 0 ? (n(), p("div", st, "No Items Selected.")) : B("", !0)
1577
1583
  ])
1578
1584
  ], 4)
1579
1585
  ], 2)
@@ -1712,19 +1718,19 @@ const Ne = { key: 0 }, Ee = {
1712
1718
  }));
1713
1719
  return (a, o) => {
1714
1720
  const s = _e;
1715
- return n(), p(M, null, [
1721
+ return n(), p(U, null, [
1716
1722
  c("span", dt, [
1717
1723
  k(a.$slots, "before")
1718
1724
  ]),
1719
1725
  v(s, S({ ...t, ...a.$attrs }, { pt: l.value }), null, 16, ["pt"]),
1720
- R(v(u(C), {
1726
+ j(v(u(C), {
1721
1727
  "data-cy": "icon",
1722
1728
  icon: "bi:calendar3",
1723
1729
  width: "32",
1724
1730
  height: "32",
1725
- class: B(["ps-2", t.severity == null ? "text-primary" : `text-${t.severity}`])
1731
+ class: F(["ps-2", t.severity == null ? "text-primary" : `text-${t.severity}`])
1726
1732
  }, null, 8, ["class"]), [
1727
- [H, t.showIcon]
1733
+ [q, t.showIcon]
1728
1734
  ]),
1729
1735
  c("span", ut, [
1730
1736
  k(a.$slots, "after")
@@ -1741,7 +1747,7 @@ const Ne = { key: 0 }, Ee = {
1741
1747
  setup(e) {
1742
1748
  const t = e, l = h(() => t.maxCount - t.currentCount);
1743
1749
  return (a, o) => (n(), p("div", {
1744
- class: B(l.value < 0 ? "text-danger" : "")
1750
+ class: F(l.value < 0 ? "text-danger" : "")
1745
1751
  }, "Remaining characters: " + g(l.value), 3));
1746
1752
  }
1747
1753
  }), mt = /* @__PURE__ */ c("hr", null, null, -1), pt = { class: "d-flex justify-content-between" }, Na = /* @__PURE__ */ $({
@@ -1756,7 +1762,7 @@ const Ne = { key: 0 }, Ee = {
1756
1762
  hideCancel: { type: Boolean, default: !1 }
1757
1763
  },
1758
1764
  setup(e) {
1759
- const t = e, l = z(!1), a = z({
1765
+ const t = e, l = I(!1), a = I({
1760
1766
  hasError: !1,
1761
1767
  message: ""
1762
1768
  });
@@ -1776,16 +1782,16 @@ const Ne = { key: 0 }, Ee = {
1776
1782
  class: "position-relative shadow-sm border p-4 bg-white",
1777
1783
  onSubmit: K(o, ["prevent"])
1778
1784
  }), [
1779
- s.hideTitle ? F("", !0) : (n(), p(M, { key: 0 }, [
1785
+ s.hideTitle ? B("", !0) : (n(), p(U, { key: 0 }, [
1780
1786
  k(s.$slots, "title", {}, () => [
1781
1787
  c("h3", {
1782
- class: B(s.titleClass),
1788
+ class: F(s.titleClass),
1783
1789
  "data-cy": "form-title"
1784
1790
  }, g(s.title), 3)
1785
1791
  ]),
1786
1792
  mt
1787
1793
  ], 64)),
1788
- a.value.hasError ? (n(), w(X, {
1794
+ a.value.hasError ? (n(), w(ee, {
1789
1795
  key: 1,
1790
1796
  severity: "danger",
1791
1797
  "data-cy": "error"
@@ -1794,15 +1800,15 @@ const Ne = { key: 0 }, Ee = {
1794
1800
  k(s.$slots, "error", {
1795
1801
  error: a.value.message
1796
1802
  }, () => [
1797
- T(g(a.value.message), 1)
1803
+ z(g(a.value.message), 1)
1798
1804
  ])
1799
1805
  ]),
1800
1806
  _: 3
1801
- })) : F("", !0),
1807
+ })) : B("", !0),
1802
1808
  k(s.$slots, "default"),
1803
1809
  c("div", pt, [
1804
1810
  k(s.$slots, "cancel", {}, () => [
1805
- s.hideCancel ? F("", !0) : (n(), w(m, {
1811
+ s.hideCancel ? B("", !0) : (n(), w(m, {
1806
1812
  key: 0,
1807
1813
  "data-cy": "cancel-btn",
1808
1814
  type: "reset",
@@ -1811,7 +1817,7 @@ const Ne = { key: 0 }, Ee = {
1811
1817
  onClick: i[0] || (i[0] = (y) => s.$emit("cancel"))
1812
1818
  }, {
1813
1819
  default: b(() => [
1814
- T(g(s.cancelText), 1)
1820
+ z(g(s.cancelText), 1)
1815
1821
  ]),
1816
1822
  _: 1
1817
1823
  }))
@@ -1824,7 +1830,7 @@ const Ne = { key: 0 }, Ee = {
1824
1830
  class: "ms-auto"
1825
1831
  }, {
1826
1832
  default: b(() => [
1827
- T(g(s.submitText), 1)
1833
+ z(g(s.submitText), 1)
1828
1834
  ]),
1829
1835
  _: 1
1830
1836
  })
@@ -1833,7 +1839,7 @@ const Ne = { key: 0 }, Ee = {
1833
1839
  l.value ? (n(), w(ue, {
1834
1840
  key: 2,
1835
1841
  "data-cy": "loading-spinner"
1836
- })) : F("", !0)
1842
+ })) : B("", !0)
1837
1843
  ], 16);
1838
1844
  };
1839
1845
  }
@@ -1855,7 +1861,7 @@ const Ne = { key: 0 }, Ee = {
1855
1861
  t.type !== "checkbox" ? (n(), p("label", {
1856
1862
  key: 0,
1857
1863
  for: t.name
1858
- }, g(t.label), 9, vt)) : F("", !0),
1864
+ }, g(t.label), 9, vt)) : B("", !0),
1859
1865
  t.type === "checkbox" ? (n(), w(Ue, S({
1860
1866
  key: 1,
1861
1867
  id: t.name,
@@ -1866,7 +1872,7 @@ const Ne = { key: 0 }, Ee = {
1866
1872
  id: t.name,
1867
1873
  placeholder: t.placeholder,
1868
1874
  modelValue: u(a),
1869
- "onUpdate:modelValue": m[0] || (m[0] = (d) => j(a) ? a.value = d : null),
1875
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => H(a) ? a.value = d : null),
1870
1876
  "input-class": { "is-invalid": s.value },
1871
1877
  class: { "is-invalid": s.value }
1872
1878
  }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "input-class", "class"])) : t.type === "textarea" ? (n(), w(y, S({
@@ -1874,14 +1880,14 @@ const Ne = { key: 0 }, Ee = {
1874
1880
  id: t.name,
1875
1881
  placeholder: t.placeholder,
1876
1882
  modelValue: u(a),
1877
- "onUpdate:modelValue": m[1] || (m[1] = (d) => j(a) ? a.value = d : null),
1883
+ "onUpdate:modelValue": m[1] || (m[1] = (d) => H(a) ? a.value = d : null),
1878
1884
  class: { "is-invalid": s.value }
1879
1885
  }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "class"])) : t.type === "mask" ? (n(), w(r, S({
1880
1886
  key: 4,
1881
1887
  id: t.name,
1882
1888
  placeholder: t.placeholder,
1883
1889
  modelValue: u(a),
1884
- "onUpdate:modelValue": m[2] || (m[2] = (d) => j(a) ? a.value = d : null),
1890
+ "onUpdate:modelValue": m[2] || (m[2] = (d) => H(a) ? a.value = d : null),
1885
1891
  mask: t.mask,
1886
1892
  class: { "is-invalid": s.value }
1887
1893
  }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "mask", "class"])) : t.type === "text" ? (n(), w(_, S({
@@ -1889,16 +1895,16 @@ const Ne = { key: 0 }, Ee = {
1889
1895
  id: t.name,
1890
1896
  placeholder: t.placeholder,
1891
1897
  modelValue: u(a),
1892
- "onUpdate:modelValue": m[3] || (m[3] = (d) => j(a) ? a.value = d : null),
1898
+ "onUpdate:modelValue": m[3] || (m[3] = (d) => H(a) ? a.value = d : null),
1893
1899
  class: { "is-invalid": s.value }
1894
- }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "class"])) : F("", !0),
1895
- t.type !== "checkbox" ? R((n(), p("small", {
1900
+ }, i.$attrs), null, 16, ["id", "placeholder", "modelValue", "class"])) : B("", !0),
1901
+ t.type !== "checkbox" ? j((n(), p("small", {
1896
1902
  key: 6,
1897
1903
  "data-cy": "error",
1898
1904
  class: "invalid-feedback"
1899
1905
  }, g(u(o)), 513)), [
1900
- [H, s.value]
1901
- ]) : F("", !0)
1906
+ [q, s.value]
1907
+ ]) : B("", !0)
1902
1908
  ]);
1903
1909
  };
1904
1910
  }
@@ -1964,28 +1970,28 @@ const Ne = { key: 0 }, Ee = {
1964
1970
  }));
1965
1971
  return (m, y) => {
1966
1972
  const r = Fe;
1967
- return n(), p(M, null, [
1973
+ return n(), p(U, null, [
1968
1974
  v(r, S({ ...t, ...m.$attrs }, {
1969
1975
  pt: i.value,
1970
1976
  "model-value": u(a),
1971
- "onUpdate:modelValue": y[0] || (y[0] = (_) => j(a) ? a.value = _ : null)
1977
+ "onUpdate:modelValue": y[0] || (y[0] = (_) => H(a) ? a.value = _ : null)
1972
1978
  }), {
1973
1979
  removetokenicon: b(({ removeCallback: _ }) => [
1974
- R(v(u(C), {
1980
+ j(v(u(C), {
1975
1981
  icon: "bi:x",
1976
1982
  class: "cursor-pointer",
1977
1983
  onClick: _
1978
1984
  }, null, 8, ["onClick"]), [
1979
- [H, !t.disabled]
1985
+ [q, !t.disabled]
1980
1986
  ])
1981
1987
  ]),
1982
1988
  _: 1
1983
1989
  }, 16, ["pt", "model-value"]),
1984
- R(c("small", {
1990
+ j(c("small", {
1985
1991
  "data-cy": "error",
1986
1992
  class: "text-invalid"
1987
1993
  }, g(u(o)), 513), [
1988
- [H, s.value]
1994
+ [q, s.value]
1989
1995
  ])
1990
1996
  ], 64);
1991
1997
  };
@@ -2075,7 +2081,7 @@ const Ne = { key: 0 }, Ee = {
2075
2081
  },
2076
2082
  emits: ["update:currentStep"],
2077
2083
  setup(e, { emit: t }) {
2078
- const l = t, a = e, o = z(a.currentStep), s = () => {
2084
+ const l = t, a = e, o = I(a.currentStep), s = () => {
2079
2085
  do
2080
2086
  o.value--;
2081
2087
  while (a.model[o.value].disabled);
@@ -2144,28 +2150,28 @@ const Ne = { key: 0 }, Ee = {
2144
2150
  }, 8, ["severity", "disabled"]),
2145
2151
  v(f, {
2146
2152
  "active-step": o.value,
2147
- "onUpdate:activeStep": _[0] || (_[0] = (I) => o.value = I),
2153
+ "onUpdate:activeStep": _[0] || (_[0] = (V) => o.value = V),
2148
2154
  model: a.model,
2149
2155
  pt: y.value,
2150
2156
  readonly: !1
2151
2157
  }, null, 8, ["active-step", "model", "pt"])
2152
2158
  ]),
2153
2159
  v(x),
2154
- (n(!0), p(M, null, L(a.model, (I, V) => (n(), p("div", {
2155
- key: V,
2160
+ (n(!0), p(U, null, E(a.model, (V, T) => (n(), p("div", {
2161
+ key: T,
2156
2162
  class: "w-100"
2157
2163
  }, [
2158
- V === o.value ? k(r.$slots, I.key ?? I.label, {
2164
+ T === o.value ? k(r.$slots, V.key ?? V.label, {
2159
2165
  key: 0,
2160
2166
  nextStep: i,
2161
2167
  previousStep: s
2162
2168
  }, () => [
2163
- v(X, {
2169
+ v(ee, {
2164
2170
  severity: "info",
2165
2171
  "data-cy": "alert"
2166
2172
  }, {
2167
2173
  default: b(() => [
2168
- T(" Please add Slot Content for the key " + g(I.key ?? I.label) + " ", 1),
2174
+ z(" Please add Slot Content for the key " + g(V.key ?? V.label) + " ", 1),
2169
2175
  v(d, {
2170
2176
  severity: "primary",
2171
2177
  label: "Next",
@@ -2175,7 +2181,7 @@ const Ne = { key: 0 }, Ee = {
2175
2181
  ]),
2176
2182
  _: 2
2177
2183
  }, 1024)
2178
- ]) : F("", !0)
2184
+ ]) : B("", !0)
2179
2185
  ]))), 128))
2180
2186
  ]);
2181
2187
  };
@@ -2193,7 +2199,7 @@ const Ne = { key: 0 }, Ee = {
2193
2199
  const i = A;
2194
2200
  return t.clickable ? (n(), w(i, {
2195
2201
  key: 0,
2196
- class: B(["d-flex w-100 p-0 text-body", l.value]),
2202
+ class: F(["d-flex w-100 p-0 text-body", l.value]),
2197
2203
  severity: t.severity,
2198
2204
  unstyled: "",
2199
2205
  "data-cy": "button-tile"
@@ -2201,19 +2207,19 @@ const Ne = { key: 0 }, Ee = {
2201
2207
  default: b(() => [
2202
2208
  c("div", wt, [
2203
2209
  k(o.$slots, "default", {}, () => [
2204
- T("Tile Content")
2210
+ z("Tile Content")
2205
2211
  ])
2206
2212
  ])
2207
2213
  ]),
2208
2214
  _: 3
2209
2215
  }, 8, ["severity", "class"])) : (n(), p("div", {
2210
2216
  key: 1,
2211
- class: B(["d-flex w-100", a.value]),
2217
+ class: F(["d-flex w-100", a.value]),
2212
2218
  "data-cy": "tile"
2213
2219
  }, [
2214
2220
  c("div", kt, [
2215
2221
  k(o.$slots, "default", {}, () => [
2216
- T("Tile Content")
2222
+ z("Tile Content")
2217
2223
  ])
2218
2224
  ])
2219
2225
  ], 2));
@@ -2245,7 +2251,7 @@ const _t = {
2245
2251
  return `${i} ${Y(i, "page")}`;
2246
2252
  });
2247
2253
  return (i, m) => (n(), p("div", _t, [
2248
- T(" Number of results per page "),
2254
+ z(" Number of results per page "),
2249
2255
  c("div", $t, [
2250
2256
  v(u(oe), {
2251
2257
  options: a.pageSizes,
@@ -2256,7 +2262,7 @@ const _t = {
2256
2262
  a.total ? (n(), p("div", xt, [
2257
2263
  Ft,
2258
2264
  c("span", Bt, g(a.total) + " " + g(u(Y)(a.total, "result")) + " across " + g(s.value), 1)
2259
- ])) : F("", !0)
2265
+ ])) : B("", !0)
2260
2266
  ]));
2261
2267
  }
2262
2268
  }), Ct = { "data-cy": "above-table-slot" }, Vt = { class: "d-flex" }, It = { class: "d-flex align-items-end mb-2" }, zt = { key: 0 }, Tt = { class: "ms-auto" }, Mt = {
@@ -2341,7 +2347,7 @@ const _t = {
2341
2347
  },
2342
2348
  emits: ["update:filters"],
2343
2349
  setup(e, { emit: t }) {
2344
- const l = t, a = e, o = z([10, 20, 50, 100]), s = z(20), i = z(), m = () => {
2350
+ const l = t, a = e, o = I([10, 20, 50, 100]), s = I(20), i = I(), m = () => {
2345
2351
  for (const d in a.filters)
2346
2352
  a.filters[d].value = null;
2347
2353
  y(a.filters);
@@ -2353,7 +2359,7 @@ const _t = {
2353
2359
  }), _ = () => {
2354
2360
  i.value.exportCSV();
2355
2361
  };
2356
- return (d, f) => (n(), p(M, null, [
2362
+ return (d, f) => (n(), p(U, null, [
2357
2363
  c("span", Ct, [
2358
2364
  k(d.$slots, "above-table")
2359
2365
  ]),
@@ -2365,7 +2371,7 @@ const _t = {
2365
2371
  ref: i,
2366
2372
  "onUpdate:filters": y,
2367
2373
  "data-cy": "table"
2368
- }), J({
2374
+ }), Q({
2369
2375
  header: b(() => [
2370
2376
  c("div", Vt, [
2371
2377
  c("div", It, [
@@ -2376,13 +2382,13 @@ const _t = {
2376
2382
  "per-page": s.value,
2377
2383
  "onUpdate:perPage": f[0] || (f[0] = (x) => s.value = x)
2378
2384
  }, null, 8, ["total", "page-sizes", "per-page"])
2379
- ])) : F("", !0)
2385
+ ])) : B("", !0)
2380
2386
  ]),
2381
2387
  c("div", Tt, [
2382
2388
  d.showClearButton ? (n(), w(u(A), {
2383
2389
  key: 0,
2384
2390
  outlined: "",
2385
- class: B(d.showExporterButton ? "me-2" : ""),
2391
+ class: F(d.showExporterButton ? "me-2" : ""),
2386
2392
  onClick: m,
2387
2393
  "data-cy": "clear-all"
2388
2394
  }, {
@@ -2392,10 +2398,10 @@ const _t = {
2392
2398
  width: "24",
2393
2399
  height: "24"
2394
2400
  }),
2395
- T(" Clear ")
2401
+ z(" Clear ")
2396
2402
  ]),
2397
2403
  _: 1
2398
- }, 8, ["class"])) : F("", !0),
2404
+ }, 8, ["class"])) : B("", !0),
2399
2405
  d.showExporterButton ? (n(), w(u(A), {
2400
2406
  key: 1,
2401
2407
  outlined: "",
@@ -2408,10 +2414,10 @@ const _t = {
2408
2414
  width: "24",
2409
2415
  height: "24"
2410
2416
  }),
2411
- T(" Export ")
2417
+ z(" Export ")
2412
2418
  ]),
2413
2419
  _: 1
2414
- })) : F("", !0)
2420
+ })) : B("", !0)
2415
2421
  ])
2416
2422
  ])
2417
2423
  ]),
@@ -2420,10 +2426,10 @@ const _t = {
2420
2426
  ]),
2421
2427
  _: 2
2422
2428
  }, [
2423
- L(d.$slots, (x, I) => ({
2424
- name: I,
2425
- fn: b((V) => [
2426
- k(d.$slots, I, te(ae(V || {})))
2429
+ E(d.$slots, (x, V) => ({
2430
+ name: V,
2431
+ fn: b((T) => [
2432
+ k(d.$slots, V, J(X(T || {})))
2427
2433
  ])
2428
2434
  })),
2429
2435
  d.legacyPaginationFooter ? {
@@ -2520,7 +2526,7 @@ function At(e) {
2520
2526
  }
2521
2527
  const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disabled", "multiple"], Rt = /* @__PURE__ */ $({
2522
2528
  __name: "UploadButton",
2523
- props: /* @__PURE__ */ q({
2529
+ props: /* @__PURE__ */ G({
2524
2530
  acceptedFileTypes: {},
2525
2531
  maxFileInput: {},
2526
2532
  showDragDropArea: { type: Boolean }
@@ -2530,7 +2536,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2530
2536
  }),
2531
2537
  emits: ["update:modelValue"],
2532
2538
  setup(e) {
2533
- const t = E(e, "modelValue"), l = h(() => e.maxFileInput <= t.value.length), a = (o) => {
2539
+ const t = L(e, "modelValue"), l = h(() => e.maxFileInput <= t.value.length), a = (o) => {
2534
2540
  t.value = ce(o, t.value, e.acceptedFileTypes, e.maxFileInput);
2535
2541
  };
2536
2542
  return (o, s) => (n(), p("div", Nt, [
@@ -2546,7 +2552,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2546
2552
  onInput: s[0] || (s[0] = (i) => a([...i.target.files]))
2547
2553
  }, null, 40, Et),
2548
2554
  c("label", {
2549
- class: B([{ disabled: l.value }, "btn btn-primary"]),
2555
+ class: F([{ disabled: l.value }, "btn btn-primary"]),
2550
2556
  id: "file-input-button",
2551
2557
  for: "file-input"
2552
2558
  }, [
@@ -2557,7 +2563,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2557
2563
  height: "20px",
2558
2564
  width: "20px"
2559
2565
  }),
2560
- T(" Browse your computer ")
2566
+ z(" Browse your computer ")
2561
2567
  ])
2562
2568
  ], 2)
2563
2569
  ]),
@@ -2565,7 +2571,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2565
2571
  class: "ms-auto",
2566
2572
  key: o.acceptedFileTypes.length,
2567
2573
  id: "accepted-file-types"
2568
- }, "Accepted File Types: " + g(o.acceptedFileTypes.map((i) => i.split("/").pop()).join(", ")), 1)) : F("", !0)
2574
+ }, "Accepted File Types: " + g(o.acceptedFileTypes.map((i) => i.split("/").pop()).join(", ")), 1)) : B("", !0)
2569
2575
  ]));
2570
2576
  }
2571
2577
  }), Lt = {
@@ -2577,7 +2583,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2577
2583
  class: "d-flex flex-column"
2578
2584
  }, Ht = /* @__PURE__ */ $({
2579
2585
  __name: "DragDropArea",
2580
- props: /* @__PURE__ */ q({
2586
+ props: /* @__PURE__ */ G({
2581
2587
  maxFileInput: {},
2582
2588
  maxFileSize: {},
2583
2589
  acceptedFileTypes: {}
@@ -2587,12 +2593,12 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2587
2593
  }),
2588
2594
  emits: ["update:modelValue"],
2589
2595
  setup(e) {
2590
- const t = E(e, "modelValue"), l = z(!1), a = h(() => e.maxFileInput <= t.value.length), o = (s) => {
2596
+ const t = L(e, "modelValue"), l = I(!1), a = h(() => e.maxFileInput <= t.value.length), o = (s) => {
2591
2597
  l.value = !1, s.dataTransfer.files.length > e.maxFileInput || a.value ? s.preventDefault() : t.value = ce([...s.dataTransfer.files], t.value, e.acceptedFileTypes, e.maxFileSize);
2592
2598
  };
2593
2599
  return (s, i) => (n(), p("div", {
2594
2600
  id: "drag-drop-area",
2595
- class: B(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
2601
+ class: F(`${l.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
2596
2602
  onDragleave: i[0] || (i[0] = K((m) => l.value = !1, ["prevent"])),
2597
2603
  onDragover: i[1] || (i[1] = K((m) => l.value = !0, ["prevent"])),
2598
2604
  onDrop: K(o, ["prevent"])
@@ -2604,7 +2610,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2604
2610
  height: "20px",
2605
2611
  width: "20px"
2606
2612
  }),
2607
- T(" Drag and drop files here ")
2613
+ z(" Drag and drop files here ")
2608
2614
  ])) : (n(), p("div", jt, [
2609
2615
  k(s.$slots, "default")
2610
2616
  ]))
@@ -2643,21 +2649,21 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2643
2649
  striped: ""
2644
2650
  }, {
2645
2651
  default: b(() => [
2646
- T(g((a.bytesUploaded / a.fileSize * 100).toFixed(0)) + "%", 1)
2652
+ z(g((a.bytesUploaded / a.fileSize * 100).toFixed(0)) + "%", 1)
2647
2653
  ]),
2648
2654
  _: 1
2649
- })) : F("", !0),
2650
- a.uploadStatus !== "Uploading" && a.uploadStatus !== "Not Uploaded" && a.uploadStatus !== "Uploaded" && a.uploadStatus !== "Preparing" ? (n(), w(X, {
2655
+ })) : B("", !0),
2656
+ a.uploadStatus !== "Uploading" && a.uploadStatus !== "Not Uploaded" && a.uploadStatus !== "Uploaded" && a.uploadStatus !== "Preparing" ? (n(), w(ee, {
2651
2657
  key: 1,
2652
2658
  id: "upload-status-alert",
2653
2659
  severity: t.value,
2654
2660
  class: "mb-0 w-75 ms-auto"
2655
2661
  }, {
2656
2662
  default: b(() => [
2657
- T(g(l.value), 1)
2663
+ z(g(l.value), 1)
2658
2664
  ]),
2659
2665
  _: 1
2660
- }, 8, ["severity"])) : F("", !0)
2666
+ }, 8, ["severity"])) : B("", !0)
2661
2667
  ]));
2662
2668
  }
2663
2669
  }), Kt = ["data-cy"], Wt = { class: "ms-3 d-flex flex-column" }, Zt = {
@@ -2671,7 +2677,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2671
2677
  id: "file-size"
2672
2678
  }, Xt = { class: "ms-auto my-auto d-flex" }, Qt = /* @__PURE__ */ $({
2673
2679
  __name: "FileInfo",
2674
- props: /* @__PURE__ */ q({
2680
+ props: /* @__PURE__ */ G({
2675
2681
  editableFileName: { type: Boolean },
2676
2682
  acceptedFileTypes: {},
2677
2683
  maxFileSize: {},
@@ -2686,9 +2692,9 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2686
2692
  uploadStatus: { required: !0 },
2687
2693
  uploadStatusModifiers: {}
2688
2694
  }),
2689
- emits: /* @__PURE__ */ q(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
2695
+ emits: /* @__PURE__ */ G(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
2690
2696
  setup(e, { emit: t }) {
2691
- const l = E(e, "file"), a = E(e, "blobFileName"), o = E(e, "uploadStatus"), s = t, i = z(l.value.name), m = z(""), y = z(0), r = z(), _ = h(() => e.acceptedFileTypes.includes(l.value.type)), d = h(() => l.value.size <= e.maxFileSize), f = () => {
2697
+ const l = L(e, "file"), a = L(e, "blobFileName"), o = L(e, "uploadStatus"), s = t, i = I(l.value.name), m = I(""), y = I(0), r = I(), _ = h(() => e.acceptedFileTypes.includes(l.value.type)), d = h(() => l.value.size <= e.maxFileSize), f = () => {
2692
2698
  l.value = new File([l.value], i.value, { type: l.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
2693
2699
  }, x = async () => {
2694
2700
  if (!_.value || !d.value) {
@@ -2696,33 +2702,33 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2696
2702
  return;
2697
2703
  }
2698
2704
  o.value = "Preparing", r.value = new AbortController();
2699
- const [V, U] = await e.getFileUrlAction(l.value.name);
2700
- if (!V) {
2705
+ const [T, P] = await e.getFileUrlAction(l.value.name);
2706
+ if (!T) {
2701
2707
  o.value = "Failed";
2702
2708
  return;
2703
2709
  }
2704
2710
  try {
2705
2711
  o.value = "Uploading";
2706
- const P = new de(V), G = {
2712
+ const M = new de(T), N = {
2707
2713
  abortSignal: r.value.signal,
2708
- onProgress: (Q) => y.value = Q.loadedBytes,
2714
+ onProgress: (te) => y.value = te.loadedBytes,
2709
2715
  tags: { temp: "true" }
2710
2716
  };
2711
- await P.uploadData(l.value, G), m.value = V, o.value = "Uploaded", a.value = U;
2712
- } catch (P) {
2713
- if (P.name === "AbortError") {
2717
+ await M.uploadData(l.value, N), m.value = T, o.value = "Uploaded", a.value = P;
2718
+ } catch (M) {
2719
+ if (M.name === "AbortError") {
2714
2720
  o.value = "Aborted";
2715
2721
  return;
2716
2722
  }
2717
2723
  o.value = "Failed";
2718
2724
  }
2719
- }, I = async () => {
2725
+ }, V = async () => {
2720
2726
  await Ot(o.value, m.value), s("deleted", l.value);
2721
2727
  };
2722
2728
  return ne(() => {
2723
2729
  e.autoUploadToBlob && x();
2724
- }), (V, U) => {
2725
- const P = A;
2730
+ }), (T, P) => {
2731
+ const M = A;
2726
2732
  return n(), p("div", {
2727
2733
  class: "py-4 px-3 d-flex",
2728
2734
  "data-cy": `file-info-${l.value.name}`
@@ -2746,12 +2752,12 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2746
2752
  ]),
2747
2753
  c("div", Wt, [
2748
2754
  c("div", null, [
2749
- V.editableFileName ? (n(), w(Ke, {
2755
+ T.editableFileName ? (n(), w(Ke, {
2750
2756
  key: 0,
2751
2757
  id: "edit-file-name",
2752
2758
  modelValue: i.value,
2753
- "onUpdate:modelValue": U[0] || (U[0] = (G) => i.value = G),
2754
- rules: V.customFileNameRules,
2759
+ "onUpdate:modelValue": P[0] || (P[0] = (N) => i.value = N),
2760
+ rules: T.customFileNameRules,
2755
2761
  name: l.value.name,
2756
2762
  "complete-action": f
2757
2763
  }, null, 8, ["modelValue", "rules", "name"])) : (n(), p("span", Zt, g(l.value.name), 1))
@@ -2765,9 +2771,9 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2765
2771
  "file-size": l.value.size,
2766
2772
  "upload-status": o.value,
2767
2773
  "bytes-uploaded": y.value,
2768
- "max-file-size": V.maxFileSize
2774
+ "max-file-size": T.maxFileSize
2769
2775
  }, null, 8, ["file-size", "upload-status", "bytes-uploaded", "max-file-size"])),
2770
- o.value === "Not Uploaded" || o.value === "Failed" || o.value === "Duplicate" || o.value === "Aborted" ? (n(), w(P, {
2776
+ o.value === "Not Uploaded" || o.value === "Failed" || o.value === "Duplicate" || o.value === "Aborted" ? (n(), w(M, {
2771
2777
  key: 0,
2772
2778
  link: "",
2773
2779
  onClick: x
@@ -2778,20 +2784,20 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2778
2784
  }, null, 8, ["icon"])
2779
2785
  ]),
2780
2786
  _: 1
2781
- })) : F("", !0),
2782
- o.value === "Uploading" ? (n(), w(P, {
2787
+ })) : B("", !0),
2788
+ o.value === "Uploading" ? (n(), w(M, {
2783
2789
  key: 1,
2784
2790
  link: "",
2785
- onClick: U[1] || (U[1] = (G) => r.value.value.abort())
2791
+ onClick: P[1] || (P[1] = (N) => r.value.value.abort())
2786
2792
  }, {
2787
2793
  default: b(() => [
2788
2794
  v(u(C), { icon: "bi:x-circle-fill" })
2789
2795
  ]),
2790
2796
  _: 1
2791
- })) : (n(), w(P, {
2797
+ })) : (n(), w(M, {
2792
2798
  key: 2,
2793
2799
  link: "",
2794
- onClick: I,
2800
+ onClick: V,
2795
2801
  id: "delete-button"
2796
2802
  }, {
2797
2803
  default: b(() => [
@@ -2815,7 +2821,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2815
2821
  }
2816
2822
  }), la = { "data-cy": "file-uploader" }, oa = { key: 0 }, Ka = /* @__PURE__ */ $({
2817
2823
  __name: "ForgeFileUploader",
2818
- props: /* @__PURE__ */ q({
2824
+ props: /* @__PURE__ */ G({
2819
2825
  acceptedFileTypes: {},
2820
2826
  maxFileSize: {},
2821
2827
  getFileUrlAction: {},
@@ -2830,7 +2836,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2830
2836
  }),
2831
2837
  emits: ["update:modelValue"],
2832
2838
  setup(e) {
2833
- const t = E(e, "modelValue"), l = e, a = (o) => {
2839
+ const t = L(e, "modelValue"), l = e, a = (o) => {
2834
2840
  t.value = t.value.filter((s) => s.file != o);
2835
2841
  };
2836
2842
  return (o, s) => (n(), p("div", la, [
@@ -2847,7 +2853,7 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2847
2853
  "onUpdate:modelValue": s[1] || (s[1] = (i) => t.value = i)
2848
2854
  }, {
2849
2855
  default: b(() => [
2850
- (n(!0), p(M, null, L(t.value, ({ file: i }, m) => (n(), p("span", null, [
2856
+ (n(!0), p(U, null, E(t.value, ({ file: i }, m) => (n(), p("span", null, [
2851
2857
  (n(), w(Qt, S({
2852
2858
  key: i.name,
2853
2859
  class: m === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
@@ -2856,7 +2862,8 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2856
2862
  "blob-file-name": t.value[m].blobFileName,
2857
2863
  "onUpdate:blobFileName": (y) => t.value[m].blobFileName = y,
2858
2864
  "upload-status": t.value[m].status,
2859
- "onUpdate:uploadStatus": (y) => t.value[m].status = y
2865
+ "onUpdate:uploadStatus": (y) => t.value[m].status = y,
2866
+ ref_for: !0
2860
2867
  }, l, { onDeleted: a }), null, 16, ["class", "file", "onUpdate:file", "blob-file-name", "onUpdate:blobFileName", "upload-status", "onUpdate:uploadStatus"]))
2861
2868
  ]))), 256))
2862
2869
  ]),
@@ -2865,14 +2872,14 @@ const Nt = { class: "d-flex justify-content-between" }, Et = ["accept", "disable
2865
2872
  v(aa, {
2866
2873
  "max-file-size": l.maxFileSize
2867
2874
  }, null, 8, ["max-file-size"])
2868
- ])) : F("", !0)
2875
+ ])) : B("", !0)
2869
2876
  ]));
2870
2877
  }
2871
2878
  });
2872
2879
  export {
2873
2880
  za as Bootstrap_PT,
2874
2881
  Ta as ForgeActionButton,
2875
- X as ForgeAlert,
2882
+ ee as ForgeAlert,
2876
2883
  Ue as ForgeCheckbox,
2877
2884
  Ra as ForgeChips,
2878
2885
  ct as ForgeDatepicker,