vue-intergrall-plugins 1.0.56 → 1.0.58
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.
|
@@ -10932,7 +10932,8 @@ var script$1 = {
|
|
|
10932
10932
|
isOpen: this.iniciarAberto,
|
|
10933
10933
|
openMessage: false,
|
|
10934
10934
|
actionsOpen: false,
|
|
10935
|
-
showInfos: false
|
|
10935
|
+
showInfos: false,
|
|
10936
|
+
isIframeLoading: true
|
|
10936
10937
|
};
|
|
10937
10938
|
},
|
|
10938
10939
|
computed: {
|
|
@@ -10966,7 +10967,6 @@ var script$1 = {
|
|
|
10966
10967
|
}
|
|
10967
10968
|
},
|
|
10968
10969
|
watch: {
|
|
10969
|
-
html: 'updateIframeContent',
|
|
10970
10970
|
isOpen: 'updateIframeContent'
|
|
10971
10971
|
},
|
|
10972
10972
|
mounted() {
|
|
@@ -10986,7 +10986,7 @@ var script$1 = {
|
|
|
10986
10986
|
},
|
|
10987
10987
|
updateIframeContent() {
|
|
10988
10988
|
this.$nextTick(() => {
|
|
10989
|
-
if (this.isOpen) {
|
|
10989
|
+
if (this.isOpen && this.isIframeLoading) {
|
|
10990
10990
|
const iframe = this.$refs.emailIframe;
|
|
10991
10991
|
const doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
10992
10992
|
doc.open();
|
|
@@ -11016,10 +11016,15 @@ var script$1 = {
|
|
|
11016
11016
|
const iframe = this.$refs.emailIframe;
|
|
11017
11017
|
const emailParent = this.$refs.emailIframeParent;
|
|
11018
11018
|
if (iframe && emailParent) {
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
|
|
11019
|
+
setTimeout(() => {
|
|
11020
|
+
const doc = iframe.contentDocument || iframe.contentWindow.document;
|
|
11021
|
+
const margin = 20;
|
|
11022
|
+
const value = doc.documentElement.offsetHeight > 400 ? doc.documentElement.offsetHeight + margin : doc.documentElement.offsetHeight;
|
|
11023
|
+
iframe.style.height = `${value}px`;
|
|
11024
|
+
emailParent.style.minHeight = `${value}px`;
|
|
11025
|
+
}, 10);
|
|
11022
11026
|
}
|
|
11027
|
+
if (this.isIframeLoading) this.isIframeLoading = false;
|
|
11023
11028
|
});
|
|
11024
11029
|
},
|
|
11025
11030
|
toggleShowInfos() {
|
|
@@ -11241,15 +11246,21 @@ var __vue_render__$1 = function () {
|
|
|
11241
11246
|
attrs: {
|
|
11242
11247
|
"name": "show-y-top"
|
|
11243
11248
|
}
|
|
11244
|
-
}, [
|
|
11249
|
+
}, [_c('div', {
|
|
11250
|
+
directives: [{
|
|
11251
|
+
name: "show",
|
|
11252
|
+
rawName: "v-show",
|
|
11253
|
+
value: _vm.isOpen,
|
|
11254
|
+
expression: "isOpen"
|
|
11255
|
+
}],
|
|
11245
11256
|
ref: "emailIframeParent",
|
|
11246
11257
|
staticClass: "email-content"
|
|
11247
|
-
}, [_c('iframe', {
|
|
11258
|
+
}, [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._v(" "), _c('iframe', {
|
|
11248
11259
|
ref: "emailIframe",
|
|
11249
|
-
|
|
11260
|
+
class: "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')
|
|
11250
11261
|
}), _vm._v(" "), _vm.openMessage ? _c('span', {
|
|
11251
11262
|
staticClass: "email-raw"
|
|
11252
|
-
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()]
|
|
11263
|
+
}, [_vm._v(_vm._s(_vm.mensagem))]) : _vm._e()], 1)]), _vm._v(" "), _vm.anexos && _vm.anexos.length ? _c('div', {
|
|
11253
11264
|
staticClass: "email-files",
|
|
11254
11265
|
on: {
|
|
11255
11266
|
"click": function ($event) {
|
|
@@ -11271,18 +11282,18 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
11271
11282
|
/* style */
|
|
11272
11283
|
const __vue_inject_styles__$1 = function (inject) {
|
|
11273
11284
|
if (!inject) return;
|
|
11274
|
-
inject("data-v-
|
|
11275
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11285
|
+
inject("data-v-1046b7ea_0", {
|
|
11286
|
+
source: ".show-y-top-enter-active[data-v-1046b7ea],.show-y-top-leave-enter[data-v-1046b7ea]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-1046b7ea],.show-y-top-leave-to[data-v-1046b7ea]{opacity:0;transform:translateY(-2%)}",
|
|
11276
11287
|
map: undefined,
|
|
11277
11288
|
media: undefined
|
|
11278
|
-
}), inject("data-v-
|
|
11279
|
-
source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)!important}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.cursor-pointer{cursor:pointer}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%;overflow:hidden;position:relative}.email-item.outros{border-left:3px solid #33b8df}.email-author-name{margin:0 5px}.email-author.outros{color:#33b8df}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:#ebb552}.email-item.principal{border-left:3px solid #ebb552}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;min-width:var(--width);width:var(--width);max-width:var(--width);display:flex;justify-content:flex-end;gap:3px;align-items:center}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:5px;top:5px;z-index:1}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;min-width:4px;min-height:4px;max-width:4px;max-height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%;cursor:default}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;height:300px;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:.75rem;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;color:gray}.email-to-svg{font-size:.85rem}",
|
|
11289
|
+
}), inject("data-v-1046b7ea_1", {
|
|
11290
|
+
source: "@import url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap);.visibility-hidden{visibility:hidden}.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)!important}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.cursor-pointer{cursor:pointer}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{font-family:Roboto,sans-serif;flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%;overflow:hidden;position:relative}.email-item.outros{border-left:3px solid #33b8df}.email-author-name{margin:0 5px}.email-author.outros{color:#33b8df}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:#ebb552}.email-item.principal{border-left:3px solid #ebb552}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-size:1.025rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;min-width:var(--width);width:var(--width);max-width:var(--width);display:flex;justify-content:flex-end;gap:3px;align-items:center}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:5px;top:5px;z-index:1}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;min-width:4px;min-height:4px;max-width:4px;max-height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:.9rem;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%;cursor:default}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;height:300px;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:.8rem}.email-info>span{font-size:.75rem;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:.75rem;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:.7rem;color:gray}.email-to-svg{font-size:.85rem}",
|
|
11280
11291
|
map: undefined,
|
|
11281
11292
|
media: undefined
|
|
11282
11293
|
});
|
|
11283
11294
|
};
|
|
11284
11295
|
/* scoped */
|
|
11285
|
-
const __vue_scope_id__$1 = "data-v-
|
|
11296
|
+
const __vue_scope_id__$1 = "data-v-1046b7ea";
|
|
11286
11297
|
/* module identifier */
|
|
11287
11298
|
const __vue_module_identifier__$1 = undefined;
|
|
11288
11299
|
/* functional template */
|