vue-intergrall-plugins 0.0.190 → 0.0.191
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.
|
@@ -12249,7 +12249,7 @@ var script$4 = {
|
|
|
12249
12249
|
if (isSticker) return;
|
|
12250
12250
|
const regex = /(https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|www\.[a-zA-Z0-9][a-zA-Z0-9-]+[a-zA-Z0-9]\.[^\s]{2,}|https?:\/\/(?:www\.|(?!www))[a-zA-Z0-9]+\.[^\s]{2,}|www\.[a-zA-Z0-9]+\.[^\s]{2,})/g;
|
|
12251
12251
|
const url = regex.exec(this.message);
|
|
12252
|
-
if (!url[0]) return console.warn("URL invalida para gerar preview");
|
|
12252
|
+
if (!url || !url[0]) return console.warn("URL invalida para gerar preview");
|
|
12253
12253
|
const encodedURL = Buffer(url[0]).toString("base64");
|
|
12254
12254
|
const response = await this.$httpRequest({
|
|
12255
12255
|
method: 'get',
|
|
@@ -12321,8 +12321,8 @@ var __vue_staticRenderFns__$4 = [];
|
|
|
12321
12321
|
|
|
12322
12322
|
const __vue_inject_styles__$4 = function (inject) {
|
|
12323
12323
|
if (!inject) return;
|
|
12324
|
-
inject("data-v-
|
|
12325
|
-
source: ".link-preview[data-v-
|
|
12324
|
+
inject("data-v-718e1ebf_0", {
|
|
12325
|
+
source: ".link-preview[data-v-718e1ebf]{display:flex;flex-direction:column}.link-preview-image[data-v-718e1ebf]{display:flex;justify-content:center;align-items:center;padding:10px}.link-preview-image img[data-v-718e1ebf]{max-width:250px}.link-preview-infos[data-v-718e1ebf]{background-color:rgba(0,0,0,.1);padding:10px;font-size:.8rem}",
|
|
12326
12326
|
map: undefined,
|
|
12327
12327
|
media: undefined
|
|
12328
12328
|
});
|
|
@@ -12330,7 +12330,7 @@ const __vue_inject_styles__$4 = function (inject) {
|
|
|
12330
12330
|
/* scoped */
|
|
12331
12331
|
|
|
12332
12332
|
|
|
12333
|
-
const __vue_scope_id__$4 = "data-v-
|
|
12333
|
+
const __vue_scope_id__$4 = "data-v-718e1ebf";
|
|
12334
12334
|
/* module identifier */
|
|
12335
12335
|
|
|
12336
12336
|
const __vue_module_identifier__$4 = undefined;
|