thecore-auth 0.0.216 → 0.0.217
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/thecore-auth.cjs.js +8 -8
- package/dist/thecore-auth.esm.js +16 -15
- package/package.json +1 -1
package/dist/thecore-auth.esm.js
CHANGED
|
@@ -2,11 +2,11 @@ import * as P from "react";
|
|
|
2
2
|
import L1, { createContext as h1, useState as j, useContext as I0, useEffect as A0, useMemo as t1, useRef as r0, useLayoutEffect as Oa, useId as Qr, useCallback as W0, Fragment as ks, createElement as ec, useInsertionEffect as Cs, forwardRef as ac, Component as nc, memo as Ps } from "react";
|
|
3
3
|
import lM from "jwt-decode";
|
|
4
4
|
import { useNavigate as Jn, useLocation as wa, matchPath as bo, Outlet as K2, Navigate as Es, Routes as tc, Route as E2, useMatch as oc } from "react-router-dom";
|
|
5
|
-
import { BrowserRouter as Xf,
|
|
5
|
+
import { BrowserRouter as Xf, HashRouter as kf, Link as Cf, NavLink as Pf, Outlet as Ef, Route as jf, Routes as If, useLocation as Ff, useMatch as Hf, useNavigate as Vf, useParams as Gf } from "react-router-dom";
|
|
6
6
|
import Mc from "axios";
|
|
7
|
-
import { default as
|
|
7
|
+
import { default as Yf } from "axios";
|
|
8
8
|
import bc from "react-dom";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as Kf } from "react-dom";
|
|
10
10
|
function Uo(e) {
|
|
11
11
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
12
12
|
}
|
|
@@ -481,7 +481,7 @@ const js = h1(), af = ({ children: e, defaultComponent: a }) => {
|
|
|
481
481
|
const e = I0(js);
|
|
482
482
|
if (e === void 0) throw new Error("Non puoi settare il loading");
|
|
483
483
|
return e;
|
|
484
|
-
}, rc = "0.0.
|
|
484
|
+
}, rc = "0.0.217", cc = ({ errorMessage: e, errorShow: a }) => /* @__PURE__ */ O.jsx("section", { className: a ? "" : "hidden", children: /* @__PURE__ */ O.jsxs("div", { className: "container mx-auto", children: [
|
|
485
485
|
/* @__PURE__ */ O.jsx("h1", { className: "text-center text-8xl my-12", children: "Errore" }),
|
|
486
486
|
/* @__PURE__ */ O.jsx("pre", { className: "text-xl", children: e })
|
|
487
487
|
] }) });
|
|
@@ -49046,13 +49046,14 @@ export {
|
|
|
49046
49046
|
wq as DefaultLayout,
|
|
49047
49047
|
cc as ErrorPage,
|
|
49048
49048
|
Rf as FileDropzone,
|
|
49049
|
+
kf as HashRouter,
|
|
49049
49050
|
Wf as Header,
|
|
49050
49051
|
Ba as Input,
|
|
49051
49052
|
xs as InputDate,
|
|
49052
49053
|
Ss as InputGroup,
|
|
49053
49054
|
Da as InputLabel,
|
|
49054
49055
|
gf as InputStartEndDate,
|
|
49055
|
-
|
|
49056
|
+
Cf as Link,
|
|
49056
49057
|
Lf as Loader,
|
|
49057
49058
|
kr as Loading,
|
|
49058
49059
|
mf as LoadingComponent,
|
|
@@ -49063,18 +49064,18 @@ export {
|
|
|
49063
49064
|
Gq as LogoLoader,
|
|
49064
49065
|
pf as ModalProvider,
|
|
49065
49066
|
Nf as MultiSelect,
|
|
49066
|
-
|
|
49067
|
-
|
|
49067
|
+
Pf as NavLink,
|
|
49068
|
+
Ef as Outlet,
|
|
49068
49069
|
Af as PackageRoutes,
|
|
49069
|
-
|
|
49070
|
-
|
|
49070
|
+
Kf as ReactDOM,
|
|
49071
|
+
jf as Route,
|
|
49071
49072
|
sf as RouteProvider,
|
|
49072
|
-
|
|
49073
|
+
If as Routes,
|
|
49073
49074
|
vf as SingleSelect,
|
|
49074
49075
|
lf as SmartLogin,
|
|
49075
49076
|
Xq as SwitchRadio,
|
|
49076
49077
|
bA as UsePageTitle,
|
|
49077
|
-
|
|
49078
|
+
Yf as axios,
|
|
49078
49079
|
tA as fetchAxiosConfig,
|
|
49079
49080
|
wf as parseUtcToLocal,
|
|
49080
49081
|
Bf as setTime,
|
|
@@ -49091,13 +49092,13 @@ export {
|
|
|
49091
49092
|
Of as useForm,
|
|
49092
49093
|
rf as useIndexedDB,
|
|
49093
49094
|
Pe as useLoading,
|
|
49094
|
-
|
|
49095
|
+
Ff as useLocation,
|
|
49095
49096
|
L3 as useLoginForm,
|
|
49096
|
-
|
|
49097
|
+
Hf as useMatch,
|
|
49097
49098
|
MA as useModal,
|
|
49098
|
-
|
|
49099
|
+
Vf as useNavigate,
|
|
49099
49100
|
sA as useOrientation,
|
|
49100
|
-
|
|
49101
|
+
Gf as useParams,
|
|
49101
49102
|
oA as useRoutesInjection,
|
|
49102
49103
|
cf as useSafeArea,
|
|
49103
49104
|
os as useStorage,
|