const isCollectionFieldComponent = (schema)=>'CollectionField' === schema['x-component'];
const isColumnComponent = (schema)=>{
    var _schema_xcomponent;
    return (null === (_schema_xcomponent = schema['x-component']) || void 0 === _schema_xcomponent ? void 0 : _schema_xcomponent.endsWith('.Column')) > -1;
};
function extractIndex(str) {
    const numbers = [];
    null == str || str.split('.').forEach(function(element) {
        if (!isNaN(element)) numbers.push(String(Number(element) + 1));
    });
    return numbers.join('.');
}
export { extractIndex, isCollectionFieldComponent, isColumnComponent };
