{"dashboard":{"appDashboard.json":{"type":"containerSimple","prps":{"singlePage":true,"mainAxisAlign":"center","crossAxisAlign":"center","path":"dashboard/appDashboard.json","attrs":["data-testid"],"data-testid":"appDashboard/"},"wgts":[{"id":"inputViewportValue","type":"input","prps":{"placeholder":"Enter the path of the dashboard you wish to open","position":"absolute","bottom":"100%","value":"flows","path":"dashboard/appDashboard.json","attrs":["data-testid"],"data-testid":"appDashboard/w/0"}},{"type":"viewport","prps":{"width":"100%","height":"100%","flows":[{"from":"inputViewportValue"}],"path":"dashboard/appDashboard.json","attrs":["data-testid"],"data-testid":"appDashboard/w/1"}}]},"flows.json":{"type":"containerSimple","prps":{"singlePage":true,"padding":true,"gap":"12px","path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/"},"wgts":[{"comment":"flowing with value shorthand","scope":"block","type":"containerSimple","prps":{"path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/0"},"wgts":[{"relId":"input","type":"input","prps":{"placeholder":"...","scps":[{"actions":[{"type":"wait","duration":10,"prps":{"attrs":["data-testid"],"data-testid":"flows/w/0/w/0/prps/scps/0/actions/0"}},{"type":"setState","value":"<test>success"}]}],"path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/0/w/0"}},{"type":"label","prps":{"caption":"<test>failure","flows":[{"from":"||block.input||","toKey":"caption"}],"path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/0/w/1"}}]},{"comment":"flowing with value shorthand (initial value)","scope":"block","type":"containerSimple","prps":{"path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/1"},"wgts":[{"relId":"input","type":"input","prps":{"value":"<test>success","path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/1/w/0"}},{"type":"container","prps":{"scps":[{"triggers":[{"event":"onMount","source":"||block.input||"}],"actions":[{"type":"setState","key":"extraWgts","value":[{"type":"label","prps":{"caption":"<test>failure","flows":[{"from":"||block.input||","toKey":"caption"}],"attrs":["data-testid"],"data-testid":"flows/w/1/w/1/prps/scps/0/actions/0/value/0"}}]}]}],"path":"dashboard/flows.json","attrs":["data-testid"],"data-testid":"flows/w/1/w/1"}}]}]},"index.json":{"startup":"appDashboard","themes":["system","colors","global","components"],"themeSets":[],"prps":{"path":"dashboard/index.json"}},"jsxComponents":{"index.json":{"type":"containerSimple","prps":{"singlePage":true,"padding":true,"gap":"12px","path":"dashboard/jsxComponents/index.json","attrs":["data-testid"],"data-testid":"jsxComponents"},"wgts":[{"src":{"path":"jsxComponents/CustomComponent","loadFromMda":true},"prps":{"width":"100vw","height":"100vh","paddingSize":"100px","backgroundColor":"#eee","path":"dashboard/jsxComponents/index.json"},"wgts":[{"type":"label","prps":{"cpt":"[child component]","path":"dashboard/jsxComponents/index.json","attrs":["data-testid"],"data-testid":"jsxComponents/index/w/0/w/0"}}]}]},"CustomComponent.jsx":"function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }\nconst CustomComponent = ({\n  React,\n  ExternalComponent,\n  wrapChildren,\n  forceRemount\n}) => {\n  return ExternalComponent(props => {\n    const {\n      id,\n      children,\n      state\n    } = props;\n    const {\n      genStyles,\n      genClassNames,\n      genAttributes\n    } = state;\n    const useWgts = React.useMemo(() => wrapChildren(props), []);\n    return /*#__PURE__*/React.createElement(\"div\", _extends({\n      id: id,\n      className: genClassNames,\n      style: genStyles?.style\n    }, genAttributes), /*#__PURE__*/React.createElement(\"span\", null, \"[child elementz]\"), useWgts);\n  }, {\n    forceRemount\n  });\n};\nexport default CustomComponent;"},"lateBoundSourceAction.json":{"type":"containerSimple","prps":{"singlePage":true,"padding":true,"gap":"12px","path":"dashboard/lateBoundSourceAction.json","attrs":["data-testid"],"data-testid":"lateBoundSourceAction/"},"wgts":[{"id":"lateBoundSourceActionButton","type":"container","prps":{"canClick":true,"fireScriptOptions":{"primary":{"id":"lateBoundSourceActionScript","actions":[{"srcAction":{"path":"actions/executeLateBoundSourceAction"}}]}},"scps":[{"srcActions":{"path":"actions/assignLateBoundSourceAction"}}],"path":"dashboard/lateBoundSourceAction.json","attrs":["data-testid"],"data-testid":"lateBoundSourceAction/w/0"},"wgts":[{"type":"label","prps":{"caption":"Run late-bound source action","path":"dashboard/lateBoundSourceAction.json","attrs":["data-testid"],"data-testid":"lateBoundSourceAction/w/0/w/0"}}]},{"id":"lateBoundSourceActionResult","type":"label","prps":{"caption":"Pending","path":"dashboard/lateBoundSourceAction.json","attrs":["data-testid"],"data-testid":"lateBoundSourceAction/w/1"}}]},"actions":{"executeLateBoundSourceAction.js":"const executeLateBoundSourceAction = ({ setExternalState }) => {\n\tsetExternalState('lateBoundSourceActionResult', { caption: 'Success' });\n};\n\nexport default executeLateBoundSourceAction;\n","assignLateBoundSourceAction.js":"const assignLateBoundSourceAction = ({ getState, setState }) => {\n\tconst { fireScriptOptions } = getState();\n\n\tsetState({ fireScript: fireScriptOptions.primary });\n};\n\nexport default assignLateBoundSourceAction;\n"}},"theme":{"colors.json":{"themeRed":"#dd1122","themeTeal":"#11aabb","themeBackground":"#222628","themeWhite":"#fafafa","prps":{"path":"theme/colors.json"}},"components.json":{"themeConfig":{"isStyleTheme":false},"prps":{"path":"theme/components.json"}},"global.json":{"mediumPadding":"24px","padding":"36px","prps":{"path":"theme/global.json"}},"system.json":{"themeConfig":{"isStyleTheme":false},"mdaLocation":"http://localhost:3000","prps":{"path":"theme/system.json"}}}}