tsv2-library 1.0.61-alpha.35 → 1.0.61-alpha.37
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/tsv2-library.es.js +3 -14
- package/dist/tsv2-library.umd.js +1 -1
- package/package.json +1 -1
package/dist/tsv2-library.es.js
CHANGED
|
@@ -55387,6 +55387,9 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
55387
55387
|
});
|
|
55388
55388
|
const usePreview = computed(() => {
|
|
55389
55389
|
var _a, _b;
|
|
55390
|
+
if (!thumbnailString.value) {
|
|
55391
|
+
return false;
|
|
55392
|
+
}
|
|
55390
55393
|
return !errorLoadImage.value && (!!previewString.value || !((_a = imageThumbnail.value) == null ? void 0 : _a.toString().includes("data:image/svg+xml"))) && !((_b = imageThumbnail.value) == null ? void 0 : _b.toString().toLowerCase().includes("placeholder"));
|
|
55391
55394
|
});
|
|
55392
55395
|
const imageThumbnail = computedAsync(
|
|
@@ -55470,20 +55473,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
55470
55473
|
return image2;
|
|
55471
55474
|
};
|
|
55472
55475
|
watch(() => props.galleries, resolveGallerySrcs, { immediate: true });
|
|
55473
|
-
watch(
|
|
55474
|
-
usePreview,
|
|
55475
|
-
(val) => {
|
|
55476
|
-
console.log("👽👽:", val, imagePreview.value);
|
|
55477
|
-
},
|
|
55478
|
-
{ immediate: true }
|
|
55479
|
-
);
|
|
55480
|
-
watch(
|
|
55481
|
-
imagePreview,
|
|
55482
|
-
(val) => {
|
|
55483
|
-
console.log("🤖🤖:", val);
|
|
55484
|
-
},
|
|
55485
|
-
{ immediate: true }
|
|
55486
|
-
);
|
|
55487
55476
|
return (_ctx, _cache) => {
|
|
55488
55477
|
return openBlock(), createBlock(unref(script$h), mergeProps(_ctx.$props, {
|
|
55489
55478
|
class: [
|