@3squared/forge-ui-3 2.19.0 → 2.19.2

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,12 +1,12 @@
1
1
  import Be from "primevue/message";
2
- import { defineComponent as C, openBlock as d, createBlock as y, normalizeProps as W, guardReactiveProps as G, withCtx as f, createElementVNode as m, normalizeClass as S, unref as u, createCommentVNode as z, createVNode as w, renderSlot as B, ref as j, createElementBlock as v, Fragment as A, mergeProps as _, renderList as E, mergeModels as R, useModel as N, computed as T, createTextVNode as M, toDisplayString as F, withDirectives as J, vShow as Z, createSlots as ae, onMounted as ne, isRef as Fe, withKeys as le, normalizeStyle as Se, withModifiers as X, watch as Q, h as Ce, useTemplateRef as ze } from "vue";
3
- import { Icon as P } from "@iconify/vue";
2
+ import { defineComponent as C, createBlock as y, openBlock as d, normalizeProps as W, guardReactiveProps as G, withCtx as f, renderSlot as B, createVNode as w, unref as u, createElementVNode as m, normalizeClass as S, createCommentVNode as z, ref as P, createElementBlock as v, Fragment as A, mergeProps as j, renderList as E, mergeModels as R, useModel as N, computed as T, withDirectives as J, createTextVNode as M, toDisplayString as F, vShow as Z, createSlots as ae, onMounted as oe, withKeys as le, isRef as Fe, normalizeStyle as Se, withModifiers as X, watch as Q, h as Ce, useTemplateRef as ze } from "vue";
3
+ import { Icon as _ } from "@iconify/vue";
4
4
  import q from "primevue/button";
5
5
  import Te from "primevue/toast";
6
- import _e from "primevue/autocomplete";
7
- import Pe from "primevue/checkbox";
8
- import { useField as oe } from "vee-validate";
9
- import je from "primevue/progressspinner";
6
+ import je from "primevue/autocomplete";
7
+ import _e from "primevue/checkbox";
8
+ import { useField as ne } from "vee-validate";
9
+ import Pe from "primevue/progressspinner";
10
10
  import Ie from "primevue/dialog";
11
11
  import se from "primevue/inputtext";
12
12
  import { vOnClickOutside as Me } from "@vueuse/components";
@@ -240,15 +240,15 @@ const Xe = {
240
240
  column: {
241
241
  pcSortBadge: "ms-2 my-auto cursor-pointer",
242
242
  headerCell: (e) => {
243
- var t, a, i, l;
243
+ var t, a, i, l, o, n;
244
244
  return {
245
245
  class: [
246
246
  "align-top",
247
247
  {
248
- "cursor-move": e.props.reorderableColumns,
249
- "position-sticky": ((t = e.column) == null ? void 0 : t.context.frozen) !== void 0 || ((a = e.column) == null ? void 0 : a.context.frozen) || ((i = e.column) == null ? void 0 : i.context.frozen) === "",
250
- "overflow-hidden position-relative bg-clip-padding": (l = e.column) == null ? void 0 : l.context.resizable,
251
- "align-bottom": e.column.props.rowspan > 1
248
+ "cursor-move": (t = e.props) == null ? void 0 : t.reorderableColumns,
249
+ "position-sticky": ((a = e.column) == null ? void 0 : a.context.frozen) !== void 0 || ((i = e.column) == null ? void 0 : i.context.frozen) || ((l = e.column) == null ? void 0 : l.context.frozen) === "",
250
+ "overflow-hidden position-relative bg-clip-padding": (o = e.column) == null ? void 0 : o.context.resizable,
251
+ "align-bottom": ((n = e.column.props) == null ? void 0 : n.rowspan) > 1
252
252
  }
253
253
  ]
254
254
  };
@@ -321,14 +321,17 @@ const Xe = {
321
321
  "dropdown-divider"
322
322
  ]
323
323
  },
324
- columnHeaderContent: (e) => ({
325
- class: [
326
- "d-flex",
327
- {
328
- "justify-content-center": e.column.props.colspan > 1
329
- }
330
- ]
331
- }),
324
+ columnHeaderContent: (e) => {
325
+ var t;
326
+ return {
327
+ class: [
328
+ "d-flex",
329
+ {
330
+ "justify-content-center": ((t = e.column.props) == null ? void 0 : t.colspan) > 1
331
+ }
332
+ ]
333
+ };
334
+ },
332
335
  columnTitle: "text-break",
333
336
  sort: "d-flex ms-auto cursor-pointer table-sort-icon",
334
337
  pcRowCheckbox: (e) => ({
@@ -372,12 +375,12 @@ const Xe = {
372
375
  ]
373
376
  })
374
377
  }
375
- }, nt = {
378
+ }, ot = {
376
379
  toggleSwitch: {
377
380
  root: "form-check form-switch",
378
381
  input: "form-check-input"
379
382
  }
380
- }, ot = {
383
+ }, nt = {
381
384
  tag: {
382
385
  root: ({ props: e }) => ({
383
386
  class: [
@@ -794,7 +797,7 @@ const Xe = {
794
797
  ]
795
798
  })
796
799
  }
797
- }, ht = {
800
+ }, xt = {
798
801
  badge: {
799
802
  root: ({ props: e }) => ({
800
803
  class: [
@@ -816,7 +819,7 @@ const Xe = {
816
819
  ]
817
820
  })
818
821
  }
819
- }, xt = {
822
+ }, ht = {
820
823
  // More PassThrough options in component file.
821
824
  menubar: {
822
825
  rootList: ({ instance: e }) => ({
@@ -979,7 +982,12 @@ const Xe = {
979
982
  class: t
980
983
  };
981
984
  },
982
- itemLink: "dropdown-item",
985
+ itemLink: ({ props: e }) => ({
986
+ class: [
987
+ "dropdown-item",
988
+ { "cursor-pointer": !e.disabled }
989
+ ]
990
+ }),
983
991
  separator: "border-bottom"
984
992
  }
985
993
  }
@@ -1053,7 +1061,7 @@ const Xe = {
1053
1061
  class: ["ps-1"]
1054
1062
  }),
1055
1063
  messageIcon: ({ props: e }) => {
1056
- var t, a, i, l, n;
1064
+ var t, a, i, l, o;
1057
1065
  return {
1058
1066
  class: [
1059
1067
  "toast-icon",
@@ -1062,7 +1070,7 @@ const Xe = {
1062
1070
  "text-success": ((a = e.message) == null ? void 0 : a.severity) === "success",
1063
1071
  "text-success-alternate": ((i = e.message) == null ? void 0 : i.severity) === "success-alternate",
1064
1072
  "text-danger": ((l = e.message) == null ? void 0 : l.severity) === "error",
1065
- "text-warning": ((n = e.message) == null ? void 0 : n.severity) === "warn"
1073
+ "text-warning": ((o = e.message) == null ? void 0 : o.severity) === "warn"
1066
1074
  }
1067
1075
  ]
1068
1076
  };
@@ -1100,7 +1108,7 @@ const Xe = {
1100
1108
  pcFilterContainer: { root: "dropdown-item" },
1101
1109
  filterIcon: "d-none"
1102
1110
  }
1103
- }, _t = {
1111
+ }, jt = {
1104
1112
  treeSelect: {
1105
1113
  root: ({ props: e }) => ({
1106
1114
  class: [
@@ -1148,7 +1156,7 @@ const Xe = {
1148
1156
  filterIcon: "d-none"
1149
1157
  }
1150
1158
  }
1151
- }, Pt = {
1159
+ }, _t = {
1152
1160
  fieldset: {
1153
1161
  root: () => ({
1154
1162
  class: [
@@ -1174,7 +1182,7 @@ const Xe = {
1174
1182
  ]
1175
1183
  })
1176
1184
  }
1177
- }, jt = {
1185
+ }, Pt = {
1178
1186
  accordionPanel: {
1179
1187
  root: "card my-2"
1180
1188
  },
@@ -1215,7 +1223,7 @@ const Xe = {
1215
1223
  }
1216
1224
  }, Qi = {
1217
1225
  ...Xe,
1218
- ...ht,
1226
+ ...xt,
1219
1227
  ...Qe,
1220
1228
  ...Ft,
1221
1229
  ...et,
@@ -1228,10 +1236,10 @@ const Xe = {
1228
1236
  ...Ct,
1229
1237
  ...it,
1230
1238
  ...lt,
1231
- ...nt,
1239
+ ...ot,
1232
1240
  ...ct,
1233
1241
  ...ft,
1234
- ...xt,
1242
+ ...ht,
1235
1243
  ...pt,
1236
1244
  ...gt,
1237
1245
  ...Bt,
@@ -1240,14 +1248,14 @@ const Xe = {
1240
1248
  ...$t,
1241
1249
  ...ut,
1242
1250
  ...yt,
1243
- ...ot,
1251
+ ...nt,
1244
1252
  ...mt,
1245
1253
  ...zt,
1246
1254
  ...st,
1247
- ...Pt,
1248
1255
  ..._t,
1249
- ...Tt,
1250
1256
  ...jt,
1257
+ ...Tt,
1258
+ ...Pt,
1251
1259
  ...It,
1252
1260
  directives: {
1253
1261
  ...wt
@@ -1278,7 +1286,7 @@ const Xe = {
1278
1286
  m("div", {
1279
1287
  class: S(t.icon ? "me-2 pe-1" : "")
1280
1288
  }, [
1281
- t.icon ? (d(), y(u(P), {
1289
+ t.icon ? (d(), y(u(_), {
1282
1290
  key: 0,
1283
1291
  "data-cy": "message-icon",
1284
1292
  icon: t.icon,
@@ -1288,7 +1296,7 @@ const Xe = {
1288
1296
  ], 2)
1289
1297
  ]),
1290
1298
  closeicon: f(() => [
1291
- w(u(P), { icon: "bi:x" })
1299
+ w(u(_), { icon: "bi:x" })
1292
1300
  ]),
1293
1301
  default: f(() => [
1294
1302
  B(a.$slots, "default")
@@ -1306,7 +1314,7 @@ const Xe = {
1306
1314
  params: { default: Array }
1307
1315
  },
1308
1316
  setup(e) {
1309
- const t = j(!1), a = e, i = async () => {
1317
+ const t = P(!1), a = e, i = async () => {
1310
1318
  t.value = !0;
1311
1319
  try {
1312
1320
  await a.action.apply(this, a.params);
@@ -1315,10 +1323,10 @@ const Xe = {
1315
1323
  }
1316
1324
  t.value = !1;
1317
1325
  };
1318
- return (l, n) => {
1319
- const o = q;
1326
+ return (l, o) => {
1327
+ const n = q;
1320
1328
  return d(), v(A, null, [
1321
- w(o, _({ ...a, ...l.$attrs }, {
1329
+ w(n, j({ ...a, ...l.$attrs }, {
1322
1330
  loading: t.value,
1323
1331
  disabled: t.value || a.disabled,
1324
1332
  onClick: i
@@ -1330,7 +1338,7 @@ const Xe = {
1330
1338
  }), tl = /* @__PURE__ */ C({
1331
1339
  __name: "ForgeAutoComplete",
1332
1340
  setup(e) {
1333
- return (t, a) => (d(), y(u(_e), _({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1341
+ return (t, a) => (d(), y(u(je), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1334
1342
  default: f(() => [
1335
1343
  (d(!0), v(A, null, E(t.$slots, (i, l) => B(t.$slots, l, { slot: l })), 256))
1336
1344
  ]),
@@ -1372,25 +1380,25 @@ const Xe = {
1372
1380
  }),
1373
1381
  emits: ["update:modelValue"],
1374
1382
  setup(e) {
1375
- const t = e, a = N(e, "modelValue"), { handleChange: i, errors: l, errorMessage: n } = oe(
1383
+ const t = e, a = N(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = ne(
1376
1384
  () => t.name ?? "",
1377
1385
  void 0,
1378
1386
  {
1379
1387
  type: "checkbox",
1380
1388
  checkedValue: a.value
1381
1389
  }
1382
- ), o = (p, c) => {
1390
+ ), n = (p, c) => {
1383
1391
  (t.disabled || t.readonly) && p.preventDefault(), t.name ? i(c) : a.value = c;
1384
1392
  }, s = T(() => l.value.length > 0);
1385
1393
  return (p, c) => {
1386
- const h = Pe;
1394
+ const x = _e;
1387
1395
  return d(), v("div", Mt, [
1388
- m("div", _({
1396
+ m("div", j({
1389
1397
  class: "d-flex",
1390
1398
  "data-cy": "checkbox-container",
1391
- onClick: c[2] || (c[2] = (r) => o(r, a.value))
1399
+ onClick: c[2] || (c[2] = (r) => n(r, a.value))
1392
1400
  }, { ...p.$attrs }), [
1393
- w(h, _({ ...t }, {
1401
+ w(x, j({ ...t }, {
1394
1402
  binary: "",
1395
1403
  modelValue: a.value,
1396
1404
  "onUpdate:modelValue": c[0] || (c[0] = (r) => a.value = r),
@@ -1400,7 +1408,7 @@ const Xe = {
1400
1408
  }), null, 16, ["modelValue", "input-id", "input-class", "class"]),
1401
1409
  m("label", {
1402
1410
  for: t.name,
1403
- onClick: c[1] || (c[1] = (r) => o(r, !a.value)),
1411
+ onClick: c[1] || (c[1] = (r) => n(r, !a.value)),
1404
1412
  class: S([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1405
1413
  }, [
1406
1414
  B(p.$slots, "default", {}, () => [
@@ -1411,7 +1419,7 @@ const Xe = {
1411
1419
  J(m("small", {
1412
1420
  "data-cy": "error",
1413
1421
  class: "text-invalid"
1414
- }, F(u(n)), 513), [
1422
+ }, F(u(o)), 513), [
1415
1423
  [Z, s.value]
1416
1424
  ])
1417
1425
  ]);
@@ -1435,11 +1443,11 @@ const Xe = {
1435
1443
  })
1436
1444
  }));
1437
1445
  return (i, l) => {
1438
- const n = je;
1446
+ const o = Pe;
1439
1447
  return d(), v("div", {
1440
1448
  class: S(i.inLine ? "" : "forge-loader")
1441
1449
  }, [
1442
- w(n, {
1450
+ w(o, {
1443
1451
  "animation-duration": ".75",
1444
1452
  class: S(`text-${t.severity === void 0 ? "primary" : t.severity}`),
1445
1453
  pt: a.value
@@ -1488,7 +1496,7 @@ const Xe = {
1488
1496
  target: i.target
1489
1497
  }, [
1490
1498
  B(i.$slots, "default", {}, () => [
1491
- i.iconName ? (d(), y(u(P), {
1499
+ i.iconName ? (d(), y(u(_), {
1492
1500
  key: 0,
1493
1501
  id: "link-icon",
1494
1502
  icon: i.iconName,
@@ -1523,7 +1531,7 @@ const Nt = {
1523
1531
  }, At = { key: 0 }, Et = {
1524
1532
  class: "d-flex w-100",
1525
1533
  "data-cy": "footer"
1526
- }, nl = /* @__PURE__ */ C({
1534
+ }, ol = /* @__PURE__ */ C({
1527
1535
  __name: "ForgeModal",
1528
1536
  props: /* @__PURE__ */ R({
1529
1537
  cancelText: { default: "Cancel" },
@@ -1585,8 +1593,8 @@ const Nt = {
1585
1593
  }),
1586
1594
  emits: ["update:visible", "update:error"],
1587
1595
  setup(e, { expose: t }) {
1588
- const a = N(e, "visible"), i = j(!1), l = e, n = j(!1), o = N(e, "error"), s = () => {
1589
- o.value = {
1596
+ const a = N(e, "visible"), i = P(!1), l = e, o = P(!1), n = N(e, "error"), s = () => {
1597
+ n.value = {
1590
1598
  hasError: !1,
1591
1599
  header: "",
1592
1600
  message: []
@@ -1599,22 +1607,22 @@ const Nt = {
1599
1607
  i.value = !1;
1600
1608
  }, c = () => {
1601
1609
  i.value = !0;
1602
- }, h = () => {
1610
+ }, x = () => {
1603
1611
  l.resetErrorOnClose && s(), a.value = !1;
1604
1612
  }, r = async () => {
1605
1613
  if (l.onConfirm) {
1606
- n.value = !0, o.value.hasError = !1;
1614
+ o.value = !0, n.value.hasError = !1;
1607
1615
  try {
1608
1616
  const $ = await l.onConfirm();
1609
- ($ || $ == null) && h();
1617
+ ($ || $ == null) && x();
1610
1618
  } catch ($) {
1611
- o.value.hasError = !0;
1619
+ n.value.hasError = !0;
1612
1620
  const D = Ot($);
1613
- o.value.header = D.errorMessage, o.value.message = D.errorDetails;
1621
+ n.value.header = D.errorMessage, n.value.message = D.errorDetails;
1614
1622
  }
1615
- n.value = !1;
1623
+ o.value = !1;
1616
1624
  }
1617
- }, x = T(() => ({
1625
+ }, h = T(() => ({
1618
1626
  root: [
1619
1627
  "modal modal-dialog modal-content h-auto m-0",
1620
1628
  {
@@ -1629,28 +1637,28 @@ const Nt = {
1629
1637
  {
1630
1638
  [`${l.maxHeight}`]: l.maxHeight && !i.value,
1631
1639
  [`${l.minHeight}`]: l.minHeight && !i.value,
1632
- "pt-0": o.value.hasError
1640
+ "pt-0": n.value.hasError
1633
1641
  }
1634
1642
  ]
1635
1643
  }));
1636
1644
  return ($, D) => {
1637
1645
  const O = q, U = Ie;
1638
- return d(), y(U, _(l, {
1646
+ return d(), y(U, j(l, {
1639
1647
  onMaximize: c,
1640
1648
  onUnmaximize: p,
1641
- pt: x.value
1649
+ pt: h.value
1642
1650
  }), ae({
1643
1651
  closeicon: f(() => [
1644
- w(u(P), {
1652
+ w(u(_), {
1645
1653
  "data-cy": "close-icon",
1646
1654
  icon: "bi:x-lg",
1647
1655
  width: "18",
1648
1656
  height: "18",
1649
- onClick: h
1657
+ onClick: x
1650
1658
  })
1651
1659
  ]),
1652
1660
  maximizeicon: f(() => [
1653
- w(u(P), {
1661
+ w(u(_), {
1654
1662
  "data-cy": "maximisable-icon",
1655
1663
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1656
1664
  width: "16",
@@ -1663,7 +1671,7 @@ const Nt = {
1663
1671
  name: k,
1664
1672
  fn: f((I) => [
1665
1673
  k == "default" ? (d(), v(A, { key: 0 }, [
1666
- o.value.hasError ? (d(), v("div", Nt, [
1674
+ n.value.hasError ? (d(), v("div", Nt, [
1667
1675
  w(de, {
1668
1676
  severity: "danger",
1669
1677
  "data-cy": "error",
@@ -1671,10 +1679,10 @@ const Nt = {
1671
1679
  }, {
1672
1680
  default: f(() => [
1673
1681
  m("p", {
1674
- class: S(o.value.message.length > 0 ? "my-auto" : "mb-0")
1675
- }, F(o.value.header), 3),
1676
- o.value.message.length > 0 ? (d(), v("ul", At, [
1677
- (d(!0), v(A, null, E(o.value.message, (g) => (d(), v("li", { key: g }, F(g), 1))), 128))
1682
+ class: S(n.value.message.length > 0 ? "my-auto" : "mb-0")
1683
+ }, F(n.value.header), 3),
1684
+ n.value.message.length > 0 ? (d(), v("ul", At, [
1685
+ (d(!0), v(A, null, E(n.value.message, (g) => (d(), v("li", { key: g }, F(g), 1))), 128))
1678
1686
  ])) : z("", !0)
1679
1687
  ]),
1680
1688
  _: 1
@@ -1682,7 +1690,7 @@ const Nt = {
1682
1690
  ])) : z("", !0)
1683
1691
  ], 64)) : z("", !0),
1684
1692
  B($.$slots, k, W(G(I || {}))),
1685
- n.value ? B($.$slots, "loader", { key: 1 }, () => [
1693
+ o.value ? B($.$slots, "loader", { key: 1 }, () => [
1686
1694
  w(pe, { "data-cy": "loader" })
1687
1695
  ]) : z("", !0)
1688
1696
  ])
@@ -1695,7 +1703,7 @@ const Nt = {
1695
1703
  label: $.cancelText,
1696
1704
  class: S(l.cancelClass),
1697
1705
  outlined: "",
1698
- onClick: h,
1706
+ onClick: x,
1699
1707
  id: "cancel-button",
1700
1708
  type: l.cancelButtonType
1701
1709
  }, null, 8, ["label", "class", "type"]),
@@ -1728,11 +1736,11 @@ const Nt = {
1728
1736
  }),
1729
1737
  emits: ["update:modelValue"],
1730
1738
  setup(e) {
1731
- const t = e, a = N(e, "modelValue"), i = j(!1), l = j(), n = () => {
1739
+ const t = e, a = N(e, "modelValue"), i = P(!1), l = P(), o = () => {
1732
1740
  var $;
1733
1741
  i.value = !i.value, ($ = l.value) == null || $.focus();
1734
- }, o = async () => {
1735
- if (x.value)
1742
+ }, n = async () => {
1743
+ if (h.value)
1736
1744
  return !1;
1737
1745
  if (a.value = r.value, t.completeAction)
1738
1746
  try {
@@ -1746,13 +1754,13 @@ const Nt = {
1746
1754
  i.value = !i.value;
1747
1755
  }, p = () => {
1748
1756
  r.value = null;
1749
- }, { errorMessage: c, errors: h, value: r } = oe(() => t.name, void 0, {
1757
+ }, { errorMessage: c, errors: x, value: r } = ne(() => t.name, void 0, {
1750
1758
  initialValue: a.value
1751
1759
  });
1752
- ne(() => {
1760
+ oe(() => {
1753
1761
  r.value = a.value;
1754
1762
  });
1755
- const x = T(() => h.value.length > 0);
1763
+ const h = T(() => x.value.length > 0);
1756
1764
  return ($, D) => {
1757
1765
  const O = se, U = q;
1758
1766
  return d(), v("div", {
@@ -1766,8 +1774,8 @@ const Nt = {
1766
1774
  i.value ? (d(), v("div", Lt, [
1767
1775
  J((d(), v("div", Rt, [
1768
1776
  B($.$slots, "editor", {
1769
- class: S({ "is-invalid": x.value }),
1770
- editFinished: o,
1777
+ class: S({ "is-invalid": h.value }),
1778
+ editFinished: n,
1771
1779
  cancel: s,
1772
1780
  val: u(r)
1773
1781
  }, () => [
@@ -1778,14 +1786,14 @@ const Nt = {
1778
1786
  "data-cy": "input",
1779
1787
  ref_key: "input",
1780
1788
  ref: l,
1781
- class: S({ "is-invalid": x.value }),
1789
+ class: S({ "is-invalid": h.value }),
1782
1790
  onKeydown: [
1783
- le(o, ["enter"]),
1791
+ le(n, ["enter"]),
1784
1792
  le(s, ["esc"])
1785
1793
  ]
1786
1794
  }, null, 8, ["modelValue", "class"])
1787
1795
  ]),
1788
- w(u(P), {
1796
+ w(u(_), {
1789
1797
  icon: "bi:x-circle",
1790
1798
  class: "mx-2 cursor-pointer",
1791
1799
  onClick: p,
@@ -1793,17 +1801,17 @@ const Nt = {
1793
1801
  "data-cy": "clear-icon"
1794
1802
  })
1795
1803
  ])), [
1796
- [u(Me), o]
1804
+ [u(Me), n]
1797
1805
  ])
1798
1806
  ])) : (d(), v("div", {
1799
1807
  key: 1,
1800
1808
  class: "d-flex text-muted",
1801
- onClick: n,
1802
- onFocus: n
1809
+ onClick: o,
1810
+ onFocus: o
1803
1811
  }, [
1804
1812
  B($.$slots, "default", {}, () => [
1805
1813
  m("div", {
1806
- class: S(["pe-2 cursor-pointer", { "text-invalid": x.value }]),
1814
+ class: S(["pe-2 cursor-pointer", { "text-invalid": h.value }]),
1807
1815
  "data-cy": "value"
1808
1816
  }, F(u(r) ? u(r) : "Click to edit"), 3)
1809
1817
  ]),
@@ -1812,11 +1820,11 @@ const Nt = {
1812
1820
  class: "p-0 m-0"
1813
1821
  }, {
1814
1822
  default: f(() => [
1815
- w(u(P), {
1823
+ w(u(_), {
1816
1824
  icon: "bi:pencil",
1817
- class: S(x.value ? "text-invalid" : "text-muted"),
1825
+ class: S(h.value ? "text-invalid" : "text-muted"),
1818
1826
  "data-cy": "edit-icon",
1819
- onKeydown: le(n, ["enter"])
1827
+ onKeydown: le(o, ["enter"])
1820
1828
  }, null, 8, ["class"])
1821
1829
  ]),
1822
1830
  _: 1
@@ -1827,12 +1835,12 @@ const Nt = {
1827
1835
  "data-cy": "error",
1828
1836
  class: "text-invalid"
1829
1837
  }, F(u(c)), 513), [
1830
- [Z, x.value]
1838
+ [Z, h.value]
1831
1839
  ])
1832
1840
  ], 8, Ut);
1833
1841
  };
1834
1842
  }
1835
- }), Yt = ["href"], ol = /* @__PURE__ */ C({
1843
+ }), Yt = ["href"], nl = /* @__PURE__ */ C({
1836
1844
  __name: "ForgeNavbar",
1837
1845
  props: {
1838
1846
  severity: { default: "light" },
@@ -1877,7 +1885,7 @@ const Nt = {
1877
1885
  ]
1878
1886
  })
1879
1887
  }));
1880
- return (i, l) => (d(), y(u(Ve), _({ ...t, ...i.$attrs }, {
1888
+ return (i, l) => (d(), y(u(Ve), j({ ...t, ...i.$attrs }, {
1881
1889
  pt: a.value,
1882
1890
  "data-cy": "navbar"
1883
1891
  }), ae({
@@ -1894,7 +1902,7 @@ const Nt = {
1894
1902
  ]),
1895
1903
  buttonicon: f(() => [
1896
1904
  B(i.$slots, "buttonIcon", {}, () => [
1897
- w(u(P), {
1905
+ w(u(_), {
1898
1906
  icon: "bi:list",
1899
1907
  class: S(t.severity === "light" ? "text-black" : "text-white"),
1900
1908
  height: "24",
@@ -1904,10 +1912,10 @@ const Nt = {
1904
1912
  ]),
1905
1913
  _: 2
1906
1914
  }, [
1907
- E(i.$slots, (n, o) => ({
1908
- name: o,
1915
+ E(i.$slots, (o, n) => ({
1916
+ name: n,
1909
1917
  fn: f((s) => [
1910
- B(i.$slots, o, W(G(s)))
1918
+ B(i.$slots, n, W(G(s)))
1911
1919
  ])
1912
1920
  }))
1913
1921
  ]), 1040, ["pt"]));
@@ -1936,10 +1944,10 @@ const Nt = {
1936
1944
  emits: ["update:modelValue"],
1937
1945
  setup(e) {
1938
1946
  const t = e, a = N(e, "modelValue"), i = (l) => {
1939
- a.value = a.value.filter((n) => n.id !== l);
1947
+ a.value = a.value.filter((o) => o.id !== l);
1940
1948
  };
1941
- return (l, n) => {
1942
- const o = re, s = q;
1949
+ return (l, o) => {
1950
+ const n = re, s = q;
1943
1951
  return d(), v("div", {
1944
1952
  class: S(l.orientation === "column" ? "row" : ""),
1945
1953
  "data-cy": "multiselect-preview"
@@ -1948,9 +1956,9 @@ const Nt = {
1948
1956
  class: S(l.orientation === "row" ? "col-12 mb-1" : "col"),
1949
1957
  "data-cy": "multiselect-container"
1950
1958
  }, [
1951
- w(o, _({
1959
+ w(n, j({
1952
1960
  modelValue: a.value,
1953
- "onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
1961
+ "onUpdate:modelValue": o[0] || (o[0] = (p) => a.value = p)
1954
1962
  }, { ...l.$attrs }, {
1955
1963
  options: t.options ?? [],
1956
1964
  optionLabel: "label",
@@ -1988,7 +1996,7 @@ const Nt = {
1988
1996
  onClick: (c) => i(p.id)
1989
1997
  }, {
1990
1998
  default: f(() => [
1991
- w(u(P), {
1999
+ w(u(_), {
1992
2000
  icon: "bi:x",
1993
2001
  class: "close-icon",
1994
2002
  "data-cy": `close-icon-${p.id}`
@@ -2024,7 +2032,7 @@ const Nt = {
2024
2032
  ])
2025
2033
  ]));
2026
2034
  }
2027
- }), ia = { class: "d-flex" }, la = { "data-cy": "before-slot" }, na = { class: "position-relative w-100" }, oa = { "data-cy": "after-slot" }, he = /* @__PURE__ */ C({
2035
+ }), ia = { class: "d-flex" }, la = { "data-cy": "before-slot" }, oa = { class: "position-relative w-100" }, na = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ C({
2028
2036
  __name: "ForgeDatepicker",
2029
2037
  props: /* @__PURE__ */ R({
2030
2038
  severity: { default: "primary" },
@@ -2099,12 +2107,12 @@ const Nt = {
2099
2107
  }),
2100
2108
  emits: ["update:modelValue"],
2101
2109
  setup(e) {
2102
- const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: l, handleChange: n, handleBlur: o, setValue: s } = oe(() => t.name, void 0, {
2110
+ const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, setValue: s } = ne(() => t.name, void 0, {
2103
2111
  initialValue: a.value
2104
2112
  }), p = () => {
2105
2113
  s(null), a.value = null;
2106
- }, c = T(() => i.value.length > 0), h = T(() => ({
2107
- day: ({ context: r, props: x, attrs: $ }) => ({
2114
+ }, c = T(() => i.value.length > 0), x = T(() => ({
2115
+ day: ({ context: r, props: h, attrs: $ }) => ({
2108
2116
  class: [
2109
2117
  "d-flex justify-content-center align-items-center",
2110
2118
  {
@@ -2119,8 +2127,8 @@ const Nt = {
2119
2127
  //This is used to show which dates should be shows as 'disabled'. The first part of logic is used to only (due to prime vue passing
2120
2128
  //disabled for otherMonth dates) show the disabled styling for current calendar dates. The second part of logic is used to set the
2121
2129
  //disabled state for dates out of the min/max date range, as they would also come through the context as disabled dates without knowing why
2122
- "text-grey-300": r.disabled && !r.otherMonth || x.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < x.minDate || x.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > x.maxDate,
2123
- "fw-500": r.disabled && !r.otherMonth || x.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < x.minDate || x.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > x.maxDate
2130
+ "text-grey-300": r.disabled && !r.otherMonth || h.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < h.minDate || h.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > h.maxDate,
2131
+ "fw-500": r.disabled && !r.otherMonth || h.minDate != null && new Date(r.date.year, r.date.month, r.date.day) < h.minDate || h.maxDate != null && new Date(r.date.year, r.date.month, r.date.day) > h.maxDate
2124
2132
  },
2125
2133
  // Severities
2126
2134
  {
@@ -2208,32 +2216,32 @@ const Nt = {
2208
2216
  ]
2209
2217
  })
2210
2218
  }));
2211
- return (r, x) => {
2219
+ return (r, h) => {
2212
2220
  const $ = De;
2213
2221
  return d(), v(A, null, [
2214
2222
  m("div", ia, [
2215
2223
  m("span", la, [
2216
2224
  B(r.$slots, "before")
2217
2225
  ]),
2218
- m("div", na, [
2219
- w($, _({ ...t, ...r.$attrs }, {
2220
- pt: h.value,
2226
+ m("div", oa, [
2227
+ w($, j({ ...t, ...r.$attrs }, {
2228
+ pt: x.value,
2221
2229
  modelValue: a.value,
2222
2230
  "onUpdate:modelValue": [
2223
- x[0] || (x[0] = (D) => a.value = D),
2224
- u(n)
2231
+ h[0] || (h[0] = (D) => a.value = D),
2232
+ u(o)
2225
2233
  ],
2226
- onBlur: x[1] || (x[1] = () => u(o)),
2234
+ onBlur: h[1] || (h[1] = () => u(n)),
2227
2235
  "input-class": { "text-truncate": !0, "datepicker-invalid": c.value, "pe-5": t.showIcon && t.modelValue, "pe-4": (t.showIcon || t.modelValue) && !(t.showIcon && t.modelValue) }
2228
2236
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2229
- J(w(u(P), {
2237
+ J(w(u(_), {
2230
2238
  "data-cy": "icon",
2231
2239
  icon: "bi:calendar4",
2232
2240
  class: S(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white pe-none", `${c.value ? "text-danger-dark" : "text-muted"}`])
2233
2241
  }, null, 8, ["class"]), [
2234
2242
  [Z, t.showIcon && !t.inline]
2235
2243
  ]),
2236
- J(w(u(P), {
2244
+ J(w(u(_), {
2237
2245
  "data-cy": "icon",
2238
2246
  icon: "bi:x",
2239
2247
  onClick: p,
@@ -2242,7 +2250,7 @@ const Nt = {
2242
2250
  [Z, t.modelValue && !t.inline]
2243
2251
  ])
2244
2252
  ]),
2245
- m("span", oa, [
2253
+ m("span", na, [
2246
2254
  B(r.$slots, "after")
2247
2255
  ])
2248
2256
  ]),
@@ -2279,7 +2287,7 @@ const Nt = {
2279
2287
  hideCancel: { type: Boolean, default: !1 }
2280
2288
  },
2281
2289
  setup(e) {
2282
- const t = e, a = j(!1), i = j({
2290
+ const t = e, a = P(!1), i = P({
2283
2291
  hasError: !1,
2284
2292
  message: ""
2285
2293
  });
@@ -2287,26 +2295,26 @@ const Nt = {
2287
2295
  a.value = !0, i.value.hasError = !1;
2288
2296
  try {
2289
2297
  await t.onSubmit();
2290
- } catch (n) {
2291
- i.value.hasError = !0, n.message && (i.value.message = n.message);
2298
+ } catch (o) {
2299
+ i.value.hasError = !0, o.message && (i.value.message = o.message);
2292
2300
  }
2293
2301
  a.value = !1;
2294
2302
  }
2295
- return (n, o) => {
2303
+ return (o, n) => {
2296
2304
  const s = q;
2297
- return d(), v("form", _(n.$attrs, {
2305
+ return d(), v("form", j(o.$attrs, {
2298
2306
  novalidate: "",
2299
2307
  class: "position-relative shadow-sm border p-4 bg-white",
2300
2308
  onSubmit: X(l, ["prevent"])
2301
2309
  }), [
2302
- n.hideTitle ? z("", !0) : (d(), v(A, { key: 0 }, [
2303
- B(n.$slots, "title", {}, () => [
2310
+ o.hideTitle ? z("", !0) : (d(), v(A, { key: 0 }, [
2311
+ B(o.$slots, "title", {}, () => [
2304
2312
  m("h3", {
2305
- class: S(n.titleClass),
2313
+ class: S(o.titleClass),
2306
2314
  "data-cy": "form-title"
2307
- }, F(n.title), 3)
2315
+ }, F(o.title), 3)
2308
2316
  ]),
2309
- o[1] || (o[1] = m("hr", null, null, -1))
2317
+ n[1] || (n[1] = m("hr", null, null, -1))
2310
2318
  ], 64)),
2311
2319
  i.value.hasError ? (d(), y(de, {
2312
2320
  key: 1,
@@ -2314,7 +2322,7 @@ const Nt = {
2314
2322
  "data-cy": "error"
2315
2323
  }, {
2316
2324
  default: f(() => [
2317
- B(n.$slots, "error", {
2325
+ B(o.$slots, "error", {
2318
2326
  error: i.value.message
2319
2327
  }, () => [
2320
2328
  M(F(i.value.message), 1)
@@ -2322,24 +2330,24 @@ const Nt = {
2322
2330
  ]),
2323
2331
  _: 3
2324
2332
  })) : z("", !0),
2325
- B(n.$slots, "default"),
2333
+ B(o.$slots, "default"),
2326
2334
  m("div", sa, [
2327
- B(n.$slots, "cancel", {}, () => [
2328
- n.hideCancel ? z("", !0) : (d(), y(s, {
2335
+ B(o.$slots, "cancel", {}, () => [
2336
+ o.hideCancel ? z("", !0) : (d(), y(s, {
2329
2337
  key: 0,
2330
2338
  "data-cy": "cancel-btn",
2331
2339
  type: "reset",
2332
2340
  severity: "secondary",
2333
2341
  outlined: "",
2334
- onClick: o[0] || (o[0] = (p) => n.$emit("cancel"))
2342
+ onClick: n[0] || (n[0] = (p) => o.$emit("cancel"))
2335
2343
  }, {
2336
2344
  default: f(() => [
2337
- M(F(n.cancelText), 1)
2345
+ M(F(o.cancelText), 1)
2338
2346
  ]),
2339
2347
  _: 1
2340
2348
  }))
2341
2349
  ]),
2342
- B(n.$slots, "submit", { submit: l }, () => [
2350
+ B(o.$slots, "submit", { submit: l }, () => [
2343
2351
  w(s, {
2344
2352
  "data-cy": "submit-btn",
2345
2353
  type: "submit",
@@ -2347,7 +2355,7 @@ const Nt = {
2347
2355
  class: "ms-auto"
2348
2356
  }, {
2349
2357
  default: f(() => [
2350
- M(F(n.submitText), 1)
2358
+ M(F(o.submitText), 1)
2351
2359
  ]),
2352
2360
  _: 1
2353
2361
  })
@@ -2383,20 +2391,20 @@ const Nt = {
2383
2391
  }),
2384
2392
  emits: ["update:modelValue"],
2385
2393
  setup(e) {
2386
- const t = N(e, "modelValue"), a = e, i = (h) => {
2387
- a.type == "number" ? s(h.value) : s(h);
2388
- }, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = oe(() => a.name, void 0, {
2394
+ const t = N(e, "modelValue"), a = e, i = (x) => {
2395
+ a.type == "number" ? s(x.value) : s(x);
2396
+ }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: p } = ne(() => a.name, void 0, {
2389
2397
  initialValue: t.value
2390
2398
  }), c = T(() => l.value.length > 0);
2391
- return Q(() => n.value, (h) => {
2392
- t.value = h;
2393
- }, { immediate: !0 }), (h, r) => {
2394
- const x = Ne, $ = Oe, D = se, O = ie, U = re, b = he;
2395
- return a.type === "checkbox" ? (d(), y(ye, _({
2399
+ return Q(() => o.value, (x) => {
2400
+ t.value = x;
2401
+ }, { immediate: !0 }), (x, r) => {
2402
+ const h = Ne, $ = Oe, D = se, O = ie, U = re, b = xe;
2403
+ return a.type === "checkbox" ? (d(), y(ye, j({
2396
2404
  key: 0,
2397
2405
  id: a.name,
2398
2406
  label: a.fieldLabel
2399
- }, h.$attrs, {
2407
+ }, x.$attrs, {
2400
2408
  name: a.name,
2401
2409
  modelValue: t.value,
2402
2410
  "onUpdate:modelValue": r[0] || (r[0] = (k) => t.value = k)
@@ -2410,33 +2418,33 @@ const Nt = {
2410
2418
  class: S(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2411
2419
  }, [
2412
2420
  M(F(a.fieldLabel) + " ", 1),
2413
- h.required ? (d(), v("span", pa, "*")) : z("", !0)
2421
+ x.required ? (d(), v("span", pa, "*")) : z("", !0)
2414
2422
  ], 10, da),
2415
- B(h.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2416
- a.type === "number" ? (d(), y(u(fe), _({
2423
+ B(x.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2424
+ a.type === "number" ? (d(), y(u(fe), j({
2417
2425
  key: 0,
2418
2426
  id: a.name
2419
- }, h.$attrs, {
2427
+ }, x.$attrs, {
2420
2428
  placeholder: a.placeholder,
2421
2429
  "input-class": { "is-invalid": c.value },
2422
2430
  class: { "is-invalid": c.value },
2423
2431
  onInput: i,
2424
2432
  modelValue: t.value,
2425
2433
  "onUpdate:modelValue": r[1] || (r[1] = (k) => t.value = k)
2426
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), y(x, _({
2434
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), y(h, j({
2427
2435
  key: 1,
2428
2436
  id: a.name
2429
- }, h.$attrs, {
2437
+ }, x.$attrs, {
2430
2438
  placeholder: a.placeholder,
2431
2439
  class: { "is-invalid": c.value },
2432
2440
  modelValue: t.value,
2433
2441
  "onUpdate:modelValue": r[2] || (r[2] = (k) => t.value = k),
2434
2442
  onInput: i,
2435
2443
  onBlur: u(p)
2436
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), y($, _({
2444
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), y($, j({
2437
2445
  key: 2,
2438
2446
  id: a.name
2439
- }, h.$attrs, {
2447
+ }, x.$attrs, {
2440
2448
  placeholder: a.placeholder,
2441
2449
  mask: a.mask,
2442
2450
  class: { "is-invalid": c.value },
@@ -2444,29 +2452,29 @@ const Nt = {
2444
2452
  "onUpdate:modelValue": r[3] || (r[3] = (k) => t.value = k),
2445
2453
  onComplete: i,
2446
2454
  onBlur: u(p)
2447
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), y(D, _({
2455
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), y(D, j({
2448
2456
  key: 3,
2449
2457
  id: a.name
2450
- }, h.$attrs, {
2458
+ }, x.$attrs, {
2451
2459
  placeholder: a.placeholder,
2452
2460
  class: { "is-invalid": c.value },
2453
2461
  modelValue: t.value,
2454
2462
  "onUpdate:modelValue": r[4] || (r[4] = (k) => t.value = k),
2455
2463
  onInput: i,
2456
2464
  onBlur: u(p)
2457
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), y(O, _({ key: 4 }, { ...a, ...h.$attrs }, {
2465
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), y(O, j({ key: 4 }, { ...a, ...x.$attrs }, {
2458
2466
  modelValue: t.value,
2459
2467
  "onUpdate:modelValue": r[5] || (r[5] = (k) => t.value = k),
2460
2468
  class: { "is-invalid": c.value }
2461
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), y(U, _({ key: 5 }, { ...a, ...h.$attrs }, {
2469
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), y(U, j({ key: 5 }, { ...a, ...x.$attrs }, {
2462
2470
  modelValue: t.value,
2463
2471
  "onUpdate:modelValue": r[6] || (r[6] = (k) => t.value = k),
2464
2472
  class: { "is-invalid": c.value }
2465
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), y(Qt, _({ key: 6 }, { ...a, ...h.$attrs }, {
2473
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), y(Qt, j({ key: 6 }, { ...a, ...x.$attrs }, {
2466
2474
  modelValue: t.value,
2467
2475
  "onUpdate:modelValue": r[7] || (r[7] = (k) => t.value = k),
2468
2476
  class: { "is-invalid": c.value }
2469
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), y(b, _({ key: 7 }, { ...a, ...h.$attrs }, {
2477
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), y(b, j({ key: 7 }, { ...a, ...x.$attrs }, {
2470
2478
  modelValue: t.value,
2471
2479
  "onUpdate:modelValue": r[8] || (r[8] = (k) => t.value = k),
2472
2480
  class: { "is-invalid": c.value }
@@ -2476,7 +2484,7 @@ const Nt = {
2476
2484
  J(m("small", {
2477
2485
  "data-cy": "error",
2478
2486
  class: "invalid-feedback"
2479
- }, F(u(o)), 513), [
2487
+ }, F(u(n)), 513), [
2480
2488
  [Z, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2481
2489
  ])
2482
2490
  ]));
@@ -2517,10 +2525,10 @@ const Nt = {
2517
2525
  ]
2518
2526
  }));
2519
2527
  return (i, l) => {
2520
- const n = Ae;
2521
- return d(), y(n, _({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2528
+ const o = Ae;
2529
+ return d(), y(o, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2522
2530
  default: f(() => [
2523
- (d(!0), v(A, null, E(i.$slots, (o, s) => B(i.$slots, s, { slot: s })), 256))
2531
+ (d(!0), v(A, null, E(i.$slots, (n, s) => B(i.$slots, s, { slot: s })), 256))
2524
2532
  ]),
2525
2533
  _: 3
2526
2534
  }, 16, ["pt"]);
@@ -2563,7 +2571,7 @@ const Nt = {
2563
2571
  default:
2564
2572
  return "bg-primary";
2565
2573
  }
2566
- }), n = T(() => ({
2574
+ }), o = T(() => ({
2567
2575
  root: {
2568
2576
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2569
2577
  },
@@ -2571,11 +2579,11 @@ const Nt = {
2571
2579
  class: [l.value, a.value, i.value, "progress-bar"]
2572
2580
  }
2573
2581
  }));
2574
- return (o, s) => {
2582
+ return (n, s) => {
2575
2583
  const p = Ee;
2576
- return d(), y(p, _({ ...o.$attrs, ...t }, { pt: n.value }), {
2584
+ return d(), y(p, j({ ...n.$attrs, ...t }, { pt: o.value }), {
2577
2585
  default: f(() => [
2578
- B(o.$slots, "default")
2586
+ B(n.$slots, "default")
2579
2587
  ]),
2580
2588
  _: 3
2581
2589
  }, 16, ["pt"]);
@@ -2893,15 +2901,15 @@ var ca = /* @__PURE__ */ C({
2893
2901
  e && this.save();
2894
2902
  });
2895
2903
  },
2896
- wrapText(e, t, a, i, l, n) {
2897
- const o = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
2898
- var p = t.split(o).filter((O) => O.length > 0);
2904
+ wrapText(e, t, a, i, l, o) {
2905
+ const n = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
2906
+ var p = t.split(n).filter((O) => O.length > 0);
2899
2907
  for (let O = 0; O < p.length; O++) {
2900
- for (var c = p[O].split(s).filter((U) => U.length > 0), h = "", r = 0; r < c.length; r++) {
2901
- var x = h + c[r] + " ", $ = e.measureText(x), D = $.width;
2902
- D > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), h = c[r] + " ", i += n) : h = x;
2908
+ for (var c = p[O].split(s).filter((U) => U.length > 0), x = "", r = 0; r < c.length; r++) {
2909
+ var h = x + c[r] + " ", $ = e.measureText(h), D = $.width;
2910
+ D > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), x = c[r] + " ", i += o) : x = h;
2903
2911
  }
2904
- this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), i += c.length > 0 ? n : 0;
2912
+ this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(x, a, i) : e.fillText(x, a, i), i += c.length > 0 ? o : 0;
2905
2913
  }
2906
2914
  },
2907
2915
  save() {
@@ -2918,23 +2926,23 @@ var ca = /* @__PURE__ */ C({
2918
2926
  drawWatermark(e, t, a) {
2919
2927
  if (a.type === "Image") {
2920
2928
  let i = a.imageStyle ? a.imageStyle.width ? a.imageStyle.width : Number(this.width) : Number(this.width), l = a.imageStyle ? a.imageStyle.height ? a.imageStyle.height : Number(this.height) : Number(this.height);
2921
- const n = new Image();
2922
- n.src = a.source, n.onload = () => {
2923
- a && t && t.drawImage(n, a.x, a.y, Number(i), Number(l));
2924
- let o = document.createElement("canvas"), s = o.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, c = this.outputHeight === void 0 ? this.height : this.outputHeight;
2925
- if (o.width = Number(p), o.height = Number(c), s)
2926
- return s.drawImage(e, 0, 0, Number(p), Number(c)), this.$emit("update:image", o.toDataURL("image/" + this.saveAs, 1)), o.toDataURL("image/" + this.saveAs, 1);
2929
+ const o = new Image();
2930
+ o.src = a.source, o.onload = () => {
2931
+ a && t && t.drawImage(o, a.x, a.y, Number(i), Number(l));
2932
+ let n = document.createElement("canvas"), s = n.getContext("2d"), p = this.outputWidth === void 0 ? this.width : this.outputWidth, c = this.outputHeight === void 0 ? this.height : this.outputHeight;
2933
+ if (n.width = Number(p), n.height = Number(c), s)
2934
+ return s.drawImage(e, 0, 0, Number(p), Number(c)), this.$emit("update:image", n.toDataURL("image/" + this.saveAs, 1)), n.toDataURL("image/" + this.saveAs, 1);
2927
2935
  };
2928
2936
  } else if (a.type === "Text") {
2929
- let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", n = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", o = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2930
- if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
2931
- let r, x;
2932
- a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? x = a.y + Math.floor(a.fontStyle.lineHeight / 2) : x = a.y, t.translate(r, x), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, x * -1);
2937
+ let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", o = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", n = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
2938
+ if (t.font = i, t.textAlign = l, t.textBaseline = o, a.fontStyle && a.fontStyle.rotate) {
2939
+ let r, h;
2940
+ a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? h = a.y + Math.floor(a.fontStyle.lineHeight / 2) : h = a.y, t.translate(r, h), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, h * -1);
2933
2941
  }
2934
- a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = o, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
2935
- let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, h = this.outputHeight === void 0 ? this.height : this.outputHeight;
2936
- if (s.width = Number(c), s.height = Number(h), p)
2937
- return p.drawImage(e, 0, 0, Number(c), Number(h)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2942
+ a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = n, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
2943
+ let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, x = this.outputHeight === void 0 ? this.height : this.outputHeight;
2944
+ if (s.width = Number(c), s.height = Number(x), p)
2945
+ return p.drawImage(e, 0, 0, Number(c), Number(x)), this.$emit("update:image", s.toDataURL("image/" + this.saveAs, 1)), s.toDataURL("image/" + this.saveAs, 1);
2938
2946
  }
2939
2947
  },
2940
2948
  isEmpty() {
@@ -2985,7 +2993,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
2985
2993
  },
2986
2994
  emits: ["save"],
2987
2995
  setup(e, { emit: t }) {
2988
- const a = e, i = t, l = ze("drawingCanvas"), n = j(), o = () => {
2996
+ const a = e, i = t, l = ze("drawingCanvas"), o = P(), n = () => {
2989
2997
  l == null || l.value.reset();
2990
2998
  }, s = () => {
2991
2999
  l == null || l.value.redo();
@@ -2994,24 +3002,24 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
2994
3002
  }, c = () => {
2995
3003
  i("save", l.value.isEmpty());
2996
3004
  };
2997
- return (h, r) => {
2998
- const x = q;
3005
+ return (x, r) => {
3006
+ const h = q;
2999
3007
  return d(), v("div", ua, [
3000
- w(u(ca), _({
3008
+ w(u(ca), j({
3001
3009
  ref_key: "drawingCanvas",
3002
3010
  ref: l,
3003
- image: n.value,
3004
- "onUpdate:image": r[0] || (r[0] = ($) => n.value = $),
3011
+ image: o.value,
3012
+ "onUpdate:image": r[0] || (r[0] = ($) => o.value = $),
3005
3013
  "data-cy": "drawing-canvas",
3006
3014
  class: "border canvas"
3007
- }, { ...h.$attrs }, {
3008
- height: h.height,
3009
- width: h.width,
3010
- style: `height: ${h.height}px; width: ${h.width}px`,
3011
- "line-join": h.lineJoin
3015
+ }, { ...x.$attrs }, {
3016
+ height: x.height,
3017
+ width: x.width,
3018
+ style: `height: ${x.height}px; width: ${x.width}px`,
3019
+ "line-join": x.lineJoin
3012
3020
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
3013
3021
  m("div", ma, [
3014
- a.showUndo ? (d(), y(x, {
3022
+ a.showUndo ? (d(), y(h, {
3015
3023
  key: 0,
3016
3024
  onClick: p,
3017
3025
  outlined: "",
@@ -3022,7 +3030,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3022
3030
  ])),
3023
3031
  _: 1
3024
3032
  })) : z("", !0),
3025
- a.showRedo ? (d(), y(x, {
3033
+ a.showRedo ? (d(), y(h, {
3026
3034
  key: 1,
3027
3035
  onClick: s,
3028
3036
  outlined: "",
@@ -3033,9 +3041,9 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3033
3041
  ])),
3034
3042
  _: 1
3035
3043
  })) : z("", !0),
3036
- a.showClear ? (d(), y(x, {
3044
+ a.showClear ? (d(), y(h, {
3037
3045
  key: 2,
3038
- onClick: o,
3046
+ onClick: n,
3039
3047
  outlined: "",
3040
3048
  "data-cy": "clear-button"
3041
3049
  }, {
@@ -3044,7 +3052,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3044
3052
  ])),
3045
3053
  _: 1
3046
3054
  })) : z("", !0),
3047
- a.showSave ? (d(), y(x, {
3055
+ a.showSave ? (d(), y(h, {
3048
3056
  key: 3,
3049
3057
  onClick: c,
3050
3058
  class: "ms-auto",
@@ -3067,7 +3075,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3067
3075
  },
3068
3076
  setup(e) {
3069
3077
  const t = e;
3070
- return (a, i) => (d(), v("div", _(a.$attrs, {
3078
+ return (a, i) => (d(), v("div", j(a.$attrs, {
3071
3079
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
3072
3080
  }), [
3073
3081
  m("span", va, [
@@ -3126,14 +3134,14 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3126
3134
  default: f(() => [
3127
3135
  w(u(Le), null, {
3128
3136
  default: f(() => [
3129
- (d(!0), v(A, null, E(i.steps, (n) => (d(), y(u(Ue), _({
3130
- key: n.value,
3131
- value: n.value,
3132
- disabled: n.disabled,
3137
+ (d(!0), v(A, null, E(i.steps, (o) => (d(), y(u(Ue), j({
3138
+ key: o.value,
3139
+ value: o.value,
3140
+ disabled: o.disabled,
3133
3141
  ref_for: !0
3134
3142
  }, { ...i.$attrs }, { pt: a.value }), {
3135
3143
  default: f(() => [
3136
- i.showStepLabel ? (d(), v("div", fa, F(n.label), 1)) : z("", !0)
3144
+ i.showStepLabel ? (d(), v("div", fa, F(o.label), 1)) : z("", !0)
3137
3145
  ]),
3138
3146
  _: 2
3139
3147
  }, 1040, ["value", "disabled", "pt"]))), 128))
@@ -3142,12 +3150,12 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3142
3150
  }),
3143
3151
  w(u(He), null, {
3144
3152
  default: f(() => [
3145
- (d(!0), v(A, null, E(i.steps, (n) => (d(), y(u(Re), {
3146
- key: n.value,
3147
- value: n.value
3153
+ (d(!0), v(A, null, E(i.steps, (o) => (d(), y(u(Re), {
3154
+ key: o.value,
3155
+ value: o.value
3148
3156
  }, {
3149
3157
  default: f(() => [
3150
- B(i.$slots, "step" + n.value)
3158
+ B(i.$slots, "step" + o.value)
3151
3159
  ]),
3152
3160
  _: 2
3153
3161
  }, 1032, ["value"]))), 128))
@@ -3168,9 +3176,9 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3168
3176
  },
3169
3177
  setup(e) {
3170
3178
  const t = e, a = T(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = T(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
3171
- return (l, n) => {
3172
- const o = q;
3173
- return t.clickable ? (d(), y(o, {
3179
+ return (l, o) => {
3180
+ const n = q;
3181
+ return t.clickable ? (d(), y(n, {
3174
3182
  key: 0,
3175
3183
  class: S(["d-flex w-100 p-0 text-body", a.value]),
3176
3184
  severity: t.severity,
@@ -3180,7 +3188,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3180
3188
  default: f(() => [
3181
3189
  m("div", ga, [
3182
3190
  B(l.$slots, "default", {}, () => [
3183
- n[0] || (n[0] = M("Tile Content"))
3191
+ o[0] || (o[0] = M("Tile Content"))
3184
3192
  ])
3185
3193
  ])
3186
3194
  ]),
@@ -3192,7 +3200,7 @@ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1
3192
3200
  }, [
3193
3201
  m("div", ba, [
3194
3202
  B(l.$slots, "default", {}, () => [
3195
- n[1] || (n[1] = M("Tile Content"))
3203
+ o[1] || (o[1] = M("Tile Content"))
3196
3204
  ])
3197
3205
  ])
3198
3206
  ], 2));
@@ -3205,10 +3213,10 @@ function ee(e, t) {
3205
3213
  const ya = {
3206
3214
  class: "d-flex justify-content-start align-items-baseline",
3207
3215
  "data-cy": "pagination-header"
3208
- }, ha = { class: "ms-2" }, xa = { key: 0 }, wa = {
3216
+ }, xa = { class: "ms-2" }, ha = { key: 0 }, wa = {
3209
3217
  class: "w-auto",
3210
3218
  "data-cy": "total"
3211
- }, xe = /* @__PURE__ */ C({
3219
+ }, he = /* @__PURE__ */ C({
3212
3220
  __name: "ForgePaginationHeader",
3213
3221
  props: {
3214
3222
  total: {},
@@ -3217,15 +3225,15 @@ const ya = {
3217
3225
  },
3218
3226
  emits: ["update:perPage"],
3219
3227
  setup(e, { emit: t }) {
3220
- const a = t, i = e, l = (o) => {
3221
- a("update:perPage", o.value);
3222
- }, n = T(() => {
3223
- const o = Math.ceil(i.total / i.perPage);
3224
- return `${o} ${ee(o, "page")}`;
3228
+ const a = t, i = e, l = (n) => {
3229
+ a("update:perPage", n.value);
3230
+ }, o = T(() => {
3231
+ const n = Math.ceil(i.total / i.perPage);
3232
+ return `${n} ${ee(n, "page")}`;
3225
3233
  });
3226
- return (o, s) => (d(), v("div", ya, [
3234
+ return (n, s) => (d(), v("div", ya, [
3227
3235
  s[2] || (s[2] = M(" Number of results per page ")),
3228
- m("div", ha, [
3236
+ m("div", xa, [
3229
3237
  w(u(ie), {
3230
3238
  options: i.pageSizes,
3231
3239
  "model-value": i.perPage,
@@ -3234,9 +3242,9 @@ const ya = {
3234
3242
  "data-cy": "pagination-page-size-select"
3235
3243
  }, null, 8, ["options", "model-value"])
3236
3244
  ]),
3237
- i.total ? (d(), v("div", xa, [
3245
+ i.total ? (d(), v("div", ha, [
3238
3246
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3239
- m("span", wa, F(i.total) + " " + F(u(ee)(i.total, "result")) + " across " + F(n.value), 1)
3247
+ m("span", wa, F(i.total) + " " + F(u(ee)(i.total, "result")) + " across " + F(o.value), 1)
3240
3248
  ])) : z("", !0)
3241
3249
  ]));
3242
3250
  }
@@ -3330,21 +3338,21 @@ const ya = {
3330
3338
  },
3331
3339
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3332
3340
  setup(e, { emit: t }) {
3333
- const a = t, i = e, l = j(), n = j([5, 10, 20, 50, 100]), o = j(i.perPage ?? 10), s = j({
3341
+ const a = t, i = e, l = P(), o = P([5, 10, 20, 50, 100]), n = P(i.perPage ?? 10), s = P({
3334
3342
  filters: i.filters,
3335
- perPage: o.value,
3343
+ perPage: n.value,
3336
3344
  page: 0,
3337
3345
  sortDirection: "None",
3338
3346
  sortField: "",
3339
3347
  total: i.totalRecords ?? i.value.length
3340
3348
  });
3341
3349
  Q(() => i.perPage, (b) => {
3342
- b && (o.value = b, s.value.perPage = b);
3350
+ b && (n.value = b, s.value.perPage = b);
3343
3351
  });
3344
3352
  const p = T(() => i.totalRecords ?? i.value.length), c = T(() => {
3345
- const b = Math.ceil(p.value / o.value);
3353
+ const b = Math.ceil(p.value / n.value);
3346
3354
  return `${b} ${ee(b, "page")}`;
3347
- }), h = T(() => ({
3355
+ }), x = T(() => ({
3348
3356
  thead: () => ({
3349
3357
  class: [
3350
3358
  {
@@ -3374,7 +3382,7 @@ const ya = {
3374
3382
  for (const b in i.filters)
3375
3383
  typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
3376
3384
  D(i.filters);
3377
- }, x = () => {
3385
+ }, h = () => {
3378
3386
  l.value.exportCSV();
3379
3387
  }, $ = (b) => {
3380
3388
  var k;
@@ -3384,19 +3392,19 @@ const ya = {
3384
3392
  }, O = (b) => {
3385
3393
  s.value.page = b.page, a("update:tableContext", s.value), a("page", b);
3386
3394
  }, U = () => {
3387
- s.value.perPage = o.value, a("update:tableContext", s.value);
3395
+ s.value.perPage = n.value, a("update:tableContext", s.value);
3388
3396
  };
3389
3397
  return Q(() => i.filters, (b) => {
3390
3398
  s.value.filters = b, a("update:tableContext", s.value);
3391
- }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (b, k) => (d(), v("div", ka, [
3399
+ }, { deep: !0 }), oe(() => a("update:tableContext", s.value)), (b, k) => (d(), v("div", ka, [
3392
3400
  m("span", $a, [
3393
3401
  B(b.$slots, "above-table")
3394
3402
  ]),
3395
- w(u(We), _({
3403
+ w(u(We), j({
3396
3404
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3397
3405
  }, { ...i, ...b.$attrs }, {
3398
- pt: h.value,
3399
- rows: o.value,
3406
+ pt: x.value,
3407
+ rows: n.value,
3400
3408
  "total-records": p.value,
3401
3409
  "filter-display": i.filters ? "row" : void 0,
3402
3410
  ref_key: "forgeTable",
@@ -3419,12 +3427,12 @@ const ya = {
3419
3427
  m("div", Sa, [
3420
3428
  m("div", Ca, [
3421
3429
  b.paginator && !b.legacyPaginationFooter ? (d(), v("span", za, [
3422
- w(xe, {
3430
+ w(he, {
3423
3431
  total: p.value,
3424
- "page-sizes": n.value,
3425
- "per-page": o.value,
3432
+ "page-sizes": o.value,
3433
+ "per-page": n.value,
3426
3434
  "onUpdate:perPage": [
3427
- k[0] || (k[0] = (I) => o.value = I),
3435
+ k[0] || (k[0] = (I) => n.value = I),
3428
3436
  U
3429
3437
  ]
3430
3438
  }, null, 8, ["total", "page-sizes", "per-page"])
@@ -3439,7 +3447,7 @@ const ya = {
3439
3447
  "data-cy": "clear-all"
3440
3448
  }, {
3441
3449
  default: f(() => [
3442
- w(u(P), {
3450
+ w(u(_), {
3443
3451
  icon: "bi:funnel-fill",
3444
3452
  width: "24",
3445
3453
  height: "24"
@@ -3451,11 +3459,11 @@ const ya = {
3451
3459
  b.showExporterButton ? (d(), y(u(q), {
3452
3460
  key: 1,
3453
3461
  outlined: "",
3454
- onClick: x,
3462
+ onClick: h,
3455
3463
  "data-cy": "exporter"
3456
3464
  }, {
3457
3465
  default: f(() => [
3458
- w(u(P), {
3466
+ w(u(_), {
3459
3467
  icon: "typcn:export",
3460
3468
  width: "24",
3461
3469
  height: "24"
@@ -3489,9 +3497,9 @@ const ya = {
3489
3497
  }, [
3490
3498
  k[4] || (k[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3491
3499
  w(u(ie), {
3492
- options: n.value,
3493
- modelValue: o.value,
3494
- "onUpdate:modelValue": k[1] || (k[1] = (I) => o.value = I),
3500
+ options: o.value,
3501
+ modelValue: n.value,
3502
+ "onUpdate:modelValue": k[1] || (k[1] = (I) => n.value = I),
3495
3503
  class: "ms-2",
3496
3504
  onClick: U
3497
3505
  }, null, 8, ["options", "modelValue"])
@@ -3512,7 +3520,7 @@ const ya = {
3512
3520
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3513
3521
  ]));
3514
3522
  }
3515
- }), _a = { class: "position-relative" }, Pa = { "data-cy": "above-table-slot" }, ja = { class: "d-flex w-100" }, Ia = {
3523
+ }), ja = { class: "position-relative" }, _a = { "data-cy": "above-table-slot" }, Pa = { class: "d-flex w-100" }, Ia = {
3516
3524
  class: "mx-auto",
3517
3525
  "data-cy": "empty-message"
3518
3526
  }, Ma = { class: "d-flex" }, Va = { class: "d-flex align-items-end mb-2" }, Da = { key: 0 }, Oa = { class: "ms-auto" }, yl = /* @__PURE__ */ C({
@@ -3576,15 +3584,15 @@ const ya = {
3576
3584
  },
3577
3585
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3578
3586
  setup(e, { emit: t }) {
3579
- const a = e, i = t, l = j([5, 10, 20, 50, 100]), n = j(10), o = j(0), s = j(0), p = j({
3587
+ const a = e, i = t, l = P([5, 10, 20, 50, 100]), o = P(10), n = P(0), s = P(0), p = P({
3580
3588
  filters: a.filters,
3581
- perPage: n.value,
3589
+ perPage: o.value,
3582
3590
  page: 0,
3583
3591
  sortDirection: "None",
3584
3592
  sortField: "",
3585
3593
  total: a.totalRecords ?? a.value.length
3586
- }), c = T(() => a.totalRecords ?? a.value.length), h = T(() => {
3587
- const g = Math.ceil(c.value / n.value);
3594
+ }), c = T(() => a.totalRecords ?? a.value.length), x = T(() => {
3595
+ const g = Math.ceil(c.value / o.value);
3588
3596
  return `${g} ${ee(g, "page")}`;
3589
3597
  }), r = T(() => ({
3590
3598
  root: "position-relative",
@@ -3622,9 +3630,9 @@ const ya = {
3622
3630
  ]
3623
3631
  }));
3624
3632
  Q(() => a.parentExpanderFullRow, (g) => {
3625
- g ? x() : $();
3633
+ g ? h() : $();
3626
3634
  });
3627
- const x = () => {
3635
+ const h = () => {
3628
3636
  a.parentExpanderFullRow && setTimeout(
3629
3637
  () => {
3630
3638
  const g = Array.from(
@@ -3665,44 +3673,44 @@ const ya = {
3665
3673
  U(a.filters);
3666
3674
  }, O = (g) => {
3667
3675
  var V;
3668
- p.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = g.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", g), x();
3676
+ p.value.sortDirection = g.sortOrder === 1 ? "Asc" : g.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = g.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", g), h();
3669
3677
  }, U = (g) => {
3670
- p.value.filters = g, i("update:tableContext", p.value), i("update:filters", g), x();
3678
+ p.value.filters = g, i("update:tableContext", p.value), i("update:filters", g), h();
3671
3679
  }, b = (g) => {
3672
- p.value.page = s.value = g.page, I(), i("update:tableContext", p.value), i("page", g), x();
3680
+ p.value.page = s.value = g.page, I(), i("update:tableContext", p.value), i("page", g), h();
3673
3681
  }, k = () => {
3674
- p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), I(), i("update:tableContext", p.value), x();
3682
+ p.value.perPage = o.value, s.value = 0, p.value.page = s.value = Math.floor(n.value / o.value), I(), i("update:tableContext", p.value), h();
3675
3683
  };
3676
3684
  Q(() => a.filters, (g) => {
3677
3685
  p.value.filters = g, i("update:tableContext", p.value);
3678
3686
  }, { deep: !0 }), Q(() => a.value, () => {
3679
- x();
3680
- }), ne(() => {
3681
- x(), i("update:tableContext", p.value);
3687
+ h();
3688
+ }), oe(() => {
3689
+ h(), i("update:tableContext", p.value);
3682
3690
  });
3683
3691
  const I = () => {
3684
- o.value = s.value * n.value;
3692
+ n.value = s.value * o.value;
3685
3693
  };
3686
- return (g, V) => (d(), v("div", _a, [
3687
- m("span", Pa, [
3694
+ return (g, V) => (d(), v("div", ja, [
3695
+ m("span", _a, [
3688
3696
  B(g.$slots, "above-table")
3689
3697
  ]),
3690
- w(u(Ge), _({
3698
+ w(u(Ge), j({
3691
3699
  class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
3692
3700
  }, { ...a, ...g.$attrs }, {
3693
3701
  pt: r.value,
3694
3702
  "filter-display": a.filters ? "row" : void 0,
3695
- rows: g.paginator ? n.value : void 0,
3703
+ rows: g.paginator ? o.value : void 0,
3696
3704
  "data-cy": "tree-table",
3697
3705
  "onUpdate:filters": U,
3698
3706
  onSort: O,
3699
3707
  onPage: b,
3700
- onNodeExpand: V[2] || (V[2] = () => x()),
3708
+ onNodeExpand: V[2] || (V[2] = () => h()),
3701
3709
  showHeaders: "",
3702
- first: o.value
3710
+ first: n.value
3703
3711
  }), ae({
3704
3712
  empty: f(() => [
3705
- m("div", ja, [
3713
+ m("div", Pa, [
3706
3714
  m("h5", Ia, F(g.emptyMessage ?? "No items Found."), 1)
3707
3715
  ])
3708
3716
  ]),
@@ -3713,12 +3721,12 @@ const ya = {
3713
3721
  m("div", Ma, [
3714
3722
  m("div", Va, [
3715
3723
  g.paginator && !g.legacyPaginationFooter ? (d(), v("span", Da, [
3716
- w(xe, {
3724
+ w(he, {
3717
3725
  total: c.value,
3718
3726
  "page-sizes": l.value,
3719
- "per-page": n.value,
3727
+ "per-page": o.value,
3720
3728
  "onUpdate:perPage": [
3721
- V[0] || (V[0] = (L) => n.value = L),
3729
+ V[0] || (V[0] = (L) => o.value = L),
3722
3730
  k
3723
3731
  ]
3724
3732
  }, null, 8, ["total", "page-sizes", "per-page"])
@@ -3732,7 +3740,7 @@ const ya = {
3732
3740
  "data-cy": "clear-all"
3733
3741
  }, {
3734
3742
  default: f(() => [
3735
- w(u(P), {
3743
+ w(u(_), {
3736
3744
  icon: "bi:funnel-fill",
3737
3745
  width: "24",
3738
3746
  height: "24"
@@ -3767,8 +3775,8 @@ const ya = {
3767
3775
  V[4] || (V[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3768
3776
  w(u(ie), {
3769
3777
  options: l.value,
3770
- modelValue: n.value,
3771
- "onUpdate:modelValue": V[1] || (V[1] = (L) => n.value = L),
3778
+ modelValue: o.value,
3779
+ "onUpdate:modelValue": V[1] || (V[1] = (L) => o.value = L),
3772
3780
  class: "ms-2",
3773
3781
  onClick: k
3774
3782
  }, null, 8, ["options", "modelValue"])
@@ -3782,14 +3790,14 @@ const ya = {
3782
3790
  m("span", {
3783
3791
  "data-cy": "legacy-total",
3784
3792
  class: S(a.loading ? "opacity-50" : "")
3785
- }, F(c.value) + " " + F(u(ee)(c.value, "result")) + " across " + F(h.value), 3)
3793
+ }, F(c.value) + " " + F(u(ee)(c.value, "result")) + " across " + F(x.value), 3)
3786
3794
  ]),
3787
3795
  key: "1"
3788
3796
  } : void 0
3789
3797
  ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3790
3798
  ]));
3791
3799
  }
3792
- }), Na = { class: "d-flex position-relative" }, Aa = { class: "d-flex w-100" }, hl = /* @__PURE__ */ C({
3800
+ }), Na = { class: "d-flex position-relative" }, Aa = { class: "d-flex w-100" }, xl = /* @__PURE__ */ C({
3793
3801
  __name: "ForgeFilterHeader",
3794
3802
  props: /* @__PURE__ */ R({
3795
3803
  dataType: {},
@@ -3804,39 +3812,39 @@ const ya = {
3804
3812
  }),
3805
3813
  emits: ["update:modelValue"],
3806
3814
  setup(e) {
3807
- const t = N(e, "modelValue"), a = (l, n) => {
3815
+ const t = N(e, "modelValue"), a = (l, o) => {
3808
3816
  if (!l || Array.isArray(l) && l.length === 0)
3809
- return n;
3810
- const o = (s) => {
3817
+ return o;
3818
+ const n = (s) => {
3811
3819
  var c;
3812
3820
  const p = (c = e.dropdownOptions) == null ? void 0 : c.find(
3813
- (h) => e.optionValue ? h[e.optionValue] === s : Object.keys(h).every((r) => s.hasOwnProperty(r) && h[r] === s[r])
3821
+ (x) => e.optionValue ? x[e.optionValue] === s : Object.keys(x).every((r) => s.hasOwnProperty(r) && x[r] === s[r])
3814
3822
  );
3815
3823
  return e.optionLabel ? p[e.optionLabel] : p;
3816
3824
  };
3817
- return Array.isArray(l) ? l.map(o).join(", ") : o(l);
3825
+ return Array.isArray(l) ? l.map(n).join(", ") : n(l);
3818
3826
  }, i = () => {
3819
3827
  e.clearFilter ? e.clearFilter() : t.value = null;
3820
3828
  };
3821
- return (l, n) => {
3822
- const o = fe, s = q;
3829
+ return (l, o) => {
3830
+ const n = fe, s = q;
3823
3831
  return d(), v("div", Na, [
3824
- l.dataType === "numeric" ? (d(), y(o, _({
3832
+ l.dataType === "numeric" ? (d(), y(n, j({
3825
3833
  key: 0,
3826
3834
  modelValue: t.value,
3827
- "onUpdate:modelValue": n[0] || (n[0] = (p) => t.value = p),
3835
+ "onUpdate:modelValue": o[0] || (o[0] = (p) => t.value = p),
3828
3836
  modelModifiers: { trim: !0 }
3829
- }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), y(he, _({
3837
+ }, l.$attrs), null, 16, ["modelValue"])) : l.dataType === "date" ? (d(), y(xe, j({
3830
3838
  key: 1,
3831
3839
  modelValue: t.value,
3832
- "onUpdate:modelValue": n[1] || (n[1] = (p) => t.value = p)
3840
+ "onUpdate:modelValue": o[1] || (o[1] = (p) => t.value = p)
3833
3841
  }, l.$attrs, {
3834
3842
  "show-icon": !1,
3835
3843
  "show-on-focus": !0
3836
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), y(u(ie), _({
3844
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), y(u(ie), j({
3837
3845
  key: 2,
3838
3846
  modelValue: t.value,
3839
- "onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
3847
+ "onUpdate:modelValue": o[2] || (o[2] = (p) => t.value = p)
3840
3848
  }, l.$attrs, {
3841
3849
  options: l.dropdownOptions,
3842
3850
  "option-value": l.optionValue,
@@ -3854,7 +3862,7 @@ const ya = {
3854
3862
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3855
3863
  }, {
3856
3864
  default: f(() => [
3857
- w(u(P), {
3865
+ w(u(_), {
3858
3866
  icon: "bi:x",
3859
3867
  width: "1rem",
3860
3868
  height: "1rem",
@@ -3866,20 +3874,20 @@ const ya = {
3866
3874
  ])
3867
3875
  ]),
3868
3876
  _: 1
3869
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), y(u(re), _({
3877
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : l.dataType === "multiselect" ? (d(), y(u(re), j({
3870
3878
  key: 3,
3871
3879
  modelValue: t.value,
3872
- "onUpdate:modelValue": n[3] || (n[3] = (p) => t.value = p)
3880
+ "onUpdate:modelValue": o[3] || (o[3] = (p) => t.value = p)
3873
3881
  }, l.$attrs, {
3874
3882
  options: l.dropdownOptions,
3875
3883
  showToggleAll: !1,
3876
3884
  "option-label": l.optionLabel,
3877
3885
  "option-value": l.optionValue,
3878
3886
  filter: ""
3879
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), y(u(se), _({
3887
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), y(u(se), j({
3880
3888
  key: 4,
3881
3889
  modelValue: t.value,
3882
- "onUpdate:modelValue": n[4] || (n[4] = (p) => t.value = p),
3890
+ "onUpdate:modelValue": o[4] || (o[4] = (p) => t.value = p),
3883
3891
  modelModifiers: { trim: !0 }
3884
3892
  }, l.$attrs), null, 16, ["modelValue"])),
3885
3893
  l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (d(), y(s, {
@@ -3889,7 +3897,7 @@ const ya = {
3889
3897
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3890
3898
  }, {
3891
3899
  default: f(() => [
3892
- w(u(P), {
3900
+ w(u(_), {
3893
3901
  icon: "bi:x",
3894
3902
  width: "1rem",
3895
3903
  height: "1rem",
@@ -3939,6 +3947,7 @@ const ya = {
3939
3947
  "application/vnd.aristanetworks.swi": ["swi"],
3940
3948
  "application/vnd.astraea-software.iota": ["iota"],
3941
3949
  "application/vnd.audiograph": ["aep"],
3950
+ "application/vnd.autodesk.fbx": ["fbx"],
3942
3951
  "application/vnd.balsamiq.bmml+xml": ["bmml"],
3943
3952
  "application/vnd.blueice.multipass": ["mpm"],
3944
3953
  "application/vnd.bmi": ["bmi"],
@@ -3968,6 +3977,7 @@ const ya = {
3968
3977
  "application/vnd.dart": ["dart"],
3969
3978
  "application/vnd.data-vision.rdz": ["rdz"],
3970
3979
  "application/vnd.dbf": ["dbf"],
3980
+ "application/vnd.dcmp+xml": ["dcmp"],
3971
3981
  "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
3972
3982
  "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
3973
3983
  "application/vnd.dece.unspecified": ["uvx", "uvvx"],
@@ -4019,7 +4029,13 @@ const ya = {
4019
4029
  "application/vnd.geospace": ["g3w"],
4020
4030
  "application/vnd.gmx": ["gmx"],
4021
4031
  "application/vnd.google-apps.document": ["gdoc"],
4032
+ "application/vnd.google-apps.drawing": ["gdraw"],
4033
+ "application/vnd.google-apps.form": ["gform"],
4034
+ "application/vnd.google-apps.jam": ["gjam"],
4035
+ "application/vnd.google-apps.map": ["gmap"],
4022
4036
  "application/vnd.google-apps.presentation": ["gslides"],
4037
+ "application/vnd.google-apps.script": ["gscript"],
4038
+ "application/vnd.google-apps.site": ["gsite"],
4023
4039
  "application/vnd.google-apps.spreadsheet": ["gsheet"],
4024
4040
  "application/vnd.google-earth.kml+xml": ["kml"],
4025
4041
  "application/vnd.google-earth.kmz": ["kmz"],
@@ -4130,6 +4146,7 @@ const ya = {
4130
4146
  "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
4131
4147
  "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
4132
4148
  "application/vnd.ms-project": ["*mpp", "mpt"],
4149
+ "application/vnd.ms-visio.viewer": ["vdx"],
4133
4150
  "application/vnd.ms-word.document.macroenabled.12": ["docm"],
4134
4151
  "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
4135
4152
  "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
@@ -4209,6 +4226,9 @@ const ya = {
4209
4226
  "application/vnd.pocketlearn": ["plf"],
4210
4227
  "application/vnd.powerbuilder6": ["pbd"],
4211
4228
  "application/vnd.previewsystems.box": ["box"],
4229
+ "application/vnd.procrate.brushset": ["brushset"],
4230
+ "application/vnd.procreate.brush": ["brush"],
4231
+ "application/vnd.procreate.dream": ["drm"],
4212
4232
  "application/vnd.proteus.magazine": ["mgz"],
4213
4233
  "application/vnd.publishare-delta-tree": ["qps"],
4214
4234
  "application/vnd.pvi.ptid1": ["ptid"],
@@ -4284,7 +4304,7 @@ const ya = {
4284
4304
  "application/vnd.unity": ["unityweb"],
4285
4305
  "application/vnd.uoml+xml": ["uoml", "uo"],
4286
4306
  "application/vnd.vcx": ["vcx"],
4287
- "application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
4307
+ "application/vnd.visio": ["vsd", "vst", "vss", "vsw", "vsdx", "vtx"],
4288
4308
  "application/vnd.visionary": ["vis"],
4289
4309
  "application/vnd.vsf": ["vsf"],
4290
4310
  "application/vnd.wap.wbxml": ["wbxml"],
@@ -4318,6 +4338,7 @@ const ya = {
4318
4338
  "application/x-bcpio": ["bcpio"],
4319
4339
  "application/x-bdoc": ["*bdoc"],
4320
4340
  "application/x-bittorrent": ["torrent"],
4341
+ "application/x-blender": ["blend"],
4321
4342
  "application/x-blorb": ["blb", "blorb"],
4322
4343
  "application/x-bzip": ["bz"],
4323
4344
  "application/x-bzip2": ["bz2", "boz"],
@@ -4328,6 +4349,7 @@ const ya = {
4328
4349
  "application/x-chess-pgn": ["pgn"],
4329
4350
  "application/x-chrome-extension": ["crx"],
4330
4351
  "application/x-cocoa": ["cco"],
4352
+ "application/x-compressed": ["*rar"],
4331
4353
  "application/x-conference": ["nsc"],
4332
4354
  "application/x-cpio": ["cpio"],
4333
4355
  "application/x-csh": ["csh"],
@@ -4367,6 +4389,7 @@ const ya = {
4367
4389
  "application/x-hdf": ["hdf"],
4368
4390
  "application/x-httpd-php": ["php"],
4369
4391
  "application/x-install-instructions": ["install"],
4392
+ "application/x-ipynb+json": ["ipynb"],
4370
4393
  "application/x-iso9660-image": ["*iso"],
4371
4394
  "application/x-iwork-keynote-sffkey": ["*key"],
4372
4395
  "application/x-iwork-numbers-sffnumbers": ["*numbers"],
@@ -4444,6 +4467,7 @@ const ya = {
4444
4467
  "application/x-xliff+xml": ["*xlf"],
4445
4468
  "application/x-xpinstall": ["xpi"],
4446
4469
  "application/x-xz": ["xz"],
4470
+ "application/x-zip-compressed": ["*zip"],
4447
4471
  "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
4448
4472
  "audio/vnd.dece.audio": ["uva", "uvva"],
4449
4473
  "audio/vnd.digital-winds": ["eol"],
@@ -4501,6 +4525,7 @@ const ya = {
4501
4525
  "image/vnd.xiff": ["xif"],
4502
4526
  "image/vnd.zbrush.pcx": ["pcx"],
4503
4527
  "image/x-3ds": ["3ds"],
4528
+ "image/x-adobe-dng": ["dng"],
4504
4529
  "image/x-cmu-raster": ["ras"],
4505
4530
  "image/x-cmx": ["cmx"],
4506
4531
  "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
@@ -4631,6 +4656,7 @@ const ue = {
4631
4656
  "application/dash+xml": ["mpd"],
4632
4657
  "application/dash-patch+xml": ["mpp"],
4633
4658
  "application/davmount+xml": ["davmount"],
4659
+ "application/dicom": ["dcm"],
4634
4660
  "application/docbook+xml": ["dbk"],
4635
4661
  "application/dssc+der": ["dssc"],
4636
4662
  "application/dssc+xml": ["xdssc"],
@@ -4717,7 +4743,14 @@ const ue = {
4717
4743
  "application/oebps-package+xml": ["opf"],
4718
4744
  "application/ogg": ["ogx"],
4719
4745
  "application/omdoc+xml": ["omdoc"],
4720
- "application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
4746
+ "application/onenote": [
4747
+ "onetoc",
4748
+ "onetoc2",
4749
+ "onetmp",
4750
+ "onepkg",
4751
+ "one",
4752
+ "onea"
4753
+ ],
4721
4754
  "application/oxps": ["oxps"],
4722
4755
  "application/p2p-overlay+xml": ["relo"],
4723
4756
  "application/patch-ops-error+xml": ["xer"],
@@ -4813,6 +4846,7 @@ const ue = {
4813
4846
  "application/yang": ["yang"],
4814
4847
  "application/yin+xml": ["yin"],
4815
4848
  "application/zip": ["zip"],
4849
+ "application/zip+dotlottie": ["lottie"],
4816
4850
  "audio/3gpp": ["*3gpp"],
4817
4851
  "audio/aac": ["adts", "aac"],
4818
4852
  "audio/adpcm": ["adp"],
@@ -4821,7 +4855,7 @@ const ue = {
4821
4855
  "audio/midi": ["mid", "midi", "kar", "rmi"],
4822
4856
  "audio/mobile-xmf": ["mxmf"],
4823
4857
  "audio/mp3": ["*mp3"],
4824
- "audio/mp4": ["m4a", "mp4a"],
4858
+ "audio/mp4": ["m4a", "mp4a", "m4b"],
4825
4859
  "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
4826
4860
  "audio/ogg": ["oga", "ogg", "spx", "opus"],
4827
4861
  "audio/s3m": ["s3m"],
@@ -4853,11 +4887,12 @@ const ue = {
4853
4887
  "image/heif": ["heif"],
4854
4888
  "image/heif-sequence": ["heifs"],
4855
4889
  "image/hej2k": ["hej2"],
4856
- "image/hsj2": ["hsj2"],
4857
4890
  "image/ief": ["ief"],
4891
+ "image/jaii": ["jaii"],
4892
+ "image/jais": ["jais"],
4858
4893
  "image/jls": ["jls"],
4859
4894
  "image/jp2": ["jp2", "jpg2"],
4860
- "image/jpeg": ["jpeg", "jpg", "jpe"],
4895
+ "image/jpeg": ["jpg", "jpeg", "jpe"],
4861
4896
  "image/jph": ["jph"],
4862
4897
  "image/jphc": ["jhc"],
4863
4898
  "image/jpm": ["jpm", "jpgm"],
@@ -4872,6 +4907,7 @@ const ue = {
4872
4907
  "image/jxss": ["jxss"],
4873
4908
  "image/ktx": ["ktx"],
4874
4909
  "image/ktx2": ["ktx2"],
4910
+ "image/pjpeg": ["jfif"],
4875
4911
  "image/png": ["png"],
4876
4912
  "image/sgi": ["sgi"],
4877
4913
  "image/svg+xml": ["svg", "svgz"],
@@ -4885,7 +4921,7 @@ const ue = {
4885
4921
  "message/global-delivery-status": ["u8dsn"],
4886
4922
  "message/global-disposition-notification": ["u8mdn"],
4887
4923
  "message/global-headers": ["u8hdr"],
4888
- "message/rfc822": ["eml", "mime"],
4924
+ "message/rfc822": ["eml", "mime", "mht", "mhtml"],
4889
4925
  "model/3mf": ["3mf"],
4890
4926
  "model/gltf+json": ["gltf"],
4891
4927
  "model/gltf-binary": ["glb"],
@@ -4895,6 +4931,7 @@ const ue = {
4895
4931
  "model/mtl": ["mtl"],
4896
4932
  "model/obj": ["obj"],
4897
4933
  "model/prc": ["prc"],
4934
+ "model/step": ["step", "stp", "stpnc", "p21", "210"],
4898
4935
  "model/step+xml": ["stpx"],
4899
4936
  "model/step+zip": ["stpz"],
4900
4937
  "model/step-xml+zip": ["stpxz"],
@@ -4968,11 +5005,11 @@ class we {
4968
5005
  define(t, a = !1) {
4969
5006
  for (let [i, l] of Object.entries(t)) {
4970
5007
  i = i.toLowerCase(), l = l.map((s) => s.toLowerCase()), H(this, Y, "f").has(i) || H(this, Y, "f").set(i, /* @__PURE__ */ new Set());
4971
- const n = H(this, Y, "f").get(i);
4972
- let o = !0;
5008
+ const o = H(this, Y, "f").get(i);
5009
+ let n = !0;
4973
5010
  for (let s of l) {
4974
5011
  const p = s.startsWith("*");
4975
- if (s = p ? s.slice(1) : s, n == null || n.add(s), o && H(this, te, "f").set(i, s), o = !1, p)
5012
+ if (s = p ? s.slice(1) : s, o == null || o.add(s), n && H(this, te, "f").set(i, s), n = !1, p)
4976
5013
  continue;
4977
5014
  const c = H(this, K, "f").get(s);
4978
5015
  if (c && c != i && !a)
@@ -4985,7 +5022,7 @@ class we {
4985
5022
  getType(t) {
4986
5023
  if (typeof t != "string")
4987
5024
  return null;
4988
- const a = t.replace(/^.*[/\\]/, "").toLowerCase(), i = a.replace(/^.*\./, "").toLowerCase(), l = a.length < t.length;
5025
+ const a = t.replace(/^.*[/\\]/s, "").toLowerCase(), i = a.replace(/^.*\./s, "").toLowerCase(), l = a.length < t.length;
4989
5026
  return !(i.length < a.length - 1) && l ? null : H(this, K, "f").get(i) ?? null;
4990
5027
  }
4991
5028
  getExtension(t) {
@@ -5013,15 +5050,15 @@ class we {
5013
5050
  K = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
5014
5051
  const Ea = new we(ue, ce)._freeze();
5015
5052
  function ke(e, t, a, i) {
5016
- const l = t.flatMap((n) => n.file);
5017
- return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
5018
- const o = l.findIndex((p) => p.name === n.name);
5053
+ const l = t.flatMap((o) => o.file);
5054
+ return t = t.map((o) => ({ ...o, status: o.status == "Duplicate" ? "Not Uploaded" : o.status })), e.forEach((o) => {
5055
+ const n = l.findIndex((p) => p.name === o.name);
5019
5056
  let s = "Not Uploaded";
5020
- o === -1 ? ((!a.includes(n.type) || !(n.size <= i)) && (s = a.includes(n.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
5021
- file: n,
5057
+ n === -1 ? ((!a.includes(o.type) || !(o.size <= i)) && (s = a.includes(o.type) ? "InvalidFileSize" : "InvalidFileType"), t.unshift({
5058
+ file: o,
5022
5059
  status: s,
5023
5060
  blobFileName: null
5024
- })) : t[o].status = "Duplicate";
5061
+ })) : t[n].status = "Duplicate";
5025
5062
  }), t;
5026
5063
  }
5027
5064
  async function Ua(e, t) {
@@ -5040,12 +5077,12 @@ function me(e, t = !0, a = 1) {
5040
5077
  if (Math.abs(e) < i)
5041
5078
  return e + " B";
5042
5079
  const l = t ? ["kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"] : ["KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
5043
- let n = -1;
5044
- const o = 10 ** a;
5080
+ let o = -1;
5081
+ const n = 10 ** a;
5045
5082
  do
5046
- e /= i, ++n;
5047
- while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
5048
- return e.toFixed(a) + " " + l[n];
5083
+ e /= i, ++o;
5084
+ while (Math.round(Math.abs(e) * n) / n >= i && o < l.length - 1);
5085
+ return e.toFixed(a) + " " + l[o];
5049
5086
  }
5050
5087
  function qa(e) {
5051
5088
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
@@ -5072,30 +5109,30 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5072
5109
  }),
5073
5110
  emits: ["update:modelValue"],
5074
5111
  setup(e) {
5075
- const t = N(e, "modelValue"), a = j(), i = (o) => a.value.toggle(o), l = T(() => e.maxFileInput <= t.value.length), n = (o) => {
5076
- t.value = ke(o, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
5112
+ const t = N(e, "modelValue"), a = P(), i = (n) => a.value.toggle(n), l = T(() => e.maxFileInput <= t.value.length), o = (n) => {
5113
+ t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileInput);
5077
5114
  };
5078
- return (o, s) => {
5115
+ return (n, s) => {
5079
5116
  const p = q;
5080
5117
  return d(), v("div", Ha, [
5081
- B(o.$slots, "message"),
5118
+ B(n.$slots, "message"),
5082
5119
  m("div", null, [
5083
5120
  m("input", {
5084
5121
  id: "file-input",
5085
5122
  type: "file",
5086
5123
  class: "d-none",
5087
- accept: o.acceptedFileTypes.join(", "),
5124
+ accept: n.acceptedFileTypes.join(", "),
5088
5125
  disabled: l.value,
5089
- multiple: o.maxFileInput > 1,
5090
- onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
5126
+ multiple: n.maxFileInput > 1,
5127
+ onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
5091
5128
  }, null, 40, Wa),
5092
5129
  m("label", {
5093
5130
  class: S([{ disabled: l.value }, "btn btn-primary"]),
5094
5131
  id: "file-input-button",
5095
5132
  for: "file-input"
5096
5133
  }, [
5097
- B(o.$slots, "button-content", {}, () => [
5098
- w(u(P), {
5134
+ B(n.$slots, "button-content", {}, () => [
5135
+ w(u(_), {
5099
5136
  icon: "bi:upload",
5100
5137
  class: "me-2",
5101
5138
  height: "20px",
@@ -5105,10 +5142,10 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5105
5142
  ])
5106
5143
  ], 2)
5107
5144
  ]),
5108
- o.showDragDropArea ? (d(), y(p, {
5145
+ n.showDragDropArea ? (d(), y(p, {
5109
5146
  link: "",
5110
5147
  class: "ms-auto",
5111
- key: o.acceptedFileTypes.length,
5148
+ key: n.acceptedFileTypes.length,
5112
5149
  id: "accepted-file-types",
5113
5150
  onClick: i
5114
5151
  }, {
@@ -5122,7 +5159,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5122
5159
  ref: a
5123
5160
  }, {
5124
5161
  default: f(() => [
5125
- m("div", Ga, F(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5162
+ m("div", Ga, F(n.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5126
5163
  ]),
5127
5164
  _: 1
5128
5165
  }, 512)
@@ -5148,26 +5185,26 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5148
5185
  }),
5149
5186
  emits: ["update:modelValue"],
5150
5187
  setup(e) {
5151
- const t = N(e, "modelValue"), a = j(!1), i = T(() => e.maxFileInput <= t.value.length), l = (n) => {
5152
- a.value = !1, n.dataTransfer.files.length > e.maxFileInput || i.value ? n.preventDefault() : t.value = ke([...n.dataTransfer.files], t.value, e.acceptedFileTypes.map((o) => o.fileType), e.maxFileSize);
5188
+ const t = N(e, "modelValue"), a = P(!1), i = T(() => e.maxFileInput <= t.value.length), l = (o) => {
5189
+ a.value = !1, o.dataTransfer.files.length > e.maxFileInput || i.value ? o.preventDefault() : t.value = ke([...o.dataTransfer.files], t.value, e.acceptedFileTypes.map((n) => n.fileType), e.maxFileSize);
5153
5190
  };
5154
- return (n, o) => (d(), v("div", {
5191
+ return (o, n) => (d(), v("div", {
5155
5192
  id: "drag-drop-area",
5156
5193
  class: S(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
5157
- onDragleave: o[0] || (o[0] = X((s) => a.value = !1, ["prevent"])),
5158
- onDragover: o[1] || (o[1] = X((s) => a.value = !0, ["prevent"])),
5194
+ onDragleave: n[0] || (n[0] = X((s) => a.value = !1, ["prevent"])),
5195
+ onDragover: n[1] || (n[1] = X((s) => a.value = !0, ["prevent"])),
5159
5196
  onDrop: X(l, ["prevent"])
5160
5197
  }, [
5161
5198
  t.value.length === 0 ? (d(), v("div", Ja, [
5162
- w(u(P), {
5199
+ w(u(_), {
5163
5200
  icon: "bi:upload",
5164
5201
  class: "me-2",
5165
5202
  height: "20px",
5166
5203
  width: "20px"
5167
5204
  }),
5168
- o[2] || (o[2] = M(" Drag and drop files here "))
5205
+ n[2] || (n[2] = M(" Drag and drop files here "))
5169
5206
  ])) : (d(), v("div", Ka, [
5170
- B(n.$slots, "default")
5207
+ B(o.$slots, "default")
5171
5208
  ]))
5172
5209
  ], 34));
5173
5210
  }
@@ -5196,10 +5233,10 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5196
5233
  return "Upload Failed: Connection error, please try again.";
5197
5234
  }
5198
5235
  });
5199
- return (l, n) => {
5200
- const o = pe;
5236
+ return (l, o) => {
5237
+ const n = pe;
5201
5238
  return d(), v("div", Xa, [
5202
- t.uploadStatus === "Uploading" ? (d(), y(o, {
5239
+ t.uploadStatus === "Uploading" ? (d(), y(n, {
5203
5240
  key: 0,
5204
5241
  "in-line": ""
5205
5242
  })) : z("", !0),
@@ -5226,7 +5263,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5226
5263
  }, li = {
5227
5264
  class: "text-black-50",
5228
5265
  id: "file-size"
5229
- }, ni = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, oi = /* @__PURE__ */ C({
5266
+ }, oi = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ni = /* @__PURE__ */ C({
5230
5267
  __name: "FileInfo",
5231
5268
  props: /* @__PURE__ */ R({
5232
5269
  editableFileName: { type: Boolean },
@@ -5245,14 +5282,14 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5245
5282
  }),
5246
5283
  emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5247
5284
  setup(e, { emit: t }) {
5248
- const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = j(a.value.name), s = j(""), p = j(0), c = j(), h = T(() => e.acceptedFileTypes.some(({ fileType: b }) => b === a.value.type)), r = T(() => a.value.size <= e.maxFileSize), x = T(() => a.value.type ? a.value.type : Ra().getType(a.value.name)), $ = () => {
5249
- o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5285
+ const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), o = t, n = P(a.value.name), s = P(""), p = P(0), c = P(), x = T(() => e.acceptedFileTypes.some(({ fileType: b }) => b === a.value.type)), r = T(() => a.value.size <= e.maxFileSize), h = T(() => a.value.type ? a.value.type : Ra().getType(a.value.name)), $ = () => {
5286
+ n.value != null && (D(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5250
5287
  }, D = () => {
5251
- let b = o.value.split("."), k = Ea.getExtension(x.value), I = o.value.split(".").pop();
5252
- b.length === 1 ? I && I.length > 0 && (o.value = [o.value, k].join(".")) : b.length > 1 && I !== k && (o.value = o.value.replace(I, k));
5288
+ let b = n.value.split("."), k = Ea.getExtension(h.value), I = n.value.split(".").pop();
5289
+ b.length === 1 ? I && I.length > 0 && (n.value = [n.value, k].join(".")) : b.length > 1 && I !== k && (n.value = n.value.replace(I, k));
5253
5290
  }, O = async () => {
5254
- if (!h.value || !r.value) {
5255
- l.value = h.value ? "InvalidFileSize" : "InvalidFileType";
5291
+ if (!x.value || !r.value) {
5292
+ l.value = x.value ? "InvalidFileSize" : "InvalidFileType";
5256
5293
  return;
5257
5294
  }
5258
5295
  l.value = "Preparing", c.value = new AbortController();
@@ -5267,7 +5304,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5267
5304
  abortSignal: c.value.signal,
5268
5305
  onProgress: (V) => p.value = V.loadedBytes,
5269
5306
  blobHTTPHeaders: {
5270
- blobContentType: x.value,
5307
+ blobContentType: h.value,
5271
5308
  blobContentDisposition: `attachment; filename="${a.value.name}"`
5272
5309
  },
5273
5310
  tags: { temp: "true" }
@@ -5281,9 +5318,9 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5281
5318
  l.value = "Failed";
5282
5319
  }
5283
5320
  }, U = async () => {
5284
- await Ua(l.value, s.value), n("deleted", a.value);
5321
+ await Ua(l.value, s.value), o("deleted", a.value);
5285
5322
  };
5286
- return ne(() => {
5323
+ return oe(() => {
5287
5324
  e.autoUploadToBlob && l.value != "Uploaded" && O();
5288
5325
  }), (b, k) => {
5289
5326
  const I = q;
@@ -5300,7 +5337,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5300
5337
  alt: a.value.name,
5301
5338
  width: "75px",
5302
5339
  preview: ""
5303
- }, null, 8, ["src", "alt"])) : (d(), y(u(P), {
5340
+ }, null, 8, ["src", "alt"])) : (d(), y(u(_), {
5304
5341
  key: 1,
5305
5342
  id: "file-earmark",
5306
5343
  icon: "bi:file-earmark",
@@ -5313,17 +5350,17 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5313
5350
  b.editableFileName ? (d(), y(Gt, {
5314
5351
  key: 0,
5315
5352
  id: "edit-file-name",
5316
- modelValue: o.value,
5317
- "onUpdate:modelValue": k[0] || (k[0] = (g) => o.value = g),
5353
+ modelValue: n.value,
5354
+ "onUpdate:modelValue": k[0] || (k[0] = (g) => n.value = g),
5318
5355
  rules: b.customFileNameRules,
5319
5356
  name: a.value.name,
5320
5357
  "complete-action": $
5321
- }, null, 8, ["modelValue", "rules", "name"])) : (d(), v("span", ai, F(o.value), 1))
5358
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), v("span", ai, F(n.value), 1))
5322
5359
  ]),
5323
5360
  m("span", ii, "File type: " + F(a.value.type.split("/").pop()), 1),
5324
5361
  m("span", li, "File size: " + F(u(me)(a.value.size)), 1)
5325
5362
  ]),
5326
- m("div", ni, [
5363
+ m("div", oi, [
5327
5364
  (d(), y(Qa, {
5328
5365
  key: l.value,
5329
5366
  "file-size": a.value.size,
@@ -5337,7 +5374,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5337
5374
  onClick: O
5338
5375
  }, {
5339
5376
  default: f(() => [
5340
- w(u(P), {
5377
+ w(u(_), {
5341
5378
  icon: l.value === "Not Uploaded" || l.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
5342
5379
  }, null, 8, ["icon"])
5343
5380
  ]),
@@ -5349,7 +5386,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5349
5386
  onClick: k[1] || (k[1] = (g) => c.value.abort())
5350
5387
  }, {
5351
5388
  default: f(() => [
5352
- w(u(P), { icon: "bi:x-circle-fill" })
5389
+ w(u(_), { icon: "bi:x-circle-fill" })
5353
5390
  ]),
5354
5391
  _: 1
5355
5392
  })) : (d(), y(I, {
@@ -5359,7 +5396,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5359
5396
  id: "delete-button"
5360
5397
  }, {
5361
5398
  default: f(() => [
5362
- w(u(P), { icon: "bi:trash" })
5399
+ w(u(_), { icon: "bi:trash" })
5363
5400
  ]),
5364
5401
  _: 1
5365
5402
  }))
@@ -5379,7 +5416,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5379
5416
  m("div", di, "| Max file count: " + F(t.maxFileInput), 1)
5380
5417
  ]));
5381
5418
  }
5382
- }), ci = { "data-cy": "file-uploader" }, ui = { key: 0 }, xl = /* @__PURE__ */ C({
5419
+ }), ci = { "data-cy": "file-uploader" }, ui = { key: 0 }, hl = /* @__PURE__ */ C({
5383
5420
  __name: "ForgeFileUploader",
5384
5421
  props: /* @__PURE__ */ R({
5385
5422
  acceptedFileTypes: {},
@@ -5397,12 +5434,12 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5397
5434
  emits: ["update:modelValue"],
5398
5435
  setup(e) {
5399
5436
  const t = N(e, "modelValue"), a = e, i = (l) => {
5400
- t.value = t.value.filter((n) => n.file != l);
5437
+ t.value = t.value.filter((o) => o.file != l);
5401
5438
  };
5402
- return (l, n) => (d(), v("div", ci, [
5403
- w(Ya, _(a, {
5439
+ return (l, o) => (d(), v("div", ci, [
5440
+ w(Ya, j(a, {
5404
5441
  modelValue: t.value,
5405
- "onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
5442
+ "onUpdate:modelValue": o[0] || (o[0] = (n) => t.value = n)
5406
5443
  }), null, 16, ["modelValue"]),
5407
5444
  l.showDragDropArea ? (d(), v("div", ui, [
5408
5445
  w(Za, {
@@ -5410,12 +5447,12 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5410
5447
  "max-file-size": a.maxFileSize,
5411
5448
  "accepted-file-types": a.acceptedFileTypes,
5412
5449
  modelValue: t.value,
5413
- "onUpdate:modelValue": n[1] || (n[1] = (o) => t.value = o)
5450
+ "onUpdate:modelValue": o[1] || (o[1] = (n) => t.value = n)
5414
5451
  }, {
5415
5452
  default: f(() => [
5416
- (d(!0), v(A, null, E(t.value, ({ file: o }, s) => (d(), v("div", null, [
5417
- (d(), y(oi, _({
5418
- key: o.name,
5453
+ (d(!0), v(A, null, E(t.value, ({ file: n }, s) => (d(), v("div", null, [
5454
+ (d(), y(ni, j({
5455
+ key: n.name,
5419
5456
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5420
5457
  file: t.value[s].file,
5421
5458
  "onUpdate:file": (p) => t.value[s].file = p,
@@ -5444,10 +5481,10 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5444
5481
  },
5445
5482
  emits: ["update:modelValue"],
5446
5483
  setup(e) {
5447
- const t = N(e, "modelValue"), a = j(), i = j(!1), l = (n) => {
5448
- a.value.toggle(n);
5484
+ const t = N(e, "modelValue"), a = P(), i = P(!1), l = (o) => {
5485
+ a.value.toggle(o);
5449
5486
  };
5450
- return (n, o) => (d(), v(A, null, [
5487
+ return (o, n) => (d(), v(A, null, [
5451
5488
  w(u(q), {
5452
5489
  onClick: l,
5453
5490
  class: "ms-2"
@@ -5455,11 +5492,11 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5455
5492
  default: f(() => [
5456
5493
  m("div", mi, [
5457
5494
  m("div", vi, [
5458
- w(u(P), { icon: "bi:layout-three-columns" })
5495
+ w(u(_), { icon: "bi:layout-three-columns" })
5459
5496
  ]),
5460
5497
  M(" Columns (" + F(t.value.filter((s) => s.selected).length ?? 0) + "/" + F(t.value.length ?? 0) + ") ", 1),
5461
5498
  m("div", fi, [
5462
- w(u(P), {
5499
+ w(u(_), {
5463
5500
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5464
5501
  }, null, 8, ["icon"])
5465
5502
  ])
@@ -5471,8 +5508,8 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5471
5508
  ref_key: "columnCustomiserPanel",
5472
5509
  ref: a,
5473
5510
  class: "column-customiser",
5474
- onHide: o[0] || (o[0] = () => i.value = !1),
5475
- onShow: o[1] || (o[1] = () => i.value = !0)
5511
+ onHide: n[0] || (n[0] = () => i.value = !1),
5512
+ onShow: n[1] || (n[1] = () => i.value = !0)
5476
5513
  }, {
5477
5514
  default: f(() => [
5478
5515
  m("div", gi, [
@@ -5506,12 +5543,12 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5506
5543
  const i = Je;
5507
5544
  return d(), y(i, W(G({ ...t.$attrs })), ae({
5508
5545
  toggleicon: f(({ collapsed: l }) => [
5509
- l ? (d(), y(u(P), {
5546
+ l ? (d(), y(u(_), {
5510
5547
  key: 0,
5511
5548
  "data-cy": "message-icon",
5512
5549
  icon: "bi:chevron-down"
5513
5550
  })) : z("", !0),
5514
- l ? z("", !0) : (d(), y(u(P), {
5551
+ l ? z("", !0) : (d(), y(u(_), {
5515
5552
  key: 1,
5516
5553
  "data-cy": "message-icon",
5517
5554
  icon: "bi:chevron-up"
@@ -5519,10 +5556,10 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5519
5556
  ]),
5520
5557
  _: 2
5521
5558
  }, [
5522
- E(t.$slots, (l, n) => ({
5523
- name: n,
5524
- fn: f((o) => [
5525
- B(t.$slots, n, W(G(o)))
5559
+ E(t.$slots, (l, o) => ({
5560
+ name: o,
5561
+ fn: f((n) => [
5562
+ B(t.$slots, o, W(G(n)))
5526
5563
  ])
5527
5564
  }))
5528
5565
  ]), 1040);
@@ -5555,7 +5592,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5555
5592
  ]
5556
5593
  })
5557
5594
  }));
5558
- return (i, l) => (d(), y(u(Ke), _({ ...i.$attrs, ...t }, {
5595
+ return (i, l) => (d(), y(u(Ke), j({ ...i.$attrs, ...t }, {
5559
5596
  severity: t.severity,
5560
5597
  pt: a.value
5561
5598
  }), null, 16, ["severity", "pt"]));
@@ -5576,25 +5613,25 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5576
5613
  }),
5577
5614
  emits: ["update:modelValue"],
5578
5615
  setup(e) {
5579
- const t = e, a = N(e, "modelValue"), i = (n) => {
5580
- var o;
5581
- return t.multiple ? (o = a == null ? void 0 : a.value) == null ? void 0 : o.includes(n.value) : a.value === n.value;
5582
- }, l = (n) => {
5583
- var o;
5584
- if (!n.disabled)
5616
+ const t = e, a = N(e, "modelValue"), i = (o) => {
5617
+ var n;
5618
+ return t.multiple ? (n = a == null ? void 0 : a.value) == null ? void 0 : n.includes(o.value) : a.value === o.value;
5619
+ }, l = (o) => {
5620
+ var n;
5621
+ if (!o.disabled)
5585
5622
  if (t.multiple) {
5586
- let s = (o = a.value) != null && o.length ? [...a.value] : [];
5587
- if (s.length >= 1 && s.includes(n.value)) {
5623
+ let s = (n = a.value) != null && n.length ? [...a.value] : [];
5624
+ if (s.length >= 1 && s.includes(o.value)) {
5588
5625
  if (!t.allowEmpty && s.length === 1) return;
5589
- s = s.length > 1 ? s.filter((c) => c !== n.value) : [];
5626
+ s = s.length > 1 ? s.filter((c) => c !== o.value) : [];
5590
5627
  } else
5591
- s.push(n.value);
5628
+ s.push(o.value);
5592
5629
  a.value = s;
5593
5630
  } else
5594
- a.value = a.value === n.value && t.allowEmpty ? null : n.value;
5631
+ a.value = a.value === o.value && t.allowEmpty ? null : o.value;
5595
5632
  };
5596
- return (n, o) => (d(), v("div", yi, [
5597
- (d(!0), v(A, null, E(n.options, (s, p) => (d(), y(bi, {
5633
+ return (o, n) => (d(), v("div", yi, [
5634
+ (d(!0), v(A, null, E(o.options, (s, p) => (d(), y(bi, {
5598
5635
  key: p,
5599
5636
  onLabel: s.label,
5600
5637
  offLabel: s.label,
@@ -5603,7 +5640,7 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5603
5640
  defaultValue: i(s),
5604
5641
  disabled: s.disabled,
5605
5642
  "data-cy": `toggle-button-${s.value}`,
5606
- invalid: n.invalid
5643
+ invalid: o.invalid
5607
5644
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5608
5645
  ]));
5609
5646
  }
@@ -5621,9 +5658,9 @@ const Ha = { class: "d-flex justify-content-between" }, Wa = ["accept", "disable
5621
5658
  pcRejectButton: { root: "btn btn-outline-primary btn-sm" },
5622
5659
  pcAcceptButton: { root: "btn btn-primary btn-sm" }
5623
5660
  }));
5624
- return (a, i) => (d(), y(u(Ze), _({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5661
+ return (a, i) => (d(), y(u(Ze), j({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5625
5662
  default: f(() => [
5626
- (d(!0), v(A, null, E(a.$slots, (l, n) => B(a.$slots, n, { slot: n })), 256))
5663
+ (d(!0), v(A, null, E(a.$slots, (l, o) => B(a.$slots, o, { slot: o })), 256))
5627
5664
  ]),
5628
5665
  _: 3
5629
5666
  }, 16, ["pt"]));
@@ -5647,17 +5684,17 @@ export {
5647
5684
  cl as ForgeChip,
5648
5685
  wl as ForgeColumnCustomiser,
5649
5686
  Bl as ForgeConfirmPopup,
5650
- he as ForgeDatepicker,
5651
- xl as ForgeFileUploader,
5652
- hl as ForgeFilterHeader,
5687
+ xe as ForgeDatepicker,
5688
+ hl as ForgeFileUploader,
5689
+ xl as ForgeFilterHeader,
5653
5690
  dl as ForgeForm,
5654
5691
  pl as ForgeFormField,
5655
5692
  Gt as ForgeInlineEditor,
5656
5693
  al as ForgeLink,
5657
5694
  pe as ForgeLoader,
5658
- nl as ForgeModal,
5695
+ ol as ForgeModal,
5659
5696
  Qt as ForgeMultiSelectPreview,
5660
- ol as ForgeNavbar,
5697
+ nl as ForgeNavbar,
5661
5698
  sl as ForgePageHeader,
5662
5699
  kl as ForgePanel,
5663
5700
  ul as ForgeProgressBar,