@3squared/forge-ui-3 2.21.6 → 2.22.0

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,15 +1,15 @@
1
1
  import $e from "primevue/message";
2
- import { defineComponent as z, createBlock as x, openBlock as d, normalizeProps as G, guardReactiveProps as Y, withCtx as g, renderSlot as F, createVNode as k, unref as c, createElementVNode as m, normalizeClass as P, createCommentVNode as T, ref as I, createElementBlock as b, Fragment as U, mergeProps as j, renderList as L, mergeModels as E, useModel as N, computed as _, withDirectives as K, createTextVNode as V, toDisplayString as $, vShow as X, createSlots as ie, onMounted as ne, withKeys as le, isRef as Fe, normalizeStyle as Se, withModifiers as Q, watch as W, h as Ce, useTemplateRef as Te } from "vue";
3
- import { Icon as M } from "@iconify/vue";
2
+ import { defineComponent as z, createBlock as x, openBlock as d, normalizeProps as G, guardReactiveProps as Y, withCtx as g, renderSlot as C, createVNode as k, unref as c, createElementVNode as m, normalizeClass as P, createCommentVNode as T, ref as _, createElementBlock as b, Fragment as N, mergeProps as j, renderList as U, mergeModels as E, useModel as L, computed as M, withDirectives as K, createTextVNode as V, toDisplayString as $, vShow as X, createSlots as ie, onMounted as ne, withKeys as le, isRef as Se, normalizeStyle as Fe, withModifiers as Q, watch as W, h as Ce, useTemplateRef as Te } from "vue";
3
+ import { Icon as I } from "@iconify/vue";
4
4
  import q from "primevue/button";
5
5
  import ze from "primevue/toast";
6
6
  import Pe from "primevue/autocomplete";
7
7
  import je from "primevue/checkbox";
8
8
  import { useField as se } from "vee-validate";
9
- import _e from "primevue/progressspinner";
10
- import Ie from "primevue/dialog";
9
+ import Me from "primevue/progressspinner";
10
+ import _e from "primevue/dialog";
11
11
  import ae from "primevue/inputtext";
12
- import { vOnClickOutside as Me } from "@vueuse/components";
12
+ import { vOnClickOutside as Ie } from "@vueuse/components";
13
13
  import Ve from "primevue/menubar";
14
14
  import de from "primevue/multiselect";
15
15
  import De from "primevue/datepicker";
@@ -17,9 +17,9 @@ import oe from "primevue/select";
17
17
  import Oe from "primevue/inputmask";
18
18
  import Ae from "primevue/textarea";
19
19
  import fe from "primevue/inputnumber";
20
- import Ne from "primevue/chip";
21
- import Ue from "primevue/progressbar";
22
- import Le from "primevue/step";
20
+ import Le from "primevue/chip";
21
+ import Ne from "primevue/progressbar";
22
+ import Ue from "primevue/step";
23
23
  import Ee from "primevue/stepper";
24
24
  import qe from "primevue/steplist";
25
25
  import Re from "primevue/steppanel";
@@ -191,9 +191,10 @@ const Qe = {
191
191
  select: {
192
192
  root: ({ props: e }) => ({
193
193
  class: [
194
- "form-select flex-1 d-flex cursor-pointer position-relative",
194
+ "form-select flex-1 d-flex position-relative",
195
195
  {
196
- disabled: e.disabled
196
+ disabled: e.disabled,
197
+ "cursor-pointer ": !e.disabled
197
198
  }
198
199
  ]
199
200
  }),
@@ -239,9 +240,17 @@ const Qe = {
239
240
  }
240
241
  }, it = {
241
242
  column: {
242
- pcSortBadge: {
243
- root: "ms-2 my-auto cursor-pointer"
244
- },
243
+ pcSortBadge: (e) => ({
244
+ root: {
245
+ class: [
246
+ "ms-2 my-auto cursor-pointer",
247
+ {
248
+ // Remove the badge, if one of the (2) sort columns is the row grouping, as it looks like only one column is sortable. Will show numbers if not only 2 sort values
249
+ "d-none": e.parent.state.d_groupRowsSortMeta != null && e.parent.state.d_multiSortMeta != null && e.parent.state.d_multiSortMeta.length == 2 && e.parent.state.d_multiSortMeta.some((t) => t.field == e.parent.state.d_groupRowsSortMeta.field)
250
+ }
251
+ ]
252
+ }
253
+ }),
245
254
  headerCell: (e) => {
246
255
  var t, a, i, o, l, n;
247
256
  return {
@@ -993,7 +1002,7 @@ const Qe = {
993
1002
  separator: "border-bottom"
994
1003
  }
995
1004
  }
996
- }, Ft = {
1005
+ }, St = {
997
1006
  progressspinner: {
998
1007
  spin: () => ({
999
1008
  class: [
@@ -1001,7 +1010,7 @@ const Qe = {
1001
1010
  ]
1002
1011
  })
1003
1012
  }
1004
- }, St = {
1013
+ }, Ft = {
1005
1014
  card: {
1006
1015
  root: () => ({
1007
1016
  class: ["card"]
@@ -1158,7 +1167,7 @@ const Qe = {
1158
1167
  filterIcon: "d-none"
1159
1168
  }
1160
1169
  }
1161
- }, _t = {
1170
+ }, Mt = {
1162
1171
  fieldset: {
1163
1172
  root: () => ({
1164
1173
  class: [
@@ -1184,7 +1193,7 @@ const Qe = {
1184
1193
  ]
1185
1194
  })
1186
1195
  }
1187
- }, It = {
1196
+ }, _t = {
1188
1197
  accordionPanel: {
1189
1198
  root: "card my-2"
1190
1199
  },
@@ -1202,7 +1211,7 @@ const Qe = {
1202
1211
  accordionContent: {
1203
1212
  root: "mt-2 mx-4 mb-4"
1204
1213
  }
1205
- }, Mt = {
1214
+ }, It = {
1206
1215
  // More PT options can be found in the ForgeTable file.
1207
1216
  treetable: {
1208
1217
  root: "position-relative",
@@ -1242,7 +1251,7 @@ const Qe = {
1242
1251
  transferControls: "d-flex flex-column justify-content-center gap-1",
1243
1252
  targetControls: "d-flex flex-column justify-content-center gap-1",
1244
1253
  pcListbox: {
1245
- root: "",
1254
+ root: "border-0",
1246
1255
  list: "list-unstyled list-group list-group-flush",
1247
1256
  option: ({ context: e }) => ({
1248
1257
  class: [
@@ -1258,8 +1267,7 @@ const Qe = {
1258
1267
  },
1259
1268
  sourceListContainer: " h-100 flex-1",
1260
1269
  targetListContainer: "h-100 flex-1"
1261
- },
1262
- listbox: {}
1270
+ }
1263
1271
  }, Dt = {
1264
1272
  listbox: {
1265
1273
  root: "border rounded",
@@ -1279,11 +1287,37 @@ const Qe = {
1279
1287
  filterIcon: "d-none",
1280
1288
  pcFilter: { root: "form-control form-control-sm mx-2 mt-2 mb-1" }
1281
1289
  }
1282
- }, lo = {
1290
+ }, Ot = {
1291
+ drawer: {
1292
+ root: ({ props: e }) => ({
1293
+ class: [
1294
+ "d-flex flex-column position-relative border bg-white ",
1295
+ {
1296
+ "h-100": e.position == "left" || e.position == "right",
1297
+ "w-100": e.position == "top" || e.position == "bottom",
1298
+ "modal border rounded h-auto m-0 mw-100 vh-100 vw-100 ": e.position == "full"
1299
+ }
1300
+ ]
1301
+ }),
1302
+ header: "d-flex align-items-center justify-content-between p-3 flex-shrink-0 border-bottom",
1303
+ content: "flex-grow-1 py-2 px-3 overflow-auto",
1304
+ pcCloseButton: {
1305
+ root: "btn"
1306
+ },
1307
+ mask: ({ props: e }) => ({
1308
+ class: [
1309
+ "z-3",
1310
+ {
1311
+ "modal-open": e.modal && e.visible
1312
+ }
1313
+ ]
1314
+ })
1315
+ }
1316
+ }, no = {
1283
1317
  ...Qe,
1284
1318
  ...ht,
1285
1319
  ...et,
1286
- ...St,
1320
+ ...Ft,
1287
1321
  ...tt,
1288
1322
  ...dt,
1289
1323
  ...it,
@@ -1300,7 +1334,7 @@ const Qe = {
1300
1334
  ...wt,
1301
1335
  ...ct,
1302
1336
  ...bt,
1303
- ...Ft,
1337
+ ...St,
1304
1338
  ...yt,
1305
1339
  ...Bt,
1306
1340
  ...$t,
@@ -1310,13 +1344,14 @@ const Qe = {
1310
1344
  ...vt,
1311
1345
  ...zt,
1312
1346
  ...rt,
1313
- ..._t,
1347
+ ...Mt,
1314
1348
  ...jt,
1315
1349
  ...Pt,
1350
+ ..._t,
1316
1351
  ...It,
1317
- ...Mt,
1318
1352
  ...Vt,
1319
1353
  ...Dt,
1354
+ ...Ot,
1320
1355
  directives: {
1321
1356
  ...kt
1322
1357
  }
@@ -1346,7 +1381,7 @@ const Qe = {
1346
1381
  m("div", {
1347
1382
  class: P(t.icon ? "me-2 pe-1" : "")
1348
1383
  }, [
1349
- t.icon ? (d(), x(c(M), {
1384
+ t.icon ? (d(), x(c(I), {
1350
1385
  key: 0,
1351
1386
  "data-cy": "message-icon",
1352
1387
  icon: t.icon,
@@ -1356,16 +1391,16 @@ const Qe = {
1356
1391
  ], 2)
1357
1392
  ]),
1358
1393
  closeicon: g(() => [
1359
- k(c(M), { icon: "bi:x" })
1394
+ k(c(I), { icon: "bi:x" })
1360
1395
  ]),
1361
1396
  default: g(() => [
1362
- F(a.$slots, "default")
1397
+ C(a.$slots, "default")
1363
1398
  ]),
1364
1399
  _: 3
1365
1400
  }, 16);
1366
1401
  };
1367
1402
  }
1368
- }), no = /* @__PURE__ */ z({
1403
+ }), so = /* @__PURE__ */ z({
1369
1404
  __name: "ForgeActionButton",
1370
1405
  props: {
1371
1406
  action: {},
@@ -1374,7 +1409,7 @@ const Qe = {
1374
1409
  params: { default: Array }
1375
1410
  },
1376
1411
  setup(e) {
1377
- const t = I(!1), a = e, i = async () => {
1412
+ const t = _(!1), a = e, i = async () => {
1378
1413
  t.value = !0;
1379
1414
  try {
1380
1415
  await a.action.apply(this, a.params);
@@ -1385,7 +1420,7 @@ const Qe = {
1385
1420
  };
1386
1421
  return (o, l) => {
1387
1422
  const n = q;
1388
- return d(), b(U, null, [
1423
+ return d(), b(N, null, [
1389
1424
  k(n, j({ ...a, ...o.$attrs }, {
1390
1425
  loading: t.value,
1391
1426
  disabled: t.value || a.disabled,
@@ -1395,17 +1430,17 @@ const Qe = {
1395
1430
  ], 64);
1396
1431
  };
1397
1432
  }
1398
- }), so = /* @__PURE__ */ z({
1433
+ }), ro = /* @__PURE__ */ z({
1399
1434
  __name: "ForgeAutoComplete",
1400
1435
  setup(e) {
1401
1436
  return (t, a) => (d(), x(c(Pe), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1402
1437
  default: g(() => [
1403
- (d(!0), b(U, null, L(t.$slots, (i, o) => F(t.$slots, o, { slot: o })), 256))
1438
+ (d(!0), b(N, null, U(t.$slots, (i, o) => C(t.$slots, o, { slot: o })), 256))
1404
1439
  ]),
1405
1440
  _: 3
1406
1441
  }, 16));
1407
1442
  }
1408
- }), Ot = { class: "d-flex flex-column" }, At = ["for"], ye = /* @__PURE__ */ z({
1443
+ }), At = { class: "d-flex flex-column" }, Lt = ["for"], ye = /* @__PURE__ */ z({
1409
1444
  __name: "ForgeCheckbox",
1410
1445
  props: /* @__PURE__ */ E({
1411
1446
  label: { default: "" },
@@ -1440,7 +1475,7 @@ const Qe = {
1440
1475
  }),
1441
1476
  emits: ["update:modelValue"],
1442
1477
  setup(e) {
1443
- const t = e, a = N(e, "modelValue"), { handleChange: i, errors: o, errorMessage: l } = se(
1478
+ const t = e, a = L(e, "modelValue"), { handleChange: i, errors: o, errorMessage: l } = se(
1444
1479
  () => t.name ?? "",
1445
1480
  void 0,
1446
1481
  {
@@ -1449,10 +1484,10 @@ const Qe = {
1449
1484
  }
1450
1485
  ), n = (p, u) => {
1451
1486
  (t.disabled || t.readonly) && p.preventDefault(), t.name ? i(u) : a.value = u;
1452
- }, s = _(() => o.value.length > 0);
1487
+ }, s = M(() => o.value.length > 0);
1453
1488
  return (p, u) => {
1454
1489
  const h = je;
1455
- return d(), b("div", Ot, [
1490
+ return d(), b("div", At, [
1456
1491
  m("div", j({
1457
1492
  class: "d-flex",
1458
1493
  "data-cy": "checkbox-container",
@@ -1471,10 +1506,10 @@ const Qe = {
1471
1506
  onClick: u[1] || (u[1] = (r) => n(r, !a.value)),
1472
1507
  class: P([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1473
1508
  }, [
1474
- F(p.$slots, "default", {}, () => [
1509
+ C(p.$slots, "default", {}, () => [
1475
1510
  V($(t.label), 1)
1476
1511
  ])
1477
- ], 10, At)
1512
+ ], 10, Lt)
1478
1513
  ], 16),
1479
1514
  K(m("small", {
1480
1515
  "data-cy": "error",
@@ -1492,7 +1527,7 @@ const Qe = {
1492
1527
  inLine: { type: Boolean, default: !1 }
1493
1528
  },
1494
1529
  setup(e) {
1495
- const t = e, a = _(() => ({
1530
+ const t = e, a = M(() => ({
1496
1531
  spin: () => ({
1497
1532
  class: [
1498
1533
  "spinner-border",
@@ -1503,7 +1538,7 @@ const Qe = {
1503
1538
  })
1504
1539
  }));
1505
1540
  return (i, o) => {
1506
- const l = _e;
1541
+ const l = Me;
1507
1542
  return d(), b("div", {
1508
1543
  class: P(i.inLine ? "" : "forge-loader")
1509
1544
  }, [
@@ -1515,7 +1550,7 @@ const Qe = {
1515
1550
  ], 2);
1516
1551
  };
1517
1552
  }
1518
- }), Nt = ["href", "target"], ro = /* @__PURE__ */ z({
1553
+ }), Nt = ["href", "target"], po = /* @__PURE__ */ z({
1519
1554
  __name: "ForgeLink",
1520
1555
  props: {
1521
1556
  url: {},
@@ -1533,7 +1568,7 @@ const Qe = {
1533
1568
  iconName: {}
1534
1569
  },
1535
1570
  setup(e) {
1536
- const t = _(() => ({
1571
+ const t = M(() => ({
1537
1572
  [`link-${e.severity}`]: e.severity,
1538
1573
  [`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
1539
1574
  [`link-opacity-${e.opacity}`]: e.opacity,
@@ -1542,7 +1577,7 @@ const Qe = {
1542
1577
  [`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
1543
1578
  [`link-offset-${e.underlineOffset}`]: e.underlineOffset,
1544
1579
  "icon-link icon-link-hover": e.animateIconOnHover
1545
- })), a = _(() => ({
1580
+ })), a = M(() => ({
1546
1581
  "order-2": e.positionIconEnd,
1547
1582
  "me-1": !e.positionIconEnd && !e.animateIconOnHover,
1548
1583
  "ms-1": e.positionIconEnd && !e.animateIconOnHover,
@@ -1555,8 +1590,8 @@ const Qe = {
1555
1590
  href: i.url,
1556
1591
  target: i.target
1557
1592
  }, [
1558
- F(i.$slots, "default", {}, () => [
1559
- i.iconName ? (d(), x(c(M), {
1593
+ C(i.$slots, "default", {}, () => [
1594
+ i.iconName ? (d(), x(c(I), {
1560
1595
  key: 0,
1561
1596
  id: "link-icon",
1562
1597
  icon: i.iconName,
@@ -1578,20 +1613,20 @@ function Ut(e) {
1578
1613
  }
1579
1614
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1580
1615
  }
1581
- function po(e, t) {
1616
+ function co(e, t) {
1582
1617
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1583
1618
  }
1584
- function co(e, t, a) {
1619
+ function uo(e, t, a) {
1585
1620
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1586
1621
  }
1587
- const Lt = {
1622
+ const Et = {
1588
1623
  key: 0,
1589
1624
  class: "sticky-top py-3 error-bg",
1590
1625
  "data-cy": "error-wrapper"
1591
- }, Et = { key: 0 }, qt = {
1626
+ }, qt = { key: 0 }, Rt = {
1592
1627
  class: "d-flex w-100",
1593
1628
  "data-cy": "footer"
1594
- }, uo = /* @__PURE__ */ z({
1629
+ }, mo = /* @__PURE__ */ z({
1595
1630
  __name: "ForgeModal",
1596
1631
  props: /* @__PURE__ */ E({
1597
1632
  cancelText: { default: "Cancel" },
@@ -1653,7 +1688,7 @@ const Lt = {
1653
1688
  }),
1654
1689
  emits: ["update:visible", "update:error"],
1655
1690
  setup(e, { expose: t }) {
1656
- const a = N(e, "visible"), i = I(!1), o = e, l = I(!1), n = N(e, "error"), s = () => {
1691
+ const a = L(e, "visible"), i = _(!1), o = e, l = _(!1), n = L(e, "error"), s = () => {
1657
1692
  n.value = {
1658
1693
  hasError: !1,
1659
1694
  header: "",
@@ -1677,12 +1712,12 @@ const Lt = {
1677
1712
  (v || v == null) && h();
1678
1713
  } catch (v) {
1679
1714
  n.value.hasError = !0;
1680
- const C = Ut(v);
1681
- n.value.header = C.errorMessage, n.value.message = C.errorDetails;
1715
+ const F = Ut(v);
1716
+ n.value.header = F.errorMessage, n.value.message = F.errorDetails;
1682
1717
  }
1683
1718
  l.value = !1;
1684
1719
  }
1685
- }, w = _(() => ({
1720
+ }, w = M(() => ({
1686
1721
  root: [
1687
1722
  "modal modal-dialog modal-content h-auto m-0",
1688
1723
  {
@@ -1701,15 +1736,15 @@ const Lt = {
1701
1736
  }
1702
1737
  ]
1703
1738
  }));
1704
- return (v, C) => {
1705
- const S = q, A = Ie;
1739
+ return (v, F) => {
1740
+ const S = q, A = _e;
1706
1741
  return d(), x(A, j(o, {
1707
1742
  onMaximize: u,
1708
1743
  onUnmaximize: p,
1709
1744
  pt: w.value
1710
1745
  }), ie({
1711
1746
  closeicon: g(() => [
1712
- k(c(M), {
1747
+ k(c(I), {
1713
1748
  "data-cy": "close-icon",
1714
1749
  icon: "bi:x-lg",
1715
1750
  width: "18",
@@ -1718,7 +1753,7 @@ const Lt = {
1718
1753
  })
1719
1754
  ]),
1720
1755
  maximizeicon: g(() => [
1721
- k(c(M), {
1756
+ k(c(I), {
1722
1757
  "data-cy": "maximisable-icon",
1723
1758
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1724
1759
  width: "16",
@@ -1727,11 +1762,11 @@ const Lt = {
1727
1762
  ]),
1728
1763
  _: 2
1729
1764
  }, [
1730
- L(v.$slots, (f, B) => ({
1765
+ U(v.$slots, (f, B) => ({
1731
1766
  name: B,
1732
1767
  fn: g((D) => [
1733
- B == "default" ? (d(), b(U, { key: 0 }, [
1734
- n.value.hasError ? (d(), b("div", Lt, [
1768
+ B == "default" ? (d(), b(N, { key: 0 }, [
1769
+ n.value.hasError ? (d(), b("div", Et, [
1735
1770
  k(re, {
1736
1771
  severity: "danger",
1737
1772
  "data-cy": "error",
@@ -1741,16 +1776,16 @@ const Lt = {
1741
1776
  m("p", {
1742
1777
  class: P(n.value.message.length > 0 ? "my-auto" : "mb-0")
1743
1778
  }, $(n.value.header), 3),
1744
- n.value.message.length > 0 ? (d(), b("ul", Et, [
1745
- (d(!0), b(U, null, L(n.value.message, (y) => (d(), b("li", { key: y }, $(y), 1))), 128))
1779
+ n.value.message.length > 0 ? (d(), b("ul", qt, [
1780
+ (d(!0), b(N, null, U(n.value.message, (y) => (d(), b("li", { key: y }, $(y), 1))), 128))
1746
1781
  ])) : T("", !0)
1747
1782
  ]),
1748
1783
  _: 1
1749
1784
  })
1750
1785
  ])) : T("", !0)
1751
1786
  ], 64)) : T("", !0),
1752
- F(v.$slots, B, G(Y(D || {}))),
1753
- l.value ? F(v.$slots, "loader", { key: 1 }, () => [
1787
+ C(v.$slots, B, G(Y(D || {}))),
1788
+ l.value ? C(v.$slots, "loader", { key: 1 }, () => [
1754
1789
  k(pe, { "data-cy": "loader" })
1755
1790
  ]) : T("", !0)
1756
1791
  ])
@@ -1758,7 +1793,7 @@ const Lt = {
1758
1793
  v.showFooter ? {
1759
1794
  name: "footer",
1760
1795
  fn: g(() => [
1761
- m("div", qt, [
1796
+ m("div", Rt, [
1762
1797
  k(S, {
1763
1798
  label: v.cancelText,
1764
1799
  class: P(o.cancelClass),
@@ -1781,7 +1816,7 @@ const Lt = {
1781
1816
  ]), 1040, ["pt"]);
1782
1817
  };
1783
1818
  }
1784
- }), Rt = ["id"], Ht = { key: 0 }, Wt = { key: 0 }, Gt = { class: "d-flex justify-content-between align-items-center position-relative" }, Yt = { key: 1 }, Jt = { "data-cy": "readonly-value" }, Kt = /* @__PURE__ */ z({
1819
+ }), Ht = ["id"], Wt = { key: 0 }, Gt = { key: 0 }, Yt = { class: "d-flex justify-content-between align-items-center position-relative" }, Jt = { key: 1 }, Kt = { "data-cy": "readonly-value" }, Zt = /* @__PURE__ */ z({
1785
1820
  __name: "ForgeInlineEditor",
1786
1821
  props: /* @__PURE__ */ E({
1787
1822
  name: { default: "" },
@@ -1796,7 +1831,7 @@ const Lt = {
1796
1831
  }),
1797
1832
  emits: ["update:modelValue"],
1798
1833
  setup(e) {
1799
- const t = e, a = N(e, "modelValue"), i = I(!1), o = I(), l = () => {
1834
+ const t = e, a = L(e, "modelValue"), i = _(!1), o = _(), l = () => {
1800
1835
  var v;
1801
1836
  i.value = !i.value, (v = o.value) == null || v.focus();
1802
1837
  }, n = async () => {
@@ -1820,20 +1855,20 @@ const Lt = {
1820
1855
  ne(() => {
1821
1856
  r.value = a.value;
1822
1857
  });
1823
- const w = _(() => h.value.length > 0);
1824
- return (v, C) => {
1858
+ const w = M(() => h.value.length > 0);
1859
+ return (v, F) => {
1825
1860
  const S = ae, A = q;
1826
1861
  return d(), b("div", {
1827
1862
  id: t.name
1828
1863
  }, [
1829
- v.readonly ? (d(), b("div", Yt, [
1830
- F(v.$slots, "default", {}, () => [
1831
- m("span", Jt, $(c(r)), 1)
1864
+ v.readonly ? (d(), b("div", Jt, [
1865
+ C(v.$slots, "default", {}, () => [
1866
+ m("span", Kt, $(c(r)), 1)
1832
1867
  ])
1833
- ])) : (d(), b("div", Ht, [
1834
- i.value ? (d(), b("div", Wt, [
1835
- K((d(), b("div", Gt, [
1836
- F(v.$slots, "editor", {
1868
+ ])) : (d(), b("div", Wt, [
1869
+ i.value ? (d(), b("div", Gt, [
1870
+ K((d(), b("div", Yt, [
1871
+ C(v.$slots, "editor", {
1837
1872
  class: P({ "is-invalid": w.value }),
1838
1873
  editFinished: n,
1839
1874
  cancel: s,
@@ -1841,7 +1876,7 @@ const Lt = {
1841
1876
  }, () => [
1842
1877
  k(S, {
1843
1878
  modelValue: c(r),
1844
- "onUpdate:modelValue": C[0] || (C[0] = (f) => Fe(r) ? r.value = f : null),
1879
+ "onUpdate:modelValue": F[0] || (F[0] = (f) => Se(r) ? r.value = f : null),
1845
1880
  modelModifiers: { trim: !0 },
1846
1881
  "data-cy": "input",
1847
1882
  ref_key: "input",
@@ -1853,7 +1888,7 @@ const Lt = {
1853
1888
  ]
1854
1889
  }, null, 8, ["modelValue", "class"])
1855
1890
  ]),
1856
- k(c(M), {
1891
+ k(c(I), {
1857
1892
  icon: "bi:x-circle",
1858
1893
  class: "mx-2 cursor-pointer",
1859
1894
  onClick: p,
@@ -1861,7 +1896,7 @@ const Lt = {
1861
1896
  "data-cy": "clear-icon"
1862
1897
  })
1863
1898
  ])), [
1864
- [c(Me), n]
1899
+ [c(Ie), n]
1865
1900
  ])
1866
1901
  ])) : (d(), b("div", {
1867
1902
  key: 1,
@@ -1869,7 +1904,7 @@ const Lt = {
1869
1904
  onClick: l,
1870
1905
  onFocus: l
1871
1906
  }, [
1872
- F(v.$slots, "default", {}, () => [
1907
+ C(v.$slots, "default", {}, () => [
1873
1908
  m("div", {
1874
1909
  class: P(["pe-2 cursor-pointer", { "text-invalid": w.value }]),
1875
1910
  "data-cy": "value"
@@ -1880,7 +1915,7 @@ const Lt = {
1880
1915
  class: "p-0 m-0"
1881
1916
  }, {
1882
1917
  default: g(() => [
1883
- k(c(M), {
1918
+ k(c(I), {
1884
1919
  icon: "bi:pencil",
1885
1920
  class: P(w.value ? "text-invalid" : "text-muted"),
1886
1921
  "data-cy": "edit-icon",
@@ -1897,10 +1932,10 @@ const Lt = {
1897
1932
  }, $(c(u)), 513), [
1898
1933
  [X, w.value]
1899
1934
  ])
1900
- ], 8, Rt);
1935
+ ], 8, Ht);
1901
1936
  };
1902
1937
  }
1903
- }), Zt = ["href"], mo = /* @__PURE__ */ z({
1938
+ }), Xt = ["href"], vo = /* @__PURE__ */ z({
1904
1939
  __name: "ForgeNavbar",
1905
1940
  props: {
1906
1941
  severity: { default: "light" },
@@ -1917,7 +1952,7 @@ const Lt = {
1917
1952
  unstyled: { type: Boolean }
1918
1953
  },
1919
1954
  setup(e) {
1920
- const t = e, a = _(() => ({
1955
+ const t = e, a = M(() => ({
1921
1956
  root: () => ({
1922
1957
  class: [
1923
1958
  "navbar container-fluid navbar-expand-lg",
@@ -1955,14 +1990,14 @@ const Lt = {
1955
1990
  class: "navbar-brand ms-3",
1956
1991
  "data-cy": "logo"
1957
1992
  }, [
1958
- F(i.$slots, "logo", {}, () => [
1993
+ C(i.$slots, "logo", {}, () => [
1959
1994
  o[0] || (o[0] = V(" Logo "))
1960
1995
  ])
1961
- ], 8, Zt)
1996
+ ], 8, Xt)
1962
1997
  ]),
1963
1998
  buttonicon: g(() => [
1964
- F(i.$slots, "buttonIcon", {}, () => [
1965
- k(c(M), {
1999
+ C(i.$slots, "buttonIcon", {}, () => [
2000
+ k(c(I), {
1966
2001
  icon: "bi:list",
1967
2002
  class: P(t.severity === "light" ? "text-black" : "text-white"),
1968
2003
  height: "24",
@@ -1972,22 +2007,22 @@ const Lt = {
1972
2007
  ]),
1973
2008
  _: 2
1974
2009
  }, [
1975
- L(i.$slots, (l, n) => ({
2010
+ U(i.$slots, (l, n) => ({
1976
2011
  name: n,
1977
2012
  fn: g((s) => [
1978
- F(i.$slots, n, G(Y(s)))
2013
+ C(i.$slots, n, G(Y(s)))
1979
2014
  ])
1980
2015
  }))
1981
2016
  ]), 1040, ["pt"]));
1982
2017
  }
1983
- }), Xt = { class: "border alternating-item-list" }, Qt = {
2018
+ }), Qt = { class: "border alternating-item-list" }, ea = {
1984
2019
  key: 0,
1985
2020
  class: "p-2 border-top border-bottom",
1986
2021
  "data-cy": "title"
1987
- }, ea = { class: "d-inline-block" }, ta = {
2022
+ }, ta = { class: "d-inline-block" }, aa = {
1988
2023
  key: 1,
1989
2024
  class: "p-2 item d-flex justify-content-between align-items-center"
1990
- }, aa = /* @__PURE__ */ z({
2025
+ }, ia = /* @__PURE__ */ z({
1991
2026
  __name: "ForgeMultiSelectPreview",
1992
2027
  props: /* @__PURE__ */ E({
1993
2028
  title: { default: "Selected Items" },
@@ -2003,7 +2038,7 @@ const Lt = {
2003
2038
  }),
2004
2039
  emits: ["update:modelValue"],
2005
2040
  setup(e) {
2006
- const t = e, a = N(e, "modelValue"), i = (o) => {
2041
+ const t = e, a = L(e, "modelValue"), i = (o) => {
2007
2042
  a.value = a.value.filter((l) => l.id !== o);
2008
2043
  };
2009
2044
  return (o, l) => {
@@ -2026,28 +2061,28 @@ const Lt = {
2026
2061
  "data-cy": "multiselect"
2027
2062
  }), {
2028
2063
  default: g(() => [
2029
- (d(!0), b(U, null, L(o.$slots, (p, u) => F(o.$slots, u, { slot: u })), 256))
2064
+ (d(!0), b(N, null, U(o.$slots, (p, u) => C(o.$slots, u, { slot: u })), 256))
2030
2065
  ]),
2031
2066
  _: 3
2032
2067
  }, 16, ["modelValue", "options", "placeholder"]),
2033
- F(o.$slots, "after-multi-select")
2068
+ C(o.$slots, "after-multi-select")
2034
2069
  ], 2),
2035
2070
  m("div", {
2036
2071
  class: P(o.orientation === "row" ? "col-12" : "col"),
2037
2072
  "data-cy": "options-preview"
2038
2073
  }, [
2039
2074
  m("div", {
2040
- style: Se({ height: o.height }),
2075
+ style: Fe({ height: o.height }),
2041
2076
  class: "overflow-auto"
2042
2077
  }, [
2043
- m("div", Xt, [
2044
- o.title ? (d(), b("div", Qt, $(o.title), 1)) : T("", !0),
2045
- (d(!0), b(U, null, L(a.value, (p) => (d(), b("div", {
2078
+ m("div", Qt, [
2079
+ o.title ? (d(), b("div", ea, $(o.title), 1)) : T("", !0),
2080
+ (d(!0), b(N, null, U(a.value, (p) => (d(), b("div", {
2046
2081
  key: p.id,
2047
2082
  class: "p-2 item d-flex justify-content-between align-items-center"
2048
2083
  }, [
2049
- F(o.$slots, "list-item", { item: p }, () => [
2050
- m("span", ea, $(p.shortLabel ? p.shortLabel : p.label), 1)
2084
+ C(o.$slots, "list-item", { item: p }, () => [
2085
+ m("span", ta, $(p.shortLabel ? p.shortLabel : p.label), 1)
2051
2086
  ]),
2052
2087
  o.canRemoveItemFromPreview ? (d(), x(s, {
2053
2088
  key: 0,
@@ -2056,7 +2091,7 @@ const Lt = {
2056
2091
  onClick: (u) => i(p.id)
2057
2092
  }, {
2058
2093
  default: g(() => [
2059
- k(c(M), {
2094
+ k(c(I), {
2060
2095
  icon: "bi:x",
2061
2096
  class: "close-icon",
2062
2097
  "data-cy": `close-icon-${p.id}`
@@ -2065,34 +2100,34 @@ const Lt = {
2065
2100
  _: 2
2066
2101
  }, 1032, ["onClick"])) : T("", !0)
2067
2102
  ]))), 128)),
2068
- a.value == null || a.value.length == 0 ? (d(), b("div", ta, $(t.optionsPreviewEmptyText), 1)) : T("", !0)
2103
+ a.value == null || a.value.length == 0 ? (d(), b("div", aa, $(t.optionsPreviewEmptyText), 1)) : T("", !0)
2069
2104
  ])
2070
2105
  ], 4)
2071
2106
  ], 2)
2072
2107
  ], 2);
2073
2108
  };
2074
2109
  }
2075
- }), ia = { class: "d-flex justify-content-between pb-2" }, oa = {
2110
+ }), oa = { class: "d-flex justify-content-between pb-2" }, la = {
2076
2111
  "data-cy": "title",
2077
2112
  class: "my-auto"
2078
- }, la = {
2113
+ }, na = {
2079
2114
  "data-cy": "slot",
2080
2115
  class: "d-flex align-items-center"
2081
- }, vo = /* @__PURE__ */ z({
2116
+ }, fo = /* @__PURE__ */ z({
2082
2117
  __name: "ForgePageHeader",
2083
2118
  props: {
2084
2119
  title: {}
2085
2120
  },
2086
2121
  setup(e) {
2087
2122
  const t = e;
2088
- return (a, i) => (d(), b("div", ia, [
2089
- m("h3", oa, $(t.title), 1),
2090
- m("div", la, [
2091
- F(a.$slots, "default")
2123
+ return (a, i) => (d(), b("div", oa, [
2124
+ m("h3", la, $(t.title), 1),
2125
+ m("div", na, [
2126
+ C(a.$slots, "default")
2092
2127
  ])
2093
2128
  ]));
2094
2129
  }
2095
- }), na = { class: "d-flex flex-1" }, sa = { "data-cy": "before-slot" }, ra = { class: "position-relative d-flex flex-1" }, da = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ z({
2130
+ }), sa = { class: "d-flex flex-1" }, ra = { "data-cy": "before-slot" }, da = { class: "position-relative d-flex flex-1" }, pa = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ z({
2096
2131
  __name: "ForgeDatepicker",
2097
2132
  props: /* @__PURE__ */ E({
2098
2133
  severity: { default: "primary" },
@@ -2167,11 +2202,11 @@ const Lt = {
2167
2202
  }),
2168
2203
  emits: ["update:modelValue"],
2169
2204
  setup(e) {
2170
- const t = e, a = N(e, "modelValue"), { errors: i, errorMessage: o, handleChange: l, handleBlur: n, setValue: s } = se(() => t.name, void 0, {
2205
+ const t = e, a = L(e, "modelValue"), { errors: i, errorMessage: o, handleChange: l, handleBlur: n, setValue: s } = se(() => t.name, void 0, {
2171
2206
  initialValue: a.value
2172
2207
  }), p = () => {
2173
2208
  s(null), a.value = null;
2174
- }, u = _(() => i.value.length > 0), h = _(() => ({
2209
+ }, u = M(() => i.value.length > 0), h = M(() => ({
2175
2210
  day: ({ context: r, props: w, attrs: v }) => ({
2176
2211
  class: [
2177
2212
  "d-flex justify-content-center align-items-center",
@@ -2278,30 +2313,30 @@ const Lt = {
2278
2313
  }));
2279
2314
  return (r, w) => {
2280
2315
  const v = De;
2281
- return d(), b(U, null, [
2282
- m("div", na, [
2283
- m("span", sa, [
2284
- F(r.$slots, "before")
2316
+ return d(), b(N, null, [
2317
+ m("div", sa, [
2318
+ m("span", ra, [
2319
+ C(r.$slots, "before")
2285
2320
  ]),
2286
- m("div", ra, [
2321
+ m("div", da, [
2287
2322
  k(v, j({ ...t, ...r.$attrs }, {
2288
2323
  pt: h.value,
2289
2324
  modelValue: a.value,
2290
2325
  "onUpdate:modelValue": [
2291
- w[0] || (w[0] = (C) => a.value = C),
2326
+ w[0] || (w[0] = (F) => a.value = F),
2292
2327
  c(l)
2293
2328
  ],
2294
2329
  onBlur: w[1] || (w[1] = () => c(n)),
2295
2330
  "input-class": { "text-truncate": !0, "datepicker-invalid": u.value, "pe-5": t.showIcon && t.modelValue, "pe-4": (t.showIcon || t.modelValue) && !(t.showIcon && t.modelValue) }
2296
2331
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2297
- K(k(c(M), {
2332
+ K(k(c(I), {
2298
2333
  "data-cy": "icon",
2299
2334
  icon: "bi:calendar4",
2300
2335
  class: P(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white pe-none", `${u.value ? "text-danger-dark" : "text-muted"}`])
2301
2336
  }, null, 8, ["class"]), [
2302
2337
  [X, t.showIcon && !t.inline]
2303
2338
  ]),
2304
- K(k(c(M), {
2339
+ K(k(c(I), {
2305
2340
  "data-cy": "icon",
2306
2341
  icon: "bi:x",
2307
2342
  onClick: p,
@@ -2310,8 +2345,8 @@ const Lt = {
2310
2345
  [X, t.modelValue && !t.inline && !r.readonly]
2311
2346
  ])
2312
2347
  ]),
2313
- m("span", da, [
2314
- F(r.$slots, "after")
2348
+ m("span", pa, [
2349
+ C(r.$slots, "after")
2315
2350
  ])
2316
2351
  ]),
2317
2352
  K(m("small", {
@@ -2323,19 +2358,19 @@ const Lt = {
2323
2358
  ], 64);
2324
2359
  };
2325
2360
  }
2326
- }), fo = /* @__PURE__ */ z({
2361
+ }), go = /* @__PURE__ */ z({
2327
2362
  __name: "ForgeRemainingCharacters",
2328
2363
  props: {
2329
2364
  maxCount: { default: 300 },
2330
2365
  currentCount: {}
2331
2366
  },
2332
2367
  setup(e) {
2333
- const t = e, a = _(() => t.maxCount - t.currentCount);
2368
+ const t = e, a = M(() => t.maxCount - t.currentCount);
2334
2369
  return (i, o) => (d(), b("div", {
2335
2370
  class: P(a.value < 0 ? "text-danger" : "")
2336
2371
  }, "Remaining characters: " + $(a.value), 3));
2337
2372
  }
2338
- }), pa = { class: "d-flex justify-content-between" }, go = /* @__PURE__ */ z({
2373
+ }), ca = { class: "d-flex justify-content-between" }, bo = /* @__PURE__ */ z({
2339
2374
  __name: "ForgeForm",
2340
2375
  props: {
2341
2376
  onSubmit: {},
@@ -2347,7 +2382,7 @@ const Lt = {
2347
2382
  hideCancel: { type: Boolean, default: !1 }
2348
2383
  },
2349
2384
  setup(e) {
2350
- const t = e, a = I(!1), i = I({
2385
+ const t = e, a = _(!1), i = _({
2351
2386
  hasError: !1,
2352
2387
  message: ""
2353
2388
  });
@@ -2367,8 +2402,8 @@ const Lt = {
2367
2402
  class: "position-relative shadow-sm border p-4 bg-white",
2368
2403
  onSubmit: Q(o, ["prevent"])
2369
2404
  }), [
2370
- l.hideTitle ? T("", !0) : (d(), b(U, { key: 0 }, [
2371
- F(l.$slots, "title", {}, () => [
2405
+ l.hideTitle ? T("", !0) : (d(), b(N, { key: 0 }, [
2406
+ C(l.$slots, "title", {}, () => [
2372
2407
  m("h3", {
2373
2408
  class: P(l.titleClass),
2374
2409
  "data-cy": "form-title"
@@ -2382,7 +2417,7 @@ const Lt = {
2382
2417
  "data-cy": "error"
2383
2418
  }, {
2384
2419
  default: g(() => [
2385
- F(l.$slots, "error", {
2420
+ C(l.$slots, "error", {
2386
2421
  error: i.value.message
2387
2422
  }, () => [
2388
2423
  V($(i.value.message), 1)
@@ -2390,9 +2425,9 @@ const Lt = {
2390
2425
  ]),
2391
2426
  _: 3
2392
2427
  })) : T("", !0),
2393
- F(l.$slots, "default"),
2394
- m("div", pa, [
2395
- F(l.$slots, "cancel", {}, () => [
2428
+ C(l.$slots, "default"),
2429
+ m("div", ca, [
2430
+ C(l.$slots, "cancel", {}, () => [
2396
2431
  l.hideCancel ? T("", !0) : (d(), x(s, {
2397
2432
  key: 0,
2398
2433
  "data-cy": "cancel-btn",
@@ -2407,7 +2442,7 @@ const Lt = {
2407
2442
  _: 1
2408
2443
  }))
2409
2444
  ]),
2410
- F(l.$slots, "submit", { submit: o }, () => [
2445
+ C(l.$slots, "submit", { submit: o }, () => [
2411
2446
  k(s, {
2412
2447
  "data-cy": "submit-btn",
2413
2448
  type: "submit",
@@ -2428,13 +2463,13 @@ const Lt = {
2428
2463
  ], 16);
2429
2464
  };
2430
2465
  }
2431
- }), ca = {
2466
+ }), ua = {
2432
2467
  key: 1,
2433
2468
  class: "d-flex flex-column w-100"
2434
- }, ua = ["for"], ma = {
2469
+ }, ma = ["for"], va = {
2435
2470
  key: 0,
2436
2471
  class: "text-danger fw-600"
2437
- }, bo = /* @__PURE__ */ z({
2472
+ }, yo = /* @__PURE__ */ z({
2438
2473
  __name: "ForgeFormField",
2439
2474
  props: /* @__PURE__ */ E({
2440
2475
  name: {},
@@ -2451,15 +2486,15 @@ const Lt = {
2451
2486
  }),
2452
2487
  emits: ["update:modelValue"],
2453
2488
  setup(e) {
2454
- const t = N(e, "modelValue"), a = e, i = (h) => {
2489
+ const t = L(e, "modelValue"), a = e, i = (h) => {
2455
2490
  a.type == "number" ? s(h.value) : s(h);
2456
2491
  }, { errors: o, value: l, errorMessage: n, handleChange: s, handleBlur: p } = se(() => a.name, void 0, {
2457
2492
  initialValue: t.value
2458
- }), u = _(() => o.value.length > 0);
2493
+ }), u = M(() => o.value.length > 0);
2459
2494
  return W(() => l.value, (h) => {
2460
2495
  t.value = h;
2461
2496
  }, { immediate: !0 }), (h, r) => {
2462
- const w = Ae, v = Oe, C = ae, S = oe, A = de, f = xe;
2497
+ const w = Ae, v = Oe, F = ae, S = oe, A = de, f = xe;
2463
2498
  return a.type === "checkbox" ? (d(), x(ye, j({
2464
2499
  key: 0,
2465
2500
  id: a.name,
@@ -2468,7 +2503,7 @@ const Lt = {
2468
2503
  name: a.name,
2469
2504
  modelValue: t.value,
2470
2505
  "onUpdate:modelValue": r[0] || (r[0] = (B) => t.value = B)
2471
- }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", ca, [
2506
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", ua, [
2472
2507
  m("div", {
2473
2508
  "data-cy": "input-wrapper",
2474
2509
  class: P(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2478,9 +2513,9 @@ const Lt = {
2478
2513
  class: P(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2479
2514
  }, [
2480
2515
  V($(a.fieldLabel) + " ", 1),
2481
- h.required ? (d(), b("span", ma, "*")) : T("", !0)
2482
- ], 10, ua),
2483
- F(h.$slots, "default", G(Y({ modelValue: t.value, updateModel: c(s), hasErrors: u.value })), () => [
2516
+ h.required ? (d(), b("span", va, "*")) : T("", !0)
2517
+ ], 10, ma),
2518
+ C(h.$slots, "default", G(Y({ modelValue: t.value, updateModel: c(s), hasErrors: u.value })), () => [
2484
2519
  a.type === "number" ? (d(), x(c(fe), j({
2485
2520
  key: 0,
2486
2521
  id: a.name
@@ -2512,7 +2547,7 @@ const Lt = {
2512
2547
  "onUpdate:modelValue": r[3] || (r[3] = (B) => t.value = B),
2513
2548
  onComplete: i,
2514
2549
  onBlur: c(p)
2515
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), x(C, j({
2550
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), x(F, j({
2516
2551
  key: 3,
2517
2552
  id: a.name
2518
2553
  }, h.$attrs, {
@@ -2530,7 +2565,7 @@ const Lt = {
2530
2565
  modelValue: t.value,
2531
2566
  "onUpdate:modelValue": r[6] || (r[6] = (B) => t.value = B),
2532
2567
  class: { "is-invalid": u.value }
2533
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), x(aa, j({ key: 6 }, { ...a, ...h.$attrs }, {
2568
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), x(ia, j({ key: 6 }, { ...a, ...h.$attrs }, {
2534
2569
  modelValue: t.value,
2535
2570
  "onUpdate:modelValue": r[7] || (r[7] = (B) => t.value = B),
2536
2571
  class: { "is-invalid": u.value }
@@ -2550,7 +2585,7 @@ const Lt = {
2550
2585
  ]));
2551
2586
  };
2552
2587
  }
2553
- }), yo = /* @__PURE__ */ z({
2588
+ }), xo = /* @__PURE__ */ z({
2554
2589
  __name: "ForgeChip",
2555
2590
  props: {
2556
2591
  chipSeverity: { default: "primary" },
@@ -2566,7 +2601,7 @@ const Lt = {
2566
2601
  unstyled: { type: Boolean }
2567
2602
  },
2568
2603
  setup(e) {
2569
- const t = e, a = _(() => ({
2604
+ const t = e, a = M(() => ({
2570
2605
  root: [
2571
2606
  "badge d-inline-flex align-items-center border me-1 p-1",
2572
2607
  {
@@ -2585,16 +2620,16 @@ const Lt = {
2585
2620
  ]
2586
2621
  }));
2587
2622
  return (i, o) => {
2588
- const l = Ne;
2623
+ const l = Le;
2589
2624
  return d(), x(l, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2590
2625
  default: g(() => [
2591
- (d(!0), b(U, null, L(i.$slots, (n, s) => F(i.$slots, s, { slot: s })), 256))
2626
+ (d(!0), b(N, null, U(i.$slots, (n, s) => C(i.$slots, s, { slot: s })), 256))
2592
2627
  ]),
2593
2628
  _: 3
2594
2629
  }, 16, ["pt"]);
2595
2630
  };
2596
2631
  }
2597
- }), xo = /* @__PURE__ */ z({
2632
+ }), ho = /* @__PURE__ */ z({
2598
2633
  __name: "ForgeProgressBar",
2599
2634
  props: {
2600
2635
  severity: { default: "primary" },
@@ -2610,7 +2645,7 @@ const Lt = {
2610
2645
  unstyled: { type: Boolean }
2611
2646
  },
2612
2647
  setup(e) {
2613
- const t = e, a = _(() => t.striped ? "progress-bar-striped" : null), i = _(() => t.animate ? "progress-bar-animated" : null), o = _(() => {
2648
+ const t = e, a = M(() => t.striped ? "progress-bar-striped" : null), i = M(() => t.animate ? "progress-bar-animated" : null), o = M(() => {
2614
2649
  switch (t.severity) {
2615
2650
  case "brand":
2616
2651
  return "bg-brand";
@@ -2631,7 +2666,7 @@ const Lt = {
2631
2666
  default:
2632
2667
  return "bg-primary";
2633
2668
  }
2634
- }), l = _(() => ({
2669
+ }), l = M(() => ({
2635
2670
  root: {
2636
2671
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2637
2672
  },
@@ -2640,17 +2675,17 @@ const Lt = {
2640
2675
  }
2641
2676
  }));
2642
2677
  return (n, s) => {
2643
- const p = Ue;
2678
+ const p = Ne;
2644
2679
  return d(), x(p, j({ ...n.$attrs, ...t }, { pt: l.value }), {
2645
2680
  default: g(() => [
2646
- F(n.$slots, "default")
2681
+ C(n.$slots, "default")
2647
2682
  ]),
2648
2683
  _: 3
2649
2684
  }, 16, ["pt"]);
2650
2685
  };
2651
2686
  }
2652
2687
  });
2653
- var va = /* @__PURE__ */ z({
2688
+ var fa = /* @__PURE__ */ z({
2654
2689
  name: "VueDrawingCanvas",
2655
2690
  props: {
2656
2691
  strokeType: {
@@ -2966,8 +3001,8 @@ var va = /* @__PURE__ */ z({
2966
3001
  var p = t.split(n).filter((S) => S.length > 0);
2967
3002
  for (let S = 0; S < p.length; S++) {
2968
3003
  for (var u = p[S].split(s).filter((A) => A.length > 0), h = "", r = 0; r < u.length; r++) {
2969
- var w = h + u[r] + " ", v = e.measureText(w), C = v.width;
2970
- C > o && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), h = u[r] + " ", i += l) : h = w;
3004
+ var w = h + u[r] + " ", v = e.measureText(w), F = v.width;
3005
+ F > o && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), h = u[r] + " ", i += l) : h = w;
2971
3006
  }
2972
3007
  this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(h, a, i) : e.fillText(h, a, i), i += u.length > 0 ? l : 0;
2973
3008
  }
@@ -3040,7 +3075,7 @@ var va = /* @__PURE__ */ z({
3040
3075
  });
3041
3076
  }
3042
3077
  });
3043
- const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1 gap-1" }, ho = /* @__PURE__ */ z({
3078
+ const ga = { class: "d-flex flex-column" }, ba = { class: "d-flex flex-row mt-1 gap-1" }, wo = /* @__PURE__ */ z({
3044
3079
  __name: "ForgeScratchpad",
3045
3080
  props: {
3046
3081
  showClear: { type: Boolean, default: !0 },
@@ -3053,7 +3088,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3053
3088
  },
3054
3089
  emits: ["save"],
3055
3090
  setup(e, { emit: t }) {
3056
- const a = e, i = t, o = Te("drawingCanvas"), l = I(), n = () => {
3091
+ const a = e, i = t, o = Te("drawingCanvas"), l = _(), n = () => {
3057
3092
  o == null || o.value.reset();
3058
3093
  }, s = () => {
3059
3094
  o == null || o.value.redo();
@@ -3064,8 +3099,8 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3064
3099
  };
3065
3100
  return (h, r) => {
3066
3101
  const w = q;
3067
- return d(), b("div", fa, [
3068
- k(c(va), j({
3102
+ return d(), b("div", ga, [
3103
+ k(c(fa), j({
3069
3104
  ref_key: "drawingCanvas",
3070
3105
  ref: o,
3071
3106
  image: l.value,
@@ -3078,7 +3113,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3078
3113
  style: `height: ${h.height}px; width: ${h.width}px`,
3079
3114
  "line-join": h.lineJoin
3080
3115
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
3081
- m("div", ga, [
3116
+ m("div", ba, [
3082
3117
  a.showUndo ? (d(), x(w, {
3083
3118
  key: 0,
3084
3119
  onClick: p,
@@ -3131,7 +3166,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3131
3166
  ]);
3132
3167
  };
3133
3168
  }
3134
- }), ba = { class: "value text-white w-100 text-center" }, wo = /* @__PURE__ */ z({
3169
+ }), ya = { class: "value text-white w-100 text-center" }, ko = /* @__PURE__ */ z({
3135
3170
  __name: "ForgeStatWidget",
3136
3171
  props: {
3137
3172
  size: { default: "md" },
@@ -3142,12 +3177,12 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3142
3177
  return (a, i) => (d(), b("div", j(a.$attrs, {
3143
3178
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
3144
3179
  }), [
3145
- m("span", ba, [
3146
- F(a.$slots, "default")
3180
+ m("span", ya, [
3181
+ C(a.$slots, "default")
3147
3182
  ])
3148
3183
  ], 16));
3149
3184
  }
3150
- }), ya = { key: 0 }, ko = /* @__PURE__ */ z({
3185
+ }), xa = { key: 0 }, Bo = /* @__PURE__ */ z({
3151
3186
  __name: "ForgeStepper",
3152
3187
  props: {
3153
3188
  currentStep: { default: 1 },
@@ -3165,7 +3200,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3165
3200
  unstyled: { type: Boolean }
3166
3201
  },
3167
3202
  setup(e) {
3168
- const t = e, a = _(() => ({
3203
+ const t = e, a = M(() => ({
3169
3204
  header: {
3170
3205
  class: [
3171
3206
  "p-0 m-0 d-flex align-items-center border border-0 bg-transparent gap-1",
@@ -3198,13 +3233,13 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3198
3233
  default: g(() => [
3199
3234
  k(c(qe), null, {
3200
3235
  default: g(() => [
3201
- (d(!0), b(U, null, L(i.steps, (l) => (d(), x(c(Le), j({
3236
+ (d(!0), b(N, null, U(i.steps, (l) => (d(), x(c(Ue), j({
3202
3237
  key: l.value,
3203
3238
  value: l.value,
3204
3239
  disabled: l.disabled
3205
3240
  }, { ref_for: !0 }, { ...i.$attrs }, { pt: a.value }), {
3206
3241
  default: g(() => [
3207
- i.showStepLabel ? (d(), b("div", ya, $(l.label), 1)) : T("", !0)
3242
+ i.showStepLabel ? (d(), b("div", xa, $(l.label), 1)) : T("", !0)
3208
3243
  ]),
3209
3244
  _: 2
3210
3245
  }, 1040, ["value", "disabled", "pt"]))), 128))
@@ -3213,12 +3248,12 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3213
3248
  }),
3214
3249
  k(c(He), null, {
3215
3250
  default: g(() => [
3216
- (d(!0), b(U, null, L(i.steps, (l) => (d(), x(c(Re), {
3251
+ (d(!0), b(N, null, U(i.steps, (l) => (d(), x(c(Re), {
3217
3252
  key: l.value,
3218
3253
  value: l.value
3219
3254
  }, {
3220
3255
  default: g(() => [
3221
- F(i.$slots, "step" + l.value)
3256
+ C(i.$slots, "step" + l.value)
3222
3257
  ]),
3223
3258
  _: 2
3224
3259
  }, 1032, ["value"]))), 128))
@@ -3229,7 +3264,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3229
3264
  _: 3
3230
3265
  }, 8, ["value"]));
3231
3266
  }
3232
- }), xa = { class: "p-4 text-wrap w-100" }, ha = { class: "p-4 text-wrap w-100" }, Bo = /* @__PURE__ */ z({
3267
+ }), ha = { class: "p-4 text-wrap w-100" }, wa = { class: "p-4 text-wrap w-100" }, $o = /* @__PURE__ */ z({
3233
3268
  __name: "ForgeTile",
3234
3269
  props: {
3235
3270
  severity: { default: "primary" },
@@ -3238,7 +3273,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3238
3273
  selected: { type: Boolean, default: !1 }
3239
3274
  },
3240
3275
  setup(e) {
3241
- const t = e, a = _(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = _(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
3276
+ const t = e, a = M(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = M(() => `${t.severity === void 0 ? "tile-primary border-primary" : `tile-${t.severity} border-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`);
3242
3277
  return (o, l) => {
3243
3278
  const n = q;
3244
3279
  return t.clickable ? (d(), x(n, {
@@ -3249,8 +3284,8 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3249
3284
  "data-cy": "button-tile"
3250
3285
  }, {
3251
3286
  default: g(() => [
3252
- m("div", xa, [
3253
- F(o.$slots, "default", {}, () => [
3287
+ m("div", ha, [
3288
+ C(o.$slots, "default", {}, () => [
3254
3289
  l[0] || (l[0] = V("Tile Content"))
3255
3290
  ])
3256
3291
  ])
@@ -3261,8 +3296,8 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3261
3296
  class: P(["d-flex w-100", i.value]),
3262
3297
  "data-cy": "tile"
3263
3298
  }, [
3264
- m("div", ha, [
3265
- F(o.$slots, "default", {}, () => [
3299
+ m("div", wa, [
3300
+ C(o.$slots, "default", {}, () => [
3266
3301
  l[1] || (l[1] = V("Tile Content"))
3267
3302
  ])
3268
3303
  ])
@@ -3273,10 +3308,10 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3273
3308
  function ee(e, t) {
3274
3309
  return e > 1 ? `${t}s` : t;
3275
3310
  }
3276
- const wa = {
3311
+ const ka = {
3277
3312
  class: "d-flex justify-content-start align-items-baseline",
3278
3313
  "data-cy": "pagination-header"
3279
- }, ka = { class: "ms-2" }, Ba = { key: 0 }, $a = {
3314
+ }, Ba = { class: "ms-2" }, $a = { key: 0 }, Sa = {
3280
3315
  class: "w-auto",
3281
3316
  "data-cy": "total"
3282
3317
  }, he = /* @__PURE__ */ z({
@@ -3290,13 +3325,13 @@ const wa = {
3290
3325
  setup(e, { emit: t }) {
3291
3326
  const a = t, i = e, o = (n) => {
3292
3327
  a("update:perPage", n.value);
3293
- }, l = _(() => {
3328
+ }, l = M(() => {
3294
3329
  const n = Math.ceil(i.total / i.perPage);
3295
3330
  return `${n} ${ee(n, "page")}`;
3296
3331
  });
3297
- return (n, s) => (d(), b("div", wa, [
3332
+ return (n, s) => (d(), b("div", ka, [
3298
3333
  s[2] || (s[2] = V(" Number of results per page ")),
3299
- m("div", ka, [
3334
+ m("div", Ba, [
3300
3335
  k(c(oe), {
3301
3336
  options: i.pageSizes,
3302
3337
  "model-value": i.perPage,
@@ -3305,16 +3340,16 @@ const wa = {
3305
3340
  "data-cy": "pagination-page-size-select"
3306
3341
  }, null, 8, ["options", "model-value"])
3307
3342
  ]),
3308
- i.total ? (d(), b("div", Ba, [
3343
+ i.total ? (d(), b("div", $a, [
3309
3344
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3310
- m("span", $a, $(i.total) + " " + $(c(ee)(i.total, "result")) + " across " + $(l.value), 1)
3345
+ m("span", Sa, $(i.total) + " " + $(c(ee)(i.total, "result")) + " across " + $(l.value), 1)
3311
3346
  ])) : T("", !0)
3312
3347
  ]));
3313
3348
  }
3314
- }), Fa = { class: "position-relative" }, Sa = { "data-cy": "above-table-slot" }, Ca = { class: "d-flex w-100" }, Ta = {
3349
+ }), Fa = { class: "position-relative" }, Ca = { "data-cy": "above-table-slot" }, Ta = { class: "d-flex w-100" }, za = {
3315
3350
  class: "mx-auto",
3316
3351
  "data-cy": "empty-message"
3317
- }, za = { class: "d-flex" }, Pa = { class: "d-flex align-items-end mb-2" }, ja = { key: 0 }, _a = { class: "ms-auto" }, $o = /* @__PURE__ */ z({
3352
+ }, Pa = { class: "d-flex" }, ja = { class: "d-flex align-items-end mb-2" }, Ma = { key: 0 }, _a = { class: "ms-auto" }, So = /* @__PURE__ */ z({
3318
3353
  __name: "ForgeTable",
3319
3354
  props: {
3320
3355
  value: {},
@@ -3401,7 +3436,7 @@ const wa = {
3401
3436
  },
3402
3437
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3403
3438
  setup(e, { emit: t }) {
3404
- const a = t, i = e, o = I(), l = I([5, 10, 20, 50, 100]), n = I(i.perPage ?? 10), s = I({
3439
+ const a = t, i = e, o = _(), l = _([5, 10, 20, 50, 100]), n = _(i.perPage ?? 10), s = _({
3405
3440
  filters: i.filters,
3406
3441
  perPage: n.value,
3407
3442
  page: 0,
@@ -3412,10 +3447,10 @@ const wa = {
3412
3447
  W(() => i.perPage, (f) => {
3413
3448
  f && (n.value = f, s.value.perPage = f);
3414
3449
  });
3415
- const p = _(() => i.totalRecords ?? i.value.length), u = _(() => {
3450
+ const p = M(() => i.totalRecords ?? i.value.length), u = M(() => {
3416
3451
  const f = Math.ceil(p.value / n.value);
3417
3452
  return `${f} ${ee(f, "page")}`;
3418
- }), h = _(() => ({
3453
+ }), h = M(() => ({
3419
3454
  thead: () => ({
3420
3455
  class: [
3421
3456
  {
@@ -3444,13 +3479,13 @@ const wa = {
3444
3479
  else
3445
3480
  for (const f in i.filters)
3446
3481
  typeof i.filters[f] == "string" ? i.filters[f] = "" : i.filters[f].value = null;
3447
- C(i.filters);
3482
+ F(i.filters);
3448
3483
  }, w = () => {
3449
3484
  o.value.exportCSV();
3450
3485
  }, v = (f) => {
3451
3486
  var B;
3452
3487
  s.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((B = f.sortField) == null ? void 0 : B.toString()) ?? "", a("update:tableContext", s.value), a("sort", f);
3453
- }, C = (f) => {
3488
+ }, F = (f) => {
3454
3489
  s.value.filters = f, a("update:tableContext", s.value), a("update:filters", f);
3455
3490
  }, S = (f) => {
3456
3491
  s.value.page = f.page, a("update:tableContext", s.value), a("page", f);
@@ -3460,8 +3495,8 @@ const wa = {
3460
3495
  return W(() => i.filters, (f) => {
3461
3496
  s.value.filters = f, a("update:tableContext", s.value);
3462
3497
  }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (f, B) => (d(), b("div", Fa, [
3463
- m("span", Sa, [
3464
- F(f.$slots, "above-table")
3498
+ m("span", Ca, [
3499
+ C(f.$slots, "above-table")
3465
3500
  ]),
3466
3501
  k(c(We), j({
3467
3502
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
@@ -3473,23 +3508,23 @@ const wa = {
3473
3508
  ref_key: "forgeTable",
3474
3509
  ref: o,
3475
3510
  "data-cy": "table",
3476
- "onUpdate:filters": C,
3511
+ "onUpdate:filters": F,
3477
3512
  onSort: v,
3478
3513
  onPage: S,
3479
3514
  showHeaders: ""
3480
3515
  }), ie({
3481
3516
  empty: g(() => [
3482
- m("div", Ca, [
3483
- m("h5", Ta, $(f.emptyMessage ?? "No items Found."), 1)
3517
+ m("div", Ta, [
3518
+ m("h5", za, $(f.emptyMessage ?? "No items Found."), 1)
3484
3519
  ])
3485
3520
  ]),
3486
3521
  header: g(() => [
3487
3522
  m("div", {
3488
3523
  class: P(i.loading ? "opacity-50" : "")
3489
3524
  }, [
3490
- m("div", za, [
3491
- m("div", Pa, [
3492
- f.paginator && !f.legacyPaginationFooter ? (d(), b("span", ja, [
3525
+ m("div", Pa, [
3526
+ m("div", ja, [
3527
+ f.paginator && !f.legacyPaginationFooter ? (d(), b("span", Ma, [
3493
3528
  k(he, {
3494
3529
  total: p.value,
3495
3530
  "page-sizes": l.value,
@@ -3510,7 +3545,7 @@ const wa = {
3510
3545
  "data-cy": "clear-all"
3511
3546
  }, {
3512
3547
  default: g(() => [
3513
- k(c(M), {
3548
+ k(c(I), {
3514
3549
  icon: "bi:funnel-fill",
3515
3550
  width: "24",
3516
3551
  height: "24"
@@ -3527,7 +3562,7 @@ const wa = {
3527
3562
  "data-cy": "exporter"
3528
3563
  }, {
3529
3564
  default: g(() => [
3530
- k(c(M), {
3565
+ k(c(I), {
3531
3566
  icon: "typcn:export",
3532
3567
  width: "24",
3533
3568
  height: "24"
@@ -3537,20 +3572,20 @@ const wa = {
3537
3572
  _: 1,
3538
3573
  __: [3]
3539
3574
  })) : T("", !0),
3540
- F(f.$slots, "column-customiser")
3575
+ C(f.$slots, "column-customiser")
3541
3576
  ])
3542
3577
  ])
3543
3578
  ], 2)
3544
3579
  ]),
3545
3580
  default: g(() => [
3546
- F(f.$slots, "default")
3581
+ C(f.$slots, "default")
3547
3582
  ]),
3548
3583
  _: 2
3549
3584
  }, [
3550
- L(f.$slots, (D, y) => ({
3585
+ U(f.$slots, (D, y) => ({
3551
3586
  name: y,
3552
3587
  fn: g((O) => [
3553
- F(f.$slots, y, G(Y(O || {})))
3588
+ C(f.$slots, y, G(Y(O || {})))
3554
3589
  ])
3555
3590
  })),
3556
3591
  f.legacyPaginationFooter ? {
@@ -3585,10 +3620,10 @@ const wa = {
3585
3620
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3586
3621
  ]));
3587
3622
  }
3588
- }), Ia = { class: "position-relative" }, Ma = { "data-cy": "above-table-slot" }, Va = { class: "d-flex w-100" }, Da = {
3623
+ }), Ia = { class: "position-relative" }, Va = { "data-cy": "above-table-slot" }, Da = { class: "d-flex w-100" }, Oa = {
3589
3624
  class: "mx-auto",
3590
3625
  "data-cy": "empty-message"
3591
- }, Oa = { class: "d-flex" }, Aa = { class: "d-flex align-items-end mb-2" }, Na = { key: 0 }, Ua = { class: "ms-auto" }, Fo = /* @__PURE__ */ z({
3626
+ }, Aa = { class: "d-flex" }, La = { class: "d-flex align-items-end mb-2" }, Na = { key: 0 }, Ua = { class: "ms-auto" }, Fo = /* @__PURE__ */ z({
3592
3627
  __name: "ForgeTreeTable",
3593
3628
  props: {
3594
3629
  stripedRows: { type: Boolean, default: !1 },
@@ -3649,17 +3684,17 @@ const wa = {
3649
3684
  },
3650
3685
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3651
3686
  setup(e, { emit: t }) {
3652
- const a = e, i = t, o = I([5, 10, 20, 50, 100]), l = I(10), n = I(0), s = I(0), p = I({
3687
+ const a = e, i = t, o = _([5, 10, 20, 50, 100]), l = _(10), n = _(0), s = _(0), p = _({
3653
3688
  filters: a.filters,
3654
3689
  perPage: l.value,
3655
3690
  page: 0,
3656
3691
  sortDirection: "None",
3657
3692
  sortField: "",
3658
3693
  total: a.totalRecords ?? a.value.length
3659
- }), u = _(() => a.totalRecords ?? a.value.length), h = _(() => {
3694
+ }), u = M(() => a.totalRecords ?? a.value.length), h = M(() => {
3660
3695
  const y = Math.ceil(u.value / l.value);
3661
3696
  return `${y} ${ee(y, "page")}`;
3662
- }), r = _(() => ({
3697
+ }), r = M(() => ({
3663
3698
  root: "position-relative",
3664
3699
  table: (y) => ({
3665
3700
  class: [
@@ -3729,7 +3764,7 @@ const wa = {
3729
3764
  },
3730
3765
  0
3731
3766
  );
3732
- }, C = () => {
3767
+ }, F = () => {
3733
3768
  if (a.clearAll)
3734
3769
  a.clearAll();
3735
3770
  else
@@ -3757,8 +3792,8 @@ const wa = {
3757
3792
  n.value = s.value * l.value;
3758
3793
  };
3759
3794
  return (y, O) => (d(), b("div", Ia, [
3760
- m("span", Ma, [
3761
- F(y.$slots, "above-table")
3795
+ m("span", Va, [
3796
+ C(y.$slots, "above-table")
3762
3797
  ]),
3763
3798
  k(c(Ge), j({
3764
3799
  class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
@@ -3775,16 +3810,16 @@ const wa = {
3775
3810
  first: n.value
3776
3811
  }), ie({
3777
3812
  empty: g(() => [
3778
- m("div", Va, [
3779
- m("h5", Da, $(y.emptyMessage ?? "No items Found."), 1)
3813
+ m("div", Da, [
3814
+ m("h5", Oa, $(y.emptyMessage ?? "No items Found."), 1)
3780
3815
  ])
3781
3816
  ]),
3782
3817
  header: g(() => [
3783
3818
  m("div", {
3784
3819
  class: P(a.loading ? "opacity-50" : "")
3785
3820
  }, [
3786
- m("div", Oa, [
3787
- m("div", Aa, [
3821
+ m("div", Aa, [
3822
+ m("div", La, [
3788
3823
  y.paginator && !y.legacyPaginationFooter ? (d(), b("span", Na, [
3789
3824
  k(he, {
3790
3825
  total: u.value,
@@ -3801,11 +3836,11 @@ const wa = {
3801
3836
  y.showClearButton ? (d(), x(c(q), {
3802
3837
  key: 0,
3803
3838
  outlined: "",
3804
- onClick: C,
3839
+ onClick: F,
3805
3840
  "data-cy": "clear-all"
3806
3841
  }, {
3807
3842
  default: g(() => [
3808
- k(c(M), {
3843
+ k(c(I), {
3809
3844
  icon: "bi:funnel-fill",
3810
3845
  width: "24",
3811
3846
  height: "24"
@@ -3815,20 +3850,20 @@ const wa = {
3815
3850
  _: 1,
3816
3851
  __: [3]
3817
3852
  })) : T("", !0),
3818
- F(y.$slots, "column-customiser")
3853
+ C(y.$slots, "column-customiser")
3819
3854
  ])
3820
3855
  ])
3821
3856
  ], 2)
3822
3857
  ]),
3823
3858
  default: g(() => [
3824
- F(y.$slots, "default")
3859
+ C(y.$slots, "default")
3825
3860
  ]),
3826
3861
  _: 2
3827
3862
  }, [
3828
- L(y.$slots, (R, ve) => ({
3863
+ U(y.$slots, (R, ve) => ({
3829
3864
  name: ve,
3830
3865
  fn: g((Be) => [
3831
- F(y.$slots, ve, G(Y(Be || {})))
3866
+ C(y.$slots, ve, G(Y(Be || {})))
3832
3867
  ])
3833
3868
  })),
3834
3869
  y.legacyPaginationFooter ? {
@@ -3863,7 +3898,7 @@ const wa = {
3863
3898
  ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3864
3899
  ]));
3865
3900
  }
3866
- }), La = { class: "d-flex position-relative" }, Ea = { class: "d-flex w-100" }, So = /* @__PURE__ */ z({
3901
+ }), Ea = { class: "d-flex position-relative" }, qa = { class: "d-flex w-100" }, Co = /* @__PURE__ */ z({
3867
3902
  __name: "ForgeFilterHeader",
3868
3903
  props: /* @__PURE__ */ E({
3869
3904
  dataType: {},
@@ -3878,7 +3913,7 @@ const wa = {
3878
3913
  }),
3879
3914
  emits: ["update:modelValue"],
3880
3915
  setup(e) {
3881
- const t = N(e, "modelValue"), a = (o, l) => {
3916
+ const t = L(e, "modelValue"), a = (o, l) => {
3882
3917
  if (!o && typeof o != "boolean" || Array.isArray(o) && o.length === 0)
3883
3918
  return l;
3884
3919
  const n = (s) => {
@@ -3894,7 +3929,7 @@ const wa = {
3894
3929
  };
3895
3930
  return (o, l) => {
3896
3931
  const n = fe, s = q;
3897
- return d(), b("div", La, [
3932
+ return d(), b("div", Ea, [
3898
3933
  o.dataType === "numeric" ? (d(), x(n, j({
3899
3934
  key: 0,
3900
3935
  modelValue: t.value,
@@ -3917,7 +3952,7 @@ const wa = {
3917
3952
  "option-label": o.optionLabel
3918
3953
  }), {
3919
3954
  value: g(({ value: p, placeholder: u }) => [
3920
- m("div", Ea, [
3955
+ m("div", qa, [
3921
3956
  m("span", {
3922
3957
  class: P({ "filter-placeholder": p === null })
3923
3958
  }, $(a(p, u)), 3),
@@ -3928,7 +3963,7 @@ const wa = {
3928
3963
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3929
3964
  }, {
3930
3965
  default: g(() => [
3931
- k(c(M), {
3966
+ k(c(I), {
3932
3967
  icon: "bi:x",
3933
3968
  width: "1rem",
3934
3969
  height: "1rem",
@@ -3963,7 +3998,7 @@ const wa = {
3963
3998
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3964
3999
  }, {
3965
4000
  default: g(() => [
3966
- k(c(M), {
4001
+ k(c(I), {
3967
4002
  icon: "bi:x",
3968
4003
  width: "1rem",
3969
4004
  height: "1rem",
@@ -5114,7 +5149,7 @@ class we {
5114
5149
  }
5115
5150
  }
5116
5151
  Z = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap();
5117
- const qa = new we(ue, ce)._freeze();
5152
+ const Ra = new we(ue, ce)._freeze();
5118
5153
  function ke(e, t, a, i) {
5119
5154
  const o = t.flatMap((l) => l.file);
5120
5155
  return t = t.map((l) => ({ ...l, status: l.status == "Duplicate" ? "Not Uploaded" : l.status })), e.forEach((l) => {
@@ -5127,7 +5162,7 @@ function ke(e, t, a, i) {
5127
5162
  })) : t[n].status = "Duplicate";
5128
5163
  }), t;
5129
5164
  }
5130
- async function Ra(e, t) {
5165
+ async function Ha(e, t) {
5131
5166
  if (e === "Uploaded" && t !== null)
5132
5167
  try {
5133
5168
  await new ge(t).delete();
@@ -5150,20 +5185,20 @@ function me(e, t = !0, a = 1) {
5150
5185
  while (Math.round(Math.abs(e) * n) / n >= i && l < o.length - 1);
5151
5186
  return e.toFixed(a) + " " + o[l];
5152
5187
  }
5153
- function Ha(e) {
5188
+ function Wa(e) {
5154
5189
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
5155
5190
  }
5156
- function Wa(e) {
5191
+ function Ga(e) {
5157
5192
  return URL.createObjectURL(e);
5158
5193
  }
5159
- function Ga() {
5194
+ function Ya() {
5160
5195
  const e = new we(ue, ce);
5161
5196
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
5162
5197
  }
5163
- const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disabled", "multiple"], Ka = {
5198
+ const Ja = { class: "d-flex justify-content-between" }, Ka = ["accept", "disabled", "multiple"], Za = {
5164
5199
  class: "text-break accepted-file-types-container",
5165
5200
  id: "accepted-file-types-overlay"
5166
- }, Za = /* @__PURE__ */ z({
5201
+ }, Xa = /* @__PURE__ */ z({
5167
5202
  __name: "UploadButton",
5168
5203
  props: /* @__PURE__ */ E({
5169
5204
  acceptedFileTypes: {},
@@ -5176,13 +5211,13 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5176
5211
  }),
5177
5212
  emits: ["update:modelValue"],
5178
5213
  setup(e) {
5179
- const t = N(e, "modelValue"), a = I(), i = (n) => a.value.toggle(n), o = _(() => e.maxFileInput <= t.value.length), l = (n) => {
5214
+ const t = L(e, "modelValue"), a = _(), i = (n) => a.value.toggle(n), o = M(() => e.maxFileInput <= t.value.length), l = (n) => {
5180
5215
  t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
5181
5216
  };
5182
5217
  return (n, s) => {
5183
5218
  const p = q;
5184
- return d(), b("div", Ya, [
5185
- F(n.$slots, "message"),
5219
+ return d(), b("div", Ja, [
5220
+ C(n.$slots, "message"),
5186
5221
  m("div", null, [
5187
5222
  m("input", {
5188
5223
  id: "file-input",
@@ -5192,14 +5227,14 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5192
5227
  disabled: o.value,
5193
5228
  multiple: n.maxFileInput > 1,
5194
5229
  onInput: s[0] || (s[0] = (u) => l([...u.target.files]))
5195
- }, null, 40, Ja),
5230
+ }, null, 40, Ka),
5196
5231
  m("label", {
5197
5232
  class: P([{ disabled: o.value }, "btn btn-primary"]),
5198
5233
  id: "file-input-button",
5199
5234
  for: "file-input"
5200
5235
  }, [
5201
- F(n.$slots, "button-content", {}, () => [
5202
- k(c(M), {
5236
+ C(n.$slots, "button-content", {}, () => [
5237
+ k(c(I), {
5203
5238
  icon: "bi:upload",
5204
5239
  class: "me-2",
5205
5240
  height: "20px",
@@ -5227,21 +5262,21 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5227
5262
  ref: a
5228
5263
  }, {
5229
5264
  default: g(() => [
5230
- m("div", Ka, $(n.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
5265
+ m("div", Za, $(n.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
5231
5266
  ]),
5232
5267
  _: 1
5233
5268
  }, 512)
5234
5269
  ]);
5235
5270
  };
5236
5271
  }
5237
- }), Xa = {
5272
+ }), Qa = {
5238
5273
  key: 0,
5239
5274
  class: "py-4 px-3",
5240
5275
  id: "placeholder-message"
5241
- }, Qa = {
5276
+ }, ei = {
5242
5277
  key: 1,
5243
5278
  class: "d-flex flex-column"
5244
- }, ei = /* @__PURE__ */ z({
5279
+ }, ti = /* @__PURE__ */ z({
5245
5280
  __name: "DragDropArea",
5246
5281
  props: /* @__PURE__ */ E({
5247
5282
  maxFileInput: {},
@@ -5253,7 +5288,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5253
5288
  }),
5254
5289
  emits: ["update:modelValue"],
5255
5290
  setup(e) {
5256
- const t = N(e, "modelValue"), a = I(!1), i = _(() => e.maxFileInput <= t.value.length), o = (l) => {
5291
+ const t = L(e, "modelValue"), a = _(!1), i = M(() => e.maxFileInput <= t.value.length), o = (l) => {
5257
5292
  a.value = !1, l.dataTransfer.files.length > e.maxFileInput || i.value ? l.preventDefault() : t.value = ke([...l.dataTransfer.files], t.value, e.acceptedFileTypes.map((n) => n.fileType), e.maxFileSize);
5258
5293
  };
5259
5294
  return (l, n) => (d(), b("div", {
@@ -5263,20 +5298,20 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5263
5298
  onDragover: n[1] || (n[1] = Q((s) => a.value = !0, ["prevent"])),
5264
5299
  onDrop: Q(o, ["prevent"])
5265
5300
  }, [
5266
- t.value.length === 0 ? (d(), b("div", Xa, [
5267
- k(c(M), {
5301
+ t.value.length === 0 ? (d(), b("div", Qa, [
5302
+ k(c(I), {
5268
5303
  icon: "bi:upload",
5269
5304
  class: "me-2",
5270
5305
  height: "20px",
5271
5306
  width: "20px"
5272
5307
  }),
5273
5308
  n[2] || (n[2] = V(" Drag and drop files here "))
5274
- ])) : (d(), b("div", Qa, [
5275
- F(l.$slots, "default")
5309
+ ])) : (d(), b("div", ei, [
5310
+ C(l.$slots, "default")
5276
5311
  ]))
5277
5312
  ], 34));
5278
5313
  }
5279
- }), ti = { class: "d-flex align-items-center me-2" }, ai = /* @__PURE__ */ z({
5314
+ }), ai = { class: "d-flex align-items-center me-2" }, ii = /* @__PURE__ */ z({
5280
5315
  __name: "UploadStatus",
5281
5316
  props: {
5282
5317
  fileSize: {},
@@ -5285,7 +5320,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5285
5320
  uploadStatus: {}
5286
5321
  },
5287
5322
  setup(e) {
5288
- const t = e, a = _(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = _(() => {
5323
+ const t = e, a = M(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = M(() => {
5289
5324
  switch (t.uploadStatus) {
5290
5325
  case "InvalidFileType":
5291
5326
  return "Upload Failed: File type is not accepted.";
@@ -5303,7 +5338,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5303
5338
  });
5304
5339
  return (o, l) => {
5305
5340
  const n = pe;
5306
- return d(), b("div", ti, [
5341
+ return d(), b("div", ai, [
5307
5342
  t.uploadStatus === "Uploading" ? (d(), x(n, {
5308
5343
  key: 0,
5309
5344
  "in-line": ""
@@ -5322,16 +5357,16 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5322
5357
  ]);
5323
5358
  };
5324
5359
  }
5325
- }), ii = ["data-cy"], oi = { class: "ms-3 d-flex flex-column" }, li = {
5360
+ }), oi = ["data-cy"], li = { class: "ms-3 d-flex flex-column" }, ni = {
5326
5361
  key: 1,
5327
5362
  id: "file-name"
5328
- }, ni = {
5363
+ }, si = {
5329
5364
  class: "text-black-50",
5330
5365
  id: "file-type"
5331
- }, si = {
5366
+ }, ri = {
5332
5367
  class: "text-black-50",
5333
5368
  id: "file-size"
5334
- }, ri = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, di = /* @__PURE__ */ z({
5369
+ }, di = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, pi = /* @__PURE__ */ z({
5335
5370
  __name: "FileInfo",
5336
5371
  props: /* @__PURE__ */ E({
5337
5372
  editableFileName: { type: Boolean },
@@ -5350,10 +5385,10 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5350
5385
  }),
5351
5386
  emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5352
5387
  setup(e, { emit: t }) {
5353
- const a = N(e, "file"), i = N(e, "blobFileName"), o = N(e, "uploadStatus"), l = t, n = I(a.value.name), s = I(""), p = I(0), u = I(), h = _(() => e.acceptedFileTypes.some(({ fileType: f }) => f === a.value.type)), r = _(() => a.value.size <= e.maxFileSize), w = _(() => a.value.type ? a.value.type : Ga().getType(a.value.name)), v = () => {
5354
- n.value != null && (C(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5355
- }, C = () => {
5356
- let f = n.value.split("."), B = qa.getExtension(w.value), D = n.value.split(".").pop();
5388
+ const a = L(e, "file"), i = L(e, "blobFileName"), o = L(e, "uploadStatus"), l = t, n = _(a.value.name), s = _(""), p = _(0), u = _(), h = M(() => e.acceptedFileTypes.some(({ fileType: f }) => f === a.value.type)), r = M(() => a.value.size <= e.maxFileSize), w = M(() => a.value.type ? a.value.type : Ya().getType(a.value.name)), v = () => {
5389
+ n.value != null && (F(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5390
+ }, F = () => {
5391
+ let f = n.value.split("."), B = Ra.getExtension(w.value), D = n.value.split(".").pop();
5357
5392
  f.length === 1 ? D && D.length > 0 && (n.value = [n.value, B].join(".")) : f.length > 1 && D !== B && (n.value = n.value.replace(D, B));
5358
5393
  }, S = async () => {
5359
5394
  if (!h.value || !r.value) {
@@ -5386,7 +5421,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5386
5421
  o.value = "Failed";
5387
5422
  }
5388
5423
  }, A = async () => {
5389
- await Ra(o.value, s.value), l("deleted", a.value);
5424
+ await Ha(o.value, s.value), l("deleted", a.value);
5390
5425
  };
5391
5426
  return ne(() => {
5392
5427
  e.autoUploadToBlob && o.value != "Uploaded" && S();
@@ -5397,15 +5432,15 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5397
5432
  "data-cy": `file-info-${a.value.name}`
5398
5433
  }, [
5399
5434
  m("div", null, [
5400
- c(Ha)(a.value.type) ? (d(), x(c(Ye), {
5435
+ c(Wa)(a.value.type) ? (d(), x(c(Ye), {
5401
5436
  key: 0,
5402
5437
  id: "thumbnail-image",
5403
5438
  "image-class": "image-file-thumbnail border",
5404
- src: c(Wa)(a.value),
5439
+ src: c(Ga)(a.value),
5405
5440
  alt: a.value.name,
5406
5441
  width: "75px",
5407
5442
  preview: ""
5408
- }, null, 8, ["src", "alt"])) : (d(), x(c(M), {
5443
+ }, null, 8, ["src", "alt"])) : (d(), x(c(I), {
5409
5444
  key: 1,
5410
5445
  id: "file-earmark",
5411
5446
  icon: "bi:file-earmark",
@@ -5413,9 +5448,9 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5413
5448
  width: "75px"
5414
5449
  }))
5415
5450
  ]),
5416
- m("div", oi, [
5451
+ m("div", li, [
5417
5452
  m("div", null, [
5418
- f.editableFileName ? (d(), x(Kt, {
5453
+ f.editableFileName ? (d(), x(Zt, {
5419
5454
  key: 0,
5420
5455
  id: "edit-file-name",
5421
5456
  modelValue: n.value,
@@ -5423,13 +5458,13 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5423
5458
  rules: f.customFileNameRules,
5424
5459
  name: a.value.name,
5425
5460
  "complete-action": v
5426
- }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", li, $(n.value), 1))
5461
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", ni, $(n.value), 1))
5427
5462
  ]),
5428
- m("span", ni, "File type: " + $(a.value.type.split("/").pop()), 1),
5429
- m("span", si, "File size: " + $(c(me)(a.value.size)), 1)
5463
+ m("span", si, "File type: " + $(a.value.type.split("/").pop()), 1),
5464
+ m("span", ri, "File size: " + $(c(me)(a.value.size)), 1)
5430
5465
  ]),
5431
- m("div", ri, [
5432
- (d(), x(ai, {
5466
+ m("div", di, [
5467
+ (d(), x(ii, {
5433
5468
  key: o.value,
5434
5469
  "file-size": a.value.size,
5435
5470
  "upload-status": o.value,
@@ -5442,7 +5477,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5442
5477
  onClick: S
5443
5478
  }, {
5444
5479
  default: g(() => [
5445
- k(c(M), {
5480
+ k(c(I), {
5446
5481
  icon: o.value === "Not Uploaded" || o.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
5447
5482
  }, null, 8, ["icon"])
5448
5483
  ]),
@@ -5454,7 +5489,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5454
5489
  onClick: B[1] || (B[1] = (y) => u.value.abort())
5455
5490
  }, {
5456
5491
  default: g(() => [
5457
- k(c(M), { icon: "bi:x-circle-fill" })
5492
+ k(c(I), { icon: "bi:x-circle-fill" })
5458
5493
  ]),
5459
5494
  _: 1
5460
5495
  })) : (d(), x(D, {
@@ -5464,27 +5499,27 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5464
5499
  id: "delete-button"
5465
5500
  }, {
5466
5501
  default: g(() => [
5467
- k(c(M), { icon: "bi:trash" })
5502
+ k(c(I), { icon: "bi:trash" })
5468
5503
  ]),
5469
5504
  _: 1
5470
5505
  }))
5471
5506
  ])
5472
- ], 8, ii);
5507
+ ], 8, oi);
5473
5508
  };
5474
5509
  }
5475
- }), pi = { class: "d-flex justify-content-end mt-1 gap-1" }, ci = { id: "max-file-size" }, ui = { id: "max-file-input" }, mi = /* @__PURE__ */ z({
5510
+ }), ci = { class: "d-flex justify-content-end mt-1 gap-1" }, ui = { id: "max-file-size" }, mi = { id: "max-file-input" }, vi = /* @__PURE__ */ z({
5476
5511
  __name: "FileInputInfo",
5477
5512
  props: {
5478
5513
  maxFileSize: {},
5479
5514
  maxFileInput: {}
5480
5515
  },
5481
5516
  setup(e) {
5482
- return (t, a) => (d(), b("div", pi, [
5483
- m("div", ci, "Max file size: " + $(c(me)(t.maxFileSize)), 1),
5484
- m("div", ui, "| Max file count: " + $(t.maxFileInput), 1)
5517
+ return (t, a) => (d(), b("div", ci, [
5518
+ m("div", ui, "Max file size: " + $(c(me)(t.maxFileSize)), 1),
5519
+ m("div", mi, "| Max file count: " + $(t.maxFileInput), 1)
5485
5520
  ]));
5486
5521
  }
5487
- }), vi = { "data-cy": "file-uploader" }, fi = { key: 1 }, Co = /* @__PURE__ */ z({
5522
+ }), fi = { "data-cy": "file-uploader" }, gi = { key: 1 }, To = /* @__PURE__ */ z({
5488
5523
  __name: "ForgeFileUploader",
5489
5524
  props: /* @__PURE__ */ E({
5490
5525
  acceptedFileTypes: {},
@@ -5502,14 +5537,14 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5502
5537
  }),
5503
5538
  emits: ["update:modelValue"],
5504
5539
  setup(e) {
5505
- const t = N(e, "modelValue");
5540
+ const t = L(e, "modelValue");
5506
5541
  W(t, (o, l) => {
5507
5542
  o.length > a.maxFileInput && (o.length = a.maxFileInput);
5508
5543
  }, { deep: 2 });
5509
5544
  const a = e, i = (o) => {
5510
5545
  t.value = t.value.filter((l) => l.file != o);
5511
5546
  };
5512
- return (o, l) => (d(), b("div", vi, [
5547
+ return (o, l) => (d(), b("div", fi, [
5513
5548
  t.value.length == o.maxFileInput && a.maxFileWarning != null ? (d(), x(re, {
5514
5549
  key: 0,
5515
5550
  id: "max-files-alert",
@@ -5520,12 +5555,12 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5520
5555
  ]),
5521
5556
  _: 1
5522
5557
  })) : T("", !0),
5523
- k(Za, j(a, {
5558
+ k(Xa, j(a, {
5524
5559
  modelValue: t.value,
5525
5560
  "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n)
5526
5561
  }), null, 16, ["modelValue"]),
5527
- o.showDragDropArea ? (d(), b("div", fi, [
5528
- k(ei, {
5562
+ o.showDragDropArea ? (d(), b("div", gi, [
5563
+ k(ti, {
5529
5564
  "max-file-input": a.maxFileInput,
5530
5565
  "max-file-size": a.maxFileSize,
5531
5566
  "accepted-file-types": a.acceptedFileTypes,
@@ -5533,8 +5568,8 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5533
5568
  "onUpdate:modelValue": l[1] || (l[1] = (n) => t.value = n)
5534
5569
  }, {
5535
5570
  default: g(() => [
5536
- (d(!0), b(U, null, L(t.value, ({ file: n }, s) => (d(), b("div", null, [
5537
- (d(), x(di, j({
5571
+ (d(!0), b(N, null, U(t.value, ({ file: n }, s) => (d(), b("div", null, [
5572
+ (d(), x(pi, j({
5538
5573
  key: n.name,
5539
5574
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5540
5575
  file: t.value[s].file,
@@ -5548,14 +5583,14 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5548
5583
  ]),
5549
5584
  _: 1
5550
5585
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5551
- k(mi, {
5586
+ k(vi, {
5552
5587
  "max-file-size": a.maxFileSize,
5553
5588
  "max-file-input": o.maxFileInput
5554
5589
  }, null, 8, ["max-file-size", "max-file-input"])
5555
5590
  ])) : T("", !0)
5556
5591
  ]));
5557
5592
  }
5558
- }), gi = { class: "d-flex" }, bi = { class: "me-3" }, yi = { class: "ms-2" }, xi = { class: "d-flex flex-column w-100" }, To = /* @__PURE__ */ z({
5593
+ }), bi = { class: "d-flex" }, yi = { class: "me-3" }, xi = { class: "ms-2" }, hi = { class: "d-flex flex-column w-100" }, zo = /* @__PURE__ */ z({
5559
5594
  __name: "ForgeColumnCustomiser",
5560
5595
  props: {
5561
5596
  modelValue: { required: !0 },
@@ -5563,22 +5598,22 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5563
5598
  },
5564
5599
  emits: ["update:modelValue"],
5565
5600
  setup(e) {
5566
- const t = N(e, "modelValue"), a = I(), i = I(!1), o = (l) => {
5601
+ const t = L(e, "modelValue"), a = _(), i = _(!1), o = (l) => {
5567
5602
  a.value.toggle(l);
5568
5603
  };
5569
- return (l, n) => (d(), b(U, null, [
5604
+ return (l, n) => (d(), b(N, null, [
5570
5605
  k(c(q), {
5571
5606
  onClick: o,
5572
5607
  class: "ms-2"
5573
5608
  }, {
5574
5609
  default: g(() => [
5575
- m("div", gi, [
5576
- m("div", bi, [
5577
- k(c(M), { icon: "bi:layout-three-columns" })
5610
+ m("div", bi, [
5611
+ m("div", yi, [
5612
+ k(c(I), { icon: "bi:layout-three-columns" })
5578
5613
  ]),
5579
5614
  V(" Columns (" + $(t.value.filter((s) => s.selected).length ?? 0) + "/" + $(t.value.length ?? 0) + ") ", 1),
5580
- m("div", yi, [
5581
- k(c(M), {
5615
+ m("div", xi, [
5616
+ k(c(I), {
5582
5617
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5583
5618
  }, null, 8, ["icon"])
5584
5619
  ])
@@ -5594,8 +5629,8 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5594
5629
  onShow: n[1] || (n[1] = () => i.value = !0)
5595
5630
  }, {
5596
5631
  default: g(() => [
5597
- m("div", xi, [
5598
- (d(!0), b(U, null, L(t.value, (s, p) => (d(), b("div", {
5632
+ m("div", hi, [
5633
+ (d(!0), b(N, null, U(t.value, (s, p) => (d(), b("div", {
5599
5634
  class: P(["d-flex cursor-pointer", {
5600
5635
  "border-top": p !== 0,
5601
5636
  "py-1": p !== 0 && t.value.length - 1 !== p,
@@ -5618,19 +5653,19 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5618
5653
  }, 512)
5619
5654
  ], 64));
5620
5655
  }
5621
- }), zo = /* @__PURE__ */ z({
5656
+ }), Po = /* @__PURE__ */ z({
5622
5657
  __name: "ForgePanel",
5623
5658
  setup(e) {
5624
5659
  return (t, a) => {
5625
5660
  const i = Je;
5626
5661
  return d(), x(i, G(Y({ ...t.$attrs })), ie({
5627
5662
  toggleicon: g(({ collapsed: o }) => [
5628
- o ? (d(), x(c(M), {
5663
+ o ? (d(), x(c(I), {
5629
5664
  key: 0,
5630
5665
  "data-cy": "message-icon",
5631
5666
  icon: "bi:chevron-down"
5632
5667
  })) : T("", !0),
5633
- o ? T("", !0) : (d(), x(c(M), {
5668
+ o ? T("", !0) : (d(), x(c(I), {
5634
5669
  key: 1,
5635
5670
  "data-cy": "message-icon",
5636
5671
  icon: "bi:chevron-up"
@@ -5638,22 +5673,22 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5638
5673
  ]),
5639
5674
  _: 2
5640
5675
  }, [
5641
- L(t.$slots, (o, l) => ({
5676
+ U(t.$slots, (o, l) => ({
5642
5677
  name: l,
5643
5678
  fn: g((n) => [
5644
- F(t.$slots, l, G(Y(n)))
5679
+ C(t.$slots, l, G(Y(n)))
5645
5680
  ])
5646
5681
  }))
5647
5682
  ]), 1040);
5648
5683
  };
5649
5684
  }
5650
- }), hi = /* @__PURE__ */ z({
5685
+ }), wi = /* @__PURE__ */ z({
5651
5686
  __name: "ForgeToggleButton",
5652
5687
  props: {
5653
5688
  severity: { default: "primary" }
5654
5689
  },
5655
5690
  setup(e) {
5656
- const t = e, a = _(() => ({
5691
+ const t = e, a = M(() => ({
5657
5692
  root: (i) => ({
5658
5693
  class: [
5659
5694
  "btn",
@@ -5679,10 +5714,10 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5679
5714
  pt: a.value
5680
5715
  }), null, 16, ["severity", "pt"]));
5681
5716
  }
5682
- }), wi = {
5717
+ }), ki = {
5683
5718
  class: "btn-group",
5684
5719
  "data-cy": "forge-select-button"
5685
- }, Po = /* @__PURE__ */ z({
5720
+ }, jo = /* @__PURE__ */ z({
5686
5721
  __name: "ForgeSelectButton",
5687
5722
  props: /* @__PURE__ */ E({
5688
5723
  options: {},
@@ -5695,7 +5730,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5695
5730
  }),
5696
5731
  emits: ["update:modelValue"],
5697
5732
  setup(e) {
5698
- const t = e, a = N(e, "modelValue"), i = (l) => {
5733
+ const t = e, a = L(e, "modelValue"), i = (l) => {
5699
5734
  var n;
5700
5735
  return t.multiple ? (n = a == null ? void 0 : a.value) == null ? void 0 : n.includes(l.value) : a.value === l.value;
5701
5736
  }, o = (l) => {
@@ -5712,8 +5747,8 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5712
5747
  } else
5713
5748
  a.value = a.value === l.value && t.allowEmpty ? null : l.value;
5714
5749
  };
5715
- return (l, n) => (d(), b("div", wi, [
5716
- (d(!0), b(U, null, L(l.options, (s, p) => (d(), x(hi, {
5750
+ return (l, n) => (d(), b("div", ki, [
5751
+ (d(!0), b(N, null, U(l.options, (s, p) => (d(), x(wi, {
5717
5752
  key: p,
5718
5753
  onLabel: s.label,
5719
5754
  offLabel: s.label,
@@ -5726,10 +5761,10 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5726
5761
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5727
5762
  ]));
5728
5763
  }
5729
- }), jo = /* @__PURE__ */ z({
5764
+ }), Mo = /* @__PURE__ */ z({
5730
5765
  __name: "ForgeConfirmPopup",
5731
5766
  setup(e) {
5732
- const t = _(() => ({
5767
+ const t = M(() => ({
5733
5768
  root: [
5734
5769
  "card w-fit-content position-absolute"
5735
5770
  ],
@@ -5742,15 +5777,15 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5742
5777
  }));
5743
5778
  return (a, i) => (d(), x(c(Ze), j({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5744
5779
  default: g(() => [
5745
- (d(!0), b(U, null, L(a.$slots, (o, l) => F(a.$slots, l, { slot: l })), 256))
5780
+ (d(!0), b(N, null, U(a.$slots, (o, l) => C(a.$slots, l, { slot: l })), 256))
5746
5781
  ]),
5747
5782
  _: 3
5748
5783
  }, 16, ["pt"]));
5749
5784
  }
5750
- }), ki = {
5785
+ }), Bi = {
5751
5786
  key: 0,
5752
5787
  class: "mb-1"
5753
- }, Bi = {
5788
+ }, $i = {
5754
5789
  key: 0,
5755
5790
  class: "mb-1"
5756
5791
  }, _o = /* @__PURE__ */ z({
@@ -5788,16 +5823,20 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5788
5823
  unstyled: { type: Boolean }
5789
5824
  }, {
5790
5825
  modelValue: {},
5791
- modelModifiers: {}
5826
+ modelModifiers: {},
5827
+ targetList: { default: [] },
5828
+ targetListModifiers: {},
5829
+ sourceList: { default: [] },
5830
+ sourceListModifiers: {}
5792
5831
  }),
5793
- emits: ["update:modelValue"],
5832
+ emits: ["update:modelValue", "update:targetList", "update:sourceList"],
5794
5833
  setup(e) {
5795
- const t = e, a = N(e, "modelValue"), i = I([]), o = I([]), l = I(null), n = I(null), s = (v) => {
5796
- const { items: C } = v;
5797
- i.value = [...i.value, ...C], o.value = o.value.filter((S) => !C.includes(S));
5834
+ const t = e, a = L(e, "modelValue"), i = L(e, "targetList"), o = L(e, "sourceList"), l = _(null), n = _(null), s = (v) => {
5835
+ const { items: F } = v;
5836
+ i.value.push(...F), o.value = o.value.filter((S) => !F.includes(S));
5798
5837
  }, p = (v) => {
5799
- const { items: C } = v;
5800
- o.value = o.value.push(...C), i.value = i.value.filter((S) => !C.includes(S));
5838
+ const { items: F } = v;
5839
+ o.value.push(...F), i.value = i.value.filter((S) => !F.includes(S));
5801
5840
  }, u = () => {
5802
5841
  o.value = [.../* @__PURE__ */ new Set([...o.value, ...a.value[1]])], i.value = i.value.filter((v) => !a.value[1].includes(v));
5803
5842
  }, h = () => {
@@ -5810,41 +5849,41 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5810
5849
  });
5811
5850
  const r = () => {
5812
5851
  var S;
5813
- const v = t.filterBy, C = l.value ? o.value.filter((A) => {
5852
+ const v = t.filterBy, F = l.value ? o.value.filter((A) => {
5814
5853
  var f;
5815
5854
  return A[v].toLowerCase().includes((f = l.value) == null ? void 0 : f.toLowerCase());
5816
5855
  }) : [...o.value];
5817
- (S = a.value) == null || S.splice(0, 1, C);
5856
+ (S = a.value) == null || S.splice(0, 1, F);
5818
5857
  }, w = () => {
5819
5858
  var S;
5820
- const v = t.filterBy, C = n.value ? i.value.filter((A) => {
5859
+ const v = t.filterBy, F = n.value ? i.value.filter((A) => {
5821
5860
  var f;
5822
5861
  return A[v].toLowerCase().includes((f = n.value) == null ? void 0 : f.toLowerCase());
5823
5862
  }) : [...i.value];
5824
- (S = a.value) == null || S.splice(1, 1, C);
5863
+ (S = a.value) == null || S.splice(1, 1, F);
5825
5864
  };
5826
5865
  return W(
5827
5866
  () => a.value,
5828
5867
  (v) => {
5829
- v && (i.value = v[1].length > 0 ? [...v[1]] : [], o.value = v[0].length > 0 ? [...v[0]] : [], a.value.splice(0, 1, o.value), a.value.splice(1, 1, i.value));
5868
+ var F, S;
5869
+ v && (i.value = v[1].length > 0 ? [...v[1]] : [], o.value = v[0].length > 0 ? [...v[0]] : [], (F = a.value) == null || F.splice(0, 1, o.value), (S = a.value) == null || S.splice(1, 1, i.value));
5830
5870
  },
5831
5871
  { once: !0 }
5832
- ), (v, C) => (d(), x(c(Xe), j({
5872
+ ), (v, F) => (d(), x(c(Xe), j({
5833
5873
  modelValue: a.value,
5834
- "onUpdate:modelValue": C[2] || (C[2] = (S) => a.value = S)
5874
+ "onUpdate:modelValue": F[2] || (F[2] = (S) => a.value = S)
5835
5875
  }, { ...v.$attrs, ...t }, {
5836
5876
  onMoveAllToSource: u,
5837
5877
  onMoveAllToTarget: h,
5838
- onMoveToTarget: C[3] || (C[3] = (S) => s(S)),
5839
- onMoveToSource: C[4] || (C[4] = (S) => p(S)),
5840
- style: { height: "14rem" }
5878
+ onMoveToTarget: F[3] || (F[3] = (S) => s(S)),
5879
+ onMoveToSource: F[4] || (F[4] = (S) => p(S))
5841
5880
  }), {
5842
5881
  sourceheader: g(() => [
5843
- v.sourceTitle ? (d(), b("div", ki, $(v.sourceTitle), 1)) : T("", !0),
5882
+ v.sourceTitle ? (d(), b("div", Bi, $(v.sourceTitle), 1)) : T("", !0),
5844
5883
  k(c(ae), {
5845
5884
  modelValue: l.value,
5846
5885
  "onUpdate:modelValue": [
5847
- C[0] || (C[0] = (S) => l.value = S),
5886
+ F[0] || (F[0] = (S) => l.value = S),
5848
5887
  r
5849
5888
  ],
5850
5889
  class: "mb-2",
@@ -5853,11 +5892,11 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5853
5892
  }, null, 8, ["modelValue"])
5854
5893
  ]),
5855
5894
  targetheader: g(() => [
5856
- v.targetTitle ? (d(), b("div", Bi, $(v.targetTitle), 1)) : T("", !0),
5895
+ v.targetTitle ? (d(), b("div", $i, $(v.targetTitle), 1)) : T("", !0),
5857
5896
  k(c(ae), {
5858
5897
  modelValue: n.value,
5859
5898
  "onUpdate:modelValue": [
5860
- C[1] || (C[1] = (S) => n.value = S),
5899
+ F[1] || (F[1] = (S) => n.value = S),
5861
5900
  w
5862
5901
  ],
5863
5902
  class: "mb-2",
@@ -5882,40 +5921,40 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5882
5921
  }
5883
5922
  });
5884
5923
  export {
5885
- lo as Bootstrap_PT,
5886
- no as ForgeActionButton,
5924
+ no as Bootstrap_PT,
5925
+ so as ForgeActionButton,
5887
5926
  re as ForgeAlert,
5888
- so as ForgeAutoComplete,
5927
+ ro as ForgeAutoComplete,
5889
5928
  ye as ForgeCheckbox,
5890
- yo as ForgeChip,
5891
- To as ForgeColumnCustomiser,
5892
- jo as ForgeConfirmPopup,
5929
+ xo as ForgeChip,
5930
+ zo as ForgeColumnCustomiser,
5931
+ Mo as ForgeConfirmPopup,
5893
5932
  xe as ForgeDatepicker,
5894
- Co as ForgeFileUploader,
5895
- So as ForgeFilterHeader,
5896
- go as ForgeForm,
5897
- bo as ForgeFormField,
5898
- Kt as ForgeInlineEditor,
5899
- ro as ForgeLink,
5933
+ To as ForgeFileUploader,
5934
+ Co as ForgeFilterHeader,
5935
+ bo as ForgeForm,
5936
+ yo as ForgeFormField,
5937
+ Zt as ForgeInlineEditor,
5938
+ po as ForgeLink,
5900
5939
  pe as ForgeLoader,
5901
- uo as ForgeModal,
5902
- aa as ForgeMultiSelectPreview,
5903
- mo as ForgeNavbar,
5904
- vo as ForgePageHeader,
5905
- zo as ForgePanel,
5940
+ mo as ForgeModal,
5941
+ ia as ForgeMultiSelectPreview,
5942
+ vo as ForgeNavbar,
5943
+ fo as ForgePageHeader,
5944
+ Po as ForgePanel,
5906
5945
  _o as ForgePickList,
5907
- xo as ForgeProgressBar,
5908
- fo as ForgeRemainingCharacters,
5946
+ ho as ForgeProgressBar,
5947
+ go as ForgeRemainingCharacters,
5909
5948
  Io as ForgeResolver,
5910
- ho as ForgeScratchpad,
5911
- Po as ForgeSelectButton,
5912
- wo as ForgeStatWidget,
5913
- ko as ForgeStepper,
5914
- $o as ForgeTable,
5915
- Bo as ForgeTile,
5916
- hi as ForgeToggleButton,
5949
+ wo as ForgeScratchpad,
5950
+ jo as ForgeSelectButton,
5951
+ ko as ForgeStatWidget,
5952
+ Bo as ForgeStepper,
5953
+ So as ForgeTable,
5954
+ $o as ForgeTile,
5955
+ wi as ForgeToggleButton,
5917
5956
  Fo as ForgeTreeTable,
5918
- co as convertToMultiSelectOption,
5919
- po as enumToMultiSelectList,
5957
+ uo as convertToMultiSelectOption,
5958
+ co as enumToMultiSelectList,
5920
5959
  Ut as parseError
5921
5960
  };