@fewangsit/wangsvue-fats 1.0.0-alpha.54 → 1.0.0-alpha.56
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/components/image/Image.vue.d.ts +7 -0
- package/package.json +1 -1
- package/stats.html +1 -1
- package/wangsvue-fats.js +5 -3
- package/wangsvue-fats.system.js +2 -2
package/wangsvue-fats.js
CHANGED
|
@@ -23389,6 +23389,7 @@ const LE = ["src"], PE = ["src"], DE = ["src"], BE = ["src", "onClick"], is = /*
|
|
|
23389
23389
|
__name: "Image",
|
|
23390
23390
|
props: {
|
|
23391
23391
|
src: {},
|
|
23392
|
+
preview: { type: Boolean, default: !0 },
|
|
23392
23393
|
size: {},
|
|
23393
23394
|
width: {},
|
|
23394
23395
|
rounded: { type: Boolean },
|
|
@@ -23401,7 +23402,7 @@ const LE = ["src"], PE = ["src"], DE = ["src"], BE = ["src", "onClick"], is = /*
|
|
|
23401
23402
|
pt: {},
|
|
23402
23403
|
ptOptions: {},
|
|
23403
23404
|
unstyled: { type: Boolean },
|
|
23404
|
-
getImageURL: {
|
|
23405
|
+
getImageURL: {},
|
|
23405
23406
|
placeholder: {}
|
|
23406
23407
|
},
|
|
23407
23408
|
setup(t) {
|
|
@@ -23415,7 +23416,7 @@ const LE = ["src"], PE = ["src"], DE = ["src"], BE = ["src", "onClick"], is = /*
|
|
|
23415
23416
|
});
|
|
23416
23417
|
const r = ae(0), o = ae(), s = ae(), a = ae(!1), l = te(() => {
|
|
23417
23418
|
var A;
|
|
23418
|
-
return !a.value && !((A = h.value) != null && A.toString().includes("data:image/png;base64")) && h.value !== i.value.placeholder;
|
|
23419
|
+
return e.preview === !1 ? !1 : !a.value && !((A = h.value) != null && A.toString().includes("data:image/png;base64")) && h.value !== i.value.placeholder;
|
|
23419
23420
|
}), u = () => {
|
|
23420
23421
|
const A = e.galleries ?? [];
|
|
23421
23422
|
r.value = (r.value + 1) % A.length, v();
|
|
@@ -29516,6 +29517,7 @@ const fV = /* @__PURE__ */ Ae({
|
|
|
29516
29517
|
rows: e.value,
|
|
29517
29518
|
"onUpdate:rows": r[0] || (r[0] = (o) => e.value = o)
|
|
29518
29519
|
}, T(n).paginator({ context: { totalRecords: i.totalRecords } }), {
|
|
29520
|
+
template: i.template,
|
|
29519
29521
|
"total-records": i.totalRecords,
|
|
29520
29522
|
onPage: r[1] || (r[1] = (o) => i.$emit("page", o))
|
|
29521
29523
|
}), {
|
|
@@ -29532,7 +29534,7 @@ const fV = /* @__PURE__ */ Ae({
|
|
|
29532
29534
|
D(De, { icon: "round-keyboard-arrow-right" })
|
|
29533
29535
|
]),
|
|
29534
29536
|
_: 1
|
|
29535
|
-
}, 16, ["rows", "total-records"]));
|
|
29537
|
+
}, 16, ["rows", "template", "total-records"]));
|
|
29536
29538
|
}
|
|
29537
29539
|
});
|
|
29538
29540
|
var pV = {
|