vue-intergrall-plugins 0.0.253 → 0.0.254
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.
|
@@ -10851,7 +10851,7 @@ function gerarVariaveisAnexo(anexos, storeObj) {
|
|
|
10851
10851
|
mku,
|
|
10852
10852
|
name
|
|
10853
10853
|
} = anexos;
|
|
10854
|
-
if (!type || !mku || !name) return anexos.tipoDoc || anexos.imgAnexo ? anexos : {
|
|
10854
|
+
if (!type || !mku || !name) return anexos.tipoDoc || anexos.imgAnexo || anexos.docAnexo ? anexos : {
|
|
10855
10855
|
anexo: false,
|
|
10856
10856
|
imgAnexo: "",
|
|
10857
10857
|
tipoDoc: "",
|
|
@@ -13023,7 +13023,9 @@ var script$6 = {
|
|
|
13023
13023
|
return "";
|
|
13024
13024
|
}
|
|
13025
13025
|
|
|
13026
|
-
|
|
13026
|
+
const finalUrl = url[0].replace(/["'*]/g, "");
|
|
13027
|
+
if (/((https?|ftp):\/\/.)?(www\.)?(?:([-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6})|(linux07|linux03))\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/gi.test(finalUrl)) return finalUrl;
|
|
13028
|
+
return false;
|
|
13027
13029
|
},
|
|
13028
13030
|
|
|
13029
13031
|
async gerarPreview() {
|
|
@@ -13137,8 +13139,8 @@ var __vue_staticRenderFns__$6 = [];
|
|
|
13137
13139
|
|
|
13138
13140
|
const __vue_inject_styles__$6 = function (inject) {
|
|
13139
13141
|
if (!inject) return;
|
|
13140
|
-
inject("data-v-
|
|
13141
|
-
source: ".link-preview[data-v-
|
|
13142
|
+
inject("data-v-4ba7fedc_0", {
|
|
13143
|
+
source: ".link-preview[data-v-4ba7fedc]{display:flex;flex-direction:column;background-color:#eee;color:#333;cursor:pointer;margin:5px 0;border-radius:5px;opacity:.95;transition:opacity .3s ease-in-out;font-size:.85rem}.link-preview-image[data-v-4ba7fedc]{display:flex;justify-content:center;align-items:center;padding:1px;border-top-left-radius:5px;border-top-right-radius:5px}.link-preview-author[data-v-4ba7fedc]{margin:5px;font-size:.615em;font-weight:700}.link-preview-author.mb-0[data-v-4ba7fedc]{margin-bottom:0}.link-preview-author h1[data-v-4ba7fedc]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-preview-image img[data-v-4ba7fedc]{min-width:100px;max-width:200px;border-top-left-radius:5px;border-top-right-radius:5px}.link-preview-infos[data-v-4ba7fedc]{background-color:#2626261a;padding:5px;margin:5px;font-size:.83em;border-radius:5px}.link-preview[data-v-4ba7fedc]:hover{opacity:1}.link-preview:hover .link-preview-infos p[data-v-4ba7fedc]{text-decoration:underline}",
|
|
13142
13144
|
map: undefined,
|
|
13143
13145
|
media: undefined
|
|
13144
13146
|
});
|
|
@@ -13146,7 +13148,7 @@ const __vue_inject_styles__$6 = function (inject) {
|
|
|
13146
13148
|
/* scoped */
|
|
13147
13149
|
|
|
13148
13150
|
|
|
13149
|
-
const __vue_scope_id__$6 = "data-v-
|
|
13151
|
+
const __vue_scope_id__$6 = "data-v-4ba7fedc";
|
|
13150
13152
|
/* module identifier */
|
|
13151
13153
|
|
|
13152
13154
|
const __vue_module_identifier__$6 = undefined;
|