import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_client__ from "@tachybase/client";
const schema = {
    type: 'object',
    properties: {
        input: {
            type: 'array',
            title: "编辑模式",
            'x-component': 'Table.Void',
            'x-component-props': {
                rowKey: 'id',
                rowSelection: {
                    type: 'checkbox'
                },
                dataSource: [
                    {
                        id: 1,
                        name: 'Name1'
                    },
                    {
                        id: 2,
                        name: 'Name2'
                    },
                    {
                        id: 3,
                        name: 'Name3'
                    }
                ]
            },
            properties: {
                column1: {
                    type: 'void',
                    title: 'Name',
                    'x-component': 'Table.Column',
                    properties: {
                        name: {
                            type: 'string',
                            'x-component': 'Input',
                            'x-read-pretty': true
                        }
                    }
                }
            }
        }
    }
};
const Root = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponentProvider, {
        components: {
            Table: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Table,
            Input: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Input
        },
        children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponent, {
            schema: schema
        })
    });
const app = new __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Application({
    providers: [
        Root
    ]
});
const demo2_rslib_entry_ = app.getRootComponent();
export { demo2_rslib_entry_ as default };
