// #region Imports
import { convertGridLength } from './GridLength';
import { RowDefinition } from './RowDefinition';
/**
 * @public
 */
export var RowDefinitions;
(function (RowDefinitions) {
    /**
     * @public
     */
    function parse(self) {
        return self.map((x) => typeof x === 'number' || typeof x === 'string'
            ? new RowDefinition(convertGridLength(x.toString()))
            : new RowDefinition(x.height, x.minHeight, x.maxHeight));
    }
    RowDefinitions.parse = parse;
})(RowDefinitions || (RowDefinitions = {}));
//# sourceMappingURL=RowDefinitions.js.map