vue-intergrall-plugins 0.0.193 → 0.0.196
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.
|
@@ -12284,12 +12284,23 @@ var script$4 = {
|
|
|
12284
12284
|
const {
|
|
12285
12285
|
description,
|
|
12286
12286
|
og,
|
|
12287
|
-
theme_color
|
|
12288
|
-
author
|
|
12287
|
+
theme_color
|
|
12289
12288
|
} = raspagem;
|
|
12290
|
-
if (author) this.linkPreview.author = author;
|
|
12291
12289
|
if (description) this.linkPreview.description = description;
|
|
12292
|
-
if (
|
|
12290
|
+
if (raspagem.author) this.linkPreview.author = raspagem.author;
|
|
12291
|
+
|
|
12292
|
+
if (og) {
|
|
12293
|
+
const {
|
|
12294
|
+
image,
|
|
12295
|
+
site_name,
|
|
12296
|
+
title,
|
|
12297
|
+
author
|
|
12298
|
+
} = og;
|
|
12299
|
+
if (image) this.linkPreview.imageSource = image.url ? image.url : image;
|
|
12300
|
+
if (author || site_name || title) this.linkPreview.author = author ? author : site_name ? site_name : title;
|
|
12301
|
+
if (og.description) this.linkPreview.description = og.description;
|
|
12302
|
+
}
|
|
12303
|
+
|
|
12293
12304
|
if (theme_color) this.linkPreview.colorTheme = theme_color;
|
|
12294
12305
|
if (this.linkPreview.description || this.linkPreview.imageSource) this.linkPreview.isValid = true;
|
|
12295
12306
|
} catch (e) {
|
|
@@ -12355,8 +12366,8 @@ var __vue_staticRenderFns__$4 = [];
|
|
|
12355
12366
|
|
|
12356
12367
|
const __vue_inject_styles__$4 = function (inject) {
|
|
12357
12368
|
if (!inject) return;
|
|
12358
|
-
inject("data-v-
|
|
12359
|
-
source: ".link-preview[data-v-
|
|
12369
|
+
inject("data-v-cefa4cea_0", {
|
|
12370
|
+
source: ".link-preview[data-v-cefa4cea]{display:flex;flex-direction:column;background-color:#eee;color:#333;cursor:pointer;margin:5px 0;border-radius:5px}.link-preview-image[data-v-cefa4cea]{display:flex;justify-content:center;align-items:center;padding:10px;margin-bottom:5px;border-top-left-radius:5px;border-top-right-radius:5px}.link-preview-author[data-v-cefa4cea]{margin:5px;font-size:.615em}.link-preview-author h1[data-v-cefa4cea]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-preview-image img[data-v-cefa4cea]{min-width:100px;max-width:200px}.link-preview-infos[data-v-cefa4cea]{background-color:#2626261a;padding:5px;margin:0 5px 5px 5px;font-size:.8rem;border-radius:5px}.link-preview:hover .link-preview-infos p[data-v-cefa4cea]{text-decoration:underline}",
|
|
12360
12371
|
map: undefined,
|
|
12361
12372
|
media: undefined
|
|
12362
12373
|
});
|
|
@@ -12364,7 +12375,7 @@ const __vue_inject_styles__$4 = function (inject) {
|
|
|
12364
12375
|
/* scoped */
|
|
12365
12376
|
|
|
12366
12377
|
|
|
12367
|
-
const __vue_scope_id__$4 = "data-v-
|
|
12378
|
+
const __vue_scope_id__$4 = "data-v-cefa4cea";
|
|
12368
12379
|
/* module identifier */
|
|
12369
12380
|
|
|
12370
12381
|
const __vue_module_identifier__$4 = undefined;
|