import { Pipe } from '@angular/core';
export class ZUITableWidthPipe {
    transform(column) {
        const { width, minWidth } = column;
        let result = {};
        if (width) {
            result = { 'min-width': width, 'max-width': width };
        }
        else if (minWidth) {
            result = { 'min-width': minWidth };
        }
        return result;
    }
}
ZUITableWidthPipe.decorators = [
    { type: Pipe, args: [{ name: 'zuiTableWidth' },] }
];
//# sourceMappingURL=width.component.js.map