/**
 * DevExtreme (cjs/__internal/ui/splitter/utils/event.js)
 * Version: 24.1.7-build-24272-1937
 * Build date: Sat Sep 28 2024
 *
 * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
 * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
 */
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.RESIZE_EVENT = exports.ITEM_EXPANDED_EVENT = exports.ITEM_COLLAPSED_EVENT = exports.COLLAPSE_EVENT = void 0;
exports.getActionNameByEventName = getActionNameByEventName;
var _inflector = require("../../../../core/utils/inflector");

function getActionNameByEventName(eventName) {
    return `_${(0,_inflector.camelize)(eventName.replace("on",""))}Action`
}
const RESIZE_EVENT = exports.RESIZE_EVENT = {
    onResize: "onResize",
    onResizeStart: "onResizeStart",
    onResizeEnd: "onResizeEnd"
};
const COLLAPSE_EVENT = exports.COLLAPSE_EVENT = {
    onCollapsePrev: "onCollapsePrev",
    onCollapseNext: "onCollapseNext"
};
const ITEM_COLLAPSED_EVENT = exports.ITEM_COLLAPSED_EVENT = "onItemCollapsed";
const ITEM_EXPANDED_EVENT = exports.ITEM_EXPANDED_EVENT = "onItemExpanded";
