sm-click-library-ui 0.0.394 → 0.0.395

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.
@@ -17475,7 +17475,7 @@ const sl = /* @__PURE__ */ ct(h9, [["render", C9]]), S9 = { key: 0 }, A9 = ["src
17475
17475
  const t = e, a = K(null), n = K(null), r = K(0), o = ue(() => t.mimetype === "application/pdf"), i = ue(
17476
17476
  () => ["image/png", "image/jpeg", "image/svg+xml"].includes(t.mimetype)
17477
17477
  ), s = ue(
17478
- () => ["audio/mpeg", "audio/mp4", "audio/mp3"].includes(t.mimetype)
17478
+ () => ["audio/mpeg", "audio/mp4", "audio/mp3", "audio/aac"].includes(t.mimetype)
17479
17479
  ), u = (d) => d ? d.startsWith("video/") : void 0, m = async (d, c, y = "") => {
17480
17480
  t.mode !== "miniature" && (u(c) ? ft.show([
17481
17481
  {
@@ -17753,7 +17753,7 @@ const sl = /* @__PURE__ */ ct(h9, [["render", C9]]), S9 = { key: 0 }, A9 = ["src
17753
17753
  ])) : te("", !0)
17754
17754
  ], 2));
17755
17755
  }
17756
- }, Xo = /* @__PURE__ */ ct(rf, [["__scopeId", "data-v-df4d5a1a"]]), of = {
17756
+ }, Xo = /* @__PURE__ */ ct(rf, [["__scopeId", "data-v-b98f9ee7"]]), of = {
17757
17757
  props: {
17758
17758
  audioStream: MediaStream
17759
17759
  },
@@ -18323,7 +18323,7 @@ Di("CapacitorHttp", {
18323
18323
  web: () => new Tf()
18324
18324
  });
18325
18325
  const Ja = Di("VoiceRecorder", {
18326
- web: () => import("./web-BKgxlY6_.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
18326
+ web: () => import("./web-CljPzpIJ.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
18327
18327
  });
18328
18328
  function e1(e, t) {
18329
18329
  return v(), b("svg", {
@@ -18525,8 +18525,12 @@ const Lf = {
18525
18525
  data: fe
18526
18526
  }
18527
18527
  };
18528
- console.log("payload", JSON.stringify(F));
18529
- return;
18528
+ console.log("payload", JSON.stringify(F)), await n.sendAudioToAttendant(
18529
+ n.selectedAttendant.id,
18530
+ F,
18531
+ n.attendant,
18532
+ !0
18533
+ ), A();
18530
18534
  } catch (L) {
18531
18535
  A(), console.error("Erro ao enviar áudio:", L), Dr(
18532
18536
  {
@@ -18606,7 +18610,7 @@ const Lf = {
18606
18610
  ])
18607
18611
  ], 64));
18608
18612
  }
18609
- }, jf = /* @__PURE__ */ ct(Gf, [["__scopeId", "data-v-8f20678a"]]), qf = { class: "messages-container bg-base-300" }, Wf = { class: "header-intern bg-base-300" }, Yf = { class: "atendente-name" }, Uf = {
18613
+ }, jf = /* @__PURE__ */ ct(Gf, [["__scopeId", "data-v-06811026"]]), qf = { class: "messages-container bg-base-300" }, Wf = { class: "header-intern bg-base-300" }, Yf = { class: "atendente-name" }, Uf = {
18610
18614
  key: 0,
18611
18615
  class: "date-separator bg-base-100/50"
18612
18616
  }, Xf = { class: "date-separator-text" }, Zf = {
@@ -20080,7 +20084,7 @@ const Sh = vt({
20080
20084
  base64: await c(L)
20081
20085
  }))
20082
20086
  );
20083
- u.value.push(...C), m.value || (m.value = u.value[0], f.value = 0), console.log("b64files", u.value), ut(() => {
20087
+ u.value.push(...C), m.value || (m.value = u.value[0], f.value = 0), ut(() => {
20084
20088
  E();
20085
20089
  });
20086
20090
  }, B = (J) => J ? J.split(";")[0].split(":")[1] : null, P = async () => {
@@ -20300,7 +20304,7 @@ const Sh = vt({
20300
20304
  ], 32);
20301
20305
  };
20302
20306
  }
20303
- }, gl = /* @__PURE__ */ ct(Bh, [["__scopeId", "data-v-39301230"]]), Hh = {
20307
+ }, gl = /* @__PURE__ */ ct(Bh, [["__scopeId", "data-v-d63448eb"]]), Hh = {
20304
20308
  key: 0,
20305
20309
  class: "chat-icon"
20306
20310
  }, Rh = {
@@ -1,4 +1,4 @@
1
- import { c as s, a as e, d as i, i as r, s as b } from "./index-2zZl2rvz.js";
1
+ import { c as s, a as e, d as i, i as r, s as b } from "./index-dGomzi5S.js";
2
2
  export {
3
3
  s as attLibAttendants,
4
4
  e as attLibDeparts,