pangea-lib 4.0.85 → 4.0.86

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/main.cjs.js CHANGED
@@ -875,4 +875,4 @@ A valid view must be one of: ${qu.join(", ")}.`),e="week"),this.enabledViews.inc
875
875
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...a){const r=new this(t);return a.forEach(n=>r.set(n)),r}static accessor(t){const r=(this[Mp]=this[Mp]={accessors:{}}).accessors,n=this.prototype;function c(i){const s=Ua(i);r[s]||(tY1(n,i),r[s]=!0)}return _1.isArray(t)?t.forEach(c):c(t),this}}pi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_1.reduceDescriptors(pi.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[a]=r}}});_1.freezeMethods(pi);const h4=pi;function Hs(e,t){const a=this||Vf,r=t||a,n=h4.from(r.headers);let c=r.data;return _1.forEach(e,function(s){c=s.call(a,c,n.normalize(),t?t.status:void 0)}),n.normalize(),c}function GA(e){return!!(e&&e.__CANCEL__)}function Ma(e,t,a){t2.call(this,e??"canceled",t2.ERR_CANCELED,t,a),this.name="CanceledError"}_1.inherits(Ma,t2,{__CANCEL__:!0});function XA(e,t,a){const r=a.config.validateStatus;!a.status||!r||r(a.status)?e(a):t(new t2("Request failed with status code "+a.status,[t2.ERR_BAD_REQUEST,t2.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function aY1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function rY1(e,t){e=e||10;const a=new Array(e),r=new Array(e);let n=0,c=0,i;return t=t!==void 0?t:1e3,function(l){const f=Date.now(),u=r[c];i||(i=f),a[n]=l,r[n]=f;let d=c,h=0;for(;d!==n;)h+=a[d++],d=d%e;if(n=(n+1)%e,n===c&&(c=(c+1)%e),f-i<t)return;const m=u&&f-u;return m?Math.round(h*1e3/m):void 0}}function nY1(e,t){let a=0,r=1e3/t,n,c;const i=(f,u=Date.now())=>{a=u,n=null,c&&(clearTimeout(c),c=null),e.apply(null,f)};return[(...f)=>{const u=Date.now(),d=u-a;d>=r?i(f,u):(n=f,c||(c=setTimeout(()=>{c=null,i(n)},r-d)))},()=>n&&i(n)]}const e5=(e,t,a=3)=>{let r=0;const n=rY1(50,250);return nY1(c=>{const i=c.loaded,s=c.lengthComputable?c.total:void 0,l=i-r,f=n(l),u=i<=s;r=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:f||void 0,estimated:f&&s&&u?(s-i)/f:void 0,event:c,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},a)},zp=(e,t)=>{const a=e!=null;return[r=>t[0]({lengthComputable:a,total:e,loaded:r}),t[1]]},wp=e=>(...t)=>_1.asap(()=>e(...t)),cY1=Ze.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,Ze.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(Ze.origin),Ze.navigator&&/(msie|trident)/i.test(Ze.navigator.userAgent)):()=>!0,iY1=Ze.hasStandardBrowserEnv?{write(e,t,a,r,n,c){const i=[e+"="+encodeURIComponent(t)];_1.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),_1.isString(r)&&i.push("path="+r),_1.isString(n)&&i.push("domain="+n),c===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function sY1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function oY1(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function KA(e,t){return e&&!sY1(t)?oY1(e,t):t}const _p=e=>e instanceof h4?{...e}:e;function f6(e,t){t=t||{};const a={};function r(f,u,d,h){return _1.isPlainObject(f)&&_1.isPlainObject(u)?_1.merge.call({caseless:h},f,u):_1.isPlainObject(u)?_1.merge({},u):_1.isArray(u)?u.slice():u}function n(f,u,d,h){if(_1.isUndefined(u)){if(!_1.isUndefined(f))return r(void 0,f,d,h)}else return r(f,u,d,h)}function c(f,u){if(!_1.isUndefined(u))return r(void 0,u)}function i(f,u){if(_1.isUndefined(u)){if(!_1.isUndefined(f))return r(void 0,f)}else return r(void 0,u)}function s(f,u,d){if(d in t)return r(f,u);if(d in e)return r(void 0,f)}const l={url:c,method:c,data:c,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(f,u,d)=>n(_p(f),_p(u),d,!0)};return _1.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||n,h=d(e[u],t[u],u);_1.isUndefined(h)&&d!==s||(a[u]=h)}),a}const ZA=e=>{const t=f6({},e);let{data:a,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:c,headers:i,auth:s}=t;t.headers=i=h4.from(i),t.url=qA(KA(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(_1.isFormData(a)){if(Ze.hasStandardBrowserEnv||Ze.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[f,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...u].join("; "))}}if(Ze.hasStandardBrowserEnv&&(r&&_1.isFunction(r)&&(r=r(t)),r||r!==!1&&cY1(t.url))){const f=n&&c&&iY1.read(c);f&&i.set(n,f)}return t},lY1=typeof XMLHttpRequest<"u",fY1=lY1&&function(e){return new Promise(function(a,r){const n=ZA(e);let c=n.data;const i=h4.from(n.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:f}=n,u,d,h,m,v;function p(){m&&m(),v&&v(),n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let g=new XMLHttpRequest;g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout;function y(){if(!g)return;const C=h4.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),M={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};XA(function(z){a(z),p()},function(z){r(z),p()},M),g=null}"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(r(new t2("Request aborted",t2.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new t2("Network Error",t2.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let b=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const M=n.transitional||jA;n.timeoutErrorMessage&&(b=n.timeoutErrorMessage),r(new t2(b,M.clarifyTimeoutError?t2.ETIMEDOUT:t2.ECONNABORTED,e,g)),g=null},c===void 0&&i.setContentType(null),"setRequestHeader"in g&&_1.forEach(i.toJSON(),function(b,M){g.setRequestHeader(M,b)}),_1.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),s&&s!=="json"&&(g.responseType=n.responseType),f&&([h,v]=e5(f,!0),g.addEventListener("progress",h)),l&&g.upload&&([d,m]=e5(l),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",m)),(n.cancelToken||n.signal)&&(u=C=>{g&&(r(!C||C.type?new Ma(null,e,g):C),g.abort(),g=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));const x=aY1(n.url);if(x&&Ze.protocols.indexOf(x)===-1){r(new t2("Unsupported protocol "+x+":",t2.ERR_BAD_REQUEST,e));return}g.send(c||null)})},uY1=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let r=new AbortController,n;const c=function(f){if(!n){n=!0,s();const u=f instanceof Error?f:this.reason;r.abort(u instanceof t2?u:new Ma(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,c(new t2(`timeout ${t} of ms exceeded`,t2.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(c):f.removeEventListener("abort",c)}),e=null)};e.forEach(f=>f.addEventListener("abort",c));const{signal:l}=r;return l.unsubscribe=()=>_1.asap(s),l}},dY1=uY1,hY1=function*(e,t){let a=e.byteLength;if(!t||a<t){yield e;return}let r=0,n;for(;r<a;)n=r+t,yield e.slice(r,n),r=n},mY1=async function*(e,t){for await(const a of pY1(e))yield*hY1(a,t)},pY1=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:a,value:r}=await t.read();if(a)break;yield r}}finally{await t.cancel()}},kp=(e,t,a,r)=>{const n=mY1(e,t);let c=0,i,s=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:f,value:u}=await n.next();if(f){s(),l.close();return}let d=u.byteLength;if(a){let h=c+=d;a(h)}l.enqueue(new Uint8Array(u))}catch(f){throw s(f),f}},cancel(l){return s(l),n.return()}},{highWaterMark:2})},vi=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",QA=vi&&typeof ReadableStream=="function",vY1=vi&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),JA=(e,...t)=>{try{return!!e(...t)}catch{return!1}},gY1=QA&&JA(()=>{let e=!1;const t=new Request(Ze.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Hp=64*1024,ao=QA&&JA(()=>_1.isReadableStream(new Response("").body)),t5={stream:ao&&(e=>e.body)};vi&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!t5[t]&&(t5[t]=_1.isFunction(e[t])?a=>a[t]():(a,r)=>{throw new t2(`Response type '${t}' is not supported`,t2.ERR_NOT_SUPPORT,r)})})})(new Response);const yY1=async e=>{if(e==null)return 0;if(_1.isBlob(e))return e.size;if(_1.isSpecCompliantForm(e))return(await new Request(Ze.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_1.isArrayBufferView(e)||_1.isArrayBuffer(e))return e.byteLength;if(_1.isURLSearchParams(e)&&(e=e+""),_1.isString(e))return(await vY1(e)).byteLength},xY1=async(e,t)=>{const a=_1.toFiniteNumber(e.getContentLength());return a??yY1(t)},bY1=vi&&(async e=>{let{url:t,method:a,data:r,signal:n,cancelToken:c,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:f,headers:u,withCredentials:d="same-origin",fetchOptions:h}=ZA(e);f=f?(f+"").toLowerCase():"text";let m=dY1([n,c&&c.toAbortSignal()],i),v;const p=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(l&&gY1&&a!=="get"&&a!=="head"&&(g=await xY1(u,r))!==0){let M=new Request(t,{method:"POST",body:r,duplex:"half"}),w;if(_1.isFormData(r)&&(w=M.headers.get("content-type"))&&u.setContentType(w),M.body){const[z,_]=zp(g,e5(wp(l)));r=kp(M.body,Hp,z,_)}}_1.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;v=new Request(t,{...h,signal:m,method:a.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:y?d:void 0});let x=await fetch(v);const C=ao&&(f==="stream"||f==="response");if(ao&&(s||C&&p)){const M={};["status","statusText","headers"].forEach(S=>{M[S]=x[S]});const w=_1.toFiniteNumber(x.headers.get("content-length")),[z,_]=s&&zp(w,e5(wp(s),!0))||[];x=new Response(kp(x.body,Hp,z,()=>{_&&_(),p&&p()}),M)}f=f||"text";let b=await t5[_1.findKey(t5,f)||"text"](x,e);return!C&&p&&p(),await new Promise((M,w)=>{XA(M,w,{data:b,headers:h4.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:v})})}catch(y){throw p&&p(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new t2("Network Error",t2.ERR_NETWORK,e,v),{cause:y.cause||y}):t2.from(y,y&&y.code,e,v)}}),ro={http:Ej1,xhr:fY1,fetch:bY1};_1.forEach(ro,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vp=e=>`- ${e}`,CY1=e=>_1.isFunction(e)||e===null||e===!1,eT={getAdapter:e=>{e=_1.isArray(e)?e:[e];const{length:t}=e;let a,r;const n={};for(let c=0;c<t;c++){a=e[c];let i;if(r=a,!CY1(a)&&(r=ro[(i=String(a)).toLowerCase()],r===void 0))throw new t2(`Unknown adapter '${i}'`);if(r)break;n[i||"#"+c]=r}if(!r){const c=Object.entries(n).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?c.length>1?`since :
876
876
  `+c.map(Vp).join(`
877
877
  `):" "+Vp(c[0]):"as no adapter specified";throw new t2("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ro};function Vs(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ma(null,e)}function Lp(e){return Vs(e),e.headers=h4.from(e.headers),e.data=Hs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),eT.getAdapter(e.adapter||Vf.adapter)(e).then(function(r){return Vs(e),r.data=Hs.call(e,e.transformResponse,r),r.headers=h4.from(r.headers),r},function(r){return GA(r)||(Vs(e),r&&r.response&&(r.response.data=Hs.call(e,e.transformResponse,r.response),r.response.headers=h4.from(r.response.headers))),Promise.reject(r)})}const tT="1.7.8",gi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{gi[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Sp={};gi.transitional=function(t,a,r){function n(c,i){return"[Axios v"+tT+"] Transitional option '"+c+"'"+i+(r?". "+r:"")}return(c,i,s)=>{if(t===!1)throw new t2(n(i," has been removed"+(a?" in "+a:"")),t2.ERR_DEPRECATED);return a&&!Sp[i]&&(Sp[i]=!0,console.warn(n(i," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(c,i,s):!0}};gi.spelling=function(t){return(a,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function MY1(e,t,a){if(typeof e!="object")throw new t2("options must be an object",t2.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const c=r[n],i=t[c];if(i){const s=e[c],l=s===void 0||i(s,c,e);if(l!==!0)throw new t2("option "+c+" must be "+l,t2.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new t2("Unknown option "+c,t2.ERR_BAD_OPTION)}}const sc={assertOptions:MY1,validators:gi},_4=sc.validators;class a5{constructor(t){this.defaults=t,this.interceptors={request:new Cp,response:new Cp}}async request(t,a){try{return await this._request(t,a)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const c=n.stack?n.stack.replace(/^.+\n/,""):"";try{r.stack?c&&!String(r.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(r.stack+=`
878
- `+c):r.stack=c}catch{}}throw r}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=f6(this.defaults,a);const{transitional:r,paramsSerializer:n,headers:c}=a;r!==void 0&&sc.assertOptions(r,{silentJSONParsing:_4.transitional(_4.boolean),forcedJSONParsing:_4.transitional(_4.boolean),clarifyTimeoutError:_4.transitional(_4.boolean)},!1),n!=null&&(_1.isFunction(n)?a.paramsSerializer={serialize:n}:sc.assertOptions(n,{encode:_4.function,serialize:_4.function},!0)),sc.assertOptions(a,{baseUrl:_4.spelling("baseURL"),withXsrfToken:_4.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let i=c&&_1.merge(c.common,c[a.method]);c&&_1.forEach(["delete","get","head","post","put","patch","common"],v=>{delete c[v]}),a.headers=h4.concat(i,c);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(a)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const f=[];this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const v=[Lp.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,f),h=v.length,u=Promise.resolve(a);d<h;)u=u.then(v[d++],v[d++]);return u}h=s.length;let m=a;for(d=0;d<h;){const v=s[d++],p=s[d++];try{m=v(m)}catch(g){p.call(this,g);break}}try{u=Lp.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,h=f.length;d<h;)u=u.then(f[d++],f[d++]);return u}getUri(t){t=f6(this.defaults,t);const a=KA(t.baseURL,t.url);return qA(a,t.params,t.paramsSerializer)}}_1.forEach(["delete","get","head","options"],function(t){a5.prototype[t]=function(a,r){return this.request(f6(r||{},{method:t,url:a,data:(r||{}).data}))}});_1.forEach(["post","put","patch"],function(t){function a(r){return function(c,i,s){return this.request(f6(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:i}))}}a5.prototype[t]=a(),a5.prototype[t+"Form"]=a(!0)});const oc=a5;class Lf{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(c){a=c});const r=this;this.promise.then(n=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](n);r._listeners=null}),this.promise.then=n=>{let c;const i=new Promise(s=>{r.subscribe(s),c=s}).then(n);return i.cancel=function(){r.unsubscribe(c)},i},t(function(c,i,s){r.reason||(r.reason=new Ma(c,i,s),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=r=>{t.abort(r)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new Lf(function(n){t=n}),cancel:t}}}const zY1=Lf;function wY1(e){return function(a){return e.apply(null,a)}}function _Y1(e){return _1.isObject(e)&&e.isAxiosError===!0}const no={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(no).forEach(([e,t])=>{no[t]=e});const kY1=no;function aT(e){const t=new oc(e),a=EA(oc.prototype.request,t);return _1.extend(a,oc.prototype,t,{allOwnKeys:!0}),_1.extend(a,t,null,{allOwnKeys:!0}),a.create=function(n){return aT(f6(e,n))},a}const we=aT(Vf);we.Axios=oc;we.CanceledError=Ma;we.CancelToken=zY1;we.isCancel=GA;we.VERSION=tT;we.toFormData=mi;we.AxiosError=t2;we.Cancel=we.CanceledError;we.all=function(t){return Promise.all(t)};we.spread=wY1;we.isAxiosError=_Y1;we.mergeConfig=f6;we.AxiosHeaders=h4;we.formToJSON=e=>YA(_1.isHTMLForm(e)?new FormData(e):e);we.getAdapter=eT.getAdapter;we.HttpStatusCode=kY1;we.default=we;const Wa=we;function HY1(e,t,a,r){if(e==="get")return Wa.get(t,{params:a,...r});if(e==="post")return Wa.post(t,a,r);if(e==="put")return Wa.put(t,a,r);if(e==="patch")return Wa.patch(t,a,r);if(e==="delete")return Wa.delete(t,{data:a,...r})}function VY1(e,t){return e?Array.isArray(t)?t.map(a=>new e(a)):new e(t):t}const B8=M2("apiConnectionsError");function LY1(e){var r,n,c;const t=(c=(n=(r=e.response)==null?void 0:r.data)==null?void 0:n.error)==null?void 0:c.errorCode;if(!t){r4("danger",()=>B8("INTERNAL_SERVER_ERROR"));return}const a=Q2.getConfig();if(a.i18n.apiConnectionsError(t)){r4("danger",()=>a.i18n.apiConnectionsError(t));return}if(B8(t)){r4("danger",()=>B8(t));return}r4("danger",()=>B8("INTERNAL_SERVER_ERROR"))}const Ap=M2("apiConnectionsSuccess");function SY1(e){const t=Q2.getConfig();if(t.i18n.apiConnectionsSuccess(e)){r4("success",()=>t.i18n.apiConnectionsSuccess(e));return}Ap(e)&&r4("success",()=>Ap(e))}function AY1(e){const t=new FormData;return Object.entries(e).forEach(([a,r])=>{Array.isArray(r)?r.forEach(n=>t.append(a,n)):t.append(a,r)}),t}function TY1(e,t){var n;const a={...(n=t.getCustomHeaders)==null?void 0:n.call(t),"x-app-version":e,"x-language":m4().language};t.basicAuth||(a.Authorization=`Bearer ${Ep()||""}`);const r={headers:a};return t.basicAuth&&(r.auth=t.basicAuth),r}async function Pt(e,t,a,r,n,c,i={}){var v,p,g,y;const{getCustomHeaders:s}=c||{},{success:l,error:f,preventDisplayError:u,preventThrowError:d,isLoadingRef:h,basicAuth:m}=i;try{h&&(h.value=!0);const x=Q2.getConfig().backendUrl,C=(v=a.meta)!=null&&v.sendAsFormData?AY1(r):r,b=TY1(n,{basicAuth:m,getCustomHeaders:s}),M=await HY1(e,`${x}/${t}`,C,b),w=VY1(a.response,M.data.data);return e!=="get"&&SY1(M.data.successCode),l&&l(w,M.data.totalCount),{data:w,totalCount:M.data.totalCount}}catch(x){if(((y=(g=(p=x.response)==null?void 0:p.data)==null?void 0:g.error)==null?void 0:y.errorCode)==="APP_VERSION_MISMATCH"?window.location.reload():u||LY1(x),f&&f(x),d)return{data:null,totalCount:void 0};throw x}finally{h&&(h.value=!1)}}function Ls(e,t){return t?`${e}/${t}`:e}function T6(e,t){return e?Array.isArray(t)?t.map(a=>new e(a)):new e(t):t}function EY1(e,t,a){return{getOne(r,n,c,i){const s=Ls(r,n),l=e[r].getOne,f=T6(l.params,c);return Pt("get",s,l,f,t,a,i)},getMany(r,n,c){const i=e[r].getMany,s=T6(i.params,n);return Pt("get",r,i,s,t,a,c)},postOne(r,n,c){const i=e[r].postOne,s=T6(i.params,n);return Pt("post",r,i,s,t,a,c)},postMany(r,n,c){const i=e[r].postMany,s=T6(i.params,n);return Pt("post",r,i,s,t,a,c)},putOne(r,n,c,i){const s=Ls(r,n),l=e[r].putOne,f=T6(l.params,c);return Pt("put",s,l,f,t,a,i)},putMany(r,n,c){const i=e[r].putMany,s=T6(i.params,n);return Pt("put",r,i,s,t,a,c)},deleteOne(r,n,c){const i=Ls(r,n),s=e[r].deleteOne;return Pt("delete",i,s,void 0,t,a,c)},deleteMany(r,n,c){const i=e[r].deleteMany;return Pt("delete",r,i,n,t,a,c)}}}class u6{constructor(t){u6.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class NY1 extends u6{constructor(a){super(a);v1(this,"url","");v1(this,"fileName","");u6.CopyFields(this,a)}}class yi{constructor(t){v1(this,"id",0);v1(this,"createdAt",new Date);v1(this,"updatedAt",new Date);v1(this,"deletedAt",null);yi.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class vn extends yi{constructor(a){super(a);v1(this,"username","");vn.CopyFields(this,a)}}class DY1 extends u6{constructor(a){super(a);v1(this,"user",new vn);v1(this,"accessToken","");u6.CopyFields(this,a,{user:vn})}}class $e{constructor(t){$e.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class OY1 extends $e{constructor(a){super(a);v1(this,"page");v1(this,"pageSize");v1(this,"search");$e.CopyFields(this,a)}}class PY1 extends $e{constructor(a){super(a);v1(this,"fileTypes");$e.CopyFields(this,a)}}class BY1 extends $e{constructor(a){super(a);v1(this,"fileNames");$e.CopyFields(this,a)}}class FY1 extends $e{constructor(a){super(a);v1(this,"file");$e.CopyFields(this,a)}}class RY1 extends $e{constructor(a){super(a);v1(this,"file");$e.CopyFields(this,a)}}class IY1 extends $e{constructor(t){super(t),$e.CopyFields(this,t)}}class $Y1 extends $e{constructor(a){super(a);v1(this,"index",0);$e.CopyFields(this,a)}}function UY1(e,t,a){return a||{top:0}}async function WY1(e,t,a){if(t.name&&t.name===e.name){a();return}const r=Q2.getConfig().routerHelpers;if(!r.validateRouteAccess(e.meta.access)){a({name:r.getDefaultRouteName(e)});return}a()}async function qY1(e){b4().currentRoute=e,jY1(e.name),YY1()}function jY1(e){const t=b4().routeType;document.title=`${Mn(t,e)} | ${Q2.getConfig().appName}`}async function YY1(){const e=Q2.getConfig(),t=e.routerHelpers;if(await Dp(),!t.validateRouteAccess(b4().routeAccess)){e.router.push({name:t.getDefaultRouteName()});return}}function GY1(e){const t=Lr.createRouter({history:Lr.createWebHistory(),routes:e,scrollBehavior:UY1});return t.beforeEach(WY1),t.afterEach(qY1),t}function XY1(e,t,a){const r=I4.createPinia();r.use(pF({storage:localStorage})),e.use(r),e.use(t.router),e.use(Cg),e.use(gR,{themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:c=>[...c]}}}),Q2.init(t),Fv(a==null?void 0:a.appOptions),m4().init(a==null?void 0:a.appOptionsStore);const n={...d71,...a==null?void 0:a.components};Object.entries(n).forEach(([c,i])=>e.component(c,i))}exports.App=lF;exports.AuthUser=DY1;exports.BaseModel=yi;exports.BaseParams=$e;exports.BaseResponse=u6;exports.ConfirmUploadedFilesParams=BY1;exports.GenerateUploadUrlsParams=PY1;exports.GenerateUploadUrlsResponse=NY1;exports.GetManyBaseParams=OY1;exports.RemoveFileParams=IY1;exports.RemoveFilesParams=$Y1;exports.UploadFileParams=FY1;exports.UploadFilesParams=RY1;exports.User=vn;exports.addNotification=r4;exports.animateElement=oT;exports.clearNotifications=Iv;exports.colorSelectorColors=io;exports.copyModelFields=m5;exports.createApiConnections=EY1;exports.createI18n=Pp;exports.createRouter=GY1;exports.default=XY1;exports.displayAlert=Qg;exports.getAccessToken=Ep;exports.getAppOptions=n3;exports.getDateStr=As;exports.getDatetimeStr=p4;exports.getDomain=Eo;exports.getEnvironment=To;exports.getFinalValue=Ae;exports.getIsSmallDevice=Dr;exports.getLayouts=GO;exports.getMonthStr=kT;exports.getNavigationSectionsToDisplay=Ao;exports.getNumberStr=Ns;exports.getNumericDateStr=qa;exports.getRandomColorSelectorColor=lT;exports.getRouteTitle=Mn;exports.getRouteType=Pv;exports.getRoutesByNavigationSection=p5;exports.getRoutesToDisplay=So;exports.getSubdomain=YO;exports.getTimeStr=Bp;exports.greaterEqualRule=p11;exports.greaterThanRule=v11;exports.idRequiredRule=h11;exports.initAppOptions=Fv;exports.integerRule=m11;exports.isAValidId=XO;exports.isColorTemplateVariable=gn;exports.isMobileDevice=KO;exports.lessEqualRule=g11;exports.lessThanRule=y11;exports.login=Np;exports.logout=sT;exports.maxLengthRule=E7;exports.minLengthRule=T7;exports.pangeaOptionsColors=co;exports.removeHtmlTags=qp;exports.removeNotification=Do;exports.requiredRule=A7;exports.rgba=Op;exports.sanitizeHtml=jT;exports.scrollToTop=Bv;exports.setBodyOverflow=Sr;exports.setColorProperties=No;exports.setColorRootProperties=Ss;exports.setLayoutProperties=Rv;exports.setRootProperty=lc;exports.useAppOptionsStore=m4;exports.useElementPosition=eM;exports.useRouteStore=b4;exports.useScrollListener=rl;exports.validateAccessToken=Dp;
878
+ `+c):r.stack=c}catch{}}throw r}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=f6(this.defaults,a);const{transitional:r,paramsSerializer:n,headers:c}=a;r!==void 0&&sc.assertOptions(r,{silentJSONParsing:_4.transitional(_4.boolean),forcedJSONParsing:_4.transitional(_4.boolean),clarifyTimeoutError:_4.transitional(_4.boolean)},!1),n!=null&&(_1.isFunction(n)?a.paramsSerializer={serialize:n}:sc.assertOptions(n,{encode:_4.function,serialize:_4.function},!0)),sc.assertOptions(a,{baseUrl:_4.spelling("baseURL"),withXsrfToken:_4.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let i=c&&_1.merge(c.common,c[a.method]);c&&_1.forEach(["delete","get","head","post","put","patch","common"],v=>{delete c[v]}),a.headers=h4.concat(i,c);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(a)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const f=[];this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const v=[Lp.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,f),h=v.length,u=Promise.resolve(a);d<h;)u=u.then(v[d++],v[d++]);return u}h=s.length;let m=a;for(d=0;d<h;){const v=s[d++],p=s[d++];try{m=v(m)}catch(g){p.call(this,g);break}}try{u=Lp.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,h=f.length;d<h;)u=u.then(f[d++],f[d++]);return u}getUri(t){t=f6(this.defaults,t);const a=KA(t.baseURL,t.url);return qA(a,t.params,t.paramsSerializer)}}_1.forEach(["delete","get","head","options"],function(t){a5.prototype[t]=function(a,r){return this.request(f6(r||{},{method:t,url:a,data:(r||{}).data}))}});_1.forEach(["post","put","patch"],function(t){function a(r){return function(c,i,s){return this.request(f6(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:i}))}}a5.prototype[t]=a(),a5.prototype[t+"Form"]=a(!0)});const oc=a5;class Lf{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(c){a=c});const r=this;this.promise.then(n=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](n);r._listeners=null}),this.promise.then=n=>{let c;const i=new Promise(s=>{r.subscribe(s),c=s}).then(n);return i.cancel=function(){r.unsubscribe(c)},i},t(function(c,i,s){r.reason||(r.reason=new Ma(c,i,s),a(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=r=>{t.abort(r)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new Lf(function(n){t=n}),cancel:t}}}const zY1=Lf;function wY1(e){return function(a){return e.apply(null,a)}}function _Y1(e){return _1.isObject(e)&&e.isAxiosError===!0}const no={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(no).forEach(([e,t])=>{no[t]=e});const kY1=no;function aT(e){const t=new oc(e),a=EA(oc.prototype.request,t);return _1.extend(a,oc.prototype,t,{allOwnKeys:!0}),_1.extend(a,t,null,{allOwnKeys:!0}),a.create=function(n){return aT(f6(e,n))},a}const we=aT(Vf);we.Axios=oc;we.CanceledError=Ma;we.CancelToken=zY1;we.isCancel=GA;we.VERSION=tT;we.toFormData=mi;we.AxiosError=t2;we.Cancel=we.CanceledError;we.all=function(t){return Promise.all(t)};we.spread=wY1;we.isAxiosError=_Y1;we.mergeConfig=f6;we.AxiosHeaders=h4;we.formToJSON=e=>YA(_1.isHTMLForm(e)?new FormData(e):e);we.getAdapter=eT.getAdapter;we.HttpStatusCode=kY1;we.default=we;const Wa=we;function HY1(e,t,a,r){if(e==="get")return Wa.get(t,{params:a,...r});if(e==="post")return Wa.post(t,a,r);if(e==="put")return Wa.put(t,a,r);if(e==="patch")return Wa.patch(t,a,r);if(e==="delete")return Wa.delete(t,{data:a,...r})}function VY1(e,t){return e?Array.isArray(t)?t.map(a=>new e(a)):new e(t):t}const B8=M2("apiConnectionsError");function LY1(e){var r,n,c;const t=(c=(n=(r=e.response)==null?void 0:r.data)==null?void 0:n.error)==null?void 0:c.errorCode;if(!t){r4("danger",()=>B8("INTERNAL_SERVER_ERROR"));return}const a=Q2.getConfig();if(a.i18n.apiConnectionsError(t)){r4("danger",()=>a.i18n.apiConnectionsError(t));return}if(B8(t)){r4("danger",()=>B8(t));return}r4("danger",()=>B8("INTERNAL_SERVER_ERROR"))}const Ap=M2("apiConnectionsSuccess");function SY1(e){const t=Q2.getConfig();if(t.i18n.apiConnectionsSuccess(e)){r4("success",()=>t.i18n.apiConnectionsSuccess(e));return}Ap(e)&&r4("success",()=>Ap(e))}function AY1(e){const t=new FormData;return Object.entries(e).forEach(([a,r])=>{Array.isArray(r)?r.forEach(n=>t.append(a,n)):t.append(a,r)}),t}function TY1(e,t){var n;const a={...(n=t.getCustomHeaders)==null?void 0:n.call(t),"x-app-version":e,"x-language":m4().language};t.basicAuth||(a.Authorization=`Bearer ${Ep()||""}`);const r={headers:a};return t.basicAuth&&(r.auth=t.basicAuth),r}async function Pt(e,t,a,r,n,c,i={}){var v,p,g,y;const{getCustomHeaders:s}=c||{},{success:l,error:f,preventDisplayError:u,preventThrowError:d,isLoadingRef:h,basicAuth:m}=i;try{h&&(h.value=!0);const x=Q2.getConfig().backendUrl,C=(v=a.meta)!=null&&v.sendAsFormData?AY1(r):r,b=TY1(n,{basicAuth:m,getCustomHeaders:s}),M=await HY1(e,`${x}/${t}`,C,b),w=VY1(a.response,M.data.data);return e!=="get"&&SY1(M.data.successCode),l&&l(w,M.data.totalCount),{data:w,totalCount:M.data.totalCount}}catch(x){if(((y=(g=(p=x.response)==null?void 0:p.data)==null?void 0:g.error)==null?void 0:y.errorCode)==="APP_VERSION_MISMATCH"?window.location.reload():u||LY1(x),f&&f(x),d)return{data:null,totalCount:void 0};throw x}finally{h&&(h.value=!1)}}function Ls(e,t){return t?`${e}/${t}`:e}function T6(e,t){return e?Array.isArray(t)?t.map(a=>new e(a)):new e(t):t}function EY1(e,t,a){return{getOne(r,n,c,i){const s=Ls(r,n),l=e[r].getOne,f=T6(l.params,c);return Pt("get",s,l,f,t,a,i)},getMany(r,n,c){const i=e[r].getMany,s=T6(i.params,n);return Pt("get",r,i,s,t,a,c)},postOne(r,n,c){const i=e[r].postOne,s=T6(i.params,n);return Pt("post",r,i,s,t,a,c)},postMany(r,n,c){const i=e[r].postMany,s=T6(i.params,n);return Pt("post",r,i,s,t,a,c)},putOne(r,n,c,i){const s=Ls(r,n),l=e[r].putOne,f=T6(l.params,c);return Pt("put",s,l,f,t,a,i)},putMany(r,n,c){const i=e[r].putMany,s=T6(i.params,n);return Pt("put",r,i,s,t,a,c)},deleteOne(r,n,c){const i=Ls(r,n),s=e[r].deleteOne;return Pt("delete",i,s,void 0,t,a,c)},deleteMany(r,n,c){const i=e[r].deleteMany;return Pt("delete",r,i,n,t,a,c)}}}class u6{constructor(t){u6.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class NY1 extends u6{constructor(a){super(a);v1(this,"urls",[]);u6.CopyFields(this,a)}}class yi{constructor(t){v1(this,"id",0);v1(this,"createdAt",new Date);v1(this,"updatedAt",new Date);v1(this,"deletedAt",null);yi.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class vn extends yi{constructor(a){super(a);v1(this,"username","");vn.CopyFields(this,a)}}class DY1 extends u6{constructor(a){super(a);v1(this,"user",new vn);v1(this,"accessToken","");u6.CopyFields(this,a,{user:vn})}}class $e{constructor(t){$e.CopyFields(this,t)}static CopyFields(t,a,r){m5(t,a,r)}}class OY1 extends $e{constructor(a){super(a);v1(this,"page");v1(this,"pageSize");v1(this,"search");$e.CopyFields(this,a)}}class PY1 extends $e{constructor(a){super(a);v1(this,"fileTypes");$e.CopyFields(this,a)}}class BY1 extends $e{constructor(a){super(a);v1(this,"fileNames");$e.CopyFields(this,a)}}class FY1 extends $e{constructor(a){super(a);v1(this,"file");$e.CopyFields(this,a)}}class RY1 extends $e{constructor(a){super(a);v1(this,"file");$e.CopyFields(this,a)}}class IY1 extends $e{constructor(t){super(t),$e.CopyFields(this,t)}}class $Y1 extends $e{constructor(a){super(a);v1(this,"index",0);$e.CopyFields(this,a)}}function UY1(e,t,a){return a||{top:0}}async function WY1(e,t,a){if(t.name&&t.name===e.name){a();return}const r=Q2.getConfig().routerHelpers;if(!r.validateRouteAccess(e.meta.access)){a({name:r.getDefaultRouteName(e)});return}a()}async function qY1(e){b4().currentRoute=e,jY1(e.name),YY1()}function jY1(e){const t=b4().routeType;document.title=`${Mn(t,e)} | ${Q2.getConfig().appName}`}async function YY1(){const e=Q2.getConfig(),t=e.routerHelpers;if(await Dp(),!t.validateRouteAccess(b4().routeAccess)){e.router.push({name:t.getDefaultRouteName()});return}}function GY1(e){const t=Lr.createRouter({history:Lr.createWebHistory(),routes:e,scrollBehavior:UY1});return t.beforeEach(WY1),t.afterEach(qY1),t}function XY1(e,t,a){const r=I4.createPinia();r.use(pF({storage:localStorage})),e.use(r),e.use(t.router),e.use(Cg),e.use(gR,{themes:{tooltip:{triggers:["hover","focus","touch"],hideTriggers:c=>[...c]}}}),Q2.init(t),Fv(a==null?void 0:a.appOptions),m4().init(a==null?void 0:a.appOptionsStore);const n={...d71,...a==null?void 0:a.components};Object.entries(n).forEach(([c,i])=>e.component(c,i))}exports.App=lF;exports.AuthUser=DY1;exports.BaseModel=yi;exports.BaseParams=$e;exports.BaseResponse=u6;exports.ConfirmUploadedFilesParams=BY1;exports.GenerateUploadUrlsParams=PY1;exports.GenerateUploadUrlsResponse=NY1;exports.GetManyBaseParams=OY1;exports.RemoveFileParams=IY1;exports.RemoveFilesParams=$Y1;exports.UploadFileParams=FY1;exports.UploadFilesParams=RY1;exports.User=vn;exports.addNotification=r4;exports.animateElement=oT;exports.clearNotifications=Iv;exports.colorSelectorColors=io;exports.copyModelFields=m5;exports.createApiConnections=EY1;exports.createI18n=Pp;exports.createRouter=GY1;exports.default=XY1;exports.displayAlert=Qg;exports.getAccessToken=Ep;exports.getAppOptions=n3;exports.getDateStr=As;exports.getDatetimeStr=p4;exports.getDomain=Eo;exports.getEnvironment=To;exports.getFinalValue=Ae;exports.getIsSmallDevice=Dr;exports.getLayouts=GO;exports.getMonthStr=kT;exports.getNavigationSectionsToDisplay=Ao;exports.getNumberStr=Ns;exports.getNumericDateStr=qa;exports.getRandomColorSelectorColor=lT;exports.getRouteTitle=Mn;exports.getRouteType=Pv;exports.getRoutesByNavigationSection=p5;exports.getRoutesToDisplay=So;exports.getSubdomain=YO;exports.getTimeStr=Bp;exports.greaterEqualRule=p11;exports.greaterThanRule=v11;exports.idRequiredRule=h11;exports.initAppOptions=Fv;exports.integerRule=m11;exports.isAValidId=XO;exports.isColorTemplateVariable=gn;exports.isMobileDevice=KO;exports.lessEqualRule=g11;exports.lessThanRule=y11;exports.login=Np;exports.logout=sT;exports.maxLengthRule=E7;exports.minLengthRule=T7;exports.pangeaOptionsColors=co;exports.removeHtmlTags=qp;exports.removeNotification=Do;exports.requiredRule=A7;exports.rgba=Op;exports.sanitizeHtml=jT;exports.scrollToTop=Bv;exports.setBodyOverflow=Sr;exports.setColorProperties=No;exports.setColorRootProperties=Ss;exports.setLayoutProperties=Rv;exports.setRootProperty=lc;exports.useAppOptionsStore=m4;exports.useElementPosition=eM;exports.useRouteStore=b4;exports.useScrollListener=rl;exports.validateAccessToken=Dp;
package/dist/main.es.js CHANGED
@@ -78094,8 +78094,7 @@ class ja {
78094
78094
  class rX1 extends ja {
78095
78095
  constructor(a) {
78096
78096
  super(a);
78097
- b1(this, "url", "");
78098
- b1(this, "fileName", "");
78097
+ b1(this, "urls", []);
78099
78098
  ja.CopyFields(this, a);
78100
78099
  }
78101
78100
  }
@@ -3,7 +3,9 @@ export declare class BaseResponse {
3
3
  static CopyFields(objTo: any, objFrom: any, relations?: any): void;
4
4
  }
5
5
  export declare class GenerateUploadUrlsResponse extends BaseResponse {
6
- url: string;
7
- fileName: string;
6
+ urls: {
7
+ url: string;
8
+ fileName: string;
9
+ }[];
8
10
  constructor(params?: Partial<GenerateUploadUrlsResponse>);
9
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.85",
4
+ "version": "4.0.86",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",