UNPKG

@anglr/grid

Version:
45 lines 2.35 kB
import { Directive, Input, TemplateRef, inject } from '@angular/core'; import { rowColumnsAttribute } from '../../misc/utils'; import * as i0 from "@angular/core"; /** * Directive used for obtaining template for grid content renderer footer row container */ export class FooterRowContainerTemplateDirective { constructor() { //######################### public properties ######################### /** * Obtained template by this directive */ this.template = inject((TemplateRef)); /** * Indication whether list of columns will be excluded, not included in this row */ this.exclude = false; } //######################### ng language server ######################### /** * Allows typechecking for template */ // eslint-disable-next-line @typescript-eslint/no-explicit-any static ngTemplateContextGuard(_dir, _ctx) { return true; } static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: FooterRowContainerTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); } static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.1.0", type: FooterRowContainerTemplateDirective, isStandalone: true, selector: "[footerRowContainerTemplate]", inputs: { predicate: ["footerRowContainerTemplatePredicate", "predicate"], columns: ["footerRowContainerTemplate", "columns", rowColumnsAttribute], exclude: ["footerRowContainerTemplateExclude", "exclude"] }, ngImport: i0 }); } } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.0", ngImport: i0, type: FooterRowContainerTemplateDirective, decorators: [{ type: Directive, args: [{ selector: '[footerRowContainerTemplate]', }] }], propDecorators: { predicate: [{ type: Input, args: ['footerRowContainerTemplatePredicate'] }], columns: [{ type: Input, args: [{ alias: 'footerRowContainerTemplate', transform: rowColumnsAttribute }] }], exclude: [{ type: Input, args: ['footerRowContainerTemplateExclude'] }] } }); //# sourceMappingURL=footerRowContainerTemplate.directive.js.map