@ukpc-lib/react 0.16.3-dev.4 → 0.16.3-dev.5

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,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),C=require("react"),m=require("../index.esm2017-C-HHU_vB.cjs"),N=require("@mui/material");require("axios");const gn=require("react-router-dom");require("@r2wc/react-to-web-component");require("react-query");require("react-dom");const se=require("moment");function No(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const j=No(C),Ro=e=>{var r,o;const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react/jsx-runtime"),C=require("react"),m=require("../index.esm2017-DGFhKt9U.cjs"),N=require("@mui/material");require("axios");const gn=require("react-router-dom");require("@r2wc/react-to-web-component");require("react-query");require("react-dom");const se=require("moment");function No(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const j=No(C),Ro=e=>{var r,o;const{tabs:t}=e,n=i=>{e.setCurrentTab(i.target.id)};return console.log("🚀 ~ brandColors:",e.currentTab),l.jsxs(l.Fragment,{children:[l.jsx("style",{children:`
2
2
  .tab-title {
3
3
  min-width: 90px;
4
4
  padding: 5px 16px;
@@ -1,8 +1,8 @@
1
1
  import di, { jsxs as A, Fragment as ve, jsx as f } from "react/jsx-runtime";
2
2
  import * as $ from "react";
3
3
  import Ee, { createElement as sn, PureComponent as fi, useState as D, useEffect as J, useRef as ye, useContext as We, useCallback as dt, forwardRef as hi } from "react";
4
- import { c as Ie, a as ht, _ as mi, b as Xn, d as W, C as nt, t as Le, I as qr, N as pi, p as gi, L as Jn, u as yi, e as Zr, S as Xr, f as vi, g as bi, Q as Jr, h as Tt, s as Qn, i as Qr, P, j as we, k as xi, o as Si, l as Fe, m as wi, n as Ot, q as er, r as _i, v as tr, D as Ei, w as eo, x as to, y as Ci, z as Ti, A as Ii } from "../index.esm2017-BqpQWqJC.js";
5
- import { F as iu, G as au, J as su, U as cu, B as lu, E as uu, H as du } from "../index.esm2017-BqpQWqJC.js";
4
+ import { c as Ie, a as ht, _ as mi, b as Xn, d as W, C as nt, t as Le, I as qr, N as pi, p as gi, L as Jn, u as yi, e as Zr, S as Xr, f as vi, g as bi, Q as Jr, h as Tt, s as Qn, i as Qr, P, j as we, k as xi, o as Si, l as Fe, m as wi, n as Ot, q as er, r as _i, v as tr, D as Ei, w as eo, x as to, y as Ci, z as Ti, A as Ii } from "../index.esm2017-BxRb6RON.js";
5
+ import { F as iu, G as au, J as su, U as cu, B as lu, E as uu, H as du } from "../index.esm2017-BxRb6RON.js";
6
6
  import { Box as no, CircularProgress as ro, Typography as Me, Stack as Se, Dialog as Mi, DialogTitle as ki, DialogContent as Oi, DialogActions as Ai, Button as gn, ClickAwayListener as $i, TextField as oo, IconButton as Ni, Fade as Pi, Paper as Ri, Checkbox as zi, Breadcrumbs as Li } from "@mui/material";
7
7
  import "axios";
8
8
  import { useParams as Di, Link as io } from "react-router-dom";
@@ -2111,7 +2111,7 @@ function gM(t, e) {
2111
2111
  }
2112
2112
  return fM(window.env.AUTHEN_DOMAIN);
2113
2113
  }
2114
- if (((g = t.response) == null ? void 0 : g.status) === 403)
2114
+ if (((g = t.response) == null ? void 0 : g.status) === 403 || (t == null ? void 0 : t.httpStatus) === 403)
2115
2115
  (T = e == null ? void 0 : e.handle403) == null || T.call(e, t);
2116
2116
  else {
2117
2117
  const A = pM(t, n);