import * as __WEBPACK_EXTERNAL_MODULE__application_schema_initializer_SchemaInitializer_mjs__ from "../../../../application/schema-initializer/SchemaInitializer.mjs";
const updateFormActionInitializers = new __WEBPACK_EXTERNAL_MODULE__application_schema_initializer_SchemaInitializer_mjs__.SchemaInitializer({
    name: 'editForm:configureActions',
    title: '{{t("Configure actions")}}',
    icon: 'SettingOutlined',
    items: [
        {
            type: 'itemGroup',
            title: '{{t("Enable actions")}}',
            name: 'enableActions',
            children: [
                {
                    name: 'submit',
                    title: '{{t("Submit")}}',
                    Component: 'UpdateSubmitActionInitializer',
                    schema: {
                        'x-action-settings': {}
                    }
                }
            ]
        },
        {
            name: 'divider',
            type: 'divider'
        },
        {
            type: 'subMenu',
            title: '{{t("Customize")}}',
            name: 'customize',
            children: [
                {
                    name: 'popup',
                    title: '{{t("Popup")}}',
                    Component: 'PopupActionInitializer',
                    useComponentProps () {
                        return {
                            'x-component': 'Action'
                        };
                    }
                },
                {
                    name: 'saveRecord',
                    title: '{{t("Save record")}}',
                    Component: 'SaveRecordActionInitializer'
                },
                {
                    type: 'item',
                    name: 'customRequest',
                    title: '{{t("Custom request")}}',
                    Component: 'CustomRequestInitializer'
                }
            ]
        }
    ]
});
export { updateFormActionInitializers };
