vue-intergrall-plugins 1.1.38 → 1.1.40

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.
@@ -1,4 +1,99 @@
1
- 'use strict';function _iterableToArrayLimit(r, l) {
1
+ 'use strict';function _arrayLikeToArray(r, a) {
2
+ (null == a || a > r.length) && (a = r.length);
3
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
4
+ return n;
5
+ }
6
+ function _arrayWithHoles(r) {
7
+ if (Array.isArray(r)) return r;
8
+ }
9
+ function _arrayWithoutHoles(r) {
10
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
11
+ }
12
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
13
+ try {
14
+ var i = n[a](c),
15
+ u = i.value;
16
+ } catch (n) {
17
+ return void e(n);
18
+ }
19
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
20
+ }
21
+ function _asyncToGenerator(n) {
22
+ return function () {
23
+ var t = this,
24
+ e = arguments;
25
+ return new Promise(function (r, o) {
26
+ var a = n.apply(t, e);
27
+ function _next(n) {
28
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
29
+ }
30
+ function _throw(n) {
31
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
32
+ }
33
+ _next(void 0);
34
+ });
35
+ };
36
+ }
37
+ function _createForOfIteratorHelper(r, e) {
38
+ var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
39
+ if (!t) {
40
+ if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
41
+ t && (r = t);
42
+ var n = 0,
43
+ F = function () {};
44
+ return {
45
+ s: F,
46
+ n: function () {
47
+ return n >= r.length ? {
48
+ done: !0
49
+ } : {
50
+ done: !1,
51
+ value: r[n++]
52
+ };
53
+ },
54
+ e: function (r) {
55
+ throw r;
56
+ },
57
+ f: F
58
+ };
59
+ }
60
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
61
+ }
62
+ var o,
63
+ a = !0,
64
+ u = !1;
65
+ return {
66
+ s: function () {
67
+ t = t.call(r);
68
+ },
69
+ n: function () {
70
+ var r = t.next();
71
+ return a = r.done, r;
72
+ },
73
+ e: function (r) {
74
+ u = !0, o = r;
75
+ },
76
+ f: function () {
77
+ try {
78
+ a || null == t.return || t.return();
79
+ } finally {
80
+ if (u) throw o;
81
+ }
82
+ }
83
+ };
84
+ }
85
+ function _defineProperty(e, r, t) {
86
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
87
+ value: t,
88
+ enumerable: !0,
89
+ configurable: !0,
90
+ writable: !0
91
+ }) : e[r] = t, e;
92
+ }
93
+ function _iterableToArray(r) {
94
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
95
+ }
96
+ function _iterableToArrayLimit(r, l) {
2
97
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
3
98
  if (null != t) {
4
99
  var e,
@@ -25,6 +120,12 @@
25
120
  return a;
26
121
  }
27
122
  }
123
+ function _nonIterableRest() {
124
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
125
+ }
126
+ function _nonIterableSpread() {
127
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
128
+ }
28
129
  function ownKeys(e, r) {
29
130
  var t = Object.keys(e);
30
131
  if (Object.getOwnPropertySymbols) {
@@ -46,306 +147,119 @@ function _objectSpread2(e) {
46
147
  }
47
148
  return e;
48
149
  }
49
- function _regeneratorRuntime() {
50
- _regeneratorRuntime = function () {
51
- return e;
52
- };
53
- var t,
54
- e = {},
55
- r = Object.prototype,
56
- n = r.hasOwnProperty,
57
- o = Object.defineProperty || function (t, e, r) {
58
- t[e] = r.value;
59
- },
60
- i = "function" == typeof Symbol ? Symbol : {},
61
- a = i.iterator || "@@iterator",
62
- c = i.asyncIterator || "@@asyncIterator",
63
- u = i.toStringTag || "@@toStringTag";
64
- function define(t, e, r) {
65
- return Object.defineProperty(t, e, {
66
- value: r,
67
- enumerable: !0,
68
- configurable: !0,
69
- writable: !0
70
- }), t[e];
71
- }
72
- try {
73
- define({}, "");
74
- } catch (t) {
75
- define = function (t, e, r) {
76
- return t[e] = r;
77
- };
78
- }
79
- function wrap(t, e, r, n) {
80
- var i = e && e.prototype instanceof Generator ? e : Generator,
81
- a = Object.create(i.prototype),
82
- c = new Context(n || []);
83
- return o(a, "_invoke", {
84
- value: makeInvokeMethod(t, r, c)
85
- }), a;
86
- }
87
- function tryCatch(t, e, r) {
88
- try {
89
- return {
90
- type: "normal",
91
- arg: t.call(e, r)
92
- };
93
- } catch (t) {
94
- return {
95
- type: "throw",
96
- arg: t
97
- };
98
- }
99
- }
100
- e.wrap = wrap;
101
- var h = "suspendedStart",
102
- l = "suspendedYield",
103
- f = "executing",
104
- s = "completed",
105
- y = {};
106
- function Generator() {}
107
- function GeneratorFunction() {}
108
- function GeneratorFunctionPrototype() {}
109
- var p = {};
110
- define(p, a, function () {
111
- return this;
112
- });
113
- var d = Object.getPrototypeOf,
114
- v = d && d(d(values([])));
115
- v && v !== r && n.call(v, a) && (p = v);
116
- var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
117
- function defineIteratorMethods(t) {
118
- ["next", "throw", "return"].forEach(function (e) {
119
- define(t, e, function (t) {
120
- return this._invoke(e, t);
121
- });
122
- });
123
- }
124
- function AsyncIterator(t, e) {
125
- function invoke(r, o, i, a) {
126
- var c = tryCatch(t[r], t, o);
127
- if ("throw" !== c.type) {
128
- var u = c.arg,
129
- h = u.value;
130
- return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
131
- invoke("next", t, i, a);
132
- }, function (t) {
133
- invoke("throw", t, i, a);
134
- }) : e.resolve(h).then(function (t) {
135
- u.value = t, i(u);
136
- }, function (t) {
137
- return invoke("throw", t, i, a);
138
- });
139
- }
140
- a(c.arg);
141
- }
142
- var r;
143
- o(this, "_invoke", {
144
- value: function (t, n) {
145
- function callInvokeWithMethodAndArg() {
146
- return new e(function (e, r) {
147
- invoke(t, n, e, r);
148
- });
150
+ function _regenerator() {
151
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
152
+ var e,
153
+ t,
154
+ r = "function" == typeof Symbol ? Symbol : {},
155
+ n = r.iterator || "@@iterator",
156
+ o = r.toStringTag || "@@toStringTag";
157
+ function i(r, n, o, i) {
158
+ var c = n && n.prototype instanceof Generator ? n : Generator,
159
+ u = Object.create(c.prototype);
160
+ return _regeneratorDefine(u, "_invoke", function (r, n, o) {
161
+ var i,
162
+ c,
163
+ u,
164
+ f = 0,
165
+ p = o || [],
166
+ y = !1,
167
+ G = {
168
+ p: 0,
169
+ n: 0,
170
+ v: e,
171
+ a: d,
172
+ f: d.bind(e, 4),
173
+ d: function (t, r) {
174
+ return i = t, c = 0, u = e, G.n = r, a;
175
+ }
176
+ };
177
+ function d(r, n) {
178
+ for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
179
+ var o,
180
+ i = p[t],
181
+ d = G.p,
182
+ l = i[2];
183
+ r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
184
+ }
185
+ if (o || r > 1) return a;
186
+ throw y = !0, n;
187
+ }
188
+ return function (o, p, l) {
189
+ if (f > 1) throw TypeError("Generator is already running");
190
+ for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
191
+ i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
192
+ try {
193
+ if (f = 2, i) {
194
+ if (c || (o = "next"), t = i[o]) {
195
+ if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
196
+ if (!t.done) return t;
197
+ u = t.value, c < 2 && (c = 0);
198
+ } else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
199
+ i = e;
200
+ } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
201
+ } catch (t) {
202
+ i = e, c = 1, u = t;
203
+ } finally {
204
+ f = 1;
205
+ }
149
206
  }
150
- return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
151
- }
152
- });
153
- }
154
- function makeInvokeMethod(e, r, n) {
155
- var o = h;
156
- return function (i, a) {
157
- if (o === f) throw new Error("Generator is already running");
158
- if (o === s) {
159
- if ("throw" === i) throw a;
160
207
  return {
161
208
  value: t,
162
- done: !0
209
+ done: y
163
210
  };
164
- }
165
- for (n.method = i, n.arg = a;;) {
166
- var c = n.delegate;
167
- if (c) {
168
- var u = maybeInvokeDelegate(c, n);
169
- if (u) {
170
- if (u === y) continue;
171
- return u;
172
- }
173
- }
174
- if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
175
- if (o === h) throw o = s, n.arg;
176
- n.dispatchException(n.arg);
177
- } else "return" === n.method && n.abrupt("return", n.arg);
178
- o = f;
179
- var p = tryCatch(e, r, n);
180
- if ("normal" === p.type) {
181
- if (o = n.done ? s : l, p.arg === y) continue;
182
- return {
183
- value: p.arg,
184
- done: n.done
185
- };
186
- }
187
- "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
188
- }
189
- };
190
- }
191
- function maybeInvokeDelegate(e, r) {
192
- var n = r.method,
193
- o = e.iterator[n];
194
- if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
195
- var i = tryCatch(o, e.iterator, r.arg);
196
- if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
197
- var a = i.arg;
198
- return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
199
- }
200
- function pushTryEntry(t) {
201
- var e = {
202
- tryLoc: t[0]
203
- };
204
- 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
205
- }
206
- function resetTryEntry(t) {
207
- var e = t.completion || {};
208
- e.type = "normal", delete e.arg, t.completion = e;
209
- }
210
- function Context(t) {
211
- this.tryEntries = [{
212
- tryLoc: "root"
213
- }], t.forEach(pushTryEntry, this), this.reset(!0);
211
+ };
212
+ }(r, o, i), !0), u;
214
213
  }
215
- function values(e) {
216
- if (e || "" === e) {
217
- var r = e[a];
218
- if (r) return r.call(e);
219
- if ("function" == typeof e.next) return e;
220
- if (!isNaN(e.length)) {
221
- var o = -1,
222
- i = function next() {
223
- for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
224
- return next.value = t, next.done = !0, next;
225
- };
226
- return i.next = i;
227
- }
228
- }
229
- throw new TypeError(typeof e + " is not iterable");
214
+ var a = {};
215
+ function Generator() {}
216
+ function GeneratorFunction() {}
217
+ function GeneratorFunctionPrototype() {}
218
+ t = Object.getPrototypeOf;
219
+ var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
220
+ return this;
221
+ }), t),
222
+ u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
223
+ function f(e) {
224
+ return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
230
225
  }
231
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
232
- value: GeneratorFunctionPrototype,
233
- configurable: !0
234
- }), o(GeneratorFunctionPrototype, "constructor", {
235
- value: GeneratorFunction,
236
- configurable: !0
237
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
238
- var e = "function" == typeof t && t.constructor;
239
- return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
240
- }, e.mark = function (t) {
241
- return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
242
- }, e.awrap = function (t) {
243
- return {
244
- __await: t
245
- };
246
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
247
- return this;
248
- }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
249
- void 0 === i && (i = Promise);
250
- var a = new AsyncIterator(wrap(t, r, n, o), i);
251
- return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
252
- return t.done ? t.value : a.next();
253
- });
254
- }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
226
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
255
227
  return this;
256
- }), define(g, "toString", function () {
228
+ }), _regeneratorDefine(u, "toString", function () {
257
229
  return "[object Generator]";
258
- }), e.keys = function (t) {
259
- var e = Object(t),
260
- r = [];
261
- for (var n in e) r.push(n);
262
- return r.reverse(), function next() {
263
- for (; r.length;) {
264
- var t = r.pop();
265
- if (t in e) return next.value = t, next.done = !1, next;
266
- }
267
- return next.done = !0, next;
230
+ }), (_regenerator = function () {
231
+ return {
232
+ w: i,
233
+ m: f
268
234
  };
269
- }, e.values = values, Context.prototype = {
270
- constructor: Context,
271
- reset: function (e) {
272
- if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
273
- },
274
- stop: function () {
275
- this.done = !0;
276
- var t = this.tryEntries[0].completion;
277
- if ("throw" === t.type) throw t.arg;
278
- return this.rval;
279
- },
280
- dispatchException: function (e) {
281
- if (this.done) throw e;
282
- var r = this;
283
- function handle(n, o) {
284
- return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
285
- }
286
- for (var o = this.tryEntries.length - 1; o >= 0; --o) {
287
- var i = this.tryEntries[o],
288
- a = i.completion;
289
- if ("root" === i.tryLoc) return handle("end");
290
- if (i.tryLoc <= this.prev) {
291
- var c = n.call(i, "catchLoc"),
292
- u = n.call(i, "finallyLoc");
293
- if (c && u) {
294
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
295
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
296
- } else if (c) {
297
- if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
298
- } else {
299
- if (!u) throw new Error("try statement without catch or finally");
300
- if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
301
- }
302
- }
303
- }
304
- },
305
- abrupt: function (t, e) {
306
- for (var r = this.tryEntries.length - 1; r >= 0; --r) {
307
- var o = this.tryEntries[r];
308
- if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
309
- var i = o;
310
- break;
311
- }
312
- }
313
- i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
314
- var a = i ? i.completion : {};
315
- return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
316
- },
317
- complete: function (t, e) {
318
- if ("throw" === t.type) throw t.arg;
319
- return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
320
- },
321
- finish: function (t) {
322
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
323
- var r = this.tryEntries[e];
324
- if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
325
- }
326
- },
327
- catch: function (t) {
328
- for (var e = this.tryEntries.length - 1; e >= 0; --e) {
329
- var r = this.tryEntries[e];
330
- if (r.tryLoc === t) {
331
- var n = r.completion;
332
- if ("throw" === n.type) {
333
- var o = n.arg;
334
- resetTryEntry(r);
335
- }
336
- return o;
337
- }
338
- }
339
- throw new Error("illegal catch attempt");
340
- },
341
- delegateYield: function (e, r, n) {
342
- return this.delegate = {
343
- iterator: values(e),
344
- resultName: r,
345
- nextLoc: n
346
- }, "next" === this.method && (this.arg = t), y;
235
+ })();
236
+ }
237
+ function _regeneratorDefine(e, r, n, t) {
238
+ var i = Object.defineProperty;
239
+ try {
240
+ i({}, "", {});
241
+ } catch (e) {
242
+ i = 0;
243
+ }
244
+ _regeneratorDefine = function (e, r, n, t) {
245
+ function o(r, n) {
246
+ _regeneratorDefine(e, r, function (e) {
247
+ return this._invoke(r, n, e);
248
+ });
347
249
  }
348
- }, e;
250
+ r ? i ? i(e, r, {
251
+ value: n,
252
+ enumerable: !t,
253
+ configurable: !t,
254
+ writable: !t
255
+ }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
256
+ }, _regeneratorDefine(e, r, n, t);
257
+ }
258
+ function _slicedToArray(r, e) {
259
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
260
+ }
261
+ function _toConsumableArray(r) {
262
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
349
263
  }
350
264
  function _toPrimitive(t, r) {
351
265
  if ("object" != typeof t || !t) return t;
@@ -359,7 +273,7 @@ function _toPrimitive(t, r) {
359
273
  }
360
274
  function _toPropertyKey(t) {
361
275
  var i = _toPrimitive(t, "string");
362
- return "symbol" == typeof i ? i : String(i);
276
+ return "symbol" == typeof i ? i : i + "";
363
277
  }
364
278
  function _typeof(o) {
365
279
  "@babel/helpers - typeof";
@@ -370,134 +284,12 @@ function _typeof(o) {
370
284
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
371
285
  }, _typeof(o);
372
286
  }
373
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
374
- try {
375
- var info = gen[key](arg);
376
- var value = info.value;
377
- } catch (error) {
378
- reject(error);
379
- return;
380
- }
381
- if (info.done) {
382
- resolve(value);
383
- } else {
384
- Promise.resolve(value).then(_next, _throw);
385
- }
386
- }
387
- function _asyncToGenerator(fn) {
388
- return function () {
389
- var self = this,
390
- args = arguments;
391
- return new Promise(function (resolve, reject) {
392
- var gen = fn.apply(self, args);
393
- function _next(value) {
394
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
395
- }
396
- function _throw(err) {
397
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
398
- }
399
- _next(undefined);
400
- });
401
- };
402
- }
403
- function _defineProperty(obj, key, value) {
404
- key = _toPropertyKey(key);
405
- if (key in obj) {
406
- Object.defineProperty(obj, key, {
407
- value: value,
408
- enumerable: true,
409
- configurable: true,
410
- writable: true
411
- });
412
- } else {
413
- obj[key] = value;
287
+ function _unsupportedIterableToArray(r, a) {
288
+ if (r) {
289
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
290
+ var t = {}.toString.call(r).slice(8, -1);
291
+ return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
414
292
  }
415
- return obj;
416
- }
417
- function _slicedToArray(arr, i) {
418
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
419
- }
420
- function _toConsumableArray(arr) {
421
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
422
- }
423
- function _arrayWithoutHoles(arr) {
424
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
425
- }
426
- function _arrayWithHoles(arr) {
427
- if (Array.isArray(arr)) return arr;
428
- }
429
- function _iterableToArray(iter) {
430
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
431
- }
432
- function _unsupportedIterableToArray(o, minLen) {
433
- if (!o) return;
434
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
435
- var n = Object.prototype.toString.call(o).slice(8, -1);
436
- if (n === "Object" && o.constructor) n = o.constructor.name;
437
- if (n === "Map" || n === "Set") return Array.from(o);
438
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
439
- }
440
- function _arrayLikeToArray(arr, len) {
441
- if (len == null || len > arr.length) len = arr.length;
442
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
443
- return arr2;
444
- }
445
- function _nonIterableSpread() {
446
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
447
- }
448
- function _nonIterableRest() {
449
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
450
- }
451
- function _createForOfIteratorHelper(o, allowArrayLike) {
452
- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
453
- if (!it) {
454
- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
455
- if (it) o = it;
456
- var i = 0;
457
- var F = function () {};
458
- return {
459
- s: F,
460
- n: function () {
461
- if (i >= o.length) return {
462
- done: true
463
- };
464
- return {
465
- done: false,
466
- value: o[i++]
467
- };
468
- },
469
- e: function (e) {
470
- throw e;
471
- },
472
- f: F
473
- };
474
- }
475
- throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
476
- }
477
- var normalCompletion = true,
478
- didErr = false,
479
- err;
480
- return {
481
- s: function () {
482
- it = it.call(o);
483
- },
484
- n: function () {
485
- var step = it.next();
486
- normalCompletion = step.done;
487
- return step;
488
- },
489
- e: function (e) {
490
- didErr = true;
491
- err = e;
492
- },
493
- f: function () {
494
- try {
495
- if (!normalCompletion && it.return != null) it.return();
496
- } finally {
497
- if (didErr) throw err;
498
- }
499
- }
500
- };
501
293
  }var top = 'top';
502
294
  var bottom = 'bottom';
503
295
  var right = 'right';
@@ -4890,72 +4682,71 @@ var dev = window.location.hostname == "localhost" ? "&teste=eloteste" : "";var s
4890
4682
  methods: {
4891
4683
  getStandardMessages: function getStandardMessages(type, token) {
4892
4684
  var _this = this;
4893
- return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
4894
- var url, response, data, tipo, nivel, conteudo, msg_ret, st_ret;
4895
- return _regeneratorRuntime().wrap(function _callee$(_context) {
4896
- while (1) switch (_context.prev = _context.next) {
4685
+ return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
4686
+ var url, response, data, tipo, nivel, conteudo, msg_ret, st_ret, _t;
4687
+ return _regenerator().w(function (_context) {
4688
+ while (1) switch (_context.p = _context.n) {
4897
4689
  case 0:
4898
4690
  url = "".concat(baseURL, "/messages/").concat(type, "?token_cliente=").concat(token).concat(_this.$root.$reqTeste || dev);
4899
4691
  if (_this.$root.$httpRequest) {
4900
- _context.next = 3;
4692
+ _context.n = 1;
4901
4693
  break;
4902
4694
  }
4903
- return _context.abrupt("return", false);
4904
- case 3:
4905
- _context.prev = 3;
4906
- _context.next = 6;
4695
+ return _context.a(2, false);
4696
+ case 1:
4697
+ _context.p = 1;
4698
+ _context.n = 2;
4907
4699
  return _this.$root.$httpRequest.get(url);
4908
- case 6:
4909
- response = _context.sent;
4700
+ case 2:
4701
+ response = _context.v;
4910
4702
  if (!(_typeof(response) != "object" || _typeof(response.data) != "object")) {
4911
- _context.next = 9;
4703
+ _context.n = 3;
4912
4704
  break;
4913
4705
  }
4914
- return _context.abrupt("return", {
4706
+ return _context.a(2, {
4915
4707
  msg_ret: "Retorno incorreto das mensagens formatadas",
4916
4708
  error: true
4917
4709
  });
4918
- case 9:
4710
+ case 3:
4919
4711
  data = response.data;
4920
4712
  tipo = data.tipo, nivel = data.nivel, conteudo = data.conteudo, msg_ret = data.msg_ret, st_ret = data.st_ret;
4921
4713
  if (tipo) _this.$emit("set-message-type", tipo);
4922
4714
  if (!(st_ret === "OK")) {
4923
- _context.next = 16;
4715
+ _context.n = 4;
4924
4716
  break;
4925
4717
  }
4926
- return _context.abrupt("return", conteudo ? conteudo : nivel);
4927
- case 16:
4718
+ return _context.a(2, conteudo ? conteudo : nivel);
4719
+ case 4:
4928
4720
  if (!(st_ret === "AVISO")) {
4929
- _context.next = 20;
4721
+ _context.n = 5;
4930
4722
  break;
4931
4723
  }
4932
- return _context.abrupt("return", {
4724
+ return _context.a(2, {
4933
4725
  msg_ret: msg_ret
4934
4726
  });
4935
- case 20:
4936
- return _context.abrupt("return", msg_ret ? {
4727
+ case 5:
4728
+ return _context.a(2, msg_ret ? {
4937
4729
  msg_ret: msg_ret,
4938
4730
  error: true
4939
4731
  } : {
4940
4732
  msg_ret: "Erro ao buscar mensagens formatadas",
4941
4733
  error: true
4942
4734
  });
4943
- case 21:
4944
- _context.next = 27;
4735
+ case 6:
4736
+ _context.n = 8;
4945
4737
  break;
4946
- case 23:
4947
- _context.prev = 23;
4948
- _context.t0 = _context["catch"](3);
4949
- console.error("Erro na requisicao para o servidor (2)", _context.t0);
4950
- return _context.abrupt("return", {
4951
- msg_ret: _context.t0.message ? _context.t0.message : _context.t0,
4738
+ case 7:
4739
+ _context.p = 7;
4740
+ _t = _context.v;
4741
+ console.error("Erro na requisicao para o servidor (2)", _t);
4742
+ return _context.a(2, {
4743
+ msg_ret: _t.message ? _t.message : _t,
4952
4744
  error: true
4953
4745
  });
4954
- case 27:
4955
- case "end":
4956
- return _context.stop();
4746
+ case 8:
4747
+ return _context.a(2);
4957
4748
  }
4958
- }, _callee, null, [[3, 23]]);
4749
+ }, _callee, null, [[1, 7]]);
4959
4750
  }))();
4960
4751
  }
4961
4752
  }
@@ -8459,12 +8250,21 @@ var script$c = {
8459
8250
  },
8460
8251
  showControlFiles: {
8461
8252
  type: Boolean
8253
+ },
8254
+ hasTranscription: {
8255
+ type: Boolean,
8256
+ default: false
8257
+ },
8258
+ transcriptionText: {
8259
+ type: String,
8260
+ default: ""
8462
8261
  }
8463
8262
  },
8464
8263
  data: function data() {
8465
8264
  return {
8466
8265
  imgErro: false,
8467
- imgMsgErro: ""
8266
+ imgMsgErro: "",
8267
+ hideTranscription: false
8468
8268
  };
8469
8269
  },
8470
8270
  mounted: function mounted() {
@@ -8475,6 +8275,12 @@ var script$c = {
8475
8275
  }
8476
8276
  },
8477
8277
  methods: {
8278
+ toggleHideTranscription: function toggleHideTranscription() {
8279
+ this.hideTranscription = !this.hideTranscription;
8280
+ },
8281
+ emitTranscription: function emitTranscription() {
8282
+ this.$emit("transcribe-audio", this.anexo);
8283
+ },
8478
8284
  changeAudioSpeed: function changeAudioSpeed(newSpeed) {
8479
8285
  // Aplique a velocidade ao elemento de áudio
8480
8286
  this.$refs.audioPlayer.playbackRate = newSpeed;
@@ -8529,7 +8335,11 @@ var __vue_render__$c = function __vue_render__() {
8529
8335
  attrs: {
8530
8336
  "icon": ['fas', 'file-alt']
8531
8337
  }
8532
- }), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + ">" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2), _vm._ssrNode(" "), _vm.showControlFiles ? _vm._ssrNode("<div class=\"file-actions\">", "</div>", [_vm.imageURL ? _vm._ssrNode("<span class=\"file-action-button\">", "</span>", [_c('fa-icon', {
8338
+ }), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.filename) + ">" + _vm._ssrEscape(_vm._s(_vm.filename)) + "</p>")], 2), _vm._ssrNode(" " + (_vm.audio && _vm.hasTranscription ? "<div class=\"transcription-controls\">" + _vm._ssrEscape("\n " + _vm._s(_vm.dictionary.transcricaoControl || 'Transcrever') + "\n ") + "</div>" : "<!---->") + " "), _vm.audio && _vm.transcriptionText ? _vm._ssrNode("<div class=\"transcription-container\">", "</div>", [_vm._ssrNode("<div class=\"transcription-header\">", "</div>", [_vm._ssrNode((!_vm.hideTranscription ? "<p>" + _vm._ssrEscape(_vm._s((_vm.dictionary.transcricaoLabel || 'Transcricao') + ": ")) + "</p>" : "<!---->") + " "), _vm._ssrNode("<button class=\"transcription-button\">", "</button>", [_c('fa-icon', {
8339
+ attrs: {
8340
+ "icon": ['fas', "caret-" + (_vm.hideTranscription ? 'down' : 'up')]
8341
+ }
8342
+ })], 1)], 2), _vm._ssrNode(" " + (!_vm.hideTranscription ? "<p class=\"transcription-text\">" + _vm._ssrEscape(_vm._s(_vm.transcriptionText)) + "</p>" : "<!---->"))], 2) : _vm._e(), _vm._ssrNode(" "), _vm.showControlFiles ? _vm._ssrNode("<div class=\"file-actions\">", "</div>", [_vm.imageURL ? _vm._ssrNode("<span class=\"file-action-button\">", "</span>", [_c('fa-icon', {
8533
8343
  directives: [{
8534
8344
  name: "tippy",
8535
8345
  rawName: "v-tippy"
@@ -8629,11 +8439,11 @@ var __vue_staticRenderFns__$c = [];
8629
8439
  /* style */
8630
8440
  var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
8631
8441
  if (!inject) return;
8632
- inject("data-v-00cbd881_0", {
8633
- source: ".tippy-tooltip.light-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-theme{background-color:#fff;border:1px solid #ccc;color:#333;-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)}.tippy-confirmation p{margin-bottom:3px}.tippy-confirmation button{border:unset;background-color:#f1f1f1;border-radius:3px;padding:5px 8px;cursor:pointer;font-size:12px}.tippy-confirmation button.cancel{border-bottom:2px solid red;margin-right:15px}.tippy-confirmation button.confirm{border-bottom:2px solid green}",
8442
+ inject("data-v-0bd81928_0", {
8443
+ source: ".transcription-container{display:flex;flex-wrap:wrap;width:100%}.transcription-header{display:flex;justify-content:flex-end;align-items:center;gap:10px;width:100%}.transcription-header>p{flex:1}.transcription-button{background-color:transparent;border:none;cursor:pointer;transition:background 150ms ease-in-out;border-radius:5px;display:flex;justify-content:center;align-items:center}.transcription-button:hover{background:rgba(0,0,0,.1)}.transcription-controls{margin-top:10px;color:#00f;cursor:pointer}.transcription-controls:hover{text-decoration:underline}.transcription-text{white-space:break-spaces;color:rgba(0,0,0,.6)}.tippy-tooltip.light-theme .tippy-backdrop{background-color:#fff}.tippy-tooltip.light-theme{background-color:#fff;border:1px solid #ccc;color:#333;-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)}.tippy-confirmation p{margin-bottom:3px}.tippy-confirmation button{border:unset;background-color:#f1f1f1;border-radius:3px;padding:5px 8px;cursor:pointer;font-size:12px}.tippy-confirmation button.cancel{border-bottom:2px solid red;margin-right:15px}.tippy-confirmation button.confirm{border-bottom:2px solid green}",
8634
8444
  map: undefined,
8635
8445
  media: undefined
8636
- }), inject("data-v-00cbd881_1", {
8446
+ }), inject("data-v-0bd81928_1", {
8637
8447
  source: ".mensagem__principal .default-doc{background-color:var(--files-bg)}.mensagem__principal .default-doc:hover{background-color:var(--files-bg-hover)}.mensagem__outros .default-doc{background-color:rgba(100,100,100,.1)}.mensagem__outros .default-doc:hover{background-color:rgba(100,100,100,.3)}.default-doc:hover p{text-decoration:underline}.default-doc{display:flex;align-items:center;padding:10px;border-radius:5px;width:100%;max-width:100%;cursor:pointer;transition:background-color 150ms ease-in-out}.default-doc svg{font-size:19.2px;margin:0 5px}.default-doc p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-actions{display:flex;justify-content:flex-end;width:100%;padding:5px}.file-actions a{margin-right:0}.mensagem__principal .file-action-button{background-color:var(--files-bg)}.mensagem__outros .file-action-button{background-color:rgba(100,100,100,.1)}.mensagem__principal .file-action-button:hover{background-color:var(--files-bg-hover)}.mensagem__outros .file-action-button:hover{background-color:rgba(100,100,100,.3)}.file-action-button{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{margin:0}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-div-anexo{width:100%;display:flex;justify-content:center;align-items:center;flex-direction:column;overflow:hidden}.anexo-container{width:100%;margin-top:5px;overflow:hidden;display:flex;max-height:300px}.anexo-container .arquivo-erro,.anexo-container a{padding:10px 15px 15px 15px;display:flex;justify-content:center;align-items:center}.anexo-container p{text-overflow:ellipsis;overflow:hidden}.anexo-container .arquivo-erro,.anexo-container p{margin:0;margin-left:15px;font-size:14.4px}.anexo-container svg{font-size:32px}.anexo-mensagem audio .divAudioPai{outline:0;width:100%;margin-bottom:5px}.audioStyle{width:370px;min-width:calc(100% - 45px)}.divAudioPai{display:flex;background-color:#f1f3f4;border-radius:50%;width:100%;border-bottom-right-radius:26px;border-top-right-radius:26px}.anexo-mensagem video{flex:1;width:100%;max-width:350px;cursor:pointer;margin-bottom:5px}.anexos-links-container{width:100%;display:flex;justify-content:center;align-items:center}.anexos-links-container a{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin-right:5px;font-weight:550;color:inherit;text-decoration:none}.anexos-links-container svg{cursor:pointer}.mensagem-div-anexo img{cursor:pointer;margin:10px 0;min-width:35px;width:100%;max-width:250px}.anexo-transition{width:100%;height:100%}.anexo-mensagem{display:flex;justify-content:center;align-items:center;flex-direction:column;width:100%}.alert-danger{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.alert{position:relative;padding:10.4px 19.2px;margin:5px 0;border:1px solid transparent;border-radius:4px;text-align:center}.alert svg{font-size:16.4px;margin-right:2px}.pdf{color:#e74c3c}.doc{color:#006bc9}",
8638
8448
  map: undefined,
8639
8449
  media: undefined
@@ -8642,7 +8452,7 @@ var __vue_inject_styles__$c = function __vue_inject_styles__(inject) {
8642
8452
  /* scoped */
8643
8453
  var __vue_scope_id__$c = undefined;
8644
8454
  /* module identifier */
8645
- var __vue_module_identifier__$c = "data-v-00cbd881";
8455
+ var __vue_module_identifier__$c = "data-v-0bd81928";
8646
8456
  /* functional template */
8647
8457
  var __vue_is_functional_template__$c = false;
8648
8458
  /* style inject shadow dom */
@@ -9085,50 +8895,50 @@ var InteratividadeContato = __vue_component__$e;var script$8 = {
9085
8895
  },
9086
8896
  gerarPreview: function gerarPreview() {
9087
8897
  var _this2 = this;
9088
- return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9089
- var url, encodedURL, response, data, st_ret, msg_ret, raspagem, description, og, theme_color, image, site_name, title, author;
9090
- return _regeneratorRuntime().wrap(function _callee$(_context) {
9091
- while (1) switch (_context.prev = _context.next) {
8898
+ return _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee() {
8899
+ var url, encodedURL, response, data, st_ret, msg_ret, raspagem, description, og, theme_color, image, site_name, title, author, _t;
8900
+ return _regenerator().w(function (_context) {
8901
+ while (1) switch (_context.p = _context.n) {
9092
8902
  case 0:
9093
- _context.prev = 0;
8903
+ _context.p = 0;
9094
8904
  url = _this2.returnURL();
9095
8905
  if (url) {
9096
- _context.next = 4;
8906
+ _context.n = 1;
9097
8907
  break;
9098
8908
  }
9099
- return _context.abrupt("return");
9100
- case 4:
8909
+ return _context.a(2);
8910
+ case 1:
9101
8911
  if (_this2.$root.$httpRequest) {
9102
- _context.next = 6;
8912
+ _context.n = 2;
9103
8913
  break;
9104
8914
  }
9105
- return _context.abrupt("return");
9106
- case 6:
8915
+ return _context.a(2);
8916
+ case 2:
9107
8917
  encodedURL = Buffer(url).toString("base64");
9108
- _context.next = 9;
8918
+ _context.n = 3;
9109
8919
  return _this2.$root.$httpRequest.get("".concat(baseURL, "/preview?url=").concat(encodedURL).concat(dev));
9110
- case 9:
9111
- response = _context.sent;
8920
+ case 3:
8921
+ response = _context.v;
9112
8922
  if (!(_typeof(response) != "object" || _typeof(response.data) != "object")) {
9113
- _context.next = 12;
8923
+ _context.n = 4;
9114
8924
  break;
9115
8925
  }
9116
8926
  throw "Retorno incorreto";
9117
- case 12:
8927
+ case 4:
9118
8928
  data = response.data;
9119
8929
  st_ret = data.st_ret, msg_ret = data.msg_ret, raspagem = data.raspagem;
9120
8930
  if (!(st_ret != "OK")) {
9121
- _context.next = 16;
8931
+ _context.n = 5;
9122
8932
  break;
9123
8933
  }
9124
8934
  throw "".concat(st_ret, " - ").concat(msg_ret);
9125
- case 16:
8935
+ case 5:
9126
8936
  if (raspagem) {
9127
- _context.next = 18;
8937
+ _context.n = 6;
9128
8938
  break;
9129
8939
  }
9130
8940
  throw "".concat(st_ret, " - ").concat(msg_ret, " | (Raspagem nao encontrada no retorno)");
9131
- case 18:
8941
+ case 6:
9132
8942
  description = raspagem.description, og = raspagem.og, theme_color = raspagem.theme_color;
9133
8943
  if (description) _this2.linkPreview.description = description;
9134
8944
  if (raspagem.author) _this2.linkPreview.author = raspagem.author;
@@ -9140,17 +8950,16 @@ var InteratividadeContato = __vue_component__$e;var script$8 = {
9140
8950
  }
9141
8951
  if (theme_color) _this2.linkPreview.colorTheme = theme_color;
9142
8952
  if (_this2.linkPreview.description || _this2.linkPreview.imageSource) _this2.linkPreview.isValid = true;
9143
- _context.next = 29;
8953
+ _context.n = 8;
9144
8954
  break;
9145
- case 26:
9146
- _context.prev = 26;
9147
- _context.t0 = _context["catch"](0);
9148
- console.error("Erro ao gerar o preview do link: ", _context.t0);
9149
- case 29:
9150
- case "end":
9151
- return _context.stop();
8955
+ case 7:
8956
+ _context.p = 7;
8957
+ _t = _context.v;
8958
+ console.error("Erro ao gerar o preview do link: ", _t);
8959
+ case 8:
8960
+ return _context.a(2);
9152
8961
  }
9153
- }, _callee, null, [[0, 26]]);
8962
+ }, _callee, null, [[0, 7]]);
9154
8963
  }))();
9155
8964
  },
9156
8965
  openUrl: function openUrl() {
@@ -9213,7 +9022,7 @@ var LinkPreview = __vue_component__$d;var script$7 = {
9213
9022
  LinkPreview: LinkPreview,
9214
9023
  Picker: Picker
9215
9024
  },
9216
- props: ["emitContactClick", "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", "replyMessage", "isReply", "defaultReplyMessage", "showReplyIcon", "showControlFiles", "showMenu", "id_ext_msg", "tipo_origem"],
9025
+ props: ["hasTranscription", "transcriptionText", "grupoAtendimento", "emitContactClick", "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", "replyMessage", "isReply", "defaultReplyMessage", "showReplyIcon", "showControlFiles", "showMenu", "id_ext_msg", "tipo_origem"],
9217
9026
  created: function created() {
9218
9027
  if (!this.$root.$refs.chatMessages) this.$root.$refs.chatMessages = this;
9219
9028
  },
@@ -9312,6 +9121,14 @@ var LinkPreview = __vue_component__$d;var script$7 = {
9312
9121
  this.validadeUrlToMsg();
9313
9122
  },
9314
9123
  methods: {
9124
+ emitTranscription: function emitTranscription(anexo) {
9125
+ var deepCopyData = JSON.parse(JSON.stringify({
9126
+ anexo: anexo,
9127
+ grupo: this.grupoAtendimento,
9128
+ seq: this.seq
9129
+ }));
9130
+ this.$emit("transcribe-audio", deepCopyData);
9131
+ },
9315
9132
  closeMenu: function closeMenu() {
9316
9133
  this.isMenuOpen = false;
9317
9134
  },
@@ -9590,13 +9407,16 @@ var __vue_render__$7 = function __vue_render__() {
9590
9407
  "dictionary": _vm.dictionary,
9591
9408
  "anexo": anexo,
9592
9409
  "origemExterna": _vm.origemExterna,
9593
- "dominio": _vm.dominio
9410
+ "dominio": _vm.dominio,
9411
+ "hasTranscription": _vm.hasTranscription,
9412
+ "transcriptionText": _vm.transcriptionText
9594
9413
  },
9595
9414
  on: {
9596
9415
  "abrir-imagem": _vm.abrirImagem,
9597
9416
  "download-all": function downloadAll($event) {
9598
9417
  return _vm.$emit('download-all');
9599
- }
9418
+ },
9419
+ "transcribe-audio": _vm.emitTranscription
9600
9420
  }
9601
9421
  })], 1);
9602
9422
  }) : _vm._e(), _vm._v(" "), _vm.urlSticker ? _c('img', {
@@ -9992,7 +9812,7 @@ var __vue_staticRenderFns__$7 = [];
9992
9812
  /* style */
9993
9813
  var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
9994
9814
  if (!inject) return;
9995
- inject("data-v-cb02af2c_0", {
9815
+ inject("data-v-689dd55b_0", {
9996
9816
  source: ":root{--message-color:#373737;--text-color:#fff;--files-bg:rgba(255, 255, 255, 0.1);--files-bg-hover:rgba(255, 255, 255, 0.1);--light:80;--threshold:60}.fade-enter-active,.fade-leave-active{transition:opacity .5s}.fade-enter,.fade-leave-to{opacity:0}.mensagem-reply{padding:5px 10px;font-size:12px;color:#666;transition:background-color 150ms ease-in-out;border-radius:5px;margin:5px 0;overflow:hidden;max-width:100%}.mensagem-reply p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-reply-principal{border-left:3px solid transparent;background-color:rgba(100,100,100,.1)}.message-reply-principal:hover{background-color:rgba(100,100,100,.2)}.message-reply-outros{background-color:#f5f5f5;border-left:3px solid var(--message-color)}.message-reply-outros:hover{background-color:#ebebeb}.mensagem-reply-vazia{display:flex;align-items:center}.mensagem-reply-vazia svg{margin-right:5px;color:#ba181b}.mensagem{padding:20px 7px 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:12px;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:9.6px;color:#67a332;width:14.4px;height:14.4px;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:11.2px}.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:6.4px;width:11.2px}.default-stick-size{width:180px;height:auto}.horario-envio{margin-right:15px;font-size:11.2px;position:absolute;left:10px;bottom:2px}.autor-mensagem{position:absolute;font-size:9.6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:90%;font-weight:700;top:2px}.menu-primario{transition:opacity 150ms ease-in-out;height:20px;position:absolute;font-size:11.2px;top:2px;display:flex;gap:5px;padding:2px 4px}.menu-primario.principal{left:2px;color:var(--text-color);background-color:var(--message-color)}.menu-primario.outros{right:2px;color:var(--text-color);background-color:#fff}.menu-primario.outros>span:nth-child(1){order:10}.menu-mensagem{cursor:pointer;padding:1px;opacity:.7;transition:opacity .1s ease-in-out}.menu-mensagem:active,.menu-mensagem:focus,.menu-mensagem:hover{opacity:1}.menu-flutuante{background-color:#fff;-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);border-radius:10px;position:absolute;top:20px;width:120px;min-height:50px;height:50px;max-height:50px;overflow-x:hidden;overflow-y:auto;margin:0;padding:0;display:flex;flex-direction:column;z-index:1}.menu-flutuante.principal{left:3px}.menu-flutuante.outros{right:3px}.menu-flutuante li{transition:background-color .3s ease-in-out;width:100%;cursor:pointer;padding:5px 10px;display:flex;align-items:center}.menu-flutuante li:hover{background-color:#e9e9e9}.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:13.6px}.info-mapa li.address,.info-mapa li.url{font-size:13.6px}.info-mapa li.url{font-size:13.6px}.tooltip-list{margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.emoji-message-container{position:absolute;top:0;z-index:1;width:300px;height:250px}.emoji-message-container .sm-emoji-picker{width:300px;height:250px}.emoji-message-container .sm-emoji-picker .sm-emoji-header{overflow-x:auto;overflow-y:hidden}.reaction{position:absolute;bottom:0;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:rgba(100,100,100,.4);padding:5px;font-size:20.8px;min-width:28.8px;min-height:28.8px;max-width:28.8px;max-height:28.8px}.reaction>span{display:block;transform:translateY(-1px)}.mensagem__outros .reaction{right:-30px}.mensagem__principal .reaction{left:-30px}",
9997
9817
  map: undefined,
9998
9818
  media: undefined
@@ -10001,7 +9821,7 @@ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
10001
9821
  /* scoped */
10002
9822
  var __vue_scope_id__$7 = undefined;
10003
9823
  /* module identifier */
10004
- var __vue_module_identifier__$7 = "data-v-cb02af2c";
9824
+ var __vue_module_identifier__$7 = "data-v-689dd55b";
10005
9825
  /* functional template */
10006
9826
  var __vue_is_functional_template__$7 = false;
10007
9827
  /* style inject shadow dom */
@@ -11110,17 +10930,17 @@ var __vue_render__$1 = function __vue_render__() {
11110
10930
  return _vm.openByItem($event);
11111
10931
  }
11112
10932
  }
11113
- }, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-19db92ac></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-19db92ac>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.statusTitle) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
10933
+ }, [_vm._ssrNode((_vm.showInfos ? "<div class=\"email-overlay\" data-v-d26a598c></div>" : "<!---->") + " "), _vm.autor ? _vm._ssrNode("<div" + _vm._ssrClass("email-author", [_vm.origem, _vm.isMainEmail ? 'main' : '']) + " data-v-d26a598c>", "</div>", [_vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.statusTitle) + " data-v-d26a598c>", "</span>", [_c('fa-icon', {
11114
10934
  class: [_vm.origem],
11115
10935
  attrs: {
11116
10936
  "icon": ['fas', _vm.status !== 'C' ? 'reply' : 'times']
11117
10937
  }
11118
- })], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
10938
+ })], 1), _vm._ssrNode(" <p" + _vm._ssrAttr("title", _vm.returnAuthorName) + " class=\"email-author-name\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s(_vm.returnAuthorName)) + "</p> "), _vm._ssrNode("<span" + _vm._ssrAttr("title", "E-mail " + (_vm.origem === 'outros' ? 'recebido' : 'enviado')) + " data-v-d26a598c>", "</span>", [_c('fa-icon', {
11119
10939
  staticClass: "email-to-svg",
11120
10940
  attrs: {
11121
10941
  "icon": ['fas', _vm.origem === 'outros' ? 'user' : 'headset']
11122
10942
  }
11123
- })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-19db92ac>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
10943
+ })], 1)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customButtons && _vm.customButtons.length ? _vm._ssrNode("<div class=\"email-custom-buttons\" data-v-d26a598c>", "</div>", _vm._l(_vm.customButtons, function (button, index) {
11124
10944
  return _c('span', {
11125
10945
  directives: [{
11126
10946
  name: "show",
@@ -11151,7 +10971,7 @@ var __vue_render__$1 = function __vue_render__() {
11151
10971
  "innerHTML": _vm._s(button.svgIcon)
11152
10972
  }
11153
10973
  })], 1);
11154
- }), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\" data-v-19db92ac>", "</span>", [_c('fa-icon', {
10974
+ }), 0) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length && _vm.customActionButtons[0].type === 'ja-spam' ? _vm._ssrNode("<div class=\"ja-marcado-spam\" data-v-d26a598c>", "</div>", [_vm._ssrNode("<span class=\"icon-tittle-ja-spam\" data-v-d26a598c>", "</span>", [_c('fa-icon', {
11155
10975
  staticStyle: {
11156
10976
  "color": "#FF0000",
11157
10977
  "margin-right": "8px",
@@ -11160,21 +10980,21 @@ var __vue_render__$1 = function __vue_render__() {
11160
10980
  attrs: {
11161
10981
  "icon": ['fas', 'exclamation-triangle']
11162
10982
  }
11163
- }), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].label) + "\n "))], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"ja-marcado-spam-buttons\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn1.disabled) + " class=\"btn-nao-spam\" style=\"position: relative;\" data-v-19db92ac>", "</button>", [_vm.customActionButtons[0].btn1.loading ? _c('VueLoader', {
10983
+ }), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].label) + "\n "))], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"ja-marcado-spam-buttons\" data-v-d26a598c>", "</div>", [_vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn1.disabled) + " class=\"btn-nao-spam\" style=\"position: relative;\" data-v-d26a598c>", "</button>", [_vm.customActionButtons[0].btn1.loading ? _c('VueLoader', {
11164
10984
  staticClass: "btn-loader",
11165
10985
  attrs: {
11166
10986
  "hasBg": false
11167
10987
  }
11168
10988
  }) : _vm._e(), _vm._ssrNode(" <span" + _vm._ssrStyle(null, {
11169
10989
  opacity: _vm.customActionButtons[0].btn1.loading ? 0 : 1
11170
- }, null) + " data-v-19db92ac>" + _vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn1.label) + "\n ") + "</span>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn2.disabled) + " class=\"btn-e-spam\" style=\"position: relative;\" data-v-19db92ac>", "</button>", [_vm.customActionButtons[0].btn2.loading ? _c('VueLoader', {
10990
+ }, null) + " data-v-d26a598c>" + _vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn1.label) + "\n ") + "</span>")], 2), _vm._ssrNode(" "), _vm._ssrNode("<button" + _vm._ssrAttr("disabled", _vm.customActionButtons[0].btn2.disabled) + " class=\"btn-e-spam\" style=\"position: relative;\" data-v-d26a598c>", "</button>", [_vm.customActionButtons[0].btn2.loading ? _c('VueLoader', {
11171
10991
  staticClass: "btn-loader",
11172
10992
  attrs: {
11173
10993
  "hasBg": false
11174
10994
  }
11175
10995
  }) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrStyle(null, {
11176
10996
  opacity: _vm.customActionButtons[0].btn2.loading ? 0 : 1
11177
- }, null) + " data-v-19db92ac>", "</span>", [_vm.customActionButtons[0].btn2.icon ? _c('fa-icon', {
10997
+ }, null) + " data-v-d26a598c>", "</span>", [_vm.customActionButtons[0].btn2.icon ? _c('fa-icon', {
11178
10998
  staticClass: "icon-btn-encerrar-spam",
11179
10999
  staticStyle: {
11180
11000
  "margin-right": "6px"
@@ -11182,7 +11002,7 @@ var __vue_render__$1 = function __vue_render__() {
11182
11002
  attrs: {
11183
11003
  "icon": ['fas', _vm.customActionButtons[0].btn2.icon === 'exit' ? 'sign-out-alt' : _vm.customActionButtons[0].btn2.icon]
11184
11004
  }
11185
- }) : _vm._e(), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn2.label) + "\n "))], 2)], 2)], 2)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-19db92ac>", "</div>", [_vm._l(_vm.customActionButtons, function (button, index) {
11005
+ }) : _vm._e(), _vm._ssrNode(_vm._ssrEscape("\n " + _vm._s(_vm.customActionButtons[0].btn2.label) + "\n "))], 2)], 2)], 2)], 2) : _vm._e(), _vm._ssrNode(" "), _vm.customActionButtons && _vm.customActionButtons.length ? _vm._ssrNode("<div class=\"email-custom-action-buttons\" data-v-d26a598c>", "</div>", [_vm._l(_vm.customActionButtons, function (button, index) {
11186
11006
  return [button.type !== 'ja-spam' ? _c('button', {
11187
11007
  directives: [{
11188
11008
  name: "show",
@@ -11212,8 +11032,8 @@ var __vue_render__$1 = function __vue_render__() {
11212
11032
  domProps: {
11213
11033
  "innerHTML": _vm._s(button.svgIcon)
11214
11034
  }
11215
- }), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2) : _vm._e()];
11216
- })], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-19db92ac>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + " data-v-19db92ac><strong class=\"strongMsg\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\" data-v-19db92ac><strong data-v-19db92ac>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-19db92ac>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-19db92ac>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-19db92ac>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
11035
+ }), _vm._ssrNode(" " + (button.label ? "<span class=\"email-custom-action-label\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s(button.label)) + "</span>" : "<!---->"))], 2) : _vm._e()];
11036
+ })], 2) : _vm._e(), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-header\" data-v-d26a598c>", "</div>", [_vm._ssrNode("<p" + _vm._ssrAttr("title", _vm.returnMainValue()) + " class=\"email-subject\" data-v-d26a598c>" + _vm._ssrEscape("\n " + _vm._s(_vm.returnMainValue()) + "\n ") + "</p> " + (_vm.status === 'C' ? "<div" + _vm._ssrClass("divBtnReplyEmail", [_vm.isOpen ? 'reply-email-open' : '']) + " data-v-d26a598c><strong class=\"strongMsg\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s(_vm.status_msg) + " ") + "</strong> " + (_vm.hasReplyEmail ? "<button class=\"btnReplyEmail\" data-v-d26a598c><strong data-v-d26a598c>Reenviar</strong></button>" : "<!---->") + "</div>" : "<!---->") + " "), _vm._ssrNode("<div class=\"header-container\" data-v-d26a598c>", "</div>", [_vm._ssrNode("<div" + _vm._ssrClass(null, "email-header-content" + (_vm.isOpen ? ' open' : '')) + " data-v-d26a598c>", "</div>", [_vm._ssrNode("<div class=\"email-header-infos\" data-v-d26a598c>", "</div>", [_vm.para && _vm.para.length ? [_vm._ssrNode("<div class=\"email-to-from-container\" data-v-d26a598c>", "</div>", [_vm._l(_vm.paraCopia, function (recipient, index) {
11217
11037
  return _c('EmailTo', {
11218
11038
  key: "to-" + recipient.email,
11219
11039
  attrs: {
@@ -11224,13 +11044,13 @@ var __vue_render__$1 = function __vue_render__() {
11224
11044
  });
11225
11045
  }), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-to-btn\"" + _vm._ssrStyle(null, null, {
11226
11046
  display: _vm.isOpen ? '' : 'none'
11227
- }) + " data-v-19db92ac>", "</div>", [_c('fa-icon', {
11047
+ }) + " data-v-d26a598c>", "</div>", [_c('fa-icon', {
11228
11048
  attrs: {
11229
11049
  "icon": ['fas', 'caret-down']
11230
11050
  }
11231
- })], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-19db92ac><span class=\"email-subject-span\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))) + "</span></div>" : "<!---->"))], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + _vm._ssrClass(null, "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass)) + _vm._ssrStyle(null, null, {
11051
+ })], 1)], 2)] : _vm._e(), _vm._ssrNode(" " + (!_vm.isMainEmail && _vm.isOpen ? "<div class=\"email-subject-secondary\" data-v-d26a598c><span class=\"email-subject-span\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s("Assunto: " + (_vm.htmlEntityToEmoji(_vm.replaceUnicodeWithEmoji(_vm.assunto)) || '(Sem assunto)'))) + "</span></div>" : "<!---->"))], 2)]), _vm._ssrNode(" "), _vm._ssrNode("<span" + _vm._ssrAttr("title", _vm.formattedDate) + _vm._ssrClass(null, "email-date " + (_vm.isOpen ? _vm.isOpenClass : _vm.isClosedClass)) + _vm._ssrStyle(null, null, {
11232
11052
  display: _vm.formattedDate ? '' : 'none'
11233
- }) + " data-v-19db92ac>", "</span>", [_c('fa-icon', {
11053
+ }) + " data-v-d26a598c>", "</span>", [_c('fa-icon', {
11234
11054
  attrs: {
11235
11055
  "icon": ['fas', 'calendar']
11236
11056
  }
@@ -11251,12 +11071,12 @@ var __vue_render__$1 = function __vue_render__() {
11251
11071
  }
11252
11072
  }
11253
11073
  }, [_vm._ssrNode(_vm._ssrList(_vm.mailInfos, function (info, index) {
11254
- return "<li class=\"email-info\" data-v-19db92ac><span data-v-19db92ac>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
11074
+ return "<li class=\"email-info\" data-v-d26a598c><span data-v-d26a598c>" + _vm._ssrEscape(_vm._s(info.label)) + "</span>" + _vm._ssrEscape("\n " + _vm._s(info.value) + "\n ") + "</li>";
11255
11075
  }))]) : _vm._e(), _vm._ssrNode(" " + (_vm.isOpen ? "<span" + _vm._ssrClass(null, ['email-actions box-shadow', {
11256
11076
  active: _vm.actionsOpen
11257
11077
  }, {
11258
11078
  main: _vm.isMainEmail
11259
- }]) + " data-v-19db92ac><span data-v-19db92ac></span> <span data-v-19db92ac></span> <span data-v-19db92ac></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
11079
+ }]) + " data-v-d26a598c><span data-v-d26a598c></span> <span data-v-d26a598c></span> <span data-v-d26a598c></span></span>" : "<!---->") + " "), _vm.actionsOpen && _vm.isOpen ? _c('ul', {
11260
11080
  directives: [{
11261
11081
  name: "clickaway",
11262
11082
  rawName: "v-clickaway",
@@ -11269,13 +11089,13 @@ var __vue_render__$1 = function __vue_render__() {
11269
11089
  $event.stopPropagation();
11270
11090
  }
11271
11091
  }
11272
- }, [_vm._ssrNode("<li class=\"email-action\" data-v-19db92ac>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-content\"" + _vm._ssrStyle(null, null, {
11092
+ }, [_vm._ssrNode("<li class=\"email-action\" data-v-d26a598c>" + _vm._ssrEscape("\n " + _vm._s(!_vm.openMessage ? 'Visualizar' : 'Esconder') + " texto do e-mail (html)\n ") + "</li>")]) : _vm._e()], 2), _vm._ssrNode(" "), _vm._ssrNode("<div class=\"email-content\"" + _vm._ssrStyle(null, null, {
11273
11093
  display: _vm.isOpen ? '' : 'none'
11274
- }) + " data-v-19db92ac>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-19db92ac><p data-v-19db92ac>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-19db92ac>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
11094
+ }) + " data-v-d26a598c>", "</div>", [_vm.isIframeLoading ? _c('VueLoader') : _vm._e(), _vm._ssrNode(" " + (_vm.hasError ? "<div class=\"email-error-content\" data-v-d26a598c><p data-v-d26a598c>Erro ao carregar o e-mail</p> <button class=\"box-shadow\" data-v-d26a598c>Tentar novamente</button></div>" : "<!---->") + " <iframe" + _vm._ssrClass(null, "email-html " + (_vm.isIframeLoading ? 'visibility-hidden' : '')) + _vm._ssrStyle(null, null, {
11275
11095
  display: !_vm.hasError ? '' : 'none'
11276
- }) + " data-v-19db92ac></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.mensagem)) + "</span>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
11096
+ }) + " data-v-d26a598c></iframe> " + (_vm.openMessage ? "<span class=\"email-raw\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s(_vm.mensagem)) + "</span>" : "<!---->"))], 2), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length ? _vm._ssrNode("<div class=\"email-files\"" + _vm._ssrStyle(null, null, {
11277
11097
  display: _vm.isOpen ? '' : 'none'
11278
- }) + " data-v-19db92ac>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
11098
+ }) + " data-v-d26a598c>", "</div>", _vm._l(_vm.filteredFiles, function (anexo, index) {
11279
11099
  return _c('EmailFile', {
11280
11100
  key: index,
11281
11101
  attrs: {
@@ -11283,31 +11103,31 @@ var __vue_render__$1 = function __vue_render__() {
11283
11103
  "dominio": _vm.dominio
11284
11104
  }
11285
11105
  });
11286
- }), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-19db92ac>", "</div>", [_vm._ssrNode("<span class=\"clip-icon\" data-v-19db92ac>", "</span>", [_c('fa-icon', {
11106
+ }), 1) : _vm._e(), _vm._ssrNode(" "), _vm.filteredFiles && _vm.filteredFiles.length && !_vm.isOpen ? _vm._ssrNode("<div class=\"email-attachments-clip cursor-pointer\" data-v-d26a598c>", "</div>", [_vm._ssrNode("<span class=\"clip-icon\" data-v-d26a598c>", "</span>", [_c('fa-icon', {
11287
11107
  attrs: {
11288
11108
  "icon": ['fas', 'paperclip']
11289
11109
  }
11290
- }), _vm._ssrNode(" <span class=\"clip-badge\" data-v-19db92ac>" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e()], 2);
11110
+ }), _vm._ssrNode(" <span class=\"clip-badge\" data-v-d26a598c>" + _vm._ssrEscape(_vm._s(_vm.filteredFiles.length)) + "</span>")], 2)]) : _vm._e()], 2);
11291
11111
  };
11292
11112
  var __vue_staticRenderFns__$1 = [];
11293
11113
 
11294
11114
  /* style */
11295
11115
  var __vue_inject_styles__$1 = function __vue_inject_styles__(inject) {
11296
11116
  if (!inject) return;
11297
- inject("data-v-19db92ac_0", {
11298
- source: ".show-y-top-enter-active[data-v-19db92ac],.show-y-top-leave-enter[data-v-19db92ac]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-19db92ac],.show-y-top-leave-to[data-v-19db92ac]{opacity:0;transform:translateY(-2%)}",
11117
+ inject("data-v-d26a598c_0", {
11118
+ source: ".show-y-top-enter-active[data-v-d26a598c],.show-y-top-leave-enter[data-v-d26a598c]{opacity:1;transform:translateY(0);transition:all .2s linear}.show-y-top-enter[data-v-d26a598c],.show-y-top-leave-to[data-v-d26a598c]{opacity:0;transform:translateY(-2%)}",
11299
11119
  map: undefined,
11300
11120
  media: undefined
11301
- }), inject("data-v-19db92ac_1", {
11121
+ }), inject("data-v-d26a598c_1", {
11302
11122
  source: ".visibility-hidden{visibility:hidden}.box-shadow-active{box-shadow:0 0 4px 2px rgba(0,0,0,.25)}.bg-dark-white-2{background-color:#f7f7f7}.bg-white{background-color:#fff}.cursor-pointer{cursor:pointer}.email-overlay{width:100%;height:100%;background-color:transparent;z-index:1;position:absolute;top:0;left:0}.email-item{--konecta-gray-3:#515050;--konecta-light:#f8f9fa;--blue-silver-4:#dae0e5;--email-principal:#faa732;--email-outros:#86b7fe;font-family:Roboto,sans-serif;flex:1;margin:0 0 10px 0;color:#222;min-height:60px;display:flex;flex-wrap:wrap;padding:10px;border-radius:5px;transition:all 150ms ease-in-out;max-width:100%;width:100%;overflow:hidden;position:relative}.divBtnReplyEmail{display:flex;align-items:center;background-color:#f0adad;border-radius:6px;padding:7px 9px;margin:5px 0;gap:8px}.reply-email-open{width:calc(100% - 10px - 45px)!important}.btnReplyEmail{display:block;background-color:#faa732;border:1px solid #da8205;margin:8px 0 8px 5px;padding:5px 10px 5px 10px;font-size:14.4px;font-weight:700;border-radius:3px;color:#000;cursor:pointer}.ja-marcado-spam{width:100%;background:#fffbe6;border:1px solid #ffe58f;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.08);padding:5px 30px;margin:9px 0 5px 0;display:flex;justify-content:space-between;align-items:center;gap:16px}.ja-marcado-spam>span{color:#614500;font-weight:500;font-size:14px;margin-bottom:0;align-self:center;align-items:center}.ja-marcado-spam-buttons{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.ja-marcado-spam button{min-width:110px;padding:4px 10px;border:none;border-radius:5px;background:#ffe58f;color:#333;cursor:pointer;font-size:13.4px}.ja-marcado-spam-buttons .btn-nao-spam{background:#36b87b;color:var(--white);border:1px solid var(--konecta-success-hover,#309264);font-weight:700}.ja-marcado-spam-buttons .btn-nao-spam:hover{background:#309264}.ja-marcado-spam-buttons .btn-e-spam{background:#e74c3c;color:var(--white);border:1px solid var(--konecta-danger-hover,#c92e1e);font-weight:700}.ja-marcado-spam-buttons .btn-e-spam:hover{background:#c92e1e}.icon-btn-encerrar-spam{margin-right:2px}.btn-loader{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;pointer-events:none}.strongMsg{flex:1;font-size:13px}.email-custom-action-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap;max-width:100%;cursor:default}.email-custom-action-button{margin-top:10px;background-color:var(--konecta-light)!important;color:var(--konecta-dark)!important;border:1px solid var(--blue-silver-4)!important;flex:1;min-width:100px;display:flex;align-items:center;justify-content:center;gap:5px;padding:5px;overflow:hidden;border-radius:5px;text-overflow:ellipsis;white-space:nowrap;transition:all .1s ease-in-out;max-width:100%;cursor:pointer}.email-custom-action-button:hover{background-color:#e9ecef!important}.email-custom-action-button:disabled{background-color:var(--konecta-gray-3)!important;border:1px solid #25282b!important;cursor:not-allowed!important}.email-item.outros{border-left:3px solid var(--email-outros)}.email-author-name{margin:0 5px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.email-author.outros{color:var(--email-outros)}.email-author.outros>svg:nth-child(1){transform:rotate(180deg)}.email-author.principal{color:var(--email-principal)}.email-author.main{font-size:16.4px}.email-item.principal{border-left:3px solid var(--email-principal)}.email-item.info-open{overflow:visible}.email-header{width:100%;display:flex;flex-direction:column;cursor:pointer;border-top-right-radius:5px;border-top-left-radius:5px;position:relative;overflow:visible}.header-container{display:flex;overflow:hidden;position:relative}.email-header-content{display:flex;align-items:center;flex:1;min-width:250px}.email-header-infos{display:flex;flex-direction:column;flex:1}.email-subject{margin:5px 0 0 0;font-size:16.4px;cursor:pointer}.email-date{--width:245px;font-size:12.8px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;position:absolute;right:0;top:0;min-width:var(--width);width:var(--width);max-width:var(--width);display:flex;justify-content:flex-end;gap:3px;align-items:center}.email-content{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;background-color:#fff;position:relative;max-width:100%}.email-actions{align-self:flex-end;display:flex;border-radius:10px;cursor:pointer;align-items:center;justify-content:center;gap:3px;padding:5px 7px;background-color:#ddd;position:absolute;right:0;top:30px;z-index:1}.email-actions.main{top:10px}.email-actions.active{background-color:#dfdfdf}.email-actions>span{width:4px;height:4px;min-width:4px;min-height:4px;max-width:4px;max-height:4px;background-color:#222;border-radius:50%}.email-actions-list{position:absolute;right:45px;width:250px;top:5px;margin:0;list-style-type:none;padding:0;border-radius:5px;z-index:1}.email-action{background-color:#dfdfdf;padding:5px 10px;cursor:pointer;transition:background-color 150ms ease-in-out;font-size:14.4px;user-select:none}.email-action:nth-child(1){border-top-left-radius:5px;border-top-right-radius:5px}.email-action:last-child{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.email-action:hover{background-color:#ccc}.email-html{width:100%;min-width:300px;max-width:100%;border:none;overflow:auto}.email-raw{width:100%;max-width:100%;padding:15px;font-size:14.4px;color:#222}.email-files{display:flex;gap:10px;flex-wrap:wrap;width:100%;margin-top:5px}.email-header-content,.email-header-infos{max-width:100%;overflow:hidden}.email-to-from-container{margin-bottom:5px;max-width:100%;min-width:250px;overflow:hidden;display:flex;align-items:center;flex-wrap:wrap;flex:1;gap:5px}.email-to-btn{padding:0 5px;font-size:14.4px;cursor:pointer;color:#666}.email-to-infos{position:absolute;bottom:-325px;border:1px solid #ccc;z-index:2;padding:10px;background-color:#fff;max-height:300px;overflow-y:auto;overflow-x:hidden;width:300px;display:flex;flex-direction:column;gap:5px;margin:0;cursor:default}.email-info{width:100%;font-size:12.8px}.email-info>span{font-size:12px;color:gray;margin-right:3px}.email-author{display:flex;align-items:center;height:5px;font-size:12px;font-weight:700;transform:translateY(-2px);width:100%;cursor:pointer}.email-subject-secondary{margin-top:-5px}.email-subject-span{font-size:11.2px;color:gray}.email-to-svg{font-size:13.6px}.email-custom-buttons{display:flex;gap:7px;position:absolute;top:5px;right:5px;z-index:1;font-size:12.8px}.menu-mensagem{cursor:pointer;padding:1px;opacity:.7;transition:opacity .1s ease-in-out}.menu-mensagem:active,.menu-mensagem:focus,.menu-mensagem:hover{opacity:1}.email-error-content{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:5px;padding:10px}.email-error-content p{margin:0;color:#e74c3c}.email-error-content button{border:1px solid #ccc;border-radius:3px;padding:5px 10px;background-color:#fff;cursor:pointer;transition:background-color 150ms ease-in-out}.email-error-content button:hover{background-color:#eee}.btnReplyEmail:active,.btnReplyEmail:hover{background-color:#da8205;color:#000}.email-attachments-clip{display:flex;cursor:pointer;margin-top:5px}.clip-icon{position:relative;font-size:22px;color:#999;transform:rotate(-15deg)}.clip-badge{position:absolute;transform:rotate(15deg);top:0;right:-15px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#999 40%,#515050 100%);color:#fff;border-radius:50%;min-width:22px;height:22px;font-size:12.4px;border:1px solid #fff;filter:drop-shadow(0 2px 4px rgba(0, 0, 0, .18));text-align:center;padding:0 4px;box-sizing:border-box}.clip-icon:hover{color:#777}.clip-icon:hover .clip-badge{background:linear-gradient(135deg,#999 20%,#515050 70%);filter:drop-shadow(0 2px 4px rgba(0, 0, 0, .28))}",
11303
11123
  map: undefined,
11304
11124
  media: undefined
11305
11125
  });
11306
11126
  };
11307
11127
  /* scoped */
11308
- var __vue_scope_id__$1 = "data-v-19db92ac";
11128
+ var __vue_scope_id__$1 = "data-v-d26a598c";
11309
11129
  /* module identifier */
11310
- var __vue_module_identifier__$1 = "data-v-19db92ac";
11130
+ var __vue_module_identifier__$1 = "data-v-d26a598c";
11311
11131
  /* functional template */
11312
11132
  var __vue_is_functional_template__$1 = false;
11313
11133
  /* style inject shadow dom */