import { jsx } from "react/jsx-runtime";
import "react";
import { ActionInitializer } from "../../../schema-initializer/items/ActionInitializer.mjs";
const ExpandableActionInitializer = (props)=>{
    const schema = {
        'x-action': 'expandAll',
        'x-component': 'Action',
        'x-toolbar': 'ActionSchemaToolbar',
        'x-settings': 'actionSettings:expendable',
        'x-component-props': {
            titleExpand: "{{t('Expand all')}}",
            titleCollapse: "{{t('Collapse all')}}",
            iconExpand: 'nodeexpandoutlined',
            iconCollapse: 'nodecollapseoutlined',
            component: 'Expand.Action',
            useAction: ()=>({
                    run () {}
                })
        }
    };
    return /*#__PURE__*/ jsx(ActionInitializer, {
        ...props,
        schema: schema
    });
};
export { ExpandableActionInitializer };
