@platforma-sdk/ui-vue 1.8.20 → 1.8.21
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/CHANGELOG.md +6 -0
- package/dist/lib.js +4 -1
- package/dist/lib.umd.cjs +1 -1
- package/dist/src/components/PlAgDataTable/PlAgDataTable.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/components/PlAgDataTable/PlAgDataTable.vue +6 -3
package/CHANGELOG.md
CHANGED
package/dist/lib.js
CHANGED
|
@@ -21879,6 +21879,9 @@ const QR = { class: "ap-ag-data-table-container" }, XR = {
|
|
|
21879
21879
|
onRowDataUpdated: (b) => {
|
|
21880
21880
|
b.api.autoSizeAllColumns();
|
|
21881
21881
|
},
|
|
21882
|
+
defaultColDef: {
|
|
21883
|
+
suppressHeaderMenuButton: !0
|
|
21884
|
+
},
|
|
21882
21885
|
maintainColumnOrder: !0,
|
|
21883
21886
|
localeText: {
|
|
21884
21887
|
loadingError: "..."
|
|
@@ -22053,7 +22056,7 @@ const QR = { class: "ap-ag-data-table-container" }, XR = {
|
|
|
22053
22056
|
}, null, 8, ["theme", "grid-options"]))
|
|
22054
22057
|
]));
|
|
22055
22058
|
}
|
|
22056
|
-
}), fN = /* @__PURE__ */ $u(eO, [["__scopeId", "data-v-
|
|
22059
|
+
}), fN = /* @__PURE__ */ $u(eO, [["__scopeId", "data-v-93a0f82c"]]), tO = {
|
|
22057
22060
|
key: 1,
|
|
22058
22061
|
class: "alert-error"
|
|
22059
22062
|
}, rO = { key: 2 }, mN = /* @__PURE__ */ ue({
|
package/dist/lib.umd.cjs
CHANGED
|
@@ -100,4 +100,4 @@ __p += '`),Ve&&(q+=`' +
|
|
|
100
100
|
function print() { __p += __j.call(arguments, '') }
|
|
101
101
|
`:`;
|
|
102
102
|
`)+q+`return __p
|
|
103
|
-
}`;var Me=rf(function(){return Oe(b,se+"return "+q).apply(r,_)});if(Me.source=q,$c(Me))throw Me;return Me}function VV(a){return Ge(a).toLowerCase()}function LV(a){return Ge(a).toUpperCase()}function IV(a,l,c){if(a=Ge(a),a&&(c||l===r))return ug(a);if(!a||!(l=Ut(l)))return a;var g=yr(a),m=yr(l),b=pg(g,m),_=gg(g,m)+1;return Cn(g,b,_).join("")}function FV(a,l,c){if(a=Ge(a),a&&(c||l===r))return a.slice(0,fg(a)+1);if(!a||!(l=Ut(l)))return a;var g=yr(a),m=gg(g,yr(l))+1;return Cn(g,0,m).join("")}function RV(a,l,c){if(a=Ge(a),a&&(c||l===r))return a.replace($s,"");if(!a||!(l=Ut(l)))return a;var g=yr(a),m=pg(g,yr(l));return Cn(g,m).join("")}function OV(a,l){var c=F,g=Y;if(Je(l)){var m="separator"in l?l.separator:m;c="length"in l?Ee(l.length):c,g="omission"in l?Ut(l.omission):g}a=Ge(a);var b=a.length;if(bo(a)){var _=yr(a);b=_.length}if(c>=b)return a;var T=c-wo(g);if(T<1)return g;var M=_?Cn(_,0,T).join(""):a.slice(0,T);if(m===r)return M+g;if(_&&(T+=M.length-T),Wc(m)){if(a.slice(T).search(m)){var Z,$=M;for(m.global||(m=sc(m.source,Ge(Dp.exec(m))+"g")),m.lastIndex=0;Z=m.exec($);)var q=Z.index;M=M.slice(0,q===r?T:q)}}else if(a.indexOf(Ut(m),T)!=T){var te=M.lastIndexOf(m);te>-1&&(M=M.slice(0,te))}return M+g}function zV(a){return a=Ge(a),a&&JE.test(a)?a.replace(Mp,fA):a}var GV=Eo(function(a,l,c){return a+(c?" ":"")+l.toUpperCase()}),Kc=nh("toUpperCase");function tf(a,l,c){return a=Ge(a),l=c?r:l,l===r?dA(a)?yA(a):tA(a):a.match(l)||[]}var rf=Be(function(a,l){try{return Gt(a,r,l)}catch(c){return $c(c)?c:new Ce(c)}}),jV=Ur(function(a,l){return Kt(l,function(c){c=Mr(c),Gr(a,c,Uc(a[c],a))}),a});function UV(a){var l=a==null?0:a.length,c=pe();return a=l?qe(a,function(g){if(typeof g[1]!="function")throw new Yt(d);return[c(g[0]),g[1]]}):[],Be(function(g){for(var m=-1;++m<l;){var b=a[m];if(Gt(b[0],this,g))return Gt(b[1],this,g)}})}function ZV(a){return fM(Qt(a,y))}function Yc(a){return function(){return a}}function $V(a,l){return a==null||a!==a?l:a}var WV=ah(),HV=ah(!0);function Pt(a){return a}function Jc(a){return Lg(typeof a=="function"?a:Qt(a,y))}function qV(a){return Fg(Qt(a,y))}function KV(a,l){return Rg(a,Qt(l,y))}var YV=Be(function(a,l){return function(c){return Ua(c,a,l)}}),JV=Be(function(a,l){return function(c){return Ua(a,c,l)}});function Qc(a,l,c){var g=ut(l),m=tl(l,g);c==null&&!(Je(l)&&(m.length||!g.length))&&(c=l,l=a,a=this,m=tl(l,ut(l)));var b=!(Je(c)&&"chain"in c)||!!c.chain,_=$r(a);return Kt(m,function(T){var M=l[T];a[T]=M,_&&(a.prototype[T]=function(){var Z=this.__chain__;if(b||Z){var $=a(this.__wrapped__),q=$.__actions__=At(this.__actions__);return q.push({func:M,args:arguments,thisArg:a}),$.__chain__=Z,$}return M.apply(a,mn([this.value()],arguments))})}),a}function QV(){return pt._===this&&(pt._=kA),this}function Xc(){}function XV(a){return a=Ee(a),Be(function(l){return Og(l,a)})}var e2=Mc(qe),t2=Mc(ig),r2=Mc(tc);function nf(a){return Fc(a)?rc(Mr(a)):PM(a)}function n2(a){return function(l){return a==null?r:$n(a,l)}}var o2=lh(),a2=lh(!0);function ed(){return[]}function td(){return!1}function i2(){return{}}function l2(){return""}function s2(){return!0}function c2(a,l){if(a=Ee(a),a<1||a>_e)return[];var c=Nt,g=yt(a,Nt);l=pe(l),a-=Nt;for(var m=ac(g,l);++c<a;)l(c);return m}function d2(a){return ke(a)?qe(a,Mr):Zt(a)?[a]:At(_h(Ge(a)))}function u2(a){var l=++CA;return Ge(a)+l}var p2=ll(function(a,l){return a+l},0),g2=Bc("ceil"),h2=ll(function(a,l){return a/l},1),f2=Bc("floor");function m2(a){return a&&a.length?el(a,Pt,mc):r}function v2(a,l){return a&&a.length?el(a,pe(l,2),mc):r}function y2(a){return cg(a,Pt)}function b2(a,l){return cg(a,pe(l,2))}function w2(a){return a&&a.length?el(a,Pt,wc):r}function x2(a,l){return a&&a.length?el(a,pe(l,2),wc):r}var C2=ll(function(a,l){return a*l},1),_2=Bc("round"),k2=ll(function(a,l){return a-l},0);function S2(a){return a&&a.length?oc(a,Pt):0}function T2(a,l){return a&&a.length?oc(a,pe(l,2)):0}return v.after=qP,v.ary=Vh,v.assign=LD,v.assignIn=qh,v.assignInWith=wl,v.assignWith=ID,v.at=FD,v.before=Lh,v.bind=Uc,v.bindAll=jV,v.bindKey=Ih,v.castArray=iD,v.chain=Bh,v.chunk=fB,v.compact=mB,v.concat=vB,v.cond=UV,v.conforms=ZV,v.constant=Yc,v.countBy=SP,v.create=RD,v.curry=Fh,v.curryRight=Rh,v.debounce=Oh,v.defaults=OD,v.defaultsDeep=zD,v.defer=KP,v.delay=YP,v.difference=yB,v.differenceBy=bB,v.differenceWith=wB,v.drop=xB,v.dropRight=CB,v.dropRightWhile=_B,v.dropWhile=kB,v.fill=SB,v.filter=EP,v.flatMap=MP,v.flatMapDeep=BP,v.flatMapDepth=PP,v.flatten=Eh,v.flattenDeep=TB,v.flattenDepth=EB,v.flip=JP,v.flow=WV,v.flowRight=HV,v.fromPairs=NB,v.functions=HD,v.functionsIn=qD,v.groupBy=DP,v.initial=MB,v.intersection=BB,v.intersectionBy=PB,v.intersectionWith=DB,v.invert=YD,v.invertBy=JD,v.invokeMap=LP,v.iteratee=Jc,v.keyBy=IP,v.keys=ut,v.keysIn=Bt,v.map=hl,v.mapKeys=XD,v.mapValues=eV,v.matches=qV,v.matchesProperty=KV,v.memoize=ml,v.merge=tV,v.mergeWith=Kh,v.method=YV,v.methodOf=JV,v.mixin=Qc,v.negate=vl,v.nthArg=XV,v.omit=rV,v.omitBy=nV,v.once=QP,v.orderBy=FP,v.over=e2,v.overArgs=XP,v.overEvery=t2,v.overSome=r2,v.partial=Zc,v.partialRight=zh,v.partition=RP,v.pick=oV,v.pickBy=Yh,v.property=nf,v.propertyOf=n2,v.pull=FB,v.pullAll=Ah,v.pullAllBy=RB,v.pullAllWith=OB,v.pullAt=zB,v.range=o2,v.rangeRight=a2,v.rearg=eD,v.reject=GP,v.remove=GB,v.rest=tD,v.reverse=Gc,v.sampleSize=UP,v.set=iV,v.setWith=lV,v.shuffle=ZP,v.slice=jB,v.sortBy=HP,v.sortedUniq=KB,v.sortedUniqBy=YB,v.split=MV,v.spread=rD,v.tail=JB,v.take=QB,v.takeRight=XB,v.takeRightWhile=eP,v.takeWhile=tP,v.tap=mP,v.throttle=nD,v.thru=gl,v.toArray=$h,v.toPairs=Jh,v.toPairsIn=Qh,v.toPath=d2,v.toPlainObject=Hh,v.transform=sV,v.unary=oD,v.union=rP,v.unionBy=nP,v.unionWith=oP,v.uniq=aP,v.uniqBy=iP,v.uniqWith=lP,v.unset=cV,v.unzip=jc,v.unzipWith=Mh,v.update=dV,v.updateWith=uV,v.values=Mo,v.valuesIn=pV,v.without=sP,v.words=tf,v.wrap=aD,v.xor=cP,v.xorBy=dP,v.xorWith=uP,v.zip=pP,v.zipObject=gP,v.zipObjectDeep=hP,v.zipWith=fP,v.entries=Jh,v.entriesIn=Qh,v.extend=qh,v.extendWith=wl,Qc(v,v),v.add=p2,v.attempt=rf,v.camelCase=mV,v.capitalize=Xh,v.ceil=g2,v.clamp=gV,v.clone=lD,v.cloneDeep=cD,v.cloneDeepWith=dD,v.cloneWith=sD,v.conformsTo=uD,v.deburr=ef,v.defaultTo=$V,v.divide=h2,v.endsWith=vV,v.eq=wr,v.escape=yV,v.escapeRegExp=bV,v.every=TP,v.find=NP,v.findIndex=Sh,v.findKey=GD,v.findLast=AP,v.findLastIndex=Th,v.findLastKey=jD,v.floor=f2,v.forEach=Ph,v.forEachRight=Dh,v.forIn=UD,v.forInRight=ZD,v.forOwn=$D,v.forOwnRight=WD,v.get=Hc,v.gt=pD,v.gte=gD,v.has=KD,v.hasIn=qc,v.head=Nh,v.identity=Pt,v.includes=VP,v.indexOf=AB,v.inRange=hV,v.invoke=QD,v.isArguments=qn,v.isArray=ke,v.isArrayBuffer=hD,v.isArrayLike=Mt,v.isArrayLikeObject=tt,v.isBoolean=fD,v.isBuffer=_n,v.isDate=mD,v.isElement=vD,v.isEmpty=yD,v.isEqual=bD,v.isEqualWith=wD,v.isError=$c,v.isFinite=xD,v.isFunction=$r,v.isInteger=Gh,v.isLength=yl,v.isMap=jh,v.isMatch=CD,v.isMatchWith=_D,v.isNaN=kD,v.isNative=SD,v.isNil=ED,v.isNull=TD,v.isNumber=Uh,v.isObject=Je,v.isObjectLike=Xe,v.isPlainObject=Ka,v.isRegExp=Wc,v.isSafeInteger=ND,v.isSet=Zh,v.isString=bl,v.isSymbol=Zt,v.isTypedArray=Ao,v.isUndefined=AD,v.isWeakMap=MD,v.isWeakSet=BD,v.join=VB,v.kebabCase=wV,v.last=er,v.lastIndexOf=LB,v.lowerCase=xV,v.lowerFirst=CV,v.lt=PD,v.lte=DD,v.max=m2,v.maxBy=v2,v.mean=y2,v.meanBy=b2,v.min=w2,v.minBy=x2,v.stubArray=ed,v.stubFalse=td,v.stubObject=i2,v.stubString=l2,v.stubTrue=s2,v.multiply=C2,v.nth=IB,v.noConflict=QV,v.noop=Xc,v.now=fl,v.pad=_V,v.padEnd=kV,v.padStart=SV,v.parseInt=TV,v.random=fV,v.reduce=OP,v.reduceRight=zP,v.repeat=EV,v.replace=NV,v.result=aV,v.round=_2,v.runInContext=N,v.sample=jP,v.size=$P,v.snakeCase=AV,v.some=WP,v.sortedIndex=UB,v.sortedIndexBy=ZB,v.sortedIndexOf=$B,v.sortedLastIndex=WB,v.sortedLastIndexBy=HB,v.sortedLastIndexOf=qB,v.startCase=BV,v.startsWith=PV,v.subtract=k2,v.sum=S2,v.sumBy=T2,v.template=DV,v.times=c2,v.toFinite=Wr,v.toInteger=Ee,v.toLength=Wh,v.toLower=VV,v.toNumber=tr,v.toSafeInteger=VD,v.toString=Ge,v.toUpper=LV,v.trim=IV,v.trimEnd=FV,v.trimStart=RV,v.truncate=OV,v.unescape=zV,v.uniqueId=u2,v.upperCase=GV,v.upperFirst=Kc,v.each=Ph,v.eachRight=Dh,v.first=Nh,Qc(v,function(){var a={};return Nr(v,function(l,c){je.call(v.prototype,c)||(a[c]=l)}),a}(),{chain:!1}),v.VERSION=o,Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){v[a].placeholder=v}),Kt(["drop","take"],function(a,l){De.prototype[a]=function(c){c=c===r?1:lt(Ee(c),0);var g=this.__filtered__&&!l?new De(this):this.clone();return g.__filtered__?g.__takeCount__=yt(c,g.__takeCount__):g.__views__.push({size:yt(c,Nt),type:a+(g.__dir__<0?"Right":"")}),g},De.prototype[a+"Right"]=function(c){return this.reverse()[a](c).reverse()}}),Kt(["filter","map","takeWhile"],function(a,l){var c=l+1,g=c==B||c==X;De.prototype[a]=function(m){var b=this.clone();return b.__iteratees__.push({iteratee:pe(m,3),type:c}),b.__filtered__=b.__filtered__||g,b}}),Kt(["head","last"],function(a,l){var c="take"+(l?"Right":"");De.prototype[a]=function(){return this[c](1).value()[0]}}),Kt(["initial","tail"],function(a,l){var c="drop"+(l?"":"Right");De.prototype[a]=function(){return this.__filtered__?new De(this):this[c](1)}}),De.prototype.compact=function(){return this.filter(Pt)},De.prototype.find=function(a){return this.filter(a).head()},De.prototype.findLast=function(a){return this.reverse().find(a)},De.prototype.invokeMap=Be(function(a,l){return typeof a=="function"?new De(this):this.map(function(c){return Ua(c,a,l)})}),De.prototype.reject=function(a){return this.filter(vl(pe(a)))},De.prototype.slice=function(a,l){a=Ee(a);var c=this;return c.__filtered__&&(a>0||l<0)?new De(c):(a<0?c=c.takeRight(-a):a&&(c=c.drop(a)),l!==r&&(l=Ee(l),c=l<0?c.dropRight(-l):c.take(l-a)),c)},De.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},De.prototype.toArray=function(){return this.take(Nt)},Nr(De.prototype,function(a,l){var c=/^(?:filter|find|map|reject)|While$/.test(l),g=/^(?:head|last)$/.test(l),m=v[g?"take"+(l=="last"?"Right":""):l],b=g||/^find/.test(l);m&&(v.prototype[l]=function(){var _=this.__wrapped__,T=g?[1]:arguments,M=_ instanceof De,Z=T[0],$=M||ke(_),q=function(Pe){var Ve=m.apply(v,mn([Pe],T));return g&&te?Ve[0]:Ve};$&&c&&typeof Z=="function"&&Z.length!=1&&(M=$=!1);var te=this.__chain__,se=!!this.__actions__.length,he=b&&!te,Me=M&&!se;if(!b&&$){_=Me?_:new De(this);var fe=a.apply(_,T);return fe.__actions__.push({func:gl,args:[q],thisArg:r}),new Jt(fe,te)}return he&&Me?a.apply(this,T):(fe=this.thru(q),he?g?fe.value()[0]:fe.value():fe)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(a){var l=Oi[a],c=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",g=/^(?:pop|shift)$/.test(a);v.prototype[a]=function(){var m=arguments;if(g&&!this.__chain__){var b=this.value();return l.apply(ke(b)?b:[],m)}return this[c](function(_){return l.apply(ke(_)?_:[],m)})}}),Nr(De.prototype,function(a,l){var c=v[l];if(c){var g=c.name+"";je.call(ko,g)||(ko[g]=[]),ko[g].push({name:l,func:c})}}),ko[il(r,w).name]=[{name:"wrapper",func:r}],De.prototype.clone=zA,De.prototype.reverse=GA,De.prototype.value=jA,v.prototype.at=vP,v.prototype.chain=yP,v.prototype.commit=bP,v.prototype.next=wP,v.prototype.plant=CP,v.prototype.reverse=_P,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=kP,v.prototype.first=v.prototype.head,Ia&&(v.prototype[Ia]=xP),v},xo=bA();zn?((zn.exports=xo)._=xo,Js._=xo):pt._=xo}).call(Bo)}(Si,Si.exports);var Qe=Si.exports;const dE={class:"grid-overlay-container"},hp=n.defineComponent({__name:"PlAgOverlayLoading",props:{params:{}},setup(t){return(e,r)=>(n.openBlock(),n.createElementBlock("div",dE,[e.params.notReady?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[r[0]||(r[0]=n.createElementVNode("div",{class:"grid-icon-cat-in-bag"},null,-1)),r[1]||(r[1]=n.createElementVNode("span",{class:"text-subtitle-m"},"Not calculated",-1))],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[r[2]||(r[2]=n.createElementVNode("div",{class:"mask-24 mask-loading grid-mask-loading"},null,-1)),r[3]||(r[3]=n.createElementVNode("span",{class:"text-subtitle-m"},"Loading",-1))],64))]))}}),uE={},pE={class:"grid-overlay-container"};function gE(t,e){return n.openBlock(),n.createElementBlock("div",pE,e[0]||(e[0]=[n.createElementVNode("div",{class:"grid-icon-sad-cat"},null,-1),n.createElementVNode("span",{class:"text-subtitle-m"},"Empty",-1)]))}const fp=As(uE,[["render",gE]]);async function hE(t,e){throw Error("not implemented")}function fE(t){return t.axesSpec.filter(e=>{var r;return((r=e.annotations)==null?void 0:r["pl7.app/axisNature"])==="heterogeneous"})}function mE(t,e){const r=[];for(const o of e)if(t[o].type==="column"){const i=fE(t[o].spec);for(const s of i){if(s.type!=="String"){console.warn("heterogeneous axis with string type expected, got",s,"skipping");continue}const d=Nd(s),u=t.findIndex(p=>Qe.isEqual(p.id,d));if(u===-1)throw console.error("axis not found",o,d,t),Error("axis not found");r.push({columnIdx:o,axisIdx:u})}}return r}const mp=(t,e)=>(t+e).toString();function vE(t,e,r,o,i,s){if(t.length>1)throw Error("hColumns.length > 1 is not supported");const d=t[0];let u=-1,p=-1;for(let y=0;y<s.length;++y)s[y]===d.axisIdx&&(u=y),s[y]===d.columnIdx&&(p=y);const h=(()=>{const S=o[u].data.filter(k=>k!==null);return Array.from(new Set(S))})();h.sort(),p>u?(r.splice(p,1),r.splice(u,1)):(r.splice(u,1),r.splice(p,1));const f=yE(i,o,u,p,h,e.rows);for(let y=0;y<h.length;++y){const S=h[y],k=S+"@"+y;r.push({colId:k,field:mp(o.length,y),headerName:S,valueFormatter:vp})}return{rowModelType:"clientSide",columnDefs:r,rowData:f}}function yE(t,e,r,o,i,s){const d=new Map;let u=0;for(let h=0;h<s;h++){const f={};for(let E=0;E<e.length;++E){if(E===r||E===o)continue;const A=t[E].toString();f[A]=e[E].data[h]}let y;const S=Po(Object.values(f))??"";d.has(S)?y=d.get(S):(d.set(S,f),y=f,y.id=u.toString(),u++);const k=i.indexOf(e[r].data[h]);if(k===-1)throw Error("index not found");const D=mp(e.length,k);y[D]=e[o].data[h]}return Array.from(d.values())}function bE(t){return Po({type:t.type,id:t.id})}function wE(t){return JSON.parse(t)}const vp=t=>t?t.value===void 0?"NULL":t.value===null?"NA":t.value.toString():"ERROR";function xE(t,e,r){var i,s,d;const o=bE(e);return{colId:o,field:t.toString(),headerName:((s=(i=e.spec.annotations)==null?void 0:i["pl7.app/label"])==null?void 0:s.trim())??"Unlabeled "+e.type+" "+t.toString(),lockPosition:e.type==="axis",hide:(r==null?void 0:r.includes(o))??((d=e.spec.annotations)==null?void 0:d["pl7.app/table/visibility"])==="optional",valueFormatter:vp,cellDataType:(u=>{switch(u){case"Int":case"Long":case"Float":case"Double":return"number";case"String":case"Bytes":return"text";default:throw Error(`unsupported data type: ${u}`)}})(e.type==="axis"?e.spec.type:e.spec.valueType)}}function yp(t,e){switch(e){case"Int":return t;case"Long":return typeof t=="bigint"?Number(t):t;case"Float":return t;case"Double":return t;case"String":return t;case"Bytes":return Buffer.from(t).toString("hex");default:throw Error(`unsupported data type: ${e}`)}}function bp(t){const e=[];return li(t,r=>(e.push(r),r)),e}async function CE(t,e,r){return r.length?(await t.findColumns(e,{columnFilter:{name:["pl7.app/label"]},compatibleWith:Qe.uniqWith(r.map(i=>Ol(i.spec.axesSpec).map(Qe.cloneDeep)).flat(),Qe.isEqual),strictlyCompatible:!0})).hits.filter(i=>i.spec.axesSpec.length===1):[]}async function _E(t,e,r){const o=bp(r),s=(await CE(t,e,o)).filter(d=>!Qe.find(o,u=>d.columnId===u.columnId));return s.length===0?r:{type:"outer",primary:r,secondary:s.map(d=>({type:"column",column:d}))}}async function kE(t,e,r,o){const i=r.filter(f=>f.type!=="Bytes"),s=bp(o),d=i.map(f=>[]),u=i.map(f=>null);for(let f=0;f<s.length;++f){const y=Ol(s[f].spec.axesSpec);for(let S=0;S<y.length;++S){const k=Qe.findIndex(i,D=>Qe.isEqual(D,y[S]));k===-1||u[k]||(y.length===1&&s[f].spec.name==="pl7.app/label"?(d[k]=[[f,S]],u[k]=s[f].columnId):d[k].push([f,S]))}}for(let f=i.length-1;f>=0;--f)d[f].length||(u.splice(f,1),d.splice(f,1),i.splice(f,1));const p=100,h=i.map(f=>new Set);e:for(let f=i.length-1;f>=0;--f){for(const[y,S]of d[f]){const k=await t.getUniqueValues(e,{columnId:s[y].columnId,...!u[f]&&{axis:Qe.cloneDeep(i[f])},filters:[],limit:p});if(k.overflow){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}const D=k.values.type;for(const E of k.values.data)if(!(Ed(E,D)||E===null)&&(h[f].add(yp(E,D)),h[f].size===p)){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}}if(!h[f].size){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}}return i.map((f,y)=>{const S=[...h[y]].map(D=>({value:D,text:D.toString()})),k=S[0].value;return{axis:Qe.cloneDeep(f),...u[y]&&{column:u[y]},options:S,defaultValue:k}})}function SE(t,e,r){const o=e.length,i=[];for(let s=0;s<e[0].data.length;++s){const d={};for(let u=0;u<o;++u){const p=t[u].toString(),h=e[u].data[s],f=e[u].type;Am(e[u].absent,s)?d[p]=void 0:Ed(h,f)||h===null?d[p]=null:d[p]=yp(h,f)}d.id=(r++).toString(),i.push(d)}return i}const TE=t=>t.type==="column"&&t.spec.axesSpec.length===1&&t.spec.name==="pl7.app/label";async function EE(t,e,r,o){const i=await t.getSpec(e),s=[...i.keys()].filter(k=>!Qe.find(r,D=>Qe.isEqual(D.axis,i[k].id)||Qe.isEqual(D.column,i[k].id))),d=Qe.cloneDeep(s),u=mE(i,s);for(let k=s.length-1;k>=0;--k){const D=s[k];if(!TE(i[D]))continue;const E=Ol(i[D].spec.axesSpec)[0],A=Qe.findIndex(s,w=>Qe.isEqual(i[w].id,E));if(A!==-1){s[A]=D;for(const w of u)w.axisIdx===D&&(w.axisIdx=A);s.splice(k,1),d.splice(k,1)}}const p=await t.getShape(e),h=p.rows,f=d.map(k=>xE(k,i[k],o));if(u.length>1&&console.warn("Currently, only one heterogeneous axis is supported in the table, got",u.length," transposition will not be applied."),u.length===1)return vE(u,p,f,await t.getData(e,s),d,s);let y;return{rowModelType:"serverSide",columnDefs:f,serverSideDatasource:{getRows:async k=>{try{if(h==0){k.success({rowData:[],rowCount:h}),k.api.showNoRowsOverlay(),k.api.setGridOption("loading",!1);return}if(y&&!Qe.isEqual(y.request.sortModel,k.request.sortModel)){y=void 0,k.fail(),k.api.setGridOption("loading",!0);return}y=k;let D=0,E=[];if(h>0&&k.request.startRow!==void 0&&k.request.endRow!==void 0&&(D=Math.min(h,k.request.endRow)-k.request.startRow,D>0)){const A=await t.getData(e,s,{offset:k.request.startRow,length:D});E=SE(d,A,k.request.startRow)}k.success({rowData:E,rowCount:h}),k.api.autoSizeAllColumns(),k.api.setGridOption("loading",!1)}catch{k.fail(),k.api.setGridOption("loading",!0)}}}}}const NE={class:"ap-ag-data-table-container"},AE={key:0,class:"ap-ag-data-table-sheets"},ME=As(n.defineComponent({__name:"PlAgDataTable",props:n.mergeModels({settings:{}},{modelValue:{default:{gridState:{}}},modelModifiers:{}}),emits:["update:modelValue"],setup(t){C.ModuleRegistry.registerModules([Ja.ClientSideRowModelModule,dd.ClipboardModule,cd.ServerSideRowModelModule,ud.RangeSelectionModule,Ul,Yd]);const e=n.useModel(t,"modelValue"),r=t,{settings:o}=n.toRefs(r);n.watch(()=>o.value,async(w,L)=>{if(w.sourceType!=="pframe"||!w.pFrame||!w.join||L&&L.sourceType==="pframe"&&Qe.isEqual(w.pFrame,L.pFrame)&&Qe.isEqual(w.join,L.join))return;const R=window.platforma;if(!R)throw Error("platforma not set");const H=R.pFrameDriver;if(!H)throw Error("platforma.pFrameDriver not set");const G=await _E(H,w.pFrame,w.join),K=e.value;K.pTableParams||(K.pTableParams={sorting:[],filters:[]}),K.pTableParams.join=G,e.value=K});const i=wp(()=>o.value.sourceType,async w=>{var R;const L=o.value.sourceType;switch(L){case"pframe":{const H=window.platforma;if(!H)throw Error("platforma not set");const G=H.pFrameDriver;if(!G)throw Error("platforma.pFrameDriver not set");if(!o.value.pFrame)return[];const K=o.value.pFrame,U=(R=e.value.pTableParams)==null?void 0:R.join;return U?await kE(G,K,o.value.sheetAxes,U):[]}case"ptable":return o.value.sheets??[];case"xsv":return[];default:throw Error(`unsupported source type: ${L}`)}});function s(w){if(!(o.value.sourceType!=="ptable"&&o.value.sourceType!=="pframe"))return(w==null?void 0:w.sortModel.map(L=>({column:wE(L.colId),ascending:L.sort==="asc",naAndAbsentAreLeastValues:!0})))??[]}const d=n.computed({get:()=>{const w=e.value;return{columnOrder:w.gridState.columnOrder,sort:w.gridState.sort,columnVisibility:w.gridState.columnVisibility}},set:w=>{const L=e.value,R=y.value.rowModelType==="clientSide"?void 0:s(w.sort);L.gridState.columnOrder=w.columnOrder,L.gridState.sort=w.sort,L.gridState.columnVisibility=w.columnVisibility,(o.value.sourceType==="ptable"||o.value.sourceType==="pframe")&&(L.pTableParams||(L.pTableParams={sorting:[],filters:[]}),L.pTableParams.sorting=R),e.value=L}}),u=w=>Po(w);function p(w){var L;if(!(o.value.sourceType!=="ptable"&&o.value.sourceType!=="pframe"))return((L=i.value)==null?void 0:L.map(R=>({type:"bySingleColumn",column:R.column?{type:"column",id:R.column}:{type:"axis",id:R.axis},predicate:{operator:"Equal",reference:w[u(R.axis)]}})))??[]}const h=n.computed({get:()=>e.value.gridState.sheets??{},set:w=>{const L=p(w),R=e.value;R.gridState.sheets=w,(o.value.sourceType==="ptable"||o.value.sourceType==="pframe")&&(R.pTableParams||(R.pTableParams={sorting:[],filters:[]}),R.pTableParams.filters=L),e.value=R}});n.watch(()=>[o.value,i.value],(w,L)=>{const[R,H]=w;if(!H)return;if(L){const[K,U]=L;if((R.sourceType==="ptable"||R.sourceType==="pframe")&&R.sourceType===(K==null?void 0:K.sourceType)&&Qe.isEqual(H,U))return}if(R.sourceType!=="ptable"&&R.sourceType!=="pframe"){h.value={};return}const G=h.value;for(const K of H){const U=u(K.axis);G[U]||(G[U]=K.defaultValue??K.options[0].value)}h.value=G},{immediate:!0});const f=n.shallowRef(),y=n.ref({animateRows:!1,suppressColumnMoveAnimation:!0,cellSelection:!0,initialState:d.value,autoSizeStrategy:{type:"fitCellContents"},onRowDataUpdated:w=>{w.api.autoSizeAllColumns()},maintainColumnOrder:!0,localeText:{loadingError:"..."},rowModelType:"clientSide",maxBlocksInCache:1e3,cacheBlockSize:100,blockLoadDebounceMillis:500,serverSideSortAllLevels:!0,suppressServerSideFullWidthLoadingRow:!0,getRowId:w=>w.data.id,loading:!0,loadingOverlayComponentParams:{notReady:!0},loadingOverlayComponent:hp,noRowsOverlayComponent:fp,sideBar:{toolPanels:[{id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel",toolPanelParams:{suppressRowGroups:!0,suppressValues:!0,suppressPivots:!0,suppressPivotMode:!0,suppressColumnFilter:!0,suppressColumnSelectAll:!0,suppressColumnExpandAll:!0}}],defaultToolPanel:"columns"}}),S=w=>{const L=w.api;f.value=new Proxy(L,{get(R,H,G){switch(H){case"setGridOption":return(K,U)=>{const P=y.value;P[K]=U,y.value=P,L.updateGridOptions(P)};case"updateGridOptions":return K=>{y.value={...y.value,...K},L.updateGridOptions(K)};default:return Reflect.get(R,H,G)}}})},k=w=>{d.value={columnOrder:w.state.columnOrder,sort:w.state.sort,columnVisibility:w.state.columnVisibility??(w.state.columnOrder?{hiddenColIds:[]}:void 0)},y.value.initialState=d.value},D=()=>{const w=f.value.getState();d.value={columnOrder:w.columnOrder,sort:w.sort,columnVisibility:w.columnVisibility??(w.columnOrder?{hiddenColIds:[]}:void 0)},y.value.initialState=d.value,f.value=void 0},E=n.ref(0);n.watch(()=>[f.value,d.value],(w,L)=>{if(Qe.isEqual(w,L))return;const[R,H]=w;if(!R)return;const G=R.getState(),K={columnOrder:G.columnOrder,sort:G.sort,columnVisibility:G.columnVisibility??(G.columnOrder?{hiddenColIds:[]}:void 0)};Qe.isEqual(H,K)||(y.value.initialState=H,++E.value)}),n.watch(()=>y.value,(w,L)=>{L&&w.rowModelType!=L.rowModelType&&++E.value});const A=(w,L)=>{var H;const R=h.value;R[w]!==L&&(R[w]=L,h.value=R,(H=f.value)==null||H.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!1}}))};return n.watch(()=>[f.value,o.value,i.value],async(w,L)=>{var P,W;if(Qe.isEqual(w,L))return;const[R,H,G]=w;if(!R)return;const K=window.platforma;if(!K)throw Error("platforma not set");const U=H.sourceType;switch(U){case"pframe":case"ptable":{const F=K.pFrameDriver;if(!F)throw Error("platforma.pFrameDriver not set");const Y=H.pTable;if(!Y||!G)return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!0},columnDefs:[]});const ue=(W=(P=d.value)==null?void 0:P.columnVisibility)==null?void 0:W.hiddenColIds,j=await EE(F,Y,G,ue);return R.updateGridOptions({loading:j.rowModelType!=="clientSide",loadingOverlayComponentParams:{notReady:!1},...j})}case"xsv":{const F=K.blobDriver;if(!F)throw Error("platforma.blobDriver not set");const Y=H.xsvFile;if(!(Y!=null&&Y.ok)||!Y.value)return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!0},columnDefs:[]});const ue=await hE(F,Y.value);return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!1},...ue})}default:throw Error(`unsupported source type: ${U}`)}}),(w,L)=>(n.openBlock(),n.createElementBlock("div",NE,[n.createVNode(n.Transition,{name:"ap-ag-data-table-sheets-transition"},{default:n.withCtx(()=>[n.unref(i).value&&n.unref(i).value.length>0?(n.openBlock(),n.createElementBlock("div",AE,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i).value,(R,H)=>(n.openBlock(),n.createBlock(n.unref(Wu),{key:H,"model-value":h.value[u(R.axis)],options:R.options,"onUpdate:modelValue":G=>A(u(R.axis),G)},null,8,["model-value","options","onUpdate:modelValue"]))),128))])):n.createCommentVNode("",!0)]),_:1}),(n.openBlock(),n.createBlock(n.unref(hf.AgGridVue),{key:E.value,theme:n.unref(uu),class:"ap-ag-data-table-grid","grid-options":y.value,onGridReady:S,onStateUpdated:k,onGridPreDestroyed:D},null,8,["theme","grid-options"]))]))}}),[["__scopeId","data-v-15f8c97a"]]),BE={key:1,class:"alert-error"},PE={key:2},DE=n.defineComponent({__name:"ValueOrErrorsComponent",props:{valueOrError:{}},setup(t){const e=t,r=n.computed(()=>e.valueOrError&&e.valueOrError.ok?e.valueOrError.value:void 0),o=n.computed(()=>e.valueOrError&&!e.valueOrError.ok?e.valueOrError.errors:void 0),i=n.computed(()=>r.value===void 0&&o.value===void 0);return(s,d)=>(n.openBlock(),n.createElementBlock("div",null,[r.value!==void 0?n.renderSlot(s.$slots,"default",n.normalizeProps(n.mergeProps({key:0},{value:r.value}))):n.createCommentVNode("",!0),o.value?(n.openBlock(),n.createElementBlock("div",BE,n.toDisplayString(o.value),1)):n.createCommentVNode("",!0),i.value?(n.openBlock(),n.createElementBlock("div",PE,"Unresolved")):n.createCommentVNode("",!0)]))}}),VE={style:{height:"100%"}},LE=n.defineComponent({__name:"PlAgCellFile",props:{params:{}},setup(t){const e=t,r=n.computed(()=>e.params.extensions),o=n.computed(()=>e.params.value);function i(d){e.params.setValue(d)}const s=n.computed(()=>e.params.resolveProgress?e.params.resolveProgress(o.value):void 0);return(d,u)=>(n.openBlock(),n.createElementBlock("div",VE,[n.createVNode(n.unref(cp),{"show-filename-only":"",clearable:"","cell-style":"","file-dialog-title":"Select any file",placeholder:`Choose file ${r.value?r.value[0]:""}`,extensions:r.value,"model-value":o.value,progress:s.value,"onUpdate:modelValue":i},null,8,["placeholder","extensions","model-value","progress"])]))}}),Ti=new Map;function IE(t,e){const r=n.getCurrentScope()??n.effectScope(),o=r.run(()=>(n.onScopeDispose(()=>{Ti.delete(t)}),n.reactive(e())));return o[Symbol.dispose]=()=>{r.stop()},o}function FE(t){const e=Symbol();return()=>(Ti.has(e)||Ti.set(e,IE(e,t)),Ti.get(e))}function RE(t){return n.computed(()=>{try{return gd(t())}catch(e){return{errors:[String(e)],value:void 0}}})}function wp(t,e,r){const o=n.ref(0),i=n.reactive({loading:n.computed(()=>o.value>0),loadingRef:o,value:void 0,error:void 0}),s=vf(e);return n.watch(t,async d=>{i.error=void 0,o.value++,s(d).then(u=>{u.ok&&(i.value=u.value)}).catch(u=>{i.value=void 0,i.error=u}).finally(()=>{o.value--})},Object.assign({immediate:!0,deep:!0},r??{})),i}const co=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,xp=new Set,Ms=typeof process=="object"&&process?process:{},Cp=(t,e,r,o)=>{typeof Ms.emitWarning=="function"?Ms.emitWarning(t,e,r,o):console.error(`[${r}] ${e}: ${t}`)};let Ei=globalThis.AbortController,_p=globalThis.AbortSignal;if(typeof Ei>"u"){_p=class{constructor(){ze(this,"onabort");ze(this,"_onabort",[]);ze(this,"reason");ze(this,"aborted",!1)}addEventListener(o,i){this._onabort.push(i)}},Ei=class{constructor(){ze(this,"signal",new _p);e()}abort(o){var i,s;if(!this.signal.aborted){this.signal.reason=o,this.signal.aborted=!0;for(const d of this.signal._onabort)d(o);(s=(i=this.signal).onabort)==null||s.call(i,o)}}};let t=((Sp=Ms.env)==null?void 0:Sp.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,Cp("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const OE=t=>!xp.has(t),gn=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),kp=t=>gn(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ni:null:null;class Ni extends Array{constructor(e){super(e),this.fill(0)}}const Ln=class Ln{constructor(e,r){ze(this,"heap");ze(this,"length");if(!x(Ln,uo))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}static create(e){const r=kp(e);if(!r)return[];ge(Ln,uo,!0);const o=new Ln(e,r);return ge(Ln,uo,!1),o}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};uo=new WeakMap,Re(Ln,uo,!1);let Bs=Ln;const Vs=class Vs{constructor(e){Re(this,ee);Re(this,sr);Re(this,It);Re(this,cr);Re(this,dr);Re(this,po);Re(this,go);ze(this,"ttl");ze(this,"ttlResolution");ze(this,"ttlAutopurge");ze(this,"updateAgeOnGet");ze(this,"updateAgeOnHas");ze(this,"allowStale");ze(this,"noDisposeOnSet");ze(this,"noUpdateTTL");ze(this,"maxEntrySize");ze(this,"sizeCalculation");ze(this,"noDeleteOnFetchRejection");ze(this,"noDeleteOnStaleGet");ze(this,"allowStaleOnFetchAbort");ze(this,"allowStaleOnFetchRejection");ze(this,"ignoreFetchAbort");Re(this,at);Re(this,ur);Re(this,nt);Re(this,$e);Re(this,xe);Re(this,Ct);Re(this,Ft);Re(this,vt);Re(this,ct);Re(this,pr);Re(this,dt);Re(this,gr);Re(this,hr);Re(this,Rt);Re(this,fr);Re(this,hn);Re(this,_t);Re(this,In,()=>{});Re(this,Fr,()=>{});Re(this,ka,()=>{});Re(this,Ot,()=>!1);Re(this,Fn,e=>{});Re(this,ho,(e,r,o)=>{});Re(this,Sa,(e,r,o,i)=>{if(o||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});ze(this,Tp,"LRUCache");const{max:r=0,ttl:o,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:d,updateAgeOnHas:u,allowStale:p,dispose:h,disposeAfter:f,noDisposeOnSet:y,noUpdateTTL:S,maxSize:k=0,maxEntrySize:D=0,sizeCalculation:E,fetchMethod:A,memoMethod:w,noDeleteOnFetchRejection:L,noDeleteOnStaleGet:R,allowStaleOnFetchRejection:H,allowStaleOnFetchAbort:G,ignoreFetchAbort:K}=e;if(r!==0&&!gn(r))throw new TypeError("max option must be a nonnegative integer");const U=r?kp(r):Array;if(!U)throw new Error("invalid max value: "+r);if(ge(this,sr,r),ge(this,It,k),this.maxEntrySize=D||x(this,It),this.sizeCalculation=E,this.sizeCalculation){if(!x(this,It)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(ge(this,go,w),A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ge(this,po,A),ge(this,hn,!!A),ge(this,nt,new Map),ge(this,$e,new Array(r).fill(void 0)),ge(this,xe,new Array(r).fill(void 0)),ge(this,Ct,new U(r)),ge(this,Ft,new U(r)),ge(this,vt,0),ge(this,ct,0),ge(this,pr,Bs.create(r)),ge(this,at,0),ge(this,ur,0),typeof h=="function"&&ge(this,cr,h),typeof f=="function"?(ge(this,dr,f),ge(this,dt,[])):(ge(this,dr,void 0),ge(this,dt,void 0)),ge(this,fr,!!x(this,cr)),ge(this,_t,!!x(this,dr)),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!S,this.noDeleteOnFetchRejection=!!L,this.allowStaleOnFetchRejection=!!H,this.allowStaleOnFetchAbort=!!G,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(x(this,It)!==0&&!gn(x(this,It)))throw new TypeError("maxSize must be a positive integer if specified");if(!gn(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");le(this,ee,sf).call(this)}if(this.allowStale=!!p,this.noDeleteOnStaleGet=!!R,this.updateAgeOnGet=!!d,this.updateAgeOnHas=!!u,this.ttlResolution=gn(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=o||0,this.ttl){if(!gn(this.ttl))throw new TypeError("ttl must be a positive integer if specified");le(this,ee,ad).call(this)}if(x(this,sr)===0&&this.ttl===0&&x(this,It)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,sr)&&!x(this,It)){const P="LRU_CACHE_UNBOUNDED";OE(P)&&(xp.add(P),Cp("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",P,Vs))}}static unsafeExposeInternals(e){return{starts:x(e,hr),ttls:x(e,Rt),sizes:x(e,gr),keyMap:x(e,nt),keyList:x(e,$e),valList:x(e,xe),next:x(e,Ct),prev:x(e,Ft),get head(){return x(e,vt)},get tail(){return x(e,ct)},free:x(e,pr),isBackgroundFetch:r=>{var o;return le(o=e,ee,He).call(o,r)},backgroundFetch:(r,o,i,s)=>{var d;return le(d=e,ee,_l).call(d,r,o,i,s)},moveToTail:r=>{var o;return le(o=e,ee,Ya).call(o,r)},indexes:r=>{var o;return le(o=e,ee,kn).call(o,r)},rindexes:r=>{var o;return le(o=e,ee,Sn).call(o,r)},isStale:r=>{var o;return x(o=e,Ot).call(o,r)}}}get max(){return x(this,sr)}get maxSize(){return x(this,It)}get calculatedSize(){return x(this,ur)}get size(){return x(this,at)}get fetchMethod(){return x(this,po)}get memoMethod(){return x(this,go)}get dispose(){return x(this,cr)}get disposeAfter(){return x(this,dr)}getRemainingTTL(e){return x(this,nt).has(e)?1/0:0}*entries(){for(const e of le(this,ee,kn).call(this))x(this,xe)[e]!==void 0&&x(this,$e)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield[x(this,$e)[e],x(this,xe)[e]])}*rentries(){for(const e of le(this,ee,Sn).call(this))x(this,xe)[e]!==void 0&&x(this,$e)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield[x(this,$e)[e],x(this,xe)[e]])}*keys(){for(const e of le(this,ee,kn).call(this)){const r=x(this,$e)[e];r!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield r)}}*rkeys(){for(const e of le(this,ee,Sn).call(this)){const r=x(this,$e)[e];r!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield r)}}*values(){for(const e of le(this,ee,kn).call(this))x(this,xe)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield x(this,xe)[e])}*rvalues(){for(const e of le(this,ee,Sn).call(this))x(this,xe)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield x(this,xe)[e])}[(Ep=Symbol.iterator,Tp=Symbol.toStringTag,Ep)](){return this.entries()}find(e,r={}){for(const o of le(this,ee,kn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,x(this,$e)[o],this))return this.get(x(this,$e)[o],r)}}forEach(e,r=this){for(const o of le(this,ee,kn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,x(this,$e)[o],this)}}rforEach(e,r=this){for(const o of le(this,ee,Sn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,x(this,$e)[o],this)}}purgeStale(){let e=!1;for(const r of le(this,ee,Sn).call(this,{allowStale:!0}))x(this,Ot).call(this,r)&&(le(this,ee,Tn).call(this,x(this,$e)[r],"expire"),e=!0);return e}info(e){const r=x(this,nt).get(e);if(r===void 0)return;const o=x(this,xe)[r],i=le(this,ee,He).call(this,o)?o.__staleWhileFetching:o;if(i===void 0)return;const s={value:i};if(x(this,Rt)&&x(this,hr)){const d=x(this,Rt)[r],u=x(this,hr)[r];if(d&&u){const p=d-(co.now()-u);s.ttl=p,s.start=Date.now()}}return x(this,gr)&&(s.size=x(this,gr)[r]),s}dump(){const e=[];for(const r of le(this,ee,kn).call(this,{allowStale:!0})){const o=x(this,$e)[r],i=x(this,xe)[r],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;if(s===void 0||o===void 0)continue;const d={value:s};if(x(this,Rt)&&x(this,hr)){d.ttl=x(this,Rt)[r];const u=co.now()-x(this,hr)[r];d.start=Math.floor(Date.now()-u)}x(this,gr)&&(d.size=x(this,gr)[r]),e.unshift([o,d])}return e}load(e){this.clear();for(const[r,o]of e){if(o.start){const i=Date.now()-o.start;o.start=co.now()-i}this.set(r,o.value,o)}}set(e,r,o={}){var S,k,D,E,A;if(r===void 0)return this.delete(e),this;const{ttl:i=this.ttl,start:s,noDisposeOnSet:d=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:p}=o;let{noUpdateTTL:h=this.noUpdateTTL}=o;const f=x(this,Sa).call(this,e,r,o.size||0,u);if(this.maxEntrySize&&f>this.maxEntrySize)return p&&(p.set="miss",p.maxEntrySizeExceeded=!0),le(this,ee,Tn).call(this,e,"set"),this;let y=x(this,at)===0?void 0:x(this,nt).get(e);if(y===void 0)y=x(this,at)===0?x(this,ct):x(this,pr).length!==0?x(this,pr).pop():x(this,at)===x(this,sr)?le(this,ee,Cl).call(this,!1):x(this,at),x(this,$e)[y]=e,x(this,xe)[y]=r,x(this,nt).set(e,y),x(this,Ct)[x(this,ct)]=y,x(this,Ft)[y]=x(this,ct),ge(this,ct,y),xl(this,at)._++,x(this,ho).call(this,y,f,p),p&&(p.set="add"),h=!1;else{le(this,ee,Ya).call(this,y);const w=x(this,xe)[y];if(r!==w){if(x(this,hn)&&le(this,ee,He).call(this,w)){w.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:L}=w;L!==void 0&&!d&&(x(this,fr)&&((S=x(this,cr))==null||S.call(this,L,e,"set")),x(this,_t)&&((k=x(this,dt))==null||k.push([L,e,"set"])))}else d||(x(this,fr)&&((D=x(this,cr))==null||D.call(this,w,e,"set")),x(this,_t)&&((E=x(this,dt))==null||E.push([w,e,"set"])));if(x(this,Fn).call(this,y),x(this,ho).call(this,y,f,p),x(this,xe)[y]=r,p){p.set="replace";const L=w&&le(this,ee,He).call(this,w)?w.__staleWhileFetching:w;L!==void 0&&(p.oldValue=L)}}else p&&(p.set="update")}if(i!==0&&!x(this,Rt)&&le(this,ee,ad).call(this),x(this,Rt)&&(h||x(this,ka).call(this,y,i,s),p&&x(this,Fr).call(this,p,y)),!d&&x(this,_t)&&x(this,dt)){const w=x(this,dt);let L;for(;L=w==null?void 0:w.shift();)(A=x(this,dr))==null||A.call(this,...L)}return this}pop(){var e;try{for(;x(this,at);){const r=x(this,xe)[x(this,vt)];if(le(this,ee,Cl).call(this,!0),le(this,ee,He).call(this,r)){if(r.__staleWhileFetching)return r.__staleWhileFetching}else if(r!==void 0)return r}}finally{if(x(this,_t)&&x(this,dt)){const r=x(this,dt);let o;for(;o=r==null?void 0:r.shift();)(e=x(this,dr))==null||e.call(this,...o)}}}has(e,r={}){const{updateAgeOnHas:o=this.updateAgeOnHas,status:i}=r,s=x(this,nt).get(e);if(s!==void 0){const d=x(this,xe)[s];if(le(this,ee,He).call(this,d)&&d.__staleWhileFetching===void 0)return!1;if(x(this,Ot).call(this,s))i&&(i.has="stale",x(this,Fr).call(this,i,s));else return o&&x(this,In).call(this,s),i&&(i.has="hit",x(this,Fr).call(this,i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){const{allowStale:o=this.allowStale}=r,i=x(this,nt).get(e);if(i===void 0||!o&&x(this,Ot).call(this,i))return;const s=x(this,xe)[i];return le(this,ee,He).call(this,s)?s.__staleWhileFetching:s}async fetch(e,r={}){const{allowStale:o=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:d=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:p=0,sizeCalculation:h=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:y=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:S=this.allowStaleOnFetchRejection,ignoreFetchAbort:k=this.ignoreFetchAbort,allowStaleOnFetchAbort:D=this.allowStaleOnFetchAbort,context:E,forceRefresh:A=!1,status:w,signal:L}=r;if(!x(this,hn))return w&&(w.fetch="get"),this.get(e,{allowStale:o,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:w});const R={allowStale:o,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:d,noDisposeOnSet:u,size:p,sizeCalculation:h,noUpdateTTL:f,noDeleteOnFetchRejection:y,allowStaleOnFetchRejection:S,allowStaleOnFetchAbort:D,ignoreFetchAbort:k,status:w,signal:L};let H=x(this,nt).get(e);if(H===void 0){w&&(w.fetch="miss");const G=le(this,ee,_l).call(this,e,H,R,E);return G.__returned=G}else{const G=x(this,xe)[H];if(le(this,ee,He).call(this,G)){const F=o&&G.__staleWhileFetching!==void 0;return w&&(w.fetch="inflight",F&&(w.returnedStale=!0)),F?G.__staleWhileFetching:G.__returned=G}const K=x(this,Ot).call(this,H);if(!A&&!K)return w&&(w.fetch="hit"),le(this,ee,Ya).call(this,H),i&&x(this,In).call(this,H),w&&x(this,Fr).call(this,w,H),G;const U=le(this,ee,_l).call(this,e,H,R,E),W=U.__staleWhileFetching!==void 0&&o;return w&&(w.fetch=K?"stale":"refresh",W&&K&&(w.returnedStale=!0)),W?U.__staleWhileFetching:U.__returned=U}}async forceFetch(e,r={}){const o=await this.fetch(e,r);if(o===void 0)throw new Error("fetch() returned undefined");return o}memo(e,r={}){const o=x(this,go);if(!o)throw new Error("no memoMethod provided to constructor");const{context:i,forceRefresh:s,...d}=r,u=this.get(e,d);if(!s&&u!==void 0)return u;const p=o(e,u,{options:d,context:i});return this.set(e,p,d),p}get(e,r={}){const{allowStale:o=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:d}=r,u=x(this,nt).get(e);if(u!==void 0){const p=x(this,xe)[u],h=le(this,ee,He).call(this,p);return d&&x(this,Fr).call(this,d,u),x(this,Ot).call(this,u)?(d&&(d.get="stale"),h?(d&&o&&p.__staleWhileFetching!==void 0&&(d.returnedStale=!0),o?p.__staleWhileFetching:void 0):(s||le(this,ee,Tn).call(this,e,"expire"),d&&o&&(d.returnedStale=!0),o?p:void 0)):(d&&(d.get="hit"),h?p.__staleWhileFetching:(le(this,ee,Ya).call(this,u),i&&x(this,In).call(this,u),p))}else d&&(d.get="miss")}delete(e){return le(this,ee,Tn).call(this,e,"delete")}clear(){return le(this,ee,sd).call(this,"delete")}};sr=new WeakMap,It=new WeakMap,cr=new WeakMap,dr=new WeakMap,po=new WeakMap,go=new WeakMap,at=new WeakMap,ur=new WeakMap,nt=new WeakMap,$e=new WeakMap,xe=new WeakMap,Ct=new WeakMap,Ft=new WeakMap,vt=new WeakMap,ct=new WeakMap,pr=new WeakMap,dt=new WeakMap,gr=new WeakMap,hr=new WeakMap,Rt=new WeakMap,fr=new WeakMap,hn=new WeakMap,_t=new WeakMap,ee=new WeakSet,ad=function(){const e=new Ni(x(this,sr)),r=new Ni(x(this,sr));ge(this,Rt,e),ge(this,hr,r),ge(this,ka,(s,d,u=co.now())=>{if(r[s]=d!==0?u:0,e[s]=d,d!==0&&this.ttlAutopurge){const p=setTimeout(()=>{x(this,Ot).call(this,s)&&le(this,ee,Tn).call(this,x(this,$e)[s],"expire")},d+1);p.unref&&p.unref()}}),ge(this,In,s=>{r[s]=e[s]!==0?co.now():0}),ge(this,Fr,(s,d)=>{if(e[d]){const u=e[d],p=r[d];if(!u||!p)return;s.ttl=u,s.start=p,s.now=o||i();const h=s.now-p;s.remainingTTL=u-h}});let o=0;const i=()=>{const s=co.now();if(this.ttlResolution>0){o=s;const d=setTimeout(()=>o=0,this.ttlResolution);d.unref&&d.unref()}return s};this.getRemainingTTL=s=>{const d=x(this,nt).get(s);if(d===void 0)return 0;const u=e[d],p=r[d];if(!u||!p)return 1/0;const h=(o||i())-p;return u-h},ge(this,Ot,s=>{const d=r[s],u=e[s];return!!u&&!!d&&(o||i())-d>u})},In=new WeakMap,Fr=new WeakMap,ka=new WeakMap,Ot=new WeakMap,sf=function(){const e=new Ni(x(this,sr));ge(this,ur,0),ge(this,gr,e),ge(this,Fn,r=>{ge(this,ur,x(this,ur)-e[r]),e[r]=0}),ge(this,Sa,(r,o,i,s)=>{if(le(this,ee,He).call(this,o))return 0;if(!gn(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(o,r),!gn(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i}),ge(this,ho,(r,o,i)=>{if(e[r]=o,x(this,It)){const s=x(this,It)-e[r];for(;x(this,ur)>s;)le(this,ee,Cl).call(this,!0)}ge(this,ur,x(this,ur)+e[r]),i&&(i.entrySize=o,i.totalCalculatedSize=x(this,ur))})},Fn=new WeakMap,ho=new WeakMap,Sa=new WeakMap,kn=function*({allowStale:e=this.allowStale}={}){if(x(this,at))for(let r=x(this,ct);!(!le(this,ee,id).call(this,r)||((e||!x(this,Ot).call(this,r))&&(yield r),r===x(this,vt)));)r=x(this,Ft)[r]},Sn=function*({allowStale:e=this.allowStale}={}){if(x(this,at))for(let r=x(this,vt);!(!le(this,ee,id).call(this,r)||((e||!x(this,Ot).call(this,r))&&(yield r),r===x(this,ct)));)r=x(this,Ct)[r]},id=function(e){return e!==void 0&&x(this,nt).get(x(this,$e)[e])===e},Cl=function(e){var s,d;const r=x(this,vt),o=x(this,$e)[r],i=x(this,xe)[r];return x(this,hn)&&le(this,ee,He).call(this,i)?i.__abortController.abort(new Error("evicted")):(x(this,fr)||x(this,_t))&&(x(this,fr)&&((s=x(this,cr))==null||s.call(this,i,o,"evict")),x(this,_t)&&((d=x(this,dt))==null||d.push([i,o,"evict"]))),x(this,Fn).call(this,r),e&&(x(this,$e)[r]=void 0,x(this,xe)[r]=void 0,x(this,pr).push(r)),x(this,at)===1?(ge(this,vt,ge(this,ct,0)),x(this,pr).length=0):ge(this,vt,x(this,Ct)[r]),x(this,nt).delete(o),xl(this,at)._--,r},_l=function(e,r,o,i){const s=r===void 0?void 0:x(this,xe)[r];if(le(this,ee,He).call(this,s))return s;const d=new Ei,{signal:u}=o;u==null||u.addEventListener("abort",()=>d.abort(u.reason),{signal:d.signal});const p={signal:d.signal,options:o,context:i},h=(E,A=!1)=>{const{aborted:w}=d.signal,L=o.ignoreFetchAbort&&E!==void 0;if(o.status&&(w&&!A?(o.status.fetchAborted=!0,o.status.fetchError=d.signal.reason,L&&(o.status.fetchAbortIgnored=!0)):o.status.fetchResolved=!0),w&&!L&&!A)return y(d.signal.reason);const R=k;return x(this,xe)[r]===k&&(E===void 0?R.__staleWhileFetching?x(this,xe)[r]=R.__staleWhileFetching:le(this,ee,Tn).call(this,e,"fetch"):(o.status&&(o.status.fetchUpdated=!0),this.set(e,E,p.options))),E},f=E=>(o.status&&(o.status.fetchRejected=!0,o.status.fetchError=E),y(E)),y=E=>{const{aborted:A}=d.signal,w=A&&o.allowStaleOnFetchAbort,L=w||o.allowStaleOnFetchRejection,R=L||o.noDeleteOnFetchRejection,H=k;if(x(this,xe)[r]===k&&(!R||H.__staleWhileFetching===void 0?le(this,ee,Tn).call(this,e,"fetch"):w||(x(this,xe)[r]=H.__staleWhileFetching)),L)return o.status&&H.__staleWhileFetching!==void 0&&(o.status.returnedStale=!0),H.__staleWhileFetching;if(H.__returned===H)throw E},S=(E,A)=>{var L;const w=(L=x(this,po))==null?void 0:L.call(this,e,s,p);w&&w instanceof Promise&&w.then(R=>E(R===void 0?void 0:R),A),d.signal.addEventListener("abort",()=>{(!o.ignoreFetchAbort||o.allowStaleOnFetchAbort)&&(E(void 0),o.allowStaleOnFetchAbort&&(E=R=>h(R,!0)))})};o.status&&(o.status.fetchDispatched=!0);const k=new Promise(S).then(h,f),D=Object.assign(k,{__abortController:d,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,D,{...p.options,status:void 0}),r=x(this,nt).get(e)):x(this,xe)[r]=D,D},He=function(e){if(!x(this,hn))return!1;const r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof Ei},ld=function(e,r){x(this,Ft)[r]=e,x(this,Ct)[e]=r},Ya=function(e){e!==x(this,ct)&&(e===x(this,vt)?ge(this,vt,x(this,Ct)[e]):le(this,ee,ld).call(this,x(this,Ft)[e],x(this,Ct)[e]),le(this,ee,ld).call(this,x(this,ct),e),ge(this,ct,e))},Tn=function(e,r){var i,s,d,u;let o=!1;if(x(this,at)!==0){const p=x(this,nt).get(e);if(p!==void 0)if(o=!0,x(this,at)===1)le(this,ee,sd).call(this,r);else{x(this,Fn).call(this,p);const h=x(this,xe)[p];if(le(this,ee,He).call(this,h)?h.__abortController.abort(new Error("deleted")):(x(this,fr)||x(this,_t))&&(x(this,fr)&&((i=x(this,cr))==null||i.call(this,h,e,r)),x(this,_t)&&((s=x(this,dt))==null||s.push([h,e,r]))),x(this,nt).delete(e),x(this,$e)[p]=void 0,x(this,xe)[p]=void 0,p===x(this,ct))ge(this,ct,x(this,Ft)[p]);else if(p===x(this,vt))ge(this,vt,x(this,Ct)[p]);else{const f=x(this,Ft)[p];x(this,Ct)[f]=x(this,Ct)[p];const y=x(this,Ct)[p];x(this,Ft)[y]=x(this,Ft)[p]}xl(this,at)._--,x(this,pr).push(p)}}if(x(this,_t)&&((d=x(this,dt))!=null&&d.length)){const p=x(this,dt);let h;for(;h=p==null?void 0:p.shift();)(u=x(this,dr))==null||u.call(this,...h)}return o},sd=function(e){var r,o,i;for(const s of le(this,ee,Sn).call(this,{allowStale:!0})){const d=x(this,xe)[s];if(le(this,ee,He).call(this,d))d.__abortController.abort(new Error("deleted"));else{const u=x(this,$e)[s];x(this,fr)&&((r=x(this,cr))==null||r.call(this,d,u,e)),x(this,_t)&&((o=x(this,dt))==null||o.push([d,u,e]))}}if(x(this,nt).clear(),x(this,xe).fill(void 0),x(this,$e).fill(void 0),x(this,Rt)&&x(this,hr)&&(x(this,Rt).fill(0),x(this,hr).fill(0)),x(this,gr)&&x(this,gr).fill(0),ge(this,vt,0),ge(this,ct,0),x(this,pr).length=0,ge(this,ur,0),ge(this,at,0),x(this,_t)&&x(this,dt)){const s=x(this,dt);let d;for(;d=s==null?void 0:s.shift();)(i=x(this,dr))==null||i.call(this,...d)}};let Ps=Vs;const zE={cacheSize:15e6};class GE{constructor(e){ze(this,"_str");ze(this,"_rawJson");ze(this,"_zodSchema");ze(this,"_validatedJson");this.bytes=e}get str(){return this._str===void 0&&(this._str=new TextDecoder().decode(this.bytes)),this._str}get rawJson(){return this._rawJson===void 0&&(this._rawJson=JSON.parse(this.str)),this._rawJson}validatedJson(e){return this._zodSchema!==e&&(this._validatedJson=e.parse(this.rawJson),this._zodSchema=e),this._validatedJson}}const Rn=class Rn{constructor(e){ze(this,"fileDataCache");ze(this,"fileDataRefs",new Map);const r={...zE,...e??{}};this.fileDataCache=new Ps({maxSize:r.cacheSize,fetchMethod:async o=>new GE(await Bm().blobDriver.getContent(o)),sizeCalculation:o=>o.bytes.length,dispose:(o,i)=>{this.fileDataRefs.delete(i)}})}getDataRef(e){const r=this.fileDataRefs.get(e);if(r!==void 0)return r;const o=n.shallowRef();return this.fileDataRefs.set(e,o),(async()=>{try{const i=await this.fileDataCache.fetch(e);o.value=i}catch(i){console.error(i)}})(),o}getContentBytes(e){if(e===void 0)return;const r=this.getDataRef(e);return n.computed(()=>{var o;return(o=r.value)==null?void 0:o.bytes})}getContentString(e){if(e===void 0)return;const r=this.getDataRef(e);return n.computed(()=>{var o;return(o=r==null?void 0:r.value)==null?void 0:o.str})}getContentJson(e,r){if(e===void 0)return;const o=this.getDataRef(e);return n.computed(()=>{var i,s;return r===void 0?(i=o==null?void 0:o.value)==null?void 0:i.rawJson:(s=o==null?void 0:o.value)==null?void 0:s.validatedJson(r)})}static getContentBytes(e){return Rn.globalInstance.getContentBytes(e)}static getContentString(e){return Rn.globalInstance.getContentString(e)}static getContentJson(e,r){return Rn.globalInstance.getContentJson(e,r)}};ze(Rn,"globalInstance",new Rn);let Ds=Rn;V.AgGridTheme=uu,V.BlockLayout=cE,V.ContextProvider=H1,V.DataTable=Mw,V.DemoData=KT,V.DropdownListItem=aa,V.LongText=vs,V.MultiError=Tl,V.PlAgCellFile=LE,V.PlAgDataTable=ME,V.PlAgOverlayLoading=hp,V.PlAgOverlayNoRows=fp,V.PlAlert=l0,V.PlBlockPage=Hw,V.PlBtnAccent=p0,V.PlBtnDanger=h0,V.PlBtnGhost=us,V.PlBtnGroup=I0,V.PlBtnLink=y0,V.PlBtnPrimary=cs,V.PlBtnSecondary=ds,V.PlCheckbox=IC,V.PlCheckboxGroup=zC,V.PlChip=bs,V.PlContainer=Kw,V.PlCopyData=up,V.PlDialogModal=xs,V.PlDropdown=ys,V.PlDropdownLegacy=lC,V.PlDropdownLine=Wu,V.PlDropdownMulti=VC,V.PlDropdownRef=Ix,V.PlFileDialog=qu,V.PlFileInput=cp,V.PlGrid=t0,V.PlIcon16=hi,V.PlIcon24=Gu,V.PlLogView=f_,V.PlMaskIcon16=ta,V.PlMaskIcon24=Lr,V.PlNotificationAlert=dp,V.PlNumberField=bC,V.PlProgressBar=pC,V.PlRow=Jw,V.PlSlideModal=e_,V.PlSpacer=Vu,V.PlTextArea=gx,V.PlTextField=ju,V.PlToggleSwitch=n_,V.PlTooltip=Vt,V.ReactiveFileContent=Ds,V.Scrollable=Rk,V.Slider=ok,V.SliderRange=Vk,V.SliderRangeTriple=Ck,V.ThemeSwitcher=zw,V.UnresolvedError=Sl,V.ValueOrErrorsComponent=DE,V.activateAgGrid=du,V.animate=Nu,V.animateInfinite=Lw,V.call=_u,V.computedResult=RE,V.createModel=Pl,V.debounce=Au,V.defineApp=ab,V.defineStore=FE,V.delay=ku,V.detectOutside=hx,V.ensureError=Al,V.eventListener=fs,V.formatZodError=Bl,V.getElementScrollPosition=Zu,V.identity=Nl,V.isDefined=Cf,V.isElementVisible=Uu,V.isJsonEqual=El,V.isZodError=Ml,V.listToOptions=Iw,V.makeEaseInOut=Vw,V.makeEaseOut=Eu,V.maskIcons16=HT,V.maskIcons24=qT,V.normalizeListOptions=Bn,V.notEmpty=os,V.randomInt=Tu,V.randomString=Dw,V.requestTick=as,V.scrollIntoView=oa,V.showContextMenu=ts,V.throttle=Mu,V.timeout=Su,V.unwrapOptionalResult=xf,V.unwrapValueOrErrors=pd,V.useClickOutside=gi,V.useDraggable=uk,V.useEventListener=et,V.useFormState=ck,V.useHover=xu,V.useInterval=sk,V.useLabelNotch=Vr,V.useLocalStorage=Bu,V.useMouse=wu,V.useMouseCapture=nn,V.usePosition=ra,V.useQuery=dk,V.useResizeObserver=pp,V.useScroll=ak,V.useSdkPlugin=Jl,V.useSortable=lk,V.useTheme=Du,V.useWatchFetch=wp,V.wrapOptionalResult=gd,V.wrapValueOrErrors=wf,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
|
|
103
|
+
}`;var Me=rf(function(){return Oe(b,se+"return "+q).apply(r,_)});if(Me.source=q,$c(Me))throw Me;return Me}function VV(a){return Ge(a).toLowerCase()}function LV(a){return Ge(a).toUpperCase()}function IV(a,l,c){if(a=Ge(a),a&&(c||l===r))return ug(a);if(!a||!(l=Ut(l)))return a;var g=yr(a),m=yr(l),b=pg(g,m),_=gg(g,m)+1;return Cn(g,b,_).join("")}function FV(a,l,c){if(a=Ge(a),a&&(c||l===r))return a.slice(0,fg(a)+1);if(!a||!(l=Ut(l)))return a;var g=yr(a),m=gg(g,yr(l))+1;return Cn(g,0,m).join("")}function RV(a,l,c){if(a=Ge(a),a&&(c||l===r))return a.replace($s,"");if(!a||!(l=Ut(l)))return a;var g=yr(a),m=pg(g,yr(l));return Cn(g,m).join("")}function OV(a,l){var c=F,g=Y;if(Je(l)){var m="separator"in l?l.separator:m;c="length"in l?Ee(l.length):c,g="omission"in l?Ut(l.omission):g}a=Ge(a);var b=a.length;if(bo(a)){var _=yr(a);b=_.length}if(c>=b)return a;var T=c-wo(g);if(T<1)return g;var M=_?Cn(_,0,T).join(""):a.slice(0,T);if(m===r)return M+g;if(_&&(T+=M.length-T),Wc(m)){if(a.slice(T).search(m)){var Z,$=M;for(m.global||(m=sc(m.source,Ge(Dp.exec(m))+"g")),m.lastIndex=0;Z=m.exec($);)var q=Z.index;M=M.slice(0,q===r?T:q)}}else if(a.indexOf(Ut(m),T)!=T){var te=M.lastIndexOf(m);te>-1&&(M=M.slice(0,te))}return M+g}function zV(a){return a=Ge(a),a&&JE.test(a)?a.replace(Mp,fA):a}var GV=Eo(function(a,l,c){return a+(c?" ":"")+l.toUpperCase()}),Kc=nh("toUpperCase");function tf(a,l,c){return a=Ge(a),l=c?r:l,l===r?dA(a)?yA(a):tA(a):a.match(l)||[]}var rf=Be(function(a,l){try{return Gt(a,r,l)}catch(c){return $c(c)?c:new Ce(c)}}),jV=Ur(function(a,l){return Kt(l,function(c){c=Mr(c),Gr(a,c,Uc(a[c],a))}),a});function UV(a){var l=a==null?0:a.length,c=pe();return a=l?qe(a,function(g){if(typeof g[1]!="function")throw new Yt(d);return[c(g[0]),g[1]]}):[],Be(function(g){for(var m=-1;++m<l;){var b=a[m];if(Gt(b[0],this,g))return Gt(b[1],this,g)}})}function ZV(a){return fM(Qt(a,y))}function Yc(a){return function(){return a}}function $V(a,l){return a==null||a!==a?l:a}var WV=ah(),HV=ah(!0);function Pt(a){return a}function Jc(a){return Lg(typeof a=="function"?a:Qt(a,y))}function qV(a){return Fg(Qt(a,y))}function KV(a,l){return Rg(a,Qt(l,y))}var YV=Be(function(a,l){return function(c){return Ua(c,a,l)}}),JV=Be(function(a,l){return function(c){return Ua(a,c,l)}});function Qc(a,l,c){var g=ut(l),m=tl(l,g);c==null&&!(Je(l)&&(m.length||!g.length))&&(c=l,l=a,a=this,m=tl(l,ut(l)));var b=!(Je(c)&&"chain"in c)||!!c.chain,_=$r(a);return Kt(m,function(T){var M=l[T];a[T]=M,_&&(a.prototype[T]=function(){var Z=this.__chain__;if(b||Z){var $=a(this.__wrapped__),q=$.__actions__=At(this.__actions__);return q.push({func:M,args:arguments,thisArg:a}),$.__chain__=Z,$}return M.apply(a,mn([this.value()],arguments))})}),a}function QV(){return pt._===this&&(pt._=kA),this}function Xc(){}function XV(a){return a=Ee(a),Be(function(l){return Og(l,a)})}var e2=Mc(qe),t2=Mc(ig),r2=Mc(tc);function nf(a){return Fc(a)?rc(Mr(a)):PM(a)}function n2(a){return function(l){return a==null?r:$n(a,l)}}var o2=lh(),a2=lh(!0);function ed(){return[]}function td(){return!1}function i2(){return{}}function l2(){return""}function s2(){return!0}function c2(a,l){if(a=Ee(a),a<1||a>_e)return[];var c=Nt,g=yt(a,Nt);l=pe(l),a-=Nt;for(var m=ac(g,l);++c<a;)l(c);return m}function d2(a){return ke(a)?qe(a,Mr):Zt(a)?[a]:At(_h(Ge(a)))}function u2(a){var l=++CA;return Ge(a)+l}var p2=ll(function(a,l){return a+l},0),g2=Bc("ceil"),h2=ll(function(a,l){return a/l},1),f2=Bc("floor");function m2(a){return a&&a.length?el(a,Pt,mc):r}function v2(a,l){return a&&a.length?el(a,pe(l,2),mc):r}function y2(a){return cg(a,Pt)}function b2(a,l){return cg(a,pe(l,2))}function w2(a){return a&&a.length?el(a,Pt,wc):r}function x2(a,l){return a&&a.length?el(a,pe(l,2),wc):r}var C2=ll(function(a,l){return a*l},1),_2=Bc("round"),k2=ll(function(a,l){return a-l},0);function S2(a){return a&&a.length?oc(a,Pt):0}function T2(a,l){return a&&a.length?oc(a,pe(l,2)):0}return v.after=qP,v.ary=Vh,v.assign=LD,v.assignIn=qh,v.assignInWith=wl,v.assignWith=ID,v.at=FD,v.before=Lh,v.bind=Uc,v.bindAll=jV,v.bindKey=Ih,v.castArray=iD,v.chain=Bh,v.chunk=fB,v.compact=mB,v.concat=vB,v.cond=UV,v.conforms=ZV,v.constant=Yc,v.countBy=SP,v.create=RD,v.curry=Fh,v.curryRight=Rh,v.debounce=Oh,v.defaults=OD,v.defaultsDeep=zD,v.defer=KP,v.delay=YP,v.difference=yB,v.differenceBy=bB,v.differenceWith=wB,v.drop=xB,v.dropRight=CB,v.dropRightWhile=_B,v.dropWhile=kB,v.fill=SB,v.filter=EP,v.flatMap=MP,v.flatMapDeep=BP,v.flatMapDepth=PP,v.flatten=Eh,v.flattenDeep=TB,v.flattenDepth=EB,v.flip=JP,v.flow=WV,v.flowRight=HV,v.fromPairs=NB,v.functions=HD,v.functionsIn=qD,v.groupBy=DP,v.initial=MB,v.intersection=BB,v.intersectionBy=PB,v.intersectionWith=DB,v.invert=YD,v.invertBy=JD,v.invokeMap=LP,v.iteratee=Jc,v.keyBy=IP,v.keys=ut,v.keysIn=Bt,v.map=hl,v.mapKeys=XD,v.mapValues=eV,v.matches=qV,v.matchesProperty=KV,v.memoize=ml,v.merge=tV,v.mergeWith=Kh,v.method=YV,v.methodOf=JV,v.mixin=Qc,v.negate=vl,v.nthArg=XV,v.omit=rV,v.omitBy=nV,v.once=QP,v.orderBy=FP,v.over=e2,v.overArgs=XP,v.overEvery=t2,v.overSome=r2,v.partial=Zc,v.partialRight=zh,v.partition=RP,v.pick=oV,v.pickBy=Yh,v.property=nf,v.propertyOf=n2,v.pull=FB,v.pullAll=Ah,v.pullAllBy=RB,v.pullAllWith=OB,v.pullAt=zB,v.range=o2,v.rangeRight=a2,v.rearg=eD,v.reject=GP,v.remove=GB,v.rest=tD,v.reverse=Gc,v.sampleSize=UP,v.set=iV,v.setWith=lV,v.shuffle=ZP,v.slice=jB,v.sortBy=HP,v.sortedUniq=KB,v.sortedUniqBy=YB,v.split=MV,v.spread=rD,v.tail=JB,v.take=QB,v.takeRight=XB,v.takeRightWhile=eP,v.takeWhile=tP,v.tap=mP,v.throttle=nD,v.thru=gl,v.toArray=$h,v.toPairs=Jh,v.toPairsIn=Qh,v.toPath=d2,v.toPlainObject=Hh,v.transform=sV,v.unary=oD,v.union=rP,v.unionBy=nP,v.unionWith=oP,v.uniq=aP,v.uniqBy=iP,v.uniqWith=lP,v.unset=cV,v.unzip=jc,v.unzipWith=Mh,v.update=dV,v.updateWith=uV,v.values=Mo,v.valuesIn=pV,v.without=sP,v.words=tf,v.wrap=aD,v.xor=cP,v.xorBy=dP,v.xorWith=uP,v.zip=pP,v.zipObject=gP,v.zipObjectDeep=hP,v.zipWith=fP,v.entries=Jh,v.entriesIn=Qh,v.extend=qh,v.extendWith=wl,Qc(v,v),v.add=p2,v.attempt=rf,v.camelCase=mV,v.capitalize=Xh,v.ceil=g2,v.clamp=gV,v.clone=lD,v.cloneDeep=cD,v.cloneDeepWith=dD,v.cloneWith=sD,v.conformsTo=uD,v.deburr=ef,v.defaultTo=$V,v.divide=h2,v.endsWith=vV,v.eq=wr,v.escape=yV,v.escapeRegExp=bV,v.every=TP,v.find=NP,v.findIndex=Sh,v.findKey=GD,v.findLast=AP,v.findLastIndex=Th,v.findLastKey=jD,v.floor=f2,v.forEach=Ph,v.forEachRight=Dh,v.forIn=UD,v.forInRight=ZD,v.forOwn=$D,v.forOwnRight=WD,v.get=Hc,v.gt=pD,v.gte=gD,v.has=KD,v.hasIn=qc,v.head=Nh,v.identity=Pt,v.includes=VP,v.indexOf=AB,v.inRange=hV,v.invoke=QD,v.isArguments=qn,v.isArray=ke,v.isArrayBuffer=hD,v.isArrayLike=Mt,v.isArrayLikeObject=tt,v.isBoolean=fD,v.isBuffer=_n,v.isDate=mD,v.isElement=vD,v.isEmpty=yD,v.isEqual=bD,v.isEqualWith=wD,v.isError=$c,v.isFinite=xD,v.isFunction=$r,v.isInteger=Gh,v.isLength=yl,v.isMap=jh,v.isMatch=CD,v.isMatchWith=_D,v.isNaN=kD,v.isNative=SD,v.isNil=ED,v.isNull=TD,v.isNumber=Uh,v.isObject=Je,v.isObjectLike=Xe,v.isPlainObject=Ka,v.isRegExp=Wc,v.isSafeInteger=ND,v.isSet=Zh,v.isString=bl,v.isSymbol=Zt,v.isTypedArray=Ao,v.isUndefined=AD,v.isWeakMap=MD,v.isWeakSet=BD,v.join=VB,v.kebabCase=wV,v.last=er,v.lastIndexOf=LB,v.lowerCase=xV,v.lowerFirst=CV,v.lt=PD,v.lte=DD,v.max=m2,v.maxBy=v2,v.mean=y2,v.meanBy=b2,v.min=w2,v.minBy=x2,v.stubArray=ed,v.stubFalse=td,v.stubObject=i2,v.stubString=l2,v.stubTrue=s2,v.multiply=C2,v.nth=IB,v.noConflict=QV,v.noop=Xc,v.now=fl,v.pad=_V,v.padEnd=kV,v.padStart=SV,v.parseInt=TV,v.random=fV,v.reduce=OP,v.reduceRight=zP,v.repeat=EV,v.replace=NV,v.result=aV,v.round=_2,v.runInContext=N,v.sample=jP,v.size=$P,v.snakeCase=AV,v.some=WP,v.sortedIndex=UB,v.sortedIndexBy=ZB,v.sortedIndexOf=$B,v.sortedLastIndex=WB,v.sortedLastIndexBy=HB,v.sortedLastIndexOf=qB,v.startCase=BV,v.startsWith=PV,v.subtract=k2,v.sum=S2,v.sumBy=T2,v.template=DV,v.times=c2,v.toFinite=Wr,v.toInteger=Ee,v.toLength=Wh,v.toLower=VV,v.toNumber=tr,v.toSafeInteger=VD,v.toString=Ge,v.toUpper=LV,v.trim=IV,v.trimEnd=FV,v.trimStart=RV,v.truncate=OV,v.unescape=zV,v.uniqueId=u2,v.upperCase=GV,v.upperFirst=Kc,v.each=Ph,v.eachRight=Dh,v.first=Nh,Qc(v,function(){var a={};return Nr(v,function(l,c){je.call(v.prototype,c)||(a[c]=l)}),a}(),{chain:!1}),v.VERSION=o,Kt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){v[a].placeholder=v}),Kt(["drop","take"],function(a,l){De.prototype[a]=function(c){c=c===r?1:lt(Ee(c),0);var g=this.__filtered__&&!l?new De(this):this.clone();return g.__filtered__?g.__takeCount__=yt(c,g.__takeCount__):g.__views__.push({size:yt(c,Nt),type:a+(g.__dir__<0?"Right":"")}),g},De.prototype[a+"Right"]=function(c){return this.reverse()[a](c).reverse()}}),Kt(["filter","map","takeWhile"],function(a,l){var c=l+1,g=c==B||c==X;De.prototype[a]=function(m){var b=this.clone();return b.__iteratees__.push({iteratee:pe(m,3),type:c}),b.__filtered__=b.__filtered__||g,b}}),Kt(["head","last"],function(a,l){var c="take"+(l?"Right":"");De.prototype[a]=function(){return this[c](1).value()[0]}}),Kt(["initial","tail"],function(a,l){var c="drop"+(l?"":"Right");De.prototype[a]=function(){return this.__filtered__?new De(this):this[c](1)}}),De.prototype.compact=function(){return this.filter(Pt)},De.prototype.find=function(a){return this.filter(a).head()},De.prototype.findLast=function(a){return this.reverse().find(a)},De.prototype.invokeMap=Be(function(a,l){return typeof a=="function"?new De(this):this.map(function(c){return Ua(c,a,l)})}),De.prototype.reject=function(a){return this.filter(vl(pe(a)))},De.prototype.slice=function(a,l){a=Ee(a);var c=this;return c.__filtered__&&(a>0||l<0)?new De(c):(a<0?c=c.takeRight(-a):a&&(c=c.drop(a)),l!==r&&(l=Ee(l),c=l<0?c.dropRight(-l):c.take(l-a)),c)},De.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},De.prototype.toArray=function(){return this.take(Nt)},Nr(De.prototype,function(a,l){var c=/^(?:filter|find|map|reject)|While$/.test(l),g=/^(?:head|last)$/.test(l),m=v[g?"take"+(l=="last"?"Right":""):l],b=g||/^find/.test(l);m&&(v.prototype[l]=function(){var _=this.__wrapped__,T=g?[1]:arguments,M=_ instanceof De,Z=T[0],$=M||ke(_),q=function(Pe){var Ve=m.apply(v,mn([Pe],T));return g&&te?Ve[0]:Ve};$&&c&&typeof Z=="function"&&Z.length!=1&&(M=$=!1);var te=this.__chain__,se=!!this.__actions__.length,he=b&&!te,Me=M&&!se;if(!b&&$){_=Me?_:new De(this);var fe=a.apply(_,T);return fe.__actions__.push({func:gl,args:[q],thisArg:r}),new Jt(fe,te)}return he&&Me?a.apply(this,T):(fe=this.thru(q),he?g?fe.value()[0]:fe.value():fe)})}),Kt(["pop","push","shift","sort","splice","unshift"],function(a){var l=Oi[a],c=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",g=/^(?:pop|shift)$/.test(a);v.prototype[a]=function(){var m=arguments;if(g&&!this.__chain__){var b=this.value();return l.apply(ke(b)?b:[],m)}return this[c](function(_){return l.apply(ke(_)?_:[],m)})}}),Nr(De.prototype,function(a,l){var c=v[l];if(c){var g=c.name+"";je.call(ko,g)||(ko[g]=[]),ko[g].push({name:l,func:c})}}),ko[il(r,w).name]=[{name:"wrapper",func:r}],De.prototype.clone=zA,De.prototype.reverse=GA,De.prototype.value=jA,v.prototype.at=vP,v.prototype.chain=yP,v.prototype.commit=bP,v.prototype.next=wP,v.prototype.plant=CP,v.prototype.reverse=_P,v.prototype.toJSON=v.prototype.valueOf=v.prototype.value=kP,v.prototype.first=v.prototype.head,Ia&&(v.prototype[Ia]=xP),v},xo=bA();zn?((zn.exports=xo)._=xo,Js._=xo):pt._=xo}).call(Bo)}(Si,Si.exports);var Qe=Si.exports;const dE={class:"grid-overlay-container"},hp=n.defineComponent({__name:"PlAgOverlayLoading",props:{params:{}},setup(t){return(e,r)=>(n.openBlock(),n.createElementBlock("div",dE,[e.params.notReady?(n.openBlock(),n.createElementBlock(n.Fragment,{key:0},[r[0]||(r[0]=n.createElementVNode("div",{class:"grid-icon-cat-in-bag"},null,-1)),r[1]||(r[1]=n.createElementVNode("span",{class:"text-subtitle-m"},"Not calculated",-1))],64)):(n.openBlock(),n.createElementBlock(n.Fragment,{key:1},[r[2]||(r[2]=n.createElementVNode("div",{class:"mask-24 mask-loading grid-mask-loading"},null,-1)),r[3]||(r[3]=n.createElementVNode("span",{class:"text-subtitle-m"},"Loading",-1))],64))]))}}),uE={},pE={class:"grid-overlay-container"};function gE(t,e){return n.openBlock(),n.createElementBlock("div",pE,e[0]||(e[0]=[n.createElementVNode("div",{class:"grid-icon-sad-cat"},null,-1),n.createElementVNode("span",{class:"text-subtitle-m"},"Empty",-1)]))}const fp=As(uE,[["render",gE]]);async function hE(t,e){throw Error("not implemented")}function fE(t){return t.axesSpec.filter(e=>{var r;return((r=e.annotations)==null?void 0:r["pl7.app/axisNature"])==="heterogeneous"})}function mE(t,e){const r=[];for(const o of e)if(t[o].type==="column"){const i=fE(t[o].spec);for(const s of i){if(s.type!=="String"){console.warn("heterogeneous axis with string type expected, got",s,"skipping");continue}const d=Nd(s),u=t.findIndex(p=>Qe.isEqual(p.id,d));if(u===-1)throw console.error("axis not found",o,d,t),Error("axis not found");r.push({columnIdx:o,axisIdx:u})}}return r}const mp=(t,e)=>(t+e).toString();function vE(t,e,r,o,i,s){if(t.length>1)throw Error("hColumns.length > 1 is not supported");const d=t[0];let u=-1,p=-1;for(let y=0;y<s.length;++y)s[y]===d.axisIdx&&(u=y),s[y]===d.columnIdx&&(p=y);const h=(()=>{const S=o[u].data.filter(k=>k!==null);return Array.from(new Set(S))})();h.sort(),p>u?(r.splice(p,1),r.splice(u,1)):(r.splice(u,1),r.splice(p,1));const f=yE(i,o,u,p,h,e.rows);for(let y=0;y<h.length;++y){const S=h[y],k=S+"@"+y;r.push({colId:k,field:mp(o.length,y),headerName:S,valueFormatter:vp})}return{rowModelType:"clientSide",columnDefs:r,rowData:f}}function yE(t,e,r,o,i,s){const d=new Map;let u=0;for(let h=0;h<s;h++){const f={};for(let E=0;E<e.length;++E){if(E===r||E===o)continue;const A=t[E].toString();f[A]=e[E].data[h]}let y;const S=Po(Object.values(f))??"";d.has(S)?y=d.get(S):(d.set(S,f),y=f,y.id=u.toString(),u++);const k=i.indexOf(e[r].data[h]);if(k===-1)throw Error("index not found");const D=mp(e.length,k);y[D]=e[o].data[h]}return Array.from(d.values())}function bE(t){return Po({type:t.type,id:t.id})}function wE(t){return JSON.parse(t)}const vp=t=>t?t.value===void 0?"NULL":t.value===null?"NA":t.value.toString():"ERROR";function xE(t,e,r){var i,s,d;const o=bE(e);return{colId:o,field:t.toString(),headerName:((s=(i=e.spec.annotations)==null?void 0:i["pl7.app/label"])==null?void 0:s.trim())??"Unlabeled "+e.type+" "+t.toString(),lockPosition:e.type==="axis",hide:(r==null?void 0:r.includes(o))??((d=e.spec.annotations)==null?void 0:d["pl7.app/table/visibility"])==="optional",valueFormatter:vp,cellDataType:(u=>{switch(u){case"Int":case"Long":case"Float":case"Double":return"number";case"String":case"Bytes":return"text";default:throw Error(`unsupported data type: ${u}`)}})(e.type==="axis"?e.spec.type:e.spec.valueType)}}function yp(t,e){switch(e){case"Int":return t;case"Long":return typeof t=="bigint"?Number(t):t;case"Float":return t;case"Double":return t;case"String":return t;case"Bytes":return Buffer.from(t).toString("hex");default:throw Error(`unsupported data type: ${e}`)}}function bp(t){const e=[];return li(t,r=>(e.push(r),r)),e}async function CE(t,e,r){return r.length?(await t.findColumns(e,{columnFilter:{name:["pl7.app/label"]},compatibleWith:Qe.uniqWith(r.map(i=>Ol(i.spec.axesSpec).map(Qe.cloneDeep)).flat(),Qe.isEqual),strictlyCompatible:!0})).hits.filter(i=>i.spec.axesSpec.length===1):[]}async function _E(t,e,r){const o=bp(r),s=(await CE(t,e,o)).filter(d=>!Qe.find(o,u=>d.columnId===u.columnId));return s.length===0?r:{type:"outer",primary:r,secondary:s.map(d=>({type:"column",column:d}))}}async function kE(t,e,r,o){const i=r.filter(f=>f.type!=="Bytes"),s=bp(o),d=i.map(f=>[]),u=i.map(f=>null);for(let f=0;f<s.length;++f){const y=Ol(s[f].spec.axesSpec);for(let S=0;S<y.length;++S){const k=Qe.findIndex(i,D=>Qe.isEqual(D,y[S]));k===-1||u[k]||(y.length===1&&s[f].spec.name==="pl7.app/label"?(d[k]=[[f,S]],u[k]=s[f].columnId):d[k].push([f,S]))}}for(let f=i.length-1;f>=0;--f)d[f].length||(u.splice(f,1),d.splice(f,1),i.splice(f,1));const p=100,h=i.map(f=>new Set);e:for(let f=i.length-1;f>=0;--f){for(const[y,S]of d[f]){const k=await t.getUniqueValues(e,{columnId:s[y].columnId,...!u[f]&&{axis:Qe.cloneDeep(i[f])},filters:[],limit:p});if(k.overflow){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}const D=k.values.type;for(const E of k.values.data)if(!(Ed(E,D)||E===null)&&(h[f].add(yp(E,D)),h[f].size===p)){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}}if(!h[f].size){u.splice(f,1),d.splice(f,1),i.splice(f,1);continue e}}return i.map((f,y)=>{const S=[...h[y]].map(D=>({value:D,text:D.toString()})),k=S[0].value;return{axis:Qe.cloneDeep(f),...u[y]&&{column:u[y]},options:S,defaultValue:k}})}function SE(t,e,r){const o=e.length,i=[];for(let s=0;s<e[0].data.length;++s){const d={};for(let u=0;u<o;++u){const p=t[u].toString(),h=e[u].data[s],f=e[u].type;Am(e[u].absent,s)?d[p]=void 0:Ed(h,f)||h===null?d[p]=null:d[p]=yp(h,f)}d.id=(r++).toString(),i.push(d)}return i}const TE=t=>t.type==="column"&&t.spec.axesSpec.length===1&&t.spec.name==="pl7.app/label";async function EE(t,e,r,o){const i=await t.getSpec(e),s=[...i.keys()].filter(k=>!Qe.find(r,D=>Qe.isEqual(D.axis,i[k].id)||Qe.isEqual(D.column,i[k].id))),d=Qe.cloneDeep(s),u=mE(i,s);for(let k=s.length-1;k>=0;--k){const D=s[k];if(!TE(i[D]))continue;const E=Ol(i[D].spec.axesSpec)[0],A=Qe.findIndex(s,w=>Qe.isEqual(i[w].id,E));if(A!==-1){s[A]=D;for(const w of u)w.axisIdx===D&&(w.axisIdx=A);s.splice(k,1),d.splice(k,1)}}const p=await t.getShape(e),h=p.rows,f=d.map(k=>xE(k,i[k],o));if(u.length>1&&console.warn("Currently, only one heterogeneous axis is supported in the table, got",u.length," transposition will not be applied."),u.length===1)return vE(u,p,f,await t.getData(e,s),d,s);let y;return{rowModelType:"serverSide",columnDefs:f,serverSideDatasource:{getRows:async k=>{try{if(h==0){k.success({rowData:[],rowCount:h}),k.api.showNoRowsOverlay(),k.api.setGridOption("loading",!1);return}if(y&&!Qe.isEqual(y.request.sortModel,k.request.sortModel)){y=void 0,k.fail(),k.api.setGridOption("loading",!0);return}y=k;let D=0,E=[];if(h>0&&k.request.startRow!==void 0&&k.request.endRow!==void 0&&(D=Math.min(h,k.request.endRow)-k.request.startRow,D>0)){const A=await t.getData(e,s,{offset:k.request.startRow,length:D});E=SE(d,A,k.request.startRow)}k.success({rowData:E,rowCount:h}),k.api.autoSizeAllColumns(),k.api.setGridOption("loading",!1)}catch{k.fail(),k.api.setGridOption("loading",!0)}}}}}const NE={class:"ap-ag-data-table-container"},AE={key:0,class:"ap-ag-data-table-sheets"},ME=As(n.defineComponent({__name:"PlAgDataTable",props:n.mergeModels({settings:{}},{modelValue:{default:{gridState:{}}},modelModifiers:{}}),emits:["update:modelValue"],setup(t){C.ModuleRegistry.registerModules([Ja.ClientSideRowModelModule,dd.ClipboardModule,cd.ServerSideRowModelModule,ud.RangeSelectionModule,Ul,Yd]);const e=n.useModel(t,"modelValue"),r=t,{settings:o}=n.toRefs(r);n.watch(()=>o.value,async(w,L)=>{if(w.sourceType!=="pframe"||!w.pFrame||!w.join||L&&L.sourceType==="pframe"&&Qe.isEqual(w.pFrame,L.pFrame)&&Qe.isEqual(w.join,L.join))return;const R=window.platforma;if(!R)throw Error("platforma not set");const H=R.pFrameDriver;if(!H)throw Error("platforma.pFrameDriver not set");const G=await _E(H,w.pFrame,w.join),K=e.value;K.pTableParams||(K.pTableParams={sorting:[],filters:[]}),K.pTableParams.join=G,e.value=K});const i=wp(()=>o.value.sourceType,async w=>{var R;const L=o.value.sourceType;switch(L){case"pframe":{const H=window.platforma;if(!H)throw Error("platforma not set");const G=H.pFrameDriver;if(!G)throw Error("platforma.pFrameDriver not set");if(!o.value.pFrame)return[];const K=o.value.pFrame,U=(R=e.value.pTableParams)==null?void 0:R.join;return U?await kE(G,K,o.value.sheetAxes,U):[]}case"ptable":return o.value.sheets??[];case"xsv":return[];default:throw Error(`unsupported source type: ${L}`)}});function s(w){if(!(o.value.sourceType!=="ptable"&&o.value.sourceType!=="pframe"))return(w==null?void 0:w.sortModel.map(L=>({column:wE(L.colId),ascending:L.sort==="asc",naAndAbsentAreLeastValues:!0})))??[]}const d=n.computed({get:()=>{const w=e.value;return{columnOrder:w.gridState.columnOrder,sort:w.gridState.sort,columnVisibility:w.gridState.columnVisibility}},set:w=>{const L=e.value,R=y.value.rowModelType==="clientSide"?void 0:s(w.sort);L.gridState.columnOrder=w.columnOrder,L.gridState.sort=w.sort,L.gridState.columnVisibility=w.columnVisibility,(o.value.sourceType==="ptable"||o.value.sourceType==="pframe")&&(L.pTableParams||(L.pTableParams={sorting:[],filters:[]}),L.pTableParams.sorting=R),e.value=L}}),u=w=>Po(w);function p(w){var L;if(!(o.value.sourceType!=="ptable"&&o.value.sourceType!=="pframe"))return((L=i.value)==null?void 0:L.map(R=>({type:"bySingleColumn",column:R.column?{type:"column",id:R.column}:{type:"axis",id:R.axis},predicate:{operator:"Equal",reference:w[u(R.axis)]}})))??[]}const h=n.computed({get:()=>e.value.gridState.sheets??{},set:w=>{const L=p(w),R=e.value;R.gridState.sheets=w,(o.value.sourceType==="ptable"||o.value.sourceType==="pframe")&&(R.pTableParams||(R.pTableParams={sorting:[],filters:[]}),R.pTableParams.filters=L),e.value=R}});n.watch(()=>[o.value,i.value],(w,L)=>{const[R,H]=w;if(!H)return;if(L){const[K,U]=L;if((R.sourceType==="ptable"||R.sourceType==="pframe")&&R.sourceType===(K==null?void 0:K.sourceType)&&Qe.isEqual(H,U))return}if(R.sourceType!=="ptable"&&R.sourceType!=="pframe"){h.value={};return}const G=h.value;for(const K of H){const U=u(K.axis);G[U]||(G[U]=K.defaultValue??K.options[0].value)}h.value=G},{immediate:!0});const f=n.shallowRef(),y=n.ref({animateRows:!1,suppressColumnMoveAnimation:!0,cellSelection:!0,initialState:d.value,autoSizeStrategy:{type:"fitCellContents"},onRowDataUpdated:w=>{w.api.autoSizeAllColumns()},defaultColDef:{suppressHeaderMenuButton:!0},maintainColumnOrder:!0,localeText:{loadingError:"..."},rowModelType:"clientSide",maxBlocksInCache:1e3,cacheBlockSize:100,blockLoadDebounceMillis:500,serverSideSortAllLevels:!0,suppressServerSideFullWidthLoadingRow:!0,getRowId:w=>w.data.id,loading:!0,loadingOverlayComponentParams:{notReady:!0},loadingOverlayComponent:hp,noRowsOverlayComponent:fp,sideBar:{toolPanels:[{id:"columns",labelDefault:"Columns",labelKey:"columns",iconKey:"columns",toolPanel:"agColumnsToolPanel",toolPanelParams:{suppressRowGroups:!0,suppressValues:!0,suppressPivots:!0,suppressPivotMode:!0,suppressColumnFilter:!0,suppressColumnSelectAll:!0,suppressColumnExpandAll:!0}}],defaultToolPanel:"columns"}}),S=w=>{const L=w.api;f.value=new Proxy(L,{get(R,H,G){switch(H){case"setGridOption":return(K,U)=>{const P=y.value;P[K]=U,y.value=P,L.updateGridOptions(P)};case"updateGridOptions":return K=>{y.value={...y.value,...K},L.updateGridOptions(K)};default:return Reflect.get(R,H,G)}}})},k=w=>{d.value={columnOrder:w.state.columnOrder,sort:w.state.sort,columnVisibility:w.state.columnVisibility??(w.state.columnOrder?{hiddenColIds:[]}:void 0)},y.value.initialState=d.value},D=()=>{const w=f.value.getState();d.value={columnOrder:w.columnOrder,sort:w.sort,columnVisibility:w.columnVisibility??(w.columnOrder?{hiddenColIds:[]}:void 0)},y.value.initialState=d.value,f.value=void 0},E=n.ref(0);n.watch(()=>[f.value,d.value],(w,L)=>{if(Qe.isEqual(w,L))return;const[R,H]=w;if(!R)return;const G=R.getState(),K={columnOrder:G.columnOrder,sort:G.sort,columnVisibility:G.columnVisibility??(G.columnOrder?{hiddenColIds:[]}:void 0)};Qe.isEqual(H,K)||(y.value.initialState=H,++E.value)}),n.watch(()=>y.value,(w,L)=>{L&&w.rowModelType!=L.rowModelType&&++E.value});const A=(w,L)=>{var H;const R=h.value;R[w]!==L&&(R[w]=L,h.value=R,(H=f.value)==null||H.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!1}}))};return n.watch(()=>[f.value,o.value,i.value],async(w,L)=>{var P,W;if(Qe.isEqual(w,L))return;const[R,H,G]=w;if(!R)return;const K=window.platforma;if(!K)throw Error("platforma not set");const U=H.sourceType;switch(U){case"pframe":case"ptable":{const F=K.pFrameDriver;if(!F)throw Error("platforma.pFrameDriver not set");const Y=H.pTable;if(!Y||!G)return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!0},columnDefs:[]});const ue=(W=(P=d.value)==null?void 0:P.columnVisibility)==null?void 0:W.hiddenColIds,j=await EE(F,Y,G,ue);return R.updateGridOptions({loading:j.rowModelType!=="clientSide",loadingOverlayComponentParams:{notReady:!1},...j})}case"xsv":{const F=K.blobDriver;if(!F)throw Error("platforma.blobDriver not set");const Y=H.xsvFile;if(!(Y!=null&&Y.ok)||!Y.value)return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!0},columnDefs:[]});const ue=await hE(F,Y.value);return R.updateGridOptions({loading:!0,loadingOverlayComponentParams:{notReady:!1},...ue})}default:throw Error(`unsupported source type: ${U}`)}}),(w,L)=>(n.openBlock(),n.createElementBlock("div",NE,[n.createVNode(n.Transition,{name:"ap-ag-data-table-sheets-transition"},{default:n.withCtx(()=>[n.unref(i).value&&n.unref(i).value.length>0?(n.openBlock(),n.createElementBlock("div",AE,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i).value,(R,H)=>(n.openBlock(),n.createBlock(n.unref(Wu),{key:H,"model-value":h.value[u(R.axis)],options:R.options,"onUpdate:modelValue":G=>A(u(R.axis),G)},null,8,["model-value","options","onUpdate:modelValue"]))),128))])):n.createCommentVNode("",!0)]),_:1}),(n.openBlock(),n.createBlock(n.unref(hf.AgGridVue),{key:E.value,theme:n.unref(uu),class:"ap-ag-data-table-grid","grid-options":y.value,onGridReady:S,onStateUpdated:k,onGridPreDestroyed:D},null,8,["theme","grid-options"]))]))}}),[["__scopeId","data-v-93a0f82c"]]),BE={key:1,class:"alert-error"},PE={key:2},DE=n.defineComponent({__name:"ValueOrErrorsComponent",props:{valueOrError:{}},setup(t){const e=t,r=n.computed(()=>e.valueOrError&&e.valueOrError.ok?e.valueOrError.value:void 0),o=n.computed(()=>e.valueOrError&&!e.valueOrError.ok?e.valueOrError.errors:void 0),i=n.computed(()=>r.value===void 0&&o.value===void 0);return(s,d)=>(n.openBlock(),n.createElementBlock("div",null,[r.value!==void 0?n.renderSlot(s.$slots,"default",n.normalizeProps(n.mergeProps({key:0},{value:r.value}))):n.createCommentVNode("",!0),o.value?(n.openBlock(),n.createElementBlock("div",BE,n.toDisplayString(o.value),1)):n.createCommentVNode("",!0),i.value?(n.openBlock(),n.createElementBlock("div",PE,"Unresolved")):n.createCommentVNode("",!0)]))}}),VE={style:{height:"100%"}},LE=n.defineComponent({__name:"PlAgCellFile",props:{params:{}},setup(t){const e=t,r=n.computed(()=>e.params.extensions),o=n.computed(()=>e.params.value);function i(d){e.params.setValue(d)}const s=n.computed(()=>e.params.resolveProgress?e.params.resolveProgress(o.value):void 0);return(d,u)=>(n.openBlock(),n.createElementBlock("div",VE,[n.createVNode(n.unref(cp),{"show-filename-only":"",clearable:"","cell-style":"","file-dialog-title":"Select any file",placeholder:`Choose file ${r.value?r.value[0]:""}`,extensions:r.value,"model-value":o.value,progress:s.value,"onUpdate:modelValue":i},null,8,["placeholder","extensions","model-value","progress"])]))}}),Ti=new Map;function IE(t,e){const r=n.getCurrentScope()??n.effectScope(),o=r.run(()=>(n.onScopeDispose(()=>{Ti.delete(t)}),n.reactive(e())));return o[Symbol.dispose]=()=>{r.stop()},o}function FE(t){const e=Symbol();return()=>(Ti.has(e)||Ti.set(e,IE(e,t)),Ti.get(e))}function RE(t){return n.computed(()=>{try{return gd(t())}catch(e){return{errors:[String(e)],value:void 0}}})}function wp(t,e,r){const o=n.ref(0),i=n.reactive({loading:n.computed(()=>o.value>0),loadingRef:o,value:void 0,error:void 0}),s=vf(e);return n.watch(t,async d=>{i.error=void 0,o.value++,s(d).then(u=>{u.ok&&(i.value=u.value)}).catch(u=>{i.value=void 0,i.error=u}).finally(()=>{o.value--})},Object.assign({immediate:!0,deep:!0},r??{})),i}const co=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,xp=new Set,Ms=typeof process=="object"&&process?process:{},Cp=(t,e,r,o)=>{typeof Ms.emitWarning=="function"?Ms.emitWarning(t,e,r,o):console.error(`[${r}] ${e}: ${t}`)};let Ei=globalThis.AbortController,_p=globalThis.AbortSignal;if(typeof Ei>"u"){_p=class{constructor(){ze(this,"onabort");ze(this,"_onabort",[]);ze(this,"reason");ze(this,"aborted",!1)}addEventListener(o,i){this._onabort.push(i)}},Ei=class{constructor(){ze(this,"signal",new _p);e()}abort(o){var i,s;if(!this.signal.aborted){this.signal.reason=o,this.signal.aborted=!0;for(const d of this.signal._onabort)d(o);(s=(i=this.signal).onabort)==null||s.call(i,o)}}};let t=((Sp=Ms.env)==null?void 0:Sp.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,Cp("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const OE=t=>!xp.has(t),gn=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),kp=t=>gn(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Ni:null:null;class Ni extends Array{constructor(e){super(e),this.fill(0)}}const Ln=class Ln{constructor(e,r){ze(this,"heap");ze(this,"length");if(!x(Ln,uo))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}static create(e){const r=kp(e);if(!r)return[];ge(Ln,uo,!0);const o=new Ln(e,r);return ge(Ln,uo,!1),o}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};uo=new WeakMap,Re(Ln,uo,!1);let Bs=Ln;const Vs=class Vs{constructor(e){Re(this,ee);Re(this,sr);Re(this,It);Re(this,cr);Re(this,dr);Re(this,po);Re(this,go);ze(this,"ttl");ze(this,"ttlResolution");ze(this,"ttlAutopurge");ze(this,"updateAgeOnGet");ze(this,"updateAgeOnHas");ze(this,"allowStale");ze(this,"noDisposeOnSet");ze(this,"noUpdateTTL");ze(this,"maxEntrySize");ze(this,"sizeCalculation");ze(this,"noDeleteOnFetchRejection");ze(this,"noDeleteOnStaleGet");ze(this,"allowStaleOnFetchAbort");ze(this,"allowStaleOnFetchRejection");ze(this,"ignoreFetchAbort");Re(this,at);Re(this,ur);Re(this,nt);Re(this,$e);Re(this,xe);Re(this,Ct);Re(this,Ft);Re(this,vt);Re(this,ct);Re(this,pr);Re(this,dt);Re(this,gr);Re(this,hr);Re(this,Rt);Re(this,fr);Re(this,hn);Re(this,_t);Re(this,In,()=>{});Re(this,Fr,()=>{});Re(this,ka,()=>{});Re(this,Ot,()=>!1);Re(this,Fn,e=>{});Re(this,ho,(e,r,o)=>{});Re(this,Sa,(e,r,o,i)=>{if(o||i)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});ze(this,Tp,"LRUCache");const{max:r=0,ttl:o,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:d,updateAgeOnHas:u,allowStale:p,dispose:h,disposeAfter:f,noDisposeOnSet:y,noUpdateTTL:S,maxSize:k=0,maxEntrySize:D=0,sizeCalculation:E,fetchMethod:A,memoMethod:w,noDeleteOnFetchRejection:L,noDeleteOnStaleGet:R,allowStaleOnFetchRejection:H,allowStaleOnFetchAbort:G,ignoreFetchAbort:K}=e;if(r!==0&&!gn(r))throw new TypeError("max option must be a nonnegative integer");const U=r?kp(r):Array;if(!U)throw new Error("invalid max value: "+r);if(ge(this,sr,r),ge(this,It,k),this.maxEntrySize=D||x(this,It),this.sizeCalculation=E,this.sizeCalculation){if(!x(this,It)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(w!==void 0&&typeof w!="function")throw new TypeError("memoMethod must be a function if defined");if(ge(this,go,w),A!==void 0&&typeof A!="function")throw new TypeError("fetchMethod must be a function if specified");if(ge(this,po,A),ge(this,hn,!!A),ge(this,nt,new Map),ge(this,$e,new Array(r).fill(void 0)),ge(this,xe,new Array(r).fill(void 0)),ge(this,Ct,new U(r)),ge(this,Ft,new U(r)),ge(this,vt,0),ge(this,ct,0),ge(this,pr,Bs.create(r)),ge(this,at,0),ge(this,ur,0),typeof h=="function"&&ge(this,cr,h),typeof f=="function"?(ge(this,dr,f),ge(this,dt,[])):(ge(this,dr,void 0),ge(this,dt,void 0)),ge(this,fr,!!x(this,cr)),ge(this,_t,!!x(this,dr)),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!S,this.noDeleteOnFetchRejection=!!L,this.allowStaleOnFetchRejection=!!H,this.allowStaleOnFetchAbort=!!G,this.ignoreFetchAbort=!!K,this.maxEntrySize!==0){if(x(this,It)!==0&&!gn(x(this,It)))throw new TypeError("maxSize must be a positive integer if specified");if(!gn(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");le(this,ee,sf).call(this)}if(this.allowStale=!!p,this.noDeleteOnStaleGet=!!R,this.updateAgeOnGet=!!d,this.updateAgeOnHas=!!u,this.ttlResolution=gn(i)||i===0?i:1,this.ttlAutopurge=!!s,this.ttl=o||0,this.ttl){if(!gn(this.ttl))throw new TypeError("ttl must be a positive integer if specified");le(this,ee,ad).call(this)}if(x(this,sr)===0&&this.ttl===0&&x(this,It)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,sr)&&!x(this,It)){const P="LRU_CACHE_UNBOUNDED";OE(P)&&(xp.add(P),Cp("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",P,Vs))}}static unsafeExposeInternals(e){return{starts:x(e,hr),ttls:x(e,Rt),sizes:x(e,gr),keyMap:x(e,nt),keyList:x(e,$e),valList:x(e,xe),next:x(e,Ct),prev:x(e,Ft),get head(){return x(e,vt)},get tail(){return x(e,ct)},free:x(e,pr),isBackgroundFetch:r=>{var o;return le(o=e,ee,He).call(o,r)},backgroundFetch:(r,o,i,s)=>{var d;return le(d=e,ee,_l).call(d,r,o,i,s)},moveToTail:r=>{var o;return le(o=e,ee,Ya).call(o,r)},indexes:r=>{var o;return le(o=e,ee,kn).call(o,r)},rindexes:r=>{var o;return le(o=e,ee,Sn).call(o,r)},isStale:r=>{var o;return x(o=e,Ot).call(o,r)}}}get max(){return x(this,sr)}get maxSize(){return x(this,It)}get calculatedSize(){return x(this,ur)}get size(){return x(this,at)}get fetchMethod(){return x(this,po)}get memoMethod(){return x(this,go)}get dispose(){return x(this,cr)}get disposeAfter(){return x(this,dr)}getRemainingTTL(e){return x(this,nt).has(e)?1/0:0}*entries(){for(const e of le(this,ee,kn).call(this))x(this,xe)[e]!==void 0&&x(this,$e)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield[x(this,$e)[e],x(this,xe)[e]])}*rentries(){for(const e of le(this,ee,Sn).call(this))x(this,xe)[e]!==void 0&&x(this,$e)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield[x(this,$e)[e],x(this,xe)[e]])}*keys(){for(const e of le(this,ee,kn).call(this)){const r=x(this,$e)[e];r!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield r)}}*rkeys(){for(const e of le(this,ee,Sn).call(this)){const r=x(this,$e)[e];r!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield r)}}*values(){for(const e of le(this,ee,kn).call(this))x(this,xe)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield x(this,xe)[e])}*rvalues(){for(const e of le(this,ee,Sn).call(this))x(this,xe)[e]!==void 0&&!le(this,ee,He).call(this,x(this,xe)[e])&&(yield x(this,xe)[e])}[(Ep=Symbol.iterator,Tp=Symbol.toStringTag,Ep)](){return this.entries()}find(e,r={}){for(const o of le(this,ee,kn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;if(s!==void 0&&e(s,x(this,$e)[o],this))return this.get(x(this,$e)[o],r)}}forEach(e,r=this){for(const o of le(this,ee,kn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,x(this,$e)[o],this)}}rforEach(e,r=this){for(const o of le(this,ee,Sn).call(this)){const i=x(this,xe)[o],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;s!==void 0&&e.call(r,s,x(this,$e)[o],this)}}purgeStale(){let e=!1;for(const r of le(this,ee,Sn).call(this,{allowStale:!0}))x(this,Ot).call(this,r)&&(le(this,ee,Tn).call(this,x(this,$e)[r],"expire"),e=!0);return e}info(e){const r=x(this,nt).get(e);if(r===void 0)return;const o=x(this,xe)[r],i=le(this,ee,He).call(this,o)?o.__staleWhileFetching:o;if(i===void 0)return;const s={value:i};if(x(this,Rt)&&x(this,hr)){const d=x(this,Rt)[r],u=x(this,hr)[r];if(d&&u){const p=d-(co.now()-u);s.ttl=p,s.start=Date.now()}}return x(this,gr)&&(s.size=x(this,gr)[r]),s}dump(){const e=[];for(const r of le(this,ee,kn).call(this,{allowStale:!0})){const o=x(this,$e)[r],i=x(this,xe)[r],s=le(this,ee,He).call(this,i)?i.__staleWhileFetching:i;if(s===void 0||o===void 0)continue;const d={value:s};if(x(this,Rt)&&x(this,hr)){d.ttl=x(this,Rt)[r];const u=co.now()-x(this,hr)[r];d.start=Math.floor(Date.now()-u)}x(this,gr)&&(d.size=x(this,gr)[r]),e.unshift([o,d])}return e}load(e){this.clear();for(const[r,o]of e){if(o.start){const i=Date.now()-o.start;o.start=co.now()-i}this.set(r,o.value,o)}}set(e,r,o={}){var S,k,D,E,A;if(r===void 0)return this.delete(e),this;const{ttl:i=this.ttl,start:s,noDisposeOnSet:d=this.noDisposeOnSet,sizeCalculation:u=this.sizeCalculation,status:p}=o;let{noUpdateTTL:h=this.noUpdateTTL}=o;const f=x(this,Sa).call(this,e,r,o.size||0,u);if(this.maxEntrySize&&f>this.maxEntrySize)return p&&(p.set="miss",p.maxEntrySizeExceeded=!0),le(this,ee,Tn).call(this,e,"set"),this;let y=x(this,at)===0?void 0:x(this,nt).get(e);if(y===void 0)y=x(this,at)===0?x(this,ct):x(this,pr).length!==0?x(this,pr).pop():x(this,at)===x(this,sr)?le(this,ee,Cl).call(this,!1):x(this,at),x(this,$e)[y]=e,x(this,xe)[y]=r,x(this,nt).set(e,y),x(this,Ct)[x(this,ct)]=y,x(this,Ft)[y]=x(this,ct),ge(this,ct,y),xl(this,at)._++,x(this,ho).call(this,y,f,p),p&&(p.set="add"),h=!1;else{le(this,ee,Ya).call(this,y);const w=x(this,xe)[y];if(r!==w){if(x(this,hn)&&le(this,ee,He).call(this,w)){w.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:L}=w;L!==void 0&&!d&&(x(this,fr)&&((S=x(this,cr))==null||S.call(this,L,e,"set")),x(this,_t)&&((k=x(this,dt))==null||k.push([L,e,"set"])))}else d||(x(this,fr)&&((D=x(this,cr))==null||D.call(this,w,e,"set")),x(this,_t)&&((E=x(this,dt))==null||E.push([w,e,"set"])));if(x(this,Fn).call(this,y),x(this,ho).call(this,y,f,p),x(this,xe)[y]=r,p){p.set="replace";const L=w&&le(this,ee,He).call(this,w)?w.__staleWhileFetching:w;L!==void 0&&(p.oldValue=L)}}else p&&(p.set="update")}if(i!==0&&!x(this,Rt)&&le(this,ee,ad).call(this),x(this,Rt)&&(h||x(this,ka).call(this,y,i,s),p&&x(this,Fr).call(this,p,y)),!d&&x(this,_t)&&x(this,dt)){const w=x(this,dt);let L;for(;L=w==null?void 0:w.shift();)(A=x(this,dr))==null||A.call(this,...L)}return this}pop(){var e;try{for(;x(this,at);){const r=x(this,xe)[x(this,vt)];if(le(this,ee,Cl).call(this,!0),le(this,ee,He).call(this,r)){if(r.__staleWhileFetching)return r.__staleWhileFetching}else if(r!==void 0)return r}}finally{if(x(this,_t)&&x(this,dt)){const r=x(this,dt);let o;for(;o=r==null?void 0:r.shift();)(e=x(this,dr))==null||e.call(this,...o)}}}has(e,r={}){const{updateAgeOnHas:o=this.updateAgeOnHas,status:i}=r,s=x(this,nt).get(e);if(s!==void 0){const d=x(this,xe)[s];if(le(this,ee,He).call(this,d)&&d.__staleWhileFetching===void 0)return!1;if(x(this,Ot).call(this,s))i&&(i.has="stale",x(this,Fr).call(this,i,s));else return o&&x(this,In).call(this,s),i&&(i.has="hit",x(this,Fr).call(this,i,s)),!0}else i&&(i.has="miss");return!1}peek(e,r={}){const{allowStale:o=this.allowStale}=r,i=x(this,nt).get(e);if(i===void 0||!o&&x(this,Ot).call(this,i))return;const s=x(this,xe)[i];return le(this,ee,He).call(this,s)?s.__staleWhileFetching:s}async fetch(e,r={}){const{allowStale:o=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:d=this.ttl,noDisposeOnSet:u=this.noDisposeOnSet,size:p=0,sizeCalculation:h=this.sizeCalculation,noUpdateTTL:f=this.noUpdateTTL,noDeleteOnFetchRejection:y=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:S=this.allowStaleOnFetchRejection,ignoreFetchAbort:k=this.ignoreFetchAbort,allowStaleOnFetchAbort:D=this.allowStaleOnFetchAbort,context:E,forceRefresh:A=!1,status:w,signal:L}=r;if(!x(this,hn))return w&&(w.fetch="get"),this.get(e,{allowStale:o,updateAgeOnGet:i,noDeleteOnStaleGet:s,status:w});const R={allowStale:o,updateAgeOnGet:i,noDeleteOnStaleGet:s,ttl:d,noDisposeOnSet:u,size:p,sizeCalculation:h,noUpdateTTL:f,noDeleteOnFetchRejection:y,allowStaleOnFetchRejection:S,allowStaleOnFetchAbort:D,ignoreFetchAbort:k,status:w,signal:L};let H=x(this,nt).get(e);if(H===void 0){w&&(w.fetch="miss");const G=le(this,ee,_l).call(this,e,H,R,E);return G.__returned=G}else{const G=x(this,xe)[H];if(le(this,ee,He).call(this,G)){const F=o&&G.__staleWhileFetching!==void 0;return w&&(w.fetch="inflight",F&&(w.returnedStale=!0)),F?G.__staleWhileFetching:G.__returned=G}const K=x(this,Ot).call(this,H);if(!A&&!K)return w&&(w.fetch="hit"),le(this,ee,Ya).call(this,H),i&&x(this,In).call(this,H),w&&x(this,Fr).call(this,w,H),G;const U=le(this,ee,_l).call(this,e,H,R,E),W=U.__staleWhileFetching!==void 0&&o;return w&&(w.fetch=K?"stale":"refresh",W&&K&&(w.returnedStale=!0)),W?U.__staleWhileFetching:U.__returned=U}}async forceFetch(e,r={}){const o=await this.fetch(e,r);if(o===void 0)throw new Error("fetch() returned undefined");return o}memo(e,r={}){const o=x(this,go);if(!o)throw new Error("no memoMethod provided to constructor");const{context:i,forceRefresh:s,...d}=r,u=this.get(e,d);if(!s&&u!==void 0)return u;const p=o(e,u,{options:d,context:i});return this.set(e,p,d),p}get(e,r={}){const{allowStale:o=this.allowStale,updateAgeOnGet:i=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:d}=r,u=x(this,nt).get(e);if(u!==void 0){const p=x(this,xe)[u],h=le(this,ee,He).call(this,p);return d&&x(this,Fr).call(this,d,u),x(this,Ot).call(this,u)?(d&&(d.get="stale"),h?(d&&o&&p.__staleWhileFetching!==void 0&&(d.returnedStale=!0),o?p.__staleWhileFetching:void 0):(s||le(this,ee,Tn).call(this,e,"expire"),d&&o&&(d.returnedStale=!0),o?p:void 0)):(d&&(d.get="hit"),h?p.__staleWhileFetching:(le(this,ee,Ya).call(this,u),i&&x(this,In).call(this,u),p))}else d&&(d.get="miss")}delete(e){return le(this,ee,Tn).call(this,e,"delete")}clear(){return le(this,ee,sd).call(this,"delete")}};sr=new WeakMap,It=new WeakMap,cr=new WeakMap,dr=new WeakMap,po=new WeakMap,go=new WeakMap,at=new WeakMap,ur=new WeakMap,nt=new WeakMap,$e=new WeakMap,xe=new WeakMap,Ct=new WeakMap,Ft=new WeakMap,vt=new WeakMap,ct=new WeakMap,pr=new WeakMap,dt=new WeakMap,gr=new WeakMap,hr=new WeakMap,Rt=new WeakMap,fr=new WeakMap,hn=new WeakMap,_t=new WeakMap,ee=new WeakSet,ad=function(){const e=new Ni(x(this,sr)),r=new Ni(x(this,sr));ge(this,Rt,e),ge(this,hr,r),ge(this,ka,(s,d,u=co.now())=>{if(r[s]=d!==0?u:0,e[s]=d,d!==0&&this.ttlAutopurge){const p=setTimeout(()=>{x(this,Ot).call(this,s)&&le(this,ee,Tn).call(this,x(this,$e)[s],"expire")},d+1);p.unref&&p.unref()}}),ge(this,In,s=>{r[s]=e[s]!==0?co.now():0}),ge(this,Fr,(s,d)=>{if(e[d]){const u=e[d],p=r[d];if(!u||!p)return;s.ttl=u,s.start=p,s.now=o||i();const h=s.now-p;s.remainingTTL=u-h}});let o=0;const i=()=>{const s=co.now();if(this.ttlResolution>0){o=s;const d=setTimeout(()=>o=0,this.ttlResolution);d.unref&&d.unref()}return s};this.getRemainingTTL=s=>{const d=x(this,nt).get(s);if(d===void 0)return 0;const u=e[d],p=r[d];if(!u||!p)return 1/0;const h=(o||i())-p;return u-h},ge(this,Ot,s=>{const d=r[s],u=e[s];return!!u&&!!d&&(o||i())-d>u})},In=new WeakMap,Fr=new WeakMap,ka=new WeakMap,Ot=new WeakMap,sf=function(){const e=new Ni(x(this,sr));ge(this,ur,0),ge(this,gr,e),ge(this,Fn,r=>{ge(this,ur,x(this,ur)-e[r]),e[r]=0}),ge(this,Sa,(r,o,i,s)=>{if(le(this,ee,He).call(this,o))return 0;if(!gn(i))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(i=s(o,r),!gn(i))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return i}),ge(this,ho,(r,o,i)=>{if(e[r]=o,x(this,It)){const s=x(this,It)-e[r];for(;x(this,ur)>s;)le(this,ee,Cl).call(this,!0)}ge(this,ur,x(this,ur)+e[r]),i&&(i.entrySize=o,i.totalCalculatedSize=x(this,ur))})},Fn=new WeakMap,ho=new WeakMap,Sa=new WeakMap,kn=function*({allowStale:e=this.allowStale}={}){if(x(this,at))for(let r=x(this,ct);!(!le(this,ee,id).call(this,r)||((e||!x(this,Ot).call(this,r))&&(yield r),r===x(this,vt)));)r=x(this,Ft)[r]},Sn=function*({allowStale:e=this.allowStale}={}){if(x(this,at))for(let r=x(this,vt);!(!le(this,ee,id).call(this,r)||((e||!x(this,Ot).call(this,r))&&(yield r),r===x(this,ct)));)r=x(this,Ct)[r]},id=function(e){return e!==void 0&&x(this,nt).get(x(this,$e)[e])===e},Cl=function(e){var s,d;const r=x(this,vt),o=x(this,$e)[r],i=x(this,xe)[r];return x(this,hn)&&le(this,ee,He).call(this,i)?i.__abortController.abort(new Error("evicted")):(x(this,fr)||x(this,_t))&&(x(this,fr)&&((s=x(this,cr))==null||s.call(this,i,o,"evict")),x(this,_t)&&((d=x(this,dt))==null||d.push([i,o,"evict"]))),x(this,Fn).call(this,r),e&&(x(this,$e)[r]=void 0,x(this,xe)[r]=void 0,x(this,pr).push(r)),x(this,at)===1?(ge(this,vt,ge(this,ct,0)),x(this,pr).length=0):ge(this,vt,x(this,Ct)[r]),x(this,nt).delete(o),xl(this,at)._--,r},_l=function(e,r,o,i){const s=r===void 0?void 0:x(this,xe)[r];if(le(this,ee,He).call(this,s))return s;const d=new Ei,{signal:u}=o;u==null||u.addEventListener("abort",()=>d.abort(u.reason),{signal:d.signal});const p={signal:d.signal,options:o,context:i},h=(E,A=!1)=>{const{aborted:w}=d.signal,L=o.ignoreFetchAbort&&E!==void 0;if(o.status&&(w&&!A?(o.status.fetchAborted=!0,o.status.fetchError=d.signal.reason,L&&(o.status.fetchAbortIgnored=!0)):o.status.fetchResolved=!0),w&&!L&&!A)return y(d.signal.reason);const R=k;return x(this,xe)[r]===k&&(E===void 0?R.__staleWhileFetching?x(this,xe)[r]=R.__staleWhileFetching:le(this,ee,Tn).call(this,e,"fetch"):(o.status&&(o.status.fetchUpdated=!0),this.set(e,E,p.options))),E},f=E=>(o.status&&(o.status.fetchRejected=!0,o.status.fetchError=E),y(E)),y=E=>{const{aborted:A}=d.signal,w=A&&o.allowStaleOnFetchAbort,L=w||o.allowStaleOnFetchRejection,R=L||o.noDeleteOnFetchRejection,H=k;if(x(this,xe)[r]===k&&(!R||H.__staleWhileFetching===void 0?le(this,ee,Tn).call(this,e,"fetch"):w||(x(this,xe)[r]=H.__staleWhileFetching)),L)return o.status&&H.__staleWhileFetching!==void 0&&(o.status.returnedStale=!0),H.__staleWhileFetching;if(H.__returned===H)throw E},S=(E,A)=>{var L;const w=(L=x(this,po))==null?void 0:L.call(this,e,s,p);w&&w instanceof Promise&&w.then(R=>E(R===void 0?void 0:R),A),d.signal.addEventListener("abort",()=>{(!o.ignoreFetchAbort||o.allowStaleOnFetchAbort)&&(E(void 0),o.allowStaleOnFetchAbort&&(E=R=>h(R,!0)))})};o.status&&(o.status.fetchDispatched=!0);const k=new Promise(S).then(h,f),D=Object.assign(k,{__abortController:d,__staleWhileFetching:s,__returned:void 0});return r===void 0?(this.set(e,D,{...p.options,status:void 0}),r=x(this,nt).get(e)):x(this,xe)[r]=D,D},He=function(e){if(!x(this,hn))return!1;const r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof Ei},ld=function(e,r){x(this,Ft)[r]=e,x(this,Ct)[e]=r},Ya=function(e){e!==x(this,ct)&&(e===x(this,vt)?ge(this,vt,x(this,Ct)[e]):le(this,ee,ld).call(this,x(this,Ft)[e],x(this,Ct)[e]),le(this,ee,ld).call(this,x(this,ct),e),ge(this,ct,e))},Tn=function(e,r){var i,s,d,u;let o=!1;if(x(this,at)!==0){const p=x(this,nt).get(e);if(p!==void 0)if(o=!0,x(this,at)===1)le(this,ee,sd).call(this,r);else{x(this,Fn).call(this,p);const h=x(this,xe)[p];if(le(this,ee,He).call(this,h)?h.__abortController.abort(new Error("deleted")):(x(this,fr)||x(this,_t))&&(x(this,fr)&&((i=x(this,cr))==null||i.call(this,h,e,r)),x(this,_t)&&((s=x(this,dt))==null||s.push([h,e,r]))),x(this,nt).delete(e),x(this,$e)[p]=void 0,x(this,xe)[p]=void 0,p===x(this,ct))ge(this,ct,x(this,Ft)[p]);else if(p===x(this,vt))ge(this,vt,x(this,Ct)[p]);else{const f=x(this,Ft)[p];x(this,Ct)[f]=x(this,Ct)[p];const y=x(this,Ct)[p];x(this,Ft)[y]=x(this,Ft)[p]}xl(this,at)._--,x(this,pr).push(p)}}if(x(this,_t)&&((d=x(this,dt))!=null&&d.length)){const p=x(this,dt);let h;for(;h=p==null?void 0:p.shift();)(u=x(this,dr))==null||u.call(this,...h)}return o},sd=function(e){var r,o,i;for(const s of le(this,ee,Sn).call(this,{allowStale:!0})){const d=x(this,xe)[s];if(le(this,ee,He).call(this,d))d.__abortController.abort(new Error("deleted"));else{const u=x(this,$e)[s];x(this,fr)&&((r=x(this,cr))==null||r.call(this,d,u,e)),x(this,_t)&&((o=x(this,dt))==null||o.push([d,u,e]))}}if(x(this,nt).clear(),x(this,xe).fill(void 0),x(this,$e).fill(void 0),x(this,Rt)&&x(this,hr)&&(x(this,Rt).fill(0),x(this,hr).fill(0)),x(this,gr)&&x(this,gr).fill(0),ge(this,vt,0),ge(this,ct,0),x(this,pr).length=0,ge(this,ur,0),ge(this,at,0),x(this,_t)&&x(this,dt)){const s=x(this,dt);let d;for(;d=s==null?void 0:s.shift();)(i=x(this,dr))==null||i.call(this,...d)}};let Ps=Vs;const zE={cacheSize:15e6};class GE{constructor(e){ze(this,"_str");ze(this,"_rawJson");ze(this,"_zodSchema");ze(this,"_validatedJson");this.bytes=e}get str(){return this._str===void 0&&(this._str=new TextDecoder().decode(this.bytes)),this._str}get rawJson(){return this._rawJson===void 0&&(this._rawJson=JSON.parse(this.str)),this._rawJson}validatedJson(e){return this._zodSchema!==e&&(this._validatedJson=e.parse(this.rawJson),this._zodSchema=e),this._validatedJson}}const Rn=class Rn{constructor(e){ze(this,"fileDataCache");ze(this,"fileDataRefs",new Map);const r={...zE,...e??{}};this.fileDataCache=new Ps({maxSize:r.cacheSize,fetchMethod:async o=>new GE(await Bm().blobDriver.getContent(o)),sizeCalculation:o=>o.bytes.length,dispose:(o,i)=>{this.fileDataRefs.delete(i)}})}getDataRef(e){const r=this.fileDataRefs.get(e);if(r!==void 0)return r;const o=n.shallowRef();return this.fileDataRefs.set(e,o),(async()=>{try{const i=await this.fileDataCache.fetch(e);o.value=i}catch(i){console.error(i)}})(),o}getContentBytes(e){if(e===void 0)return;const r=this.getDataRef(e);return n.computed(()=>{var o;return(o=r.value)==null?void 0:o.bytes})}getContentString(e){if(e===void 0)return;const r=this.getDataRef(e);return n.computed(()=>{var o;return(o=r==null?void 0:r.value)==null?void 0:o.str})}getContentJson(e,r){if(e===void 0)return;const o=this.getDataRef(e);return n.computed(()=>{var i,s;return r===void 0?(i=o==null?void 0:o.value)==null?void 0:i.rawJson:(s=o==null?void 0:o.value)==null?void 0:s.validatedJson(r)})}static getContentBytes(e){return Rn.globalInstance.getContentBytes(e)}static getContentString(e){return Rn.globalInstance.getContentString(e)}static getContentJson(e,r){return Rn.globalInstance.getContentJson(e,r)}};ze(Rn,"globalInstance",new Rn);let Ds=Rn;V.AgGridTheme=uu,V.BlockLayout=cE,V.ContextProvider=H1,V.DataTable=Mw,V.DemoData=KT,V.DropdownListItem=aa,V.LongText=vs,V.MultiError=Tl,V.PlAgCellFile=LE,V.PlAgDataTable=ME,V.PlAgOverlayLoading=hp,V.PlAgOverlayNoRows=fp,V.PlAlert=l0,V.PlBlockPage=Hw,V.PlBtnAccent=p0,V.PlBtnDanger=h0,V.PlBtnGhost=us,V.PlBtnGroup=I0,V.PlBtnLink=y0,V.PlBtnPrimary=cs,V.PlBtnSecondary=ds,V.PlCheckbox=IC,V.PlCheckboxGroup=zC,V.PlChip=bs,V.PlContainer=Kw,V.PlCopyData=up,V.PlDialogModal=xs,V.PlDropdown=ys,V.PlDropdownLegacy=lC,V.PlDropdownLine=Wu,V.PlDropdownMulti=VC,V.PlDropdownRef=Ix,V.PlFileDialog=qu,V.PlFileInput=cp,V.PlGrid=t0,V.PlIcon16=hi,V.PlIcon24=Gu,V.PlLogView=f_,V.PlMaskIcon16=ta,V.PlMaskIcon24=Lr,V.PlNotificationAlert=dp,V.PlNumberField=bC,V.PlProgressBar=pC,V.PlRow=Jw,V.PlSlideModal=e_,V.PlSpacer=Vu,V.PlTextArea=gx,V.PlTextField=ju,V.PlToggleSwitch=n_,V.PlTooltip=Vt,V.ReactiveFileContent=Ds,V.Scrollable=Rk,V.Slider=ok,V.SliderRange=Vk,V.SliderRangeTriple=Ck,V.ThemeSwitcher=zw,V.UnresolvedError=Sl,V.ValueOrErrorsComponent=DE,V.activateAgGrid=du,V.animate=Nu,V.animateInfinite=Lw,V.call=_u,V.computedResult=RE,V.createModel=Pl,V.debounce=Au,V.defineApp=ab,V.defineStore=FE,V.delay=ku,V.detectOutside=hx,V.ensureError=Al,V.eventListener=fs,V.formatZodError=Bl,V.getElementScrollPosition=Zu,V.identity=Nl,V.isDefined=Cf,V.isElementVisible=Uu,V.isJsonEqual=El,V.isZodError=Ml,V.listToOptions=Iw,V.makeEaseInOut=Vw,V.makeEaseOut=Eu,V.maskIcons16=HT,V.maskIcons24=qT,V.normalizeListOptions=Bn,V.notEmpty=os,V.randomInt=Tu,V.randomString=Dw,V.requestTick=as,V.scrollIntoView=oa,V.showContextMenu=ts,V.throttle=Mu,V.timeout=Su,V.unwrapOptionalResult=xf,V.unwrapValueOrErrors=pd,V.useClickOutside=gi,V.useDraggable=uk,V.useEventListener=et,V.useFormState=ck,V.useHover=xu,V.useInterval=sk,V.useLabelNotch=Vr,V.useLocalStorage=Bu,V.useMouse=wu,V.useMouseCapture=nn,V.usePosition=ra,V.useQuery=dk,V.useResizeObserver=pp,V.useScroll=ak,V.useSdkPlugin=Jl,V.useSortable=lk,V.useTheme=Du,V.useWatchFetch=wp,V.wrapOptionalResult=gd,V.wrapValueOrErrors=wf,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlAgDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PlAgDataTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/PlAgDataTable.vue"],"names":[],"mappings":"AAmgBA,OAAO,KAAK,EAAU,gBAAgB,EAAqC,MAAM,sBAAsB,CAAC;AASxG,OAAO,KAAK,EAAE,mBAAmB,EAAoB,MAAM,SAAS,CAAC;AAcrE,QAAA,IAAI,eAAe,EAAG;IACpB,QAAQ,EAAE,QAAQ,CAAC,mBAAmB,CAAC,CAAC;CACzC,CAAC;AAqZF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC7B,GAAG,OAAO,eAAe,CAAC;;;;;;AAyK3B,wBAOG"}
|