vue-intergrall-plugins 0.0.204 → 0.0.207

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.
@@ -4134,7 +4134,7 @@ var __vue_render__$l = function () {
4134
4134
  class: {
4135
4135
  'horizontal': _vm.cssStyle.outsideButtons
4136
4136
  }
4137
- }, [_c('div', {
4137
+ }, [!_vm.fileSettings.multiple ? [_c('div', {
4138
4138
  staticClass: "files-btn images",
4139
4139
  class: {
4140
4140
  'margin-bottom': _vm.cssStyle.outsideButtons
@@ -4165,7 +4165,25 @@ var __vue_render__$l = function () {
4165
4165
  attrs: {
4166
4166
  "icon": ['fas', 'file-alt']
4167
4167
  }
4168
- })], 1), _vm._v(" "), _c('div', {
4168
+ })], 1)] : _c('div', {
4169
+ staticClass: "files-btn both",
4170
+ attrs: {
4171
+ "title": _vm.dictionary.title_anexo_arq
4172
+ },
4173
+ on: {
4174
+ "click": function ($event) {
4175
+ return _vm.openSelectFileHandler('both');
4176
+ }
4177
+ }
4178
+ }, [_c('fa-icon', {
4179
+ attrs: {
4180
+ "icon": ['fas', 'image']
4181
+ }
4182
+ }), _vm._v(" "), _c('fa-icon', {
4183
+ attrs: {
4184
+ "icon": ['fas', 'file-alt']
4185
+ }
4186
+ })], 1), _vm._v(" "), _vm.fileSettings.systemButton ? _c('div', {
4169
4187
  staticClass: "files-btn system",
4170
4188
  attrs: {
4171
4189
  "title": _vm.dictionary.title_anexo_sistema
@@ -4179,7 +4197,7 @@ var __vue_render__$l = function () {
4179
4197
  attrs: {
4180
4198
  "icon": ['fas', 'server']
4181
4199
  }
4182
- })], 1)]) : _vm._e()]), _vm._v(" "), _c('div', {
4200
+ })], 1) : _vm._e()], 2) : _vm._e()]), _vm._v(" "), _c('div', {
4183
4201
  staticClass: "files-pointers d-none"
4184
4202
  }, [_vm.fileSettings.multiple ? _c('input', {
4185
4203
  attrs: {
@@ -4274,7 +4292,7 @@ var __vue_staticRenderFns__$l = [];
4274
4292
 
4275
4293
  const __vue_inject_styles__$l = function (inject) {
4276
4294
  if (!inject) return;
4277
- inject("data-v-05acb102_0", {
4295
+ inject("data-v-d44e0484_0", {
4278
4296
  source: ".fade-enter-active,.fade-leave-active{transition:opacity .3s}.fade-enter,.fade-leave-to{opacity:0}.files-counter{position:absolute;top:unset;transform:translate(17.5px,-15px);background-color:#888;z-index:1;font-size:.5rem;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}",
4279
4297
  map: undefined,
4280
4298
  media: undefined
@@ -8761,7 +8779,8 @@ var script$h = {
8761
8779
  return {
8762
8780
  docsExtensions: "",
8763
8781
  imagesExtensions: "",
8764
- multiple: false
8782
+ multiple: false,
8783
+ systemButton: false
8765
8784
  };
8766
8785
  },
8767
8786
  required: false
@@ -9414,8 +9433,8 @@ var __vue_staticRenderFns__$h = [];
9414
9433
 
9415
9434
  const __vue_inject_styles__$h = function (inject) {
9416
9435
  if (!inject) return;
9417
- inject("data-v-fb83a0b4_0", {
9418
- source: ".toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}.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:.875rem;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:.875rem;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:.75rem}.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:1rem;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:.575rem;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:-42px;right:2px;background-color:#ddd;box-shadow:inset 0 -10px 5px -11px rgba(0,0,0,.5)}.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;padding:10px;font-size:1rem;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:1rem}.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:1rem;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;margin-right:5px}.text-footer-container .text-footer-files-container .files-btn.system{background-color:#49a349}.text-footer-container .text-footer-preview-container{cursor:default;position:absolute;left: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 .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-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:.8rem;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:.8rem;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:.85rem!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
9436
+ inject("data-v-48659e85_0", {
9437
+ source: ".toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}.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:.875rem;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:.875rem;font-family:inherit;background:inherit}.text-footer-container textarea:focus{outline:unset}.text-footer-container textarea::placeholder{font-size:.75rem}.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:1rem;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:.575rem;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:-42px;right:2px;background-color:#ddd;box-shadow:inset 0 -10px 5px -11px rgba(0,0,0,.5)}.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;padding:10px;font-size:1rem;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:1rem}.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:1rem;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:.95rem;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 .text-footer-preview-container{cursor:default;position:absolute;left: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 .text-footer-preview-container.isDoc{top:-50px;width:100%;height:45px}.text-footer-container .text-footer-preview-container.isImg,.text-footer-container .text-footer-preview-container.isMultiple{top:-205px;width:100%;height:200px}.text-footer-container .text-footer-preview-container.isImg .text-footer-image-preview{height:170px}.text-footer-container .text-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:.8rem;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:.8rem;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:.85rem!important}.emoji-mart-anchor,.emoji-mart-emoji span{cursor:pointer!important}.emoji-mart{z-index:2!important}.emoji-mart-scroll{overflow-x:hidden}",
9419
9438
  map: undefined,
9420
9439
  media: undefined
9421
9440
  });
@@ -9721,37 +9740,39 @@ var script$f = {
9721
9740
  if (index === "components" && Array.isArray(this.selectedTemplate[index])) {
9722
9741
  const arrComponents = this.selectedTemplate[index];
9723
9742
  arrComponents.map(component => {
9724
- component.parameters.map(message => {
9725
- message.currentText = message.text;
9726
- let keyIndex = 0;
9743
+ if (component && component.parameters && component.parameters.length) {
9744
+ component.parameters.map(message => {
9745
+ message.currentText = message.text;
9746
+ let keyIndex = 0;
9727
9747
 
9728
- while (keyIndex < keys.length) {
9729
- const varName = `{{${keys[keyIndex]}}}`;
9748
+ while (keyIndex < keys.length) {
9749
+ const varName = `{{${keys[keyIndex]}}}`;
9730
9750
 
9731
- if (message.text.indexOf(varName) != -1) {
9732
- /**Gerando os obejetos de parametros da notifica??o para o component */
9733
- if (component.type === "header") {
9734
- this.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
9751
+ if (message.text.indexOf(varName) != -1) {
9752
+ /**Gerando os obejetos de parametros da notificacao para o component */
9753
+ if (component.type === "header") {
9754
+ this.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
9735
9755
 
9736
- this.selectedTemplate['parameters'][component.type] = {
9737
- tipo: "text",
9738
- text: values[keyIndex]
9739
- };
9740
- } else if (!this.selectedTemplate['parameters'][component.type]) {
9741
- this.selectedTemplate['parameters'][component.type] = new Array();
9742
- } //Aplicando valores das v?riaveis dentro dos outros componentes com execess?o do header
9756
+ this.selectedTemplate['parameters'][component.type] = {
9757
+ tipo: "text",
9758
+ text: values[keyIndex]
9759
+ };
9760
+ } else if (!this.selectedTemplate['parameters'][component.type]) {
9761
+ this.selectedTemplate['parameters'][component.type] = new Array();
9762
+ } //Aplicando valores das v?riaveis dentro dos outros componentes com execess?o do header
9743
9763
 
9744
9764
 
9745
- if (this.selectedTemplate['parameters'][component.type] && component.type !== 'header') {
9746
- this.selectedTemplate['parameters'][component.type].push(values[keyIndex]);
9765
+ if (this.selectedTemplate['parameters'][component.type] && component.type !== 'header') {
9766
+ this.selectedTemplate['parameters'][component.type].push(values[keyIndex]);
9767
+ }
9768
+
9769
+ message.currentText = message.currentText.replace(varName, values[keyIndex]);
9747
9770
  }
9748
9771
 
9749
- message.currentText = message.currentText.replace(varName, values[keyIndex]);
9772
+ keyIndex++;
9750
9773
  }
9751
-
9752
- keyIndex++;
9753
- }
9754
- });
9774
+ });
9775
+ }
9755
9776
  });
9756
9777
  }
9757
9778
  }
@@ -9849,7 +9870,7 @@ var __vue_staticRenderFns__$f = [];
9849
9870
 
9850
9871
  const __vue_inject_styles__$f = function (inject) {
9851
9872
  if (!inject) return;
9852
- inject("data-v-1c24c23b_0", {
9873
+ inject("data-v-0b0bc59a_0", {
9853
9874
  source: "*{box-sizing:border-box}.toasted svg{margin-right:10px}.d-none{display:none}ul{list-style-type:none}h1,h2,h3,h4,p{margin:0;padding:0}.tg-container{width:100%;max-width:800px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.tg-options{width:100%;display:flex}.tg-options.column{flex-direction:column}.tg-options h4{margin-right:5px}.tg-select{flex:1;height:34px;overflow:hidden}.tg-select .vs__dropdown-toggle{background-color:#fff;height:34px;overflow:hidden;display:flex;align-items:center}.tg-select .vs__selected-options{height:34px;overflow:hidden}.tg-select .vs__selected-options>span{white-space:nowrap;text-overflow:ellipsis;flex:1}.tg-select .vs__selected-options>input{flex-grow:0}.vs__dropdown-option{transition:background-color 150ms;white-space:normal}.vs__dropdown-option:nth-child(odd){background-color:#f1f1f1}.vs__dropdown-option--highlight,.vs__dropdown-option--selected,.vs__dropdown-option:active,.vs__dropdown-option:focus,.vs__dropdown-option:hover{background-color:#5897fb!important;color:#fff}.tg-component{width:100%}.ts-container{width:100%;display:flex;justify-content:space-between}.ts-content{--border-color:#CCC;--background-color:#DFF0D8;--input-background-color:#FFF;--input-border-default:#007BFF;--input-border-error:#E74C3C;--placeholder-color:#BBB;flex:2;font-size:.7rem;padding:10px 0}.ts-content footer,.ts-content header,.ts-content section{padding:3px 5px;background-color:var(--background-color)}.ts-content header,.ts-content section{border-right:1px solid var(--border-color);border-left:1px solid var(--border-color)}.ts-content header{border-top-left-radius:2.5px;border-top-right-radius:2.5px;border-top:1px solid var(--border-color)}.ts-content header{font-weight:550}.ts-content section{line-height:25px}.ts-content section.margin-bottom{border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;border-bottom:1px solid var(--border-color)}.ts-content footer{border:1px solid var(--border-color);border-top:unset;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px}.ts-content input{border:1px solid transparent;outline:0;font-size:.8rem;padding:2.5px 5px;background-color:var(--input-background-color)}.ts-content input::placeholder{color:var(--placeholder-color)}.ts-content input.active,.ts-content input:focus{border:1px solid var(--input-border-default)}.ts-content input.invalid{border:1px solid var(--input-border-error)!important}.ts-content__var{display:inline-block;position:relative}.ts-dropdown{margin:0;padding:0;position:absolute;top:19px;left:0;background:#eee;width:100%;z-index:1;transition:all 150ms;visibility:hidden;opacity:0;list-style-type:none;border:1px solid #444;border-top:unset}.ts-dropdown li{width:100%;opacity:.9;cursor:pointer;font-weight:550;padding:2px 5px;transition:background-color 150ms}.ts-dropdown li:focus,.ts-dropdown li:focus-within,.ts-dropdown li:hover{opacity:1;background-color:#555;color:#fff}.ts-dropdown.visible{visibility:visible;opacity:1}.tg-btn{width:40%;display:flex;justify-content:center;align-items:center}.tg-btn button{outline:unset;border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition-duration:.3s;user-select:none;cursor:pointer;box-shadow:inset 0 -2px rgba(0,0,0,.2);opacity:.9;border-radius:2.5px}.tg-btn button>svg{margin-right:5px;color:#003166}.tg-btn button:hover{opacity:1}.tg-btn button: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)}.tg-btn button: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)}.tg-btn button:active,.tg-btn button:focus{outline:unset}.tg-btn.small-btn{width:auto;margin-left:5px}.tg-btn.small-btn svg{margin-right:0}.tg-btn.small-btn button{min-width:35px;width:35px;padding:0;display:flex;justify-content:center;align-items:center}.tm-container{border:1px solid var(--border-color);border-radius:2.5px;display:flex}",
9854
9875
  map: undefined,
9855
9876
  media: undefined
@@ -11216,6 +11237,10 @@ var script$9 = {
11216
11237
  type: Object,
11217
11238
  required: true
11218
11239
  },
11240
+ anexos: {
11241
+ type: Array,
11242
+ required: false
11243
+ },
11219
11244
  dictionary: {
11220
11245
  type: Object,
11221
11246
  required: true
@@ -11223,12 +11248,29 @@ var script$9 = {
11223
11248
  },
11224
11249
 
11225
11250
  mounted() {
11251
+ console.log(this.anexos);
11252
+
11226
11253
  if (this.validateInterativity()) {
11227
11254
  this.verifyInfoAditional();
11228
11255
  }
11229
11256
  },
11230
11257
 
11231
11258
  methods: {
11259
+ returnCurrentClass(isDoc) {
11260
+ return `fs-2 cursor-pointer ${isDoc == 'pdf' ? 'text-red' : 'text-blue'}`;
11261
+ },
11262
+
11263
+ returnCurrentIcon(isDoc) {
11264
+ return isDoc == 'pdf' ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
11265
+ },
11266
+
11267
+ openFile(url, isImg) {
11268
+ const width = window.innerWidth;
11269
+ const height = window.innerHeight;
11270
+ const options = !isImg ? `width=${width},height=${height}` : "width=auto,height=auto";
11271
+ window.open(url, "card-file", options);
11272
+ },
11273
+
11232
11274
  validateInterativity() {
11233
11275
  try {
11234
11276
  if (this.interatividade.formulario && this.interatividade.formulario.length) {
@@ -11332,7 +11374,64 @@ var __vue_render__$9 = function () {
11332
11374
  "textContent": _vm._s(form.TEXTO)
11333
11375
  }
11334
11376
  }) : _vm._e()])])]);
11335
- }), 0)], 2)] : _vm._e()], 2);
11377
+ }), 0), _vm._v(" "), _c('h3', {
11378
+ staticClass: "m-5 text-bold",
11379
+ domProps: {
11380
+ "textContent": _vm._s("Anexos")
11381
+ }
11382
+ }), _vm._v(" "), _c('div', {
11383
+ staticClass: "d-flex flex-wrap align-items-center"
11384
+ }, _vm._l(_vm.anexos, function (ref, fileIndex) {
11385
+ var name = ref.name;
11386
+ var url = ref.url;
11387
+ var type = ref.type;
11388
+ var mkuDownload = ref.mkuDownload;
11389
+ return _c('div', {
11390
+ key: "file-" + fileIndex,
11391
+ staticClass: "mb-5 mx-5 d-flex"
11392
+ }, [!type ? _c('img', {
11393
+ staticClass: "box-shadow max-w-75px max-h-75px cursor-pointer",
11394
+ attrs: {
11395
+ "src": url,
11396
+ "alt": name,
11397
+ "title": name
11398
+ },
11399
+ on: {
11400
+ "click": function ($event) {
11401
+ return _vm.openFile(url, type);
11402
+ }
11403
+ }
11404
+ }) : _c('fa-icon', {
11405
+ class: _vm.returnCurrentClass(type),
11406
+ attrs: {
11407
+ "icon": _vm.returnCurrentIcon(type),
11408
+ "title": name
11409
+ },
11410
+ on: {
11411
+ "click": function ($event) {
11412
+ return _vm.openFile(url, type);
11413
+ }
11414
+ }
11415
+ }), _vm._v(" "), _c('a', {
11416
+ staticClass: "d-flex align-items-end ml-3 text-dark",
11417
+ attrs: {
11418
+ "href": mkuDownload,
11419
+ "download": "" + name,
11420
+ "target": "_blank",
11421
+ "rel": "noreferrer noopener",
11422
+ "title": "Download " + name
11423
+ }
11424
+ }, [_c('fa-icon', {
11425
+ attrs: {
11426
+ "icon": ['fas', 'download']
11427
+ }
11428
+ })], 1)], 1);
11429
+ }), 0), _vm._v(" "), !_vm.anexos.length ? _c('p', {
11430
+ staticClass: "text-center mb-5",
11431
+ domProps: {
11432
+ "textContent": _vm._s("Sem anexos")
11433
+ }
11434
+ }) : _vm._e()], 2)] : _vm._e()], 2);
11336
11435
  };
11337
11436
 
11338
11437
  var __vue_staticRenderFns__$9 = [];
@@ -11340,8 +11439,8 @@ var __vue_staticRenderFns__$9 = [];
11340
11439
 
11341
11440
  const __vue_inject_styles__$9 = function (inject) {
11342
11441
  if (!inject) return;
11343
- inject("data-v-7c3f68fa_0", {
11344
- source: ".show-x-enter-active[data-v-7c3f68fa],.show-x-leave-enter[data-v-7c3f68fa]{opacity:1;transform:translateX(0);transition:all .2s linear}.show-x-enter[data-v-7c3f68fa],.show-x-leave-to[data-v-7c3f68fa]{opacity:0;transform:translateX(5%)}.divisor-form-info-aditional[data-v-7c3f68fa]{display:flex;align-items:center;justify-content:space-around}.info-aditional[data-v-7c3f68fa]{border-bottom:1px solid #ccc;width:49%}.interatividade-form-header[data-v-7c3f68fa]{background-color:#efefef;margin-top:5px;border-top-right-radius:10px;border-top-left-radius:10px;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;justify-content:space-between;display:flex;color:#333;font-weight:700;font-size:.9rem}.interatividade-form-body[data-v-7c3f68fa]{padding:0 10px;background:#fff;border-right:1px solid #efefef;border-left:1px solid #efefef;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-bottom:10px}.interatividade[data-v-7c3f68fa]{margin:10px 0}.interatividade-titulo-form[data-v-7c3f68fa]{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden;max-width:100%;margin:0;padding:0;padding-top:5px}.interatividade-description-form[data-v-7c3f68fa]{overflow:hidden;max-width:100%;margin:0;padding:0}.interatividade-lista[data-v-7c3f68fa]{width:100%;min-width:200px;border-radius:15px;background-color:#fff;color:#333;margin:10px 0}.interatividade-lista-conteudo[data-v-7c3f68fa]{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-lista-titulo[data-v-7c3f68fa]{font-weight:700;font-size:1.2em;margin-bottom:10px}.interatividade-lista-rodape[data-v-7c3f68fa]{color:#818181;margin-top:5px}.interatividade-lista-link[data-v-7c3f68fa]{width:100%;text-align:center;padding:10px;color:#006eff;cursor:pointer;transition:color .2s ease-in-out}.interatividade-lista-link[data-v-7c3f68fa]:hover{color:#00628f}",
11442
+ inject("data-v-0f484580_0", {
11443
+ source: ".show-x-enter-active[data-v-0f484580],.show-x-leave-enter[data-v-0f484580]{opacity:1;transform:translateX(0);transition:all .2s linear}.show-x-enter[data-v-0f484580],.show-x-leave-to[data-v-0f484580]{opacity:0;transform:translateX(5%)}.divisor-form-info-aditional[data-v-0f484580]{display:flex;align-items:center;justify-content:space-around}.info-aditional[data-v-0f484580]{border-bottom:1px solid #ccc;width:49%}.interatividade-form-header[data-v-0f484580]{background-color:#efefef;margin-top:5px;border-top-right-radius:10px;border-top-left-radius:10px;padding-left:10px;padding-right:10px;padding-top:5px;padding-bottom:5px;justify-content:space-between;display:flex;color:#333;font-weight:700;font-size:.9rem}.interatividade-form-body[data-v-0f484580]{padding:0 10px;background:#fff;border-right:1px solid #efefef;border-left:1px solid #efefef;border-bottom-left-radius:10px;border-bottom-right-radius:10px;padding-bottom:10px}.interatividade[data-v-0f484580]{margin:10px 0}.interatividade-titulo-form[data-v-0f484580]{white-space:nowrap;text-overflow:ellipsis;font-weight:700;overflow:hidden;max-width:100%;margin:0;padding:0;padding-top:5px}.interatividade-description-form[data-v-0f484580]{overflow:hidden;max-width:100%;margin:0;padding:0}.interatividade-lista[data-v-0f484580]{width:100%;min-width:200px;border-radius:15px;background-color:#fff;color:#333;margin:10px 0}.interatividade-lista-conteudo[data-v-0f484580]{padding:10px;border-bottom:1px solid #d7d7d7}.interatividade-lista-titulo[data-v-0f484580]{font-weight:700;font-size:1.2em;margin-bottom:10px}.interatividade-lista-rodape[data-v-0f484580]{color:#818181;margin-top:5px}.interatividade-lista-link[data-v-0f484580]{width:100%;text-align:center;padding:10px;color:#006eff;cursor:pointer;transition:color .2s ease-in-out}.interatividade-lista-link[data-v-0f484580]:hover{color:#00628f}.text-blue[data-v-0f484580]{color:#294ed3}.text-red[data-v-0f484580]{color:#e74c3c}.text-dark[data-v-0f484580]{color:#333}.ml-3[data-v-0f484580]{margin-left:3px}.fs-2[data-v-0f484580]{font-size:2rem}.flex-wrap[data-v-0f484580]{-ms-flex-wrap:wrap;flex-wrap:wrap}.align-items-center[data-v-0f484580]{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.d-flex[data-v-0f484580]{display:-webkit-box;display:-ms-flexbox;display:flex}.align-items-end[data-v-0f484580]{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.text-bold[data-v-0f484580]{font-weight:700}.m-5[data-v-0f484580]{margin:5px}.mb-5[data-v-0f484580]{margin-bottom:5px}.mx-5[data-v-0f484580]{margin-left:5px;margin-right:5px}.cursor-pointer[data-v-0f484580]{cursor:pointer}",
11345
11444
  map: undefined,
11346
11445
  media: undefined
11347
11446
  });
@@ -11349,7 +11448,7 @@ const __vue_inject_styles__$9 = function (inject) {
11349
11448
  /* scoped */
11350
11449
 
11351
11450
 
11352
- const __vue_scope_id__$9 = "data-v-7c3f68fa";
11451
+ const __vue_scope_id__$9 = "data-v-0f484580";
11353
11452
  /* module identifier */
11354
11453
 
11355
11454
  const __vue_module_identifier__$9 = undefined;
@@ -12689,6 +12788,7 @@ var __vue_render__$3 = function () {
12689
12788
  }, [_vm.interatividade && _vm.validateInterativity() ? _c('InteratividadeFormulario', {
12690
12789
  attrs: {
12691
12790
  "interatividade": _vm.interatividade,
12791
+ "anexos": _vm.anexos,
12692
12792
  "dictionary": _vm.dictionary
12693
12793
  }
12694
12794
  }) : _c('div', {
@@ -12954,7 +13054,7 @@ var __vue_staticRenderFns__$3 = [];
12954
13054
 
12955
13055
  const __vue_inject_styles__$3 = function (inject) {
12956
13056
  if (!inject) return;
12957
- inject("data-v-257d4492_0", {
13057
+ inject("data-v-7621b8ba_0", {
12958
13058
  source: ":root{--message-color:#373737}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius:2.5px;min-width:150px;min-height:60px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:relative;max-width:80%;margin-bottom:10px;font-size:.85rem;word-break:break-word}.mensagem.mapa{width:100%}.mensagem.hist-msg{animation:show 1s}.mensagem a{margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.mensagem a:hover{text-decoration:underline}.message p{white-space:pre-wrap}.mensagem-anexo a,.mensagem-div-mapa a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reply{cursor:pointer;position:absolute;right:53px;bottom:5px;font-size:.6rem;color:#67a332;width:.9rem;height:.9rem;display:flex;justify-content:center;align-items:center;border-radius:50%;background-color:#fff}.reply svg{margin-top:-1px;margin-right:-1px}.reply-with-2-icons{right:30px}.check{cursor:pointer;position:absolute;right:10px;bottom:2px;font-size:.7rem}.check.visualizado,.check.visualizado svg{color:#006daa}.check.verde,.check.verde svg{color:#4f772d}.check.vermelho,.check.vermelho svg{color:#ba181b}.check.cinza,.check.cinza svg{color:#999}.check.preto,.check.preto svg{color:#666}.star{cursor:pointer;position:absolute;right:30px;bottom:2px;font-size:.4rem;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:.7rem;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:.6rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.mensagem__principal{width:100%;display:flex;justify-content:flex-end}.mensagem__principal>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid var(--message-color);bottom:5px;right:-10px;transform:rotate(-90deg)}.mensagem__principal>.mensagem{background-color:var(--message-color);color:#fff}.mensagem__principal>.mensagem .horario-envio{color:#fff}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:#fff}.mensagem__outros{width:100%;display:flex}.mensagem__outros>.mensagem{background-color:#fff;color:#333}.mensagem__outros>.mensagem::after{content:\"\";width:0;height:0;position:absolute;border-left:10px solid transparent;border-right:10px solid transparent;border-top:10px solid #fff;bottom:5px;left:-10px;transform:rotate(90deg)}.mensagem__outros>.autor-mensagem{left:5px;color:#333}.mensagem-div-mapa{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;margin-bottom:5px}.msg-mapa{width:100%;min-height:225px;height:100%;box-sizing:initial}.msg-mapa img{max-width:none!important}.info-mapa{list-style-type:none}.info-mapa li.title{font-size:.85em}.info-mapa li.address,.info-mapa li.url{font-size:.7em}.info-mapa li.url{font-size:.7em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
12959
13059
  map: undefined,
12960
13060
  media: undefined