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

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 S, createVNode as k, unref as c, createElementVNode as m, normalizeClass as P, createCommentVNode as T, ref as M, createElementBlock as b, Fragment as U, mergeProps as _, renderList as L, mergeModels as E, useModel as N, computed as j, 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
- import je from "primevue/checkbox";
7
+ import _e 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 je from "primevue/progressspinner";
10
+ import Me 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";
@@ -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"]
@@ -1110,7 +1119,7 @@ const Qe = {
1110
1119
  pcFilterContainer: { root: "dropdown-item" },
1111
1120
  filterIcon: "d-none"
1112
1121
  }
1113
- }, jt = {
1122
+ }, _t = {
1114
1123
  treeSelect: {
1115
1124
  root: ({ props: e }) => ({
1116
1125
  class: [
@@ -1158,7 +1167,7 @@ const Qe = {
1158
1167
  filterIcon: "d-none"
1159
1168
  }
1160
1169
  }
1161
- }, _t = {
1170
+ }, jt = {
1162
1171
  fieldset: {
1163
1172
  root: () => ({
1164
1173
  class: [
@@ -1184,7 +1193,7 @@ const Qe = {
1184
1193
  ]
1185
1194
  })
1186
1195
  }
1187
- }, It = {
1196
+ }, Mt = {
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",
@@ -1283,7 +1292,7 @@ const Qe = {
1283
1292
  ...Qe,
1284
1293
  ...ht,
1285
1294
  ...et,
1286
- ...St,
1295
+ ...Ft,
1287
1296
  ...tt,
1288
1297
  ...dt,
1289
1298
  ...it,
@@ -1300,7 +1309,7 @@ const Qe = {
1300
1309
  ...wt,
1301
1310
  ...ct,
1302
1311
  ...bt,
1303
- ...Ft,
1312
+ ...St,
1304
1313
  ...yt,
1305
1314
  ...Bt,
1306
1315
  ...$t,
@@ -1310,11 +1319,11 @@ const Qe = {
1310
1319
  ...vt,
1311
1320
  ...zt,
1312
1321
  ...rt,
1313
- ..._t,
1314
1322
  ...jt,
1323
+ ..._t,
1315
1324
  ...Pt,
1316
- ...It,
1317
1325
  ...Mt,
1326
+ ...It,
1318
1327
  ...Vt,
1319
1328
  ...Dt,
1320
1329
  directives: {
@@ -1346,7 +1355,7 @@ const Qe = {
1346
1355
  m("div", {
1347
1356
  class: P(t.icon ? "me-2 pe-1" : "")
1348
1357
  }, [
1349
- t.icon ? (d(), x(c(M), {
1358
+ t.icon ? (d(), x(c(I), {
1350
1359
  key: 0,
1351
1360
  "data-cy": "message-icon",
1352
1361
  icon: t.icon,
@@ -1356,10 +1365,10 @@ const Qe = {
1356
1365
  ], 2)
1357
1366
  ]),
1358
1367
  closeicon: g(() => [
1359
- k(c(M), { icon: "bi:x" })
1368
+ k(c(I), { icon: "bi:x" })
1360
1369
  ]),
1361
1370
  default: g(() => [
1362
- F(a.$slots, "default")
1371
+ S(a.$slots, "default")
1363
1372
  ]),
1364
1373
  _: 3
1365
1374
  }, 16);
@@ -1374,7 +1383,7 @@ const Qe = {
1374
1383
  params: { default: Array }
1375
1384
  },
1376
1385
  setup(e) {
1377
- const t = I(!1), a = e, i = async () => {
1386
+ const t = M(!1), a = e, i = async () => {
1378
1387
  t.value = !0;
1379
1388
  try {
1380
1389
  await a.action.apply(this, a.params);
@@ -1386,7 +1395,7 @@ const Qe = {
1386
1395
  return (o, l) => {
1387
1396
  const n = q;
1388
1397
  return d(), b(U, null, [
1389
- k(n, j({ ...a, ...o.$attrs }, {
1398
+ k(n, _({ ...a, ...o.$attrs }, {
1390
1399
  loading: t.value,
1391
1400
  disabled: t.value || a.disabled,
1392
1401
  onClick: i
@@ -1398,9 +1407,9 @@ const Qe = {
1398
1407
  }), so = /* @__PURE__ */ z({
1399
1408
  __name: "ForgeAutoComplete",
1400
1409
  setup(e) {
1401
- return (t, a) => (d(), x(c(Pe), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1410
+ return (t, a) => (d(), x(c(Pe), _({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
1402
1411
  default: g(() => [
1403
- (d(!0), b(U, null, L(t.$slots, (i, o) => F(t.$slots, o, { slot: o })), 256))
1412
+ (d(!0), b(U, null, L(t.$slots, (i, o) => S(t.$slots, o, { slot: o })), 256))
1404
1413
  ]),
1405
1414
  _: 3
1406
1415
  }, 16));
@@ -1449,16 +1458,16 @@ const Qe = {
1449
1458
  }
1450
1459
  ), n = (p, u) => {
1451
1460
  (t.disabled || t.readonly) && p.preventDefault(), t.name ? i(u) : a.value = u;
1452
- }, s = _(() => o.value.length > 0);
1461
+ }, s = j(() => o.value.length > 0);
1453
1462
  return (p, u) => {
1454
- const h = je;
1463
+ const h = _e;
1455
1464
  return d(), b("div", Ot, [
1456
- m("div", j({
1465
+ m("div", _({
1457
1466
  class: "d-flex",
1458
1467
  "data-cy": "checkbox-container",
1459
1468
  onClick: u[2] || (u[2] = (r) => n(r, a.value))
1460
1469
  }, { ...p.$attrs }), [
1461
- k(h, j({ ...t }, {
1470
+ k(h, _({ ...t }, {
1462
1471
  binary: "",
1463
1472
  modelValue: a.value,
1464
1473
  "onUpdate:modelValue": u[0] || (u[0] = (r) => a.value = r),
@@ -1471,7 +1480,7 @@ const Qe = {
1471
1480
  onClick: u[1] || (u[1] = (r) => n(r, !a.value)),
1472
1481
  class: P([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
1473
1482
  }, [
1474
- F(p.$slots, "default", {}, () => [
1483
+ S(p.$slots, "default", {}, () => [
1475
1484
  V($(t.label), 1)
1476
1485
  ])
1477
1486
  ], 10, At)
@@ -1492,7 +1501,7 @@ const Qe = {
1492
1501
  inLine: { type: Boolean, default: !1 }
1493
1502
  },
1494
1503
  setup(e) {
1495
- const t = e, a = _(() => ({
1504
+ const t = e, a = j(() => ({
1496
1505
  spin: () => ({
1497
1506
  class: [
1498
1507
  "spinner-border",
@@ -1503,7 +1512,7 @@ const Qe = {
1503
1512
  })
1504
1513
  }));
1505
1514
  return (i, o) => {
1506
- const l = _e;
1515
+ const l = je;
1507
1516
  return d(), b("div", {
1508
1517
  class: P(i.inLine ? "" : "forge-loader")
1509
1518
  }, [
@@ -1533,7 +1542,7 @@ const Qe = {
1533
1542
  iconName: {}
1534
1543
  },
1535
1544
  setup(e) {
1536
- const t = _(() => ({
1545
+ const t = j(() => ({
1537
1546
  [`link-${e.severity}`]: e.severity,
1538
1547
  [`link-underline-${e.underlineSeverity}`]: e.underlineSeverity,
1539
1548
  [`link-opacity-${e.opacity}`]: e.opacity,
@@ -1542,7 +1551,7 @@ const Qe = {
1542
1551
  [`link-underline-opacity-${e.underlineHoverOpacity ?? e.hoverOpacity}-hover`]: e.underlineHoverOpacity || e.hoverOpacity,
1543
1552
  [`link-offset-${e.underlineOffset}`]: e.underlineOffset,
1544
1553
  "icon-link icon-link-hover": e.animateIconOnHover
1545
- })), a = _(() => ({
1554
+ })), a = j(() => ({
1546
1555
  "order-2": e.positionIconEnd,
1547
1556
  "me-1": !e.positionIconEnd && !e.animateIconOnHover,
1548
1557
  "ms-1": e.positionIconEnd && !e.animateIconOnHover,
@@ -1555,8 +1564,8 @@ const Qe = {
1555
1564
  href: i.url,
1556
1565
  target: i.target
1557
1566
  }, [
1558
- F(i.$slots, "default", {}, () => [
1559
- i.iconName ? (d(), x(c(M), {
1567
+ S(i.$slots, "default", {}, () => [
1568
+ i.iconName ? (d(), x(c(I), {
1560
1569
  key: 0,
1561
1570
  id: "link-icon",
1562
1571
  icon: i.iconName,
@@ -1653,7 +1662,7 @@ const Lt = {
1653
1662
  }),
1654
1663
  emits: ["update:visible", "update:error"],
1655
1664
  setup(e, { expose: t }) {
1656
- const a = N(e, "visible"), i = I(!1), o = e, l = I(!1), n = N(e, "error"), s = () => {
1665
+ const a = N(e, "visible"), i = M(!1), o = e, l = M(!1), n = N(e, "error"), s = () => {
1657
1666
  n.value = {
1658
1667
  hasError: !1,
1659
1668
  header: "",
@@ -1682,7 +1691,7 @@ const Lt = {
1682
1691
  }
1683
1692
  l.value = !1;
1684
1693
  }
1685
- }, w = _(() => ({
1694
+ }, w = j(() => ({
1686
1695
  root: [
1687
1696
  "modal modal-dialog modal-content h-auto m-0",
1688
1697
  {
@@ -1702,14 +1711,14 @@ const Lt = {
1702
1711
  ]
1703
1712
  }));
1704
1713
  return (v, C) => {
1705
- const S = q, A = Ie;
1706
- return d(), x(A, j(o, {
1714
+ const F = q, A = Me;
1715
+ return d(), x(A, _(o, {
1707
1716
  onMaximize: u,
1708
1717
  onUnmaximize: p,
1709
1718
  pt: w.value
1710
1719
  }), ie({
1711
1720
  closeicon: g(() => [
1712
- k(c(M), {
1721
+ k(c(I), {
1713
1722
  "data-cy": "close-icon",
1714
1723
  icon: "bi:x-lg",
1715
1724
  width: "18",
@@ -1718,7 +1727,7 @@ const Lt = {
1718
1727
  })
1719
1728
  ]),
1720
1729
  maximizeicon: g(() => [
1721
- k(c(M), {
1730
+ k(c(I), {
1722
1731
  "data-cy": "maximisable-icon",
1723
1732
  icon: i.value ? "bi:arrows-angle-contract" : "bi:arrows-angle-expand",
1724
1733
  width: "16",
@@ -1749,8 +1758,8 @@ const Lt = {
1749
1758
  })
1750
1759
  ])) : T("", !0)
1751
1760
  ], 64)) : T("", !0),
1752
- F(v.$slots, B, G(Y(D || {}))),
1753
- l.value ? F(v.$slots, "loader", { key: 1 }, () => [
1761
+ S(v.$slots, B, G(Y(D || {}))),
1762
+ l.value ? S(v.$slots, "loader", { key: 1 }, () => [
1754
1763
  k(pe, { "data-cy": "loader" })
1755
1764
  ]) : T("", !0)
1756
1765
  ])
@@ -1759,7 +1768,7 @@ const Lt = {
1759
1768
  name: "footer",
1760
1769
  fn: g(() => [
1761
1770
  m("div", qt, [
1762
- k(S, {
1771
+ k(F, {
1763
1772
  label: v.cancelText,
1764
1773
  class: P(o.cancelClass),
1765
1774
  outlined: "",
@@ -1767,7 +1776,7 @@ const Lt = {
1767
1776
  id: "cancel-button",
1768
1777
  type: o.cancelButtonType
1769
1778
  }, null, 8, ["label", "class", "type"]),
1770
- k(S, {
1779
+ k(F, {
1771
1780
  label: v.submitText,
1772
1781
  class: P([o.submitClass, "ms-auto"]),
1773
1782
  onClick: r,
@@ -1796,7 +1805,7 @@ const Lt = {
1796
1805
  }),
1797
1806
  emits: ["update:modelValue"],
1798
1807
  setup(e) {
1799
- const t = e, a = N(e, "modelValue"), i = I(!1), o = I(), l = () => {
1808
+ const t = e, a = N(e, "modelValue"), i = M(!1), o = M(), l = () => {
1800
1809
  var v;
1801
1810
  i.value = !i.value, (v = o.value) == null || v.focus();
1802
1811
  }, n = async () => {
@@ -1820,28 +1829,28 @@ const Lt = {
1820
1829
  ne(() => {
1821
1830
  r.value = a.value;
1822
1831
  });
1823
- const w = _(() => h.value.length > 0);
1832
+ const w = j(() => h.value.length > 0);
1824
1833
  return (v, C) => {
1825
- const S = ae, A = q;
1834
+ const F = ae, A = q;
1826
1835
  return d(), b("div", {
1827
1836
  id: t.name
1828
1837
  }, [
1829
1838
  v.readonly ? (d(), b("div", Yt, [
1830
- F(v.$slots, "default", {}, () => [
1839
+ S(v.$slots, "default", {}, () => [
1831
1840
  m("span", Jt, $(c(r)), 1)
1832
1841
  ])
1833
1842
  ])) : (d(), b("div", Ht, [
1834
1843
  i.value ? (d(), b("div", Wt, [
1835
1844
  K((d(), b("div", Gt, [
1836
- F(v.$slots, "editor", {
1845
+ S(v.$slots, "editor", {
1837
1846
  class: P({ "is-invalid": w.value }),
1838
1847
  editFinished: n,
1839
1848
  cancel: s,
1840
1849
  val: c(r)
1841
1850
  }, () => [
1842
- k(S, {
1851
+ k(F, {
1843
1852
  modelValue: c(r),
1844
- "onUpdate:modelValue": C[0] || (C[0] = (f) => Fe(r) ? r.value = f : null),
1853
+ "onUpdate:modelValue": C[0] || (C[0] = (f) => Se(r) ? r.value = f : null),
1845
1854
  modelModifiers: { trim: !0 },
1846
1855
  "data-cy": "input",
1847
1856
  ref_key: "input",
@@ -1853,7 +1862,7 @@ const Lt = {
1853
1862
  ]
1854
1863
  }, null, 8, ["modelValue", "class"])
1855
1864
  ]),
1856
- k(c(M), {
1865
+ k(c(I), {
1857
1866
  icon: "bi:x-circle",
1858
1867
  class: "mx-2 cursor-pointer",
1859
1868
  onClick: p,
@@ -1861,7 +1870,7 @@ const Lt = {
1861
1870
  "data-cy": "clear-icon"
1862
1871
  })
1863
1872
  ])), [
1864
- [c(Me), n]
1873
+ [c(Ie), n]
1865
1874
  ])
1866
1875
  ])) : (d(), b("div", {
1867
1876
  key: 1,
@@ -1869,7 +1878,7 @@ const Lt = {
1869
1878
  onClick: l,
1870
1879
  onFocus: l
1871
1880
  }, [
1872
- F(v.$slots, "default", {}, () => [
1881
+ S(v.$slots, "default", {}, () => [
1873
1882
  m("div", {
1874
1883
  class: P(["pe-2 cursor-pointer", { "text-invalid": w.value }]),
1875
1884
  "data-cy": "value"
@@ -1880,7 +1889,7 @@ const Lt = {
1880
1889
  class: "p-0 m-0"
1881
1890
  }, {
1882
1891
  default: g(() => [
1883
- k(c(M), {
1892
+ k(c(I), {
1884
1893
  icon: "bi:pencil",
1885
1894
  class: P(w.value ? "text-invalid" : "text-muted"),
1886
1895
  "data-cy": "edit-icon",
@@ -1917,7 +1926,7 @@ const Lt = {
1917
1926
  unstyled: { type: Boolean }
1918
1927
  },
1919
1928
  setup(e) {
1920
- const t = e, a = _(() => ({
1929
+ const t = e, a = j(() => ({
1921
1930
  root: () => ({
1922
1931
  class: [
1923
1932
  "navbar container-fluid navbar-expand-lg",
@@ -1945,7 +1954,7 @@ const Lt = {
1945
1954
  ]
1946
1955
  })
1947
1956
  }));
1948
- return (i, o) => (d(), x(c(Ve), j({ ...t, ...i.$attrs }, {
1957
+ return (i, o) => (d(), x(c(Ve), _({ ...t, ...i.$attrs }, {
1949
1958
  pt: a.value,
1950
1959
  "data-cy": "navbar"
1951
1960
  }), ie({
@@ -1955,14 +1964,14 @@ const Lt = {
1955
1964
  class: "navbar-brand ms-3",
1956
1965
  "data-cy": "logo"
1957
1966
  }, [
1958
- F(i.$slots, "logo", {}, () => [
1967
+ S(i.$slots, "logo", {}, () => [
1959
1968
  o[0] || (o[0] = V(" Logo "))
1960
1969
  ])
1961
1970
  ], 8, Zt)
1962
1971
  ]),
1963
1972
  buttonicon: g(() => [
1964
- F(i.$slots, "buttonIcon", {}, () => [
1965
- k(c(M), {
1973
+ S(i.$slots, "buttonIcon", {}, () => [
1974
+ k(c(I), {
1966
1975
  icon: "bi:list",
1967
1976
  class: P(t.severity === "light" ? "text-black" : "text-white"),
1968
1977
  height: "24",
@@ -1975,7 +1984,7 @@ const Lt = {
1975
1984
  L(i.$slots, (l, n) => ({
1976
1985
  name: n,
1977
1986
  fn: g((s) => [
1978
- F(i.$slots, n, G(Y(s)))
1987
+ S(i.$slots, n, G(Y(s)))
1979
1988
  ])
1980
1989
  }))
1981
1990
  ]), 1040, ["pt"]));
@@ -2016,7 +2025,7 @@ const Lt = {
2016
2025
  class: P(o.orientation === "row" ? "col-12 mb-1" : "col"),
2017
2026
  "data-cy": "multiselect-container"
2018
2027
  }, [
2019
- k(n, j({
2028
+ k(n, _({
2020
2029
  modelValue: a.value,
2021
2030
  "onUpdate:modelValue": l[0] || (l[0] = (p) => a.value = p)
2022
2031
  }, { ...o.$attrs }, {
@@ -2026,18 +2035,18 @@ const Lt = {
2026
2035
  "data-cy": "multiselect"
2027
2036
  }), {
2028
2037
  default: g(() => [
2029
- (d(!0), b(U, null, L(o.$slots, (p, u) => F(o.$slots, u, { slot: u })), 256))
2038
+ (d(!0), b(U, null, L(o.$slots, (p, u) => S(o.$slots, u, { slot: u })), 256))
2030
2039
  ]),
2031
2040
  _: 3
2032
2041
  }, 16, ["modelValue", "options", "placeholder"]),
2033
- F(o.$slots, "after-multi-select")
2042
+ S(o.$slots, "after-multi-select")
2034
2043
  ], 2),
2035
2044
  m("div", {
2036
2045
  class: P(o.orientation === "row" ? "col-12" : "col"),
2037
2046
  "data-cy": "options-preview"
2038
2047
  }, [
2039
2048
  m("div", {
2040
- style: Se({ height: o.height }),
2049
+ style: Fe({ height: o.height }),
2041
2050
  class: "overflow-auto"
2042
2051
  }, [
2043
2052
  m("div", Xt, [
@@ -2046,7 +2055,7 @@ const Lt = {
2046
2055
  key: p.id,
2047
2056
  class: "p-2 item d-flex justify-content-between align-items-center"
2048
2057
  }, [
2049
- F(o.$slots, "list-item", { item: p }, () => [
2058
+ S(o.$slots, "list-item", { item: p }, () => [
2050
2059
  m("span", ea, $(p.shortLabel ? p.shortLabel : p.label), 1)
2051
2060
  ]),
2052
2061
  o.canRemoveItemFromPreview ? (d(), x(s, {
@@ -2056,7 +2065,7 @@ const Lt = {
2056
2065
  onClick: (u) => i(p.id)
2057
2066
  }, {
2058
2067
  default: g(() => [
2059
- k(c(M), {
2068
+ k(c(I), {
2060
2069
  icon: "bi:x",
2061
2070
  class: "close-icon",
2062
2071
  "data-cy": `close-icon-${p.id}`
@@ -2088,7 +2097,7 @@ const Lt = {
2088
2097
  return (a, i) => (d(), b("div", ia, [
2089
2098
  m("h3", oa, $(t.title), 1),
2090
2099
  m("div", la, [
2091
- F(a.$slots, "default")
2100
+ S(a.$slots, "default")
2092
2101
  ])
2093
2102
  ]));
2094
2103
  }
@@ -2171,7 +2180,7 @@ const Lt = {
2171
2180
  initialValue: a.value
2172
2181
  }), p = () => {
2173
2182
  s(null), a.value = null;
2174
- }, u = _(() => i.value.length > 0), h = _(() => ({
2183
+ }, u = j(() => i.value.length > 0), h = j(() => ({
2175
2184
  day: ({ context: r, props: w, attrs: v }) => ({
2176
2185
  class: [
2177
2186
  "d-flex justify-content-center align-items-center",
@@ -2281,10 +2290,10 @@ const Lt = {
2281
2290
  return d(), b(U, null, [
2282
2291
  m("div", na, [
2283
2292
  m("span", sa, [
2284
- F(r.$slots, "before")
2293
+ S(r.$slots, "before")
2285
2294
  ]),
2286
2295
  m("div", ra, [
2287
- k(v, j({ ...t, ...r.$attrs }, {
2296
+ k(v, _({ ...t, ...r.$attrs }, {
2288
2297
  pt: h.value,
2289
2298
  modelValue: a.value,
2290
2299
  "onUpdate:modelValue": [
@@ -2294,14 +2303,14 @@ const Lt = {
2294
2303
  onBlur: w[1] || (w[1] = () => c(n)),
2295
2304
  "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
2305
  }), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
2297
- K(k(c(M), {
2306
+ K(k(c(I), {
2298
2307
  "data-cy": "icon",
2299
2308
  icon: "bi:calendar4",
2300
2309
  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
2310
  }, null, 8, ["class"]), [
2302
2311
  [X, t.showIcon && !t.inline]
2303
2312
  ]),
2304
- K(k(c(M), {
2313
+ K(k(c(I), {
2305
2314
  "data-cy": "icon",
2306
2315
  icon: "bi:x",
2307
2316
  onClick: p,
@@ -2311,7 +2320,7 @@ const Lt = {
2311
2320
  ])
2312
2321
  ]),
2313
2322
  m("span", da, [
2314
- F(r.$slots, "after")
2323
+ S(r.$slots, "after")
2315
2324
  ])
2316
2325
  ]),
2317
2326
  K(m("small", {
@@ -2330,7 +2339,7 @@ const Lt = {
2330
2339
  currentCount: {}
2331
2340
  },
2332
2341
  setup(e) {
2333
- const t = e, a = _(() => t.maxCount - t.currentCount);
2342
+ const t = e, a = j(() => t.maxCount - t.currentCount);
2334
2343
  return (i, o) => (d(), b("div", {
2335
2344
  class: P(a.value < 0 ? "text-danger" : "")
2336
2345
  }, "Remaining characters: " + $(a.value), 3));
@@ -2347,7 +2356,7 @@ const Lt = {
2347
2356
  hideCancel: { type: Boolean, default: !1 }
2348
2357
  },
2349
2358
  setup(e) {
2350
- const t = e, a = I(!1), i = I({
2359
+ const t = e, a = M(!1), i = M({
2351
2360
  hasError: !1,
2352
2361
  message: ""
2353
2362
  });
@@ -2362,13 +2371,13 @@ const Lt = {
2362
2371
  }
2363
2372
  return (l, n) => {
2364
2373
  const s = q;
2365
- return d(), b("form", j(l.$attrs, {
2374
+ return d(), b("form", _(l.$attrs, {
2366
2375
  novalidate: "",
2367
2376
  class: "position-relative shadow-sm border p-4 bg-white",
2368
2377
  onSubmit: Q(o, ["prevent"])
2369
2378
  }), [
2370
2379
  l.hideTitle ? T("", !0) : (d(), b(U, { key: 0 }, [
2371
- F(l.$slots, "title", {}, () => [
2380
+ S(l.$slots, "title", {}, () => [
2372
2381
  m("h3", {
2373
2382
  class: P(l.titleClass),
2374
2383
  "data-cy": "form-title"
@@ -2382,7 +2391,7 @@ const Lt = {
2382
2391
  "data-cy": "error"
2383
2392
  }, {
2384
2393
  default: g(() => [
2385
- F(l.$slots, "error", {
2394
+ S(l.$slots, "error", {
2386
2395
  error: i.value.message
2387
2396
  }, () => [
2388
2397
  V($(i.value.message), 1)
@@ -2390,9 +2399,9 @@ const Lt = {
2390
2399
  ]),
2391
2400
  _: 3
2392
2401
  })) : T("", !0),
2393
- F(l.$slots, "default"),
2402
+ S(l.$slots, "default"),
2394
2403
  m("div", pa, [
2395
- F(l.$slots, "cancel", {}, () => [
2404
+ S(l.$slots, "cancel", {}, () => [
2396
2405
  l.hideCancel ? T("", !0) : (d(), x(s, {
2397
2406
  key: 0,
2398
2407
  "data-cy": "cancel-btn",
@@ -2407,7 +2416,7 @@ const Lt = {
2407
2416
  _: 1
2408
2417
  }))
2409
2418
  ]),
2410
- F(l.$slots, "submit", { submit: o }, () => [
2419
+ S(l.$slots, "submit", { submit: o }, () => [
2411
2420
  k(s, {
2412
2421
  "data-cy": "submit-btn",
2413
2422
  type: "submit",
@@ -2455,12 +2464,12 @@ const Lt = {
2455
2464
  a.type == "number" ? s(h.value) : s(h);
2456
2465
  }, { errors: o, value: l, errorMessage: n, handleChange: s, handleBlur: p } = se(() => a.name, void 0, {
2457
2466
  initialValue: t.value
2458
- }), u = _(() => o.value.length > 0);
2467
+ }), u = j(() => o.value.length > 0);
2459
2468
  return W(() => l.value, (h) => {
2460
2469
  t.value = h;
2461
2470
  }, { immediate: !0 }), (h, r) => {
2462
- const w = Ae, v = Oe, C = ae, S = oe, A = de, f = xe;
2463
- return a.type === "checkbox" ? (d(), x(ye, j({
2471
+ const w = Ae, v = Oe, C = ae, F = oe, A = de, f = xe;
2472
+ return a.type === "checkbox" ? (d(), x(ye, _({
2464
2473
  key: 0,
2465
2474
  id: a.name,
2466
2475
  label: a.fieldLabel
@@ -2480,8 +2489,8 @@ const Lt = {
2480
2489
  V($(a.fieldLabel) + " ", 1),
2481
2490
  h.required ? (d(), b("span", ma, "*")) : T("", !0)
2482
2491
  ], 10, ua),
2483
- F(h.$slots, "default", G(Y({ modelValue: t.value, updateModel: c(s), hasErrors: u.value })), () => [
2484
- a.type === "number" ? (d(), x(c(fe), j({
2492
+ S(h.$slots, "default", G(Y({ modelValue: t.value, updateModel: c(s), hasErrors: u.value })), () => [
2493
+ a.type === "number" ? (d(), x(c(fe), _({
2485
2494
  key: 0,
2486
2495
  id: a.name
2487
2496
  }, h.$attrs, {
@@ -2491,7 +2500,7 @@ const Lt = {
2491
2500
  onInput: i,
2492
2501
  modelValue: t.value,
2493
2502
  "onUpdate:modelValue": r[1] || (r[1] = (B) => t.value = B)
2494
- }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), x(w, j({
2503
+ }), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), x(w, _({
2495
2504
  key: 1,
2496
2505
  id: a.name
2497
2506
  }, h.$attrs, {
@@ -2501,7 +2510,7 @@ const Lt = {
2501
2510
  "onUpdate:modelValue": r[2] || (r[2] = (B) => t.value = B),
2502
2511
  onInput: i,
2503
2512
  onBlur: c(p)
2504
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), x(v, j({
2513
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "mask" ? (d(), x(v, _({
2505
2514
  key: 2,
2506
2515
  id: a.name
2507
2516
  }, h.$attrs, {
@@ -2512,7 +2521,7 @@ const Lt = {
2512
2521
  "onUpdate:modelValue": r[3] || (r[3] = (B) => t.value = B),
2513
2522
  onComplete: i,
2514
2523
  onBlur: c(p)
2515
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), x(C, j({
2524
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : a.type === "text" ? (d(), x(C, _({
2516
2525
  key: 3,
2517
2526
  id: a.name
2518
2527
  }, h.$attrs, {
@@ -2522,19 +2531,19 @@ const Lt = {
2522
2531
  "onUpdate:modelValue": r[4] || (r[4] = (B) => t.value = B),
2523
2532
  onInput: i,
2524
2533
  onBlur: c(p)
2525
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), x(S, j({ key: 4 }, { ...a, ...h.$attrs }, {
2534
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : a.type === "select" ? (d(), x(F, _({ key: 4 }, { ...a, ...h.$attrs }, {
2526
2535
  modelValue: t.value,
2527
2536
  "onUpdate:modelValue": r[5] || (r[5] = (B) => t.value = B),
2528
2537
  class: { "is-invalid": u.value }
2529
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), x(A, j({ key: 5 }, { ...a, ...h.$attrs }, {
2538
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect" ? (d(), x(A, _({ key: 5 }, { ...a, ...h.$attrs }, {
2530
2539
  modelValue: t.value,
2531
2540
  "onUpdate:modelValue": r[6] || (r[6] = (B) => t.value = B),
2532
2541
  class: { "is-invalid": u.value }
2533
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), x(aa, j({ key: 6 }, { ...a, ...h.$attrs }, {
2542
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), x(aa, _({ key: 6 }, { ...a, ...h.$attrs }, {
2534
2543
  modelValue: t.value,
2535
2544
  "onUpdate:modelValue": r[7] || (r[7] = (B) => t.value = B),
2536
2545
  class: { "is-invalid": u.value }
2537
- }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), x(f, j({ key: 7 }, { ...a, ...h.$attrs }, {
2546
+ }), null, 16, ["modelValue", "class"])) : a.type === "datepicker" ? (d(), x(f, _({ key: 7 }, { ...a, ...h.$attrs }, {
2538
2547
  modelValue: t.value,
2539
2548
  "onUpdate:modelValue": r[8] || (r[8] = (B) => t.value = B),
2540
2549
  class: { "is-invalid": u.value }
@@ -2566,7 +2575,7 @@ const Lt = {
2566
2575
  unstyled: { type: Boolean }
2567
2576
  },
2568
2577
  setup(e) {
2569
- const t = e, a = _(() => ({
2578
+ const t = e, a = j(() => ({
2570
2579
  root: [
2571
2580
  "badge d-inline-flex align-items-center border me-1 p-1",
2572
2581
  {
@@ -2586,9 +2595,9 @@ const Lt = {
2586
2595
  }));
2587
2596
  return (i, o) => {
2588
2597
  const l = Ne;
2589
- return d(), x(l, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2598
+ return d(), x(l, _({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
2590
2599
  default: g(() => [
2591
- (d(!0), b(U, null, L(i.$slots, (n, s) => F(i.$slots, s, { slot: s })), 256))
2600
+ (d(!0), b(U, null, L(i.$slots, (n, s) => S(i.$slots, s, { slot: s })), 256))
2592
2601
  ]),
2593
2602
  _: 3
2594
2603
  }, 16, ["pt"]);
@@ -2610,7 +2619,7 @@ const Lt = {
2610
2619
  unstyled: { type: Boolean }
2611
2620
  },
2612
2621
  setup(e) {
2613
- const t = e, a = _(() => t.striped ? "progress-bar-striped" : null), i = _(() => t.animate ? "progress-bar-animated" : null), o = _(() => {
2622
+ const t = e, a = j(() => t.striped ? "progress-bar-striped" : null), i = j(() => t.animate ? "progress-bar-animated" : null), o = j(() => {
2614
2623
  switch (t.severity) {
2615
2624
  case "brand":
2616
2625
  return "bg-brand";
@@ -2631,7 +2640,7 @@ const Lt = {
2631
2640
  default:
2632
2641
  return "bg-primary";
2633
2642
  }
2634
- }), l = _(() => ({
2643
+ }), l = j(() => ({
2635
2644
  root: {
2636
2645
  style: t.pixelWidth ? `width: ${t.pixelWidth}px` : ""
2637
2646
  },
@@ -2641,9 +2650,9 @@ const Lt = {
2641
2650
  }));
2642
2651
  return (n, s) => {
2643
2652
  const p = Ue;
2644
- return d(), x(p, j({ ...n.$attrs, ...t }, { pt: l.value }), {
2653
+ return d(), x(p, _({ ...n.$attrs, ...t }, { pt: l.value }), {
2645
2654
  default: g(() => [
2646
- F(n.$slots, "default")
2655
+ S(n.$slots, "default")
2647
2656
  ]),
2648
2657
  _: 3
2649
2658
  }, 16, ["pt"]);
@@ -2963,9 +2972,9 @@ var va = /* @__PURE__ */ z({
2963
2972
  },
2964
2973
  wrapText(e, t, a, i, o, l) {
2965
2974
  const n = /(\r\n|\n\r|\n|\r)+/g, s = /\s+/g;
2966
- var p = t.split(n).filter((S) => S.length > 0);
2967
- for (let S = 0; S < p.length; S++) {
2968
- for (var u = p[S].split(s).filter((A) => A.length > 0), h = "", r = 0; r < u.length; r++) {
2975
+ var p = t.split(n).filter((F) => F.length > 0);
2976
+ for (let F = 0; F < p.length; F++) {
2977
+ for (var u = p[F].split(s).filter((A) => A.length > 0), h = "", r = 0; r < u.length; r++) {
2969
2978
  var w = h + u[r] + " ", v = e.measureText(w), C = v.width;
2970
2979
  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;
2971
2980
  }
@@ -3053,7 +3062,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3053
3062
  },
3054
3063
  emits: ["save"],
3055
3064
  setup(e, { emit: t }) {
3056
- const a = e, i = t, o = Te("drawingCanvas"), l = I(), n = () => {
3065
+ const a = e, i = t, o = Te("drawingCanvas"), l = M(), n = () => {
3057
3066
  o == null || o.value.reset();
3058
3067
  }, s = () => {
3059
3068
  o == null || o.value.redo();
@@ -3065,7 +3074,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3065
3074
  return (h, r) => {
3066
3075
  const w = q;
3067
3076
  return d(), b("div", fa, [
3068
- k(c(va), j({
3077
+ k(c(va), _({
3069
3078
  ref_key: "drawingCanvas",
3070
3079
  ref: o,
3071
3080
  image: l.value,
@@ -3139,11 +3148,11 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3139
3148
  },
3140
3149
  setup(e) {
3141
3150
  const t = e;
3142
- return (a, i) => (d(), b("div", j(a.$attrs, {
3151
+ return (a, i) => (d(), b("div", _(a.$attrs, {
3143
3152
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
3144
3153
  }), [
3145
3154
  m("span", ba, [
3146
- F(a.$slots, "default")
3155
+ S(a.$slots, "default")
3147
3156
  ])
3148
3157
  ], 16));
3149
3158
  }
@@ -3165,7 +3174,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3165
3174
  unstyled: { type: Boolean }
3166
3175
  },
3167
3176
  setup(e) {
3168
- const t = e, a = _(() => ({
3177
+ const t = e, a = j(() => ({
3169
3178
  header: {
3170
3179
  class: [
3171
3180
  "p-0 m-0 d-flex align-items-center border border-0 bg-transparent gap-1",
@@ -3198,7 +3207,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3198
3207
  default: g(() => [
3199
3208
  k(c(qe), null, {
3200
3209
  default: g(() => [
3201
- (d(!0), b(U, null, L(i.steps, (l) => (d(), x(c(Le), j({
3210
+ (d(!0), b(U, null, L(i.steps, (l) => (d(), x(c(Le), _({
3202
3211
  key: l.value,
3203
3212
  value: l.value,
3204
3213
  disabled: l.disabled
@@ -3218,7 +3227,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3218
3227
  value: l.value
3219
3228
  }, {
3220
3229
  default: g(() => [
3221
- F(i.$slots, "step" + l.value)
3230
+ S(i.$slots, "step" + l.value)
3222
3231
  ]),
3223
3232
  _: 2
3224
3233
  }, 1032, ["value"]))), 128))
@@ -3238,7 +3247,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3238
3247
  selected: { type: Boolean, default: !1 }
3239
3248
  },
3240
3249
  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" : ""}`);
3250
+ const t = e, a = j(() => `${t.severity === void 0 ? "tile-primary" : `tile-${t.severity}`} ${t.barPosition === "none" ? "" : `tile-bar-${t.barPosition}`} ${t.selected ? "selected" : ""}`), i = j(() => `${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
3251
  return (o, l) => {
3243
3252
  const n = q;
3244
3253
  return t.clickable ? (d(), x(n, {
@@ -3250,7 +3259,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3250
3259
  }, {
3251
3260
  default: g(() => [
3252
3261
  m("div", xa, [
3253
- F(o.$slots, "default", {}, () => [
3262
+ S(o.$slots, "default", {}, () => [
3254
3263
  l[0] || (l[0] = V("Tile Content"))
3255
3264
  ])
3256
3265
  ])
@@ -3262,7 +3271,7 @@ const fa = { class: "d-flex flex-column" }, ga = { class: "d-flex flex-row mt-1
3262
3271
  "data-cy": "tile"
3263
3272
  }, [
3264
3273
  m("div", ha, [
3265
- F(o.$slots, "default", {}, () => [
3274
+ S(o.$slots, "default", {}, () => [
3266
3275
  l[1] || (l[1] = V("Tile Content"))
3267
3276
  ])
3268
3277
  ])
@@ -3290,7 +3299,7 @@ const wa = {
3290
3299
  setup(e, { emit: t }) {
3291
3300
  const a = t, i = e, o = (n) => {
3292
3301
  a("update:perPage", n.value);
3293
- }, l = _(() => {
3302
+ }, l = j(() => {
3294
3303
  const n = Math.ceil(i.total / i.perPage);
3295
3304
  return `${n} ${ee(n, "page")}`;
3296
3305
  });
@@ -3311,10 +3320,10 @@ const wa = {
3311
3320
  ])) : T("", !0)
3312
3321
  ]));
3313
3322
  }
3314
- }), Fa = { class: "position-relative" }, Sa = { "data-cy": "above-table-slot" }, Ca = { class: "d-flex w-100" }, Ta = {
3323
+ }), Sa = { class: "position-relative" }, Fa = { "data-cy": "above-table-slot" }, Ca = { class: "d-flex w-100" }, Ta = {
3315
3324
  class: "mx-auto",
3316
3325
  "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({
3326
+ }, za = { class: "d-flex" }, Pa = { class: "d-flex align-items-end mb-2" }, _a = { key: 0 }, ja = { class: "ms-auto" }, $o = /* @__PURE__ */ z({
3318
3327
  __name: "ForgeTable",
3319
3328
  props: {
3320
3329
  value: {},
@@ -3401,7 +3410,7 @@ const wa = {
3401
3410
  },
3402
3411
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3403
3412
  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({
3413
+ const a = t, i = e, o = M(), l = M([5, 10, 20, 50, 100]), n = M(i.perPage ?? 10), s = M({
3405
3414
  filters: i.filters,
3406
3415
  perPage: n.value,
3407
3416
  page: 0,
@@ -3412,10 +3421,10 @@ const wa = {
3412
3421
  W(() => i.perPage, (f) => {
3413
3422
  f && (n.value = f, s.value.perPage = f);
3414
3423
  });
3415
- const p = _(() => i.totalRecords ?? i.value.length), u = _(() => {
3424
+ const p = j(() => i.totalRecords ?? i.value.length), u = j(() => {
3416
3425
  const f = Math.ceil(p.value / n.value);
3417
3426
  return `${f} ${ee(f, "page")}`;
3418
- }), h = _(() => ({
3427
+ }), h = j(() => ({
3419
3428
  thead: () => ({
3420
3429
  class: [
3421
3430
  {
@@ -3452,18 +3461,18 @@ const wa = {
3452
3461
  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
3462
  }, C = (f) => {
3454
3463
  s.value.filters = f, a("update:tableContext", s.value), a("update:filters", f);
3455
- }, S = (f) => {
3464
+ }, F = (f) => {
3456
3465
  s.value.page = f.page, a("update:tableContext", s.value), a("page", f);
3457
3466
  }, A = () => {
3458
3467
  s.value.perPage = n.value, a("update:tableContext", s.value);
3459
3468
  };
3460
3469
  return W(() => i.filters, (f) => {
3461
3470
  s.value.filters = f, a("update:tableContext", s.value);
3462
- }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (f, B) => (d(), b("div", Fa, [
3463
- m("span", Sa, [
3464
- F(f.$slots, "above-table")
3471
+ }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (f, B) => (d(), b("div", Sa, [
3472
+ m("span", Fa, [
3473
+ S(f.$slots, "above-table")
3465
3474
  ]),
3466
- k(c(We), j({
3475
+ k(c(We), _({
3467
3476
  class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
3468
3477
  }, { ...i, ...f.$attrs }, {
3469
3478
  pt: h.value,
@@ -3475,7 +3484,7 @@ const wa = {
3475
3484
  "data-cy": "table",
3476
3485
  "onUpdate:filters": C,
3477
3486
  onSort: v,
3478
- onPage: S,
3487
+ onPage: F,
3479
3488
  showHeaders: ""
3480
3489
  }), ie({
3481
3490
  empty: g(() => [
@@ -3489,7 +3498,7 @@ const wa = {
3489
3498
  }, [
3490
3499
  m("div", za, [
3491
3500
  m("div", Pa, [
3492
- f.paginator && !f.legacyPaginationFooter ? (d(), b("span", ja, [
3501
+ f.paginator && !f.legacyPaginationFooter ? (d(), b("span", _a, [
3493
3502
  k(he, {
3494
3503
  total: p.value,
3495
3504
  "page-sizes": l.value,
@@ -3501,7 +3510,7 @@ const wa = {
3501
3510
  }, null, 8, ["total", "page-sizes", "per-page"])
3502
3511
  ])) : T("", !0)
3503
3512
  ]),
3504
- m("div", _a, [
3513
+ m("div", ja, [
3505
3514
  f.showClearButton ? (d(), x(c(q), {
3506
3515
  key: 0,
3507
3516
  outlined: "",
@@ -3510,7 +3519,7 @@ const wa = {
3510
3519
  "data-cy": "clear-all"
3511
3520
  }, {
3512
3521
  default: g(() => [
3513
- k(c(M), {
3522
+ k(c(I), {
3514
3523
  icon: "bi:funnel-fill",
3515
3524
  width: "24",
3516
3525
  height: "24"
@@ -3527,7 +3536,7 @@ const wa = {
3527
3536
  "data-cy": "exporter"
3528
3537
  }, {
3529
3538
  default: g(() => [
3530
- k(c(M), {
3539
+ k(c(I), {
3531
3540
  icon: "typcn:export",
3532
3541
  width: "24",
3533
3542
  height: "24"
@@ -3537,20 +3546,20 @@ const wa = {
3537
3546
  _: 1,
3538
3547
  __: [3]
3539
3548
  })) : T("", !0),
3540
- F(f.$slots, "column-customiser")
3549
+ S(f.$slots, "column-customiser")
3541
3550
  ])
3542
3551
  ])
3543
3552
  ], 2)
3544
3553
  ]),
3545
3554
  default: g(() => [
3546
- F(f.$slots, "default")
3555
+ S(f.$slots, "default")
3547
3556
  ]),
3548
3557
  _: 2
3549
3558
  }, [
3550
3559
  L(f.$slots, (D, y) => ({
3551
3560
  name: y,
3552
3561
  fn: g((O) => [
3553
- F(f.$slots, y, G(Y(O || {})))
3562
+ S(f.$slots, y, G(Y(O || {})))
3554
3563
  ])
3555
3564
  })),
3556
3565
  f.legacyPaginationFooter ? {
@@ -3585,10 +3594,10 @@ const wa = {
3585
3594
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3586
3595
  ]));
3587
3596
  }
3588
- }), Ia = { class: "position-relative" }, Ma = { "data-cy": "above-table-slot" }, Va = { class: "d-flex w-100" }, Da = {
3597
+ }), Ma = { class: "position-relative" }, Ia = { "data-cy": "above-table-slot" }, Va = { class: "d-flex w-100" }, Da = {
3589
3598
  class: "mx-auto",
3590
3599
  "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({
3600
+ }, Oa = { class: "d-flex" }, Aa = { class: "d-flex align-items-end mb-2" }, Na = { key: 0 }, Ua = { class: "ms-auto" }, So = /* @__PURE__ */ z({
3592
3601
  __name: "ForgeTreeTable",
3593
3602
  props: {
3594
3603
  stripedRows: { type: Boolean, default: !1 },
@@ -3649,17 +3658,17 @@ const wa = {
3649
3658
  },
3650
3659
  emits: ["update:filters", "update:tableContext", "sort", "page"],
3651
3660
  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({
3661
+ const a = e, i = t, o = M([5, 10, 20, 50, 100]), l = M(10), n = M(0), s = M(0), p = M({
3653
3662
  filters: a.filters,
3654
3663
  perPage: l.value,
3655
3664
  page: 0,
3656
3665
  sortDirection: "None",
3657
3666
  sortField: "",
3658
3667
  total: a.totalRecords ?? a.value.length
3659
- }), u = _(() => a.totalRecords ?? a.value.length), h = _(() => {
3668
+ }), u = j(() => a.totalRecords ?? a.value.length), h = j(() => {
3660
3669
  const y = Math.ceil(u.value / l.value);
3661
3670
  return `${y} ${ee(y, "page")}`;
3662
- }), r = _(() => ({
3671
+ }), r = j(() => ({
3663
3672
  root: "position-relative",
3664
3673
  table: (y) => ({
3665
3674
  class: [
@@ -3736,7 +3745,7 @@ const wa = {
3736
3745
  for (const y in a.filters)
3737
3746
  typeof a.filters[y] == "string" ? a.filters[y] = "" : a.filters[y].value = null;
3738
3747
  A(a.filters);
3739
- }, S = (y) => {
3748
+ }, F = (y) => {
3740
3749
  var O;
3741
3750
  p.value.sortDirection = y.sortOrder === 1 ? "Asc" : y.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((O = y.sortField) == null ? void 0 : O.toString()) ?? "", i("update:tableContext", p.value), i("sort", y), w();
3742
3751
  }, A = (y) => {
@@ -3756,11 +3765,11 @@ const wa = {
3756
3765
  const D = () => {
3757
3766
  n.value = s.value * l.value;
3758
3767
  };
3759
- return (y, O) => (d(), b("div", Ia, [
3760
- m("span", Ma, [
3761
- F(y.$slots, "above-table")
3768
+ return (y, O) => (d(), b("div", Ma, [
3769
+ m("span", Ia, [
3770
+ S(y.$slots, "above-table")
3762
3771
  ]),
3763
- k(c(Ge), j({
3772
+ k(c(Ge), _({
3764
3773
  class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
3765
3774
  }, { ...a, ...y.$attrs }, {
3766
3775
  pt: r.value,
@@ -3768,7 +3777,7 @@ const wa = {
3768
3777
  rows: y.paginator ? l.value : void 0,
3769
3778
  "data-cy": "tree-table",
3770
3779
  "onUpdate:filters": A,
3771
- onSort: S,
3780
+ onSort: F,
3772
3781
  onPage: f,
3773
3782
  onNodeExpand: O[2] || (O[2] = () => w()),
3774
3783
  showHeaders: "",
@@ -3805,7 +3814,7 @@ const wa = {
3805
3814
  "data-cy": "clear-all"
3806
3815
  }, {
3807
3816
  default: g(() => [
3808
- k(c(M), {
3817
+ k(c(I), {
3809
3818
  icon: "bi:funnel-fill",
3810
3819
  width: "24",
3811
3820
  height: "24"
@@ -3815,20 +3824,20 @@ const wa = {
3815
3824
  _: 1,
3816
3825
  __: [3]
3817
3826
  })) : T("", !0),
3818
- F(y.$slots, "column-customiser")
3827
+ S(y.$slots, "column-customiser")
3819
3828
  ])
3820
3829
  ])
3821
3830
  ], 2)
3822
3831
  ]),
3823
3832
  default: g(() => [
3824
- F(y.$slots, "default")
3833
+ S(y.$slots, "default")
3825
3834
  ]),
3826
3835
  _: 2
3827
3836
  }, [
3828
3837
  L(y.$slots, (R, ve) => ({
3829
3838
  name: ve,
3830
3839
  fn: g((Be) => [
3831
- F(y.$slots, ve, G(Y(Be || {})))
3840
+ S(y.$slots, ve, G(Y(Be || {})))
3832
3841
  ])
3833
3842
  })),
3834
3843
  y.legacyPaginationFooter ? {
@@ -3863,7 +3872,7 @@ const wa = {
3863
3872
  ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3864
3873
  ]));
3865
3874
  }
3866
- }), La = { class: "d-flex position-relative" }, Ea = { class: "d-flex w-100" }, So = /* @__PURE__ */ z({
3875
+ }), La = { class: "d-flex position-relative" }, Ea = { class: "d-flex w-100" }, Fo = /* @__PURE__ */ z({
3867
3876
  __name: "ForgeFilterHeader",
3868
3877
  props: /* @__PURE__ */ E({
3869
3878
  dataType: {},
@@ -3895,19 +3904,19 @@ const wa = {
3895
3904
  return (o, l) => {
3896
3905
  const n = fe, s = q;
3897
3906
  return d(), b("div", La, [
3898
- o.dataType === "numeric" ? (d(), x(n, j({
3907
+ o.dataType === "numeric" ? (d(), x(n, _({
3899
3908
  key: 0,
3900
3909
  modelValue: t.value,
3901
3910
  "onUpdate:modelValue": l[0] || (l[0] = (p) => t.value = p),
3902
3911
  modelModifiers: { trim: !0 }
3903
- }, o.$attrs), null, 16, ["modelValue"])) : o.dataType === "date" ? (d(), x(xe, j({
3912
+ }, o.$attrs), null, 16, ["modelValue"])) : o.dataType === "date" ? (d(), x(xe, _({
3904
3913
  key: 1,
3905
3914
  modelValue: t.value,
3906
3915
  "onUpdate:modelValue": l[1] || (l[1] = (p) => t.value = p)
3907
3916
  }, o.$attrs, {
3908
3917
  "show-icon": !1,
3909
3918
  "show-on-focus": !0
3910
- }), null, 16, ["modelValue"])) : o.dataType === "select" ? (d(), x(c(oe), j({
3919
+ }), null, 16, ["modelValue"])) : o.dataType === "select" ? (d(), x(c(oe), _({
3911
3920
  key: 2,
3912
3921
  modelValue: t.value,
3913
3922
  "onUpdate:modelValue": l[2] || (l[2] = (p) => t.value = p)
@@ -3928,7 +3937,7 @@ const wa = {
3928
3937
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3929
3938
  }, {
3930
3939
  default: g(() => [
3931
- k(c(M), {
3940
+ k(c(I), {
3932
3941
  icon: "bi:x",
3933
3942
  width: "1rem",
3934
3943
  height: "1rem",
@@ -3940,7 +3949,7 @@ const wa = {
3940
3949
  ])
3941
3950
  ]),
3942
3951
  _: 1
3943
- }, 16, ["modelValue", "options", "option-value", "option-label"])) : o.dataType === "multiselect" ? (d(), x(c(de), j({
3952
+ }, 16, ["modelValue", "options", "option-value", "option-label"])) : o.dataType === "multiselect" ? (d(), x(c(de), _({
3944
3953
  key: 3,
3945
3954
  modelValue: t.value,
3946
3955
  "onUpdate:modelValue": l[3] || (l[3] = (p) => t.value = p)
@@ -3950,7 +3959,7 @@ const wa = {
3950
3959
  "option-label": o.optionLabel,
3951
3960
  "option-value": o.optionValue,
3952
3961
  filter: ""
3953
- }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), x(c(ae), j({
3962
+ }), null, 16, ["modelValue", "options", "option-label", "option-value"])) : (d(), x(c(ae), _({
3954
3963
  key: 4,
3955
3964
  modelValue: t.value,
3956
3965
  "onUpdate:modelValue": l[4] || (l[4] = (p) => t.value = p),
@@ -3963,7 +3972,7 @@ const wa = {
3963
3972
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3964
3973
  }, {
3965
3974
  default: g(() => [
3966
- k(c(M), {
3975
+ k(c(I), {
3967
3976
  icon: "bi:x",
3968
3977
  width: "1rem",
3969
3978
  height: "1rem",
@@ -5176,13 +5185,13 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5176
5185
  }),
5177
5186
  emits: ["update:modelValue"],
5178
5187
  setup(e) {
5179
- const t = N(e, "modelValue"), a = I(), i = (n) => a.value.toggle(n), o = _(() => e.maxFileInput <= t.value.length), l = (n) => {
5188
+ const t = N(e, "modelValue"), a = M(), i = (n) => a.value.toggle(n), o = j(() => e.maxFileInput <= t.value.length), l = (n) => {
5180
5189
  t.value = ke(n, t.value, e.acceptedFileTypes.map((s) => s.fileType), e.maxFileSize);
5181
5190
  };
5182
5191
  return (n, s) => {
5183
5192
  const p = q;
5184
5193
  return d(), b("div", Ya, [
5185
- F(n.$slots, "message"),
5194
+ S(n.$slots, "message"),
5186
5195
  m("div", null, [
5187
5196
  m("input", {
5188
5197
  id: "file-input",
@@ -5198,8 +5207,8 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5198
5207
  id: "file-input-button",
5199
5208
  for: "file-input"
5200
5209
  }, [
5201
- F(n.$slots, "button-content", {}, () => [
5202
- k(c(M), {
5210
+ S(n.$slots, "button-content", {}, () => [
5211
+ k(c(I), {
5203
5212
  icon: "bi:upload",
5204
5213
  class: "me-2",
5205
5214
  height: "20px",
@@ -5253,7 +5262,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5253
5262
  }),
5254
5263
  emits: ["update:modelValue"],
5255
5264
  setup(e) {
5256
- const t = N(e, "modelValue"), a = I(!1), i = _(() => e.maxFileInput <= t.value.length), o = (l) => {
5265
+ const t = N(e, "modelValue"), a = M(!1), i = j(() => e.maxFileInput <= t.value.length), o = (l) => {
5257
5266
  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
5267
  };
5259
5268
  return (l, n) => (d(), b("div", {
@@ -5264,7 +5273,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5264
5273
  onDrop: Q(o, ["prevent"])
5265
5274
  }, [
5266
5275
  t.value.length === 0 ? (d(), b("div", Xa, [
5267
- k(c(M), {
5276
+ k(c(I), {
5268
5277
  icon: "bi:upload",
5269
5278
  class: "me-2",
5270
5279
  height: "20px",
@@ -5272,7 +5281,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5272
5281
  }),
5273
5282
  n[2] || (n[2] = V(" Drag and drop files here "))
5274
5283
  ])) : (d(), b("div", Qa, [
5275
- F(l.$slots, "default")
5284
+ S(l.$slots, "default")
5276
5285
  ]))
5277
5286
  ], 34));
5278
5287
  }
@@ -5285,7 +5294,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5285
5294
  uploadStatus: {}
5286
5295
  },
5287
5296
  setup(e) {
5288
- const t = e, a = _(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = _(() => {
5297
+ const t = e, a = j(() => t.uploadStatus === "Failed" || t.uploadStatus === "InvalidFileType" || t.uploadStatus === "InvalidFileSize" ? "danger" : "warning"), i = j(() => {
5289
5298
  switch (t.uploadStatus) {
5290
5299
  case "InvalidFileType":
5291
5300
  return "Upload Failed: File type is not accepted.";
@@ -5350,12 +5359,12 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5350
5359
  }),
5351
5360
  emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5352
5361
  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 = () => {
5362
+ const a = N(e, "file"), i = N(e, "blobFileName"), o = N(e, "uploadStatus"), l = t, n = M(a.value.name), s = M(""), p = M(0), u = M(), h = j(() => e.acceptedFileTypes.some(({ fileType: f }) => f === a.value.type)), r = j(() => a.value.size <= e.maxFileSize), w = j(() => a.value.type ? a.value.type : Ga().getType(a.value.name)), v = () => {
5354
5363
  n.value != null && (C(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5355
5364
  }, C = () => {
5356
5365
  let f = n.value.split("."), B = qa.getExtension(w.value), D = n.value.split(".").pop();
5357
5366
  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
- }, S = async () => {
5367
+ }, F = async () => {
5359
5368
  if (!h.value || !r.value) {
5360
5369
  o.value = h.value ? "InvalidFileSize" : "InvalidFileType";
5361
5370
  return;
@@ -5389,7 +5398,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5389
5398
  await Ra(o.value, s.value), l("deleted", a.value);
5390
5399
  };
5391
5400
  return ne(() => {
5392
- e.autoUploadToBlob && o.value != "Uploaded" && S();
5401
+ e.autoUploadToBlob && o.value != "Uploaded" && F();
5393
5402
  }), (f, B) => {
5394
5403
  const D = q;
5395
5404
  return d(), b("div", {
@@ -5405,7 +5414,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5405
5414
  alt: a.value.name,
5406
5415
  width: "75px",
5407
5416
  preview: ""
5408
- }, null, 8, ["src", "alt"])) : (d(), x(c(M), {
5417
+ }, null, 8, ["src", "alt"])) : (d(), x(c(I), {
5409
5418
  key: 1,
5410
5419
  id: "file-earmark",
5411
5420
  icon: "bi:file-earmark",
@@ -5439,10 +5448,10 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5439
5448
  o.value === "Not Uploaded" || o.value === "Failed" || o.value === "Duplicate" || o.value === "Aborted" ? (d(), x(D, {
5440
5449
  key: 0,
5441
5450
  link: "",
5442
- onClick: S
5451
+ onClick: F
5443
5452
  }, {
5444
5453
  default: g(() => [
5445
- k(c(M), {
5454
+ k(c(I), {
5446
5455
  icon: o.value === "Not Uploaded" || o.value === "Duplicate" ? "bi:upload" : "bi:arrow-clockwise"
5447
5456
  }, null, 8, ["icon"])
5448
5457
  ]),
@@ -5454,7 +5463,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5454
5463
  onClick: B[1] || (B[1] = (y) => u.value.abort())
5455
5464
  }, {
5456
5465
  default: g(() => [
5457
- k(c(M), { icon: "bi:x-circle-fill" })
5466
+ k(c(I), { icon: "bi:x-circle-fill" })
5458
5467
  ]),
5459
5468
  _: 1
5460
5469
  })) : (d(), x(D, {
@@ -5464,7 +5473,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5464
5473
  id: "delete-button"
5465
5474
  }, {
5466
5475
  default: g(() => [
5467
- k(c(M), { icon: "bi:trash" })
5476
+ k(c(I), { icon: "bi:trash" })
5468
5477
  ]),
5469
5478
  _: 1
5470
5479
  }))
@@ -5520,7 +5529,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5520
5529
  ]),
5521
5530
  _: 1
5522
5531
  })) : T("", !0),
5523
- k(Za, j(a, {
5532
+ k(Za, _(a, {
5524
5533
  modelValue: t.value,
5525
5534
  "onUpdate:modelValue": l[0] || (l[0] = (n) => t.value = n)
5526
5535
  }), null, 16, ["modelValue"]),
@@ -5534,7 +5543,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5534
5543
  }, {
5535
5544
  default: g(() => [
5536
5545
  (d(!0), b(U, null, L(t.value, ({ file: n }, s) => (d(), b("div", null, [
5537
- (d(), x(di, j({
5546
+ (d(), x(di, _({
5538
5547
  key: n.name,
5539
5548
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5540
5549
  file: t.value[s].file,
@@ -5563,7 +5572,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5563
5572
  },
5564
5573
  emits: ["update:modelValue"],
5565
5574
  setup(e) {
5566
- const t = N(e, "modelValue"), a = I(), i = I(!1), o = (l) => {
5575
+ const t = N(e, "modelValue"), a = M(), i = M(!1), o = (l) => {
5567
5576
  a.value.toggle(l);
5568
5577
  };
5569
5578
  return (l, n) => (d(), b(U, null, [
@@ -5574,11 +5583,11 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5574
5583
  default: g(() => [
5575
5584
  m("div", gi, [
5576
5585
  m("div", bi, [
5577
- k(c(M), { icon: "bi:layout-three-columns" })
5586
+ k(c(I), { icon: "bi:layout-three-columns" })
5578
5587
  ]),
5579
5588
  V(" Columns (" + $(t.value.filter((s) => s.selected).length ?? 0) + "/" + $(t.value.length ?? 0) + ") ", 1),
5580
5589
  m("div", yi, [
5581
- k(c(M), {
5590
+ k(c(I), {
5582
5591
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5583
5592
  }, null, 8, ["icon"])
5584
5593
  ])
@@ -5625,12 +5634,12 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5625
5634
  const i = Je;
5626
5635
  return d(), x(i, G(Y({ ...t.$attrs })), ie({
5627
5636
  toggleicon: g(({ collapsed: o }) => [
5628
- o ? (d(), x(c(M), {
5637
+ o ? (d(), x(c(I), {
5629
5638
  key: 0,
5630
5639
  "data-cy": "message-icon",
5631
5640
  icon: "bi:chevron-down"
5632
5641
  })) : T("", !0),
5633
- o ? T("", !0) : (d(), x(c(M), {
5642
+ o ? T("", !0) : (d(), x(c(I), {
5634
5643
  key: 1,
5635
5644
  "data-cy": "message-icon",
5636
5645
  icon: "bi:chevron-up"
@@ -5641,7 +5650,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5641
5650
  L(t.$slots, (o, l) => ({
5642
5651
  name: l,
5643
5652
  fn: g((n) => [
5644
- F(t.$slots, l, G(Y(n)))
5653
+ S(t.$slots, l, G(Y(n)))
5645
5654
  ])
5646
5655
  }))
5647
5656
  ]), 1040);
@@ -5653,7 +5662,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5653
5662
  severity: { default: "primary" }
5654
5663
  },
5655
5664
  setup(e) {
5656
- const t = e, a = _(() => ({
5665
+ const t = e, a = j(() => ({
5657
5666
  root: (i) => ({
5658
5667
  class: [
5659
5668
  "btn",
@@ -5674,7 +5683,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5674
5683
  ]
5675
5684
  })
5676
5685
  }));
5677
- return (i, o) => (d(), x(c(Ke), j({ ...i.$attrs, ...t }, {
5686
+ return (i, o) => (d(), x(c(Ke), _({ ...i.$attrs, ...t }, {
5678
5687
  severity: t.severity,
5679
5688
  pt: a.value
5680
5689
  }), null, 16, ["severity", "pt"]));
@@ -5726,10 +5735,10 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5726
5735
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5727
5736
  ]));
5728
5737
  }
5729
- }), jo = /* @__PURE__ */ z({
5738
+ }), _o = /* @__PURE__ */ z({
5730
5739
  __name: "ForgeConfirmPopup",
5731
5740
  setup(e) {
5732
- const t = _(() => ({
5741
+ const t = j(() => ({
5733
5742
  root: [
5734
5743
  "card w-fit-content position-absolute"
5735
5744
  ],
@@ -5740,9 +5749,9 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5740
5749
  pcRejectButton: { root: "btn btn-outline-primary btn-sm" },
5741
5750
  pcAcceptButton: { root: "btn btn-primary btn-sm" }
5742
5751
  }));
5743
- return (a, i) => (d(), x(c(Ze), j({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5752
+ return (a, i) => (d(), x(c(Ze), _({ pt: t.value }, { ...a.$attrs, ...a.$props }), {
5744
5753
  default: g(() => [
5745
- (d(!0), b(U, null, L(a.$slots, (o, l) => F(a.$slots, l, { slot: l })), 256))
5754
+ (d(!0), b(U, null, L(a.$slots, (o, l) => S(a.$slots, l, { slot: l })), 256))
5746
5755
  ]),
5747
5756
  _: 3
5748
5757
  }, 16, ["pt"]));
@@ -5753,7 +5762,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5753
5762
  }, Bi = {
5754
5763
  key: 0,
5755
5764
  class: "mb-1"
5756
- }, _o = /* @__PURE__ */ z({
5765
+ }, jo = /* @__PURE__ */ z({
5757
5766
  __name: "ForgePickList",
5758
5767
  props: /* @__PURE__ */ E({
5759
5768
  filterBy: {},
@@ -5792,12 +5801,12 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5792
5801
  }),
5793
5802
  emits: ["update:modelValue"],
5794
5803
  setup(e) {
5795
- const t = e, a = N(e, "modelValue"), i = I([]), o = I([]), l = I(null), n = I(null), s = (v) => {
5804
+ const t = e, a = N(e, "modelValue"), i = M([]), o = M([]), l = M(null), n = M(null), s = (v) => {
5796
5805
  const { items: C } = v;
5797
- i.value = [...i.value, ...C], o.value = o.value.filter((S) => !C.includes(S));
5806
+ i.value = [...i.value, ...C], o.value = o.value.filter((F) => !C.includes(F));
5798
5807
  }, p = (v) => {
5799
5808
  const { items: C } = v;
5800
- o.value = o.value.push(...C), i.value = i.value.filter((S) => !C.includes(S));
5809
+ o.value = o.value.push(...C), i.value = i.value.filter((F) => !C.includes(F));
5801
5810
  }, u = () => {
5802
5811
  o.value = [.../* @__PURE__ */ new Set([...o.value, ...a.value[1]])], i.value = i.value.filter((v) => !a.value[1].includes(v));
5803
5812
  }, h = () => {
@@ -5809,19 +5818,19 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5809
5818
  w();
5810
5819
  });
5811
5820
  const r = () => {
5812
- var S;
5821
+ var F;
5813
5822
  const v = t.filterBy, C = l.value ? o.value.filter((A) => {
5814
5823
  var f;
5815
5824
  return A[v].toLowerCase().includes((f = l.value) == null ? void 0 : f.toLowerCase());
5816
5825
  }) : [...o.value];
5817
- (S = a.value) == null || S.splice(0, 1, C);
5826
+ (F = a.value) == null || F.splice(0, 1, C);
5818
5827
  }, w = () => {
5819
- var S;
5828
+ var F;
5820
5829
  const v = t.filterBy, C = n.value ? i.value.filter((A) => {
5821
5830
  var f;
5822
5831
  return A[v].toLowerCase().includes((f = n.value) == null ? void 0 : f.toLowerCase());
5823
5832
  }) : [...i.value];
5824
- (S = a.value) == null || S.splice(1, 1, C);
5833
+ (F = a.value) == null || F.splice(1, 1, C);
5825
5834
  };
5826
5835
  return W(
5827
5836
  () => a.value,
@@ -5829,14 +5838,14 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5829
5838
  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));
5830
5839
  },
5831
5840
  { once: !0 }
5832
- ), (v, C) => (d(), x(c(Xe), j({
5841
+ ), (v, C) => (d(), x(c(Xe), _({
5833
5842
  modelValue: a.value,
5834
- "onUpdate:modelValue": C[2] || (C[2] = (S) => a.value = S)
5843
+ "onUpdate:modelValue": C[2] || (C[2] = (F) => a.value = F)
5835
5844
  }, { ...v.$attrs, ...t }, {
5836
5845
  onMoveAllToSource: u,
5837
5846
  onMoveAllToTarget: h,
5838
- onMoveToTarget: C[3] || (C[3] = (S) => s(S)),
5839
- onMoveToSource: C[4] || (C[4] = (S) => p(S)),
5847
+ onMoveToTarget: C[3] || (C[3] = (F) => s(F)),
5848
+ onMoveToSource: C[4] || (C[4] = (F) => p(F)),
5840
5849
  style: { height: "14rem" }
5841
5850
  }), {
5842
5851
  sourceheader: g(() => [
@@ -5844,7 +5853,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5844
5853
  k(c(ae), {
5845
5854
  modelValue: l.value,
5846
5855
  "onUpdate:modelValue": [
5847
- C[0] || (C[0] = (S) => l.value = S),
5856
+ C[0] || (C[0] = (F) => l.value = F),
5848
5857
  r
5849
5858
  ],
5850
5859
  class: "mb-2",
@@ -5857,7 +5866,7 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5857
5866
  k(c(ae), {
5858
5867
  modelValue: n.value,
5859
5868
  "onUpdate:modelValue": [
5860
- C[1] || (C[1] = (S) => n.value = S),
5869
+ C[1] || (C[1] = (F) => n.value = F),
5861
5870
  w
5862
5871
  ],
5863
5872
  class: "mb-2",
@@ -5865,13 +5874,13 @@ const Ya = { class: "d-flex justify-content-between" }, Ja = ["accept", "disable
5865
5874
  "data-cy": "target-search"
5866
5875
  }, null, 8, ["modelValue"])
5867
5876
  ]),
5868
- option: g(({ option: S }) => [
5869
- V($(S[v.filterBy]), 1)
5877
+ option: g(({ option: F }) => [
5878
+ V($(F[v.filterBy]), 1)
5870
5879
  ]),
5871
5880
  _: 1
5872
5881
  }, 16, ["modelValue"]));
5873
5882
  }
5874
- }), Io = () => ({
5883
+ }), Mo = () => ({
5875
5884
  type: "component",
5876
5885
  resolve: (e) => {
5877
5886
  if (e.startsWith("Forge"))
@@ -5889,10 +5898,10 @@ export {
5889
5898
  ye as ForgeCheckbox,
5890
5899
  yo as ForgeChip,
5891
5900
  To as ForgeColumnCustomiser,
5892
- jo as ForgeConfirmPopup,
5901
+ _o as ForgeConfirmPopup,
5893
5902
  xe as ForgeDatepicker,
5894
5903
  Co as ForgeFileUploader,
5895
- So as ForgeFilterHeader,
5904
+ Fo as ForgeFilterHeader,
5896
5905
  go as ForgeForm,
5897
5906
  bo as ForgeFormField,
5898
5907
  Kt as ForgeInlineEditor,
@@ -5903,10 +5912,10 @@ export {
5903
5912
  mo as ForgeNavbar,
5904
5913
  vo as ForgePageHeader,
5905
5914
  zo as ForgePanel,
5906
- _o as ForgePickList,
5915
+ jo as ForgePickList,
5907
5916
  xo as ForgeProgressBar,
5908
5917
  fo as ForgeRemainingCharacters,
5909
- Io as ForgeResolver,
5918
+ Mo as ForgeResolver,
5910
5919
  ho as ForgeScratchpad,
5911
5920
  Po as ForgeSelectButton,
5912
5921
  wo as ForgeStatWidget,
@@ -5914,7 +5923,7 @@ export {
5914
5923
  $o as ForgeTable,
5915
5924
  Bo as ForgeTile,
5916
5925
  hi as ForgeToggleButton,
5917
- Fo as ForgeTreeTable,
5926
+ So as ForgeTreeTable,
5918
5927
  co as convertToMultiSelectOption,
5919
5928
  po as enumToMultiSelectList,
5920
5929
  Ut as parseError