@3squared/forge-ui-3 2.12.1 → 2.12.3

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";
@@ -918,9 +918,17 @@ const We = {
918
918
  })
919
919
  },
920
920
  pcMenu: {
921
- rootList: "dropdown-menu show w-100",
922
- item: "dropdown-item",
923
- separator: "border-bottom w-100"
921
+ rootList: ({ instance: e }) => {
922
+ var i;
923
+ const t = ["dropdown-menu show"], a = document.querySelector(`ul[teleported-from=${e.$el.parentElement.id}]`);
924
+ return ((i = a == null ? void 0 : a.parentElement) == null ? void 0 : i.offsetLeft) + (a == null ? void 0 : a.offsetWidth) > window.innerWidth && t.push("dropdown-menu-end"), {
925
+ "teleported-from": e.$el.parentElement.id,
926
+ "data-bs-popper": "",
927
+ class: t
928
+ };
929
+ },
930
+ itemLink: "dropdown-item",
931
+ separator: "border-bottom"
924
932
  }
925
933
  }
926
934
  }, yt = {
@@ -1190,7 +1198,7 @@ const We = {
1190
1198
  const t = e;
1191
1199
  return (a, i) => {
1192
1200
  const l = he;
1193
- return r(), f(l, J(K({ ...a.$attrs, ...t })), {
1201
+ return r(), f(l, W(Y({ ...a.$attrs, ...t })), {
1194
1202
  icon: b(() => [
1195
1203
  m("div", {
1196
1204
  class: B(t.icon ? "me-2 pe-1" : "")
@@ -1289,7 +1297,7 @@ const We = {
1289
1297
  }),
1290
1298
  emits: ["update:modelValue"],
1291
1299
  setup(e) {
1292
- const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = ee(
1300
+ const t = e, a = D(e, "modelValue"), { handleChange: i, errors: l, errorMessage: o } = te(
1293
1301
  () => t.name ?? "",
1294
1302
  void 0,
1295
1303
  {
@@ -1329,7 +1337,7 @@ const We = {
1329
1337
  "data-cy": "error",
1330
1338
  class: "text-invalid"
1331
1339
  }, w(u(o)), 513), [
1332
- [Y, s.value]
1340
+ [J, s.value]
1333
1341
  ])
1334
1342
  ]);
1335
1343
  };
@@ -1536,7 +1544,7 @@ const _t = { key: 0 }, Pt = {
1536
1544
  onMaximize: c,
1537
1545
  onUnmaximize: p,
1538
1546
  pt: F.value
1539
- }), ie({
1547
+ }), ee({
1540
1548
  closeicon: b(() => [
1541
1549
  h(u(j), {
1542
1550
  "data-cy": "close-icon",
@@ -1576,7 +1584,7 @@ const _t = { key: 0 }, Pt = {
1576
1584
  _: 1
1577
1585
  })) : S("", !0)
1578
1586
  ], 64)) : S("", !0),
1579
- k(C.$slots, x, J(K(P || {}))),
1587
+ k(C.$slots, x, W(Y(P || {}))),
1580
1588
  o.value ? k(C.$slots, "loader", { key: 1 }, () => [
1581
1589
  h(ge, { "data-cy": "loader" })
1582
1590
  ]) : S("", !0)
@@ -1641,7 +1649,7 @@ const _t = { key: 0 }, Pt = {
1641
1649
  i.value = !i.value;
1642
1650
  }, p = () => {
1643
1651
  d.value = null;
1644
- }, { errorMessage: c, errors: g, value: d } = ee(() => t.name, void 0, {
1652
+ }, { errorMessage: c, errors: g, value: d } = te(() => t.name, void 0, {
1645
1653
  initialValue: a.value
1646
1654
  });
1647
1655
  le(() => {
@@ -1722,7 +1730,7 @@ const _t = { key: 0 }, Pt = {
1722
1730
  "data-cy": "error",
1723
1731
  class: "text-invalid"
1724
1732
  }, w(u(c)), 513), [
1725
- [Y, F.value]
1733
+ [J, F.value]
1726
1734
  ])
1727
1735
  ], 8, Vt);
1728
1736
  };
@@ -1774,7 +1782,7 @@ const _t = { key: 0 }, Pt = {
1774
1782
  return (i, l) => (r(), f(u(Ie), z({ ...t, ...i.$attrs }, {
1775
1783
  pt: a.value,
1776
1784
  "data-cy": "navbar"
1777
- }), ie({
1785
+ }), ee({
1778
1786
  start: b(() => [
1779
1787
  m("a", {
1780
1788
  href: i.logoUrl,
@@ -1801,7 +1809,7 @@ const _t = { key: 0 }, Pt = {
1801
1809
  N(i.$slots, (o, n) => ({
1802
1810
  name: n,
1803
1811
  fn: b((s) => [
1804
- k(i.$slots, n, J(K(s)))
1812
+ k(i.$slots, n, W(Y(s)))
1805
1813
  ])
1806
1814
  }))
1807
1815
  ]), 1040, ["pt"]));
@@ -1994,7 +2002,7 @@ const _t = { key: 0 }, Pt = {
1994
2002
  }),
1995
2003
  emits: ["update:modelValue"],
1996
2004
  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, {
2005
+ const t = e, a = D(e, "modelValue"), { errors: i, errorMessage: l, handleChange: o, handleBlur: n, setValue: s } = te(() => t.name, void 0, {
1998
2006
  initialValue: a.value
1999
2007
  }), p = () => {
2000
2008
  s(null), a.value = null;
@@ -2112,7 +2120,7 @@ const _t = { key: 0 }, Pt = {
2112
2120
  icon: "bi:calendar4",
2113
2121
  class: B(["position-absolute end-0 top-50 bottom-50 my-auto me-2 bg-white", `${c.value ? "text-danger-dark" : "text-muted"}`])
2114
2122
  }, null, 8, ["class"]), [
2115
- [Y, t.showIcon]
2123
+ [J, t.showIcon]
2116
2124
  ]),
2117
2125
  H(h(u(j), {
2118
2126
  "data-cy": "icon",
@@ -2120,7 +2128,7 @@ const _t = { key: 0 }, Pt = {
2120
2128
  onClick: p,
2121
2129
  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
2130
  }, null, 8, ["class"]), [
2123
- [Y, t.modelValue]
2131
+ [J, t.modelValue]
2124
2132
  ])
2125
2133
  ]),
2126
2134
  m("span", Qt, [
@@ -2131,7 +2139,7 @@ const _t = { key: 0 }, Pt = {
2131
2139
  "data-cy": "error",
2132
2140
  class: "text-invalid"
2133
2141
  }, w(u(l)), 513), [
2134
- [Y, c.value]
2142
+ [J, c.value]
2135
2143
  ])
2136
2144
  ], 64);
2137
2145
  };
@@ -2178,7 +2186,7 @@ const _t = { key: 0 }, Pt = {
2178
2186
  return r(), v("form", z(o.$attrs, {
2179
2187
  novalidate: "",
2180
2188
  class: "position-relative shadow-sm border p-4 bg-white",
2181
- onSubmit: G(l, ["prevent"])
2189
+ onSubmit: K(l, ["prevent"])
2182
2190
  }), [
2183
2191
  o.hideTitle ? S("", !0) : (r(), v(O, { key: 0 }, [
2184
2192
  k(o.$slots, "title", {}, () => [
@@ -2266,13 +2274,13 @@ const _t = { key: 0 }, Pt = {
2266
2274
  setup(e) {
2267
2275
  const t = D(e, "modelValue"), a = e, i = (g) => {
2268
2276
  a.type == "number" ? s(g.value) : s(g);
2269
- }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: p } = ee(() => a.name, void 0, {
2277
+ }, { errors: l, value: o, errorMessage: n, handleChange: s, handleBlur: p } = te(() => a.name, void 0, {
2270
2278
  initialValue: t.value
2271
2279
  }), c = T(() => l.value.length > 0);
2272
2280
  return ce(() => o.value, (g) => {
2273
2281
  t.value = g;
2274
2282
  }, { immediate: !0 }), (g, d) => {
2275
- const F = Ve, C = Pe, V = oe, M = te, q = ne, y = be;
2283
+ const F = Ve, C = Pe, V = oe, M = ae, q = ne, y = be;
2276
2284
  return a.type === "checkbox" ? (r(), f(fe, z({
2277
2285
  key: 0,
2278
2286
  id: a.name,
@@ -2293,7 +2301,7 @@ const _t = { key: 0 }, Pt = {
2293
2301
  I(w(a.fieldLabel) + " ", 1),
2294
2302
  g.required ? (r(), v("span", ia, "*")) : S("", !0)
2295
2303
  ], 10, aa),
2296
- k(g.$slots, "default", J(K({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2304
+ k(g.$slots, "default", W(Y({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
2297
2305
  a.type === "number" ? (r(), f(u(ue), z({
2298
2306
  key: 0,
2299
2307
  id: a.name
@@ -2358,7 +2366,7 @@ const _t = { key: 0 }, Pt = {
2358
2366
  "data-cy": "error",
2359
2367
  class: "invalid-feedback"
2360
2368
  }, w(u(n)), 513), [
2361
- [Y, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2369
+ [J, c.value && a.type !== "multiselect" && a.type !== "datepicker"]
2362
2370
  ])
2363
2371
  ]));
2364
2372
  };
@@ -3104,7 +3112,7 @@ const ua = {
3104
3112
  return (n, s) => (r(), v("div", ua, [
3105
3113
  s[2] || (s[2] = I(" Number of results per page ")),
3106
3114
  m("div", ma, [
3107
- h(u(te), {
3115
+ h(u(ae), {
3108
3116
  options: i.pageSizes,
3109
3117
  "model-value": i.perPage,
3110
3118
  class: "page-size",
@@ -3277,7 +3285,7 @@ const ua = {
3277
3285
  onSort: C,
3278
3286
  onPage: M,
3279
3287
  showHeaders: ""
3280
- }), ie({
3288
+ }), ee({
3281
3289
  empty: b(() => [
3282
3290
  m("div", xa, [
3283
3291
  m("h5", ha, w(y.emptyMessage ?? "No items Found."), 1)
@@ -3347,8 +3355,8 @@ const ua = {
3347
3355
  }, [
3348
3356
  N(y.$slots, (P, L) => ({
3349
3357
  name: L,
3350
- fn: b((ae) => [
3351
- k(y.$slots, L, J(K(ae || {})))
3358
+ fn: b((ie) => [
3359
+ k(y.$slots, L, W(Y(ie || {})))
3352
3360
  ])
3353
3361
  })),
3354
3362
  y.legacyPaginationFooter ? {
@@ -3359,7 +3367,7 @@ const ua = {
3359
3367
  "data-cy": "legacy-page-size"
3360
3368
  }, [
3361
3369
  x[4] || (x[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
3362
- h(u(te), {
3370
+ h(u(ae), {
3363
3371
  options: o.value,
3364
3372
  modelValue: n.value,
3365
3373
  "onUpdate:modelValue": x[1] || (x[1] = (P) => n.value = P),
@@ -3427,7 +3435,7 @@ const ua = {
3427
3435
  }, l.$attrs, {
3428
3436
  "show-icon": !1,
3429
3437
  "show-on-focus": !0
3430
- }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(te), z({
3438
+ }), null, 16, ["modelValue"])) : l.dataType === "select" ? (r(), f(u(ae), z({
3431
3439
  key: 2,
3432
3440
  modelValue: t.value,
3433
3441
  "onUpdate:modelValue": o[2] || (o[2] = (p) => t.value = p)
@@ -3443,7 +3451,7 @@ const ua = {
3443
3451
  }, w(a(p, c)), 3),
3444
3452
  l.showClearButton && t.value !== null ? (r(), f(s, {
3445
3453
  key: 0,
3446
- onClick: G(i, ["prevent"]),
3454
+ onClick: K(i, ["prevent"]),
3447
3455
  size: "small",
3448
3456
  class: "bg-transparent border-0 ms-auto p-0 pe-1"
3449
3457
  }, {
@@ -3478,7 +3486,7 @@ const ua = {
3478
3486
  }, l.$attrs), null, 16, ["modelValue"])),
3479
3487
  l.showClearButton && t.value !== null && l.dataType !== "select" && l.dataType !== "multiselect" && l.dataType !== "date" ? (r(), f(s, {
3480
3488
  key: 5,
3481
- onClick: G(i, ["prevent"]),
3489
+ onClick: K(i, ["prevent"]),
3482
3490
  size: "small",
3483
3491
  class: "bg-transparent border-0 ms-auto p-0 pe-1 position-absolute end-0 top-0 bottom-0"
3484
3492
  }, {
@@ -4552,10 +4560,10 @@ var E = function(e, t, a, i) {
4552
4560
  if (a === "a" && !i) throw new TypeError("Private accessor was defined without a getter");
4553
4561
  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
4562
  return a === "m" ? i : a === "a" ? i.call(e) : i ? i.value : t.get(e);
4555
- }, W, Z, R;
4563
+ }, G, Z, R;
4556
4564
  class ye {
4557
4565
  constructor(...t) {
4558
- W.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4566
+ G.set(this, /* @__PURE__ */ new Map()), Z.set(this, /* @__PURE__ */ new Map()), R.set(this, /* @__PURE__ */ new Map());
4559
4567
  for (const a of t)
4560
4568
  this.define(a);
4561
4569
  }
@@ -4568,10 +4576,10 @@ class ye {
4568
4576
  const p = s.startsWith("*");
4569
4577
  if (s = p ? s.slice(1) : s, o == null || o.add(s), n && E(this, Z, "f").set(i, s), n = !1, p)
4570
4578
  continue;
4571
- const c = E(this, W, "f").get(s);
4579
+ const c = E(this, G, "f").get(s);
4572
4580
  if (c && c != i && !a)
4573
4581
  throw new Error(`"${i} -> ${s}" conflicts with "${c} -> ${s}". Pass \`force=true\` to override this definition.`);
4574
- E(this, W, "f").set(s, i);
4582
+ E(this, G, "f").set(s, i);
4575
4583
  }
4576
4584
  }
4577
4585
  return this;
@@ -4580,7 +4588,7 @@ class ye {
4580
4588
  if (typeof t != "string")
4581
4589
  return null;
4582
4590
  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;
4591
+ return !(i.length < a.length - 1) && l ? null : E(this, G, "f").get(i) ?? null;
4584
4592
  }
4585
4593
  getExtension(t) {
4586
4594
  var a;
@@ -4599,12 +4607,12 @@ class ye {
4599
4607
  }
4600
4608
  _getTestState() {
4601
4609
  return {
4602
- types: E(this, W, "f"),
4610
+ types: E(this, G, "f"),
4603
4611
  extensions: E(this, Z, "f")
4604
4612
  };
4605
4613
  }
4606
4614
  }
4607
- W = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4615
+ G = /* @__PURE__ */ new WeakMap(), Z = /* @__PURE__ */ new WeakMap(), R = /* @__PURE__ */ new WeakMap();
4608
4616
  const Ca = new ye(de, re)._freeze();
4609
4617
  function xe(e, t, a, i) {
4610
4618
  const l = t.flatMap((o) => o.file);
@@ -4748,9 +4756,9 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4748
4756
  return (o, n) => (r(), v("div", {
4749
4757
  id: "drag-drop-area",
4750
4758
  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"])
4759
+ onDragleave: n[0] || (n[0] = K((s) => a.value = !1, ["prevent"])),
4760
+ onDragover: n[1] || (n[1] = K((s) => a.value = !0, ["prevent"])),
4761
+ onDrop: K(l, ["prevent"])
4754
4762
  }, [
4755
4763
  t.value.length === 0 ? (r(), v("div", Da, [
4756
4764
  h(u(j), {
@@ -4863,7 +4871,7 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
4863
4871
  l.value = "Uploading";
4864
4872
  const P = new me(y), L = {
4865
4873
  abortSignal: c.value.signal,
4866
- onProgress: (ae) => p.value = ae.loadedBytes,
4874
+ onProgress: (ie) => p.value = ie.loadedBytes,
4867
4875
  blobHTTPHeaders: {
4868
4876
  blobContentType: F.value,
4869
4877
  blobContentDisposition: `attachment; filename="${a.value.name}"`
@@ -5102,7 +5110,7 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5102
5110
  setup(e) {
5103
5111
  return (t, a) => {
5104
5112
  const i = Re;
5105
- return r(), f(i, J(K({ ...t.$attrs })), {
5113
+ return r(), f(i, W(Y({ ...t.$attrs })), ee({
5106
5114
  toggleicon: b(({ collapsed: l }) => [
5107
5115
  l ? (r(), f(u(j), {
5108
5116
  key: 0,
@@ -5115,11 +5123,15 @@ const _a = { class: "d-flex justify-content-between" }, Pa = ["accept", "disable
5115
5123
  icon: "bi:chevron-up"
5116
5124
  }))
5117
5125
  ]),
5118
- default: b(() => [
5119
- k(t.$slots, "default")
5120
- ]),
5121
- _: 3
5122
- }, 16);
5126
+ _: 2
5127
+ }, [
5128
+ N(t.$slots, (l, o) => ({
5129
+ name: o,
5130
+ fn: b((n) => [
5131
+ k(t.$slots, o, W(Y(n)))
5132
+ ])
5133
+ }))
5134
+ ]), 1040);
5123
5135
  };
5124
5136
  }
5125
5137
  }), li = /* @__PURE__ */ $({
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
23
23
  "onUpdate:modelValue"?: ((value: Date | Date[] | (Date | null)[] | null | undefined) => any) | undefined;
24
24
  }>, {
25
25
  name: string;
26
- severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
27
26
  view: "date" | "month" | "year";
27
+ severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "success-dark";
28
28
  baseZIndex: number;
29
29
  autoZIndex: boolean;
30
30
  appendTo: HTMLElement | import('@primevue/core').HintedString<"body" | "self">;
@@ -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
  };
@@ -16,8 +16,8 @@ declare function __VLS_template(): {
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import('vue').DefineComponent<ForgeProgressBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeProgressBarProps> & Readonly<{}>, {
19
- severity: Severity;
20
19
  animate: boolean;
20
+ severity: Severity;
21
21
  striped: boolean;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -17,7 +17,7 @@ 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: "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);
20
+ $emit: ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "sort", event: DataTableSortEvent) => 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;
@@ -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: "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);
47
+ $emit: ((e: "filter", event: import('primevue/datatable').DataTableFilterEvent) => void) & ((e: "sort", event: DataTableSortEvent) => 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"]>;
@@ -1,4 +1,5 @@
1
1
  import { SplitButtonPassThroughMethodOptions } from 'primevue/splitbutton';
2
+ import { TieredMenuPassThroughMethodOptions } from 'primevue';
2
3
  declare const _default: {
3
4
  splitbutton: {
4
5
  root: () => {
@@ -40,8 +41,12 @@ declare const _default: {
40
41
  };
41
42
  };
42
43
  pcMenu: {
43
- rootList: string;
44
- item: string;
44
+ rootList: ({ instance }: TieredMenuPassThroughMethodOptions<any>) => {
45
+ 'teleported-from': any;
46
+ 'data-bs-popper': string;
47
+ class: string[];
48
+ };
49
+ itemLink: string;
45
50
  separator: string;
46
51
  };
47
52
  };
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.1",
5
+ "version": "2.12.3",
6
6
  "type": "module",
7
7
  "license": "MIT",
8
8
  "contributors": [
@@ -55,17 +55,17 @@
55
55
  "cypress-real-events": "1.14.0",
56
56
  "rollup-plugin-visualizer": "5.14.0",
57
57
  "sass": "1.85.1",
58
- "typescript": "5.7.3",
59
- "unplugin-vue-components": "28.4.0",
58
+ "typescript": "5.8.2",
59
+ "unplugin-vue-components": "28.4.1",
60
60
  "vite": "6.2.0",
61
61
  "vite-bundle-visualizer": "1.2.1",
62
- "vite-plugin-dts": "4.5.0",
62
+ "vite-plugin-dts": "4.5.3",
63
63
  "vite-plugin-istanbul": "7.0.0",
64
64
  "vitest": "3.0.7",
65
65
  "vue-drawing-canvas": "1.0.14"
66
66
  },
67
67
  "optionalDependencies": {
68
- "@rollup/rollup-linux-x64-gnu": "4.34.8"
68
+ "@rollup/rollup-linux-x64-gnu": "4.34.9"
69
69
  },
70
70
  "nyc": {
71
71
  "all": true,