vue-intergrall-plugins 1.0.61 → 1.0.62
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.
|
@@ -10711,8 +10711,8 @@ var __vue_staticRenderFns__$3 = [];
|
|
|
10711
10711
|
/* style */
|
|
10712
10712
|
const __vue_inject_styles__$3 = function (inject) {
|
|
10713
10713
|
if (!inject) return;
|
|
10714
|
-
inject("data-v-
|
|
10715
|
-
source: ".email-file{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;
|
|
10714
|
+
inject("data-v-40b9eea6_0", {
|
|
10715
|
+
source: ".email-file{display:flex;align-items:center;justify-content:flex-end;flex-direction:column;min-width:50px;width:auto;max-width:100px;height:70px;position:relative}.anexo-img{display:flex;justify-content:center;align-items:center;width:100%;height:100%;overflow:hidden;background-color:rgba(0,0,0,.2);border-radius:2.5px;cursor:pointer;opacity:.9;transition:opacity 150ms}.anexo-img:hover{opacity:1}.anexo-img img{max-width:100%;font-size:.8rem}.anexo-video{width:100%;height:100%;max-width:100%}.anexo-video video{max-width:100%;max-height:100%}.box-shadow{-webkit-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);-moz-box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.anexo-icone{display:flex;justify-content:center;align-items:center;font-size:30px;cursor:pointer}.anexo-icone:hover{opacity:1}.anexo-icone:visited{color:inherit}.anexo-icone.pdf{position:relative}.anexo-icone.pdf svg{color:#e74c3c}.anexo-icone.pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px}.anexo-icone.doc{color:#15517f}.anexo-icone.doc::after{content:\"\";position:absolute;width:20px;height:20px}.anexo-download{position:absolute;top:0;right:0;border-radius:5px;padding:5px;display:flex;justify-content:center;align-items:center;color:#222;background-color:#fff;z-index:1;font-size:.8rem;cursor:pointer}.anexo-name{max-width:100%;font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0 5px 0;height:20px}.anexo-icone,.anexo-img,.anexo-video{max-height:calc(100% - 20px)}",
|
|
10716
10716
|
map: undefined,
|
|
10717
10717
|
media: undefined
|
|
10718
10718
|
});
|
|
@@ -11032,14 +11032,38 @@ var script$1 = {
|
|
|
11032
11032
|
},
|
|
11033
11033
|
toggleShowInfos() {
|
|
11034
11034
|
this.showInfos = !this.showInfos;
|
|
11035
|
+
if (this.showInfos) {
|
|
11036
|
+
this.$nextTick(() => {
|
|
11037
|
+
this.adjustTopPosition();
|
|
11038
|
+
});
|
|
11039
|
+
}
|
|
11040
|
+
},
|
|
11041
|
+
adjustTopPosition() {
|
|
11042
|
+
const ulElement = this.$refs.emailToInfos;
|
|
11043
|
+
if (!ulElement) return;
|
|
11044
|
+
const ulHeight = ulElement.offsetHeight;
|
|
11045
|
+
const margin = 25;
|
|
11046
|
+
const maxHeight = 300;
|
|
11047
|
+
const finalHeight = ulHeight < maxHeight ? ulHeight + margin : maxHeight + margin;
|
|
11048
|
+
ulElement.style.bottom = `-${finalHeight}px`;
|
|
11035
11049
|
},
|
|
11036
11050
|
toggleIsOpen() {
|
|
11037
11051
|
this.isOpen = !this.isOpen;
|
|
11038
11052
|
if (!this.isOpen) {
|
|
11039
11053
|
this.actionsOpen = false;
|
|
11040
11054
|
this.openMessage = false;
|
|
11055
|
+
} else {
|
|
11056
|
+
this.$nextTick(() => {
|
|
11057
|
+
this.adjustMaxWidth();
|
|
11058
|
+
});
|
|
11041
11059
|
}
|
|
11042
11060
|
},
|
|
11061
|
+
adjustMaxWidth() {
|
|
11062
|
+
const toContainer = this.$refs.emailToContainer;
|
|
11063
|
+
const dateContainer = this.$refs.emailDate;
|
|
11064
|
+
if (!toContainer || !dateContainer) return;
|
|
11065
|
+
toContainer.style.maxWidth = `calc(100% - ${dateContainer.offsetWidth}px)`;
|
|
11066
|
+
},
|
|
11043
11067
|
toggleActions() {
|
|
11044
11068
|
this.actionsOpen = !this.actionsOpen;
|
|
11045
11069
|
},
|
|
@@ -11189,6 +11213,7 @@ var __vue_render__$1 = function () {
|
|
|
11189
11213
|
}, [_c('div', {
|
|
11190
11214
|
staticClass: "email-header-infos"
|
|
11191
11215
|
}, [_vm.para && _vm.para.length && _vm.isOpen ? [_c('div', {
|
|
11216
|
+
ref: "emailToContainer",
|
|
11192
11217
|
staticClass: "email-to-from-container"
|
|
11193
11218
|
}, [_vm._l(_vm.para, function (recipient, index) {
|
|
11194
11219
|
return _c('EmailTo', {
|
|
@@ -11237,6 +11262,7 @@ var __vue_render__$1 = function () {
|
|
|
11237
11262
|
},
|
|
11238
11263
|
expression: "() => showInfos = false"
|
|
11239
11264
|
}],
|
|
11265
|
+
ref: "emailToInfos",
|
|
11240
11266
|
staticClass: "email-to-infos box-shadow",
|
|
11241
11267
|
on: {
|
|
11242
11268
|
"click": function ($event) {
|
|
@@ -11323,18 +11349,18 @@ var __vue_staticRenderFns__$1 = [];
|
|
|
11323
11349
|
/* style */
|
|
11324
11350
|
const __vue_inject_styles__$1 = function (inject) {
|
|
11325
11351
|
if (!inject) return;
|
|
11326
|
-
inject("data-v-
|
|
11327
|
-
source: ".show-y-top-enter-active[data-v-
|
|
11352
|
+
inject("data-v-0eb3dd45_0", {
|
|
11353
|
+
source: ".show-y-top-enter-active[data-v-0eb3dd45],.show-y-top-leave-enter[data-v-0eb3dd45]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-0eb3dd45],.show-y-top-leave-to[data-v-0eb3dd45]{opacity:0;transform:translateY(-2%)}",
|
|
11328
11354
|
map: undefined,
|
|
11329
11355
|
media: undefined
|
|
11330
|
-
}), inject("data-v-
|
|
11331
|
-
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;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:.8rem}.menu-mensagem{cursor:pointer;padding:1px}",
|
|
11356
|
+
}), inject("data-v-0eb3dd45_1", {
|
|
11357
|
+
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;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.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;margin-top:5px}.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}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:.8rem}.menu-mensagem{cursor:pointer;padding:1px}",
|
|
11332
11358
|
map: undefined,
|
|
11333
11359
|
media: undefined
|
|
11334
11360
|
});
|
|
11335
11361
|
};
|
|
11336
11362
|
/* scoped */
|
|
11337
|
-
const __vue_scope_id__$1 = "data-v-
|
|
11363
|
+
const __vue_scope_id__$1 = "data-v-0eb3dd45";
|
|
11338
11364
|
/* module identifier */
|
|
11339
11365
|
const __vue_module_identifier__$1 = undefined;
|
|
11340
11366
|
/* functional template */
|