export default { version: "1.0.0", componentsMap: [ { package: "temp-materials", version: "0.1.14", exportName: "FormInput", main: "src\\index.tsx", destructuring: true, subName: "", componentName: "FormInput", }, { package: "temp-materials", version: "0.1.14", exportName: "FormNumber", main: "src\\index.tsx", destructuring: true, subName: "", componentName: "FormNumber", }, { package: "temp-materials", version: "0.1.14", exportName: "FormRate", main: "src\\index.tsx", destructuring: true, subName: "", componentName: "FormRate", }, { package: "temp-materials", version: "0.1.14", exportName: "Form", main: "src\\index.tsx", destructuring: true, subName: "", componentName: "Form", }, { devMode: "lowCode", componentName: "Page", }, ], componentsTree: [ { componentName: "Page", id: "node_dockcviv8fo1", docId: "doclaqkk3b9", props: { ref: "outerView", style: { paddingTop: "12px", backgroundColor: "#f3f4f5", height: "100%", padding: "20px", "background-color": "#fff", }, }, fileName: "/", state: { isShowDialog: { type: "JSExpression", value: "false", }, text: { type: "JSExpression", value: "", }, }, css: "body {\n font-size: 12px;\n}\n\n.button {\n width: 100px;\n color: #ff00ff\n}", methods: { onClick: { type: "JSFunction", value: "function onClick() {\n this.setState({\n isShowDialog: true\n });\n}", source: "function onClick() {\n this.setState({\n isShowDialog: true\n });\n}", }, onTestConstantsButtonClicked: { type: "JSFunction", value: "function onTestConstantsButtonClicked() {\n console.log('constants.ConstantA:', this.constants.ConstantA);\n console.log('constants.ConstantB:', this.constants.ConstantB);\n}", source: "function onTestConstantsButtonClicked() {\n console.log('constants.ConstantA:', this.constants.ConstantA);\n console.log('constants.ConstantB:', this.constants.ConstantB);\n}", }, onTestUtilsButtonClicked: { type: "JSFunction", value: "function onTestUtilsButtonClicked() {\n this.utils.demoUtil('param1', 'param2');\n}", source: "function onTestUtilsButtonClicked() {\n this.utils.demoUtil('param1', 'param2');\n}", }, getHelloWorldText: { type: "JSFunction", value: "function getHelloWorldText() {\n return this.i18n('i18n-jwg27yo4');\n}", source: "function getHelloWorldText() {\n return this.i18n('i18n-jwg27yo4');\n}", }, testFunc: { type: "JSFunction", value: "function testFunc() {\n console.log('test func');\n}", source: "function testFunc() {\n console.log('test func');\n}", }, closeDialog: { type: "JSFunction", value: "function closeDialog() {\n this.setState({\n isShowDialog: false\n });\n}", source: "function closeDialog() {\n this.setState({\n isShowDialog: false\n });\n}", }, }, condition: true, conditionGroup: "", dataSource: { list: [], }, title: "", originCode: "class LowcodeComponent extends Component {\n state = {\n \"text\": \"outer\",\n \"isShowDialog\": false\n }\n componentDidMount() {\n console.log('did mount');\n }\n componentWillUnmount() {\n console.log('will unmount');\n }\n testFunc() {\n console.log('test func');\n }\n onClick() {\n this.setState({\n isShowDialog: true\n });\n }\n closeDialog() {\n this.setState({\n isShowDialog: false\n });\n }\n getHelloWorldText() {\n return this.i18n('i18n-jwg27yo4');\n }\n onTestConstantsButtonClicked() {\n console.log('constants.ConstantA:', this.constants.ConstantA);\n console.log('constants.ConstantB:', this.constants.ConstantB);\n\t}\n\tonTestUtilsButtonClicked(){\n this.utils.demoUtil('param1', 'param2');\n\t}\n}", isLocked: false, lifeCycles: { componentDidMount: { type: "JSFunction", value: "function componentDidMount() {\n console.log('did mount');\n}", source: "function componentDidMount() {\n console.log('did mount');\n}", }, componentWillUnmount: { type: "JSFunction", value: "function componentWillUnmount() {\n console.log('will unmount');\n}", source: "function componentWillUnmount() {\n console.log('will unmount');\n}", }, }, hidden: false, children: [ { componentName: "Form", id: "node_ocltz5lutl1", docId: "docltzj19lp", props: { size: "middle", labelAlign: "right", layout: "vertical", column: 2, }, hidden: false, title: "", isLocked: false, condition: true, conditionGroup: "", children: [ { componentName: "FormInput", id: "node_ocltzj19lpx", docId: "docltzj19lp", props: { bordered: true, allowClear: true, status: "normal", title: "姓名", placeholder: "请输入姓名...", }, hidden: false, title: "", isLocked: false, condition: true, conditionGroup: "", }, { componentName: "FormNumber", id: "node_ocltzj19lp44", docId: "docltzj19lp", props: { bordered: true, controls: true, min: 0, status: "normal", title: "年龄", placeholder: "请输入...", }, hidden: false, title: "", isLocked: false, condition: true, conditionGroup: "", }, { componentName: "FormRate", id: "node_ocltzj19lp5l", docId: "docltzj19lp", props: { count: 5, status: "normal", title: "评分", }, hidden: false, title: "", isLocked: false, condition: true, conditionGroup: "", }, ], }, ], }, ], i18n: {}, };