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: {
        menu1: {
            type: 'void',
            'x-component': 'Menu',
            'x-component-props': {
                mode: 'horizontal',
                defaultSelectedUid: 'u1'
            },
            properties: {
                item1: {
                    type: 'void',
                    title: 'Menu Item 1',
                    'x-uid': 'u1',
                    'x-component': 'Menu.Item',
                    'x-component-props': {}
                },
                item2: {
                    type: 'void',
                    title: 'Menu Item 2',
                    'x-uid': 'u2',
                    'x-component': 'Menu.Item',
                    'x-component-props': {}
                },
                item3: {
                    type: 'void',
                    title: 'SubMenu 1',
                    'x-uid': 'u3',
                    'x-component': 'Menu.SubMenu',
                    'x-component-props': {},
                    properties: {
                        item4: {
                            type: 'void',
                            title: 'Menu Item 11',
                            'x-uid': 'u4',
                            'x-component': 'Menu.Item',
                            'x-component-props': {}
                        },
                        item5: {
                            type: 'void',
                            title: 'Menu Item 12',
                            'x-uid': 'u5',
                            'x-component': 'Menu.Item',
                            'x-component-props': {}
                        },
                        item6: {
                            type: 'void',
                            title: 'SubMenu 1',
                            'x-uid': 'u6',
                            'x-component': 'Menu.SubMenu',
                            'x-component-props': {},
                            properties: {
                                item7: {
                                    type: 'void',
                                    title: 'Menu Item 12',
                                    'x-uid': 'u7',
                                    'x-component': 'Menu.Item',
                                    'x-component-props': {}
                                },
                                item8: {
                                    type: 'void',
                                    title: 'Menu Item 13',
                                    'x-uid': 'u8',
                                    'x-component': 'Menu.Item',
                                    'x-component-props': {}
                                }
                            }
                        }
                    }
                }
            }
        }
    }
};
const Root = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponentProvider, {
        components: {
            Menu: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Menu
        },
        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 demo1_rslib_entry_ = app.getRootComponent();
export { demo1_rslib_entry_ as default };
