sm-click-library-ui 0.0.427 → 0.0.428
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-Cd8ELAZu.js → index-BnEYeAZU.js} +69 -67
- 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 +0 -6
- package/dist/{web-B3BYBVE-.js → web-B8ualcuY.js} +2 -2
- package/dist/{web-Jpc9wBsn.js → web-CNYuOlC8.js} +2 -2
- package/package.json +1 -1
|
@@ -2083,22 +2083,22 @@ at.getAdapter = Go.getAdapter;
|
|
|
2083
2083
|
at.HttpStatusCode = Jn;
|
|
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: Wb,
|
|
2087
|
+
AxiosError: qb,
|
|
2088
|
+
CanceledError: Ub,
|
|
2089
|
+
isCancel: Zb,
|
|
2090
|
+
CancelToken: Yb,
|
|
2091
|
+
VERSION: Xb,
|
|
2092
|
+
all: Kb,
|
|
2093
|
+
Cancel: Qb,
|
|
2094
|
+
isAxiosError: Jb,
|
|
2095
|
+
spread: ek,
|
|
2096
|
+
toFormData: tk,
|
|
2097
|
+
AxiosHeaders: nk,
|
|
2098
|
+
HttpStatusCode: ak,
|
|
2099
|
+
formToJSON: ok,
|
|
2100
|
+
getAdapter: ik,
|
|
2101
|
+
mergeConfig: sk
|
|
2102
2102
|
} = at, Uo = T1("auth", {
|
|
2103
2103
|
state: () => ({
|
|
2104
2104
|
jwtToken: null
|
|
@@ -12204,7 +12204,7 @@ Ma("CapacitorHttp", {
|
|
|
12204
12204
|
web: () => new pu()
|
|
12205
12205
|
});
|
|
12206
12206
|
const o1 = Ma("VoiceRecorder", {
|
|
12207
|
-
web: () => import("./web-
|
|
12207
|
+
web: () => import("./web-B8ualcuY.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
|
|
12208
12208
|
});
|
|
12209
12209
|
function Q0(e, t) {
|
|
12210
12210
|
return v(), y("svg", {
|
|
@@ -43650,7 +43650,7 @@ const Vy = {
|
|
|
43650
43650
|
]));
|
|
43651
43651
|
};
|
|
43652
43652
|
}
|
|
43653
|
-
}, Lx = /* @__PURE__ */ Oe(Tx, [["__scopeId", "data-v-6d666047"]]), Fx = { class: "test-style p-2 h-full overflow-auto" }, Dx = { class: "flex flex-col gap-
|
|
43653
|
+
}, Lx = /* @__PURE__ */ Oe(Tx, [["__scopeId", "data-v-6d666047"]]), Fx = { class: "test-style p-2 h-full overflow-auto" }, Dx = { class: "flex flex-col gap-2" }, $x = ["onUpdate:modelValue"], Bx = { class: "text-[10px] font-sans" }, Ox = ["onUpdate:modelValue"], Px = ["onUpdate:modelValue"], Hx = {
|
|
43654
43654
|
__name: "listSegmentationsFields",
|
|
43655
43655
|
props: {
|
|
43656
43656
|
// --- Lista que será exibida e já selecionada ---
|
|
@@ -43672,7 +43672,7 @@ const Vy = {
|
|
|
43672
43672
|
const l = $t("SimpleSelect");
|
|
43673
43673
|
return v(), y("div", Fx, [
|
|
43674
43674
|
s[0] || (s[0] = r("header", { class: "text-start w-full items-center justify-between flex mb-2 px-1" }, [
|
|
43675
|
-
r("p", { class: "text-
|
|
43675
|
+
r("p", { class: "text-sm font-semibold" }, "Campos Personalizados")
|
|
43676
43676
|
], -1)),
|
|
43677
43677
|
r("div", Dx, [
|
|
43678
43678
|
(v(!0), y(_e, null, We(o.value, (u) => (v(), y("section", {
|
|
@@ -43727,7 +43727,7 @@ const Vy = {
|
|
|
43727
43727
|
]);
|
|
43728
43728
|
};
|
|
43729
43729
|
}
|
|
43730
|
-
}, _x = /* @__PURE__ */ Oe(Hx, [["__scopeId", "data-v-
|
|
43730
|
+
}, _x = /* @__PURE__ */ Oe(Hx, [["__scopeId", "data-v-71532b46"]]), Vx = { class: "modal_head" }, Rx = { class: "modal_responsive" }, zx = { class: "flex min-h-full items-center justify-center text-center" }, jx = { class: "z-50 w-full lg:w-1/2 shadow rounded-2xl shadow-black" }, Nx = { class: "modal_background" }, Gx = { class: "flex justify-between p-2.5 rounded-t-2xl bg-base-300 items-center text-current" }, Ix = { class: "flex items-center gap-2" }, Wx = { class: "flex flex-col items-start" }, qx = { class: "text-lg font-semibold" }, Ux = {
|
|
43731
43731
|
key: 0,
|
|
43732
43732
|
class: "text-xs text-gray-400"
|
|
43733
43733
|
}, Zx = { class: "flex gap-2 items-center" }, Yx = { class: "grid grid-cols-2" }, Xx = { class: "w-full flex flex-col gap-3 justify-center items-center p-2" }, Kx = {
|
|
@@ -43748,13 +43748,13 @@ const Vy = {
|
|
|
43748
43748
|
}, ub = {
|
|
43749
43749
|
key: 0,
|
|
43750
43750
|
class: "flex flex-col gap-2 justify-between h-full p-1.5"
|
|
43751
|
-
}, fb = { class: "test-style" }, hb = { class: "
|
|
43751
|
+
}, fb = { class: "test-style" }, hb = { class: "products-list-section" }, mb = { class: "modal_end_button" }, pb = ["disabled"], gb = {
|
|
43752
43752
|
key: 0,
|
|
43753
43753
|
class: "size-4 animate-spin rounded-full border-4 border-solid text-white border-t-transparent"
|
|
43754
|
-
},
|
|
43754
|
+
}, vb = {
|
|
43755
43755
|
key: 1,
|
|
43756
43756
|
class: "text-xs font-semibold"
|
|
43757
|
-
},
|
|
43757
|
+
}, yb = {
|
|
43758
43758
|
__name: "clientsForm",
|
|
43759
43759
|
props: {
|
|
43760
43760
|
// --- Estado atual do formulário caso preenchido ---
|
|
@@ -44040,15 +44040,17 @@ const Vy = {
|
|
|
44040
44040
|
"onUpdate:modelValue": h[9] || (h[9] = (f) => i.telephone = f)
|
|
44041
44041
|
}, null, 8, ["defaultCountry", "modelValue"])
|
|
44042
44042
|
]),
|
|
44043
|
-
r("div",
|
|
44043
|
+
r("div", {
|
|
44044
|
+
class: de([{ noCrmPlus: !e.hasCrmPlus }, "segmentation-section"])
|
|
44045
|
+
}, [
|
|
44044
44046
|
a.value === "data" ? (v(), Ne(_x, {
|
|
44045
44047
|
key: 0,
|
|
44046
44048
|
modelValue: i.segmentation_fields,
|
|
44047
44049
|
"onUpdate:modelValue": h[10] || (h[10] = (f) => i.segmentation_fields = f)
|
|
44048
44050
|
}, null, 8, ["modelValue"])) : Q("", !0)
|
|
44049
|
-
])
|
|
44051
|
+
], 2)
|
|
44050
44052
|
])) : Q("", !0),
|
|
44051
|
-
Xe(r("div",
|
|
44053
|
+
Xe(r("div", hb, [
|
|
44052
44054
|
Ee(Lx, {
|
|
44053
44055
|
modelValue: i.products,
|
|
44054
44056
|
"onUpdate:modelValue": h[11] || (h[11] = (f) => i.products = f)
|
|
@@ -44058,14 +44060,14 @@ const Vy = {
|
|
|
44058
44060
|
])
|
|
44059
44061
|
])
|
|
44060
44062
|
]),
|
|
44061
|
-
r("div",
|
|
44063
|
+
r("div", mb, [
|
|
44062
44064
|
r("button", {
|
|
44063
44065
|
disabled: s.value,
|
|
44064
44066
|
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",
|
|
44065
44067
|
onClick: h[12] || (h[12] = (f) => d())
|
|
44066
44068
|
}, [
|
|
44067
|
-
s.value ? (v(), y("div",
|
|
44068
|
-
], 8,
|
|
44069
|
+
s.value ? (v(), y("div", gb)) : (v(), y("p", vb, "Salvar"))
|
|
44070
|
+
], 8, pb)
|
|
44069
44071
|
])
|
|
44070
44072
|
])
|
|
44071
44073
|
])
|
|
@@ -44074,23 +44076,23 @@ const Vy = {
|
|
|
44074
44076
|
]);
|
|
44075
44077
|
};
|
|
44076
44078
|
}
|
|
44077
|
-
}, Ri = /* @__PURE__ */ Oe(
|
|
44078
|
-
function
|
|
44079
|
-
return v(), y("div",
|
|
44079
|
+
}, Ri = /* @__PURE__ */ Oe(yb, [["__scopeId", "data-v-a0ffafd0"]]), xb = {}, bb = { class: "flex items-center justify-center h-full" };
|
|
44080
|
+
function kb(e, t) {
|
|
44081
|
+
return v(), y("div", bb, [...t[0] || (t[0] = [
|
|
44080
44082
|
r("span", { class: "products-and-services_bar" }, null, -1),
|
|
44081
44083
|
r("span", { class: "products-and-services_bar" }, null, -1),
|
|
44082
44084
|
r("span", { class: "products-and-services_bar" }, null, -1)
|
|
44083
44085
|
])]);
|
|
44084
44086
|
}
|
|
44085
|
-
const zi = /* @__PURE__ */ Oe(
|
|
44087
|
+
const zi = /* @__PURE__ */ Oe(xb, [["render", kb], ["__scopeId", "data-v-3f0502dd"]]), wb = { class: "flex justify-center items-center" }, Cb = { class: "text-[8px] font-bold" }, Sb = { class: "tag-view-popper-content-text" }, Mb = { class: "flex hover:scale-105 ease-in-out transition-all" }, Eb = {
|
|
44086
44088
|
class: "svg-list-tag",
|
|
44087
44089
|
"aria-hidden": "true",
|
|
44088
44090
|
viewBox: "0 0 25 100",
|
|
44089
44091
|
style: { color: "#d1d5db" }
|
|
44090
|
-
},
|
|
44092
|
+
}, Ab = {
|
|
44091
44093
|
style: { backgroundColor: "#d1d5db" },
|
|
44092
44094
|
class: "w-full ml-[-0.5rem] rounded-r-md inline-flex items-center justify-center p-0.5 border-b-2 border-gray-900"
|
|
44093
|
-
},
|
|
44095
|
+
}, Tb = { class: "text-[8px] text-black font-bold" }, Lb = { class: "max-h-64 overflow-y-auto hide-scrollbar" }, Fb = { class: "flex flex-col gap-2" }, Db = { class: "tag-view-popper-content-text" }, $b = { key: 1 }, Bb = {
|
|
44094
44096
|
__name: "tagView",
|
|
44095
44097
|
props: {
|
|
44096
44098
|
// --- lista de clientes ---
|
|
@@ -44106,7 +44108,7 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44106
44108
|
return ((a = (n = t.clients) == null ? void 0 : n.tags) == null ? void 0 : a.slice(0, 4)) || [];
|
|
44107
44109
|
}), (n, a) => {
|
|
44108
44110
|
const o = $t("Popper");
|
|
44109
|
-
return v(), y("section",
|
|
44111
|
+
return v(), y("section", wb, [
|
|
44110
44112
|
(v(!0), y(_e, null, We(e.clients.tags.slice(0, 4), (i, s) => (v(), Ne(o, {
|
|
44111
44113
|
class: "tag-view-theme",
|
|
44112
44114
|
arrow: "",
|
|
@@ -44114,7 +44116,7 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44114
44116
|
key: s
|
|
44115
44117
|
}, {
|
|
44116
44118
|
content: Fe(() => [
|
|
44117
|
-
r("p",
|
|
44119
|
+
r("p", Sb, ce(i.name), 1)
|
|
44118
44120
|
]),
|
|
44119
44121
|
default: Fe(() => [
|
|
44120
44122
|
r("div", {
|
|
@@ -44138,7 +44140,7 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44138
44140
|
style: nt({ backgroundColor: i.color || "#fff" }),
|
|
44139
44141
|
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"
|
|
44140
44142
|
}, [
|
|
44141
|
-
r("p",
|
|
44143
|
+
r("p", Cb, ce(i.name.charAt(0).toUpperCase()), 1)
|
|
44142
44144
|
], 4)
|
|
44143
44145
|
], 2)
|
|
44144
44146
|
]),
|
|
@@ -44151,8 +44153,8 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44151
44153
|
class: "tag-view-theme"
|
|
44152
44154
|
}, {
|
|
44153
44155
|
content: Fe(() => [
|
|
44154
|
-
r("section",
|
|
44155
|
-
r("div",
|
|
44156
|
+
r("section", Lb, [
|
|
44157
|
+
r("div", Fb, [
|
|
44156
44158
|
(v(!0), y(_e, null, We(e.clients.tags, (i) => (v(), y("div", {
|
|
44157
44159
|
key: i.id || i.name,
|
|
44158
44160
|
class: "relative inline-flex items-center rounded-md overflow-hidden"
|
|
@@ -44175,32 +44177,32 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44175
44177
|
{ background: i.color || "#fff" }
|
|
44176
44178
|
])
|
|
44177
44179
|
}, [
|
|
44178
|
-
r("p",
|
|
44180
|
+
r("p", Db, ce(i.name), 1)
|
|
44179
44181
|
], 6)
|
|
44180
44182
|
]))), 128))
|
|
44181
44183
|
])
|
|
44182
44184
|
])
|
|
44183
44185
|
]),
|
|
44184
44186
|
default: Fe(() => [
|
|
44185
|
-
r("div",
|
|
44186
|
-
(v(), y("svg",
|
|
44187
|
+
r("div", Mb, [
|
|
44188
|
+
(v(), y("svg", Eb, [...a[1] || (a[1] = [
|
|
44187
44189
|
r("path", {
|
|
44188
44190
|
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",
|
|
44189
44191
|
fill: "currentColor"
|
|
44190
44192
|
}, null, -1)
|
|
44191
44193
|
])])),
|
|
44192
|
-
r("span",
|
|
44193
|
-
r("p",
|
|
44194
|
+
r("span", Ab, [
|
|
44195
|
+
r("p", Tb, " +" + ce(e.clients.tags.length - 4), 1)
|
|
44194
44196
|
])
|
|
44195
44197
|
])
|
|
44196
44198
|
]),
|
|
44197
44199
|
_: 1
|
|
44198
44200
|
})) : Q("", !0),
|
|
44199
|
-
!e.clients.tags || e.clients.tags.length === 0 ? (v(), y("span",
|
|
44201
|
+
!e.clients.tags || e.clients.tags.length === 0 ? (v(), y("span", $b, "-")) : Q("", !0)
|
|
44200
44202
|
]);
|
|
44201
44203
|
};
|
|
44202
44204
|
}
|
|
44203
|
-
}, ji = /* @__PURE__ */ Oe(
|
|
44205
|
+
}, ji = /* @__PURE__ */ Oe(Bb, [["__scopeId", "data-v-54723b10"]]), Ob = {
|
|
44204
44206
|
__name: "floating-dev",
|
|
44205
44207
|
setup(e) {
|
|
44206
44208
|
const t = I(!1), n = I({ x: 30, y: 30 }), a = I({ x: 0, y: 0 }), o = I(!1), i = I(null), s = I(null), l = I({ vertical: "bottom", horizontal: "right" }), u = fe(() => ({
|
|
@@ -44316,7 +44318,7 @@ const zi = /* @__PURE__ */ Oe(bb, [["render", wb], ["__scopeId", "data-v-3f0502d
|
|
|
44316
44318
|
})
|
|
44317
44319
|
], 36));
|
|
44318
44320
|
}
|
|
44319
|
-
}, Ni = /* @__PURE__ */ Oe(
|
|
44321
|
+
}, Ni = /* @__PURE__ */ Oe(Ob, [["__scopeId", "data-v-7767be25"]]);
|
|
44320
44322
|
T1("debug", {
|
|
44321
44323
|
state: () => ({
|
|
44322
44324
|
message: "Debug store initialized"
|
|
@@ -44327,22 +44329,22 @@ T1("debug", {
|
|
|
44327
44329
|
}
|
|
44328
44330
|
}
|
|
44329
44331
|
});
|
|
44330
|
-
function
|
|
44332
|
+
function Pb(e) {
|
|
44331
44333
|
e.component("primarySelect", bo), e.component("departSelect", Li), e.component("attendantSelect", Fi), e.component("SimpleModal", ko), e.component("simpleCard", wo), e.component("instanceSelect", Zo), e.component("calendarEvents", Ko), e.component("MFA", Qo), e.component("MfaQrCode", w4), e.component("chatWindow", Ai), e.component("FilterSelectLib", Di), e.component("MobileInternalChat", Ti), e.component("RandomAvatar", $i), e.component("MinModal", Bi), e.component("LibPatchNotes", Oi), e.component("BtnNewUpdates", Pi), e.component("LibPhotoPicker", Hi), e.component("SelectMultipleDepartments", _i), e.component("PrimaryInput", Ta), e.component("SimpleSelect", Vi), e.component("FloatingDev", Ni), e.component("RaitingInput", La), e.component("TagView", ji), e.component("ClientsForm", Ri), e.component("SelectMultipleTags", Aa), e.component("SimpleLoader", zi);
|
|
44332
44334
|
}
|
|
44333
|
-
function
|
|
44335
|
+
function Hb(e, t = "add") {
|
|
44334
44336
|
const n = Ea();
|
|
44335
44337
|
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.`);
|
|
44336
44338
|
}
|
|
44337
|
-
function
|
|
44339
|
+
function _b(e, t = "add") {
|
|
44338
44340
|
const n = D1();
|
|
44339
44341
|
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.`);
|
|
44340
44342
|
}
|
|
44341
|
-
function
|
|
44343
|
+
function Vb(e, t = "add") {
|
|
44342
44344
|
const n = ma();
|
|
44343
44345
|
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.`);
|
|
44344
44346
|
}
|
|
44345
|
-
async function
|
|
44347
|
+
async function Rb(e, t, n, a = [], o = [], i = []) {
|
|
44346
44348
|
try {
|
|
44347
44349
|
const s = await Uo(e);
|
|
44348
44350
|
t && await s.setToken(t), n && (Tt.defaults.baseURL = n);
|
|
@@ -44354,15 +44356,15 @@ async function zb(e, t, n, a = [], o = [], i = []) {
|
|
|
44354
44356
|
console.error("Erro no setupLibrary:", s);
|
|
44355
44357
|
}
|
|
44356
44358
|
}
|
|
44357
|
-
function
|
|
44359
|
+
function zb(e) {
|
|
44358
44360
|
return Sn(e);
|
|
44359
44361
|
}
|
|
44360
|
-
const
|
|
44361
|
-
install:
|
|
44362
|
-
setupLibrary:
|
|
44363
|
-
attLibDeparts:
|
|
44364
|
-
attLibAttendants:
|
|
44365
|
-
attLibInstances:
|
|
44362
|
+
const lk = {
|
|
44363
|
+
install: Pb,
|
|
44364
|
+
setupLibrary: Rb,
|
|
44365
|
+
attLibDeparts: Hb,
|
|
44366
|
+
attLibAttendants: _b,
|
|
44367
|
+
attLibInstances: Vb,
|
|
44366
44368
|
primarySelect: bo,
|
|
44367
44369
|
simpleModal: ko,
|
|
44368
44370
|
simpleCard: wo,
|
|
@@ -44385,7 +44387,7 @@ const ck = {
|
|
|
44385
44387
|
SelectMultipleDepartments: _i,
|
|
44386
44388
|
SelectMultipleTags: Aa,
|
|
44387
44389
|
PrimaryInput: Ta,
|
|
44388
|
-
getWithContrastColor:
|
|
44390
|
+
getWithContrastColor: zb,
|
|
44389
44391
|
RaitingInput: La,
|
|
44390
44392
|
TagView: ji,
|
|
44391
44393
|
ClientsForm: Ri
|
|
@@ -44393,12 +44395,12 @@ const ck = {
|
|
|
44393
44395
|
export {
|
|
44394
44396
|
sa as C,
|
|
44395
44397
|
vi as W,
|
|
44396
|
-
|
|
44398
|
+
Hb as a,
|
|
44397
44399
|
mu as b,
|
|
44398
|
-
|
|
44399
|
-
|
|
44400
|
-
|
|
44401
|
-
|
|
44400
|
+
_b as c,
|
|
44401
|
+
Vb as d,
|
|
44402
|
+
zb as g,
|
|
44403
|
+
lk as i,
|
|
44402
44404
|
Ma as r,
|
|
44403
|
-
|
|
44405
|
+
Rb as s
|
|
44404
44406
|
};
|