UNPKG

@progress/kendo-angular-excel-export

Version:

Kendo UI for Angular Excel Export component

55 lines (54 loc) 2.59 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Component, forwardRef, SkipSelf, Host, Optional } from '@angular/core'; import { ColumnBase } from './column-base'; import * as i0 from "@angular/core"; import * as i1 from "./column-base"; /** * Represents a group of columns in the Kendo UI Excel Export component. * Use this component to organize columns into groups. * * @example * ```html * <kendo-excelexport-column-group> * <kendo-excelexport-column field="ProductName"></kendo-excelexport-column> * <kendo-excelexport-column field="UnitPrice"></kendo-excelexport-column> * </kendo-excelexport-column-group> * ``` */ export class ColumnGroupComponent extends ColumnBase { parent; constructor(parent) { super(parent); this.parent = parent; } static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: i1.ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component }); static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-excelexport-column-group", providers: [ { provide: ColumnBase, useExisting: forwardRef(() => ColumnGroupComponent) } ], usesInheritance: true, ngImport: i0, template: ``, isInline: true }); } i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, decorators: [{ type: Component, args: [{ providers: [ { provide: ColumnBase, useExisting: forwardRef(() => ColumnGroupComponent) } ], selector: 'kendo-excelexport-column-group', template: ``, standalone: true }] }], ctorParameters: function () { return [{ type: i1.ColumnBase, decorators: [{ type: SkipSelf }, { type: Host }, { type: Optional }] }]; } });