aquasis-fe-components 1.2.9 → 1.2.11

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.
@@ -53768,7 +53768,7 @@ class f0 {
53768
53768
  }
53769
53769
  s3(f0, "set", (t, n) => localStorage.setItem(`${N4}.${t}`, JSON.stringify(n))), s3(f0, "remove", (t) => localStorage.removeItem(`${N4}.${t}`));
53770
53770
  const An = {
53771
- ColorPrimary: "#00bbb4",
53771
+ ColorPrimary: "#60c5cf",
53772
53772
  PrimaryColorText: "#fff",
53773
53773
  ColorTextQuaternary: "#6f6f6f",
53774
53774
  PrimaryColorBgContainer: "rgb(48, 48, 48)",
@@ -53787,7 +53787,7 @@ const An = {
53787
53787
  ColorWhite: "#fff",
53788
53788
  ColorLinkHover: "#0e80c0"
53789
53789
  }, $n = {
53790
- ColorPrimary: "#00bbb4",
53790
+ ColorPrimary: "#60c5cf",
53791
53791
  PrimaryColorText: "#000",
53792
53792
  ColorTextQuaternary: "#d4d4d4",
53793
53793
  PrimaryColorBgContainer: "rgba(255, 255, 255, 1)",
@@ -72853,17 +72853,17 @@ function CI(e, t, n) {
72853
72853
  }
72854
72854
  var Yt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(Yt || {}), If = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e))(If || {});
72855
72855
  const E$e = async () => {
72856
- const t = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: n } = await da.get(`${t}/getApps`);
72857
- return n;
72856
+ const e = window.globalAuthUrl, { data: t } = await da.get(`${e}/getApps`);
72857
+ return t;
72858
72858
  }, M$e = async (e) => {
72859
- const n = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: r } = await da.post(`${n}/ListReleases`, e);
72860
- return r;
72859
+ const t = window.globalAuthUrl, { data: n } = await da.post(`${t}/ListReleases`, e);
72860
+ return n;
72861
72861
  }, w$e = async (e) => {
72862
- const n = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: r } = await da.post(`${n}/MaintainReleases`, e);
72863
- return r;
72862
+ const t = window.globalAuthUrl, { data: n } = await da.post(`${t}/MaintainReleases`, e);
72863
+ return n;
72864
72864
  }, z$e = async (e, t) => {
72865
- const r = location.pathname.includes("dev") ? "https://meterwisedev.aquasis.pt:8003/api" : location.pathname.includes("qa") ? "https://gauapiqa.ags.pt/api" : "https://gauapi.ags.pt/api", { data: a } = await da.post(`${r}/ReadNotification`, { idRelease: e, userId: t });
72866
- return a;
72865
+ const n = window.globalAuthUrl, { data: r } = await da.post(`${n}/ReadNotification`, { idRelease: e, userId: t });
72866
+ return r;
72867
72867
  }, yI = () => CI([If.GetApps], async () => await E$e()), N$e = (e) => {
72868
72868
  const { idApp: t, userId: n, lastDeployed: r } = e;
72869
72869
  return CI(