@deephaven/code-studio 0.52.1-beta.8 → 0.53.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/{AppRoot-4735080a.js → AppRoot-e4b51b3e.js} +3 -3
- package/build/assets/{AppRoot-4735080a.js.map → AppRoot-e4b51b3e.js.map} +1 -1
- package/build/assets/{ControlType-2695f535.js → ControlType-19f7d4f3.js} +2 -2
- package/build/assets/{ControlType-2695f535.js.map → ControlType-19f7d4f3.js.map} +1 -1
- package/build/assets/{IrisGridModelFactory-cda669c3.js → IrisGridModelFactory-6d7566dc.js} +2 -2
- package/build/assets/{IrisGridModelFactory-cda669c3.js.map → IrisGridModelFactory-6d7566dc.js.map} +1 -1
- package/build/assets/{PluginTypes-c21a74a3.js → PluginTypes-2b0ef082.js} +2 -2
- package/build/assets/{PluginTypes-c21a74a3.js.map → PluginTypes-2b0ef082.js.map} +1 -1
- package/build/assets/{index-1b406293.js → index-81fc0d6a.js} +2 -2
- package/build/assets/{index-1b406293.js.map → index-81fc0d6a.js.map} +1 -1
- package/build/assets/{index-55619c62.js → index-9826fe01.js} +2 -2
- package/build/assets/{index-55619c62.js.map → index-9826fe01.js.map} +1 -1
- package/build/assets/{index-654b28d8.js → index-aca484e9.js} +2 -2
- package/build/assets/{index-654b28d8.js.map → index-aca484e9.js.map} +1 -1
- package/build/assets/{useUser-3525c4eb.js → useUser-da266903.js} +2 -2
- package/build/assets/{useUser-3525c4eb.js.map → useUser-da266903.js.map} +1 -1
- package/build/index.html +2 -2
- package/package.json +31 -31
|
@@ -9,5 +9,5 @@ import{_ as A}from"./monaco-1410cbed.js";import{E as W9,r as m,R as _,C as h,D a
|
|
|
9
9
|
`,le=`:root{--dh-color-quickactions-bg: hsla(var(--dh-color-gray-hue), 0%, 11%, 0.9);--dh-color-radial-reaction: hsla(var(--dh-color-gray-hue), 0%, 92%, 0.6);--dh-color-colorpicker-border: hsla(var(--dh-color-gray-hue), 0%, 94%, 0.1)}/*# sourceMappingURL=theme-dark-components.css.map */
|
|
10
10
|
`;var ae=[X7,Y7,ee,oe,le].join(`
|
|
11
11
|
`);const ce=`:root{--dh-color-gray-900: #000;--dh-color-gray-800: #222;--dh-color-gray-700: #464646;--dh-color-gray-600: #6d6d6d;--dh-color-gray-500: #909090;--dh-color-gray-400: #b1b1b1;--dh-color-gray-300: #d5d5d5;--dh-color-gray-200: #e6e6e6;--dh-color-gray-100: #f8f8f8;--dh-color-gray-75: #fdfdfd;--dh-color-gray-50: #fff;--dh-color-blue-100: #112451;--dh-color-blue-200: #16306c;--dh-color-blue-300: #1d3d88;--dh-color-blue-400: #254ba4;--dh-color-blue-500: #2f5bc0;--dh-color-blue-600: #3b6bda;--dh-color-blue-700: #4c7dee;--dh-color-blue-800: #6390fa;--dh-color-blue-900: #7ca4ff;--dh-color-blue-1000: #97b7ff;--dh-color-blue-1100: #afc9ff;--dh-color-blue-1200: #c7d9ff;--dh-color-blue-1300: #dbe6ff;--dh-color-blue-1400: #ecf1ff;--dh-color-seafoam-100: #1f2925;--dh-color-seafoam-200: #263630;--dh-color-seafoam-300: #2f463e;--dh-color-seafoam-400: #37574b;--dh-color-seafoam-500: #3e6959;--dh-color-seafoam-600: #447b68;--dh-color-seafoam-700: #488f78;--dh-color-seafoam-800: #4ca387;--dh-color-seafoam-900: #4fb797;--dh-color-seafoam-1000: #54cba6;--dh-color-seafoam-1100: #5edeb7;--dh-color-seafoam-1200: #78edc7;--dh-color-seafoam-1300: #9ef8d7;--dh-color-seafoam-1400: #cbfce8;--dh-color-black: var(--dh-color-gray-50);--dh-color-white: var(--dh-color-gray-75);--dh-color-accent: var(--dh-color-blue-700);--dh-color-background: var(--dh-color-white);--dh-color-foreground: var(--dh-color-black);--dh-color-grid-bg: var(--dh-color-background)}/*# sourceMappingURL=theme-light-palette.css.map */
|
|
12
|
-
`;var re=ce,R="default-dark",ve="default-light",he={"--dh-color-accent":"#4c7dee","--dh-color-background":"#1a171a"},j9="deephaven.themeCache",b=p.module("ThemeUtils"),B="dh-tmp";function se(){var l=getComputedStyle(document.body),e=Object.entries(he).map(o=>{var[a,c]=o;return"".concat(a,":").concat(l.getPropertyValue(a)||c)});return":root{".concat(e.join(";"),"}")}function ie(l){var e=new Set;return Object.values(l).forEach(o=>{_9(o).forEach(a=>{var[c,r]=a;e.add(o.substring(c,r+1))})}),e}function Ne(l,e){var o,a=e.custom.find(v=>v.themeKey===l),c=(o=a?.baseThemeKey)!==null&&o!==void 0?o:l,r=e.base.find(v=>v.themeKey===c);return r==null&&(b.error("No registered base theme found for theme key: '".concat(c,"'"),"Registered:",e.base.map(v=>v.themeKey),e.custom.map(v=>v.themeKey)),r=e.base.find(v=>v.themeKey===R),l7(r,"Default base theme '".concat(R,"' is not registered"))),b.debug("Applied themes:",r.themeKey,a?.themeKey),a==null?[r]:[r,a]}function Ae(){return[{name:"Default Dark",themeKey:R,styleContent:ae},{name:"Default Light",themeKey:ve,styleContent:re}]}function ne(){var l=localStorage.getItem(j9);try{return l==null?null:JSON.parse(l)}catch{}return null}function _9(l){for(var e=[],o="var(--",a=l.indexOf(o),c=0;a>-1;){c=1;for(var r=a+o.length;r<l.length;r+=1)if(l[r]==="("?c+=1:l[r]===")"&&(c-=1),c===0){e.push([a,r]);break}if(c!==0)return b.error("Unbalanced parentheses in css var expression",l),[];a=l.indexOf(o,r+1)}return e}function we(l){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,o=performance.now(),a=document.createElement("div");e.appendChild(a);var c=[...ie(l)];c.forEach((s,d)=>{var t="--".concat(B,"-").concat(d);a.style.setProperty(t,s)});var r={},v=window.getComputedStyle(a),i=s=>{var d="--".concat(B,"-").concat(c.indexOf(s)),t=v.getPropertyValue(d);return Q9.normalizeCssColor(t)};return Object.entries(l).forEach(s=>{var[d,t]=s;r[d]=te(i,t)}),a.remove(),b.debug("Resolved css variables",performance.now()-o,"ms"),r}function te(l,e){var o=[],a=0;return _9(e).forEach(c=>{var[r,v]=c;a<r&&(o.push(e.substring(a,r)),a+=r-a),o.push(l(e.substring(r,v+1))),a+=v-r+1}),o.length===0?e:o.join("")}function Se(l){localStorage.setItem(j9,JSON.stringify(l))}function Ce(l,e){return"".concat(l,"_").concat(e)}function de(){var l,e,o=(l=(e=ne())===null||e===void 0?void 0:e.preloadStyleContent)!==null&&l!==void 0?l:se();b.debug("Preloading theme content:","'".concat(o,"'"));var a=document.createElement("style");a.innerHTML=o,document.head.appendChild(a)}function G(l,e,o,a,c,r,v){try{var i=l[r](v),s=i.value}catch(d){o(d);return}i.done?e(s):Promise.resolve(s).then(a,c)}function me(l){return function(){var e=this,o=arguments;return new Promise(function(a,c){var r=l.apply(e,o);function v(s){G(r,a,c,v,i,"next",s)}function i(s){G(r,a,c,v,i,"throw",s)}v(void 0)})}}var C=p.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),fe=m.createContext(null);function ze(l){var{apiUrl:e,children:o,failureElement:a,setGlobally:c=!1}=l,[r,v]=m.useState(!0),[i,s]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=me(function*(){try{var y=(yield A(()=>import(e),[],import.meta.url)).default;C.info("API bootstrapped from",e),s(y),c&&(C.debug("API set globally"),globalThis.dh=y)}catch(f){C.error("Unable to bootstrap API",f)}v(!1)}),t.apply(this,arguments)}d()},[e,c]),r?h.jsx(I9,{}):i==null?a??h.jsxs(K7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[h.jsx(J7,{closeButton:!1,children:"Error: Unable to load API"}),h.jsx($7,{children:h.jsxs("p",{className:"text-break",children:["Ensure the server is running and you are able to reach ",e,", then refresh the page."]})})]}):h.jsx(fe.Provider,{value:i,children:o})}const D=new p7,I=new M7(D);function ue(){p.setLogLevel(parseInt("2",10)),D.enable(),I.enable(),window!=null&&(window.DHLog=p,window.DHLogProxy=D,window.DHLogHistory=I)}ue();de();const ge=q.lazy(()=>A(()=>import("./AppRoot-
|
|
13
|
-
//# sourceMappingURL=index-
|
|
12
|
+
`;var re=ce,R="default-dark",ve="default-light",he={"--dh-color-accent":"#4c7dee","--dh-color-background":"#1a171a"},j9="deephaven.themeCache",b=p.module("ThemeUtils"),B="dh-tmp";function se(){var l=getComputedStyle(document.body),e=Object.entries(he).map(o=>{var[a,c]=o;return"".concat(a,":").concat(l.getPropertyValue(a)||c)});return":root{".concat(e.join(";"),"}")}function ie(l){var e=new Set;return Object.values(l).forEach(o=>{_9(o).forEach(a=>{var[c,r]=a;e.add(o.substring(c,r+1))})}),e}function Ne(l,e){var o,a=e.custom.find(v=>v.themeKey===l),c=(o=a?.baseThemeKey)!==null&&o!==void 0?o:l,r=e.base.find(v=>v.themeKey===c);return r==null&&(b.error("No registered base theme found for theme key: '".concat(c,"'"),"Registered:",e.base.map(v=>v.themeKey),e.custom.map(v=>v.themeKey)),r=e.base.find(v=>v.themeKey===R),l7(r,"Default base theme '".concat(R,"' is not registered"))),b.debug("Applied themes:",r.themeKey,a?.themeKey),a==null?[r]:[r,a]}function Ae(){return[{name:"Default Dark",themeKey:R,styleContent:ae},{name:"Default Light",themeKey:ve,styleContent:re}]}function ne(){var l=localStorage.getItem(j9);try{return l==null?null:JSON.parse(l)}catch{}return null}function _9(l){for(var e=[],o="var(--",a=l.indexOf(o),c=0;a>-1;){c=1;for(var r=a+o.length;r<l.length;r+=1)if(l[r]==="("?c+=1:l[r]===")"&&(c-=1),c===0){e.push([a,r]);break}if(c!==0)return b.error("Unbalanced parentheses in css var expression",l),[];a=l.indexOf(o,r+1)}return e}function we(l){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,o=performance.now(),a=document.createElement("div");e.appendChild(a);var c=[...ie(l)];c.forEach((s,d)=>{var t="--".concat(B,"-").concat(d);a.style.setProperty(t,s)});var r={},v=window.getComputedStyle(a),i=s=>{var d="--".concat(B,"-").concat(c.indexOf(s)),t=v.getPropertyValue(d);return Q9.normalizeCssColor(t)};return Object.entries(l).forEach(s=>{var[d,t]=s;r[d]=te(i,t)}),a.remove(),b.debug("Resolved css variables",performance.now()-o,"ms"),r}function te(l,e){var o=[],a=0;return _9(e).forEach(c=>{var[r,v]=c;a<r&&(o.push(e.substring(a,r)),a+=r-a),o.push(l(e.substring(r,v+1))),a+=v-r+1}),o.length===0?e:o.join("")}function Se(l){localStorage.setItem(j9,JSON.stringify(l))}function Ce(l,e){return"".concat(l,"_").concat(e)}function de(){var l,e,o=(l=(e=ne())===null||e===void 0?void 0:e.preloadStyleContent)!==null&&l!==void 0?l:se();b.debug("Preloading theme content:","'".concat(o,"'"));var a=document.createElement("style");a.innerHTML=o,document.head.appendChild(a)}function G(l,e,o,a,c,r,v){try{var i=l[r](v),s=i.value}catch(d){o(d);return}i.done?e(s):Promise.resolve(s).then(a,c)}function me(l){return function(){var e=this,o=arguments;return new Promise(function(a,c){var r=l.apply(e,o);function v(s){G(r,a,c,v,i,"next",s)}function i(s){G(r,a,c,v,i,"throw",s)}v(void 0)})}}var C=p.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),fe=m.createContext(null);function ze(l){var{apiUrl:e,children:o,failureElement:a,setGlobally:c=!1}=l,[r,v]=m.useState(!0),[i,s]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=me(function*(){try{var y=(yield A(()=>import(e),[],import.meta.url)).default;C.info("API bootstrapped from",e),s(y),c&&(C.debug("API set globally"),globalThis.dh=y)}catch(f){C.error("Unable to bootstrap API",f)}v(!1)}),t.apply(this,arguments)}d()},[e,c]),r?h.jsx(I9,{}):i==null?a??h.jsxs(K7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[h.jsx(J7,{closeButton:!1,children:"Error: Unable to load API"}),h.jsx($7,{children:h.jsxs("p",{className:"text-break",children:["Ensure the server is running and you are able to reach ",e,", then refresh the page."]})})]}):h.jsx(fe.Provider,{value:i,children:o})}const D=new p7,I=new M7(D);function ue(){p.setLogLevel(parseInt("2",10)),D.enable(),I.enable(),window!=null&&(window.DHLog=p,window.DHLogProxy=D,window.DHLogHistory=I)}ue();de();const ge=q.lazy(()=>A(()=>import("./AppRoot-e4b51b3e.js"),["./AppRoot-e4b51b3e.js","./vendor-9bc0b4ef.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./monaco-1410cbed.js","./monaco-f18fde03.css","./ControlType-19f7d4f3.js","./PluginTypes-2b0ef082.js","./plotly-26031571.js","./PluginTypes-4fa2b596.css","./ControlType-3aa85c8c.css","./useUser-da266903.js","./useUser-c9d433e2.css","./AppRoot-f1d8a33b.css"],import.meta.url)),He=q.lazy(async()=>({default:(await A(()=>import("./index-9826fe01.js"),["./index-9826fe01.js","./vendor-9bc0b4ef.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./PluginTypes-2b0ef082.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-26031571.js","./PluginTypes-4fa2b596.css","./useUser-da266903.js","./useUser-c9d433e2.css","./IrisGridModelFactory-6d7566dc.js","./IrisGridModelFactory-e41c0076.css","./index-a1383ce4.css"],import.meta.url)).AppBootstrap})),j=new URL("../jsapi/dh-core.js",document.baseURI),pe=new URL("../js-plugins",document.baseURI);async function Ve(){const l=await A(()=>import("./index-aca484e9.js"),["./index-aca484e9.js","./vendor-9bc0b4ef.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./ControlType-19f7d4f3.js","./PluginTypes-2b0ef082.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-26031571.js","./PluginTypes-4fa2b596.css","./ControlType-3aa85c8c.css","./IrisGridModelFactory-6d7566dc.js","./IrisGridModelFactory-e41c0076.css","./index-3a4b98e5.css"],import.meta.url),{GridPluginConfig:e,PandasPluginConfig:o,ChartPluginConfig:a,ChartBuilderPluginConfig:c,FilterPluginConfig:r,MarkdownPluginConfig:v,LinkerPluginConfig:i,WidgetLoaderPluginConfig:s}=l;return[e,o,a,c,r,v,i,s]}_.render(h.jsx(ze,{apiUrl:j.href,setGlobally:!0,children:h.jsx(m.Suspense,{fallback:h.jsx(I9,{}),children:h.jsx(He,{getCorePlugins:Ve,serverUrl:j.origin,pluginsUrl:pe.href,children:h.jsx(ge,{})})})}),document.getElementById("root"));export{Ce as $,V9 as A,z9 as B,I6 as C,Z9 as D,T1 as E,Q7 as F,I9 as G,Y9 as H,S9 as I,D2 as J,$ as K,p as L,K7 as M,m6 as N,Ae as O,ne as P,R as Q,Ne as R,se as S,k as T,Se as U,ve as V,he as W,j9 as X,B as Y,ie as Z,_9 as _,D4 as a,y9 as a$,de as a0,we as a1,te as a2,ae as a3,re as a4,ze as a5,fe as a6,ye as a7,E as a8,q0 as a9,u9 as aA,H4 as aB,R0 as aC,p9 as aD,e9 as aE,u1 as aF,i9 as aG,F2 as aH,T2 as aI,W5 as aJ,B9 as aK,d0 as aL,h9 as aM,xe as aN,Q9 as aO,l9 as aP,D6 as aQ,o7 as aR,V8 as aS,w9 as aT,N9 as aU,a0 as aV,A9 as aW,c9 as aX,z0 as aY,x9 as aZ,b9 as a_,I8 as aa,W2 as ab,n6 as ac,g9 as ad,_2 as ae,d4 as af,R9 as ag,m4 as ah,f9 as ai,i5 as aj,Y2 as ak,Q5 as al,C6 as am,o9 as an,X5 as ao,k4 as ap,a2 as aq,k6 as ar,e5 as as,e8 as at,y6 as au,k0 as av,D9 as aw,B6 as ax,G6 as ay,r1 as az,J7 as b,T9 as b0,U2 as b1,j0 as b2,$5 as b3,K5 as b4,F3 as b5,O2 as b6,P2 as b7,G5 as b8,B5 as b9,U9 as ba,r9 as bb,I5 as bc,H9 as bd,h0 as be,Z4 as bf,l2 as bg,s9 as bh,s3 as bi,k3 as bj,P8 as bk,l1 as bl,r5 as bm,K8 as bn,b8 as bo,y0 as bp,_0 as bq,$7 as c,h5 as d,l7 as e,v5 as f,t9 as g,O9 as h,F9 as i,o1 as j,C5 as k,I as l,T4 as m,t8 as n,b4 as o,n9 as p,E9 as q,L0 as r,o6 as s,c0 as t,a9 as u,u8 as v,a8 as w,r2 as x,s2 as y,n2 as z};
|
|
13
|
+
//# sourceMappingURL=index-81fc0d6a.js.map
|