vue-intergrall-plugins 1.0.41 → 1.0.43

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.
@@ -10994,6 +10994,9 @@ var script = {
10994
10994
  isClosedClass: {
10995
10995
  type: String,
10996
10996
  default: 'bg-light-gray-2'
10997
+ },
10998
+ refKey: {
10999
+ type: String
10997
11000
  }
10998
11001
  },
10999
11002
  data() {
@@ -11040,6 +11043,7 @@ var script = {
11040
11043
  },
11041
11044
  mounted() {
11042
11045
  this.updateIframeContent();
11046
+ if (this.refKey) this.$root.$refs[`${refKey}`] = this;
11043
11047
  },
11044
11048
  methods: {
11045
11049
  updateIframeContent() {
@@ -11060,8 +11064,8 @@ var script = {
11060
11064
  const emailParent = this.$refs.emailIframeParent;
11061
11065
  if (iframe && emailParent) {
11062
11066
  const doc = iframe.contentDocument || iframe.contentWindow.document;
11063
- iframe.style.height = `${doc.documentElement.offsetHeight < 1000 ? doc.documentElement.offsetHeight : 1000}px`;
11064
- emailParent.style.minHeight = `${doc.documentElement.offsetHeight < 1000 ? doc.documentElement.offsetHeight : 1000}px`;
11067
+ iframe.style.height = `${doc.documentElement.offsetHeight}px`;
11068
+ emailParent.style.minHeight = `${doc.documentElement.offsetHeight}px`;
11065
11069
  }
11066
11070
  });
11067
11071
  },
@@ -11106,19 +11110,18 @@ var __vue_render__ = function () {
11106
11110
  var _c = _vm._self._c || _h;
11107
11111
  return _c('div', {
11108
11112
  class: ['email-item box-shadow', _vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass]
11113
+ }, [_c('div', {
11114
+ staticClass: "email-header",
11115
+ on: {
11116
+ "click": _vm.toggleIsOpen
11117
+ }
11109
11118
  }, [_c('p', {
11110
11119
  staticClass: "email-subject",
11111
11120
  attrs: {
11112
11121
  "title": _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'
11113
- },
11114
- on: {
11115
- "click": _vm.toggleIsOpen
11116
- }
11117
- }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _c('div', {
11118
- staticClass: "email-header",
11119
- on: {
11120
- "click": _vm.toggleIsOpen
11121
11122
  }
11123
+ }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _c('div', {
11124
+ staticClass: "header-container"
11122
11125
  }, [_c('div', {
11123
11126
  staticClass: "email-header-content"
11124
11127
  }, [_c('div', {
@@ -11157,7 +11160,16 @@ var __vue_render__ = function () {
11157
11160
  attrs: {
11158
11161
  "icon": ['fas', 'caret-down']
11159
11162
  }
11160
- })], 1), _vm._v(" "), _vm.showInfos ? _c('ul', {
11163
+ })], 1)], 2)] : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11164
+ staticClass: "email-date",
11165
+ attrs: {
11166
+ "title": _vm.formattedDate
11167
+ }
11168
+ }, [_c('fa-icon', {
11169
+ attrs: {
11170
+ "icon": ['fas', 'calendar']
11171
+ }
11172
+ }), _vm._v("\n " + _vm._s(_vm.formattedDate) + "\n ")], 1)]), _vm._v(" "), _vm.showInfos ? _c('ul', {
11161
11173
  directives: [{
11162
11174
  name: "clickaway",
11163
11175
  rawName: "v-clickaway",
@@ -11180,17 +11192,8 @@ var __vue_render__ = function () {
11180
11192
  domProps: {
11181
11193
  "textContent": _vm._s(info.label)
11182
11194
  }
11183
- }), _vm._v("\n " + _vm._s(info.value) + "\n ")]);
11184
- }), 0) : _vm._e()], 2)] : _vm._e()], 2)]), _vm._v(" "), _c('span', {
11185
- staticClass: "email-date",
11186
- attrs: {
11187
- "title": _vm.formattedDate
11188
- }
11189
- }, [_c('fa-icon', {
11190
- attrs: {
11191
- "icon": ['fas', 'calendar']
11192
- }
11193
- }), _vm._v("\n " + _vm._s(_vm.formattedDate) + "\n ")], 1), _vm._v(" "), _vm.isOpen ? _c('span', {
11195
+ }), _vm._v("\n " + _vm._s(info.value) + "\n ")]);
11196
+ }), 0) : _vm._e(), _vm._v(" "), _vm.isOpen ? _c('span', {
11194
11197
  class: ['email-actions box-shadow', {
11195
11198
  active: _vm.actionsOpen
11196
11199
  }],
@@ -11247,18 +11250,18 @@ var __vue_staticRenderFns__ = [];
11247
11250
  /* style */
11248
11251
  const __vue_inject_styles__ = function (inject) {
11249
11252
  if (!inject) return;
11250
- inject("data-v-4c7ad756_0", {
11251
- source: ".show-y-top-enter-active[data-v-4c7ad756],.show-y-top-leave-enter[data-v-4c7ad756]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-4c7ad756],.show-y-top-leave-to[data-v-4c7ad756]{opacity:0;transform:translateY(-2%)}",
11253
+ inject("data-v-c7cf9780_0", {
11254
+ source: ".show-y-top-enter-active[data-v-c7cf9780],.show-y-top-leave-enter[data-v-c7cf9780]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-c7cf9780],.show-y-top-leave-to[data-v-c7cf9780]{opacity:0;transform:translateY(-2%)}",
11252
11255
  map: undefined,
11253
11256
  media: undefined
11254
- }), inject("data-v-4c7ad756_1", {
11255
- source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{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%}.email-header{width:100%;display:flex;align-items:center;justify-content:space-between;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:hidden}.email-header-content{display:flex;align-items:center;margin:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;padding:15px;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;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%;max-width:100%;padding:10px;border:none;max-height:1000px;overflow:auto}.email-raw{width:100%;max-width:100%;font-size:.9rem;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:10px;max-width:100%;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-from-container:last-child{margin-bottom:0}.email-to-btn{padding:0 5px;font-size:.9rem;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-300px;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-left:5px}",
11257
+ }), inject("data-v-c7cf9780_1", {
11258
+ source: ".bg-dark-white-2{background-color:#f7f7f7}.bg-light-gray-2{background-color:#d8d8d8}.email-item{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}.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}.email-header-content{display:flex;align-items:center;margin-right:10px;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:0 0 5px 0;font-weight:700;font-size:.95rem;cursor:pointer}.email-date{--width:245px;font-size:.8rem;margin-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;min-width:var(--width);width:var(--width);max-width:var(--width)}.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;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%}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:10px;max-width:100%;display:flex;flex-wrap:wrap;flex:1;gap:5px}.email-to-from-container:last-child{margin-bottom:0}.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-left:5px}",
11256
11259
  map: undefined,
11257
11260
  media: undefined
11258
11261
  });
11259
11262
  };
11260
11263
  /* scoped */
11261
- const __vue_scope_id__ = "data-v-4c7ad756";
11264
+ const __vue_scope_id__ = "data-v-c7cf9780";
11262
11265
  /* module identifier */
11263
11266
  const __vue_module_identifier__ = undefined;
11264
11267
  /* functional template */