propro-common-components 0.0.85 → 0.0.87

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.
@@ -1,7 +1,7 @@
1
1
  var es = Object.defineProperty;
2
2
  var ts = (e, t, n) => t in e ? es(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Nr = (e, t, n) => (ts(e, typeof t != "symbol" ? t + "" : t, n), n);
4
- import { d as tn, s as Gn, m as Hn, c as P, g as ns, a as F, b as v, e as N, o as It, P as Po, S as K, i as E, f as U, h as L, j as Be, k as D, l as rs, n as At, p as ir, q as H, r as os, t as $n, F as zo, u as Bo, v as V, $ as ft, w as pn, x as jn, y as Re, z as Ce, A as Se, I as is, B as sr, C as O, D as nn, E as Ur, G as ss, H as kt, J as jt, K as Vr, L as Z, M as ls, N as as, O as Pn, Q as cs, R as us, T as ds, U as fs, V as zn, W as gs, X as hs } from "./main-0tF91tTZ.js";
4
+ import { d as tn, s as Gn, m as Hn, c as P, g as ns, a as F, b as v, e as N, o as It, P as Po, S as K, i as E, f as U, h as L, j as Be, k as D, l as rs, n as At, p as ir, q as H, r as os, t as $n, F as zo, u as Bo, v as V, $ as ft, w as pn, x as jn, y as Re, z as Ce, A as Se, I as is, B as sr, C as O, D as nn, E as Ur, G as ss, H as kt, J as jt, K as Vr, L as Z, M as ls, N as as, O as Pn, Q as cs, R as us, T as ds, U as fs, V as zn, W as gs, X as hs } from "./main-9D3yX1Ug.js";
5
5
  var Ko = {
6
6
  À: "A",
7
7
  Á: "A",
@@ -51952,7 +51952,7 @@ async function sendEmail(m, g) {
51952
51952
  g("failedSubmit");
51953
51953
  }
51954
51954
  }
51955
- const initialState = { loading: !0 }, AppContext = createContext$1({
51955
+ const initialState = { loading: !1 }, AppContext = createContext$1({
51956
51956
  state: initialState,
51957
51957
  dispatch: () => null
51958
51958
  }), AppProvider = ({ children: m, baseURL: g }) => {
@@ -51971,9 +51971,9 @@ const initialState = { loading: !0 }, AppContext = createContext$1({
51971
51971
  }), []), /* @__PURE__ */ jsx$2(AppContext.Provider, { value: { state: _, dispatch: S }, children: m });
51972
51972
  }, handleAuth = async (m) => {
51973
51973
  try {
51974
- m({ type: "SET_LOADING", payload: !0 }), await axios.post("/api/refreshToken"), m({ type: "SET_LOADING", payload: !1 });
51974
+ m({ type: "SET_LOADING", payload: !0 }), await axios.post("/api/refreshToken"), m({ type: "SET_LOADING", payload: !1 }), console.log("refreshed");
51975
51975
  } catch (g) {
51976
- g.response.status === 401 && g.response.data.redirectUrl && (window.location.href = g.response.data.redirectUrl), m({ type: "SET_LOADING", payload: !1 });
51976
+ g.response.status === 401 && g.response.data.redirectUrl && (window.location.href = g.response.data.redirectUrl), m({ type: "SET_LOADING", payload: !1 }), console.log("refreshed");
51977
51977
  }
51978
51978
  };
51979
51979
  var sharedConfig = {
@@ -54062,7 +54062,7 @@ var displayValue = (m, g = !1) => {
54062
54062
  const g = render(() => {
54063
54063
  const b = this, [_] = je(this, _d), [S] = je(this, Sd), [x] = je(this, Ed), [$] = je(this, xd), [T] = je(this, bd);
54064
54064
  let R;
54065
- return je(this, Cd) ? R = je(this, Cd) : (R = lazy(() => import("./335X72D7-5vUtDmQB.js")), $t(this, Cd, R)), setupStyleSheet(je(this, Xh)), createComponent(R, mergeProps({
54065
+ return je(this, Cd) ? R = je(this, Cd) : (R = lazy(() => import("./335X72D7-r6cxg7Xh.js")), $t(this, Cd, R)), setupStyleSheet(je(this, Xh)), createComponent(R, mergeProps({
54066
54066
  get queryFlavor() {
54067
54067
  return je(b, Zh);
54068
54068
  },
@@ -1,4 +1,4 @@
1
- import { a0 as p, _ as r, a1 as s, Y as e, Z as t, a2 as A } from "./main-0tF91tTZ.js";
1
+ import { a0 as p, _ as r, a1 as s, Y as e, Z as t, a2 as A } from "./main-9D3yX1Ug.js";
2
2
  export {
3
3
  p as AppContext,
4
4
  r as AppHOC,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-common-components",
3
- "version": "0.0.85",
3
+ "version": "0.0.87",
4
4
  "type": "module",
5
5
  "main": "dist/propro-common-components.js",
6
6
  "types": "dist/main.d.ts",