@senx/discovery-code
Version:
Discovery Code Editor
21 lines (18 loc) • 2.45 kB
JavaScript
import { p as promiseResolve, b as bootstrapLazy } from './index-3732ead9.js';
export { s as setNonce } from './index-3732ead9.js';
import { g as globalScripts } from './app-globals-0f993ce5.js';
/*
Stencil Client Patch Browser v4.22.3 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = import.meta.url;
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await globalScripts();
return bootstrapLazy([["discovery-code-editor_8",[[4,"discovery-code-editor",{"url":[1],"bootstrap":[1],"language":[1],"existingComments":[1,"existing-comments"],"debug":[4],"useBootstrap":[4,"use-bootstrap"],"showDataviz":[4,"show-dataviz"],"showExecute":[4,"show-execute"],"showResult":[4,"show-result"],"displayMessages":[4,"display-messages"],"imageTab":[4,"image-tab"],"widthPx":[2,"width-px"],"heightPx":[2,"height-px"],"heightLine":[2,"height-line"],"theme":[1],"code":[1],"config":[1],"initialSize":[16],"selectedResultTab":[32],"result":[32],"status":[32],"error":[32],"innerConfig":[32],"execute":[64],"abort":[64],"setBreakpointsReadOnly":[64],"addInlineMarker":[64],"removeInlineMarker":[64],"addBreakpoints":[64],"removeBreakpoints":[64],"unHighlight":[64],"highlight":[64],"resize":[64]},[[0,"document:resize","onResized"],[0,"resized","onResized"]],{"debug":["setDebug"],"theme":["updateTheme"],"code":["updateCode"],"config":["configUpdate"]}],[1,"discovery-code-image-result",{"theme":[1],"config":[1],"debug":[4],"result":[1],"loading":[32],"imageList":[32],"innerResult":[32],"innerTheme":[32],"innerConfig":[32]},null,{"debug":["setDebug"],"theme":["setTheme"],"result":["setResult"]}],[1,"discovery-code-raw-result",{"theme":[1],"config":[1],"debug":[4],"result":[1]},null,{"debug":["setDebug"],"config":["setConfig"],"theme":["updateTheme"],"result":["setResult"]}],[0,"discovery-code-result",{"theme":[1],"config":[1],"debug":[4],"result":[1]},null,{"debug":["setDebug"],"result":["setResult"]}],[1,"wc-split",{"items":[1],"direction":[1],"debug":[4],"minHeight":[2,"min-height"]}],[1,"wc-tabs",{"selection":[2]},[[0,"tabSelect","onSelectedTab"]],{"selection":["onExternalSelection"]}],[4,"wc-tabs-content",{"name":[1],"responsive":[4],"isSelected":[32],"getChild":[64]}],[1,"wc-tabs-header",{"name":[1],"disabled":[4],"isSelected":[32],"getChild":[64]}]]]], options);
});