sm-click-library-ui 0.0.346 → 0.0.347

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.
@@ -41406,7 +41406,8 @@ $bm_rt = loopOut('cycle', 0);`
41406
41406
  this.skeletonLoader = !0;
41407
41407
  try {
41408
41408
  const e = await jt.get(
41409
- "/v1/api/services/updates/history?system=manager&type=future&page=1&page_size=1"
41409
+ // "https://8c921c4e-8185-44ed-aa7d-71c64f6174ee.mock.pstmn.io/v1/api/patch-notes/attendance"
41410
+ "/v1/api/services/updates/history?system=manager&type=future&page=1&page_size=10"
41410
41411
  );
41411
41412
  this.patchNotes = e.data, console.log(this.patchNotes);
41412
41413
  } catch (e) {
@@ -41433,7 +41434,7 @@ $bm_rt = loopOut('cycle', 0);`
41433
41434
  this.suggestionSent = !1, this.errorSent = !1, this.suggestion = "";
41434
41435
  }
41435
41436
  }
41436
- }), Wa = (e) => (at("data-v-e8f5f948"), e = e(), nt(), e), jk = { class: "relative" }, Uk = {
41437
+ }), Wa = (e) => (at("data-v-df0356b9"), e = e(), nt(), e), jk = { class: "relative" }, Uk = {
41437
41438
  key: 0,
41438
41439
  class: "absolute w-full h-full bg-black/90 z-10 p-2 flex justify-center items-center rounded-lg"
41439
41440
  }, Qk = { class: "text-white p-4 text-center flex flex-col justify-between h-full" }, Zk = /* @__PURE__ */ Wa(() => /* @__PURE__ */ s("p", { class: "text-lg font-semibold" }, " Sua sugestão foi recebida com sucesso ", -1)), Xk = /* @__PURE__ */ Wa(() => /* @__PURE__ */ s("p", null, " Nossa equipe irá avaliá-la com atenção e considerar sua implementação. ", -1)), Kk = /* @__PURE__ */ Wa(() => /* @__PURE__ */ s("p", null, "Agradecemos sua colaboração", -1)), Jk = { class: "container-send-suggestion" }, ex = /* @__PURE__ */ Wa(() => /* @__PURE__ */ s("h1", { class: "header_send_suggestion" }, "Envie sua sugestão para nós", -1)), tx = {
@@ -41448,10 +41449,7 @@ $bm_rt = loopOut('cycle', 0);`
41448
41449
  setup(e, { emit: t }) {
41449
41450
  const a = ln();
41450
41451
  return $(!1), $({
41451
- name: "",
41452
- companySegment: "",
41453
- suggestion: "",
41454
- terms: !1
41452
+ suggestion: ""
41455
41453
  }), (n, r) => {
41456
41454
  const o = O1("Vue3Lottie");
41457
41455
  return d(), m("main", jk, [
@@ -41490,7 +41488,7 @@ $bm_rt = loopOut('cycle', 0);`
41490
41488
  ]);
41491
41489
  };
41492
41490
  }
41493
- }, ox = /* @__PURE__ */ et(rx, [["__scopeId", "data-v-e8f5f948"]]), ix = (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>`, sx = (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>`, lx = ["innerHTML"], ir = {
41491
+ }, ox = /* @__PURE__ */ et(rx, [["__scopeId", "data-v-df0356b9"]]), ix = (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>`, sx = (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>`, lx = ["innerHTML"], ir = {
41494
41492
  __name: "svg",
41495
41493
  props: {
41496
41494
  svgContent: {
@@ -41617,9 +41615,9 @@ $bm_rt = loopOut('cycle', 0);`
41617
41615
  ])
41618
41616
  ], 2));
41619
41617
  }
41620
- }, sr = /* @__PURE__ */ et(wx, [["__scopeId", "data-v-17fe1062"]]), ja = (e) => (at("data-v-b57db21b"), e = e(), nt(), e), bx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("div", { class: "modal-overlay-patch-notes" }, [
41618
+ }, sr = /* @__PURE__ */ et(wx, [["__scopeId", "data-v-17fe1062"]]), ja = (e) => (at("data-v-c4b9f4b6"), e = e(), nt(), e), bx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("div", { class: "modal-overlay-patch-notes" }, [
41621
41619
  /* @__PURE__ */ s("div", { class: "modal-backdrop-patch-notes" })
41622
- ], -1)), _x = { class: "modal-container-patch-notes" }, Cx = { class: "modal-content-patch-notes" }, Sx = { class: "modal-header-patch-notes" }, Mx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("svg", {
41620
+ ], -1)), _x = { class: "modal-container-patch-notes" }, Cx = { class: "modal-content-patch-notes scroll_area_patch_notes_latest_update" }, Sx = { class: "modal-header-patch-notes" }, Mx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("svg", {
41623
41621
  class: "modal-close-icon-patch-notes",
41624
41622
  "aria-hidden": "true",
41625
41623
  xmlns: "http://www.w3.org/2000/svg",
@@ -41635,16 +41633,16 @@ $bm_rt = loopOut('cycle', 0);`
41635
41633
  })
41636
41634
  ], -1)), Ax = [
41637
41635
  Mx
41638
- ], Dx = { class: "modal-body-patch-notes" }, Tx = { class: "modal-section-patch-notes updates-section-patch-notes" }, Ex = { class: "" }, Fx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("h1", { class: "header_latest_update" }, "Ultimas Atualizações", -1)), Px = { class: "features-list scrollable-section scroll_area_patch_notes_latest_update" }, Bx = {
41636
+ ], Dx = { class: "modal-body-patch-notes" }, Tx = { class: "flex gap-2 col-span-2 w-full" }, Ex = { class: "modal-section-patch-notes updates-section-patch-notes" }, Fx = { class: "" }, Px = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("h1", { class: "header_latest_update" }, "Ultimas Atualizações", -1)), Bx = { class: "features-list scrollable-section scroll_area_patch_notes_latest_update" }, Ox = {
41639
41637
  key: 0,
41640
41638
  class: "w-full animate-pulse flex flex-col gap-2"
41641
- }, Ox = { class: "h-[7.1rem] w-full bg-[#27435b] rounded-[10px]" }, $x = {
41639
+ }, $x = { class: "h-[7.1rem] w-full bg-[#27435b] rounded-[10px]" }, Hx = {
41642
41640
  key: 1,
41643
41641
  class: "text-white justify-center items-center flex h-full font-medium"
41644
- }, Hx = { class: "modal-section-patch-notes future-section-patch-notes" }, Vx = { class: "" }, Nx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("h1", { class: "header_future_updates" }, "Futuras Atualizações", -1)), Lx = { class: "features-list scrollable-section scroll_area_patch_notes_future_updates" }, Rx = {
41642
+ }, Vx = { class: "modal-section-patch-notes future-section-patch-notes" }, Nx = { class: "" }, Lx = /* @__PURE__ */ ja(() => /* @__PURE__ */ s("h1", { class: "header_future_updates" }, "Futuras Atualizações", -1)), Rx = { class: "features-list scrollable-section scroll_area_patch_notes_future_updates" }, Gx = {
41645
41643
  key: 0,
41646
41644
  class: "text-white justify-center items-center flex h-full font-medium"
41647
- }, Gx = {
41645
+ }, zx = {
41648
41646
  __name: "patchNotes",
41649
41647
  emits: ["close"],
41650
41648
  setup(e, { emit: t }) {
@@ -41657,7 +41655,7 @@ $bm_rt = loopOut('cycle', 0);`
41657
41655
  };
41658
41656
  return (o, i) => {
41659
41657
  var l, c, f, u;
41660
- return d(), m("section", null, [
41658
+ return d(), m("main", null, [
41661
41659
  bx,
41662
41660
  s("div", _x, [
41663
41661
  s("div", Cx, [
@@ -41670,36 +41668,38 @@ $bm_rt = loopOut('cycle', 0);`
41670
41668
  s("div", Dx, [
41671
41669
  s("div", Tx, [
41672
41670
  s("div", Ex, [
41673
- Fx,
41674
- s("div", Px, [
41675
- g(a).skeletonLoader ? (d(), m("section", Bx, [
41676
- (d(), m(ke, null, De(15, (h) => s("div", Ox)), 64))
41677
- ])) : !g(a).skeletonLoader && ((l = g(a).patchNotes) == null ? void 0 : l.latest_update) <= 0 ? (d(), m("span", $x, " Nenhum atualizações programada ")) : (d(!0), m(ke, { key: 2 }, De((c = g(a).patchNotes) == null ? void 0 : c.latest_update, (h) => (d(), Se(sr, {
41678
- key: h,
41679
- state: "updated",
41680
- title: h.title,
41681
- description: h.description,
41682
- date: h.created_at,
41683
- tutorial: h.tutorial,
41684
- flag: h.flag
41685
- }, null, 8, ["title", "description", "date", "tutorial", "flag"]))), 128))
41671
+ s("div", Fx, [
41672
+ Px,
41673
+ s("div", Bx, [
41674
+ g(a).skeletonLoader ? (d(), m("section", Ox, [
41675
+ (d(), m(ke, null, De(15, (h) => s("div", $x)), 64))
41676
+ ])) : !g(a).skeletonLoader && ((l = g(a).patchNotes) == null ? void 0 : l.latest_update) <= 0 ? (d(), m("span", Hx, " Nenhum atualizações programada ")) : (d(!0), m(ke, { key: 2 }, De((c = g(a).patchNotes) == null ? void 0 : c.latest_update, (h) => (d(), Se(sr, {
41677
+ key: h,
41678
+ state: "updated",
41679
+ title: h.title,
41680
+ description: h.description,
41681
+ date: h.created_at,
41682
+ tutorial: h.tutorial,
41683
+ flag: h.flag
41684
+ }, null, 8, ["title", "description", "date", "tutorial", "flag"]))), 128))
41685
+ ])
41686
41686
  ])
41687
- ])
41688
- ]),
41689
- s("div", Hx, [
41687
+ ]),
41690
41688
  s("div", Vx, [
41691
- Nx,
41692
- s("div", Lx, [
41693
- ((f = g(a).patchNotes) == null ? void 0 : f.future_updates) <= 0 ? (d(), m("div", Rx, " Nenhum atualizações programada ")) : H("", !0),
41694
- (d(!0), m(ke, null, De((u = g(a).patchNotes) == null ? void 0 : u.future_updates, (h) => (d(), Se(sr, {
41695
- key: h,
41696
- state: "future-update",
41697
- title: h.title,
41698
- description: h.description,
41699
- date: h.created_at,
41700
- tutorial: h.tutorial,
41701
- flag: h.flag
41702
- }, null, 8, ["title", "description", "date", "tutorial", "flag"]))), 128))
41689
+ s("div", Nx, [
41690
+ Lx,
41691
+ s("div", Rx, [
41692
+ ((f = g(a).patchNotes) == null ? void 0 : f.future_updates) <= 0 ? (d(), m("div", Gx, " Nenhum atualizações programada ")) : H("", !0),
41693
+ (d(!0), m(ke, null, De((u = g(a).patchNotes) == null ? void 0 : u.future_updates, (h) => (d(), Se(sr, {
41694
+ key: h,
41695
+ state: "future-update",
41696
+ title: h.title,
41697
+ description: h.description,
41698
+ date: h.created_at,
41699
+ tutorial: h.tutorial,
41700
+ flag: h.flag
41701
+ }, null, 8, ["title", "description", "date", "tutorial", "flag"]))), 128))
41702
+ ])
41703
41703
  ])
41704
41704
  ])
41705
41705
  ]),
@@ -41710,10 +41710,10 @@ $bm_rt = loopOut('cycle', 0);`
41710
41710
  ]);
41711
41711
  };
41712
41712
  }
41713
- }, ro = /* @__PURE__ */ et(Gx, [["__scopeId", "data-v-b57db21b"]]), zx = {
41713
+ }, ro = /* @__PURE__ */ et(zx, [["__scopeId", "data-v-c4b9f4b6"]]), Yx = {
41714
41714
  key: 0,
41715
41715
  class: "main-container-new-update"
41716
- }, Yx = /* @__PURE__ */ s("svg", {
41716
+ }, qx = /* @__PURE__ */ s("svg", {
41717
41717
  class: "new_update-icon",
41718
41718
  fill: "currentColor",
41719
41719
  viewBox: "0 0 420.827 420.827"
@@ -41724,12 +41724,12 @@ $bm_rt = loopOut('cycle', 0);`
41724
41724
  /* @__PURE__ */ s("path", { d: "M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z" })
41725
41725
  ])
41726
41726
  ])
41727
- ], -1), qx = [
41728
- Yx
41729
- ], Ix = /* @__PURE__ */ s("p", { class: "tooltip-new-update" }, "Novas atualizações", -1), Wx = {
41727
+ ], -1), Ix = [
41728
+ qx
41729
+ ], Wx = /* @__PURE__ */ s("p", { class: "tooltip-new-update" }, "Novas atualizações", -1), jx = {
41730
41730
  key: 1,
41731
41731
  class: "main-container-new-update-manager-close"
41732
- }, jx = /* @__PURE__ */ s("svg", {
41732
+ }, Ux = /* @__PURE__ */ s("svg", {
41733
41733
  class: "new_update-icon",
41734
41734
  fill: "currentColor",
41735
41735
  viewBox: "0 0 420.827 420.827"
@@ -41740,12 +41740,12 @@ $bm_rt = loopOut('cycle', 0);`
41740
41740
  /* @__PURE__ */ s("path", { d: "M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z" })
41741
41741
  ])
41742
41742
  ])
41743
- ], -1), Ux = [
41744
- jx
41745
- ], Qx = /* @__PURE__ */ s("div", { class: "tooltip-popper-manager" }, "Novas atualizações", -1), Zx = {
41743
+ ], -1), Qx = [
41744
+ Ux
41745
+ ], Zx = /* @__PURE__ */ s("div", { class: "tooltip-popper-manager" }, "Novas atualizações", -1), Xx = {
41746
41746
  key: 2,
41747
41747
  class: "main-container-new-update-manager-open"
41748
- }, Xx = /* @__PURE__ */ s("svg", {
41748
+ }, Kx = /* @__PURE__ */ s("svg", {
41749
41749
  class: "new_update-icon",
41750
41750
  fill: "currentColor",
41751
41751
  viewBox: "0 0 420.827 420.827"
@@ -41756,9 +41756,9 @@ $bm_rt = loopOut('cycle', 0);`
41756
41756
  /* @__PURE__ */ s("path", { d: "M195.112,237.9h118.5c2.757,0,5-2.242,5-5v-30c0-2.757-2.243-5-5-5h-83.5v-91c0-2.757-2.243-5-5-5h-30 c-2.757,0-5,2.243-5,5v126C190.112,235.658,192.355,237.9,195.112,237.9z" })
41757
41757
  ])
41758
41758
  ])
41759
- ], -1), Kx = /* @__PURE__ */ s("p", { class: "text-white" }, "Novas atualizações", -1), Jx = [
41760
- Xx,
41761
- Kx
41759
+ ], -1), Jx = /* @__PURE__ */ s("p", { class: "text-white" }, "Novas atualizações", -1), ew = [
41760
+ Kx,
41761
+ Jx
41762
41762
  ], oo = {
41763
41763
  __name: "btnNewUpdates",
41764
41764
  props: {
@@ -41776,14 +41776,14 @@ $bm_rt = loopOut('cycle', 0);`
41776
41776
  return (r, o) => {
41777
41777
  const i = O1("Popper");
41778
41778
  return d(), m(ke, null, [
41779
- e.type === "attendance" ? (d(), m("main", zx, [
41779
+ e.type === "attendance" ? (d(), m("main", Yx, [
41780
41780
  s("button", {
41781
41781
  onClick: o[0] || (o[0] = (l) => n()),
41782
41782
  class: "new_update-button"
41783
- }, qx),
41784
- Ix
41783
+ }, Ix),
41784
+ Wx
41785
41785
  ])) : H("", !0),
41786
- e.type === "managerSideBarClose" ? (d(), m("main", Wx, [
41786
+ e.type === "managerSideBarClose" ? (d(), m("main", jx, [
41787
41787
  Be(i, {
41788
41788
  class: "popper-manager-button",
41789
41789
  hover: "",
@@ -41791,22 +41791,22 @@ $bm_rt = loopOut('cycle', 0);`
41791
41791
  placement: "right"
41792
41792
  }, {
41793
41793
  content: ve(() => [
41794
- Qx
41794
+ Zx
41795
41795
  ]),
41796
41796
  default: ve(() => [
41797
41797
  s("button", {
41798
41798
  onClick: o[1] || (o[1] = (l) => n()),
41799
41799
  class: "new_update-button"
41800
- }, Ux)
41800
+ }, Qx)
41801
41801
  ]),
41802
41802
  _: 1
41803
41803
  })
41804
41804
  ])) : H("", !0),
41805
- e.type === "managerSideBarOpen" ? (d(), m("main", Zx, [
41805
+ e.type === "managerSideBarOpen" ? (d(), m("main", Xx, [
41806
41806
  s("button", {
41807
41807
  onClick: o[2] || (o[2] = (l) => n()),
41808
41808
  class: "new_update-button-open-side"
41809
- }, Jx)
41809
+ }, ew)
41810
41810
  ])) : H("", !0)
41811
41811
  ], 64);
41812
41812
  };
@@ -41822,22 +41822,22 @@ $1("debug", {
41822
41822
  }
41823
41823
  }
41824
41824
  });
41825
- function ew(e) {
41825
+ function tw(e) {
41826
41826
  e.component("primarySelect", gr), e.component("departSelect", X2), e.component("attendantSelect", K2), e.component("SimpleModal", kr), e.component("simpleCard", xr), e.component("instanceSelect", Ir), e.component("calendar", $2), e.component("MFA", H2), e.component("MfaQrCode", xc), e.component("chatWindow", Q2), e.component("FilterSelectLib", eo), e.component("MobileInternalChat", Z2), e.component("RandomAvatar", to), e.component("MinModal", ao), e.component("LibPatchNotes", ro), e.component("BtnNewUpdates", oo);
41827
41827
  }
41828
- function tw(e, t = "add") {
41828
+ function aw(e, t = "add") {
41829
41829
  const a = sn();
41830
41830
  t === "add" ? a.addDepartments(e) : t === "delete" ? a.removeDepartments(e) : t === "update" ? (a.departments = e, a.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibDeparts.`);
41831
41831
  }
41832
- function aw(e, t = "add") {
41832
+ function nw(e, t = "add") {
41833
41833
  const a = za();
41834
41834
  t === "add" ? a.addAttendants(e) : t === "delete" ? a.removeAttendants(e) : t === "update" ? (a.attendants = e, a.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibAttendants.`);
41835
41835
  }
41836
- function nw(e, t = "add") {
41836
+ function rw(e, t = "add") {
41837
41837
  const a = L0();
41838
41838
  t === "add" ? a.addInstance(e) : t === "delete" ? a.removeInstance(e) : t === "update" ? (a.instances = e, a.loaded = !0) : console.error(`Ação "${t}" não suportada em attLibInstances.`);
41839
41839
  }
41840
- async function rw(e, t, a, n = [], r = [], o = []) {
41840
+ async function ow(e, t, a, n = [], r = [], o = []) {
41841
41841
  try {
41842
41842
  const i = await qr(e);
41843
41843
  t && await i.setToken(t), a && (jt.defaults.baseURL = a);
@@ -41849,12 +41849,12 @@ async function rw(e, t, a, n = [], r = [], o = []) {
41849
41849
  console.error("Erro no setupLibrary:", i);
41850
41850
  }
41851
41851
  }
41852
- const lw = {
41853
- install: ew,
41854
- setupLibrary: rw,
41855
- attLibDeparts: tw,
41856
- attLibAttendants: aw,
41857
- attLibInstances: nw,
41852
+ const cw = {
41853
+ install: tw,
41854
+ setupLibrary: ow,
41855
+ attLibDeparts: aw,
41856
+ attLibAttendants: nw,
41857
+ attLibInstances: rw,
41858
41858
  primarySelect: gr,
41859
41859
  simpleModal: kr,
41860
41860
  simpleCard: xr,
@@ -41872,9 +41872,9 @@ const lw = {
41872
41872
  btnNewUpdates: oo
41873
41873
  };
41874
41874
  export {
41875
- aw as attLibAttendants,
41876
- tw as attLibDeparts,
41877
- nw as attLibInstances,
41878
- lw as default,
41879
- rw as setupLibrary
41875
+ nw as attLibAttendants,
41876
+ aw as attLibDeparts,
41877
+ rw as attLibInstances,
41878
+ cw as default,
41879
+ ow as setupLibrary
41880
41880
  };