import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_client__ from "@tachybase/client";
import * as __WEBPACK_EXTERNAL_MODULE__AntdSchemaComponentProvider_mjs__ from "../../AntdSchemaComponentProvider.mjs";
const schema = {
    type: 'object',
    properties: {
        tabs1: {
            type: 'void',
            'x-component': 'Tabs',
            'x-component-props': {},
            properties: {
                tab1: {
                    type: 'void',
                    title: 'Tab1',
                    'x-component': 'Tabs.TabPane',
                    'x-component-props': {
                        tab: 'Tab1'
                    },
                    properties: {
                        aaa: {
                            'x-content': 'Hello1'
                        }
                    }
                },
                tab2: {
                    type: 'void',
                    title: 'Tab2',
                    'x-component': 'Tabs.TabPane',
                    'x-component-props': {
                        tab: 'Tab2'
                    },
                    properties: {
                        aaa: {
                            'x-content': 'Hello2'
                        }
                    }
                }
            }
        }
    }
};
const Root = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponentProvider, {
        designable: true,
        components: {
            Tabs: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Tabs,
            Action: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Action
        },
        children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__AntdSchemaComponentProvider_mjs__.AntdSchemaComponentProvider, {
            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({
    router: {
        type: 'memory',
        initialEntries: [
            '/'
        ]
    },
    providers: [
        Root
    ]
});
const demo1_rslib_entry_ = app.getRootComponent();
export { demo1_rslib_entry_ as default };
