@cobre-npm/ds-v3 0.67.0 → 0.67.1
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.
|
@@ -1771,10 +1771,10 @@ const k3 = /* @__PURE__ */ Le(uh, [["render", ph], ["__scopeId", "data-v-f0bb42d
|
|
|
1771
1771
|
__name: "CobreUploader",
|
|
1772
1772
|
props: {
|
|
1773
1773
|
currentFileType: {},
|
|
1774
|
+
allowedExtensions: {},
|
|
1774
1775
|
fileUpload: {},
|
|
1775
1776
|
uploadFromDeviceLabel: {},
|
|
1776
1777
|
maxSizeLabel: {},
|
|
1777
|
-
currentExtension: {},
|
|
1778
1778
|
disabled: { type: Boolean, default: !1 },
|
|
1779
1779
|
dragFileLabel: {},
|
|
1780
1780
|
isLoading: { type: Boolean, default: !1 },
|
|
@@ -1825,7 +1825,7 @@ const k3 = /* @__PURE__ */ Le(uh, [["render", ph], ["__scopeId", "data-v-f0bb42d
|
|
|
1825
1825
|
class: "w-100 h-100 opacity-0 position-absolute input-file co-cursor-pointer co-uploader",
|
|
1826
1826
|
type: "file",
|
|
1827
1827
|
multiple: !1,
|
|
1828
|
-
accept: (_ = f.currentFileType) == null ? void 0 : _.extensions,
|
|
1828
|
+
accept: ((_ = f.currentFileType) == null ? void 0 : _.extensions) || f.allowedExtensions,
|
|
1829
1829
|
onChange: m[0] || (m[0] = (g) => l(g))
|
|
1830
1830
|
}, null, 40, Dh),
|
|
1831
1831
|
f.fileUpload ? M("", !0) : (p(), C("div", {
|
|
@@ -1854,27 +1854,27 @@ const k3 = /* @__PURE__ */ Le(uh, [["render", ph], ["__scopeId", "data-v-f0bb42d
|
|
|
1854
1854
|
i.value === "csv" ? (p(), C("img", {
|
|
1855
1855
|
key: 0,
|
|
1856
1856
|
src: Ch,
|
|
1857
|
-
alt:
|
|
1857
|
+
alt: i.value,
|
|
1858
1858
|
width: "40",
|
|
1859
1859
|
height: "40"
|
|
1860
1860
|
}, null, 8, Sh)) : M("", !0),
|
|
1861
1861
|
i.value === "json" ? (p(), C("img", {
|
|
1862
1862
|
key: 1,
|
|
1863
1863
|
src: Th,
|
|
1864
|
-
alt:
|
|
1864
|
+
alt: i.value,
|
|
1865
1865
|
width: "40",
|
|
1866
1866
|
height: "40"
|
|
1867
1867
|
}, null, 8, Ih)) : M("", !0),
|
|
1868
1868
|
i.value === "txt" ? (p(), C("img", {
|
|
1869
1869
|
key: 2,
|
|
1870
1870
|
src: kh,
|
|
1871
|
-
alt:
|
|
1871
|
+
alt: i.value,
|
|
1872
1872
|
width: "40",
|
|
1873
1873
|
height: "40"
|
|
1874
1874
|
}, null, 8, Lh)) : i.value === "xlsx" ? (p(), C("img", {
|
|
1875
1875
|
key: 3,
|
|
1876
1876
|
src: Eh,
|
|
1877
|
-
alt:
|
|
1877
|
+
alt: i.value,
|
|
1878
1878
|
width: "40",
|
|
1879
1879
|
height: "40"
|
|
1880
1880
|
}, null, 8, Nh)) : M("", !0),
|
|
@@ -1897,7 +1897,7 @@ const k3 = /* @__PURE__ */ Le(uh, [["render", ph], ["__scopeId", "data-v-f0bb42d
|
|
|
1897
1897
|
]);
|
|
1898
1898
|
};
|
|
1899
1899
|
}
|
|
1900
|
-
}), $3 = /* @__PURE__ */ Le(Hh, [["__scopeId", "data-v-
|
|
1900
|
+
}), $3 = /* @__PURE__ */ Le(Hh, [["__scopeId", "data-v-75be3fef"]]), Wh = { class: "d-flex" }, Uh = {
|
|
1901
1901
|
key: 1,
|
|
1902
1902
|
class: "mb-0"
|
|
1903
1903
|
}, jh = ["src"], qh = {
|