@luizleon/sf.prefeiturasp.vuecomponents 0.0.34 → 0.0.35

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.
package/dist/lib.es.js CHANGED
@@ -3574,8 +3574,10 @@ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_m
3574
3574
  }
3575
3575
  }
3576
3576
  async function Kc() {
3577
- const t = "silent-login.html", e = await fetch(location.origin + "/" + t).then((n) => n.status === 200).catch(() => !1);
3578
- return e || (console.warn(`Arquivo ${t} não localizado no projeto!`), document.body.innerHTML = `<div style="padding: 3rem; display: flex; justify-content: center; align-items: center; height: 100vh; width: 100vw; font-size: 1.5rem;">O arquivo '${t}' não foi encontrado.</div>`), e;
3577
+ const t = "silent-login.html", e = await fetch(location.origin + "/" + t).then(async (n) => n.status !== 200 ? !1 : (await n.text()).includes("silent-login-iframe-result")).catch(() => !1);
3578
+ return e || (console.warn(
3579
+ `Arquivo ${t} não localizado no projeto ou não possui o conteúdo correto!`
3580
+ ), document.body.innerHTML = `<div style="padding: 3rem; display: flex; justify-content: center; align-items: center; height: 100vh; width: 100vw; font-size: 1.5rem;">O arquivo '${t}' não foi encontrado.</div>`), e;
3579
3581
  }
3580
3582
  function Gc(t) {
3581
3583
  const e = new pr(t), n = {}, o = async (w = {}, S) => {