{"applicationInfo":{"name":"test","createAt":1696957955685,"createBy":"65236eca206d215c601d4621","applicationId":"65258603206d215c601d4ab4","applicationType":1},"applicationDSL":{"ui":{"layout":{"215050a2":{"i":"215050a2","h":31,"w":16,"x":0,"y":2},"a3569b3c":{"i":"a3569b3c","h":36,"w":8,"x":16,"y":3},"4e2990c6":{"i":"4e2990c6","h":43,"w":16,"x":0,"y":35}},"items":{"215050a2":{"compType":"table","comp":{"data":"{{ tdata.value }}","showDataLoadSpinner":true,"columns":[{"title":"Name","isCustom":false,"dataIndex":"name","width":"200","autoWidth":"fixed","render":{"compType":"text","comp":{"text":"{{currentCell}}"}},"align":"left","fixed":"close"},{"title":"desc","isCustom":false,"dataIndex":"desc","width":"180","autoWidth":"fixed","render":{"compType":"text","comp":{"text":"{{currentCell}}"}},"align":"left","fixed":"close"},{"title":"test","isCustom":false,"dataIndex":"test","width":"120","autoWidth":"fixed","render":{"compType":"text","comp":{"text":"{{currentCell}}"}},"align":"left","fixed":"close"}],"size":"middle","selection":{"mode":"single"},"pagination":{"changeablePageSize":0,"pageSizeOptions":"[5, 10, 20, 50]"},"sort":[],"toolbar":{"showRefresh":true,"showDownload":true,"showFilter":true,"position":"below"},"onEvent":[{"name":"rowClick","handler":{"compType":"executeComp","comp":{"name":"jsonSchemaForm3","methodName":"setData","params":[{"compType":"JSON","comp":"{{ tdata.value[table1.selectedIndex] }}","name":"data"}]},"condition":"","slowdown":"debounce","delay":""}}],"dynamicColumnConfig":"{{ Object.keys(tdata.value[0]) }}","expansion":{"slot":{"container":{"layout":{}}}}},"name":"table1"},"4e2990c6":{"compType":"jsonEditor","comp":{"value":"{{ tdata.value }}","label":{"text":"Label","width":"33","widthUnit":"%","position":"column","align":"left"}},"name":"jsonEditor1"},"a3569b3c":{"compType":"jsonSchemaForm","comp":{"schema":"{{ tschema.value }}","uiSchema":"","data":"","onEvent":[{"name":"submit","handler":{"compType":"setTempState","comp":{"name":"tdata","methodName":"setIn","params":[{"compType":"arrayNumberString","comp":"{{ [table1.selectedIndex] }}","name":"path"},{"compType":"JSONValue","comp":"{{ jsonSchemaForm3.data }}","name":"value"}]},"condition":"","slowdown":"debounce","delay":""}}]},"name":"jsonSchemaForm3"}}},"tempStates":[{"name":"tdata","value":"[\n  {\n    \"name\": \"test123\",\n    \"desc\": \"sync\",\n    \"test\": \"asfafsd.lan\"\n  },\n  {\n    \"name\": \"334tsfsf\",\n    \"desc\": \"sync\",\n    \"test\": \"ggfdg.lan\"\n  },\n  {\n    \"name\": \"dsgafasffasd\",\n    \"desc\": \"sy33nc\",\n    \"test\": \"asfafsd.lan\"\n  }\n]"},{"name":"tschema","value":"{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\",\"default\":\" \"},\"desc\":{\"type\":\"string\",\"default\":\" \"},\"test\":{\"type\":\"string\",\"default\":\" \"}}}"}],"refTree":{"value":"","items":[{"value":"tdata"},{"value":"tschema"}]},"hooks":[{"compType":"urlParams","comp":{},"name":"url"},{"compType":"momentJsLib","comp":{},"name":"moment"},{"compType":"lodashJsLib","comp":{},"name":"_"},{"compType":"utils","comp":{},"name":"utils"},{"compType":"message","comp":{},"name":"message"},{"compType":"localStorage","comp":{},"name":"localStorage"},{"compType":"currentUser","comp":{},"name":"currentUser"},{"compType":"theme","comp":{},"name":"theme"},{"compType":"modal","comp":{"visible":"","autoHeight":"auto","maskClosable":true,"showMask":true,"container":{"layout":{"a5f67c4d":{"i":"a5f67c4d","h":38,"w":21,"x":2,"y":0}},"items":{"a5f67c4d":{"compType":"jsonSchemaForm","comp":{"schema":"{{ tschema.value }}","uiSchema":"{{ tschema.value }}","data":"{{ tdata.value[table1.selectedIndex] }}","onEvent":[{"name":"submit","handler":{"compType":"executeComp","comp":{"name":"text2","methodName":"setText","params":[{"compType":"string","comp":"{{ jsonSchemaForm2.data }}","name":"text"}]},"condition":"","slowdown":"debounce","delay":""}},{"name":"submit","handler":{"compType":"setTempState","comp":{"name":"tdata","methodName":"setIn","params":[{"compType":"arrayNumberString","comp":"[{{ table1.selectedIndex }}]","name":"path"},{"compType":"JSONValue","comp":"{{ jsonSchemaForm2.data }}","name":"value"}]},"condition":"","slowdown":"debounce","delay":""}}]},"name":"jsonSchemaForm2"}}}},"name":"modal1"}],"settings":{"maxWidth":{"dropdown":"1920","input":0},"themeId":"7csd87l4u7go3gjq2110z736"},"preload":{"script":"function generateJsonSchema(item) {\n  const schema = {\n    type: 'object',\n    properties: {}\n  };\n  for (const key in item) {\n    if (item.hasOwnProperty(key)) {\n      schema.properties[key] = { type: typeof item[key], default: ' ' };\n    }\n  }\n  return schema;\n}","css":""}}}