@3squared/forge-ui-3 2.5.1 → 2.6.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.
@@ -1007,6 +1007,86 @@ const He = {
1007
1007
  }
1008
1008
  }
1009
1009
  }, kt = {
1010
+ tree: {
1011
+ node: "m-1",
1012
+ nodeToggleButton: ({ context: e }) => ({
1013
+ class: [
1014
+ "btn py-0 px-1",
1015
+ {
1016
+ invisible: e.leaf
1017
+ }
1018
+ ]
1019
+ }),
1020
+ rootChildren: "d-flex flex-column m-0 list-unstyled",
1021
+ nodeChildren: "list-unstyled ps-3 me-1",
1022
+ nodeContent: ({ context: e }) => ({
1023
+ class: [
1024
+ "dropdown-item d-flex text-wrap align-items-center mb-1",
1025
+ {
1026
+ "cursor-pointer": e.node.selectable || e.node.selectable == null,
1027
+ "bg-primary-subtle border border-primary rounded-2": e.selected
1028
+ }
1029
+ ]
1030
+ }),
1031
+ pcFilterIconContainer: {
1032
+ root: {
1033
+ class: ["position-absolute bottom-0 end-0 me-3"],
1034
+ style: "top: 8%;"
1035
+ }
1036
+ },
1037
+ pcFilterInput: { root: "d-flex cursor-pointer form-control form-control-sm w-100" },
1038
+ pcFilterContainer: { root: "dropdown-item" },
1039
+ filterIcon: "d-none"
1040
+ }
1041
+ }, $t = {
1042
+ treeSelect: {
1043
+ root: ({ props: e }) => ({
1044
+ class: [
1045
+ "form-select d-flex cursor-pointer position-relative",
1046
+ {
1047
+ disabled: e.disabled
1048
+ }
1049
+ ]
1050
+ }),
1051
+ dropdown: "d-none",
1052
+ panel: "dropdown-menu overflow-y-auto show",
1053
+ labelContainer: "w-100 me-2",
1054
+ label: "w-100 d-flex ellipsis-overflow",
1055
+ clearIcon: "ms-auto my-auto",
1056
+ header: "p-2 w-100",
1057
+ pcTree: {
1058
+ node: "mx-1",
1059
+ nodeToggleButton: ({ context: e }) => ({
1060
+ class: [
1061
+ "btn py-0 px-1",
1062
+ {
1063
+ invisible: e.leaf
1064
+ }
1065
+ ]
1066
+ }),
1067
+ rootChildren: "d-flex flex-column m-0 list-unstyled",
1068
+ nodeChildren: "list-unstyled ps-3 mb-1 me-1",
1069
+ nodeContent: ({ context: e }) => ({
1070
+ class: [
1071
+ "dropdown-item d-flex text-wrap align-items-center mb-1",
1072
+ {
1073
+ "cursor-pointer": e.node.selectable || e.node.selectable == null,
1074
+ "bg-primary-subtle border border-primary rounded-2": e.selected
1075
+ }
1076
+ ]
1077
+ }),
1078
+ pcFilterIconContainer: {
1079
+ root: {
1080
+ class: ["position-absolute bottom-0 end-0 me-3"],
1081
+ style: "top: 8%;"
1082
+ }
1083
+ },
1084
+ pcFilterInput: { root: "d-flex cursor-pointer form-control form-control-sm w-100" },
1085
+ pcFilterContainer: { root: "dropdown-item" },
1086
+ filterIcon: "d-none"
1087
+ }
1088
+ }
1089
+ }, Ft = {
1010
1090
  fieldset: {
1011
1091
  root: () => ({
1012
1092
  class: [
@@ -1032,7 +1112,7 @@ const He = {
1032
1112
  ]
1033
1113
  })
1034
1114
  }
1035
- }, Ti = {
1115
+ }, Ii = {
1036
1116
  ...He,
1037
1117
  ...ut,
1038
1118
  ...We,
@@ -1063,6 +1143,8 @@ const He = {
1063
1143
  ...ot,
1064
1144
  ...wt,
1065
1145
  ...et,
1146
+ ...Ft,
1147
+ ...$t,
1066
1148
  ...kt,
1067
1149
  directives: {
1068
1150
  ...vt
@@ -1112,7 +1194,7 @@ const He = {
1112
1194
  }, 16);
1113
1195
  };
1114
1196
  }
1115
- }), ji = /* @__PURE__ */ B({
1197
+ }), _i = /* @__PURE__ */ B({
1116
1198
  __name: "ForgeActionButton",
1117
1199
  props: {
1118
1200
  action: {},
@@ -1142,7 +1224,7 @@ const He = {
1142
1224
  ], 64);
1143
1225
  };
1144
1226
  }
1145
- }), Ii = /* @__PURE__ */ B({
1227
+ }), Pi = /* @__PURE__ */ B({
1146
1228
  __name: "ForgeAutoComplete",
1147
1229
  setup(e) {
1148
1230
  return (t, a) => (d(), f(c(Se), S({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
@@ -1152,7 +1234,7 @@ const He = {
1152
1234
  _: 3
1153
1235
  }, 16));
1154
1236
  }
1155
- }), $t = { class: "d-flex flex-column" }, Ft = ["for"], fe = /* @__PURE__ */ B({
1237
+ }), Bt = { class: "d-flex flex-column" }, St = ["for"], fe = /* @__PURE__ */ B({
1156
1238
  __name: "ForgeCheckbox",
1157
1239
  props: /* @__PURE__ */ E({
1158
1240
  label: { default: "" },
@@ -1199,7 +1281,7 @@ const He = {
1199
1281
  }, r = z(() => l.value.length > 0);
1200
1282
  return (p, u) => {
1201
1283
  const x = Ce;
1202
- return d(), b("div", $t, [
1284
+ return d(), b("div", Bt, [
1203
1285
  m("div", S({
1204
1286
  class: "d-flex",
1205
1287
  "data-cy": "checkbox-container",
@@ -1221,7 +1303,7 @@ const He = {
1221
1303
  k(p.$slots, "default", {}, () => [
1222
1304
  _(w(t.label), 1)
1223
1305
  ])
1224
- ], 10, Ft)
1306
+ ], 10, St)
1225
1307
  ], 16),
1226
1308
  H(m("small", {
1227
1309
  "data-cy": "error",
@@ -1232,7 +1314,7 @@ const He = {
1232
1314
  ]);
1233
1315
  };
1234
1316
  }
1235
- }), Bt = { class: "forge-loader" }, ge = /* @__PURE__ */ B({
1317
+ }), Ct = { class: "forge-loader" }, ge = /* @__PURE__ */ B({
1236
1318
  __name: "ForgeLoader",
1237
1319
  props: {
1238
1320
  severity: { default: "primary" }
@@ -1241,7 +1323,7 @@ const He = {
1241
1323
  const t = e;
1242
1324
  return (a, i) => {
1243
1325
  const l = ze;
1244
- return d(), b("div", Bt, [
1326
+ return d(), b("div", Ct, [
1245
1327
  y(l, {
1246
1328
  "animation-duration": ".75",
1247
1329
  class: F(`text-${t.severity === void 0 ? "primary" : t.severity}`)
@@ -1249,7 +1331,7 @@ const He = {
1249
1331
  ]);
1250
1332
  };
1251
1333
  }
1252
- }), St = ["href", "target"], _i = /* @__PURE__ */ B({
1334
+ }), zt = ["href", "target"], Vi = /* @__PURE__ */ B({
1253
1335
  __name: "ForgeLink",
1254
1336
  props: {
1255
1337
  url: {},
@@ -1298,10 +1380,10 @@ const He = {
1298
1380
  }, null, 8, ["icon", "class"])) : C("", !0),
1299
1381
  _(" " + w(i.label), 1)
1300
1382
  ])
1301
- ], 10, St));
1383
+ ], 10, zt));
1302
1384
  }
1303
1385
  });
1304
- function Ct(e) {
1386
+ function Tt(e) {
1305
1387
  const t = {
1306
1388
  errorMessage: "",
1307
1389
  errorDetails: []
@@ -1312,16 +1394,16 @@ function Ct(e) {
1312
1394
  }
1313
1395
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1314
1396
  }
1315
- function Pi(e, t) {
1397
+ function Mi(e, t) {
1316
1398
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1317
1399
  }
1318
- function Vi(e, t, a) {
1400
+ function Di(e, t, a) {
1319
1401
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1320
1402
  }
1321
- const zt = { key: 0 }, Tt = {
1403
+ const jt = { key: 0 }, It = {
1322
1404
  class: "d-flex w-100",
1323
1405
  "data-cy": "footer"
1324
- }, Mi = /* @__PURE__ */ B({
1406
+ }, Oi = /* @__PURE__ */ B({
1325
1407
  __name: "ForgeModal",
1326
1408
  props: /* @__PURE__ */ E({
1327
1409
  cancelText: { default: "Cancel" },
@@ -1389,7 +1471,7 @@ const zt = { key: 0 }, Tt = {
1389
1471
  (o || o == null) && p();
1390
1472
  } catch (o) {
1391
1473
  n.value.hasError = !0;
1392
- const $ = Ct(o);
1474
+ const $ = Tt(o);
1393
1475
  n.value.header = $.errorMessage, n.value.message = $.errorDetails;
1394
1476
  }
1395
1477
  l.value = !1;
@@ -1443,7 +1525,7 @@ const zt = { key: 0 }, Tt = {
1443
1525
  m("p", {
1444
1526
  class: F(n.value.message.length > 0 ? "my-auto" : "mb-0")
1445
1527
  }, w(n.value.header), 3),
1446
- n.value.message.length > 0 ? (d(), b("ul", zt, [
1528
+ n.value.message.length > 0 ? (d(), b("ul", jt, [
1447
1529
  (d(!0), b(N, null, q(n.value.message, (h) => (d(), b("li", { key: h }, w(h), 1))), 128))
1448
1530
  ])) : C("", !0)
1449
1531
  ]),
@@ -1458,7 +1540,7 @@ const zt = { key: 0 }, Tt = {
1458
1540
  o.showFooter ? {
1459
1541
  name: "footer",
1460
1542
  fn: g(() => [
1461
- m("div", Tt, [
1543
+ m("div", It, [
1462
1544
  y(j, {
1463
1545
  label: o.cancelText,
1464
1546
  class: F(i.cancelClass),
@@ -1481,7 +1563,7 @@ const zt = { key: 0 }, Tt = {
1481
1563
  ]), 1040, ["pt"]);
1482
1564
  };
1483
1565
  }
1484
- }), jt = ["id"], It = { key: 0 }, _t = { key: 0 }, Pt = { class: "d-flex justify-content-between align-items-center position-relative" }, Vt = { key: 1 }, Mt = { "data-cy": "readonly-value" }, Dt = /* @__PURE__ */ B({
1566
+ }), _t = ["id"], Pt = { key: 0 }, Vt = { key: 0 }, Mt = { class: "d-flex justify-content-between align-items-center position-relative" }, Dt = { key: 1 }, Ot = { "data-cy": "readonly-value" }, Nt = /* @__PURE__ */ B({
1485
1567
  __name: "ForgeInlineEditor",
1486
1568
  props: /* @__PURE__ */ E({
1487
1569
  name: { default: "" },
@@ -1526,13 +1608,13 @@ const zt = { key: 0 }, Tt = {
1526
1608
  return d(), b("div", {
1527
1609
  id: t.name
1528
1610
  }, [
1529
- j.readonly ? (d(), b("div", Vt, [
1611
+ j.readonly ? (d(), b("div", Dt, [
1530
1612
  k(j.$slots, "default", {}, () => [
1531
- m("span", Mt, w(c(o)), 1)
1613
+ m("span", Ot, w(c(o)), 1)
1532
1614
  ])
1533
- ])) : (d(), b("div", It, [
1534
- i.value ? (d(), b("div", _t, [
1535
- H((d(), b("div", Pt, [
1615
+ ])) : (d(), b("div", Pt, [
1616
+ i.value ? (d(), b("div", Vt, [
1617
+ H((d(), b("div", Mt, [
1536
1618
  k(j.$slots, "editor", {
1537
1619
  class: F({ "is-invalid": $.value }),
1538
1620
  editFinished: s,
@@ -1597,10 +1679,10 @@ const zt = { key: 0 }, Tt = {
1597
1679
  }, w(c(u)), 513), [
1598
1680
  [Y, $.value]
1599
1681
  ])
1600
- ], 8, jt);
1682
+ ], 8, _t);
1601
1683
  };
1602
1684
  }
1603
- }), Ot = ["href"], Di = /* @__PURE__ */ B({
1685
+ }), Ut = ["href"], Ni = /* @__PURE__ */ B({
1604
1686
  __name: "ForgeNavbar",
1605
1687
  props: {
1606
1688
  severity: { default: "light" },
@@ -1657,7 +1739,7 @@ const zt = { key: 0 }, Tt = {
1657
1739
  k(i.$slots, "logo", {}, () => [
1658
1740
  l[0] || (l[0] = _(" Logo "))
1659
1741
  ])
1660
- ], 8, Ot)
1742
+ ], 8, Ut)
1661
1743
  ]),
1662
1744
  buttonicon: g(() => [
1663
1745
  k(i.$slots, "buttonIcon", {}, () => [
@@ -1679,14 +1761,14 @@ const zt = { key: 0 }, Tt = {
1679
1761
  }))
1680
1762
  ]), 1040, ["pt"]));
1681
1763
  }
1682
- }), Nt = { class: "border alternating-item-list" }, Ut = {
1764
+ }), At = { class: "border alternating-item-list" }, qt = {
1683
1765
  key: 0,
1684
1766
  class: "p-2 border-top border-bottom",
1685
1767
  "data-cy": "title"
1686
- }, At = { class: "d-inline-block" }, qt = {
1768
+ }, Et = { class: "d-inline-block" }, Lt = {
1687
1769
  key: 1,
1688
1770
  class: "p-2 item d-flex justify-content-between align-items-center"
1689
- }, Et = /* @__PURE__ */ B({
1771
+ }, Rt = /* @__PURE__ */ B({
1690
1772
  __name: "ForgeMultiSelectPreview",
1691
1773
  props: /* @__PURE__ */ E({
1692
1774
  title: { default: "Selected Items" },
@@ -1739,14 +1821,14 @@ const zt = { key: 0 }, Tt = {
1739
1821
  style: ke({ height: l.height }),
1740
1822
  class: "overflow-auto"
1741
1823
  }, [
1742
- m("div", Nt, [
1743
- l.title ? (d(), b("div", Ut, w(l.title), 1)) : C("", !0),
1824
+ m("div", At, [
1825
+ l.title ? (d(), b("div", qt, w(l.title), 1)) : C("", !0),
1744
1826
  (d(!0), b(N, null, q(a.value, (p) => (d(), b("div", {
1745
1827
  key: p.id,
1746
1828
  class: "p-2 item d-flex justify-content-between align-items-center"
1747
1829
  }, [
1748
1830
  k(l.$slots, "list-item", { item: p }, () => [
1749
- m("span", At, w(p.shortLabel ? p.shortLabel : p.label), 1)
1831
+ m("span", Et, w(p.shortLabel ? p.shortLabel : p.label), 1)
1750
1832
  ]),
1751
1833
  l.canRemoveItemFromPreview ? (d(), f(r, {
1752
1834
  key: 0,
@@ -1764,34 +1846,34 @@ const zt = { key: 0 }, Tt = {
1764
1846
  _: 2
1765
1847
  }, 1032, ["onClick"])) : C("", !0)
1766
1848
  ]))), 128)),
1767
- a.value == null || a.value.length == 0 ? (d(), b("div", qt, w(t.optionsPreviewEmptyText), 1)) : C("", !0)
1849
+ a.value == null || a.value.length == 0 ? (d(), b("div", Lt, w(t.optionsPreviewEmptyText), 1)) : C("", !0)
1768
1850
  ])
1769
1851
  ], 4)
1770
1852
  ], 2)
1771
1853
  ], 2);
1772
1854
  };
1773
1855
  }
1774
- }), Lt = { class: "d-flex justify-content-between pb-2" }, Rt = {
1856
+ }), Ht = { class: "d-flex justify-content-between pb-2" }, Wt = {
1775
1857
  "data-cy": "title",
1776
1858
  class: "my-auto"
1777
- }, Ht = {
1859
+ }, Yt = {
1778
1860
  "data-cy": "slot",
1779
1861
  class: "d-flex align-items-center"
1780
- }, Oi = /* @__PURE__ */ B({
1862
+ }, Ui = /* @__PURE__ */ B({
1781
1863
  __name: "ForgePageHeader",
1782
1864
  props: {
1783
1865
  title: {}
1784
1866
  },
1785
1867
  setup(e) {
1786
1868
  const t = e;
1787
- return (a, i) => (d(), b("div", Lt, [
1788
- m("h3", Rt, w(t.title), 1),
1789
- m("div", Ht, [
1869
+ return (a, i) => (d(), b("div", Ht, [
1870
+ m("h3", Wt, w(t.title), 1),
1871
+ m("div", Yt, [
1790
1872
  k(a.$slots, "default")
1791
1873
  ])
1792
1874
  ]));
1793
1875
  }
1794
- }), Wt = { class: "d-flex" }, Yt = { "data-cy": "before-slot" }, Gt = { class: "position-relative w-100" }, Jt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ B({
1876
+ }), Gt = { class: "d-flex" }, Jt = { "data-cy": "before-slot" }, Kt = { class: "position-relative w-100" }, Zt = { "data-cy": "after-slot" }, be = /* @__PURE__ */ B({
1795
1877
  __name: "ForgeDatepicker",
1796
1878
  props: /* @__PURE__ */ E({
1797
1879
  severity: { default: "primary" },
@@ -1965,11 +2047,11 @@ const zt = { key: 0 }, Tt = {
1965
2047
  return (o, $) => {
1966
2048
  const j = _e;
1967
2049
  return d(), b(N, null, [
1968
- m("div", Wt, [
1969
- m("span", Yt, [
2050
+ m("div", Gt, [
2051
+ m("span", Jt, [
1970
2052
  k(o.$slots, "before")
1971
2053
  ]),
1972
- m("div", Gt, [
2054
+ m("div", Kt, [
1973
2055
  y(j, S({ ...t, ...o.$attrs }, {
1974
2056
  pt: x.value,
1975
2057
  modelValue: a.value,
@@ -1996,7 +2078,7 @@ const zt = { key: 0 }, Tt = {
1996
2078
  [Y, t.modelValue]
1997
2079
  ])
1998
2080
  ]),
1999
- m("span", Jt, [
2081
+ m("span", Zt, [
2000
2082
  k(o.$slots, "after")
2001
2083
  ])
2002
2084
  ]),
@@ -2009,7 +2091,7 @@ const zt = { key: 0 }, Tt = {
2009
2091
  ], 64);
2010
2092
  };
2011
2093
  }
2012
- }), Ni = /* @__PURE__ */ B({
2094
+ }), Ai = /* @__PURE__ */ B({
2013
2095
  __name: "ForgeRemainingCharacters",
2014
2096
  props: {
2015
2097
  maxCount: { default: 300 },
@@ -2021,7 +2103,7 @@ const zt = { key: 0 }, Tt = {
2021
2103
  class: F(a.value < 0 ? "text-danger" : "")
2022
2104
  }, "Remaining characters: " + w(a.value), 3));
2023
2105
  }
2024
- }), Kt = { class: "d-flex justify-content-between" }, Ui = /* @__PURE__ */ B({
2106
+ }), Xt = { class: "d-flex justify-content-between" }, qi = /* @__PURE__ */ B({
2025
2107
  __name: "ForgeForm",
2026
2108
  props: {
2027
2109
  onSubmit: {},
@@ -2077,7 +2159,7 @@ const zt = { key: 0 }, Tt = {
2077
2159
  _: 3
2078
2160
  })) : C("", !0),
2079
2161
  k(n.$slots, "default"),
2080
- m("div", Kt, [
2162
+ m("div", Xt, [
2081
2163
  k(n.$slots, "cancel", {}, () => [
2082
2164
  n.hideCancel ? C("", !0) : (d(), f(r, {
2083
2165
  key: 0,
@@ -2114,10 +2196,10 @@ const zt = { key: 0 }, Tt = {
2114
2196
  ], 16);
2115
2197
  };
2116
2198
  }
2117
- }), Zt = {
2199
+ }), Qt = {
2118
2200
  key: 1,
2119
2201
  class: "d-flex flex-column w-100"
2120
- }, Xt = ["for"], Ai = /* @__PURE__ */ B({
2202
+ }, ea = ["for"], Ei = /* @__PURE__ */ B({
2121
2203
  __name: "ForgeFormField",
2122
2204
  props: /* @__PURE__ */ E({
2123
2205
  name: {},
@@ -2150,7 +2232,7 @@ const zt = { key: 0 }, Tt = {
2150
2232
  name: a.name,
2151
2233
  modelValue: t.value,
2152
2234
  "onUpdate:modelValue": o[0] || (o[0] = (h) => t.value = h)
2153
- }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", Zt, [
2235
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (d(), b("div", Qt, [
2154
2236
  m("div", {
2155
2237
  "data-cy": "input-wrapper",
2156
2238
  class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2158,7 +2240,7 @@ const zt = { key: 0 }, Tt = {
2158
2240
  m("label", {
2159
2241
  for: a.name,
2160
2242
  class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2161
- }, w(a.fieldLabel), 11, Xt),
2243
+ }, w(a.fieldLabel), 11, ea),
2162
2244
  a.type === "number" ? (d(), f(c(ue), S({
2163
2245
  key: 0,
2164
2246
  id: a.name
@@ -2208,7 +2290,7 @@ const zt = { key: 0 }, Tt = {
2208
2290
  modelValue: t.value,
2209
2291
  "onUpdate:modelValue": o[6] || (o[6] = (h) => t.value = h),
2210
2292
  class: { "is-invalid": u.value }
2211
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), f(Et, S({ key: 6 }, { ...a, ...x.$attrs }, {
2293
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (d(), f(Rt, S({ key: 6 }, { ...a, ...x.$attrs }, {
2212
2294
  modelValue: t.value,
2213
2295
  "onUpdate:modelValue": o[7] || (o[7] = (h) => t.value = h),
2214
2296
  class: { "is-invalid": u.value }
@@ -2227,7 +2309,7 @@ const zt = { key: 0 }, Tt = {
2227
2309
  ]));
2228
2310
  };
2229
2311
  }
2230
- }), qi = /* @__PURE__ */ B({
2312
+ }), Li = /* @__PURE__ */ B({
2231
2313
  __name: "ForgeChip",
2232
2314
  props: {
2233
2315
  chipSeverity: { default: "primary" },
@@ -2270,7 +2352,7 @@ const zt = { key: 0 }, Tt = {
2270
2352
  }, 16, ["pt"]);
2271
2353
  };
2272
2354
  }
2273
- }), Qt = /* @__PURE__ */ B({
2355
+ }), ta = /* @__PURE__ */ B({
2274
2356
  __name: "ForgeProgressBar",
2275
2357
  props: {
2276
2358
  severity: { default: "primary" },
@@ -2324,7 +2406,7 @@ const zt = { key: 0 }, Tt = {
2324
2406
  };
2325
2407
  }
2326
2408
  });
2327
- var ea = /* @__PURE__ */ B({
2409
+ var aa = /* @__PURE__ */ B({
2328
2410
  name: "VueDrawingCanvas",
2329
2411
  props: {
2330
2412
  strokeType: {
@@ -2714,7 +2796,7 @@ var ea = /* @__PURE__ */ B({
2714
2796
  });
2715
2797
  }
2716
2798
  });
2717
- const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1 gap-1" }, Ei = /* @__PURE__ */ B({
2799
+ const ia = { class: "d-flex flex-column" }, la = { class: "d-flex flex-row mt-1 gap-1" }, Ri = /* @__PURE__ */ B({
2718
2800
  __name: "ForgeScratchpad",
2719
2801
  props: {
2720
2802
  showClear: { type: Boolean, default: !0 },
@@ -2738,8 +2820,8 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2738
2820
  };
2739
2821
  return (x, o) => {
2740
2822
  const $ = U;
2741
- return d(), b("div", ta, [
2742
- y(c(ea), S({
2823
+ return d(), b("div", ia, [
2824
+ y(c(aa), S({
2743
2825
  ref_key: "drawingCanvas",
2744
2826
  ref: l,
2745
2827
  image: n.value,
@@ -2752,7 +2834,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2752
2834
  style: `height: ${x.height}px; width: ${x.width}px`,
2753
2835
  "line-join": x.lineJoin
2754
2836
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
2755
- m("div", aa, [
2837
+ m("div", la, [
2756
2838
  a.showUndo ? (d(), f($, {
2757
2839
  key: 0,
2758
2840
  onClick: p,
@@ -2801,7 +2883,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2801
2883
  ]);
2802
2884
  };
2803
2885
  }
2804
- }), ia = { class: "value text-white w-100 text-center" }, Li = /* @__PURE__ */ B({
2886
+ }), na = { class: "value text-white w-100 text-center" }, Hi = /* @__PURE__ */ B({
2805
2887
  __name: "ForgeStatWidget",
2806
2888
  props: {
2807
2889
  size: { default: "md" },
@@ -2812,12 +2894,12 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2812
2894
  return (a, i) => (d(), b("div", S(a.$attrs, {
2813
2895
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
2814
2896
  }), [
2815
- m("span", ia, [
2897
+ m("span", na, [
2816
2898
  k(a.$slots, "default")
2817
2899
  ])
2818
2900
  ], 16));
2819
2901
  }
2820
- }), la = { key: 0 }, Ri = /* @__PURE__ */ B({
2902
+ }), oa = { key: 0 }, Wi = /* @__PURE__ */ B({
2821
2903
  __name: "ForgeStepper",
2822
2904
  props: {
2823
2905
  currentStep: { default: 1 },
@@ -2875,7 +2957,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2875
2957
  ref_for: !0
2876
2958
  }, { ...i.$attrs }, { pt: a.value }), {
2877
2959
  default: g(() => [
2878
- i.showStepLabel ? (d(), b("div", la, w(n.label), 1)) : C("", !0)
2960
+ i.showStepLabel ? (d(), b("div", oa, w(n.label), 1)) : C("", !0)
2879
2961
  ]),
2880
2962
  _: 2
2881
2963
  }, 1040, ["value", "disabled", "pt"]))), 128))
@@ -2900,7 +2982,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2900
2982
  _: 3
2901
2983
  }, 8, ["value"]));
2902
2984
  }
2903
- }), na = { class: "p-4 text-wrap w-100" }, oa = { class: "p-4 text-wrap w-100" }, Hi = /* @__PURE__ */ B({
2985
+ }), sa = { class: "p-4 text-wrap w-100" }, ra = { class: "p-4 text-wrap w-100" }, Yi = /* @__PURE__ */ B({
2904
2986
  __name: "ForgeTile",
2905
2987
  props: {
2906
2988
  severity: { default: "primary" },
@@ -2920,7 +3002,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2920
3002
  "data-cy": "button-tile"
2921
3003
  }, {
2922
3004
  default: g(() => [
2923
- m("div", na, [
3005
+ m("div", sa, [
2924
3006
  k(l.$slots, "default", {}, () => [
2925
3007
  n[0] || (n[0] = _("Tile Content"))
2926
3008
  ])
@@ -2932,7 +3014,7 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2932
3014
  class: F(["d-flex w-100", i.value]),
2933
3015
  "data-cy": "tile"
2934
3016
  }, [
2935
- m("div", oa, [
3017
+ m("div", ra, [
2936
3018
  k(l.$slots, "default", {}, () => [
2937
3019
  n[1] || (n[1] = _("Tile Content"))
2938
3020
  ])
@@ -2944,13 +3026,13 @@ const ta = { class: "d-flex flex-column" }, aa = { class: "d-flex flex-row mt-1
2944
3026
  function Q(e, t) {
2945
3027
  return e > 1 ? `${t}s` : t;
2946
3028
  }
2947
- const sa = {
3029
+ const da = {
2948
3030
  class: "d-flex justify-content-start align-items-baseline",
2949
3031
  "data-cy": "pagination-header"
2950
- }, ra = { class: "ms-2" }, da = { key: 0 }, pa = {
3032
+ }, pa = { class: "ms-2" }, ca = { key: 0 }, ua = {
2951
3033
  class: "w-auto",
2952
3034
  "data-cy": "total"
2953
- }, ca = /* @__PURE__ */ B({
3035
+ }, ma = /* @__PURE__ */ B({
2954
3036
  __name: "ForgePaginationHeader",
2955
3037
  props: {
2956
3038
  total: {},
@@ -2965,9 +3047,9 @@ const sa = {
2965
3047
  const s = Math.ceil(i.total / i.perPage);
2966
3048
  return `${s} ${Q(s, "page")}`;
2967
3049
  });
2968
- return (s, r) => (d(), b("div", sa, [
3050
+ return (s, r) => (d(), b("div", da, [
2969
3051
  r[2] || (r[2] = _(" Number of results per page ")),
2970
- m("div", ra, [
3052
+ m("div", pa, [
2971
3053
  y(c(te), {
2972
3054
  options: i.pageSizes,
2973
3055
  "model-value": i.perPage,
@@ -2975,16 +3057,16 @@ const sa = {
2975
3057
  onChange: r[0] || (r[0] = (p) => l(p))
2976
3058
  }, null, 8, ["options", "model-value"])
2977
3059
  ]),
2978
- i.total ? (d(), b("div", da, [
3060
+ i.total ? (d(), b("div", ca, [
2979
3061
  r[1] || (r[1] = m("span", { class: "mx-2" }, "|", -1)),
2980
- m("span", pa, w(i.total) + " " + w(c(Q)(i.total, "result")) + " across " + w(n.value), 1)
3062
+ m("span", ua, w(i.total) + " " + w(c(Q)(i.total, "result")) + " across " + w(n.value), 1)
2981
3063
  ])) : C("", !0)
2982
3064
  ]));
2983
3065
  }
2984
- }), ua = { class: "position-relative" }, ma = { "data-cy": "above-table-slot" }, va = { class: "d-flex w-100" }, fa = {
3066
+ }), va = { class: "position-relative" }, fa = { "data-cy": "above-table-slot" }, ga = { class: "d-flex w-100" }, ba = {
2985
3067
  class: "mx-auto",
2986
3068
  "data-cy": "empty-message"
2987
- }, ga = { class: "d-flex" }, ba = { class: "d-flex align-items-end mb-2" }, xa = { key: 0 }, ya = { class: "ms-auto" }, Wi = /* @__PURE__ */ B({
3069
+ }, xa = { class: "d-flex" }, ya = { class: "d-flex align-items-end mb-2" }, ha = { key: 0 }, wa = { class: "ms-auto" }, Gi = /* @__PURE__ */ B({
2988
3070
  __name: "ForgeTable",
2989
3071
  props: {
2990
3072
  value: {},
@@ -3123,8 +3205,8 @@ const sa = {
3123
3205
  };
3124
3206
  return ce(() => i.filters, (v) => {
3125
3207
  r.value.filters = v, a("update:tableContext", r.value);
3126
- }, { deep: !0 }), le(() => a("update:tableContext", r.value)), (v, h) => (d(), b("div", ua, [
3127
- m("span", ma, [
3208
+ }, { deep: !0 }), le(() => a("update:tableContext", r.value)), (v, h) => (d(), b("div", va, [
3209
+ m("span", fa, [
3128
3210
  k(v.$slots, "above-table")
3129
3211
  ]),
3130
3212
  y(c(Ee), S({
@@ -3143,18 +3225,18 @@ const sa = {
3143
3225
  showHeaders: ""
3144
3226
  }), ie({
3145
3227
  empty: g(() => [
3146
- m("div", va, [
3147
- m("h5", fa, w(v.emptyMessage ?? "No items Found."), 1)
3228
+ m("div", ga, [
3229
+ m("h5", ba, w(v.emptyMessage ?? "No items Found."), 1)
3148
3230
  ])
3149
3231
  ]),
3150
3232
  header: g(() => [
3151
3233
  m("div", {
3152
3234
  class: F(i.loading ? "opacity-50" : "")
3153
3235
  }, [
3154
- m("div", ga, [
3155
- m("div", ba, [
3156
- v.paginator && !v.legacyPaginationFooter ? (d(), b("span", xa, [
3157
- y(ca, {
3236
+ m("div", xa, [
3237
+ m("div", ya, [
3238
+ v.paginator && !v.legacyPaginationFooter ? (d(), b("span", ha, [
3239
+ y(ma, {
3158
3240
  total: p.value,
3159
3241
  "page-sizes": n.value,
3160
3242
  "per-page": s.value,
@@ -3165,7 +3247,7 @@ const sa = {
3165
3247
  }, null, 8, ["total", "page-sizes", "per-page"])
3166
3248
  ])) : C("", !0)
3167
3249
  ]),
3168
- m("div", ya, [
3250
+ m("div", wa, [
3169
3251
  v.showClearButton ? (d(), f(c(U), {
3170
3252
  key: 0,
3171
3253
  outlined: "",
@@ -3247,7 +3329,7 @@ const sa = {
3247
3329
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3248
3330
  ]));
3249
3331
  }
3250
- }), ha = { class: "d-flex position-relative" }, wa = { class: "d-flex w-100" }, Yi = /* @__PURE__ */ B({
3332
+ }), ka = { class: "d-flex position-relative" }, $a = { class: "d-flex w-100" }, Ji = /* @__PURE__ */ B({
3251
3333
  __name: "ForgeFilterHeader",
3252
3334
  props: /* @__PURE__ */ E({
3253
3335
  dataType: {},
@@ -3278,7 +3360,7 @@ const sa = {
3278
3360
  };
3279
3361
  return (l, n) => {
3280
3362
  const s = ue, r = U;
3281
- return d(), b("div", ha, [
3363
+ return d(), b("div", ka, [
3282
3364
  l.dataType === "numeric" ? (d(), f(s, S({
3283
3365
  key: 0,
3284
3366
  modelValue: t.value,
@@ -3300,7 +3382,7 @@ const sa = {
3300
3382
  "option-label": l.optionLabel
3301
3383
  }), {
3302
3384
  value: g(({ value: p, placeholder: u }) => [
3303
- m("div", wa, [
3385
+ m("div", $a, [
3304
3386
  m("span", {
3305
3387
  class: F({ "filter-placeholder": p === null })
3306
3388
  }, w(a(p, u)), 3),
@@ -4467,7 +4549,7 @@ class xe {
4467
4549
  }
4468
4550
  }
4469
4551
  W = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4470
- const ka = new xe(de, re)._freeze();
4552
+ const Fa = new xe(de, re)._freeze();
4471
4553
  function ye(e, t, a, i) {
4472
4554
  const l = t.flatMap((n) => n.file);
4473
4555
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
@@ -4480,7 +4562,7 @@ function ye(e, t, a, i) {
4480
4562
  })) : t[s].status = "Duplicate";
4481
4563
  }), t;
4482
4564
  }
4483
- async function $a(e, t) {
4565
+ async function Ba(e, t) {
4484
4566
  if (e === "Uploaded" && t !== null)
4485
4567
  try {
4486
4568
  await new me(t).delete();
@@ -4503,20 +4585,20 @@ function pe(e, t = !0, a = 1) {
4503
4585
  while (Math.round(Math.abs(e) * s) / s >= i && n < l.length - 1);
4504
4586
  return e.toFixed(a) + " " + l[n];
4505
4587
  }
4506
- function Fa(e) {
4588
+ function Sa(e) {
4507
4589
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4508
4590
  }
4509
- function Ba(e) {
4591
+ function Ca(e) {
4510
4592
  return URL.createObjectURL(e);
4511
4593
  }
4512
- function Sa() {
4594
+ function za() {
4513
4595
  const e = new xe(de, re);
4514
4596
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4515
4597
  }
4516
- const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disabled", "multiple"], Ta = {
4598
+ const Ta = { class: "d-flex justify-content-between" }, ja = ["accept", "disabled", "multiple"], Ia = {
4517
4599
  class: "text-break accepted-file-types-container",
4518
4600
  id: "accepted-file-types-overlay"
4519
- }, ja = /* @__PURE__ */ B({
4601
+ }, _a = /* @__PURE__ */ B({
4520
4602
  __name: "UploadButton",
4521
4603
  props: /* @__PURE__ */ E({
4522
4604
  acceptedFileTypes: {},
@@ -4533,7 +4615,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4533
4615
  };
4534
4616
  return (s, r) => {
4535
4617
  const p = U;
4536
- return d(), b("div", Ca, [
4618
+ return d(), b("div", Ta, [
4537
4619
  k(s.$slots, "message"),
4538
4620
  m("div", null, [
4539
4621
  m("input", {
@@ -4544,7 +4626,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4544
4626
  disabled: l.value,
4545
4627
  multiple: s.maxFileInput > 1,
4546
4628
  onInput: r[0] || (r[0] = (u) => n([...u.target.files]))
4547
- }, null, 40, za),
4629
+ }, null, 40, ja),
4548
4630
  m("label", {
4549
4631
  class: F([{ disabled: l.value }, "btn btn-primary"]),
4550
4632
  id: "file-input-button",
@@ -4578,21 +4660,21 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4578
4660
  ref: a
4579
4661
  }, {
4580
4662
  default: g(() => [
4581
- m("div", Ta, w(s.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
4663
+ m("div", Ia, w(s.acceptedFileTypes.map((u) => u.label ?? u.fileType.split("/").pop()).join(", ")), 1)
4582
4664
  ]),
4583
4665
  _: 1
4584
4666
  }, 512)
4585
4667
  ]);
4586
4668
  };
4587
4669
  }
4588
- }), Ia = {
4670
+ }), Pa = {
4589
4671
  key: 0,
4590
4672
  class: "py-4 px-3",
4591
4673
  id: "placeholder-message"
4592
- }, _a = {
4674
+ }, Va = {
4593
4675
  key: 1,
4594
4676
  class: "d-flex flex-column"
4595
- }, Pa = /* @__PURE__ */ B({
4677
+ }, Ma = /* @__PURE__ */ B({
4596
4678
  __name: "DragDropArea",
4597
4679
  props: /* @__PURE__ */ E({
4598
4680
  maxFileInput: {},
@@ -4614,7 +4696,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4614
4696
  onDragover: s[1] || (s[1] = G((r) => a.value = !0, ["prevent"])),
4615
4697
  onDrop: G(l, ["prevent"])
4616
4698
  }, [
4617
- t.value.length === 0 ? (d(), b("div", Ia, [
4699
+ t.value.length === 0 ? (d(), b("div", Pa, [
4618
4700
  y(c(T), {
4619
4701
  icon: "bi:upload",
4620
4702
  class: "me-2",
@@ -4622,12 +4704,12 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4622
4704
  width: "20px"
4623
4705
  }),
4624
4706
  s[2] || (s[2] = _(" Drag and drop files here "))
4625
- ])) : (d(), b("div", _a, [
4707
+ ])) : (d(), b("div", Va, [
4626
4708
  k(n.$slots, "default")
4627
4709
  ]))
4628
4710
  ], 34));
4629
4711
  }
4630
- }), Va = { class: "d-flex align-items-center me-2" }, Ma = /* @__PURE__ */ B({
4712
+ }), Da = { class: "d-flex align-items-center me-2" }, Oa = /* @__PURE__ */ B({
4631
4713
  __name: "UploadStatus",
4632
4714
  props: {
4633
4715
  fileSize: {},
@@ -4652,8 +4734,8 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4652
4734
  return "Upload Failed: Connection error, please try again.";
4653
4735
  }
4654
4736
  });
4655
- return (i, l) => (d(), b("div", Va, [
4656
- i.uploadStatus === "Uploading" ? (d(), f(Qt, {
4737
+ return (i, l) => (d(), b("div", Da, [
4738
+ i.uploadStatus === "Uploading" ? (d(), f(ta, {
4657
4739
  key: 0,
4658
4740
  pixelWidth: 200,
4659
4741
  animate: "",
@@ -4677,16 +4759,16 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4677
4759
  }, 8, ["severity"])) : C("", !0)
4678
4760
  ]));
4679
4761
  }
4680
- }), Da = ["data-cy"], Oa = { class: "ms-3 d-flex flex-column" }, Na = {
4762
+ }), Na = ["data-cy"], Ua = { class: "ms-3 d-flex flex-column" }, Aa = {
4681
4763
  key: 1,
4682
4764
  id: "file-name"
4683
- }, Ua = {
4765
+ }, qa = {
4684
4766
  class: "text-black-50",
4685
4767
  id: "file-type"
4686
- }, Aa = {
4768
+ }, Ea = {
4687
4769
  class: "text-black-50",
4688
4770
  id: "file-size"
4689
- }, qa = { class: "ms-auto my-auto d-flex" }, Ea = /* @__PURE__ */ B({
4771
+ }, La = { class: "ms-auto my-auto d-flex" }, Ra = /* @__PURE__ */ B({
4690
4772
  __name: "FileInfo",
4691
4773
  props: /* @__PURE__ */ E({
4692
4774
  editableFileName: { type: Boolean },
@@ -4705,10 +4787,10 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4705
4787
  }),
4706
4788
  emits: /* @__PURE__ */ E(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
4707
4789
  setup(e, { emit: t }) {
4708
- const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), n = t, s = I(a.value.name), r = I(""), p = I(0), u = I(), x = z(() => e.acceptedFileTypes.some(({ fileType: v }) => v === a.value.type)), o = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : Sa().getType(a.value.name)), j = () => {
4790
+ const a = D(e, "file"), i = D(e, "blobFileName"), l = D(e, "uploadStatus"), n = t, s = I(a.value.name), r = I(""), p = I(0), u = I(), x = z(() => e.acceptedFileTypes.some(({ fileType: v }) => v === a.value.type)), o = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : za().getType(a.value.name)), j = () => {
4709
4791
  s.value != null && (V(), a.value = new File([a.value], s.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
4710
4792
  }, V = () => {
4711
- let v = s.value.split("."), h = ka.getExtension($.value), P = s.value.split(".").pop();
4793
+ let v = s.value.split("."), h = Fa.getExtension($.value), P = s.value.split(".").pop();
4712
4794
  v.length === 1 ? P && P.length > 0 && (s.value = [s.value, h].join(".")) : v.length > 1 && P !== h && (s.value = s.value.replace(P, h));
4713
4795
  }, M = async () => {
4714
4796
  if (!x.value || !o.value) {
@@ -4741,7 +4823,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4741
4823
  l.value = "Failed";
4742
4824
  }
4743
4825
  }, O = async () => {
4744
- await $a(l.value, r.value), n("deleted", a.value);
4826
+ await Ba(l.value, r.value), n("deleted", a.value);
4745
4827
  };
4746
4828
  return le(() => {
4747
4829
  e.autoUploadToBlob && M();
@@ -4752,11 +4834,11 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4752
4834
  "data-cy": `file-info-${a.value.name}`
4753
4835
  }, [
4754
4836
  m("div", null, [
4755
- c(Fa)(a.value.type) ? (d(), f(c(Le), {
4837
+ c(Sa)(a.value.type) ? (d(), f(c(Le), {
4756
4838
  key: 0,
4757
4839
  id: "thumbnail-image",
4758
4840
  "image-class": "image-file-thumbnail border",
4759
- src: c(Ba)(a.value),
4841
+ src: c(Ca)(a.value),
4760
4842
  alt: a.value.name,
4761
4843
  width: "75px",
4762
4844
  preview: ""
@@ -4768,9 +4850,9 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4768
4850
  width: "75px"
4769
4851
  }))
4770
4852
  ]),
4771
- m("div", Oa, [
4853
+ m("div", Ua, [
4772
4854
  m("div", null, [
4773
- v.editableFileName ? (d(), f(Dt, {
4855
+ v.editableFileName ? (d(), f(Nt, {
4774
4856
  key: 0,
4775
4857
  id: "edit-file-name",
4776
4858
  modelValue: s.value,
@@ -4778,13 +4860,13 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4778
4860
  rules: v.customFileNameRules,
4779
4861
  name: a.value.name,
4780
4862
  "complete-action": j
4781
- }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", Na, w(s.value), 1))
4863
+ }, null, 8, ["modelValue", "rules", "name"])) : (d(), b("span", Aa, w(s.value), 1))
4782
4864
  ]),
4783
- m("span", Ua, "File type: " + w(a.value.type.split("/").pop()), 1),
4784
- m("span", Aa, "File size: " + w(c(pe)(a.value.size)), 1)
4865
+ m("span", qa, "File type: " + w(a.value.type.split("/").pop()), 1),
4866
+ m("span", Ea, "File size: " + w(c(pe)(a.value.size)), 1)
4785
4867
  ]),
4786
- m("div", qa, [
4787
- (d(), f(Ma, {
4868
+ m("div", La, [
4869
+ (d(), f(Oa, {
4788
4870
  key: l.value,
4789
4871
  "file-size": a.value.size,
4790
4872
  "upload-status": l.value,
@@ -4824,20 +4906,20 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4824
4906
  _: 1
4825
4907
  }))
4826
4908
  ])
4827
- ], 8, Da);
4909
+ ], 8, Na);
4828
4910
  };
4829
4911
  }
4830
- }), La = { class: "d-flex justify-content-end mt-1" }, Ra = { id: "max-file-size" }, Ha = /* @__PURE__ */ B({
4912
+ }), Ha = { class: "d-flex justify-content-end mt-1" }, Wa = { id: "max-file-size" }, Ya = /* @__PURE__ */ B({
4831
4913
  __name: "MaxFileSize",
4832
4914
  props: {
4833
4915
  maxFileSize: {}
4834
4916
  },
4835
4917
  setup(e) {
4836
- return (t, a) => (d(), b("div", La, [
4837
- m("div", Ra, "Max file size: " + w(c(pe)(t.maxFileSize)), 1)
4918
+ return (t, a) => (d(), b("div", Ha, [
4919
+ m("div", Wa, "Max file size: " + w(c(pe)(t.maxFileSize)), 1)
4838
4920
  ]));
4839
4921
  }
4840
- }), Wa = { "data-cy": "file-uploader" }, Ya = { key: 0 }, Gi = /* @__PURE__ */ B({
4922
+ }), Ga = { "data-cy": "file-uploader" }, Ja = { key: 0 }, Ki = /* @__PURE__ */ B({
4841
4923
  __name: "ForgeFileUploader",
4842
4924
  props: /* @__PURE__ */ E({
4843
4925
  acceptedFileTypes: {},
@@ -4857,13 +4939,13 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4857
4939
  const t = D(e, "modelValue"), a = e, i = (l) => {
4858
4940
  t.value = t.value.filter((n) => n.file != l);
4859
4941
  };
4860
- return (l, n) => (d(), b("div", Wa, [
4861
- y(ja, S(a, {
4942
+ return (l, n) => (d(), b("div", Ga, [
4943
+ y(_a, S(a, {
4862
4944
  modelValue: t.value,
4863
4945
  "onUpdate:modelValue": n[0] || (n[0] = (s) => t.value = s)
4864
4946
  }), null, 16, ["modelValue"]),
4865
- l.showDragDropArea ? (d(), b("div", Ya, [
4866
- y(Pa, {
4947
+ l.showDragDropArea ? (d(), b("div", Ja, [
4948
+ y(Ma, {
4867
4949
  "max-file-input": a.maxFileInput,
4868
4950
  "max-file-size": a.maxFileSize,
4869
4951
  "accepted-file-types": a.acceptedFileTypes,
@@ -4872,7 +4954,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4872
4954
  }, {
4873
4955
  default: g(() => [
4874
4956
  (d(!0), b(N, null, q(t.value, ({ file: s }, r) => (d(), b("span", null, [
4875
- (d(), f(Ea, S({
4957
+ (d(), f(Ra, S({
4876
4958
  key: s.name,
4877
4959
  class: r === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
4878
4960
  file: t.value[r].file,
@@ -4887,13 +4969,13 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4887
4969
  ]),
4888
4970
  _: 1
4889
4971
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
4890
- y(Ha, {
4972
+ y(Ya, {
4891
4973
  "max-file-size": a.maxFileSize
4892
4974
  }, null, 8, ["max-file-size"])
4893
4975
  ])) : C("", !0)
4894
4976
  ]));
4895
4977
  }
4896
- }), Ga = { class: "d-flex" }, Ja = { class: "me-3" }, Ka = { class: "ms-2" }, Za = { class: "d-flex flex-column w-100" }, Ji = /* @__PURE__ */ B({
4978
+ }), Ka = { class: "d-flex" }, Za = { class: "me-3" }, Xa = { class: "ms-2" }, Qa = { class: "d-flex flex-column w-100" }, Zi = /* @__PURE__ */ B({
4897
4979
  __name: "ForgeColumnCustomiser",
4898
4980
  props: {
4899
4981
  modelValue: { required: !0 },
@@ -4910,12 +4992,12 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4910
4992
  class: "ms-2"
4911
4993
  }, {
4912
4994
  default: g(() => [
4913
- m("div", Ga, [
4914
- m("div", Ja, [
4995
+ m("div", Ka, [
4996
+ m("div", Za, [
4915
4997
  y(c(T), { icon: "bi:layout-three-columns" })
4916
4998
  ]),
4917
4999
  _(" Columns (" + w(t.value.filter((r) => r.selected).length ?? 0) + "/" + w(t.value.length ?? 0) + ") ", 1),
4918
- m("div", Ka, [
5000
+ m("div", Xa, [
4919
5001
  y(c(T), {
4920
5002
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
4921
5003
  }, null, 8, ["icon"])
@@ -4932,7 +5014,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4932
5014
  onShow: s[1] || (s[1] = () => i.value = !0)
4933
5015
  }, {
4934
5016
  default: g(() => [
4935
- m("div", Za, [
5017
+ m("div", Qa, [
4936
5018
  (d(!0), b(N, null, q(t.value, (r, p) => (d(), b("div", {
4937
5019
  class: F(["d-flex cursor-pointer", {
4938
5020
  "border-top": p !== 0,
@@ -4956,7 +5038,7 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4956
5038
  }, 512)
4957
5039
  ], 64));
4958
5040
  }
4959
- }), Ki = /* @__PURE__ */ B({
5041
+ }), Xi = /* @__PURE__ */ B({
4960
5042
  __name: "ForgePanel",
4961
5043
  setup(e) {
4962
5044
  return (t, a) => {
@@ -4983,34 +5065,34 @@ const Ca = { class: "d-flex justify-content-between" }, za = ["accept", "disable
4983
5065
  }
4984
5066
  });
4985
5067
  export {
4986
- Ti as Bootstrap_PT,
4987
- ji as ForgeActionButton,
5068
+ Ii as Bootstrap_PT,
5069
+ _i as ForgeActionButton,
4988
5070
  se as ForgeAlert,
4989
- Ii as ForgeAutoComplete,
5071
+ Pi as ForgeAutoComplete,
4990
5072
  fe as ForgeCheckbox,
4991
- qi as ForgeChip,
4992
- Ji as ForgeColumnCustomiser,
5073
+ Li as ForgeChip,
5074
+ Zi as ForgeColumnCustomiser,
4993
5075
  be as ForgeDatepicker,
4994
- Gi as ForgeFileUploader,
4995
- Yi as ForgeFilterHeader,
4996
- Ui as ForgeForm,
4997
- Ai as ForgeFormField,
4998
- Dt as ForgeInlineEditor,
4999
- _i as ForgeLink,
5076
+ Ki as ForgeFileUploader,
5077
+ Ji as ForgeFilterHeader,
5078
+ qi as ForgeForm,
5079
+ Ei as ForgeFormField,
5080
+ Nt as ForgeInlineEditor,
5081
+ Vi as ForgeLink,
5000
5082
  ge as ForgeLoader,
5001
- Mi as ForgeModal,
5002
- Et as ForgeMultiSelectPreview,
5003
- Di as ForgeNavbar,
5004
- Oi as ForgePageHeader,
5005
- Ki as ForgePanel,
5006
- Qt as ForgeProgressBar,
5007
- Ni as ForgeRemainingCharacters,
5008
- Ei as ForgeScratchpad,
5009
- Li as ForgeStatWidget,
5010
- Ri as ForgeStepper,
5011
- Wi as ForgeTable,
5012
- Hi as ForgeTile,
5013
- Vi as convertToMultiSelectOption,
5014
- Pi as enumToMultiSelectList,
5015
- Ct as parseError
5083
+ Oi as ForgeModal,
5084
+ Rt as ForgeMultiSelectPreview,
5085
+ Ni as ForgeNavbar,
5086
+ Ui as ForgePageHeader,
5087
+ Xi as ForgePanel,
5088
+ ta as ForgeProgressBar,
5089
+ Ai as ForgeRemainingCharacters,
5090
+ Ri as ForgeScratchpad,
5091
+ Hi as ForgeStatWidget,
5092
+ Wi as ForgeStepper,
5093
+ Gi as ForgeTable,
5094
+ Yi as ForgeTile,
5095
+ Di as convertToMultiSelectOption,
5096
+ Mi as enumToMultiSelectList,
5097
+ Tt as parseError
5016
5098
  };
@@ -0,0 +1,5 @@
1
+ import { TreePassThroughOptions } from 'primevue/tree';
2
+ declare const _default: {
3
+ tree: TreePassThroughOptions;
4
+ };
5
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { TreeSelectPassThroughOptions } from 'primevue/treeselect';
2
+ declare const _default: {
3
+ treeSelect: TreeSelectPassThroughOptions;
4
+ };
5
+ export default _default;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@3squared/forge-ui-3",
3
3
  "repository": "https://github.com/3Squared/ForgeUI-3",
4
4
  "description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
5
- "version": "2.5.1",
5
+ "version": "2.6.0",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -33,7 +33,7 @@
33
33
  "preview": "vite preview"
34
34
  },
35
35
  "dependencies": {
36
- "@azure/abort-controller": "^1.0.0",
36
+ "@azure/abort-controller": "^2.0.0",
37
37
  "@azure/storage-blob": "^12.17.0",
38
38
  "@iconify/vue": "^4.2.0",
39
39
  "@popperjs/core": "^2.11.8",
@@ -46,26 +46,26 @@
46
46
  "yup": "^1.6.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@cypress/code-coverage": "3.13.10",
49
+ "@cypress/code-coverage": "3.13.11",
50
50
  "@primevue/auto-import-resolver": "4.2.5",
51
51
  "@vitejs/plugin-vue": "5.2.1",
52
- "@vitest/coverage-v8": "3.0.4",
53
- "@vitest/ui": "3.0.4",
54
- "cypress": "14.0.0",
52
+ "@vitest/coverage-v8": "3.0.5",
53
+ "@vitest/ui": "3.0.5",
54
+ "cypress": "14.0.1",
55
55
  "cypress-real-events": "1.14.0",
56
56
  "rollup-plugin-visualizer": "5.14.0",
57
57
  "sass": "1.83.4",
58
58
  "typescript": "5.7.3",
59
59
  "unplugin-vue-components": "28.0.0",
60
- "vite": "5.4.14",
60
+ "vite": "6.0.11",
61
61
  "vite-bundle-visualizer": "1.2.1",
62
62
  "vite-plugin-dts": "4.5.0",
63
63
  "vite-plugin-istanbul": "6.0.2",
64
- "vitest": "3.0.4",
64
+ "vitest": "3.0.5",
65
65
  "vue-drawing-canvas": "1.0.14"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@rollup/rollup-linux-x64-gnu": "4.32.1"
68
+ "@rollup/rollup-linux-x64-gnu": "4.34.2"
69
69
  },
70
70
  "nyc": {
71
71
  "all": true,
File without changes