sm-click-library-ui 0.0.587 → 0.0.589

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.
@@ -1973,22 +1973,22 @@ vt.getAdapter = Ui.getAdapter;
1973
1973
  vt.HttpStatusCode = bs;
1974
1974
  vt.default = vt;
1975
1975
  const {
1976
- Axios: dV,
1977
- AxiosError: uV,
1978
- CanceledError: fV,
1979
- isCancel: pV,
1980
- CancelToken: hV,
1981
- VERSION: mV,
1982
- all: vV,
1983
- Cancel: gV,
1984
- isAxiosError: yV,
1985
- spread: bV,
1986
- toFormData: xV,
1987
- AxiosHeaders: wV,
1988
- HttpStatusCode: kV,
1989
- formToJSON: CV,
1990
- getAdapter: SV,
1991
- mergeConfig: MV
1976
+ Axios: cV,
1977
+ AxiosError: dV,
1978
+ CanceledError: uV,
1979
+ isCancel: fV,
1980
+ CancelToken: pV,
1981
+ VERSION: hV,
1982
+ all: mV,
1983
+ Cancel: vV,
1984
+ isAxiosError: gV,
1985
+ spread: yV,
1986
+ toFormData: bV,
1987
+ AxiosHeaders: xV,
1988
+ HttpStatusCode: wV,
1989
+ formToJSON: kV,
1990
+ getAdapter: CV,
1991
+ mergeConfig: SV
1992
1992
  } = vt, Qi = da("auth", {
1993
1993
  state: () => ({
1994
1994
  jwtToken: null,
@@ -3761,7 +3761,7 @@ const Gu = { class: "line-clamp-2 uppercase text-xs truncate text-white" }, qu =
3761
3761
  ])) : D("", !0)
3762
3762
  ], 512));
3763
3763
  }
3764
- }, c0 = /* @__PURE__ */ Pe(Wu, [["__scopeId", "data-v-970e6830"]]), Zu = {
3764
+ }, c0 = /* @__PURE__ */ Pe(Wu, [["__scopeId", "data-v-265f04f1"]]), Zu = {
3765
3765
  key: 0,
3766
3766
  class: "modal_head"
3767
3767
  }, Uu = { class: "modal_responsive" }, Yu = { class: "flex min-h-full items-center justify-center text-center sm:p-0" }, Xu = { class: "modal_tittle text-current bg-base-300 border-base-100" }, Ku = { class: "flex items-center w-full" }, Qu = ["innerHTML"], Ju = { class: "text-xl ml-1 font-semibold flex items-center gap-2" }, e3 = { class: "bg-base-200" }, t3 = { class: "text-center" }, n3 = { class: "modal_end_button border-base-100 bg-base-300" }, a3 = {
@@ -4498,7 +4498,7 @@ const g3 = { class: "relative shrink-0" }, y3 = ["src", "alt"], b3 = {
4498
4498
  }, 8, ["class", "title", "style"]);
4499
4499
  };
4500
4500
  }
4501
- }, qn = /* @__PURE__ */ Pe(N3, [["__scopeId", "data-v-ac729e62"]]), I3 = { class: "contact-msg-wrapper" }, G3 = { class: "contact-card-shell" }, q3 = {
4501
+ }, qn = /* @__PURE__ */ Pe(N3, [["__scopeId", "data-v-1925457e"]]), I3 = { class: "contact-msg-wrapper" }, G3 = { class: "contact-card-shell" }, q3 = {
4502
4502
  key: 0,
4503
4503
  class: "info-chip-count"
4504
4504
  }, W3 = { class: "contact-details" }, Z3 = {
@@ -4929,7 +4929,7 @@ const g3 = { class: "relative shrink-0" }, y3 = ["src", "alt"], b3 = {
4929
4929
  ]))
4930
4930
  ], 64));
4931
4931
  }
4932
- }, m0 = /* @__PURE__ */ Pe(T4, [["__scopeId", "data-v-2b335a5e"]]), Xs = da("instance", {
4932
+ }, m0 = /* @__PURE__ */ Pe(T4, [["__scopeId", "data-v-879b299b"]]), Xs = da("instance", {
4933
4933
  state: () => ({
4934
4934
  instances: [],
4935
4935
  count: null,
@@ -5486,7 +5486,7 @@ const g3 = { class: "relative shrink-0" }, y3 = ["src", "alt"], b3 = {
5486
5486
  })
5487
5487
  ], 4));
5488
5488
  }
5489
- }, g0 = /* @__PURE__ */ Pe(S5, [["__scopeId", "data-v-b25841ca"]]), M5 = ["aria-labelledby", "aria-describedby"], A5 = { class: "cpk-popover__header border-base-100" }, $5 = ["id"], E5 = ["disabled"], _5 = ["id"], B5 = { class: "cpk-popover__details bg-base-200 border border-base-100" }, L5 = { class: "cpk-popover__footer" }, T5 = ["disabled"], P5 = ["disabled"], D5 = {
5489
+ }, g0 = /* @__PURE__ */ Pe(S5, [["__scopeId", "data-v-2bf658f7"]]), M5 = ["aria-labelledby", "aria-describedby"], A5 = { class: "cpk-popover__header border-base-100" }, $5 = ["id"], E5 = ["disabled"], _5 = ["id"], B5 = { class: "cpk-popover__details bg-base-200 border border-base-100" }, L5 = { class: "cpk-popover__footer" }, T5 = ["disabled"], P5 = ["disabled"], D5 = {
5490
5490
  key: 0,
5491
5491
  class: "loading-spinner"
5492
5492
  }, F5 = {
@@ -5714,7 +5714,7 @@ const g3 = { class: "relative shrink-0" }, y3 = ["src", "alt"], b3 = {
5714
5714
  _: 3
5715
5715
  }));
5716
5716
  }
5717
- }, O5 = /* @__PURE__ */ Pe(F5, [["__scopeId", "data-v-2f78365f"]]);
5717
+ }, O5 = /* @__PURE__ */ Pe(F5, [["__scopeId", "data-v-b23001fc"]]);
5718
5718
  function H5(e) {
5719
5719
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, n) {
5720
5720
  var a = e.get(t);
@@ -8613,7 +8613,7 @@ const _9 = { class: "itemc-head" }, B9 = {
8613
8613
  ])
8614
8614
  ], 64));
8615
8615
  }
8616
- }, Z8 = /* @__PURE__ */ Pe(W8, [["__scopeId", "data-v-756165d9"]]), U8 = ["onClick"], Y8 = {
8616
+ }, Z8 = /* @__PURE__ */ Pe(W8, [["__scopeId", "data-v-a59e7945"]]), U8 = ["onClick"], Y8 = {
8617
8617
  key: 0,
8618
8618
  class: "cell-today-indicator show-lg"
8619
8619
  }, X8 = { class: "cell-top" }, K8 = { class: "day-number" }, Q8 = {
@@ -9862,7 +9862,7 @@ const _9 = { class: "itemc-head" }, B9 = {
9862
9862
  ])
9863
9863
  ], 64));
9864
9864
  }
9865
- }, tp = /* @__PURE__ */ Pe(ep, [["__scopeId", "data-v-ffc13f6c"]]), np = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500" }, ap = ["src"], op = { key: 1 }, sp = {
9865
+ }, tp = /* @__PURE__ */ Pe(ep, [["__scopeId", "data-v-f64afd44"]]), np = { class: "avatar bg-[#404857] shadow shadow-gray-900 dark:shadow-gray-700 dark:bg-gray-300 text-gray-100 dark:text-gray-500" }, ap = ["src"], op = { key: 1 }, sp = {
9866
9866
  key: 0,
9867
9867
  class: "size-10",
9868
9868
  "aria-hidden": "true",
@@ -9906,7 +9906,7 @@ const _9 = { class: "itemc-head" }, B9 = {
9906
9906
  ]))
9907
9907
  ]));
9908
9908
  }
9909
- }, oa = /* @__PURE__ */ Pe(ip, [["__scopeId", "data-v-692d6d04"]]), lp = { class: "atendentes-list hide-scrollbar bg-base-300" }, cp = {
9909
+ }, oa = /* @__PURE__ */ Pe(ip, [["__scopeId", "data-v-50abf939"]]), lp = { class: "atendentes-list hide-scrollbar bg-base-300" }, cp = {
9910
9910
  key: 0,
9911
9911
  class: "h-full flex items-center justify-center flex-col gap-4 text-center"
9912
9912
  }, dp = { class: "border-2 rounded-full size-16 flex items-center justify-center" }, up = {
@@ -10072,7 +10072,7 @@ const _9 = { class: "itemc-head" }, B9 = {
10072
10072
  ])])) : D("", !0)
10073
10073
  ], 64));
10074
10074
  }
10075
- }, xp = /* @__PURE__ */ Pe(bp, [["__scopeId", "data-v-b023b2d6"]]), wp = { class: "attendants-container" }, kp = {
10075
+ }, xp = /* @__PURE__ */ Pe(bp, [["__scopeId", "data-v-55d022c5"]]), wp = { class: "attendants-container" }, kp = {
10076
10076
  key: 0,
10077
10077
  class: "chat-footer bg-base-200 flex justify-end"
10078
10078
  }, Cp = {
@@ -10159,7 +10159,7 @@ const _9 = { class: "itemc-head" }, B9 = {
10159
10159
  e.mobile ? D("", !0) : (c(), p("footer", kp))
10160
10160
  ]));
10161
10161
  }
10162
- }, Sp = /* @__PURE__ */ Pe(Cp, [["__scopeId", "data-v-222d72a4"]]);
10162
+ }, Sp = /* @__PURE__ */ Pe(Cp, [["__scopeId", "data-v-2f729e3b"]]);
10163
10163
  function Mp(e, t, n) {
10164
10164
  const a = qt(e, n == null ? void 0 : n.in);
10165
10165
  return isNaN(t) ? jt(e, NaN) : (a.setDate(a.getDate() + t), a);
@@ -11165,7 +11165,7 @@ const eh = { class: "absolute right-0 top-0 z-20 flex size-full flex-col gap-2 o
11165
11165
  ])]))
11166
11166
  ]));
11167
11167
  }
11168
- }, Ch = /* @__PURE__ */ Pe(kh, [["__scopeId", "data-v-3d162c79"]]);
11168
+ }, Ch = /* @__PURE__ */ Pe(kh, [["__scopeId", "data-v-ddc92fad"]]);
11169
11169
  /*! License details at fancyapps.com/license */
11170
11170
  const lt = (e) => typeof e == "string";
11171
11171
  /*! License details at fancyapps.com/license */
@@ -15974,7 +15974,7 @@ const N0 = /* @__PURE__ */ Pe(Wh, [["render", am]]), om = { key: 0 }, sm = ["src
15974
15974
  ])) : D("", !0)
15975
15975
  ], 2));
15976
15976
  }
15977
- }, $s = /* @__PURE__ */ Pe(Hm, [["__scopeId", "data-v-6405f10f"]]), zm = {
15977
+ }, $s = /* @__PURE__ */ Pe(Hm, [["__scopeId", "data-v-0f627339"]]), zm = {
15978
15978
  props: {
15979
15979
  audioStream: MediaStream
15980
15980
  },
@@ -16017,7 +16017,7 @@ function Rm(e, t, n, a, s, r) {
16017
16017
  o("canvas", Vm, null, 512)
16018
16018
  ]);
16019
16019
  }
16020
- const jm = /* @__PURE__ */ Pe(zm, [["render", Rm], ["__scopeId", "data-v-18a2d2f6"]]);
16020
+ const jm = /* @__PURE__ */ Pe(zm, [["render", Rm], ["__scopeId", "data-v-9f693a63"]]);
16021
16021
  var bt = [];
16022
16022
  for (var ds = 0; ds < 256; ++ds)
16023
16023
  bt.push((ds + 256).toString(16).slice(1));
@@ -16569,7 +16569,7 @@ dr("CapacitorHttp", {
16569
16569
  web: () => new fv()
16570
16570
  });
16571
16571
  const On = dr("VoiceRecorder", {
16572
- web: () => import("./web-B24njt0z.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
16572
+ web: () => import("./web-BIKL5kTr.js").then((e) => e.w).then((e) => new e.VoiceRecorderWeb())
16573
16573
  });
16574
16574
  function Z1(e, t) {
16575
16575
  return c(), p("svg", {
@@ -17362,7 +17362,7 @@ const vv = {
17362
17362
  ], 64);
17363
17363
  };
17364
17364
  }
17365
- }, Yv = /* @__PURE__ */ Pe(Uv, [["__scopeId", "data-v-21902978"]]), Xv = {}, Kv = { class: "loading" };
17365
+ }, Yv = /* @__PURE__ */ Pe(Uv, [["__scopeId", "data-v-426cf0d1"]]), Xv = {}, Kv = { class: "loading" };
17366
17366
  function Qv(e, t) {
17367
17367
  return c(), p("div", Kv, [...t[0] || (t[0] = [
17368
17368
  o("svg", {
@@ -17387,7 +17387,7 @@ function Qv(e, t) {
17387
17387
  ], -1)
17388
17388
  ])]);
17389
17389
  }
17390
- const Jv = /* @__PURE__ */ Pe(Xv, [["render", Qv], ["__scopeId", "data-v-bd52ddea"]]);
17390
+ const Jv = /* @__PURE__ */ Pe(Xv, [["render", Qv], ["__scopeId", "data-v-17a2cc35"]]);
17391
17391
  /**
17392
17392
  * Vue 3 Carousel 0.16.0
17393
17393
  * (c) 2025
@@ -18684,7 +18684,7 @@ const bg = _n({
18684
18684
  ], 32);
18685
18685
  };
18686
18686
  }
18687
- }, Lg = /* @__PURE__ */ Pe(Bg, [["__scopeId", "data-v-7dd4b826"]]), Tg = {
18687
+ }, Lg = /* @__PURE__ */ Pe(Bg, [["__scopeId", "data-v-b7f2b71d"]]), Tg = {
18688
18688
  key: 1,
18689
18689
  class: "h-full"
18690
18690
  }, Pg = {
@@ -18775,7 +18775,7 @@ const bg = _n({
18775
18775
  }, null, 8, ["currentList", "searchQuery", "mobile", "currentAttendant", "listAttendants", "listGroups"]))
18776
18776
  ], 2));
18777
18777
  }
18778
- }, ti = /* @__PURE__ */ Pe(Pg, [["__scopeId", "data-v-363b7120"]]), to = (e) => e >= 200 && e < 300, Dg = 5 * 60 * 1e3, xt = O([]), vo = O(!1), go = O(!1), ni = O(!1), Ts = O(null), Ps = O(null), Fg = O(1);
18778
+ }, ti = /* @__PURE__ */ Pe(Pg, [["__scopeId", "data-v-f7cfccce"]]), to = (e) => e >= 200 && e < 300, Dg = 5 * 60 * 1e3, xt = O([]), vo = O(!1), go = O(!1), ni = O(!1), Ts = O(null), Ps = O(null), Fg = O(1);
18779
18779
  let va = null, no = null;
18780
18780
  const Og = (e) => {
18781
18781
  var t;
@@ -18837,7 +18837,7 @@ const Og = (e) => {
18837
18837
  } finally {
18838
18838
  a ? vo.value = !1 : go.value = !1;
18839
18839
  }
18840
- }, $V = async () => {
18840
+ }, AV = async () => {
18841
18841
  if (va)
18842
18842
  return va;
18843
18843
  va = (async () => {
@@ -19321,7 +19321,7 @@ const Rg = { class: "popper-header bg-base-300 border-b border-base-200" }, jg =
19321
19321
  ], 512)
19322
19322
  ]));
19323
19323
  }
19324
- }, ai = /* @__PURE__ */ Pe(oy, [["__scopeId", "data-v-6d04ed1d"]]), sy = {
19324
+ }, ai = /* @__PURE__ */ Pe(oy, [["__scopeId", "data-v-835cb688"]]), sy = {
19325
19325
  key: 0,
19326
19326
  class: "chat-content mobile-chat-content"
19327
19327
  }, ry = {
@@ -20890,7 +20890,7 @@ const hy = { class: "dropdown-trigger-text" }, my = { class: "dropdown-menu bg-b
20890
20890
  });
20891
20891
  };
20892
20892
  }
20893
- }, J0 = /* @__PURE__ */ Pe(yb, [["__scopeId", "data-v-1dfa2696"]]);
20893
+ }, J0 = /* @__PURE__ */ Pe(yb, [["__scopeId", "data-v-27cda391"]]);
20894
20894
  function bb(e, t) {
20895
20895
  return c(), p("svg");
20896
20896
  }
@@ -22458,7 +22458,7 @@ const oi = {
22458
22458
  ]))
22459
22459
  ]));
22460
22460
  }
22461
- }, el = /* @__PURE__ */ Pe(L$, [["__scopeId", "data-v-4b079369"]]), T$ = { class: "modal_container" }, P$ = { class: "modal_box" }, D$ = { class: "modal_header" }, F$ = {
22461
+ }, el = /* @__PURE__ */ Pe(L$, [["__scopeId", "data-v-25c1ac70"]]), T$ = { class: "modal_container" }, P$ = { class: "modal_box" }, D$ = { class: "modal_header" }, F$ = {
22462
22462
  __name: "min_modal",
22463
22463
  props: {
22464
22464
  defineWidth: {
@@ -48102,7 +48102,7 @@ $bm_rt = loopOut('cycle', 0);`
48102
48102
  ]);
48103
48103
  };
48104
48104
  }
48105
- }, nE = /* @__PURE__ */ Pe(tE, [["__scopeId", "data-v-157fc263"]]), aE = (e) => `<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`, oE = (e) => `<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`, sE = ["innerHTML"], ii = {
48105
+ }, nE = /* @__PURE__ */ Pe(tE, [["__scopeId", "data-v-7fb8ab61"]]), aE = (e) => `<svg class="${e}" aria-hidden="true" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18 14v4.833A1.166 1.166 0 0 1 16.833 20H5.167A1.167 1.167 0 0 1 4 18.833V7.167A1.166 1.166 0 0 1 5.167 6h4.618m4.447-2H20v5.768m-7.889 2.121 7.778-7.778" /> </svg>`, oE = (e) => `<svg class="${e}" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24" > <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 10h16m-8-3V4M7 7V4m10 3V4M5 20h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1Zm3-7h.01v.01H8V13Zm4 0h.01v.01H12V13Zm4 0h.01v.01H16V13Zm-8 4h.01v.01H8V17Zm4 0h.01v.01H12V17Zm4 0h.01v.01H16V17Z" /> </svg>`, sE = ["innerHTML"], ii = {
48106
48106
  __name: "svg",
48107
48107
  props: {
48108
48108
  svgContent: {
@@ -48426,7 +48426,7 @@ $bm_rt = loopOut('cycle', 0);`
48426
48426
  ])
48427
48427
  ], 64));
48428
48428
  }
48429
- }, tl = /* @__PURE__ */ Pe(BE, [["__scopeId", "data-v-d5a5639d"]]), LE = {
48429
+ }, tl = /* @__PURE__ */ Pe(BE, [["__scopeId", "data-v-4bed3898"]]), LE = {
48430
48430
  key: 0,
48431
48431
  class: "sparkle-badge"
48432
48432
  }, TE = {
@@ -50269,7 +50269,6 @@ function WB({
50269
50269
  const h = async () => {
50270
50270
  await rt(), u.popperInstance = _B(l.value, i.value, {
50271
50271
  placement: r.value,
50272
- strategy: "fixed",
50273
50272
  modifiers: [TB, zB, {
50274
50273
  name: "flip",
50275
50274
  enabled: !n.value
@@ -51449,7 +51448,7 @@ function wT(e, t) {
51449
51448
  o("span", { class: "products-and-services_bar" }, null, -1)
51450
51449
  ])]);
51451
51450
  }
51452
- const Cr = /* @__PURE__ */ Pe(bT, [["render", wT], ["__scopeId", "data-v-974c9099"]]), kT = {
51451
+ const Cr = /* @__PURE__ */ Pe(bT, [["render", wT], ["__scopeId", "data-v-7f621883"]]), kT = {
51453
51452
  key: 0,
51454
51453
  class: "flex items-center justify-center overflow-hidden h-full"
51455
51454
  }, CT = { class: "segmentation-fields-list" }, ST = ["for"], MT = { class: "bool-field-title" }, AT = ["id", "onUpdate:modelValue"], $T = ["for", "title"], ET = ["id", "onUpdate:modelValue"], _T = ["id", "onUpdate:modelValue"], BT = ["for", "title"], LT = {
@@ -55515,7 +55514,7 @@ const bH = {
55515
55514
  "google-recaptcha": (e) => xi(e)
55516
55515
  };
55517
55516
  let Pt = null;
55518
- function EV({ provider: e, ...t }) {
55517
+ function $V({ provider: e, ...t }) {
55519
55518
  const n = String(e || "").trim().toLowerCase(), a = bH[n];
55520
55519
  if (!a) {
55521
55520
  console.error("Provedor de SDK não suportado:", e), Pt = null;
@@ -55533,7 +55532,7 @@ const wH = {
55533
55532
  4: 3e3,
55534
55533
  5: 5e3
55535
55534
  }, kH = 5e3;
55536
- function _V() {
55535
+ function EV() {
55537
55536
  const e = O(0), t = O(""), n = O(!1), a = O(0), s = O(!1), r = O(!1), i = O(!1), l = O(!1);
55538
55537
  let u = null;
55539
55538
  const f = j(() => wH[e.value] ?? kH), d = j(() => !!Pt && l.value);
@@ -56962,19 +56961,16 @@ if (n > 0 && t < 1) {
56962
56961
  ]));
56963
56962
  };
56964
56963
  }
56965
- }, BV = /* @__PURE__ */ Pe(RH, [["__scopeId", "data-v-53b28892"]]), jH = ["disabled"], NH = { class: "flex min-w-0 items-center gap-2" }, IH = { class: "truncate" }, GH = { class: "shrink-0 text-xs opacity-60" }, qH = {
56964
+ }, _V = /* @__PURE__ */ Pe(RH, [["__scopeId", "data-v-53b28892"]]), jH = ["disabled"], NH = { class: "flex min-w-0 items-center gap-2" }, IH = { class: "truncate" }, GH = { class: "shrink-0 text-xs opacity-60" }, qH = {
56966
56965
  key: 0,
56967
56966
  class: "size-4 shrink-0 animate-spin text-primary",
56968
56967
  xmlns: "http://www.w3.org/2000/svg",
56969
56968
  fill: "none",
56970
56969
  viewBox: "0 0 24 24"
56971
- }, WH = {
56972
- key: 0,
56973
- class: "tz-dropdown absolute left-0 right-0 top-[calc(100%+4px)] z-30 rounded-xl border shadow-lg"
56974
- }, ZH = { class: "relative p-2" }, UH = { class: "scrollbar-none max-h-[224px] space-y-0.5 overflow-y-auto px-2 pb-2" }, YH = {
56970
+ }, WH = { class: "relative p-2" }, ZH = { class: "scrollbar-none max-h-[224px] space-y-0.5 overflow-y-auto px-2 pb-2" }, UH = {
56975
56971
  key: 0,
56976
56972
  class: "tz-empty rounded-lg p-3 text-center text-sm opacity-60"
56977
- }, XH = ["onClick"], KH = { class: "truncate" }, QH = { class: "shrink-0 text-xs opacity-60" }, JH = {
56973
+ }, YH = ["onClick"], XH = { class: "truncate" }, KH = { class: "shrink-0 text-xs opacity-60" }, QH = {
56978
56974
  __name: "TimezoneSelect",
56979
56975
  props: {
56980
56976
  modelValue: {
@@ -56988,6 +56984,18 @@ if (n > 0 && t < 1) {
56988
56984
  saving: {
56989
56985
  type: Boolean,
56990
56986
  default: !1
56987
+ },
56988
+ bg: {
56989
+ type: String,
56990
+ default: "bg-base-200"
56991
+ },
56992
+ rounded: {
56993
+ type: String,
56994
+ default: "rounded-xl"
56995
+ },
56996
+ borderColor: {
56997
+ type: String,
56998
+ default: "border-transparent"
56991
56999
  }
56992
57000
  },
56993
57001
  emits: ["update:modelValue", "change"],
@@ -57062,7 +57070,7 @@ if (n > 0 && t < 1) {
57062
57070
  type: "button",
57063
57071
  disabled: e.disabled || e.saving,
57064
57072
  onClick: g[0] || (g[0] = tt((y) => f.value = !f.value, ["stop"])),
57065
- class: "tz-trigger flex w-full items-center justify-between gap-2 rounded-xl border border-transparent px-4 text-sm outline-none transition-all disabled:cursor-not-allowed disabled:opacity-50"
57073
+ class: Q([[e.bg, e.rounded, e.borderColor], "tz-trigger flex w-full items-center justify-between gap-2 border px-4 text-sm outline-none transition-all disabled:cursor-not-allowed disabled:opacity-50"])
57066
57074
  }, [
57067
57075
  o("span", NH, [
57068
57076
  o("span", IH, F(l(e.modelValue)), 1),
@@ -57095,11 +57103,14 @@ if (n > 0 && t < 1) {
57095
57103
  "clip-rule": "evenodd"
57096
57104
  }, null, -1)
57097
57105
  ])], 2))
57098
- ], 8, jH),
57106
+ ], 10, jH),
57099
57107
  Ce(yt, { name: "tz-fade" }, {
57100
57108
  default: ke(() => [
57101
- f.value ? (c(), p("div", WH, [
57102
- o("div", ZH, [
57109
+ f.value ? (c(), p("div", {
57110
+ key: 0,
57111
+ class: Q([e.rounded, "tz-dropdown absolute left-0 right-0 top-[calc(100%+4px)] z-30 border shadow-lg"])
57112
+ }, [
57113
+ o("div", WH, [
57103
57114
  g[4] || (g[4] = o("div", { class: "pointer-events-none absolute inset-y-0 left-5 flex items-center" }, [
57104
57115
  o("svg", {
57105
57116
  class: "size-4 opacity-50",
@@ -57125,24 +57136,24 @@ if (n > 0 && t < 1) {
57125
57136
  [ht, d.value]
57126
57137
  ])
57127
57138
  ]),
57128
- o("div", UH, [
57139
+ o("div", ZH, [
57129
57140
  v.value.length ? (c(!0), p(ge, { key: 1 }, Le(v.value, (y, x) => (c(), p("button", {
57130
57141
  key: x,
57131
57142
  onClick: (S) => b(y),
57132
57143
  class: Q(["tz-option flex w-full items-center justify-between gap-2 rounded-lg px-3 py-2 text-sm transition-all", y === e.modelValue ? "tz-option--active" : ""])
57133
57144
  }, [
57134
- o("span", KH, F(l(y)), 1),
57135
- o("span", QH, "(" + F(i(y)) + ")", 1)
57136
- ], 10, XH))), 128)) : (c(), p("div", YH, " Sem resultados "))
57145
+ o("span", XH, F(l(y)), 1),
57146
+ o("span", KH, "(" + F(i(y)) + ")", 1)
57147
+ ], 10, YH))), 128)) : (c(), p("div", UH, " Sem resultados "))
57137
57148
  ])
57138
- ])) : D("", !0)
57149
+ ], 2)) : D("", !0)
57139
57150
  ]),
57140
57151
  _: 1
57141
57152
  })
57142
57153
  ], 512));
57143
57154
  }
57144
- }, $l = /* @__PURE__ */ Pe(JH, [["__scopeId", "data-v-ae4fe0b5"]]);
57145
- function ez(e) {
57155
+ }, $l = /* @__PURE__ */ Pe(QH, [["__scopeId", "data-v-4656269d"]]);
57156
+ function JH(e) {
57146
57157
  return Array.isArray(e == null ? void 0 : e.results) ? e.results : Array.isArray(e) ? e : [];
57147
57158
  }
57148
57159
  function xa(e) {
@@ -57150,30 +57161,30 @@ function xa(e) {
57150
57161
  (e == null ? void 0 : e.balance) ?? (e == null ? void 0 : e.effective_available_credits) ?? (e == null ? void 0 : e.credits) ?? 0
57151
57162
  );
57152
57163
  }
57153
- function tz(e) {
57164
+ function ez(e) {
57154
57165
  return (e == null ? void 0 : e.valid_contacts) ?? (e == null ? void 0 : e.valid) ?? [];
57155
57166
  }
57156
- function LV(e) {
57167
+ function BV(e) {
57157
57168
  return (e == null ? void 0 : e.invalid_contacts) ?? (e == null ? void 0 : e.invalid) ?? [];
57158
57169
  }
57159
- function TV(e) {
57170
+ function LV(e) {
57160
57171
  var t;
57161
57172
  return (e == null ? void 0 : e.name) ?? ((t = e == null ? void 0 : e.contact) == null ? void 0 : t.name) ?? "-";
57162
57173
  }
57163
- function PV(e) {
57174
+ function TV(e) {
57164
57175
  var t;
57165
57176
  return (e == null ? void 0 : e.telephone) ?? (e == null ? void 0 : e.phone) ?? (e == null ? void 0 : e.number) ?? ((t = e == null ? void 0 : e.contact) == null ? void 0 : t.telephone) ?? "-";
57166
57177
  }
57167
- function DV(e) {
57178
+ function PV(e) {
57168
57179
  return Number(
57169
- (e == null ? void 0 : e.credits_to_consume) ?? (e == null ? void 0 : e.credits) ?? tz(e).length
57180
+ (e == null ? void 0 : e.credits_to_consume) ?? (e == null ? void 0 : e.credits) ?? ez(e).length
57170
57181
  );
57171
57182
  }
57172
- async function FV({ url: e = Io } = {}) {
57183
+ async function DV({ url: e = Io } = {}) {
57173
57184
  const { data: t } = await nt.get(e);
57174
- return ez(t);
57185
+ return JH(t);
57175
57186
  }
57176
- async function nz({
57187
+ async function tz({
57177
57188
  page: e = 1,
57178
57189
  search: t = "",
57179
57190
  pageSize: n = 20,
@@ -57184,38 +57195,38 @@ async function nz({
57184
57195
  const { data: r } = await nt.get(a, { params: s });
57185
57196
  return r;
57186
57197
  }
57187
- async function OV(e, t) {
57198
+ async function FV(e, t) {
57188
57199
  const { data: n } = await nt.patch(`${Io}${e}/`, t);
57189
57200
  return n;
57190
57201
  }
57191
- const az = {
57202
+ const nz = {
57192
57203
  key: 0,
57193
57204
  class: "mb-1.5 block text-xs font-semibold uppercase tracking-wide opacity-80"
57194
- }, oz = ["disabled"], sz = {
57205
+ }, az = ["disabled"], oz = {
57195
57206
  key: 0,
57196
57207
  class: "flex items-center gap-2 truncate"
57197
- }, rz = { class: "truncate font-semibold" }, iz = { class: "shrink-0 rounded-full bg-primary/20 px-2 py-0.5 text-xs font-bold text-primary" }, lz = {
57208
+ }, sz = { class: "truncate font-semibold" }, rz = { class: "shrink-0 rounded-full bg-primary/20 px-2 py-0.5 text-xs font-bold text-primary" }, iz = {
57198
57209
  key: 1,
57199
57210
  class: "text-current/40"
57200
- }, cz = { class: "ml-2 flex shrink-0 items-center gap-1" }, dz = {
57211
+ }, lz = { class: "ml-2 flex shrink-0 items-center gap-1" }, cz = {
57201
57212
  key: 0,
57202
57213
  class: "border-b border-base-100/50 px-2 py-2"
57203
- }, uz = { class: "max-h-52 overflow-y-auto" }, fz = {
57214
+ }, dz = { class: "max-h-52 overflow-y-auto" }, uz = {
57204
57215
  key: 0,
57205
57216
  class: "px-3 py-3 space-y-2"
57206
- }, pz = ["onClick"], hz = { class: "flex items-center gap-2 truncate" }, mz = {
57217
+ }, fz = ["onClick"], pz = { class: "flex items-center gap-2 truncate" }, hz = {
57207
57218
  key: 0,
57208
57219
  class: "size-3.5 shrink-0 text-primary",
57209
57220
  xmlns: "http://www.w3.org/2000/svg",
57210
57221
  fill: "currentColor",
57211
57222
  viewBox: "0 0 24 24"
57212
- }, vz = { class: "truncate" }, gz = {
57223
+ }, mz = { class: "truncate" }, vz = {
57213
57224
  key: 0,
57214
57225
  class: "py-4 text-center text-sm text-current/40"
57215
- }, yz = {
57226
+ }, gz = {
57216
57227
  key: 1,
57217
57228
  class: "mt-1 text-xs text-red-500"
57218
- }, wi = 260, bz = {
57229
+ }, wi = 260, yz = {
57219
57230
  __name: "smsPoolSelect",
57220
57231
  props: {
57221
57232
  /** Carteira selecionada (objeto completo ou null) */
@@ -57255,7 +57266,7 @@ const az = {
57255
57266
  }
57256
57267
  d.value = !0;
57257
57268
  try {
57258
- const L = await nz({
57269
+ const L = await tz({
57259
57270
  page: u.value,
57260
57271
  search: i.value,
57261
57272
  url: n.apiUrl
@@ -57291,7 +57302,7 @@ const az = {
57291
57302
  return st(() => document.addEventListener("mousedown", R)), _t(() => {
57292
57303
  document.removeEventListener("mousedown", R), clearTimeout(A);
57293
57304
  }), (P, L) => (c(), p("div", null, [
57294
- e.label ? (c(), p("label", az, F(e.label), 1)) : D("", !0),
57305
+ e.label ? (c(), p("label", nz, F(e.label), 1)) : D("", !0),
57295
57306
  o("div", {
57296
57307
  ref_key: "dropdownRef",
57297
57308
  ref: v,
@@ -57305,11 +57316,11 @@ const az = {
57305
57316
  onClick: Z,
57306
57317
  class: Q(["flex w-full items-center justify-between rounded-lg bg-base-200 px-3 py-2.5 text-sm transition hover:brightness-95 disabled:cursor-not-allowed disabled:opacity-60", { "ring-2 ring-red-500/60": e.error }])
57307
57318
  }, [
57308
- e.modelValue ? (c(), p("span", sz, [
57309
- o("span", rz, F(e.modelValue.name), 1),
57310
- o("span", iz, F(ie(xa)(e.modelValue)) + " créditos ", 1)
57311
- ])) : (c(), p("span", lz, F(e.placeholder), 1)),
57312
- o("span", cz, [
57319
+ e.modelValue ? (c(), p("span", oz, [
57320
+ o("span", sz, F(e.modelValue.name), 1),
57321
+ o("span", rz, F(ie(xa)(e.modelValue)) + " créditos ", 1)
57322
+ ])) : (c(), p("span", iz, F(e.placeholder), 1)),
57323
+ o("span", lz, [
57313
57324
  e.modelValue ? (c(), p("span", {
57314
57325
  key: 0,
57315
57326
  onClick: z,
@@ -57341,14 +57352,14 @@ const az = {
57341
57352
  }, null, -1)
57342
57353
  ])], 2))
57343
57354
  ])
57344
- ], 10, oz),
57355
+ ], 10, az),
57345
57356
  Ce(yt, { name: "sms-pool-fade" }, {
57346
57357
  default: ke(() => [
57347
57358
  s.value ? (c(), p("div", {
57348
57359
  key: 0,
57349
57360
  class: Q(["absolute left-0 z-30 w-full overflow-hidden rounded-lg bg-base-300 shadow-lg shadow-black/20", r.value ? "bottom-full mb-1" : "top-full mt-1"])
57350
57361
  }, [
57351
- g.value ? D("", !0) : (c(), p("div", dz, [
57362
+ g.value ? D("", !0) : (c(), p("div", cz, [
57352
57363
  Ke(o("input", {
57353
57364
  "onUpdate:modelValue": L[0] || (L[0] = (T) => i.value = T),
57354
57365
  type: "text",
@@ -57360,8 +57371,8 @@ const az = {
57360
57371
  [ht, i.value]
57361
57372
  ])
57362
57373
  ])),
57363
- o("div", uz, [
57364
- x.value && y.value.length === 0 ? (c(), p("div", fz, [
57374
+ o("div", dz, [
57375
+ x.value && y.value.length === 0 ? (c(), p("div", uz, [
57365
57376
  (c(), p(ge, null, Le(3, (T) => o("div", {
57366
57377
  key: T,
57367
57378
  class: "h-8 w-full animate-pulse rounded-md bg-base-100/60"
@@ -57377,15 +57388,15 @@ const az = {
57377
57388
  ((_ = e.modelValue) == null ? void 0 : _.id) === T.id ? "bg-primary/10 font-semibold" : ""
57378
57389
  ]])
57379
57390
  }, [
57380
- o("span", hz, [
57381
- ((w = e.modelValue) == null ? void 0 : w.id) === T.id ? (c(), p("svg", mz, [...L[4] || (L[4] = [
57391
+ o("span", pz, [
57392
+ ((w = e.modelValue) == null ? void 0 : w.id) === T.id ? (c(), p("svg", hz, [...L[4] || (L[4] = [
57382
57393
  o("path", {
57383
57394
  "fill-rule": "evenodd",
57384
57395
  d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm13.707-1.293a1 1 0 0 0-1.414-1.414L11 12.586l-1.793-1.793a1 1 0 0 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l4-4Z",
57385
57396
  "clip-rule": "evenodd"
57386
57397
  }, null, -1)
57387
57398
  ])])) : D("", !0),
57388
- o("span", vz, F(T.name), 1)
57399
+ o("span", mz, F(T.name), 1)
57389
57400
  ]),
57390
57401
  o("span", {
57391
57402
  class: Q([
@@ -57393,9 +57404,9 @@ const az = {
57393
57404
  ie(xa)(T) > 0 ? "bg-primary/20 text-primary" : "bg-base-100 text-current/40"
57394
57405
  ])
57395
57406
  }, F(ie(xa)(T)) + " créditos ", 3)
57396
- ], 10, pz);
57407
+ ], 10, fz);
57397
57408
  }), 128)),
57398
- !x.value && y.value.length === 0 ? (c(), p("p", gz, " Nenhuma carteira encontrada ")) : D("", !0),
57409
+ !x.value && y.value.length === 0 ? (c(), p("p", vz, " Nenhuma carteira encontrada ")) : D("", !0),
57399
57410
  !g.value && m.value ? (c(), _e(ie(Gn), {
57400
57411
  key: f.value,
57401
57412
  onInfinite: S
@@ -57417,13 +57428,13 @@ const az = {
57417
57428
  _: 1
57418
57429
  })
57419
57430
  ], 512),
57420
- e.error ? (c(), p("p", yz, F(e.error), 1)) : D("", !0)
57431
+ e.error ? (c(), p("p", gz, F(e.error), 1)) : D("", !0)
57421
57432
  ]));
57422
57433
  }
57423
- }, xz = /* @__PURE__ */ Pe(bz, [["__scopeId", "data-v-2d435ef0"]]), wz = { class: "audio-player hover:bg-base-100" }, kz = ["disabled"], Cz = { class: "audio-player-info" }, Sz = { class: "audio-progress-container" }, Mz = ["max", "value", "disabled"], Az = { class: "audio-duration" }, $z = {
57434
+ }, bz = /* @__PURE__ */ Pe(yz, [["__scopeId", "data-v-2d435ef0"]]), xz = { class: "audio-player hover:bg-base-100" }, wz = ["disabled"], kz = { class: "audio-player-info" }, Cz = { class: "audio-progress-container" }, Sz = ["max", "value", "disabled"], Mz = { class: "audio-duration" }, Az = {
57424
57435
  key: 0,
57425
57436
  class: "align-middle"
57426
- }, Ez = ["src"], _z = {
57437
+ }, $z = ["src"], Ez = {
57427
57438
  __name: "AudioPlayer",
57428
57439
  props: {
57429
57440
  src: {
@@ -57528,7 +57539,7 @@ const az = {
57528
57539
  }
57529
57540
  ), dn(() => {
57530
57541
  s.value && (s.value.pause(), s.value.src = "");
57531
- }), (L, T) => (c(), p("div", wz, [
57542
+ }), (L, T) => (c(), p("div", xz, [
57532
57543
  o("button", {
57533
57544
  onClick: tt(d, ["stop"]),
57534
57545
  class: "audio-play-btn hover:bg-base-100",
@@ -57574,13 +57585,13 @@ const az = {
57574
57585
  }, [...T[1] || (T[1] = [
57575
57586
  o("path", { d: "M8 5v14l11-7z" }, null, -1)
57576
57587
  ])], 4))
57577
- ], 12, kz),
57578
- o("div", Cz, [
57588
+ ], 12, wz),
57589
+ o("div", kz, [
57579
57590
  o("div", {
57580
57591
  class: "audio-player-title",
57581
57592
  style: je({ color: z() })
57582
57593
  }, F(e.label), 5),
57583
- o("div", Sz, [
57594
+ o("div", Cz, [
57584
57595
  o("div", {
57585
57596
  class: "audio-progress-track",
57586
57597
  style: je({ backgroundColor: `${z()}20` })
@@ -57600,12 +57611,12 @@ const az = {
57600
57611
  value: i.value,
57601
57612
  onInput: tt(m, ["stop"]),
57602
57613
  disabled: u.value || f.value
57603
- }, null, 40, Mz)
57614
+ }, null, 40, Sz)
57604
57615
  ], 4)
57605
57616
  ])
57606
57617
  ]),
57607
- o("span", Az, [
57608
- u.value || f.value ? (c(), p("span", $z, "-- : --")) : (c(), p(ge, { key: 1 }, [
57618
+ o("span", Mz, [
57619
+ u.value || f.value ? (c(), p("span", Az, "-- : --")) : (c(), p(ge, { key: 1 }, [
57609
57620
  Be(F(E(i.value)) + " : " + F(E(l.value)), 1)
57610
57621
  ], 64))
57611
57622
  ]),
@@ -57642,10 +57653,10 @@ const az = {
57642
57653
  onEnded: A,
57643
57654
  onError: x,
57644
57655
  preload: "metadata"
57645
- }, null, 40, Ez)
57656
+ }, null, 40, $z)
57646
57657
  ]));
57647
57658
  }
57648
- }, Bz = /* @__PURE__ */ Pe(_z, [["__scopeId", "data-v-d951d6f0"]]), Lz = {
57659
+ }, _z = /* @__PURE__ */ Pe(Ez, [["__scopeId", "data-v-fbc276d0"]]), Bz = {
57649
57660
  __name: "CallRecordPlayer",
57650
57661
  props: {
57651
57662
  recordMetadata: {
@@ -57668,7 +57679,7 @@ const az = {
57668
57679
  onClick: tt((u) => null, ["stop"]),
57669
57680
  class: "call-record-player bg-base-200"
57670
57681
  }, [
57671
- (l = (i = e.recordMetadata) == null ? void 0 : i.urls) != null && l.general ? (c(), _e(Bz, {
57682
+ (l = (i = e.recordMetadata) == null ? void 0 : i.urls) != null && l.general ? (c(), _e(_z, {
57672
57683
  key: 0,
57673
57684
  src: e.recordMetadata.urls.general,
57674
57685
  label: "Conversa",
@@ -57680,16 +57691,16 @@ const az = {
57680
57691
  ]);
57681
57692
  };
57682
57693
  }
57683
- }, Tz = /* @__PURE__ */ Pe(Lz, [["__scopeId", "data-v-67140951"]]), Pz = { class: "call-card-header" }, Dz = { class: "call-card-header-left" }, Fz = { class: "call-card-content" }, Oz = { class: "call-card-title" }, Hz = {
57694
+ }, Lz = /* @__PURE__ */ Pe(Bz, [["__scopeId", "data-v-b2bf056b"]]), Tz = { class: "call-card-header" }, Pz = { class: "call-card-header-left" }, Dz = { class: "call-card-content" }, Fz = { class: "call-card-title" }, Oz = {
57684
57695
  key: 0,
57685
57696
  class: "opacity-70"
57686
- }, zz = {
57697
+ }, Hz = {
57687
57698
  key: 0,
57688
57699
  class: "call-card-text"
57689
- }, Vz = { class: "call-card-actions" }, Rz = {
57700
+ }, zz = { class: "call-card-actions" }, Vz = {
57690
57701
  key: 0,
57691
57702
  class: "call-card-expanded"
57692
- }, jz = { class: "call-events" }, Nz = { class: "call-event-left" }, Iz = { class: "call-event-time" }, Gz = {
57703
+ }, Rz = { class: "call-events" }, jz = { class: "call-event-left" }, Nz = { class: "call-event-time" }, Iz = {
57693
57704
  __name: "CallCard",
57694
57705
  props: {
57695
57706
  call: {
@@ -57845,8 +57856,8 @@ const az = {
57845
57856
  onClick: E[4] || (E[4] = tt((z) => i(e.call), ["stop"])),
57846
57857
  class: "call-card bg-base-300 border hover:bg-base-300 border-base-300"
57847
57858
  }, [
57848
- o("div", Pz, [
57849
- o("div", Dz, [
57859
+ o("div", Tz, [
57860
+ o("div", Pz, [
57850
57861
  o("div", {
57851
57862
  class: Q(["call-icon bg-primary", v(d(e.call))])
57852
57863
  }, [
@@ -57861,19 +57872,19 @@ const az = {
57861
57872
  o("path", { d: "M7.978 4a2.553 2.553 0 0 0-1.926.877C4.233 6.7 3.699 8.751 4.153 10.814c.44 1.995 1.778 3.893 3.456 5.572 1.68 1.679 3.577 3.018 5.57 3.459 2.062.456 4.115-.073 5.94-1.885a2.556 2.556 0 0 0 .001-3.861l-1.21-1.21a2.689 2.689 0 0 0-3.802 0l-.617.618a.806.806 0 0 1-1.14 0l-1.854-1.855a.807.807 0 0 1 0-1.14l.618-.62a2.692 2.692 0 0 0 0-3.803l-1.21-1.211A2.555 2.555 0 0 0 7.978 4Z" }, null, -1)
57862
57873
  ])], 4))
57863
57874
  ], 2),
57864
- o("div", Fz, [
57865
- o("div", Oz, [
57875
+ o("div", Dz, [
57876
+ o("div", Fz, [
57866
57877
  Be(F(e.call.direction === "outbound" ? "Efetuada" : "Recebida") + " ", 1),
57867
- e.call.started_at ? (c(), p("span", Hz, " • " + F(g(e.call.started_at)), 1)) : D("", !0)
57878
+ e.call.started_at ? (c(), p("span", Oz, " • " + F(g(e.call.started_at)), 1)) : D("", !0)
57868
57879
  ]),
57869
- e.hideMessageButton ? (c(), p("div", zz, F(e.call.direction === "outbound" ? "Uma ligação foi efetuada" : "Uma ligação foi recebida"), 1)) : D("", !0),
57880
+ e.hideMessageButton ? (c(), p("div", Hz, F(e.call.direction === "outbound" ? "Uma ligação foi efetuada" : "Uma ligação foi recebida"), 1)) : D("", !0),
57870
57881
  S(e.call).length > 0 ? (c(), p("div", {
57871
57882
  key: 1,
57872
57883
  class: Q(["call-card-status", m(d(e.call))])
57873
57884
  }, F(h(d(e.call))), 3)) : D("", !0)
57874
57885
  ])
57875
57886
  ]),
57876
- o("div", Vz, [
57887
+ o("div", zz, [
57877
57888
  !e.hideMessageButton && e.call.external_id ? (c(), p("button", {
57878
57889
  key: 0,
57879
57890
  onClick: E[0] || (E[0] = tt((z) => f(e.call), ["stop"])),
@@ -57942,18 +57953,18 @@ const az = {
57942
57953
  ]),
57943
57954
  Ce(yt, { name: "fade" }, {
57944
57955
  default: ke(() => [
57945
- n.value.includes(e.call.id) ? (c(), p("div", Rz, [
57946
- a.value[e.call.id] && x(e.call) ? (c(), _e(Tz, {
57956
+ n.value.includes(e.call.id) ? (c(), p("div", Vz, [
57957
+ a.value[e.call.id] && x(e.call) ? (c(), _e(Lz, {
57947
57958
  key: 0,
57948
57959
  "record-metadata": e.call.record_metadata,
57949
57960
  onClose: E[3] || (E[3] = (z) => l(e.call.id))
57950
57961
  }, null, 8, ["record-metadata"])) : D("", !0),
57951
- o("div", jz, [
57962
+ o("div", Rz, [
57952
57963
  (c(!0), p(ge, null, Le(S(e.call), (z, Z) => (c(), p("div", {
57953
57964
  key: Z,
57954
57965
  class: "call-event-item"
57955
57966
  }, [
57956
- o("div", Nz, [
57967
+ o("div", jz, [
57957
57968
  o("div", {
57958
57969
  class: Q(["call-event-dot", b(A(z))])
57959
57970
  }, null, 2),
@@ -57961,7 +57972,7 @@ const az = {
57961
57972
  class: Q(["call-event-text", m(A(z))])
57962
57973
  }, F(h(A(z))), 3)
57963
57974
  ]),
57964
- o("span", Iz, F(y(z.created_at)), 1)
57975
+ o("span", Nz, F(y(z.created_at)), 1)
57965
57976
  ]))), 128))
57966
57977
  ])
57967
57978
  ])) : D("", !0)
@@ -57970,19 +57981,19 @@ const az = {
57970
57981
  })
57971
57982
  ]));
57972
57983
  }
57973
- }, El = /* @__PURE__ */ Pe(Gz, [["__scopeId", "data-v-99b967a6"]]), qz = { class: "call-history-container" }, Wz = {
57984
+ }, El = /* @__PURE__ */ Pe(Iz, [["__scopeId", "data-v-7de9d6c1"]]), Gz = { class: "call-history-container" }, qz = {
57974
57985
  key: 0,
57975
57986
  class: "call-history-loading"
57976
- }, Zz = {
57987
+ }, Wz = {
57977
57988
  key: 1,
57978
57989
  class: "call-history-error"
57979
- }, Uz = {
57990
+ }, Zz = {
57980
57991
  key: 2,
57981
57992
  class: "call-history-empty"
57982
- }, Yz = {
57993
+ }, Uz = {
57983
57994
  key: 3,
57984
57995
  class: "call-history-list"
57985
- }, Xz = {
57996
+ }, Yz = {
57986
57997
  __name: "CallHistory",
57987
57998
  props: {
57988
57999
  chatId: {
@@ -58029,8 +58040,8 @@ const az = {
58029
58040
  function i(l) {
58030
58041
  t.onMessageClick && t.onMessageClick(l);
58031
58042
  }
58032
- return (l, u) => (c(), p("div", qz, [
58033
- n.value ? (c(), p("div", Wz, [...u[0] || (u[0] = [
58043
+ return (l, u) => (c(), p("div", Gz, [
58044
+ n.value ? (c(), p("div", qz, [...u[0] || (u[0] = [
58034
58045
  o("svg", {
58035
58046
  class: "call-history-loading-spinner",
58036
58047
  xmlns: "http://www.w3.org/2000/svg",
@@ -58052,7 +58063,7 @@ const az = {
58052
58063
  })
58053
58064
  ], -1),
58054
58065
  o("span", { class: "call-history-loading-text" }, "Carregando ligações...", -1)
58055
- ])])) : a.value ? (c(), p("div", Zz, F(a.value), 1)) : s.value.length === 0 ? (c(), p("div", Uz, " Nenhuma ligação registrada nesta conversa ")) : (c(), p("div", Yz, [
58066
+ ])])) : a.value ? (c(), p("div", Wz, F(a.value), 1)) : s.value.length === 0 ? (c(), p("div", Zz, " Nenhuma ligação registrada nesta conversa ")) : (c(), p("div", Uz, [
58056
58067
  (c(!0), p(ge, null, Le(s.value, (f) => (c(), _e(El, {
58057
58068
  key: f.id,
58058
58069
  call: f,
@@ -58061,7 +58072,7 @@ const az = {
58061
58072
  ]))
58062
58073
  ]));
58063
58074
  }
58064
- }, _l = /* @__PURE__ */ Pe(Xz, [["__scopeId", "data-v-8048a391"]]), Kz = { class: "call-message-container" }, Qz = /* @__PURE__ */ _n({
58075
+ }, _l = /* @__PURE__ */ Pe(Yz, [["__scopeId", "data-v-23aeed88"]]), Xz = { class: "call-message-container" }, Kz = /* @__PURE__ */ _n({
58065
58076
  __name: "CallMessage",
58066
58077
  props: {
58067
58078
  content: {
@@ -58070,30 +58081,30 @@ const az = {
58070
58081
  }
58071
58082
  },
58072
58083
  setup(e) {
58073
- return (t, n) => (c(), p("div", Kz, [
58084
+ return (t, n) => (c(), p("div", Xz, [
58074
58085
  Ce(El, {
58075
58086
  call: e.content,
58076
58087
  "hide-message-button": !0
58077
58088
  }, null, 8, ["call"])
58078
58089
  ]));
58079
58090
  }
58080
- }), Bl = /* @__PURE__ */ Pe(Qz, [["__scopeId", "data-v-083db514"]]);
58081
- function Jz(e) {
58082
- e.component("primarySelect", c0), e.component("departSelect", K0), e.component("attendantSelect", Q0), e.component("SimpleModal", Va), e.component("simpleCard", d0), e.component("instanceSelect", v0), e.component("calendarEvents", A0), e.component("MFA", $0), e.component("MfaQrCode", Gf), e.component("chatWindow", X0), e.component("FilterSelectLib", J0), e.component("RandomAvatar", el), e.component("MinModal", ur), e.component("LibPatchNotes", tl), e.component("BtnNewUpdates", nl), e.component("LibPhotoPicker", al), e.component("SelectMultipleDepartments", ol), e.component("SelectMultipleInstances", sl), e.component("PrimaryInput", pr), e.component("CurrencyDisplay", fr), e.component("SimpleSelect", rl), e.component("FloatingDev", Al), e.component("RatingInput", Mr), e.component("TagView", Ml), e.component("ClientsForm", Sl), e.component("SelectMultipleTags", Go), e.component("SimpleLoader", Cr), e.component("OutcomeButton", Sr), e.component("CallHistory", _l), e.component("CallMessage", Bl), e.component("ListProducts", kr), e.component("ContactCard", qn), e.component("ContactMessageCard", m0), e.component("WalletCard", kl), e.component("ReminderModal", Js), e.component("SoundSelect", g0), e.component("TimezoneSelect", $l), e.component("SmsPoolSelect", xz), e.component("BaseTable", o0), e.component("TemplateTable", zu), e.component("CategoryBadge", s0);
58091
+ }), Bl = /* @__PURE__ */ Pe(Kz, [["__scopeId", "data-v-f368f432"]]);
58092
+ function Qz(e) {
58093
+ e.component("primarySelect", c0), e.component("departSelect", K0), e.component("attendantSelect", Q0), e.component("SimpleModal", Va), e.component("simpleCard", d0), e.component("instanceSelect", v0), e.component("calendarEvents", A0), e.component("MFA", $0), e.component("MfaQrCode", Gf), e.component("chatWindow", X0), e.component("FilterSelectLib", J0), e.component("RandomAvatar", el), e.component("MinModal", ur), e.component("LibPatchNotes", tl), e.component("BtnNewUpdates", nl), e.component("LibPhotoPicker", al), e.component("SelectMultipleDepartments", ol), e.component("SelectMultipleInstances", sl), e.component("PrimaryInput", pr), e.component("CurrencyDisplay", fr), e.component("SimpleSelect", rl), e.component("FloatingDev", Al), e.component("RatingInput", Mr), e.component("TagView", Ml), e.component("ClientsForm", Sl), e.component("SelectMultipleTags", Go), e.component("SimpleLoader", Cr), e.component("OutcomeButton", Sr), e.component("CallHistory", _l), e.component("CallMessage", Bl), e.component("ListProducts", kr), e.component("ContactCard", qn), e.component("ContactMessageCard", m0), e.component("WalletCard", kl), e.component("ReminderModal", Js), e.component("SoundSelect", g0), e.component("TimezoneSelect", $l), e.component("SmsPoolSelect", bz), e.component("BaseTable", o0), e.component("TemplateTable", zu), e.component("CategoryBadge", s0);
58083
58094
  }
58084
- function eV(e, t = "add") {
58095
+ function Jz(e, t = "add") {
58085
58096
  const n = pa();
58086
58097
  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.`);
58087
58098
  }
58088
- function tV(e, t = "add") {
58099
+ function eV(e, t = "add") {
58089
58100
  const n = Un();
58090
58101
  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.`);
58091
58102
  }
58092
- function nV(e, t = "add") {
58103
+ function tV(e, t = "add") {
58093
58104
  const n = Xs();
58094
58105
  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.`);
58095
58106
  }
58096
- async function aV(e, t, n, a = [], s = [], r = [], i = null) {
58107
+ async function nV(e, t, n, a = [], s = [], r = [], i = null) {
58097
58108
  try {
58098
58109
  Gc(e);
58099
58110
  const l = await Qi(e);
@@ -58106,18 +58117,18 @@ async function aV(e, t, n, a = [], s = [], r = [], i = null) {
58106
58117
  console.error("Erro no setupLibrary:", l);
58107
58118
  }
58108
58119
  }
58109
- function oV(e) {
58120
+ function aV(e) {
58110
58121
  return aa(e);
58111
58122
  }
58112
- function sV(e) {
58123
+ function oV(e) {
58113
58124
  return s7(e);
58114
58125
  }
58115
- const HV = {
58116
- install: Jz,
58117
- setupLibrary: aV,
58118
- attLibDeparts: eV,
58119
- attLibAttendants: tV,
58120
- attLibInstances: nV,
58126
+ const OV = {
58127
+ install: Qz,
58128
+ setupLibrary: nV,
58129
+ attLibDeparts: Jz,
58130
+ attLibAttendants: eV,
58131
+ attLibInstances: tV,
58121
58132
  primarySelect: c0,
58122
58133
  simpleModal: Va,
58123
58134
  simpleCard: d0,
@@ -58141,7 +58152,7 @@ const HV = {
58141
58152
  SelectMultipleTags: Go,
58142
58153
  PrimaryInput: pr,
58143
58154
  CurrencyDisplay: fr,
58144
- getWithContrastColor: oV,
58155
+ getWithContrastColor: aV,
58145
58156
  RatingInput: Mr,
58146
58157
  TagView: Ml,
58147
58158
  ClientsForm: Sl,
@@ -58152,7 +58163,7 @@ const HV = {
58152
58163
  ContactCard: qn,
58153
58164
  ContactMessageCard: m0,
58154
58165
  ReminderModal: Js,
58155
- attReminderByLib: sV,
58166
+ attReminderByLib: oV,
58156
58167
  SoundSelect: g0,
58157
58168
  TimezoneSelect: $l,
58158
58169
  formatCurrency: mn,
@@ -58161,19 +58172,19 @@ const HV = {
58161
58172
  };
58162
58173
  export {
58163
58174
  xa as A,
58164
- tz as B,
58175
+ ez as B,
58165
58176
  Es as C,
58166
- LV as D,
58167
- TV as E,
58168
- PV as F,
58169
- DV as G,
58170
- FV as H,
58171
- nz as I,
58172
- OV as J,
58173
- EV as K,
58174
- _V as L,
58177
+ BV as D,
58178
+ LV as E,
58179
+ TV as F,
58180
+ PV as G,
58181
+ DV as H,
58182
+ tz as I,
58183
+ FV as J,
58184
+ $V as K,
58185
+ EV as L,
58175
58186
  xH as M,
58176
- xz as S,
58187
+ bz as S,
58177
58188
  $l as T,
58178
58189
  I0 as W,
58179
58190
  s0 as _,
@@ -58184,22 +58195,22 @@ export {
58184
58195
  qn as e,
58185
58196
  m0 as f,
58186
58197
  nt as g,
58187
- eV as h,
58188
- tV as i,
58189
- nV as j,
58190
- aV as k,
58191
- oV as l,
58192
- sV as m,
58193
- HV as n,
58198
+ Jz as h,
58199
+ eV as i,
58200
+ tV as j,
58201
+ nV as k,
58202
+ aV as l,
58203
+ oV as m,
58204
+ OV as n,
58194
58205
  C0 as o,
58195
- $V as p,
58206
+ AV as p,
58196
58207
  o0 as q,
58197
58208
  dr as r,
58198
58209
  qc as s,
58199
58210
  zu as t,
58200
58211
  Qi as u,
58201
58212
  K9 as v,
58202
- BV as w,
58213
+ _V as w,
58203
58214
  mn as x,
58204
58215
  wl as y,
58205
58216
  rL as z