import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__schema_initializer_items_ActionInitializer_mjs__ from "../../../schema-initializer/items/ActionInitializer.mjs";
const UpdateSubmitActionInitializer = (props)=>{
    const schema = {
        title: '{{ t("Submit") }}',
        'x-action': 'submit',
        'x-component': 'Action',
        'x-use-component-props': 'useUpdateActionProps',
        'x-toolbar': 'ActionSchemaToolbar',
        'x-settings': 'actionSettings:updateSubmit',
        'x-component-props': {
            type: 'primary',
            htmlType: 'submit'
        },
        'x-action-settings': {
            triggerWorkflows: [],
            onSuccess: {
                manualClose: false,
                redirecting: false,
                successMessage: '{{t("Updated successfully")}}'
            },
            isDeltaChanged: false
        }
    };
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__schema_initializer_items_ActionInitializer_mjs__.ActionInitializer, {
        ...props,
        schema: schema
    });
};
export { UpdateSubmitActionInitializer };
