/**
 * @license
 * Copyright Alibaba.com All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
 */
import { Directive, Input } from '@angular/core';
import * as i0 from "@angular/core";
export class NzCellAlignDirective {
    constructor() {
        this.nzAlign = null;
    }
}
/** @nocollapse */ NzCellAlignDirective.ɵfac = function NzCellAlignDirective_Factory(t) { return new (t || NzCellAlignDirective)(); };
/** @nocollapse */ NzCellAlignDirective.ɵdir = i0.ɵɵdefineDirective({ type: NzCellAlignDirective, selectors: [["th", "nzAlign", ""], ["td", "nzAlign", ""]], hostVars: 2, hostBindings: function NzCellAlignDirective_HostBindings(rf, ctx) { if (rf & 2) {
        i0.ɵɵstyleProp("text-align", ctx.nzAlign);
    } }, inputs: { nzAlign: "nzAlign" } });
/*@__PURE__*/ (function () { i0.ɵsetClassMetadata(NzCellAlignDirective, [{
        type: Directive,
        args: [{
                selector: 'th[nzAlign],td[nzAlign]',
                host: {
                    '[style.text-align]': 'nzAlign'
                }
            }]
    }], null, { nzAlign: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxpZ24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmctem9ycm8tYW50ZC90YWJsZS8iLCJzb3VyY2VzIjpbInNyYy9zdHlsZWQvYWxpZ24uZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7R0FNRztBQUVILE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQVFqRCxNQUFNLE9BQU8sb0JBQW9CO0lBTmpDO1FBT1csWUFBTyxHQUF1QyxJQUFJLENBQUM7S0FDN0Q7O3dGQUZZLG9CQUFvQjt5REFBcEIsb0JBQW9COzs7a0RBQXBCLG9CQUFvQjtjQU5oQy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