@luizleon/sf.prefeiturasp.vuecomponents 4.1.9 → 4.1.10

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.
@@ -8995,12 +8995,12 @@ class Qh {
8995
8995
  }
8996
8996
  const fg = (t, e) => new Qh(t, e);
8997
8997
  class eg {
8998
- constructor() {
8998
+ constructor(e) {
8999
8999
  Pe(this, "axios");
9000
9000
  Pe(this, "authService", Zi());
9001
- this.axios = ie.create(), this.axios.defaults.baseURL = window.location.origin + "/api", this.axios.defaults.headers.common["content-type"] = "application/json", this.axios.defaults.timeout = 1e3 * 60 * 5, this.axios.interceptors.request.use(async (e) => {
9002
- const n = await this.GetAccessToken();
9003
- return e.headers.Authorization = n ? `Bearer ${n}` : void 0, e;
9001
+ this.axios = ie.create(), this.axios.defaults.baseURL = e ?? window.location.origin + "/api", this.axios.defaults.headers.common["content-type"] = "application/json", this.axios.defaults.timeout = 1e3 * 60 * 5, this.axios.interceptors.request.use(async (n) => {
9002
+ const r = await this.GetAccessToken();
9003
+ return n.headers.Authorization = r ? `Bearer ${r}` : void 0, n;
9004
9004
  });
9005
9005
  }
9006
9006
  /**
@@ -9053,7 +9053,7 @@ class eg {
9053
9053
  }
9054
9054
  }
9055
9055
  }
9056
- const mg = () => new eg();
9056
+ const mg = (t) => new eg(t);
9057
9057
  class co {
9058
9058
  /**
9059
9059
  * https://www.w3.org/TR/mediaqueries-4/#valdef-media-pointer-coarse