@3squared/forge-ui-3 2.27.0 → 2.27.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 +9 -9
- package/package.json +10 -10
package/dist/esm/forge-ui-3.js
CHANGED
|
@@ -1783,12 +1783,12 @@ const _t = {
|
|
|
1783
1783
|
]),
|
|
1784
1784
|
_: 1
|
|
1785
1785
|
})
|
|
1786
|
-
])) : T("", !0)
|
|
1786
|
+
])) : T("", !0),
|
|
1787
|
+
o.value ? C(b.$slots, "loader", { key: 1 }, () => [
|
|
1788
|
+
h(me, { "data-cy": "loader" })
|
|
1789
|
+
]) : T("", !0)
|
|
1787
1790
|
], 64)) : T("", !0),
|
|
1788
|
-
C(b.$slots, k, G(Y(A || {})))
|
|
1789
|
-
o.value ? C(b.$slots, "loader", { key: 1 }, () => [
|
|
1790
|
-
h(me, { "data-cy": "loader" })
|
|
1791
|
-
]) : T("", !0)
|
|
1791
|
+
C(b.$slots, k, G(Y(A || {})))
|
|
1792
1792
|
])
|
|
1793
1793
|
})),
|
|
1794
1794
|
e.showFooter ? {
|
|
@@ -5398,8 +5398,8 @@ const Xa = { class: "d-flex justify-content-between" }, Qa = ["accept", "disable
|
|
|
5398
5398
|
}),
|
|
5399
5399
|
emits: /* @__PURE__ */ R(["deleted"], ["update:file", "update:blobFileName", "update:uploadStatus"]),
|
|
5400
5400
|
setup(e, { emit: t }) {
|
|
5401
|
-
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), o = t, n = I(a.value.name), s = I(""), c = I(0), u = I(), w = M(() => e.acceptedFileTypes.some(({ fileType: k }) => k ===
|
|
5402
|
-
n.value != null && (S(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
|
|
5401
|
+
const a = N(e, "file"), i = N(e, "blobFileName"), l = N(e, "uploadStatus"), o = t, n = I(a.value.name), s = I(""), c = I(0), u = I(), w = M(() => e.acceptedFileTypes.some(({ fileType: k }) => k === x.value)), r = M(() => a.value.size <= e.maxFileSize), x = M(() => a.value.type ? a.value.type : $e().getType(a.value.name)), b = () => {
|
|
5402
|
+
n.value != null && n.value != "" && (S(), a.value = new File([a.value], n.value, { type: a.value.type, lastModified: (/* @__PURE__ */ new Date()).valueOf() }));
|
|
5403
5403
|
}, S = () => {
|
|
5404
5404
|
let k = n.value.split("."), A = Ga.getExtension(x.value), f = n.value.split(".").pop();
|
|
5405
5405
|
k.length === 1 ? f && f.length > 0 && (n.value = [n.value, A].join(".")) : k.length > 1 && f !== A && (n.value = n.value.replace(f, A));
|
|
@@ -5489,7 +5489,7 @@ const Xa = { class: "d-flex justify-content-between" }, Qa = ["accept", "disable
|
|
|
5489
5489
|
"complete-action": b
|
|
5490
5490
|
}, null, 8, ["modelValue", "rules", "name"])) : (d(), g("span", di, B(n.value), 1))
|
|
5491
5491
|
]),
|
|
5492
|
-
m("span", ci, "File type: " + B(
|
|
5492
|
+
m("span", ci, "File type: " + B((x.value ?? "").split("/").pop()), 1),
|
|
5493
5493
|
m("span", pi, "File size: " + B(p(ge)(a.value.size)), 1)
|
|
5494
5494
|
]),
|
|
5495
5495
|
m("div", ui, [
|
|
@@ -5578,7 +5578,7 @@ const Xa = { class: "d-flex justify-content-between" }, Qa = ["accept", "disable
|
|
|
5578
5578
|
t.value.length == e.maxFileInput && a.maxFileWarning != null ? (d(), y(de, {
|
|
5579
5579
|
key: 0,
|
|
5580
5580
|
id: "max-files-alert",
|
|
5581
|
-
severity: "
|
|
5581
|
+
severity: "warn"
|
|
5582
5582
|
}, {
|
|
5583
5583
|
default: v(() => [
|
|
5584
5584
|
O(B(e.maxFileWarning), 1)
|
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.27.
|
|
5
|
+
"version": "2.27.2",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@azure/abort-controller": "^2.0.0",
|
|
37
|
-
"@azure/storage-blob": "12.
|
|
37
|
+
"@azure/storage-blob": "12.29.1",
|
|
38
38
|
"@iconify/vue": "5.0.0",
|
|
39
39
|
"@popperjs/core": "2.11.8",
|
|
40
40
|
"@vueuse/components": "^13.4.0",
|
|
@@ -49,24 +49,24 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@cypress/code-coverage": "3.14.7",
|
|
51
51
|
"@primevue/auto-import-resolver": "4.4.1",
|
|
52
|
-
"@vitejs/plugin-vue": "6.0.
|
|
52
|
+
"@vitejs/plugin-vue": "6.0.2",
|
|
53
53
|
"@vitest/coverage-v8": "3.2.4",
|
|
54
54
|
"@vitest/ui": "3.2.4",
|
|
55
|
-
"cypress": "
|
|
55
|
+
"cypress": "15.7.0",
|
|
56
56
|
"cypress-real-events": "1.15.0",
|
|
57
|
-
"rollup-plugin-visualizer": "6.0.
|
|
58
|
-
"sass": "1.
|
|
57
|
+
"rollup-plugin-visualizer": "6.0.5",
|
|
58
|
+
"sass": "1.94.2",
|
|
59
59
|
"typescript": "5.9.3",
|
|
60
|
-
"unplugin-vue-components": "
|
|
61
|
-
"vite": "6.
|
|
60
|
+
"unplugin-vue-components": "30.0.0",
|
|
61
|
+
"vite": "6.4.1",
|
|
62
62
|
"vite-bundle-visualizer": "1.2.1",
|
|
63
63
|
"vite-plugin-dts": "4.5.4",
|
|
64
|
-
"vite-plugin-istanbul": "7.2.
|
|
64
|
+
"vite-plugin-istanbul": "7.2.1",
|
|
65
65
|
"vitest": "3.2.4",
|
|
66
66
|
"vue-drawing-canvas": "1.0.14"
|
|
67
67
|
},
|
|
68
68
|
"optionalDependencies": {
|
|
69
|
-
"@rollup/rollup-linux-x64-gnu": "4.
|
|
69
|
+
"@rollup/rollup-linux-x64-gnu": "4.53.3"
|
|
70
70
|
},
|
|
71
71
|
"nyc": {
|
|
72
72
|
"all": true,
|