@bethinkpl/design-system 41.1.0 → 41.1.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.
package/dist/design-system.js
CHANGED
|
@@ -25495,12 +25495,20 @@ const wde = /* @__PURE__ */ x(WQ, [["render", JQ], ["__scopeId", "data-v-ccaa1a8
|
|
|
25495
25495
|
required: !0
|
|
25496
25496
|
}
|
|
25497
25497
|
},
|
|
25498
|
+
emits: {
|
|
25499
|
+
error: (e) => e instanceof Event
|
|
25500
|
+
},
|
|
25498
25501
|
data() {
|
|
25499
25502
|
return {
|
|
25500
25503
|
isLoading: !0,
|
|
25501
25504
|
IMAGE_FITS: Object.freeze(zg),
|
|
25502
25505
|
SKELETON_RADIUS_SIZES: Object.freeze(Ti)
|
|
25503
25506
|
};
|
|
25507
|
+
},
|
|
25508
|
+
methods: {
|
|
25509
|
+
onError(e) {
|
|
25510
|
+
this.isLoading = !1, this.$emit("error", e);
|
|
25511
|
+
}
|
|
25504
25512
|
}
|
|
25505
25513
|
}), $Q = { class: "ds-image" }, eJ = ["src"], tJ = {
|
|
25506
25514
|
key: 0,
|
|
@@ -25517,7 +25525,7 @@ function aJ(e, t, a, r, o, i) {
|
|
|
25517
25525
|
draggable: "false",
|
|
25518
25526
|
loading: "lazy",
|
|
25519
25527
|
src: e.src,
|
|
25520
|
-
onError: t[0] || (t[0] = (c) => e.
|
|
25528
|
+
onError: t[0] || (t[0] = (...c) => e.onError && e.onError(...c)),
|
|
25521
25529
|
onLoad: t[1] || (t[1] = (c) => e.isLoading = !1)
|
|
25522
25530
|
}, null, 42, eJ),
|
|
25523
25531
|
e.isLoading ? (u(), v("div", tJ, [
|
|
@@ -25527,7 +25535,7 @@ function aJ(e, t, a, r, o, i) {
|
|
|
25527
25535
|
])) : E("", !0)
|
|
25528
25536
|
]);
|
|
25529
25537
|
}
|
|
25530
|
-
const Mde = /* @__PURE__ */ x(xQ, [["render", aJ], ["__scopeId", "data-v-
|
|
25538
|
+
const Mde = /* @__PURE__ */ x(xQ, [["render", aJ], ["__scopeId", "data-v-22eed58d"]]), rJ = /* @__PURE__ */ q({
|
|
25531
25539
|
__name: "StatsErrorBanner",
|
|
25532
25540
|
emits: ["button-clicked"],
|
|
25533
25541
|
setup(e) {
|