@solfacil/girassol 0.52.0 → 0.53.0
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/girassol.es.js +6 -3
- package/dist/girassol.umd.js +1 -1
- package/dist/types/components/file-upload/Download.vue.d.ts +2 -0
- package/dist/types/components/file-upload/FileUpload.vue.d.ts +2 -0
- package/dist/types/components/file-upload/types.d.ts +1 -0
- package/dist/types/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/girassol.es.js
CHANGED
|
@@ -15958,7 +15958,8 @@ const yw = { name: "material-symbols-delete-outline-rounded", render: mw }, vw =
|
|
|
15958
15958
|
id: null,
|
|
15959
15959
|
downloadSrc: null,
|
|
15960
15960
|
downloadMenu: null,
|
|
15961
|
-
fileIcon: null
|
|
15961
|
+
fileIcon: null,
|
|
15962
|
+
fileName: null
|
|
15962
15963
|
},
|
|
15963
15964
|
emits: ["menu:preview", "menu:download", "menu:delete"],
|
|
15964
15965
|
setup(e, { emit: t }) {
|
|
@@ -15975,7 +15976,7 @@ const yw = { name: "material-symbols-delete-outline-rounded", render: mw }, vw =
|
|
|
15975
15976
|
}), r = j(() => n.fileIcon(a.value.fileExtension));
|
|
15976
15977
|
function o() {
|
|
15977
15978
|
var u;
|
|
15978
|
-
return (u = n.downloadSrc) == null ? void 0 : u.split("/").at(-1);
|
|
15979
|
+
return n.fileName ? n.fileName : (u = n.downloadSrc) == null ? void 0 : u.split("/").at(-1);
|
|
15979
15980
|
}
|
|
15980
15981
|
function l(u) {
|
|
15981
15982
|
var s;
|
|
@@ -16136,6 +16137,7 @@ const Zw = { name: "material-symbols-docs-outline", render: $w }, Ew = ["id", "d
|
|
|
16136
16137
|
loading: { default: !1 },
|
|
16137
16138
|
downloadSrc: null,
|
|
16138
16139
|
downloadMenu: { default: () => ["preview", "download", "delete"] },
|
|
16140
|
+
fileName: null,
|
|
16139
16141
|
useField: null,
|
|
16140
16142
|
rules: null,
|
|
16141
16143
|
opts: null
|
|
@@ -16190,10 +16192,11 @@ const Zw = { name: "material-symbols-docs-outline", render: $w }, Ew = ["id", "d
|
|
|
16190
16192
|
class: "download",
|
|
16191
16193
|
"download-menu": e.downloadMenu,
|
|
16192
16194
|
"file-icon": u,
|
|
16195
|
+
"file-name": e.fileName,
|
|
16193
16196
|
"onMenu:preview": f[2] || (f[2] = (y) => t("menu:preview", y)),
|
|
16194
16197
|
"onMenu:download": f[3] || (f[3] = (y) => t("menu:download", y)),
|
|
16195
16198
|
"onMenu:delete": f[4] || (f[4] = (y) => t("menu:delete", y))
|
|
16196
|
-
}, null, 8, ["id", "download-src", "download-menu"])) : (d(), U(K3, {
|
|
16199
|
+
}, null, 8, ["id", "download-src", "download-menu", "file-name"])) : (d(), U(K3, {
|
|
16197
16200
|
key: 0,
|
|
16198
16201
|
id: e.id,
|
|
16199
16202
|
modelValue: c(r),
|