import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_schema__ from "@tachybase/schema";
import * as __WEBPACK_EXTERNAL_MODULE__application_index_mjs__ from "../../application/index.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__InitializerWithSwitch_mjs__ from "./InitializerWithSwitch.mjs";
const TableActionColumnInitializer = ()=>{
    const schema = {
        type: 'void',
        title: '{{ t("Actions") }}',
        'x-decorator': 'TableV2.Column.ActionBar',
        'x-component': 'TableV2.Column',
        'x-component-props': {
            width: 150,
            fixed: 'right'
        },
        'x-designer': 'TableV2.ActionColumnDesigner',
        'x-initializer': 'table:configureItemActions',
        'x-action-column': 'actions',
        properties: {
            [(0, __WEBPACK_EXTERNAL_MODULE__tachybase_schema__.uid)()]: {
                type: 'void',
                'x-decorator': 'DndContext',
                'x-component': 'Space',
                'x-component-props': {
                    split: '|'
                },
                properties: {}
            }
        }
    };
    const itemConfig = (0, __WEBPACK_EXTERNAL_MODULE__application_index_mjs__.useSchemaInitializerItem)();
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__InitializerWithSwitch_mjs__.InitializerWithSwitch, {
        ...itemConfig,
        schema: schema,
        item: itemConfig,
        type: 'x-action-column'
    });
};
export { TableActionColumnInitializer };
