@3squared/forge-ui-3 2.12.0 → 2.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  import he from "primevue/message";
2
- import { defineComponent as $, openBlock as r, createBlock as f, normalizeProps as J, guardReactiveProps as K, withCtx as b, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as S, createVNode as h, renderSlot as k, ref as _, createElementBlock as v, Fragment as O, mergeProps as z, renderList as N, mergeModels as U, useModel as D, computed as T, createTextVNode as I, toDisplayString as w, withDirectives as H, vShow as Y, createSlots as ie, onMounted as le, isRef as we, withKeys as X, normalizeStyle as ke, withModifiers as G, watch as ce, h as $e, useTemplateRef as Fe } from "vue";
2
+ import { defineComponent as $, openBlock as r, createBlock as f, normalizeProps as W, guardReactiveProps as Y, withCtx as b, createElementVNode as m, normalizeClass as B, unref as u, createCommentVNode as S, createVNode as h, renderSlot as k, ref as _, createElementBlock as v, Fragment as O, mergeProps as z, renderList as N, mergeModels as U, useModel as D, computed as T, createTextVNode as I, toDisplayString as w, withDirectives as H, vShow as J, createSlots as ee, onMounted as le, isRef as we, withKeys as X, normalizeStyle as ke, withModifiers as K, watch as ce, h as $e, useTemplateRef as Fe } from "vue";
3
3
  import { Icon as j } from "@iconify/vue";
4
4
  import A from "primevue/button";
5
5
  import Be from "primevue/toast";
6
6
  import Se from "primevue/autocomplete";
7
7
  import Ce from "primevue/checkbox";
8
- import { useField as ee } from "vee-validate";
8
+ import { useField as te } from "vee-validate";
9
9
  import ze from "primevue/progressspinner";
10
10
  import Te from "primevue/dialog";
11
11
  import oe from "primevue/inputtext";
@@ -13,7 +13,7 @@ import { vOnClickOutside as je } from "@vueuse/components";
13
13
  import Ie from "primevue/menubar";
14
14
  import ne from "primevue/multiselect";
15
15
  import _e from "primevue/datepicker";
16
- import te from "primevue/select";
16
+ import ae from "primevue/select";
17
17
  import Pe from "primevue/inputmask";
18
18
  import Ve from "primevue/textarea";
19
19
  import ue from "primevue/inputnumber";
@@ -1190,7 +1190,7 @@ const We = {
1190
1190
  const t = e;
1191
1191
  return (a, i) => {
1192
1192
  const l = he;
1193
- return r(), f(l, J(K({ ...a.$attrs, ...t })), {
1193
+ return r(), f(l, W(Y({ ...a.$attrs, ...t })), {
1194
1194
  icon: b(() => [
1195
1195
  m("div", {
1196
1196
  class: B(t.icon ? "me-2 pe-1" : "")
@@ -1289,7 +1289,7 @@ const We = {
1289
1289
  }),
1290
1290
  emits: ["update:modelValue"],
1291
1291
  setup(e) {
1292
- const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = ee(
1292
+ const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = te(
1293
1293
  () => t.name ?? "",
1294
1294
  void 0,
1295
1295
  {
@@ -1329,7 +1329,7 @@ const We = {
1329
1329
  "data-cy": "error",
1330
1330
  class: "text-invalid"
1331
1331
  }, w(u(o)), 513), [
1332
- [Y, s.value]
1332
+ [J, s.value]
1333
1333
  ])
1334
1334
  ]);
1335
1335
  };
@@ -1536,7 +1536,7 @@ const _t = { key: 0 }, Pt = {
1536
1536
  onMaximize: c,
1537
1537
  onUnmaximize: p,
1538
1538
  pt: F.value
1539
- }), ie({
1539
+ }), ee({
1540
1540
  closeicon: b(() => [
1541
1541
  h(u(j), {
1542
1542
  "data-cy": "close-icon",
@@ -1576,7 +1576,7 @@ const _t = { key: 0 }, Pt = {
1576
1576
  _: 1
1577
1577
  })) : S("", !0)
1578
1578
  ], 64)) : S("", !0),
1579
- k(C.$slots, x, J(K(P || {}))),
1579
+ k(C.$slots, x, W(Y(P || {}))),
1580
1580
  o.value ? k(C.$slots, "loader", { key: 1 }, () => [
1581
1581
  h(ge, { "data-cy": "loader" })
1582
1582
  ]) : S("", !0)
@@ -1641,7 +1641,7 @@ const _t = { key: 0 }, Pt = {
1641
1641
  i.value = !i.value;
1642
1642
  }, p = () => {
1643
1643
  d.value = null;
1644
- }, { errorMessage: c, errors: g, value: d } = ee(() => t.name, void 0, {
1644
+ }, { errorMessage: c, errors: g, value: d } = te(() => t.name, void 0, {
1645
1645
  initialValue: a.value
1646
1646
  });
1647
1647
  le(() => {
@@ -1722,7 +1722,7 @@ const _t = { key: 0 }, Pt = {
1722
1722
  "data-cy": "error",
1723
1723
  class: "text-invalid"
1724
1724
  }, w(u(c)), 513), [
1725
- [Y, F.value]
1725
+ [J, F.value]
1726
1726
  ])
1727
1727
  ], 8, Vt);
1728
1728
  };
@@ -1774,7 +1774,7 @@ const _t = { key: 0 }, Pt = {
1774
1774
  return (i, l) => (r(), f(u(Ie), z({ ...t, ...i.$attrs }, {
1775
1775
  pt: a.value,
1776
1776
  "data-cy": "navbar"
1777
- }), ie({
1777
+ }), ee({
1778
1778
  start: b(() => [
1779
1779
  m("a", {
1780
1780
  href: i.logoUrl,
@@ -1801,7 +1801,7 @@ const _t = { key: 0 }, Pt = {
1801
1801
  N(i.$slots, (o, n) => ({
1802
1802
  name: n,
1803
1803
  fn: b((s) => [
1804
- k(i.$slots, n, J(K(s)))
1804
+ k(i.$slots, n, W(Y(s)))
1805
1805
  ])
1806
1806
  }))
1807
1807
  ]), 1040, ["pt"]));
@@ -1994,7 +1994,7 @@ const _t = { key: 0 }, Pt = {
1994
1994
  }),
1995
1995
  emits: ["update:modelValue"],
1996
1996
  setup(e) {
1997
- const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, setValue: s } = ee(() => t.name, void 0, {
1997
+ const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, setValue: s } = te(() => t.name, void 0, {
1998
1998
  initialValue: a.value
1999
1999
  }), p = () => {
2000
2000
  s(null), a.value = null;
@@ -2112,7 +2112,7 @@ const _t = { key: 0 }, Pt = {
2112
2112
  icon: "bi:calendar4",
2113
2113
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2114
2114
  }, null, 8, ["class"]), [
2115
- [Y, t.showIcon]
2115
+ [J, t.showIcon]
2116
2116
  ]),
2117
2117
  H(h(u(j), {
2118
2118
  "data-cy": "icon",
@@ -2120,7 +2120,7 @@ const _t = { key: 0 }, Pt = {
2120
2120
  onClick: p,
2121
2121
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto text-muted cursor-pointer bg-white", t.showIcon ? "datepicker-close-icon" : "me-2"])
2122
2122
  }, null, 8, ["class"]), [
2123
- [Y, t.modelValue]
2123
+ [J, t.modelValue]
2124
2124
  ])
2125
2125
  ]),
2126
2126
  m("span", Qt, [
@@ -2131,7 +2131,7 @@ const _t = { key: 0 }, Pt = {
2131
2131
  "data-cy": "error",
2132
2132
  class: "text-invalid"
2133
2133
  }, w(u(l)), 513), [
2134
- [Y, c.value]
2134
+ [J, c.value]
2135
2135
  ])
2136
2136
  ], 64);
2137
2137
  };
@@ -2178,7 +2178,7 @@ const _t = { key: 0 }, Pt = {
2178
2178
  return r(), v("form", z(o.$attrs, {
2179
2179
  novalidate: "",
2180
2180
  class: "position-relative shadow-sm border p-4 bg-white",
2181
- onSubmit: G(l, ["prevent"])
2181
+ onSubmit: K(l, ["prevent"])
2182
2182
  }), [
2183
2183
  o.hideTitle ? S("", !0) : (r(), v(O, { key: 0 }, [
2184
2184
  k(o.$slots, "title", {}, () => [
@@ -2266,13 +2266,13 @@ const _t = { key: 0 }, Pt = {
2266
2266
  setup(e) {
2267
2267
  const t = D(e, "modelValue"), a = e, i = (g) => {
2268
2268
  a.type == "number" ? s(g.value) : s(g);
2269
- }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: p } = ee(() => a.name, void 0, {
2269
+ }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: p } = te(() => a.name, void 0, {
2270
2270
  initialValue: t.value
2271
2271
  }), c = T(() => l.value.length > 0);
2272
2272
  return ce(() => o.value, (g) => {
2273
2273
  t.value = g;
2274
2274
  }, { immediate: !0 }), (g, d) => {
2275
- const F = Ve, C = Pe, V = oe, M = te, q = ne, y = be;
2275
+ const F = Ve, C = Pe, V = oe, M = ae, q = ne, y = be;
2276
2276
  return a.type === "checkbox" ? (r(), f(fe, z({
2277
2277
  key: 0,
2278
2278
  id: a.name,
@@ -2293,7 +2293,7 @@ const _t = { key: 0 }, Pt = {
2293
2293
  I(w(a.fieldLabel) + " ", 1),
2294
2294
  g.required ? (r(), v("span", ia, "*")) : S("", !0)
2295
2295
  ], 10, aa),
2296
- k(g.$slots, "default", J(K({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2296
+ k(g.$slots, "default", W(Y({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2297
2297
  a.type === "number" ? (r(), f(u(ue), z({
2298
2298
  key: 0,
2299
2299
  id: a.name
@@ -2358,7 +2358,7 @@ const _t = { key: 0 }, Pt = {
2358
2358
  "data-cy": "error",
2359
2359
  class: "invalid-feedback"
2360
2360
  }, w(u(n)), 513), [
2361
- [Y, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2361
+ [J, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2362
2362
  ])
2363
2363
  ]));
2364
2364
  };
@@ -3104,7 +3104,7 @@ const ua = {
3104
3104
  return (n, s) => (r(), v("div", ua, [
3105
3105
  s[2] || (s[2] = I(" Number of results per page ")),
3106
3106
  m("div", ma, [
3107
- h(u(te), {
3107
+ h(u(ae), {
3108
3108
  options: i.pageSizes,
3109
3109
  "model-value": i.perPage,
3110
3110
  class: "page-size",
@@ -3277,7 +3277,7 @@ const ua = {
3277
3277
  onSort: C,
3278
3278
  onPage: M,
3279
3279
  showHeaders: ""
3280
- }), ie({
3280
+ }), ee({
3281
3281
  empty: b(() => [
3282
3282
  m("div", xa, [
3283
3283
  m("h5", ha, w(y.emptyMessage ?? "No items Found."), 1)
@@ -3347,8 +3347,8 @@ const ua = {
3347
3347
  }, [
3348
3348
  N(y.$slots, (P, L) => ({
3349
3349
  name: L,
3350
- fn: b((ae) => [
3351
- k(y.$slots, L, J(K(ae || {})))
3350
+ fn: b((ie) => [
3351
+ k(y.$slots, L, W(Y(ie || {})))
3352
3352
  ])
3353
3353
  })),
3354
3354
  y.legacyPaginationFooter ? {
@@ -3359,7 +3359,7 @@ const ua = {
3359
3359
  "data-cy": "legacy-page-size"
3360
3360
  }, [
3361
3361
  x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3362
- h(u(te), {
3362
+ h(u(ae), {
3363
3363
  options: o.value,
3364
3364
  modelValue: n.value,
3365
3365
  "onUpdate:modelValue": x[1] || (x[1] = (P) => n.value = P),
@@ -3427,7 +3427,7 @@ const ua = {
3427
3427
  }, l.$attrs, {
3428
3428
  "show-icon": !1,
3429
3429
  "show-on-focus": !0
3430
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(te), z({
3430
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(ae), z({
3431
3431
  key: 2,
3432
3432
  modelValue: t.value,
3433
3433
  "onUpdate:modelValue": o[2] || (o[2] = (p) => t.value = p)
@@ -3443,7 +3443,7 @@ const ua = {
3443
3443
  }, w(a(p, c)), 3),
3444
3444
  l.showClearButton && t.value !== null ? (r(), f(s, {
3445
3445
  key: 0,
3446
- onClick: G(i, ["prevent"]),
3446
+ onClick: K(i, ["prevent"]),
3447
3447
  size: "small",
3448
3448
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3449
3449
  }, {
@@ -3478,7 +3478,7 @@ const ua = {
3478
3478
  }, l.$attrs), null, 16, ["modelValue"])),
3479
3479
  l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (r(), f(s, {
3480
3480
  key: 5,
3481
- onClick: G(i, ["prevent"]),
3481
+ onClick: K(i, ["prevent"]),
3482
3482
  size: "small",
3483
3483
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3484
3484
  }, {
@@ -4552,10 +4552,10 @@ var E = function(e, t, a, i) {
4552
4552
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
4553
4553
  if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
4554
4554
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
4555
- }, W, Z, R;
4555
+ }, G, Z, R;
4556
4556
  class ye {
4557
4557
  constructor(...t) {
4558
- W.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4558
+ G.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4559
4559
  for (const a of t)
4560
4560
  this.define(a);
4561
4561
  }
@@ -4568,10 +4568,10 @@ class ye {
4568
4568
  const p = s.startsWith("*");
4569
4569
  if (s = p ? s.slice(1) : s, o == null || o.add(s), n && E(this, Z, "f").set(i, s), n = !1, p)
4570
4570
  continue;
4571
- const c = E(this, W, "f").get(s);
4571
+ const c = E(this, G, "f").get(s);
4572
4572
  if (c && c != i && !a)
4573
4573
  throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
4574
- E(this, W, "f").set(s, i);
4574
+ E(this, G, "f").set(s, i);
4575
4575
  }
4576
4576
  }
4577
4577
  return this;
@@ -4580,7 +4580,7 @@ class ye {
4580
4580
  if (typeof t != "string")
4581
4581
  return null;
4582
4582
  const a = t.replace(/^.*[/\\]/, "").toLowerCase(), i = a.replace(/^.*\./, "").toLowerCase(), l = a.length < t.length;
4583
- return !(i.length < a.length - 1) && l ? null : E(this, W, "f").get(i) ?? null;
4583
+ return !(i.length < a.length - 1) && l ? null : E(this, G, "f").get(i) ?? null;
4584
4584
  }
4585
4585
  getExtension(t) {
4586
4586
  var a;
@@ -4599,12 +4599,12 @@ class ye {
4599
4599
  }
4600
4600
  _getTestState() {
4601
4601
  return {
4602
- types: E(this, W, "f"),
4602
+ types: E(this, G, "f"),
4603
4603
  extensions: E(this, Z, "f")
4604
4604
  };
4605
4605
  }
4606
4606
  }
4607
- W = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4607
+ G = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4608
4608
  const Ca = new ye(de, re)._freeze();
4609
4609
  function xe(e, t, a, i) {
4610
4610
  const l = t.flatMap((o) => o.file);
@@ -4748,9 +4748,9 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4748
4748
  return (o, n) => (r(), v("div", {
4749
4749
  id: "drag-drop-area",
4750
4750
  class: B(`${a.value ? "border-2 border-primary bg-body-tertiary" : ""} mt-3 file-container border-dashed border-2`),
4751
- onDragleave: n[0] || (n[0] = G((s) => a.value = !1, ["prevent"])),
4752
- onDragover: n[1] || (n[1] = G((s) => a.value = !0, ["prevent"])),
4753
- onDrop: G(l, ["prevent"])
4751
+ onDragleave: n[0] || (n[0] = K((s) => a.value = !1, ["prevent"])),
4752
+ onDragover: n[1] || (n[1] = K((s) => a.value = !0, ["prevent"])),
4753
+ onDrop: K(l, ["prevent"])
4754
4754
  }, [
4755
4755
  t.value.length === 0 ? (r(), v("div", Da, [
4756
4756
  h(u(j), {
@@ -4863,7 +4863,7 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4863
4863
  l.value = "Uploading";
4864
4864
  const P = new me(y), L = {
4865
4865
  abortSignal: c.value.signal,
4866
- onProgress: (ae) => p.value = ae.loadedBytes,
4866
+ onProgress: (ie) => p.value = ie.loadedBytes,
4867
4867
  blobHTTPHeaders: {
4868
4868
  blobContentType: F.value,
4869
4869
  blobContentDisposition: `attachment; filename="${a.value.name}"`
@@ -5102,7 +5102,7 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5102
5102
  setup(e) {
5103
5103
  return (t, a) => {
5104
5104
  const i = Re;
5105
- return r(), f(i, J(K({ ...t.$attrs })), {
5105
+ return r(), f(i, W(Y({ ...t.$attrs })), ee({
5106
5106
  toggleicon: b(({ collapsed: l }) => [
5107
5107
  l ? (r(), f(u(j), {
5108
5108
  key: 0,
@@ -5115,11 +5115,15 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5115
5115
  icon: "bi:chevron-up"
5116
5116
  }))
5117
5117
  ]),
5118
- default: b(() => [
5119
- k(t.$slots, "default")
5120
- ]),
5121
- _: 3
5122
- }, 16);
5118
+ _: 2
5119
+ }, [
5120
+ N(t.$slots, (l, o) => ({
5121
+ name: o,
5122
+ fn: b((n) => [
5123
+ k(t.$slots, o, W(Y(n)))
5124
+ ])
5125
+ }))
5126
+ ]), 1040);
5123
5127
  };
5124
5128
  }
5125
5129
  }), li = /* @__PURE__ */ $({
@@ -1,8 +1,6 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- };
3
+ slots: any;
6
4
  refs: {};
7
5
  rootEl: any;
8
6
  };
@@ -3,6 +3,6 @@ export interface ForgeToggleButtonProps {
3
3
  severity?: Severity;
4
4
  }
5
5
  declare const _default: import('vue').DefineComponent<ForgeToggleButtonProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeToggleButtonProps> & Readonly<{}>, {
6
- severity: Severity;
6
+ severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
7
7
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
8
  export default _default;
@@ -19,8 +19,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
20
  "onUpdate:modelValue"?: ((value: ForgeFileStatus[]) => any) | undefined;
21
21
  }>, {
22
- showDragDropArea: boolean;
23
22
  maxFileInput: number;
23
+ showDragDropArea: boolean;
24
24
  editableFileName: boolean;
25
25
  autoUploadToBlob: boolean;
26
26
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -8,7 +8,7 @@ declare const _default: import('vue').DefineComponent<ForgePaginationHeaderProps
8
8
  }, string, import('vue').PublicProps, Readonly<ForgePaginationHeaderProps> & Readonly<{
9
9
  "onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
10
10
  }>, {
11
- perPage: number;
12
11
  pageSizes: Array<number>;
12
+ perPage: number;
13
13
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
14
  export default _default;
@@ -17,20 +17,20 @@ declare function __VLS_template(): {
17
17
  forgeTable: ({
18
18
  $props: DataTableProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
19
19
  $slots: DataTableSlots;
20
- $emit: ((e: "page", event: DataTablePageEvent) => void) & ((e: "sort", event: DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:filters", value: DataTableFilterMeta) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent) => void);
20
+ $emit: ((e: "sort", event: DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "page", event: DataTablePageEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:filters", value: DataTableFilterMeta) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent) => void);
21
21
  } & import('primevue/datatable').DataTableMethods) | null;
22
22
  };
23
23
  rootEl: HTMLDivElement;
24
24
  };
25
25
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
26
  declare const __VLS_component: import('vue').DefineComponent<ForgeTableProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
- page: (...args: any[]) => void;
28
27
  sort: (...args: any[]) => void;
28
+ page: (...args: any[]) => void;
29
29
  "update:filters": (...args: any[]) => void;
30
30
  "update:tableContext": (...args: any[]) => void;
31
31
  }, string, import('vue').PublicProps, Readonly<ForgeTableProps> & Readonly<{
32
- onPage?: ((...args: any[]) => any) | undefined;
33
32
  onSort?: ((...args: any[]) => any) | undefined;
33
+ onPage?: ((...args: any[]) => any) | undefined;
34
34
  "onUpdate:filters"?: ((...args: any[]) => any) | undefined;
35
35
  "onUpdate:tableContext"?: ((...args: any[]) => any) | undefined;
36
36
  }>, {
@@ -44,7 +44,7 @@ declare const __VLS_component: import('vue').DefineComponent<ForgeTableProps, {}
44
44
  forgeTable: ({
45
45
  $props: DataTableProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
46
46
  $slots: DataTableSlots;
47
- $emit: ((e: "page", event: DataTablePageEvent) => void) & ((e: "sort", event: DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:filters", value: DataTableFilterMeta) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent) => void);
47
+ $emit: ((e: "sort", event: DataTableSortEvent) => void) & ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "page", event: DataTablePageEvent) => void) & ((e: "value-change", value: any[]) => void) & ((e: "update:filters", value: DataTableFilterMeta) => void) & ((e: "update:first", value: number) => void) & ((e: "update:rows", value: number) => void) & ((e: "update:sortField", value: string) => void) & ((e: "update:sortOrder", value: number | undefined) => void) & ((e: "update:multiSortMeta", value: import('primevue/datatable').DataTableSortMeta[] | null | undefined) => void) & ((e: "update:selection", value: any) => void) & ((e: "update:contextMenuSelection", value: any) => void) & ((e: "update:expandedRows", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:expandedRowGroups", value: any[] | import('primevue/datatable').DataTableExpandedRows) => void) & ((e: "update:editingRows", value: any[] | import('primevue/datatable').DataTableEditingRows) => void) & ((e: "row-click", event: import('primevue/datatable').DataTableRowClickEvent) => void) & ((e: "row-dblclick", event: import('primevue/datatable').DataTableRowDoubleClickEvent) => void) & ((e: "row-contextmenu", event: import('primevue/datatable').DataTableRowContextMenuEvent) => void) & ((e: "row-select", event: import('primevue/datatable').DataTableRowSelectEvent) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent) => void) & ((e: "row-unselect-all", event: import('primevue/datatable').DataTableRowUnselectAllEvent) => void) & ((e: "row-unselect", event: import('primevue/datatable').DataTableRowUnselectEvent) => void) & ((e: "select-all-change", event: import('primevue/datatable').DataTableSelectAllChangeEvent) => void) & ((e: "column-resize-end", event: import('primevue/datatable').DataTableColumnResizeEndEvent) => void) & ((e: "column-reorder", event: import('primevue/datatable').DataTableColumnReorderEvent) => void) & ((e: "row-reorder", event: import('primevue/datatable').DataTableRowReorderEvent) => void) & ((e: "row-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent) => void) & ((e: "state-restore", event: import('primevue/datatable').DataTableStateEvent) => void) & ((e: "state-save", event: import('primevue/datatable').DataTableStateEvent) => void);
48
48
  } & import('primevue/datatable').DataTableMethods) | null;
49
49
  }, HTMLDivElement>;
50
50
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
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.12.0",
5
+ "version": "2.12.2",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -51,7 +51,7 @@
51
51
  "@vitejs/plugin-vue": "5.2.1",
52
52
  "@vitest/coverage-v8": "3.0.7",
53
53
  "@vitest/ui": "3.0.7",
54
- "cypress": "14.0.3",
54
+ "cypress": "14.1.0",
55
55
  "cypress-real-events": "1.14.0",
56
56
  "rollup-plugin-visualizer": "5.14.0",
57
57
  "sass": "1.85.1",