vue-intergrall-plugins 1.0.40 → 1.0.42

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,7 +11110,15 @@ 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]
11109
- }, [_c('div', {
11113
+ }, [_c('p', {
11114
+ staticClass: "email-subject",
11115
+ attrs: {
11116
+ "title": _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'
11117
+ },
11118
+ on: {
11119
+ "click": _vm.toggleIsOpen
11120
+ }
11121
+ }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _c('div', {
11110
11122
  staticClass: "email-header",
11111
11123
  on: {
11112
11124
  "click": _vm.toggleIsOpen
@@ -11115,12 +11127,7 @@ var __vue_render__ = function () {
11115
11127
  staticClass: "email-header-content"
11116
11128
  }, [_c('div', {
11117
11129
  staticClass: "email-header-infos"
11118
- }, [_c('p', {
11119
- staticClass: "email-subject",
11120
- attrs: {
11121
- "title": _vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'
11122
- }
11123
- }, [_vm._v("\n " + _vm._s(_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.tratarTextoLongo(_vm.assunto, 30))) || '(Sem assunto)') + "\n ")]), _vm._v(" "), _vm.from && _vm.from.length ? [_c('div', {
11130
+ }, [_vm.from && _vm.from.length ? [_c('div', {
11124
11131
  staticClass: "email-to-from-container"
11125
11132
  }, _vm._l(_vm.from, function (sender, index) {
11126
11133
  return _c('EmailFrom', {
@@ -11244,18 +11251,18 @@ var __vue_staticRenderFns__ = [];
11244
11251
  /* style */
11245
11252
  const __vue_inject_styles__ = function (inject) {
11246
11253
  if (!inject) return;
11247
- inject("data-v-42a3cc0e_0", {
11248
- source: ".show-y-top-enter-active[data-v-42a3cc0e],.show-y-top-leave-enter[data-v-42a3cc0e]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-42a3cc0e],.show-y-top-leave-to[data-v-42a3cc0e]{opacity:0;transform:translateY(-2%)}",
11254
+ inject("data-v-261c6a5a_0", {
11255
+ source: ".show-y-top-enter-active[data-v-261c6a5a],.show-y-top-leave-enter[data-v-261c6a5a]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-261c6a5a],.show-y-top-leave-to[data-v-261c6a5a]{opacity:0;transform:translateY(-2%)}",
11249
11256
  map: undefined,
11250
11257
  media: undefined
11251
- }), inject("data-v-42a3cc0e_1", {
11252
- 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}.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}",
11258
+ }), inject("data-v-261c6a5a_1", {
11259
+ 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%;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:-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}",
11253
11260
  map: undefined,
11254
11261
  media: undefined
11255
11262
  });
11256
11263
  };
11257
11264
  /* scoped */
11258
- const __vue_scope_id__ = "data-v-42a3cc0e";
11265
+ const __vue_scope_id__ = "data-v-261c6a5a";
11259
11266
  /* module identifier */
11260
11267
  const __vue_module_identifier__ = undefined;
11261
11268
  /* functional template */