@deephaven/embed-widget 1.23.0 → 1.23.1-alpha-pivot-builder.5e6a5fd.0
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/build/assets/{App-BhL456sh.js → App-BvuWvKlE.js} +2 -2
- package/build/assets/{App-BhL456sh.js.map → App-BvuWvKlE.js.map} +1 -1
- package/build/assets/{Chart-Bct1OTF6.js → Chart-DWgEX7af.js} +2 -2
- package/build/assets/{Chart-Bct1OTF6.js.map → Chart-DWgEX7af.js.map} +1 -1
- package/build/assets/{IrisGrid-C3IJz6nb.js → IrisGrid-DglTgMOp.js} +2 -2
- package/build/assets/{IrisGrid-C3IJz6nb.js.map → IrisGrid-DglTgMOp.js.map} +1 -1
- package/build/assets/{IrisGridThemeProvider-PGSqEwKh.js → IrisGridThemeProvider-CtHzFeLc.js} +2 -2
- package/build/assets/{IrisGridThemeProvider-PGSqEwKh.js.map → IrisGridThemeProvider-CtHzFeLc.js.map} +1 -1
- package/build/assets/{LocalWorkspaceStorage-DblP67AR.js → LocalWorkspaceStorage-BR1VbrKD.js} +2 -2
- package/build/assets/{LocalWorkspaceStorage-DblP67AR.js.map → LocalWorkspaceStorage-BR1VbrKD.js.map} +1 -1
- package/build/assets/{LogPanel-C1_6X3ds.js → LogPanel-CoRvBQjW.js} +3 -3
- package/build/assets/LogPanel-CoRvBQjW.js.map +1 -0
- package/build/assets/{MarkdownEditor-CPmC5it0.js → MarkdownEditor-BNwkOYs0.js} +2 -2
- package/build/assets/{MarkdownEditor-CPmC5it0.js.map → MarkdownEditor-BNwkOYs0.js.map} +1 -1
- package/build/assets/{MarkdownNotebook-BsHvrPUA.js → MarkdownNotebook-C3qGE62a.js} +2 -2
- package/build/assets/{MarkdownNotebook-BsHvrPUA.js.map → MarkdownNotebook-C3qGE62a.js.map} +1 -1
- package/build/assets/{index-CgAoPxrH.js → index-C23Z3kqm.js} +34 -34
- package/build/assets/index-C23Z3kqm.js.map +1 -0
- package/build/assets/{index-DK1KaCOb.js → index-DTgWnYGf.js} +3 -3
- package/build/assets/{index-DK1KaCOb.js.map → index-DTgWnYGf.js.map} +1 -1
- package/build/assets/{index-sIC4DbFu.js → index-aUgTMo-T.js} +3 -3
- package/build/assets/{index-sIC4DbFu.js.map → index-aUgTMo-T.js.map} +1 -1
- package/build/index.html +1 -1
- package/package.json +17 -17
- package/build/assets/LogPanel-C1_6X3ds.js.map +0 -1
- package/build/assets/index-CgAoPxrH.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as c,J,P as Qu,D as d,Q as Ju,S as Kt,T as Zu,U as ec,V as tc,W as nc,C as zn,X as rc,G as H,Y as qn,Z as Ro,a0 as ic,a1 as Do,a2 as ac,a3 as oc,a4 as sc,a5 as lc,a6 as Yr,a7 as uc,a8 as cc,a9 as Lo,aa as dc,ab as fc,ac as pc,ad as hc,ae as mc,af as yc,ag as xn,ah as gc,ai as Mo,aj as Vt,ak as ft,I as ce,al as Fo,am as No,an as Xn,ao as Uo,ap as Wo,aq as Tn,ar as vc,as as ot,at as Bo,H as Ko,au as Vo,av as bc,aw as Sc,ax as Pc,ay as Ho,az as wc,aA as Oc,aB as xc,aC as Tc,aD as Cc,aE as Ec,aF as _c,aG as Ic,aH as jc,aI as Ac,aJ as $c,aK as kc,aL as Rc,aM as Dc,aN as Lc,aO as Mc,aP as Fc,aQ as Nc,aR as Uc,aS as Wc,aT as Bc,aU as Kc,aV as Vc,aW as Hc,aX as Go,aY as Gc,aZ as Yc,a_ as zc,a$ as qc,b0 as Xc,b1 as Qc,b2 as Jc,b3 as Zc,b4 as ed,b5 as td,b6 as nd,b7 as rd,b8 as id,b9 as ad,ba as od,bb as sd,bc as ld,bd as ud,be as cd,bf as dd,bg as fd,bh as pd,O as hd,bi as md,bj as yd,bk as gd,bl as vd,bm as bd,bn as Sd,L as Pd,N as wd,bo as Cn,bp as Od,bq as xd,br as zr,bs as Td,bt as Cd,bu as Ed,bv as _d,bw as Id,bx as jd,by as Ad,bz as $d,R as kd,bA as Rd,bB as Dd,bC as Yo,bD as Ld,bE as Md}from"./vendor-Iv4yoqlt.js";import{i as zo,b as Qn,p as qo,r as Xo,a as ne,M as Qo,c as Jo,g as Jn,L as Ue,v as Zo,d as Zn,e as er,f as Ht,h as Fd,j as Nd,k as Ud,l as Wd,m as Bd,n as tr,o as Kd,q as Vd,s as Hd,t as es,u as Gt,w as Gd,T as En,C as Yd,D as zd,x as qd,y as Xd,z as Qd,A as Jd,B as Zd,E as ef,F as tf,G as ts,N as nf,P as rf,S as af,H as of,I as sf,J as lf,K as uf,W as cf,O as df,Q as ff,R as pf,U as hf,V as mf,X as yf,Y as gf,Z as vf,_ as bf,$ as Sf,a0 as Pf,a1 as wf,a2 as Of,a3 as xf,a4 as Tf,a5 as Cf,a6 as Ef,a7 as _f,a8 as If,a9 as jf,aa as Af,ab as $f,ac as nr,ad as Yt,ae as rr,af as kf,ag as ns,ah as Rf,ai as Df,aj as Lf,ak as Mf,al as Ff,am as Nf,an as Uf}from"./index-DK1KaCOb.js";import{F as Wf,f as Bf,e as Kf,C as rs,g as Vf,a as pt,D as qr,h as Hf,i as Gf,d as Yf,U as zt,j as is,k as as,l as zf,c as qf,S as Xf}from"./LocalWorkspaceStorage-DblP67AR.js";import{A as JT,m as ZT,n as eC,G as tC,L as nC,o as rC,p as iC,q as aC,r as oC,s as sC,t as lC,u as uC,b as cC}from"./LocalWorkspaceStorage-DblP67AR.js";import{k as Qf,l as Jf,m as Zf,n as ep,o as st,p as tp,q as np,t as rp,v as ip,w as qt,x as ge,y as Xt,z as ye,T as Qt,A as ht,H as ir,P as Jt,C as Ee,B as Fe,D as os,F as Dt,G as ss,r as De,M as se,K as fe,R as Xr,I as _n,J as le,L as ls,N as In,O as Zt,E as us,Q as ar,U as en,V as cs,W as ap,X as op,c as sp,Y as lp,Z as ds,_ as fs,S as up,$ as cp,a0 as dp,a1 as ps,a2 as fp,a3 as pp,a4 as hp,a5 as hs,a6 as mp,a7 as yp,a8 as gp,a9 as vp,aa as ms,ab as bp,u as je,ac as Sp,ad as Pp,ae as wp,af as Op,ag as xp,ah as ys,g as Tp,ai as Cp,aj as Ep,ak as _p,al as gs,am as Ip,an as vs,ao as bs,ap as Ss,aq as Ps,s as ws,ar as Qr,as as jp,at as Ap,au as $p,av as kp,aw as Rp,ax as Dp,ay as Lp,az as Mp,aA as Fp,aB as Np,aC as Up,aD as Wp,aE as Bp,aF as Kp,aG as Os,aH as Vp,aI as Hp,aJ as Gp,aK as Yp,aL as zp,aM as qp,aN as Xp,aO as Qp,aP as Jp,aQ as Zp,e as eh,b as th,aR as nh,aS as rh,aT as ih,aU as ah,aV as oh,aW as sh,aX as lh,aY as uh,aZ as ch,a_ as dh,a$ as fh,b0 as ph,b1 as hh,b2 as mh,b3 as yh,b4 as gh,b5 as vh,b6 as xs,b7 as bh,b8 as Sh,a as Ph,b9 as wh,ba as Oh,bb as xh,bc as Th,bd as Ch,be as Eh,bf as _h,bg as Ih,bh as jh,bi as Ts,bj as Cs,bk as Es,bl as tn,bm as Ah,bn as $h,bo as kh,bp as Rh,bq as Dh,br as Lh,bs as Mh,bt as Fh,bu as _s,bv as Is,bw as Nh,bx as Uh,by as jn,bz as Wh,bA as Bh,bB as Kh,bC as js,bD as Vh,bE as Hh,bF as Gh,bG as Yh,bH as zh,bI as qh,bJ as Xh,bK as Qh,bL as As,bM as Jh,bN as lt,bO as $s,bP as ks,bQ as Zh,bR as Rs,bS as em,bT as tm,bU as Ds,bV as Ls,bW as Ms,bX as Jr,bY as nm,bZ as rm,b_ as im,b$ as am,c0 as om,c1 as sm,c2 as lm,c3 as um,c4 as cm,c5 as dm,c6 as fm,c7 as pm,c8 as hm,c9 as mm,ca as ym,cb as gm,cc as vm,cd as bm,ce as Sm,cf as Pm,cg as Le,ch as wm,ci as Om}from"./LogPanel-C1_6X3ds.js";import{F as or,C as xm,S as Tm,u as sr,B as Cm,a as Em,D as _m,b as Im,c as lr,d as An,I as jm,e as Am,T as Fs,f as $m,g as ur,h as km,i as cr,j as Ns,k as Rm,l as Us,m as dr,n as Ws,o as Bs,p as Dm,q as Lm,r as Mm,s as Fm,t as Nm,v as Um,w as Wm,x as Bm,y as Km,z as Vm,A as Ks,E as Hm,G as Gm,H as Ym,J as Vs,K as Hs,L as Gs,M as zm,N as qm,O as Xm,P as Qm,Q as Jm,R as Ys,U as Zm,V as ey,W as zs,X as ty,Y as Zr,Z as ny,_ as ry,$ as iy,a0 as ay,a1 as oy,a2 as sy,a3 as ly,a4 as uy,a5 as cy,a6 as dy,a7 as fy,a8 as py,a9 as hy,aa as my,ab as yy,ac as gy,ad as vy,ae as by,af as Sy,ag as Py,ah as wy,ai as qs}from"./index-CgAoPxrH.js";import{D as Oy}from"./DownsamplingError--AAvWHv_.js";import{e as Mt,c as xy,d as Ty,a as Cy,f as Ey,b as _y,g as Iy,h as jy,i as Ay,j as Xs,u as $y,k as ky,l as Ry,m as Dy,n as Ne,o as Ly,p as My,q as at,r as Ft,s as Qs,t as fr,v as mt,w as pr,x as hr,y as mr,z as Nt,A as Js,B as $n,C as yr,D as gr,M as vr,E as Zs,F as Fy,G as kn,H as Ny,I as Uy,J as Wy,K as By,L as Ky,N as Vy,O as Hy,P as Gy,Q as el,R as Yy,S as zy,T as qy,U as Xy,V as tl,W as Qy,X as Jy,Y as Zy,Z as eg,_ as tg,$ as ng,a0 as nl,a1 as rg,a2 as ig,a3 as ag,a4 as og,a5 as sg,a6 as lg,a7 as ug,a8 as cg,a9 as dg,aa as fg,ab as br,ac as pg,ad as hg,ae as mg,af as yg,ag as gg,ah as vg,ai as Lt,aj as Sr,ak as Pr,al as bg,am as Sg,an as rl,ao as il,ap as we,aq as Pg,ar as wr,as as ei,at as al,au as ol,av as wg,aw as Og,ax as xg,ay as Tg,az as Cg,aA as Eg,aB as _g,aC as Ig,aD as jg,aE as Ag,aF as $g,aG as kg,aH as Rg,aI as Dg,aJ as Lg,aK as Mg,aL as Fg,aM as Ng,aN as Ug,aO as Wg,aP as Bg,aQ as Kg,aR as Vg,aS as Hg,aT as Gg,aU as Yg,aV as zg,aW as qg,aX as Xg,aY as Qg,aZ as Jg,a_ as Zg,a$ as sl,b0 as ev,b1 as tv,b2 as nv,b3 as rv,b4 as iv,b5 as av,b6 as ov,b7 as sv,b8 as lv,b9 as uv,ba as cv,bb as dv}from"./IrisGridThemeProvider-PGSqEwKh.js";import{u as nn}from"./useResizeObserver-D66yMPy1.js";import{m as fv,u as ll}from"./useMergeRef-CQuqzBxC.js";import"./helpers-BosuxZz1.js";var pv=["children","keepMounted"];function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ni(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ti(Object(n),!0).forEach(function(r){hv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hv(e,t,n){return(t=mv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mv(e){var t=yv(e,"string");return typeof t=="symbol"?t:t+""}function yv(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gv(e,t){if(e==null)return{};var n,r,i=vv(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vv(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function bv(e){var t=e.children,n=e.keepMounted,r=n===void 0?!1:n,i=gv(e,pv),a=r&&typeof t!="function",o=c.useRef(new Map),s=c.useMemo(()=>{var u=[],f=new Map;return a?(J.Children.forEach(t,h=>{if(!(h==null||h.key==null)){if(typeof h.props.children=="function")throw new Error("DHCTabPanels cannot use keepMounted with an ItemRenderer function as its children");var p=o.current.get(h.key);p==null&&(p=Qu({attributes:{style:"display: contents"}})),f.set(h.key,p),u.push(d.jsx(Ju,{node:p,children:h.props.children},h.key))}}),o.current=f,u):(o.current=f,u)},[t,a]),l=c.useMemo(()=>{var u=[];return a&&J.Children.forEach(t,f=>{if(f==null||f.key==null){u.push(f);return}var h=o.current.get(f.key);if(h==null){u.push(f);return}u.push(d.jsx(Kt,{children:d.jsx(Zu,{node:h})},f.key))}),u},[t,a]);return d.jsxs(d.Fragment,{children:[a&&s,d.jsx(ec,ni(ni({},i),{},{children:a?l:t}))]})}function ri(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function Sv(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){ri(a,r,i,o,s,"next",l)}function s(l){ri(a,r,i,o,s,"throw",l)}o(void 0)})}}var Pv=[["api"],["client"],["dashboardData","*","connection"],["dashboardData","*","sessionWrapper"],["dashboardData","*","openedMap"],["layoutStorage"],["storage"]],ul=10;function wv(e){var t=new Map;return function(r,i){var a,o=[...(a=t.get(this))!==null&&a!==void 0?a:[],r];if(i===Object(i)&&t.set(i,[...o]),o.shift(),!Ov(o,e))return i instanceof Map?Array.from(i.entries()):i}}function Ov(e,t){for(var n=function(o){if(e.length===t[o].length&&e.every((s,l)=>t[o][l]==="*"||s===t[o][l]))return{v:!0}},r,i=0;i<t.length;i+=1)if(r=n(i),r)return r.v;return!1}function xv(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ul,i=nc({maximumDepth:r});return(t=i(e,wv(n),2))!==null&&t!==void 0?t:""}function Tv(e){return JSON.stringify(e,null,2)}function Cv(e){var t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),i=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r,"-").concat(i).concat(a).concat(o)}function Ev(e,t,n){return Rn.apply(this,arguments)}function Rn(){return Rn=Sv(function*(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Pv,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"".concat(Cv(new Date),"_support_logs"),a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:ul,o=new tc,s=o.folder(i);s.file("console.txt",e.getFormattedHistory()),t!=null&&s.file("metadata.json",Tv(t)),n!=null&&s.file("redux.json",xv(n,r,a));var l=yield o.generateAsync({type:"blob"}),u=document.createElement("a");u.href=URL.createObjectURL(l),u.download="".concat(i,".zip"),u.click()}),Rn.apply(this,arguments)}function _v(e,t){return e===0?0:t==="all"||e===t.size?"all":t.size}function cl(e,t){return e===t?!0:e==="all"||t==="all"||e.size!==t.size?!1:[...e.keys()].every(n=>t.has(n))}function dl(e,t){return e.isInverted===t.isInverted&&cl(e.selection,t.selection)}function fl(e,t,n){if(e==="all")return"all";var r=[...e.keys()];return new Set(r.map(i=>{var a=t(i);if(a===void 0)throw new Error("Could not find item with key ".concat(i));return n(a)}))}function pl(e,t,n){var r=e==="all"||e.size>t/2,i=e;return r&&(i=e==="all"?new Set:new Set([...Qf(0,t-1)].map(n).filter(a=>!e.has(a)))),{selection:i,isInverted:r}}function Iv(e,t){return c.useCallback(function(){var n=e(...arguments);return t(),n},[t,e])}function jv(e){return c.useCallback(t=>{e(t.target.value)},[e])}function Or(e,t){return c.useCallback(n=>{typeof e=="function"?e(t(n)):e.current=t(n)},[t,e])}function Be(e,t){return Rv(e)||kv(e,t)||$v(e,t)||Av()}function Av(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1
|
+
import{r as c,J,P as Qu,D as d,Q as Ju,S as Kt,T as Zu,U as ec,V as tc,W as nc,C as zn,X as rc,G as H,Y as qn,Z as Ro,a0 as ic,a1 as Do,a2 as ac,a3 as oc,a4 as sc,a5 as lc,a6 as Yr,a7 as uc,a8 as cc,a9 as Lo,aa as dc,ab as fc,ac as pc,ad as hc,ae as mc,af as yc,ag as xn,ah as gc,ai as Mo,aj as Vt,ak as ft,I as ce,al as Fo,am as No,an as Xn,ao as Uo,ap as Wo,aq as Tn,ar as vc,as as ot,at as Bo,H as Ko,au as Vo,av as bc,aw as Sc,ax as Pc,ay as Ho,az as wc,aA as Oc,aB as xc,aC as Tc,aD as Cc,aE as Ec,aF as _c,aG as Ic,aH as jc,aI as Ac,aJ as $c,aK as kc,aL as Rc,aM as Dc,aN as Lc,aO as Mc,aP as Fc,aQ as Nc,aR as Uc,aS as Wc,aT as Bc,aU as Kc,aV as Vc,aW as Hc,aX as Go,aY as Gc,aZ as Yc,a_ as zc,a$ as qc,b0 as Xc,b1 as Qc,b2 as Jc,b3 as Zc,b4 as ed,b5 as td,b6 as nd,b7 as rd,b8 as id,b9 as ad,ba as od,bb as sd,bc as ld,bd as ud,be as cd,bf as dd,bg as fd,bh as pd,O as hd,bi as md,bj as yd,bk as gd,bl as vd,bm as bd,bn as Sd,L as Pd,N as wd,bo as Cn,bp as Od,bq as xd,br as zr,bs as Td,bt as Cd,bu as Ed,bv as _d,bw as Id,bx as jd,by as Ad,bz as $d,R as kd,bA as Rd,bB as Dd,bC as Yo,bD as Ld,bE as Md}from"./vendor-Iv4yoqlt.js";import{i as zo,b as Qn,p as qo,r as Xo,a as ne,M as Qo,c as Jo,g as Jn,L as Ue,v as Zo,d as Zn,e as er,f as Ht,h as Fd,j as Nd,k as Ud,l as Wd,m as Bd,n as tr,o as Kd,q as Vd,s as Hd,t as es,u as Gt,w as Gd,T as En,C as Yd,D as zd,x as qd,y as Xd,z as Qd,A as Jd,B as Zd,E as ef,F as tf,G as ts,N as nf,P as rf,S as af,H as of,I as sf,J as lf,K as uf,W as cf,O as df,Q as ff,R as pf,U as hf,V as mf,X as yf,Y as gf,Z as vf,_ as bf,$ as Sf,a0 as Pf,a1 as wf,a2 as Of,a3 as xf,a4 as Tf,a5 as Cf,a6 as Ef,a7 as _f,a8 as If,a9 as jf,aa as Af,ab as $f,ac as nr,ad as Yt,ae as rr,af as kf,ag as ns,ah as Rf,ai as Df,aj as Lf,ak as Mf,al as Ff,am as Nf,an as Uf}from"./index-DTgWnYGf.js";import{F as Wf,f as Bf,e as Kf,C as rs,g as Vf,a as pt,D as qr,h as Hf,i as Gf,d as Yf,U as zt,j as is,k as as,l as zf,c as qf,S as Xf}from"./LocalWorkspaceStorage-BR1VbrKD.js";import{A as JT,m as ZT,n as eC,G as tC,L as nC,o as rC,p as iC,q as aC,r as oC,s as sC,t as lC,u as uC,b as cC}from"./LocalWorkspaceStorage-BR1VbrKD.js";import{k as Qf,l as Jf,m as Zf,n as ep,o as st,p as tp,q as np,t as rp,v as ip,w as qt,x as ge,y as Xt,z as ye,T as Qt,A as ht,H as ir,P as Jt,C as Ee,B as Fe,D as os,F as Dt,G as ss,r as De,M as se,K as fe,R as Xr,I as _n,J as le,L as ls,N as In,O as Zt,E as us,Q as ar,U as en,V as cs,W as ap,X as op,c as sp,Y as lp,Z as ds,_ as fs,S as up,$ as cp,a0 as dp,a1 as ps,a2 as fp,a3 as pp,a4 as hp,a5 as hs,a6 as mp,a7 as yp,a8 as gp,a9 as vp,aa as ms,ab as bp,u as je,ac as Sp,ad as Pp,ae as wp,af as Op,ag as xp,ah as ys,g as Tp,ai as Cp,aj as Ep,ak as _p,al as gs,am as Ip,an as vs,ao as bs,ap as Ss,aq as Ps,s as ws,ar as Qr,as as jp,at as Ap,au as $p,av as kp,aw as Rp,ax as Dp,ay as Lp,az as Mp,aA as Fp,aB as Np,aC as Up,aD as Wp,aE as Bp,aF as Kp,aG as Os,aH as Vp,aI as Hp,aJ as Gp,aK as Yp,aL as zp,aM as qp,aN as Xp,aO as Qp,aP as Jp,aQ as Zp,e as eh,b as th,aR as nh,aS as rh,aT as ih,aU as ah,aV as oh,aW as sh,aX as lh,aY as uh,aZ as ch,a_ as dh,a$ as fh,b0 as ph,b1 as hh,b2 as mh,b3 as yh,b4 as gh,b5 as vh,b6 as xs,b7 as bh,b8 as Sh,a as Ph,b9 as wh,ba as Oh,bb as xh,bc as Th,bd as Ch,be as Eh,bf as _h,bg as Ih,bh as jh,bi as Ts,bj as Cs,bk as Es,bl as tn,bm as Ah,bn as $h,bo as kh,bp as Rh,bq as Dh,br as Lh,bs as Mh,bt as Fh,bu as _s,bv as Is,bw as Nh,bx as Uh,by as jn,bz as Wh,bA as Bh,bB as Kh,bC as js,bD as Vh,bE as Hh,bF as Gh,bG as Yh,bH as zh,bI as qh,bJ as Xh,bK as Qh,bL as As,bM as Jh,bN as lt,bO as $s,bP as ks,bQ as Zh,bR as Rs,bS as em,bT as tm,bU as Ds,bV as Ls,bW as Ms,bX as Jr,bY as nm,bZ as rm,b_ as im,b$ as am,c0 as om,c1 as sm,c2 as lm,c3 as um,c4 as cm,c5 as dm,c6 as fm,c7 as pm,c8 as hm,c9 as mm,ca as ym,cb as gm,cc as vm,cd as bm,ce as Sm,cf as Pm,cg as Le,ch as wm,ci as Om}from"./LogPanel-CoRvBQjW.js";import{F as or,C as xm,S as Tm,u as sr,B as Cm,a as Em,D as _m,b as Im,c as lr,d as An,I as jm,e as Am,T as Fs,f as $m,g as ur,h as km,i as cr,j as Ns,k as Rm,l as Us,m as dr,n as Ws,o as Bs,p as Dm,q as Lm,r as Mm,s as Fm,t as Nm,v as Um,w as Wm,x as Bm,y as Km,z as Vm,A as Ks,E as Hm,G as Gm,H as Ym,J as Vs,K as Hs,L as Gs,M as zm,N as qm,O as Xm,P as Qm,Q as Jm,R as Ys,U as Zm,V as ey,W as zs,X as ty,Y as Zr,Z as ny,_ as ry,$ as iy,a0 as ay,a1 as oy,a2 as sy,a3 as ly,a4 as uy,a5 as cy,a6 as dy,a7 as fy,a8 as py,a9 as hy,aa as my,ab as yy,ac as gy,ad as vy,ae as by,af as Sy,ag as Py,ah as wy,ai as qs}from"./index-C23Z3kqm.js";import{D as Oy}from"./DownsamplingError--AAvWHv_.js";import{e as Mt,c as xy,d as Ty,a as Cy,f as Ey,b as _y,g as Iy,h as jy,i as Ay,j as Xs,u as $y,k as ky,l as Ry,m as Dy,n as Ne,o as Ly,p as My,q as at,r as Ft,s as Qs,t as fr,v as mt,w as pr,x as hr,y as mr,z as Nt,A as Js,B as $n,C as yr,D as gr,M as vr,E as Zs,F as Fy,G as kn,H as Ny,I as Uy,J as Wy,K as By,L as Ky,N as Vy,O as Hy,P as Gy,Q as el,R as Yy,S as zy,T as qy,U as Xy,V as tl,W as Qy,X as Jy,Y as Zy,Z as eg,_ as tg,$ as ng,a0 as nl,a1 as rg,a2 as ig,a3 as ag,a4 as og,a5 as sg,a6 as lg,a7 as ug,a8 as cg,a9 as dg,aa as fg,ab as br,ac as pg,ad as hg,ae as mg,af as yg,ag as gg,ah as vg,ai as Lt,aj as Sr,ak as Pr,al as bg,am as Sg,an as rl,ao as il,ap as we,aq as Pg,ar as wr,as as ei,at as al,au as ol,av as wg,aw as Og,ax as xg,ay as Tg,az as Cg,aA as Eg,aB as _g,aC as Ig,aD as jg,aE as Ag,aF as $g,aG as kg,aH as Rg,aI as Dg,aJ as Lg,aK as Mg,aL as Fg,aM as Ng,aN as Ug,aO as Wg,aP as Bg,aQ as Kg,aR as Vg,aS as Hg,aT as Gg,aU as Yg,aV as zg,aW as qg,aX as Xg,aY as Qg,aZ as Jg,a_ as Zg,a$ as sl,b0 as ev,b1 as tv,b2 as nv,b3 as rv,b4 as iv,b5 as av,b6 as ov,b7 as sv,b8 as lv,b9 as uv,ba as cv,bb as dv}from"./IrisGridThemeProvider-CtHzFeLc.js";import{u as nn}from"./useResizeObserver-D66yMPy1.js";import{m as fv,u as ll}from"./useMergeRef-CQuqzBxC.js";import"./helpers-BosuxZz1.js";var pv=["children","keepMounted"];function ti(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function ni(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ti(Object(n),!0).forEach(function(r){hv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ti(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function hv(e,t,n){return(t=mv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mv(e){var t=yv(e,"string");return typeof t=="symbol"?t:t+""}function yv(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function gv(e,t){if(e==null)return{};var n,r,i=vv(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)===-1&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function vv(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function bv(e){var t=e.children,n=e.keepMounted,r=n===void 0?!1:n,i=gv(e,pv),a=r&&typeof t!="function",o=c.useRef(new Map),s=c.useMemo(()=>{var u=[],f=new Map;return a?(J.Children.forEach(t,h=>{if(!(h==null||h.key==null)){if(typeof h.props.children=="function")throw new Error("DHCTabPanels cannot use keepMounted with an ItemRenderer function as its children");var p=o.current.get(h.key);p==null&&(p=Qu({attributes:{style:"display: contents"}})),f.set(h.key,p),u.push(d.jsx(Ju,{node:p,children:h.props.children},h.key))}}),o.current=f,u):(o.current=f,u)},[t,a]),l=c.useMemo(()=>{var u=[];return a&&J.Children.forEach(t,f=>{if(f==null||f.key==null){u.push(f);return}var h=o.current.get(f.key);if(h==null){u.push(f);return}u.push(d.jsx(Kt,{children:d.jsx(Zu,{node:h})},f.key))}),u},[t,a]);return d.jsxs(d.Fragment,{children:[a&&s,d.jsx(ec,ni(ni({},i),{},{children:a?l:t}))]})}function ri(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function Sv(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){ri(a,r,i,o,s,"next",l)}function s(l){ri(a,r,i,o,s,"throw",l)}o(void 0)})}}var Pv=[["api"],["client"],["dashboardData","*","connection"],["dashboardData","*","sessionWrapper"],["dashboardData","*","openedMap"],["layoutStorage"],["storage"]],ul=10;function wv(e){var t=new Map;return function(r,i){var a,o=[...(a=t.get(this))!==null&&a!==void 0?a:[],r];if(i===Object(i)&&t.set(i,[...o]),o.shift(),!Ov(o,e))return i instanceof Map?Array.from(i.entries()):i}}function Ov(e,t){for(var n=function(o){if(e.length===t[o].length&&e.every((s,l)=>t[o][l]==="*"||s===t[o][l]))return{v:!0}},r,i=0;i<t.length;i+=1)if(r=n(i),r)return r.v;return!1}function xv(e){var t,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ul,i=nc({maximumDepth:r});return(t=i(e,wv(n),2))!==null&&t!==void 0?t:""}function Tv(e){return JSON.stringify(e,null,2)}function Cv(e){var t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0"),i=String(e.getHours()).padStart(2,"0"),a=String(e.getMinutes()).padStart(2,"0"),o=String(e.getSeconds()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r,"-").concat(i).concat(a).concat(o)}function Ev(e,t,n){return Rn.apply(this,arguments)}function Rn(){return Rn=Sv(function*(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Pv,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"".concat(Cv(new Date),"_support_logs"),a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:ul,o=new tc,s=o.folder(i);s.file("console.txt",e.getFormattedHistory()),t!=null&&s.file("metadata.json",Tv(t)),n!=null&&s.file("redux.json",xv(n,r,a));var l=yield o.generateAsync({type:"blob"}),u=document.createElement("a");u.href=URL.createObjectURL(l),u.download="".concat(i,".zip"),u.click()}),Rn.apply(this,arguments)}function _v(e,t){return e===0?0:t==="all"||e===t.size?"all":t.size}function cl(e,t){return e===t?!0:e==="all"||t==="all"||e.size!==t.size?!1:[...e.keys()].every(n=>t.has(n))}function dl(e,t){return e.isInverted===t.isInverted&&cl(e.selection,t.selection)}function fl(e,t,n){if(e==="all")return"all";var r=[...e.keys()];return new Set(r.map(i=>{var a=t(i);if(a===void 0)throw new Error("Could not find item with key ".concat(i));return n(a)}))}function pl(e,t,n){var r=e==="all"||e.size>t/2,i=e;return r&&(i=e==="all"?new Set:new Set([...Qf(0,t-1)].map(n).filter(a=>!e.has(a)))),{selection:i,isInverted:r}}function Iv(e,t){return c.useCallback(function(){var n=e(...arguments);return t(),n},[t,e])}function jv(e){return c.useCallback(t=>{e(t.target.value)},[e])}function Or(e,t){return c.useCallback(n=>{typeof e=="function"?e(t(n)):e.current=t(n)},[t,e])}function Be(e,t){return Rv(e)||kv(e,t)||$v(e,t)||Av()}function Av(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $v(e,t){if(e){if(typeof e=="string")return ii(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ii(e,t):void 0}}function ii(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function kv(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function Rv(e){if(Array.isArray(e))return e}function hl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:zo,t=c.useState(0),n=Be(t,2),r=n[0],i=n[1],a=c.useState(0),o=Be(a,2),s=o[0],l=o[1],u=c.useState(0),f=Be(u,2),h=f[0],p=f[1],m=c.useState(0),v=Be(m,2),g=v[0],y=v[1],S=c.useMemo(()=>new DOMRect(r,s,h,g),[g,h,r,s]),b=c.useState(null),x=Be(b,2),O=x[0],T=x[1],P=Or(T,e),I=c.useCallback(C=>{var j,R=Be(C,1),k=R[0],E=(j=k==null?void 0:k.contentRect)!==null&&j!==void 0?j:{x:0,y:0,width:0,height:0};i(E.x),l(E.y),p(E.width),y(E.height)},[]);return nn(O,I),{ref:P,contentRect:S}}function Dv(e,t){return Nv(e)||Fv(e,t)||Mv(e,t)||Lv()}function Lv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
3
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mv(e,t){if(e){if(typeof e=="string")return ai(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ai(e,t):void 0}}function ai(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Fv(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function Nv(e){if(Array.isArray(e))return e}function Uv(e){var t=c.useState(!0),n=Dv(t,2),r=n[0],i=n[1];return c.useEffect(()=>{var a=setTimeout(()=>{i(!1)},e);return()=>{clearTimeout(a)}},[e]),r}function Wv(e,t){return Hv(e)||Vv(e,t)||Kv(e,t)||Bv()}function Bv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
4
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Kv(e,t){if(e){if(typeof e=="string")return oi(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?oi(e,t):void 0}}function oi(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Vv(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function Hv(e){if(Array.isArray(e))return e}function Gv(e){var t=c.useState(e),n=Wv(t,2),r=n[0],i=n[1];return c.useEffect(()=>{i(e)},[e]),[r,i]}function Yv(e,t,n,r){var i=c.useRef(0);c.useEffect(()=>{i.current>=n||r&&(i.current+=1,e())},[n,r,...t])}function ml(e,t){var n=c.useRef(e),r=t(n.current,e)?n.current:e;return n.current=r,r}function zv(e){e.preventDefault()}function yl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=c.useMemo(()=>"useSubmitButtonRef-".concat(zn()),[]),n=c.useCallback(a=>{var o;a==null||(o=a.UNSAFE_getDOMNode())===null||o===void 0||o.setAttribute("form",t)},[t]),r=c.useMemo(()=>({id:t,onSubmit:e?void 0:zv}),[t,e]),i=c.useMemo(()=>({form:t,ref:n}),[t,n]);return{formProps:r,submitButtonProps:i}}function gl(e,t,n){var r=e.getItem,i=e.selectedKeys,a=e.items;return c.useMemo(()=>{var o=pl(i,a.length,n),s=o.selection,l=o.isInverted;return{selection:fl(s,r,t),isInverted:l}},[i,a.length,n,r,t])}function vl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:zo,n=c.useRef();return c.useEffect(()=>()=>{var r;return(r=n.current)===null||r===void 0?void 0:r.call(n)},[]),c.useCallback(r=>{var i;(i=n.current)===null||i===void 0||i.call(n);var a=t(r);a&&(a.addEventListener("scroll",e),n.current=()=>{a.removeEventListener("scroll",e),n.current=void 0})},[t,e])}function si(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function li(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?si(Object(n),!0).forEach(function(r){qv(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):si(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function qv(e,t,n){return(t=Xv(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xv(e){var t=Qv(e,"string");return typeof t=="symbol"?t:t+""}function Qv(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jv(e,t,n,r){var i=arguments.length===4;return c.useCallback(a=>{var o=i?a??r:a;n(li(li({},e),{},{[t]:o}))},[n,e,t,i,r])}function wt(e,t){return nb(e)||tb(e,t)||eb(e,t)||Zv()}function Zv(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
@@ -116,9 +116,9 @@ foo, bar, quux = this_is_a_long_line(lion, hippo, lemur, bear) ''' pass \`\`\`
|
|
|
116
116
|
|
|
117
117
|
The allowed range of values is 1..=320`,type:"integer",format:"uint16",maximum:320,minimum:1},LineWidth:{description:"The maximum visual width to which the formatter should try to limit a line.",type:"integer",format:"uint16",minimum:1},LintOptions:{description:"Configures how Ruff checks your code.\n\nOptions specified in the `lint` section take precedence over the deprecated top-level settings.",type:"object",properties:{"allowed-confusables":{description:'A list of allowed "confusable" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`.',type:["array","null"],items:{type:"string",maxLength:1,minLength:1}},"dummy-variable-rgx":{description:'A regular expression used to identify "dummy" variables, or those which should be ignored when enforcing (e.g.) unused-variable rules. The default expression matches `_`, `__`, and `_var`, but not `_var_`.',type:["string","null"]},exclude:{description:"A list of file patterns to exclude from linting in addition to the files excluded globally (see [`exclude`](#exclude), and [`extend-exclude`](#extend-exclude)).\n\nExclusions are based on globs, and can be either:\n\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\n\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).",type:["array","null"],items:{type:"string"}},"explicit-preview-rules":{description:"Whether to require exact codes to select preview rules. When enabled, preview rules will not be selected by prefixes — the full code of each preview rule will be required to enable the rule.",type:["boolean","null"]},"extend-fixable":{description:"A list of rule codes or prefixes to consider fixable, in addition to those specified by [`fixable`](#lint_fixable).",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"extend-ignore":{description:"A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.",deprecated:!0,type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"extend-per-file-ignores":{description:"A list of mappings from file pattern to rule codes or prefixes to exclude, in addition to any rules excluded by [`per-file-ignores`](#lint_per-file-ignores).",type:["object","null"],additionalProperties:{type:"array",items:{$ref:"#/definitions/RuleSelector"}}},"extend-safe-fixes":{description:"A list of rule codes or prefixes for which unsafe fixes should be considered safe.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"extend-select":{description:"A list of rule codes or prefixes to enable, in addition to those specified by [`select`](#lint_select).",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"extend-unfixable":{description:"A list of rule codes or prefixes to consider non-auto-fixable, in addition to those specified by [`unfixable`](#lint_unfixable).",deprecated:!0,type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"extend-unsafe-fixes":{description:"A list of rule codes or prefixes for which safe fixes should be considered unsafe.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},external:{description:"A list of rule codes or prefixes that are unsupported by Ruff, but should be preserved when (e.g.) validating `# noqa` directives. Useful for retaining `# noqa` directives that cover plugins not yet implemented by Ruff.",type:["array","null"],items:{type:"string"}},fixable:{description:"A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"flake8-annotations":{description:"Options for the `flake8-annotations` plugin.",anyOf:[{$ref:"#/definitions/Flake8AnnotationsOptions"},{type:"null"}]},"flake8-bandit":{description:"Options for the `flake8-bandit` plugin.",anyOf:[{$ref:"#/definitions/Flake8BanditOptions"},{type:"null"}]},"flake8-boolean-trap":{description:"Options for the `flake8-boolean-trap` plugin.",anyOf:[{$ref:"#/definitions/Flake8BooleanTrapOptions"},{type:"null"}]},"flake8-bugbear":{description:"Options for the `flake8-bugbear` plugin.",anyOf:[{$ref:"#/definitions/Flake8BugbearOptions"},{type:"null"}]},"flake8-builtins":{description:"Options for the `flake8-builtins` plugin.",anyOf:[{$ref:"#/definitions/Flake8BuiltinsOptions"},{type:"null"}]},"flake8-comprehensions":{description:"Options for the `flake8-comprehensions` plugin.",anyOf:[{$ref:"#/definitions/Flake8ComprehensionsOptions"},{type:"null"}]},"flake8-copyright":{description:"Options for the `flake8-copyright` plugin.",anyOf:[{$ref:"#/definitions/Flake8CopyrightOptions"},{type:"null"}]},"flake8-errmsg":{description:"Options for the `flake8-errmsg` plugin.",anyOf:[{$ref:"#/definitions/Flake8ErrMsgOptions"},{type:"null"}]},"flake8-gettext":{description:"Options for the `flake8-gettext` plugin.",anyOf:[{$ref:"#/definitions/Flake8GetTextOptions"},{type:"null"}]},"flake8-implicit-str-concat":{description:"Options for the `flake8-implicit-str-concat` plugin.",anyOf:[{$ref:"#/definitions/Flake8ImplicitStrConcatOptions"},{type:"null"}]},"flake8-import-conventions":{description:"Options for the `flake8-import-conventions` plugin.",anyOf:[{$ref:"#/definitions/Flake8ImportConventionsOptions"},{type:"null"}]},"flake8-pytest-style":{description:"Options for the `flake8-pytest-style` plugin.",anyOf:[{$ref:"#/definitions/Flake8PytestStyleOptions"},{type:"null"}]},"flake8-quotes":{description:"Options for the `flake8-quotes` plugin.",anyOf:[{$ref:"#/definitions/Flake8QuotesOptions"},{type:"null"}]},"flake8-self":{description:"Options for the `flake8_self` plugin.",anyOf:[{$ref:"#/definitions/Flake8SelfOptions"},{type:"null"}]},"flake8-tidy-imports":{description:"Options for the `flake8-tidy-imports` plugin.",anyOf:[{$ref:"#/definitions/Flake8TidyImportsOptions"},{type:"null"}]},"flake8-type-checking":{description:"Options for the `flake8-type-checking` plugin.",anyOf:[{$ref:"#/definitions/Flake8TypeCheckingOptions"},{type:"null"}]},"flake8-unused-arguments":{description:"Options for the `flake8-unused-arguments` plugin.",anyOf:[{$ref:"#/definitions/Flake8UnusedArgumentsOptions"},{type:"null"}]},ignore:{description:"A list of rule codes or prefixes to ignore. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\n\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"ignore-init-module-imports":{description:"Avoid automatically removing unused imports in `__init__.py` files. Such imports will still be flagged, but with a dedicated message suggesting that the import is either added to the module's `__all__` symbol, or re-exported with a redundant alias (e.g., `import os as os`).\n\nThis option is enabled by default, but you can opt-in to removal of imports via an unsafe fix.",deprecated:!0,type:["boolean","null"]},isort:{description:"Options for the `isort` plugin.",anyOf:[{$ref:"#/definitions/IsortOptions"},{type:"null"}]},"logger-objects":{description:'A list of objects that should be treated equivalently to a `logging.Logger` object.\n\nThis is useful for ensuring proper diagnostics (e.g., to identify `logging` deprecations and other best-practices) for projects that re-export a `logging.Logger` object from a common module.\n\nFor example, if you have a module `logging_setup.py` with the following contents: ```python import logging\n\nlogger = logging.getLogger(__name__) ```\n\nAdding `"logging_setup.logger"` to `logger-objects` will ensure that `logging_setup.logger` is treated as a `logging.Logger` object when imported from other modules (e.g., `from logging_setup import logger`).',type:["array","null"],items:{type:"string"}},mccabe:{description:"Options for the `mccabe` plugin.",anyOf:[{$ref:"#/definitions/McCabeOptions"},{type:"null"}]},"pep8-naming":{description:"Options for the `pep8-naming` plugin.",anyOf:[{$ref:"#/definitions/Pep8NamingOptions"},{type:"null"}]},"per-file-ignores":{description:"A list of mappings from file pattern to rule codes or prefixes to exclude, when considering any matching files. An initial '!' negates the file pattern.",type:["object","null"],additionalProperties:{type:"array",items:{$ref:"#/definitions/RuleSelector"}}},preview:{description:"Whether to enable preview mode. When preview mode is enabled, Ruff will use unstable rules and fixes.",type:["boolean","null"]},pycodestyle:{description:"Options for the `pycodestyle` plugin.",anyOf:[{$ref:"#/definitions/PycodestyleOptions"},{type:"null"}]},pydocstyle:{description:"Options for the `pydocstyle` plugin.",anyOf:[{$ref:"#/definitions/PydocstyleOptions"},{type:"null"}]},pyflakes:{description:"Options for the `pyflakes` plugin.",anyOf:[{$ref:"#/definitions/PyflakesOptions"},{type:"null"}]},pylint:{description:"Options for the `pylint` plugin.",anyOf:[{$ref:"#/definitions/PylintOptions"},{type:"null"}]},pyupgrade:{description:"Options for the `pyupgrade` plugin.",anyOf:[{$ref:"#/definitions/PyUpgradeOptions"},{type:"null"}]},ruff:{description:"Options for the `ruff` plugin",anyOf:[{$ref:"#/definitions/RuffOptions"},{type:"null"}]},select:{description:"A list of rule codes or prefixes to enable. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\n\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}},"task-tags":{description:'A list of task tags to recognize (e.g., "TODO", "FIXME", "XXX").\n\nComments starting with these tags will be ignored by commented-out code detection (`ERA`), and skipped by line-length rules (`E501`) if [`ignore-overlong-task-comments`](#lint_pycodestyle_ignore-overlong-task-comments) is set to `true`.',type:["array","null"],items:{type:"string"}},"typing-modules":{description:"A list of modules whose exports should be treated equivalently to members of the `typing` module.\n\nThis is useful for ensuring proper type annotation inference for projects that re-export `typing` and `typing_extensions` members from a compatibility module. If omitted, any members imported from modules apart from `typing` and `typing_extensions` will be treated as ordinary Python objects.",type:["array","null"],items:{type:"string"}},unfixable:{description:"A list of rule codes or prefixes to consider non-fixable.",type:["array","null"],items:{$ref:"#/definitions/RuleSelector"}}},additionalProperties:!1},McCabeOptions:{type:"object",properties:{"max-complexity":{description:"The maximum McCabe complexity to allow before triggering `C901` errors.",type:["integer","null"],format:"uint",minimum:0}},additionalProperties:!1},NameImports:{type:"string"},OutputFormat:{oneOf:[{type:"string",enum:["concise","full","json","json-lines","junit","grouped","github","gitlab","pylint","rdjson","azure","sarif"]},{deprecated:!0,type:"string",enum:["text"]}]},ParametrizeNameType:{type:"string",enum:["csv","tuple","list"]},ParametrizeValuesRowType:{type:"string",enum:["tuple","list"]},ParametrizeValuesType:{type:"string",enum:["tuple","list"]},Pep8NamingOptions:{type:"object",properties:{"classmethod-decorators":{description:"A list of decorators that, when applied to a method, indicate that the method should be treated as a class method (in addition to the builtin `@classmethod`).\n\nFor example, Ruff will expect that any method decorated by a decorator in this list takes a `cls` argument as its first argument.\n\nExpects to receive a list of fully-qualified names (e.g., `pydantic.validator`, rather than `validator`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.",type:["array","null"],items:{type:"string"}},"extend-ignore-names":{description:'Additional names (or patterns) to ignore when considering `pep8-naming` violations, in addition to those included in [`ignore-names`](#lint_pep8-naming_ignore-names).\n\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = ["test_*", "*_test"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',type:["array","null"],items:{type:"string"}},"ignore-names":{description:'A list of names (or patterns) to ignore when considering `pep8-naming` violations.\n\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = ["test_*", "*_test"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',type:["array","null"],items:{type:"string"}},"staticmethod-decorators":{description:"A list of decorators that, when applied to a method, indicate that the method should be treated as a static method (in addition to the builtin `@staticmethod`).\n\nFor example, Ruff will expect that any method decorated by a decorator in this list has no `self` or `cls` argument.\n\nExpects to receive a list of fully-qualified names (e.g., `belay.Device.teardown`, rather than `teardown`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.",type:["array","null"],items:{type:"string"}}},additionalProperties:!1},PyUpgradeOptions:{type:"object",properties:{"keep-runtime-typing":{description:"Whether to avoid [PEP 585](https://peps.python.org/pep-0585/) (`List[int]` -> `list[int]`) and [PEP 604](https://peps.python.org/pep-0604/) (`Union[str, int]` -> `str | int`) rewrites even if a file imports `from __future__ import annotations`.\n\nThis setting is only applicable when the target Python version is below 3.9 and 3.10 respectively, and is most commonly used when working with libraries like Pydantic and FastAPI, which rely on the ability to parse type annotations at runtime. The use of `from __future__ import annotations` causes Python to treat the type annotations as strings, which typically allows for the use of language features that appear in later Python versions but are not yet supported by the current version (e.g., `str | int`). However, libraries that rely on runtime type annotations will break if the annotations are incompatible with the current Python version.\n\nFor example, while the following is valid Python 3.8 code due to the presence of `from __future__ import annotations`, the use of `str | int` prior to Python 3.10 will cause Pydantic to raise a `TypeError` at runtime:\n\n```python from __future__ import annotations\n\nimport pydantic\n\nclass Foo(pydantic.BaseModel): bar: str | int ```",type:["boolean","null"]}},additionalProperties:!1},PycodestyleOptions:{type:"object",properties:{"ignore-overlong-task-comments":{description:'Whether line-length violations (`E501`) should be triggered for comments starting with [`task-tags`](#lint_task-tags) (by default: "TODO", "FIXME", and "XXX").',type:["boolean","null"]},"max-doc-length":{description:"The maximum line length to allow for [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) violations within documentation (`W505`), including standalone comments. By default, this is set to `null` which disables reporting violations.\n\nThe length is determined by the number of characters per line, except for lines containing Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\n\nSee the [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) rule for more information.",anyOf:[{$ref:"#/definitions/LineLength"},{type:"null"}]},"max-line-length":{description:"The maximum line length to allow for [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) violations. By default, this is set to the value of the [`line-length`](#line-length) option.\n\nUse this option when you want to detect extra-long lines that the formatter can't automatically split by setting `pycodestyle.line-length` to a value larger than [`line-length`](#line-length).\n\n```toml # The formatter wraps lines at a length of 88. line-length = 88\n\n[pycodestyle] # E501 reports lines that exceed the length of 100. max-line-length = 100 ```\n\nThe length is determined by the number of characters per line, except for lines containing East Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\n\nSee the [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) rule for more information.",anyOf:[{$ref:"#/definitions/LineLength"},{type:"null"}]}},additionalProperties:!1},PydocstyleOptions:{type:"object",properties:{convention:{description:'Whether to use Google-style, NumPy-style conventions, or the [PEP 257](https://peps.python.org/pep-0257/) defaults when analyzing docstring sections.\n\nEnabling a convention will disable all rules that are not included in the specified convention. As such, the intended workflow is to enable a convention and then selectively enable or disable any additional rules on top of it.\n\nFor example, to use Google-style conventions but avoid requiring documentation for every function parameter:\n\n```toml [tool.ruff.lint] # Enable all `pydocstyle` rules, limiting to those that adhere to the # Google convention via `convention = "google"`, below. select = ["D"]\n\n# On top of the Google convention, disable `D417`, which requires # documentation for every function parameter. ignore = ["D417"]\n\n[tool.ruff.lint.pydocstyle] convention = "google" ```\n\nTo enable an additional rule that\'s excluded from the convention, select the desired rule via its fully qualified rule code (e.g., `D400` instead of `D4` or `D40`):\n\n```toml [tool.ruff.lint] # Enable D400 on top of the Google convention. extend-select = ["D400"]\n\n[tool.ruff.lint.pydocstyle] convention = "google" ```',anyOf:[{$ref:"#/definitions/Convention"},{type:"null"}]},"ignore-decorators":{description:"Ignore docstrings for functions or methods decorated with the specified fully-qualified decorators.",type:["array","null"],items:{type:"string"}},"property-decorators":{description:"A list of decorators that, when applied to a method, indicate that the method should be treated as a property (in addition to the builtin `@property` and standard-library `@functools.cached_property`).\n\nFor example, Ruff will expect that any method decorated by a decorator in this list can use a non-imperative summary line.",type:["array","null"],items:{type:"string"}}},additionalProperties:!1},PyflakesOptions:{type:"object",properties:{"extend-generics":{description:'Additional functions or classes to consider generic, such that any subscripts should be treated as type annotation (e.g., `ForeignKey` in `django.db.models.ForeignKey["User"]`.\n\nExpects to receive a list of fully-qualified names (e.g., `django.db.models.ForeignKey`, rather than `ForeignKey`).',type:["array","null"],items:{type:"string"}}},additionalProperties:!1},PylintOptions:{type:"object",properties:{"allow-dunder-method-names":{description:"Dunder methods name to allow, in addition to the default set from the Python standard library (see `PLW3201`).",type:["array","null"],items:{type:"string"},uniqueItems:!0},"allow-magic-value-types":{description:'Constant types to ignore when used as "magic values" (see `PLR2004`).',type:["array","null"],items:{$ref:"#/definitions/ConstantType"}},"max-args":{description:"Maximum number of arguments allowed for a function or method definition (see `PLR0913`).",type:["integer","null"],format:"uint",minimum:0},"max-bool-expr":{description:"Maximum number of Boolean expressions allowed within a single `if` statement (see `PLR0916`).",type:["integer","null"],format:"uint",minimum:0},"max-branches":{description:"Maximum number of branches allowed for a function or method body (see `PLR0912`).",type:["integer","null"],format:"uint",minimum:0},"max-locals":{description:"Maximum number of local variables allowed for a function or method body (see `PLR0914`).",type:["integer","null"],format:"uint",minimum:0},"max-nested-blocks":{description:"Maximum number of nested blocks allowed within a function or method body (see `PLR1702`).",type:["integer","null"],format:"uint",minimum:0},"max-positional-args":{description:"Maximum number of positional arguments allowed for a function or method definition (see `PLR0917`).\n\nIf not specified, defaults to the value of `max-args`.",type:["integer","null"],format:"uint",minimum:0},"max-public-methods":{description:"Maximum number of public methods allowed for a class (see `PLR0904`).",type:["integer","null"],format:"uint",minimum:0},"max-returns":{description:"Maximum number of return statements allowed for a function or method body (see `PLR0911`)",type:["integer","null"],format:"uint",minimum:0},"max-statements":{description:"Maximum number of statements allowed for a function or method body (see `PLR0915`).",type:["integer","null"],format:"uint",minimum:0}},additionalProperties:!1},PythonVersion:{type:"string",enum:["py37","py38","py39","py310","py311","py312","py313"]},Quote:{oneOf:[{description:"Use double quotes.",type:"string",enum:["double"]},{description:"Use single quotes.",type:"string",enum:["single"]}]},QuoteStyle:{type:"string",enum:["single","double","preserve"]},RelativeImportsOrder:{oneOf:[{description:'Place "closer" imports (fewer `.` characters, most local) before "further" imports (more `.` characters, least local).',type:"string",enum:["closest-to-furthest"]},{description:'Place "further" imports (more `.` characters, least local) imports before "closer" imports (fewer `.` characters, most local).',type:"string",enum:["furthest-to-closest"]}]},RequiredVersion:{type:"string"},RuffOptions:{type:"object",properties:{"parenthesize-tuple-in-subscript":{description:"Whether to prefer accessing items keyed by tuples with parentheses around the tuple (see `RUF031`).",type:["boolean","null"]}},additionalProperties:!1},RuleSelector:{type:"string",enum:["A","A0","A00","A001","A002","A003","A004","A005","A006","AIR","AIR0","AIR00","AIR001","ALL","ANN","ANN0","ANN00","ANN001","ANN002","ANN003","ANN1","ANN10","ANN101","ANN102","ANN2","ANN20","ANN201","ANN202","ANN204","ANN205","ANN206","ANN4","ANN40","ANN401","ARG","ARG0","ARG00","ARG001","ARG002","ARG003","ARG004","ARG005","ASYNC","ASYNC1","ASYNC10","ASYNC100","ASYNC105","ASYNC109","ASYNC11","ASYNC110","ASYNC115","ASYNC116","ASYNC2","ASYNC21","ASYNC210","ASYNC22","ASYNC220","ASYNC221","ASYNC222","ASYNC23","ASYNC230","ASYNC25","ASYNC251","B","B0","B00","B002","B003","B004","B005","B006","B007","B008","B009","B01","B010","B011","B012","B013","B014","B015","B016","B017","B018","B019","B02","B020","B021","B022","B023","B024","B025","B026","B027","B028","B029","B03","B030","B031","B032","B033","B034","B035","B039","B9","B90","B901","B904","B905","B909","BLE","BLE0","BLE00","BLE001","C","C4","C40","C400","C401","C402","C403","C404","C405","C406","C408","C409","C41","C410","C411","C413","C414","C415","C416","C417","C418","C419","C42","C420","C9","C90","C901","COM","COM8","COM81","COM812","COM818","COM819","CPY","CPY0","CPY00","CPY001","D","D1","D10","D100","D101","D102","D103","D104","D105","D106","D107","D2","D20","D200","D201","D202","D203","D204","D205","D206","D207","D208","D209","D21","D210","D211","D212","D213","D214","D215","D3","D30","D300","D301","D4","D40","D400","D401","D402","D403","D404","D405","D406","D407","D408","D409","D41","D410","D411","D412","D413","D414","D415","D416","D417","D418","D419","DJ","DJ0","DJ00","DJ001","DJ003","DJ006","DJ007","DJ008","DJ01","DJ012","DJ013","DOC","DOC2","DOC20","DOC201","DOC202","DOC4","DOC40","DOC402","DOC403","DOC5","DOC50","DOC501","DOC502","DTZ","DTZ0","DTZ00","DTZ001","DTZ002","DTZ003","DTZ004","DTZ005","DTZ006","DTZ007","DTZ01","DTZ011","DTZ012","E","E1","E10","E101","E11","E111","E112","E113","E114","E115","E116","E117","E2","E20","E201","E202","E203","E204","E21","E211","E22","E221","E222","E223","E224","E225","E226","E227","E228","E23","E231","E24","E241","E242","E25","E251","E252","E26","E261","E262","E265","E266","E27","E271","E272","E273","E274","E275","E3","E30","E301","E302","E303","E304","E305","E306","E4","E40","E401","E402","E5","E50","E501","E502","E7","E70","E701","E702","E703","E71","E711","E712","E713","E714","E72","E721","E722","E73","E731","E74","E741","E742","E743","E9","E90","E902","E99","E999","EM","EM1","EM10","EM101","EM102","EM103","ERA","ERA0","ERA00","ERA001","EXE","EXE0","EXE00","EXE001","EXE002","EXE003","EXE004","EXE005","F","F4","F40","F401","F402","F403","F404","F405","F406","F407","F5","F50","F501","F502","F503","F504","F505","F506","F507","F508","F509","F52","F521","F522","F523","F524","F525","F54","F541","F6","F60","F601","F602","F62","F621","F622","F63","F631","F632","F633","F634","F7","F70","F701","F702","F704","F706","F707","F72","F722","F8","F81","F811","F82","F821","F822","F823","F84","F841","F842","F9","F90","F901","FA","FA1","FA10","FA100","FA102","FAST","FAST0","FAST00","FAST001","FAST002","FAST003","FBT","FBT0","FBT00","FBT001","FBT002","FBT003","FIX","FIX0","FIX00","FIX001","FIX002","FIX003","FIX004","FLY","FLY0","FLY00","FLY002","FURB","FURB1","FURB10","FURB101","FURB103","FURB105","FURB11","FURB110","FURB113","FURB116","FURB118","FURB12","FURB129","FURB13","FURB131","FURB132","FURB136","FURB14","FURB140","FURB142","FURB145","FURB148","FURB15","FURB152","FURB154","FURB157","FURB16","FURB161","FURB163","FURB164","FURB166","FURB167","FURB168","FURB169","FURB17","FURB171","FURB177","FURB18","FURB180","FURB181","FURB187","FURB19","FURB192","G","G0","G00","G001","G002","G003","G004","G01","G010","G1","G10","G101","G2","G20","G201","G202","I","I0","I00","I001","I002","ICN","ICN0","ICN00","ICN001","ICN002","ICN003","INP","INP0","INP00","INP001","INT","INT0","INT00","INT001","INT002","INT003","ISC","ISC0","ISC00","ISC001","ISC002","ISC003","LOG","LOG0","LOG00","LOG001","LOG002","LOG007","LOG009","N","N8","N80","N801","N802","N803","N804","N805","N806","N807","N81","N811","N812","N813","N814","N815","N816","N817","N818","N9","N99","N999","NPY","NPY0","NPY00","NPY001","NPY002","NPY003","NPY2","NPY20","NPY201","PD","PD0","PD00","PD002","PD003","PD004","PD007","PD008","PD009","PD01","PD010","PD011","PD012","PD013","PD015","PD1","PD10","PD101","PD9","PD90","PD901","PERF","PERF1","PERF10","PERF101","PERF102","PERF2","PERF20","PERF203","PERF4","PERF40","PERF401","PERF402","PERF403","PGH","PGH0","PGH00","PGH003","PGH004","PGH005","PIE","PIE7","PIE79","PIE790","PIE794","PIE796","PIE8","PIE80","PIE800","PIE804","PIE807","PIE808","PIE81","PIE810","PL","PLC","PLC0","PLC01","PLC010","PLC0105","PLC013","PLC0131","PLC0132","PLC02","PLC020","PLC0205","PLC0206","PLC0208","PLC04","PLC041","PLC0414","PLC0415","PLC1","PLC19","PLC190","PLC1901","PLC2","PLC24","PLC240","PLC2401","PLC2403","PLC27","PLC270","PLC2701","PLC28","PLC280","PLC2801","PLC3","PLC30","PLC300","PLC3002","PLE","PLE0","PLE01","PLE010","PLE0100","PLE0101","PLE011","PLE0115","PLE0116","PLE0117","PLE0118","PLE02","PLE023","PLE0237","PLE024","PLE0241","PLE03","PLE030","PLE0302","PLE0303","PLE0304","PLE0305","PLE0307","PLE0308","PLE0309","PLE06","PLE060","PLE0604","PLE0605","PLE064","PLE0643","PLE07","PLE070","PLE0704","PLE1","PLE11","PLE113","PLE1132","PLE114","PLE1141","PLE1142","PLE12","PLE120","PLE1205","PLE1206","PLE13","PLE130","PLE1300","PLE1307","PLE131","PLE1310","PLE15","PLE150","PLE1507","PLE151","PLE1519","PLE152","PLE1520","PLE17","PLE170","PLE1700","PLE2","PLE25","PLE250","PLE2502","PLE251","PLE2510","PLE2512","PLE2513","PLE2514","PLE2515","PLE4","PLE47","PLE470","PLE4703","PLR","PLR0","PLR01","PLR012","PLR0124","PLR013","PLR0133","PLR02","PLR020","PLR0202","PLR0203","PLR0206","PLR04","PLR040","PLR0402","PLR09","PLR090","PLR0904","PLR091","PLR0911","PLR0912","PLR0913","PLR0914","PLR0915","PLR0916","PLR0917","PLR1","PLR17","PLR170","PLR1702","PLR1704","PLR171","PLR1711","PLR1714","PLR172","PLR1722","PLR173","PLR1730","PLR1733","PLR1736","PLR2","PLR20","PLR200","PLR2004","PLR204","PLR2044","PLR5","PLR55","PLR550","PLR5501","PLR6","PLR61","PLR610","PLR6104","PLR62","PLR620","PLR6201","PLR63","PLR630","PLR6301","PLW","PLW0","PLW01","PLW010","PLW0108","PLW012","PLW0120","PLW0127","PLW0128","PLW0129","PLW013","PLW0131","PLW0133","PLW017","PLW0177","PLW02","PLW021","PLW0211","PLW024","PLW0245","PLW04","PLW040","PLW0406","PLW06","PLW060","PLW0602","PLW0603","PLW0604","PLW064","PLW0642","PLW07","PLW071","PLW0711","PLW1","PLW15","PLW150","PLW1501","PLW1508","PLW1509","PLW151","PLW1510","PLW1514","PLW16","PLW164","PLW1641","PLW2","PLW21","PLW210","PLW2101","PLW29","PLW290","PLW2901","PLW3","PLW32","PLW320","PLW3201","PLW33","PLW330","PLW3301","PT","PT0","PT00","PT001","PT002","PT003","PT004","PT005","PT006","PT007","PT008","PT009","PT01","PT010","PT011","PT012","PT013","PT014","PT015","PT016","PT017","PT018","PT019","PT02","PT020","PT021","PT022","PT023","PT024","PT025","PT026","PT027","PTH","PTH1","PTH10","PTH100","PTH101","PTH102","PTH103","PTH104","PTH105","PTH106","PTH107","PTH108","PTH109","PTH11","PTH110","PTH111","PTH112","PTH113","PTH114","PTH115","PTH116","PTH117","PTH118","PTH119","PTH12","PTH120","PTH121","PTH122","PTH123","PTH124","PTH2","PTH20","PTH201","PTH202","PTH203","PTH204","PTH205","PTH206","PTH207","PYI","PYI0","PYI00","PYI001","PYI002","PYI003","PYI004","PYI005","PYI006","PYI007","PYI008","PYI009","PYI01","PYI010","PYI011","PYI012","PYI013","PYI014","PYI015","PYI016","PYI017","PYI018","PYI019","PYI02","PYI020","PYI021","PYI024","PYI025","PYI026","PYI029","PYI03","PYI030","PYI032","PYI033","PYI034","PYI035","PYI036","PYI04","PYI041","PYI042","PYI043","PYI044","PYI045","PYI046","PYI047","PYI048","PYI049","PYI05","PYI050","PYI051","PYI052","PYI053","PYI054","PYI055","PYI056","PYI057","PYI058","PYI059","PYI06","PYI062","PYI063","PYI064","PYI066","Q","Q0","Q00","Q000","Q001","Q002","Q003","Q004","RET","RET5","RET50","RET501","RET502","RET503","RET504","RET505","RET506","RET507","RET508","RSE","RSE1","RSE10","RSE102","RUF","RUF0","RUF00","RUF001","RUF002","RUF003","RUF005","RUF006","RUF007","RUF008","RUF009","RUF01","RUF010","RUF012","RUF013","RUF015","RUF016","RUF017","RUF018","RUF019","RUF02","RUF020","RUF021","RUF022","RUF023","RUF024","RUF026","RUF027","RUF028","RUF029","RUF03","RUF030","RUF031","RUF032","RUF033","RUF034","RUF1","RUF10","RUF100","RUF101","RUF2","RUF20","RUF200","S","S1","S10","S101","S102","S103","S104","S105","S106","S107","S108","S11","S110","S112","S113","S2","S20","S201","S202","S3","S30","S301","S302","S303","S304","S305","S306","S307","S308","S31","S310","S311","S312","S313","S314","S315","S316","S317","S318","S319","S32","S320","S321","S323","S324","S4","S40","S401","S402","S403","S404","S405","S406","S407","S408","S409","S41","S411","S412","S413","S415","S5","S50","S501","S502","S503","S504","S505","S506","S507","S508","S509","S6","S60","S601","S602","S603","S604","S605","S606","S607","S608","S609","S61","S610","S611","S612","S7","S70","S701","S702","SIM","SIM1","SIM10","SIM101","SIM102","SIM103","SIM105","SIM107","SIM108","SIM109","SIM11","SIM110","SIM112","SIM113","SIM114","SIM115","SIM116","SIM117","SIM118","SIM2","SIM20","SIM201","SIM202","SIM208","SIM21","SIM210","SIM211","SIM212","SIM22","SIM220","SIM221","SIM222","SIM223","SIM3","SIM30","SIM300","SIM4","SIM40","SIM401","SIM9","SIM91","SIM910","SIM911","SLF","SLF0","SLF00","SLF001","SLOT","SLOT0","SLOT00","SLOT000","SLOT001","SLOT002","T","T1","T10","T100","T2","T20","T201","T203","TCH","TCH0","TCH00","TCH001","TCH002","TCH003","TCH004","TCH005","TCH01","TCH010","TD","TD0","TD00","TD001","TD002","TD003","TD004","TD005","TD006","TD007","TID","TID2","TID25","TID251","TID252","TID253","TRY","TRY0","TRY00","TRY002","TRY003","TRY004","TRY2","TRY20","TRY201","TRY3","TRY30","TRY300","TRY301","TRY302","TRY4","TRY40","TRY400","TRY401","UP","UP0","UP00","UP001","UP003","UP004","UP005","UP006","UP007","UP008","UP009","UP01","UP010","UP011","UP012","UP013","UP014","UP015","UP017","UP018","UP019","UP02","UP020","UP021","UP022","UP023","UP024","UP025","UP026","UP027","UP028","UP029","UP03","UP030","UP031","UP032","UP033","UP034","UP035","UP036","UP037","UP038","UP039","UP04","UP040","UP041","UP042","UP043","W","W1","W19","W191","W2","W29","W291","W292","W293","W3","W39","W391","W5","W50","W505","W6","W60","W605","YTT","YTT1","YTT10","YTT101","YTT102","YTT103","YTT2","YTT20","YTT201","YTT202","YTT203","YTT204","YTT3","YTT30","YTT301","YTT302","YTT303"]},Strictness:{oneOf:[{description:"Ban imports that extend into the parent module or beyond.",type:"string",enum:["parents"]},{description:"Ban all relative imports.",type:"string",enum:["all"]}]}}};function wn(e,t){return A1(e)||j1(e,t)||I1(e,t)||_1()}function _1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
118
118
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function I1(e,t){if(e){if(typeof e=="string")return go(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?go(e,t):void 0}}function go(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function j1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function A1(e){if(Array.isArray(e))return e}function vo(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function $1(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){vo(a,r,i,o,s,"next",l)}function s(l){vo(a,r,i,o,s,"throw",l)}o(void 0)})}}var Pu=xd.parse("inmemory://dh-config/ruff-settings.json");function k1(){var e=zr.json.jsonDefaults.diagnosticsOptions.schemas,t=e===void 0?[]:e;t.some(n=>n.uri==="json://ruff-schema")||zr.json.jsonDefaults.setDiagnosticsOptions({schemas:[...t,{uri:"json://ruff-schema",fileMatch:[Pu.toString()],schema:E1}]})}function R1(){return Kn.apply(this,arguments)}function Kn(){return Kn=$1(function*(){return yield Ms.initRuff(),"v".concat(Td.version())}),Kn.apply(this,arguments)}function D1(e){var t=e.text,n=e.isOpen,r=e.onClose,i=e.onSave,a=e.readOnly,o=a===void 0?!1:a,s=e.defaultSettings,l=s===void 0?Ls:s,u=c.useState(!1),f=wn(u,2),h=f[0],p=f[1],m=c.useState(!1),v=wn(m,2),g=v[0],y=v[1],S=c.useRef(),b=c.useMemo(()=>JSON.stringify(l,null,2),[l]),x=Ne(R1),O=x.data,T=c.useState(()=>Od.createModel(t,"json",Pu)),P=wn(T,1),I=P[0],C=c.useCallback(()=>{n&&(r(),S.current=void 0,I.dispose())},[n,r,I]),j=c.useCallback(()=>{if(n){try{var M,w;i(JSON.parse((M=(w=S.current)===null||w===void 0||(w=w.getModel())===null||w===void 0?void 0:w.getValue())!==null&&M!==void 0?M:""))}catch{}C()}},[n,C,i]),R=c.useCallback(()=>{Gt(I),I.setValue(b)},[I,b]),k=c.useCallback(M=>{var w;try{JSON.parse(M),p(!0)}catch{p(!1)}y(((w=S.current)===null||w===void 0||(w=w.getModel())===null||w===void 0?void 0:w.getValue())===b)},[b]),E=st(k,500,{leading:!0}),A=c.useCallback(M=>{S.current=M,I.onDidChangeContent(()=>{E(I.getValue())}),k1(),E(I.getValue())},[E,I]);return n?d.jsxs(Zn,{isOpen:n,centered:!0,keyboard:!0,clickOutside:!1,toggle:C,size:"lg",className:"ruff-settings-modal",children:[d.jsxs(ts,{closeButton:!1,children:[d.jsxs("span",{className:"settings-modal-title mr-auto",children:["Ruff ",O," Settings"]}),d.jsx(Go,{href:"https://docs.astral.sh/ruff/settings/",target:"_blank",children:d.jsx(le,{kind:"ghost",onClick:ge,icon:Lf,children:"Settings Docs"})}),d.jsxs(Vt,{isDisabled:g,onPress:R,children:[d.jsx(ft,{children:d.jsx(ce,{icon:Mf})}),d.jsx(Qt,{children:"Reset to default"})]})]}),d.jsx(er,{style:{height:"80vh"},children:d.jsx(Ys,{onEditorInitialized:A,settings:{readOnly:o,value:t,language:"json",folding:!0,padding:{bottom:16},lineNumbers:"on",overviewRulerLanes:0,model:I}})}),d.jsx(ds,{children:o?d.jsx(le,{kind:"secondary","data-dismiss":"modal",onClick:C,children:"Close"}):d.jsxs(d.Fragment,{children:[d.jsx(le,{kind:"secondary","data-dismiss":"modal",onClick:C,children:"Cancel"}),d.jsx(le,{kind:"primary","data-dismiss":"modal",tooltip:h?void 0:"Cannot save invalid JSON",disabled:!h,onClick:j,children:"Save"})]})})]}):null}const L1=Object.freeze(Object.defineProperty({__proto__:null,Code:nm,CommandHistory:rm,CommandHistoryActions:im,CommandHistoryItem:am,CommandHistoryItemTooltip:om,Console:Jr,ConsoleConstants:sm,ConsoleHistory:lm,ConsoleHistoryItem:um,ConsoleHistoryItemResult:cm,ConsoleHistoryResultErrorMessage:dm,ConsoleHistoryResultInProgress:fm,ConsoleInput:pm,ConsoleStatusBar:hm,ConsoleUtils:mm,Editor:Ys,HeapUsage:ym,LogView:gm,MonacoProviders:Ms,MonacoTheme:vm,MonacoThemeProvider:Su,MonacoUtils:Ds,ObjectIcon:bm,RUFF_DEFAULT_SETTINGS:Ls,RuffSettingsModal:D1,SHORTCUTS:Sm,ScriptEditor:Zm,ScriptEditorUtils:ey,default:Jr},Symbol.toStringTag,{value:"Module"}));function Vn(e,t,n){return(t=M1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M1(e){var t=F1(e,"string");return typeof t=="symbol"?t:t+""}function F1(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}class ze{static valueForCell(t,n,r){var i="".concat(t,",").concat(n);return r!==void 0&&r&&(i="(".concat(i,")")),i}constructor(t){Vn(this,"dh",void 0),Vn(this,"irisGridUtils",void 0),this.dh=t,this.irisGridUtils=new zs(t)}makeColumn(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ze.DEFAULT_TYPE,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;return new this.dh.Column({index:r,name:t,type:n})}makeRollupTableConfig(){return new this.dh.RollupTableConfig}makeColumns(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=[],i=0;i<t;i+=1)r.push(this.makeColumn("".concat(n).concat(i),ze.DEFAULT_TYPE,i));return r}static makeUserColumnWidths(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,n=new Map,r=0;r<t;r+=1)n.set(r.toString(),100);return n}makeRow(t){var n=new this.dh.Row({index:t,name:"".concat(t)});return n.get=jest.fn(r=>ze.valueForCell(t,r.index)),n}makeFilter(){return new this.dh.FilterCondition}makeSort(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.makeColumn();return new this.dh.Sort({column:t})}hydrateSort(t,n){return this.irisGridUtils.hydrateDhSort(n,t)}makeTable(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.columns,r=n===void 0?this.makeColumns():n,i=t.size,a=i===void 0?1e9:i,o=t.sort,s=o===void 0?[]:o,l=t.layoutHints,u=l===void 0?{}:l,f=new this.dh.Table({columns:r,size:a,sort:s});return f.copy=jest.fn(()=>Promise.resolve(f)),f.freeze=jest.fn(()=>Promise.resolve(f)),f.layoutHints=u,f}makeTreeTable(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.makeColumns(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1e9,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5?arguments[5]:void 0,s=new this.dh.TreeTable({columns:t,aggregatedColumns:n,groupedColumns:r,size:i,sort:a,layoutHints:o});return s.copy=jest.fn(()=>Promise.resolve(s)),s}static makeInputTable(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=[...t,...n].reduce((o,s)=>(t.includes(s)?o.keys.push(s.name):o.values.push(s.name),o),{keys:[],values:[]}),i=r.keys,a=r.values;return{keys:i,values:a}}makeSubscription(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.makeTable();return new this.dh.TableViewportSubscription({table:t})}makeModel(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.makeTable(),n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,i=this.dh;return new ty(i,t,n??new lr(i),r)}}Vn(ze,"DEFAULT_TYPE","java.lang.String");const N1=Object.freeze(Object.defineProperty({__proto__:null,AdvancedSettings:ny,AdvancedSettingsType:ry,AggregationEdit:jg,AggregationOperation:iy,AggregationUtils:ay,Aggregations:Ag,BarIcon:$g,ChartBuilder:kg,ColumnHeaderGroup:oy,CustomColumnBuilder:Rg,DndKitCore:Cd,DndKitModifiers:Ed,DndKitSortable:_d,DndKitUtilities:Id,DownloadServiceWorkerUtils:Dg,FormatColumnWhereIcon:Lg,FormatRowWhereIcon:Mg,HistogramIcon:Fg,InputEditor:Ng,IrisGrid:Zr,IrisGridCacheUtils:sy,IrisGridCellOverflowMouseHandler:Ug,IrisGridCellRendererUtils:Wg,IrisGridColumnSelectMouseHandler:Bg,IrisGridColumnTooltipMouseHandler:Kg,IrisGridContextMenuHandler:Vg,IrisGridCopyCellMouseHandler:Hg,IrisGridDataSelectMouseHandler:Gg,IrisGridFilterMouseHandler:Yg,IrisGridMetricCalculator:zg,IrisGridModel:ly,IrisGridModelFactory:uy,IrisGridPartitionedTableModel:cy,IrisGridPartitionedTableMouseHandler:qg,IrisGridRenderer:Xg,IrisGridRowTreeMouseHandler:Qg,IrisGridSortMouseHandler:Jg,IrisGridTableModel:dy,IrisGridTableModelTemplate:fy,IrisGridTestUtils:ze,IrisGridThemeContext:Zg,IrisGridThemeProvider:sl,IrisGridTokenMouseHandler:ev,IrisGridTreeTableModel:py,IrisGridUtils:zs,LineIcon:tv,OptionType:nv,PendingMouseHandler:rv,PieIcon:iv,RollupRows:av,SHORTCUTS:ov,ScatterIcon:sv,TableCsvExporter:lv,TableSaver:uv,VisibilityOrderingBuilder:cv,createDefaultIrisGridTheme:dv,default:Zr,isColumnHeaderGroup:hy,isIrisGridTableModelTemplate:my,isIrisGridTreeTableModel:yy,isPanelStateV1:gy,isPanelStateV2:vy,isPartitionedGridModel:by,isPartitionedGridModelProvider:Sy,isUITreeRow:Py},Symbol.toStringTag,{value:"Module"}));var kr={react:J,"react-dom":kd,redux:$d,"react-redux":Ad,"@adobe/react-spectrum":jd,"@deephaven/auth-plugins":O1,"@deephaven/chart":C1,"@deephaven/components":Lw,"@deephaven/console":L1,"@deephaven/dashboard":Hx,"@deephaven/dashboard-core-plugins":wy,"@deephaven/icons":Ff,"@deephaven/iris-grid":N1,"@deephaven/jsapi-bootstrap":pO,"@deephaven/jsapi-components":Bx,"@deephaven/jsapi-utils":dO,"@deephaven/log":ne,"@deephaven/plugin":Yx,"@deephaven/react-hooks":cb},U1=Dd.createRequires(kr),W1=Rd({requires:U1});function bo(e,t){return H1(e)||V1(e,t)||K1(e,t)||B1()}function B1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
119
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K1(e,t){if(e){if(typeof e=="string")return So(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?So(e,t):void 0}}function So(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function V1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function H1(e){if(Array.isArray(e))return e}function Po(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function Bt(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){Po(a,r,i,o,s,"next",l)}function s(l){Po(a,r,i,o,s,"throw",l)}o(void 0)})}}var Me=ne.module("@deephaven/app-utils.PluginUtils");function G1(e){return Hn.apply(this,arguments)}function Hn(){return Hn=Bt(function*(e){var t=yield W1(e);return t}),Hn.apply(this,arguments)}function Y1(e){return Gn.apply(this,arguments)}function Gn(){return Gn=Bt(function*(e){var t=yield fetch(e);if(!t.ok)throw new Error(t.statusText);try{return yield t.json()}catch{throw new Error("Could not be parsed as JSON")}}),Gn.apply(this,arguments)}function z1(e){return Yn.apply(this,arguments)}function Yn(){return Yn=Bt(function*(e){Me.debug("Loading plugins...");try{var t=yield Y1("".concat(e,"/manifest.json"));if(!Array.isArray(t.plugins))throw new Error("Plugin manifest JSON does not contain plugins array");Me.debug("Plugin manifest loaded:",t);for(var n=_s(t.plugins),r=new Map,i=0;i<n.length;i+=1)for(var a=n[i],o=yield Promise.allSettled(a.map(function(){var v=Bt(function*(g){var y=g.name,S=g.main,b=g.version,x=g.
|
|
119
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function K1(e,t){if(e){if(typeof e=="string")return So(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?So(e,t):void 0}}function So(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function V1(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function H1(e){if(Array.isArray(e))return e}function Po(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function Bt(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){Po(a,r,i,o,s,"next",l)}function s(l){Po(a,r,i,o,s,"throw",l)}o(void 0)})}}var Me=ne.module("@deephaven/app-utils.PluginUtils");function G1(e){return Hn.apply(this,arguments)}function Hn(){return Hn=Bt(function*(e){var t=yield W1(e);return t}),Hn.apply(this,arguments)}function Y1(e){return Gn.apply(this,arguments)}function Gn(){return Gn=Bt(function*(e){var t=yield fetch(e);if(!t.ok)throw new Error(t.statusText);try{return yield t.json()}catch{throw new Error("Could not be parsed as JSON")}}),Gn.apply(this,arguments)}function z1(e){return Yn.apply(this,arguments)}function Yn(){return Yn=Bt(function*(e){Me.debug("Loading plugins...");try{var t=yield Y1("".concat(e,"/manifest.json"));if(!Array.isArray(t.plugins))throw new Error("Plugin manifest JSON does not contain plugins array");Me.debug("Plugin manifest loaded:",t);for(var n=_s(t.plugins),r=new Map,i=0;i<n.length;i+=1)for(var a=n[i],o=yield Promise.allSettled(a.map(function(){var v=Bt(function*(g){var y=g.name,S=g.main,b=g.version,x=g.loader,O=x==null?void 0:x.package,T="".concat(e,"/").concat(y,"/").concat(S),P=yield G1(T);return{pluginExports:P,name:y,packageName:O,version:b}});return function(g){return v.apply(this,arguments)}}())),s=0;s<o.length;s+=1){var l=o[s];if(l.status==="fulfilled"){var u=l.value,f=u.pluginExports,h=u.name,p=u.packageName,m=u.version;As(r,kr,f,h,p,m)}else Me.error("Unable to load plugin '".concat(a[s].name,"'"),l.reason)}return Me.info("Plugins loaded:",r),r}catch(v){return Me.error("Unable to load plugins:",v),new Map}}),Yn.apply(this,arguments)}function q1(e){var t,n;return(t=(n=e.get("AuthHandlers"))===null||n===void 0?void 0:n.split(","))!==null&&t!==void 0?t:[]}function X1(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Map,r=q1(t),i=[...e.entries(),...n.entries()].filter(u=>{var f=bo(u,2),h=f[1];return Is(h)||jn(h)}).map(u=>{var f=bo(u,2),h=f[0],p=f[1];return jn(p)?{type:Es.AUTH_PLUGIN,name:h,component:p.AuthPlugin.Component,isAvailable:p.AuthPlugin.isAvailable}:p}),a=i.filter(u=>{var f=u.isAvailable;return f(r,t)});if(a.length===0)throw new Error("No login plugins found, please register a login plugin for auth handlers: ".concat(r));a.length>1&&Me.warn("More than one login plugin available, will use the first one: ",a.map(u=>{var f=u.name;return f}).join(", "));var o=a[0],s=o.name,l=o.component;return Me.info("Using LoginPlugin",s),l}var Q1=Yo.createRequires(()=>kr),YT=Yo.createRemoteComponent({requires:Q1});function wo(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function J1(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){wo(a,r,i,o,s,"next",l)}function s(l){wo(a,r,i,o,s,"throw",l)}o(void 0)})}}function Z1(e,t){return rT(e)||nT(e,t)||tT(e,t)||eT()}function eT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
120
120
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tT(e,t){if(e){if(typeof e=="string")return Oo(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oo(e,t):void 0}}function Oo(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function rT(e){if(Array.isArray(e))return e}function iT(e){var t=e.pluginsUrl,n=e.getCorePlugins,r=e.children,i=c.useState(null),a=Z1(i,2),o=a[0],s=a[1];return c.useEffect(function(){var u=!1;function f(){return h.apply(this,arguments)}function h(){return h=J1(function*(){var p,m=(p=yield n==null?void 0:n())!==null&&p!==void 0?p:[],v=yield z1(t);if(!u){var g=m.flatMap(y=>js(y)?y.plugins.map(S=>[S.name,S]):[[y.name,y]]);s(new Map([...g,...v]))}}),h.apply(this,arguments)}return f(),()=>{u=!0}},[t,n]),d.jsx(tn.Provider,{value:o,children:r})}function aT(){var e=jr();return c.useEffect(function(){e.postMessage(ns(Ir))},[e]),null}function xo(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function oT(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){xo(a,r,i,o,s,"next",l)}function s(l){xo(a,r,i,o,s,"throw",l)}o(void 0)})}}function To(e,t){return cT(e)||uT(e,t)||lT(e,t)||sT()}function sT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
121
121
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lT(e,t){if(e){if(typeof e=="string")return Co(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Co(e,t):void 0}}function Co(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function uT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function cT(e){if(Array.isArray(e))return e}var dT=new Map([["@deephaven/auth-plugins.AuthPluginParent",{AuthPlugin:pu}],["@deephaven/auth-plugins.AuthPluginPsk",{AuthPlugin:gu}],["@deephaven/auth-plugins.AuthPluginAnonymous",{AuthPlugin:fu}]]);function fT(e){var t=e.children,n=pt(),r=c.useContext(tn),i=c.useState(),a=To(i,2),o=a[0],s=a[1],l=c.useState(),u=To(l,2),f=u[0],h=u[1];c.useEffect(function(){var g=!1;function y(){return S.apply(this,arguments)}function S(){return S=oT(function*(){try{var b=yield n.getAuthConfigValues();g||s(new Map(b))}catch(x){g||h(x)}}),S.apply(this,arguments)}return y(),()=>{g=!0}},[n]);var p=c.useMemo(()=>{if(!(r==null||o==null))try{return X1(r,o,dT)}catch(v){h(v)}},[o,r]),m=p==null||o==null;return m||f!=null?d.jsx(Ue,{isLoading:m&&f==null,errorMessage:lt(f),"data-testid":"auth-bootstrap-loading-error"}):d.jsx(p,{authConfigValues:o,children:d.jsxs(d.Fragment,{children:[d.jsx(aT,{}),t]})})}function Eo(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function On(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){Eo(a,r,i,o,s,"next",l)}function s(l){Eo(a,r,i,o,s,"throw",l)}o(void 0)})}}function Rt(e,t){return yT(e)||mT(e,t)||hT(e,t)||pT()}function pT(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
122
122
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hT(e,t){if(e){if(typeof e=="string")return _o(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_o(e,t):void 0}}function _o(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function mT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function yT(e){if(Array.isArray(e))return e}var nt=ne.module("@deephaven/app-utils.ConnectionBootstrap");function gT(e){var t=e.children,n=je(),r=pt(),i=c.useState(),a=Rt(i,2),o=a[0],s=a[1],l=c.useState(),u=Rt(l,2),f=u[0],h=u[1],p=c.useState("connecting"),m=Rt(p,2),v=m[0],g=m[1],y=v==="failed",S=v==="shutdown",b=v==="reconnecting",x=v==="not_connecting";c.useEffect(function(){var E=!1;function A(){return M.apply(this,arguments)}function M(){return M=On(function*(){try{var w=yield r.getAsIdeConnection();if(E)return;h(w),g("connected")}catch(_){if(E)return;s(_),g("not_connecting")}}),M.apply(this,arguments)}return A(),()=>{E=!0}},[n,r]),c.useEffect(function(){if(f==null||S)return;function E(M){var w=M.detail;nt.info("Disconnect","".concat(JSON.stringify(w))),g("reconnecting")}var A=f.addEventListener(n.IdeConnection.EVENT_DISCONNECT,E);return A},[n,f,S]),c.useEffect(function(){if(f==null||S)return;function E(M){var w=M.detail;nt.info("Reconnect","".concat(JSON.stringify(w))),g("connected")}var A=f.addEventListener(n.CoreClient.EVENT_RECONNECT,E);return A},[n,f,S]),c.useEffect(function(){if(f==null)return;function E(M){var w=M.detail;nt.info("Shutdown","".concat(JSON.stringify(w))),s("Server shutdown: ".concat(w??"Unknown reason")),g("shutdown")}var A=f.addEventListener(n.IdeConnection.EVENT_SHUTDOWN,E);return A},[n,f]),c.useEffect(function(){if(f==null||S)return;function E(M){var w=M.detail;nt.warn("Reconnect authentication failed","".concat(JSON.stringify(w))),s("Reconnect authentication failed: ".concat(w??"Unknown reason")),g("failed")}var A=f.addEventListener(n.CoreClient.EVENT_RECONNECT_AUTH_FAILED,E);return A},[n,f,S]);var O=c.useCallback(function(){var k=On(function*(E){if(Gt(f,"No connection available to fetch object with"),typeof E=="string")throw new Error("No URI resolvers available in Core");return f.getObject(gs(E))});return function(E){return k.apply(this,arguments)}}(),[f]),T=c.useState(null),P=Rt(T,2),I=P[0],C=P[1];c.useEffect(function(){if(f==null){C(null);return}var E=au(On(function*(){return f}));return C(E),()=>{E.destroy()}},[f]);var j=c.useMemo(()=>({subscribe:(k,E)=>(E({fetch:()=>O(k),status:"ready"}),()=>{})}),[O]);function R(){nt.info("Refreshing application"),window.location.reload()}return S||v==="connecting"||x?d.jsx(Ue,{"data-testid":"connection-bootstrap-loading",isLoading:o==null,errorMessage:o!=null?"".concat(o):void 0}):d.jsx(zf.Provider,{value:f??null,children:d.jsx(ys.Provider,{value:O,children:d.jsx(sn.Provider,{value:I,children:d.jsxs(an.Provider,{value:j,children:[t,d.jsx(Dl,{isOpen:b,debounceMs:1e3,children:d.jsx(Ll,{icon:Nf,title:d.jsxs(d.Fragment,{children:[d.jsx(Ht,{})," Attempting to reconnect..."]}),subtitle:"Please check your network connection."})}),d.jsx(cs,{confirmButtonText:"Refresh",onConfirm:R,isOpen:y,headerText:"Authentication failed",bodyText:"Credentials are invalid. Please refresh your browser to try and reconnect."})]})})})})}function zT(e){return new URL(e,"".concat(window.location))}function vT(){var e=new URLSearchParams(window.location.search);return e.get("envoyPrefix")}function bT(){var e=vT();return e!=null?{headers:{"envoy-prefix":e}}:{headers:{}}}function Io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Io(Object(n),!0).forEach(function(r){ST(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Io(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ST(e,t,n){return(t=PT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PT(e){var t=wT(e,"string");return typeof t=="symbol"?t:t+""}function wT(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function OT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{action:()=>{Ev(Uf,jo(jo({},e),{},{userAgent:navigator.userAgent}),qs.getState())},shortcut:en.EXPORT_LOGS,isGlobal:t}}function xT(e){var t=e.children,n=qf(),r=c.useContext(as),i=c.useContext(zt),a=bu(n,r,i);return d.jsx(is.Provider,{value:a,children:t})}function TT(e){var t=e.children,n=xs(Pm),r=c.useContext(tn),i=uu(r),a=Qn();return d.jsx(ps,{themes:i,waitForActivation:a,children:d.jsx(Rs,{children:d.jsx(Su,{children:d.jsx(sl,{density:n.gridDensity,children:t})})})})}function CT(e,t){return jT(e)||IT(e,t)||_T(e,t)||ET()}function ET(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
123
123
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _T(e,t){if(e){if(typeof e=="string")return Ao(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ao(e,t):void 0}}function Ao(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function IT(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,a,o,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,t!==0)for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(f){u=!0,i=f}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return s}}function jT(e){if(Array.isArray(e))return e}function qT(e){var t=e.fontClassNames,n=e.pluginsUrl,r=e.getCorePlugins,i=e.serverUrl,a=e.logMetadata,o=e.children,s=c.useMemo(()=>bT(),[]),l=c.useState(0),u=CT(l,2),f=u[0],h=u[1],p=c.useCallback(()=>{},[]),m=c.useCallback(()=>{requestAnimationFrame(()=>{h(g=>g+1)})},[]);Ar(p,m);var v=c.useMemo(()=>[OT(a,!0)],[a]);return d.jsxs(Ld,{store:qs,children:[d.jsx(Ol,{fontClassNames:t,children:d.jsx(iT,{getCorePlugins:r,pluginsUrl:n,children:d.jsx(TT,{children:d.jsxs(rs,{serverUrl:i,options:s,children:[d.jsx(fT,{children:d.jsx(Xf,{children:d.jsx(xT,{children:d.jsx(gT,{children:d.jsx(xl,{children:o})})})})}),d.jsx(Zt,{actions:v})]},f)})})}),d.jsx(Ml,{})]})}function $o(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function AT(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){$o(a,r,i,o,s,"next",l)}function s(l){$o(a,r,i,o,s,"throw",l)}o(void 0)})}}function ve(e,t,n){return(t=$T(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $T(e){var t=kT(e,"string");return typeof t=="symbol"?t:t+""}function kT(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var rt=ne.module("GrpcFileStorageTable");class dt{constructor(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n;ve(this,"storageService",void 0),ve(this,"baseRoot",void 0),ve(this,"root",void 0),ve(this,"currentSize",0),ve(this,"currentViewport",void 0),ve(this,"listeners",[]),ve(this,"viewportUpdatePromise",void 0),ve(this,"currentViewportData",void 0),ve(this,"childTables",new Map),this.storageService=t,this.baseRoot=n,this.root=r,r===n&&(this.doRefresh=ot(this.doRefresh.bind(this),dt.REFRESH_DEBOUNCE))}removeBaseRoot(t){return Le.removeRoot(this.baseRoot,t)}getViewportData(){var t;return this.viewportUpdatePromise||this.refreshInternal(),(t=this.viewportUpdatePromise)!==null&&t!==void 0?t:Promise.resolve({items:[],offset:0})}getSnapshot(t){throw new Error("Method not implemented.")}get size(){return this.currentSize}setExpanded(t,n){var r=t.split("/"),i=r.shift();if((i===void 0||i==="")&&(i=r.shift()),i===void 0||i==="")throw new Error("Invalid path: ".concat(t));var a=r.join("/");if(n){if(!this.childTables.has(i)){var o=new dt(this.storageService,this.baseRoot,"".concat(this.root,"/").concat(i));this.childTables.set(i,o)}if(a){var s=this.childTables.get(i);s==null||s.setExpanded(a,n)}}else if(this.childTables.has(i))if(a){var l=this.childTables.get(i);l==null||l.setExpanded(a,n)}else this.childTables.delete(i);this.currentViewport&&this.refreshInternal()}collapseAll(){this.childTables.clear(),this.currentViewport&&this.refreshInternal()}setSearch(t){throw new Error("Method not implemented.")}setViewport(t){this.currentViewport=t,this.refreshInternal()}setFilters(){throw new Error("Method not implemented.")}setSorts(){throw new Error("Method not implemented.")}setReversed(){throw new Error("Method not implemented.")}close(){this.listeners=[]}onUpdate(t){return this.listeners=[...this.listeners,t],()=>{this.listeners=this.listeners.filter(n=>n!==t)}}doRefresh(t){rt.debug2("doRefresh",this.root),t(this.fetchData())}refresh(){var t;rt.debug2("refresh",this.root),(t=this.viewportUpdatePromise)===null||t===void 0||t.cancel();var n=new Promise(i=>{this.doRefresh(i)}),r=Fe.makeCancelable(n.then(i=>{if(this.viewportUpdatePromise!==r)throw new $s;return this.currentViewportData=i,this.sendUpdate(),i}));r.catch(i=>{Fe.isCanceled(i)||rt.error("Error updating viewport",i)}),this.viewportUpdatePromise=r}refreshInternal(){try{this.refresh()}catch(t){Fe.isCanceled(t)||rt.error("Unable to refresh data",t)}}fetchData(){var t=this;return AT(function*(){var n=t.currentViewport;if(!n)throw new Error("No viewport set");for(var r=yield t.storageService.listItems(t.root),i=r.map(h=>({type:h.type,filename:t.removeBaseRoot(h.filename),basename:h.basename,id:t.removeBaseRoot(h.filename),isExpanded:h.type==="directory"?t.childTables.has(h.basename):void 0})).sort((h,p)=>h.type!==p.type?h.type==="directory"?-1:1:h.basename.localeCompare(p.basename)),a=0;a<i.length;a+=1){var o=i[a],s=o.basename,l=o.filename;if(l===t.removeBaseRoot("".concat(t.root,"/").concat(s))&&o.type==="directory"){var u=t.childTables.get(s);if(u!=null){u.setViewport({top:0,bottom:n.bottom-a});var f=yield u.getViewportData();i.splice(a+1,0,...f.items)}}}return t.currentSize=i.length,rt.debug2(t.root,"items",i,n),i=i.slice(n.top,n.bottom),{items:i,offset:n.top}})()}sendUpdate(){for(var t,n=this.listeners,r=(t=this.currentViewportData)!==null&&t!==void 0?t:{items:[],offset:0},i=0;i<n.length;i+=1)n[i](r)}}ve(dt,"REFRESH_DEBOUNCE",50);function ko(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,i)}function Te(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(l){ko(a,r,i,o,s,"next",l)}function s(l){ko(a,r,i,o,s,"throw",l)}o(void 0)})}}function Ve(e,t,n){return(t=RT(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RT(e){var t=DT(e,"string");return typeof t=="symbol"?t:t+""}function DT(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var LT=ne.module("GrpcFileStorage");class Rr{constructor(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";Ve(this,"dh",void 0),Ve(this,"storageService",void 0),Ve(this,"tables",[]),Ve(this,"root",void 0),Ve(this,"refreshTables",Md(()=>{this.tables.forEach(i=>i.refresh())},Rr.REFRESH_THROTTLE)),this.dh=t,this.storageService=n,this.root=r}removeRoot(t){return Le.removeRoot(this.root,t)}addRoot(t){return Le.addRoot(this.root,t)}createDirectory(t){var n=this;return Te(function*(){return yield n.storageService.createDirectory(n.addRoot(t)),n.refreshTables(),{type:"directory",id:t,filename:t,basename:Le.getBaseName(t)}})()}getTable(){var t=this;return Te(function*(){var n=new dt(t.storageService,t.root);return t.tables.push(n),n})()}saveFile(t){var n=this;return Te(function*(){var r=n.dh.storage.FileContents.text(t.content);return yield n.storageService.saveFile(n.addRoot(t.filename),r,!0),n.refreshTables(),t})()}loadFile(t){var n=this;return Te(function*(){var r=yield n.storageService.loadFile(n.addRoot(t)),i=yield r.text();return{filename:t,basename:Le.getBaseName(t),content:i}})()}copyFile(t,n){var r=this;return Te(function*(){var i=yield r.storageService.loadFile(r.addRoot(t));yield r.storageService.saveFile(r.addRoot(n),i,!1),r.refreshTables()})()}deleteFile(t){var n=this;return Te(function*(){yield n.storageService.deleteItem(n.addRoot(t)),n.refreshTables()})()}moveFile(t,n){var r=this;return Te(function*(){yield r.storageService.moveItem(r.addRoot(t),r.addRoot(n)),r.refreshTables()})()}info(t){var n=this;return Te(function*(){var r=yield n.storageService.listItems(n.addRoot(Le.getPath(t)),Le.getBaseName(t));if(r.length===0)throw new wm;if(r.length>1)throw LT.error("More than one matching file found, should never happen.",r),new Error("More than one matching file found");var i=r[0];if(!Om(i.type))throw new Error("Unexpected file type: ".concat(i.type));return{filename:n.removeRoot(i.filename),basename:i.basename,id:n.removeRoot(i.filename),type:i.type}})()}}Ve(Rr,"REFRESH_THROTTLE",150);export{qT as AppBootstrap,JT as AppDashboards,fT as AuthBootstrap,gT as ConnectionBootstrap,zf as ConnectionContext,ZT as DEFAULT_LAYOUT_CONFIG,eC as DEFAULT_LAYOUT_CONFIG_NO_CONSOLE,Rr as GrpcFileStorage,dt as GrpcFileStorageTable,tC as GrpcLayoutStorage,nC as LocalWorkspaceStorage,iT as PluginsBootstrap,YT as RemoteComponent,TT as ThemeBootstrap,rC as UserLayoutUtils,OT as createExportLogsContextAction,iC as exportLayout,q1 as getAuthHandlers,X1 as getAuthPluginComponent,zT as getBaseUrl,bT as getConnectOptions,aC as getDefaultLayout,vT as getEnvoyPrefix,Mh as getPluginModuleValue,oC as isLayoutV1,sC as isLayoutV2,Y1 as loadJson,G1 as loadModulePlugin,z1 as loadModulePlugins,lC as normalizeLayout,uC as useConnection,qf as useServerConfig,cC as useUser};
|
|
124
|
-
//# sourceMappingURL=index-
|
|
124
|
+
//# sourceMappingURL=index-aUgTMo-T.js.map
|