@3squared/forge-ui-3 2.14.0 → 2.14.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.
package/dist/esm/forge-ui-3.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Be from "primevue/message";
|
|
2
|
-
import { defineComponent as S, openBlock as d, createBlock as b, normalizeProps as W, guardReactiveProps as G, withCtx as g, createElementVNode as m, normalizeClass as F, unref as u, createCommentVNode as C, createVNode as h, renderSlot as
|
|
2
|
+
import { defineComponent as S, openBlock as d, createBlock as b, normalizeProps as W, guardReactiveProps as G, withCtx as g, createElementVNode as m, normalizeClass as F, unref as u, createCommentVNode as C, createVNode as h, renderSlot as $, ref as P, createElementBlock as v, Fragment as E, mergeProps as j, renderList as U, mergeModels as R, useModel as N, computed as T, createTextVNode as M, toDisplayString as B, withDirectives as J, vShow as Z, createSlots as ae, onMounted as ne, isRef as Fe, withKeys as le, normalizeStyle as Se, withModifiers as X, watch as te, h as Ce, useTemplateRef as ze } from "vue";
|
|
3
3
|
import { Icon as I } from "@iconify/vue";
|
|
4
4
|
import q from "primevue/button";
|
|
5
5
|
import Te from "primevue/toast";
|
|
@@ -13,7 +13,7 @@ import { vOnClickOutside as Me } from "@vueuse/components";
|
|
|
13
13
|
import Ve from "primevue/menubar";
|
|
14
14
|
import re from "primevue/multiselect";
|
|
15
15
|
import De from "primevue/datepicker";
|
|
16
|
-
import
|
|
16
|
+
import ie from "primevue/select";
|
|
17
17
|
import Oe from "primevue/inputmask";
|
|
18
18
|
import Ne from "primevue/textarea";
|
|
19
19
|
import fe from "primevue/inputnumber";
|
|
@@ -261,7 +261,7 @@ const Ze = {
|
|
|
261
261
|
pcRowEditorCancel: "btn",
|
|
262
262
|
bodyCell: (e) => {
|
|
263
263
|
var t, a;
|
|
264
|
-
return
|
|
264
|
+
return {
|
|
265
265
|
class: {
|
|
266
266
|
"expander-cell": (t = e.column.props) == null ? void 0 : t.expander,
|
|
267
267
|
"position-sticky": ((a = e.column.props) == null ? void 0 : a.frozen) !== void 0,
|
|
@@ -1256,7 +1256,7 @@ const Ze = {
|
|
|
1256
1256
|
h(u(I), { icon: "bi:x" })
|
|
1257
1257
|
]),
|
|
1258
1258
|
default: g(() => [
|
|
1259
|
-
|
|
1259
|
+
$(a.$slots, "default")
|
|
1260
1260
|
]),
|
|
1261
1261
|
_: 3
|
|
1262
1262
|
}, 16);
|
|
@@ -1297,7 +1297,7 @@ const Ze = {
|
|
|
1297
1297
|
setup(e) {
|
|
1298
1298
|
return (t, a) => (d(), b(u(je), j({ ...t.$attrs, ...t.$props }, { inputClass: "form-control border-0" }), {
|
|
1299
1299
|
default: g(() => [
|
|
1300
|
-
(d(!0), v(E, null, U(t.$slots, (i, l) =>
|
|
1300
|
+
(d(!0), v(E, null, U(t.$slots, (i, l) => $(t.$slots, l, { slot: l })), 256))
|
|
1301
1301
|
]),
|
|
1302
1302
|
_: 3
|
|
1303
1303
|
}, 16));
|
|
@@ -1368,7 +1368,7 @@ const Ze = {
|
|
|
1368
1368
|
onClick: c[1] || (c[1] = (r) => o(r, !a.value)),
|
|
1369
1369
|
class: F([`${t.disabled || t.readonly ? "opacity-50" : "cursor-pointer"} ${s.value ? "text-danger-dark" : ""}`, "w-100 my-auto"])
|
|
1370
1370
|
}, [
|
|
1371
|
-
|
|
1371
|
+
$(p.$slots, "default", {}, () => [
|
|
1372
1372
|
M(B(t.label), 1)
|
|
1373
1373
|
])
|
|
1374
1374
|
], 10, Mt)
|
|
@@ -1452,7 +1452,7 @@ const Ze = {
|
|
|
1452
1452
|
href: i.url,
|
|
1453
1453
|
target: i.target
|
|
1454
1454
|
}, [
|
|
1455
|
-
|
|
1455
|
+
$(i.$slots, "default", {}, () => [
|
|
1456
1456
|
i.iconName ? (d(), b(u(I), {
|
|
1457
1457
|
key: 0,
|
|
1458
1458
|
id: "link-icon",
|
|
@@ -1516,7 +1516,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1516
1516
|
maximizable: { type: Boolean },
|
|
1517
1517
|
breakpoints: {},
|
|
1518
1518
|
draggable: { type: Boolean },
|
|
1519
|
-
|
|
1519
|
+
keepInViewport: { type: Boolean },
|
|
1520
1520
|
minX: {},
|
|
1521
1521
|
minY: {},
|
|
1522
1522
|
appendTo: {},
|
|
@@ -1574,7 +1574,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1574
1574
|
}
|
|
1575
1575
|
n.value = !1;
|
|
1576
1576
|
}
|
|
1577
|
-
},
|
|
1577
|
+
}, k = T(() => ({
|
|
1578
1578
|
root: [
|
|
1579
1579
|
"modal modal-dialog modal-content h-auto m-0",
|
|
1580
1580
|
{
|
|
@@ -1596,8 +1596,8 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1596
1596
|
return d(), b(A, j(l, {
|
|
1597
1597
|
onMaximize: c,
|
|
1598
1598
|
onUnmaximize: p,
|
|
1599
|
-
pt:
|
|
1600
|
-
}),
|
|
1599
|
+
pt: k.value
|
|
1600
|
+
}), ae({
|
|
1601
1601
|
closeicon: g(() => [
|
|
1602
1602
|
h(u(I), {
|
|
1603
1603
|
"data-cy": "close-icon",
|
|
@@ -1637,8 +1637,8 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1637
1637
|
_: 1
|
|
1638
1638
|
})) : C("", !0)
|
|
1639
1639
|
], 64)) : C("", !0),
|
|
1640
|
-
|
|
1641
|
-
n.value ?
|
|
1640
|
+
$(z.$slots, w, W(G(_ || {}))),
|
|
1641
|
+
n.value ? $(z.$slots, "loader", { key: 1 }, () => [
|
|
1642
1642
|
h(pe, { "data-cy": "loader" })
|
|
1643
1643
|
]) : C("", !0)
|
|
1644
1644
|
])
|
|
@@ -1688,7 +1688,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1688
1688
|
var z;
|
|
1689
1689
|
i.value = !i.value, (z = l.value) == null || z.focus();
|
|
1690
1690
|
}, o = async () => {
|
|
1691
|
-
if (
|
|
1691
|
+
if (k.value)
|
|
1692
1692
|
return !1;
|
|
1693
1693
|
if (a.value = r.value, t.completeAction)
|
|
1694
1694
|
try {
|
|
@@ -1708,21 +1708,21 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1708
1708
|
ne(() => {
|
|
1709
1709
|
r.value = a.value;
|
|
1710
1710
|
});
|
|
1711
|
-
const
|
|
1711
|
+
const k = T(() => y.value.length > 0);
|
|
1712
1712
|
return (z, D) => {
|
|
1713
1713
|
const O = se, A = q;
|
|
1714
1714
|
return d(), v("div", {
|
|
1715
1715
|
id: t.name
|
|
1716
1716
|
}, [
|
|
1717
1717
|
z.readonly ? (d(), v("div", Lt, [
|
|
1718
|
-
|
|
1718
|
+
$(z.$slots, "default", {}, () => [
|
|
1719
1719
|
m("span", Rt, B(u(r)), 1)
|
|
1720
1720
|
])
|
|
1721
1721
|
])) : (d(), v("div", Et, [
|
|
1722
1722
|
i.value ? (d(), v("div", Ut, [
|
|
1723
1723
|
J((d(), v("div", qt, [
|
|
1724
|
-
|
|
1725
|
-
class: F({ "is-invalid":
|
|
1724
|
+
$(z.$slots, "editor", {
|
|
1725
|
+
class: F({ "is-invalid": k.value }),
|
|
1726
1726
|
editFinished: o,
|
|
1727
1727
|
cancel: s,
|
|
1728
1728
|
val: u(r)
|
|
@@ -1734,10 +1734,10 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1734
1734
|
"data-cy": "input",
|
|
1735
1735
|
ref_key: "input",
|
|
1736
1736
|
ref: l,
|
|
1737
|
-
class: F({ "is-invalid":
|
|
1737
|
+
class: F({ "is-invalid": k.value }),
|
|
1738
1738
|
onKeydown: [
|
|
1739
|
-
|
|
1740
|
-
|
|
1739
|
+
le(o, ["enter"]),
|
|
1740
|
+
le(s, ["esc"])
|
|
1741
1741
|
]
|
|
1742
1742
|
}, null, 8, ["modelValue", "class"])
|
|
1743
1743
|
]),
|
|
@@ -1745,7 +1745,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1745
1745
|
icon: "bi:x-circle",
|
|
1746
1746
|
class: "mx-2 cursor-pointer",
|
|
1747
1747
|
onClick: p,
|
|
1748
|
-
onKeydown:
|
|
1748
|
+
onKeydown: le(p, ["enter"]),
|
|
1749
1749
|
"data-cy": "clear-icon"
|
|
1750
1750
|
})
|
|
1751
1751
|
])), [
|
|
@@ -1757,9 +1757,9 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1757
1757
|
onClick: n,
|
|
1758
1758
|
onFocus: n
|
|
1759
1759
|
}, [
|
|
1760
|
-
|
|
1760
|
+
$(z.$slots, "default", {}, () => [
|
|
1761
1761
|
m("div", {
|
|
1762
|
-
class: F(["pe-2 cursor-pointer", { "text-invalid":
|
|
1762
|
+
class: F(["pe-2 cursor-pointer", { "text-invalid": k.value }]),
|
|
1763
1763
|
"data-cy": "value"
|
|
1764
1764
|
}, B(u(r) ? u(r) : "Click to edit"), 3)
|
|
1765
1765
|
]),
|
|
@@ -1770,9 +1770,9 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1770
1770
|
default: g(() => [
|
|
1771
1771
|
h(u(I), {
|
|
1772
1772
|
icon: "bi:pencil",
|
|
1773
|
-
class: F(
|
|
1773
|
+
class: F(k.value ? "text-invalid" : "text-muted"),
|
|
1774
1774
|
"data-cy": "edit-icon",
|
|
1775
|
-
onKeydown:
|
|
1775
|
+
onKeydown: le(n, ["enter"])
|
|
1776
1776
|
}, null, 8, ["class"])
|
|
1777
1777
|
]),
|
|
1778
1778
|
_: 1
|
|
@@ -1783,7 +1783,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1783
1783
|
"data-cy": "error",
|
|
1784
1784
|
class: "text-invalid"
|
|
1785
1785
|
}, B(u(c)), 513), [
|
|
1786
|
-
[Z,
|
|
1786
|
+
[Z, k.value]
|
|
1787
1787
|
])
|
|
1788
1788
|
], 8, At);
|
|
1789
1789
|
};
|
|
@@ -1836,20 +1836,20 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1836
1836
|
return (i, l) => (d(), b(u(Ve), j({ ...t, ...i.$attrs }, {
|
|
1837
1837
|
pt: a.value,
|
|
1838
1838
|
"data-cy": "navbar"
|
|
1839
|
-
}),
|
|
1839
|
+
}), ae({
|
|
1840
1840
|
start: g(() => [
|
|
1841
1841
|
m("a", {
|
|
1842
1842
|
href: i.logoUrl,
|
|
1843
1843
|
class: "navbar-brand ms-3",
|
|
1844
1844
|
"data-cy": "logo"
|
|
1845
1845
|
}, [
|
|
1846
|
-
|
|
1846
|
+
$(i.$slots, "logo", {}, () => [
|
|
1847
1847
|
l[0] || (l[0] = M(" Logo "))
|
|
1848
1848
|
])
|
|
1849
1849
|
], 8, Wt)
|
|
1850
1850
|
]),
|
|
1851
1851
|
buttonicon: g(() => [
|
|
1852
|
-
|
|
1852
|
+
$(i.$slots, "buttonIcon", {}, () => [
|
|
1853
1853
|
h(u(I), {
|
|
1854
1854
|
icon: "bi:list",
|
|
1855
1855
|
class: F(t.severity === "light" ? "text-black" : "text-white"),
|
|
@@ -1863,7 +1863,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1863
1863
|
U(i.$slots, (n, o) => ({
|
|
1864
1864
|
name: o,
|
|
1865
1865
|
fn: g((s) => [
|
|
1866
|
-
|
|
1866
|
+
$(i.$slots, o, W(G(s)))
|
|
1867
1867
|
])
|
|
1868
1868
|
}))
|
|
1869
1869
|
]), 1040, ["pt"]));
|
|
@@ -1914,11 +1914,11 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1914
1914
|
"data-cy": "multiselect"
|
|
1915
1915
|
}), {
|
|
1916
1916
|
default: g(() => [
|
|
1917
|
-
(d(!0), v(E, null, U(l.$slots, (p, c) =>
|
|
1917
|
+
(d(!0), v(E, null, U(l.$slots, (p, c) => $(l.$slots, c, { slot: c })), 256))
|
|
1918
1918
|
]),
|
|
1919
1919
|
_: 3
|
|
1920
1920
|
}, 16, ["modelValue", "options", "placeholder"]),
|
|
1921
|
-
|
|
1921
|
+
$(l.$slots, "after-multi-select")
|
|
1922
1922
|
], 2),
|
|
1923
1923
|
m("div", {
|
|
1924
1924
|
class: F(l.orientation === "row" ? "col-12" : "col"),
|
|
@@ -1934,7 +1934,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1934
1934
|
key: p.id,
|
|
1935
1935
|
class: "p-2 item d-flex justify-content-between align-items-center"
|
|
1936
1936
|
}, [
|
|
1937
|
-
|
|
1937
|
+
$(l.$slots, "list-item", { item: p }, () => [
|
|
1938
1938
|
m("span", Jt, B(p.shortLabel ? p.shortLabel : p.label), 1)
|
|
1939
1939
|
]),
|
|
1940
1940
|
l.canRemoveItemFromPreview ? (d(), b(s, {
|
|
@@ -1976,7 +1976,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
1976
1976
|
return (a, i) => (d(), v("div", Xt, [
|
|
1977
1977
|
m("h3", Qt, B(t.title), 1),
|
|
1978
1978
|
m("div", ea, [
|
|
1979
|
-
|
|
1979
|
+
$(a.$slots, "default")
|
|
1980
1980
|
])
|
|
1981
1981
|
]));
|
|
1982
1982
|
}
|
|
@@ -2032,7 +2032,6 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2032
2032
|
readonly: { type: Boolean },
|
|
2033
2033
|
placeholder: {},
|
|
2034
2034
|
appendTo: { default: "body" },
|
|
2035
|
-
id: {},
|
|
2036
2035
|
inputId: {},
|
|
2037
2036
|
inputStyle: {},
|
|
2038
2037
|
inputClass: {},
|
|
@@ -2156,22 +2155,22 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2156
2155
|
]
|
|
2157
2156
|
})
|
|
2158
2157
|
}));
|
|
2159
|
-
return (r,
|
|
2158
|
+
return (r, k) => {
|
|
2160
2159
|
const z = De;
|
|
2161
2160
|
return d(), v(E, null, [
|
|
2162
2161
|
m("div", ta, [
|
|
2163
2162
|
m("span", aa, [
|
|
2164
|
-
|
|
2163
|
+
$(r.$slots, "before")
|
|
2165
2164
|
]),
|
|
2166
2165
|
m("div", ia, [
|
|
2167
2166
|
h(z, j({ ...t, ...r.$attrs }, {
|
|
2168
2167
|
pt: y.value,
|
|
2169
2168
|
modelValue: a.value,
|
|
2170
2169
|
"onUpdate:modelValue": [
|
|
2171
|
-
|
|
2170
|
+
k[0] || (k[0] = (D) => a.value = D),
|
|
2172
2171
|
u(n)
|
|
2173
2172
|
],
|
|
2174
|
-
onBlur:
|
|
2173
|
+
onBlur: k[1] || (k[1] = () => u(o)),
|
|
2175
2174
|
"input-class": { "datepicker-invalid": c.value }
|
|
2176
2175
|
}), null, 16, ["pt", "modelValue", "onUpdate:modelValue", "input-class"]),
|
|
2177
2176
|
J(h(u(I), {
|
|
@@ -2191,7 +2190,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2191
2190
|
])
|
|
2192
2191
|
]),
|
|
2193
2192
|
m("span", la, [
|
|
2194
|
-
|
|
2193
|
+
$(r.$slots, "after")
|
|
2195
2194
|
])
|
|
2196
2195
|
]),
|
|
2197
2196
|
J(m("small", {
|
|
@@ -2248,7 +2247,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2248
2247
|
onSubmit: X(l, ["prevent"])
|
|
2249
2248
|
}), [
|
|
2250
2249
|
n.hideTitle ? C("", !0) : (d(), v(E, { key: 0 }, [
|
|
2251
|
-
|
|
2250
|
+
$(n.$slots, "title", {}, () => [
|
|
2252
2251
|
m("h3", {
|
|
2253
2252
|
class: F(n.titleClass),
|
|
2254
2253
|
"data-cy": "form-title"
|
|
@@ -2262,7 +2261,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2262
2261
|
"data-cy": "error"
|
|
2263
2262
|
}, {
|
|
2264
2263
|
default: g(() => [
|
|
2265
|
-
|
|
2264
|
+
$(n.$slots, "error", {
|
|
2266
2265
|
error: i.value.message
|
|
2267
2266
|
}, () => [
|
|
2268
2267
|
M(B(i.value.message), 1)
|
|
@@ -2270,9 +2269,9 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2270
2269
|
]),
|
|
2271
2270
|
_: 3
|
|
2272
2271
|
})) : C("", !0),
|
|
2273
|
-
|
|
2272
|
+
$(n.$slots, "default"),
|
|
2274
2273
|
m("div", na, [
|
|
2275
|
-
|
|
2274
|
+
$(n.$slots, "cancel", {}, () => [
|
|
2276
2275
|
n.hideCancel ? C("", !0) : (d(), b(s, {
|
|
2277
2276
|
key: 0,
|
|
2278
2277
|
"data-cy": "cancel-btn",
|
|
@@ -2287,7 +2286,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2287
2286
|
_: 1
|
|
2288
2287
|
}))
|
|
2289
2288
|
]),
|
|
2290
|
-
|
|
2289
|
+
$(n.$slots, "submit", { submit: l }, () => [
|
|
2291
2290
|
h(s, {
|
|
2292
2291
|
"data-cy": "submit-btn",
|
|
2293
2292
|
type: "submit",
|
|
@@ -2336,10 +2335,10 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2336
2335
|
}, { errors: l, value: n, errorMessage: o, handleChange: s, handleBlur: p } = oe(() => a.name, void 0, {
|
|
2337
2336
|
initialValue: t.value
|
|
2338
2337
|
}), c = T(() => l.value.length > 0);
|
|
2339
|
-
return
|
|
2338
|
+
return te(() => n.value, (y) => {
|
|
2340
2339
|
t.value = y;
|
|
2341
2340
|
}, { immediate: !0 }), (y, r) => {
|
|
2342
|
-
const
|
|
2341
|
+
const k = Ne, z = Oe, D = se, O = ie, A = re, x = xe;
|
|
2343
2342
|
return a.type === "checkbox" ? (d(), b(ye, j({
|
|
2344
2343
|
key: 0,
|
|
2345
2344
|
id: a.name,
|
|
@@ -2360,7 +2359,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2360
2359
|
M(B(a.fieldLabel) + " ", 1),
|
|
2361
2360
|
y.required ? (d(), v("span", ra, "*")) : C("", !0)
|
|
2362
2361
|
], 10, sa),
|
|
2363
|
-
|
|
2362
|
+
$(y.$slots, "default", W(G({ modelValue: t.value, updateModel: u(s), hasErrors: c.value })), () => [
|
|
2364
2363
|
a.type === "number" ? (d(), b(u(fe), j({
|
|
2365
2364
|
key: 0,
|
|
2366
2365
|
id: a.name
|
|
@@ -2371,7 +2370,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2371
2370
|
onInput: i,
|
|
2372
2371
|
modelValue: t.value,
|
|
2373
2372
|
"onUpdate:modelValue": r[1] || (r[1] = (w) => t.value = w)
|
|
2374
|
-
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), b(
|
|
2373
|
+
}), null, 16, ["id", "placeholder", "input-class", "class", "modelValue"])) : a.type === "textarea" ? (d(), b(k, j({
|
|
2375
2374
|
key: 1,
|
|
2376
2375
|
id: a.name
|
|
2377
2376
|
}, y.$attrs, {
|
|
@@ -2468,7 +2467,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2468
2467
|
const n = Ae;
|
|
2469
2468
|
return d(), b(n, j({ ...i.$attrs, ...i.$props }, { pt: a.value }), {
|
|
2470
2469
|
default: g(() => [
|
|
2471
|
-
(d(!0), v(E, null, U(i.$slots, (o, s) =>
|
|
2470
|
+
(d(!0), v(E, null, U(i.$slots, (o, s) => $(i.$slots, s, { slot: s })), 256))
|
|
2472
2471
|
]),
|
|
2473
2472
|
_: 3
|
|
2474
2473
|
}, 16, ["pt"]);
|
|
@@ -2523,7 +2522,7 @@ const Ot = { key: 0 }, Nt = {
|
|
|
2523
2522
|
const p = Ee;
|
|
2524
2523
|
return d(), b(p, j({ ...o.$attrs, ...t }, { pt: n.value }), {
|
|
2525
2524
|
default: g(() => [
|
|
2526
|
-
|
|
2525
|
+
$(o.$slots, "default")
|
|
2527
2526
|
]),
|
|
2528
2527
|
_: 3
|
|
2529
2528
|
}, 16, ["pt"]);
|
|
@@ -2846,8 +2845,8 @@ var da = /* @__PURE__ */ S({
|
|
|
2846
2845
|
var p = t.split(o).filter((O) => O.length > 0);
|
|
2847
2846
|
for (let O = 0; O < p.length; O++) {
|
|
2848
2847
|
for (var c = p[O].split(s).filter((A) => A.length > 0), y = "", r = 0; r < c.length; r++) {
|
|
2849
|
-
var
|
|
2850
|
-
D > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), y = c[r] + " ", i += n) : y =
|
|
2848
|
+
var k = y + c[r] + " ", z = e.measureText(k), D = z.width;
|
|
2849
|
+
D > l && r > 0 ? (this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), y = c[r] + " ", i += n) : y = k;
|
|
2851
2850
|
}
|
|
2852
2851
|
this.watermark && this.watermark.fontStyle && this.watermark.fontStyle.drawType && this.watermark.fontStyle.drawType === "stroke" ? e.strokeText(y, a, i) : e.fillText(y, a, i), i += c.length > 0 ? n : 0;
|
|
2853
2852
|
}
|
|
@@ -2876,8 +2875,8 @@ var da = /* @__PURE__ */ S({
|
|
|
2876
2875
|
} else if (a.type === "Text") {
|
|
2877
2876
|
let i = a.fontStyle && a.fontStyle.font ? a.fontStyle.font : "20px serif", l = a.fontStyle && a.fontStyle.textAlign ? a.fontStyle.textAlign : "start", n = a.fontStyle && a.fontStyle.textBaseline ? a.fontStyle.textBaseline : "alphabetic", o = a.fontStyle && a.fontStyle.color ? a.fontStyle.color : "#000000";
|
|
2878
2877
|
if (t.font = i, t.textAlign = l, t.textBaseline = n, a.fontStyle && a.fontStyle.rotate) {
|
|
2879
|
-
let r,
|
|
2880
|
-
a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ?
|
|
2878
|
+
let r, k;
|
|
2879
|
+
a.fontStyle && a.fontStyle.width ? r = a.x + Math.floor(a.fontStyle.width / 2) : r = a.x, a.fontStyle && a.fontStyle.lineHeight ? k = a.y + Math.floor(a.fontStyle.lineHeight / 2) : k = a.y, t.translate(r, k), t.rotate(a.fontStyle.rotate * Math.PI / 180), t.translate(r * -1, k * -1);
|
|
2881
2880
|
}
|
|
2882
2881
|
a.fontStyle && a.fontStyle.drawType && a.fontStyle.drawType === "stroke" ? (t.strokeStyle = a.fontStyle.color, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.strokeText(a.source, a.x, a.y)) : (t.fillStyle = o, a.fontStyle && a.fontStyle.width ? this.wrapText(t, a.source, a.x, a.y, a.fontStyle.width, a.fontStyle.lineHeight) : t.fillText(a.source, a.x, a.y));
|
|
2883
2882
|
let s = document.createElement("canvas"), p = s.getContext("2d"), c = this.outputWidth === void 0 ? this.width : this.outputWidth, y = this.outputHeight === void 0 ? this.height : this.outputHeight;
|
|
@@ -2943,7 +2942,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2943
2942
|
i("save", l.value.isEmpty());
|
|
2944
2943
|
};
|
|
2945
2944
|
return (y, r) => {
|
|
2946
|
-
const
|
|
2945
|
+
const k = q;
|
|
2947
2946
|
return d(), v("div", pa, [
|
|
2948
2947
|
h(u(da), j({
|
|
2949
2948
|
ref_key: "drawingCanvas",
|
|
@@ -2959,7 +2958,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2959
2958
|
"line-join": y.lineJoin
|
|
2960
2959
|
}), null, 16, ["image", "height", "width", "style", "line-join"]),
|
|
2961
2960
|
m("div", ca, [
|
|
2962
|
-
a.showUndo ? (d(), b(
|
|
2961
|
+
a.showUndo ? (d(), b(k, {
|
|
2963
2962
|
key: 0,
|
|
2964
2963
|
onClick: p,
|
|
2965
2964
|
outlined: "",
|
|
@@ -2970,7 +2969,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2970
2969
|
])),
|
|
2971
2970
|
_: 1
|
|
2972
2971
|
})) : C("", !0),
|
|
2973
|
-
a.showRedo ? (d(), b(
|
|
2972
|
+
a.showRedo ? (d(), b(k, {
|
|
2974
2973
|
key: 1,
|
|
2975
2974
|
onClick: s,
|
|
2976
2975
|
outlined: "",
|
|
@@ -2981,7 +2980,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2981
2980
|
])),
|
|
2982
2981
|
_: 1
|
|
2983
2982
|
})) : C("", !0),
|
|
2984
|
-
a.showClear ? (d(), b(
|
|
2983
|
+
a.showClear ? (d(), b(k, {
|
|
2985
2984
|
key: 2,
|
|
2986
2985
|
onClick: o,
|
|
2987
2986
|
outlined: "",
|
|
@@ -2992,7 +2991,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
2992
2991
|
])),
|
|
2993
2992
|
_: 1
|
|
2994
2993
|
})) : C("", !0),
|
|
2995
|
-
a.showSave ? (d(), b(
|
|
2994
|
+
a.showSave ? (d(), b(k, {
|
|
2996
2995
|
key: 3,
|
|
2997
2996
|
onClick: c,
|
|
2998
2997
|
class: "ms-auto",
|
|
@@ -3019,7 +3018,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3019
3018
|
class: `d-flex shadow m-2 align-items-center widget--${t.size} bg-${t.severity}`
|
|
3020
3019
|
}), [
|
|
3021
3020
|
m("span", ua, [
|
|
3022
|
-
|
|
3021
|
+
$(a.$slots, "default")
|
|
3023
3022
|
])
|
|
3024
3023
|
], 16));
|
|
3025
3024
|
}
|
|
@@ -3095,7 +3094,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3095
3094
|
value: n.value
|
|
3096
3095
|
}, {
|
|
3097
3096
|
default: g(() => [
|
|
3098
|
-
|
|
3097
|
+
$(i.$slots, "step" + n.value)
|
|
3099
3098
|
]),
|
|
3100
3099
|
_: 2
|
|
3101
3100
|
}, 1032, ["value"]))), 128))
|
|
@@ -3127,7 +3126,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3127
3126
|
}, {
|
|
3128
3127
|
default: g(() => [
|
|
3129
3128
|
m("div", va, [
|
|
3130
|
-
|
|
3129
|
+
$(l.$slots, "default", {}, () => [
|
|
3131
3130
|
n[0] || (n[0] = M("Tile Content"))
|
|
3132
3131
|
])
|
|
3133
3132
|
])
|
|
@@ -3139,7 +3138,7 @@ const pa = { class: "d-flex flex-column" }, ca = { class: "d-flex flex-row mt-1
|
|
|
3139
3138
|
"data-cy": "tile"
|
|
3140
3139
|
}, [
|
|
3141
3140
|
m("div", fa, [
|
|
3142
|
-
|
|
3141
|
+
$(l.$slots, "default", {}, () => [
|
|
3143
3142
|
n[1] || (n[1] = M("Tile Content"))
|
|
3144
3143
|
])
|
|
3145
3144
|
])
|
|
@@ -3174,7 +3173,7 @@ const ga = {
|
|
|
3174
3173
|
return (o, s) => (d(), v("div", ga, [
|
|
3175
3174
|
s[2] || (s[2] = M(" Number of results per page ")),
|
|
3176
3175
|
m("div", ba, [
|
|
3177
|
-
h(u(
|
|
3176
|
+
h(u(ie), {
|
|
3178
3177
|
options: i.pageSizes,
|
|
3179
3178
|
"model-value": i.perPage,
|
|
3180
3179
|
class: "page-size",
|
|
@@ -3316,7 +3315,7 @@ const ga = {
|
|
|
3316
3315
|
for (const x in i.filters)
|
|
3317
3316
|
typeof i.filters[x] == "string" ? i.filters[x] = "" : i.filters[x].value = null;
|
|
3318
3317
|
D(i.filters);
|
|
3319
|
-
},
|
|
3318
|
+
}, k = () => {
|
|
3320
3319
|
l.value.exportCSV();
|
|
3321
3320
|
}, z = (x) => {
|
|
3322
3321
|
var w;
|
|
@@ -3328,11 +3327,11 @@ const ga = {
|
|
|
3328
3327
|
}, A = () => {
|
|
3329
3328
|
s.value.perPage = o.value, a("update:tableContext", s.value);
|
|
3330
3329
|
};
|
|
3331
|
-
return
|
|
3330
|
+
return te(() => i.filters, (x) => {
|
|
3332
3331
|
s.value.filters = x, a("update:tableContext", s.value);
|
|
3333
3332
|
}, { deep: !0 }), ne(() => a("update:tableContext", s.value)), (x, w) => (d(), v("div", ha, [
|
|
3334
3333
|
m("span", wa, [
|
|
3335
|
-
|
|
3334
|
+
$(x.$slots, "above-table")
|
|
3336
3335
|
]),
|
|
3337
3336
|
h(u(We), j({
|
|
3338
3337
|
class: ["w-100", `${i.severity ? `forge-table-${i.severity}` : ""}`]
|
|
@@ -3348,7 +3347,7 @@ const ga = {
|
|
|
3348
3347
|
onSort: z,
|
|
3349
3348
|
onPage: O,
|
|
3350
3349
|
showHeaders: ""
|
|
3351
|
-
}),
|
|
3350
|
+
}), ae({
|
|
3352
3351
|
empty: g(() => [
|
|
3353
3352
|
m("div", ka, [
|
|
3354
3353
|
m("h5", $a, B(x.emptyMessage ?? "No items Found."), 1)
|
|
@@ -3393,7 +3392,7 @@ const ga = {
|
|
|
3393
3392
|
x.showExporterButton ? (d(), b(u(q), {
|
|
3394
3393
|
key: 1,
|
|
3395
3394
|
outlined: "",
|
|
3396
|
-
onClick:
|
|
3395
|
+
onClick: k,
|
|
3397
3396
|
"data-cy": "exporter"
|
|
3398
3397
|
}, {
|
|
3399
3398
|
default: g(() => [
|
|
@@ -3406,20 +3405,20 @@ const ga = {
|
|
|
3406
3405
|
]),
|
|
3407
3406
|
_: 1
|
|
3408
3407
|
})) : C("", !0),
|
|
3409
|
-
|
|
3408
|
+
$(x.$slots, "column-customiser")
|
|
3410
3409
|
])
|
|
3411
3410
|
])
|
|
3412
3411
|
], 2)
|
|
3413
3412
|
]),
|
|
3414
3413
|
default: g(() => [
|
|
3415
|
-
|
|
3414
|
+
$(x.$slots, "default")
|
|
3416
3415
|
]),
|
|
3417
3416
|
_: 2
|
|
3418
3417
|
}, [
|
|
3419
3418
|
U(x.$slots, (_, f) => ({
|
|
3420
3419
|
name: f,
|
|
3421
3420
|
fn: g((V) => [
|
|
3422
|
-
|
|
3421
|
+
$(x.$slots, f, W(G(V || {})))
|
|
3423
3422
|
])
|
|
3424
3423
|
})),
|
|
3425
3424
|
x.legacyPaginationFooter ? {
|
|
@@ -3430,7 +3429,7 @@ const ga = {
|
|
|
3430
3429
|
"data-cy": "legacy-page-size"
|
|
3431
3430
|
}, [
|
|
3432
3431
|
w[4] || (w[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
|
|
3433
|
-
h(u(
|
|
3432
|
+
h(u(ie), {
|
|
3434
3433
|
options: n.value,
|
|
3435
3434
|
modelValue: o.value,
|
|
3436
3435
|
"onUpdate:modelValue": w[1] || (w[1] = (_) => o.value = _),
|
|
@@ -3560,10 +3559,10 @@ const ga = {
|
|
|
3560
3559
|
}
|
|
3561
3560
|
]
|
|
3562
3561
|
}));
|
|
3563
|
-
|
|
3564
|
-
f ?
|
|
3562
|
+
te(() => a.parentExpanderFullRow, (f) => {
|
|
3563
|
+
f ? k() : z();
|
|
3565
3564
|
});
|
|
3566
|
-
const
|
|
3565
|
+
const k = () => {
|
|
3567
3566
|
a.parentExpanderFullRow && setTimeout(
|
|
3568
3567
|
() => {
|
|
3569
3568
|
const f = Array.from(
|
|
@@ -3604,25 +3603,27 @@ const ga = {
|
|
|
3604
3603
|
A(a.filters);
|
|
3605
3604
|
}, O = (f) => {
|
|
3606
3605
|
var V;
|
|
3607
|
-
p.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = f.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", f),
|
|
3606
|
+
p.value.sortDirection = f.sortOrder === 1 ? "Asc" : f.sortOrder === -1 ? "Desc" : "None", p.value.sortField = ((V = f.sortField) == null ? void 0 : V.toString()) ?? "", i("update:tableContext", p.value), i("sort", f), k();
|
|
3608
3607
|
}, A = (f) => {
|
|
3609
|
-
p.value.filters = f, i("update:tableContext", p.value), i("update:filters", f),
|
|
3608
|
+
p.value.filters = f, i("update:tableContext", p.value), i("update:filters", f), k();
|
|
3610
3609
|
}, x = (f) => {
|
|
3611
|
-
p.value.page = s.value = f.page, _(), i("update:tableContext", p.value), i("page", f),
|
|
3610
|
+
p.value.page = s.value = f.page, _(), i("update:tableContext", p.value), i("page", f), k();
|
|
3612
3611
|
}, w = () => {
|
|
3613
|
-
p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), _(), i("update:tableContext", p.value),
|
|
3612
|
+
p.value.perPage = n.value, s.value = 0, p.value.page = s.value = Math.floor(o.value / n.value), _(), i("update:tableContext", p.value), k();
|
|
3614
3613
|
};
|
|
3615
|
-
|
|
3614
|
+
te(() => a.filters, (f) => {
|
|
3616
3615
|
p.value.filters = f, i("update:tableContext", p.value);
|
|
3617
|
-
}, { deep: !0 }),
|
|
3618
|
-
|
|
3616
|
+
}, { deep: !0 }), te(() => a.value, () => {
|
|
3617
|
+
k();
|
|
3618
|
+
}), ne(() => {
|
|
3619
|
+
k(), i("update:tableContext", p.value);
|
|
3619
3620
|
});
|
|
3620
3621
|
const _ = () => {
|
|
3621
3622
|
o.value = s.value * n.value;
|
|
3622
3623
|
};
|
|
3623
3624
|
return (f, V) => (d(), v("div", za, [
|
|
3624
3625
|
m("span", Ta, [
|
|
3625
|
-
|
|
3626
|
+
$(f.$slots, "above-table")
|
|
3626
3627
|
]),
|
|
3627
3628
|
h(u(Ge), j({
|
|
3628
3629
|
class: ["w-100", `${a.severity ? `forge-table-${a.severity}` : ""}`]
|
|
@@ -3634,10 +3635,10 @@ const ga = {
|
|
|
3634
3635
|
"onUpdate:filters": A,
|
|
3635
3636
|
onSort: O,
|
|
3636
3637
|
onPage: x,
|
|
3637
|
-
onNodeExpand: V[2] || (V[2] = () =>
|
|
3638
|
+
onNodeExpand: V[2] || (V[2] = () => k()),
|
|
3638
3639
|
showHeaders: "",
|
|
3639
3640
|
first: o.value
|
|
3640
|
-
}),
|
|
3641
|
+
}), ae({
|
|
3641
3642
|
header: g(() => [
|
|
3642
3643
|
m("div", {
|
|
3643
3644
|
class: F(a.loading ? "opacity-50" : "")
|
|
@@ -3673,20 +3674,20 @@ const ga = {
|
|
|
3673
3674
|
]),
|
|
3674
3675
|
_: 1
|
|
3675
3676
|
})) : C("", !0),
|
|
3676
|
-
|
|
3677
|
+
$(f.$slots, "column-customiser")
|
|
3677
3678
|
])
|
|
3678
3679
|
])
|
|
3679
3680
|
], 2)
|
|
3680
3681
|
]),
|
|
3681
3682
|
default: g(() => [
|
|
3682
|
-
|
|
3683
|
+
$(f.$slots, "default")
|
|
3683
3684
|
]),
|
|
3684
3685
|
_: 2
|
|
3685
3686
|
}, [
|
|
3686
3687
|
U(f.$slots, (L, ve) => ({
|
|
3687
3688
|
name: ve,
|
|
3688
3689
|
fn: g(($e) => [
|
|
3689
|
-
|
|
3690
|
+
$(f.$slots, ve, W(G($e || {})))
|
|
3690
3691
|
])
|
|
3691
3692
|
})),
|
|
3692
3693
|
f.legacyPaginationFooter ? {
|
|
@@ -3697,7 +3698,7 @@ const ga = {
|
|
|
3697
3698
|
"data-cy": "legacy-page-size"
|
|
3698
3699
|
}, [
|
|
3699
3700
|
V[4] || (V[4] = m("span", { class: "me-2 my-auto text-nowrap" }, "Page Size:", -1)),
|
|
3700
|
-
h(u(
|
|
3701
|
+
h(u(ie), {
|
|
3701
3702
|
options: l.value,
|
|
3702
3703
|
modelValue: n.value,
|
|
3703
3704
|
"onUpdate:modelValue": V[1] || (V[1] = (L) => n.value = L),
|
|
@@ -3765,7 +3766,7 @@ const ga = {
|
|
|
3765
3766
|
}, l.$attrs, {
|
|
3766
3767
|
"show-icon": !1,
|
|
3767
3768
|
"show-on-focus": !0
|
|
3768
|
-
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(u(
|
|
3769
|
+
}), null, 16, ["modelValue"])) : l.dataType === "select" ? (d(), b(u(ie), j({
|
|
3769
3770
|
key: 2,
|
|
3770
3771
|
modelValue: t.value,
|
|
3771
3772
|
"onUpdate:modelValue": n[2] || (n[2] = (p) => t.value = p)
|
|
@@ -5010,7 +5011,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5010
5011
|
return (o, s) => {
|
|
5011
5012
|
const p = q;
|
|
5012
5013
|
return d(), v("div", Ua, [
|
|
5013
|
-
|
|
5014
|
+
$(o.$slots, "message"),
|
|
5014
5015
|
m("div", null, [
|
|
5015
5016
|
m("input", {
|
|
5016
5017
|
id: "file-input",
|
|
@@ -5026,7 +5027,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5026
5027
|
id: "file-input-button",
|
|
5027
5028
|
for: "file-input"
|
|
5028
5029
|
}, [
|
|
5029
|
-
|
|
5030
|
+
$(o.$slots, "button-content", {}, () => [
|
|
5030
5031
|
h(u(I), {
|
|
5031
5032
|
icon: "bi:upload",
|
|
5032
5033
|
class: "me-2",
|
|
@@ -5099,7 +5100,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5099
5100
|
}),
|
|
5100
5101
|
o[2] || (o[2] = M(" Drag and drop files here "))
|
|
5101
5102
|
])) : (d(), v("div", Wa, [
|
|
5102
|
-
|
|
5103
|
+
$(n.$slots, "default")
|
|
5103
5104
|
]))
|
|
5104
5105
|
], 34));
|
|
5105
5106
|
}
|
|
@@ -5174,10 +5175,10 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5174
5175
|
}),
|
|
5175
5176
|
emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
5176
5177
|
setup(e, { emit: t }) {
|
|
5177
|
-
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = P(a.value.name), s = P(""), p = P(0), c = P(), y = T(() => e.acceptedFileTypes.some(({ fileType: x }) => x === a.value.type)), r = T(() => a.value.size <= e.maxFileSize),
|
|
5178
|
+
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), n = t, o = P(a.value.name), s = P(""), p = P(0), c = P(), y = T(() => e.acceptedFileTypes.some(({ fileType: x }) => x === a.value.type)), r = T(() => a.value.size <= e.maxFileSize), k = T(() => a.value.type ? a.value.type : Ea().getType(a.value.name)), z = () => {
|
|
5178
5179
|
o.value != null && (D(), a.value = new File([a.value], o.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
|
|
5179
5180
|
}, D = () => {
|
|
5180
|
-
let x = o.value.split("."), w = Da.getExtension(
|
|
5181
|
+
let x = o.value.split("."), w = Da.getExtension(k.value), _ = o.value.split(".").pop();
|
|
5181
5182
|
x.length === 1 ? _ && _.length > 0 && (o.value = [o.value, w].join(".")) : x.length > 1 && _ !== w && (o.value = o.value.replace(_, w));
|
|
5182
5183
|
}, O = async () => {
|
|
5183
5184
|
if (!y.value || !r.value) {
|
|
@@ -5196,7 +5197,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5196
5197
|
abortSignal: c.value.signal,
|
|
5197
5198
|
onProgress: (V) => p.value = V.loadedBytes,
|
|
5198
5199
|
blobHTTPHeaders: {
|
|
5199
|
-
blobContentType:
|
|
5200
|
+
blobContentType: k.value,
|
|
5200
5201
|
blobContentDisposition: `attachment; filename="${a.value.name}"`
|
|
5201
5202
|
},
|
|
5202
5203
|
tags: { temp: "true" }
|
|
@@ -5433,7 +5434,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5433
5434
|
setup(e) {
|
|
5434
5435
|
return (t, a) => {
|
|
5435
5436
|
const i = Je;
|
|
5436
|
-
return d(), b(i, W(G({ ...t.$attrs })),
|
|
5437
|
+
return d(), b(i, W(G({ ...t.$attrs })), ae({
|
|
5437
5438
|
toggleicon: g(({ collapsed: l }) => [
|
|
5438
5439
|
l ? (d(), b(u(I), {
|
|
5439
5440
|
key: 0,
|
|
@@ -5451,7 +5452,7 @@ const Ua = { class: "d-flex justify-content-between" }, qa = ["accept", "disable
|
|
|
5451
5452
|
U(t.$slots, (l, n) => ({
|
|
5452
5453
|
name: n,
|
|
5453
5454
|
fn: g((o) => [
|
|
5454
|
-
|
|
5455
|
+
$(t.$slots, n, W(G(o)))
|
|
5455
5456
|
])
|
|
5456
5457
|
}))
|
|
5457
5458
|
]), 1040);
|
|
@@ -23,12 +23,12 @@ 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
|
-
view: "date" | "month" | "year"
|
|
26
|
+
view: import('@primevue/core').HintedString<"date" | "month" | "year">;
|
|
27
27
|
severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "success-alternate" | "warning" | "success-dark";
|
|
28
28
|
baseZIndex: number;
|
|
29
29
|
autoZIndex: boolean;
|
|
30
30
|
appendTo: HTMLElement | import('@primevue/core').HintedString<"body" | "self">;
|
|
31
|
-
selectionMode: "multiple" | "single" | "range"
|
|
31
|
+
selectionMode: import('@primevue/core').HintedString<"multiple" | "single" | "range">;
|
|
32
32
|
dateFormat: string;
|
|
33
33
|
showOtherMonths: boolean;
|
|
34
34
|
showIcon: boolean;
|
|
@@ -15,9 +15,9 @@ declare function __VLS_template(): {
|
|
|
15
15
|
slots: any;
|
|
16
16
|
refs: {
|
|
17
17
|
forgeTable: ({
|
|
18
|
-
$props: DataTableProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
19
|
-
$slots: DataTableSlots
|
|
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);
|
|
18
|
+
$props: DataTableProps<any> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
19
|
+
$slots: DataTableSlots<any>;
|
|
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<any>) => 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<any>) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent<any>) => 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<any>) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent<any>) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent<any>) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent<any>) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent<any>) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent<any>) => 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;
|
|
@@ -42,9 +42,9 @@ declare const __VLS_component: import('vue').DefineComponent<ForgeTableProps, {}
|
|
|
42
42
|
alwaysShowPaginator: boolean;
|
|
43
43
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
44
44
|
forgeTable: ({
|
|
45
|
-
$props: DataTableProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
46
|
-
$slots: DataTableSlots
|
|
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);
|
|
45
|
+
$props: DataTableProps<any> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
46
|
+
$slots: DataTableSlots<any>;
|
|
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<any>) => 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<any>) => void) & ((e: "row-select-all", event: import('primevue/datatable').DataTableRowSelectAllEvent<any>) => 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<any>) => void) & ((e: "row-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "rowgroup-expand", event: import('primevue/datatable').DataTableRowExpandEvent<any>) => void) & ((e: "rowgroup-collapse", event: import('primevue/datatable').DataTableRowCollapseEvent) => void) & ((e: "cell-edit-init", event: import('primevue/datatable').DataTableCellEditInitEvent<any>) => void) & ((e: "cell-edit-complete", event: import('primevue/datatable').DataTableCellEditCompleteEvent<any>) => void) & ((e: "cell-edit-cancel", event: import('primevue/datatable').DataTableCellEditCancelEvent) => void) & ((e: "row-edit-init", event: import('primevue/datatable').DataTableRowEditInitEvent<any>) => void) & ((e: "row-edit-save", event: import('primevue/datatable').DataTableRowEditSaveEvent<any>) => void) & ((e: "row-edit-cancel", event: import('primevue/datatable').DataTableRowEditCancelEvent<any>) => 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.14.
|
|
5
|
+
"version": "2.14.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@azure/abort-controller": "^2.0.0",
|
|
37
|
-
"@azure/storage-blob": "
|
|
38
|
-
"@iconify/vue": "
|
|
39
|
-
"@popperjs/core": "
|
|
37
|
+
"@azure/storage-blob": "12.26.0",
|
|
38
|
+
"@iconify/vue": "4.3.0",
|
|
39
|
+
"@popperjs/core": "2.11.8",
|
|
40
40
|
"@vueuse/components": "^13.0.0",
|
|
41
41
|
"bootstrap": "^5.3.3",
|
|
42
|
-
"lodash-es": "
|
|
42
|
+
"lodash-es": "4.17.21",
|
|
43
43
|
"mime": "^4.0.4",
|
|
44
|
-
"primevue": "^4.2
|
|
45
|
-
"vee-validate": "
|
|
44
|
+
"primevue": "^4.3.2",
|
|
45
|
+
"vee-validate": "4.15.0",
|
|
46
46
|
"vue": "^3.5.13",
|
|
47
|
-
"yup": "
|
|
47
|
+
"yup": "1.6.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@cypress/code-coverage": "3.13.12",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"@vitejs/plugin-vue": "5.2.1",
|
|
53
53
|
"@vitest/coverage-v8": "3.0.8",
|
|
54
54
|
"@vitest/ui": "3.0.8",
|
|
55
|
-
"cypress": "14.
|
|
55
|
+
"cypress": "14.2.0",
|
|
56
56
|
"cypress-real-events": "1.14.0",
|
|
57
57
|
"rollup-plugin-visualizer": "5.14.0",
|
|
58
58
|
"sass": "1.85.1",
|
|
59
59
|
"typescript": "5.8.2",
|
|
60
60
|
"unplugin-vue-components": "28.4.1",
|
|
61
|
-
"vite": "6.2.
|
|
61
|
+
"vite": "6.2.2",
|
|
62
62
|
"vite-bundle-visualizer": "1.2.1",
|
|
63
63
|
"vite-plugin-dts": "4.5.3",
|
|
64
64
|
"vite-plugin-istanbul": "7.0.0",
|