@weni/unnnic-system 3.2.9-alpha.11 → 3.2.9-alpha.13
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.
- package/dist/{es-dcef703d.js → es-5aa232c1.mjs} +1 -1
- package/dist/{index-6ddf8580.js → index-69d07468.mjs} +344 -343
- package/dist/{pt-br-485ef253.js → pt-br-5f8a4e67.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{unnnic.js → unnnic.mjs} +1 -1
- package/dist/{unnnic.umd.cjs → unnnic.umd.js} +7 -7
- package/package.json +3 -3
- package/src/components/Popover/index.vue +1 -1
- package/src/components/Select/index.vue +1 -1
- package/src/components/TemplatePreview/TemplatePreview.vue +2 -2
- package/src/components/TemplatePreview/TemplatePreviewModal.vue +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as _, createElementBlock as g, normalizeClass as L, toDisplayString as v, createCommentVNode as B, renderSlot as fe, createElementVNode as c, resolveDirective as nn, withDirectives as yt, mergeProps as Qt, createStaticVNode as We, defineComponent as Gt, computed as ye, createBlock as Y, resolveDynamicComponent as ra, resolveComponent as O, createVNode as
|
|
1
|
+
import { openBlock as _, createElementBlock as g, normalizeClass as L, toDisplayString as v, createCommentVNode as B, renderSlot as fe, createElementVNode as c, resolveDirective as nn, withDirectives as yt, mergeProps as Qt, createStaticVNode as We, defineComponent as Gt, computed as ye, createBlock as Y, resolveDynamicComponent as ra, resolveComponent as O, createVNode as H, withModifiers as Te, normalizeStyle as Ee, Fragment as $, renderList as de, createTextVNode as Ct, vShow as H1, unref as ia, withCtx as ke, h as k5, getCurrentInstance as $i, effectScope as _8, inject as wo, onMounted as dr, onUnmounted as Go, shallowRef as A5, ref as pt, onBeforeMount as c8, watch as na, isRef as f8, Text as g8, useSlots as Zo, Transition as _r, useCssVars as Gn, getCurrentScope as h8, onScopeDispose as m8, toRef as F8, readonly as p8, customRef as b8, createSlots as v5, useTemplateRef as C8, withKeys as qt, normalizeProps as y8, createApp as Wo, vModelText as Xo, TransitionGroup as w8, onUpdated as D8, toHandlers as k8 } from "vue";
|
|
2
2
|
const Zn = 16;
|
|
3
3
|
function x5(e) {
|
|
4
4
|
return typeof e != "string" ? "" : e.replace(/<\/?[a-zA-Z]+\b[^>]*>/g, "");
|
|
@@ -118,8 +118,8 @@ var Yi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
118
118
|
}
|
|
119
119
|
m.oninput = function(N) {
|
|
120
120
|
if (N.isTrusted) {
|
|
121
|
-
var K = m.selectionEnd,
|
|
122
|
-
for (m.value = s.i(l.a)(m.value, w.mask, !0, w.tokens); K < m.value.length && m.value.charAt(K - 1) !==
|
|
121
|
+
var K = m.selectionEnd, V = m.value[K - 1];
|
|
122
|
+
for (m.value = s.i(l.a)(m.value, w.mask, !0, w.tokens); K < m.value.length && m.value.charAt(K - 1) !== V; )
|
|
123
123
|
K++;
|
|
124
124
|
m === document.activeElement && (m.setSelectionRange(K, K), setTimeout(function() {
|
|
125
125
|
m.setSelectionRange(K, K);
|
|
@@ -196,15 +196,15 @@ var Yi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
196
196
|
var E = d[p], N = m[E], K = l[w];
|
|
197
197
|
N && !N.escape ? (N.pattern.test(K) && (D += N.transform ? N.transform(K) : K, p++), w++) : (N && N.escape && (p++, E = d[p]), h && (D += E), K === E && w++, p++);
|
|
198
198
|
}
|
|
199
|
-
for (var
|
|
199
|
+
for (var V = ""; p < d.length && h; ) {
|
|
200
200
|
var E = d[p];
|
|
201
201
|
if (m[E]) {
|
|
202
|
-
|
|
202
|
+
V = "";
|
|
203
203
|
break;
|
|
204
204
|
}
|
|
205
|
-
|
|
205
|
+
V += E, p++;
|
|
206
206
|
}
|
|
207
|
-
return D +
|
|
207
|
+
return D + V;
|
|
208
208
|
}
|
|
209
209
|
r.a = o;
|
|
210
210
|
}, function(a, r, s) {
|
|
@@ -4064,11 +4064,11 @@ const JM = /* @__PURE__ */ y(WM, [["render", KM]]), p4 = {
|
|
|
4064
4064
|
key: 0,
|
|
4065
4065
|
class: L([
|
|
4066
4066
|
"material-symbols-rounded",
|
|
4067
|
-
`unnnic-icon-scheme--${
|
|
4068
|
-
`unnnic-icon-size--${
|
|
4067
|
+
`unnnic-icon-scheme--${e.scheme}`,
|
|
4068
|
+
`unnnic-icon-size--${e.size}`,
|
|
4069
4069
|
{
|
|
4070
|
-
"unnnic--clickable":
|
|
4071
|
-
"material-symbols-rounded--filled":
|
|
4070
|
+
"unnnic--clickable": e.clickable,
|
|
4071
|
+
"material-symbols-rounded--filled": e.filled
|
|
4072
4072
|
}
|
|
4073
4073
|
]),
|
|
4074
4074
|
"data-testid": "material-icon",
|
|
@@ -4080,10 +4080,10 @@ const JM = /* @__PURE__ */ y(WM, [["render", KM]]), p4 = {
|
|
|
4080
4080
|
key: 1,
|
|
4081
4081
|
class: L([
|
|
4082
4082
|
"unnnic-icon",
|
|
4083
|
-
`unnnic-icon__size--${
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4083
|
+
`unnnic-icon__size--${e.size}`,
|
|
4084
|
+
e.clickable ? "unnnic--clickable" : "",
|
|
4085
|
+
e.lineHeight ? `unnnic-icon__line-height--${e.lineHeight}` : "",
|
|
4086
|
+
e.scheme ? `unnnic-icon-scheme--${e.scheme}` : ""
|
|
4087
4087
|
]),
|
|
4088
4088
|
"data-testid": "old-map-icons",
|
|
4089
4089
|
onClick: l,
|
|
@@ -4214,7 +4214,7 @@ function sE(e, t, a, r, s, o) {
|
|
|
4214
4214
|
return _(), g("div", {
|
|
4215
4215
|
class: L(["text-input", `size--${a.size}`])
|
|
4216
4216
|
}, [
|
|
4217
|
-
|
|
4217
|
+
H(l, Qt(o.attributes, {
|
|
4218
4218
|
ref: "base-input",
|
|
4219
4219
|
modelValue: a.modelValue,
|
|
4220
4220
|
size: a.size,
|
|
@@ -4370,14 +4370,14 @@ const Bt = /* @__PURE__ */ y(uE, [["render", _E], ["__scopeId", "data-v-8c61d974
|
|
|
4370
4370
|
const t = e;
|
|
4371
4371
|
return (a, r) => (_(), g("section", cE, [
|
|
4372
4372
|
c("p", fE, v(ia(Ci)(t.label)), 1),
|
|
4373
|
-
|
|
4373
|
+
e.tooltip ? (_(), Y(Bt, {
|
|
4374
4374
|
key: 0,
|
|
4375
4375
|
enabled: "",
|
|
4376
|
-
text:
|
|
4376
|
+
text: e.tooltip,
|
|
4377
4377
|
enableHtml: t.useHtmlTooltip
|
|
4378
4378
|
}, {
|
|
4379
4379
|
default: ke(() => [
|
|
4380
|
-
|
|
4380
|
+
H(se, {
|
|
4381
4381
|
icon: "help",
|
|
4382
4382
|
size: "sm",
|
|
4383
4383
|
scheme: "fg-base"
|
|
@@ -4533,7 +4533,7 @@ function wE(e, t, a, r, s, o) {
|
|
|
4533
4533
|
label: a.label,
|
|
4534
4534
|
tooltip: a.tooltip
|
|
4535
4535
|
}, null, 8, ["label", "tooltip"])) : B("", !0),
|
|
4536
|
-
|
|
4536
|
+
H(d, Qt(e.$attrs, {
|
|
4537
4537
|
modelValue: s.val,
|
|
4538
4538
|
"onUpdate:modelValue": t[0] || (t[0] = (h) => s.val = h),
|
|
4539
4539
|
class: "unnnic-form-input",
|
|
@@ -7419,9 +7419,9 @@ var or = { exports: {} };
|
|
|
7419
7419
|
or.exports;
|
|
7420
7420
|
(function(e, t) {
|
|
7421
7421
|
(function() {
|
|
7422
|
-
var a, r = "4.17.21", s = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", m = 500, p = "__lodash_placeholder__", w = 1, D = 2, E = 4, N = 1, K = 2,
|
|
7422
|
+
var a, r = "4.17.21", s = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", l = "Expected a function", d = "Invalid `variable` option passed into `_.template`", h = "__lodash_hash_undefined__", m = 500, p = "__lodash_placeholder__", w = 1, D = 2, E = 4, N = 1, K = 2, V = 1, ae = 2, ie = 4, I = 8, z = 16, Z = 32, U = 64, ee = 128, W = 256, X = 512, Ie = 30, at = "...", De = 800, wt = 16, R1 = 1, da = 2, Zt = 3, r1 = 1 / 0, Wt = 9007199254740991, ai = 17976931348623157e292, Q1 = 0 / 0, Nt = 4294967295, Xt = Nt - 1, La = Nt >>> 1, Ta = [
|
|
7423
7423
|
["ary", ee],
|
|
7424
|
-
["bind",
|
|
7424
|
+
["bind", V],
|
|
7425
7425
|
["bindKey", ae],
|
|
7426
7426
|
["curry", I],
|
|
7427
7427
|
["curryRight", z],
|
|
@@ -8967,7 +8967,7 @@ or.exports;
|
|
|
8967
8967
|
};
|
|
8968
8968
|
}
|
|
8969
8969
|
function Bg(i, n, u) {
|
|
8970
|
-
var f = n &
|
|
8970
|
+
var f = n & V, F = kn(i);
|
|
8971
8971
|
function C() {
|
|
8972
8972
|
var k = this && this !== Lt && this instanceof C ? F : i;
|
|
8973
8973
|
return k.apply(f ? u : this, arguments);
|
|
@@ -9074,7 +9074,7 @@ or.exports;
|
|
|
9074
9074
|
});
|
|
9075
9075
|
}
|
|
9076
9076
|
function E2(i, n, u, f, F, C, k, x, T, R) {
|
|
9077
|
-
var Q = n & ee, J = n &
|
|
9077
|
+
var Q = n & ee, J = n & V, le = n & ae, he = n & (I | z), pe = n & X, Be = le ? a : kn(i);
|
|
9078
9078
|
function be() {
|
|
9079
9079
|
for (var Se = arguments.length, He = S(Se), d1 = Se; d1--; )
|
|
9080
9080
|
He[d1] = arguments[d1];
|
|
@@ -9137,7 +9137,7 @@ or.exports;
|
|
|
9137
9137
|
return Bi(n) ? Ra(T1(f), 0, i).join("") : f.slice(0, i);
|
|
9138
9138
|
}
|
|
9139
9139
|
function Lg(i, n, u, f) {
|
|
9140
|
-
var F = n &
|
|
9140
|
+
var F = n & V, C = kn(i);
|
|
9141
9141
|
function k() {
|
|
9142
9142
|
for (var x = -1, T = arguments.length, R = -1, Q = f.length, J = S(Q + T), le = this && this !== Lt && this instanceof k ? C : i; ++R < Q; )
|
|
9143
9143
|
J[R] = f[R];
|
|
@@ -9159,7 +9159,7 @@ or.exports;
|
|
|
9159
9159
|
}
|
|
9160
9160
|
function yl(i, n, u, f, F, C, k, x, T, R) {
|
|
9161
9161
|
var Q = n & I, J = Q ? k : a, le = Q ? a : k, he = Q ? C : a, pe = Q ? a : C;
|
|
9162
|
-
n |= Q ? Z : U, n &= ~(Q ? U : Z), n & ie || (n &= ~(
|
|
9162
|
+
n |= Q ? Z : U, n &= ~(Q ? U : Z), n & ie || (n &= ~(V | ae));
|
|
9163
9163
|
var Be = [
|
|
9164
9164
|
i,
|
|
9165
9165
|
n,
|
|
@@ -9214,10 +9214,10 @@ or.exports;
|
|
|
9214
9214
|
k,
|
|
9215
9215
|
x
|
|
9216
9216
|
];
|
|
9217
|
-
if (le && Zg(he, le), i = he[0], n = he[1], u = he[2], f = he[3], F = he[4], x = he[9] = he[9] === a ? T ? 0 : i.length : At(he[9] - R, 0), !x && n & (I | z) && (n &= ~(I | z)), !n || n ==
|
|
9217
|
+
if (le && Zg(he, le), i = he[0], n = he[1], u = he[2], f = he[3], F = he[4], x = he[9] = he[9] === a ? T ? 0 : i.length : At(he[9] - R, 0), !x && n & (I | z) && (n &= ~(I | z)), !n || n == V)
|
|
9218
9218
|
var pe = Bg(i, n, u);
|
|
9219
9219
|
else
|
|
9220
|
-
n == I || n == z ? pe = jg(i, n, x) : (n == Z || n == (
|
|
9220
|
+
n == I || n == z ? pe = jg(i, n, x) : (n == Z || n == (V | Z)) && !F.length ? pe = Lg(i, n, u, f) : pe = E2.apply(a, he);
|
|
9221
9221
|
var Be = le ? al : Tl;
|
|
9222
9222
|
return Il(Be(pe, he), i, n);
|
|
9223
9223
|
}
|
|
@@ -9546,10 +9546,10 @@ or.exports;
|
|
|
9546
9546
|
return n;
|
|
9547
9547
|
}
|
|
9548
9548
|
function Zg(i, n) {
|
|
9549
|
-
var u = i[1], f = n[1], F = u | f, C = F < (
|
|
9549
|
+
var u = i[1], f = n[1], F = u | f, C = F < (V | ae | ee), k = f == ee && u == I || f == ee && u == W && i[7].length <= n[8] || f == (ee | W) && n[7].length <= n[8] && u == I;
|
|
9550
9550
|
if (!(C || k))
|
|
9551
9551
|
return i;
|
|
9552
|
-
f &
|
|
9552
|
+
f & V && (i[2] = n[2], F |= u & V ? 0 : ie);
|
|
9553
9553
|
var x = n[3];
|
|
9554
9554
|
if (x) {
|
|
9555
9555
|
var T = i[3];
|
|
@@ -10107,14 +10107,14 @@ or.exports;
|
|
|
10107
10107
|
};
|
|
10108
10108
|
}
|
|
10109
10109
|
var G0 = je(function(i, n, u) {
|
|
10110
|
-
var f =
|
|
10110
|
+
var f = V;
|
|
10111
10111
|
if (u.length) {
|
|
10112
10112
|
var F = Ha(u, zi(G0));
|
|
10113
10113
|
f |= Z;
|
|
10114
10114
|
}
|
|
10115
10115
|
return ga(i, f, n, u, F);
|
|
10116
10116
|
}), Wl = je(function(i, n, u) {
|
|
10117
|
-
var f =
|
|
10117
|
+
var f = V | ae;
|
|
10118
10118
|
if (u.length) {
|
|
10119
10119
|
var F = Ha(u, zi(Wl));
|
|
10120
10120
|
f |= Z;
|
|
@@ -11293,7 +11293,7 @@ const WT = /<\/?[\w\s="/.':;#-\/]+>/, XT = (e) => WT.test(e), ya = " ", KT = "\r
|
|
|
11293
11293
|
function eI(e) {
|
|
11294
11294
|
const t = e;
|
|
11295
11295
|
let a = 0, r = 1, s = 1, o = 0;
|
|
11296
|
-
const l = (ee) => t[ee] === KT && t[ee + 1] === Yt, d = (ee) => t[ee] === Yt, h = (ee) => t[ee] === $T, m = (ee) => t[ee] === JT, p = (ee) => l(ee) || d(ee) || h(ee) || m(ee), w = () => a, D = () => r, E = () => s, N = () => o, K = (ee) => l(ee) || h(ee) || m(ee) ? Yt : t[ee],
|
|
11296
|
+
const l = (ee) => t[ee] === KT && t[ee + 1] === Yt, d = (ee) => t[ee] === Yt, h = (ee) => t[ee] === $T, m = (ee) => t[ee] === JT, p = (ee) => l(ee) || d(ee) || h(ee) || m(ee), w = () => a, D = () => r, E = () => s, N = () => o, K = (ee) => l(ee) || h(ee) || m(ee) ? Yt : t[ee], V = () => K(a), ae = () => K(a + o);
|
|
11297
11297
|
function ie() {
|
|
11298
11298
|
return o = 0, p(a) && (r++, s = 0), l(a) && a++, a++, s++, t[a];
|
|
11299
11299
|
}
|
|
@@ -11318,7 +11318,7 @@ function eI(e) {
|
|
|
11318
11318
|
column: E,
|
|
11319
11319
|
peekOffset: N,
|
|
11320
11320
|
charAt: K,
|
|
11321
|
-
currentChar:
|
|
11321
|
+
currentChar: V,
|
|
11322
11322
|
currentPeek: ae,
|
|
11323
11323
|
next: ie,
|
|
11324
11324
|
peek: I,
|
|
@@ -11371,7 +11371,7 @@ function iI(e, t = {}) {
|
|
|
11371
11371
|
M += A.currentPeek(), A.peek();
|
|
11372
11372
|
return M;
|
|
11373
11373
|
}
|
|
11374
|
-
function
|
|
11374
|
+
function V(A) {
|
|
11375
11375
|
const M = K(A);
|
|
11376
11376
|
return A.skipToPeek(), M;
|
|
11377
11377
|
}
|
|
@@ -11516,7 +11516,7 @@ function iI(e, t = {}) {
|
|
|
11516
11516
|
return G;
|
|
11517
11517
|
}
|
|
11518
11518
|
function La(A) {
|
|
11519
|
-
|
|
11519
|
+
V(A);
|
|
11520
11520
|
const M = A.currentChar();
|
|
11521
11521
|
return M !== "%" && w(Ce.EXPECTED_TOKEN, o(), 0, M), A.next(), "%";
|
|
11522
11522
|
}
|
|
@@ -11545,14 +11545,14 @@ function iI(e, t = {}) {
|
|
|
11545
11545
|
return M;
|
|
11546
11546
|
}
|
|
11547
11547
|
function g1(A) {
|
|
11548
|
-
|
|
11548
|
+
V(A);
|
|
11549
11549
|
let M = "", G = "";
|
|
11550
11550
|
for (; M = r1(A); )
|
|
11551
11551
|
G += M;
|
|
11552
11552
|
return A.currentChar() === Ga && w(Ce.UNTERMINATED_CLOSING_BRACE, o(), 0), G;
|
|
11553
11553
|
}
|
|
11554
11554
|
function G1(A) {
|
|
11555
|
-
|
|
11555
|
+
V(A);
|
|
11556
11556
|
let M = "";
|
|
11557
11557
|
return A.currentChar() === "-" ? (A.next(), M += `-${Xt(A)}`) : M += Xt(A), A.currentChar() === Ga && w(Ce.UNTERMINATED_CLOSING_BRACE, o(), 0), M;
|
|
11558
11558
|
}
|
|
@@ -11560,7 +11560,7 @@ function iI(e, t = {}) {
|
|
|
11560
11560
|
return A !== I4 && A !== Yt;
|
|
11561
11561
|
}
|
|
11562
11562
|
function Z1(A) {
|
|
11563
|
-
|
|
11563
|
+
V(A), N(A, "'");
|
|
11564
11564
|
let M = "", G = "";
|
|
11565
11565
|
for (; M = wt(A, ii); )
|
|
11566
11566
|
M === "\\" ? G += j1(A) : G += M;
|
|
@@ -11598,7 +11598,7 @@ function iI(e, t = {}) {
|
|
|
11598
11598
|
return A !== "{" && A !== "}" && A !== ya && A !== Yt;
|
|
11599
11599
|
}
|
|
11600
11600
|
function X1(A) {
|
|
11601
|
-
|
|
11601
|
+
V(A);
|
|
11602
11602
|
let M = "", G = "";
|
|
11603
11603
|
for (; M = wt(A, W1); )
|
|
11604
11604
|
G += M;
|
|
@@ -11618,13 +11618,13 @@ function iI(e, t = {}) {
|
|
|
11618
11618
|
return M("");
|
|
11619
11619
|
}
|
|
11620
11620
|
function Ne(A) {
|
|
11621
|
-
|
|
11621
|
+
V(A);
|
|
11622
11622
|
const M = N(
|
|
11623
11623
|
A,
|
|
11624
11624
|
"|"
|
|
11625
11625
|
/* TokenChars.Pipe */
|
|
11626
11626
|
);
|
|
11627
|
-
return
|
|
11627
|
+
return V(A), M;
|
|
11628
11628
|
}
|
|
11629
11629
|
function ni(A, M) {
|
|
11630
11630
|
let G = null;
|
|
@@ -11635,14 +11635,14 @@ function iI(e, t = {}) {
|
|
|
11635
11635
|
2,
|
|
11636
11636
|
"{"
|
|
11637
11637
|
/* TokenChars.BraceLeft */
|
|
11638
|
-
),
|
|
11638
|
+
), V(A), M.braceNest++, G;
|
|
11639
11639
|
case "}":
|
|
11640
11640
|
return M.braceNest > 0 && M.currentType === 2 && w(Ce.EMPTY_PLACEHOLDER, o(), 0), A.next(), G = D(
|
|
11641
11641
|
M,
|
|
11642
11642
|
3,
|
|
11643
11643
|
"}"
|
|
11644
11644
|
/* TokenChars.BraceRight */
|
|
11645
|
-
), M.braceNest--, M.braceNest > 0 &&
|
|
11645
|
+
), M.braceNest--, M.braceNest > 0 && V(A), M.inLinked && M.braceNest === 0 && (M.inLinked = !1), G;
|
|
11646
11646
|
case "@":
|
|
11647
11647
|
return M.braceNest > 0 && w(Ce.UNTERMINATED_CLOSING_BRACE, o(), 0), G = jt(A, M) || E(M), M.braceNest = 0, G;
|
|
11648
11648
|
default: {
|
|
@@ -11652,13 +11652,13 @@ function iI(e, t = {}) {
|
|
|
11652
11652
|
if (M.braceNest > 0 && (M.currentType === 5 || M.currentType === 6 || M.currentType === 7))
|
|
11653
11653
|
return w(Ce.UNTERMINATED_CLOSING_BRACE, o(), 0), M.braceNest = 0, Sa(A, M);
|
|
11654
11654
|
if (it = I(A, M))
|
|
11655
|
-
return G = D(M, 5, g1(A)),
|
|
11655
|
+
return G = D(M, 5, g1(A)), V(A), G;
|
|
11656
11656
|
if (Ye = z(A, M))
|
|
11657
|
-
return G = D(M, 6, G1(A)),
|
|
11657
|
+
return G = D(M, 6, G1(A)), V(A), G;
|
|
11658
11658
|
if (Ge = Z(A, M))
|
|
11659
|
-
return G = D(M, 7, Z1(A)),
|
|
11659
|
+
return G = D(M, 7, Z1(A)), V(A), G;
|
|
11660
11660
|
if (!it && !Ye && !Ge)
|
|
11661
|
-
return G = D(M, 13, X1(A)), w(Ce.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, G.value),
|
|
11661
|
+
return G = D(M, 13, X1(A)), w(Ce.INVALID_TOKEN_IN_PLACEHOLDER, o(), 0, G.value), V(A), G;
|
|
11662
11662
|
break;
|
|
11663
11663
|
}
|
|
11664
11664
|
}
|
|
@@ -11677,21 +11677,21 @@ function iI(e, t = {}) {
|
|
|
11677
11677
|
/* TokenChars.LinkedAlias */
|
|
11678
11678
|
), M.inLinked = !0, ge;
|
|
11679
11679
|
case ".":
|
|
11680
|
-
return
|
|
11680
|
+
return V(A), A.next(), D(
|
|
11681
11681
|
M,
|
|
11682
11682
|
9,
|
|
11683
11683
|
"."
|
|
11684
11684
|
/* TokenChars.LinkedDot */
|
|
11685
11685
|
);
|
|
11686
11686
|
case ":":
|
|
11687
|
-
return
|
|
11687
|
+
return V(A), A.next(), D(
|
|
11688
11688
|
M,
|
|
11689
11689
|
10,
|
|
11690
11690
|
":"
|
|
11691
11691
|
/* TokenChars.LinkedDelimiter */
|
|
11692
11692
|
);
|
|
11693
11693
|
default:
|
|
11694
|
-
return Ie(A) ? (ge = D(M, 1, Ne(A)), M.braceNest = 0, M.inLinked = !1, ge) : U(A, M) || W(A, M) ? (
|
|
11694
|
+
return Ie(A) ? (ge = D(M, 1, Ne(A)), M.braceNest = 0, M.inLinked = !1, ge) : U(A, M) || W(A, M) ? (V(A), jt(A, M)) : ee(A, M) ? (V(A), D(M, 12, Na(A))) : X(A, M) ? (V(A), it === "{" ? ni(A, M) || ge : D(M, 11, ne(A))) : (G === 8 && w(Ce.INVALID_LINKED_FORMAT, o(), 0), M.braceNest = 0, M.inLinked = !1, Sa(A, M));
|
|
11695
11695
|
}
|
|
11696
11696
|
}
|
|
11697
11697
|
function Sa(A, M) {
|
|
@@ -11876,7 +11876,7 @@ function sI(e = {}) {
|
|
|
11876
11876
|
const Ie = z.currentType === 1 ? z.lastOffset : I.currentOffset(), at = z.currentType === 1 ? z.lastEndLoc : I.currentPosition();
|
|
11877
11877
|
return d(ee, Ie, at), ee;
|
|
11878
11878
|
}
|
|
11879
|
-
function
|
|
11879
|
+
function V(I, z, Z, U) {
|
|
11880
11880
|
const ee = I.context();
|
|
11881
11881
|
let W = U.items.length === 0;
|
|
11882
11882
|
const X = l(1, z, Z);
|
|
@@ -11889,7 +11889,7 @@ function sI(e = {}) {
|
|
|
11889
11889
|
}
|
|
11890
11890
|
function ae(I) {
|
|
11891
11891
|
const z = I.context(), { offset: Z, startLoc: U } = z, ee = K(I);
|
|
11892
|
-
return z.currentType === 14 ? ee :
|
|
11892
|
+
return z.currentType === 14 ? ee : V(I, Z, U, ee);
|
|
11893
11893
|
}
|
|
11894
11894
|
function ie(I) {
|
|
11895
11895
|
const z = iI(I, kd({}, e)), Z = z.context(), U = l(0, Z.offset, Z.startLoc);
|
|
@@ -12057,20 +12057,20 @@ function fI(e, t) {
|
|
|
12057
12057
|
};
|
|
12058
12058
|
l && e.loc && (d.source = e.loc.source);
|
|
12059
12059
|
const h = () => d;
|
|
12060
|
-
function m(
|
|
12061
|
-
d.code +=
|
|
12060
|
+
function m(V, ae) {
|
|
12061
|
+
d.code += V;
|
|
12062
12062
|
}
|
|
12063
|
-
function p(
|
|
12063
|
+
function p(V, ae = !0) {
|
|
12064
12064
|
const ie = ae ? s : "";
|
|
12065
|
-
m(o ? ie + " ".repeat(
|
|
12065
|
+
m(o ? ie + " ".repeat(V) : ie);
|
|
12066
12066
|
}
|
|
12067
|
-
function w(
|
|
12067
|
+
function w(V = !0) {
|
|
12068
12068
|
const ae = ++d.indentLevel;
|
|
12069
|
-
|
|
12069
|
+
V && p(ae);
|
|
12070
12070
|
}
|
|
12071
|
-
function D(
|
|
12071
|
+
function D(V = !0) {
|
|
12072
12072
|
const ae = --d.indentLevel;
|
|
12073
|
-
|
|
12073
|
+
V && p(ae);
|
|
12074
12074
|
}
|
|
12075
12075
|
function E() {
|
|
12076
12076
|
p(d.indentLevel);
|
|
@@ -12081,7 +12081,7 @@ function fI(e, t) {
|
|
|
12081
12081
|
indent: w,
|
|
12082
12082
|
deindent: D,
|
|
12083
12083
|
newline: E,
|
|
12084
|
-
helper: (
|
|
12084
|
+
helper: (V) => `_${V}`,
|
|
12085
12085
|
needIndent: () => d.needIndent
|
|
12086
12086
|
};
|
|
12087
12087
|
}
|
|
@@ -12601,7 +12601,7 @@ function PI(e = {}) {
|
|
|
12601
12601
|
const ie = Je(e.messages) ? e.messages(ae) : Ve(e.messages) ? e.messages[ae] : !1;
|
|
12602
12602
|
return ie || (e.parent ? e.parent.message(ae) : SI);
|
|
12603
12603
|
}
|
|
12604
|
-
const w = (ae) => e.modifiers ? e.modifiers[ae] : NI, D = we(e.processor) && Je(e.processor.normalize) ? e.processor.normalize : qI, E = we(e.processor) && Je(e.processor.interpolate) ? e.processor.interpolate : zI, N = we(e.processor) && ue(e.processor.type) ? e.processor.type : OI,
|
|
12604
|
+
const w = (ae) => e.modifiers ? e.modifiers[ae] : NI, D = we(e.processor) && Je(e.processor.normalize) ? e.processor.normalize : qI, E = we(e.processor) && Je(e.processor.interpolate) ? e.processor.interpolate : zI, N = we(e.processor) && ue(e.processor.type) ? e.processor.type : OI, V = {
|
|
12605
12605
|
list: d,
|
|
12606
12606
|
named: m,
|
|
12607
12607
|
plural: o,
|
|
@@ -12609,7 +12609,7 @@ function PI(e = {}) {
|
|
|
12609
12609
|
const [I, z] = ie;
|
|
12610
12610
|
let Z = "text", U = "";
|
|
12611
12611
|
ie.length === 1 ? Ve(I) ? (U = I.modifier || U, Z = I.type || Z) : ue(I) && (U = I || U) : ie.length === 2 && (ue(I) && (U = I || U), ue(z) && (Z = z || Z));
|
|
12612
|
-
const ee = p(ae)(
|
|
12612
|
+
const ee = p(ae)(V), W = (
|
|
12613
12613
|
// The message in vnode resolved with linked are returned as an array by processor.nomalize
|
|
12614
12614
|
Z === "vnode" && rt(ee) && U ? ee[0] : ee
|
|
12615
12615
|
);
|
|
@@ -12621,7 +12621,7 @@ function PI(e = {}) {
|
|
|
12621
12621
|
normalize: D,
|
|
12622
12622
|
values: It($e(), l, h)
|
|
12623
12623
|
};
|
|
12624
|
-
return
|
|
12624
|
+
return V;
|
|
12625
12625
|
}
|
|
12626
12626
|
let Un = null;
|
|
12627
12627
|
function UI(e) {
|
|
@@ -12797,7 +12797,7 @@ const U4 = (e) => {
|
|
|
12797
12797
|
}, nN = () => Pd;
|
|
12798
12798
|
let Y4 = 0;
|
|
12799
12799
|
function rN(e = {}) {
|
|
12800
|
-
const t = Je(e.onWarn) ? e.onWarn : Dt, a = ue(e.version) ? e.version : JI, r = ue(e.locale) || Je(e.locale) ? e.locale : tn, s = Je(r) ? tn : r, o = rt(e.fallbackLocale) || we(e.fallbackLocale) || ue(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, l = we(e.messages) ? e.messages : co(s), d = we(e.datetimeFormats) ? e.datetimeFormats : co(s), h = we(e.numberFormats) ? e.numberFormats : co(s), m = It($e(), e.modifiers, $I()), p = e.pluralRules || $e(), w = Je(e.missing) ? e.missing : null, D = Le(e.missingWarn) || Ja(e.missingWarn) ? e.missingWarn : !0, E = Le(e.fallbackWarn) || Ja(e.fallbackWarn) ? e.fallbackWarn : !0, N = !!e.fallbackFormat, K = !!e.unresolving,
|
|
12800
|
+
const t = Je(e.onWarn) ? e.onWarn : Dt, a = ue(e.version) ? e.version : JI, r = ue(e.locale) || Je(e.locale) ? e.locale : tn, s = Je(r) ? tn : r, o = rt(e.fallbackLocale) || we(e.fallbackLocale) || ue(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : s, l = we(e.messages) ? e.messages : co(s), d = we(e.datetimeFormats) ? e.datetimeFormats : co(s), h = we(e.numberFormats) ? e.numberFormats : co(s), m = It($e(), e.modifiers, $I()), p = e.pluralRules || $e(), w = Je(e.missing) ? e.missing : null, D = Le(e.missingWarn) || Ja(e.missingWarn) ? e.missingWarn : !0, E = Le(e.fallbackWarn) || Ja(e.fallbackWarn) ? e.fallbackWarn : !0, N = !!e.fallbackFormat, K = !!e.unresolving, V = Je(e.postTranslation) ? e.postTranslation : null, ae = we(e.processor) ? e.processor : null, ie = Le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, I = !!e.escapeParameter, z = Je(e.messageCompiler) ? e.messageCompiler : qd;
|
|
12801
12801
|
process.env.NODE_ENV !== "production" && Je(e.messageCompiler) && Cd(wi(Rt.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
|
|
12802
12802
|
const Z = Je(e.messageResolver) ? e.messageResolver : zd || TI, U = Je(e.localeFallbacker) ? e.localeFallbacker : Hd || WI, ee = Ve(e.fallbackContext) ? e.fallbackContext : void 0, W = e, X = Ve(W.__datetimeFormatters) ? W.__datetimeFormatters : /* @__PURE__ */ new Map(), Ie = Ve(W.__numberFormatters) ? W.__numberFormatters : /* @__PURE__ */ new Map(), at = Ve(W.__meta) ? W.__meta : {};
|
|
12803
12803
|
Y4++;
|
|
@@ -12814,7 +12814,7 @@ function rN(e = {}) {
|
|
|
12814
12814
|
fallbackWarn: E,
|
|
12815
12815
|
fallbackFormat: N,
|
|
12816
12816
|
unresolving: K,
|
|
12817
|
-
postTranslation:
|
|
12817
|
+
postTranslation: V,
|
|
12818
12818
|
processor: ae,
|
|
12819
12819
|
warnHtmlMessage: ie,
|
|
12820
12820
|
escapeParameter: I,
|
|
@@ -12988,13 +12988,13 @@ function dN(e, t) {
|
|
|
12988
12988
|
}
|
|
12989
12989
|
const Q4 = () => "", v1 = (e) => Je(e);
|
|
12990
12990
|
function G4(e, ...t) {
|
|
12991
|
-
const { fallbackFormat: a, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: l, messages: d } = e, [h, m] = jo(...t), p = Le(m.missingWarn) ? m.missingWarn : e.missingWarn, w = Le(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, D = Le(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, E = !!m.resolvedMessage, N = ue(m.default) || Le(m.default) ? Le(m.default) ? o ? h : () => h : m.default : a ? o ? h : () => h : "", K = a || N !== "",
|
|
12991
|
+
const { fallbackFormat: a, postTranslation: r, unresolving: s, messageCompiler: o, fallbackLocale: l, messages: d } = e, [h, m] = jo(...t), p = Le(m.missingWarn) ? m.missingWarn : e.missingWarn, w = Le(m.fallbackWarn) ? m.fallbackWarn : e.fallbackWarn, D = Le(m.escapeParameter) ? m.escapeParameter : e.escapeParameter, E = !!m.resolvedMessage, N = ue(m.default) || Le(m.default) ? Le(m.default) ? o ? h : () => h : m.default : a ? o ? h : () => h : "", K = a || N !== "", V = As(e, m);
|
|
12992
12992
|
D && _N(m);
|
|
12993
12993
|
let [ae, ie, I] = E ? [
|
|
12994
12994
|
h,
|
|
12995
|
-
|
|
12996
|
-
d[
|
|
12997
|
-
] : Wd(e, h,
|
|
12995
|
+
V,
|
|
12996
|
+
d[V] || $e()
|
|
12997
|
+
] : Wd(e, h, V, l, w, p), z = ae, Z = h;
|
|
12998
12998
|
if (!E && !(ue(z) || M1(z) || v1(z)) && K && (z = N, Z = z), !E && (!(ue(z) || M1(z) || v1(z)) || !ue(ie)))
|
|
12999
12999
|
return s ? Mr : h;
|
|
13000
13000
|
if (process.env.NODE_ENV !== "production" && ue(z) && e.messageCompiler == null)
|
|
@@ -13027,7 +13027,7 @@ function _N(e) {
|
|
|
13027
13027
|
function Wd(e, t, a, r, s, o) {
|
|
13028
13028
|
const { messages: l, onWarn: d, messageResolver: h, localeFallbacker: m } = e, p = m(e, r, a);
|
|
13029
13029
|
let w = $e(), D, E = null, N = a, K = null;
|
|
13030
|
-
const
|
|
13030
|
+
const V = "translate";
|
|
13031
13031
|
for (let ae = 0; ae < p.length; ae++) {
|
|
13032
13032
|
if (D = K = p[ae], process.env.NODE_ENV !== "production" && a !== D && !Yd(a, D) && Er(s, t) && d(wi(Rt.FALLBACK_TO_TRANSLATE, {
|
|
13033
13033
|
key: t,
|
|
@@ -13035,11 +13035,11 @@ function Wd(e, t, a, r, s, o) {
|
|
|
13035
13035
|
})), process.env.NODE_ENV !== "production" && a !== D) {
|
|
13036
13036
|
const Z = e.__v_emitter;
|
|
13037
13037
|
Z && Z.emit("fallback", {
|
|
13038
|
-
type:
|
|
13038
|
+
type: V,
|
|
13039
13039
|
key: t,
|
|
13040
13040
|
from: N,
|
|
13041
13041
|
to: K,
|
|
13042
|
-
groupId: `${
|
|
13042
|
+
groupId: `${V}:${t}`
|
|
13043
13043
|
});
|
|
13044
13044
|
}
|
|
13045
13045
|
w = l[D] || $e();
|
|
@@ -13051,7 +13051,7 @@ function Wd(e, t, a, r, s, o) {
|
|
|
13051
13051
|
key: t,
|
|
13052
13052
|
message: E,
|
|
13053
13053
|
time: Z - ie,
|
|
13054
|
-
groupId: `${
|
|
13054
|
+
groupId: `${V}:${t}`
|
|
13055
13055
|
}), I && z && c1 && yi && (c1(z), yi("intlify message resolve", I, z));
|
|
13056
13056
|
}
|
|
13057
13057
|
if (ue(E) || M1(E) || v1(E))
|
|
@@ -13063,7 +13063,7 @@ function Wd(e, t, a, r, s, o) {
|
|
|
13063
13063
|
t,
|
|
13064
13064
|
D,
|
|
13065
13065
|
o,
|
|
13066
|
-
|
|
13066
|
+
V
|
|
13067
13067
|
);
|
|
13068
13068
|
Z !== t && (E = Z);
|
|
13069
13069
|
}
|
|
@@ -13176,7 +13176,7 @@ function W4(e, ...t) {
|
|
|
13176
13176
|
const { datetimeFormats: a, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: l } = e, { __datetimeFormatters: d } = e;
|
|
13177
13177
|
if (process.env.NODE_ENV !== "production" && !Kd.dateTimeFormat)
|
|
13178
13178
|
return o(wi(Rt.CANNOT_FORMAT_DATE)), ur;
|
|
13179
|
-
const [h, m, p, w] = Lo(...t), D = Le(p.missingWarn) ? p.missingWarn : e.missingWarn, E = Le(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, N = !!p.part, K = As(e, p),
|
|
13179
|
+
const [h, m, p, w] = Lo(...t), D = Le(p.missingWarn) ? p.missingWarn : e.missingWarn, E = Le(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, N = !!p.part, K = As(e, p), V = l(
|
|
13180
13180
|
e,
|
|
13181
13181
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
13182
13182
|
s,
|
|
@@ -13186,8 +13186,8 @@ function W4(e, ...t) {
|
|
|
13186
13186
|
return new Intl.DateTimeFormat(K, w).format(m);
|
|
13187
13187
|
let ae = {}, ie, I = null, z = K, Z = null;
|
|
13188
13188
|
const U = "datetime format";
|
|
13189
|
-
for (let X = 0; X <
|
|
13190
|
-
if (ie = Z =
|
|
13189
|
+
for (let X = 0; X < V.length; X++) {
|
|
13190
|
+
if (ie = Z = V[X], process.env.NODE_ENV !== "production" && K !== ie && Er(E, h) && o(wi(Rt.FALLBACK_TO_DATE_FORMAT, {
|
|
13191
13191
|
key: h,
|
|
13192
13192
|
target: ie
|
|
13193
13193
|
})), process.env.NODE_ENV !== "production" && K !== ie) {
|
|
@@ -13270,7 +13270,7 @@ function K4(e, ...t) {
|
|
|
13270
13270
|
const { numberFormats: a, unresolving: r, fallbackLocale: s, onWarn: o, localeFallbacker: l } = e, { __numberFormatters: d } = e;
|
|
13271
13271
|
if (process.env.NODE_ENV !== "production" && !Kd.numberFormat)
|
|
13272
13272
|
return o(wi(Rt.CANNOT_FORMAT_NUMBER)), ur;
|
|
13273
|
-
const [h, m, p, w] = To(...t), D = Le(p.missingWarn) ? p.missingWarn : e.missingWarn, E = Le(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, N = !!p.part, K = As(e, p),
|
|
13273
|
+
const [h, m, p, w] = To(...t), D = Le(p.missingWarn) ? p.missingWarn : e.missingWarn, E = Le(p.fallbackWarn) ? p.fallbackWarn : e.fallbackWarn, N = !!p.part, K = As(e, p), V = l(
|
|
13274
13274
|
e,
|
|
13275
13275
|
// eslint-disable-line @typescript-eslint/no-explicit-any
|
|
13276
13276
|
s,
|
|
@@ -13280,8 +13280,8 @@ function K4(e, ...t) {
|
|
|
13280
13280
|
return new Intl.NumberFormat(K, w).format(m);
|
|
13281
13281
|
let ae = {}, ie, I = null, z = K, Z = null;
|
|
13282
13282
|
const U = "number format";
|
|
13283
|
-
for (let X = 0; X <
|
|
13284
|
-
if (ie = Z =
|
|
13283
|
+
for (let X = 0; X < V.length; X++) {
|
|
13284
|
+
if (ie = Z = V[X], process.env.NODE_ENV !== "production" && K !== ie && Er(E, h) && o(wi(Rt.FALLBACK_TO_NUMBER_FORMAT, {
|
|
13285
13285
|
key: h,
|
|
13286
13286
|
target: ie
|
|
13287
13287
|
})), process.env.NODE_ENV !== "production" && K !== ie) {
|
|
@@ -13612,7 +13612,7 @@ function o_(e, t, a) {
|
|
|
13612
13612
|
}
|
|
13613
13613
|
}
|
|
13614
13614
|
function $4(e) {
|
|
13615
|
-
return
|
|
13615
|
+
return H(g8, null, e, 0);
|
|
13616
13616
|
}
|
|
13617
13617
|
const e5 = "__INTLIFY_META__", t5 = () => [], MN = () => !1;
|
|
13618
13618
|
let a5 = 0;
|
|
@@ -13635,7 +13635,7 @@ function xs(e = {}, t) {
|
|
|
13635
13635
|
// prettier-ignore
|
|
13636
13636
|
a && h ? a.fallbackLocale.value : ue(e.fallbackLocale) || rt(e.fallbackLocale) || we(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : m.value
|
|
13637
13637
|
), w = l(Br(m.value, e)), D = l(we(e.datetimeFormats) ? e.datetimeFormats : { [m.value]: {} }), E = l(we(e.numberFormats) ? e.numberFormats : { [m.value]: {} });
|
|
13638
|
-
let N = a ? a.missingWarn : Le(e.missingWarn) || Ja(e.missingWarn) ? e.missingWarn : !0, K = a ? a.fallbackWarn : Le(e.fallbackWarn) || Ja(e.fallbackWarn) ? e.fallbackWarn : !0,
|
|
13638
|
+
let N = a ? a.missingWarn : Le(e.missingWarn) || Ja(e.missingWarn) ? e.missingWarn : !0, K = a ? a.fallbackWarn : Le(e.fallbackWarn) || Ja(e.fallbackWarn) ? e.fallbackWarn : !0, V = a ? a.fallbackRoot : Le(e.fallbackRoot) ? e.fallbackRoot : !0, ae = !!e.fallbackFormat, ie = Je(e.missing) ? e.missing : null, I = Je(e.missing) ? i5(e.missing) : null, z = Je(e.postTranslation) ? e.postTranslation : null, Z = a ? a.warnHtmlMessage : Le(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, U = !!e.escapeParameter;
|
|
13639
13639
|
const ee = a ? a.modifiers : we(e.modifiers) ? e.modifiers : {};
|
|
13640
13640
|
let W = e.pluralRules || a && a.pluralRules, X;
|
|
13641
13641
|
X = (() => {
|
|
@@ -13709,19 +13709,19 @@ function xs(e = {}, t) {
|
|
|
13709
13709
|
if (ze !== "translate exists" && // for not `te` (e.g `t`)
|
|
13710
13710
|
bt(K1) && K1 === Mr || ze === "translate exists" && !K1) {
|
|
13711
13711
|
const [L1, cn] = te();
|
|
13712
|
-
if (process.env.NODE_ENV !== "production" && a && ue(L1) && Nt(ze, cn) && (
|
|
13712
|
+
if (process.env.NODE_ENV !== "production" && a && ue(L1) && Nt(ze, cn) && (V && (Er(K, L1) || Ud(N, L1)) && Dt(i1(ct.FALLBACK_TO_ROOT, {
|
|
13713
13713
|
key: L1,
|
|
13714
13714
|
type: ze
|
|
13715
13715
|
})), process.env.NODE_ENV !== "production")) {
|
|
13716
13716
|
const { __v_emitter: xi } = X;
|
|
13717
|
-
xi &&
|
|
13717
|
+
xi && V && xi.emit("fallback", {
|
|
13718
13718
|
type: ze,
|
|
13719
13719
|
key: L1,
|
|
13720
13720
|
to: "global",
|
|
13721
13721
|
groupId: `${ze}:${L1}`
|
|
13722
13722
|
});
|
|
13723
13723
|
}
|
|
13724
|
-
return a &&
|
|
13724
|
+
return a && V ? ot(a) : h1(L1);
|
|
13725
13725
|
} else {
|
|
13726
13726
|
if (Oa(K1))
|
|
13727
13727
|
return K1;
|
|
@@ -13899,10 +13899,10 @@ function xs(e = {}, t) {
|
|
|
13899
13899
|
K = q, X.fallbackWarn = K;
|
|
13900
13900
|
},
|
|
13901
13901
|
get fallbackRoot() {
|
|
13902
|
-
return
|
|
13902
|
+
return V;
|
|
13903
13903
|
},
|
|
13904
13904
|
set fallbackRoot(q) {
|
|
13905
|
-
|
|
13905
|
+
V = q;
|
|
13906
13906
|
},
|
|
13907
13907
|
get fallbackFormat() {
|
|
13908
13908
|
return ae;
|
|
@@ -13949,7 +13949,7 @@ function BN(e) {
|
|
|
13949
13949
|
return It(Ie, U[X]), W;
|
|
13950
13950
|
}, N || {});
|
|
13951
13951
|
}
|
|
13952
|
-
const { __i18n: K, __root:
|
|
13952
|
+
const { __i18n: K, __root: V, __injectWithOption: ae } = e, ie = e.datetimeFormats, I = e.numberFormats, z = e.flatJson, Z = e.translateExistCompatible;
|
|
13953
13953
|
return {
|
|
13954
13954
|
locale: t,
|
|
13955
13955
|
fallbackLocale: a,
|
|
@@ -13971,7 +13971,7 @@ function BN(e) {
|
|
|
13971
13971
|
inheritLocale: E,
|
|
13972
13972
|
translateExistCompatible: Z,
|
|
13973
13973
|
__i18n: K,
|
|
13974
|
-
__root:
|
|
13974
|
+
__root: V,
|
|
13975
13975
|
__injectWithOption: ae
|
|
13976
13976
|
};
|
|
13977
13977
|
}
|
|
@@ -14763,9 +14763,9 @@ function eS(e = {}, t) {
|
|
|
14763
14763
|
}
|
|
14764
14764
|
let K = null;
|
|
14765
14765
|
!a && r && (K = dS(E, D.global)), __VUE_I18N_FULL_INSTALL__ && qN(E, D, ...N), __VUE_I18N_LEGACY_API__ && a && E.mixin(JN(d, d.__composer, D));
|
|
14766
|
-
const
|
|
14766
|
+
const V = E.unmount;
|
|
14767
14767
|
if (E.unmount = () => {
|
|
14768
|
-
K && K(), D.dispose(),
|
|
14768
|
+
K && K(), D.dispose(), V();
|
|
14769
14769
|
}, process.env.NODE_ENV !== "production") {
|
|
14770
14770
|
if (!await VN(E, D))
|
|
14771
14771
|
throw xt(Pe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);
|
|
@@ -14894,7 +14894,7 @@ function uS(e, t, a, r = {}) {
|
|
|
14894
14894
|
), h = pt(
|
|
14895
14895
|
// prettier-ignore
|
|
14896
14896
|
!s || l ? a.fallbackLocale.value : ue(r.fallbackLocale) || rt(r.fallbackLocale) || we(r.fallbackLocale) || r.fallbackLocale === !1 ? r.fallbackLocale : d.value
|
|
14897
|
-
), m = pt(Br(d.value, r)), p = pt(we(r.datetimeFormats) ? r.datetimeFormats : { [d.value]: {} }), w = pt(we(r.numberFormats) ? r.numberFormats : { [d.value]: {} }), D = s ? a.missingWarn : Le(r.missingWarn) || Ja(r.missingWarn) ? r.missingWarn : !0, E = s ? a.fallbackWarn : Le(r.fallbackWarn) || Ja(r.fallbackWarn) ? r.fallbackWarn : !0, N = s ? a.fallbackRoot : Le(r.fallbackRoot) ? r.fallbackRoot : !0, K = !!r.fallbackFormat,
|
|
14897
|
+
), m = pt(Br(d.value, r)), p = pt(we(r.datetimeFormats) ? r.datetimeFormats : { [d.value]: {} }), w = pt(we(r.numberFormats) ? r.numberFormats : { [d.value]: {} }), D = s ? a.missingWarn : Le(r.missingWarn) || Ja(r.missingWarn) ? r.missingWarn : !0, E = s ? a.fallbackWarn : Le(r.fallbackWarn) || Ja(r.fallbackWarn) ? r.fallbackWarn : !0, N = s ? a.fallbackRoot : Le(r.fallbackRoot) ? r.fallbackRoot : !0, K = !!r.fallbackFormat, V = Je(r.missing) ? r.missing : null, ae = Je(r.postTranslation) ? r.postTranslation : null, ie = s ? a.warnHtmlMessage : Le(r.warnHtmlMessage) ? r.warnHtmlMessage : !0, I = !!r.escapeParameter, z = s ? a.modifiers : we(r.modifiers) ? r.modifiers : {}, Z = r.pluralRules || s && a.pluralRules;
|
|
14898
14898
|
function U() {
|
|
14899
14899
|
return [
|
|
14900
14900
|
d.value,
|
|
@@ -14922,7 +14922,7 @@ function uS(e, t, a, r = {}) {
|
|
|
14922
14922
|
o.value && o.value.setPostTranslationHandler(ne);
|
|
14923
14923
|
}
|
|
14924
14924
|
function R1() {
|
|
14925
|
-
return o.value ? o.value.getMissingHandler() :
|
|
14925
|
+
return o.value ? o.value.getMissingHandler() : V;
|
|
14926
14926
|
}
|
|
14927
14927
|
function da(ne) {
|
|
14928
14928
|
o.value && o.value.setMissingHandler(ne);
|
|
@@ -15371,58 +15371,58 @@ const Ai = /* @__PURE__ */ y(TS, [["render", IS], ["__scopeId", "data-v-97257015
|
|
|
15371
15371
|
disabled: r.value,
|
|
15372
15372
|
class: [
|
|
15373
15373
|
"unnnic-button",
|
|
15374
|
-
`unnnic-button--size-${
|
|
15374
|
+
`unnnic-button--size-${e.size}`,
|
|
15375
15375
|
`unnnic-button--${h.value}`,
|
|
15376
|
-
|
|
15377
|
-
|
|
15376
|
+
e.iconCenter ? "unnnic-button--icon-on-center" : null,
|
|
15377
|
+
e.float ? "unnnic-button--float" : null
|
|
15378
15378
|
]
|
|
15379
15379
|
}), [
|
|
15380
|
-
|
|
15380
|
+
e.loading ? (_(), Y(Ai, {
|
|
15381
15381
|
key: 0,
|
|
15382
15382
|
scheme: l.value,
|
|
15383
15383
|
size: s.value,
|
|
15384
15384
|
style: { position: "absolute" },
|
|
15385
15385
|
"data-testid": "icon-loading"
|
|
15386
15386
|
}, null, 8, ["scheme", "size"])) : B("", !0),
|
|
15387
|
-
|
|
15387
|
+
e.iconLeft ? (_(), Y(se, {
|
|
15388
15388
|
key: 1,
|
|
15389
|
-
icon:
|
|
15389
|
+
icon: e.iconLeft,
|
|
15390
15390
|
scheme: l.value,
|
|
15391
15391
|
size: s.value,
|
|
15392
|
-
filled:
|
|
15392
|
+
filled: e.iconsFilled,
|
|
15393
15393
|
class: L({ "unnnic-button__icon-left": o.value }),
|
|
15394
|
-
style: Ee({ visibility:
|
|
15395
|
-
next:
|
|
15394
|
+
style: Ee({ visibility: e.loading ? "hidden" : "visible" }),
|
|
15395
|
+
next: e.next,
|
|
15396
15396
|
"data-testid": "icon-left"
|
|
15397
15397
|
}, null, 8, ["icon", "scheme", "size", "filled", "class", "style", "next"])) : B("", !0),
|
|
15398
|
-
|
|
15398
|
+
e.iconCenter ? (_(), Y(se, {
|
|
15399
15399
|
key: 2,
|
|
15400
|
-
icon:
|
|
15400
|
+
icon: e.iconCenter,
|
|
15401
15401
|
scheme: l.value,
|
|
15402
|
-
style: Ee({ visibility:
|
|
15402
|
+
style: Ee({ visibility: e.loading ? "hidden" : "visible" }),
|
|
15403
15403
|
size: s.value,
|
|
15404
|
-
filled:
|
|
15405
|
-
next:
|
|
15404
|
+
filled: e.iconsFilled,
|
|
15405
|
+
next: e.next,
|
|
15406
15406
|
"data-testid": "icon-center"
|
|
15407
15407
|
}, null, 8, ["icon", "scheme", "style", "size", "filled", "next"])) : B("", !0),
|
|
15408
|
-
|
|
15408
|
+
e.float ? B("", !0) : (_(), g("span", {
|
|
15409
15409
|
key: 3,
|
|
15410
15410
|
class: "unnnic-button__label",
|
|
15411
|
-
style: Ee({ visibility:
|
|
15411
|
+
style: Ee({ visibility: e.loading ? "hidden" : "visible" }),
|
|
15412
15412
|
"data-testid": "button-label"
|
|
15413
15413
|
}, [
|
|
15414
15414
|
fe(w.$slots, "default", {}, void 0, !0),
|
|
15415
|
-
Ct(" " + v(
|
|
15415
|
+
Ct(" " + v(e.text), 1)
|
|
15416
15416
|
], 4)),
|
|
15417
|
-
|
|
15417
|
+
e.iconRight ? (_(), Y(se, {
|
|
15418
15418
|
key: 4,
|
|
15419
|
-
icon:
|
|
15419
|
+
icon: e.iconRight,
|
|
15420
15420
|
scheme: l.value,
|
|
15421
15421
|
size: s.value,
|
|
15422
|
-
filled:
|
|
15422
|
+
filled: e.iconsFilled,
|
|
15423
15423
|
class: L({ "unnnic-button__icon-right": o.value }),
|
|
15424
|
-
style: Ee({ visibility:
|
|
15425
|
-
next:
|
|
15424
|
+
style: Ee({ visibility: e.loading ? "hidden" : "visible" }),
|
|
15425
|
+
next: e.next,
|
|
15426
15426
|
"data-testid": "icon-right"
|
|
15427
15427
|
}, null, 8, ["icon", "scheme", "size", "filled", "class", "style", "next"])) : B("", !0)
|
|
15428
15428
|
], 16, NS));
|
|
@@ -15767,7 +15767,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15767
15767
|
c("div", {
|
|
15768
15768
|
class: L(["header", `header--${a.size}`])
|
|
15769
15769
|
}, [
|
|
15770
|
-
|
|
15770
|
+
H(l, {
|
|
15771
15771
|
size: "small",
|
|
15772
15772
|
iconCenter: `keyboard_arrow_${h === 0 ? "left" : "right"}`,
|
|
15773
15773
|
type: a.size === "large" ? "secondary" : "tertiary",
|
|
@@ -15807,7 +15807,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15807
15807
|
c("div", {
|
|
15808
15808
|
class: L(["header", `header--${a.size}`])
|
|
15809
15809
|
}, [
|
|
15810
|
-
|
|
15810
|
+
H(l, {
|
|
15811
15811
|
size: "small",
|
|
15812
15812
|
iconCenter: "keyboard_arrow_left",
|
|
15813
15813
|
type: a.size === "large" ? "secondary" : "tertiary",
|
|
@@ -15818,7 +15818,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15818
15818
|
c("div", {
|
|
15819
15819
|
class: L(["label", `label--${a.size}`])
|
|
15820
15820
|
}, v(o.getFullYear(d)), 3),
|
|
15821
|
-
|
|
15821
|
+
H(l, {
|
|
15822
15822
|
size: "small",
|
|
15823
15823
|
iconCenter: "keyboard_arrow_right",
|
|
15824
15824
|
type: a.size === "large" ? "secondary" : "tertiary",
|
|
@@ -15851,7 +15851,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15851
15851
|
c("div", {
|
|
15852
15852
|
class: L(["header", `header--${a.size}`])
|
|
15853
15853
|
}, [
|
|
15854
|
-
|
|
15854
|
+
H(l, {
|
|
15855
15855
|
size: "small",
|
|
15856
15856
|
iconCenter: "arrow-left-1-1",
|
|
15857
15857
|
type: a.size === "large" ? "secondary" : "tertiary",
|
|
@@ -15862,7 +15862,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15862
15862
|
c("div", {
|
|
15863
15863
|
class: L(["label", `label--${a.size}`])
|
|
15864
15864
|
}, v(o.getFullYear(d)), 3),
|
|
15865
|
-
|
|
15865
|
+
H(l, {
|
|
15866
15866
|
size: "small",
|
|
15867
15867
|
iconCenter: "arrow-right-1-1",
|
|
15868
15868
|
type: a.size === "large" ? "secondary" : "tertiary",
|
|
@@ -15913,7 +15913,7 @@ function WS(e, t, a, r, s, o) {
|
|
|
15913
15913
|
type: "tertiary",
|
|
15914
15914
|
onClick: o.clear
|
|
15915
15915
|
}, null, 8, ["text", "onClick"])),
|
|
15916
|
-
|
|
15916
|
+
H(l, {
|
|
15917
15917
|
size: "small",
|
|
15918
15918
|
text: o.filterText,
|
|
15919
15919
|
type: "secondary",
|
|
@@ -16059,7 +16059,7 @@ function KS(e, t, a, r, s, o) {
|
|
|
16059
16059
|
ref: "dropdown",
|
|
16060
16060
|
class: L(["dropdown", { active: s.showCalendarFilter, "fill-w": a.fillW }])
|
|
16061
16061
|
}, [
|
|
16062
|
-
|
|
16062
|
+
H(l, {
|
|
16063
16063
|
class: L(["input", { "date-picker-input-next": a.next }]),
|
|
16064
16064
|
size: a.size,
|
|
16065
16065
|
iconLeft: a.iconPosition === "left" && "calendar_month",
|
|
@@ -16127,7 +16127,7 @@ function $S(e, t, a, r, s, o) {
|
|
|
16127
16127
|
return _(), g("button", Qt({
|
|
16128
16128
|
class: ["button-icon", a.size, a.type]
|
|
16129
16129
|
}, e.$attrs), [
|
|
16130
|
-
|
|
16130
|
+
H(l, {
|
|
16131
16131
|
icon: a.icon,
|
|
16132
16132
|
scheme: o.iconScheme,
|
|
16133
16133
|
size: "ant"
|
|
@@ -16214,7 +16214,7 @@ const tO = ["title"], aO = {
|
|
|
16214
16214
|
"data-testid": "arrow-icon"
|
|
16215
16215
|
}, null, 8, ["icon"])) : B("", !0)
|
|
16216
16216
|
], 2),
|
|
16217
|
-
|
|
16217
|
+
H(_r, { name: "slide-fade" }, {
|
|
16218
16218
|
default: ke(() => [
|
|
16219
16219
|
s.value ? (_(), g("ul", aO, [
|
|
16220
16220
|
(_(!0), g($, null, de(e.item.children, (E, N) => (_(), g("li", {
|
|
@@ -16285,7 +16285,7 @@ const sO = { class: "unnnic-sidebar-items" }, uO = {
|
|
|
16285
16285
|
emits: ["navigate"],
|
|
16286
16286
|
setup(e, { emit: t }) {
|
|
16287
16287
|
Gn((o) => ({
|
|
16288
|
-
|
|
16288
|
+
v6c03e4b5: a.width
|
|
16289
16289
|
}));
|
|
16290
16290
|
const a = e, r = t, s = ({ item: o, child: l }) => {
|
|
16291
16291
|
r("navigate", { item: o, child: l });
|
|
@@ -16296,7 +16296,7 @@ const sO = { class: "unnnic-sidebar-items" }, uO = {
|
|
|
16296
16296
|
fe(o.$slots, "top", { class: "unnnic-sidebar-top" }, void 0, !0),
|
|
16297
16297
|
c("ul", sO, [
|
|
16298
16298
|
(_(!0), g($, null, de(e.items, (d, h) => (_(), g("li", { key: d }, [
|
|
16299
|
-
|
|
16299
|
+
H(Lr, {
|
|
16300
16300
|
item: d,
|
|
16301
16301
|
active: {
|
|
16302
16302
|
item: e.active.itemIndex === h,
|
|
@@ -16717,7 +16717,7 @@ function TO(e, t, a, r, s, o) {
|
|
|
16717
16717
|
{ opacity: !a.opacity }
|
|
16718
16718
|
])
|
|
16719
16719
|
}, [
|
|
16720
|
-
|
|
16720
|
+
H(l, {
|
|
16721
16721
|
icon: a.icon,
|
|
16722
16722
|
scheme: a.enabled ? a.scheme : "neutral-cloudy",
|
|
16723
16723
|
size: o.iconSize,
|
|
@@ -16768,7 +16768,7 @@ function VO(e, t, a, r, s, o) {
|
|
|
16768
16768
|
const l = O("UnnnicAvatarIcon"), d = O("UnnnicIcon");
|
|
16769
16769
|
return _(), g("div", NO, [
|
|
16770
16770
|
c("div", SO, [
|
|
16771
|
-
|
|
16771
|
+
H(l, {
|
|
16772
16772
|
size: "sm",
|
|
16773
16773
|
scheme: a.scheme,
|
|
16774
16774
|
icon: a.icon
|
|
@@ -16781,7 +16781,7 @@ function VO(e, t, a, r, s, o) {
|
|
|
16781
16781
|
key: 0,
|
|
16782
16782
|
class: L(["percent", `unnnic-card-scheme--feedback-${o.color}`])
|
|
16783
16783
|
}, [
|
|
16784
|
-
|
|
16784
|
+
H(d, {
|
|
16785
16785
|
icon: `graph-stats-${a.percent >= 0 ? "ascend" : "descend"}-2`,
|
|
16786
16786
|
scheme: `feedback-${o.color}`,
|
|
16787
16787
|
size: "sm",
|
|
@@ -16833,7 +16833,7 @@ function QO(e, t, a, r, s, o) {
|
|
|
16833
16833
|
c("div", {
|
|
16834
16834
|
class: L(["avatar-icon", `unnnic-card-scheme--${a.scheme}`])
|
|
16835
16835
|
}, [
|
|
16836
|
-
|
|
16836
|
+
H(l, {
|
|
16837
16837
|
icon: a.icon,
|
|
16838
16838
|
scheme: a.scheme,
|
|
16839
16839
|
size: "md"
|
|
@@ -16848,7 +16848,7 @@ function QO(e, t, a, r, s, o) {
|
|
|
16848
16848
|
enabled: a.enabled
|
|
16849
16849
|
}, {
|
|
16850
16850
|
default: ke(() => [
|
|
16851
|
-
|
|
16851
|
+
H(l, {
|
|
16852
16852
|
icon: "information-circle-4",
|
|
16853
16853
|
class: "unnnic-card-title__content_info",
|
|
16854
16854
|
size: "sm",
|
|
@@ -16892,7 +16892,7 @@ function eq(e, t, a, r, s, o) {
|
|
|
16892
16892
|
class: L(["unnnic-card-status", `unnnic-card-scheme--${a.scheme}--border`])
|
|
16893
16893
|
}, [
|
|
16894
16894
|
c("div", ZO, [
|
|
16895
|
-
|
|
16895
|
+
H(l, {
|
|
16896
16896
|
icon: a.icon,
|
|
16897
16897
|
scheme: "neutral-dark",
|
|
16898
16898
|
size: "md",
|
|
@@ -16902,7 +16902,7 @@ function eq(e, t, a, r, s, o) {
|
|
|
16902
16902
|
]),
|
|
16903
16903
|
c("div", XO, [
|
|
16904
16904
|
c("div", KO, [
|
|
16905
|
-
|
|
16905
|
+
H(l, {
|
|
16906
16906
|
icon: "indicator",
|
|
16907
16907
|
scheme: a.scheme,
|
|
16908
16908
|
size: "sm"
|
|
@@ -16951,7 +16951,7 @@ function sq(e, t, a, r, s, o) {
|
|
|
16951
16951
|
})
|
|
16952
16952
|
}, [
|
|
16953
16953
|
c("div", iq, [
|
|
16954
|
-
|
|
16954
|
+
H(l, {
|
|
16955
16955
|
size: "xs",
|
|
16956
16956
|
scheme: a.scheme,
|
|
16957
16957
|
icon: a.icon,
|
|
@@ -17028,7 +17028,7 @@ function pq(e, t, a, r, s, o) {
|
|
|
17028
17028
|
})
|
|
17029
17029
|
}, [
|
|
17030
17030
|
c("div", mq, [
|
|
17031
|
-
|
|
17031
|
+
H(l, {
|
|
17032
17032
|
icon: a.icon,
|
|
17033
17033
|
scheme: "neutral-clean",
|
|
17034
17034
|
class: "unnnic-card-blank__content__icon",
|
|
@@ -17082,7 +17082,7 @@ function kq(e, t, a, r, s, o) {
|
|
|
17082
17082
|
a.enabled && "unnnic-card-content__icon--disabled"
|
|
17083
17083
|
])
|
|
17084
17084
|
}, [
|
|
17085
|
-
|
|
17085
|
+
H(l, {
|
|
17086
17086
|
icon: a.icon,
|
|
17087
17087
|
scheme: "neutral-cloudy",
|
|
17088
17088
|
size: "sm"
|
|
@@ -17165,7 +17165,7 @@ function Nq(e, t, a, r, s, o) {
|
|
|
17165
17165
|
title: a.description
|
|
17166
17166
|
}, v(a.description), 9, jq),
|
|
17167
17167
|
a.typeAction === "add" ? (_(), g("div", Lq, [
|
|
17168
|
-
|
|
17168
|
+
H(l, {
|
|
17169
17169
|
class: "unnnic-card-marketplace__content__rating__star",
|
|
17170
17170
|
scheme: "feedback-yellow",
|
|
17171
17171
|
icon: "rating-star-1",
|
|
@@ -17370,7 +17370,7 @@ const qs = {
|
|
|
17370
17370
|
emits: ["click"]
|
|
17371
17371
|
}, m5 = () => {
|
|
17372
17372
|
Gn((e) => ({
|
|
17373
|
-
|
|
17373
|
+
v14ad6579: e.titleSize
|
|
17374
17374
|
}));
|
|
17375
17375
|
}, F5 = qs.setup;
|
|
17376
17376
|
qs.setup = F5 ? (e, t) => (m5(), F5(e, t)) : m5;
|
|
@@ -17403,7 +17403,7 @@ function Rq(e, t, a, r, s, o) {
|
|
|
17403
17403
|
class: "unnnic-simple-card-header-container__title-tooltip"
|
|
17404
17404
|
}, {
|
|
17405
17405
|
default: ke(() => [
|
|
17406
|
-
|
|
17406
|
+
H(l, {
|
|
17407
17407
|
icon: "info",
|
|
17408
17408
|
size: "nano",
|
|
17409
17409
|
scheme: "neutral-cloudy"
|
|
@@ -17482,7 +17482,7 @@ function Zq(e, t, a, r, s, o) {
|
|
|
17482
17482
|
${a.clickable ? "unnnic-tag--clickable" : ""}`)
|
|
17483
17483
|
}, [
|
|
17484
17484
|
a.leftIcon ? (_(), g("section", Gq, [
|
|
17485
|
-
|
|
17485
|
+
H(l, {
|
|
17486
17486
|
icon: a.leftIcon,
|
|
17487
17487
|
scheme: a.scheme,
|
|
17488
17488
|
size: "sm"
|
|
@@ -17498,7 +17498,7 @@ function Zq(e, t, a, r, s, o) {
|
|
|
17498
17498
|
onClick: t[0] || (t[0] = Te((d) => a.hasCloseIcon ? o.emitClose() : () => {
|
|
17499
17499
|
}, ["stop"]))
|
|
17500
17500
|
}, [
|
|
17501
|
-
|
|
17501
|
+
H(l, {
|
|
17502
17502
|
icon: a.rightIcon || "close",
|
|
17503
17503
|
scheme: a.rightIcon ? a.scheme : "neutral-darkest",
|
|
17504
17504
|
size: "sm"
|
|
@@ -17546,7 +17546,7 @@ function $q(e, t, a, r, s, o) {
|
|
|
17546
17546
|
class: L(`unnnic-tag
|
|
17547
17547
|
${a.clickable ? "unnnic-tag--clickable" : ""}`)
|
|
17548
17548
|
}, [
|
|
17549
|
-
|
|
17549
|
+
H(l, {
|
|
17550
17550
|
enabled: a.enableTooltip,
|
|
17551
17551
|
text: a.tooltipText,
|
|
17552
17552
|
side: "bottom"
|
|
@@ -17602,7 +17602,7 @@ function iz(e, t, a, r, s, o) {
|
|
|
17602
17602
|
})
|
|
17603
17603
|
}, [
|
|
17604
17604
|
c("span", az, v(a.text), 1),
|
|
17605
|
-
|
|
17605
|
+
H(l, {
|
|
17606
17606
|
icon: a.disabled ? "close-1" : "add-1",
|
|
17607
17607
|
scheme: a.disabled ? "neutral-snow" : "brand-weni-dark",
|
|
17608
17608
|
class: "unnnic-brand-tag__icon",
|
|
@@ -17752,7 +17752,7 @@ function hz(e, t, a, r, s, o) {
|
|
|
17752
17752
|
onClick: t[0] || (t[0] = (m) => e.$emit("action"))
|
|
17753
17753
|
}, null, 8, ["text"])) : B("", !0),
|
|
17754
17754
|
e.$slots.options ? (_(), g("div", gz, [
|
|
17755
|
-
|
|
17755
|
+
H(h, {
|
|
17756
17756
|
open: s.isOptionsOpen,
|
|
17757
17757
|
"onUpdate:open": t[1] || (t[1] = (m) => s.isOptionsOpen = m),
|
|
17758
17758
|
class: "unnnic-dropdown",
|
|
@@ -17760,7 +17760,7 @@ function hz(e, t, a, r, s, o) {
|
|
|
17760
17760
|
}, ["prevent"]))
|
|
17761
17761
|
}, {
|
|
17762
17762
|
trigger: ke(() => [
|
|
17763
|
-
|
|
17763
|
+
H(d, {
|
|
17764
17764
|
class: "menu-icon",
|
|
17765
17765
|
icon: "navigation-menu-vertical-1",
|
|
17766
17766
|
size: "sm",
|
|
@@ -17809,7 +17809,7 @@ function Az(e, t, a, r, s, o) {
|
|
|
17809
17809
|
c("div", pz, [
|
|
17810
17810
|
c("div", bz, v(a.title), 1),
|
|
17811
17811
|
a.checked ? (_(), g("div", Cz, [
|
|
17812
|
-
|
|
17812
|
+
H(l, {
|
|
17813
17813
|
size: "md",
|
|
17814
17814
|
icon: "check-circle-1-1-1",
|
|
17815
17815
|
scheme: "feedback-green"
|
|
@@ -17889,7 +17889,7 @@ const vz = {
|
|
|
17889
17889
|
function Mz(e, t, a, r, s, o) {
|
|
17890
17890
|
const l = O("UnnnicIcon");
|
|
17891
17891
|
return _(), g("div", xz, [
|
|
17892
|
-
|
|
17892
|
+
H(l, {
|
|
17893
17893
|
class: L(["unnnic-checkbox", { disabled: a.disabled }]),
|
|
17894
17894
|
icon: o.icon,
|
|
17895
17895
|
scheme: o.color,
|
|
@@ -17948,7 +17948,7 @@ function zz(e, t, a, r, s, o) {
|
|
|
17948
17948
|
a.title ? (_(), g("div", Lz, v(a.title), 1)) : B("", !0),
|
|
17949
17949
|
a.description ? (_(), g("div", Tz, v(a.description), 1)) : B("", !0)
|
|
17950
17950
|
]),
|
|
17951
|
-
|
|
17951
|
+
H(l, {
|
|
17952
17952
|
modelValue: a.modelValue,
|
|
17953
17953
|
onChange: t[0] || (t[0] = (p) => e.$emit("update:model-value", p))
|
|
17954
17954
|
}, null, 8, ["modelValue"]),
|
|
@@ -17957,7 +17957,7 @@ function zz(e, t, a, r, s, o) {
|
|
|
17957
17957
|
position: "bottom-left"
|
|
17958
17958
|
}, {
|
|
17959
17959
|
trigger: ke(() => [
|
|
17960
|
-
|
|
17960
|
+
H(d, {
|
|
17961
17961
|
icon: "navigation-menu-vertical-1",
|
|
17962
17962
|
size: "sm",
|
|
17963
17963
|
scheme: "neutral-cleanest",
|
|
@@ -17981,7 +17981,7 @@ function zz(e, t, a, r, s, o) {
|
|
|
17981
17981
|
}, [
|
|
17982
17982
|
c("div", Sz, v(p.name), 1),
|
|
17983
17983
|
c("div", Oz, [
|
|
17984
|
-
|
|
17984
|
+
H(m, {
|
|
17985
17985
|
icon: p.icon,
|
|
17986
17986
|
size: "xs",
|
|
17987
17987
|
scheme: p.scheme
|
|
@@ -18106,7 +18106,7 @@ function Gz(e, t, a, r, s, o) {
|
|
|
18106
18106
|
"data-testid": "dropdown-actions"
|
|
18107
18107
|
}, {
|
|
18108
18108
|
trigger: ke(() => [
|
|
18109
|
-
|
|
18109
|
+
H(l, {
|
|
18110
18110
|
size: "sm",
|
|
18111
18111
|
icon: "navigation-menu-vertical-1",
|
|
18112
18112
|
clickable: "",
|
|
@@ -18145,7 +18145,7 @@ function Gz(e, t, a, r, s, o) {
|
|
|
18145
18145
|
clickable: "",
|
|
18146
18146
|
scheme: o.colorStatus
|
|
18147
18147
|
}, null, 8, ["scheme"])) : B("", !0),
|
|
18148
|
-
|
|
18148
|
+
H(d, {
|
|
18149
18149
|
open: s.openDropdown,
|
|
18150
18150
|
useOpenProp: "",
|
|
18151
18151
|
"data-testid": "status-dropdown",
|
|
@@ -18243,7 +18243,7 @@ function oH(e, t, a, r, s, o) {
|
|
|
18243
18243
|
enabled: ""
|
|
18244
18244
|
}, {
|
|
18245
18245
|
default: ke(() => [
|
|
18246
|
-
|
|
18246
|
+
H(l, {
|
|
18247
18247
|
class: "info",
|
|
18248
18248
|
icon: "information-circle-4",
|
|
18249
18249
|
size: "sm",
|
|
@@ -18267,7 +18267,7 @@ function oH(e, t, a, r, s, o) {
|
|
|
18267
18267
|
}, [
|
|
18268
18268
|
c("div", iH, v(m.title), 1),
|
|
18269
18269
|
c("div", nH, [
|
|
18270
|
-
|
|
18270
|
+
H(h, {
|
|
18271
18271
|
icon: m.icon,
|
|
18272
18272
|
scheme: m.scheme,
|
|
18273
18273
|
size: "xs"
|
|
@@ -18380,7 +18380,7 @@ const dH = { class: "unnnic-collapse__body" }, _H = {
|
|
|
18380
18380
|
}, [
|
|
18381
18381
|
Ct(v(e.title), 1),
|
|
18382
18382
|
fe(o.$slots, "header", {}, void 0, !0),
|
|
18383
|
-
|
|
18383
|
+
H(se, {
|
|
18384
18384
|
size: "xs",
|
|
18385
18385
|
icon: s.value ? "arrow-button-up-1" : "arrow-button-down-1",
|
|
18386
18386
|
scheme: s.value ? "neutral-dark" : "neutral-cloudy"
|
|
@@ -18438,7 +18438,7 @@ const cH = { class: "label" }, fH = {
|
|
|
18438
18438
|
]),
|
|
18439
18439
|
onClick: d
|
|
18440
18440
|
}, [
|
|
18441
|
-
|
|
18441
|
+
H(se, {
|
|
18442
18442
|
class: "unnnic-radio",
|
|
18443
18443
|
icon: o.value,
|
|
18444
18444
|
scheme: l.value,
|
|
@@ -18576,7 +18576,7 @@ function MH(e, t, a, r, s, o) {
|
|
|
18576
18576
|
onClick: t[0] || (t[0] = (...m) => o.onClickTrigger && o.onClickTrigger(...m))
|
|
18577
18577
|
}, [
|
|
18578
18578
|
c("div", bH, [
|
|
18579
|
-
|
|
18579
|
+
H(l, {
|
|
18580
18580
|
size: "sm",
|
|
18581
18581
|
code: s.val
|
|
18582
18582
|
}, null, 8, ["code"])
|
|
@@ -18586,7 +18586,7 @@ function MH(e, t, a, r, s, o) {
|
|
|
18586
18586
|
class: "option",
|
|
18587
18587
|
onClick: (p) => s.val = m.id
|
|
18588
18588
|
}, [
|
|
18589
|
-
|
|
18589
|
+
H(l, {
|
|
18590
18590
|
size: "sm",
|
|
18591
18591
|
code: m.id
|
|
18592
18592
|
}, null, 8, ["code"])
|
|
@@ -18611,12 +18611,12 @@ function MH(e, t, a, r, s, o) {
|
|
|
18611
18611
|
}, [
|
|
18612
18612
|
a.position === "bottom" ? (_(), g($, { key: 0 }, [
|
|
18613
18613
|
c("div", wH, [
|
|
18614
|
-
|
|
18614
|
+
H(l, {
|
|
18615
18615
|
size: "sm",
|
|
18616
18616
|
code: s.val
|
|
18617
18617
|
}, null, 8, ["code"]),
|
|
18618
18618
|
c("div", DH, v(o.languages[s.val]), 1),
|
|
18619
|
-
|
|
18619
|
+
H(d, {
|
|
18620
18620
|
size: "xs",
|
|
18621
18621
|
icon: o.dropdownIcon,
|
|
18622
18622
|
scheme: "neutral-clean"
|
|
@@ -18629,7 +18629,7 @@ function MH(e, t, a, r, s, o) {
|
|
|
18629
18629
|
class: "option",
|
|
18630
18630
|
onClick: (p) => s.val = m.id
|
|
18631
18631
|
}, [
|
|
18632
|
-
|
|
18632
|
+
H(l, {
|
|
18633
18633
|
size: "sm",
|
|
18634
18634
|
code: m.id
|
|
18635
18635
|
}, null, 8, ["code"]),
|
|
@@ -18638,12 +18638,12 @@ function MH(e, t, a, r, s, o) {
|
|
|
18638
18638
|
a.position !== "bottom" ? (_(), g($, { key: 1 }, [
|
|
18639
18639
|
t[3] || (t[3] = c("div", { class: "divider" }, null, -1)),
|
|
18640
18640
|
c("div", vH, [
|
|
18641
|
-
|
|
18641
|
+
H(l, {
|
|
18642
18642
|
size: "sm",
|
|
18643
18643
|
code: s.val
|
|
18644
18644
|
}, null, 8, ["code"]),
|
|
18645
18645
|
c("div", xH, v(o.languages[s.val]), 1),
|
|
18646
|
-
|
|
18646
|
+
H(d, {
|
|
18647
18647
|
size: "xs",
|
|
18648
18648
|
icon: o.dropdownIcon,
|
|
18649
18649
|
scheme: "neutral-clean"
|
|
@@ -18770,7 +18770,7 @@ function zH(e, t, a, r, s, o) {
|
|
|
18770
18770
|
c("div", BH, [
|
|
18771
18771
|
c("div", jH, [
|
|
18772
18772
|
a.closeIcon ? (_(), g("div", LH, [
|
|
18773
|
-
|
|
18773
|
+
H(l, {
|
|
18774
18774
|
icon: "close-1",
|
|
18775
18775
|
scheme: "neutral-dark",
|
|
18776
18776
|
size: "sm",
|
|
@@ -18789,7 +18789,7 @@ function zH(e, t, a, r, s, o) {
|
|
|
18789
18789
|
a.closeIcon ? "" : "unnnic-modal-container-background-body-spacing_header"
|
|
18790
18790
|
])
|
|
18791
18791
|
}, [
|
|
18792
|
-
|
|
18792
|
+
H(l, {
|
|
18793
18793
|
scheme: a.scheme,
|
|
18794
18794
|
icon: a.modalIcon,
|
|
18795
18795
|
size: "xl"
|
|
@@ -19409,6 +19409,7 @@ const Nr = /* @__PURE__ */ y(EH, [["render", zH], ["__scopeId", "data-v-64ca1a24
|
|
|
19409
19409
|
"image/prs.pti": ["pti"],
|
|
19410
19410
|
"image/vnd.adobe.photoshop": ["psd"],
|
|
19411
19411
|
"image/vnd.airzip.accelerator.azv": ["azv"],
|
|
19412
|
+
"image/vnd.blockfact.facti": ["facti"],
|
|
19412
19413
|
"image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
|
|
19413
19414
|
"image/vnd.djvu": ["djvu", "djv"],
|
|
19414
19415
|
"image/vnd.dvb.subtitle": ["*sub"],
|
|
@@ -20020,7 +20021,7 @@ const PH = { class: "unnnic-upload-area__dropzone__content" }, UH = { class: "un
|
|
|
20020
20021
|
function K() {
|
|
20021
20022
|
d.disabled || (a.value = !1);
|
|
20022
20023
|
}
|
|
20023
|
-
function
|
|
20024
|
+
function V(W) {
|
|
20024
20025
|
if (d.disabled)
|
|
20025
20026
|
return;
|
|
20026
20027
|
a.value = !1;
|
|
@@ -20077,10 +20078,10 @@ const PH = { class: "unnnic-upload-area__dropzone__content" }, UH = { class: "un
|
|
|
20077
20078
|
onDragover: Te(E, ["stop", "prevent"]),
|
|
20078
20079
|
onDragleave: Te(N, ["stop", "prevent"]),
|
|
20079
20080
|
onDragend: Te(K, ["stop", "prevent"]),
|
|
20080
|
-
onDrop: Te(
|
|
20081
|
+
onDrop: Te(V, ["stop", "prevent"]),
|
|
20081
20082
|
onClick: ae
|
|
20082
20083
|
}, [
|
|
20083
|
-
|
|
20084
|
+
H(se, {
|
|
20084
20085
|
class: "unnnic-upload-area__dropzone__icon",
|
|
20085
20086
|
icon: "upload",
|
|
20086
20087
|
scheme: r.value ? "feedback-red" : "weni-500",
|
|
@@ -20209,7 +20210,7 @@ const GH = {
|
|
|
20209
20210
|
function iV(e, t, a, r, s, o) {
|
|
20210
20211
|
const l = O("UnnnicIcon"), d = O("UnnnicButton");
|
|
20211
20212
|
return _(), g("div", ZH, [
|
|
20212
|
-
|
|
20213
|
+
H(l, {
|
|
20213
20214
|
class: "unnnic-import-card__file-icon",
|
|
20214
20215
|
size: "md",
|
|
20215
20216
|
scheme: "weni-600",
|
|
@@ -20341,7 +20342,7 @@ const nV = {
|
|
|
20341
20342
|
function oV(e, t, a, r, s, o) {
|
|
20342
20343
|
const l = O("UnnnicDropArea"), d = O("UnnnicImportCard");
|
|
20343
20344
|
return _(), g("div", null, [
|
|
20344
|
-
|
|
20345
|
+
H(l, {
|
|
20345
20346
|
currentFiles: s.currentFiles,
|
|
20346
20347
|
"onUpdate:currentFiles": t[0] || (t[0] = (h) => s.currentFiles = h),
|
|
20347
20348
|
acceptMultiple: a.acceptMultiple,
|
|
@@ -20443,7 +20444,7 @@ function cV(e, t, a, r, s, o) {
|
|
|
20443
20444
|
const l = O("UnnnicIcon"), d = O("UnnnicUploadArea"), h = O("UnnnicButton");
|
|
20444
20445
|
return _(), g("div", uV, [
|
|
20445
20446
|
c("div", lV, [
|
|
20446
|
-
|
|
20447
|
+
H(l, {
|
|
20447
20448
|
class: "close-button",
|
|
20448
20449
|
icon: "close-1",
|
|
20449
20450
|
scheme: "neutral-dark",
|
|
@@ -20452,7 +20453,7 @@ function cV(e, t, a, r, s, o) {
|
|
|
20452
20453
|
})
|
|
20453
20454
|
]),
|
|
20454
20455
|
c("div", dV, v(a.textTitle), 1),
|
|
20455
|
-
|
|
20456
|
+
H(d, {
|
|
20456
20457
|
acceptMultiple: a.acceptMultiple,
|
|
20457
20458
|
supportedFormats: a.supportedFormats,
|
|
20458
20459
|
maximumUploads: a.maximumUploads,
|
|
@@ -20466,13 +20467,13 @@ function cV(e, t, a, r, s, o) {
|
|
|
20466
20467
|
onFileChange: t[1] || (t[1] = (m) => e.$emit("file-change", m))
|
|
20467
20468
|
}, null, 8, ["acceptMultiple", "supportedFormats", "maximumUploads", "filesProgress", "isUploading", "canImport", "canDelete", "maxFileSize", "files", "subtitle"]),
|
|
20468
20469
|
c("div", _V, [
|
|
20469
|
-
|
|
20470
|
+
H(h, {
|
|
20470
20471
|
size: "large",
|
|
20471
20472
|
type: "tertiary",
|
|
20472
20473
|
text: a.textCancel,
|
|
20473
20474
|
onClick: t[2] || (t[2] = (m) => e.$emit("cancel"))
|
|
20474
20475
|
}, null, 8, ["text"]),
|
|
20475
|
-
|
|
20476
|
+
H(h, {
|
|
20476
20477
|
size: "large",
|
|
20477
20478
|
type: "primary",
|
|
20478
20479
|
text: a.textAction,
|
|
@@ -20546,7 +20547,7 @@ function mV(e, t, a, r, s, o) {
|
|
|
20546
20547
|
class: "alert__close",
|
|
20547
20548
|
onClick: t[0] || (t[0] = (...d) => o.emitClose && o.emitClose(...d))
|
|
20548
20549
|
}, [
|
|
20549
|
-
|
|
20550
|
+
H(l, {
|
|
20550
20551
|
icon: "close-1",
|
|
20551
20552
|
size: "sm",
|
|
20552
20553
|
scheme: "neutral-white"
|
|
@@ -20601,21 +20602,21 @@ const FV = /* @__PURE__ */ y(fV, [["render", mV], ["__scopeId", "data-v-f1004db4
|
|
|
20601
20602
|
default: ke(() => [
|
|
20602
20603
|
s.value ? (_(), g("aside", {
|
|
20603
20604
|
key: 0,
|
|
20604
|
-
class: L(["unnnic-toast", `unnnic-toast--${
|
|
20605
|
-
role:
|
|
20606
|
-
"aria-live":
|
|
20605
|
+
class: L(["unnnic-toast", `unnnic-toast--${e.type}`]),
|
|
20606
|
+
role: e.type === "error" ? "alert" : "status",
|
|
20607
|
+
"aria-live": e.type === "error" ? "assertive" : "polite",
|
|
20607
20608
|
"data-testid": "unnnic-toast"
|
|
20608
20609
|
}, [
|
|
20609
20610
|
c("section", bV, [
|
|
20610
20611
|
c("header", CV, [
|
|
20611
|
-
|
|
20612
|
+
H(se, {
|
|
20612
20613
|
icon: l.value.icon,
|
|
20613
20614
|
scheme: l.value.scheme,
|
|
20614
20615
|
size: "ant",
|
|
20615
20616
|
"data-testid": "toast-type-icon"
|
|
20616
20617
|
}, null, 8, ["icon", "scheme"]),
|
|
20617
|
-
c("h3", yV, v(
|
|
20618
|
-
|
|
20618
|
+
c("h3", yV, v(e.title), 1),
|
|
20619
|
+
H(se, {
|
|
20619
20620
|
icon: "close",
|
|
20620
20621
|
scheme: "neutral-dark",
|
|
20621
20622
|
size: "ant",
|
|
@@ -20629,12 +20630,12 @@ const FV = /* @__PURE__ */ y(fV, [["render", mV], ["__scopeId", "data-v-f1004db4
|
|
|
20629
20630
|
]
|
|
20630
20631
|
}, null, 8, ["onKeydown"])
|
|
20631
20632
|
]),
|
|
20632
|
-
|
|
20633
|
+
e.description ? (_(), g("p", wV, v(e.description), 1)) : B("", !0)
|
|
20633
20634
|
]),
|
|
20634
|
-
|
|
20635
|
+
e.button ? (_(), Y(Ht, {
|
|
20635
20636
|
key: 0,
|
|
20636
20637
|
type: "tertiary",
|
|
20637
|
-
text:
|
|
20638
|
+
text: e.button.text,
|
|
20638
20639
|
class: "unnnic-toast__action-button",
|
|
20639
20640
|
"data-testid": "toast-action-button",
|
|
20640
20641
|
onClick: h,
|
|
@@ -21279,8 +21280,8 @@ const PV = {
|
|
|
21279
21280
|
}, o = e.filter(
|
|
21280
21281
|
({ value: d, label: h }, m, p) => {
|
|
21281
21282
|
const w = r(h), D = p.findIndex((N) => N.value === d) === m, E = a.every((N) => {
|
|
21282
|
-
const K = w.includes(N),
|
|
21283
|
-
return this.enableSearchByValue ? K ||
|
|
21283
|
+
const K = w.includes(N), V = d.includes(N);
|
|
21284
|
+
return this.enableSearchByValue ? K || V : K;
|
|
21284
21285
|
});
|
|
21285
21286
|
return D && E && d;
|
|
21286
21287
|
}
|
|
@@ -21372,7 +21373,7 @@ function RV(e, t, a, r, s, o) {
|
|
|
21372
21373
|
"data-testid": "select-smart",
|
|
21373
21374
|
onKeydown: t[1] || (t[1] = (...D) => o.onKeyDownSelect && o.onKeyDownSelect(...D))
|
|
21374
21375
|
}, [
|
|
21375
|
-
|
|
21376
|
+
H(p, {
|
|
21376
21377
|
ref: "dropdown-skeleton",
|
|
21377
21378
|
type: "manual",
|
|
21378
21379
|
modelValue: s.active || null,
|
|
@@ -21435,7 +21436,7 @@ function RV(e, t, a, r, s, o) {
|
|
|
21435
21436
|
], 6)) : B("", !0)
|
|
21436
21437
|
]),
|
|
21437
21438
|
default: ke(() => [
|
|
21438
|
-
|
|
21439
|
+
H(l, {
|
|
21439
21440
|
ref: "selectSmartInput",
|
|
21440
21441
|
class: L([
|
|
21441
21442
|
"unnnic-select-smart__input",
|
|
@@ -21598,7 +21599,7 @@ function $V(e, t, a, r, s, o) {
|
|
|
21598
21599
|
onClick: t[1] || (t[1] = (m) => s.active = !s.active)
|
|
21599
21600
|
}, [
|
|
21600
21601
|
c("h6", XV, v(a.inputTitle), 1),
|
|
21601
|
-
|
|
21602
|
+
H(l, {
|
|
21602
21603
|
icon: s.active ? "arrow-button-up-1" : "arrow-button-down-1",
|
|
21603
21604
|
size: "sm",
|
|
21604
21605
|
scheme: "neutral-dark"
|
|
@@ -21690,7 +21691,7 @@ function iP(e, t, a, r, s, o) {
|
|
|
21690
21691
|
onClick: t[0] || (t[0] = (d) => e.$emit("update:open", !a.open))
|
|
21691
21692
|
}, [
|
|
21692
21693
|
c("div", tP, [
|
|
21693
|
-
|
|
21694
|
+
H(l, {
|
|
21694
21695
|
icon: a.open ? "subtract-circle-1" : "add-circle-1",
|
|
21695
21696
|
scheme: "neutral-clean",
|
|
21696
21697
|
size: "md"
|
|
@@ -21916,7 +21917,7 @@ function DP(e, t, a, r, s, o) {
|
|
|
21916
21917
|
return _(), g("div", hP, [
|
|
21917
21918
|
c("div", mP, [
|
|
21918
21919
|
c("div", FP, [
|
|
21919
|
-
|
|
21920
|
+
H(l, {
|
|
21920
21921
|
icon: "arrow-left-1-1",
|
|
21921
21922
|
size: "sm",
|
|
21922
21923
|
scheme: s.hasPrev ? "neutral-black" : "neutral-cleanest",
|
|
@@ -21933,7 +21934,7 @@ function DP(e, t, a, r, s, o) {
|
|
|
21933
21934
|
key: h.id,
|
|
21934
21935
|
class: "unnnic-card-tag-carousel__container__slide"
|
|
21935
21936
|
}, [
|
|
21936
|
-
|
|
21937
|
+
H(d, {
|
|
21937
21938
|
text: h.name,
|
|
21938
21939
|
clickable: "",
|
|
21939
21940
|
type: "brand",
|
|
@@ -21948,7 +21949,7 @@ function DP(e, t, a, r, s, o) {
|
|
|
21948
21949
|
[H1, s.hasNext]
|
|
21949
21950
|
]),
|
|
21950
21951
|
c("div", wP, [
|
|
21951
|
-
|
|
21952
|
+
H(l, {
|
|
21952
21953
|
icon: "arrow-right-1-1",
|
|
21953
21954
|
size: "sm",
|
|
21954
21955
|
scheme: s.hasNext ? "neutral-black" : "neutral-cleanest",
|
|
@@ -22109,7 +22110,7 @@ function TP(e, t, a, r, s, o) {
|
|
|
22109
22110
|
side: "bottom"
|
|
22110
22111
|
}, {
|
|
22111
22112
|
default: ke(() => [
|
|
22112
|
-
|
|
22113
|
+
H(l, {
|
|
22113
22114
|
icon: "help",
|
|
22114
22115
|
size: a.size === "sm" ? "xs" : "sm",
|
|
22115
22116
|
scheme: "fg-base"
|
|
@@ -22159,7 +22160,7 @@ function zP(e, t, a, r, s, o) {
|
|
|
22159
22160
|
"data-testid": "back",
|
|
22160
22161
|
onClick: t[0] || (t[0] = (d) => e.$emit("back"))
|
|
22161
22162
|
}, [
|
|
22162
|
-
|
|
22163
|
+
H(l, {
|
|
22163
22164
|
icon: "keyboard-arrow-left-1",
|
|
22164
22165
|
scheme: "neutral-cloudy"
|
|
22165
22166
|
})
|
|
@@ -22181,7 +22182,7 @@ function zP(e, t, a, r, s, o) {
|
|
|
22181
22182
|
c("div", OP, v(d.description), 1)
|
|
22182
22183
|
]),
|
|
22183
22184
|
d.value === a.modelValue ? (_(), g("div", qP, [
|
|
22184
|
-
|
|
22185
|
+
H(l, {
|
|
22185
22186
|
icon: "close-1",
|
|
22186
22187
|
size: "xs",
|
|
22187
22188
|
clickable: "",
|
|
@@ -22196,7 +22197,7 @@ function zP(e, t, a, r, s, o) {
|
|
|
22196
22197
|
"data-testid": "tab-add",
|
|
22197
22198
|
onClick: t[1] || (t[1] = (d) => e.$emit("add"))
|
|
22198
22199
|
}, [
|
|
22199
|
-
|
|
22200
|
+
H(l, {
|
|
22200
22201
|
icon: "add-1",
|
|
22201
22202
|
scheme: "neutral-cloudy",
|
|
22202
22203
|
size: "sm"
|
|
@@ -22281,7 +22282,7 @@ function $P(e, t, a, r, s, o) {
|
|
|
22281
22282
|
c("div", XP, v(a.thirdTitle), 1),
|
|
22282
22283
|
c("div", KP, v(a.thirdDescription), 1),
|
|
22283
22284
|
c("div", JP, [
|
|
22284
|
-
(_(), g($, null, de(5, (d) =>
|
|
22285
|
+
(_(), g($, null, de(5, (d) => H(l, {
|
|
22285
22286
|
key: d,
|
|
22286
22287
|
class: L({
|
|
22287
22288
|
"unnnic-banner-info__rating__star": !0,
|
|
@@ -22518,7 +22519,7 @@ function pU(e, t, a, r, s, o) {
|
|
|
22518
22519
|
`unnnic-switch__label__${a.size}`
|
|
22519
22520
|
])
|
|
22520
22521
|
}, v(a.textLeft), 3)) : B("", !0),
|
|
22521
|
-
|
|
22522
|
+
H(l, {
|
|
22522
22523
|
class: L({ "unnnic-switch__icon": !0, active: s.isActive }),
|
|
22523
22524
|
icon: o.currentIcon,
|
|
22524
22525
|
size: o.iconSize,
|
|
@@ -22685,7 +22686,7 @@ function MU(e, t, a, r, s, o) {
|
|
|
22685
22686
|
side: "top"
|
|
22686
22687
|
}, {
|
|
22687
22688
|
default: ke(() => [
|
|
22688
|
-
|
|
22689
|
+
H(l, {
|
|
22689
22690
|
class: "unnnic-label__tooltip__icon",
|
|
22690
22691
|
icon: "info",
|
|
22691
22692
|
size: "sm",
|
|
@@ -22703,7 +22704,7 @@ function MU(e, t, a, r, s, o) {
|
|
|
22703
22704
|
c("section", wU, [
|
|
22704
22705
|
c("section", DU, [
|
|
22705
22706
|
c("span", kU, v(a.minLabel), 1),
|
|
22706
|
-
|
|
22707
|
+
H(d, {
|
|
22707
22708
|
ref: "tooltip",
|
|
22708
22709
|
class: "unnnic-slider__content__tooltip",
|
|
22709
22710
|
text: s.sliderVal.toString(),
|
|
@@ -22777,7 +22778,7 @@ function OU(e, t, a, r, s, o) {
|
|
|
22777
22778
|
])
|
|
22778
22779
|
]),
|
|
22779
22780
|
c("div", IU, [
|
|
22780
|
-
|
|
22781
|
+
H(l, {
|
|
22781
22782
|
enabled: a.enableHover,
|
|
22782
22783
|
text: a.hoverText
|
|
22783
22784
|
}, {
|
|
@@ -22881,7 +22882,7 @@ const qU = {
|
|
|
22881
22882
|
function HU(e, t, a, r, s, o) {
|
|
22882
22883
|
const l = O("UnnnicButton");
|
|
22883
22884
|
return _(), g("div", zU, [
|
|
22884
|
-
|
|
22885
|
+
H(l, {
|
|
22885
22886
|
type: "tertiary",
|
|
22886
22887
|
size: "small",
|
|
22887
22888
|
iconCenter: "arrow-left-1-1",
|
|
@@ -22898,7 +22899,7 @@ function HU(e, t, a, r, s, o) {
|
|
|
22898
22899
|
"data-test": "page-button",
|
|
22899
22900
|
onClick: (m) => o.selectPage(d)
|
|
22900
22901
|
}, null, 8, ["type", "text", "disabled", "onClick"]))), 128)),
|
|
22901
|
-
|
|
22902
|
+
H(l, {
|
|
22902
22903
|
type: "tertiary",
|
|
22903
22904
|
size: "small",
|
|
22904
22905
|
iconCenter: "arrow-right-1-1",
|
|
@@ -22970,7 +22971,7 @@ const Pr = /* @__PURE__ */ y(qU, [["render", HU], ["__scopeId", "data-v-b2612197
|
|
|
22970
22971
|
function UU(e, t, a, r, s, o) {
|
|
22971
22972
|
const l = O("UnnnicInput");
|
|
22972
22973
|
return _(), g("div", PU, [
|
|
22973
|
-
|
|
22974
|
+
H(l, {
|
|
22974
22975
|
class: "unnnic-date-filter__input",
|
|
22975
22976
|
size: a.size,
|
|
22976
22977
|
iconLeft: "notes-1",
|
|
@@ -23038,7 +23039,7 @@ function ZU(e, t, a, r, s, o) {
|
|
|
23038
23039
|
enabled: ""
|
|
23039
23040
|
}, {
|
|
23040
23041
|
default: ke(() => [
|
|
23041
|
-
|
|
23042
|
+
H(l, {
|
|
23042
23043
|
class: "info__icon",
|
|
23043
23044
|
icon: "info",
|
|
23044
23045
|
size: "sm",
|
|
@@ -23368,7 +23369,7 @@ function AY(e, t, a, r, s, o) {
|
|
|
23368
23369
|
class: "update-button",
|
|
23369
23370
|
onClick: t[1] || (t[1] = (m) => e.$emit("update"))
|
|
23370
23371
|
}, [
|
|
23371
|
-
|
|
23372
|
+
H(l, {
|
|
23372
23373
|
icon: "button-refresh-arrow-1",
|
|
23373
23374
|
size: "sm",
|
|
23374
23375
|
scheme: "neutral-darkest"
|
|
@@ -23440,7 +23441,7 @@ ${w}`,
|
|
|
23440
23441
|
key: p,
|
|
23441
23442
|
class: "legend"
|
|
23442
23443
|
}, [
|
|
23443
|
-
|
|
23444
|
+
H(l, {
|
|
23444
23445
|
icon: "indicator",
|
|
23445
23446
|
scheme: s.colors[p]
|
|
23446
23447
|
}, null, 8, ["scheme"]),
|
|
@@ -23553,7 +23554,7 @@ function IY(e, t, a, r, s, o) {
|
|
|
23553
23554
|
key: h,
|
|
23554
23555
|
class: "group"
|
|
23555
23556
|
}, [
|
|
23556
|
-
|
|
23557
|
+
H(l, {
|
|
23557
23558
|
enabled: "",
|
|
23558
23559
|
text: String(d),
|
|
23559
23560
|
side: "top",
|
|
@@ -23628,7 +23629,7 @@ function YY(e, t, a, r, s, o) {
|
|
|
23628
23629
|
key: h,
|
|
23629
23630
|
class: "mood"
|
|
23630
23631
|
}, [
|
|
23631
|
-
|
|
23632
|
+
H(l, {
|
|
23632
23633
|
side: "bottom",
|
|
23633
23634
|
text: a.titlesMoods[h],
|
|
23634
23635
|
enabled: ""
|
|
@@ -23679,7 +23680,7 @@ const RY = {
|
|
|
23679
23680
|
function WY(e, t, a, r, s, o) {
|
|
23680
23681
|
const l = O("UnnnicIcon");
|
|
23681
23682
|
return _(), g("div", QY, [
|
|
23682
|
-
(_(), g($, null, de(5, (d) =>
|
|
23683
|
+
(_(), g($, null, de(5, (d) => H(l, {
|
|
23683
23684
|
key: d,
|
|
23684
23685
|
scheme: o.starScheme(d),
|
|
23685
23686
|
icon: "rating-star-1",
|
|
@@ -23719,14 +23720,14 @@ function $Y(e, t, a, r, s, o) {
|
|
|
23719
23720
|
return _(), g("div", KY, [
|
|
23720
23721
|
c("div", null, [
|
|
23721
23722
|
c("span", JY, v(a.time), 1),
|
|
23722
|
-
|
|
23723
|
+
H(l, {
|
|
23723
23724
|
icon: "indicator",
|
|
23724
23725
|
size: "sm",
|
|
23725
23726
|
class: L([{ "is-recording": a.isRecording }]),
|
|
23726
23727
|
scheme: a.isRecording ? null : "neutral-clean"
|
|
23727
23728
|
}, null, 8, ["class", "scheme"])
|
|
23728
23729
|
]),
|
|
23729
|
-
|
|
23730
|
+
H(d, {
|
|
23730
23731
|
enabled: "",
|
|
23731
23732
|
text: "Salvar",
|
|
23732
23733
|
side: "top"
|
|
@@ -23737,7 +23738,7 @@ function $Y(e, t, a, r, s, o) {
|
|
|
23737
23738
|
onClick: t[0] || (t[0] = (...h) => o.save && o.save(...h)),
|
|
23738
23739
|
onKeypress: t[1] || (t[1] = qt((...h) => o.save && o.save(...h), ["enter"]))
|
|
23739
23740
|
}, [
|
|
23740
|
-
|
|
23741
|
+
H(l, {
|
|
23741
23742
|
icon: "check-circle-1-1",
|
|
23742
23743
|
scheme: "feedback-green"
|
|
23743
23744
|
})
|
|
@@ -23840,7 +23841,7 @@ function oR(e, t, a, r, s, o) {
|
|
|
23840
23841
|
onClick: t[0] || (t[0] = (...d) => o.click && o.click(...d)),
|
|
23841
23842
|
onKeypress: t[1] || (t[1] = qt((...d) => o.click && o.click(...d), ["enter"]))
|
|
23842
23843
|
}, [
|
|
23843
|
-
|
|
23844
|
+
H(l, {
|
|
23844
23845
|
icon: o.playbackIcon,
|
|
23845
23846
|
scheme: "neutral-darkest"
|
|
23846
23847
|
}, null, 8, ["icon"])
|
|
@@ -24083,7 +24084,7 @@ function cR(e, t, a, r, s, o) {
|
|
|
24083
24084
|
onClick: t[0] || (t[0] = (...p) => o.discard && o.discard(...p)),
|
|
24084
24085
|
onKeypress: t[1] || (t[1] = qt((...p) => o.discard && o.discard(...p), ["enter"]))
|
|
24085
24086
|
}, [
|
|
24086
|
-
|
|
24087
|
+
H(l, {
|
|
24087
24088
|
icon: "delete-1-1",
|
|
24088
24089
|
scheme: "feedback-red"
|
|
24089
24090
|
})
|
|
@@ -24269,7 +24270,7 @@ function BR(e, t, a, r, s, o) {
|
|
|
24269
24270
|
])) : B("", !0)
|
|
24270
24271
|
]),
|
|
24271
24272
|
a.type === "primary" && a.subtitle && a.canClose ? (_(), g("div", ER, [
|
|
24272
|
-
|
|
24273
|
+
H(l, {
|
|
24273
24274
|
icon: "close-1",
|
|
24274
24275
|
scheme: "neutral-clean",
|
|
24275
24276
|
size: "sm",
|
|
@@ -24411,8 +24412,8 @@ function SR(e, t, a, r, s, o) {
|
|
|
24411
24412
|
});
|
|
24412
24413
|
}
|
|
24413
24414
|
const OR = /* @__PURE__ */ y(NR, [["render", SR], ["__scopeId", "data-v-9b793da0"]]);
|
|
24414
|
-
import("./es-
|
|
24415
|
-
import("./pt-br-
|
|
24415
|
+
import("./es-5aa232c1.mjs");
|
|
24416
|
+
import("./pt-br-5f8a4e67.mjs");
|
|
24416
24417
|
const w3 = {
|
|
24417
24418
|
name: "ChatsContact",
|
|
24418
24419
|
components: {
|
|
@@ -24596,8 +24597,8 @@ const w3 = {
|
|
|
24596
24597
|
}
|
|
24597
24598
|
}, C5 = () => {
|
|
24598
24599
|
Gn((e) => ({
|
|
24599
|
-
|
|
24600
|
-
|
|
24600
|
+
v52aff739: e.messageInfoAlign,
|
|
24601
|
+
v578ce2fb: e.messageInfoMarginTop
|
|
24601
24602
|
}));
|
|
24602
24603
|
}, y5 = w3.setup;
|
|
24603
24604
|
w3.setup = y5 ? (e, t) => (C5(), y5(e, t)) : C5;
|
|
@@ -24634,7 +24635,7 @@ function WR(e, t, a, r, s, o) {
|
|
|
24634
24635
|
})
|
|
24635
24636
|
}, [
|
|
24636
24637
|
a.discussionGoal ? (_(), g("div", qR, [
|
|
24637
|
-
|
|
24638
|
+
H(l, {
|
|
24638
24639
|
icon: "forum",
|
|
24639
24640
|
scheme: "weni-50"
|
|
24640
24641
|
})
|
|
@@ -24661,7 +24662,7 @@ function WR(e, t, a, r, s, o) {
|
|
|
24661
24662
|
class: L(["chats-contact__infos__additional-information", { bold: a.unreadMessages || a.checkboxWhenSelect && a.selected }])
|
|
24662
24663
|
}, [
|
|
24663
24664
|
a.waitingTime !== 0 && !a.discussionGoal ? (_(), g("p", PR, v(e.i18n("waiting_for", a.waitingTime, { waitingTime: a.waitingTime })), 1)) : o.lastMessageMedia.isMedia ? (_(), g("section", UR, [
|
|
24664
|
-
|
|
24665
|
+
H(l, {
|
|
24665
24666
|
icon: o.lastMessageMedia.mediaIcon,
|
|
24666
24667
|
scheme: "neutral-cloudy",
|
|
24667
24668
|
size: "sm"
|
|
@@ -24699,7 +24700,7 @@ function WR(e, t, a, r, s, o) {
|
|
|
24699
24700
|
onClick: t[0] || (t[0] = Te((...w) => o.handlePinClick && o.handlePinClick(...w), ["stop", "prevent"])),
|
|
24700
24701
|
onMousedown: t[1] || (t[1] = Te((...w) => o.handlePinMouseDown && o.handlePinMouseDown(...w), ["stop", "prevent"]))
|
|
24701
24702
|
}, [
|
|
24702
|
-
|
|
24703
|
+
H(l, {
|
|
24703
24704
|
"data-testid": "pin-icon",
|
|
24704
24705
|
icon: o.isUnpinned ? "unpin" : "pin",
|
|
24705
24706
|
size: "ant",
|
|
@@ -24712,7 +24713,7 @@ function WR(e, t, a, r, s, o) {
|
|
|
24712
24713
|
}, v(a.unreadMessages), 9, ZR)) : B("", !0)
|
|
24713
24714
|
])
|
|
24714
24715
|
])),
|
|
24715
|
-
|
|
24716
|
+
H(p, {
|
|
24716
24717
|
ref: "transitionRipple",
|
|
24717
24718
|
color: "neutral-cleanest"
|
|
24718
24719
|
}, null, 512)
|
|
@@ -24740,7 +24741,7 @@ const XR = {
|
|
|
24740
24741
|
function $R(e, t, a, r, s, o) {
|
|
24741
24742
|
const l = O("UnnnicIcon");
|
|
24742
24743
|
return _(), g("div", KR, [
|
|
24743
|
-
|
|
24744
|
+
H(l, {
|
|
24744
24745
|
class: "unnnic-chats-dashboard-tag-live__indicator",
|
|
24745
24746
|
icon: "indicator",
|
|
24746
24747
|
scheme: "aux-green-300"
|
|
@@ -24771,73 +24772,73 @@ const k3 = /* @__PURE__ */ y(XR, [["render", $R]]), eQ = {
|
|
|
24771
24772
|
setup(e) {
|
|
24772
24773
|
const t = Zo();
|
|
24773
24774
|
return (a, r) => (_(), g("div", {
|
|
24774
|
-
class: L(["unnnic-chats-header__container", [
|
|
24775
|
+
class: L(["unnnic-chats-header__container", [e.size]])
|
|
24775
24776
|
}, [
|
|
24776
24777
|
c("header", {
|
|
24777
|
-
class: L(["unnnic-chats-header", { contact: !!
|
|
24778
|
+
class: L(["unnnic-chats-header", { contact: !!e.avatarName }])
|
|
24778
24779
|
}, [
|
|
24779
|
-
|
|
24780
|
-
|
|
24781
|
-
crumbs:
|
|
24780
|
+
e.avatarName ? B("", !0) : (_(), g("div", eQ, [
|
|
24781
|
+
H(Vr, {
|
|
24782
|
+
crumbs: e.crumbs,
|
|
24782
24783
|
onCrumbClick: r[0] || (r[0] = (s) => a.$emit("crumbClick", s))
|
|
24783
24784
|
}, null, 8, ["crumbs"]),
|
|
24784
|
-
|
|
24785
|
+
e.close ? (_(), Y(Ht, {
|
|
24785
24786
|
key: 0,
|
|
24786
24787
|
type: "tertiary",
|
|
24787
24788
|
iconCenter: "close-1",
|
|
24788
24789
|
size: "small",
|
|
24789
|
-
onClick:
|
|
24790
|
+
onClick: e.close
|
|
24790
24791
|
}, null, 8, ["onClick"])) : B("", !0)
|
|
24791
24792
|
])),
|
|
24792
24793
|
c("main", tQ, [
|
|
24793
|
-
|
|
24794
|
+
e.back ? (_(), Y(Ht, {
|
|
24794
24795
|
key: 0,
|
|
24795
24796
|
class: "unnnic-chats-header__main__back",
|
|
24796
24797
|
type: "tertiary",
|
|
24797
24798
|
size: "small",
|
|
24798
24799
|
iconCenter: "keyboard-arrow-left-1",
|
|
24799
|
-
onClick:
|
|
24800
|
+
onClick: e.back
|
|
24800
24801
|
}, null, 8, ["onClick"])) : B("", !0),
|
|
24801
24802
|
c("section", aQ, [
|
|
24802
|
-
|
|
24803
|
+
e.avatarName ? (_(), Y(t2, {
|
|
24803
24804
|
key: 0,
|
|
24804
|
-
clickable: !!
|
|
24805
|
-
username:
|
|
24806
|
-
onClick: r[1] || (r[1] = (s) =>
|
|
24805
|
+
clickable: !!e.avatarClick,
|
|
24806
|
+
username: e.avatarName,
|
|
24807
|
+
onClick: r[1] || (r[1] = (s) => e.avatarClick ? e.avatarClick() : () => {
|
|
24807
24808
|
})
|
|
24808
24809
|
}, null, 8, ["clickable", "username"])) : (_(), g("div", {
|
|
24809
24810
|
key: 1,
|
|
24810
|
-
class: L({ clickable: !!
|
|
24811
|
-
onClick: r[2] || (r[2] = (s) =>
|
|
24811
|
+
class: L({ clickable: !!e.avatarClick }),
|
|
24812
|
+
onClick: r[2] || (r[2] = (s) => e.avatarClick ? e.avatarClick() : () => {
|
|
24812
24813
|
})
|
|
24813
24814
|
}, [
|
|
24814
|
-
|
|
24815
|
-
scheme:
|
|
24815
|
+
H(ti, {
|
|
24816
|
+
scheme: e.sectionIconScheme,
|
|
24816
24817
|
class: "unnnic-chats-header__avatar-icon",
|
|
24817
24818
|
size: "sm",
|
|
24818
|
-
icon:
|
|
24819
|
+
icon: e.avatarIcon
|
|
24819
24820
|
}, null, 8, ["scheme", "icon"])
|
|
24820
24821
|
], 2)),
|
|
24821
24822
|
c("hgroup", iQ, [
|
|
24822
24823
|
c("h1", {
|
|
24823
|
-
class: L({ clickable: !!
|
|
24824
|
-
onClick: r[3] || (r[3] = (s) =>
|
|
24824
|
+
class: L({ clickable: !!e.titleClick }),
|
|
24825
|
+
onClick: r[3] || (r[3] = (s) => e.titleClick ? e.titleClick() : () => {
|
|
24825
24826
|
})
|
|
24826
|
-
}, v(
|
|
24827
|
-
|
|
24827
|
+
}, v(e.title), 3),
|
|
24828
|
+
e.subtitle ? (_(), g("h2", nQ, v(e.subtitle), 1)) : B("", !0)
|
|
24828
24829
|
])
|
|
24829
24830
|
]),
|
|
24830
24831
|
c("div", rQ, [
|
|
24831
24832
|
fe(a.$slots, "default")
|
|
24832
24833
|
])
|
|
24833
24834
|
]),
|
|
24834
|
-
ia(t).right ? fe(a.$slots, "right", { key: 1 }) :
|
|
24835
|
+
ia(t).right ? fe(a.$slots, "right", { key: 1 }) : e.close ? (_(), Y(Ht, {
|
|
24835
24836
|
key: 2,
|
|
24836
24837
|
class: "unnnic-chats-header__close--sm",
|
|
24837
24838
|
type: "tertiary",
|
|
24838
24839
|
iconCenter: "close-1",
|
|
24839
24840
|
size: "small",
|
|
24840
|
-
onClick:
|
|
24841
|
+
onClick: e.close
|
|
24841
24842
|
}, null, 8, ["onClick"])) : B("", !0)
|
|
24842
24843
|
], 2)
|
|
24843
24844
|
], 2));
|
|
@@ -25024,7 +25025,7 @@ const FQ = { class: "reply-message__message-container" }, pQ = { class: "reply-m
|
|
|
25024
25025
|
c("p", bQ, v(t.replyMessage.text), 1)
|
|
25025
25026
|
], 64)) : B("", !0),
|
|
25026
25027
|
a.value === "attachment" ? (_(), g($, { key: 1 }, [
|
|
25027
|
-
|
|
25028
|
+
H(se, {
|
|
25028
25029
|
icon: "article",
|
|
25029
25030
|
size: "avatar-nano",
|
|
25030
25031
|
"data-testid": "content-attachment-icon"
|
|
@@ -25032,7 +25033,7 @@ const FQ = { class: "reply-message__message-container" }, pQ = { class: "reply-m
|
|
|
25032
25033
|
c("p", CQ, v(((h = (d = t.replyMessage.media[0]) == null ? void 0 : d.url) == null ? void 0 : h.split("/").at(-1)) || ((p = (m = t.replyMessage.media[0]) == null ? void 0 : m.file) == null ? void 0 : p.name)), 1)
|
|
25033
25034
|
], 64)) : B("", !0),
|
|
25034
25035
|
a.value === "image" ? (_(), g($, { key: 2 }, [
|
|
25035
|
-
|
|
25036
|
+
H(se, {
|
|
25036
25037
|
icon: "image",
|
|
25037
25038
|
size: "avatar-nano",
|
|
25038
25039
|
"data-testid": "content-image-icon"
|
|
@@ -25040,7 +25041,7 @@ const FQ = { class: "reply-message__message-container" }, pQ = { class: "reply-m
|
|
|
25040
25041
|
c("p", yQ, v(o.$t("chat_message.reply_message.image")), 1)
|
|
25041
25042
|
], 64)) : B("", !0),
|
|
25042
25043
|
a.value === "video" ? (_(), g($, { key: 3 }, [
|
|
25043
|
-
|
|
25044
|
+
H(se, {
|
|
25044
25045
|
icon: "videocam",
|
|
25045
25046
|
size: "avatar-nano",
|
|
25046
25047
|
"data-testid": "content-video-icon"
|
|
@@ -25048,7 +25049,7 @@ const FQ = { class: "reply-message__message-container" }, pQ = { class: "reply-m
|
|
|
25048
25049
|
c("p", wQ, v(o.$t("chat_message.reply_message.video")), 1)
|
|
25049
25050
|
], 64)) : B("", !0),
|
|
25050
25051
|
a.value === "audio" ? (_(), g($, { key: 4 }, [
|
|
25051
|
-
|
|
25052
|
+
H(se, {
|
|
25052
25053
|
icon: "mic",
|
|
25053
25054
|
size: "avatar-nano",
|
|
25054
25055
|
"data-testid": "content-audio-icon"
|
|
@@ -25320,14 +25321,14 @@ function IQ(e, t, a, r, s, o) {
|
|
|
25320
25321
|
scheme: "neutral-dark"
|
|
25321
25322
|
})) : B("", !0),
|
|
25322
25323
|
a.enableReply && s.isHovering && !["sending", "failed"].includes(a.status) ? (_(), g("section", jQ, [
|
|
25323
|
-
|
|
25324
|
+
H(w, {
|
|
25324
25325
|
enabled: "",
|
|
25325
25326
|
size: "right",
|
|
25326
25327
|
text: e.i18n("reply"),
|
|
25327
25328
|
side: a.type === "sent" ? "bottom" : "right"
|
|
25328
25329
|
}, {
|
|
25329
25330
|
default: ke(() => [
|
|
25330
|
-
|
|
25331
|
+
H(d, {
|
|
25331
25332
|
icon: "reply",
|
|
25332
25333
|
clickable: "",
|
|
25333
25334
|
scheme: "neutral-dark",
|
|
@@ -25416,7 +25417,7 @@ function zQ(e, t, a, r, s, o) {
|
|
|
25416
25417
|
o.selectLink(d), d.action();
|
|
25417
25418
|
}
|
|
25418
25419
|
}, [
|
|
25419
|
-
|
|
25420
|
+
H(l, {
|
|
25420
25421
|
icon: o.getLinkIcon(d),
|
|
25421
25422
|
size: "lg",
|
|
25422
25423
|
scheme: "neutral-snow",
|
|
@@ -25600,7 +25601,7 @@ function tG(e, t, a, r, s, o) {
|
|
|
25600
25601
|
(_(!0), g($, null, de(a.data, ({ data: d }, h) => (_(), g("div", {
|
|
25601
25602
|
key: h + Math.random() * 100
|
|
25602
25603
|
}, [
|
|
25603
|
-
|
|
25604
|
+
H(l, {
|
|
25604
25605
|
data: d,
|
|
25605
25606
|
fixedMaxValue: o.maxValue,
|
|
25606
25607
|
fixedMinValue: o.minValue,
|
|
@@ -25982,15 +25983,15 @@ class kG {
|
|
|
25982
25983
|
let D = {};
|
|
25983
25984
|
h.results = [], h.emojis = {};
|
|
25984
25985
|
for (let E in d) {
|
|
25985
|
-
let N = d[E], K = N._data.search,
|
|
25986
|
+
let N = d[E], K = N._data.search, V = l.substr(0, m), ae = K.indexOf(V);
|
|
25986
25987
|
if (ae != -1) {
|
|
25987
25988
|
let ie = ae + 1;
|
|
25988
|
-
|
|
25989
|
+
V == E && (ie = 0), h.results.push(N), h.emojis[E] = N, D[E] = ie;
|
|
25989
25990
|
}
|
|
25990
25991
|
}
|
|
25991
25992
|
h.results.sort((E, N) => {
|
|
25992
|
-
var K = D[E.id],
|
|
25993
|
-
return K -
|
|
25993
|
+
var K = D[E.id], V = D[N.id];
|
|
25994
|
+
return K - V;
|
|
25994
25995
|
});
|
|
25995
25996
|
}
|
|
25996
25997
|
d = h.emojis;
|
|
@@ -26431,7 +26432,7 @@ function OG(e, t, a, r, s, o) {
|
|
|
26431
26432
|
], 42, IG)) : B("", !0)
|
|
26432
26433
|
], 64))), 256)),
|
|
26433
26434
|
o.hasResults ? B("", !0) : (_(), g("div", NG, [
|
|
26434
|
-
|
|
26435
|
+
H(l, {
|
|
26435
26436
|
data: a.data,
|
|
26436
26437
|
emoji: "sleuth_or_spy",
|
|
26437
26438
|
native: a.emojiProps.native,
|
|
@@ -26534,7 +26535,7 @@ function eZ(e, t, a, r, s, o) {
|
|
|
26534
26535
|
return _(), g("div", YG, [
|
|
26535
26536
|
a.emoji ? (_(), g($, { key: 0 }, [
|
|
26536
26537
|
c("div", RG, [
|
|
26537
|
-
|
|
26538
|
+
H(l, {
|
|
26538
26539
|
data: a.data,
|
|
26539
26540
|
emoji: a.emoji,
|
|
26540
26541
|
native: a.emojiProps.native,
|
|
@@ -26559,7 +26560,7 @@ function eZ(e, t, a, r, s, o) {
|
|
|
26559
26560
|
])
|
|
26560
26561
|
], 64)) : (_(), g($, { key: 1 }, [
|
|
26561
26562
|
c("div", XG, [
|
|
26562
|
-
|
|
26563
|
+
H(l, {
|
|
26563
26564
|
data: a.data,
|
|
26564
26565
|
emoji: a.idleEmoji,
|
|
26565
26566
|
native: a.emojiProps.native,
|
|
@@ -26571,7 +26572,7 @@ function eZ(e, t, a, r, s, o) {
|
|
|
26571
26572
|
c("span", JG, v(a.title), 1)
|
|
26572
26573
|
]),
|
|
26573
26574
|
a.showSkinTones ? (_(), g("div", $G, [
|
|
26574
|
-
|
|
26575
|
+
H(d, {
|
|
26575
26576
|
skin: a.skinProps.skin,
|
|
26576
26577
|
onChange: t[0] || (t[0] = (h) => a.onSkinChange(h))
|
|
26577
26578
|
}, null, 8, ["skin"])
|
|
@@ -26936,7 +26937,7 @@ function gZ(e, t, a, r, s, o) {
|
|
|
26936
26937
|
style: Ee(o.customStyles)
|
|
26937
26938
|
}, [
|
|
26938
26939
|
e.showCategories ? (_(), g("div", _Z, [
|
|
26939
|
-
|
|
26940
|
+
H(l, {
|
|
26940
26941
|
data: a.data,
|
|
26941
26942
|
i18n: o.mergedI18n,
|
|
26942
26943
|
color: e.color,
|
|
@@ -27001,7 +27002,7 @@ function gZ(e, t, a, r, s, o) {
|
|
|
27001
27002
|
onSkinChange: o.onSkinChange
|
|
27002
27003
|
}, () => [
|
|
27003
27004
|
e.showPreview ? (_(), g("div", fZ, [
|
|
27004
|
-
|
|
27005
|
+
H(m, {
|
|
27005
27006
|
data: a.data,
|
|
27006
27007
|
title: e.title,
|
|
27007
27008
|
emoji: s.view.previewEmoji,
|
|
@@ -90992,8 +90993,8 @@ const yZ = "#00A49F", wZ = /* @__PURE__ */ Gt({
|
|
|
90992
90993
|
setup(e, { emit: t }) {
|
|
90993
90994
|
const a = e, r = t, s = pt(), o = ye(() => new kG(CZ)), l = ye(() => a.locale || "pt-br"), d = (D) => {
|
|
90994
90995
|
var ae, ie;
|
|
90995
|
-
const E = J2.global.messages, N = l.value, K = (E == null ? void 0 : E[N]) || (E == null ? void 0 : E[(ae = N == null ? void 0 : N.toLowerCase) == null ? void 0 : ae.call(N)]) || (E == null ? void 0 : E[(ie = N == null ? void 0 : N.toUpperCase) == null ? void 0 : ie.call(N)]),
|
|
90996
|
-
return Za.get(K, D) || Za.get(
|
|
90996
|
+
const E = J2.global.messages, N = l.value, K = (E == null ? void 0 : E[N]) || (E == null ? void 0 : E[(ae = N == null ? void 0 : N.toLowerCase) == null ? void 0 : ae.call(N)]) || (E == null ? void 0 : E[(ie = N == null ? void 0 : N.toUpperCase) == null ? void 0 : ie.call(N)]), V = E == null ? void 0 : E.en;
|
|
90997
|
+
return Za.get(K, D) || Za.get(V, D) || D;
|
|
90997
90998
|
}, h = ye(() => d("emoji_picker.title")), m = ye(() => ({
|
|
90998
90999
|
search: d("emoji_picker.search"),
|
|
90999
91000
|
notfound: d("emoji_picker.notfound"),
|
|
@@ -91025,13 +91026,13 @@ const yZ = "#00A49F", wZ = /* @__PURE__ */ Gt({
|
|
|
91025
91026
|
return (D, E) => (_(), g("div", {
|
|
91026
91027
|
ref_key: "emojiPickerRef",
|
|
91027
91028
|
ref: s,
|
|
91028
|
-
class: L(["emoji-picker", `emoji-picker--${
|
|
91029
|
+
class: L(["emoji-picker", `emoji-picker--${e.position}`]),
|
|
91029
91030
|
onClick: E[0] || (E[0] = Te(() => {
|
|
91030
91031
|
}, ["stop"])),
|
|
91031
91032
|
onKeypress: E[1] || (E[1] = qt(Te(() => {
|
|
91032
91033
|
}, ["stop"]), ["enter"]))
|
|
91033
91034
|
}, [
|
|
91034
|
-
|
|
91035
|
+
H(ia(hZ), {
|
|
91035
91036
|
data: o.value,
|
|
91036
91037
|
set: "apple",
|
|
91037
91038
|
theme: "light",
|
|
@@ -91337,11 +91338,11 @@ const HZ = /* @__PURE__ */ y(qZ, [["render", zZ]]), VZ = { class: "unnnic-chart-
|
|
|
91337
91338
|
},
|
|
91338
91339
|
setup(e) {
|
|
91339
91340
|
Gn((r) => ({
|
|
91340
|
-
|
|
91341
|
+
v62362497: a.value
|
|
91341
91342
|
}));
|
|
91342
91343
|
const t = e, a = ye(() => `skew(${t.data.length === 2 ? "-8deg" : "-12deg"}, 0deg) translateX(-20px)`);
|
|
91343
91344
|
return (r, s) => (_(), g("section", VZ, [
|
|
91344
|
-
(_(!0), g($, null, de(
|
|
91345
|
+
(_(!0), g($, null, de(e.data, (o, l) => (_(), g("section", {
|
|
91345
91346
|
key: l,
|
|
91346
91347
|
class: "unnnic-chart-funnel-base-item"
|
|
91347
91348
|
}, [
|
|
@@ -91349,7 +91350,7 @@ const HZ = /* @__PURE__ */ y(qZ, [["render", zZ]]), VZ = { class: "unnnic-chart-
|
|
|
91349
91350
|
class: L([
|
|
91350
91351
|
"overflow-hidden",
|
|
91351
91352
|
o.widthClass,
|
|
91352
|
-
{ "first-item": l === 0, "last-item": l ===
|
|
91353
|
+
{ "first-item": l === 0, "last-item": l === e.data.length - 1 }
|
|
91353
91354
|
])
|
|
91354
91355
|
}, [
|
|
91355
91356
|
c("section", {
|
|
@@ -91363,7 +91364,7 @@ const HZ = /* @__PURE__ */ y(qZ, [["render", zZ]]), VZ = { class: "unnnic-chart-
|
|
|
91363
91364
|
c("section", {
|
|
91364
91365
|
class: L([
|
|
91365
91366
|
"unnnic-chart-funnel-base-item__text",
|
|
91366
|
-
{ "last-item": l ===
|
|
91367
|
+
{ "last-item": l === e.data.length - 1 }
|
|
91367
91368
|
])
|
|
91368
91369
|
}, [
|
|
91369
91370
|
c("section", PZ, [
|
|
@@ -91633,17 +91634,17 @@ const L3 = /* @__PURE__ */ y(GZ, [["render", ZZ]]), WZ = [
|
|
|
91633
91634
|
setup(e) {
|
|
91634
91635
|
const t = e, a = (s) => WZ.includes(s), r = (s) => XZ.includes(s);
|
|
91635
91636
|
return a(t.icon) || console.warn(`Invalid icon prop: ${t.icon}`), r(t.iconColor) || console.warn(`Invalid iconColor prop: ${t.iconColor}`), (s, o) => (_(), g("section", KZ, [
|
|
91636
|
-
|
|
91637
|
+
H(se, {
|
|
91637
91638
|
class: "unnnic-disclaimer__icon",
|
|
91638
91639
|
size: "avatar-nano",
|
|
91639
|
-
icon:
|
|
91640
|
-
scheme:
|
|
91640
|
+
icon: e.icon,
|
|
91641
|
+
scheme: e.iconColor,
|
|
91641
91642
|
"data-testid": "disclaimer-icon"
|
|
91642
91643
|
}, null, 8, ["icon", "scheme"]),
|
|
91643
91644
|
c("p", {
|
|
91644
91645
|
class: "unnnic-disclaimer__text",
|
|
91645
91646
|
"data-testid": "disclaimer-text",
|
|
91646
|
-
innerHTML:
|
|
91647
|
+
innerHTML: e.text
|
|
91647
91648
|
}, null, 8, JZ)
|
|
91648
91649
|
]));
|
|
91649
91650
|
}
|
|
@@ -91769,7 +91770,7 @@ function uW(e, t, a, r, s, o) {
|
|
|
91769
91770
|
"data-testid": "overlay",
|
|
91770
91771
|
onClick: t[0] || (t[0] = Te((...h) => o.close && o.close(...h), ["stop"]))
|
|
91771
91772
|
})),
|
|
91772
|
-
|
|
91773
|
+
H(_r, {
|
|
91773
91774
|
appear: "",
|
|
91774
91775
|
name: "drawer"
|
|
91775
91776
|
}, {
|
|
@@ -91789,7 +91790,7 @@ function uW(e, t, a, r, s, o) {
|
|
|
91789
91790
|
a.description ? (_(), g("p", rW, v(a.description), 1)) : B("", !0)
|
|
91790
91791
|
], 64))
|
|
91791
91792
|
]),
|
|
91792
|
-
|
|
91793
|
+
H(l, {
|
|
91793
91794
|
class: "unnnic-drawer__close",
|
|
91794
91795
|
"data-testid": "close-icon",
|
|
91795
91796
|
icon: a.closeIcon,
|
|
@@ -91936,7 +91937,7 @@ function yW(e, t, a, r, s, o) {
|
|
|
91936
91937
|
const l = O("Pagination");
|
|
91937
91938
|
return _(), g("section", bW, [
|
|
91938
91939
|
c("p", CW, v(o.tablePagination), 1),
|
|
91939
|
-
|
|
91940
|
+
H(l, {
|
|
91940
91941
|
modelValue: a.modelValue,
|
|
91941
91942
|
max: o.pages,
|
|
91942
91943
|
show: 5,
|
|
@@ -92186,7 +92187,7 @@ function IW(e, t, a, r, s, o) {
|
|
|
92186
92187
|
], 2)
|
|
92187
92188
|
]))
|
|
92188
92189
|
], 2),
|
|
92189
|
-
|
|
92190
|
+
H(m, {
|
|
92190
92191
|
modelValue: a.pagination,
|
|
92191
92192
|
total: o.treatedPaginationTotal,
|
|
92192
92193
|
interval: a.paginationInterval,
|
|
@@ -92276,7 +92277,7 @@ const NW = {
|
|
|
92276
92277
|
class: "confirm-text"
|
|
92277
92278
|
}, GW = ["innerHTML"];
|
|
92278
92279
|
function ZW(e, t, a, r, s, o) {
|
|
92279
|
-
var m, p, w, D, E, N, K,
|
|
92280
|
+
var m, p, w, D, E, N, K, V;
|
|
92280
92281
|
const l = O("UnnnicIcon"), d = O("UnnnicInput"), h = O("UnnnicButton");
|
|
92281
92282
|
return _(), g("div", {
|
|
92282
92283
|
class: L([
|
|
@@ -92292,7 +92293,7 @@ function ZW(e, t, a, r, s, o) {
|
|
|
92292
92293
|
c("div", SW, [
|
|
92293
92294
|
a.type === "default" ? (_(), g($, { key: 0 }, [
|
|
92294
92295
|
a.showCloseButton ? (_(), g("div", OW, [
|
|
92295
|
-
|
|
92296
|
+
H(l, {
|
|
92296
92297
|
icon: "close-1",
|
|
92297
92298
|
size: "sm",
|
|
92298
92299
|
clickable: "",
|
|
@@ -92314,7 +92315,7 @@ function ZW(e, t, a, r, s, o) {
|
|
|
92314
92315
|
])
|
|
92315
92316
|
])) : a.type === "alert" ? (_(), g($, { key: 2 }, [
|
|
92316
92317
|
a.showCloseButton ? (_(), g("div", PW, [
|
|
92317
|
-
|
|
92318
|
+
H(l, {
|
|
92318
92319
|
icon: "close-1",
|
|
92319
92320
|
size: "sm",
|
|
92320
92321
|
clickable: "",
|
|
@@ -92325,7 +92326,7 @@ function ZW(e, t, a, r, s, o) {
|
|
|
92325
92326
|
class: L(["content", { "with-validation": a.validate }])
|
|
92326
92327
|
}, [
|
|
92327
92328
|
a.icon ? (_(), g("div", UW, [
|
|
92328
|
-
|
|
92329
|
+
H(l, {
|
|
92329
92330
|
icon: a.icon,
|
|
92330
92331
|
scheme: a.scheme,
|
|
92331
92332
|
size: "xl"
|
|
@@ -92337,12 +92338,12 @@ function ZW(e, t, a, r, s, o) {
|
|
|
92337
92338
|
], 64))
|
|
92338
92339
|
])) : B("", !0),
|
|
92339
92340
|
(N = (E = e.$slots).description) != null && N.call(E).length || a.description ? (_(), g("div", RW, [
|
|
92340
|
-
(
|
|
92341
|
+
(V = (K = e.$slots).description) != null && V.call(K).length ? fe(e.$slots, "description", { key: 0 }, void 0, !0) : (_(), g($, { key: 1 }, [
|
|
92341
92342
|
Ct(v(a.description), 1)
|
|
92342
92343
|
], 64))
|
|
92343
92344
|
])) : B("", !0),
|
|
92344
92345
|
a.validate ? (_(), g("div", QW, [
|
|
92345
|
-
|
|
92346
|
+
H(d, {
|
|
92346
92347
|
modelValue: s.confirmText,
|
|
92347
92348
|
"onUpdate:modelValue": t[2] || (t[2] = (ae) => s.confirmText = ae),
|
|
92348
92349
|
placeholder: a.validatePlaceholder
|
|
@@ -92564,7 +92565,7 @@ function iX(e, t, a, r, s, o) {
|
|
|
92564
92565
|
class: "unnnic-modal-dialog__container__actions__secondary-button",
|
|
92565
92566
|
onClick: t[2] || (t[2] = Te((p) => a.secondaryButtonProps.text ? e.$emit("secondaryButtonClick") : o.close(), ["stop"]))
|
|
92566
92567
|
}), null, 16, ["text"])),
|
|
92567
|
-
|
|
92568
|
+
H(d, Qt(a.primaryButtonProps, {
|
|
92568
92569
|
"data-testid": "primary-button",
|
|
92569
92570
|
type: a.primaryButtonProps.type || s.primaryButtonTypeMapper[a.type] || "primary",
|
|
92570
92571
|
text: a.primaryButtonProps.text,
|
|
@@ -93132,7 +93133,7 @@ const vX = {
|
|
|
93132
93133
|
function EX(e, t, a, r, s, o) {
|
|
93133
93134
|
const l = O("TextInput"), d = O("DropdownSkeleton"), h = nn("onClickOutside");
|
|
93134
93135
|
return yt((_(), g("section", xX, [
|
|
93135
|
-
|
|
93136
|
+
H(d, {
|
|
93136
93137
|
ref: "dropdown-skeleton",
|
|
93137
93138
|
type: "manual",
|
|
93138
93139
|
modelValue: s.active,
|
|
@@ -93157,7 +93158,7 @@ function EX(e, t, a, r, s, o) {
|
|
|
93157
93158
|
], 4)
|
|
93158
93159
|
]),
|
|
93159
93160
|
default: ke(() => [
|
|
93160
|
-
|
|
93161
|
+
H(l, {
|
|
93161
93162
|
modelValue: a.modelValue,
|
|
93162
93163
|
iconRight: s.active ? "keyboard_arrow_up" : "keyboard_arrow_down",
|
|
93163
93164
|
nativeType: "time",
|
|
@@ -93222,7 +93223,7 @@ const z3 = /* @__PURE__ */ y(vX, [["render", EX], ["__scopeId", "data-v-557ceed0
|
|
|
93222
93223
|
QUICK_REPLY: "reply"
|
|
93223
93224
|
})[m] || "";
|
|
93224
93225
|
return (m, p) => {
|
|
93225
|
-
var w, D, E, N, K,
|
|
93226
|
+
var w, D, E, N, K, V, ae, ie, I, z;
|
|
93226
93227
|
return _(), g("section", TX, [
|
|
93227
93228
|
c("section", {
|
|
93228
93229
|
class: L([
|
|
@@ -93232,28 +93233,28 @@ const z3 = /* @__PURE__ */ y(vX, [["render", EX], ["__scopeId", "data-v-557ceed0
|
|
|
93232
93233
|
}, [
|
|
93233
93234
|
a.value ? (_(), g("header", {
|
|
93234
93235
|
key: 0,
|
|
93235
|
-
class: L(`unnnic-template-preview__header__${((w =
|
|
93236
|
+
class: L(`unnnic-template-preview__header__${((w = e.template) == null ? void 0 : w.header.type) === "TEXT" ? "text" : "media"}`)
|
|
93236
93237
|
}, [
|
|
93237
|
-
((D =
|
|
93238
|
+
((D = e.template) == null ? void 0 : D.header.type) === "MEDIA" && ((E = e.template) == null ? void 0 : E.header.mediaType) === "IMAGE" ? (_(), g("img", {
|
|
93238
93239
|
key: 0,
|
|
93239
93240
|
class: "unnnic-template-preview__header__media__preview",
|
|
93240
|
-
src:
|
|
93241
|
-
}, null, 8, IX)) : ((N =
|
|
93242
|
-
|
|
93241
|
+
src: e.template.header.src || ia(BX)
|
|
93242
|
+
}, null, 8, IX)) : ((N = e.template) == null ? void 0 : N.header.type) === "MEDIA" && ((K = e.template) == null ? void 0 : K.header.mediaType) === "VIDEO" ? (_(), g($, { key: 1 }, [
|
|
93243
|
+
e.template.header.src ? (_(), g("video", {
|
|
93243
93244
|
key: 0,
|
|
93244
93245
|
class: "unnnic-template-preview__header__media__preview",
|
|
93245
|
-
src:
|
|
93246
|
+
src: e.template.header.src,
|
|
93246
93247
|
controls: ""
|
|
93247
93248
|
}, null, 8, NX)) : (_(), g("img", {
|
|
93248
93249
|
key: 1,
|
|
93249
93250
|
class: "unnnic-template-preview__header__media__preview",
|
|
93250
93251
|
src: ia(LX)
|
|
93251
93252
|
}, null, 8, SX))
|
|
93252
|
-
], 64)) : ((
|
|
93253
|
+
], 64)) : ((V = e.template) == null ? void 0 : V.header.type) === "MEDIA" && ((ae = e.template) == null ? void 0 : ae.header.mediaType) === "DOCUMENT" ? (_(), g("img", {
|
|
93253
93254
|
key: 2,
|
|
93254
93255
|
class: "unnnic-template-preview__header__media__preview",
|
|
93255
93256
|
src: ia(jX)
|
|
93256
|
-
}, null, 8, OX)) : ((ie =
|
|
93257
|
+
}, null, 8, OX)) : ((ie = e.template) == null ? void 0 : ie.header.type) === "TEXT" ? (_(), g("h1", qX, v(e.template.header.text), 1)) : B("", !0)
|
|
93257
93258
|
], 2)) : B("", !0),
|
|
93258
93259
|
s.value ? (_(), g("section", {
|
|
93259
93260
|
key: 1,
|
|
@@ -93270,14 +93271,14 @@ const z3 = /* @__PURE__ */ y(vX, [["render", EX], ["__scopeId", "data-v-557ceed0
|
|
|
93270
93271
|
"unnnic-template-preview__footer",
|
|
93271
93272
|
{ "unnnic-template-preview__footer--has-media": r.value }
|
|
93272
93273
|
])
|
|
93273
|
-
}, v((I =
|
|
93274
|
+
}, v((I = e.template) == null ? void 0 : I.footer), 3)) : B("", !0)
|
|
93274
93275
|
], 2),
|
|
93275
93276
|
l.value ? (_(), g("footer", HX, [
|
|
93276
|
-
(_(!0), g($, null, de((z =
|
|
93277
|
+
(_(!0), g($, null, de((z = e.template) == null ? void 0 : z.buttons, (Z, U) => (_(), g("section", {
|
|
93277
93278
|
key: `button-${U}`,
|
|
93278
93279
|
class: "unnnic-template-preview__buttons__button"
|
|
93279
93280
|
}, [
|
|
93280
|
-
|
|
93281
|
+
H(se, {
|
|
93281
93282
|
class: "unnnic-template-preview__buttons__button__icon",
|
|
93282
93283
|
icon: h(Z.type),
|
|
93283
93284
|
scheme: "aux-blue-500",
|
|
@@ -93290,7 +93291,7 @@ const z3 = /* @__PURE__ */ y(vX, [["render", EX], ["__scopeId", "data-v-557ceed0
|
|
|
93290
93291
|
};
|
|
93291
93292
|
}
|
|
93292
93293
|
});
|
|
93293
|
-
const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-
|
|
93294
|
+
const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-9f3fb254"]]), UX = /* @__PURE__ */ Gt({
|
|
93294
93295
|
__name: "TemplatePreviewModal",
|
|
93295
93296
|
props: {
|
|
93296
93297
|
locale: { default: "en" },
|
|
@@ -93307,20 +93308,20 @@ const Qr = /* @__PURE__ */ y(PX, [["__scopeId", "data-v-e8d1e449"]]), UX = /* @_
|
|
|
93307
93308
|
}
|
|
93308
93309
|
}, a = e;
|
|
93309
93310
|
return (r, s) => (_(), Y(Rr, {
|
|
93310
|
-
modelValue:
|
|
93311
|
-
"onUpdate:modelValue": s[0] || (s[0] = (o) => o === !1 && r.$emit("close")),
|
|
93311
|
+
modelValue: e.modelValue,
|
|
93312
93312
|
title: t.title[a.locale],
|
|
93313
93313
|
showCloseIcon: !0,
|
|
93314
|
-
class: "unnnic-template-preview-modal"
|
|
93314
|
+
class: "unnnic-template-preview-modal",
|
|
93315
|
+
"onUpdate:modelValue": s[0] || (s[0] = (o) => o === !1 && r.$emit("close"))
|
|
93315
93316
|
}, {
|
|
93316
93317
|
default: ke(() => [
|
|
93317
|
-
|
|
93318
|
+
H(Qr, { template: e.template }, null, 8, ["template"])
|
|
93318
93319
|
]),
|
|
93319
93320
|
_: 1
|
|
93320
93321
|
}, 8, ["modelValue", "title"]));
|
|
93321
93322
|
}
|
|
93322
93323
|
});
|
|
93323
|
-
const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-
|
|
93324
|
+
const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-9859fd55"]]), YX = {
|
|
93324
93325
|
key: 0,
|
|
93325
93326
|
class: "unnnic-data-table__header"
|
|
93326
93327
|
}, RX = { class: "unnnic-data-table__header-row" }, QX = ["onClick"], GX = {
|
|
@@ -93360,8 +93361,8 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93360
93361
|
},
|
|
93361
93362
|
emits: ["update:sort", "itemClick", "update:page"],
|
|
93362
93363
|
setup(e, { emit: t }) {
|
|
93363
|
-
Gn((
|
|
93364
|
-
|
|
93364
|
+
Gn((V) => ({
|
|
93365
|
+
v71a6abea: D.value
|
|
93365
93366
|
}));
|
|
93366
93367
|
const a = Zo(), r = t, s = e, o = {
|
|
93367
93368
|
without_results: {
|
|
@@ -93373,34 +93374,34 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93373
93374
|
height: s.height || "unset",
|
|
93374
93375
|
"max-height": s.maxHeight || "unset",
|
|
93375
93376
|
overflow: s.height || s.maxHeight ? "auto" : "unset"
|
|
93376
|
-
})), d = ye(() => s.hideHeaders || !s.headers.length), h = ye(() => s.headers.map((
|
|
93377
|
+
})), d = ye(() => s.hideHeaders || !s.headers.length), h = ye(() => s.headers.map((V) => V.itemKey)), m = pt({
|
|
93377
93378
|
header: "",
|
|
93378
93379
|
itemKey: "",
|
|
93379
93380
|
order: ""
|
|
93380
|
-
}), p = ye(() => s.sort !== void 0 ? s.sort : m.value), w = (
|
|
93381
|
-
s.sort === void 0 && (m.value = { ...
|
|
93382
|
-
}, N = (
|
|
93383
|
-
if (!
|
|
93381
|
+
}), p = ye(() => s.sort !== void 0 ? s.sort : m.value), w = (V) => typeof V.size == "number" ? `${V.size || 1}fr` : V.size || "1fr", D = ye(() => (s.headers.length ? s.headers.map(w) : s.items[0].content.map(() => "1fr")).join(" ")), E = (V, ae) => {
|
|
93382
|
+
s.sort === void 0 && (m.value = { ...V, order: ae }), r("update:sort", { ...V, order: ae });
|
|
93383
|
+
}, N = (V) => {
|
|
93384
|
+
if (!V.isSortable)
|
|
93384
93385
|
return;
|
|
93385
93386
|
const ae = {
|
|
93386
93387
|
asc: "desc",
|
|
93387
93388
|
desc: "asc",
|
|
93388
93389
|
"": "asc"
|
|
93389
|
-
}, ie =
|
|
93390
|
+
}, ie = V.title !== p.value.header ? "asc" : ae[p.value.order];
|
|
93390
93391
|
E(
|
|
93391
|
-
ie === "" ? { header: "", itemKey: "", order: "" } : { header:
|
|
93392
|
+
ie === "" ? { header: "", itemKey: "", order: "" } : { header: V.title, itemKey: V.itemKey, order: ie },
|
|
93392
93393
|
ie
|
|
93393
93394
|
);
|
|
93394
|
-
}, K = (
|
|
93395
|
-
s.clickable && r("itemClick",
|
|
93395
|
+
}, K = (V) => {
|
|
93396
|
+
s.clickable && r("itemClick", V);
|
|
93396
93397
|
};
|
|
93397
|
-
return (
|
|
93398
|
+
return (V, ae) => (_(), g("table", {
|
|
93398
93399
|
class: "unnnic-data-table",
|
|
93399
93400
|
style: Ee(s.fixedHeaders ? {} : l.value)
|
|
93400
93401
|
}, [
|
|
93401
93402
|
d.value ? B("", !0) : (_(), g("thead", YX, [
|
|
93402
93403
|
c("tr", RX, [
|
|
93403
|
-
(_(!0), g($, null, de(
|
|
93404
|
+
(_(!0), g($, null, de(e.headers, (ie) => (_(), g("th", {
|
|
93404
93405
|
key: ie.itemKey,
|
|
93405
93406
|
class: L([
|
|
93406
93407
|
"unnnic-data-table__header-cell",
|
|
@@ -93411,7 +93412,7 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93411
93412
|
]),
|
|
93412
93413
|
onClick: Te((I) => N(ie), ["stop"])
|
|
93413
93414
|
}, [
|
|
93414
|
-
ia(a)[`header-${ie.itemKey}`] ? fe(
|
|
93415
|
+
ia(a)[`header-${ie.itemKey}`] ? fe(V.$slots, `header-${ie.itemKey}`, {
|
|
93415
93416
|
key: 0,
|
|
93416
93417
|
header: ie
|
|
93417
93418
|
}, void 0, !0) : (_(), g($, { key: 1 }, [
|
|
@@ -93448,11 +93449,11 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93448
93449
|
]),
|
|
93449
93450
|
style: Ee(s.fixedHeaders ? l.value : {})
|
|
93450
93451
|
}, [
|
|
93451
|
-
|
|
93452
|
+
e.isLoading ? (_(), g("tr", GX, [
|
|
93452
93453
|
c("td", {
|
|
93453
93454
|
class: L([
|
|
93454
93455
|
"unnnic-data-table__body-cell",
|
|
93455
|
-
`unnnic-data-table__body-cell--${
|
|
93456
|
+
`unnnic-data-table__body-cell--${e.size}`
|
|
93456
93457
|
])
|
|
93457
93458
|
}, [...ae[1] || (ae[1] = [
|
|
93458
93459
|
c("img", {
|
|
@@ -93475,15 +93476,15 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93475
93476
|
key: 0,
|
|
93476
93477
|
class: L([
|
|
93477
93478
|
"unnnic-data-table__body-cell",
|
|
93478
|
-
`unnnic-data-table__body-cell--${
|
|
93479
|
+
`unnnic-data-table__body-cell--${e.size}`
|
|
93479
93480
|
])
|
|
93480
93481
|
}, [
|
|
93481
|
-
fe(
|
|
93482
|
+
fe(V.$slots, `body-${z}`, { item: ie }, void 0, !0)
|
|
93482
93483
|
], 2)) : (_(), g("td", {
|
|
93483
93484
|
key: 1,
|
|
93484
93485
|
class: L([
|
|
93485
93486
|
"unnnic-data-table__body-cell",
|
|
93486
|
-
`unnnic-data-table__body-cell--${
|
|
93487
|
+
`unnnic-data-table__body-cell--${e.size}`
|
|
93487
93488
|
])
|
|
93488
93489
|
}, v(ie[z]), 3))
|
|
93489
93490
|
], 64))), 128))
|
|
@@ -93492,15 +93493,15 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93492
93493
|
key: 0,
|
|
93493
93494
|
class: L([
|
|
93494
93495
|
"unnnic-data-table__body-cell",
|
|
93495
|
-
`unnnic-data-table__body-cell--${
|
|
93496
|
+
`unnnic-data-table__body-cell--${e.size}`
|
|
93496
93497
|
])
|
|
93497
93498
|
}, [
|
|
93498
|
-
fe(
|
|
93499
|
+
fe(V.$slots, "without-results", {}, void 0, !0)
|
|
93499
93500
|
], 2)) : (_(), g("td", {
|
|
93500
93501
|
key: 1,
|
|
93501
93502
|
class: L([
|
|
93502
93503
|
"unnnic-data-table__body-cell",
|
|
93503
|
-
`unnnic-data-table__body-cell--${
|
|
93504
|
+
`unnnic-data-table__body-cell--${e.size}`
|
|
93504
93505
|
]),
|
|
93505
93506
|
"data-testid": "body-cell"
|
|
93506
93507
|
}, [
|
|
@@ -93513,7 +93514,7 @@ const H3 = /* @__PURE__ */ y(UX, [["__scopeId", "data-v-5eb58b1a"]]), YX = {
|
|
|
93513
93514
|
modelValue: s.page,
|
|
93514
93515
|
total: s.pageTotal,
|
|
93515
93516
|
interval: s.pageInterval,
|
|
93516
|
-
"onUpdate:modelValue": ae[0] || (ae[0] = (ie) =>
|
|
93517
|
+
"onUpdate:modelValue": ae[0] || (ae[0] = (ie) => V.$emit("update:page", ie))
|
|
93517
93518
|
}, null, 8, ["modelValue", "total", "interval"]))
|
|
93518
93519
|
], 4));
|
|
93519
93520
|
}
|
|
@@ -93539,22 +93540,22 @@ const V3 = /* @__PURE__ */ y(KX, [["__scopeId", "data-v-1eea11f2"]]), JX = /* @_
|
|
|
93539
93540
|
h.value,
|
|
93540
93541
|
{
|
|
93541
93542
|
"chip--border": o.value,
|
|
93542
|
-
"chip--is-clickable":
|
|
93543
|
+
"chip--is-clickable": e.isClickable
|
|
93543
93544
|
}
|
|
93544
93545
|
]),
|
|
93545
93546
|
onClick: s
|
|
93546
93547
|
}, [
|
|
93547
93548
|
c("p", {
|
|
93548
93549
|
class: L(["chip__text", l.value])
|
|
93549
|
-
}, v(
|
|
93550
|
-
|
|
93550
|
+
}, v(e.text), 3),
|
|
93551
|
+
e.count ? (_(), g("p", {
|
|
93551
93552
|
key: 0,
|
|
93552
93553
|
class: L(["chip__count", d.value])
|
|
93553
|
-
}, v(
|
|
93554
|
-
|
|
93554
|
+
}, v(e.count), 3)) : B("", !0),
|
|
93555
|
+
e.type === "multiple" ? (_(), Y(se, {
|
|
93555
93556
|
key: 1,
|
|
93556
|
-
icon:
|
|
93557
|
-
scheme:
|
|
93557
|
+
icon: e.isSelected ? "close" : "add",
|
|
93558
|
+
scheme: e.isSelected ? "teal-600" : "feedback-grey",
|
|
93558
93559
|
class: "chip__icon",
|
|
93559
93560
|
size: "sm"
|
|
93560
93561
|
}, null, 8, ["icon", "scheme"])) : B("", !0)
|