@deephaven/code-studio 0.55.0 → 0.55.1-beta.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-20a326c5.js → AppRoot-5eebed52.js} +3 -3
- package/build/assets/{AppRoot-20a326c5.js.map → AppRoot-5eebed52.js.map} +1 -1
- package/build/assets/{ControlType-062bf38d.js → ControlType-58330610.js} +2 -2
- package/build/assets/{ControlType-062bf38d.js.map → ControlType-58330610.js.map} +1 -1
- package/build/assets/{FontBootstrap-1b53d220.js → FontBootstrap-ee11a333.js} +2 -2
- package/build/assets/{FontBootstrap-1b53d220.js.map → FontBootstrap-ee11a333.js.map} +1 -1
- package/build/assets/{IrisGrid-a94f959b.js → IrisGrid-c3f117a4.js} +3 -3
- package/build/assets/{IrisGrid-a94f959b.js.map → IrisGrid-c3f117a4.js.map} +1 -1
- package/build/assets/{IrisGridModelFactory-b1167669.js → IrisGridModelFactory-9dfadcff.js} +2 -2
- package/build/assets/{IrisGridModelFactory-b1167669.js.map → IrisGridModelFactory-9dfadcff.js.map} +1 -1
- package/build/assets/{StyleGuideRoot-302c2e3d.js → StyleGuideRoot-c8e71114.js} +2 -2
- package/build/assets/{StyleGuideRoot-302c2e3d.js.map → StyleGuideRoot-c8e71114.js.map} +1 -1
- package/build/assets/{index-1e7ff795.js → index-33d63452.js} +2 -2
- package/build/assets/{index-1e7ff795.js.map → index-33d63452.js.map} +1 -1
- package/build/assets/{index-2e7ddd59.js → index-4c9e284e.js} +2 -2
- package/build/assets/{index-2e7ddd59.js.map → index-4c9e284e.js.map} +1 -1
- package/build/assets/{index-26f5375f.js → index-7ee3961d.js} +2 -2
- package/build/assets/{index-26f5375f.js.map → index-7ee3961d.js.map} +1 -1
- package/build/assets/{usePlugins-fe400a07.js → usePlugins-2f8c5bde.js} +2 -2
- package/build/assets/{usePlugins-fe400a07.js.map → usePlugins-2f8c5bde.js.map} +1 -1
- package/build/assets/{useUser-46c1575f.js → useUser-8bec1305.js} +2 -2
- package/build/assets/{useUser-46c1575f.js.map → useUser-8bec1305.js.map} +1 -1
- package/build/index.html +1 -1
- package/package.json +31 -31
|
@@ -10,5 +10,5 @@ import{_ as A}from"./monaco-1410cbed.js";import{E as $9,r as m,R as q,C as h,D a
|
|
|
10
10
|
`,re=`: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 */
|
|
11
11
|
`;var ve=[ee,oe,le,ae,ce,re].join(`
|
|
12
12
|
`);const he=`: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 */
|
|
13
|
-
`;var se=he,k="default-dark",ie="default-light",ne={"--dh-color-accent":"#4c7dee","--dh-color-background":"#1a171a"},_9="deephaven.themeCache",b=p.module("ThemeUtils"),q9="var(--",B="dh-tmp",te=/\S/,G=/\s/;function de(){var o=getComputedStyle(document.body),e=Object.entries(ne).map(l=>{var[a,c]=l;return"".concat(a,":").concat(o.getPropertyValue(a)||c)});return":root{".concat(e.join(";"),"}")}function me(o){var e=new Set;return Object.values(o).forEach(l=>{W9(l).forEach(a=>{var[c,r]=a,v=l.substring(c,r+1);v.includes(q9)&&e.add(v)})}),e}function Ce(o,e){var l,a=e.custom.find(v=>v.themeKey===o),c=(l=a?.baseThemeKey)!==null&&l!==void 0?l:o,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===k),c7(r,"Default base theme '".concat(k,"' is not registered"))),b.debug("Applied themes:",r.themeKey,a?.themeKey),a==null?[r]:[r,a]}function Ze(){return[{name:"Default Dark",themeKey:k,styleContent:ve},{name:"Default Light",themeKey:ie,styleContent:se}]}function fe(){var o=localStorage.getItem(_9);try{return o==null?null:JSON.parse(o)}catch{}return null}function W9(o){for(var e,l,a=[],c=(e=(l=te.exec(o))===null||l===void 0?void 0:l.index)!==null&&e!==void 0?e:0,r=0,v=0;v<o.length;v+=1)if(o[v]==="("?r+=1:o[v]===")"&&(r-=1),v===o.length-1||G.test(o[v+1])&&r===0){for(a.push([c,v]);v<o.length-1&&G.test(o[v+1]);)v+=1;c=v+1}return r!==0?(b.error("Unbalanced parentheses in css var expression",o),[]):a}function Re(o){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,l=performance.now(),a=document.createElement("div");e.appendChild(a);var c=[...me(o)];c.forEach((i,d)=>{var t="--".concat(B,"-").concat(d);a.style.setProperty(t,i)});var r={},v=window.getComputedStyle(a),s=i=>{var d="--".concat(B,"-").concat(c.indexOf(i)),t=v.getPropertyValue(d);return Y9.normalizeCssColor(t)};return Object.entries(o).forEach(i=>{var[d,t]=i;r[d]=ze(s,t)}),a.remove(),b.debug("Resolved css variables",performance.now()-l,"ms"),r}function ze(o,e){var l=[],a=0;return W9(e).forEach(c=>{var[r,v]=c;a<r&&(l.push(e.substring(a,r)),a+=r-a);var s=e.substring(r,v+1);l.push(s.includes(q9)?o(s):s),a+=v-r+1}),l.length===0?e:l.join("")}function ke(o){localStorage.setItem(_9,JSON.stringify(o))}function Ee(o,e){return"".concat(o,"_").concat(e)}function ue(){var o,e,l=(o=(e=fe())===null||e===void 0?void 0:e.preloadStyleContent)!==null&&o!==void 0?o:de();b.debug("Preloading theme content:","'".concat(l,"'"));var a=document.createElement("style");a.innerHTML=l,document.head.appendChild(a)}function I(o,e,l,a,c,r,v){try{var s=o[r](v),i=s.value}catch(d){l(d);return}s.done?e(i):Promise.resolve(i).then(a,c)}function ge(o){return function(){var e=this,l=arguments;return new Promise(function(a,c){var r=o.apply(e,l);function v(i){I(r,a,c,v,s,"next",i)}function s(i){I(r,a,c,v,s,"throw",i)}v(void 0)})}}var C=p.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),He=m.createContext(null);function pe(o){var{apiUrl:e,children:l,failureElement:a,setGlobally:c=!1}=o,[r,v]=m.useState(!0),[s,i]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=ge(function*(){try{var y=(yield A(()=>import(e),[],import.meta.url)).default;C.info("API bootstrapped from",e),i(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(j9,{}):s==null?a??h.jsxs(J7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[h.jsx(X7,{closeButton:!1,children:"Error: Unable to load API"}),h.jsx(Q7,{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(He.Provider,{value:s,children:l})}const E=new L7,j=new y7(E);function Ve(){p.setLogLevel(parseInt("2",10)),E.enable(),j.enable(),window!=null&&(window.DHLog=p,window.DHLogProxy=E,window.DHLogHistory=j)}Ve();ue();const Le=W.lazy(()=>A(()=>import("./AppRoot-
|
|
14
|
-
//# sourceMappingURL=index-
|
|
13
|
+
`;var se=he,k="default-dark",ie="default-light",ne={"--dh-color-accent":"#4c7dee","--dh-color-background":"#1a171a"},_9="deephaven.themeCache",b=p.module("ThemeUtils"),q9="var(--",B="dh-tmp",te=/\S/,G=/\s/;function de(){var o=getComputedStyle(document.body),e=Object.entries(ne).map(l=>{var[a,c]=l;return"".concat(a,":").concat(o.getPropertyValue(a)||c)});return":root{".concat(e.join(";"),"}")}function me(o){var e=new Set;return Object.values(o).forEach(l=>{W9(l).forEach(a=>{var[c,r]=a,v=l.substring(c,r+1);v.includes(q9)&&e.add(v)})}),e}function Ce(o,e){var l,a=e.custom.find(v=>v.themeKey===o),c=(l=a?.baseThemeKey)!==null&&l!==void 0?l:o,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===k),c7(r,"Default base theme '".concat(k,"' is not registered"))),b.debug("Applied themes:",r.themeKey,a?.themeKey),a==null?[r]:[r,a]}function Ze(){return[{name:"Default Dark",themeKey:k,styleContent:ve},{name:"Default Light",themeKey:ie,styleContent:se}]}function fe(){var o=localStorage.getItem(_9);try{return o==null?null:JSON.parse(o)}catch{}return null}function W9(o){for(var e,l,a=[],c=(e=(l=te.exec(o))===null||l===void 0?void 0:l.index)!==null&&e!==void 0?e:0,r=0,v=0;v<o.length;v+=1)if(o[v]==="("?r+=1:o[v]===")"&&(r-=1),v===o.length-1||G.test(o[v+1])&&r===0){for(a.push([c,v]);v<o.length-1&&G.test(o[v+1]);)v+=1;c=v+1}return r!==0?(b.error("Unbalanced parentheses in css var expression",o),[]):a}function Re(o){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,l=performance.now(),a=document.createElement("div");e.appendChild(a);var c=[...me(o)];c.forEach((i,d)=>{var t="--".concat(B,"-").concat(d);a.style.setProperty(t,i)});var r={},v=window.getComputedStyle(a),s=i=>{var d="--".concat(B,"-").concat(c.indexOf(i)),t=v.getPropertyValue(d);return Y9.normalizeCssColor(t)};return Object.entries(o).forEach(i=>{var[d,t]=i;r[d]=ze(s,t)}),a.remove(),b.debug("Resolved css variables",performance.now()-l,"ms"),r}function ze(o,e){var l=[],a=0;return W9(e).forEach(c=>{var[r,v]=c;a<r&&(l.push(e.substring(a,r)),a+=r-a);var s=e.substring(r,v+1);l.push(s.includes(q9)?o(s):s),a+=v-r+1}),l.length===0?e:l.join("")}function ke(o){localStorage.setItem(_9,JSON.stringify(o))}function Ee(o,e){return"".concat(o,"_").concat(e)}function ue(){var o,e,l=(o=(e=fe())===null||e===void 0?void 0:e.preloadStyleContent)!==null&&o!==void 0?o:de();b.debug("Preloading theme content:","'".concat(l,"'"));var a=document.createElement("style");a.innerHTML=l,document.head.appendChild(a)}function I(o,e,l,a,c,r,v){try{var s=o[r](v),i=s.value}catch(d){l(d);return}s.done?e(i):Promise.resolve(i).then(a,c)}function ge(o){return function(){var e=this,l=arguments;return new Promise(function(a,c){var r=o.apply(e,l);function v(i){I(r,a,c,v,s,"next",i)}function s(i){I(r,a,c,v,s,"throw",i)}v(void 0)})}}var C=p.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),He=m.createContext(null);function pe(o){var{apiUrl:e,children:l,failureElement:a,setGlobally:c=!1}=o,[r,v]=m.useState(!0),[s,i]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=ge(function*(){try{var y=(yield A(()=>import(e),[],import.meta.url)).default;C.info("API bootstrapped from",e),i(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(j9,{}):s==null?a??h.jsxs(J7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[h.jsx(X7,{closeButton:!1,children:"Error: Unable to load API"}),h.jsx(Q7,{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(He.Provider,{value:s,children:l})}const E=new L7,j=new y7(E);function Ve(){p.setLogLevel(parseInt("2",10)),E.enable(),j.enable(),window!=null&&(window.DHLog=p,window.DHLogProxy=E,window.DHLogHistory=j)}Ve();ue();const Le=W.lazy(()=>A(()=>import("./AppRoot-5eebed52.js").then(o=>o.A),["./AppRoot-5eebed52.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./monaco-1410cbed.js","./monaco-f18fde03.css","./usePlugins-2f8c5bde.js","./plotly-1c1a0e42.js","./usePlugins-c14e8ab1.css","./useUser-8bec1305.js","./useUser-c9d433e2.css","./ControlType-58330610.js","./ControlType-62f56221.css","./AppRoot-f1d8a33b.css"],import.meta.url)),Me=W.lazy(async()=>({default:(await A(()=>import("./index-33d63452.js"),["./index-33d63452.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./FontBootstrap-ee11a333.js","./usePlugins-2f8c5bde.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-1c1a0e42.js","./usePlugins-c14e8ab1.css","./IrisGrid-c3f117a4.js","./IrisGrid-454c0412.css","./FontBootstrap-47bc3788.css","./useUser-8bec1305.js","./useUser-c9d433e2.css","./IrisGridModelFactory-9dfadcff.js","./IrisGridModelFactory-6fab2394.css","./index-c2f54f04.css"],import.meta.url)).AppBootstrap})),_=new URL("../jsapi/dh-core.js",document.baseURI),be=new URL("../js-plugins",document.baseURI);async function ye(){const o=await A(()=>import("./index-4c9e284e.js"),["./index-4c9e284e.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./usePlugins-2f8c5bde.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-1c1a0e42.js","./usePlugins-c14e8ab1.css","./ControlType-58330610.js","./ControlType-62f56221.css","./IrisGrid-c3f117a4.js","./IrisGrid-454c0412.css","./IrisGridModelFactory-9dfadcff.js","./IrisGridModelFactory-6fab2394.css","./index-3a4b98e5.css"],import.meta.url),{GridPluginConfig:e,PandasPluginConfig:l,ChartPluginConfig:a,ChartBuilderPluginConfig:c,FilterPluginConfig:r,MarkdownPluginConfig:v,LinkerPluginConfig:s,WidgetLoaderPluginConfig:i}=o;return[e,l,a,c,r,v,s,i]}q.render(h.jsx(pe,{apiUrl:_.href,setGlobally:!0,children:h.jsx(m.Suspense,{fallback:h.jsx(j9,{}),children:h.jsx(Me,{getCorePlugins:ye,serverUrl:_.origin,pluginsUrl:be.href,children:h.jsx(Le,{})})})}),document.getElementById("root"));export{fe as $,L9 as A,u9 as B,j6 as C,R9 as D,F1 as E,Y7 as F,j9 as G,o7 as H,J as I,f6 as J,q9 as K,p as L,J7 as M,k as N,ie as O,ne as P,te as Q,_9 as R,B as S,R as T,de as U,me as V,G as W,Ce as X,Ze as Y,W9 as Z,Ee as _,D4 as a,K5 as a$,ue as a0,Re as a1,ze as a2,ke as a3,ve as a4,se as a5,pe as a6,He as a7,we as a8,D as a9,I6 as aA,v1 as aB,g9 as aC,p4 as aD,E0 as aE,V9 as aF,o9 as aG,g1 as aH,n9 as aI,O2 as aJ,$8 as aK,q0 as aL,Y9 as aM,Se as aN,T9 as aO,p2 as aP,e9 as aQ,s8 as aR,X9 as aS,G0 as aT,B5 as aU,R6 as aV,t0 as aW,x0 as aX,U2 as aY,C9 as aZ,F2 as a_,W0 as aa,j8 as ab,K2 as ac,t6 as ad,H9 as ae,q2 as af,m4 as ag,E9 as ah,f4 as ai,z9 as aj,n5 as ak,e1 as al,X5 as am,Z6 as an,l9 as ao,Y5 as ap,k4 as aq,D2 as ar,c2 as as,k6 as at,o5 as au,o8 as av,x6 as aw,k0 as ax,D9 as ay,G6 as az,X7 as b,G9 as b0,m0 as b1,s9 as b2,a9 as b3,D6 as b4,a7 as b5,L8 as b6,S9 as b7,A9 as b8,c0 as b9,a1 as bA,v5 as bB,y8 as bC,w9 as ba,r9 as bb,u0 as bc,N9 as bd,y9 as be,x9 as bf,F9 as bg,B2 as bh,_0 as bi,J5 as bj,$5 as bk,O3 as bl,T2 as bm,I5 as bn,G5 as bo,B9 as bp,v9 as bq,j5 as br,p9 as bs,s0 as bt,R4 as bu,a2 as bv,i9 as bw,i3 as bx,k3 as by,T8 as bz,Q7 as c,s5 as d,c7 as e,h5 as f,d9 as g,U9 as h,O9 as i,l1 as j,Z5 as k,j as l,F4 as m,d8 as n,y4 as o,t9 as p,P9 as q,M0 as r,l6 as s,r0 as t,c9 as u,g8 as v,c8 as w,v2 as x,i2 as y,t2 as z};
|
|
14
|
+
//# sourceMappingURL=index-7ee3961d.js.map
|