sm-click-library-ui 0.0.151 → 0.0.152

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.
@@ -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,