sm-click-library-ui 0.0.608-dev.35 → 0.0.608-dev.36
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-DhSzNATw.js → index-vxq2L1tL.js} +10 -23
- package/dist/sm-click-library-ui.es.js +1 -1
- package/dist/sm-click-library-ui.umd.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue3-lottie.es--AIsGz3P.js → vue3-lottie.es-rFNybRbR.js} +1 -1
- package/dist/{web-BzEfBk2W.js → web-BzG20etR.js} +2 -2
- package/dist/{web-Cm3P_S3x.js → web-mRsKtHvX.js} +2 -2
- package/package.json +1 -1
|
@@ -21615,7 +21615,7 @@ D0("CapacitorHttp", {
|
|
|
21615
21615
|
web: () => new SA()
|
|
21616
21616
|
});
|
|
21617
21617
|
const es = D0("VoiceRecorder", {
|
|
21618
|
-
web: () => import("./web-
|
|
21618
|
+
web: () => import("./web-BzG20etR.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
|
|
21619
21619
|
});
|
|
21620
21620
|
function Pd(e, t) {
|
|
21621
21621
|
return l(), f("svg", {
|
|
@@ -54527,9 +54527,7 @@ const j4 = {
|
|
|
54527
54527
|
var ce;
|
|
54528
54528
|
const De = ((ce = we.product) == null ? void 0 : ce.price) || we.price || 0, Xe = we.quantity || 0, Te = we.discount || 0, W = De * (1 - Te / 100);
|
|
54529
54529
|
return ke + W * Xe;
|
|
54530
|
-
}, 0)), P(() => h.value.filter(
|
|
54531
|
-
(ke) => ke.quantity > 0 && ke.discount > 0
|
|
54532
|
-
)), P(() => h.value.reduce((ke, we) => {
|
|
54530
|
+
}, 0)), P(() => h.value.filter((ke) => ke.quantity > 0 && ke.discount > 0)), P(() => h.value.reduce((ke, we) => {
|
|
54533
54531
|
var ce;
|
|
54534
54532
|
const De = ((ce = we.product) == null ? void 0 : ce.price) || we.price || 0, Xe = we.quantity || 0, Te = we.discount || 0, W = De * Te / 100 * Xe;
|
|
54535
54533
|
return ke + W;
|
|
@@ -54613,17 +54611,11 @@ const j4 = {
|
|
|
54613
54611
|
if (V !== p.value) {
|
|
54614
54612
|
V = p.value;
|
|
54615
54613
|
try {
|
|
54616
|
-
const { data: we } = await Ct.get(
|
|
54617
|
-
N(yp, { page: p.value, ...ke })
|
|
54618
|
-
), { results: De, next: Xe, previous: Te } = we;
|
|
54614
|
+
const { data: we } = await Ct.get(N(yp, { page: p.value, ...ke })), { results: De, next: Xe, previous: Te } = we;
|
|
54619
54615
|
if (m.value = Xe, y.value = Te, p.value === 1)
|
|
54620
54616
|
r.value = De;
|
|
54621
54617
|
else {
|
|
54622
|
-
const W = new Set(r.value.map((xe) => xe.id)), ce = new Set(
|
|
54623
|
-
h.value.map((xe) => w(xe))
|
|
54624
|
-
), Ce = De.filter(
|
|
54625
|
-
(xe) => !W.has(xe.id) && !ce.has(xe.id)
|
|
54626
|
-
);
|
|
54618
|
+
const W = new Set(r.value.map((xe) => xe.id)), ce = new Set(h.value.map((xe) => w(xe))), Ce = De.filter((xe) => !W.has(xe.id) && !ce.has(xe.id));
|
|
54627
54619
|
r.value = [...r.value, ...Ce];
|
|
54628
54620
|
}
|
|
54629
54621
|
m.value && (p.value += 1);
|
|
@@ -54660,9 +54652,7 @@ const j4 = {
|
|
|
54660
54652
|
(ke) => {
|
|
54661
54653
|
ke.forEach((we) => {
|
|
54662
54654
|
if (we && we.id && !te.value[we.id]) {
|
|
54663
|
-
const De = h.value.find(
|
|
54664
|
-
(Te) => w(Te) === we.id
|
|
54665
|
-
), Xe = (De == null ? void 0 : De.discount) || 0;
|
|
54655
|
+
const De = h.value.find((Te) => w(Te) === we.id), Xe = (De == null ? void 0 : De.discount) || 0;
|
|
54666
54656
|
te.value[we.id] = String(Xe);
|
|
54667
54657
|
}
|
|
54668
54658
|
});
|
|
@@ -54881,7 +54871,7 @@ const j4 = {
|
|
|
54881
54871
|
"clip-rule": "evenodd"
|
|
54882
54872
|
})
|
|
54883
54873
|
], -1),
|
|
54884
|
-
o("p", { class: "text-xs text-white/80" }, "
|
|
54874
|
+
o("p", { class: "text-xs text-white/80" }, "Este produto não faz parte do seu departamento", -1)
|
|
54885
54875
|
])])) : O("", !0),
|
|
54886
54876
|
o("div", lV, [
|
|
54887
54877
|
pe(F1, {
|
|
@@ -54898,10 +54888,7 @@ const j4 = {
|
|
|
54898
54888
|
onClick: (ce) => G(Te)
|
|
54899
54889
|
}, " - ", 8, dV),
|
|
54900
54890
|
o("p", {
|
|
54901
|
-
class: Y([
|
|
54902
|
-
"w-5 text-xs flex items-center justify-center font-semibold font-sans",
|
|
54903
|
-
b(Te) > 0 ? "text-white dark:text-black" : ""
|
|
54904
|
-
])
|
|
54891
|
+
class: Y(["w-5 text-xs flex items-center justify-center font-semibold font-sans", b(Te) > 0 ? "text-white dark:text-black" : ""])
|
|
54905
54892
|
}, j(b(Te)), 3),
|
|
54906
54893
|
o("button", {
|
|
54907
54894
|
disabled: ne(Te) || e.readonly,
|
|
@@ -54962,7 +54949,7 @@ const j4 = {
|
|
|
54962
54949
|
})) : O("", !0)
|
|
54963
54950
|
])) : O("", !0),
|
|
54964
54951
|
!i.value && r.value.length <= 0 ? (l(), f("section", xV, [
|
|
54965
|
-
we[10] || (we[10] = o("p", { class: "text-gray-200 dark:text-gray-900 text-xs md:text-base font-sans" }, "
|
|
54952
|
+
we[10] || (we[10] = o("p", { class: "text-gray-200 dark:text-gray-900 text-xs md:text-base font-sans" }, "Nenhum item encontrado", -1)),
|
|
54966
54953
|
ae.value ? O("", !0) : (l(), f("p", wV, [...we[9] || (we[9] = [
|
|
54967
54954
|
Re(" Comece criando seu primeiro na aba ", -1),
|
|
54968
54955
|
o("strong", null, "Produtos", -1)
|
|
@@ -54972,7 +54959,7 @@ const j4 = {
|
|
|
54972
54959
|
], 32);
|
|
54973
54960
|
};
|
|
54974
54961
|
}
|
|
54975
|
-
}, N0 = /* @__PURE__ */ He(kV, [["__scopeId", "data-v-
|
|
54962
|
+
}, N0 = /* @__PURE__ */ He(kV, [["__scopeId", "data-v-401abda7"]]), _V = ["aria-label"], CV = {
|
|
54976
54963
|
class: "smplay-loader-blocks",
|
|
54977
54964
|
"aria-hidden": "true"
|
|
54978
54965
|
}, SV = {
|
|
@@ -63662,7 +63649,7 @@ const lX = /* @__PURE__ */ He(oX, [["render", rX]]), cX = ["src"], uX = ["aria-l
|
|
|
63662
63649
|
},
|
|
63663
63650
|
setup(e) {
|
|
63664
63651
|
const t = Uh(
|
|
63665
|
-
async () => (await import("./vue3-lottie.es
|
|
63652
|
+
async () => (await import("./vue3-lottie.es-rFNybRbR.js")).Vue3Lottie
|
|
63666
63653
|
), n = e, a = X(null), i = X(!1), r = P(() => n.variant === "thumbnail" ? 96 : n.variant === "composer" ? 180 : 220), c = P(
|
|
63667
63654
|
() => n.variant === "chat" ? "flex items-center justify-center p-1" : "flex size-full items-center justify-center"
|
|
63668
63655
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bg as s, bh as t, am as r, b6 as i, bd as o, bc as n, be as c, G as l, c2 as d, aX as m, a3 as b, L as u, bi as S, bx as g, bw as E, bz as R, by as C, z as A, U as T, a6 as p, E as P, B as I, M, a0 as v, i as L, j as _, bs as y, bu as h, bt as f, O as N, aQ as F, aN as k, aP as D, aO as B, c5 as O, ca as G, ct as V, cv as w, cu as H, cw as U, D as K, aW as Y, ai as q, c4 as x, aY as z, aZ as W, c3 as j, al as Q, ao as X, c6 as J, bP as Z, c7 as $, cd as aa, a8 as ea, $ as sa, af as ta, a7 as ra, ab as ia, ad as oa, aa as na, a4 as ca, ac as la, a9 as da, R as ma, ae as ba, a5 as ua, F as Sa, k as ga, c8 as Ea, c9 as Ra, P as Ca, bj as Aa, a$ as Ta, a_ as pa, cc as Pa, bB as Ia, bC as Ma, bS as va, bQ as La, bR as _a, aR as ya, cs as ha, aj as fa, b1 as Na, b2 as Fa, b3 as ka, S as Da, N as Ba, _ as Oa, ak as Ga, T as Va, h as wa, Q as Ha, A as Ua, m as Ka, b0 as Ya, bf as qa, an as xa, V as za, E as Wa, bT as ja, bk as Qa, l as Xa, aS as Ja, o as Za, n as $a, q as ae, w as ee, b9 as se, aJ as te, aI as re, ba as ie, bA as oe, ch as ne, ck as ce, b7 as le, aL as de, Y as me, bb as be, aV as ue, bl as Se, bm as ge, bn as Ee, cJ as Re, cG as Ce, cK as Ae, x as Te, bo as pe, cC as Pe, bp as Ie, cn as Me, co as ve, ci as Le, cx as _e, cL as ye, bI as he, cA as fe, cF as Ne, cB as Fe, cy as ke, cZ as De, cN as Be, cM as Oe, cR as Ge, cS as Ve, cT as we, cQ as He, cO as Ue, cP as Ke, v as Ye, bL as qe, aq as xe, aB as ze, az as We, aC as je, au as Qe, aA as Xe, aG as Je, Z as Ze, cl as $e, cz as as, aw as es, ax as ss, ay as ts, bM as rs, bN as is, bE as os, bD as ns, bH as cs, bG as ls, bF as ds, bO as ms, cU as bs, cV as us, as as Ss, bq as gs, X as Es, cD as Rs, ap as Cs, b4 as As, aM as Ts, cb as ps, b8 as Ps, H as Is, I as Ms, p as vs, aF as Ls, cm as _s, cq as ys, ar as hs, cE as fs, ce as Ns, at as Fs, aK as ks, bV as Ds, cr as Bs, bJ as Os, J as Gs, bU as Vs, c1 as ws, c0 as Hs, bW as Us, bZ as Ks, b$ as Ys, bY as qs, bX as xs, b_ as zs, b5 as Ws, ah as js, ag as Qs, cp as Xs, cj as Js, s as Zs, t as $s, cX as at, av as et, aU as st, K as tt, bK as rt, bv as it, cW as ot, a as nt, a2 as ct, u as lt, cY as dt, d as mt, aT as bt, aD as ut, e as St, a1 as gt, y as Et, f as Rt, aE as Ct, br as At, cH as Tt, cI as pt, aH as Pt, cg as It, cf as Mt } from "./index-
|
|
1
|
+
import { bg as s, bh as t, am as r, b6 as i, bd as o, bc as n, be as c, G as l, c2 as d, aX as m, a3 as b, L as u, bi as S, bx as g, bw as E, bz as R, by as C, z as A, U as T, a6 as p, E as P, B as I, M, a0 as v, i as L, j as _, bs as y, bu as h, bt as f, O as N, aQ as F, aN as k, aP as D, aO as B, c5 as O, ca as G, ct as V, cv as w, cu as H, cw as U, D as K, aW as Y, ai as q, c4 as x, aY as z, aZ as W, c3 as j, al as Q, ao as X, c6 as J, bP as Z, c7 as $, cd as aa, a8 as ea, $ as sa, af as ta, a7 as ra, ab as ia, ad as oa, aa as na, a4 as ca, ac as la, a9 as da, R as ma, ae as ba, a5 as ua, F as Sa, k as ga, c8 as Ea, c9 as Ra, P as Ca, bj as Aa, a$ as Ta, a_ as pa, cc as Pa, bB as Ia, bC as Ma, bS as va, bQ as La, bR as _a, aR as ya, cs as ha, aj as fa, b1 as Na, b2 as Fa, b3 as ka, S as Da, N as Ba, _ as Oa, ak as Ga, T as Va, h as wa, Q as Ha, A as Ua, m as Ka, b0 as Ya, bf as qa, an as xa, V as za, E as Wa, bT as ja, bk as Qa, l as Xa, aS as Ja, o as Za, n as $a, q as ae, w as ee, b9 as se, aJ as te, aI as re, ba as ie, bA as oe, ch as ne, ck as ce, b7 as le, aL as de, Y as me, bb as be, aV as ue, bl as Se, bm as ge, bn as Ee, cJ as Re, cG as Ce, cK as Ae, x as Te, bo as pe, cC as Pe, bp as Ie, cn as Me, co as ve, ci as Le, cx as _e, cL as ye, bI as he, cA as fe, cF as Ne, cB as Fe, cy as ke, cZ as De, cN as Be, cM as Oe, cR as Ge, cS as Ve, cT as we, cQ as He, cO as Ue, cP as Ke, v as Ye, bL as qe, aq as xe, aB as ze, az as We, aC as je, au as Qe, aA as Xe, aG as Je, Z as Ze, cl as $e, cz as as, aw as es, ax as ss, ay as ts, bM as rs, bN as is, bE as os, bD as ns, bH as cs, bG as ls, bF as ds, bO as ms, cU as bs, cV as us, as as Ss, bq as gs, X as Es, cD as Rs, ap as Cs, b4 as As, aM as Ts, cb as ps, b8 as Ps, H as Is, I as Ms, p as vs, aF as Ls, cm as _s, cq as ys, ar as hs, cE as fs, ce as Ns, at as Fs, aK as ks, bV as Ds, cr as Bs, bJ as Os, J as Gs, bU as Vs, c1 as ws, c0 as Hs, bW as Us, bZ as Ks, b$ as Ys, bY as qs, bX as xs, b_ as zs, b5 as Ws, ah as js, ag as Qs, cp as Xs, cj as Js, s as Zs, t as $s, cX as at, av as et, aU as st, K as tt, bK as rt, bv as it, cW as ot, a as nt, a2 as ct, u as lt, cY as dt, d as mt, aT as bt, aD as ut, e as St, a1 as gt, y as Et, f as Rt, aE as Ct, br as At, cH as Tt, cI as pt, aH as Pt, cg as It, cf as Mt } from "./index-vxq2L1tL.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ACHIEVEMENT_METRICS,
|
|
4
4
|
t as ACHIEVEMENT_SCOPES,
|