@3squared/forge-ui-3 2.16.1 → 2.17.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.
@@ -1179,7 +1179,7 @@ const Xe = {
1179
1179
  class: "table-overlay table-spinner"
1180
1180
  })
1181
1181
  }
1182
- }, Ki = {
1182
+ }, Zi = {
1183
1183
  ...Xe,
1184
1184
  ...xt,
1185
1185
  ...Qe,
@@ -1263,7 +1263,7 @@ const Xe = {
1263
1263
  }, 16);
1264
1264
  };
1265
1265
  }
1266
- }), Zi = /* @__PURE__ */ S({
1266
+ }), Xi = /* @__PURE__ */ S({
1267
1267
  __name: "ForgeActionButton",
1268
1268
  props: {
1269
1269
  action: {},
@@ -1293,7 +1293,7 @@ const Xe = {
1293
1293
  ], 64);
1294
1294
  };
1295
1295
  }
1296
- }), Xi = /* @__PURE__ */ S({
1296
+ }), Qi = /* @__PURE__ */ S({
1297
1297
  __name: "ForgeAutoComplete",
1298
1298
  setup(e) {
1299
1299
  return (t, a) => (r(), y(u(Pe), P({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
@@ -1413,7 +1413,7 @@ const Xe = {
1413
1413
  ], 2);
1414
1414
  };
1415
1415
  }
1416
- }), Dt = ["href", "target"], Qi = /* @__PURE__ */ S({
1416
+ }), Dt = ["href", "target"], el = /* @__PURE__ */ S({
1417
1417
  __name: "ForgeLink",
1418
1418
  props: {
1419
1419
  url: {},
@@ -1476,16 +1476,20 @@ function Ot(e) {
1476
1476
  }
1477
1477
  return t.errorMessage === "" && t.errorDetails.length === 0 && (t.errorMessage = e), t;
1478
1478
  }
1479
- function el(e, t) {
1479
+ function tl(e, t) {
1480
1480
  return e.map((a) => ({ id: a, label: t ? t(a) : `${a}` }));
1481
1481
  }
1482
- function tl(e, t, a) {
1482
+ function al(e, t, a) {
1483
1483
  return { id: e, label: t ?? e.toString(), shortLabel: a };
1484
1484
  }
1485
- const Nt = { key: 0 }, At = {
1485
+ const Nt = {
1486
+ key: 0,
1487
+ class: "sticky-top py-3 error-bg",
1488
+ "data-cy": "error-wrapper"
1489
+ }, At = { key: 0 }, Et = {
1486
1490
  class: "d-flex w-100",
1487
1491
  "data-cy": "footer"
1488
- }, al = /* @__PURE__ */ S({
1492
+ }, il = /* @__PURE__ */ S({
1489
1493
  __name: "ForgeModal",
1490
1494
  props: /* @__PURE__ */ R({
1491
1495
  cancelText: { default: "Cancel" },
@@ -1499,6 +1503,7 @@ const Nt = { key: 0 }, At = {
1499
1503
  submitClass: { default: "" },
1500
1504
  resetErrorOnClose: { type: Boolean, default: !0 },
1501
1505
  maxHeight: {},
1506
+ minHeight: {},
1502
1507
  header: { default: "Header" },
1503
1508
  footer: {},
1504
1509
  visible: { type: Boolean },
@@ -1588,7 +1593,9 @@ const Nt = { key: 0 }, At = {
1588
1593
  content: [
1589
1594
  "modal-body overflow-y-auto",
1590
1595
  {
1591
- [`${l.maxHeight}`]: l.maxHeight && !i.value
1596
+ [`${l.maxHeight}`]: l.maxHeight && !i.value,
1597
+ [`${l.minHeight}`]: l.minHeight && !i.value,
1598
+ "pt-0": o.value.hasError
1592
1599
  }
1593
1600
  ]
1594
1601
  }));
@@ -1621,22 +1628,24 @@ const Nt = { key: 0 }, At = {
1621
1628
  E(T.$slots, (g, w) => ({
1622
1629
  name: w,
1623
1630
  fn: f((I) => [
1624
- w !== "footer" ? (r(), v(A, { key: 0 }, [
1625
- o.value.hasError ? (r(), y(de, {
1626
- key: 0,
1627
- severity: "danger",
1628
- "data-cy": "error"
1629
- }, {
1630
- default: f(() => [
1631
- m("p", {
1632
- class: F(o.value.message.length > 0 ? "my-auto" : "mb-0")
1633
- }, B(o.value.header), 3),
1634
- o.value.message.length > 0 ? (r(), v("ul", Nt, [
1635
- (r(!0), v(A, null, E(o.value.message, (b) => (r(), v("li", { key: b }, B(b), 1))), 128))
1636
- ])) : C("", !0)
1637
- ]),
1638
- _: 1
1639
- })) : C("", !0)
1631
+ w == "default" ? (r(), v(A, { key: 0 }, [
1632
+ o.value.hasError ? (r(), v("div", Nt, [
1633
+ h(de, {
1634
+ severity: "danger",
1635
+ "data-cy": "error",
1636
+ class: "mb-0"
1637
+ }, {
1638
+ default: f(() => [
1639
+ m("p", {
1640
+ class: F(o.value.message.length > 0 ? "my-auto" : "mb-0")
1641
+ }, B(o.value.header), 3),
1642
+ o.value.message.length > 0 ? (r(), v("ul", At, [
1643
+ (r(!0), v(A, null, E(o.value.message, (b) => (r(), v("li", { key: b }, B(b), 1))), 128))
1644
+ ])) : C("", !0)
1645
+ ]),
1646
+ _: 1
1647
+ })
1648
+ ])) : C("", !0)
1640
1649
  ], 64)) : C("", !0),
1641
1650
  k(T.$slots, w, W(G(I || {}))),
1642
1651
  n.value ? k(T.$slots, "loader", { key: 1 }, () => [
@@ -1647,7 +1656,7 @@ const Nt = { key: 0 }, At = {
1647
1656
  T.showFooter ? {
1648
1657
  name: "footer",
1649
1658
  fn: f(() => [
1650
- m("div", At, [
1659
+ m("div", Et, [
1651
1660
  h(O, {
1652
1661
  label: T.cancelText,
1653
1662
  class: F(l.cancelClass),
@@ -1670,7 +1679,7 @@ const Nt = { key: 0 }, At = {
1670
1679
  ]), 1040, ["pt"]);
1671
1680
  };
1672
1681
  }
1673
- }), Et = ["id"], Ut = { key: 0 }, qt = { key: 0 }, Lt = { class: "d-flex justify-content-between align-items-center position-relative" }, Rt = { key: 1 }, Ht = { "data-cy": "readonly-value" }, Wt = /* @__PURE__ */ S({
1682
+ }), Ut = ["id"], qt = { key: 0 }, Lt = { key: 0 }, Rt = { class: "d-flex justify-content-between align-items-center position-relative" }, Ht = { key: 1 }, Wt = { "data-cy": "readonly-value" }, Gt = /* @__PURE__ */ S({
1674
1683
  __name: "ForgeInlineEditor",
1675
1684
  props: /* @__PURE__ */ R({
1676
1685
  name: { default: "" },
@@ -1715,13 +1724,13 @@ const Nt = { key: 0 }, At = {
1715
1724
  return r(), v("div", {
1716
1725
  id: t.name
1717
1726
  }, [
1718
- T.readonly ? (r(), v("div", Rt, [
1727
+ T.readonly ? (r(), v("div", Ht, [
1719
1728
  k(T.$slots, "default", {}, () => [
1720
- m("span", Ht, B(u(d)), 1)
1729
+ m("span", Wt, B(u(d)), 1)
1721
1730
  ])
1722
- ])) : (r(), v("div", Ut, [
1723
- i.value ? (r(), v("div", qt, [
1724
- J((r(), v("div", Lt, [
1731
+ ])) : (r(), v("div", qt, [
1732
+ i.value ? (r(), v("div", Lt, [
1733
+ J((r(), v("div", Rt, [
1725
1734
  k(T.$slots, "editor", {
1726
1735
  class: F({ "is-invalid": $.value }),
1727
1736
  editFinished: o,
@@ -1786,10 +1795,10 @@ const Nt = { key: 0 }, At = {
1786
1795
  }, B(u(c)), 513), [
1787
1796
  [Z, $.value]
1788
1797
  ])
1789
- ], 8, Et);
1798
+ ], 8, Ut);
1790
1799
  };
1791
1800
  }
1792
- }), Gt = ["href"], il = /* @__PURE__ */ S({
1801
+ }), Yt = ["href"], ll = /* @__PURE__ */ S({
1793
1802
  __name: "ForgeNavbar",
1794
1803
  props: {
1795
1804
  severity: { default: "light" },
@@ -1847,7 +1856,7 @@ const Nt = { key: 0 }, At = {
1847
1856
  k(i.$slots, "logo", {}, () => [
1848
1857
  l[0] || (l[0] = M(" Logo "))
1849
1858
  ])
1850
- ], 8, Gt)
1859
+ ], 8, Yt)
1851
1860
  ]),
1852
1861
  buttonicon: f(() => [
1853
1862
  k(i.$slots, "buttonIcon", {}, () => [
@@ -1869,14 +1878,14 @@ const Nt = { key: 0 }, At = {
1869
1878
  }))
1870
1879
  ]), 1040, ["pt"]));
1871
1880
  }
1872
- }), Yt = { class: "border alternating-item-list" }, Jt = {
1881
+ }), Jt = { class: "border alternating-item-list" }, Kt = {
1873
1882
  key: 0,
1874
1883
  class: "p-2 border-top border-bottom",
1875
1884
  "data-cy": "title"
1876
- }, Kt = { class: "d-inline-block" }, Zt = {
1885
+ }, Zt = { class: "d-inline-block" }, Xt = {
1877
1886
  key: 1,
1878
1887
  class: "p-2 item d-flex justify-content-between align-items-center"
1879
- }, Xt = /* @__PURE__ */ S({
1888
+ }, Qt = /* @__PURE__ */ S({
1880
1889
  __name: "ForgeMultiSelectPreview",
1881
1890
  props: /* @__PURE__ */ R({
1882
1891
  title: { default: "Selected Items" },
@@ -1929,14 +1938,14 @@ const Nt = { key: 0 }, At = {
1929
1938
  style: Se({ height: l.height }),
1930
1939
  class: "overflow-auto"
1931
1940
  }, [
1932
- m("div", Yt, [
1933
- l.title ? (r(), v("div", Jt, B(l.title), 1)) : C("", !0),
1941
+ m("div", Jt, [
1942
+ l.title ? (r(), v("div", Kt, B(l.title), 1)) : C("", !0),
1934
1943
  (r(!0), v(A, null, E(a.value, (p) => (r(), v("div", {
1935
1944
  key: p.id,
1936
1945
  class: "p-2 item d-flex justify-content-between align-items-center"
1937
1946
  }, [
1938
1947
  k(l.$slots, "list-item", { item: p }, () => [
1939
- m("span", Kt, B(p.shortLabel ? p.shortLabel : p.label), 1)
1948
+ m("span", Zt, B(p.shortLabel ? p.shortLabel : p.label), 1)
1940
1949
  ]),
1941
1950
  l.canRemoveItemFromPreview ? (r(), y(s, {
1942
1951
  key: 0,
@@ -1954,34 +1963,34 @@ const Nt = { key: 0 }, At = {
1954
1963
  _: 2
1955
1964
  }, 1032, ["onClick"])) : C("", !0)
1956
1965
  ]))), 128)),
1957
- a.value == null || a.value.length == 0 ? (r(), v("div", Zt, B(t.optionsPreviewEmptyText), 1)) : C("", !0)
1966
+ a.value == null || a.value.length == 0 ? (r(), v("div", Xt, B(t.optionsPreviewEmptyText), 1)) : C("", !0)
1958
1967
  ])
1959
1968
  ], 4)
1960
1969
  ], 2)
1961
1970
  ], 2);
1962
1971
  };
1963
1972
  }
1964
- }), Qt = { class: "d-flex justify-content-between pb-2" }, ea = {
1973
+ }), ea = { class: "d-flex justify-content-between pb-2" }, ta = {
1965
1974
  "data-cy": "title",
1966
1975
  class: "my-auto"
1967
- }, ta = {
1976
+ }, aa = {
1968
1977
  "data-cy": "slot",
1969
1978
  class: "d-flex align-items-center"
1970
- }, ll = /* @__PURE__ */ S({
1979
+ }, nl = /* @__PURE__ */ S({
1971
1980
  __name: "ForgePageHeader",
1972
1981
  props: {
1973
1982
  title: {}
1974
1983
  },
1975
1984
  setup(e) {
1976
1985
  const t = e;
1977
- return (a, i) => (r(), v("div", Qt, [
1978
- m("h3", ea, B(t.title), 1),
1979
- m("div", ta, [
1986
+ return (a, i) => (r(), v("div", ea, [
1987
+ m("h3", ta, B(t.title), 1),
1988
+ m("div", aa, [
1980
1989
  k(a.$slots, "default")
1981
1990
  ])
1982
1991
  ]));
1983
1992
  }
1984
- }), aa = { class: "d-flex" }, ia = { "data-cy": "before-slot" }, la = { class: "position-relative w-100" }, na = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ S({
1993
+ }), ia = { class: "d-flex" }, la = { "data-cy": "before-slot" }, na = { class: "position-relative w-100" }, oa = { "data-cy": "after-slot" }, xe = /* @__PURE__ */ S({
1985
1994
  __name: "ForgeDatepicker",
1986
1995
  props: /* @__PURE__ */ R({
1987
1996
  severity: { default: "primary" },
@@ -2159,11 +2168,11 @@ const Nt = { key: 0 }, At = {
2159
2168
  return (d, $) => {
2160
2169
  const T = De;
2161
2170
  return r(), v(A, null, [
2162
- m("div", aa, [
2163
- m("span", ia, [
2171
+ m("div", ia, [
2172
+ m("span", la, [
2164
2173
  k(d.$slots, "before")
2165
2174
  ]),
2166
- m("div", la, [
2175
+ m("div", na, [
2167
2176
  h(T, P({ ...t, ...d.$attrs }, {
2168
2177
  pt: x.value,
2169
2178
  modelValue: a.value,
@@ -2190,7 +2199,7 @@ const Nt = { key: 0 }, At = {
2190
2199
  [Z, t.modelValue]
2191
2200
  ])
2192
2201
  ]),
2193
- m("span", na, [
2202
+ m("span", oa, [
2194
2203
  k(d.$slots, "after")
2195
2204
  ])
2196
2205
  ]),
@@ -2203,7 +2212,7 @@ const Nt = { key: 0 }, At = {
2203
2212
  ], 64);
2204
2213
  };
2205
2214
  }
2206
- }), nl = /* @__PURE__ */ S({
2215
+ }), ol = /* @__PURE__ */ S({
2207
2216
  __name: "ForgeRemainingCharacters",
2208
2217
  props: {
2209
2218
  maxCount: { default: 300 },
@@ -2215,7 +2224,7 @@ const Nt = { key: 0 }, At = {
2215
2224
  class: F(a.value < 0 ? "text-danger" : "")
2216
2225
  }, "Remaining characters: " + B(a.value), 3));
2217
2226
  }
2218
- }), oa = { class: "d-flex justify-content-between" }, ol = /* @__PURE__ */ S({
2227
+ }), sa = { class: "d-flex justify-content-between" }, sl = /* @__PURE__ */ S({
2219
2228
  __name: "ForgeForm",
2220
2229
  props: {
2221
2230
  onSubmit: {},
@@ -2271,7 +2280,7 @@ const Nt = { key: 0 }, At = {
2271
2280
  _: 3
2272
2281
  })) : C("", !0),
2273
2282
  k(n.$slots, "default"),
2274
- m("div", oa, [
2283
+ m("div", sa, [
2275
2284
  k(n.$slots, "cancel", {}, () => [
2276
2285
  n.hideCancel ? C("", !0) : (r(), y(s, {
2277
2286
  key: 0,
@@ -2308,13 +2317,13 @@ const Nt = { key: 0 }, At = {
2308
2317
  ], 16);
2309
2318
  };
2310
2319
  }
2311
- }), sa = {
2320
+ }), ra = {
2312
2321
  key: 1,
2313
2322
  class: "d-flex flex-column w-100"
2314
- }, ra = ["for"], da = {
2323
+ }, da = ["for"], pa = {
2315
2324
  key: 0,
2316
2325
  class: "text-danger fw-600"
2317
- }, sl = /* @__PURE__ */ S({
2326
+ }, rl = /* @__PURE__ */ S({
2318
2327
  __name: "ForgeFormField",
2319
2328
  props: /* @__PURE__ */ R({
2320
2329
  name: {},
@@ -2348,7 +2357,7 @@ const Nt = { key: 0 }, At = {
2348
2357
  name: a.name,
2349
2358
  modelValue: t.value,
2350
2359
  "onUpdate:modelValue": d[0] || (d[0] = (w) => t.value = w)
2351
- }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", sa, [
2360
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (r(), v("div", ra, [
2352
2361
  m("div", {
2353
2362
  "data-cy": "input-wrapper",
2354
2363
  class: F(["d-flex", a.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2358,8 +2367,8 @@ const Nt = { key: 0 }, At = {
2358
2367
  class: F(a.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + a.labelWidthClass)
2359
2368
  }, [
2360
2369
  M(B(a.fieldLabel) + " ", 1),
2361
- x.required ? (r(), v("span", da, "*")) : C("", !0)
2362
- ], 10, ra),
2370
+ x.required ? (r(), v("span", pa, "*")) : C("", !0)
2371
+ ], 10, da),
2363
2372
  k(x.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2364
2373
  a.type === "number" ? (r(), y(u(fe), P({
2365
2374
  key: 0,
@@ -2410,7 +2419,7 @@ const Nt = { key: 0 }, At = {
2410
2419
  modelValue: t.value,
2411
2420
  "onUpdate:modelValue": d[6] || (d[6] = (w) => t.value = w),
2412
2421
  class: { "is-invalid": c.value }
2413
- }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), y(Xt, P({ key: 6 }, { ...a, ...x.$attrs }, {
2422
+ }), null, 16, ["modelValue", "class"])) : a.type === "multiselect-preview" ? (r(), y(Qt, P({ key: 6 }, { ...a, ...x.$attrs }, {
2414
2423
  modelValue: t.value,
2415
2424
  "onUpdate:modelValue": d[7] || (d[7] = (w) => t.value = w),
2416
2425
  class: { "is-invalid": c.value }
@@ -2430,7 +2439,7 @@ const Nt = { key: 0 }, At = {
2430
2439
  ]));
2431
2440
  };
2432
2441
  }
2433
- }), rl = /* @__PURE__ */ S({
2442
+ }), dl = /* @__PURE__ */ S({
2434
2443
  __name: "ForgeChip",
2435
2444
  props: {
2436
2445
  chipSeverity: { default: "primary" },
@@ -2474,7 +2483,7 @@ const Nt = { key: 0 }, At = {
2474
2483
  }, 16, ["pt"]);
2475
2484
  };
2476
2485
  }
2477
- }), dl = /* @__PURE__ */ S({
2486
+ }), pl = /* @__PURE__ */ S({
2478
2487
  __name: "ForgeProgressBar",
2479
2488
  props: {
2480
2489
  severity: { default: "primary" },
@@ -2530,7 +2539,7 @@ const Nt = { key: 0 }, At = {
2530
2539
  };
2531
2540
  }
2532
2541
  });
2533
- var pa = /* @__PURE__ */ S({
2542
+ var ca = /* @__PURE__ */ S({
2534
2543
  name: "VueDrawingCanvas",
2535
2544
  props: {
2536
2545
  strokeType: {
@@ -2920,7 +2929,7 @@ var pa = /* @__PURE__ */ S({
2920
2929
  });
2921
2930
  }
2922
2931
  });
2923
- const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1 gap-1" }, pl = /* @__PURE__ */ S({
2932
+ const ua = { class: "d-flex flex-column" }, ma = { class: "d-flex flex-row mt-1 gap-1" }, cl = /* @__PURE__ */ S({
2924
2933
  __name: "ForgeScratchpad",
2925
2934
  props: {
2926
2935
  showClear: { type: Boolean, default: !0 },
@@ -2944,8 +2953,8 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
2944
2953
  };
2945
2954
  return (x, d) => {
2946
2955
  const $ = q;
2947
- return r(), v("div", ca, [
2948
- h(u(pa), P({
2956
+ return r(), v("div", ua, [
2957
+ h(u(ca), P({
2949
2958
  ref_key: "drawingCanvas",
2950
2959
  ref: l,
2951
2960
  image: n.value,
@@ -2958,7 +2967,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
2958
2967
  style: `height: ${x.height}px; width: ${x.width}px`,
2959
2968
  "line-join": x.lineJoin
2960
2969
  }), null, 16, ["image", "height", "width", "style", "line-join"]),
2961
- m("div", ua, [
2970
+ m("div", ma, [
2962
2971
  a.showUndo ? (r(), y($, {
2963
2972
  key: 0,
2964
2973
  onClick: p,
@@ -3007,7 +3016,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3007
3016
  ]);
3008
3017
  };
3009
3018
  }
3010
- }), ma = { class: "value text-white w-100 text-center" }, cl = /* @__PURE__ */ S({
3019
+ }), va = { class: "value text-white w-100 text-center" }, ul = /* @__PURE__ */ S({
3011
3020
  __name: "ForgeStatWidget",
3012
3021
  props: {
3013
3022
  size: { default: "md" },
@@ -3018,12 +3027,12 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3018
3027
  return (a, i) => (r(), v("div", P(a.$attrs, {
3019
3028
  class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
3020
3029
  }), [
3021
- m("span", ma, [
3030
+ m("span", va, [
3022
3031
  k(a.$slots, "default")
3023
3032
  ])
3024
3033
  ], 16));
3025
3034
  }
3026
- }), va = { key: 0 }, ul = /* @__PURE__ */ S({
3035
+ }), fa = { key: 0 }, ml = /* @__PURE__ */ S({
3027
3036
  __name: "ForgeStepper",
3028
3037
  props: {
3029
3038
  currentStep: { default: 1 },
@@ -3081,7 +3090,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3081
3090
  ref_for: !0
3082
3091
  }, { ...i.$attrs }, { pt: a.value }), {
3083
3092
  default: f(() => [
3084
- i.showStepLabel ? (r(), v("div", va, B(n.label), 1)) : C("", !0)
3093
+ i.showStepLabel ? (r(), v("div", fa, B(n.label), 1)) : C("", !0)
3085
3094
  ]),
3086
3095
  _: 2
3087
3096
  }, 1040, ["value", "disabled", "pt"]))), 128))
@@ -3106,7 +3115,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3106
3115
  _: 3
3107
3116
  }, 8, ["value"]));
3108
3117
  }
3109
- }), fa = { class: "p-4 text-wrap w-100" }, ga = { class: "p-4 text-wrap w-100" }, ml = /* @__PURE__ */ S({
3118
+ }), ga = { class: "p-4 text-wrap w-100" }, ba = { class: "p-4 text-wrap w-100" }, vl = /* @__PURE__ */ S({
3110
3119
  __name: "ForgeTile",
3111
3120
  props: {
3112
3121
  severity: { default: "primary" },
@@ -3126,7 +3135,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3126
3135
  "data-cy": "button-tile"
3127
3136
  }, {
3128
3137
  default: f(() => [
3129
- m("div", fa, [
3138
+ m("div", ga, [
3130
3139
  k(l.$slots, "default", {}, () => [
3131
3140
  n[0] || (n[0] = M("Tile Content"))
3132
3141
  ])
@@ -3138,7 +3147,7 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3138
3147
  class: F(["d-flex w-100", i.value]),
3139
3148
  "data-cy": "tile"
3140
3149
  }, [
3141
- m("div", ga, [
3150
+ m("div", ba, [
3142
3151
  k(l.$slots, "default", {}, () => [
3143
3152
  n[1] || (n[1] = M("Tile Content"))
3144
3153
  ])
@@ -3150,10 +3159,10 @@ const ca = { class: "d-flex flex-column" }, ua = { class: "d-flex flex-row mt-1
3150
3159
  function ee(e, t) {
3151
3160
  return e > 1 ? `${t}s` : t;
3152
3161
  }
3153
- const ba = {
3162
+ const ya = {
3154
3163
  class: "d-flex justify-content-start align-items-baseline",
3155
3164
  "data-cy": "pagination-header"
3156
- }, ya = { class: "ms-2" }, xa = { key: 0 }, ha = {
3165
+ }, xa = { class: "ms-2" }, ha = { key: 0 }, wa = {
3157
3166
  class: "w-auto",
3158
3167
  "data-cy": "total"
3159
3168
  }, he = /* @__PURE__ */ S({
@@ -3171,9 +3180,9 @@ const ba = {
3171
3180
  const o = Math.ceil(i.total / i.perPage);
3172
3181
  return `${o} ${ee(o, "page")}`;
3173
3182
  });
3174
- return (o, s) => (r(), v("div", ba, [
3183
+ return (o, s) => (r(), v("div", ya, [
3175
3184
  s[2] || (s[2] = M(" Number of results per page ")),
3176
- m("div", ya, [
3185
+ m("div", xa, [
3177
3186
  h(u(ie), {
3178
3187
  options: i.pageSizes,
3179
3188
  "model-value": i.perPage,
@@ -3182,16 +3191,16 @@ const ba = {
3182
3191
  "data-cy": "pagination-page-size-select"
3183
3192
  }, null, 8, ["options", "model-value"])
3184
3193
  ]),
3185
- i.total ? (r(), v("div", xa, [
3194
+ i.total ? (r(), v("div", ha, [
3186
3195
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
3187
- m("span", ha, B(i.total) + " " + B(u(ee)(i.total, "result")) + " across " + B(n.value), 1)
3196
+ m("span", wa, B(i.total) + " " + B(u(ee)(i.total, "result")) + " across " + B(n.value), 1)
3188
3197
  ])) : C("", !0)
3189
3198
  ]));
3190
3199
  }
3191
- }), wa = { class: "position-relative" }, ka = { "data-cy": "above-table-slot" }, $a = { class: "d-flex w-100" }, Ba = {
3200
+ }), ka = { class: "position-relative" }, $a = { "data-cy": "above-table-slot" }, Ba = { class: "d-flex w-100" }, Fa = {
3192
3201
  class: "mx-auto",
3193
3202
  "data-cy": "empty-message"
3194
- }, Fa = { class: "d-flex" }, Sa = { class: "d-flex align-items-end mb-2" }, Ca = { key: 0 }, za = { class: "ms-auto" }, vl = /* @__PURE__ */ S({
3203
+ }, Sa = { class: "d-flex" }, Ca = { class: "d-flex align-items-end mb-2" }, za = { key: 0 }, Ta = { class: "ms-auto" }, fl = /* @__PURE__ */ S({
3195
3204
  __name: "ForgeTable",
3196
3205
  props: {
3197
3206
  value: {},
@@ -3336,8 +3345,8 @@ const ba = {
3336
3345
  };
3337
3346
  return Q(() => i.filters, (g) => {
3338
3347
  s.value.filters = g, a("update:tableContext", s.value);
3339
- }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (g, w) => (r(), v("div", wa, [
3340
- m("span", ka, [
3348
+ }, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (g, w) => (r(), v("div", ka, [
3349
+ m("span", $a, [
3341
3350
  k(g.$slots, "above-table")
3342
3351
  ]),
3343
3352
  h(u(We), P({
@@ -3356,17 +3365,17 @@ const ba = {
3356
3365
  showHeaders: ""
3357
3366
  }), ae({
3358
3367
  empty: f(() => [
3359
- m("div", $a, [
3360
- m("h5", Ba, B(g.emptyMessage ?? "No items Found."), 1)
3368
+ m("div", Ba, [
3369
+ m("h5", Fa, B(g.emptyMessage ?? "No items Found."), 1)
3361
3370
  ])
3362
3371
  ]),
3363
3372
  header: f(() => [
3364
3373
  m("div", {
3365
3374
  class: F(i.loading ? "opacity-50" : "")
3366
3375
  }, [
3367
- m("div", Fa, [
3368
- m("div", Sa, [
3369
- g.paginator && !g.legacyPaginationFooter ? (r(), v("span", Ca, [
3376
+ m("div", Sa, [
3377
+ m("div", Ca, [
3378
+ g.paginator && !g.legacyPaginationFooter ? (r(), v("span", za, [
3370
3379
  h(he, {
3371
3380
  total: p.value,
3372
3381
  "page-sizes": n.value,
@@ -3378,7 +3387,7 @@ const ba = {
3378
3387
  }, null, 8, ["total", "page-sizes", "per-page"])
3379
3388
  ])) : C("", !0)
3380
3389
  ]),
3381
- m("div", za, [
3390
+ m("div", Ta, [
3382
3391
  g.showClearButton ? (r(), y(u(q), {
3383
3392
  key: 0,
3384
3393
  outlined: "",
@@ -3460,7 +3469,7 @@ const ba = {
3460
3469
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
3461
3470
  ]));
3462
3471
  }
3463
- }), Ta = { class: "position-relative" }, Pa = { "data-cy": "above-table-slot" }, _a = { class: "d-flex" }, ja = { class: "d-flex align-items-end mb-2" }, Ia = { key: 0 }, Ma = { class: "ms-auto" }, fl = /* @__PURE__ */ S({
3472
+ }), Pa = { class: "position-relative" }, _a = { "data-cy": "above-table-slot" }, ja = { class: "d-flex" }, Ia = { class: "d-flex align-items-end mb-2" }, Ma = { key: 0 }, Va = { class: "ms-auto" }, gl = /* @__PURE__ */ S({
3464
3473
  __name: "ForgeTreeTable",
3465
3474
  props: {
3466
3475
  stripedRows: { type: Boolean, default: !1 },
@@ -3628,8 +3637,8 @@ const ba = {
3628
3637
  const I = () => {
3629
3638
  o.value = s.value * n.value;
3630
3639
  };
3631
- return (b, V) => (r(), v("div", Ta, [
3632
- m("span", Pa, [
3640
+ return (b, V) => (r(), v("div", Pa, [
3641
+ m("span", _a, [
3633
3642
  k(b.$slots, "above-table")
3634
3643
  ]),
3635
3644
  h(u(Ge), P({
@@ -3650,9 +3659,9 @@ const ba = {
3650
3659
  m("div", {
3651
3660
  class: F(a.loading ? "opacity-50" : "")
3652
3661
  }, [
3653
- m("div", _a, [
3654
- m("div", ja, [
3655
- b.paginator && !b.legacyPaginationFooter ? (r(), v("span", Ia, [
3662
+ m("div", ja, [
3663
+ m("div", Ia, [
3664
+ b.paginator && !b.legacyPaginationFooter ? (r(), v("span", Ma, [
3656
3665
  h(he, {
3657
3666
  total: c.value,
3658
3667
  "page-sizes": l.value,
@@ -3664,7 +3673,7 @@ const ba = {
3664
3673
  }, null, 8, ["total", "page-sizes", "per-page"])
3665
3674
  ])) : C("", !0)
3666
3675
  ]),
3667
- m("div", Ma, [
3676
+ m("div", Va, [
3668
3677
  b.showClearButton ? (r(), y(u(q), {
3669
3678
  key: 0,
3670
3679
  outlined: "",
@@ -3729,7 +3738,7 @@ const ba = {
3729
3738
  ]), 1040, ["class", "pt", "filter-display", "rows", "first"])
3730
3739
  ]));
3731
3740
  }
3732
- }), Va = { class: "d-flex position-relative" }, Da = { class: "d-flex w-100" }, gl = /* @__PURE__ */ S({
3741
+ }), Da = { class: "d-flex position-relative" }, Oa = { class: "d-flex w-100" }, bl = /* @__PURE__ */ S({
3733
3742
  __name: "ForgeFilterHeader",
3734
3743
  props: /* @__PURE__ */ R({
3735
3744
  dataType: {},
@@ -3760,7 +3769,7 @@ const ba = {
3760
3769
  };
3761
3770
  return (l, n) => {
3762
3771
  const o = fe, s = q;
3763
- return r(), v("div", Va, [
3772
+ return r(), v("div", Da, [
3764
3773
  l.dataType === "numeric" ? (r(), y(o, P({
3765
3774
  key: 0,
3766
3775
  modelValue: t.value,
@@ -3783,7 +3792,7 @@ const ba = {
3783
3792
  "option-label": l.optionLabel
3784
3793
  }), {
3785
3794
  value: f(({ value: p, placeholder: c }) => [
3786
- m("div", Da, [
3795
+ m("div", Oa, [
3787
3796
  m("span", {
3788
3797
  class: F({ "filter-placeholder": p === null })
3789
3798
  }, B(a(p, c)), 3),
@@ -4951,7 +4960,7 @@ class we {
4951
4960
  }
4952
4961
  }
4953
4962
  K = /* @__PURE__ */ new WeakMap(), te = /* @__PURE__ */ new WeakMap(), Y = /* @__PURE__ */ new WeakMap();
4954
- const Oa = new we(ue, ce)._freeze();
4963
+ const Na = new we(ue, ce)._freeze();
4955
4964
  function ke(e, t, a, i) {
4956
4965
  const l = t.flatMap((n) => n.file);
4957
4966
  return t = t.map((n) => ({ ...n, status: n.status == "Duplicate" ? "Not Uploaded" : n.status })), e.forEach((n) => {
@@ -4964,7 +4973,7 @@ function ke(e, t, a, i) {
4964
4973
  })) : t[o].status = "Duplicate";
4965
4974
  }), t;
4966
4975
  }
4967
- async function Na(e, t) {
4976
+ async function Aa(e, t) {
4968
4977
  if (e === "Uploaded" && t !== null)
4969
4978
  try {
4970
4979
  await new ge(t).delete();
@@ -4987,20 +4996,20 @@ function me(e, t = !0, a = 1) {
4987
4996
  while (Math.round(Math.abs(e) * o) / o >= i && n < l.length - 1);
4988
4997
  return e.toFixed(a) + " " + l[n];
4989
4998
  }
4990
- function Aa(e) {
4999
+ function Ea(e) {
4991
5000
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
4992
5001
  }
4993
- function Ea(e) {
5002
+ function Ua(e) {
4994
5003
  return URL.createObjectURL(e);
4995
5004
  }
4996
- function Ua() {
5005
+ function qa() {
4997
5006
  const e = new we(ue, ce);
4998
5007
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
4999
5008
  }
5000
- const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disabled", "multiple"], Ra = {
5009
+ const La = { class: "d-flex justify-content-between" }, Ra = ["accept", "disabled", "multiple"], Ha = {
5001
5010
  class: "text-break accepted-file-types-container",
5002
5011
  id: "accepted-file-types-overlay"
5003
- }, Ha = /* @__PURE__ */ S({
5012
+ }, Wa = /* @__PURE__ */ S({
5004
5013
  __name: "UploadButton",
5005
5014
  props: /* @__PURE__ */ R({
5006
5015
  acceptedFileTypes: {},
@@ -5017,7 +5026,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5017
5026
  };
5018
5027
  return (o, s) => {
5019
5028
  const p = q;
5020
- return r(), v("div", qa, [
5029
+ return r(), v("div", La, [
5021
5030
  k(o.$slots, "message"),
5022
5031
  m("div", null, [
5023
5032
  m("input", {
@@ -5028,7 +5037,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5028
5037
  disabled: l.value,
5029
5038
  multiple: o.maxFileInput > 1,
5030
5039
  onInput: s[0] || (s[0] = (c) => n([...c.target.files]))
5031
- }, null, 40, La),
5040
+ }, null, 40, Ra),
5032
5041
  m("label", {
5033
5042
  class: F([{ disabled: l.value }, "btn btn-primary"]),
5034
5043
  id: "file-input-button",
@@ -5062,21 +5071,21 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5062
5071
  ref: a
5063
5072
  }, {
5064
5073
  default: f(() => [
5065
- m("div", Ra, B(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5074
+ m("div", Ha, B(o.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
5066
5075
  ]),
5067
5076
  _: 1
5068
5077
  }, 512)
5069
5078
  ]);
5070
5079
  };
5071
5080
  }
5072
- }), Wa = {
5081
+ }), Ga = {
5073
5082
  key: 0,
5074
5083
  class: "py-4 px-3",
5075
5084
  id: "placeholder-message"
5076
- }, Ga = {
5085
+ }, Ya = {
5077
5086
  key: 1,
5078
5087
  class: "d-flex flex-column"
5079
- }, Ya = /* @__PURE__ */ S({
5088
+ }, Ja = /* @__PURE__ */ S({
5080
5089
  __name: "DragDropArea",
5081
5090
  props: /* @__PURE__ */ R({
5082
5091
  maxFileInput: {},
@@ -5098,7 +5107,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5098
5107
  onDragover: o[1] || (o[1] = X((s) => a.value = !0, ["prevent"])),
5099
5108
  onDrop: X(l, ["prevent"])
5100
5109
  }, [
5101
- t.value.length === 0 ? (r(), v("div", Wa, [
5110
+ t.value.length === 0 ? (r(), v("div", Ga, [
5102
5111
  h(u(_), {
5103
5112
  icon: "bi:upload",
5104
5113
  class: "me-2",
@@ -5106,12 +5115,12 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5106
5115
  width: "20px"
5107
5116
  }),
5108
5117
  o[2] || (o[2] = M(" Drag and drop files here "))
5109
- ])) : (r(), v("div", Ga, [
5118
+ ])) : (r(), v("div", Ya, [
5110
5119
  k(n.$slots, "default")
5111
5120
  ]))
5112
5121
  ], 34));
5113
5122
  }
5114
- }), Ja = { class: "d-flex align-items-center me-2" }, Ka = /* @__PURE__ */ S({
5123
+ }), Ka = { class: "d-flex align-items-center me-2" }, Za = /* @__PURE__ */ S({
5115
5124
  __name: "UploadStatus",
5116
5125
  props: {
5117
5126
  fileSize: {},
@@ -5138,7 +5147,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5138
5147
  });
5139
5148
  return (l, n) => {
5140
5149
  const o = pe;
5141
- return r(), v("div", Ja, [
5150
+ return r(), v("div", Ka, [
5142
5151
  t.uploadStatus === "Uploading" ? (r(), y(o, {
5143
5152
  key: 0,
5144
5153
  "in-line": ""
@@ -5157,16 +5166,16 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5157
5166
  ]);
5158
5167
  };
5159
5168
  }
5160
- }), Za = ["data-cy"], Xa = { class: "ms-3 d-flex flex-column" }, Qa = {
5169
+ }), Xa = ["data-cy"], Qa = { class: "ms-3 d-flex flex-column" }, ei = {
5161
5170
  key: 1,
5162
5171
  id: "file-name"
5163
- }, ei = {
5172
+ }, ti = {
5164
5173
  class: "text-black-50",
5165
5174
  id: "file-type"
5166
- }, ti = {
5175
+ }, ai = {
5167
5176
  class: "text-black-50",
5168
5177
  id: "file-size"
5169
- }, ai = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, ii = /* @__PURE__ */ S({
5178
+ }, ii = { class: "ms-auto my-auto d-flex align-items-center gap-1" }, li = /* @__PURE__ */ S({
5170
5179
  __name: "FileInfo",
5171
5180
  props: /* @__PURE__ */ R({
5172
5181
  editableFileName: { type: Boolean },
@@ -5185,10 +5194,10 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5185
5194
  }),
5186
5195
  emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
5187
5196
  setup(e, { emit: t }) {
5188
- const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = j(a.value.name), s = j(""), p = j(0), c = j(), x = z(() => e.acceptedFileTypes.some(({ fileType: g }) => g === a.value.type)), d = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : Ua().getType(a.value.name)), T = () => {
5197
+ const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = j(a.value.name), s = j(""), p = j(0), c = j(), x = z(() => e.acceptedFileTypes.some(({ fileType: g }) => g === a.value.type)), d = z(() => a.value.size <= e.maxFileSize), $ = z(() => a.value.type ? a.value.type : qa().getType(a.value.name)), T = () => {
5189
5198
  o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
5190
5199
  }, D = () => {
5191
- let g = o.value.split("."), w = Oa.getExtension($.value), I = o.value.split(".").pop();
5200
+ let g = o.value.split("."), w = Na.getExtension($.value), I = o.value.split(".").pop();
5192
5201
  g.length === 1 ? I && I.length > 0 && (o.value = [o.value, w].join(".")) : g.length > 1 && I !== w && (o.value = o.value.replace(I, w));
5193
5202
  }, O = async () => {
5194
5203
  if (!x.value || !d.value) {
@@ -5221,7 +5230,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5221
5230
  l.value = "Failed";
5222
5231
  }
5223
5232
  }, U = async () => {
5224
- await Na(l.value, s.value), n("deleted", a.value);
5233
+ await Aa(l.value, s.value), n("deleted", a.value);
5225
5234
  };
5226
5235
  return ne(() => {
5227
5236
  e.autoUploadToBlob && l.value != "Uploaded" && O();
@@ -5232,11 +5241,11 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5232
5241
  "data-cy": `file-info-${a.value.name}`
5233
5242
  }, [
5234
5243
  m("div", null, [
5235
- u(Aa)(a.value.type) ? (r(), y(u(Ye), {
5244
+ u(Ea)(a.value.type) ? (r(), y(u(Ye), {
5236
5245
  key: 0,
5237
5246
  id: "thumbnail-image",
5238
5247
  "image-class": "image-file-thumbnail border",
5239
- src: u(Ea)(a.value),
5248
+ src: u(Ua)(a.value),
5240
5249
  alt: a.value.name,
5241
5250
  width: "75px",
5242
5251
  preview: ""
@@ -5248,9 +5257,9 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5248
5257
  width: "75px"
5249
5258
  }))
5250
5259
  ]),
5251
- m("div", Xa, [
5260
+ m("div", Qa, [
5252
5261
  m("div", null, [
5253
- g.editableFileName ? (r(), y(Wt, {
5262
+ g.editableFileName ? (r(), y(Gt, {
5254
5263
  key: 0,
5255
5264
  id: "edit-file-name",
5256
5265
  modelValue: o.value,
@@ -5258,13 +5267,13 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5258
5267
  rules: g.customFileNameRules,
5259
5268
  name: a.value.name,
5260
5269
  "complete-action": T
5261
- }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", Qa, B(o.value), 1))
5270
+ }, null, 8, ["modelValue", "rules", "name"])) : (r(), v("span", ei, B(o.value), 1))
5262
5271
  ]),
5263
- m("span", ei, "File type: " + B(a.value.type.split("/").pop()), 1),
5264
- m("span", ti, "File size: " + B(u(me)(a.value.size)), 1)
5272
+ m("span", ti, "File type: " + B(a.value.type.split("/").pop()), 1),
5273
+ m("span", ai, "File size: " + B(u(me)(a.value.size)), 1)
5265
5274
  ]),
5266
- m("div", ai, [
5267
- (r(), y(Ka, {
5275
+ m("div", ii, [
5276
+ (r(), y(Za, {
5268
5277
  key: l.value,
5269
5278
  "file-size": a.value.size,
5270
5279
  "upload-status": l.value,
@@ -5304,22 +5313,22 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5304
5313
  _: 1
5305
5314
  }))
5306
5315
  ])
5307
- ], 8, Za);
5316
+ ], 8, Xa);
5308
5317
  };
5309
5318
  }
5310
- }), li = { class: "d-flex justify-content-end mt-1 gap-1" }, ni = { id: "max-file-size" }, oi = { id: "max-file-input" }, si = /* @__PURE__ */ S({
5319
+ }), ni = { class: "d-flex justify-content-end mt-1 gap-1" }, oi = { id: "max-file-size" }, si = { id: "max-file-input" }, ri = /* @__PURE__ */ S({
5311
5320
  __name: "FileInputInfo",
5312
5321
  props: {
5313
5322
  maxFileSize: {},
5314
5323
  maxFileInput: {}
5315
5324
  },
5316
5325
  setup(e) {
5317
- return (t, a) => (r(), v("div", li, [
5318
- m("div", ni, "Max file size: " + B(u(me)(t.maxFileSize)), 1),
5319
- m("div", oi, "| Max file count: " + B(t.maxFileInput), 1)
5326
+ return (t, a) => (r(), v("div", ni, [
5327
+ m("div", oi, "Max file size: " + B(u(me)(t.maxFileSize)), 1),
5328
+ m("div", si, "| Max file count: " + B(t.maxFileInput), 1)
5320
5329
  ]));
5321
5330
  }
5322
- }), ri = { "data-cy": "file-uploader" }, di = { key: 0 }, bl = /* @__PURE__ */ S({
5331
+ }), di = { "data-cy": "file-uploader" }, pi = { key: 0 }, yl = /* @__PURE__ */ S({
5323
5332
  __name: "ForgeFileUploader",
5324
5333
  props: /* @__PURE__ */ R({
5325
5334
  acceptedFileTypes: {},
@@ -5339,13 +5348,13 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5339
5348
  const t = N(e, "modelValue"), a = e, i = (l) => {
5340
5349
  t.value = t.value.filter((n) => n.file != l);
5341
5350
  };
5342
- return (l, n) => (r(), v("div", ri, [
5343
- h(Ha, P(a, {
5351
+ return (l, n) => (r(), v("div", di, [
5352
+ h(Wa, P(a, {
5344
5353
  modelValue: t.value,
5345
5354
  "onUpdate:modelValue": n[0] || (n[0] = (o) => t.value = o)
5346
5355
  }), null, 16, ["modelValue"]),
5347
- l.showDragDropArea ? (r(), v("div", di, [
5348
- h(Ya, {
5356
+ l.showDragDropArea ? (r(), v("div", pi, [
5357
+ h(Ja, {
5349
5358
  "max-file-input": a.maxFileInput,
5350
5359
  "max-file-size": a.maxFileSize,
5351
5360
  "accepted-file-types": a.acceptedFileTypes,
@@ -5354,7 +5363,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5354
5363
  }, {
5355
5364
  default: f(() => [
5356
5365
  (r(!0), v(A, null, E(t.value, ({ file: o }, s) => (r(), v("div", null, [
5357
- (r(), y(ii, P({
5366
+ (r(), y(li, P({
5358
5367
  key: o.name,
5359
5368
  class: s === t.value.length - 1 || t.value.length == 1 ? "" : "border-bottom",
5360
5369
  file: t.value[s].file,
@@ -5369,14 +5378,14 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5369
5378
  ]),
5370
5379
  _: 1
5371
5380
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
5372
- h(si, {
5381
+ h(ri, {
5373
5382
  "max-file-size": a.maxFileSize,
5374
5383
  "max-file-input": l.maxFileInput
5375
5384
  }, null, 8, ["max-file-size", "max-file-input"])
5376
5385
  ])) : C("", !0)
5377
5386
  ]));
5378
5387
  }
5379
- }), pi = { class: "d-flex" }, ci = { class: "me-3" }, ui = { class: "ms-2" }, mi = { class: "d-flex flex-column w-100" }, yl = /* @__PURE__ */ S({
5388
+ }), ci = { class: "d-flex" }, ui = { class: "me-3" }, mi = { class: "ms-2" }, vi = { class: "d-flex flex-column w-100" }, xl = /* @__PURE__ */ S({
5380
5389
  __name: "ForgeColumnCustomiser",
5381
5390
  props: {
5382
5391
  modelValue: { required: !0 },
@@ -5393,12 +5402,12 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5393
5402
  class: "ms-2"
5394
5403
  }, {
5395
5404
  default: f(() => [
5396
- m("div", pi, [
5397
- m("div", ci, [
5405
+ m("div", ci, [
5406
+ m("div", ui, [
5398
5407
  h(u(_), { icon: "bi:layout-three-columns" })
5399
5408
  ]),
5400
5409
  M(" Columns (" + B(t.value.filter((s) => s.selected).length ?? 0) + "/" + B(t.value.length ?? 0) + ") ", 1),
5401
- m("div", ui, [
5410
+ m("div", mi, [
5402
5411
  h(u(_), {
5403
5412
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
5404
5413
  }, null, 8, ["icon"])
@@ -5415,7 +5424,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5415
5424
  onShow: o[1] || (o[1] = () => i.value = !0)
5416
5425
  }, {
5417
5426
  default: f(() => [
5418
- m("div", mi, [
5427
+ m("div", vi, [
5419
5428
  (r(!0), v(A, null, E(t.value, (s, p) => (r(), v("div", {
5420
5429
  class: F(["d-flex cursor-pointer", {
5421
5430
  "border-top": p !== 0,
@@ -5439,7 +5448,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5439
5448
  }, 512)
5440
5449
  ], 64));
5441
5450
  }
5442
- }), xl = /* @__PURE__ */ S({
5451
+ }), hl = /* @__PURE__ */ S({
5443
5452
  __name: "ForgePanel",
5444
5453
  setup(e) {
5445
5454
  return (t, a) => {
@@ -5468,7 +5477,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5468
5477
  ]), 1040);
5469
5478
  };
5470
5479
  }
5471
- }), vi = /* @__PURE__ */ S({
5480
+ }), fi = /* @__PURE__ */ S({
5472
5481
  __name: "ForgeToggleButton",
5473
5482
  props: {
5474
5483
  severity: { default: "primary" }
@@ -5479,8 +5488,8 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5479
5488
  class: [
5480
5489
  "btn",
5481
5490
  {
5482
- [`focus-ring focus-ring-${t.severity} btn-${t.severity}-subtle border border-2 border-${t.severity} fw-500 text-${t.severity}`]: i.context.active,
5483
- [`border text-${t.severity} select-btn-${t.severity}`]: !i.context.active,
5491
+ [`focus-ring focus-ring-${t.severity} btn-${t.severity}-subtle border border-2 border-${t.severity} fw-500 text-${t.severity} z-1`]: i.context.active,
5492
+ [`border text-${t.severity} select-btn-${t.severity} z-0`]: !i.context.active,
5484
5493
  "btn-secondary-subtle": i.context.disabled,
5485
5494
  "border-danger": i.props.invalid
5486
5495
  }
@@ -5500,10 +5509,10 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5500
5509
  pt: a.value
5501
5510
  }), null, 16, ["severity", "pt"]));
5502
5511
  }
5503
- }), fi = {
5512
+ }), gi = {
5504
5513
  class: "btn-group",
5505
5514
  "data-cy": "forge-select-button"
5506
- }, hl = /* @__PURE__ */ S({
5515
+ }, wl = /* @__PURE__ */ S({
5507
5516
  __name: "ForgeSelectButton",
5508
5517
  props: /* @__PURE__ */ R({
5509
5518
  options: {},
@@ -5533,8 +5542,8 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5533
5542
  } else
5534
5543
  a.value = a.value === n.value && t.allowEmpty ? null : n.value;
5535
5544
  };
5536
- return (n, o) => (r(), v("div", fi, [
5537
- (r(!0), v(A, null, E(n.options, (s, p) => (r(), y(vi, {
5545
+ return (n, o) => (r(), v("div", gi, [
5546
+ (r(!0), v(A, null, E(n.options, (s, p) => (r(), y(fi, {
5538
5547
  key: p,
5539
5548
  onLabel: s.label,
5540
5549
  offLabel: s.label,
@@ -5547,7 +5556,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5547
5556
  }, null, 8, ["onLabel", "offLabel", "severity", "onChange", "defaultValue", "disabled", "data-cy", "invalid"]))), 128))
5548
5557
  ]));
5549
5558
  }
5550
- }), wl = /* @__PURE__ */ S({
5559
+ }), kl = /* @__PURE__ */ S({
5551
5560
  __name: "ForgeConfirmPopup",
5552
5561
  setup(e) {
5553
5562
  const t = z(() => ({
@@ -5568,7 +5577,7 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5568
5577
  _: 3
5569
5578
  }, 16, ["pt"]));
5570
5579
  }
5571
- }), kl = () => ({
5580
+ }), $l = () => ({
5572
5581
  type: "component",
5573
5582
  resolve: (e) => {
5574
5583
  if (e.startsWith("Forge"))
@@ -5579,39 +5588,39 @@ const qa = { class: "d-flex justify-content-between" }, La = ["accept", "disable
5579
5588
  }
5580
5589
  });
5581
5590
  export {
5582
- Ki as Bootstrap_PT,
5583
- Zi as ForgeActionButton,
5591
+ Zi as Bootstrap_PT,
5592
+ Xi as ForgeActionButton,
5584
5593
  de as ForgeAlert,
5585
- Xi as ForgeAutoComplete,
5594
+ Qi as ForgeAutoComplete,
5586
5595
  ye as ForgeCheckbox,
5587
- rl as ForgeChip,
5588
- yl as ForgeColumnCustomiser,
5589
- wl as ForgeConfirmPopup,
5596
+ dl as ForgeChip,
5597
+ xl as ForgeColumnCustomiser,
5598
+ kl as ForgeConfirmPopup,
5590
5599
  xe as ForgeDatepicker,
5591
- bl as ForgeFileUploader,
5592
- gl as ForgeFilterHeader,
5593
- ol as ForgeForm,
5594
- sl as ForgeFormField,
5595
- Wt as ForgeInlineEditor,
5596
- Qi as ForgeLink,
5600
+ yl as ForgeFileUploader,
5601
+ bl as ForgeFilterHeader,
5602
+ sl as ForgeForm,
5603
+ rl as ForgeFormField,
5604
+ Gt as ForgeInlineEditor,
5605
+ el as ForgeLink,
5597
5606
  pe as ForgeLoader,
5598
- al as ForgeModal,
5599
- Xt as ForgeMultiSelectPreview,
5600
- il as ForgeNavbar,
5601
- ll as ForgePageHeader,
5602
- xl as ForgePanel,
5603
- dl as ForgeProgressBar,
5604
- nl as ForgeRemainingCharacters,
5605
- kl as ForgeResolver,
5606
- pl as ForgeScratchpad,
5607
- hl as ForgeSelectButton,
5608
- cl as ForgeStatWidget,
5609
- ul as ForgeStepper,
5610
- vl as ForgeTable,
5611
- ml as ForgeTile,
5612
- vi as ForgeToggleButton,
5613
- fl as ForgeTreeTable,
5614
- tl as convertToMultiSelectOption,
5615
- el as enumToMultiSelectList,
5607
+ il as ForgeModal,
5608
+ Qt as ForgeMultiSelectPreview,
5609
+ ll as ForgeNavbar,
5610
+ nl as ForgePageHeader,
5611
+ hl as ForgePanel,
5612
+ pl as ForgeProgressBar,
5613
+ ol as ForgeRemainingCharacters,
5614
+ $l as ForgeResolver,
5615
+ cl as ForgeScratchpad,
5616
+ wl as ForgeSelectButton,
5617
+ ul as ForgeStatWidget,
5618
+ ml as ForgeStepper,
5619
+ fl as ForgeTable,
5620
+ vl as ForgeTile,
5621
+ fi as ForgeToggleButton,
5622
+ gl as ForgeTreeTable,
5623
+ al as convertToMultiSelectOption,
5624
+ tl as enumToMultiSelectList,
5616
5625
  Ot as parseError
5617
5626
  };