sm-click-library-ui 0.0.132 → 0.0.133

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.
@@ -13336,7 +13336,10 @@ const Fv = {
13336
13336
  function $y(e, a) {
13337
13337
  return b(), x("div", Oy, Sy);
13338
13338
  }
13339
- const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948c"]]), Xr = (e) => (wt("data-v-41a5b9c2"), e = e(), bt(), e), Ny = { class: "chat-container" }, Ey = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13339
+ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948c"]]), Xr = (e) => (wt("data-v-bebae6c5"), e = e(), bt(), e), Ny = { class: "chat-container" }, Ey = {
13340
+ key: 0,
13341
+ style: { width: "48px", height: "48px", "border-radius": "50%", "background-color": "#3b82f6", display: "flex", "justify-content": "center" }
13342
+ }, Yy = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13340
13343
  xmlns: "http://www.w3.org/2000/svg",
13341
13344
  viewBox: "0 0 640 512"
13342
13345
  }, [
@@ -13344,12 +13347,12 @@ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948
13344
13347
  fill: "currentColor",
13345
13348
  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"
13346
13349
  })
13347
- ], -1)), Yy = [
13348
- Ey
13349
- ], Fy = {
13350
+ ], -1)), Fy = [
13351
+ Yy
13352
+ ], Iy = {
13350
13353
  key: 0,
13351
13354
  class: "chat-icon"
13352
- }, Iy = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13355
+ }, Ly = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13353
13356
  xmlns: "http://www.w3.org/2000/svg",
13354
13357
  viewBox: "0 0 640 512"
13355
13358
  }, [
@@ -13357,13 +13360,13 @@ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948
13357
13360
  fill: "currentColor",
13358
13361
  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"
13359
13362
  })
13360
- ], -1)), Ly = {
13363
+ ], -1)), By = {
13361
13364
  key: 0,
13362
13365
  class: "unread-count"
13363
- }, By = {
13366
+ }, qy = {
13364
13367
  key: 0,
13365
13368
  class: "chat-content"
13366
- }, qy = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13369
+ }, Wy = /* @__PURE__ */ Xr(() => /* @__PURE__ */ y("svg", {
13367
13370
  class: "w-5 h-5",
13368
13371
  xmlns: "http://www.w3.org/2000/svg",
13369
13372
  width: "24",
@@ -13378,12 +13381,12 @@ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948
13378
13381
  "stroke-width": "2",
13379
13382
  d: "M6 18L17.94 6M18 18L6.06 6"
13380
13383
  })
13381
- ], -1)), Wy = [
13382
- qy
13383
- ], jy = {
13384
+ ], -1)), jy = [
13385
+ Wy
13386
+ ], Hy = {
13384
13387
  key: 1,
13385
13388
  class: "h-full"
13386
- }, Hy = {
13389
+ }, zy = {
13387
13390
  __name: "chatWindow",
13388
13391
  props: {
13389
13392
  attendant: {
@@ -13447,31 +13450,33 @@ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948
13447
13450
  m.value = !0;
13448
13451
  }, 400);
13449
13452
  }), (_, L) => (b(), x("div", Ny, [
13450
- d.value ? (b(), x("button", {
13451
- key: 0,
13452
- onClick: fa(Y, ["stop"]),
13453
- class: "chat-icon"
13454
- }, Yy)) : V("", !0),
13453
+ d.value ? (b(), x("div", Ey, [
13454
+ y("button", {
13455
+ style: { "margin-top": "auto", "margin-bottom": "auto" },
13456
+ onClick: fa(Y, ["stop"]),
13457
+ class: "chat-icon my-auto"
13458
+ }, Fy)
13459
+ ])) : V("", !0),
13455
13460
  y("div", {
13456
13461
  onClick: A,
13457
13462
  class: ye(d.value ? "chat-box open bg-base-200" : "chat-box closed"),
13458
13463
  style: vt(d.value ? { height: w(t).length <= 5 ? "500px" : "65vh" } : {})
13459
13464
  }, [
13460
- d.value ? V("", !0) : (b(), x("span", Fy, [
13461
- Iy,
13462
- g.value > 0 ? (b(), x("span", Ly, be(g.value), 1)) : V("", !0)
13465
+ d.value ? V("", !0) : (b(), x("span", Iy, [
13466
+ Ly,
13467
+ g.value > 0 ? (b(), x("span", By, be(g.value), 1)) : V("", !0)
13463
13468
  ])),
13464
13469
  d.value ? (b(), Me(va, {
13465
13470
  key: 1,
13466
13471
  name: "fade"
13467
13472
  }, {
13468
13473
  default: pe(() => [
13469
- m.value ? (b(), x("div", By, [
13474
+ m.value ? (b(), x("div", qy, [
13470
13475
  y("button", {
13471
13476
  onClick: fa(Y, ["stop"]),
13472
13477
  class: "close-button"
13473
- }, Wy),
13474
- w(n) || w(c) ? (b(), Me(Ry, { key: 0 })) : p.value && !w(n) ? (b(), x("div", jy, [
13478
+ }, jy),
13479
+ w(n) || w(c) ? (b(), Me(Ry, { key: 0 })) : p.value && !w(n) ? (b(), x("div", Hy, [
13475
13480
  Ie(Ty, {
13476
13481
  attendant: e.attendant,
13477
13482
  selectedAtendente: p.value,
@@ -13494,7 +13499,7 @@ const Ry = /* @__PURE__ */ Mt(Dy, [["render", $y], ["__scopeId", "data-v-ac25948
13494
13499
  ], 6)
13495
13500
  ]));
13496
13501
  }
13497
- }, Tl = /* @__PURE__ */ Mt(Hy, [["__scopeId", "data-v-41a5b9c2"]]);
13502
+ }, Tl = /* @__PURE__ */ Mt(zy, [["__scopeId", "data-v-bebae6c5"]]);
13498
13503
  xr("debug", {
13499
13504
  state: () => ({
13500
13505
  message: "Debug store initialized"
@@ -13523,14 +13528,14 @@ xr("attendant", {
13523
13528
  }
13524
13529
  }
13525
13530
  });
13526
- function zy(e) {
13531
+ function Vy(e) {
13527
13532
  e.component("primarySelect", Zo), e.component("simpleModal", Jo), e.component("simpleCard", es), e.component("instanceSelect", As), e.component("calendar", hl), e.component("MFA", pl), e.component("MfaQrCode", B1), e.component("chatWindow", Tl);
13528
13533
  }
13529
- function Xy(e, a, t) {
13534
+ function Gy(e, a, t) {
13530
13535
  vl(e).setToken(a), t && (ia.defaults.baseURL = t);
13531
13536
  }
13532
- const Gy = {
13533
- install: zy,
13537
+ const Zy = {
13538
+ install: Vy,
13534
13539
  primarySelect: Zo,
13535
13540
  simpleModal: Jo,
13536
13541
  simpleCard: es,
@@ -13540,6 +13545,6 @@ const Gy = {
13540
13545
  chatWindow: Tl
13541
13546
  };
13542
13547
  export {
13543
- Gy as default,
13544
- Xy as setupLibrary
13548
+ Zy as default,
13549
+ Gy as setupLibrary
13545
13550
  };