sm-click-library-ui 0.0.151 → 0.0.153

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.
@@ -13551,7 +13551,7 @@ const Ly = /* @__PURE__ */ kt($y, [["render", Fy], ["__scopeId", "data-v-ac25948
13551
13551
  }
13552
13552
  }
13553
13553
  }
13554
- }), ln = (e) => (vt("data-v-55ab3fa1"), e = e(), yt(), e), Gy = { class: "container" }, Zy = { class: "search-container relative" }, Ky = ["placeholder"], Jy = { class: "icon-container" }, eg = {
13554
+ }), ln = (e) => (vt("data-v-1a26875f"), e = e(), yt(), e), Gy = { class: "container" }, Zy = { class: "search-container relative" }, Ky = ["placeholder"], Jy = { class: "icon-container" }, eg = {
13555
13555
  key: 0,
13556
13556
  xmlns: "http://www.w3.org/2000/svg",
13557
13557
  fill: "none",
@@ -13606,7 +13606,7 @@ const Ly = /* @__PURE__ */ kt($y, [["render", Fy], ["__scopeId", "data-v-ac25948
13606
13606
  department: { type: Array, default: null },
13607
13607
  modal_filter: { type: String, default: null },
13608
13608
  multiSelect: { type: Boolean, default: !0 },
13609
- permissions: { type: Boolean, default: !0 }
13609
+ permissions: { type: Boolean, default: !1 }
13610
13610
  },
13611
13611
  emits: ["depart"],
13612
13612
  setup(e, { emit: a }) {
@@ -13648,7 +13648,7 @@ const Ly = /* @__PURE__ */ kt($y, [["render", Fy], ["__scopeId", "data-v-ac25948
13648
13648
  mt(p("input", {
13649
13649
  "onUpdate:modelValue": y[0] || (y[0] = (S) => o.value = S),
13650
13650
  placeholder: s.value.length > 0 ? e.multiSelect ? `Selecionados: ${s.value.length}` : `Selecionado: ${s.value[0].name}` : "Pesquise por nome.",
13651
- class: "search-input"
13651
+ class: "select-depart-input"
13652
13652
  }, null, 8, Ky), [
13653
13653
  [ma, o.value]
13654
13654
  ]),
@@ -13700,7 +13700,7 @@ const Ly = /* @__PURE__ */ kt($y, [["render", Fy], ["__scopeId", "data-v-ac25948
13700
13700
  ])
13701
13701
  ]));
13702
13702
  }
13703
- }, Ol = /* @__PURE__ */ kt(wg, [["__scopeId", "data-v-55ab3fa1"]]), bg = Mn("debug", {
13703
+ }, Ol = /* @__PURE__ */ kt(wg, [["__scopeId", "data-v-1a26875f"]]), bg = Mn("debug", {
13704
13704
  state: () => ({
13705
13705
  message: "Debug store initialized"
13706
13706
  }),
@@ -13729,18 +13729,19 @@ Mn("attendant", {
13729
13729
  }
13730
13730
  });
13731
13731
  function _g(e) {
13732
- e.component("primarySelect", Jo), e.component("simpleModal", ts), e.component("simpleCard", as), e.component("instanceSelect", Ts), e.component("calendar", vl), e.component("MFA", yl), e.component("MfaQrCode", z1), e.component("chatWindow", Pl), e.component("departSelect", Ol);
13732
+ e.component("primarySelect", Jo), e.component("departSelect", Ol), e.component("simpleModal", ts), e.component("simpleCard", as), e.component("instanceSelect", Ts), e.component("calendar", vl), e.component("MFA", yl), e.component("MfaQrCode", z1), e.component("chatWindow", Pl);
13733
13733
  }
13734
13734
  function kg(e, a, t) {
13735
- console.log("Iniciando setupLibrary");
13735
+ console.log("setupLibrary chamada com:", e, a, t);
13736
13736
  try {
13737
- gl(e).setToken(a), t && (Kt.defaults.baseURL = t), bg(e).logMessage(), Cl(e).fetchDepartments(), console.log("setup realizado com sucesso!");
13737
+ gl(e).setToken(a), t && (Kt.defaults.baseURL = t, console.log("URL base configurada para:", t)), bg(e).logMessage(), Cl(e).fetchDepartments(), console.log("setupLibrary finalizado com sucesso");
13738
13738
  } catch (n) {
13739
- console.log(n);
13739
+ console.error("Erro no setupLibrary:", n);
13740
13740
  }
13741
13741
  }
13742
13742
  const Tg = {
13743
13743
  install: _g,
13744
+ setupLibrary: kg,
13744
13745
  primarySelect: Jo,
13745
13746
  simpleModal: ts,
13746
13747
  simpleCard: as,
@@ -13748,8 +13749,7 @@ const Tg = {
13748
13749
  calendar: vl,
13749
13750
  MFA: yl,
13750
13751
  chatWindow: Pl,
13751
- departSelect: Ol,
13752
- setupLibrary: kg
13752
+ departSelect: Ol
13753
13753
  };
13754
13754
  export {
13755
13755
  Tg as default,