@factoringplus/pl-components-pack-v3 1.0.2-pre-04 → 1.0.2-pre-05
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.
|
@@ -5548,7 +5548,7 @@ function xA(e) {
|
|
|
5548
5548
|
const o = document.getElementById(t[1]);
|
|
5549
5549
|
if (o !== null) {
|
|
5550
5550
|
const s = document.createElement("div");
|
|
5551
|
-
s.className = "loading__body", s.innerHTML += `
|
|
5551
|
+
s.className = "loading__body", s.style.background = "rgb(255 255 255 / 80%)", s.innerHTML += `
|
|
5552
5552
|
<div class='loading__spinner-wrapper'>
|
|
5553
5553
|
<svg>
|
|
5554
5554
|
<circle cx='18' cy='18' r='18'></circle>
|
|
@@ -36,7 +36,7 @@ Only state can be modified.`);c[0]="$state",Zo=!1,r.set(s,c,r.state.value),Zo=!0
|
|
|
36
36
|
Found in store "${T.$id}".`),y&&s&&o.hydrate&&o.hydrate(T.$state,y),f=!0,m=!0,T}function xC(t,n,o){let r,a;const s=typeof n=="function";if(typeof t=="string")r=t,a=s?o:n;else if(a=t,r=t.id,process.env.NODE_ENV!=="production"&&typeof r!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function c(d,u){const f=e.hasInjectionContext();if(d=(process.env.NODE_ENV==="test"&&Br&&Br._testing?null:d)||(f?e.inject(Q4,null):null),d&&Pr(d),process.env.NODE_ENV!=="production"&&!Br)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
|
|
37
37
|
const pinia = createPinia()
|
|
38
38
|
app.use(pinia)
|
|
39
|
-
This will fail in production.`);d=Br,d._s.has(r)||(s?Ni(r,n,a,d):o3(r,a,d),process.env.NODE_ENV!=="production"&&(c._pinia=d));const m=d._s.get(r);if(process.env.NODE_ENV!=="production"&&u){const p="__hot:"+r,g=s?Ni(p,n,a,d,!0):o3(p,xn({},a),d,!0);u._hotUpdate(g),delete d.state.value[p],d._s.delete(p)}if(process.env.NODE_ENV!=="production"&&ql){const p=e.getCurrentInstance();if(p&&p.proxy&&!u){const g=p.proxy,C="_pStores"in g?g._pStores:g._pStores={};C[r]=m}}return m}return c.$id=r,c}const SC=xC({id:"requests",state:()=>({requests:{}})}),LC=function(t,n=!1,o){let r,a;if(t.cancelPendingRequests){r=SC(),a=`${t.method}${t.url}`;const s=new AbortController;r.requests[a]?(r.requests[a].firstCall||r.requests[a].controler.abort(),r.requests[a]={firstCall:!1,controler:s}):r.requests[a]={firstCall:!0,controler:s}}return new Promise((s,c)=>{const d={...t};hi({url:d.url,method:d.method,params:d.realDate?d.params:Wl(d.params,!0),headers:{authorization:o,...d.headers},data:d.realDate?d.data:Wl(d.data,!0),responseType:d.responseType,signal:d.cancelPendingRequests?r.requests[a].controler.signal:null}).then(u=>{s(n?d.realDate?u:Wl(u):d.realDate?u.data:Wl(u.data))}).catch(u=>{c(u.response)}),(window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1)&&hi.interceptors.request.use(u=>(u.url.indexOf("GetRequirementItems")!==-1&&(console.log(u.url),u.headers.pragma="no-cache",u.headers.cacheControl="no-cache",u.headers.expires="Sat, 01 Jan 2000 00:00:00 GMT"),u))})};function IC(t){return function(...n){const o=this;if(n[1]!==void 0){const a=document.getElementById(n[1]);if(a!==null){const s=document.createElement("div");s.className="loading__body",s.innerHTML+=`
|
|
39
|
+
This will fail in production.`);d=Br,d._s.has(r)||(s?Ni(r,n,a,d):o3(r,a,d),process.env.NODE_ENV!=="production"&&(c._pinia=d));const m=d._s.get(r);if(process.env.NODE_ENV!=="production"&&u){const p="__hot:"+r,g=s?Ni(p,n,a,d,!0):o3(p,xn({},a),d,!0);u._hotUpdate(g),delete d.state.value[p],d._s.delete(p)}if(process.env.NODE_ENV!=="production"&&ql){const p=e.getCurrentInstance();if(p&&p.proxy&&!u){const g=p.proxy,C="_pStores"in g?g._pStores:g._pStores={};C[r]=m}}return m}return c.$id=r,c}const SC=xC({id:"requests",state:()=>({requests:{}})}),LC=function(t,n=!1,o){let r,a;if(t.cancelPendingRequests){r=SC(),a=`${t.method}${t.url}`;const s=new AbortController;r.requests[a]?(r.requests[a].firstCall||r.requests[a].controler.abort(),r.requests[a]={firstCall:!1,controler:s}):r.requests[a]={firstCall:!0,controler:s}}return new Promise((s,c)=>{const d={...t};hi({url:d.url,method:d.method,params:d.realDate?d.params:Wl(d.params,!0),headers:{authorization:o,...d.headers},data:d.realDate?d.data:Wl(d.data,!0),responseType:d.responseType,signal:d.cancelPendingRequests?r.requests[a].controler.signal:null}).then(u=>{s(n?d.realDate?u:Wl(u):d.realDate?u.data:Wl(u.data))}).catch(u=>{c(u.response)}),(window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1)&&hi.interceptors.request.use(u=>(u.url.indexOf("GetRequirementItems")!==-1&&(console.log(u.url),u.headers.pragma="no-cache",u.headers.cacheControl="no-cache",u.headers.expires="Sat, 01 Jan 2000 00:00:00 GMT"),u))})};function IC(t){return function(...n){const o=this;if(n[1]!==void 0){const a=document.getElementById(n[1]);if(a!==null){const s=document.createElement("div");s.className="loading__body",s.style.background="rgb(255 255 255 / 80%)",s.innerHTML+=`
|
|
40
40
|
<div class='loading__spinner-wrapper'>
|
|
41
41
|
<svg>
|
|
42
42
|
<circle cx='18' cy='18' r='18'></circle>
|