vue-intergrall-plugins 0.0.244 → 0.0.247

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.
@@ -1868,7 +1868,7 @@ var createPopper = /*#__PURE__*/popperGenerator({
1868
1868
  //
1869
1869
  //
1870
1870
  //
1871
- var script$x = {
1871
+ var script$y = {
1872
1872
  data: function data() {
1873
1873
  return {
1874
1874
  varValues: {},
@@ -1924,6 +1924,10 @@ var script$x = {
1924
1924
  });
1925
1925
  },
1926
1926
  methods: {
1927
+ handleInitialFocus: function handleInitialFocus() {
1928
+ var allInputs = document.querySelectorAll(".input-var-".concat(this.identifier));
1929
+ if (allInputs.length) allInputs[0].focus();else if (this.$refs["template-single-button"]) this.$refs["template-single-button"].focus();
1930
+ },
1927
1931
  limparInputVar: function limparInputVar() {
1928
1932
  var _this = this;
1929
1933
 
@@ -1983,6 +1987,7 @@ var script$x = {
1983
1987
  var _this3 = this;
1984
1988
 
1985
1989
  var varList = input.nextSibling;
1990
+ var currentInstance = this;
1986
1991
  input.setAttribute("placeholder", "{{var_".concat(this.lastVar, "}}"));
1987
1992
  input.setAttribute("id", "{{var_".concat(this.lastVar, "}}"));
1988
1993
  input.addEventListener("input", function (event) {
@@ -1995,23 +2000,42 @@ var script$x = {
1995
2000
  input.classList.add("active");
1996
2001
 
1997
2002
  if (varList) {
1998
- for (var i = 0; i < varList.children.length; i++) {
1999
- varList.children[i].addEventListener("click", function () {
2000
- input.value = "[".concat(this.innerText, "]");
2001
- input.classList.add("active");
2002
- input.dispatchEvent(new Event('input'));
2003
- });
2004
- }
2003
+ (function () {
2004
+ var handleNextFocus = function handleNextFocus() {
2005
+ var allInputs = document.querySelectorAll(".input-var-".concat(currentInstance.identifier));
2006
+ var stop = false;
2007
+
2008
+ if (allInputs.length) {
2009
+ allInputs.forEach(function (elem) {
2010
+ if (!elem.value && !stop) {
2011
+ stop = true;
2012
+ elem.focus();
2013
+ }
2014
+ });
2015
+ }
2005
2016
 
2006
- var containerGeral = document.querySelector(".tg-container");
2007
- varList.classList.add("visible");
2008
- var maxBottom = containerGeral.getBoundingClientRect().bottom,
2009
- currentBottom = varList.getBoundingClientRect().bottom;
2017
+ if (!stop && _this3.$refs["template-single-button"]) _this3.$refs["template-single-button"].focus();
2018
+ };
2010
2019
 
2011
- if (currentBottom > maxBottom) {
2012
- varList.style.top = "-".concat(varList.getBoundingClientRect().height, "px");
2013
- varList.style.borderTop = "1px solid currentColor";
2014
- }
2020
+ for (var i = 0; i < varList.children.length; i++) {
2021
+ varList.children[i].addEventListener("click", function () {
2022
+ input.value = "[".concat(this.innerText, "]");
2023
+ input.classList.add("active");
2024
+ input.dispatchEvent(new Event('input'));
2025
+ handleNextFocus();
2026
+ });
2027
+ }
2028
+
2029
+ var containerGeral = document.querySelector(".tg-container");
2030
+ varList.classList.add("visible");
2031
+ var maxBottom = containerGeral.getBoundingClientRect().bottom,
2032
+ currentBottom = varList.getBoundingClientRect().bottom;
2033
+
2034
+ if (currentBottom > maxBottom) {
2035
+ varList.style.top = "-".concat(varList.getBoundingClientRect().height, "px");
2036
+ varList.style.borderTop = "1px solid currentColor";
2037
+ }
2038
+ })();
2015
2039
  }
2016
2040
  });
2017
2041
  input.addEventListener("blur", function () {
@@ -2153,10 +2177,10 @@ var script$x = {
2153
2177
  }
2154
2178
  return script;
2155
2179
  }/* script */
2156
- var __vue_script__$x = script$x;
2180
+ var __vue_script__$y = script$y;
2157
2181
  /* template */
2158
2182
 
2159
- var __vue_render__$x = function __vue_render__() {
2183
+ var __vue_render__$y = function __vue_render__() {
2160
2184
  var _vm = this;
2161
2185
 
2162
2186
  var _h = _vm.$createElement;
@@ -2188,31 +2212,31 @@ var __vue_render__$x = function __vue_render__() {
2188
2212
  })], 2)]) : _vm._e()], 2);
2189
2213
  };
2190
2214
 
2191
- var __vue_staticRenderFns__$x = [];
2215
+ var __vue_staticRenderFns__$y = [];
2192
2216
  /* style */
2193
2217
 
2194
- var __vue_inject_styles__$x = undefined;
2218
+ var __vue_inject_styles__$y = undefined;
2195
2219
  /* scoped */
2196
2220
 
2197
- var __vue_scope_id__$x = undefined;
2221
+ var __vue_scope_id__$y = undefined;
2198
2222
  /* module identifier */
2199
2223
 
2200
- var __vue_module_identifier__$x = "data-v-b408301c";
2224
+ var __vue_module_identifier__$y = "data-v-affaa3f8";
2201
2225
  /* functional template */
2202
2226
 
2203
- var __vue_is_functional_template__$x = false;
2227
+ var __vue_is_functional_template__$y = false;
2204
2228
  /* style inject */
2205
2229
 
2206
2230
  /* style inject SSR */
2207
2231
 
2208
2232
  /* style inject shadow dom */
2209
2233
 
2210
- var __vue_component__$F = /*#__PURE__*/normalizeComponent({
2211
- render: __vue_render__$x,
2212
- staticRenderFns: __vue_staticRenderFns__$x
2213
- }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, undefined, undefined, undefined);
2234
+ var __vue_component__$G = /*#__PURE__*/normalizeComponent({
2235
+ render: __vue_render__$y,
2236
+ staticRenderFns: __vue_staticRenderFns__$y
2237
+ }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, undefined, undefined, undefined);
2214
2238
 
2215
- var TemplateSingle = __vue_component__$F;var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
2239
+ var TemplateSingle = __vue_component__$G;var setResizeListeners = function setResizeListeners($el, inputClass, parentClass) {
2216
2240
  var inputTargets = $el.querySelectorAll(inputClass);
2217
2241
  inputTargets.forEach(function (target) {
2218
2242
  target.addEventListener("input", function () {
@@ -2399,7 +2423,7 @@ var categories=[{id:"people",name:"Smileys & People",emojis:["grinning","grin","
2399
2423
  //
2400
2424
  //
2401
2425
  //
2402
- var script$w = {};function createInjectorSSR(context) {
2426
+ var script$x = {};function createInjectorSSR(context) {
2403
2427
  if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {
2404
2428
  context = __VUE_SSR_CONTEXT__;
2405
2429
  }
@@ -2440,10 +2464,10 @@ function renderStyles(styles) {
2440
2464
  }
2441
2465
  return css;
2442
2466
  }/* script */
2443
- var __vue_script__$w = script$w;
2467
+ var __vue_script__$x = script$x;
2444
2468
  /* template */
2445
2469
 
2446
- var __vue_render__$w = function __vue_render__() {
2470
+ var __vue_render__$x = function __vue_render__() {
2447
2471
  var _vm = this;
2448
2472
 
2449
2473
  var _h = _vm.$createElement;
@@ -2455,10 +2479,10 @@ var __vue_render__$w = function __vue_render__() {
2455
2479
  }, [_vm._ssrNode("<div class=\"skeleton-options\"><div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div></div> <div class=\"skeleton-input box-shadow ov__skeleton--animation\"></div> <div class=\"skeleton-label box-shadow ov__skeleton--animation\"></div> <div class=\"skeleton-list\"><div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div> <div class=\"opt box-shadow ov__skeleton--animation\"></div></div>")]);
2456
2480
  };
2457
2481
 
2458
- var __vue_staticRenderFns__$w = [];
2482
+ var __vue_staticRenderFns__$x = [];
2459
2483
  /* style */
2460
2484
 
2461
- var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
2485
+ var __vue_inject_styles__$x = function __vue_inject_styles__(inject) {
2462
2486
  if (!inject) return;
2463
2487
  inject("data-v-606babe9_0", {
2464
2488
  source: ".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)}.ov__skeleton--animation{animation:skeleton-loading 1s linear infinite alternate}@keyframes skeleton-loading{0%{background-color:#f7f7f7}70%{background-color:#ededed}100%{background-color:#ededed}}.skeleton-picker{position:absolute;width:100%;height:100%;z-index:91;border-radius:5px;background-color:#fff;border:1px solid #ccc}.skeleton-options{width:100%;height:48px;display:flex;justify-content:space-between;align-items:center;padding:0 15px;border-bottom:1px solid #ccc}.skeleton-options .opt{width:25px;height:50%}.skeleton-input{width:calc(100% - 30px);height:25px;margin:7px 15px;border-radius:2.5px}.skeleton-label{margin:15px 0;width:100%;height:30px}.skeleton-list{width:100%;padding-left:7.5px;display:flex;align-items:center;flex-wrap:wrap}.skeleton-list .opt{margin:0 5px 15px 6px;width:25px;height:25px}",
@@ -2469,22 +2493,22 @@ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
2469
2493
  /* scoped */
2470
2494
 
2471
2495
 
2472
- var __vue_scope_id__$w = undefined;
2496
+ var __vue_scope_id__$x = undefined;
2473
2497
  /* module identifier */
2474
2498
 
2475
- var __vue_module_identifier__$w = "data-v-606babe9";
2499
+ var __vue_module_identifier__$x = "data-v-606babe9";
2476
2500
  /* functional template */
2477
2501
 
2478
- var __vue_is_functional_template__$w = false;
2502
+ var __vue_is_functional_template__$x = false;
2479
2503
  /* style inject shadow dom */
2480
2504
 
2481
- var __vue_component__$E = /*#__PURE__*/normalizeComponent({
2482
- render: __vue_render__$w,
2483
- staticRenderFns: __vue_staticRenderFns__$w
2484
- }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, createInjectorSSR, undefined);
2505
+ var __vue_component__$F = /*#__PURE__*/normalizeComponent({
2506
+ render: __vue_render__$x,
2507
+ staticRenderFns: __vue_staticRenderFns__$x
2508
+ }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, undefined, createInjectorSSR, undefined);
2485
2509
 
2486
- var SkeletonPicker = __vue_component__$E;//
2487
- var script$v = {
2510
+ var SkeletonPicker = __vue_component__$F;//
2511
+ var script$w = {
2488
2512
  components: {
2489
2513
  SkeletonPicker: SkeletonPicker
2490
2514
  },
@@ -2672,10 +2696,10 @@ var script$v = {
2672
2696
  }
2673
2697
  }
2674
2698
  };/* script */
2675
- var __vue_script__$v = script$v;
2699
+ var __vue_script__$w = script$w;
2676
2700
  /* template */
2677
2701
 
2678
- var __vue_render__$v = function __vue_render__() {
2702
+ var __vue_render__$w = function __vue_render__() {
2679
2703
  var _vm = this;
2680
2704
 
2681
2705
  var _h = _vm.$createElement;
@@ -2697,10 +2721,10 @@ var __vue_render__$v = function __vue_render__() {
2697
2721
  }) + "</div>") + "</div>")], 2);
2698
2722
  };
2699
2723
 
2700
- var __vue_staticRenderFns__$v = [];
2724
+ var __vue_staticRenderFns__$w = [];
2701
2725
  /* style */
2702
2726
 
2703
- var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
2727
+ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
2704
2728
  if (!inject) return;
2705
2729
  inject("data-v-678ca55c_0", {
2706
2730
  source: ".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)}.sm-emoji-picker{width:310px;z-index:2;border:1px solid #ccc;border-radius:5px;background-color:#fff;display:flex;flex-direction:column}.sm-emoji-header{width:100%;display:flex;align-items:center;justify-content:space-between;margin:10px 0;border-bottom:1px solid #ccc}.sm-emoji-link{padding:0 5px 5px 5px;display:flex;justify-content:center;align-items:center;cursor:pointer;opacity:.9;transition:all .2s;border-bottom:2px solid transparent}.sm-emoji-link a{margin:0;padding:0;fill:#999}.sm-emoji-link.active a>svg,.sm-emoji-link:hover a>svg{opacity:1;fill:#666}.sm-emoji-link.active a>svg[stroke-linecap],.sm-emoji-link:hover a>svg[stroke-linecap]{opacity:1;fill:transparent;stroke:#666}.sm-emoji-link.active{border-bottom:2px solid #666}.sm-emoji-scroll{width:100%;height:calc(100% - 52px);max-height:calc(100% - 52px);scroll-behavior:smooth;overflow-y:auto;overflow-x:hidden;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:8px;position:relative}.sm-emoji-scroll::-webkit-scrollbar{width:8px}.sm-emoji-scroll::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.sm-emoji-scroll::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#666}.sm-emoji-scroll::-webkit-scrollbar-thumb:hover{background-color:#555}.sm-emoji-search{width:100%;display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:1;background:#fff;padding-bottom:10px}.sm-emoji-search>input{width:90%;outline:0;border:1px solid #ccc;border-radius:2.5px;padding:5px 10px;transition:border .2s}.sm-emoji-search>input:active,.sm-emoji-search>input:focus,.sm-emoji-search>input:hover{outline:0;border:1px solid #999}.sm-emoji-search.sticky{position:fixed;width:310px;background-color:#fff}.sm-emoji-selection{width:100%;margin-bottom:10px}.sm-emoji-title{width:100%;display:flex;justify-content:flex-start;align-items:center;background-color:#f7f7f7;padding:5px 0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.sm-emoji-title svg{margin:0 5px}.sm-emoji-group{width:100%;display:flex;flex-wrap:wrap;font-size:1.375rem}.sm-emoji-item{cursor:pointer;opacity:.8;transition:opacity .2s;margin:3.5px}.sm-emoji-item:hover{opacity:1}",
@@ -2711,22 +2735,22 @@ var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
2711
2735
  /* scoped */
2712
2736
 
2713
2737
 
2714
- var __vue_scope_id__$v = undefined;
2738
+ var __vue_scope_id__$w = undefined;
2715
2739
  /* module identifier */
2716
2740
 
2717
- var __vue_module_identifier__$v = "data-v-678ca55c";
2741
+ var __vue_module_identifier__$w = "data-v-678ca55c";
2718
2742
  /* functional template */
2719
2743
 
2720
- var __vue_is_functional_template__$v = false;
2744
+ var __vue_is_functional_template__$w = false;
2721
2745
  /* style inject shadow dom */
2722
2746
 
2723
- var __vue_component__$D = /*#__PURE__*/normalizeComponent({
2724
- render: __vue_render__$v,
2725
- staticRenderFns: __vue_staticRenderFns__$v
2726
- }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, createInjectorSSR, undefined);
2747
+ var __vue_component__$E = /*#__PURE__*/normalizeComponent({
2748
+ render: __vue_render__$w,
2749
+ staticRenderFns: __vue_staticRenderFns__$w
2750
+ }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, createInjectorSSR, undefined);
2727
2751
 
2728
- var Picker = __vue_component__$D;//
2729
- var script$u = {
2752
+ var Picker = __vue_component__$E;//
2753
+ var script$v = {
2730
2754
  components: {
2731
2755
  Picker: Picker
2732
2756
  },
@@ -2816,10 +2840,10 @@ var script$u = {
2816
2840
  }
2817
2841
  }
2818
2842
  };/* script */
2819
- var __vue_script__$u = script$u;
2843
+ var __vue_script__$v = script$v;
2820
2844
  /* template */
2821
2845
 
2822
- var __vue_render__$u = function __vue_render__() {
2846
+ var __vue_render__$v = function __vue_render__() {
2823
2847
  var _vm = this;
2824
2848
 
2825
2849
  var _h = _vm.$createElement;
@@ -2852,10 +2876,10 @@ var __vue_render__$u = function __vue_render__() {
2852
2876
  })], 1)], 2);
2853
2877
  };
2854
2878
 
2855
- var __vue_staticRenderFns__$u = [];
2879
+ var __vue_staticRenderFns__$v = [];
2856
2880
  /* style */
2857
2881
 
2858
- var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
2882
+ var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
2859
2883
  if (!inject) return;
2860
2884
  inject("data-v-7b7b5e22_0", {
2861
2885
  source: ".show-y-enter-active,.show-y-leave-enter{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-enter,.show-y-leave-to{opacity:0;transform:translateY(5%)}.emoji-text-container{position:relative}.emoji-text-container .emoji-text-btn{font-size:1.2rem;cursor:pointer}",
@@ -2866,27 +2890,27 @@ var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
2866
2890
  /* scoped */
2867
2891
 
2868
2892
 
2869
- var __vue_scope_id__$u = undefined;
2893
+ var __vue_scope_id__$v = undefined;
2870
2894
  /* module identifier */
2871
2895
 
2872
- var __vue_module_identifier__$u = "data-v-7b7b5e22";
2896
+ var __vue_module_identifier__$v = "data-v-7b7b5e22";
2873
2897
  /* functional template */
2874
2898
 
2875
- var __vue_is_functional_template__$u = false;
2899
+ var __vue_is_functional_template__$v = false;
2876
2900
  /* style inject shadow dom */
2877
2901
 
2878
- var __vue_component__$C = /*#__PURE__*/normalizeComponent({
2879
- render: __vue_render__$u,
2880
- staticRenderFns: __vue_staticRenderFns__$u
2881
- }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, createInjectorSSR, undefined);
2902
+ var __vue_component__$D = /*#__PURE__*/normalizeComponent({
2903
+ render: __vue_render__$v,
2904
+ staticRenderFns: __vue_staticRenderFns__$v
2905
+ }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, createInjectorSSR, undefined);
2882
2906
 
2883
- var BtnEmojis = __vue_component__$C;//
2907
+ var BtnEmojis = __vue_component__$D;//
2884
2908
  //
2885
2909
  //
2886
2910
  //
2887
2911
  //
2888
2912
  //
2889
- var script$t = {
2913
+ var script$u = {
2890
2914
  props: {
2891
2915
  hasBg: {
2892
2916
  type: Boolean,
@@ -2907,10 +2931,10 @@ var script$t = {
2907
2931
  }
2908
2932
  }
2909
2933
  };/* script */
2910
- var __vue_script__$t = script$t;
2934
+ var __vue_script__$u = script$u;
2911
2935
  /* template */
2912
2936
 
2913
- var __vue_render__$t = function __vue_render__() {
2937
+ var __vue_render__$u = function __vue_render__() {
2914
2938
  var _vm = this;
2915
2939
 
2916
2940
  var _h = _vm.$createElement;
@@ -2929,13 +2953,13 @@ var __vue_render__$t = function __vue_render__() {
2929
2953
  }) + "></div>")]);
2930
2954
  };
2931
2955
 
2932
- var __vue_staticRenderFns__$t = [];
2956
+ var __vue_staticRenderFns__$u = [];
2933
2957
  /* style */
2934
2958
 
2935
- var __vue_inject_styles__$t = function __vue_inject_styles__(inject) {
2959
+ var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
2936
2960
  if (!inject) return;
2937
- inject("data-v-423f52bb_0", {
2938
- source: ".req-loader-container{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.req-loader-container.light-bg{background-color:rgba(0,0,0,.3);border-radius:inherit}.req-loader-container.align-right{justify-content:flex-end}.req-loader-container.align-right .req-loader{margin-right:15px}.req-loader{border:2px solid #ccc;border-top:2px solid #333;border-radius:50%;width:20px;height:20px;min-width:20px;min-height:20px;animation:spin 2s linear infinite}.req-loader.big{width:40px;height:40px;animation:spin 3s linear infinite}.req-loader.slow{animation:spin 4s linear infinite}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}",
2961
+ inject("data-v-0b32f34b_0", {
2962
+ source: ".req-loader-container{position:absolute;z-index:1;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center}.req-loader-container.light-bg{background-color:rgba(0,0,0,.3);border-radius:inherit}.req-loader-container.align-right{justify-content:flex-end}.req-loader-container.align-right .req-loader{margin-right:15px}.req-loader{border:2px solid #ccc;border-top:2px solid #333;border-radius:50%;width:20px;height:20px;min-width:20px;min-height:20px;animation:spin 2s linear infinite}.req-loader.big{width:40px;height:40px;animation:spin 3s linear infinite}.req-loader.slow{animation:spin 4s linear infinite}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}",
2939
2963
  map: undefined,
2940
2964
  media: undefined
2941
2965
  });
@@ -2943,21 +2967,21 @@ var __vue_inject_styles__$t = function __vue_inject_styles__(inject) {
2943
2967
  /* scoped */
2944
2968
 
2945
2969
 
2946
- var __vue_scope_id__$t = undefined;
2970
+ var __vue_scope_id__$u = undefined;
2947
2971
  /* module identifier */
2948
2972
 
2949
- var __vue_module_identifier__$t = "data-v-423f52bb";
2973
+ var __vue_module_identifier__$u = "data-v-0b32f34b";
2950
2974
  /* functional template */
2951
2975
 
2952
- var __vue_is_functional_template__$t = false;
2976
+ var __vue_is_functional_template__$u = false;
2953
2977
  /* style inject shadow dom */
2954
2978
 
2955
- var __vue_component__$B = /*#__PURE__*/normalizeComponent({
2956
- render: __vue_render__$t,
2957
- staticRenderFns: __vue_staticRenderFns__$t
2958
- }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, createInjectorSSR, undefined);
2979
+ var __vue_component__$C = /*#__PURE__*/normalizeComponent({
2980
+ render: __vue_render__$u,
2981
+ staticRenderFns: __vue_staticRenderFns__$u
2982
+ }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, createInjectorSSR, undefined);
2959
2983
 
2960
- var Loader = __vue_component__$B;//
2984
+ var Loader = __vue_component__$C;//
2961
2985
  //
2962
2986
  //
2963
2987
  //
@@ -2965,7 +2989,7 @@ var Loader = __vue_component__$B;//
2965
2989
  //
2966
2990
  //
2967
2991
  //
2968
- var script$s = {
2992
+ var script$t = {
2969
2993
  props: {
2970
2994
  message: {
2971
2995
  type: String,
@@ -2983,10 +3007,10 @@ var script$s = {
2983
3007
  }
2984
3008
  }
2985
3009
  };/* script */
2986
- var __vue_script__$s = script$s;
3010
+ var __vue_script__$t = script$t;
2987
3011
  /* template */
2988
3012
 
2989
- var __vue_render__$s = function __vue_render__() {
3013
+ var __vue_render__$t = function __vue_render__() {
2990
3014
  var _vm = this;
2991
3015
 
2992
3016
  var _h = _vm.$createElement;
@@ -3001,37 +3025,37 @@ var __vue_render__$s = function __vue_render__() {
3001
3025
  }, []) : _vm._e();
3002
3026
  };
3003
3027
 
3004
- var __vue_staticRenderFns__$s = [];
3028
+ var __vue_staticRenderFns__$t = [];
3005
3029
  /* style */
3006
3030
 
3007
- var __vue_inject_styles__$s = undefined;
3031
+ var __vue_inject_styles__$t = undefined;
3008
3032
  /* scoped */
3009
3033
 
3010
- var __vue_scope_id__$s = undefined;
3034
+ var __vue_scope_id__$t = undefined;
3011
3035
  /* module identifier */
3012
3036
 
3013
- var __vue_module_identifier__$s = "data-v-f8dac3e4";
3037
+ var __vue_module_identifier__$t = "data-v-f8dac3e4";
3014
3038
  /* functional template */
3015
3039
 
3016
- var __vue_is_functional_template__$s = false;
3040
+ var __vue_is_functional_template__$t = false;
3017
3041
  /* style inject */
3018
3042
 
3019
3043
  /* style inject SSR */
3020
3044
 
3021
3045
  /* style inject shadow dom */
3022
3046
 
3023
- var __vue_component__$A = /*#__PURE__*/normalizeComponent({
3024
- render: __vue_render__$s,
3025
- staticRenderFns: __vue_staticRenderFns__$s
3026
- }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
3047
+ var __vue_component__$B = /*#__PURE__*/normalizeComponent({
3048
+ render: __vue_render__$t,
3049
+ staticRenderFns: __vue_staticRenderFns__$t
3050
+ }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
3027
3051
 
3028
- var RemainingCharacters = __vue_component__$A;//
3052
+ var RemainingCharacters = __vue_component__$B;//
3029
3053
  //
3030
3054
  //
3031
3055
  //
3032
3056
  //
3033
3057
  //
3034
- var script$r = {
3058
+ var script$s = {
3035
3059
  props: {
3036
3060
  dictionary: {
3037
3061
  type: Object,
@@ -3101,10 +3125,10 @@ var script$r = {
3101
3125
  }
3102
3126
  }
3103
3127
  };/* script */
3104
- var __vue_script__$r = script$r;
3128
+ var __vue_script__$s = script$s;
3105
3129
  /* template */
3106
3130
 
3107
- var __vue_render__$r = function __vue_render__() {
3131
+ var __vue_render__$s = function __vue_render__() {
3108
3132
  var _vm = this;
3109
3133
 
3110
3134
  var _h = _vm.$createElement;
@@ -3126,31 +3150,31 @@ var __vue_render__$r = function __vue_render__() {
3126
3150
  })], 1);
3127
3151
  };
3128
3152
 
3129
- var __vue_staticRenderFns__$r = [];
3153
+ var __vue_staticRenderFns__$s = [];
3130
3154
  /* style */
3131
3155
 
3132
- var __vue_inject_styles__$r = undefined;
3156
+ var __vue_inject_styles__$s = undefined;
3133
3157
  /* scoped */
3134
3158
 
3135
- var __vue_scope_id__$r = undefined;
3159
+ var __vue_scope_id__$s = undefined;
3136
3160
  /* module identifier */
3137
3161
 
3138
- var __vue_module_identifier__$r = "data-v-291765d5";
3162
+ var __vue_module_identifier__$s = "data-v-291765d5";
3139
3163
  /* functional template */
3140
3164
 
3141
- var __vue_is_functional_template__$r = false;
3165
+ var __vue_is_functional_template__$s = false;
3142
3166
  /* style inject */
3143
3167
 
3144
3168
  /* style inject SSR */
3145
3169
 
3146
3170
  /* style inject shadow dom */
3147
3171
 
3148
- var __vue_component__$z = /*#__PURE__*/normalizeComponent({
3149
- render: __vue_render__$r,
3150
- staticRenderFns: __vue_staticRenderFns__$r
3151
- }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
3172
+ var __vue_component__$A = /*#__PURE__*/normalizeComponent({
3173
+ render: __vue_render__$s,
3174
+ staticRenderFns: __vue_staticRenderFns__$s
3175
+ }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
3152
3176
 
3153
- var BtnMic = __vue_component__$z;//
3177
+ var BtnMic = __vue_component__$A;//
3154
3178
  //
3155
3179
  //
3156
3180
  //
@@ -3173,7 +3197,7 @@ var BtnMic = __vue_component__$z;//
3173
3197
  //
3174
3198
  //
3175
3199
  //
3176
- var script$q = {
3200
+ var script$r = {
3177
3201
  props: {
3178
3202
  textId: {
3179
3203
  type: String,
@@ -3224,10 +3248,10 @@ var script$q = {
3224
3248
  }
3225
3249
  }
3226
3250
  };/* script */
3227
- var __vue_script__$q = script$q;
3251
+ var __vue_script__$r = script$r;
3228
3252
  /* template */
3229
3253
 
3230
- var __vue_render__$q = function __vue_render__() {
3254
+ var __vue_render__$r = function __vue_render__() {
3231
3255
  var _vm = this;
3232
3256
 
3233
3257
  var _h = _vm.$createElement;
@@ -3262,10 +3286,10 @@ var __vue_render__$q = function __vue_render__() {
3262
3286
  }), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.file.name) + "\n "))], 2) : _vm._e(), _vm._ssrNode(" " + (_vm.imagePreview ? "<div class=\"text-footer-image-preview\"><img" + _vm._ssrAttr("src", _vm.imagePreview) + _vm._ssrAttr("alt", _vm.dictionary.alt_previa_img) + "></div>" : "<!---->"))]], 2) : _vm._e();
3263
3287
  };
3264
3288
 
3265
- var __vue_staticRenderFns__$q = [];
3289
+ var __vue_staticRenderFns__$r = [];
3266
3290
  /* style */
3267
3291
 
3268
- var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
3292
+ var __vue_inject_styles__$r = function __vue_inject_styles__(inject) {
3269
3293
  if (!inject) return;
3270
3294
  inject("data-v-a5119ba8_0", {
3271
3295
  source: ".single-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.single-file-preview .close-icon:hover{opacity:1}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{font-weight:500}.text-footer-invalid-format h4{font-size:.9rem}.text-footer-preview-title{font-size:1rem;padding:10px 0 0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-footer-image-preview{display:flex;justify-content:center;align-items:center;width:100%}.text-footer-image-preview img{cursor:pointer;max-width:98%;max-height:98%;padding:2%}",
@@ -3276,22 +3300,22 @@ var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
3276
3300
  /* scoped */
3277
3301
 
3278
3302
 
3279
- var __vue_scope_id__$q = undefined;
3303
+ var __vue_scope_id__$r = undefined;
3280
3304
  /* module identifier */
3281
3305
 
3282
- var __vue_module_identifier__$q = "data-v-a5119ba8";
3306
+ var __vue_module_identifier__$r = "data-v-a5119ba8";
3283
3307
  /* functional template */
3284
3308
 
3285
- var __vue_is_functional_template__$q = false;
3309
+ var __vue_is_functional_template__$r = false;
3286
3310
  /* style inject shadow dom */
3287
3311
 
3288
- var __vue_component__$y = /*#__PURE__*/normalizeComponent({
3289
- render: __vue_render__$q,
3290
- staticRenderFns: __vue_staticRenderFns__$q
3291
- }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, createInjectorSSR, undefined);
3312
+ var __vue_component__$z = /*#__PURE__*/normalizeComponent({
3313
+ render: __vue_render__$r,
3314
+ staticRenderFns: __vue_staticRenderFns__$r
3315
+ }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, createInjectorSSR, undefined);
3292
3316
 
3293
- var SingleFilePreview = __vue_component__$y;//
3294
- var script$p = {
3317
+ var SingleFilePreview = __vue_component__$z;//
3318
+ var script$q = {
3295
3319
  components: {
3296
3320
  Loader: Loader
3297
3321
  },
@@ -3367,10 +3391,10 @@ var script$p = {
3367
3391
  }
3368
3392
  }
3369
3393
  };/* script */
3370
- var __vue_script__$p = script$p;
3394
+ var __vue_script__$q = script$q;
3371
3395
  /* template */
3372
3396
 
3373
- var __vue_render__$p = function __vue_render__() {
3397
+ var __vue_render__$q = function __vue_render__() {
3374
3398
  var _vm = this;
3375
3399
 
3376
3400
  var _h = _vm.$createElement;
@@ -3492,10 +3516,10 @@ var __vue_render__$p = function __vue_render__() {
3492
3516
  })], 2)], 2);
3493
3517
  };
3494
3518
 
3495
- var __vue_staticRenderFns__$p = [];
3519
+ var __vue_staticRenderFns__$q = [];
3496
3520
  /* style */
3497
3521
 
3498
- var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
3522
+ var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
3499
3523
  if (!inject) return;
3500
3524
  inject("data-v-131a11b5_0", {
3501
3525
  source: ".multiple-file-preview{position:relative;display:flex;flex-direction:column;width:100%;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;border-top-left-radius:2.5px;border-top-right-radius:2.5px;transition:background-color 150ms;scrollbar-color:#888 rgba(0,0,0,.2);scrollbar-width:4px}.multiple-file-preview::-webkit-scrollbar{width:4px}.multiple-file-preview .close-icon{color:#e74c3c;cursor:pointer;opacity:.9;transition:opacity .3s}.multiple-file-preview .close-icon:hover{opacity:1}.multiple-file-preview::-webkit-scrollbar-track{background-color:rgba(0,0,0,.2)}.multiple-file-preview::-webkit-scrollbar-thumb{transition-duration:.5s;background-color:#222}.multiple-file-preview::-webkit-scrollbar-thumb:hover{background-color:#555}.text-footer-invalid-format{color:#222;padding:10px}.text-footer-invalid-format h3{text-overflow:ellipsis;overflow:hidden;font-weight:500}.text-footer-invalid-format h4{text-overflow:ellipsis;overflow:hidden;font-size:.9rem}.text-footer-exclude-file{position:absolute;top:5px;right:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;min-width:1rem;min-height:1rem;background-color:#fff;border-radius:50%}.text-footer-exclude-file svg{transition:color .2s;color:#e9594a}.text-footer-exclude-file svg:hover{color:#e74c3c}.file-preview{display:flex;width:100%;align-items:center;padding:5px 10px;transition:background-color 150ms}.file-preview:hover{background-color:rgba(0,0,0,.1)}.file-title{color:#222;display:flex;align-items:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:4px 10px;background-color:#fff;border-radius:30px;display:inline-block}.file-title.red{color:#e74c3c;margin-right:5px}.file-title>svg{margin-right:5px;color:#333}.small-img{flex:1;margin:0 15px;display:flex;justify-content:center;align-items:center;position:relative}.small-img img{height:40px;cursor:pointer}.small-img .doc,.small-img .pdf{display:flex;justify-content:center;align-items:center;font-size:30px}.small-img .pdf{color:#e74c3c}.small-img .doc{color:#006bc9}.small-img .doc svg,.small-img .pdf svg{z-index:1}.small-img .doc::after,.small-img .pdf::after{content:\"\";position:absolute;bottom:2px;transform:translateY(2px);width:20px;height:20px;background-color:#fff}.img-container{padding:5px;border-radius:2.5px;background-color:rgba(0,0,0,.15);display:flex;justify-content:center;align-items:center}.delete-file{display:flex;justify-content:center;align-items:center;cursor:pointer}.delete-file>svg{font-size:1rem;color:#e74c3c}",
@@ -3506,21 +3530,21 @@ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
3506
3530
  /* scoped */
3507
3531
 
3508
3532
 
3509
- var __vue_scope_id__$p = undefined;
3533
+ var __vue_scope_id__$q = undefined;
3510
3534
  /* module identifier */
3511
3535
 
3512
- var __vue_module_identifier__$p = "data-v-131a11b5";
3536
+ var __vue_module_identifier__$q = "data-v-131a11b5";
3513
3537
  /* functional template */
3514
3538
 
3515
- var __vue_is_functional_template__$p = false;
3539
+ var __vue_is_functional_template__$q = false;
3516
3540
  /* style inject shadow dom */
3517
3541
 
3518
- var __vue_component__$x = /*#__PURE__*/normalizeComponent({
3519
- render: __vue_render__$p,
3520
- staticRenderFns: __vue_staticRenderFns__$p
3521
- }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, createInjectorSSR, undefined);
3542
+ var __vue_component__$y = /*#__PURE__*/normalizeComponent({
3543
+ render: __vue_render__$q,
3544
+ staticRenderFns: __vue_staticRenderFns__$q
3545
+ }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, createInjectorSSR, undefined);
3522
3546
 
3523
- var MultipleFilePreview = __vue_component__$x;var script$o = {
3547
+ var MultipleFilePreview = __vue_component__$y;var script$p = {
3524
3548
  components: {
3525
3549
  SingleFilePreview: SingleFilePreview,
3526
3550
  MultipleFilePreview: MultipleFilePreview
@@ -3877,10 +3901,10 @@ var MultipleFilePreview = __vue_component__$x;var script$o = {
3877
3901
  }
3878
3902
  }
3879
3903
  };/* script */
3880
- var __vue_script__$o = script$o;
3904
+ var __vue_script__$p = script$p;
3881
3905
  /* template */
3882
3906
 
3883
- var __vue_render__$o = function __vue_render__() {
3907
+ var __vue_render__$p = function __vue_render__() {
3884
3908
  var _vm = this;
3885
3909
 
3886
3910
  var _h = _vm.$createElement;
@@ -4051,10 +4075,10 @@ var __vue_render__$o = function __vue_render__() {
4051
4075
  }) : _vm._e()], 1)])], 2);
4052
4076
  };
4053
4077
 
4054
- var __vue_staticRenderFns__$o = [];
4078
+ var __vue_staticRenderFns__$p = [];
4055
4079
  /* style */
4056
4080
 
4057
- var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
4081
+ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
4058
4082
  if (!inject) return;
4059
4083
  inject("data-v-0a31a0c7_0", {
4060
4084
  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}.files-counter-2{transform:translate(-15px,28px);opacity:.9;position:absolute;display:flex;justify-content:center;align-items:center;color:#888;font-size:.8rem}.files-counter-2 svg{margin-left:5px}.files-counter-2:hover{opacity:1;text-decoration:underline}",
@@ -4065,27 +4089,27 @@ var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
4065
4089
  /* scoped */
4066
4090
 
4067
4091
 
4068
- var __vue_scope_id__$o = undefined;
4092
+ var __vue_scope_id__$p = undefined;
4069
4093
  /* module identifier */
4070
4094
 
4071
- var __vue_module_identifier__$o = "data-v-0a31a0c7";
4095
+ var __vue_module_identifier__$p = "data-v-0a31a0c7";
4072
4096
  /* functional template */
4073
4097
 
4074
- var __vue_is_functional_template__$o = false;
4098
+ var __vue_is_functional_template__$p = false;
4075
4099
  /* style inject shadow dom */
4076
4100
 
4077
- var __vue_component__$w = /*#__PURE__*/normalizeComponent({
4078
- render: __vue_render__$o,
4079
- staticRenderFns: __vue_staticRenderFns__$o
4080
- }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, createInjectorSSR, undefined);
4101
+ var __vue_component__$x = /*#__PURE__*/normalizeComponent({
4102
+ render: __vue_render__$p,
4103
+ staticRenderFns: __vue_staticRenderFns__$p
4104
+ }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, createInjectorSSR, undefined);
4081
4105
 
4082
- var BtnFiles = __vue_component__$w;//
4106
+ var BtnFiles = __vue_component__$x;//
4083
4107
  //
4084
4108
  //
4085
4109
  //
4086
4110
  //
4087
4111
  //
4088
- var script$n = {
4112
+ var script$o = {
4089
4113
  props: {
4090
4114
  dictionary: {
4091
4115
  type: Object,
@@ -4094,10 +4118,10 @@ var script$n = {
4094
4118
  }
4095
4119
  }
4096
4120
  };/* script */
4097
- var __vue_script__$n = script$n;
4121
+ var __vue_script__$o = script$o;
4098
4122
  /* template */
4099
4123
 
4100
- var __vue_render__$n = function __vue_render__() {
4124
+ var __vue_render__$o = function __vue_render__() {
4101
4125
  var _vm = this;
4102
4126
 
4103
4127
  var _h = _vm.$createElement;
@@ -4121,37 +4145,37 @@ var __vue_render__$n = function __vue_render__() {
4121
4145
  })], 1);
4122
4146
  };
4123
4147
 
4124
- var __vue_staticRenderFns__$n = [];
4148
+ var __vue_staticRenderFns__$o = [];
4125
4149
  /* style */
4126
4150
 
4127
- var __vue_inject_styles__$n = undefined;
4151
+ var __vue_inject_styles__$o = undefined;
4128
4152
  /* scoped */
4129
4153
 
4130
- var __vue_scope_id__$n = undefined;
4154
+ var __vue_scope_id__$o = undefined;
4131
4155
  /* module identifier */
4132
4156
 
4133
- var __vue_module_identifier__$n = "data-v-c2fae61e";
4157
+ var __vue_module_identifier__$o = "data-v-c2fae61e";
4134
4158
  /* functional template */
4135
4159
 
4136
- var __vue_is_functional_template__$n = false;
4160
+ var __vue_is_functional_template__$o = false;
4137
4161
  /* style inject */
4138
4162
 
4139
4163
  /* style inject SSR */
4140
4164
 
4141
4165
  /* style inject shadow dom */
4142
4166
 
4143
- var __vue_component__$v = /*#__PURE__*/normalizeComponent({
4144
- render: __vue_render__$n,
4145
- staticRenderFns: __vue_staticRenderFns__$n
4146
- }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
4167
+ var __vue_component__$w = /*#__PURE__*/normalizeComponent({
4168
+ render: __vue_render__$o,
4169
+ staticRenderFns: __vue_staticRenderFns__$o
4170
+ }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
4147
4171
 
4148
- var BtnExpand = __vue_component__$v;//
4172
+ var BtnExpand = __vue_component__$w;//
4149
4173
  //
4150
4174
  //
4151
4175
  //
4152
4176
  //
4153
4177
  //
4154
- var script$m = {
4178
+ var script$n = {
4155
4179
  props: {
4156
4180
  dictionary: {
4157
4181
  type: Object,
@@ -4160,10 +4184,10 @@ var script$m = {
4160
4184
  }
4161
4185
  }
4162
4186
  };/* script */
4163
- var __vue_script__$m = script$m;
4187
+ var __vue_script__$n = script$n;
4164
4188
  /* template */
4165
4189
 
4166
- var __vue_render__$m = function __vue_render__() {
4190
+ var __vue_render__$n = function __vue_render__() {
4167
4191
  var _vm = this;
4168
4192
 
4169
4193
  var _h = _vm.$createElement;
@@ -4187,31 +4211,31 @@ var __vue_render__$m = function __vue_render__() {
4187
4211
  })], 1);
4188
4212
  };
4189
4213
 
4190
- var __vue_staticRenderFns__$m = [];
4214
+ var __vue_staticRenderFns__$n = [];
4191
4215
  /* style */
4192
4216
 
4193
- var __vue_inject_styles__$m = undefined;
4217
+ var __vue_inject_styles__$n = undefined;
4194
4218
  /* scoped */
4195
4219
 
4196
- var __vue_scope_id__$m = undefined;
4220
+ var __vue_scope_id__$n = undefined;
4197
4221
  /* module identifier */
4198
4222
 
4199
- var __vue_module_identifier__$m = "data-v-05b2a592";
4223
+ var __vue_module_identifier__$n = "data-v-05b2a592";
4200
4224
  /* functional template */
4201
4225
 
4202
- var __vue_is_functional_template__$m = false;
4226
+ var __vue_is_functional_template__$n = false;
4203
4227
  /* style inject */
4204
4228
 
4205
4229
  /* style inject SSR */
4206
4230
 
4207
4231
  /* style inject shadow dom */
4208
4232
 
4209
- var __vue_component__$u = /*#__PURE__*/normalizeComponent({
4210
- render: __vue_render__$m,
4211
- staticRenderFns: __vue_staticRenderFns__$m
4212
- }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
4233
+ var __vue_component__$v = /*#__PURE__*/normalizeComponent({
4234
+ render: __vue_render__$n,
4235
+ staticRenderFns: __vue_staticRenderFns__$n
4236
+ }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
4213
4237
 
4214
- var BtnStandardMessages = __vue_component__$u;var bind = function bind(fn, thisArg) {
4238
+ var BtnStandardMessages = __vue_component__$v;var bind = function bind(fn, thisArg) {
4215
4239
  return function wrap() {
4216
4240
  var args = new Array(arguments.length);
4217
4241
  for (var i = 0; i < args.length; i++) {
@@ -8052,7 +8076,7 @@ var dev = window.location.hostname == 'localhost' ? '&teste=levchat2' : '';var s
8052
8076
  }
8053
8077
  }
8054
8078
  };//
8055
- var script$l = {
8079
+ var script$m = {
8056
8080
  mixins: [standardMessages],
8057
8081
  props: {
8058
8082
  hasStandardMessages: {
@@ -8266,10 +8290,10 @@ var script$l = {
8266
8290
  }
8267
8291
  }
8268
8292
  };/* script */
8269
- var __vue_script__$l = script$l;
8293
+ var __vue_script__$m = script$m;
8270
8294
  /* template */
8271
8295
 
8272
- var __vue_render__$l = function __vue_render__() {
8296
+ var __vue_render__$m = function __vue_render__() {
8273
8297
  var _vm = this;
8274
8298
 
8275
8299
  var _h = _vm.$createElement;
@@ -8354,10 +8378,10 @@ var __vue_render__$l = function __vue_render__() {
8354
8378
  }, [_c('VueLoader')], 1) : _vm._e()])], 2)]) : _vm._e();
8355
8379
  };
8356
8380
 
8357
- var __vue_staticRenderFns__$l = [];
8381
+ var __vue_staticRenderFns__$m = [];
8358
8382
  /* style */
8359
8383
 
8360
- var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
8384
+ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
8361
8385
  if (!inject) return;
8362
8386
  inject("data-v-7cd1c21b_0", {
8363
8387
  source: ".transition-selects{min-height:80px;display:flex;flex-direction:column;width:100%}.loader-select{position:relative;min-height:35px;background:#fff;width:100%;border:1px solid #ccc;border-radius:5px;z-index:1}.loading-message{background-color:#555!important}",
@@ -8368,10 +8392,99 @@ var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
8368
8392
  /* scoped */
8369
8393
 
8370
8394
 
8371
- var __vue_scope_id__$l = undefined;
8395
+ var __vue_scope_id__$m = undefined;
8372
8396
  /* module identifier */
8373
8397
 
8374
- var __vue_module_identifier__$l = "data-v-7cd1c21b";
8398
+ var __vue_module_identifier__$m = "data-v-7cd1c21b";
8399
+ /* functional template */
8400
+
8401
+ var __vue_is_functional_template__$m = false;
8402
+ /* style inject shadow dom */
8403
+
8404
+ var __vue_component__$u = /*#__PURE__*/normalizeComponent({
8405
+ render: __vue_render__$m,
8406
+ staticRenderFns: __vue_staticRenderFns__$m
8407
+ }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, createInjectorSSR, undefined);
8408
+
8409
+ var StandardMessages = __vue_component__$u;//
8410
+ //
8411
+ //
8412
+ //
8413
+ //
8414
+ //
8415
+ //
8416
+ //
8417
+ //
8418
+ //
8419
+ //
8420
+ //
8421
+ //
8422
+ //
8423
+ //
8424
+ //
8425
+ //
8426
+ //
8427
+ //
8428
+ //
8429
+ //
8430
+ var script$l = {
8431
+ props: {
8432
+ dictionary: {
8433
+ type: Object,
8434
+ default: {},
8435
+ required: false
8436
+ }
8437
+ }
8438
+ };/* script */
8439
+ var __vue_script__$l = script$l;
8440
+ /* template */
8441
+
8442
+ var __vue_render__$l = function __vue_render__() {
8443
+ var _vm = this;
8444
+
8445
+ var _h = _vm.$createElement;
8446
+
8447
+ var _c = _vm._self._c || _h;
8448
+
8449
+ return _c('div', {
8450
+ staticClass: "text-footer-actions--btn",
8451
+ attrs: {
8452
+ "title": _vm.dictionary.title_screen_share
8453
+ },
8454
+ on: {
8455
+ "click": function click($event) {
8456
+ return _vm.$emit('toggle-standard-messages');
8457
+ }
8458
+ }
8459
+ }, [_c('fa-icon', {
8460
+ attrs: {
8461
+ "icon": ['fas', 'desktop']
8462
+ }
8463
+ }), _vm._ssrNode(" "), _c('fa-icon', {
8464
+ attrs: {
8465
+ "icon": ['fas', 'share']
8466
+ }
8467
+ })], 2);
8468
+ };
8469
+
8470
+ var __vue_staticRenderFns__$l = [];
8471
+ /* style */
8472
+
8473
+ var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
8474
+ if (!inject) return;
8475
+ inject("data-v-098c0894_0", {
8476
+ source: ".text-footer-actions--btn[data-v-098c0894]{position:relative}.text-footer-actions--btn>svg[data-v-098c0894]:nth-child(1){font-size:1.2rem}.text-footer-actions--btn>svg[data-v-098c0894]:nth-child(2){font-size:.6rem;position:absolute;transform:translateY(-2px)}",
8477
+ map: undefined,
8478
+ media: undefined
8479
+ });
8480
+ };
8481
+ /* scoped */
8482
+
8483
+
8484
+ var __vue_scope_id__$l = "data-v-098c0894";
8485
+ /* module identifier */
8486
+
8487
+ var __vue_module_identifier__$l = "data-v-098c0894";
8375
8488
  /* functional template */
8376
8489
 
8377
8490
  var __vue_is_functional_template__$l = false;
@@ -8382,7 +8495,7 @@ var __vue_component__$t = /*#__PURE__*/normalizeComponent({
8382
8495
  staticRenderFns: __vue_staticRenderFns__$l
8383
8496
  }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, createInjectorSSR, undefined);
8384
8497
 
8385
- var StandardMessages = __vue_component__$t;//
8498
+ var BtnScreenShare = __vue_component__$t;//
8386
8499
  //
8387
8500
  //
8388
8501
  //
@@ -8425,22 +8538,23 @@ var __vue_render__$k = function __vue_render__() {
8425
8538
  return _c('div', {
8426
8539
  staticClass: "text-footer-actions--btn",
8427
8540
  attrs: {
8428
- "title": _vm.dictionary.title_screen_share
8541
+ "title": _vm.dictionary.msg_baixar_todos_anexos
8429
8542
  },
8430
8543
  on: {
8431
8544
  "click": function click($event) {
8432
- return _vm.$emit('toggle-standard-messages');
8545
+ return _vm.$emit('click-trigger');
8433
8546
  }
8434
8547
  }
8435
- }, [_c('fa-icon', {
8548
+ }, [_vm._ssrNode("<span class=\"multiplos\" data-v-402fcd8c>", "</span>", [_c('fa-icon', {
8436
8549
  attrs: {
8437
- "icon": ['fas', 'desktop']
8550
+ "icon": ['fas', 'download']
8438
8551
  }
8439
8552
  }), _vm._ssrNode(" "), _c('fa-icon', {
8553
+ staticClass: "small",
8440
8554
  attrs: {
8441
- "icon": ['fas', 'share']
8555
+ "icon": ['fas', 'paperclip']
8442
8556
  }
8443
- })], 2);
8557
+ })], 2)]);
8444
8558
  };
8445
8559
 
8446
8560
  var __vue_staticRenderFns__$k = [];
@@ -8448,8 +8562,8 @@ var __vue_staticRenderFns__$k = [];
8448
8562
 
8449
8563
  var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
8450
8564
  if (!inject) return;
8451
- inject("data-v-098c0894_0", {
8452
- source: ".text-footer-actions--btn[data-v-098c0894]{position:relative}.text-footer-actions--btn>svg[data-v-098c0894]:nth-child(1){font-size:1.2rem}.text-footer-actions--btn>svg[data-v-098c0894]:nth-child(2){font-size:.6rem;position:absolute;transform:translateY(-2px)}",
8565
+ inject("data-v-402fcd8c_0", {
8566
+ source: ".multiplos[data-v-402fcd8c]{display:flex}.multiplos svg[data-v-402fcd8c]{font-size:.95rem}.multiplos svg.small[data-v-402fcd8c]{font-size:.7rem!important}",
8453
8567
  map: undefined,
8454
8568
  media: undefined
8455
8569
  });
@@ -8457,10 +8571,10 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
8457
8571
  /* scoped */
8458
8572
 
8459
8573
 
8460
- var __vue_scope_id__$k = "data-v-098c0894";
8574
+ var __vue_scope_id__$k = "data-v-402fcd8c";
8461
8575
  /* module identifier */
8462
8576
 
8463
- var __vue_module_identifier__$k = "data-v-098c0894";
8577
+ var __vue_module_identifier__$k = "data-v-402fcd8c";
8464
8578
  /* functional template */
8465
8579
 
8466
8580
  var __vue_is_functional_template__$k = false;
@@ -8471,7 +8585,7 @@ var __vue_component__$s = /*#__PURE__*/normalizeComponent({
8471
8585
  staticRenderFns: __vue_staticRenderFns__$k
8472
8586
  }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, createInjectorSSR, undefined);
8473
8587
 
8474
- var BtnScreenShare = __vue_component__$s;//
8588
+ var BtnDownloadAllFiles = __vue_component__$s;//
8475
8589
  var script$j = {
8476
8590
  components: {
8477
8591
  BtnEmojis: BtnEmojis,
@@ -8482,7 +8596,8 @@ var script$j = {
8482
8596
  RemainingCharacters: RemainingCharacters,
8483
8597
  BtnStandardMessages: BtnStandardMessages,
8484
8598
  StandardMessages: StandardMessages,
8485
- BtnScreenShare: BtnScreenShare
8599
+ BtnScreenShare: BtnScreenShare,
8600
+ BtnDownloadAllFiles: BtnDownloadAllFiles
8486
8601
  },
8487
8602
  mixins: [mixin_1],
8488
8603
  props: {
@@ -8994,9 +9109,25 @@ var __vue_render__$j = function __vue_render__() {
8994
9109
  "message": _vm.message,
8995
9110
  "maxCharacters": _vm.textareaSettings.maxCharacters
8996
9111
  }
8997
- }), _vm._ssrNode(" "), _vm.buttons.hasFiles || _vm.buttons.hasAudio || _vm.buttons.hasExpand || _vm.formattedMessageSettings.hasStandardMessages || _vm.buttons.hasScreenShare ? _vm._ssrNode("<div" + _vm._ssrClass("text-footer-actions", {
9112
+ }), _vm._ssrNode(" "), _vm.buttons.hasFiles || _vm.buttons.hasAudio || _vm.buttons.hasExpand || _vm.formattedMessageSettings.hasStandardMessages || _vm.buttons.hasScreenShare || _vm.buttons.hasDownloadAll ? _vm._ssrNode("<div" + _vm._ssrClass("text-footer-actions", {
8998
9113
  'outside-buttons': _vm.cssStyle.outsideButtons && !_vm.audioFile
8999
- }) + ">", "</div>", [_c('BtnScreenShare', {
9114
+ }) + ">", "</div>", [_c('BtnDownloadAllFiles', {
9115
+ directives: [{
9116
+ name: "show",
9117
+ rawName: "v-show",
9118
+ value: _vm.buttons.hasDownloadAll && !_vm.audioFile,
9119
+ expression: "buttons.hasDownloadAll && !audioFile"
9120
+ }],
9121
+ ref: _vm.textId + "-download-files",
9122
+ attrs: {
9123
+ "dictionary": _vm.dictionary
9124
+ },
9125
+ on: {
9126
+ "click-trigger": function clickTrigger($event) {
9127
+ return _vm.$emit('handle-download-files');
9128
+ }
9129
+ }
9130
+ }), _vm._ssrNode(" "), _c('BtnScreenShare', {
9000
9131
  directives: [{
9001
9132
  name: "show",
9002
9133
  rawName: "v-show",
@@ -9119,7 +9250,7 @@ var __vue_staticRenderFns__$j = [];
9119
9250
 
9120
9251
  var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
9121
9252
  if (!inject) return;
9122
- inject("data-v-649d74f4_0", {
9253
+ inject("data-v-ea7ce0e2_0", {
9123
9254
  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:-30px;right:35px;background-color:#fafafa}.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{width:100%;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}",
9124
9255
  map: undefined,
9125
9256
  media: undefined
@@ -9131,7 +9262,7 @@ var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
9131
9262
  var __vue_scope_id__$j = undefined;
9132
9263
  /* module identifier */
9133
9264
 
9134
- var __vue_module_identifier__$j = "data-v-649d74f4";
9265
+ var __vue_module_identifier__$j = "data-v-ea7ce0e2";
9135
9266
  /* functional template */
9136
9267
 
9137
9268
  var __vue_is_functional_template__$j = false;
@@ -9166,7 +9297,19 @@ var script$i = {
9166
9297
  required: true
9167
9298
  }
9168
9299
  },
9300
+ mounted: function mounted() {
9301
+ this.initFocus();
9302
+ },
9169
9303
  methods: {
9304
+ initFocus: function initFocus() {
9305
+ var _this = this;
9306
+
9307
+ this.$nextTick(function () {
9308
+ if (_this.$refs["text-footer-template-message"] && _this.$refs["text-footer-template-message"].$el) {
9309
+ _this.$refs["text-footer-template-message"].$el.querySelector("textarea").focus();
9310
+ }
9311
+ });
9312
+ },
9170
9313
  sendMessage: function sendMessage() {
9171
9314
  this.$emit('click-trigger');
9172
9315
  },
@@ -9202,6 +9345,7 @@ var __vue_render__$i = function __vue_render__() {
9202
9345
  }, [_vm._ssrNode("<div class=\"ts-content\">", "</div>", [_vm._ssrNode("<section" + _vm._ssrClass(null, {
9203
9346
  'tm-container': _vm.hasButton
9204
9347
  }) + ">", "</section>", [_c('TextFooter', {
9348
+ ref: "text-footer-template-message",
9205
9349
  attrs: {
9206
9350
  "textId": 'var_1',
9207
9351
  "width": "full",
@@ -9232,7 +9376,7 @@ var __vue_inject_styles__$i = undefined;
9232
9376
  var __vue_scope_id__$i = undefined;
9233
9377
  /* module identifier */
9234
9378
 
9235
- var __vue_module_identifier__$i = "data-v-4d24e86b";
9379
+ var __vue_module_identifier__$i = "data-v-6d6117ca";
9236
9380
  /* functional template */
9237
9381
 
9238
9382
  var __vue_is_functional_template__$i = false;
@@ -9353,16 +9497,24 @@ var script$h = {
9353
9497
  }
9354
9498
  },
9355
9499
  setTemplate: function setTemplate(key) {
9500
+ var _this = this;
9501
+
9356
9502
  if (key) {
9357
9503
  this.selectedTemplate = this.templates[key];
9358
9504
  this.codTemplate = key;
9359
9505
  this.$emit('selected-template', key);
9506
+ this.$nextTick(function () {
9507
+ if (_this.$root.$refs["template-single-".concat(_this.identifier)]) _this.$root.$refs["template-single-".concat(_this.identifier)].handleInitialFocus();
9508
+ });
9360
9509
  } else {
9361
9510
  this.selectedTemplate = null;
9362
9511
  }
9363
9512
 
9364
9513
  this.adjustOnSelect();
9365
9514
  },
9515
+ focusSelect: function focusSelect() {
9516
+ if (this.$refs["template-v-select"] && this.$refs["template-v-select"].$el) this.$refs["template-v-select"].$el.querySelector("input").focus();
9517
+ },
9366
9518
  selectIfIsUnique: function selectIfIsUnique() {
9367
9519
  if (Object.keys(this.templates).length === 1) {
9368
9520
  for (var key in this.templates) {
@@ -9372,6 +9524,8 @@ var script$h = {
9372
9524
  this.adjustOnSelect();
9373
9525
  }
9374
9526
  }
9527
+
9528
+ if (!this.codTemplate) this.focusSelect();
9375
9529
  },
9376
9530
  selectIfHasContact24h: function selectIfHasContact24h() {
9377
9531
  if (this.templates['envio_msg']) {
@@ -9385,7 +9539,7 @@ var script$h = {
9385
9539
  if (this.resizeParentOnSelect) this.$emit("resize-parent");
9386
9540
  },
9387
9541
  setFinalMessage: function setFinalMessage(vars) {
9388
- var _this = this;
9542
+ var _this2 = this;
9389
9543
 
9390
9544
  var keys = Object.keys(vars),
9391
9545
  values = Object.values(vars);
@@ -9408,19 +9562,19 @@ var script$h = {
9408
9562
  if (message.text.indexOf(varName) != -1) {
9409
9563
  /**Gerando os obejetos de parametros da notificacao para o component */
9410
9564
  if (component.type === "header") {
9411
- _this.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
9565
+ _this2.selectedTemplate['parameters'][component.type] = {}; //Header s? pode ter uma vari?vel
9412
9566
 
9413
- _this.selectedTemplate['parameters'][component.type] = {
9567
+ _this2.selectedTemplate['parameters'][component.type] = {
9414
9568
  tipo: "text",
9415
9569
  text: values[keyIndex]
9416
9570
  };
9417
- } else if (!_this.selectedTemplate['parameters'][component.type]) {
9418
- _this.selectedTemplate['parameters'][component.type] = new Array();
9571
+ } else if (!_this2.selectedTemplate['parameters'][component.type]) {
9572
+ _this2.selectedTemplate['parameters'][component.type] = new Array();
9419
9573
  } //Aplicando valores das v?riaveis dentro dos outros componentes com execess?o do header
9420
9574
 
9421
9575
 
9422
- if (_this.selectedTemplate['parameters'][component.type] && component.type !== 'header') {
9423
- _this.selectedTemplate['parameters'][component.type].push(values[keyIndex]);
9576
+ if (_this2.selectedTemplate['parameters'][component.type] && component.type !== 'header') {
9577
+ _this2.selectedTemplate['parameters'][component.type].push(values[keyIndex]);
9424
9578
  }
9425
9579
 
9426
9580
  message.currentText = message.currentText.replace(varName, values[keyIndex]);
@@ -9457,6 +9611,7 @@ var __vue_render__$h = function __vue_render__() {
9457
9611
  }, [_vm._ssrNode("<div" + _vm._ssrClass("tg-options", {
9458
9612
  'column': _vm.columnSelect
9459
9613
  }) + ">", "</div>", [_vm._ssrNode("<h4> Template: </h4> "), _c('v-select', {
9614
+ ref: "template-v-select",
9460
9615
  staticClass: "tg-select",
9461
9616
  attrs: {
9462
9617
  "appendToBody": "",
@@ -9517,8 +9672,8 @@ var __vue_staticRenderFns__$h = [];
9517
9672
 
9518
9673
  var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
9519
9674
  if (!inject) return;
9520
- inject("data-v-5a97ed34_0", {
9521
- 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}",
9675
+ inject("data-v-e3f5b41e_0", {
9676
+ 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{border:unset;display:block;min-width:180px;height:35px;padding:0 10px;font-weight:500;background-color:#007bff;color:#fff;transition:transform .3s ease-in-out;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:2px solid #000}.tg-btn.small-btn{width:auto;margin:0 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}",
9522
9677
  map: undefined,
9523
9678
  media: undefined
9524
9679
  });
@@ -9529,7 +9684,7 @@ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
9529
9684
  var __vue_scope_id__$h = undefined;
9530
9685
  /* module identifier */
9531
9686
 
9532
- var __vue_module_identifier__$h = "data-v-5a97ed34";
9687
+ var __vue_module_identifier__$h = "data-v-e3f5b41e";
9533
9688
  /* functional template */
9534
9689
 
9535
9690
  var __vue_is_functional_template__$h = false;
@@ -9987,7 +10142,7 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
9987
10142
  case "mp3":
9988
10143
  case "audio/mp3":
9989
10144
  case "aac":
9990
- tipoDoc = type;
10145
+ tipoDoc = type.startsWith("audio/") ? type : "audio/".concat(type);
9991
10146
  docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
9992
10147
  nomeArquivo = name;
9993
10148
  audio = true;
@@ -9997,7 +10152,7 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
9997
10152
  case "video":
9998
10153
  case "mp4":
9999
10154
  case "m4v":
10000
- tipoDoc = type;
10155
+ tipoDoc = type.startsWith("video/") ? type : "video/".concat(type);
10001
10156
  docAnexo = "".concat(dominio, "/callcenter/docs.php?mku=").concat(mku);
10002
10157
  nomeArquivo = name;
10003
10158
  video = true;
@@ -10106,6 +10261,40 @@ var __vue_component__$n = __vue_component__$m;var textoLongo = {
10106
10261
  },
10107
10262
  setIcon: function setIcon() {
10108
10263
  this.icon = this.fileType === "pdf" ? ['fas', 'file-pdf'] : ['fas', 'file-alt'];
10264
+ },
10265
+ downloadAllFilesHandler: function downloadAllFilesHandler() {
10266
+ try {
10267
+ if (!this.$root.$refs.chatMessages || !this.$root.$refs.chatMessages.referenceSelector) return this.$emit("download-all");
10268
+ var container = document.querySelector("".concat(this.$root.$refs.chatMessages.referenceSelector));
10269
+ if (!container) return this.$emit("download-all");
10270
+ var currentFilesToDownload = container.querySelectorAll("a[download]");
10271
+ if (!currentFilesToDownload.length) return this.$emit("download-all", {
10272
+ status: 'erro',
10273
+ message: 'Sem anexos para fazer o download'
10274
+ });
10275
+ var index = 0;
10276
+
10277
+ var handleInterval = function handleInterval() {
10278
+ if (index > currentFilesToDownload.length) return false;
10279
+ currentFilesToDownload[index] && currentFilesToDownload[index].click();
10280
+ index += 1;
10281
+ return true;
10282
+ };
10283
+
10284
+ var interval = setInterval(function () {
10285
+ var handler = handleInterval();
10286
+
10287
+ if (!handler) {
10288
+ clearInterval(interval);
10289
+ interval = 0;
10290
+ }
10291
+ }, 300);
10292
+ } catch (error) {
10293
+ console.error("Erro ao fazer o donwload de todos anexos");
10294
+ this.$toasted.global.defaultError({
10295
+ msg: error.message ? error.message : error
10296
+ });
10297
+ }
10109
10298
  }
10110
10299
  }
10111
10300
  };//
@@ -11312,144 +11501,83 @@ var __vue_render__$8 = function __vue_render__() {
11312
11501
 
11313
11502
  return _c('div', {
11314
11503
  staticClass: "mensagem-div-anexo"
11315
- }, [_c('transition-group', {
11316
- staticClass: "anexo-transition",
11504
+ }, [_vm._ssrNode("<div class=\"anexo-mensagem\" data-v-14bae430>", "</div>", [_vm.imageURL ? _vm._ssrNode("<img" + _vm._ssrAttr("src", _vm.imageURL) + _vm._ssrAttr("alt", _vm.dictionary.alt_msg_img) + " data-v-14bae430>", "</img>") : _vm.audio ? _vm._ssrNode("<audio controls=\"controls\" data-v-14bae430><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-14bae430>\n Sem suporte para o elemento audio\n </audio>") : _vm.video ? _vm._ssrNode("<video controls=\"controls\" data-v-14bae430><source" + _vm._ssrAttr("src", _vm.docURL) + _vm._ssrAttr("type", _vm.fileType) + " data-v-14bae430>\n Sem suporte para o elemento video\n </video>") : _vm.docURL ? _vm._ssrNode("<a" + _vm._ssrAttr("href", _vm.docURL) + " target=\"_blank\" rel=\"noreferrer noopener\" class=\"default-doc\" data-v-14bae430>", "</a>", [_c('fa-icon', {
11505
+ class: [_vm.iconClass],
11317
11506
  attrs: {
11318
- "name": "fade",
11319
- "mode": "out-in"
11507
+ "icon": _vm.icon
11508
+ }
11509
+ }), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-14bae430>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2) : _vm._ssrNode("<span class=\"default-doc\" data-v-14bae430>", "</span>", [_c('fa-icon', {
11510
+ class: [_vm.iconClass ? _vm.iconClass : ''],
11511
+ attrs: {
11512
+ "icon": ['fas', 'file-alt']
11320
11513
  }
11321
- }, [_vm.imgErro ? _c('div', {
11514
+ }), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + " data-v-14bae430>" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"file-actions\" data-v-14bae430>", "</div>", [_vm.imageURL ? _vm._ssrNode("<span class=\"file-action-button\" data-v-14bae430>", "</span>", [_c('fa-icon', {
11322
11515
  directives: [{
11323
11516
  name: "tippy",
11324
11517
  rawName: "v-tippy"
11325
11518
  }],
11326
- key: "error-msg",
11327
- attrs: {
11328
- "content": _vm.imgMsgErro
11329
- }
11330
- }, [_c('div', {
11331
- staticClass: "alert alert-danger",
11332
- attrs: {
11333
- "role": "alert"
11334
- }
11335
- }, [_c('fa-icon', {
11336
- attrs: {
11337
- "icon": ['fas', 'file-image']
11338
- }
11339
- }), _vm._v("\n " + _vm._s(_vm.dictionary.img_com_erro) + "\n ")], 1)]) : _vm._e(), _vm._v(" "), _vm.isLoading ? _c('Loader', {
11340
- key: "anexo-loader",
11341
- attrs: {
11342
- "small": true,
11343
- "slow": true
11344
- }
11345
- }) : _c('div', {
11346
- key: "anexo-mensagem",
11347
- staticClass: "anexo-mensagem"
11348
- }, [_vm.imageURL ? _c('img', {
11349
- attrs: {
11350
- "src": _vm.imageURL,
11351
- "alt": _vm.dictionary.alt_msg_img
11352
- },
11353
- on: {
11354
- "click": function click($event) {
11355
- return _vm.showImage(_vm.imageURL);
11356
- }
11357
- }
11358
- }) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('div', {
11359
- staticClass: "anexos-links-container"
11360
- }, [_c('a', {
11361
- attrs: {
11362
- "href": "#"
11363
- },
11364
- on: {
11365
- "click": function click($event) {
11366
- $event.preventDefault();
11367
- return _vm.showImage(_vm.imageURL);
11368
- }
11369
- }
11370
- }, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_visualizar_img) + " ")]), _vm._v(" "), _c('fa-icon', {
11371
11519
  attrs: {
11372
- "icon": ['fas', 'search-plus']
11373
- },
11374
- on: {
11375
- "click": function click($event) {
11376
- return _vm.showImage(_vm.imageURL);
11377
- }
11520
+ "icon": ['fas', 'search-plus'],
11521
+ "content": "" + _vm.dictionary.titulo_visualizar_img
11378
11522
  }
11379
- })], 1) : _vm.docURL ? _c('div', {
11380
- staticClass: "anexo-container"
11381
- }, [_vm.audio || _vm.video ? [_vm.audio ? _c('audio', {
11382
- attrs: {
11383
- "src": _vm.docURL,
11384
- "controls": "",
11385
- "title": _vm.fileType + " - " + _vm.filename
11386
- }
11387
- }, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_audio) + " "), _c('a', {
11523
+ })], 1) : _vm._e(), _vm._ssrNode(" "), _vm.docURL ? _c('a', {
11524
+ directives: [{
11525
+ name: "tippy",
11526
+ rawName: "v-tippy"
11527
+ }],
11528
+ staticClass: "file-action-button",
11388
11529
  attrs: {
11389
11530
  "href": _vm.docURL,
11390
11531
  "target": "_blank",
11391
- "rel": "noreferrer noopener"
11392
- }
11393
- }, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_audio) + " ")])])]) : _vm._e(), _vm._v(" "), _vm.video ? _c('video', {
11394
- attrs: {
11395
- "src": _vm.docURL,
11396
- "controls": "",
11397
- "title": _vm.fileType + " - " + _vm.filename
11532
+ "rel": "noreferrer noopener",
11533
+ "content": "Visualizar anexo"
11398
11534
  }
11399
- }, [_c('p', [_vm._v(" " + _vm._s(_vm.dictionary.msg_erro_video) + " "), _vm.fileType != 'erro' ? _c('a', {
11535
+ }, [_c('fa-icon', {
11400
11536
  attrs: {
11401
- "href": _vm.docURL,
11402
- "target": "_blank",
11403
- "rel": "noreferrer noopener"
11537
+ "icon": ['fas', 'search-plus']
11404
11538
  }
11405
- }, [_vm._v(" " + _vm._s(_vm.dictionary.msg_abrir_video) + " ")]) : _vm._e()])]) : _vm._e()] : [_vm.fileType != 'erro' ? _c('a', {
11539
+ })], 1) : _vm._e(), _vm._ssrNode(" "), _vm.imageURL || _vm.docURL ? _c('a', {
11540
+ directives: [{
11541
+ name: "tippy",
11542
+ rawName: "v-tippy"
11543
+ }],
11544
+ staticClass: "file-action-button",
11406
11545
  attrs: {
11407
- "href": _vm.docURL,
11546
+ "href": _vm.imageURL ? _vm.imageURL : _vm.docURL,
11547
+ "download": "" + _vm.filename,
11408
11548
  "target": "_blank",
11409
11549
  "rel": "noreferrer noopener",
11410
- "title": _vm.fileType + " - " + _vm.filename
11550
+ "content": "Fazer o download do anexo"
11411
11551
  }
11412
11552
  }, [_c('fa-icon', {
11413
- class: [_vm.iconClass],
11414
11553
  attrs: {
11415
- "icon": _vm.icon
11416
- }
11417
- }), _vm._v(" "), _c('p', {
11418
- domProps: {
11419
- "textContent": _vm._s(_vm.filename)
11554
+ "icon": ['fas', 'download']
11420
11555
  }
11421
- })], 1) : _c('p', {
11422
- staticClass: "arquivo-erro",
11556
+ })], 1) : _vm._e(), _vm._ssrNode(" "), _c('span', {
11557
+ directives: [{
11558
+ name: "tippy",
11559
+ rawName: "v-tippy"
11560
+ }],
11561
+ staticClass: "file-action-button",
11423
11562
  attrs: {
11424
- "title": _vm.fileType + " - " + _vm.filename
11563
+ "content": "Fazer download de todos anexos da tela"
11564
+ },
11565
+ on: {
11566
+ "click": _vm.downloadAllFilesHandler
11425
11567
  }
11426
11568
  }, [_c('fa-icon', {
11427
- attrs: {
11428
- "icon": ['fas', 'file-alt']
11429
- }
11430
- }), _vm._v("\n " + _vm._s(_vm.filename) + "\n ")], 1)]], 2) : _vm._e(), _vm._v(" "), _vm.imageURL ? _c('a', {
11431
- attrs: {
11432
- "href": _vm.imageURL,
11433
- "download": "" + _vm.filename,
11434
- "target": "_blank",
11435
- "rel": "noreferrer noopener"
11436
- }
11437
- }, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_baixar_img) + " "), _c('fa-icon', {
11438
11569
  attrs: {
11439
11570
  "icon": ['fas', 'download']
11440
11571
  }
11441
- })], 1) : _vm._e(), _vm._v(" "), _vm.docURL ? _c('a', {
11572
+ }), _vm._ssrNode(" "), _c('fa-icon', {
11442
11573
  attrs: {
11443
- "href": _vm.docURL,
11444
- "download": "" + _vm.filename,
11445
- "target": "_blank",
11446
- "rel": "noreferrer noopener"
11574
+ "icon": ['fas', 'download']
11447
11575
  }
11448
- }, [_vm._v(" " + _vm._s(_vm.dictionary.titulo_baixar_doc) + " "), _c('fa-icon', {
11576
+ }), _vm._ssrNode(" "), _c('fa-icon', {
11449
11577
  attrs: {
11450
11578
  "icon": ['fas', 'download']
11451
11579
  }
11452
- })], 1) : _vm._e()])], 1)], 1);
11580
+ })], 2)], 2)], 2)]);
11453
11581
  };
11454
11582
 
11455
11583
  var __vue_staticRenderFns__$8 = [];
@@ -11457,8 +11585,8 @@ var __vue_staticRenderFns__$8 = [];
11457
11585
 
11458
11586
  var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
11459
11587
  if (!inject) return;
11460
- inject("data-v-433c38d2_0", {
11461
- source: ".fade-enter-active[data-v-433c38d2],.fade-leave-active[data-v-433c38d2]{transition:opacity .5s}.fade-enter[data-v-433c38d2],.fade-leave-to[data-v-433c38d2]{opacity:0}.mensagem-div-anexo[data-v-433c38d2]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-433c38d2]{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro[data-v-433c38d2],.anexo-container a[data-v-433c38d2]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p[data-v-433c38d2]{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro[data-v-433c38d2],.anexo-container p[data-v-433c38d2]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-433c38d2]{font-size:2rem}.anexo-container audio[data-v-433c38d2]{outline:0;width:100%}.anexo-container video[data-v-433c38d2]{flex:1;width:100%;max-width:350px;cursor:pointer}.anexos-links-container[data-v-433c38d2]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-433c38d2]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg[data-v-433c38d2]{cursor:pointer}.mensagem-div-anexo img[data-v-433c38d2]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-433c38d2]{width:100%;height:100%}.anexo-mensagem[data-v-433c38d2]{display:flex;justify-content:center;align-items:center;flex-direction:column}.alert-danger[data-v-433c38d2]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-433c38d2]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-433c38d2]{font-size:1.025em;margin-right:2px}.pdf[data-v-433c38d2]{color:#e74c3c}.doc[data-v-433c38d2]{color:#006bc9}",
11588
+ inject("data-v-14bae430_0", {
11589
+ source: ".mensagem__principal .default-doc[data-v-14bae430]{background-color:rgba(255,255,255,.1)}.mensagem__outros .default-doc[data-v-14bae430]{background-color:rgba(100,100,100,.1)}.default-doc[data-v-14bae430]{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%}.default-doc svg[data-v-14bae430]{font-size:1.2rem;margin-right:5px}.default-doc p[data-v-14bae430]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions[data-v-14bae430]{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a[data-v-14bae430]{margin-right:0}.mensagem__principal .file-action-button[data-v-14bae430]{background-color:rgba(255,255,255,.1)}.mensagem__outros .file-action-button[data-v-14bae430]{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button[data-v-14bae430]:hover{background-color:rgba(255,255,255,.3)}.mensagem__outros .file-action-button[data-v-14bae430]:hover{background-color:rgba(100,100,100,.3)}.file-action-button[data-v-14bae430]{display:flex;justify-content:center;align-items:center;margin-left:12px;cursor:pointer;padding:5px;border-radius:5px;transition:background-color 150ms ease-in-out}.file-action-button a[data-v-14bae430]{margin:0}.fade-enter-active[data-v-14bae430],.fade-leave-active[data-v-14bae430]{transition:opacity .5s}.fade-enter[data-v-14bae430],.fade-leave-to[data-v-14bae430]{opacity:0}.mensagem-div-anexo[data-v-14bae430]{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container[data-v-14bae430]{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro[data-v-14bae430],.anexo-container a[data-v-14bae430]{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p[data-v-14bae430]{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro[data-v-14bae430],.anexo-container p[data-v-14bae430]{margin:0;margin-left:15px;font-size:.9rem}.anexo-container svg[data-v-14bae430]{font-size:2rem}.anexo-mensagem audio[data-v-14bae430]{outline:0;width:100%;margin-bottom:5px}.anexo-mensagem video[data-v-14bae430]{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container[data-v-14bae430]{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a[data-v-14bae430]{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg[data-v-14bae430]{cursor:pointer}.mensagem-div-anexo img[data-v-14bae430]{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition[data-v-14bae430]{width:100%;height:100%}.anexo-mensagem[data-v-14bae430]{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger[data-v-14bae430]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert[data-v-14bae430]{position:relative;padding:.65rem 1.2rem;margin:5px 0;border:1px solid transparent;border-radius:.25rem;text-align:center}.alert svg[data-v-14bae430]{font-size:1.025em;margin-right:2px}.pdf[data-v-14bae430]{color:#e74c3c}.doc[data-v-14bae430]{color:#006bc9}",
11462
11590
  map: undefined,
11463
11591
  media: undefined
11464
11592
  });
@@ -11466,10 +11594,10 @@ var __vue_inject_styles__$8 = function __vue_inject_styles__(inject) {
11466
11594
  /* scoped */
11467
11595
 
11468
11596
 
11469
- var __vue_scope_id__$8 = "data-v-433c38d2";
11597
+ var __vue_scope_id__$8 = "data-v-14bae430";
11470
11598
  /* module identifier */
11471
11599
 
11472
- var __vue_module_identifier__$8 = "data-v-433c38d2";
11600
+ var __vue_module_identifier__$8 = "data-v-14bae430";
11473
11601
  /* functional template */
11474
11602
 
11475
11603
  var __vue_is_functional_template__$8 = false;
@@ -11782,7 +11910,10 @@ var script$5 = {
11782
11910
  InteratividadeFormulario: InteratividadeFormulario,
11783
11911
  LinkPreview: LinkPreview
11784
11912
  },
11785
- props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply", "iniDialogo", "dialogoId", "dialogoOrigem", "expSessao"],
11913
+ props: ["smartchannel", "messageIndex", "dictionary", "autor", "origem", "msg", "link", "anexo", "imgAnexo", "tipoDoc", "docAnexo", "nomeArquivo", "audio", "video", "horario", "status", "logo", "msgTooltip", "seq", "mapa", "histMsg", "erro", "msgErro", "origemExterna", "anexos", "dominio", "corMsg", "interatividade", "msgReply", "hasReply", "iniDialogo", "dialogoId", "dialogoOrigem", "expSessao", "referenceSelector"],
11914
+ created: function created() {
11915
+ if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
11916
+ },
11786
11917
  data: function data() {
11787
11918
  return {
11788
11919
  strTooltipAux: "",
@@ -12045,7 +12176,10 @@ var __vue_render__$5 = function __vue_render__() {
12045
12176
  "dominio": _vm.dominio
12046
12177
  },
12047
12178
  on: {
12048
- "abrir-imagem": _vm.abrirImagem
12179
+ "abrir-imagem": _vm.abrirImagem,
12180
+ "download-all": function downloadAll($event) {
12181
+ return _vm.$emit('download-all');
12182
+ }
12049
12183
  }
12050
12184
  })], 1);
12051
12185
  }) : _vm._e(), _vm._v(" "), _vm.urlSticker ? _c('img', {
@@ -12290,7 +12424,7 @@ var __vue_staticRenderFns__$5 = [];
12290
12424
 
12291
12425
  var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
12292
12426
  if (!inject) return;
12293
- inject("data-v-44a68ecf_0", {
12427
+ inject("data-v-4d7ba00c_0", {
12294
12428
  source: ":root{--message-color:#373737;--text-color:#FFF;--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem{padding:14px 7px;border-radius: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:.75rem;word-break:break-word;-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)}.mensagem.max-w-60{max-width:60%}.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:var(--text-color)}.mensagem__principal>.mensagem .horario-envio{color:var(--text-color)}.mensagem__principal>.mensagem .autor-mensagem{right:5px;color:var(--text-color)}.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:.85em}.info-mapa li.url{font-size:.85em}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}",
12295
12429
  map: undefined,
12296
12430
  media: undefined
@@ -12302,7 +12436,7 @@ var __vue_inject_styles__$5 = function __vue_inject_styles__(inject) {
12302
12436
  var __vue_scope_id__$5 = undefined;
12303
12437
  /* module identifier */
12304
12438
 
12305
- var __vue_module_identifier__$5 = "data-v-44a68ecf";
12439
+ var __vue_module_identifier__$5 = "data-v-4d7ba00c";
12306
12440
  /* functional template */
12307
12441
 
12308
12442
  var __vue_is_functional_template__$5 = false;