vue-intergrall-plugins 1.0.89 → 1.0.91

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.
@@ -4140,7 +4140,7 @@ var SingleFilePreview = __vue_component__$C;var script$s = {
4140
4140
  return sizeInBytes += file.size;
4141
4141
  });
4142
4142
  var sizeInMb = parseFloat((sizeInBytes / (1024 * 1024)).toFixed(2));
4143
- if (sizeInMb == 0) {
4143
+ if (sizeInMb == 0 && sizeInBytes == 0) {
4144
4144
  this.file = [];
4145
4145
  return this.$toasted.global.defaultInfo({
4146
4146
  msg: this.dictionary.msg_arquivo_invalido
@@ -4477,7 +4477,7 @@ var __vue_staticRenderFns__$s = [];
4477
4477
  /* style */
4478
4478
  var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
4479
4479
  if (!inject) return;
4480
- inject("data-v-5a0178dd_0", {
4480
+ inject("data-v-7182ad70_0", {
4481
4481
  source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.d-none{display:none}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:8px;width:15px;height:15px;border-radius:50%;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .3s;color:#fff;font-weight:900}.files-counter:hover{opacity:1}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:12.8px}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
4482
4482
  map: undefined,
4483
4483
  media: undefined
@@ -4486,7 +4486,7 @@ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
4486
4486
  /* scoped */
4487
4487
  var __vue_scope_id__$s = undefined;
4488
4488
  /* module identifier */
4489
- var __vue_module_identifier__$s = "data-v-5a0178dd";
4489
+ var __vue_module_identifier__$s = "data-v-7182ad70";
4490
4490
  /* functional template */
4491
4491
  var __vue_is_functional_template__$s = false;
4492
4492
  /* style inject shadow dom */
@@ -5604,7 +5604,9 @@ var StandardMessages = __vue_component__$w;var script$m = {
5604
5604
  this.$emit("handle-screen-share");
5605
5605
  },
5606
5606
  toggleStandardMessages: function toggleStandardMessages() {
5607
- this.showStandardMessages = !this.showStandardMessages;
5607
+ if (this.formattedMessageSettings.hasStandardMessages) {
5608
+ this.showStandardMessages = !this.showStandardMessages;
5609
+ }
5608
5610
  },
5609
5611
  openBlockerStandardMessage: function openBlockerStandardMessage() {
5610
5612
  this.$emit("open-blocker-standard-message");
@@ -5866,7 +5868,7 @@ var __vue_staticRenderFns__$m = [];
5866
5868
  /* style */
5867
5869
  var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
5868
5870
  if (!inject) return;
5869
- inject("data-v-3e071867_0", {
5871
+ inject("data-v-3aaf4d56_0", {
5870
5872
  source: ".text-footer-container{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%;position:relative}.text-footer-container .text-footer{min-height:48px;box-shadow:0 3px 7px -2px rgba(0,0,0,.45);position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #ccc;padding:5px 2px 5px 5px;border-radius:5px}.text-footer-container .text-footer.full{width:100%}.text-footer-container .text-footer.almostFull{width:95%}.text-footer-container .text-footer.medium{width:75%}.text-footer-container.bigger .text-footer{height:80px}.text-footer-container.bigger .text-footer>textarea{font-size:14px;height:75px;max-height:75px;min-height:75px}.text-footer-container textarea{margin:0 5px;border:unset;flex:1;resize:none;min-height:30px;max-height:60px;font-size:14px;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:12px}.text-footer-container .text-footer-audio{flex:1;display:flex;justify-content:center;align-items:center}.text-footer-container audio{flex:1;outline:unset;width:auto;height:38px}.text-footer-container .delete-audio{display:flex;justify-content:center;align-items:center;color:#e74c3c;transition:background .3s;border-radius:50%;font-size:16px;padding:10px;cursor:pointer;margin:0 5px;width:31px;height:31px}.text-footer-container .delete-audio:hover{background-color:rgba(208,0,0,.2)}.text-footer-container .max-characters{font-size:9.2px;z-index:1;color:#444;position:relative;top:30px;left:-30px}.text-footer-container .max-characters.no-width{width:0}.text-footer-container .text-footer-actions{display:flex}.text-footer-container .text-footer-actions.outside-buttons{display:flex;align-items:center;justify-content:flex-end;position:absolute;top:-30px;right:35px;background-color:#fafafa;height:38px}.text-footer-container .text-footer-actions .text-footer-actions--btn{display:flex;justify-content:center;align-items:center;color:#777;border-radius:50%;transition:background .3s;font-size:16px;width:36px;height:36px;cursor:pointer;margin-right:2.5px}.text-footer-container .text-footer-actions .text-footer-actions--btn:last-child{margin-right:unset}.text-footer-container .text-footer-actions .text-footer-actions--btn:hover{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.files-activated{background-color:rgba(0,0,0,.1)}.text-footer-container .text-footer-actions .text-footer-actions--btn.audio-activated{background-color:rgba(208,0,0,.7);color:#fff}.text-footer-container .text-footer-actions .text-footer-actions--btn.left-button{position:absolute;left:0}.text-footer-container .text-footer-hsm-container{margin:12px 0 7px 0}.text-footer-container .text-footer-hsm-container.full{width:100%}.text-footer-container .text-footer-hsm-container.almostFull{width:95%}.text-footer-container .text-footer-hsm-container.medium{width:75%}.text-footer-container .text-footer-hsm-container .text-footer-v-select{border-radius:5px;margin-bottom:5px}.text-footer-container .text-footer-hsm-container .text-footer-select-03{display:flex;align-items:center;flex:1;width:100%}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer-v-select{flex:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03{transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -3px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px;display:flex;justify-content:center;align-items:center;margin-left:5px;margin-bottom:5px;background-color:#f7fe72;width:32px;height:32px}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:hover{opacity:1}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03:active{opacity:1;box-shadow:inset 0 -1px rgba(0,0,0,.2);-webkit-transform:translateY(1px);-moz-transform:translateY(1px);-o-transform:translateY(1px);-ms-transform:translateY(1px);transform:translateY(1px)}.text-footer-container .text-footer-hsm-container .text-footer-select-03 .text-footer--btn-select-03 svg{font-size:16px}.text-footer-container .text-footer-files-container{position:absolute;right:0;top:-55px;padding:5px;background-color:rgba(0,0,0,.4);border-radius:5px;display:flex;align-items:center;justify-content:space-between;z-index:1}.text-footer-container .text-footer-files-container.horizontal{right:-55px;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn{transition-duration:.3s;transition-property:opacity;opacity:.8;cursor:pointer;display:flex;justify-content:center;align-items:center;border-radius:10px;padding:3px;width:40px;height:40px;font-size:16px;color:#fff}.text-footer-container .text-footer-files-container .files-btn:hover{opacity:1}.text-footer-container .text-footer-files-container .files-btn svg{color:#fff}.text-footer-container .text-footer-files-container .files-btn.images{background-color:#9575cd;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.images.margin-bottom{margin-right:unset;margin-bottom:5px}.text-footer-container .text-footer-files-container .files-btn.docs{background-color:#7986cb}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349;margin-left:5px}.text-footer-container .text-footer-files-container .files-btn.both{font-size:15.2px;background-color:#5555ec;flex-direction:column}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(1){transform:translateX(5px)}.text-footer-container .text-footer-files-container .files-btn.both svg:nth-child(2){transform:translateX(-5px)}.text-footer-container .old-footer-preview-container{width:100%;cursor:default;position:absolute;right:0;background-color:#f1f1f1;border:2px solid #ccc;border-bottom:unset;border-top-left-radius:2.5px;border-top-right-radius:2.5px}.text-footer-container .old-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .old-footer-preview-container.isImg,.text-footer-container .old-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px;min-width:300px}.text-footer-container .old-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .old-footer-preview-container.isError{top:-80px;width:100%;height:75px}.text-footer-container .text-footer-alt{margin-top:-12px;width:100%;padding:0 10px}.text-footer-container .text-footer-alt .text-footer-out-session{margin-top:12px}.text-footer-container .text-footer-alt .text-footer-sem-24h{font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#dd7f0c;margin-top:5px;position:absolute;right:0}.text-footer-container .text-footer-alt .sem-templates{margin-top:10px;font-size:12.8px;text-align:right;font-weight:600;letter-spacing:-.5px;color:#921e12}.text-footer-container .text-footer-alt .text-footer-templates{position:relative;width:100%}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection{width:100%;display:flex;align-items:center}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection h4{margin-right:5px}.text-footer-container .text-footer-alt .text-footer-templates .text-footer-group-selection .sm__select{flex:1}.vs__dropdown-menu{font-size:13.6px!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
5871
5873
  map: undefined,
5872
5874
  media: undefined
@@ -5875,7 +5877,7 @@ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
5875
5877
  /* scoped */
5876
5878
  var __vue_scope_id__$m = undefined;
5877
5879
  /* module identifier */
5878
- var __vue_module_identifier__$m = "data-v-3e071867";
5880
+ var __vue_module_identifier__$m = "data-v-3aaf4d56";
5879
5881
  /* functional template */
5880
5882
  var __vue_is_functional_template__$m = false;
5881
5883
  /* style inject shadow dom */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-intergrall-plugins",
3
- "version": "1.0.89",
3
+ "version": "1.0.91",
4
4
  "description": "",
5
5
  "main": "dist/vue-intergrall-plugins.ssr.js",
6
6
  "browser": "dist/vue-intergrall-plugins.esm.js",
@@ -305,7 +305,7 @@ export default {
305
305
  let sizeInBytes = 0;
306
306
  Array.from(this.file).forEach((file) => (sizeInBytes += file.size));
307
307
  const sizeInMb = parseFloat((sizeInBytes / (1024 * 1024)).toFixed(2));
308
- if (sizeInMb == 0) {
308
+ if (sizeInMb == 0 && sizeInBytes == 0) {
309
309
  this.file = [];
310
310
  return this.$toasted.global.defaultInfo({
311
311
  msg: this.dictionary.msg_arquivo_invalido,
@@ -541,7 +541,9 @@ export default {
541
541
  this.$emit("handle-screen-share");
542
542
  },
543
543
  toggleStandardMessages() {
544
- this.showStandardMessages = !this.showStandardMessages;
544
+ if (this.formattedMessageSettings.hasStandardMessages) {
545
+ this.showStandardMessages = !this.showStandardMessages;
546
+ }
545
547
  },
546
548
  openBlockerStandardMessage() {
547
549
  this.$emit("open-blocker-standard-message");