thecore-auth 0.0.115 → 0.0.116
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
CHANGED
|
@@ -28,7 +28,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
28
28
|
|
|
29
29
|
Check the render method of \``+m+"`."),f||(e=t(e))&&(f=`
|
|
30
30
|
|
|
31
|
-
Check the top-level render call using <`+e+">."),f}var L=i,k=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),$=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),N=Symbol.iterator,_=Symbol.for("react.client.reference"),I=L.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,B=Object.assign,fe=Symbol.for("react.client.reference"),be=Array.isArray,ae=0,Oe,ke,Le,Pe,Re,Ne,Ge;a.__reactDisabledLog=!0;var ye,Te,Ee=!1,Ce=new(typeof WeakMap=="function"?WeakMap:Map),ut=Symbol.for("react.client.reference"),Me,Ae={},Ie={},_e={};ce.Fragment=z,ce.jsx=function(e,f,m,O,M){return E(e,f,m,!1,O,M)},ce.jsxs=function(e,f,m,O,M){return E(e,f,m,!0,O,M)}}()),ce}var Fe;function ht(){return Fe||(Fe=1,process.env.NODE_ENV==="production"?pe.exports=mt():pe.exports=pt()),pe.exports}var o=ht();const Ye=i.createContext(),gt=({children:t})=>{const[s,n]=i.useState(!1),[a,l]=i.useState(!1),[c,u]=i.useState({});return o.jsx(Ye.Provider,{value:{isLoading:s,setIsLoading:n,isLoadingComponent:a,setIsLoadingComponent:l,loadingProps:c,setLoadingProps:u},children:t})},ne=()=>{const t=i.useContext(Ye);if(t===void 0)throw new Error("Non puoi settare il loading");return t},Ze=({errorMessage:t,errorShow:s})=>o.jsx("section",{className:s?"":"hidden",children:o.jsxs("div",{className:"container mx-auto",children:[o.jsx("h1",{className:"text-center text-8xl my-12",children:"Errore"}),o.jsx("pre",{className:"text-xl",children:t})]})}),xt="0.0.
|
|
31
|
+
Check the top-level render call using <`+e+">."),f}var L=i,k=Symbol.for("react.transitional.element"),G=Symbol.for("react.portal"),z=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),$=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),te=Symbol.for("react.suspense_list"),J=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),se=Symbol.for("react.offscreen"),N=Symbol.iterator,_=Symbol.for("react.client.reference"),I=L.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T=Object.prototype.hasOwnProperty,B=Object.assign,fe=Symbol.for("react.client.reference"),be=Array.isArray,ae=0,Oe,ke,Le,Pe,Re,Ne,Ge;a.__reactDisabledLog=!0;var ye,Te,Ee=!1,Ce=new(typeof WeakMap=="function"?WeakMap:Map),ut=Symbol.for("react.client.reference"),Me,Ae={},Ie={},_e={};ce.Fragment=z,ce.jsx=function(e,f,m,O,M){return E(e,f,m,!1,O,M)},ce.jsxs=function(e,f,m,O,M){return E(e,f,m,!0,O,M)}}()),ce}var Fe;function ht(){return Fe||(Fe=1,process.env.NODE_ENV==="production"?pe.exports=mt():pe.exports=pt()),pe.exports}var o=ht();const Ye=i.createContext(),gt=({children:t})=>{const[s,n]=i.useState(!1),[a,l]=i.useState(!1),[c,u]=i.useState({});return o.jsx(Ye.Provider,{value:{isLoading:s,setIsLoading:n,isLoadingComponent:a,setIsLoadingComponent:l,loadingProps:c,setLoadingProps:u},children:t})},ne=()=>{const t=i.useContext(Ye);if(t===void 0)throw new Error("Non puoi settare il loading");return t},Ze=({errorMessage:t,errorShow:s})=>o.jsx("section",{className:s?"":"hidden",children:o.jsxs("div",{className:"container mx-auto",children:[o.jsx("h1",{className:"text-center text-8xl my-12",children:"Errore"}),o.jsx("pre",{className:"text-xl",children:t})]})}),xt="0.0.116",Ue=i.createContext(),vt=({children:t})=>{const[s,n]=i.useState({}),[a,l]=i.useState(!1),c=`Creare un file config.json in public per il corretto funzionamento
|
|
32
32
|
Esempio di config.json:
|
|
33
33
|
|
|
34
34
|
{
|
package/dist/thecore-auth.esm.js
CHANGED
|
@@ -458,7 +458,7 @@ const Xe = ee(), Kt = ({ children: r }) => {
|
|
|
458
458
|
}, vt = ({ errorMessage: r, errorShow: s }) => /* @__PURE__ */ o.jsx("section", { className: s ? "" : "hidden", children: /* @__PURE__ */ o.jsxs("div", { className: "container mx-auto", children: [
|
|
459
459
|
/* @__PURE__ */ o.jsx("h1", { className: "text-center text-8xl my-12", children: "Errore" }),
|
|
460
460
|
/* @__PURE__ */ o.jsx("pre", { className: "text-xl", children: r })
|
|
461
|
-
] }) }), bt = "0.0.
|
|
461
|
+
] }) }), bt = "0.0.116", Ke = ee(), Qt = ({ children: r }) => {
|
|
462
462
|
const [s, n] = w({}), [i, a] = w(!1), l = `Creare un file config.json in public per il corretto funzionamento
|
|
463
463
|
Esempio di config.json:
|
|
464
464
|
|