sm-click-library-ui 0.0.439 → 0.0.440
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/{index-CbWJcGRj.js → index-DlvdLXsF.js} +296 -282
- package/dist/sm-click-library-ui.es.js +1 -1
- package/dist/sm-click-library-ui.umd.js +3 -3
- package/dist/style.css +1 -1
- package/dist/tailwind.css +21 -4
- package/dist/{web-Ci0RoXSF.js → web-0ttDa0S2.js} +2 -2
- package/dist/{web-BVhydFDS.js → web-BYLBfMgb.js} +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { unref as Se, getCurrentScope as Ws, onScopeDispose as qs, watch as Ve, ref as G, computed as ue, createElementBlock as y, openBlock as v, createElementVNode as r, createCommentVNode as Z, toDisplayString as
|
|
1
|
+
import { unref as Se, getCurrentScope as Ws, onScopeDispose as qs, watch as Ve, ref as G, computed as ue, createElementBlock as y, openBlock as v, createElementVNode as r, createCommentVNode as Z, toDisplayString as le, normalizeClass as re, renderSlot as mt, createBlock as ze, Transition as Ht, withCtx as Fe, onMounted as lt, resolveComponent as Dt, createTextVNode as Qe, Fragment as Pe, renderList as Ie, createVNode as Me, nextTick as rt, onBeforeUnmount as nn, withModifiers as It, normalizeStyle as Ze, TransitionGroup as mo, reactive as dn, isRef as Us, withDirectives as Ye, withKeys as po, vModelText as kt, defineComponent as gn, toRefs as go, onUnmounted as Wn, vShow as Zt, pushScopeId as Zs, popScopeId as Ys, inject as qn, h as Ae, shallowReactive as Y1, watchEffect as $1, provide as vo, useId as Xs, getCurrentInstance as Ks, onUpdated as Qs, cloneVNode as Js, mergeProps as ei, createSlots as ti, useSlots as ni, vModelSelect as ai, createStaticVNode as xe, normalizeProps as oi, guardReactiveProps as si, vModelCheckbox as yo, Teleport as xo, vModelDynamic as ii, toRaw as ri } from "vue";
|
|
2
2
|
import { defineStore as Fn, storeToRefs as li } from "pinia";
|
|
3
3
|
function ci(e) {
|
|
4
4
|
return Ws() ? (qs(e), !0) : !1;
|
|
@@ -121,11 +121,11 @@ const Oe = (e, t) => {
|
|
|
121
121
|
class: "bg-base-100 z-10 truncate flex items-center justify-between gap-6 p-2 rounded-md lg:mt-0 w-full shadow-md shadow-base-300"
|
|
122
122
|
}, [
|
|
123
123
|
r("div", null, [
|
|
124
|
-
r("p", mi,
|
|
124
|
+
r("p", mi, le(e.config.title), 1)
|
|
125
125
|
]),
|
|
126
126
|
r("div", null, [
|
|
127
127
|
(v(), y("svg", {
|
|
128
|
-
class:
|
|
128
|
+
class: re([a.value ? "rotate-180 transition-transform ease-in-out" : "", "w-3 h-3 text-white"]),
|
|
129
129
|
xmlns: "http://www.w3.org/2000/svg",
|
|
130
130
|
fill: "currentColor",
|
|
131
131
|
viewBox: "0 0 24 24"
|
|
@@ -185,7 +185,7 @@ const Oe = (e, t) => {
|
|
|
185
185
|
r("div", yi, [
|
|
186
186
|
r("div", xi, [
|
|
187
187
|
r("div", {
|
|
188
|
-
class:
|
|
188
|
+
class: re(["z-50 w-full shadow rounded-2xl shadow-black", e.size])
|
|
189
189
|
}, [
|
|
190
190
|
r("div", bi, [
|
|
191
191
|
r("section", ki, [
|
|
@@ -194,7 +194,7 @@ const Oe = (e, t) => {
|
|
|
194
194
|
}, null, 8, wi),
|
|
195
195
|
r("div", null, [
|
|
196
196
|
r("h3", Ci, [
|
|
197
|
-
r("p", null,
|
|
197
|
+
r("p", null, le((f = e.header) == null ? void 0 : f.title), 1)
|
|
198
198
|
]),
|
|
199
199
|
r("div", null, [
|
|
200
200
|
mt(s.$slots, "header", {}, void 0, !0)
|
|
@@ -289,7 +289,7 @@ const Oe = (e, t) => {
|
|
|
289
289
|
simple_card_error: t.typeCard === "error"
|
|
290
290
|
}));
|
|
291
291
|
return (a, o) => (v(), y("div", {
|
|
292
|
-
class:
|
|
292
|
+
class: re([n.value, "simple_card"])
|
|
293
293
|
}, [
|
|
294
294
|
r("div", Ti, [
|
|
295
295
|
e.typeCard === "success" ? (v(), y("svg", Li, [...o[0] || (o[0] = [
|
|
@@ -323,10 +323,10 @@ const Oe = (e, t) => {
|
|
|
323
323
|
"clip-rule": "evenodd"
|
|
324
324
|
}, null, -1)
|
|
325
325
|
])])) : Z("", !0),
|
|
326
|
-
r("p", Bi,
|
|
326
|
+
r("p", Bi, le(e.content.title), 1)
|
|
327
327
|
]),
|
|
328
328
|
r("section", Oi, [
|
|
329
|
-
r("p", null,
|
|
329
|
+
r("p", null, le(e.content.description), 1)
|
|
330
330
|
])
|
|
331
331
|
], 2));
|
|
332
332
|
}
|
|
@@ -2083,22 +2083,22 @@ at.getAdapter = qo.getAdapter;
|
|
|
2083
2083
|
at.HttpStatusCode = J1;
|
|
2084
2084
|
at.default = at;
|
|
2085
2085
|
const {
|
|
2086
|
-
Axios:
|
|
2087
|
-
AxiosError:
|
|
2088
|
-
CanceledError:
|
|
2089
|
-
isCancel:
|
|
2090
|
-
CancelToken:
|
|
2091
|
-
VERSION:
|
|
2092
|
-
all:
|
|
2093
|
-
Cancel:
|
|
2094
|
-
isAxiosError:
|
|
2095
|
-
spread:
|
|
2096
|
-
toFormData:
|
|
2097
|
-
AxiosHeaders:
|
|
2098
|
-
HttpStatusCode:
|
|
2099
|
-
formToJSON:
|
|
2100
|
-
getAdapter:
|
|
2101
|
-
mergeConfig:
|
|
2086
|
+
Axios: ik,
|
|
2087
|
+
AxiosError: rk,
|
|
2088
|
+
CanceledError: lk,
|
|
2089
|
+
isCancel: ck,
|
|
2090
|
+
CancelToken: dk,
|
|
2091
|
+
VERSION: uk,
|
|
2092
|
+
all: fk,
|
|
2093
|
+
Cancel: hk,
|
|
2094
|
+
isAxiosError: mk,
|
|
2095
|
+
spread: pk,
|
|
2096
|
+
toFormData: gk,
|
|
2097
|
+
AxiosHeaders: vk,
|
|
2098
|
+
HttpStatusCode: yk,
|
|
2099
|
+
formToJSON: xk,
|
|
2100
|
+
getAdapter: bk,
|
|
2101
|
+
mergeConfig: kk
|
|
2102
2102
|
} = at, Xo = Fn("auth", {
|
|
2103
2103
|
state: () => ({
|
|
2104
2104
|
jwtToken: null
|
|
@@ -2272,7 +2272,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2272
2272
|
const c = Dt("Popper");
|
|
2273
2273
|
return v(), y("main", xl, [
|
|
2274
2274
|
r("div", {
|
|
2275
|
-
class:
|
|
2275
|
+
class: re([{ "rounded-b-none": a.value }, "rounded-lg shadow dark:shadow-gray-400 shadow-gray-900 dark:bg-base-100 bg-base-100 text-center"])
|
|
2276
2276
|
}, [
|
|
2277
2277
|
r("div", bl, [
|
|
2278
2278
|
r("p", {
|
|
@@ -2308,9 +2308,9 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2308
2308
|
}, {
|
|
2309
2309
|
content: Fe(() => [
|
|
2310
2310
|
r("main", {
|
|
2311
|
-
class:
|
|
2311
|
+
class: re(["p-1 rounded text-sm px-3", { "bg-red-500": o.value.status === !1, "bg-green-500": o.value.status === !0, "bg-purple-500": o.value.status === "Offline" }])
|
|
2312
2312
|
}, [
|
|
2313
|
-
r("div", Tl,
|
|
2313
|
+
r("div", Tl, le(o.value.status === !0 ? "Conectada" : o.value.status === !1 ? "Desconectada" : "Indefinida"), 1)
|
|
2314
2314
|
], 2)
|
|
2315
2315
|
]),
|
|
2316
2316
|
default: Fe(() => [
|
|
@@ -2318,14 +2318,14 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2318
2318
|
r("div", { class: "h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4" }, null, -1)
|
|
2319
2319
|
])])) : (v(), y("div", {
|
|
2320
2320
|
key: 0,
|
|
2321
|
-
class:
|
|
2321
|
+
class: re([{ "bg-red-500": o.value.status === !1, "bg-green-500": o.value.status === !0, "bg-purple-500": o.value.status === "Offline" }, "text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])
|
|
2322
2322
|
}, null, 2))
|
|
2323
2323
|
]),
|
|
2324
2324
|
_: 1
|
|
2325
2325
|
})) : Z("", !0)
|
|
2326
2326
|
]),
|
|
2327
|
-
r("div", Fl,
|
|
2328
|
-
])) : (v(), y("span", wl,
|
|
2327
|
+
r("div", Fl, le(o.value.name), 1)
|
|
2328
|
+
])) : (v(), y("span", wl, le(Se(n).instances ? Se(n).instances.length : "Sem") + " Instâncias disponíveis", 1))
|
|
2329
2329
|
])) : (v(), y("div", $l, [...u[7] || (u[7] = [
|
|
2330
2330
|
r("svg", {
|
|
2331
2331
|
"aria-hidden": "true",
|
|
@@ -2372,7 +2372,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2372
2372
|
onClick: u[2] || (u[2] = (m) => a.value = !a.value)
|
|
2373
2373
|
}, [
|
|
2374
2374
|
(v(), y("svg", {
|
|
2375
|
-
class:
|
|
2375
|
+
class: re([{ "rotate-180": a.value }, "w-4 h-4 ease-out transition"]),
|
|
2376
2376
|
"aria-hidden": "true",
|
|
2377
2377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2378
2378
|
width: "24",
|
|
@@ -2398,7 +2398,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2398
2398
|
var g;
|
|
2399
2399
|
return v(), y("li", Pl, [
|
|
2400
2400
|
r("button", {
|
|
2401
|
-
class:
|
|
2401
|
+
class: re([o.value && o.value.id === m.id ? "bg-base-100" : "bg-base-200 hover:bg-base-100", "flex rounded-md justify-between items-center p-2 px-1 w-full"]),
|
|
2402
2402
|
onClick: (d) => (o.value = m, a.value = !1, l(m)),
|
|
2403
2403
|
disabled: o.value && o.value.id === m.id || e.type && m.type !== e.type || e.webhooks !== void 0 && e.webhooks !== ((g = m.config) == null ? void 0 : g.webhooks)
|
|
2404
2404
|
}, [
|
|
@@ -2427,7 +2427,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2427
2427
|
placement: "top"
|
|
2428
2428
|
}, {
|
|
2429
2429
|
content: Fe(() => [
|
|
2430
|
-
r("span", null,
|
|
2430
|
+
r("span", null, le(e.type && m.type !== e.type ? "Não é possível utilizar esse tipo de Instância neste recurso" : e.webhooks === !0 ? "Essa instância está com o Atendimento desabilitado" : "Essa aplicação é somente para instâncias sem atendimento habilitado."), 1)
|
|
2431
2431
|
]),
|
|
2432
2432
|
default: Fe(() => {
|
|
2433
2433
|
var d;
|
|
@@ -2443,7 +2443,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2443
2443
|
}),
|
|
2444
2444
|
_: 2
|
|
2445
2445
|
}, 1024),
|
|
2446
|
-
r("p", Nl,
|
|
2446
|
+
r("p", Nl, le(m.name), 1),
|
|
2447
2447
|
Me(c, {
|
|
2448
2448
|
class: "dark:popper-light popper-dark",
|
|
2449
2449
|
hover: !0,
|
|
@@ -2451,9 +2451,9 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2451
2451
|
}, {
|
|
2452
2452
|
content: Fe(() => [
|
|
2453
2453
|
r("main", {
|
|
2454
|
-
class:
|
|
2454
|
+
class: re(["p-1 rounded px-3", { "bg-red-500": m.status === !1, "bg-green-500": m.status === !0, "bg-purple-500": m.status === "Offline" }])
|
|
2455
2455
|
}, [
|
|
2456
|
-
r("div", Gl,
|
|
2456
|
+
r("div", Gl, le(m.status === !0 ? "Conectada" : m.status === !1 ? "Desconectada" : "Indefinida"), 1)
|
|
2457
2457
|
], 2)
|
|
2458
2458
|
]),
|
|
2459
2459
|
default: Fe(() => [
|
|
@@ -2461,7 +2461,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2461
2461
|
r("div", { class: "h-5 w-5 border-t-transparent border-solid animate-spin rounded-full border-white border-4" }, null, -1)
|
|
2462
2462
|
])])) : (v(), y("div", {
|
|
2463
2463
|
key: 0,
|
|
2464
|
-
class:
|
|
2464
|
+
class: re([{ "bg-red-500": m.status === !1, "bg-green-500": m.status === !0, "bg-purple-500": m.status === "Offline" }, "text-xs w-5 h-5 py-1 shadow flex justify-start shadow-gray-900 dark:shadow-gray-400 rounded-full cursor-pointer transition-all duration-200 ease-in-out"])
|
|
2465
2465
|
}, null, 2))
|
|
2466
2466
|
]),
|
|
2467
2467
|
_: 2
|
|
@@ -2475,7 +2475,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2475
2475
|
placement: "top"
|
|
2476
2476
|
}, {
|
|
2477
2477
|
content: Fe(() => [
|
|
2478
|
-
r("div", null,
|
|
2478
|
+
r("div", null, le(m.telephone ? `${m.telephone}` : ""), 1)
|
|
2479
2479
|
]),
|
|
2480
2480
|
default: Fe(() => [
|
|
2481
2481
|
u[15] || (u[15] = r("svg", {
|
|
@@ -2667,7 +2667,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2667
2667
|
r("div", {
|
|
2668
2668
|
ref_key: "card",
|
|
2669
2669
|
ref: s,
|
|
2670
|
-
class:
|
|
2670
|
+
class: re(["cpk-popover bg-base-300", [{ "is-loading": e.loading, "is-danger": e.destructive }]]),
|
|
2671
2671
|
style: Ze(S.value),
|
|
2672
2672
|
role: "dialog",
|
|
2673
2673
|
"aria-modal": "false",
|
|
@@ -2682,7 +2682,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2682
2682
|
r("h3", {
|
|
2683
2683
|
class: "cpk-popover__title",
|
|
2684
2684
|
id: l.title
|
|
2685
|
-
},
|
|
2685
|
+
}, le(e.title), 9, Yl),
|
|
2686
2686
|
r("button", {
|
|
2687
2687
|
class: "cpk-popover__close",
|
|
2688
2688
|
type: "button",
|
|
@@ -2695,7 +2695,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2695
2695
|
key: 0,
|
|
2696
2696
|
class: "cpk-popover__desc",
|
|
2697
2697
|
id: l.desc
|
|
2698
|
-
},
|
|
2698
|
+
}, le(e.description), 9, Kl)) : Z("", !0),
|
|
2699
2699
|
r("div", Ql, [
|
|
2700
2700
|
mt(E.$slots, "details", {}, void 0, !0)
|
|
2701
2701
|
]),
|
|
@@ -2705,10 +2705,10 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2705
2705
|
class: "cyber-button cyber-button--md",
|
|
2706
2706
|
onClick: f,
|
|
2707
2707
|
disabled: e.loading
|
|
2708
|
-
},
|
|
2708
|
+
}, le(e.cancelLabel), 9, e2),
|
|
2709
2709
|
r("button", {
|
|
2710
2710
|
type: "button",
|
|
2711
|
-
class:
|
|
2711
|
+
class: re([
|
|
2712
2712
|
"cyber-button",
|
|
2713
2713
|
"cyber-button--md",
|
|
2714
2714
|
e.destructive ? "cyber-button--danger" : "cyber-button--accent"
|
|
@@ -2717,7 +2717,7 @@ const ul = "v1/api/attendances/attendant/", fl = "v1/api/attendances/department/
|
|
|
2717
2717
|
disabled: e.loading
|
|
2718
2718
|
}, [
|
|
2719
2719
|
e.loading ? (v(), y("span", n2)) : Z("", !0),
|
|
2720
|
-
r("span", null,
|
|
2720
|
+
r("span", null, le(e.loading ? e.loadingLabel : e.confirmLabel), 1)
|
|
2721
2721
|
], 10, t2)
|
|
2722
2722
|
])
|
|
2723
2723
|
], 14, Ul)
|
|
@@ -3847,7 +3847,7 @@ const Bn = Fn("attendant", {
|
|
|
3847
3847
|
class: "color-bar"
|
|
3848
3848
|
}, null, 4),
|
|
3849
3849
|
r("div", C3, [
|
|
3850
|
-
r("div", S3,
|
|
3850
|
+
r("div", S3, le(e.ev.contactName ? e.ev.contactName + " • " : "") + " " + le(e.ev.departmentName || "sem depto"), 1),
|
|
3851
3851
|
r("div", M3, [
|
|
3852
3852
|
r("span", E3, [
|
|
3853
3853
|
c[9] || (c[9] = r("svg", {
|
|
@@ -3865,23 +3865,23 @@ const Bn = Fn("attendant", {
|
|
|
3865
3865
|
"clip-rule": "evenodd"
|
|
3866
3866
|
})
|
|
3867
3867
|
], -1)),
|
|
3868
|
-
Qe(" " +
|
|
3868
|
+
Qe(" " + le(l(e.ev.scheduled_by)), 1)
|
|
3869
3869
|
])
|
|
3870
3870
|
])
|
|
3871
3871
|
])
|
|
3872
3872
|
]),
|
|
3873
3873
|
r("footer", A3, [
|
|
3874
3874
|
r("div", T3, [
|
|
3875
|
-
r("div", L3,
|
|
3875
|
+
r("div", L3, le(e.ev.time), 1),
|
|
3876
3876
|
r("div", F3, [
|
|
3877
3877
|
e.ev.status !== void 0 ? (v(), y("div", {
|
|
3878
3878
|
key: 0,
|
|
3879
|
-
class:
|
|
3879
|
+
class: re(["status-bar", (m = e.ev) != null && m.status ? "status--up" : "status--down"])
|
|
3880
3880
|
}, null, 2)) : Z("", !0),
|
|
3881
3881
|
r("div", $3, [
|
|
3882
3882
|
c[10] || (c[10] = r("strong", null, "Status", -1)),
|
|
3883
3883
|
c[11] || (c[11] = r("br", null, null, -1)),
|
|
3884
|
-
Qe(" " +
|
|
3884
|
+
Qe(" " + le(e.ev.status === !0 ? "Ativo" : "Executado"), 1)
|
|
3885
3885
|
])
|
|
3886
3886
|
])
|
|
3887
3887
|
]),
|
|
@@ -3967,19 +3967,19 @@ const Bn = Fn("attendant", {
|
|
|
3967
3967
|
r("div", z3, [
|
|
3968
3968
|
e.ev.status !== void 0 ? (v(), y("span", {
|
|
3969
3969
|
key: 0,
|
|
3970
|
-
class:
|
|
3970
|
+
class: re(["status-dot-avatar", (g = e.ev) != null && g.status ? "status--up" : "status--down"])
|
|
3971
3971
|
}, null, 2)) : Z("", !0),
|
|
3972
3972
|
r("div", j3, [
|
|
3973
3973
|
c[17] || (c[17] = r("strong", null, "Status", -1)),
|
|
3974
3974
|
c[18] || (c[18] = r("br", null, null, -1)),
|
|
3975
|
-
Qe(" " +
|
|
3975
|
+
Qe(" " + le(e.ev.status === !0 ? "Ativo" : "Executado"), 1)
|
|
3976
3976
|
])
|
|
3977
3977
|
])
|
|
3978
3978
|
], 4),
|
|
3979
3979
|
r("div", N3, [
|
|
3980
3980
|
r("div", G3, [
|
|
3981
|
-
r("span", I3,
|
|
3982
|
-
r("span", W3,
|
|
3981
|
+
r("span", I3, le(e.ev.contactName) + " • " + le(e.ev.departmentName || "sem depto"), 1),
|
|
3982
|
+
r("span", W3, le(e.ev.time), 1)
|
|
3983
3983
|
]),
|
|
3984
3984
|
r("div", q3, [
|
|
3985
3985
|
r("span", U3, [
|
|
@@ -3997,19 +3997,19 @@ const Bn = Fn("attendant", {
|
|
|
3997
3997
|
d: "M12 2a7 7 0 0 0-7 7 3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1a1 1 0 0 0 1-1V9a5 5 0 1 1 10 0v7.083A2.919 2.919 0 0 1 14.083 19H14a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h1a2 2 0 0 0 1.732-1h.351a4.917 4.917 0 0 0 4.83-4H19a3 3 0 0 0 3-3v-2a3 3 0 0 0-3-3 7 7 0 0 0-7-7Zm1.45 3.275a4 4 0 0 0-4.352.976 1 1 0 0 0 1.452 1.376 2.001 2.001 0 0 1 2.836-.067 1 1 0 1 0 1.386-1.442 4 4 0 0 0-1.321-.843Z"
|
|
3998
3998
|
})
|
|
3999
3999
|
], -1)),
|
|
4000
|
-
Qe(" " +
|
|
4000
|
+
Qe(" " + le(l(e.ev.scheduled_by)), 1)
|
|
4001
4001
|
])
|
|
4002
4002
|
])
|
|
4003
4003
|
])
|
|
4004
4004
|
]),
|
|
4005
|
-
r("p", Z3,
|
|
4005
|
+
r("p", Z3, le(e.ev.content || e.ev.title), 1),
|
|
4006
4006
|
e.viewOnly ? Z("", !0) : (v(), y("div", Y3, [
|
|
4007
4007
|
s.value ? (v(), y("button", {
|
|
4008
4008
|
key: 0,
|
|
4009
4009
|
type: "button",
|
|
4010
4010
|
class: "cyber-button cyber-button--sm cyber-button--primary",
|
|
4011
4011
|
onClick: c[3] || (c[3] = (b) => u.$emit("open-message", e.ev))
|
|
4012
|
-
},
|
|
4012
|
+
}, le(((d = e.ev) == null ? void 0 : d.status) === !0 ? "Editar" : "Visualizar"), 1)) : Z("", !0),
|
|
4013
4013
|
s.value ? (v(), y("button", {
|
|
4014
4014
|
key: 1,
|
|
4015
4015
|
onClick: c[4] || (c[4] = (b) => u.$emit("delete-message", e.ev)),
|
|
@@ -4033,7 +4033,7 @@ const Bn = Fn("attendant", {
|
|
|
4033
4033
|
style: Ze({ background: o.value }),
|
|
4034
4034
|
class: "event-color-bar"
|
|
4035
4035
|
}, null, 4),
|
|
4036
|
-
r("div", J3,
|
|
4036
|
+
r("div", J3, le(f.value), 1)
|
|
4037
4037
|
]),
|
|
4038
4038
|
r("footer", ec, [
|
|
4039
4039
|
r("div", tc, [
|
|
@@ -4055,21 +4055,21 @@ const Bn = Fn("attendant", {
|
|
|
4055
4055
|
r("div", nc, [
|
|
4056
4056
|
c[21] || (c[21] = r("strong", null, "Agendado por", -1)),
|
|
4057
4057
|
c[22] || (c[22] = r("br", null, null, -1)),
|
|
4058
|
-
Qe(" " +
|
|
4058
|
+
Qe(" " + le(l(e.ev.scheduled_by)), 1)
|
|
4059
4059
|
])
|
|
4060
4060
|
]),
|
|
4061
4061
|
r("div", ac, [
|
|
4062
4062
|
e.ev.status !== void 0 ? (v(), y("span", {
|
|
4063
4063
|
key: 0,
|
|
4064
|
-
class:
|
|
4064
|
+
class: re(["status-bar", (p = e.ev) != null && p.status ? "status--up" : "status--down"])
|
|
4065
4065
|
}, null, 2)) : Z("", !0),
|
|
4066
4066
|
r("div", oc, [
|
|
4067
4067
|
c[24] || (c[24] = r("strong", null, "Status", -1)),
|
|
4068
4068
|
c[25] || (c[25] = r("br", null, null, -1)),
|
|
4069
|
-
Qe(" " +
|
|
4069
|
+
Qe(" " + le(e.ev.status === !0 ? "Ativo" : "Executado"), 1)
|
|
4070
4070
|
])
|
|
4071
4071
|
]),
|
|
4072
|
-
r("div", sc,
|
|
4072
|
+
r("div", sc, le(e.ev.time), 1),
|
|
4073
4073
|
s.value ? (v(), y("button", {
|
|
4074
4074
|
key: 0,
|
|
4075
4075
|
onClick: c[6] || (c[6] = (b) => u.$emit("open-message", e.ev)),
|
|
@@ -4459,7 +4459,7 @@ const Bn = Fn("attendant", {
|
|
|
4459
4459
|
r("h2", {
|
|
4460
4460
|
class: "month-title",
|
|
4461
4461
|
title: `${e.month} ${e.year}`
|
|
4462
|
-
},
|
|
4462
|
+
}, le(e.month) + " " + le(e.year), 9, pc),
|
|
4463
4463
|
r("div", gc, [
|
|
4464
4464
|
r("button", {
|
|
4465
4465
|
type: "button",
|
|
@@ -4482,12 +4482,12 @@ const Bn = Fn("attendant", {
|
|
|
4482
4482
|
key: 0,
|
|
4483
4483
|
class: "filter-badge",
|
|
4484
4484
|
title: `${e.filterCount} filtro${e.filterCount > 1 ? "s" : ""} ativo${e.filterCount > 1 ? "s" : ""}`
|
|
4485
|
-
},
|
|
4485
|
+
}, le(e.filterCount), 9, vc)) : Z("", !0)
|
|
4486
4486
|
]),
|
|
4487
4487
|
r("div", yc, [
|
|
4488
4488
|
r("button", {
|
|
4489
4489
|
type: "button",
|
|
4490
|
-
class:
|
|
4490
|
+
class: re(["cyber-button cyber-button--sm btn-ghost", e.viewMode === "calendar" ? "is-active" : ""]),
|
|
4491
4491
|
onClick: n[5] || (n[5] = (a) => t.$emit("set-view-mode", "calendar")),
|
|
4492
4492
|
"aria-label": "Visão Calendário"
|
|
4493
4493
|
}, [...n[13] || (n[13] = [
|
|
@@ -4507,7 +4507,7 @@ const Bn = Fn("attendant", {
|
|
|
4507
4507
|
])], 2),
|
|
4508
4508
|
r("button", {
|
|
4509
4509
|
type: "button",
|
|
4510
|
-
class:
|
|
4510
|
+
class: re(["cyber-button cyber-button--sm btn-ghost", e.viewMode === "agenda" ? "is-active" : ""]),
|
|
4511
4511
|
onClick: n[6] || (n[6] = (a) => t.$emit("set-view-mode", "agenda")),
|
|
4512
4512
|
"aria-label": "Visão Agenda"
|
|
4513
4513
|
}, [...n[14] || (n[14] = [
|
|
@@ -4566,12 +4566,12 @@ const Bn = Fn("attendant", {
|
|
|
4566
4566
|
r("h2", {
|
|
4567
4567
|
class: "month-title",
|
|
4568
4568
|
title: `${e.month} ${e.year}`
|
|
4569
|
-
},
|
|
4569
|
+
}, le(e.month) + " " + le(e.year), 9, Sc),
|
|
4570
4570
|
r("div", Mc, [
|
|
4571
4571
|
(v(!0), y(Pe, null, Ie(e.weekDays, (a) => (v(), y("div", {
|
|
4572
4572
|
key: a,
|
|
4573
4573
|
class: "week-cell"
|
|
4574
|
-
},
|
|
4574
|
+
}, le(a), 1))), 128))
|
|
4575
4575
|
])
|
|
4576
4576
|
], 64));
|
|
4577
4577
|
}
|
|
@@ -4693,7 +4693,7 @@ const Bn = Fn("attendant", {
|
|
|
4693
4693
|
(v(!0), y(Pe, null, Ie(e.monthDays, (x, b) => (v(), y("div", {
|
|
4694
4694
|
key: x.key,
|
|
4695
4695
|
style: Ze({ "--i": b }),
|
|
4696
|
-
class:
|
|
4696
|
+
class: re(["cal-cell day-cell border border-base-100 bg-base-200 hover:bg-base-100", [
|
|
4697
4697
|
e.isSameMonthFn(x.date, e.viewDate) ? "" : "opacity-60",
|
|
4698
4698
|
e.isSelectedDayFn(x.date) ? "neon-selected" : "",
|
|
4699
4699
|
e.isTodayFn(x.date) ? "is-today" : "",
|
|
@@ -4703,9 +4703,9 @@ const Bn = Fn("attendant", {
|
|
|
4703
4703
|
}, [
|
|
4704
4704
|
e.isTodayFn(x.date) ? (v(), y("div", Lc, " Hoje ")) : Z("", !0),
|
|
4705
4705
|
r("div", Fc, [
|
|
4706
|
-
r("span", $c,
|
|
4706
|
+
r("span", $c, le(x.date.getDate()), 1)
|
|
4707
4707
|
]),
|
|
4708
|
-
f(x.key, x.date).overflow > 0 ? (v(), y("span", Dc, " +" +
|
|
4708
|
+
f(x.key, x.date).overflow > 0 ? (v(), y("span", Dc, " +" + le(f(x.key, x.date).overflow), 1)) : Z("", !0),
|
|
4709
4709
|
r("div", Bc, [
|
|
4710
4710
|
r("div", {
|
|
4711
4711
|
class: "bars-vert",
|
|
@@ -4759,10 +4759,10 @@ const Bn = Fn("attendant", {
|
|
|
4759
4759
|
class: "day-item border-base-200"
|
|
4760
4760
|
}, [
|
|
4761
4761
|
r("div", Nc, [
|
|
4762
|
-
r("div", Gc,
|
|
4762
|
+
r("div", Gc, le(e.weekdayShort(o.date)), 1),
|
|
4763
4763
|
r("div", Ic, [
|
|
4764
|
-
r("div", Wc,
|
|
4765
|
-
r("div", qc,
|
|
4764
|
+
r("div", Wc, le(e.monthShort(o.date)), 1),
|
|
4765
|
+
r("div", qc, le(o.date.getDate()), 1),
|
|
4766
4766
|
r("div", {
|
|
4767
4767
|
style: Ze({ background: Se(g1)(((s = o.events) == null ? void 0 : s[0]) || {}) }),
|
|
4768
4768
|
class: "date-pill-dot"
|
|
@@ -4771,8 +4771,8 @@ const Bn = Fn("attendant", {
|
|
|
4771
4771
|
]),
|
|
4772
4772
|
r("div", Uc, [
|
|
4773
4773
|
r("div", Zc, [
|
|
4774
|
-
r("h3", Yc,
|
|
4775
|
-
r("div", Xc,
|
|
4774
|
+
r("h3", Yc, le(e.weekdayLong(o.date).toUpperCase()) + " " + le(o.date.getDate()), 1),
|
|
4775
|
+
r("div", Xc, le(e.monthLabelOf(o.date).toUpperCase()) + " " + le(e.year), 1)
|
|
4776
4776
|
]),
|
|
4777
4777
|
r("ul", Kc, [
|
|
4778
4778
|
(v(!0), y(Pe, null, Ie(o.events, (i) => (v(), y("li", {
|
|
@@ -4810,7 +4810,7 @@ const Bn = Fn("attendant", {
|
|
|
4810
4810
|
() => t.mode === "compact" ? t.selectedLabelLong || "Hoje" : `Eventos em ${t.selectedLabel || "—"}`
|
|
4811
4811
|
);
|
|
4812
4812
|
return (a, o) => (v(), y("section", {
|
|
4813
|
-
class:
|
|
4813
|
+
class: re(["bg-base-300 daylist", [
|
|
4814
4814
|
e.mode === "compact" ? "daylist--compact has-border border-base-200" : "daylist--sidebar has-border border-base-200 supports-blur",
|
|
4815
4815
|
{
|
|
4816
4816
|
"daylist--tight": e.mode === "compact" && !e.loading && e.events.length === 0
|
|
@@ -4820,22 +4820,22 @@ const Bn = Fn("attendant", {
|
|
|
4820
4820
|
"data-empty": !e.loading && e.events.length === 0 ? "1" : "0"
|
|
4821
4821
|
}, [
|
|
4822
4822
|
r("div", {
|
|
4823
|
-
class:
|
|
4823
|
+
class: re([
|
|
4824
4824
|
"daylist-header",
|
|
4825
4825
|
e.mode === "compact" ? "daylist-header--compact bg-base-300" : "daylist-header--sidebar bg-base-300"
|
|
4826
4826
|
])
|
|
4827
4827
|
}, [
|
|
4828
4828
|
r("h3", {
|
|
4829
|
-
class:
|
|
4829
|
+
class: re(
|
|
4830
4830
|
e.mode === "compact" ? "daylist-title--compact" : "daylist-title--sidebar"
|
|
4831
4831
|
)
|
|
4832
|
-
},
|
|
4832
|
+
}, le(n.value), 3),
|
|
4833
4833
|
r("button", {
|
|
4834
4834
|
type: "button",
|
|
4835
4835
|
class: "cyber-button cyber-button--sm cyber-button--accent",
|
|
4836
4836
|
onClick: o[0] || (o[0] = (s) => a.$emit("reload")),
|
|
4837
4837
|
disabled: e.loading
|
|
4838
|
-
},
|
|
4838
|
+
}, le(e.loading ? "Atualizando…" : "Atualizar"), 9, t4)
|
|
4839
4839
|
], 2),
|
|
4840
4840
|
e.loading ? (v(), ze(Ht, {
|
|
4841
4841
|
key: 0,
|
|
@@ -4843,7 +4843,7 @@ const Bn = Fn("attendant", {
|
|
|
4843
4843
|
}, {
|
|
4844
4844
|
default: Fe(() => [
|
|
4845
4845
|
r("div", {
|
|
4846
|
-
class:
|
|
4846
|
+
class: re([
|
|
4847
4847
|
"loading-text",
|
|
4848
4848
|
e.mode === "compact" ? "is-compact" : "is-sidebar"
|
|
4849
4849
|
])
|
|
@@ -4864,7 +4864,7 @@ const Bn = Fn("attendant", {
|
|
|
4864
4864
|
"move-class": "list-move",
|
|
4865
4865
|
tag: "ul",
|
|
4866
4866
|
appear: "",
|
|
4867
|
-
class:
|
|
4867
|
+
class: re([
|
|
4868
4868
|
e.mode === "compact" ? "list-compact has-border border-base-300 bg-base-200 supports-blur" : "list-sidebar"
|
|
4869
4869
|
])
|
|
4870
4870
|
}, {
|
|
@@ -4872,7 +4872,7 @@ const Bn = Fn("attendant", {
|
|
|
4872
4872
|
(v(!0), y(Pe, null, Ie(e.events, (s, i) => (v(), y("li", {
|
|
4873
4873
|
key: s.id,
|
|
4874
4874
|
style: Ze({ "--i": i }),
|
|
4875
|
-
class:
|
|
4875
|
+
class: re(
|
|
4876
4876
|
e.mode === "compact" ? "item-compact hover:bg-base-100" : "item-sidebar hover:z-10 has-border hover:bg-base-100 border-base-100 bg-base-200 "
|
|
4877
4877
|
)
|
|
4878
4878
|
}, [
|
|
@@ -5143,13 +5143,13 @@ const Bn = Fn("attendant", {
|
|
|
5143
5143
|
r("div", c4, [
|
|
5144
5144
|
r("button", {
|
|
5145
5145
|
type: "button",
|
|
5146
|
-
class:
|
|
5146
|
+
class: re(["cyber-button cyber-button--xs btn-ghost", i.status === !0 ? "is-active" : ""]),
|
|
5147
5147
|
onClick: k[2] || (k[2] = (F) => u(!0)),
|
|
5148
5148
|
"aria-pressed": "state.status === true"
|
|
5149
5149
|
}, " Ativos ", 2),
|
|
5150
5150
|
r("button", {
|
|
5151
5151
|
type: "button",
|
|
5152
|
-
class:
|
|
5152
|
+
class: re(["cyber-button cyber-button--xs btn-ghost", i.status === !1 ? "is-active" : ""]),
|
|
5153
5153
|
onClick: k[3] || (k[3] = (F) => u(!1)),
|
|
5154
5154
|
"aria-pressed": "state.status === false"
|
|
5155
5155
|
}, " Executados ", 2)
|
|
@@ -5453,7 +5453,7 @@ const Bn = Fn("attendant", {
|
|
|
5453
5453
|
}
|
|
5454
5454
|
}), t({ updateEvent: o.applyUpdateToCache }), (w, D) => (v(), y(Pe, null, [
|
|
5455
5455
|
r("div", {
|
|
5456
|
-
class:
|
|
5456
|
+
class: re(["calendar-main bg-base-300", { "calendar-main--compact": W.value }])
|
|
5457
5457
|
}, [
|
|
5458
5458
|
r("div", f4, [
|
|
5459
5459
|
D[15] || (D[15] = r("div", { class: "cyber-glow-overlay" }, null, -1)),
|
|
@@ -5473,7 +5473,7 @@ const Bn = Fn("attendant", {
|
|
|
5473
5473
|
}, null, 8, ["month", "year", "is-compact", "view-mode", "filter-count"]),
|
|
5474
5474
|
f.value === "calendar" ? (v(), y("div", {
|
|
5475
5475
|
key: 0,
|
|
5476
|
-
class:
|
|
5476
|
+
class: re(["calendar-stage", ce.value])
|
|
5477
5477
|
}, [
|
|
5478
5478
|
r("div", h4, [
|
|
5479
5479
|
Me(Ac, {
|
|
@@ -5607,7 +5607,7 @@ const Bn = Fn("attendant", {
|
|
|
5607
5607
|
(v(!0), y(Pe, null, Ie(a.value, (m, h) => Ye((v(), y("input", {
|
|
5608
5608
|
key: h,
|
|
5609
5609
|
"onUpdate:modelValue": (g) => a.value[h] = g,
|
|
5610
|
-
class:
|
|
5610
|
+
class: re([
|
|
5611
5611
|
e.eventHandling === "check" ? "checked_mfa" : e.eventHandling === "err" ? "err_mfa" : "reset_input",
|
|
5612
5612
|
"inline-block w-10 h-10 rounded-md text-center"
|
|
5613
5613
|
]),
|
|
@@ -5661,7 +5661,7 @@ const Bn = Fn("attendant", {
|
|
|
5661
5661
|
r("section", k4, [
|
|
5662
5662
|
e.generated ? Z("", !0) : (v(), y("div", {
|
|
5663
5663
|
key: 0,
|
|
5664
|
-
class:
|
|
5664
|
+
class: re([i.value, "btnQrCode"])
|
|
5665
5665
|
}, [
|
|
5666
5666
|
e.loading ? (v(), y("div", w4, [...u[0] || (u[0] = [
|
|
5667
5667
|
r("div", { class: "loaderMFA" }, null, -1)
|
|
@@ -5672,7 +5672,7 @@ const Bn = Fn("attendant", {
|
|
|
5672
5672
|
}, " Gerar QR "))
|
|
5673
5673
|
], 2)),
|
|
5674
5674
|
r("img", {
|
|
5675
|
-
class:
|
|
5675
|
+
class: re([[i.value, e.generated ? "rounded-md" : "rounded-none"], ""]),
|
|
5676
5676
|
src: s.value,
|
|
5677
5677
|
alt: "QRCode"
|
|
5678
5678
|
}, null, 10, C4)
|
|
@@ -5863,7 +5863,7 @@ const F4 = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray
|
|
|
5863
5863
|
return (f, u) => (v(), y("div", O4, [
|
|
5864
5864
|
Ye(r("input", {
|
|
5865
5865
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => o.value = c),
|
|
5866
|
-
class:
|
|
5866
|
+
class: re(
|
|
5867
5867
|
e.mobile ? "search-input-mobile bg-base-300 border-b border-base-200" : "search-input bg-base-300 border-b border-base-200"
|
|
5868
5868
|
),
|
|
5869
5869
|
placeholder: "Pesquise entre os atendentes..."
|
|
@@ -5871,22 +5871,22 @@ const F4 = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray
|
|
|
5871
5871
|
[kt, o.value]
|
|
5872
5872
|
]),
|
|
5873
5873
|
r("ul", P4, [
|
|
5874
|
-
l.value.length === 0 ? (v(), y("li", H4,
|
|
5874
|
+
l.value.length === 0 ? (v(), y("li", H4, le(e.atendentes.length === 0 ? "Não há atendentes disponíveis" : "Não há atendentes com esse nome"), 1)) : Z("", !0),
|
|
5875
5875
|
(v(!0), y(Pe, null, Ie(l.value, (c) => (v(), y("li", {
|
|
5876
5876
|
key: c.id,
|
|
5877
5877
|
onClick: (m) => s(c),
|
|
5878
|
-
class:
|
|
5878
|
+
class: re([["atendente-item", c.isMoved ? "moved" : ""], "border-b even:bg-base-300 bg-blue-400/10 border-base-200 hover:bg-base-200 relative"])
|
|
5879
5879
|
}, [
|
|
5880
5880
|
r("main", V4, [
|
|
5881
5881
|
Me(va, {
|
|
5882
5882
|
url: c.photo
|
|
5883
5883
|
}, null, 8, ["url"]),
|
|
5884
|
-
r("span", R4,
|
|
5884
|
+
r("span", R4, le(c.name), 1)
|
|
5885
5885
|
]),
|
|
5886
5886
|
r("footer", z4, [
|
|
5887
|
-
c.internal_chat.unread > 0 ? (v(), y("span", j4,
|
|
5887
|
+
c.internal_chat.unread > 0 ? (v(), y("span", j4, le(c.internal_chat.unread), 1)) : Z("", !0),
|
|
5888
5888
|
r("div", {
|
|
5889
|
-
class:
|
|
5889
|
+
class: re(["status-indicator", i(c.login_status)])
|
|
5890
5890
|
}, null, 2)
|
|
5891
5891
|
]),
|
|
5892
5892
|
u[1] || (u[1] = r("div", { class: "hover-action" }, "Conversar", -1))
|
|
@@ -5990,7 +5990,7 @@ const J4 = /* @__PURE__ */ os(U4, [["render", Q4], ["__scopeId", "data-v-d3e3763
|
|
|
5990
5990
|
i.value == "complete" ? mt(p.$slots, "complete", { key: 0 }, () => {
|
|
5991
5991
|
var b;
|
|
5992
5992
|
return [
|
|
5993
|
-
r("span", null,
|
|
5993
|
+
r("span", null, le(((b = p.slots) == null ? void 0 : b.complete) || "No more results!"), 1)
|
|
5994
5994
|
];
|
|
5995
5995
|
}, !0) : Z("", !0),
|
|
5996
5996
|
i.value == "error" ? mt(p.$slots, "error", {
|
|
@@ -6000,7 +6000,7 @@ const J4 = /* @__PURE__ */ os(U4, [["render", Q4], ["__scopeId", "data-v-d3e3763
|
|
|
6000
6000
|
var b;
|
|
6001
6001
|
return [
|
|
6002
6002
|
r("span", e5, [
|
|
6003
|
-
r("span", null,
|
|
6003
|
+
r("span", null, le(((b = p.slots) == null ? void 0 : b.error) || "Oops something went wrong!"), 1),
|
|
6004
6004
|
r("button", {
|
|
6005
6005
|
class: "retry",
|
|
6006
6006
|
onClick: x[0] || (x[0] = //@ts-ignore
|
|
@@ -11098,7 +11098,7 @@ function dd(e, t, n, a, o, s) {
|
|
|
11098
11098
|
class: "fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",
|
|
11099
11099
|
onClick: t[0] || (t[0] = (...l) => s.changeValue && s.changeValue(...l))
|
|
11100
11100
|
}, [
|
|
11101
|
-
Qe(
|
|
11101
|
+
Qe(le(o.playbackRate.toFixed(1)) + "x ", 1),
|
|
11102
11102
|
t[4] || (t[4] = r("svg", {
|
|
11103
11103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11104
11104
|
fill: "currentColor",
|
|
@@ -11168,7 +11168,7 @@ function dd(e, t, n, a, o, s) {
|
|
|
11168
11168
|
class: "fade header relative flex size-12 cursor-pointer items-center justify-center rounded-full border-2 border-light dark:border-light",
|
|
11169
11169
|
onClick: t[2] || (t[2] = (...l) => s.changeValue && s.changeValue(...l))
|
|
11170
11170
|
}, [
|
|
11171
|
-
Qe(
|
|
11171
|
+
Qe(le(o.playbackRate.toFixed(1)) + "x ", 1),
|
|
11172
11172
|
t[9] || (t[9] = r("svg", {
|
|
11173
11173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
11174
11174
|
fill: "currentColor",
|
|
@@ -11380,7 +11380,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11380
11380
|
console.error("Erro ao gerar thumbnail:", d), n.value = c();
|
|
11381
11381
|
}
|
|
11382
11382
|
}), (d, p) => (v(), y("main", {
|
|
11383
|
-
class:
|
|
11383
|
+
class: re({
|
|
11384
11384
|
main_preview_files_container_message: e.mode === "message",
|
|
11385
11385
|
main_preview_files_container_miniature: e.mode === "miniature",
|
|
11386
11386
|
"main_preview_files_container_preview bg-base-200": e.mode === "preview"
|
|
@@ -11401,7 +11401,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11401
11401
|
])]))
|
|
11402
11402
|
])) : e.isMobile && s.value && e.mode === "message" ? (v(), y("section", {
|
|
11403
11403
|
key: 1,
|
|
11404
|
-
class:
|
|
11404
|
+
class: re(
|
|
11405
11405
|
e.mode === "message" ? "flex flex-col bg-base-300 p-2 rounded-md gap-2" : ""
|
|
11406
11406
|
)
|
|
11407
11407
|
}, [
|
|
@@ -11421,7 +11421,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11421
11421
|
"clip-rule": "evenodd"
|
|
11422
11422
|
})
|
|
11423
11423
|
], -1)),
|
|
11424
|
-
r("p", pd,
|
|
11424
|
+
r("p", pd, le(e.fileName), 1)
|
|
11425
11425
|
]),
|
|
11426
11426
|
e.mode === "message" ? (v(), y("div", gd, [
|
|
11427
11427
|
r("button", {
|
|
@@ -11467,7 +11467,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11467
11467
|
])
|
|
11468
11468
|
]),
|
|
11469
11469
|
r("img", {
|
|
11470
|
-
class:
|
|
11470
|
+
class: re(["preview_img", e.mode]),
|
|
11471
11471
|
src: h(e.base64) ? e.base64 : e.base64.replace("+", "%2B")
|
|
11472
11472
|
}, null, 10, Cd)
|
|
11473
11473
|
])) : f(e.mimetype) ? (v(), y("section", Sd, [
|
|
@@ -11542,7 +11542,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11542
11542
|
])
|
|
11543
11543
|
]),
|
|
11544
11544
|
r("img", {
|
|
11545
|
-
class:
|
|
11545
|
+
class: re(["preview_img", e.mode]),
|
|
11546
11546
|
src: n.value
|
|
11547
11547
|
}, null, 10, Pd)
|
|
11548
11548
|
])) : (v(), y("span", Hd, [...p[18] || (p[18] = [
|
|
@@ -11567,7 +11567,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11567
11567
|
])]))
|
|
11568
11568
|
])) : (v(), y("div", {
|
|
11569
11569
|
key: 5,
|
|
11570
|
-
class:
|
|
11570
|
+
class: re(e.mode === "message" ? "generic_files" : "")
|
|
11571
11571
|
}, [
|
|
11572
11572
|
p[20] || (p[20] = r("div", null, [
|
|
11573
11573
|
r("svg", {
|
|
@@ -11587,7 +11587,7 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11587
11587
|
])
|
|
11588
11588
|
], -1)),
|
|
11589
11589
|
e.mode === "message" ? (v(), y("span", zd, [
|
|
11590
|
-
r("p", jd,
|
|
11590
|
+
r("p", jd, le(e.fileName), 1),
|
|
11591
11591
|
r("button", {
|
|
11592
11592
|
class: "download_btn_generic_files",
|
|
11593
11593
|
onClick: p[5] || (p[5] = (x) => d.$emit("download"))
|
|
@@ -11597,9 +11597,9 @@ const xs = /* @__PURE__ */ Oe(J5, [["render", dd]]), ud = { key: 0 }, fd = ["src
|
|
|
11597
11597
|
e.mode === "message" ? (v(), y("div", Nd, [
|
|
11598
11598
|
mt(d.$slots, "content-message", {}, void 0, !0),
|
|
11599
11599
|
r("div", {
|
|
11600
|
-
class:
|
|
11600
|
+
class: re([a.value ? "justify-between" : " justify-end", "flex w-full"])
|
|
11601
11601
|
}, [
|
|
11602
|
-
l.value && a.value ? (v(), y("p", Gd,
|
|
11602
|
+
l.value && a.value ? (v(), y("p", Gd, le(g(a.value)) + " - " + le(o.value ? g(o.value) : "00:00"), 1)) : Z("", !0),
|
|
11603
11603
|
mt(d.$slots, "time-message", {}, void 0, !0)
|
|
11604
11604
|
], 2)
|
|
11605
11605
|
])) : Z("", !0)
|
|
@@ -11741,7 +11741,7 @@ const Zd = /* @__PURE__ */ Oe(Wd, [["render", Ud], ["__scopeId", "data-v-49dbe3d
|
|
|
11741
11741
|
])])) : (v(), y("div", Yd, [
|
|
11742
11742
|
!s.value && !c.value ? (v(), y("button", {
|
|
11743
11743
|
key: 0,
|
|
11744
|
-
class:
|
|
11744
|
+
class: re(["send-audio-button", { recording: s.value }]),
|
|
11745
11745
|
disabled: s.value || !e.canSendMessage,
|
|
11746
11746
|
onClick: M[0] || (M[0] = (K) => ($(), f.value = 0, x.value = !1))
|
|
11747
11747
|
}, [...M[3] || (M[3] = [
|
|
@@ -11827,8 +11827,8 @@ const Zd = /* @__PURE__ */ Oe(Wd, [["render", Ud], ["__scopeId", "data-v-49dbe3d
|
|
|
11827
11827
|
onCurrentTime: S
|
|
11828
11828
|
}, null, 8, ["avatar", "audio"]),
|
|
11829
11829
|
r("main", tu, [
|
|
11830
|
-
r("div", null,
|
|
11831
|
-
s.value || u.value ? (v(), y("div", nu,
|
|
11830
|
+
r("div", null, le(E(d.value)), 1),
|
|
11831
|
+
s.value || u.value ? (v(), y("div", nu, le(E(l.value)), 1)) : Z("", !0)
|
|
11832
11832
|
])
|
|
11833
11833
|
])) : Z("", !0),
|
|
11834
11834
|
c.value ? (v(), y("button", {
|
|
@@ -12204,7 +12204,7 @@ Ma("CapacitorHttp", {
|
|
|
12204
12204
|
web: () => new vu()
|
|
12205
12205
|
});
|
|
12206
12206
|
const sn = Ma("VoiceRecorder", {
|
|
12207
|
-
web: () => import("./web-
|
|
12207
|
+
web: () => import("./web-0ttDa0S2.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
|
|
12208
12208
|
});
|
|
12209
12209
|
function eo(e, t) {
|
|
12210
12210
|
return v(), y("svg", {
|
|
@@ -12431,7 +12431,7 @@ const ku = {
|
|
|
12431
12431
|
r("div", wu, [
|
|
12432
12432
|
o.value != "paused" ? (v(), y("section", Cu, "Gravando")) : Z("", !0)
|
|
12433
12433
|
]),
|
|
12434
|
-
o.value != "paused" ? (v(), y("section", Su,
|
|
12434
|
+
o.value != "paused" ? (v(), y("section", Su, le(c.value), 1)) : Z("", !0),
|
|
12435
12435
|
o.value === "paused" ? (v(), y("section", Mu, [
|
|
12436
12436
|
m.value ? (v(), y("button", Eu, [
|
|
12437
12437
|
Me(Se(to), {
|
|
@@ -12445,7 +12445,7 @@ const ku = {
|
|
|
12445
12445
|
Me(Se(xu), { class: "size-6 cursor-pointer" })
|
|
12446
12446
|
])),
|
|
12447
12447
|
V[7] || (V[7] = r("div", null, null, -1)),
|
|
12448
|
-
Qe(" " +
|
|
12448
|
+
Qe(" " + le(c.value), 1)
|
|
12449
12449
|
])) : Z("", !0)
|
|
12450
12450
|
])) : Z("", !0)
|
|
12451
12451
|
]),
|
|
@@ -12642,7 +12642,7 @@ const ku = {
|
|
|
12642
12642
|
Me(va, {
|
|
12643
12643
|
url: e.selectedAtendente.photo
|
|
12644
12644
|
}, null, 8, ["url"]),
|
|
12645
|
-
r("h3", Pu,
|
|
12645
|
+
r("h3", Pu, le(e.selectedAtendente.name), 1)
|
|
12646
12646
|
]),
|
|
12647
12647
|
r("div", {
|
|
12648
12648
|
class: "message-area",
|
|
@@ -12690,11 +12690,11 @@ const ku = {
|
|
|
12690
12690
|
(v(!0), y(Pe, null, Ie(u.value, (H, P) => (v(), y("div", { key: P }, [
|
|
12691
12691
|
p(P) ? (v(), y("div", Hu, [
|
|
12692
12692
|
k[7] || (k[7] = r("div", { class: "date-separator-line" }, null, -1)),
|
|
12693
|
-
r("div", _u,
|
|
12693
|
+
r("div", _u, le(d(H.created_at)), 1),
|
|
12694
12694
|
k[8] || (k[8] = r("div", { class: "date-separator-line" }, null, -1))
|
|
12695
12695
|
])) : Z("", !0),
|
|
12696
12696
|
r("div", {
|
|
12697
|
-
class:
|
|
12697
|
+
class: re([
|
|
12698
12698
|
"message",
|
|
12699
12699
|
{
|
|
12700
12700
|
me: H.sender.id === e.attendant.id,
|
|
@@ -12704,7 +12704,7 @@ const ku = {
|
|
|
12704
12704
|
])
|
|
12705
12705
|
}, [
|
|
12706
12706
|
r("div", {
|
|
12707
|
-
class:
|
|
12707
|
+
class: re([
|
|
12708
12708
|
"relative",
|
|
12709
12709
|
H.sender.id === e.attendant.id ? "text-right" : "text-left"
|
|
12710
12710
|
])
|
|
@@ -12749,7 +12749,7 @@ const ku = {
|
|
|
12749
12749
|
}, 1024)
|
|
12750
12750
|
])) : Z("", !0),
|
|
12751
12751
|
r("div", {
|
|
12752
|
-
class:
|
|
12752
|
+
class: re(["shadow shadow-gray-900 dark:shadow-gray-500", [
|
|
12753
12753
|
"message-content",
|
|
12754
12754
|
{
|
|
12755
12755
|
me: H.sender.id === e.attendant.id,
|
|
@@ -12772,15 +12772,15 @@ const ku = {
|
|
|
12772
12772
|
mimetype: H.content.media.mimetype
|
|
12773
12773
|
}, {
|
|
12774
12774
|
"content-message": Fe(() => [
|
|
12775
|
-
r("p", null,
|
|
12775
|
+
r("p", null, le(H.content.content), 1)
|
|
12776
12776
|
]),
|
|
12777
12777
|
"time-message": Fe(() => [
|
|
12778
|
-
r("div", zu,
|
|
12778
|
+
r("div", zu, le(g(H.created_at)), 1)
|
|
12779
12779
|
]),
|
|
12780
12780
|
_: 2
|
|
12781
12781
|
}, 1032, ["isMobile", "onDownload", "onOpenMobilePdf", "avatar", "fileName", "base64", "mimetype"])) : (v(), y("section", ju, [
|
|
12782
|
-
r("p", null,
|
|
12783
|
-
r("div", Nu,
|
|
12782
|
+
r("p", null, le(H.content.content), 1),
|
|
12783
|
+
r("div", Nu, le(g(H.created_at)), 1)
|
|
12784
12784
|
]))
|
|
12785
12785
|
], 2)
|
|
12786
12786
|
], 2)
|
|
@@ -12842,7 +12842,7 @@ const ku = {
|
|
|
12842
12842
|
], -1)
|
|
12843
12843
|
])])) : (v(), y("section", {
|
|
12844
12844
|
key: 1,
|
|
12845
|
-
class:
|
|
12845
|
+
class: re(["bg-base-300", ["send-audio-button", { recording: l.value }]])
|
|
12846
12846
|
}, [
|
|
12847
12847
|
e.isMobile ? (v(), ze(Du, {
|
|
12848
12848
|
key: 0,
|
|
@@ -14041,7 +14041,7 @@ const h6 = gn({
|
|
|
14041
14041
|
onDrop: It($, ["prevent"])
|
|
14042
14042
|
}, [
|
|
14043
14043
|
r("section", {
|
|
14044
|
-
class:
|
|
14044
|
+
class: re(["dropzone-container ", { "dropzone-active": o.value }])
|
|
14045
14045
|
}, [
|
|
14046
14046
|
!m.value && f.value.length > 0 && !o.value ? (v(), y("div", m6, [
|
|
14047
14047
|
r("button", {
|
|
@@ -14064,7 +14064,7 @@ const h6 = gn({
|
|
|
14064
14064
|
], -1)
|
|
14065
14065
|
])]),
|
|
14066
14066
|
r("section", p6, [
|
|
14067
|
-
r("p", g6,
|
|
14067
|
+
r("p", g6, le((M = u.value) == null ? void 0 : M.name), 1),
|
|
14068
14068
|
Me(sa, {
|
|
14069
14069
|
isMobile: e.isMobile,
|
|
14070
14070
|
avatar: null,
|
|
@@ -14116,7 +14116,7 @@ const h6 = gn({
|
|
|
14116
14116
|
], -1)
|
|
14117
14117
|
])], 8, b6)) : Z("", !0),
|
|
14118
14118
|
r("button", {
|
|
14119
|
-
class:
|
|
14119
|
+
class: re(["bg-base-100", [
|
|
14120
14120
|
"carousel-preview",
|
|
14121
14121
|
{ active: c.value === te }
|
|
14122
14122
|
]]),
|
|
@@ -14171,7 +14171,7 @@ const h6 = gn({
|
|
|
14171
14171
|
])])
|
|
14172
14172
|
])
|
|
14173
14173
|
])) : Z("", !0),
|
|
14174
|
-
m.value ? (v(), y("section", C6, " Enviando Arquivos... (" +
|
|
14174
|
+
m.value ? (v(), y("section", C6, " Enviando Arquivos... (" + le(g.value) + " / " + le(h.value) + ") ", 1)) : Z("", !0),
|
|
14175
14175
|
mt(P.$slots, "default", {}, void 0, !0)
|
|
14176
14176
|
], 2),
|
|
14177
14177
|
r("input", {
|
|
@@ -14337,10 +14337,10 @@ const h6 = gn({
|
|
|
14337
14337
|
e.countMessages > 10 ? "padding: 0.2rem 0.500rem;" : "padding: 0.2rem 0.625rem;"
|
|
14338
14338
|
),
|
|
14339
14339
|
class: "chat-count"
|
|
14340
|
-
},
|
|
14340
|
+
}, le(e.countMessages), 5)) : Z("", !0),
|
|
14341
14341
|
r("div", {
|
|
14342
14342
|
onClick: It(k, ["stop"]),
|
|
14343
|
-
class:
|
|
14343
|
+
class: re([
|
|
14344
14344
|
"group relative",
|
|
14345
14345
|
h.value ? "chat-box border-base-200 open bg-base-200" : "chat-box closed"
|
|
14346
14346
|
]),
|
|
@@ -14349,14 +14349,14 @@ const h6 = gn({
|
|
|
14349
14349
|
h.value ? Z("", !0) : (v(), y("span", M6, [
|
|
14350
14350
|
(v(), y("svg", E6, [
|
|
14351
14351
|
r("path", {
|
|
14352
|
-
class:
|
|
14352
|
+
class: re(
|
|
14353
14353
|
e.mode === "dark" ? "dark-chat-window-icon" : "chat-window-icon"
|
|
14354
14354
|
),
|
|
14355
14355
|
fill: "currentColor",
|
|
14356
14356
|
d: "M208 352c114.9 0 208-78.8 208-176S322.9 0 208 0S0 78.8 0 176c0 38.6 14.7 74.3 39.6 103.4c-3.5 9.4-8.7 17.7-14.2 24.7c-4.8 6.2-9.7 11-13.3 14.3c-1.8 1.6-3.3 2.9-4.3 3.7c-.5 .4-.9 .7-1.1 .8l-.2 .2s0 0 0 0s0 0 0 0C1 327.2-1.4 334.4 .8 340.9S9.1 352 16 352c21.8 0 43.8-5.6 62.1-12.5c9.2-3.5 17.8-7.4 25.2-11.4C134.1 343.3 169.8 352 208 352zM448 176c0 112.3-99.1 196.9-216.5 207C255.8 457.4 336.4 512 432 512c38.2 0 73.9-8.7 104.7-23.9c7.5 4 16 7.9 25.2 11.4c18.3 6.9 40.3 12.5 62.1 12.5c6.9 0 13.1-4.5 15.2-11.1c2.1-6.6-.2-13.8-5.8-17.9c0 0 0 0 0 0s0 0 0 0l-.2-.2c-.2-.2-.6-.4-1.1-.8c-1-.8-2.5-2-4.3-3.7c-3.6-3.3-8.5-8.1-13.3-14.3c-5.5-7-10.7-15.4-14.2-24.7c24.9-29 39.6-64.7 39.6-103.4c0-92.8-84.9-168.9-192.6-175.5c.4 5.1 .6 10.3 .6 15.5z"
|
|
14357
14357
|
}, null, 2)
|
|
14358
14358
|
])),
|
|
14359
|
-
S.value > 0 ? (v(), y("span", A6,
|
|
14359
|
+
S.value > 0 ? (v(), y("span", A6, le(S.value), 1)) : Z("", !0),
|
|
14360
14360
|
P[2] || (P[2] = r("div", { class: "chat-tooltip" }, [
|
|
14361
14361
|
r("div", { class: "text-sm my-auto text-center" }, "Chat interno")
|
|
14362
14362
|
], -1))
|
|
@@ -14662,7 +14662,7 @@ const h6 = gn({
|
|
|
14662
14662
|
}), (C, S) => (v(), y("div", O6, [
|
|
14663
14663
|
r("div", P6, [
|
|
14664
14664
|
r("div", {
|
|
14665
|
-
class:
|
|
14665
|
+
class: re(["input-wrapper bg-base-300 border-b border-base-200", { expanded: l.value || i.value.length > 0 }]),
|
|
14666
14666
|
onClick: S[1] || (S[1] = (E) => l.value = !l.value)
|
|
14667
14667
|
}, [
|
|
14668
14668
|
Ye(r("input", {
|
|
@@ -14694,7 +14694,7 @@ const h6 = gn({
|
|
|
14694
14694
|
key: E.id,
|
|
14695
14695
|
class: "selection-item"
|
|
14696
14696
|
}, [
|
|
14697
|
-
Qe(
|
|
14697
|
+
Qe(le(E.name) + " ", 1),
|
|
14698
14698
|
r("button", {
|
|
14699
14699
|
onClick: (O) => x(E, $),
|
|
14700
14700
|
class: "close-btn"
|
|
@@ -14717,23 +14717,23 @@ const h6 = gn({
|
|
|
14717
14717
|
]))), 128))
|
|
14718
14718
|
])) : Z("", !0),
|
|
14719
14719
|
r("div", {
|
|
14720
|
-
class:
|
|
14720
|
+
class: re([
|
|
14721
14721
|
i.value.length > 0 && e.multiSelect ? "dropdown-depart-expanded" : "dropdown-depart",
|
|
14722
14722
|
"dropdown-depart bg-base-300"
|
|
14723
14723
|
])
|
|
14724
14724
|
}, [
|
|
14725
14725
|
r("div", R6, [
|
|
14726
14726
|
r("div", {
|
|
14727
|
-
class:
|
|
14727
|
+
class: re([{ "two-columns": u.value.length > 4 }, "grid-container"])
|
|
14728
14728
|
}, [
|
|
14729
14729
|
Se(o).loaded ? (v(!0), y(Pe, { key: 0 }, Ie(u.value, (E) => (v(), y("div", {
|
|
14730
14730
|
key: E.id,
|
|
14731
|
-
class:
|
|
14731
|
+
class: re([{ selected: E.selected }, "department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])
|
|
14732
14732
|
}, [
|
|
14733
14733
|
r("span", {
|
|
14734
14734
|
onClick: ($) => d(E),
|
|
14735
14735
|
class: "department-name h-full w-full"
|
|
14736
|
-
},
|
|
14736
|
+
}, le(E.name), 9, z6),
|
|
14737
14737
|
e.multiSelect && e.permissions ? (v(), y("div", j6, [
|
|
14738
14738
|
Ye(r("select", {
|
|
14739
14739
|
"onUpdate:modelValue": ($) => E.permission = $,
|
|
@@ -14869,7 +14869,7 @@ const h6 = gn({
|
|
|
14869
14869
|
return (b, C) => (v(), y("div", U6, [
|
|
14870
14870
|
r("div", Z6, [
|
|
14871
14871
|
r("div", {
|
|
14872
|
-
class:
|
|
14872
|
+
class: re(["input-wrapper bg-base-300 border-b border-base-200", { expanded: i.value || l.value.length > 0 }]),
|
|
14873
14873
|
onClick: C[1] || (C[1] = (S) => i.value = !i.value)
|
|
14874
14874
|
}, [
|
|
14875
14875
|
Ye(r("input", {
|
|
@@ -14901,7 +14901,7 @@ const h6 = gn({
|
|
|
14901
14901
|
key: S,
|
|
14902
14902
|
class: "selection-item"
|
|
14903
14903
|
}, [
|
|
14904
|
-
Qe(
|
|
14904
|
+
Qe(le(S.name) + " ", 1),
|
|
14905
14905
|
r("button", {
|
|
14906
14906
|
onClick: ($) => x(S, E),
|
|
14907
14907
|
class: "close-btn"
|
|
@@ -14924,18 +14924,18 @@ const h6 = gn({
|
|
|
14924
14924
|
]))), 128))
|
|
14925
14925
|
])) : Z("", !0),
|
|
14926
14926
|
r("div", {
|
|
14927
|
-
class:
|
|
14927
|
+
class: re([
|
|
14928
14928
|
l.value.length > 0 && e.multiSelect ? "dropdown-attendance-expanded" : "dropdown-attendance",
|
|
14929
14929
|
"dropdown-attendance bg-base-300"
|
|
14930
14930
|
])
|
|
14931
14931
|
}, [
|
|
14932
14932
|
r("div", Q6, [
|
|
14933
14933
|
r("div", {
|
|
14934
|
-
class:
|
|
14934
|
+
class: re([{ "two-columns": u.value.length > 4 }, "grid-container"])
|
|
14935
14935
|
}, [
|
|
14936
14936
|
Se(o).loaded ? (v(!0), y(Pe, { key: 0 }, Ie(u.value, (S) => (v(), y("div", {
|
|
14937
14937
|
key: S,
|
|
14938
|
-
class:
|
|
14938
|
+
class: re([{ selected: S.selected }, "department-item line-clamp-1 bg-slate-500/20 hover:bg-teal-600"])
|
|
14939
14939
|
}, [
|
|
14940
14940
|
r("div", J6, [
|
|
14941
14941
|
S.photo ? (v(), y("img", {
|
|
@@ -14953,7 +14953,7 @@ const h6 = gn({
|
|
|
14953
14953
|
r("span", {
|
|
14954
14954
|
onClick: (E) => p(S),
|
|
14955
14955
|
class: "department-name h-full w-full"
|
|
14956
|
-
},
|
|
14956
|
+
}, le(S.name), 9, n7)
|
|
14957
14957
|
], 2))), 128)) : Z("", !0)
|
|
14958
14958
|
], 2)
|
|
14959
14959
|
]),
|
|
@@ -14990,7 +14990,7 @@ const h6 = gn({
|
|
|
14990
14990
|
r("section", i7, [
|
|
14991
14991
|
r("div", null, [
|
|
14992
14992
|
r("div", r7, [
|
|
14993
|
-
r("p", null,
|
|
14993
|
+
r("p", null, le(e.title), 1),
|
|
14994
14994
|
a[1] || (a[1] = r("svg", {
|
|
14995
14995
|
class: "w-4 h-4 text-white",
|
|
14996
14996
|
"aria-hidden": "true",
|
|
@@ -16621,7 +16621,7 @@ const lo = {
|
|
|
16621
16621
|
]),
|
|
16622
16622
|
r("div", Sv, [
|
|
16623
16623
|
r("div", {
|
|
16624
|
-
class:
|
|
16624
|
+
class: re(["modal_content ", e.defineWidth])
|
|
16625
16625
|
}, [
|
|
16626
16626
|
r("div", Mv, [
|
|
16627
16627
|
r("div", Ev, [
|
|
@@ -42294,16 +42294,16 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42294
42294
|
return (c, m) => {
|
|
42295
42295
|
const h = Dt("Popper");
|
|
42296
42296
|
return v(), y("main", {
|
|
42297
|
-
class:
|
|
42297
|
+
class: re(["feature_style relative", i.value]),
|
|
42298
42298
|
ref_key: "targetFeatureCard",
|
|
42299
42299
|
ref: n,
|
|
42300
42300
|
onClick: m[0] || (m[0] = (g) => t.value = !t.value)
|
|
42301
42301
|
}, [
|
|
42302
42302
|
r("header", Qv, [
|
|
42303
|
-
r("h1", Jv,
|
|
42303
|
+
r("h1", Jv, le(e.title), 1),
|
|
42304
42304
|
r("section", ey, [
|
|
42305
42305
|
(v(), y("svg", {
|
|
42306
|
-
class:
|
|
42306
|
+
class: re(s.value),
|
|
42307
42307
|
viewBox: "0 0 24 24",
|
|
42308
42308
|
fill: "none"
|
|
42309
42309
|
}, [...m[1] || (m[1] = [
|
|
@@ -42352,8 +42352,8 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42352
42352
|
r("footer", ry, [
|
|
42353
42353
|
r("section", ly, [
|
|
42354
42354
|
r("span", {
|
|
42355
|
-
class:
|
|
42356
|
-
},
|
|
42355
|
+
class: re(l.value)
|
|
42356
|
+
}, le(f.value), 3),
|
|
42357
42357
|
Me(h, {
|
|
42358
42358
|
class: "pill_date_popper",
|
|
42359
42359
|
hover: "",
|
|
@@ -42363,12 +42363,12 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42363
42363
|
}, {
|
|
42364
42364
|
default: Fe(() => [
|
|
42365
42365
|
r("div", {
|
|
42366
|
-
class:
|
|
42366
|
+
class: re(u.value)
|
|
42367
42367
|
}, [
|
|
42368
42368
|
Me(fo, {
|
|
42369
42369
|
svgContent: Se(Xv)("size-4 text-white")
|
|
42370
42370
|
}, null, 8, ["svgContent"]),
|
|
42371
|
-
r("p", null,
|
|
42371
|
+
r("p", null, le(new Intl.DateTimeFormat("pt-BR", {
|
|
42372
42372
|
day: "2-digit",
|
|
42373
42373
|
month: "short",
|
|
42374
42374
|
year: "numeric"
|
|
@@ -42589,12 +42589,12 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42589
42589
|
n("openNewUpdates");
|
|
42590
42590
|
};
|
|
42591
42591
|
return (l, f) => (v(), y("main", {
|
|
42592
|
-
class:
|
|
42592
|
+
class: re(["relative", s.value.container]),
|
|
42593
42593
|
onClick: i
|
|
42594
42594
|
}, [
|
|
42595
42595
|
s.value.usePopper ? (v(), y(Pe, { key: 0 }, [
|
|
42596
42596
|
r("button", {
|
|
42597
|
-
class:
|
|
42597
|
+
class: re(s.value.button)
|
|
42598
42598
|
}, [...f[0] || (f[0] = [
|
|
42599
42599
|
r("svg", {
|
|
42600
42600
|
class: "new_update-icon",
|
|
@@ -42611,7 +42611,7 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42611
42611
|
])], 2),
|
|
42612
42612
|
e.sparkles ? (v(), y("div", Sy, [
|
|
42613
42613
|
(v(), y("svg", {
|
|
42614
|
-
class:
|
|
42614
|
+
class: re(s.value.iconSize),
|
|
42615
42615
|
viewBox: "0 0 128 128"
|
|
42616
42616
|
}, [...f[1] || (f[1] = [
|
|
42617
42617
|
xe('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>', 5)
|
|
@@ -42619,10 +42619,10 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42619
42619
|
])) : Z("", !0)
|
|
42620
42620
|
], 64)) : (v(), y(Pe, { key: 1 }, [
|
|
42621
42621
|
r("button", {
|
|
42622
|
-
class:
|
|
42622
|
+
class: re(["relative", s.value.button])
|
|
42623
42623
|
}, [
|
|
42624
42624
|
(v(), y("svg", {
|
|
42625
|
-
class:
|
|
42625
|
+
class: re(
|
|
42626
42626
|
a.mode === "dark" ? "dark_new_update-icon" : "new_update-icon"
|
|
42627
42627
|
),
|
|
42628
42628
|
fill: "currentColor",
|
|
@@ -42635,10 +42635,10 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42635
42635
|
])
|
|
42636
42636
|
], -1)
|
|
42637
42637
|
])], 2)),
|
|
42638
|
-
s.value.text ? (v(), y("span", My,
|
|
42638
|
+
s.value.text ? (v(), y("span", My, le(s.value.text), 1)) : Z("", !0),
|
|
42639
42639
|
e.sparkles ? (v(), y("div", Ey, [
|
|
42640
42640
|
(v(), y("svg", {
|
|
42641
|
-
class:
|
|
42641
|
+
class: re(s.value.iconSize),
|
|
42642
42642
|
viewBox: "0 0 128 128"
|
|
42643
42643
|
}, [...f[3] || (f[3] = [
|
|
42644
42644
|
xe('<path d="M121.59 60.83l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.16-.59-.55-1.38-1.75-1.38c-1.01 0-1.59.79-1.75 1.38l-6.13 29.87c-2.46 9.06-7.67 16.27-16.58 19.21l-13.93 4.49c-1.97.64-2 3.42-.04 4.09l14.03 4.83c8.88 2.95 14.06 10.15 16.52 19.17l6.14 29.53c.16.59.49 1.65 1.75 1.65c1.33 0 1.59-1.06 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c1.94-.68 1.91-3.46-.06-4.1z" fill="#fdd835" data-v-b6196bab></path><path d="M122.91 62.08c-.22-.55-.65-1.03-1.32-1.25l-13.93-4.49c-8.91-2.94-14.13-10.15-16.58-19.21L84.95 7.27c-.09-.34-.41-.96-.78-1.14l1.98 29.97c1.47 13.68 2.73 20.12 13.65 22c9.38 1.62 20.23 3.48 23.11 3.98z" fill="#ffee58" data-v-b6196bab></path><path d="M122.94 63.64l-24.16 5.54c-8.51 2.16-13.2 7.09-13.2 19.99l-2.37 30.94c.81-.08 1.47-.52 1.75-1.65l6.14-29.53c2.46-9.03 7.64-16.23 16.52-19.17l14.03-4.83c.66-.24 1.08-.73 1.29-1.29z" fill="#f4b400" data-v-b6196bab></path><g data-v-b6196bab><path d="M41.81 86.81c-8.33-2.75-9.09-5.85-10.49-11.08l-3.49-12.24c-.21-.79-2.27-.79-2.49 0L22.97 74.8c-1.41 5.21-4.41 9.35-9.53 11.04l-8.16 3.54c-1.13.37-1.15 1.97-.02 2.35l8.22 2.91c5.1 1.69 8.08 5.83 9.5 11.02l2.37 10.82c.22.79 2.27.79 2.48 0l2.78-10.77c1.41-5.22 3.57-9.37 10.5-11.07l7.72-2.91c1.13-.39 1.12-1.99-.02-2.36l-7-2.56z" fill="#fdd835" data-v-b6196bab></path><path d="M28.49 75.55c.85 7.86 1.28 10.04 7.65 11.67l13.27 2.59c-.14-.19-.34-.35-.61-.43l-7-2.57c-7.31-2.5-9.33-5.68-10.7-12.04c-1.37-6.36-2.83-10.51-2.83-10.51c-.51-1.37-1.24-1.3-1.24-1.3l1.46 12.59z" fill="#ffee58" data-v-b6196bab></path><path d="M28.73 102.99c0-7.41 4.05-11.08 10.49-11.08l10.02-.41s-.58.77-1.59 1.01l-6.54 2.13c-5.55 2.23-8.08 3.35-9.8 10.94c0 0-2.22 8.83-2.64 9.76c-.58 1.3-1.27 1.57-1.27 1.57l1.33-13.92z" fill="#f4b400" data-v-b6196bab></path></g><path d="M59.74 28.14c.56-.19.54-.99-.03-1.15l-7.72-2.08a4.77 4.77 0 0 1-3.34-3.3L45.61 9.06c-.15-.61-1.02-.61-1.17.01l-2.86 12.5a4.734 4.734 0 0 1-3.4 3.37l-7.67 1.99c-.57.15-.61.95-.05 1.15l8.09 2.8c1.45.5 2.57 1.68 3.01 3.15l2.89 11.59c.15.6 1.01.61 1.16 0l2.99-11.63a4.773 4.773 0 0 1 3.04-3.13l8.1-2.72z" fill="#f4b400" stroke="#f4b400" stroke-miterlimit="10" data-v-b6196bab></path>', 5)
|
|
@@ -42646,7 +42646,7 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42646
42646
|
])) : Z("", !0)
|
|
42647
42647
|
], 2),
|
|
42648
42648
|
Ye(r("p", {
|
|
42649
|
-
class:
|
|
42649
|
+
class: re(s.value.tooltip)
|
|
42650
42650
|
}, " Notas de atualização ", 2), [
|
|
42651
42651
|
[Zt, s.value.tooltip]
|
|
42652
42652
|
])
|
|
@@ -42693,20 +42693,20 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42693
42693
|
n("update:modelValue", null);
|
|
42694
42694
|
};
|
|
42695
42695
|
return (s, i) => (v(), y("button", {
|
|
42696
|
-
class:
|
|
42696
|
+
class: re(e.baseClass)
|
|
42697
42697
|
}, [
|
|
42698
42698
|
e.modelValue ? (v(), y("img", {
|
|
42699
42699
|
key: 1,
|
|
42700
42700
|
src: typeof e.modelValue == "string" && e.modelValue.startsWith("data:image/") ? e.modelValue : `${e.modelValue}?t=${Date.now()}`,
|
|
42701
42701
|
onClick: a,
|
|
42702
|
-
class:
|
|
42702
|
+
class: re(`${e.sizeClass} rounded-xl z-10 object-center bg-base-300 object-scale-down hover:bg-base-300/70`)
|
|
42703
42703
|
}, null, 10, Ly)) : (v(), y("section", {
|
|
42704
42704
|
key: 0,
|
|
42705
|
-
class:
|
|
42705
|
+
class: re(`flex items-center justify-center ${e.sizeClass}`),
|
|
42706
42706
|
onClick: a
|
|
42707
42707
|
}, [
|
|
42708
42708
|
r("span", {
|
|
42709
|
-
class:
|
|
42709
|
+
class: re("p-3 rounded-xl text-gray-400 hover:scale-105 hover:text-primary hover:border-primary"),
|
|
42710
42710
|
innerHTML: e.emptyPlaceholder
|
|
42711
42711
|
}, null, 8, Ty)
|
|
42712
42712
|
], 2)),
|
|
@@ -42796,10 +42796,10 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42796
42796
|
}, [
|
|
42797
42797
|
e.modelValue.length ? (v(), y("span", $y, [
|
|
42798
42798
|
c[2] || (c[2] = Qe(" Selecionados: ", -1)),
|
|
42799
|
-
r("a", Dy,
|
|
42800
|
-
])) : (v(), y("span", Fy,
|
|
42799
|
+
r("a", Dy, le(e.modelValue.length), 1)
|
|
42800
|
+
])) : (v(), y("span", Fy, le(e.placeholder), 1)),
|
|
42801
42801
|
(v(), y("svg", {
|
|
42802
|
-
class:
|
|
42802
|
+
class: re([
|
|
42803
42803
|
"size-3.5 text-white transition duration-300",
|
|
42804
42804
|
o.value ? "rotate-180" : ""
|
|
42805
42805
|
]),
|
|
@@ -42832,13 +42832,13 @@ $bm_rt = loopOut('cycle', 0);`
|
|
|
42832
42832
|
]),
|
|
42833
42833
|
(v(!0), y(Pe, null, Ie(l.value, (m) => (v(), y("button", {
|
|
42834
42834
|
key: m.id,
|
|
42835
|
-
class:
|
|
42835
|
+
class: re([
|
|
42836
42836
|
e.modelValue.some((h) => h.id === m.id) ? "bg-green-500/30 hover:bg-green-500/50" : "hover:bg-base-200",
|
|
42837
42837
|
"flex items-center justify-between gap-2 px-3 py-2 cursor-pointer transition w-full"
|
|
42838
42838
|
]),
|
|
42839
42839
|
onClick: (h) => f(m)
|
|
42840
42840
|
}, [
|
|
42841
|
-
r("span", Hy,
|
|
42841
|
+
r("span", Hy, le(m.name), 1),
|
|
42842
42842
|
e.modelValue.some((h) => h.id === m.id) ? (v(), y("svg", _y, [...c[4] || (c[4] = [
|
|
42843
42843
|
r("path", {
|
|
42844
42844
|
stroke: "currentColor",
|
|
@@ -43037,15 +43037,15 @@ const zy = {
|
|
|
43037
43037
|
e.multiple ? (v(), y(Pe, { key: 0 }, [
|
|
43038
43038
|
e.modelValue.length ? (v(), y("span", jy, [
|
|
43039
43039
|
F[3] || (F[3] = Qe(" Selecionados: ", -1)),
|
|
43040
|
-
r("a", Ny,
|
|
43040
|
+
r("a", Ny, le(e.modelValue.length), 1)
|
|
43041
43041
|
])) : (v(), y("span", zy, " Selecione suas etiquetas "))
|
|
43042
43042
|
], 64)) : (v(), y(Pe, { key: 1 }, [
|
|
43043
43043
|
e.modelValue.length ? (v(), y("section", Iy, [
|
|
43044
|
-
r("span", Wy,
|
|
43044
|
+
r("span", Wy, le((H = e.modelValue[0]) == null ? void 0 : H.name), 1)
|
|
43045
43045
|
])) : (v(), y("span", Gy, " Selecione a etiqueta "))
|
|
43046
43046
|
], 64)),
|
|
43047
43047
|
(v(), y("svg", {
|
|
43048
|
-
class:
|
|
43048
|
+
class: re([
|
|
43049
43049
|
"size-3.5 text-white transition duration-300",
|
|
43050
43050
|
o.value ? "rotate-180" : ""
|
|
43051
43051
|
]),
|
|
@@ -43082,7 +43082,7 @@ const zy = {
|
|
|
43082
43082
|
]),
|
|
43083
43083
|
(v(!0), y(Pe, null, Ie(S.value, (P) => (v(), y("button", {
|
|
43084
43084
|
key: P.id,
|
|
43085
|
-
class:
|
|
43085
|
+
class: re([
|
|
43086
43086
|
e.modelValue.some((A) => A.id === P.id) ? "bg-green-500/30 hover:bg-green-500/50" : "hover:bg-base-200",
|
|
43087
43087
|
"flex items-center justify-between gap-2 px-3 py-2 cursor-pointer transition w-full"
|
|
43088
43088
|
]),
|
|
@@ -43102,8 +43102,8 @@ const zy = {
|
|
|
43102
43102
|
])], 4)),
|
|
43103
43103
|
r("span", {
|
|
43104
43104
|
style: Ze({ backgroundColor: P.color || "#ffff" }),
|
|
43105
|
-
class:
|
|
43106
|
-
},
|
|
43105
|
+
class: re(["text-xs truncate max-w-32 p-1 rounded-r-md", Se(In)(P.color || "#ffff")])
|
|
43106
|
+
}, le(P.name), 7)
|
|
43107
43107
|
]),
|
|
43108
43108
|
e.modelValue.some((A) => A.id === P.id) ? (v(), y("svg", Yy, [...F[6] || (F[6] = [
|
|
43109
43109
|
r("path", {
|
|
@@ -43153,7 +43153,7 @@ const zy = {
|
|
|
43153
43153
|
]),
|
|
43154
43154
|
(v(!0), y(Pe, null, Ie(S.value, (P) => (v(), y("button", {
|
|
43155
43155
|
key: P.id,
|
|
43156
|
-
class:
|
|
43156
|
+
class: re([
|
|
43157
43157
|
e.modelValue.some((A) => A.id === P.id) ? "bg-green-500/30 hover:bg-green-500/50" : "hover:bg-base-200",
|
|
43158
43158
|
"flex items-center justify-between gap-2 px-3 py-2 cursor-pointer transition w-full"
|
|
43159
43159
|
]),
|
|
@@ -43173,8 +43173,8 @@ const zy = {
|
|
|
43173
43173
|
])], 4)),
|
|
43174
43174
|
r("span", {
|
|
43175
43175
|
style: Ze({ backgroundColor: P.color || "#ffff" }),
|
|
43176
|
-
class:
|
|
43177
|
-
},
|
|
43176
|
+
class: re(["text-xs truncate max-w-32 p-1 rounded-r-md", Se(In)(P.color || "#ffff")])
|
|
43177
|
+
}, le(P.name), 7)
|
|
43178
43178
|
]),
|
|
43179
43179
|
e.modelValue.some((A) => A.id === P.id) ? (v(), y("svg", ex, [...F[10] || (F[10] = [
|
|
43180
43180
|
r("path", {
|
|
@@ -43257,7 +43257,7 @@ const zy = {
|
|
|
43257
43257
|
const u = Dt("Popper");
|
|
43258
43258
|
return v(), y("section", ax, [
|
|
43259
43259
|
r("header", ox, [
|
|
43260
|
-
r("p", sx,
|
|
43260
|
+
r("p", sx, le(o.title), 1),
|
|
43261
43261
|
o.info ? (v(), ze(u, {
|
|
43262
43262
|
key: 0,
|
|
43263
43263
|
hover: "",
|
|
@@ -43283,7 +43283,7 @@ const zy = {
|
|
|
43283
43283
|
}, 8, ["content"])) : Z("", !0)
|
|
43284
43284
|
]),
|
|
43285
43285
|
r("div", {
|
|
43286
|
-
class:
|
|
43286
|
+
class: re([
|
|
43287
43287
|
"input__container",
|
|
43288
43288
|
i.value ? "input__container--error" : "",
|
|
43289
43289
|
o.type === "textArea" ? "textArea" : ""
|
|
@@ -43291,7 +43291,7 @@ const zy = {
|
|
|
43291
43291
|
}, [
|
|
43292
43292
|
o.type !== "textArea" ? (v(), y("span", {
|
|
43293
43293
|
key: 0,
|
|
43294
|
-
class:
|
|
43294
|
+
class: re(i.value ? "text-red-500" : "text-base-100"),
|
|
43295
43295
|
innerHTML: o.svg
|
|
43296
43296
|
}, null, 10, ix)) : Z("", !0),
|
|
43297
43297
|
o.type !== "textArea" ? Ye((v(), y("input", {
|
|
@@ -43299,12 +43299,12 @@ const zy = {
|
|
|
43299
43299
|
key: o.type,
|
|
43300
43300
|
placeholder: o.placeholder,
|
|
43301
43301
|
"onUpdate:modelValue": f[0] || (f[0] = (c) => s.value = c),
|
|
43302
|
-
class:
|
|
43302
|
+
class: re([i.value ? "empty" : null, "input__field"])
|
|
43303
43303
|
}, null, 10, rx)), [
|
|
43304
43304
|
[ii, s.value]
|
|
43305
43305
|
]) : Ye((v(), y("textarea", {
|
|
43306
43306
|
key: 2,
|
|
43307
|
-
class:
|
|
43307
|
+
class: re([i.value ? "empty" : null, "input__field h-full resize-y"]),
|
|
43308
43308
|
"onUpdate:modelValue": f[1] || (f[1] = (c) => s.value = c),
|
|
43309
43309
|
placeholder: o.placeholder
|
|
43310
43310
|
}, null, 10, lx)), [
|
|
@@ -43419,7 +43419,7 @@ const zy = {
|
|
|
43419
43419
|
}, [
|
|
43420
43420
|
r("div", {
|
|
43421
43421
|
onClick: d[0] || (d[0] = (p) => o.value = !o.value),
|
|
43422
|
-
class:
|
|
43422
|
+
class: re([
|
|
43423
43423
|
"flex flex-wrap items-center justify-between p-3 gap-2 rounded-md cursor-pointer transition",
|
|
43424
43424
|
e.theme
|
|
43425
43425
|
]),
|
|
@@ -43427,13 +43427,13 @@ const zy = {
|
|
|
43427
43427
|
ref: i
|
|
43428
43428
|
}, [
|
|
43429
43429
|
r("span", {
|
|
43430
|
-
class:
|
|
43430
|
+
class: re([
|
|
43431
43431
|
"text-xs truncate max-w-full",
|
|
43432
43432
|
h.value === e.placeholder ? "text-gray-400" : "text-white"
|
|
43433
43433
|
])
|
|
43434
|
-
},
|
|
43434
|
+
}, le(h.value), 3),
|
|
43435
43435
|
(v(), y("svg", {
|
|
43436
|
-
class:
|
|
43436
|
+
class: re([
|
|
43437
43437
|
"size-3 text-white transition-transform duration-300",
|
|
43438
43438
|
o.value ? "rotate-180" : ""
|
|
43439
43439
|
]),
|
|
@@ -43452,20 +43452,20 @@ const zy = {
|
|
|
43452
43452
|
], 2),
|
|
43453
43453
|
o.value && !e.teleportTo ? (v(), y("div", {
|
|
43454
43454
|
key: 0,
|
|
43455
|
-
class:
|
|
43455
|
+
class: re([
|
|
43456
43456
|
"absolute flex flex-col z-10 mt-1.5 w-full shadow-sm border rounded-md max-h-64 overflow-y-auto hide-scrollbar",
|
|
43457
43457
|
e.theme
|
|
43458
43458
|
])
|
|
43459
43459
|
}, [
|
|
43460
43460
|
(v(!0), y(Pe, null, Ie(e.options, (p) => (v(), y("button", {
|
|
43461
43461
|
key: p.value,
|
|
43462
|
-
class:
|
|
43462
|
+
class: re([
|
|
43463
43463
|
c(p.value) ? "bg-green-500/30 hover:bg-green-500/50" : "hover:bg-base-200",
|
|
43464
43464
|
"flex items-center justify-between gap-2 px-3 py-2 text-left text-sm cursor-pointer transition w-full"
|
|
43465
43465
|
]),
|
|
43466
43466
|
onClick: (x) => m(p.value)
|
|
43467
43467
|
}, [
|
|
43468
|
-
r("span", null,
|
|
43468
|
+
r("span", null, le(p.name), 1),
|
|
43469
43469
|
c(p.value) ? (v(), y("svg", fx, [...d[2] || (d[2] = [
|
|
43470
43470
|
r("path", {
|
|
43471
43471
|
"stroke-linecap": "round",
|
|
@@ -43482,20 +43482,20 @@ const zy = {
|
|
|
43482
43482
|
}, [
|
|
43483
43483
|
r("div", {
|
|
43484
43484
|
style: Ze(l.value),
|
|
43485
|
-
class:
|
|
43485
|
+
class: re([
|
|
43486
43486
|
"flex flex-col shadow-sm border rounded-md max-h-64 overflow-y-auto hide-scrollbar",
|
|
43487
43487
|
e.theme
|
|
43488
43488
|
])
|
|
43489
43489
|
}, [
|
|
43490
43490
|
(v(!0), y(Pe, null, Ie(e.options, (p) => (v(), y("button", {
|
|
43491
43491
|
key: p.value,
|
|
43492
|
-
class:
|
|
43492
|
+
class: re([
|
|
43493
43493
|
c(p.value) ? "bg-green-500/30 hover:bg-green-500/50" : "hover:bg-base-200",
|
|
43494
43494
|
"flex items-center justify-between gap-2 px-3 py-2 text-left text-sm cursor-pointer transition w-full"
|
|
43495
43495
|
]),
|
|
43496
43496
|
onClick: (x) => m(p.value)
|
|
43497
43497
|
}, [
|
|
43498
|
-
r("span", null,
|
|
43498
|
+
r("span", null, le(p.name), 1),
|
|
43499
43499
|
c(p.value) ? (v(), y("svg", mx, [...d[3] || (d[3] = [
|
|
43500
43500
|
r("path", {
|
|
43501
43501
|
"stroke-linecap": "round",
|
|
@@ -43529,11 +43529,11 @@ const zy = {
|
|
|
43529
43529
|
return (l, f) => (v(), y("div", gx, [
|
|
43530
43530
|
r("button", {
|
|
43531
43531
|
onClick: f[0] || (f[0] = (u) => o("won")),
|
|
43532
|
-
class:
|
|
43532
|
+
class: re(["button_outcome-base", { "button_outcome-active-won": s.value }])
|
|
43533
43533
|
}, [
|
|
43534
43534
|
f[3] || (f[3] = r("p", null, "Ganho", -1)),
|
|
43535
43535
|
(v(), y("svg", {
|
|
43536
|
-
class:
|
|
43536
|
+
class: re([{ "svg_outcome-active-won": s.value }, "text-white size-4"]),
|
|
43537
43537
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43538
43538
|
viewBox: "0 0 20 20",
|
|
43539
43539
|
fill: "none"
|
|
@@ -43550,10 +43550,10 @@ const zy = {
|
|
|
43550
43550
|
], 2),
|
|
43551
43551
|
r("button", {
|
|
43552
43552
|
onClick: f[1] || (f[1] = (u) => o("lost")),
|
|
43553
|
-
class:
|
|
43553
|
+
class: re(["button_outcome-base", { "button_outcome-active-lost": i.value }])
|
|
43554
43554
|
}, [
|
|
43555
43555
|
(v(), y("svg", {
|
|
43556
|
-
class:
|
|
43556
|
+
class: re([{ "svg_outcome-active-lost": i.value }, "text-white size-4 mt-0.8"]),
|
|
43557
43557
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43558
43558
|
viewBox: "0 0 20 19",
|
|
43559
43559
|
fill: "none"
|
|
@@ -43612,7 +43612,7 @@ const zy = {
|
|
|
43612
43612
|
}, [
|
|
43613
43613
|
(v(), y(Pe, null, Ie(5, (h) => r("div", {
|
|
43614
43614
|
key: h,
|
|
43615
|
-
class:
|
|
43615
|
+
class: re(["relative", {
|
|
43616
43616
|
"cursor-pointer": !n.readonly,
|
|
43617
43617
|
"cursor-default": n.readonly
|
|
43618
43618
|
}]),
|
|
@@ -43631,7 +43631,7 @@ const zy = {
|
|
|
43631
43631
|
r("path", { d: "M13.849 4.22c-.684-1.626-3.014-1.626-3.698 0L8.397 8.387l-4.552.361c-1.775.14-2.495 2.331-1.142 3.477l3.468 2.937-1.06 4.392c-.413 1.713 1.472 3.067 2.992 2.149L12 19.35l3.897 2.354c1.52.918 3.405-.436 2.992-2.15l-1.06-4.39 3.468-2.938c1.353-1.146.633-3.336-1.142-3.477l-4.552-.36-1.754-4.17Z" }, null, -1)
|
|
43632
43632
|
])], 4)),
|
|
43633
43633
|
r("div", {
|
|
43634
|
-
class:
|
|
43634
|
+
class: re(["absolute top-0 left-0 h-full overflow-hidden transition-all duration-150", {
|
|
43635
43635
|
"text-primary": !s.value,
|
|
43636
43636
|
"text-hover": s.value > 0
|
|
43637
43637
|
}]),
|
|
@@ -43778,7 +43778,7 @@ const zy = {
|
|
|
43778
43778
|
}, null, 512), [
|
|
43779
43779
|
[kt, S.value.query]
|
|
43780
43780
|
]),
|
|
43781
|
-
r("section", Sx, " Valor total: " +
|
|
43781
|
+
r("section", Sx, " Valor total: " + le(c.value.toLocaleString("pt-BR", {
|
|
43782
43782
|
style: "currency",
|
|
43783
43783
|
currency: "BRL"
|
|
43784
43784
|
})), 1)
|
|
@@ -43822,16 +43822,16 @@ const zy = {
|
|
|
43822
43822
|
r("section", Fx, [
|
|
43823
43823
|
r("p", {
|
|
43824
43824
|
title: k.name,
|
|
43825
|
-
class:
|
|
43826
|
-
},
|
|
43825
|
+
class: re(["text-xs text-start font-semibold truncate max-w-32", h(k) > 0 ? "text-white" : ""])
|
|
43826
|
+
}, le(k.name), 11, $x),
|
|
43827
43827
|
r("span", Dx, [
|
|
43828
|
-
r("p", Bx, " R$ " +
|
|
43828
|
+
r("p", Bx, " R$ " + le(k.price.toLocaleString("pt-BR", {
|
|
43829
43829
|
style: "currency",
|
|
43830
43830
|
currency: "BRL"
|
|
43831
43831
|
})), 1),
|
|
43832
43832
|
h(k) > 0 ? (v(), y("p", Ox, [
|
|
43833
|
-
Qe(" - x " +
|
|
43834
|
-
r("a", Px,
|
|
43833
|
+
Qe(" - x " + le(h(k)) + " = ", 1),
|
|
43834
|
+
r("a", Px, le((k.price * h(k)).toLocaleString("pt-BR", {
|
|
43835
43835
|
style: "currency",
|
|
43836
43836
|
currency: "BRL"
|
|
43837
43837
|
})), 1)
|
|
@@ -43841,19 +43841,19 @@ const zy = {
|
|
|
43841
43841
|
]),
|
|
43842
43842
|
r("section", Hx, [
|
|
43843
43843
|
r("p", {
|
|
43844
|
-
class:
|
|
43844
|
+
class: re([
|
|
43845
43845
|
"text-xs font-semibold font-sans products-and-services_badge",
|
|
43846
43846
|
k.recurrence
|
|
43847
43847
|
])
|
|
43848
|
-
},
|
|
43848
|
+
}, le(k.recurrence === "monthly" ? "Mensal" : "Único"), 3),
|
|
43849
43849
|
r("div", _x, [
|
|
43850
43850
|
r("button", {
|
|
43851
43851
|
class: "action-list-button",
|
|
43852
43852
|
onClick: (H) => d(k)
|
|
43853
43853
|
}, " - ", 8, Vx),
|
|
43854
43854
|
r("p", {
|
|
43855
|
-
class:
|
|
43856
|
-
},
|
|
43855
|
+
class: re(["w-5 text-xs flex items-center justify-center font-semibold font-sans", h(k) > 0 ? "text-white" : ""])
|
|
43856
|
+
}, le(h(k)), 3),
|
|
43857
43857
|
r("button", {
|
|
43858
43858
|
class: "action-list-button",
|
|
43859
43859
|
onClick: (H) => g(k)
|
|
@@ -43897,10 +43897,7 @@ function qx(e, t) {
|
|
|
43897
43897
|
const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502dd"]]), Ux = {
|
|
43898
43898
|
key: 0,
|
|
43899
43899
|
class: "flex items-center justify-center overflow-hidden h-svh"
|
|
43900
|
-
}, Zx = {
|
|
43901
|
-
key: 1,
|
|
43902
|
-
class: "rounded-md lg:h-svh bg-base-200 border border-white/10 shadow-sm transition-shadow duration-200 hover:shadow-md p-1"
|
|
43903
|
-
}, Yx = { class: "flex flex-col gap-2" }, Xx = ["onUpdate:modelValue"], Kx = { class: "text-[10px] font-sans" }, Qx = ["onUpdate:modelValue"], Jx = ["onUpdate:modelValue"], eb = {
|
|
43900
|
+
}, Zx = { key: 1 }, Yx = { class: "flex flex-col gap-2 p-2" }, Xx = ["id", "onUpdate:modelValue"], Kx = ["for", "title"], Qx = ["id", "onUpdate:modelValue"], Jx = ["id", "onUpdate:modelValue"], eb = {
|
|
43904
43901
|
key: 2,
|
|
43905
43902
|
class: "rounded-md h-svh bg-base-200 border border-white/10 shadow-sm transition-shadow duration-200 hover:shadow-md p-1 flex flex-col items-center justify-center gap-2"
|
|
43906
43903
|
}, tb = {
|
|
@@ -43941,30 +43938,40 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
43941
43938
|
return s.value ? (v(), y("div", Ux, [
|
|
43942
43939
|
Me($a)
|
|
43943
43940
|
])) : o.value.length > 0 ? (v(), y("div", Zx, [
|
|
43944
|
-
u[0] || (u[0] = r("header", {
|
|
43945
|
-
|
|
43941
|
+
u[0] || (u[0] = r("header", {
|
|
43942
|
+
style: { "z-index": "9999" },
|
|
43943
|
+
class: "sticky bg-base-200 top-0 text-start w-full items-center justify-between flex mb-2 px-2 py-2"
|
|
43944
|
+
}, [
|
|
43945
|
+
r("p", { class: "text-xs font-semibold" }, "Campos Personalizados")
|
|
43946
43946
|
], -1)),
|
|
43947
43947
|
r("div", Yx, [
|
|
43948
43948
|
(v(!0), y(Pe, null, Ie(o.value, (m) => (v(), y("section", {
|
|
43949
43949
|
key: m.id
|
|
43950
43950
|
}, [
|
|
43951
43951
|
r("div", {
|
|
43952
|
-
class:
|
|
43953
|
-
"flex gap-1
|
|
43952
|
+
class: re([
|
|
43953
|
+
"flex w-full gap-1.5 rounded-md",
|
|
43954
43954
|
m.type === "bool" ? "flex-row items-center" : "flex-col items-start"
|
|
43955
43955
|
])
|
|
43956
43956
|
}, [
|
|
43957
43957
|
m.type === "bool" ? Ye((v(), y("input", {
|
|
43958
43958
|
key: 0,
|
|
43959
|
+
id: "seg-label-" + m.id,
|
|
43959
43960
|
class: "checkbox size-4 rounded-sm",
|
|
43960
43961
|
type: "checkbox",
|
|
43961
43962
|
"onUpdate:modelValue": (h) => m.content = h
|
|
43962
43963
|
}, null, 8, Xx)), [
|
|
43963
43964
|
[yo, m.content]
|
|
43964
43965
|
]) : Z("", !0),
|
|
43965
|
-
r("
|
|
43966
|
-
|
|
43966
|
+
r("label", {
|
|
43967
|
+
for: "seg-label-" + m.id,
|
|
43968
|
+
class: "text-xs text-[12px] font-sans font-semibold",
|
|
43969
|
+
title: m.type === "string" ? "texto" : m.type === "bool" ? "verdadeiro/falso" : m.type === "float" ? "número" : m.type === "list" ? "lista" : "Desconhecido"
|
|
43970
|
+
}, le(m.name), 9, Kx),
|
|
43971
|
+
m.type === "string" ? Ye((v(), y("textarea", {
|
|
43967
43972
|
key: 1,
|
|
43973
|
+
id: "seg-label-" + m.id,
|
|
43974
|
+
placeholder: "campo do tipo texto",
|
|
43968
43975
|
class: "input_field",
|
|
43969
43976
|
type: "text",
|
|
43970
43977
|
"onUpdate:modelValue": (h) => m.content = h
|
|
@@ -43973,6 +43980,8 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
43973
43980
|
]) : Z("", !0),
|
|
43974
43981
|
m.type === "float" ? Ye((v(), y("input", {
|
|
43975
43982
|
key: 2,
|
|
43983
|
+
id: "seg-label-" + m.id,
|
|
43984
|
+
placeholder: "campo do tipo número",
|
|
43976
43985
|
class: "input_field",
|
|
43977
43986
|
type: "number",
|
|
43978
43987
|
"onUpdate:modelValue": (h) => m.content = h
|
|
@@ -44003,7 +44012,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44003
44012
|
])]));
|
|
44004
44013
|
};
|
|
44005
44014
|
}
|
|
44006
|
-
}, nb = /* @__PURE__ */ Oe(tb, [["__scopeId", "data-v-
|
|
44015
|
+
}, nb = /* @__PURE__ */ Oe(tb, [["__scopeId", "data-v-633feaac"]]), ab = { class: "modal-form-head" }, ob = { class: "modal_responsive" }, sb = {
|
|
44007
44016
|
style: { "min-height": "100%" },
|
|
44008
44017
|
class: "flex min-h-full items-center justify-center text-center"
|
|
44009
44018
|
}, ib = { class: "modal-form-container" }, rb = { class: "flex justify-between p-2.5 rounded-t-2xl bg-base-300 items-center text-current" }, lb = { class: "flex items-center gap-2" }, cb = { class: "flex flex-col items-start" }, db = { class: "text-lg font-semibold" }, ub = {
|
|
@@ -44018,19 +44027,19 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44018
44027
|
}, yb = { class: "flex flex-col gap-1.5 w-full h-full overflow-y-auto overflow-x-hidden" }, xb = { class: "w-full" }, bb = { class: "flex flex-col gap-2 w-full" }, kb = { class: "flex items-center justify-between px-1" }, wb = {
|
|
44019
44028
|
key: 0,
|
|
44020
44029
|
class: "flex flex-1 min-h-0 flex-col gap-2"
|
|
44021
|
-
}, Cb = { class: "flex items-center justify-between px-1" }, Sb = { class: "w-full h-full bg-base-300 rounded-lg flex flex-col min-h-0" }, Mb = { class: "bg-base-300 flex flex-col h-full min-h-0 overflow-hidden" }, Eb = {
|
|
44030
|
+
}, Cb = { class: "flex items-center justify-between px-1" }, Sb = { class: "w-full h-full bg-base-300 rounded-lg flex flex-col min-h-0" }, Mb = { class: "bg-base-300 rounded-l-md px-0.5 py-1 flex flex-col h-full min-h-0 overflow-hidden" }, Eb = {
|
|
44022
44031
|
key: 0,
|
|
44023
44032
|
class: "flex gap-1 px-1.5"
|
|
44024
|
-
}, Ab = ["disabled"], Tb = { class: "flex
|
|
44033
|
+
}, Ab = ["disabled"], Tb = { class: "flex w-full relative" }, Lb = {
|
|
44025
44034
|
key: 0,
|
|
44026
44035
|
class: "text-xs absolute z-50 -bottom-2 left-1 bg-base-300 px-2 py-0.5 rounded-lg text-red-500 select-none shadow-sm shadow-base-100"
|
|
44027
|
-
},
|
|
44036
|
+
}, Fb = { class: "flex-1 min-h-0 overflow-y-auto bg-base-200 rounded-md border border-white/10 shadow-sm transition-shadow duration-200 hover:shadow-md" }, $b = { class: "flex-1 min-h-0 overflow-y-auto" }, Db = { class: "modal_end_button" }, Bb = ["disabled"], Ob = {
|
|
44028
44037
|
key: 0,
|
|
44029
44038
|
class: "size-4 animate-spin rounded-full border-4 border-solid text-white border-t-transparent"
|
|
44030
|
-
},
|
|
44039
|
+
}, Pb = {
|
|
44031
44040
|
key: 1,
|
|
44032
44041
|
class: "text-xs font-semibold"
|
|
44033
|
-
},
|
|
44042
|
+
}, Hb = {
|
|
44034
44043
|
__name: "clientsForm",
|
|
44035
44044
|
props: {
|
|
44036
44045
|
// --- Estado atual do formulário caso preenchido ---
|
|
@@ -44134,7 +44143,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44134
44143
|
r("div", sb, [
|
|
44135
44144
|
r("div", ib, [
|
|
44136
44145
|
r("div", {
|
|
44137
|
-
class:
|
|
44146
|
+
class: re([{ noCrmPlus: !e.hasCrmPlus }, "clients-form-background relative rounded-2xl bg-base-200 backdrop-blur-lg"])
|
|
44138
44147
|
}, [
|
|
44139
44148
|
r("div", rb, [
|
|
44140
44149
|
r("span", lb, [
|
|
@@ -44154,8 +44163,8 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44154
44163
|
})
|
|
44155
44164
|
], -1)),
|
|
44156
44165
|
r("span", cb, [
|
|
44157
|
-
r("p", db,
|
|
44158
|
-
s.id ? (v(), y("p", ub, " ID: " +
|
|
44166
|
+
r("p", db, le(u.value), 1),
|
|
44167
|
+
s.id ? (v(), y("p", ub, " ID: " + le(s.id), 1)) : Z("", !0)
|
|
44159
44168
|
])
|
|
44160
44169
|
]),
|
|
44161
44170
|
r("section", fb, [
|
|
@@ -44184,7 +44193,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44184
44193
|
r("div", hb, [
|
|
44185
44194
|
r("section", mb, [
|
|
44186
44195
|
r("div", {
|
|
44187
|
-
class:
|
|
44196
|
+
class: re([e.hasCrmPlus ? "justify-between" : "justify-center", "flex flex-col gap-2 items-center"])
|
|
44188
44197
|
}, [
|
|
44189
44198
|
e.hasCrmPlus ? (v(), ze(La, {
|
|
44190
44199
|
key: 0,
|
|
@@ -44302,11 +44311,11 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44302
44311
|
[kt, s.notes]
|
|
44303
44312
|
]),
|
|
44304
44313
|
r("div", {
|
|
44305
|
-
class:
|
|
44314
|
+
class: re([
|
|
44306
44315
|
"text-[10px] bg-base-300 px-1 rounded-md text-right mb-1 mr-1",
|
|
44307
44316
|
((b = s.notes) == null ? void 0 : b.length) > 900 ? "text-red-500" : ((C = s.notes) == null ? void 0 : C.length) > 700 ? "text-yellow-500" : "text-gray-400"
|
|
44308
44317
|
])
|
|
44309
|
-
},
|
|
44318
|
+
}, le(((S = s.notes) == null ? void 0 : S.length) || 0) + "/1000 ", 3)
|
|
44310
44319
|
])
|
|
44311
44320
|
])) : Z("", !0)
|
|
44312
44321
|
])
|
|
@@ -44314,14 +44323,14 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44314
44323
|
r("section", Mb, [
|
|
44315
44324
|
e.hasCrmPlus ? (v(), y("div", Eb, [
|
|
44316
44325
|
r("button", {
|
|
44317
|
-
class:
|
|
44326
|
+
class: re([
|
|
44318
44327
|
"toggle-page-button",
|
|
44319
44328
|
{ selected: a.value === "data" }
|
|
44320
44329
|
]),
|
|
44321
44330
|
onClick: d[7] || (d[7] = (E) => a.value = "data")
|
|
44322
44331
|
}, " Informações ", 2),
|
|
44323
44332
|
r("button", {
|
|
44324
|
-
class:
|
|
44333
|
+
class: re([
|
|
44325
44334
|
"toggle-page-button",
|
|
44326
44335
|
{ selected: a.value === "products" }
|
|
44327
44336
|
]),
|
|
@@ -44331,9 +44340,14 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44331
44340
|
r("p", null, "Produtos", -1)
|
|
44332
44341
|
])], 10, Ab)
|
|
44333
44342
|
])) : Z("", !0),
|
|
44334
|
-
Ye(r("div",
|
|
44343
|
+
Ye(r("div", {
|
|
44344
|
+
class: re([
|
|
44345
|
+
e.hasCrmPlus ? "pt-1.5" : "pt-0",
|
|
44346
|
+
"flex flex-col gap-2 flex-1 min-h-0 px-1.5 overflow-hidden"
|
|
44347
|
+
])
|
|
44348
|
+
}, [
|
|
44335
44349
|
r("div", {
|
|
44336
|
-
class:
|
|
44350
|
+
class: re([
|
|
44337
44351
|
m.value && !s.telephone ? "border-red-500" : "border-white/10",
|
|
44338
44352
|
"rounded-md bg-base-200 border shadow-sm transition-shadow duration-200 hover:shadow-md"
|
|
44339
44353
|
])
|
|
@@ -44341,7 +44355,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44341
44355
|
d[23] || (d[23] = r("h1", { class: "text-start w-full items-center justify-between flex p-2" }, [
|
|
44342
44356
|
r("p", { class: "text-xs font-semibold" }, "Contatos")
|
|
44343
44357
|
], -1)),
|
|
44344
|
-
r("div",
|
|
44358
|
+
r("div", Tb, [
|
|
44345
44359
|
d[22] || (d[22] = r("span", {
|
|
44346
44360
|
style: { "border-bottom-left-radius": "0.4rem" },
|
|
44347
44361
|
class: "bg-base-300 rounded-bl-lg rounded-t-none flex justify-center items-center w-8"
|
|
@@ -44375,19 +44389,19 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44375
44389
|
modelValue: s.telephone,
|
|
44376
44390
|
"onUpdate:modelValue": d[10] || (d[10] = (E) => s.telephone = E)
|
|
44377
44391
|
}, null, 8, ["defaultCountry", "modelValue"]),
|
|
44378
|
-
m.value && !s.telephone ? (v(), y("span",
|
|
44392
|
+
m.value && !s.telephone ? (v(), y("span", Lb, " Campo obrigatorio ")) : Z("", !0)
|
|
44379
44393
|
])
|
|
44380
44394
|
], 2),
|
|
44381
|
-
r("div",
|
|
44395
|
+
r("div", Fb, [
|
|
44382
44396
|
Me(nb, {
|
|
44383
44397
|
modelValue: s.segmentation_fields,
|
|
44384
44398
|
"onUpdate:modelValue": d[11] || (d[11] = (E) => s.segmentation_fields = E)
|
|
44385
44399
|
}, null, 8, ["modelValue"])
|
|
44386
44400
|
])
|
|
44387
|
-
],
|
|
44401
|
+
], 2), [
|
|
44388
44402
|
[Zt, a.value === "data"]
|
|
44389
44403
|
]),
|
|
44390
|
-
Ye(r("div",
|
|
44404
|
+
Ye(r("div", $b, [
|
|
44391
44405
|
Me(Gx, {
|
|
44392
44406
|
allProducts: e.allProducts,
|
|
44393
44407
|
modelValue: s.products,
|
|
@@ -44398,14 +44412,14 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44398
44412
|
])
|
|
44399
44413
|
])
|
|
44400
44414
|
]),
|
|
44401
|
-
r("div",
|
|
44415
|
+
r("div", Db, [
|
|
44402
44416
|
r("button", {
|
|
44403
44417
|
disabled: i.value,
|
|
44404
44418
|
class: "bg-green-500 py-2 px-4 rounded-lg text-sm font-medium hover:bg-green-500/80 transition-colors flex gap-2 items-center justify-center min-w-32",
|
|
44405
44419
|
onClick: d[13] || (d[13] = (E) => h())
|
|
44406
44420
|
}, [
|
|
44407
|
-
i.value ? (v(), y("div",
|
|
44408
|
-
], 8,
|
|
44421
|
+
i.value ? (v(), y("div", Ob)) : (v(), y("p", Pb, "Salvar"))
|
|
44422
|
+
], 8, Bb)
|
|
44409
44423
|
])
|
|
44410
44424
|
], 2)
|
|
44411
44425
|
])
|
|
@@ -44414,15 +44428,15 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44414
44428
|
]);
|
|
44415
44429
|
};
|
|
44416
44430
|
}
|
|
44417
|
-
}, Ns = /* @__PURE__ */ Oe(
|
|
44431
|
+
}, Ns = /* @__PURE__ */ Oe(Hb, [["__scopeId", "data-v-13179853"]]), _b = { class: "flex justify-center items-center" }, Vb = { class: "text-[8px] font-bold" }, Rb = { class: "tag-view-popper-content-text" }, zb = { class: "flex" }, jb = {
|
|
44418
44432
|
class: "svg-list-tag",
|
|
44419
44433
|
"aria-hidden": "true",
|
|
44420
44434
|
viewBox: "0 0 25 100",
|
|
44421
44435
|
style: { color: "#d1d5db" }
|
|
44422
|
-
},
|
|
44436
|
+
}, Nb = {
|
|
44423
44437
|
style: { backgroundColor: "#d1d5db" },
|
|
44424
44438
|
class: "w-full ml-[-0.5rem] rounded-r-md inline-flex items-center justify-center p-0.5 border-b-2 border-gray-900"
|
|
44425
|
-
},
|
|
44439
|
+
}, Gb = { class: "text-[8px] text-black font-bold" }, Ib = { class: "max-h-64 overflow-y-auto hide-scrollbar" }, Wb = { class: "flex flex-col gap-2" }, qb = { class: "tag-view-popper-content-text" }, Ub = { key: 1 }, Zb = {
|
|
44426
44440
|
__name: "tagView",
|
|
44427
44441
|
props: {
|
|
44428
44442
|
// --- lista de clientes ---
|
|
@@ -44438,7 +44452,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44438
44452
|
return ((a = (n = t.clients) == null ? void 0 : n.tags) == null ? void 0 : a.slice(0, 4)) || [];
|
|
44439
44453
|
}), (n, a) => {
|
|
44440
44454
|
const o = Dt("Popper");
|
|
44441
|
-
return v(), y("section",
|
|
44455
|
+
return v(), y("section", _b, [
|
|
44442
44456
|
(v(!0), y(Pe, null, Ie(e.clients.tags.slice(0, 4), (s, i) => (v(), ze(o, {
|
|
44443
44457
|
class: "tag-view-theme",
|
|
44444
44458
|
arrow: "",
|
|
@@ -44446,11 +44460,11 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44446
44460
|
key: i
|
|
44447
44461
|
}, {
|
|
44448
44462
|
content: Fe(() => [
|
|
44449
|
-
r("p",
|
|
44463
|
+
r("p", Rb, le(s.name), 1)
|
|
44450
44464
|
]),
|
|
44451
44465
|
default: Fe(() => [
|
|
44452
44466
|
r("div", {
|
|
44453
|
-
class:
|
|
44467
|
+
class: re(["flex", Se(In)(s.color)])
|
|
44454
44468
|
}, [
|
|
44455
44469
|
(v(), y("svg", {
|
|
44456
44470
|
class: "svg-list-tag",
|
|
@@ -44467,7 +44481,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44467
44481
|
style: Ze({ backgroundColor: s.color || "#fff" }),
|
|
44468
44482
|
class: "w-full ml-[-0.10rem] rounded-r-md inline-flex items-center justify-center px-1 py-0.5 border-b-2 border-gray-900"
|
|
44469
44483
|
}, [
|
|
44470
|
-
r("p",
|
|
44484
|
+
r("p", Vb, le(s.name.charAt(0).toUpperCase()), 1)
|
|
44471
44485
|
], 4)
|
|
44472
44486
|
], 2)
|
|
44473
44487
|
]),
|
|
@@ -44480,8 +44494,8 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44480
44494
|
class: "tag-view-theme"
|
|
44481
44495
|
}, {
|
|
44482
44496
|
content: Fe(() => [
|
|
44483
|
-
r("section",
|
|
44484
|
-
r("div",
|
|
44497
|
+
r("section", Ib, [
|
|
44498
|
+
r("div", Wb, [
|
|
44485
44499
|
(v(!0), y(Pe, null, Ie(e.clients.tags, (s) => (v(), y("div", {
|
|
44486
44500
|
key: s.id || s.name,
|
|
44487
44501
|
class: "relative inline-flex items-center rounded-md overflow-hidden"
|
|
@@ -44498,38 +44512,38 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44498
44512
|
}, null, -1)
|
|
44499
44513
|
])], 4)),
|
|
44500
44514
|
r("span", {
|
|
44501
|
-
class:
|
|
44515
|
+
class: re(["p-0.5 w-full text-sm font-semibold truncate text-start -ml-2", Se(In)(s.color)]),
|
|
44502
44516
|
style: Ze([
|
|
44503
44517
|
"max-width: 12rem",
|
|
44504
44518
|
{ background: s.color || "#fff" }
|
|
44505
44519
|
])
|
|
44506
44520
|
}, [
|
|
44507
|
-
r("p",
|
|
44521
|
+
r("p", qb, le(s.name), 1)
|
|
44508
44522
|
], 6)
|
|
44509
44523
|
]))), 128))
|
|
44510
44524
|
])
|
|
44511
44525
|
])
|
|
44512
44526
|
]),
|
|
44513
44527
|
default: Fe(() => [
|
|
44514
|
-
r("div",
|
|
44515
|
-
(v(), y("svg",
|
|
44528
|
+
r("div", zb, [
|
|
44529
|
+
(v(), y("svg", jb, [...a[1] || (a[1] = [
|
|
44516
44530
|
r("path", {
|
|
44517
44531
|
d: "M49.9,0a17.1,17.1,0,0,0-12,5L5,37.9A17,17,0,0,0,5,62L37.9,94.9a17.1,17.1,0,0,0,12,5ZM25.4,59.4a9.5,9.5,0,1,1,9.5-9.5A9.5,9.5,0,0,1,25.4,59.4Z",
|
|
44518
44532
|
fill: "currentColor"
|
|
44519
44533
|
}, null, -1)
|
|
44520
44534
|
])])),
|
|
44521
|
-
r("span",
|
|
44522
|
-
r("p",
|
|
44535
|
+
r("span", Nb, [
|
|
44536
|
+
r("p", Gb, " +" + le(e.clients.tags.length - 4), 1)
|
|
44523
44537
|
])
|
|
44524
44538
|
])
|
|
44525
44539
|
]),
|
|
44526
44540
|
_: 1
|
|
44527
44541
|
})) : Z("", !0),
|
|
44528
|
-
!e.clients.tags || e.clients.tags.length === 0 ? (v(), y("span",
|
|
44542
|
+
!e.clients.tags || e.clients.tags.length === 0 ? (v(), y("span", Ub, "-")) : Z("", !0)
|
|
44529
44543
|
]);
|
|
44530
44544
|
};
|
|
44531
44545
|
}
|
|
44532
|
-
}, Gs = /* @__PURE__ */ Oe(
|
|
44546
|
+
}, Gs = /* @__PURE__ */ Oe(Zb, [["__scopeId", "data-v-e2356f0a"]]), Yb = {
|
|
44533
44547
|
__name: "floating-dev",
|
|
44534
44548
|
setup(e) {
|
|
44535
44549
|
const t = G(!1), n = G({ x: 30, y: 30 }), a = G({ x: 0, y: 0 }), o = G(!1), s = G(null), i = G(null), l = G({ vertical: "bottom", horizontal: "right" }), f = ue(() => ({
|
|
@@ -44645,7 +44659,7 @@ const $a = /* @__PURE__ */ Oe(Ix, [["render", qx], ["__scopeId", "data-v-3f0502d
|
|
|
44645
44659
|
})
|
|
44646
44660
|
], 36));
|
|
44647
44661
|
}
|
|
44648
|
-
}, Is = /* @__PURE__ */ Oe(
|
|
44662
|
+
}, Is = /* @__PURE__ */ Oe(Yb, [["__scopeId", "data-v-7767be25"]]);
|
|
44649
44663
|
Fn("debug", {
|
|
44650
44664
|
state: () => ({
|
|
44651
44665
|
message: "Debug store initialized"
|
|
@@ -44656,22 +44670,22 @@ Fn("debug", {
|
|
|
44656
44670
|
}
|
|
44657
44671
|
}
|
|
44658
44672
|
});
|
|
44659
|
-
function
|
|
44673
|
+
function Xb(e) {
|
|
44660
44674
|
e.component("primarySelect", Co), e.component("departSelect", Ds), e.component("attendantSelect", Bs), e.component("SimpleModal", So), e.component("simpleCard", Mo), e.component("instanceSelect", Ko), e.component("calendarEvents", es), e.component("MFA", ts), e.component("MfaQrCode", S4), e.component("chatWindow", Fs), e.component("FilterSelectLib", Os), e.component("MobileInternalChat", $s), e.component("RandomAvatar", Ps), e.component("MinModal", Hs), e.component("LibPatchNotes", _s), e.component("BtnNewUpdates", Vs), e.component("LibPhotoPicker", Rs), e.component("SelectMultipleDepartments", zs), e.component("PrimaryInput", Ta), e.component("SimpleSelect", js), e.component("FloatingDev", Is), e.component("RatingInput", Fa), e.component("TagView", Gs), e.component("ClientsForm", Ns), e.component("SelectMultipleTags", Aa), e.component("SimpleLoader", $a), e.component("OutcomeButton", La);
|
|
44661
44675
|
}
|
|
44662
|
-
function
|
|
44676
|
+
function Kb(e, t = "add") {
|
|
44663
44677
|
const n = Ea();
|
|
44664
44678
|
t === "add" ? n.addDepartments(e) : t === "delete" ? n.removeDepartments(e) : t === "update" ? (n.departments = e, n.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibDeparts.`);
|
|
44665
44679
|
}
|
|
44666
|
-
function
|
|
44680
|
+
function Qb(e, t = "add") {
|
|
44667
44681
|
const n = Bn();
|
|
44668
44682
|
t === "add" ? n.addAttendants(e) : t === "delete" ? n.removeAttendants(e) : t === "update" ? (n.attendants = e, n.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibAttendants.`);
|
|
44669
44683
|
}
|
|
44670
|
-
function
|
|
44684
|
+
function Jb(e, t = "add") {
|
|
44671
44685
|
const n = ma();
|
|
44672
44686
|
t === "add" ? n.addInstance(e) : t === "delete" ? n.removeInstance(e) : t === "update" ? (n.instances = e, n.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibInstances.`);
|
|
44673
44687
|
}
|
|
44674
|
-
async function
|
|
44688
|
+
async function ek(e, t, n, a = [], o = [], s = []) {
|
|
44675
44689
|
try {
|
|
44676
44690
|
const i = await Xo(e);
|
|
44677
44691
|
t && await i.setToken(t), n && (Et.defaults.baseURL = n);
|
|
@@ -44683,15 +44697,15 @@ async function tk(e, t, n, a = [], o = [], s = []) {
|
|
|
44683
44697
|
console.error("Erro no setupLibrary:", i);
|
|
44684
44698
|
}
|
|
44685
44699
|
}
|
|
44686
|
-
function
|
|
44700
|
+
function tk(e) {
|
|
44687
44701
|
return In(e);
|
|
44688
44702
|
}
|
|
44689
|
-
const
|
|
44690
|
-
install:
|
|
44691
|
-
setupLibrary:
|
|
44692
|
-
attLibDeparts:
|
|
44693
|
-
attLibAttendants:
|
|
44694
|
-
attLibInstances:
|
|
44703
|
+
const Ck = {
|
|
44704
|
+
install: Xb,
|
|
44705
|
+
setupLibrary: ek,
|
|
44706
|
+
attLibDeparts: Kb,
|
|
44707
|
+
attLibAttendants: Qb,
|
|
44708
|
+
attLibInstances: Jb,
|
|
44695
44709
|
primarySelect: Co,
|
|
44696
44710
|
simpleModal: So,
|
|
44697
44711
|
simpleCard: Mo,
|
|
@@ -44714,7 +44728,7 @@ const Sk = {
|
|
|
44714
44728
|
SelectMultipleDepartments: zs,
|
|
44715
44729
|
SelectMultipleTags: Aa,
|
|
44716
44730
|
PrimaryInput: Ta,
|
|
44717
|
-
getWithContrastColor:
|
|
44731
|
+
getWithContrastColor: tk,
|
|
44718
44732
|
RatingInput: Fa,
|
|
44719
44733
|
TagView: Gs,
|
|
44720
44734
|
ClientsForm: Ns,
|
|
@@ -44723,13 +44737,13 @@ const Sk = {
|
|
|
44723
44737
|
export {
|
|
44724
44738
|
ia as C,
|
|
44725
44739
|
bs as W,
|
|
44726
|
-
|
|
44740
|
+
Kb as a,
|
|
44727
44741
|
gu as b,
|
|
44728
|
-
|
|
44729
|
-
|
|
44730
|
-
|
|
44731
|
-
|
|
44742
|
+
Qb as c,
|
|
44743
|
+
Jb as d,
|
|
44744
|
+
tk as g,
|
|
44745
|
+
Ck as i,
|
|
44732
44746
|
Ma as r,
|
|
44733
|
-
|
|
44747
|
+
ek as s,
|
|
44734
44748
|
fc as u
|
|
44735
44749
|
};
|