// #region Imports
import { ColumnDefinition } from './ColumnDefinition';
import { convertGridLength } from './GridLength';
/**
 * @public
 */
export var ColumnDefinitions;
(function (ColumnDefinitions) {
    /**
     * @public
     */
    function parse(self) {
        return self.map((x) => typeof x === 'number' || typeof x === 'string'
            ? new ColumnDefinition(convertGridLength(x.toString()))
            : new ColumnDefinition(x.width, x.minWidth, x.maxWidth));
    }
    ColumnDefinitions.parse = parse;
})(ColumnDefinitions || (ColumnDefinitions = {}));
//# sourceMappingURL=ColumnDefinitions.js.map