@3squared/forge-ui-3 1.3.4 → 1.3.5

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.
@@ -6,9 +6,9 @@ import je from "primevue/toast";
6
6
  import be from "primevue/checkbox";
7
7
  import { useField as X } from "vee-validate";
8
8
  import Ce from "primevue/progressspinner";
9
- import Se from "primevue/dialog";
9
+ import Ve from "primevue/dialog";
10
10
  import ce from "primevue/inputtext";
11
- import { vOnClickOutside as Ve } from "@vueuse/components";
11
+ import { vOnClickOutside as Se } from "@vueuse/components";
12
12
  import Te from "primevue/menubar";
13
13
  import Me from "vue-multiselect";
14
14
  import me from "primevue/multiselect";
@@ -879,7 +879,7 @@ const Ne = {
879
879
  ]
880
880
  })
881
881
  }
882
- }, zi = {
882
+ }, _i = {
883
883
  ...sa,
884
884
  ...Ne,
885
885
  ...ma,
@@ -952,7 +952,7 @@ const Ne = {
952
952
  }, 16);
953
953
  };
954
954
  }
955
- }), _i = /* @__PURE__ */ F({
955
+ }), ji = /* @__PURE__ */ F({
956
956
  __name: "ForgeActionButton",
957
957
  props: {
958
958
  action: {},
@@ -1073,7 +1073,7 @@ const Ne = {
1073
1073
  ]);
1074
1074
  };
1075
1075
  }
1076
- }), wa = ["href", "target"], ji = /* @__PURE__ */ F({
1076
+ }), wa = ["href", "target"], Ci = /* @__PURE__ */ F({
1077
1077
  __name: "ForgeLink",
1078
1078
  props: {
1079
1079
  url: {},
@@ -1136,7 +1136,7 @@ function ka(e) {
1136
1136
  }
1137
1137
  return a.errorMessage === "" && a.errorDetails.length === 0 && (a.errorMessage = e), a;
1138
1138
  }
1139
- function Ci(e, a) {
1139
+ function Vi(e, a) {
1140
1140
  return e.map((t) => ({ id: t, label: a ? a(t) : `${t}` }));
1141
1141
  }
1142
1142
  function Si(e, a, t) {
@@ -1145,7 +1145,7 @@ function Si(e, a, t) {
1145
1145
  const $a = { key: 0 }, Ba = {
1146
1146
  class: "d-flex w-100",
1147
1147
  "data-cy": "footer"
1148
- }, Vi = /* @__PURE__ */ F({
1148
+ }, Ti = /* @__PURE__ */ F({
1149
1149
  __name: "ForgeModal",
1150
1150
  props: /* @__PURE__ */ N({
1151
1151
  cancelText: { default: "Cancel" },
@@ -1226,8 +1226,8 @@ const $a = { key: 0 }, Ba = {
1226
1226
  ]
1227
1227
  }));
1228
1228
  return (n, j) => {
1229
- const S = A, V = Se;
1230
- return p(), w(V, z(i, {
1229
+ const V = A, S = Ve;
1230
+ return p(), w(S, z(i, {
1231
1231
  onMaximize: s,
1232
1232
  onUnmaximize: r,
1233
1233
  pt: v.value
@@ -1279,7 +1279,7 @@ const $a = { key: 0 }, Ba = {
1279
1279
  name: "footer",
1280
1280
  fn: g(() => [
1281
1281
  m("div", Ba, [
1282
- f(S, {
1282
+ f(V, {
1283
1283
  label: n.cancelText,
1284
1284
  class: B(i.cancelClass),
1285
1285
  outlined: "",
@@ -1287,7 +1287,7 @@ const $a = { key: 0 }, Ba = {
1287
1287
  id: "cancel-button",
1288
1288
  type: i.cancelButtonType
1289
1289
  }, null, 8, ["label", "class", "type"]),
1290
- f(S, {
1290
+ f(V, {
1291
1291
  label: n.submitText,
1292
1292
  class: B([i.submitClass, "ms-auto"]),
1293
1293
  onClick: c,
@@ -1301,7 +1301,7 @@ const $a = { key: 0 }, Ba = {
1301
1301
  ]), 1040, ["pt"]);
1302
1302
  };
1303
1303
  }
1304
- }), Fa = ["id"], za = { key: 0 }, _a = { key: 0 }, ja = { class: "d-flex justify-content-between align-items-center position-relative" }, Ca = { key: 1 }, Sa = { "data-cy": "readonly-value" }, Va = /* @__PURE__ */ F({
1304
+ }), Fa = ["id"], za = { key: 0 }, _a = { key: 0 }, ja = { class: "d-flex justify-content-between align-items-center position-relative" }, Ca = { key: 1 }, Va = { "data-cy": "readonly-value" }, Sa = /* @__PURE__ */ F({
1305
1305
  __name: "ForgeInlineEditor",
1306
1306
  props: /* @__PURE__ */ N({
1307
1307
  name: { default: "" },
@@ -1317,8 +1317,8 @@ const $a = { key: 0 }, Ba = {
1317
1317
  emits: ["update:modelValue"],
1318
1318
  setup(e) {
1319
1319
  const a = e, t = O(e, "modelValue"), i = T(!1), l = T(), o = () => {
1320
- var S;
1321
- i.value = !i.value, (S = l.value) == null || S.focus();
1320
+ var V;
1321
+ i.value = !i.value, (V = l.value) == null || V.focus();
1322
1322
  }, r = async () => {
1323
1323
  if (j.value)
1324
1324
  return !1;
@@ -1341,19 +1341,19 @@ const $a = { key: 0 }, Ba = {
1341
1341
  n.value = t.value;
1342
1342
  });
1343
1343
  const j = k(() => v.value.length > 0);
1344
- return (S, V) => {
1344
+ return (V, S) => {
1345
1345
  const D = ce, M = A;
1346
1346
  return p(), x("div", {
1347
1347
  id: a.name
1348
1348
  }, [
1349
- S.readonly ? (p(), x("div", Ca, [
1350
- $(S.$slots, "default", {}, () => [
1351
- m("span", Sa, h(u(n)), 1)
1349
+ V.readonly ? (p(), x("div", Ca, [
1350
+ $(V.$slots, "default", {}, () => [
1351
+ m("span", Va, h(u(n)), 1)
1352
1352
  ])
1353
1353
  ])) : (p(), x("div", za, [
1354
1354
  i.value ? (p(), x("div", _a, [
1355
1355
  H((p(), x("div", ja, [
1356
- $(S.$slots, "editor", {
1356
+ $(V.$slots, "editor", {
1357
1357
  class: B({ "is-invalid": j.value }),
1358
1358
  editFinished: r,
1359
1359
  cancel: s,
@@ -1364,7 +1364,7 @@ const $a = { key: 0 }, Ba = {
1364
1364
  ref_key: "input",
1365
1365
  ref: l,
1366
1366
  modelValue: u(n),
1367
- "onUpdate:modelValue": V[0] || (V[0] = (b) => de(n) ? n.value = b : null),
1367
+ "onUpdate:modelValue": S[0] || (S[0] = (b) => de(n) ? n.value = b : null),
1368
1368
  modelModifiers: { trim: !0 },
1369
1369
  class: B({ "is-invalid": j.value }),
1370
1370
  onKeydown: [
@@ -1381,7 +1381,7 @@ const $a = { key: 0 }, Ba = {
1381
1381
  "data-cy": "clear-icon"
1382
1382
  })
1383
1383
  ])), [
1384
- [u(Ve), r]
1384
+ [u(Se), r]
1385
1385
  ])
1386
1386
  ])) : (p(), x("div", {
1387
1387
  key: 1,
@@ -1389,7 +1389,7 @@ const $a = { key: 0 }, Ba = {
1389
1389
  onClick: o,
1390
1390
  onFocus: o
1391
1391
  }, [
1392
- $(S.$slots, "default", {}, () => [
1392
+ $(V.$slots, "default", {}, () => [
1393
1393
  m("div", {
1394
1394
  class: B(["pe-2 cursor-pointer", { "text-invalid": j.value }]),
1395
1395
  "data-cy": "value"
@@ -1420,7 +1420,7 @@ const $a = { key: 0 }, Ba = {
1420
1420
  ], 8, Fa);
1421
1421
  };
1422
1422
  }
1423
- }), Ta = ["href"], Ti = /* @__PURE__ */ F({
1423
+ }), Ta = ["href"], Mi = /* @__PURE__ */ F({
1424
1424
  __name: "ForgeNavbar",
1425
1425
  props: {
1426
1426
  severity: { default: "light" },
@@ -1502,7 +1502,7 @@ const $a = { key: 0 }, Ba = {
1502
1502
  ]), 1040, ["pt"]);
1503
1503
  };
1504
1504
  }
1505
- }), Ma = { class: "multiselect__caret" }, Pa = ["checked"], Ia = ["data-cy"], Oa = ["checked"], Da = { class: "my-auto ms-1" }, Ua = { class: "multiselect__tag d-inline-flex" }, qa = { class: "my-auto" }, Mi = /* @__PURE__ */ F({
1505
+ }), Ma = { class: "multiselect__caret" }, Pa = ["checked"], Ia = ["data-cy"], Oa = ["checked"], Da = { class: "my-auto ms-1" }, Ua = { class: "multiselect__tag d-inline-flex" }, qa = { class: "my-auto" }, Pi = /* @__PURE__ */ F({
1506
1506
  __name: "ForgeMultiSelect",
1507
1507
  props: {
1508
1508
  severity: { default: "primary" },
@@ -1535,16 +1535,16 @@ const $a = { key: 0 }, Ba = {
1535
1535
  searchable: !!(l.searchable === null || l.searchable) && l.modelValue.length === l.options.length,
1536
1536
  async: !1,
1537
1537
  ...l
1538
- })), n = k(() => `forge-multiselect-${t.severity}`), j = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${S.value ? " multiselect__option--selected" : ""}`), S = k(() => v.value && !(v.value.multiple || !t.showSelectAll || v.value.async) ? !1 : l.modelValue.length === l.options.length), V = k(() => r.value.length > 0), D = k(() => !!((l.allowEmpty == null || l.allowEmpty) && t.showClearSelection && (v.value.multiple ? l.modelValue.length > 0 : l.modelValue))), M = () => c.value = !0, b = () => c.value = !1, y = () => {
1538
+ })), n = k(() => `forge-multiselect-${t.severity}`), j = k(() => `multiselect__option ${c.value ? " multiselect__option--highlight" : ""} ${V.value ? " multiselect__option--selected" : ""}`), V = k(() => v.value && !(v.value.multiple || !t.showSelectAll || v.value.async) ? !1 : l.modelValue.length === l.options.length), S = k(() => r.value.length > 0), D = k(() => !!((l.allowEmpty == null || l.allowEmpty) && t.showClearSelection && (v.value.multiple ? l.modelValue.length > 0 : l.modelValue))), M = () => c.value = !0, b = () => c.value = !1, y = () => {
1539
1539
  s.value = v.value.multiple ? [] : null, o("update:modelValue", s.value);
1540
1540
  }, R = (E) => {
1541
1541
  o("update:modelValue", t.selectValue ? E.map((I) => I[t.selectValue]) : E);
1542
1542
  }, Z = (E) => l.modelValue !== null ? l.modelValue.some((I) => v.value.selectValue ? E[t.selectValue] === I : E.id === I.id && E.label === I.label) : !1, pe = () => {
1543
- S.value ? y() : (s.value = [...l.options], o("update:modelValue", [...l.options]));
1543
+ V.value ? y() : (s.value = [...l.options], o("update:modelValue", [...l.options]));
1544
1544
  };
1545
1545
  return (E, I) => (p(), x(q, null, [
1546
1546
  f(u(Me), z(v.value, {
1547
- class: [n.value, V.value ? "is-invalid" : ""],
1547
+ class: [n.value, S.value ? "is-invalid" : ""],
1548
1548
  "data-cy": "multiselect",
1549
1549
  "onUpdate:modelValue": [
1550
1550
  R,
@@ -1576,7 +1576,7 @@ const $a = { key: 0 }, Ba = {
1576
1576
  f(u(_), {
1577
1577
  icon: "bi:x",
1578
1578
  class: "my-auto multiselect__tag-icon",
1579
- onMousedown: G((Xt) => i(Q, U), ["prevent", "stop"]),
1579
+ onMousedown: G((Qt) => i(Q, U), ["prevent", "stop"]),
1580
1580
  height: "18px",
1581
1581
  width: "18px"
1582
1582
  }, null, 8, ["onMousedown"])
@@ -1601,7 +1601,7 @@ const $a = { key: 0 }, Ba = {
1601
1601
  class: B(["d-flex py-1", j.value])
1602
1602
  }, [
1603
1603
  m("input", {
1604
- checked: S.value,
1604
+ checked: V.value,
1605
1605
  name: "selected",
1606
1606
  type: "checkbox",
1607
1607
  class: "form-check-input px-2 py-2 rounded ms-2 cursor-pointer"
@@ -1635,7 +1635,7 @@ const $a = { key: 0 }, Ba = {
1635
1635
  "data-cy": "error",
1636
1636
  class: "invalid-feedback"
1637
1637
  }, h(u(d)), 513), [
1638
- [Y, V.value]
1638
+ [Y, S.value]
1639
1639
  ])
1640
1640
  ], 64));
1641
1641
  }
@@ -1646,7 +1646,7 @@ const $a = { key: 0 }, Ba = {
1646
1646
  }, La = { class: "d-inline-block" }, Na = {
1647
1647
  key: 1,
1648
1648
  class: "p-2 item d-flex justify-content-between align-items-center"
1649
- }, Pi = /* @__PURE__ */ F({
1649
+ }, Ra = /* @__PURE__ */ F({
1650
1650
  __name: "ForgeMultiSelectPreview",
1651
1651
  props: /* @__PURE__ */ N({
1652
1652
  title: { default: "Selected Items" },
@@ -1679,7 +1679,7 @@ const $a = { key: 0 }, Ba = {
1679
1679
  modelValue: t.value,
1680
1680
  "onUpdate:modelValue": o[0] || (o[0] = (d) => t.value = d)
1681
1681
  }, { ...l.$attrs }, {
1682
- options: a.options,
1682
+ options: a.options ?? [],
1683
1683
  optionLabel: "label",
1684
1684
  placeholder: l.multiselectPlaceholder,
1685
1685
  "data-cy": "multiselect"
@@ -1724,17 +1724,17 @@ const $a = { key: 0 }, Ba = {
1724
1724
  _: 2
1725
1725
  }, 1032, ["onClick"])) : C("", !0)
1726
1726
  ]))), 128)),
1727
- t.value.length === 0 ? (p(), x("div", Na, h(a.optionsPreviewEmptyText), 1)) : C("", !0)
1727
+ t.value == null || t.value.length == 0 ? (p(), x("div", Na, h(a.optionsPreviewEmptyText), 1)) : C("", !0)
1728
1728
  ])
1729
1729
  ], 4)
1730
1730
  ], 2)
1731
1731
  ], 2);
1732
1732
  };
1733
1733
  }
1734
- }), Ra = { class: "d-flex justify-content-between pb-2" }, Ha = {
1734
+ }), Ha = { class: "d-flex justify-content-between pb-2" }, Wa = {
1735
1735
  "data-cy": "title",
1736
1736
  class: "my-auto"
1737
- }, Wa = {
1737
+ }, Ya = {
1738
1738
  "data-cy": "slot",
1739
1739
  class: "d-flex align-items-center"
1740
1740
  }, Ii = /* @__PURE__ */ F({
@@ -1744,14 +1744,14 @@ const $a = { key: 0 }, Ba = {
1744
1744
  },
1745
1745
  setup(e) {
1746
1746
  const a = e;
1747
- return (t, i) => (p(), x("div", Ra, [
1748
- m("h3", Ha, h(a.title), 1),
1749
- m("div", Wa, [
1747
+ return (t, i) => (p(), x("div", Ha, [
1748
+ m("h3", Wa, h(a.title), 1),
1749
+ m("div", Ya, [
1750
1750
  $(t.$slots, "default")
1751
1751
  ])
1752
1752
  ]));
1753
1753
  }
1754
- }), Ya = { class: "d-flex" }, Ga = { "data-cy": "before-slot" }, Ka = { class: "position-relative w-100" }, Za = { "data-cy": "after-slot" }, ke = /* @__PURE__ */ F({
1754
+ }), Ga = { class: "d-flex" }, Ka = { "data-cy": "before-slot" }, Za = { class: "position-relative w-100" }, Ja = { "data-cy": "after-slot" }, ke = /* @__PURE__ */ F({
1755
1755
  __name: "ForgeDatepicker",
1756
1756
  props: /* @__PURE__ */ N({
1757
1757
  severity: { default: "primary" },
@@ -1920,18 +1920,18 @@ const $a = { key: 0 }, Ba = {
1920
1920
  })
1921
1921
  }));
1922
1922
  return (n, j) => {
1923
- const S = Pe;
1923
+ const V = Pe;
1924
1924
  return p(), x(q, null, [
1925
- m("div", Ya, [
1926
- m("span", Ga, [
1925
+ m("div", Ga, [
1926
+ m("span", Ka, [
1927
1927
  $(n.$slots, "before")
1928
1928
  ]),
1929
- m("div", Ka, [
1930
- f(S, z({ ...a, ...n.$attrs }, {
1929
+ m("div", Za, [
1930
+ f(V, z({ ...a, ...n.$attrs }, {
1931
1931
  pt: v.value,
1932
1932
  modelValue: t.value,
1933
1933
  "onUpdate:modelValue": [
1934
- j[0] || (j[0] = (V) => t.value = V),
1934
+ j[0] || (j[0] = (S) => t.value = S),
1935
1935
  u(o)
1936
1936
  ],
1937
1937
  onBlur: u(r),
@@ -1953,7 +1953,7 @@ const $a = { key: 0 }, Ba = {
1953
1953
  [Y, a.modelValue]
1954
1954
  ])
1955
1955
  ]),
1956
- m("span", Za, [
1956
+ m("span", Ja, [
1957
1957
  $(n.$slots, "after")
1958
1958
  ])
1959
1959
  ]),
@@ -1978,7 +1978,7 @@ const $a = { key: 0 }, Ba = {
1978
1978
  class: B(t.value < 0 ? "text-danger" : "")
1979
1979
  }, "Remaining characters: " + h(t.value), 3));
1980
1980
  }
1981
- }), Ja = { class: "d-flex justify-content-between" }, Di = /* @__PURE__ */ F({
1981
+ }), Xa = { class: "d-flex justify-content-between" }, Di = /* @__PURE__ */ F({
1982
1982
  __name: "ForgeForm",
1983
1983
  props: {
1984
1984
  onSubmit: {},
@@ -2034,7 +2034,7 @@ const $a = { key: 0 }, Ba = {
2034
2034
  _: 3
2035
2035
  })) : C("", !0),
2036
2036
  $(o.$slots, "default"),
2037
- m("div", Ja, [
2037
+ m("div", Xa, [
2038
2038
  $(o.$slots, "cancel", {}, () => [
2039
2039
  o.hideCancel ? C("", !0) : (p(), w(s, {
2040
2040
  key: 0,
@@ -2071,10 +2071,10 @@ const $a = { key: 0 }, Ba = {
2071
2071
  ], 16);
2072
2072
  };
2073
2073
  }
2074
- }), Xa = {
2074
+ }), Qa = {
2075
2075
  key: 1,
2076
2076
  class: "d-flex flex-column w-100"
2077
- }, Qa = ["for"], Ui = /* @__PURE__ */ F({
2077
+ }, et = ["for"], Ui = /* @__PURE__ */ F({
2078
2078
  __name: "ForgeFormField",
2079
2079
  props: /* @__PURE__ */ N({
2080
2080
  name: {},
@@ -2098,7 +2098,7 @@ const $a = { key: 0 }, Ba = {
2098
2098
  return xe(() => o.value, (v) => {
2099
2099
  a.value = v;
2100
2100
  }, { immediate: !0 }), (v, n) => {
2101
- const j = Oe, S = Ie, V = ce, D = se, M = me, b = ke;
2101
+ const j = Oe, V = Ie, S = ce, D = se, M = me, b = ke;
2102
2102
  return t.type === "checkbox" ? (p(), w(ya, z({
2103
2103
  key: 0,
2104
2104
  id: t.name,
@@ -2107,7 +2107,7 @@ const $a = { key: 0 }, Ba = {
2107
2107
  name: t.name,
2108
2108
  modelValue: a.value,
2109
2109
  "onUpdate:modelValue": n[0] || (n[0] = (y) => a.value = y)
2110
- }), null, 16, ["id", "label", "name", "modelValue"])) : (p(), x("div", Xa, [
2110
+ }), null, 16, ["id", "label", "name", "modelValue"])) : (p(), x("div", Qa, [
2111
2111
  m("div", {
2112
2112
  "data-cy": "input-wrapper",
2113
2113
  class: B(["d-flex", t.fieldLabelPosition === "top" ? "flex-column" : "flex-row"])
@@ -2115,7 +2115,7 @@ const $a = { key: 0 }, Ba = {
2115
2115
  m("label", {
2116
2116
  for: t.name,
2117
2117
  class: B(t.fieldLabelPosition === "top" ? "mb-1" : "me-2 " + t.labelWidthClass)
2118
- }, h(t.fieldLabel), 11, Qa),
2118
+ }, h(t.fieldLabel), 11, et),
2119
2119
  t.type === "number" ? (p(), w(u(ge), z({
2120
2120
  key: 0,
2121
2121
  id: t.name
@@ -2136,7 +2136,7 @@ const $a = { key: 0 }, Ba = {
2136
2136
  "onUpdate:modelValue": n[2] || (n[2] = (y) => a.value = y),
2137
2137
  onInput: i,
2138
2138
  onBlur: u(d)
2139
- }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "mask" ? (p(), w(S, z({
2139
+ }), null, 16, ["id", "placeholder", "class", "modelValue", "onBlur"])) : t.type === "mask" ? (p(), w(V, z({
2140
2140
  key: 2,
2141
2141
  id: t.name
2142
2142
  }, v.$attrs, {
@@ -2147,7 +2147,7 @@ const $a = { key: 0 }, Ba = {
2147
2147
  "onUpdate:modelValue": n[3] || (n[3] = (y) => a.value = y),
2148
2148
  onComplete: i,
2149
2149
  onBlur: u(d)
2150
- }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : t.type === "text" ? (p(), w(V, z({
2150
+ }), null, 16, ["id", "placeholder", "mask", "class", "modelValue", "onBlur"])) : t.type === "text" ? (p(), w(S, z({
2151
2151
  key: 3,
2152
2152
  id: t.name
2153
2153
  }, v.$attrs, {
@@ -2165,10 +2165,14 @@ const $a = { key: 0 }, Ba = {
2165
2165
  modelValue: a.value,
2166
2166
  "onUpdate:modelValue": n[6] || (n[6] = (y) => a.value = y),
2167
2167
  class: { "is-invalid": c.value }
2168
- }), null, 16, ["modelValue", "class"])) : t.type === "datepicker" ? (p(), w(b, z({ key: 6 }, { ...t, ...v.$attrs }, {
2168
+ }), null, 16, ["modelValue", "class"])) : t.type === "multiselect-preview" ? (p(), w(Ra, z({ key: 6 }, { ...t, ...v.$attrs }, {
2169
2169
  modelValue: a.value,
2170
2170
  "onUpdate:modelValue": n[7] || (n[7] = (y) => a.value = y),
2171
2171
  class: { "is-invalid": c.value }
2172
+ }), null, 16, ["modelValue", "class"])) : t.type === "datepicker" ? (p(), w(b, z({ key: 7 }, { ...t, ...v.$attrs }, {
2173
+ modelValue: a.value,
2174
+ "onUpdate:modelValue": n[8] || (n[8] = (y) => a.value = y),
2175
+ class: { "is-invalid": c.value }
2172
2176
  }), null, 16, ["modelValue", "class"])) : C("", !0)
2173
2177
  ], 2),
2174
2178
  H(m("small", {
@@ -2268,7 +2272,7 @@ const $a = { key: 0 }, Ba = {
2268
2272
  ], 64);
2269
2273
  };
2270
2274
  }
2271
- }), et = /* @__PURE__ */ F({
2275
+ }), at = /* @__PURE__ */ F({
2272
2276
  __name: "ForgeProgressBar",
2273
2277
  props: {
2274
2278
  severity: { default: "primary" },
@@ -2320,7 +2324,7 @@ const $a = { key: 0 }, Ba = {
2320
2324
  }, 16, ["pt"]);
2321
2325
  };
2322
2326
  }
2323
- }), at = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
2327
+ }), tt = { class: "value text-white w-100 text-center" }, Ai = /* @__PURE__ */ F({
2324
2328
  __name: "ForgeStatWidget",
2325
2329
  props: {
2326
2330
  size: { default: "md" },
@@ -2331,15 +2335,15 @@ const $a = { key: 0 }, Ba = {
2331
2335
  return (t, i) => (p(), x("div", z(t.$attrs, {
2332
2336
  class: `d-flex shadow m-2 align-items-center widget--${a.size} bg-${a.severity}`
2333
2337
  }), [
2334
- m("span", at, [
2338
+ m("span", tt, [
2335
2339
  $(t.$slots, "default")
2336
2340
  ])
2337
2341
  ], 16));
2338
2342
  }
2339
- }), tt = {
2343
+ }), it = {
2340
2344
  class: "d-flex flex-column align-items-center",
2341
2345
  "data-cy": "stepper"
2342
- }, it = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
2346
+ }, lt = { class: "d-flex align-items-center justify-content-center w-100" }, Ei = /* @__PURE__ */ F({
2343
2347
  __name: "ForgeStepper",
2344
2348
  props: {
2345
2349
  currentStep: { default: 0 },
@@ -2406,9 +2410,9 @@ const $a = { key: 0 }, Ba = {
2406
2410
  })
2407
2411
  }));
2408
2412
  return (c, v) => {
2409
- const n = A, j = Ae, S = qe;
2410
- return p(), x("div", tt, [
2411
- m("div", it, [
2413
+ const n = A, j = Ae, V = qe;
2414
+ return p(), x("div", it, [
2415
+ m("div", lt, [
2412
2416
  f(n, {
2413
2417
  severity: i.severity,
2414
2418
  disabled: s.value,
@@ -2426,18 +2430,18 @@ const $a = { key: 0 }, Ba = {
2426
2430
  }, 8, ["severity", "disabled"]),
2427
2431
  f(j, {
2428
2432
  "active-step": l.value,
2429
- "onUpdate:activeStep": v[0] || (v[0] = (V) => l.value = V),
2433
+ "onUpdate:activeStep": v[0] || (v[0] = (S) => l.value = S),
2430
2434
  model: i.model,
2431
2435
  pt: d.value,
2432
2436
  readonly: !1
2433
2437
  }, null, 8, ["active-step", "model", "pt"])
2434
2438
  ]),
2435
- f(S, { class: "m-4" }),
2436
- (p(!0), x(q, null, W(i.model, (V, D) => (p(), x("div", {
2439
+ f(V, { class: "m-4" }),
2440
+ (p(!0), x(q, null, W(i.model, (S, D) => (p(), x("div", {
2437
2441
  key: D,
2438
2442
  class: "w-100"
2439
2443
  }, [
2440
- D === l.value ? $(c.$slots, V.key ?? V.label, {
2444
+ D === l.value ? $(c.$slots, S.key ?? S.label, {
2441
2445
  key: 0,
2442
2446
  nextStep: r,
2443
2447
  previousStep: o
@@ -2447,7 +2451,7 @@ const $a = { key: 0 }, Ba = {
2447
2451
  "data-cy": "alert"
2448
2452
  }, {
2449
2453
  default: g(() => [
2450
- P(" Please add Slot Content for the key " + h(V.key ?? V.label) + " ", 1),
2454
+ P(" Please add Slot Content for the key " + h(S.key ?? S.label) + " ", 1),
2451
2455
  f(n, {
2452
2456
  severity: "primary",
2453
2457
  label: "Next",
@@ -2462,7 +2466,7 @@ const $a = { key: 0 }, Ba = {
2462
2466
  ]);
2463
2467
  };
2464
2468
  }
2465
- }), lt = { class: "p-4 text-wrap w-100" }, ot = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
2469
+ }), ot = { class: "p-4 text-wrap w-100" }, nt = { class: "p-4 text-wrap w-100" }, Li = /* @__PURE__ */ F({
2466
2470
  __name: "ForgeTile",
2467
2471
  props: {
2468
2472
  severity: { default: "primary" },
@@ -2482,7 +2486,7 @@ const $a = { key: 0 }, Ba = {
2482
2486
  "data-cy": "button-tile"
2483
2487
  }, {
2484
2488
  default: g(() => [
2485
- m("div", lt, [
2489
+ m("div", ot, [
2486
2490
  $(l.$slots, "default", {}, () => [
2487
2491
  o[0] || (o[0] = P("Tile Content"))
2488
2492
  ])
@@ -2494,7 +2498,7 @@ const $a = { key: 0 }, Ba = {
2494
2498
  class: B(["d-flex w-100", i.value]),
2495
2499
  "data-cy": "tile"
2496
2500
  }, [
2497
- m("div", ot, [
2501
+ m("div", nt, [
2498
2502
  $(l.$slots, "default", {}, () => [
2499
2503
  o[1] || (o[1] = P("Tile Content"))
2500
2504
  ])
@@ -2506,13 +2510,13 @@ const $a = { key: 0 }, Ba = {
2506
2510
  function te(e, a) {
2507
2511
  return e > 1 ? `${a}s` : a;
2508
2512
  }
2509
- const nt = {
2513
+ const st = {
2510
2514
  class: "d-flex justify-content-start align-items-baseline",
2511
2515
  "data-cy": "pagination-header"
2512
- }, st = { class: "ms-2" }, rt = { key: 0 }, pt = {
2516
+ }, rt = { class: "ms-2" }, pt = { key: 0 }, dt = {
2513
2517
  class: "w-auto",
2514
2518
  "data-cy": "total"
2515
- }, dt = /* @__PURE__ */ F({
2519
+ }, ct = /* @__PURE__ */ F({
2516
2520
  __name: "ForgePaginationHeader",
2517
2521
  props: {
2518
2522
  total: {},
@@ -2527,9 +2531,9 @@ const nt = {
2527
2531
  const r = Math.ceil(i.total / i.perPage);
2528
2532
  return `${r} ${te(r, "page")}`;
2529
2533
  });
2530
- return (r, s) => (p(), x("div", nt, [
2534
+ return (r, s) => (p(), x("div", st, [
2531
2535
  s[2] || (s[2] = P(" Number of results per page ")),
2532
- m("div", st, [
2536
+ m("div", rt, [
2533
2537
  f(u(se), {
2534
2538
  options: i.pageSizes,
2535
2539
  "model-value": i.perPage,
@@ -2537,16 +2541,16 @@ const nt = {
2537
2541
  onChange: s[0] || (s[0] = (d) => l(d))
2538
2542
  }, null, 8, ["options", "model-value"])
2539
2543
  ]),
2540
- i.total ? (p(), x("div", rt, [
2544
+ i.total ? (p(), x("div", pt, [
2541
2545
  s[1] || (s[1] = m("span", { class: "mx-2" }, "|", -1)),
2542
- m("span", pt, h(i.total) + " " + h(u(te)(i.total, "result")) + " across " + h(o.value), 1)
2546
+ m("span", dt, h(i.total) + " " + h(u(te)(i.total, "result")) + " across " + h(o.value), 1)
2543
2547
  ])) : C("", !0)
2544
2548
  ]));
2545
2549
  }
2546
- }), ct = { class: "position-relative" }, mt = { "data-cy": "above-table-slot" }, ut = { class: "d-flex w-100" }, vt = {
2550
+ }), mt = { class: "position-relative" }, ut = { "data-cy": "above-table-slot" }, vt = { class: "d-flex w-100" }, ft = {
2547
2551
  class: "mx-auto",
2548
2552
  "data-cy": "empty-message"
2549
- }, ft = { class: "d-flex" }, xt = { class: "d-flex align-items-end mb-2" }, bt = { key: 0 }, gt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
2553
+ }, xt = { class: "d-flex" }, bt = { class: "d-flex align-items-end mb-2" }, gt = { key: 0 }, yt = { class: "ms-auto" }, Ni = /* @__PURE__ */ F({
2550
2554
  __name: "ForgeTable",
2551
2555
  props: {
2552
2556
  value: {},
@@ -2666,13 +2670,13 @@ const nt = {
2666
2670
  else
2667
2671
  for (const b in i.filters)
2668
2672
  typeof i.filters[b] == "string" ? i.filters[b] = "" : i.filters[b].value = null;
2669
- V(i.filters);
2673
+ S(i.filters);
2670
2674
  }, j = () => {
2671
2675
  l.value.exportCSV();
2672
- }, S = (b) => {
2676
+ }, V = (b) => {
2673
2677
  var y;
2674
2678
  s.value.sortDirection = b.sortOrder === 1 ? "Asc" : b.sortOrder === -1 ? "Desc" : "None", s.value.sortField = ((y = b.sortField) == null ? void 0 : y.toString()) ?? "", t("update:tableContext", s.value), t("sort", b);
2675
- }, V = (b) => {
2679
+ }, S = (b) => {
2676
2680
  s.value.filters = b, t("update:tableContext", s.value), t("update:filters", b);
2677
2681
  }, D = (b) => {
2678
2682
  s.value.page = b.page, t("update:tableContext", s.value), t("page", b);
@@ -2681,8 +2685,8 @@ const nt = {
2681
2685
  };
2682
2686
  return xe(() => i.filters, (b) => {
2683
2687
  s.value.filters = b, t("update:tableContext", s.value);
2684
- }, { deep: !0 }), ne(() => t("update:tableContext", s.value)), (b, y) => (p(), x("div", ct, [
2685
- m("span", mt, [
2688
+ }, { deep: !0 }), ne(() => t("update:tableContext", s.value)), (b, y) => (p(), x("div", mt, [
2689
+ m("span", ut, [
2686
2690
  $(b.$slots, "above-table")
2687
2691
  ]),
2688
2692
  f(u(Ee), z({
@@ -2695,23 +2699,23 @@ const nt = {
2695
2699
  ref_key: "forgeTable",
2696
2700
  ref: l,
2697
2701
  "data-cy": "table",
2698
- "onUpdate:filters": V,
2699
- onSort: S,
2702
+ "onUpdate:filters": S,
2703
+ onSort: V,
2700
2704
  onPage: D
2701
2705
  }), oe({
2702
2706
  empty: g(() => [
2703
- m("div", ut, [
2704
- m("h5", vt, h(b.emptyMessage ?? "No items Found."), 1)
2707
+ m("div", vt, [
2708
+ m("h5", ft, h(b.emptyMessage ?? "No items Found."), 1)
2705
2709
  ])
2706
2710
  ]),
2707
2711
  header: g(() => [
2708
2712
  m("div", {
2709
2713
  class: B(i.loading ? "opacity-50" : "")
2710
2714
  }, [
2711
- m("div", ft, [
2712
- m("div", xt, [
2713
- b.paginator && !b.legacyPaginationFooter ? (p(), x("span", bt, [
2714
- f(dt, {
2715
+ m("div", xt, [
2716
+ m("div", bt, [
2717
+ b.paginator && !b.legacyPaginationFooter ? (p(), x("span", gt, [
2718
+ f(ct, {
2715
2719
  total: d.value,
2716
2720
  "page-sizes": o.value,
2717
2721
  "per-page": r.value,
@@ -2722,7 +2726,7 @@ const nt = {
2722
2726
  }, null, 8, ["total", "page-sizes", "per-page"])
2723
2727
  ])) : C("", !0)
2724
2728
  ]),
2725
- m("div", gt, [
2729
+ m("div", yt, [
2726
2730
  b.showClearButton ? (p(), w(u(A), {
2727
2731
  key: 0,
2728
2732
  outlined: "",
@@ -2804,7 +2808,7 @@ const nt = {
2804
2808
  ]), 1040, ["class", "pt", "rows", "total-records", "filter-display"])
2805
2809
  ]));
2806
2810
  }
2807
- }), yt = { class: "d-flex position-relative" }, ht = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
2811
+ }), ht = { class: "d-flex position-relative" }, wt = { class: "d-flex w-100" }, Ri = /* @__PURE__ */ F({
2808
2812
  __name: "ForgeFilterHeader",
2809
2813
  props: /* @__PURE__ */ N({
2810
2814
  dataType: {},
@@ -2835,7 +2839,7 @@ const nt = {
2835
2839
  };
2836
2840
  return (l, o) => {
2837
2841
  const r = ge, s = A;
2838
- return p(), x("div", yt, [
2842
+ return p(), x("div", ht, [
2839
2843
  l.dataType === "numeric" ? (p(), w(r, z({
2840
2844
  key: 0,
2841
2845
  modelValue: a.value,
@@ -2857,7 +2861,7 @@ const nt = {
2857
2861
  "option-label": l.optionLabel
2858
2862
  }), {
2859
2863
  value: g(({ value: d, placeholder: c }) => [
2860
- m("div", ht, [
2864
+ m("div", wt, [
2861
2865
  m("span", {
2862
2866
  class: B({ "filter-placeholder": d === null })
2863
2867
  }, h(t(d, c)), 3),
@@ -2988,7 +2992,7 @@ function Be(e, a, t, i) {
2988
2992
  })) : a[r].status = "Duplicate";
2989
2993
  }), a;
2990
2994
  }
2991
- async function wt(e, a) {
2995
+ async function kt(e, a) {
2992
2996
  if (e === "Uploaded" && a !== null)
2993
2997
  try {
2994
2998
  await new ye(a).delete();
@@ -3011,20 +3015,20 @@ function fe(e, a = !0, t = 1) {
3011
3015
  while (Math.round(Math.abs(e) * r) / r >= i && o < l.length - 1);
3012
3016
  return e.toFixed(t) + " " + l[o];
3013
3017
  }
3014
- function kt(e) {
3018
+ function $t(e) {
3015
3019
  return ["image/gif", "image/png", "image/jpeg", "image/svg"].includes(e);
3016
3020
  }
3017
- function $t(e) {
3021
+ function Bt(e) {
3018
3022
  return URL.createObjectURL(e);
3019
3023
  }
3020
- function Bt() {
3024
+ function Ft() {
3021
3025
  const e = new $e(ve, ue);
3022
3026
  return e.define({ "application/vnd.ms-outlook": ["pst"] }), e;
3023
3027
  }
3024
- const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disabled", "multiple"], _t = {
3028
+ const zt = { class: "d-flex justify-content-between" }, _t = ["accept", "disabled", "multiple"], jt = {
3025
3029
  class: "text-break accepted-file-types-container",
3026
3030
  id: "accepted-file-types-overlay"
3027
- }, jt = /* @__PURE__ */ F({
3031
+ }, Ct = /* @__PURE__ */ F({
3028
3032
  __name: "UploadButton",
3029
3033
  props: /* @__PURE__ */ N({
3030
3034
  acceptedFileTypes: {},
@@ -3041,7 +3045,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3041
3045
  };
3042
3046
  return (r, s) => {
3043
3047
  const d = A;
3044
- return p(), x("div", Ft, [
3048
+ return p(), x("div", zt, [
3045
3049
  $(r.$slots, "message"),
3046
3050
  m("div", null, [
3047
3051
  m("input", {
@@ -3052,7 +3056,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3052
3056
  disabled: l.value,
3053
3057
  multiple: r.maxFileInput > 1,
3054
3058
  onInput: s[0] || (s[0] = (c) => o([...c.target.files]))
3055
- }, null, 40, zt),
3059
+ }, null, 40, _t),
3056
3060
  m("label", {
3057
3061
  class: B([{ disabled: l.value }, "btn btn-primary"]),
3058
3062
  id: "file-input-button",
@@ -3086,21 +3090,21 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3086
3090
  ref: t
3087
3091
  }, {
3088
3092
  default: g(() => [
3089
- m("div", _t, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3093
+ m("div", jt, h(r.acceptedFileTypes.map((c) => c.label ?? c.fileType.split("/").pop()).join(", ")), 1)
3090
3094
  ]),
3091
3095
  _: 1
3092
3096
  }, 512)
3093
3097
  ]);
3094
3098
  };
3095
3099
  }
3096
- }), Ct = {
3100
+ }), Vt = {
3097
3101
  key: 0,
3098
3102
  class: "py-4 px-3",
3099
3103
  id: "placeholder-message"
3100
3104
  }, St = {
3101
3105
  key: 1,
3102
3106
  class: "d-flex flex-column"
3103
- }, Vt = /* @__PURE__ */ F({
3107
+ }, Tt = /* @__PURE__ */ F({
3104
3108
  __name: "DragDropArea",
3105
3109
  props: /* @__PURE__ */ N({
3106
3110
  maxFileInput: {},
@@ -3122,7 +3126,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3122
3126
  onDragover: r[1] || (r[1] = G((s) => t.value = !0, ["prevent"])),
3123
3127
  onDrop: G(l, ["prevent"])
3124
3128
  }, [
3125
- a.value.length === 0 ? (p(), x("div", Ct, [
3129
+ a.value.length === 0 ? (p(), x("div", Vt, [
3126
3130
  f(u(_), {
3127
3131
  icon: "bi:upload",
3128
3132
  class: "me-2",
@@ -3135,7 +3139,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3135
3139
  ]))
3136
3140
  ], 34));
3137
3141
  }
3138
- }), Tt = { class: "d-flex align-items-center me-2" }, Mt = /* @__PURE__ */ F({
3142
+ }), Mt = { class: "d-flex align-items-center me-2" }, Pt = /* @__PURE__ */ F({
3139
3143
  __name: "UploadStatus",
3140
3144
  props: {
3141
3145
  fileSize: {},
@@ -3160,8 +3164,8 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3160
3164
  return "Upload Failed: Connection error, please try again.";
3161
3165
  }
3162
3166
  });
3163
- return (i, l) => (p(), x("div", Tt, [
3164
- i.uploadStatus === "Uploading" ? (p(), w(et, {
3167
+ return (i, l) => (p(), x("div", Mt, [
3168
+ i.uploadStatus === "Uploading" ? (p(), w(at, {
3165
3169
  key: 0,
3166
3170
  pixelWidth: 200,
3167
3171
  animate: "",
@@ -3185,16 +3189,16 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3185
3189
  }, 8, ["severity"])) : C("", !0)
3186
3190
  ]));
3187
3191
  }
3188
- }), Pt = ["data-cy"], It = { class: "ms-3 d-flex flex-column" }, Ot = {
3192
+ }), It = ["data-cy"], Ot = { class: "ms-3 d-flex flex-column" }, Dt = {
3189
3193
  key: 1,
3190
3194
  id: "file-name"
3191
- }, Dt = {
3195
+ }, Ut = {
3192
3196
  class: "text-black-50",
3193
3197
  id: "file-type"
3194
- }, Ut = {
3198
+ }, qt = {
3195
3199
  class: "text-black-50",
3196
3200
  id: "file-size"
3197
- }, qt = { class: "ms-auto my-auto d-flex" }, At = /* @__PURE__ */ F({
3201
+ }, At = { class: "ms-auto my-auto d-flex" }, Et = /* @__PURE__ */ F({
3198
3202
  __name: "FileInfo",
3199
3203
  props: /* @__PURE__ */ N({
3200
3204
  editableFileName: { type: Boolean },
@@ -3213,9 +3217,9 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3213
3217
  }),
3214
3218
  emits: /* @__PURE__ */ N(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
3215
3219
  setup(e, { emit: a }) {
3216
- const t = O(e, "file"), i = O(e, "blobFileName"), l = O(e, "uploadStatus"), o = a, r = T(t.value.name), s = T(""), d = T(0), c = T(), v = k(() => e.acceptedFileTypes.some(({ fileType: M }) => M === t.value.type)), n = k(() => t.value.size <= e.maxFileSize), j = k(() => t.value.type ? t.value.type : Bt().getType(t.value.name)), S = () => {
3220
+ const t = O(e, "file"), i = O(e, "blobFileName"), l = O(e, "uploadStatus"), o = a, r = T(t.value.name), s = T(""), d = T(0), c = T(), v = k(() => e.acceptedFileTypes.some(({ fileType: M }) => M === t.value.type)), n = k(() => t.value.size <= e.maxFileSize), j = k(() => t.value.type ? t.value.type : Ft().getType(t.value.name)), V = () => {
3217
3221
  t.value = new File([t.value], r.value, { type: t.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() });
3218
- }, V = async () => {
3222
+ }, S = async () => {
3219
3223
  if (!v.value || !n.value) {
3220
3224
  l.value = v.value ? "InvalidFileSize" : "InvalidFileType";
3221
3225
  return;
@@ -3246,10 +3250,10 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3246
3250
  l.value = "Failed";
3247
3251
  }
3248
3252
  }, D = async () => {
3249
- await wt(l.value, s.value), o("deleted", t.value);
3253
+ await kt(l.value, s.value), o("deleted", t.value);
3250
3254
  };
3251
3255
  return ne(() => {
3252
- e.autoUploadToBlob && V();
3256
+ e.autoUploadToBlob && S();
3253
3257
  }), (M, b) => {
3254
3258
  const y = A;
3255
3259
  return p(), x("div", {
@@ -3257,11 +3261,11 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3257
3261
  "data-cy": `file-info-${t.value.name}`
3258
3262
  }, [
3259
3263
  m("div", null, [
3260
- u(kt)(t.value.type) ? (p(), w(u(Le), {
3264
+ u($t)(t.value.type) ? (p(), w(u(Le), {
3261
3265
  key: 0,
3262
3266
  id: "thumbnail-image",
3263
3267
  "image-class": "image-file-thumbnail border",
3264
- src: u($t)(t.value),
3268
+ src: u(Bt)(t.value),
3265
3269
  alt: t.value.name,
3266
3270
  width: "75px",
3267
3271
  preview: ""
@@ -3273,23 +3277,23 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3273
3277
  width: "75px"
3274
3278
  }))
3275
3279
  ]),
3276
- m("div", It, [
3280
+ m("div", Ot, [
3277
3281
  m("div", null, [
3278
- M.editableFileName ? (p(), w(Va, {
3282
+ M.editableFileName ? (p(), w(Sa, {
3279
3283
  key: 0,
3280
3284
  id: "edit-file-name",
3281
3285
  modelValue: r.value,
3282
3286
  "onUpdate:modelValue": b[0] || (b[0] = (R) => r.value = R),
3283
3287
  rules: M.customFileNameRules,
3284
3288
  name: t.value.name,
3285
- "complete-action": S
3286
- }, null, 8, ["modelValue", "rules", "name"])) : (p(), x("span", Ot, h(t.value.name), 1))
3289
+ "complete-action": V
3290
+ }, null, 8, ["modelValue", "rules", "name"])) : (p(), x("span", Dt, h(t.value.name), 1))
3287
3291
  ]),
3288
- m("span", Dt, "File type: " + h(t.value.type.split("/").pop()), 1),
3289
- m("span", Ut, "File size: " + h(u(fe)(t.value.size)), 1)
3292
+ m("span", Ut, "File type: " + h(t.value.type.split("/").pop()), 1),
3293
+ m("span", qt, "File size: " + h(u(fe)(t.value.size)), 1)
3290
3294
  ]),
3291
- m("div", qt, [
3292
- (p(), w(Mt, {
3295
+ m("div", At, [
3296
+ (p(), w(Pt, {
3293
3297
  key: l.value,
3294
3298
  "file-size": t.value.size,
3295
3299
  "upload-status": l.value,
@@ -3299,7 +3303,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3299
3303
  l.value === "Not Uploaded" || l.value === "Failed" || l.value === "Duplicate" || l.value === "Aborted" ? (p(), w(y, {
3300
3304
  key: 0,
3301
3305
  link: "",
3302
- onClick: V
3306
+ onClick: S
3303
3307
  }, {
3304
3308
  default: g(() => [
3305
3309
  f(u(_), {
@@ -3329,20 +3333,20 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3329
3333
  _: 1
3330
3334
  }))
3331
3335
  ])
3332
- ], 8, Pt);
3336
+ ], 8, It);
3333
3337
  };
3334
3338
  }
3335
- }), Et = { class: "d-flex justify-content-end mt-1" }, Lt = { id: "max-file-size" }, Nt = /* @__PURE__ */ F({
3339
+ }), Lt = { class: "d-flex justify-content-end mt-1" }, Nt = { id: "max-file-size" }, Rt = /* @__PURE__ */ F({
3336
3340
  __name: "MaxFileSize",
3337
3341
  props: {
3338
3342
  maxFileSize: {}
3339
3343
  },
3340
3344
  setup(e) {
3341
- return (a, t) => (p(), x("div", Et, [
3342
- m("div", Lt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
3345
+ return (a, t) => (p(), x("div", Lt, [
3346
+ m("div", Nt, "Max file size: " + h(u(fe)(a.maxFileSize)), 1)
3343
3347
  ]));
3344
3348
  }
3345
- }), Rt = { "data-cy": "file-uploader" }, Ht = { key: 0 }, Hi = /* @__PURE__ */ F({
3349
+ }), Ht = { "data-cy": "file-uploader" }, Wt = { key: 0 }, Hi = /* @__PURE__ */ F({
3346
3350
  __name: "ForgeFileUploader",
3347
3351
  props: /* @__PURE__ */ N({
3348
3352
  acceptedFileTypes: {},
@@ -3362,13 +3366,13 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3362
3366
  const a = O(e, "modelValue"), t = e, i = (l) => {
3363
3367
  a.value = a.value.filter((o) => o.file != l);
3364
3368
  };
3365
- return (l, o) => (p(), x("div", Rt, [
3366
- f(jt, z(t, {
3369
+ return (l, o) => (p(), x("div", Ht, [
3370
+ f(Ct, z(t, {
3367
3371
  modelValue: a.value,
3368
3372
  "onUpdate:modelValue": o[0] || (o[0] = (r) => a.value = r)
3369
3373
  }), null, 16, ["modelValue"]),
3370
- l.showDragDropArea ? (p(), x("div", Ht, [
3371
- f(Vt, {
3374
+ l.showDragDropArea ? (p(), x("div", Wt, [
3375
+ f(Tt, {
3372
3376
  "max-file-input": t.maxFileInput,
3373
3377
  "max-file-size": t.maxFileSize,
3374
3378
  "accepted-file-types": t.acceptedFileTypes,
@@ -3377,7 +3381,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3377
3381
  }, {
3378
3382
  default: g(() => [
3379
3383
  (p(!0), x(q, null, W(a.value, ({ file: r }, s) => (p(), x("span", null, [
3380
- (p(), w(At, z({
3384
+ (p(), w(Et, z({
3381
3385
  key: r.name,
3382
3386
  class: s === a.value.length - 1 || a.value.length == 1 ? "" : "border-bottom",
3383
3387
  file: a.value[s].file,
@@ -3392,13 +3396,13 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3392
3396
  ]),
3393
3397
  _: 1
3394
3398
  }, 8, ["max-file-input", "max-file-size", "accepted-file-types", "modelValue"]),
3395
- f(Nt, {
3399
+ f(Rt, {
3396
3400
  "max-file-size": t.maxFileSize
3397
3401
  }, null, 8, ["max-file-size"])
3398
3402
  ])) : C("", !0)
3399
3403
  ]));
3400
3404
  }
3401
- }), Wt = { class: "d-flex" }, Yt = { class: "me-3" }, Gt = { class: "ms-2" }, Kt = { class: "d-flex flex-column w-100" }, Zt = ["onClick"], Jt = ["for"], Wi = /* @__PURE__ */ F({
3405
+ }), Yt = { class: "d-flex" }, Gt = { class: "me-3" }, Kt = { class: "ms-2" }, Zt = { class: "d-flex flex-column w-100" }, Jt = ["onClick"], Xt = ["for"], Wi = /* @__PURE__ */ F({
3402
3406
  __name: "ForgeColumnCustomiser",
3403
3407
  props: {
3404
3408
  modelValue: { required: !0 },
@@ -3420,12 +3424,12 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3420
3424
  class: "ms-2"
3421
3425
  }, {
3422
3426
  default: g(() => [
3423
- m("div", Wt, [
3424
- m("div", Yt, [
3427
+ m("div", Yt, [
3428
+ m("div", Gt, [
3425
3429
  f(u(_), { icon: "bi:layout-three-columns" })
3426
3430
  ]),
3427
3431
  P(" Columns (" + h(a.value.length ?? 0) + "/" + h(l.value.length ?? 0) + ") ", 1),
3428
- m("div", Gt, [
3432
+ m("div", Kt, [
3429
3433
  f(u(_), {
3430
3434
  icon: i.value ? "bi:chevron-up" : "bi:chevron-down"
3431
3435
  }, null, 8, ["icon"])
@@ -3442,7 +3446,7 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3442
3446
  onShow: c[1] || (c[1] = () => i.value = !0)
3443
3447
  }, {
3444
3448
  default: g(() => [
3445
- m("div", Kt, [
3449
+ m("div", Zt, [
3446
3450
  (p(!0), x(q, null, W(l.value, (v, n) => (p(), x("div", {
3447
3451
  class: B(["d-flex cursor-pointer", {
3448
3452
  "border-top": n !== 0,
@@ -3461,8 +3465,8 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3461
3465
  m("label", {
3462
3466
  for: v.field,
3463
3467
  class: "cursor-pointer"
3464
- }, h(v.header), 9, Jt)
3465
- ], 10, Zt))), 256))
3468
+ }, h(v.header), 9, Xt)
3469
+ ], 10, Jt))), 256))
3466
3470
  ])
3467
3471
  ]),
3468
3472
  _: 1
@@ -3471,8 +3475,8 @@ const Ft = { class: "d-flex justify-content-between" }, zt = ["accept", "disable
3471
3475
  }
3472
3476
  });
3473
3477
  export {
3474
- zi as Bootstrap_PT,
3475
- _i as ForgeActionButton,
3478
+ _i as Bootstrap_PT,
3479
+ ji as ForgeActionButton,
3476
3480
  re as ForgeAlert,
3477
3481
  ya as ForgeCheckbox,
3478
3482
  qi as ForgeChips,
@@ -3482,21 +3486,21 @@ export {
3482
3486
  Ri as ForgeFilterHeader,
3483
3487
  Di as ForgeForm,
3484
3488
  Ui as ForgeFormField,
3485
- Va as ForgeInlineEditor,
3486
- ji as ForgeLink,
3489
+ Sa as ForgeInlineEditor,
3490
+ Ci as ForgeLink,
3487
3491
  we as ForgeLoader,
3488
- Vi as ForgeModal,
3489
- Mi as ForgeMultiSelect,
3490
- Pi as ForgeMultiSelectPreview,
3491
- Ti as ForgeNavbar,
3492
+ Ti as ForgeModal,
3493
+ Pi as ForgeMultiSelect,
3494
+ Ra as ForgeMultiSelectPreview,
3495
+ Mi as ForgeNavbar,
3492
3496
  Ii as ForgePageHeader,
3493
- et as ForgeProgressBar,
3497
+ at as ForgeProgressBar,
3494
3498
  Oi as ForgeRemainingCharacters,
3495
3499
  Ai as ForgeStatWidget,
3496
3500
  Ei as ForgeStepper,
3497
3501
  Ni as ForgeTable,
3498
3502
  Li as ForgeTile,
3499
3503
  Si as convertToMultiSelectOption,
3500
- Ci as enumToMultiSelectList,
3504
+ Vi as enumToMultiSelectList,
3501
3505
  ka as parseError
3502
3506
  };
@@ -6,7 +6,7 @@ import { DataTableFilterMeta } from 'primevue/datatable';
6
6
  export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'brand' | undefined;
7
7
  export type Size = 'sm' | 'md' | 'lg' | undefined;
8
8
  export type BarPosition = 'top' | 'left' | 'none';
9
- export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask" | "select" | "multiselect" | "datepicker";
9
+ export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask" | "select" | "multiselect" | "datepicker" | "multiselect-preview";
10
10
  export type ForgeNavbarPosition = "fixed-top" | "fixed-bottom" | "sticky-top";
11
11
  export type ForgeMultiSelectOrientation = "row" | "column";
12
12
  export type ForgeColumnDataType = 'text' | 'numeric' | 'date' | 'select' | 'multiselect' | undefined;
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": "1.3.4",
5
+ "version": "1.3.5",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -7,7 +7,7 @@ export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger
7
7
  export type Size = 'sm' | 'md' | 'lg' | undefined
8
8
  export type BarPosition = 'top' | 'left' | 'none'
9
9
 
10
- export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask" | "select" | "multiselect" | "datepicker"
10
+ export type ForgeFormFieldTypes = "text" | "number" | "checkbox" | "textarea" | "mask" | "select" | "multiselect" | "datepicker" | "multiselect-preview"
11
11
  export type ForgeNavbarPosition = "fixed-top" | "fixed-bottom" | "sticky-top"
12
12
 
13
13
  export type ForgeMultiSelectOrientation = "row" | "column"