@deephaven/code-studio 0.55.1-beta.8 → 0.55.1-beta.9
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-cf2ce44e.js → AppRoot-e1979dc8.js} +3 -3
- package/build/assets/{AppRoot-cf2ce44e.js.map → AppRoot-e1979dc8.js.map} +1 -1
- package/build/assets/{ControlType-5773aa8a.js → ControlType-887185d2.js} +2 -2
- package/build/assets/{ControlType-5773aa8a.js.map → ControlType-887185d2.js.map} +1 -1
- package/build/assets/{FontBootstrap-dbbf3151.js → FontBootstrap-16162a1f.js} +2 -2
- package/build/assets/{FontBootstrap-dbbf3151.js.map → FontBootstrap-16162a1f.js.map} +1 -1
- package/build/assets/{IrisGrid-39dc53f7.js → IrisGrid-8b8c4b8a.js} +2 -2
- package/build/assets/{IrisGrid-39dc53f7.js.map → IrisGrid-8b8c4b8a.js.map} +1 -1
- package/build/assets/{IrisGridModelFactory-23495009.js → IrisGridModelFactory-a9393b9d.js} +2 -2
- package/build/assets/{IrisGridModelFactory-23495009.js.map → IrisGridModelFactory-a9393b9d.js.map} +1 -1
- package/build/assets/{StyleGuideRoot-771bba92.js → StyleGuideRoot-c6ab5176.js} +9 -9
- package/build/assets/StyleGuideRoot-c6ab5176.js.map +1 -0
- package/build/assets/{index-4535972b.js → index-6f46dfd8.js} +2 -2
- package/build/assets/{index-4535972b.js.map → index-6f46dfd8.js.map} +1 -1
- package/build/assets/{index-4705b8ba.js → index-cd5250d0.js} +2 -2
- package/build/assets/{index-4705b8ba.js.map → index-cd5250d0.js.map} +1 -1
- package/build/assets/{index-cb67ae4c.js → index-f4710cef.js} +2 -2
- package/build/assets/{index-cb67ae4c.js.map → index-f4710cef.js.map} +1 -1
- package/build/assets/usePlugins-94cbed77.js +3 -0
- package/build/assets/usePlugins-94cbed77.js.map +1 -0
- package/build/assets/{useUser-e62b9fe3.js → useUser-e63ec0fe.js} +2 -2
- package/build/assets/{useUser-e62b9fe3.js.map → useUser-e63ec0fe.js.map} +1 -1
- package/build/index.html +1 -1
- package/package.json +31 -31
- package/build/assets/StyleGuideRoot-771bba92.js.map +0 -1
- package/build/assets/usePlugins-7c6014b7.js +0 -3
- package/build/assets/usePlugins-7c6014b7.js.map +0 -1
|
@@ -10,5 +10,5 @@ import{_ as A}from"./monaco-1410cbed.js";import{E as Q9,r as m,R as q,C as s,D a
|
|
|
10
10
|
`,so=`:root{--dh-color-loading-spinner-primary: var(--dh-color-accent-default-bg);--dh-color-loading-spinner-secondary: hsla(var(--dh-color-gray-800-hsl), 0.5);--dh-color-quickactions-bg: hsla(var(--dh-color-visual-gray-hsl), 0.9);--dh-color-radial-reaction: hsla(var(--dh-color-visual-gray-hsl), 0.6);--dh-color-colorpicker-border: hsla(var(--dh-color-visual-gray-hsl), 0.1);--dh-color-search-icon: var(--dh-color-foreground);--dh-color-form-control-error: hsl(var(--dh-color-visual-negative-hsl));--dh-color-form-control-error-shadow: hsla( var(--dh-color-visual-negative-hsl), 0.25 );--dh-color-selector-fg: hsla(var(--dh-color-gray-800-hsl), 0.4);--dh-color-selector-hover-fg: hsl(var(--dh-color-gray-800-hsl));--dh-color-selector-disabled-fg: hsla( var(--dh-color-gray-800-hsl), /* * Other dropdowns have opacity .4 when not hovered and then an additional * .65 opacity applied to disabled, hence .4 * .65 == .26 */ 0.26 )}/*# sourceMappingURL=theme-dark-components.css.map */
|
|
11
11
|
`;var vo=[eo,ro,ao,co,ho,so].join(`
|
|
12
12
|
`);const io=`: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-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 no=io,R="default-dark",to="default-light",_9={"--dh-color-loading-spinner-primary":"#3b6bda","--dh-color-loading-spinner-secondary":"#f0f0ee80","--dh-color-background":"#1a171a","--dh-color-foreground":"#f0f0ee"},mo={"--dh-svg-icon-select-indicator":"--dh-color-selector-fg","--dh-svg-icon-select-indicator-hover":"--dh-color-selector-hover-fg","--dh-svg-icon-select-indicator-disabled":"--dh-color-selector-disabled-fg","--dh-svg-icon-error":"--dh-color-form-control-error"},q9="deephaven.themeCache",b=H.module("ThemeUtils"),W9="var(--",B="dh-tmp",fo=/\S/,G=/\s/;function zo(){var l=K9(document.body),o=Object.keys(_9).map(e=>"".concat(e,":").concat(l(e)));return":root{".concat(o.join(";"),"}")}function K9(l){var o=getComputedStyle(l);return function(r){var a,c=o.getPropertyValue(r);return c!==""?c:(a=_9[r])!==null&&a!==void 0?a:""}}function uo(l){var o=new Set;return Object.values(l).forEach(e=>{$9(e).forEach(r=>{var[a,c]=r,h=e.substring(a,c+1);h.includes(W9)&&o.add(h)})}),o}function Eo(l,o){var e,r=o.custom.find(h=>h.themeKey===l),a=(e=r?.baseThemeKey)!==null&&e!==void 0?e:l,c=o.base.find(h=>h.themeKey===a);return c==null&&(b.error("No registered base theme found for theme key: '".concat(a,"'"),"Registered:",o.base.map(h=>h.themeKey),o.custom.map(h=>h.themeKey)),c=o.base.find(h=>h.themeKey===R),h7(c,"Default base theme '".concat(R,"' is not registered"))),b.debug("Applied themes:",c.themeKey,r?.themeKey),r==null?[c]:[c,r]}function Do(){return[{name:"Default Dark",themeKey:R,styleContent:vo},{name:"Default Light",themeKey:to,styleContent:no}]}function go(){var l=localStorage.getItem(q9);try{return l==null?null:JSON.parse(l)}catch{}return null}function $9(l){for(var o,e,r=[],a=(o=(e=fo.exec(l))===null||e===void 0?void 0:e.index)!==null&&o!==void 0?o:0,c=0,h=0;h<l.length;h+=1)if(l[h]==="("?c+=1:l[h]===")"&&(c-=1),h===l.length-1||G.test(l[h+1])&&c===0){for(r.push([a,h]);h<l.length-1&&G.test(l[h+1]);)h+=1;a=h+1}return c!==0?(b.error("Unbalanced parentheses in css var expression",l),[]):r}function po(l,o){return l.replace(/fill='.*?'/,"fill='".concat(encodeURIComponent(o),"'"))}function Po(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,e=performance.now(),r=document.createElement("div");o.appendChild(r);var a=[...uo(l)];a.forEach((i,d)=>{var t="--".concat(B,"-").concat(d);r.style.setProperty(t,i)});var c={},h=window.getComputedStyle(r),v=i=>{var d="--".concat(B,"-").concat(a.indexOf(i)),t=h.getPropertyValue(d);return l7.normalizeCssColor(t)};return Object.entries(l).forEach(i=>{var[d,t]=i;c[d]=Ho(v,t)}),r.remove(),b.debug("Resolved css variables",performance.now()-e,"ms"),c}function Ho(l,o){var e=[],r=0;return $9(o).forEach(a=>{var[c,h]=a;r<c&&(e.push(o.substring(r,c)),r+=c-r);var v=o.substring(c,h+1);e.push(v.includes(W9)?l(v):v),r+=h-c+1}),e.length===0?o:e.join("")}function To(l){localStorage.setItem(q9,JSON.stringify(l))}function Fo(l,o){return"".concat(l,"_").concat(o)}function Vo(){var l,o,e=(l=(o=go())===null||o===void 0?void 0:o.preloadStyleContent)!==null&&l!==void 0?l:zo();b.debug("Preloading theme content:","'".concat(e,"'"));var r=document.createElement("style");r.innerHTML=e,document.head.appendChild(r)}function Oo(){var l=K9(document.body);Object.entries(mo).forEach(o=>{var[e,r]=o;document.body.style.removeProperty(e);var a=l(e),c=l(r),h=po(a,c);document.body.style.setProperty(e,h)})}function I(l,o,e,r,a,c,h){try{var v=l[c](h),i=v.value}catch(d){e(d);return}v.done?o(i):Promise.resolve(i).then(r,a)}function Lo(l){return function(){var o=this,e=arguments;return new Promise(function(r,a){var c=l.apply(o,e);function h(i){I(c,r,a,h,v,"next",i)}function v(i){I(c,r,a,h,v,"throw",i)}h(void 0)})}}var C=H.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),Mo=m.createContext(null);function bo(l){var{apiUrl:o,children:e,failureElement:r,setGlobally:a=!1}=l,[c,h]=m.useState(!0),[v,i]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=Lo(function*(){try{var y=(yield A(()=>import(o),[],import.meta.url)).default;C.info("API bootstrapped from",o),i(y),a&&(C.debug("API set globally"),globalThis.dh=y)}catch(f){C.error("Unable to bootstrap API",f)}h(!1)}),t.apply(this,arguments)}d()},[o,a]),c?s.jsx(j9,{}):v==null?r??s.jsxs(X7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[s.jsx(oo,{closeButton:!1,children:"Error: Unable to load API"}),s.jsx(Y7,{children:s.jsxs("p",{className:"text-break",children:["Ensure the server is running and you are able to reach ",o,", then refresh the page."]})})]}):s.jsx(Mo.Provider,{value:v,children:e})}const E=new b7,j=new N7(E);function yo(){H.setLogLevel(parseInt("2",10)),E.enable(),j.enable(),window!=null&&(window.DHLog=H,window.DHLogProxy=E,window.DHLogHistory=j)}yo();Vo();const xo=W.lazy(()=>A(()=>import("./AppRoot-
|
|
14
|
-
//# sourceMappingURL=index-
|
|
13
|
+
`;var no=io,R="default-dark",to="default-light",_9={"--dh-color-loading-spinner-primary":"#3b6bda","--dh-color-loading-spinner-secondary":"#f0f0ee80","--dh-color-background":"#1a171a","--dh-color-foreground":"#f0f0ee"},mo={"--dh-svg-icon-select-indicator":"--dh-color-selector-fg","--dh-svg-icon-select-indicator-hover":"--dh-color-selector-hover-fg","--dh-svg-icon-select-indicator-disabled":"--dh-color-selector-disabled-fg","--dh-svg-icon-error":"--dh-color-form-control-error"},q9="deephaven.themeCache",b=H.module("ThemeUtils"),W9="var(--",B="dh-tmp",fo=/\S/,G=/\s/;function zo(){var l=K9(document.body),o=Object.keys(_9).map(e=>"".concat(e,":").concat(l(e)));return":root{".concat(o.join(";"),"}")}function K9(l){var o=getComputedStyle(l);return function(r){var a,c=o.getPropertyValue(r);return c!==""?c:(a=_9[r])!==null&&a!==void 0?a:""}}function uo(l){var o=new Set;return Object.values(l).forEach(e=>{$9(e).forEach(r=>{var[a,c]=r,h=e.substring(a,c+1);h.includes(W9)&&o.add(h)})}),o}function Eo(l,o){var e,r=o.custom.find(h=>h.themeKey===l),a=(e=r?.baseThemeKey)!==null&&e!==void 0?e:l,c=o.base.find(h=>h.themeKey===a);return c==null&&(b.error("No registered base theme found for theme key: '".concat(a,"'"),"Registered:",o.base.map(h=>h.themeKey),o.custom.map(h=>h.themeKey)),c=o.base.find(h=>h.themeKey===R),h7(c,"Default base theme '".concat(R,"' is not registered"))),b.debug("Applied themes:",c.themeKey,r?.themeKey),r==null?[c]:[c,r]}function Do(){return[{name:"Default Dark",themeKey:R,styleContent:vo},{name:"Default Light",themeKey:to,styleContent:no}]}function go(){var l=localStorage.getItem(q9);try{return l==null?null:JSON.parse(l)}catch{}return null}function $9(l){for(var o,e,r=[],a=(o=(e=fo.exec(l))===null||e===void 0?void 0:e.index)!==null&&o!==void 0?o:0,c=0,h=0;h<l.length;h+=1)if(l[h]==="("?c+=1:l[h]===")"&&(c-=1),h===l.length-1||G.test(l[h+1])&&c===0){for(r.push([a,h]);h<l.length-1&&G.test(l[h+1]);)h+=1;a=h+1}return c!==0?(b.error("Unbalanced parentheses in css var expression",l),[]):r}function po(l,o){return l.replace(/fill='.*?'/,"fill='".concat(encodeURIComponent(o),"'"))}function Po(l){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document.body,e=performance.now(),r=document.createElement("div");o.appendChild(r);var a=[...uo(l)];a.forEach((i,d)=>{var t="--".concat(B,"-").concat(d);r.style.setProperty(t,i)});var c={},h=window.getComputedStyle(r),v=i=>{var d="--".concat(B,"-").concat(a.indexOf(i)),t=h.getPropertyValue(d);return l7.normalizeCssColor(t)};return Object.entries(l).forEach(i=>{var[d,t]=i;c[d]=Ho(v,t)}),r.remove(),b.debug("Resolved css variables",performance.now()-e,"ms"),c}function Ho(l,o){var e=[],r=0;return $9(o).forEach(a=>{var[c,h]=a;r<c&&(e.push(o.substring(r,c)),r+=c-r);var v=o.substring(c,h+1);e.push(v.includes(W9)?l(v):v),r+=h-c+1}),e.length===0?o:e.join("")}function To(l){localStorage.setItem(q9,JSON.stringify(l))}function Fo(l,o){return"".concat(l,"_").concat(o)}function Vo(){var l,o,e=(l=(o=go())===null||o===void 0?void 0:o.preloadStyleContent)!==null&&l!==void 0?l:zo();b.debug("Preloading theme content:","'".concat(e,"'"));var r=document.createElement("style");r.innerHTML=e,document.head.appendChild(r)}function Oo(){var l=K9(document.body);Object.entries(mo).forEach(o=>{var[e,r]=o;document.body.style.removeProperty(e);var a=l(e),c=l(r),h=po(a,c);document.body.style.setProperty(e,h)})}function I(l,o,e,r,a,c,h){try{var v=l[c](h),i=v.value}catch(d){e(d);return}v.done?o(i):Promise.resolve(i).then(r,a)}function Lo(l){return function(){var o=this,e=arguments;return new Promise(function(r,a){var c=l.apply(o,e);function h(i){I(c,r,a,h,v,"next",i)}function v(i){I(c,r,a,h,v,"throw",i)}h(void 0)})}}var C=H.module("@deephaven/jsapi-bootstrap.ApiBootstrap"),Mo=m.createContext(null);function bo(l){var{apiUrl:o,children:e,failureElement:r,setGlobally:a=!1}=l,[c,h]=m.useState(!0),[v,i]=m.useState();return m.useEffect(()=>{function d(){return t.apply(this,arguments)}function t(){return t=Lo(function*(){try{var y=(yield A(()=>import(o),[],import.meta.url)).default;C.info("API bootstrapped from",o),i(y),a&&(C.debug("API set globally"),globalThis.dh=y)}catch(f){C.error("Unable to bootstrap API",f)}h(!1)}),t.apply(this,arguments)}d()},[o,a]),c?s.jsx(j9,{}):v==null?r??s.jsxs(X7,{isOpen:!0,className:"modal-dialog-centered theme-bg-light",children:[s.jsx(oo,{closeButton:!1,children:"Error: Unable to load API"}),s.jsx(Y7,{children:s.jsxs("p",{className:"text-break",children:["Ensure the server is running and you are able to reach ",o,", then refresh the page."]})})]}):s.jsx(Mo.Provider,{value:v,children:e})}const E=new b7,j=new N7(E);function yo(){H.setLogLevel(parseInt("2",10)),E.enable(),j.enable(),window!=null&&(window.DHLog=H,window.DHLogProxy=E,window.DHLogHistory=j)}yo();Vo();const xo=W.lazy(()=>A(()=>import("./AppRoot-e1979dc8.js").then(l=>l.A),["./AppRoot-e1979dc8.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./monaco-1410cbed.js","./monaco-f18fde03.css","./usePlugins-94cbed77.js","./plotly-1c1a0e42.js","./usePlugins-1cbb179a.css","./useUser-e63ec0fe.js","./useUser-c9d433e2.css","./ControlType-887185d2.js","./ControlType-62f56221.css","./AppRoot-f1d8a33b.css"],import.meta.url)),No=W.lazy(async()=>({default:(await A(()=>import("./index-f4710cef.js"),["./index-f4710cef.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./FontBootstrap-16162a1f.js","./usePlugins-94cbed77.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-1c1a0e42.js","./usePlugins-1cbb179a.css","./IrisGrid-8b8c4b8a.js","./IrisGrid-64f884b6.css","./FontBootstrap-5dc042b0.css","./useUser-e63ec0fe.js","./useUser-c9d433e2.css","./IrisGridModelFactory-a9393b9d.js","./IrisGridModelFactory-6fab2394.css","./index-c2f54f04.css"],import.meta.url)).AppBootstrap})),_=new URL("../jsapi/dh-core.js",document.baseURI),Ao=new URL("../js-plugins",document.baseURI);async function wo(){const l=await A(()=>import("./index-6f46dfd8.js"),["./index-6f46dfd8.js","./vendor-fd5d5838.js","./helpers-042e6b4d.js","./vendor-fac43f8b.css","./usePlugins-94cbed77.js","./monaco-1410cbed.js","./monaco-f18fde03.css","./plotly-1c1a0e42.js","./usePlugins-1cbb179a.css","./ControlType-887185d2.js","./ControlType-62f56221.css","./IrisGrid-8b8c4b8a.js","./IrisGrid-64f884b6.css","./IrisGridModelFactory-a9393b9d.js","./IrisGridModelFactory-6fab2394.css","./index-3a4b98e5.css"],import.meta.url),{GridPluginConfig:o,PandasPluginConfig:e,ChartPluginConfig:r,ChartBuilderPluginConfig:a,FilterPluginConfig:c,MarkdownPluginConfig:h,LinkerPluginConfig:v,WidgetLoaderPluginConfig:i}=l;return[o,e,r,a,c,h,v,i]}q.render(s.jsx(bo,{apiUrl:_.href,setGlobally:!0,children:s.jsx(m.Suspense,{fallback:s.jsx(j9,{}),children:s.jsx(No,{getCorePlugins:wo,serverUrl:_.origin,pluginsUrl:Ao.href,children:s.jsx(xo,{})})})}),document.getElementById("root"));export{$9 as $,L9 as A,u9 as B,j6 as C,k9 as D,F1 as E,lo as F,j9 as G,r7 as H,J as I,f6 as J,W9 as K,H as L,X7 as M,R as N,to as O,_9 as P,fo as Q,q9 as R,mo as S,k as T,B as U,zo as V,G as W,K9 as X,uo as Y,Eo as Z,Do as _,D0 as a,t4 as a$,Fo as a0,go as a1,Oo as a2,Vo as a3,po as a4,Po as a5,Ho as a6,To as a7,vo as a8,no as a9,x6 as aA,R4 as aB,D9 as aC,G6 as aD,I6 as aE,h1 as aF,g9 as aG,H0 as aH,E4 as aI,V9 as aJ,l9 as aK,g1 as aL,n9 as aM,O2 as aN,c2 as aO,$8 as aP,q4 as aQ,l7 as aR,Ro as aS,T9 as aT,H2 as aU,o9 as aV,v8 as aW,o7 as aX,G4 as aY,B5 as aZ,k6 as a_,bo as aa,Mo as ab,ko as ac,D as ad,W4 as ae,j8 as af,K2 as ag,t6 as ah,p9 as ai,q2 as aj,m0 as ak,E9 as al,f0 as am,z9 as an,n5 as ao,o1 as ap,X5 as aq,Z6 as ar,e9 as as,Y5 as at,R0 as au,D2 as av,a2 as aw,R6 as ax,l5 as ay,l8 as az,oo as b,x4 as b0,U2 as b1,C9 as b2,F2 as b3,K5 as b4,G9 as b5,m4 as b6,v9 as b7,r9 as b8,D6 as b9,r2 as bA,i9 as bB,i3 as bC,R3 as bD,T8 as bE,r1 as bF,h5 as bG,y8 as bH,c7 as ba,L8 as bb,S9 as bc,A9 as bd,a4 as be,w9 as bf,c9 as bg,u4 as bh,N9 as bi,y9 as bj,x9 as bk,F9 as bl,B2 as bm,_4 as bn,J5 as bo,$5 as bp,O3 as bq,T2 as br,I5 as bs,G5 as bt,B9 as bu,h9 as bv,j5 as bw,H9 as bx,v4 as by,k0 as bz,Y7 as c,v5 as d,h7 as e,s5 as f,d9 as g,U9 as h,O9 as i,e1 as j,Z5 as k,j as l,F0 as m,d8 as n,y0 as o,t9 as p,P9 as q,M4 as r,e6 as s,c4 as t,a9 as u,g8 as v,a8 as w,h2 as x,i2 as y,t2 as z};
|
|
14
|
+
//# sourceMappingURL=index-cd5250d0.js.map
|