igniteui-angular 14.1.1 → 14.2.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/core/setImmediate.mjs +1 -1
- package/esm2020/lib/core/utils.mjs +2 -2
- package/esm2020/lib/grids/columns/column-group.component.mjs +1 -1
- package/esm2020/lib/grids/columns/column.component.mjs +1 -1
- package/esm2020/lib/grids/columns/templates.directive.mjs +29 -1
- package/esm2020/lib/grids/common/grid.interface.mjs +1 -1
- package/esm2020/lib/grids/filtering/base/grid-filtering-cell.component.mjs +2 -2
- package/esm2020/lib/grids/filtering/excel-style/excel-style-search.component.mjs +5 -1
- package/esm2020/lib/grids/grid/expandable-cell.component.mjs +3 -3
- package/esm2020/lib/grids/grid/grid.component.mjs +1 -1
- package/esm2020/lib/grids/grid/grid.directives.mjs +41 -1
- package/esm2020/lib/grids/grid-base.directive.mjs +1 -1
- package/esm2020/lib/grids/grid-public-row.mjs +2 -2
- package/esm2020/lib/grids/grid.rowEdit.directive.mjs +17 -1
- package/esm2020/lib/grids/headers/grid-header-row.component.mjs +3 -3
- package/esm2020/lib/grids/pivot-grid/pivot-grid.component.mjs +1 -1
- package/esm2020/lib/grids/pivot-grid/pivot-grid.directives.mjs +5 -1
- package/esm2020/lib/grids/pivot-grid/pivot-grid.interface.mjs +1 -1
- package/esm2020/lib/grids/row-drag.directive.mjs +9 -1
- package/esm2020/lib/grids/row.directive.mjs +2 -2
- package/esm2020/lib/grids/selection/row-selectors.mjs +13 -1
- package/esm2020/lib/grids/toolbar/common.mjs +5 -1
- package/esm2020/lib/services/excel/excel-exporter.mjs +13 -13
- package/esm2020/lib/services/excel/excel-files.mjs +14 -13
- package/esm2020/lib/services/excel/excel-interfaces.mjs +1 -1
- package/fesm2015/igniteui-angular.mjs +146 -30
- package/fesm2015/igniteui-angular.mjs.map +1 -1
- package/fesm2020/igniteui-angular.mjs +146 -30
- package/fesm2020/igniteui-angular.mjs.map +1 -1
- package/lib/core/setImmediate.d.ts +8 -3
- package/lib/grids/columns/column-group.component.d.ts +2 -2
- package/lib/grids/columns/column.component.d.ts +19 -19
- package/lib/grids/columns/templates.directive.d.ts +22 -14
- package/lib/grids/common/grid.interface.d.ts +97 -13
- package/lib/grids/filtering/base/grid-filtering-cell.component.d.ts +1 -0
- package/lib/grids/filtering/excel-style/excel-style-search.component.d.ts +3 -2
- package/lib/grids/grid/grid.component.d.ts +8 -11
- package/lib/grids/grid/grid.directives.d.ts +13 -2
- package/lib/grids/grid-base.directive.d.ts +24 -24
- package/lib/grids/grid.rowEdit.directive.d.ts +5 -1
- package/lib/grids/headers/grid-header-row.component.d.ts +3 -11
- package/lib/grids/hierarchical-grid/hierarchical-grid.component.d.ts +3 -3
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +3 -3
- package/lib/grids/pivot-grid/pivot-grid.directives.d.ts +4 -2
- package/lib/grids/pivot-grid/pivot-grid.interface.d.ts +3 -0
- package/lib/grids/row-drag.directive.d.ts +5 -2
- package/lib/grids/selection/row-selectors.d.ts +10 -6
- package/lib/grids/toolbar/common.d.ts +1 -0
- package/lib/services/excel/excel-exporter.d.ts +2 -5
- package/lib/services/excel/excel-files.d.ts +12 -13
- package/lib/services/excel/excel-interfaces.d.ts +1 -2
- package/package.json +3 -3
- package/schematics/ng-add/index.spec.js +1 -1
- package/schematics/tsconfig.tsbuildinfo +1 -1
- package/schematics/utils/dependency-handler.js +2 -2
|
@@ -30,7 +30,7 @@ import { IgxColumnResizingService } from './resizing/resizing.service';
|
|
|
30
30
|
import { IFilteringStrategy } from '../data-operations/filtering-strategy';
|
|
31
31
|
import { GridSelectionMode, GridSummaryPosition, GridSummaryCalculationMode, FilterMode, GridPagingMode, GridValidationTrigger } from './common/enums';
|
|
32
32
|
import { IGridCellEventArgs, IRowSelectionEventArgs, IPinColumnEventArgs, IGridEditEventArgs, IRowDataEventArgs, IColumnResizeEventArgs, IColumnMovingStartEventArgs, IColumnMovingEventArgs, IColumnMovingEndEventArgs, IGridKeydownEventArgs, IRowDragStartEventArgs, IRowDragEndEventArgs, IGridClipboardEvent, IGridToolbarExportEventArgs, ISearchInfo, ICellPosition, IRowToggleEventArgs, IColumnSelectionEventArgs, IPinRowEventArgs, IGridScrollEventArgs, IGridEditDoneEventArgs, IActiveNodeChangeEventArgs, ISortingEventArgs, IFilteringEventArgs, IColumnVisibilityChangedEventArgs, IColumnVisibilityChangingEventArgs, IPinColumnCancellableEventArgs } from './common/events';
|
|
33
|
-
import { ColumnType, GridServiceType, GridType, IGridFormGroupCreatedEventArgs, IGridValidationStatusEventArgs, ISizeInfo, RowType } from './common/grid.interface';
|
|
33
|
+
import { ColumnType, GridServiceType, GridType, IGridFormGroupCreatedEventArgs, IGridValidationStatusEventArgs, IgxGridEmptyTemplateContext, IgxGridHeaderTemplateContext, IgxGridRowDragGhostContext, IgxGridRowEditActionsTemplateContext, IgxGridRowEditTemplateContext, IgxGridRowEditTextTemplateContext, IgxGridRowTemplateContext, IgxGridTemplateContext, IgxHeadSelectorTemplateContext, IgxRowSelectorTemplateContext, ISizeInfo, RowType } from './common/grid.interface';
|
|
34
34
|
import { DropPosition } from './moving/moving.service';
|
|
35
35
|
import { IgxHeadSelectorDirective, IgxRowSelectorDirective } from './selection/row-selectors';
|
|
36
36
|
import { IgxColumnComponent } from './columns/column.component';
|
|
@@ -906,7 +906,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
906
906
|
* @hidden
|
|
907
907
|
* @internal
|
|
908
908
|
*/
|
|
909
|
-
dragGhostCustomTemplates: QueryList<TemplateRef<
|
|
909
|
+
dragGhostCustomTemplates: QueryList<TemplateRef<IgxGridRowDragGhostContext>>;
|
|
910
910
|
/**
|
|
911
911
|
* @hidden @internal
|
|
912
912
|
*/
|
|
@@ -962,56 +962,56 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
962
962
|
/**
|
|
963
963
|
* @hidden @internal
|
|
964
964
|
*/
|
|
965
|
-
rowEditCustomDirectives: QueryList<TemplateRef<
|
|
965
|
+
rowEditCustomDirectives: QueryList<TemplateRef<IgxGridRowEditTemplateContext>>;
|
|
966
966
|
/**
|
|
967
967
|
* @hidden @internal
|
|
968
968
|
*/
|
|
969
|
-
rowEditTextDirectives: QueryList<TemplateRef<
|
|
969
|
+
rowEditTextDirectives: QueryList<TemplateRef<IgxGridRowEditTextTemplateContext>>;
|
|
970
970
|
/**
|
|
971
971
|
* @hidden @internal
|
|
972
972
|
*/
|
|
973
|
-
rowAddText: TemplateRef<
|
|
973
|
+
rowAddText: TemplateRef<IgxGridEmptyTemplateContext>;
|
|
974
974
|
/**
|
|
975
975
|
* @hidden @internal
|
|
976
976
|
*/
|
|
977
|
-
rowEditActionsDirectives: QueryList<TemplateRef<
|
|
977
|
+
rowEditActionsDirectives: QueryList<TemplateRef<IgxGridRowEditActionsTemplateContext>>;
|
|
978
978
|
/**
|
|
979
979
|
* The custom template, if any, that should be used when rendering a row expand indicator.
|
|
980
980
|
*/
|
|
981
|
-
rowExpandedIndicatorTemplate: TemplateRef<
|
|
981
|
+
rowExpandedIndicatorTemplate: TemplateRef<IgxGridRowTemplateContext>;
|
|
982
982
|
/**
|
|
983
983
|
* The custom template, if any, that should be used when rendering a row collapse indicator.
|
|
984
984
|
*/
|
|
985
|
-
rowCollapsedIndicatorTemplate: TemplateRef<
|
|
985
|
+
rowCollapsedIndicatorTemplate: TemplateRef<IgxGridRowTemplateContext>;
|
|
986
986
|
/**
|
|
987
987
|
* The custom template, if any, that should be used when rendering a header expand indicator.
|
|
988
988
|
*/
|
|
989
|
-
headerExpandIndicatorTemplate: TemplateRef<
|
|
989
|
+
headerExpandIndicatorTemplate: TemplateRef<IgxGridTemplateContext>;
|
|
990
990
|
/**
|
|
991
991
|
* The custom template, if any, that should be used when rendering a header collapse indicator.
|
|
992
992
|
*/
|
|
993
|
-
headerCollapseIndicatorTemplate: TemplateRef<
|
|
993
|
+
headerCollapseIndicatorTemplate: TemplateRef<IgxGridTemplateContext>;
|
|
994
994
|
/**
|
|
995
995
|
* The custom template, if any, that should be used when rendering a row expand indicator.
|
|
996
996
|
*/
|
|
997
|
-
excelStyleHeaderIconTemplate: TemplateRef<
|
|
997
|
+
excelStyleHeaderIconTemplate: TemplateRef<IgxGridHeaderTemplateContext>;
|
|
998
998
|
/**
|
|
999
999
|
* The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in asc order.
|
|
1000
1000
|
*/
|
|
1001
|
-
sortAscendingHeaderIconTemplate: TemplateRef<
|
|
1001
|
+
sortAscendingHeaderIconTemplate: TemplateRef<IgxGridHeaderTemplateContext>;
|
|
1002
1002
|
/**
|
|
1003
1003
|
* The custom template, if any, that should be used when rendering a header sorting indicator when columns are sorted in desc order.
|
|
1004
1004
|
*/
|
|
1005
|
-
sortDescendingHeaderIconTemplate: TemplateRef<
|
|
1005
|
+
sortDescendingHeaderIconTemplate: TemplateRef<IgxGridHeaderTemplateContext>;
|
|
1006
1006
|
/**
|
|
1007
1007
|
* The custom template, if any, that should be used when rendering a header sorting indicator when columns are not sorted.
|
|
1008
1008
|
*/
|
|
1009
|
-
sortHeaderIconTemplate: TemplateRef<
|
|
1009
|
+
sortHeaderIconTemplate: TemplateRef<IgxGridHeaderTemplateContext>;
|
|
1010
1010
|
/**
|
|
1011
1011
|
* @hidden
|
|
1012
1012
|
* @internal
|
|
1013
1013
|
*/
|
|
1014
|
-
dragIndicatorIconTemplates: QueryList<TemplateRef<
|
|
1014
|
+
dragIndicatorIconTemplates: QueryList<TemplateRef<IgxGridEmptyTemplateContext>>;
|
|
1015
1015
|
/**
|
|
1016
1016
|
* @hidden @internal
|
|
1017
1017
|
*/
|
|
@@ -1497,7 +1497,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1497
1497
|
* @hidden
|
|
1498
1498
|
* @internal
|
|
1499
1499
|
*/
|
|
1500
|
-
get headSelectorTemplate(): TemplateRef<
|
|
1500
|
+
get headSelectorTemplate(): TemplateRef<IgxHeadSelectorTemplateContext>;
|
|
1501
1501
|
/**
|
|
1502
1502
|
* @hidden
|
|
1503
1503
|
* @internal
|
|
@@ -1512,7 +1512,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1512
1512
|
* @hidden
|
|
1513
1513
|
* @internal
|
|
1514
1514
|
*/
|
|
1515
|
-
get rowSelectorTemplate(): TemplateRef<
|
|
1515
|
+
get rowSelectorTemplate(): TemplateRef<IgxRowSelectorTemplateContext>;
|
|
1516
1516
|
/**
|
|
1517
1517
|
* @hidden @internal
|
|
1518
1518
|
*/
|
|
@@ -1524,24 +1524,24 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1524
1524
|
/**
|
|
1525
1525
|
* @hidden @internal
|
|
1526
1526
|
*/
|
|
1527
|
-
get rowEditCustom(): TemplateRef<
|
|
1527
|
+
get rowEditCustom(): TemplateRef<IgxGridRowEditTemplateContext>;
|
|
1528
1528
|
/**
|
|
1529
1529
|
* @hidden @internal
|
|
1530
1530
|
*/
|
|
1531
|
-
get rowEditText(): TemplateRef<
|
|
1531
|
+
get rowEditText(): TemplateRef<IgxGridRowEditTextTemplateContext>;
|
|
1532
1532
|
/**
|
|
1533
1533
|
* @hidden @internal
|
|
1534
1534
|
*/
|
|
1535
|
-
get rowEditActions(): TemplateRef<
|
|
1535
|
+
get rowEditActions(): TemplateRef<IgxGridRowEditActionsTemplateContext>;
|
|
1536
1536
|
/**
|
|
1537
1537
|
* @hidden @internal
|
|
1538
1538
|
*/
|
|
1539
|
-
get rowEditContainer(): TemplateRef<
|
|
1539
|
+
get rowEditContainer(): TemplateRef<IgxGridRowEditTemplateContext>;
|
|
1540
1540
|
/**
|
|
1541
1541
|
* The custom template, if any, that should be used when rendering the row drag indicator icon
|
|
1542
1542
|
*/
|
|
1543
|
-
get dragIndicatorIconTemplate(): TemplateRef<
|
|
1544
|
-
set dragIndicatorIconTemplate(val: TemplateRef<
|
|
1543
|
+
get dragIndicatorIconTemplate(): TemplateRef<IgxGridEmptyTemplateContext>;
|
|
1544
|
+
set dragIndicatorIconTemplate(val: TemplateRef<IgxGridEmptyTemplateContext>);
|
|
1545
1545
|
/**
|
|
1546
1546
|
* @hidden @internal
|
|
1547
1547
|
*/
|
|
@@ -2144,7 +2144,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
2144
2144
|
* @hidden
|
|
2145
2145
|
* @internal
|
|
2146
2146
|
*/
|
|
2147
|
-
getDragGhostCustomTemplate(): TemplateRef<
|
|
2147
|
+
getDragGhostCustomTemplate(): TemplateRef<IgxGridRowDragGhostContext>;
|
|
2148
2148
|
/**
|
|
2149
2149
|
* @hidden @internal
|
|
2150
2150
|
*/
|
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { GridType } from './common/grid.interface';
|
|
2
|
+
import { GridType, IgxGridEmptyTemplateContext, IgxGridRowEditActionsTemplateContext, IgxGridRowEditTemplateContext, IgxGridRowEditTextTemplateContext } from './common/grid.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/** @hidden @internal */
|
|
5
5
|
export declare class IgxRowEditTemplateDirective {
|
|
6
|
+
static ngTemplateContextGuard(_directive: IgxRowEditTemplateDirective, context: unknown): context is IgxGridRowEditTemplateContext;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowEditTemplateDirective, never>;
|
|
7
8
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowEditTemplateDirective, "[igxRowEdit]", never, {}, {}, never, never, false>;
|
|
8
9
|
}
|
|
9
10
|
/** @hidden @internal */
|
|
10
11
|
export declare class IgxRowEditTextDirective {
|
|
12
|
+
static ngTemplateContextGuard(_directive: IgxRowEditTextDirective, context: unknown): context is IgxGridRowEditTextTemplateContext;
|
|
11
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowEditTextDirective, never>;
|
|
12
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowEditTextDirective, "[igxRowEditText]", never, {}, {}, never, never, false>;
|
|
13
15
|
}
|
|
14
16
|
/** @hidden @internal */
|
|
15
17
|
export declare class IgxRowAddTextDirective {
|
|
18
|
+
static ngTemplateContextGuard(_directive: IgxRowAddTextDirective, context: unknown): context is IgxGridEmptyTemplateContext;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowAddTextDirective, never>;
|
|
17
20
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowAddTextDirective, "[igxRowAddText]", never, {}, {}, never, never, false>;
|
|
18
21
|
}
|
|
19
22
|
/** @hidden @internal */
|
|
20
23
|
export declare class IgxRowEditActionsDirective {
|
|
24
|
+
static ngTemplateContextGuard(_directive: IgxRowEditActionsDirective, context: unknown): context is IgxGridRowEditActionsTemplateContext;
|
|
21
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowEditActionsDirective, never>;
|
|
22
26
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowEditActionsDirective, "[igxRowEditActions]", never, {}, {}, never, never, false>;
|
|
23
27
|
}
|
|
@@ -1,20 +1,12 @@
|
|
|
1
1
|
import { ChangeDetectorRef, DoCheck, ElementRef, QueryList, TemplateRef } from '@angular/core';
|
|
2
2
|
import { DisplayDensity } from '../../core/displayDensity';
|
|
3
3
|
import { IgxGridForOfDirective } from '../../directives/for-of/for_of.directive';
|
|
4
|
-
import { ColumnType, GridType } from '../common/grid.interface';
|
|
4
|
+
import { ColumnType, GridType, IgxHeadSelectorTemplateContext } from '../common/grid.interface';
|
|
5
5
|
import { IgxGridFilteringCellComponent } from '../filtering/base/grid-filtering-cell.component';
|
|
6
6
|
import { IgxGridFilteringRowComponent } from '../filtering/base/grid-filtering-row.component';
|
|
7
7
|
import { IgxGridHeaderGroupComponent } from './grid-header-group.component';
|
|
8
8
|
import { IgxGridHeaderComponent } from './grid-header.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
-
export interface IgxGridRowSelectorsTemplateContext {
|
|
11
|
-
$implicit: {
|
|
12
|
-
selectedCount: number;
|
|
13
|
-
totalCount: number;
|
|
14
|
-
selectAll?: () => void;
|
|
15
|
-
deselectAll?: () => void;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
10
|
/**
|
|
19
11
|
*
|
|
20
12
|
* For all intents & purposes treat this component as what a <thead> usually is in the default <table> element.
|
|
@@ -73,7 +65,7 @@ export declare class IgxGridHeaderRowComponent implements DoCheck {
|
|
|
73
65
|
headerDragContainer: ElementRef<HTMLElement>;
|
|
74
66
|
headerSelectorContainer: ElementRef<HTMLElement>;
|
|
75
67
|
headerGroupContainer: ElementRef<HTMLElement>;
|
|
76
|
-
headSelectorBaseTemplate: TemplateRef<
|
|
68
|
+
headSelectorBaseTemplate: TemplateRef<IgxHeadSelectorTemplateContext>;
|
|
77
69
|
filterRow: IgxGridFilteringRowComponent;
|
|
78
70
|
/**
|
|
79
71
|
* Expand/collapse all child grids area in a hierarchical grid.
|
|
@@ -92,7 +84,7 @@ export declare class IgxGridHeaderRowComponent implements DoCheck {
|
|
|
92
84
|
*/
|
|
93
85
|
get isHierarchicalGrid(): boolean;
|
|
94
86
|
get indentationCSSClasses(): string;
|
|
95
|
-
get rowSelectorsContext():
|
|
87
|
+
get rowSelectorsContext(): IgxHeadSelectorTemplateContext;
|
|
96
88
|
constructor(ref: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
97
89
|
/**
|
|
98
90
|
* This hook exists as a workaround for the unfortunate fact
|
|
@@ -267,15 +267,15 @@ export declare class IgxHierarchicalGridComponent extends IgxHierarchicalGridBas
|
|
|
267
267
|
/**
|
|
268
268
|
* @hidden
|
|
269
269
|
*/
|
|
270
|
-
get resolveRowEditContainer(): TemplateRef<
|
|
270
|
+
get resolveRowEditContainer(): TemplateRef<import("../common/grid.interface").IgxGridRowEditTemplateContext>;
|
|
271
271
|
/**
|
|
272
272
|
* @hidden
|
|
273
273
|
*/
|
|
274
|
-
get resolveRowEditActions(): TemplateRef<
|
|
274
|
+
get resolveRowEditActions(): TemplateRef<import("../common/grid.interface").IgxGridRowEditActionsTemplateContext>;
|
|
275
275
|
/**
|
|
276
276
|
* @hidden
|
|
277
277
|
*/
|
|
278
|
-
get resolveRowEditText(): TemplateRef<
|
|
278
|
+
get resolveRowEditText(): TemplateRef<import("../common/grid.interface").IgxGridRowEditTextTemplateContext>;
|
|
279
279
|
/** @hidden */
|
|
280
280
|
hideActionStrip(): void;
|
|
281
281
|
/**
|
|
@@ -4,7 +4,7 @@ import { IgxFilteringService } from '../filtering/grid-filtering.service';
|
|
|
4
4
|
import { IgxGridSelectionService } from '../selection/selection.service';
|
|
5
5
|
import { ColumnType, GridType, RowType } from '../common/grid.interface';
|
|
6
6
|
import { IgxGridSummaryService } from '../summaries/grid-summary.service';
|
|
7
|
-
import { IDimensionsChange, IPivotConfiguration, IPivotDimension, IPivotValue, IValuesChange, PivotDimensionType } from './pivot-grid.interface';
|
|
7
|
+
import { IDimensionsChange, IgxPivotGridValueTemplateContext, IPivotConfiguration, IPivotDimension, IPivotValue, IValuesChange, PivotDimensionType } from './pivot-grid.interface';
|
|
8
8
|
import { IgxPivotHeaderRowComponent } from './pivot-header-row.component';
|
|
9
9
|
import { IgxColumnGroupComponent } from '../columns/column-group.component';
|
|
10
10
|
import { IgxColumnComponent } from '../columns/column.component';
|
|
@@ -137,7 +137,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
137
137
|
* <igx-pivot-grid [valueChipTemplate]="myTemplate"><igx-pivot-grid>
|
|
138
138
|
* ```
|
|
139
139
|
*/
|
|
140
|
-
valueChipTemplate: TemplateRef<
|
|
140
|
+
valueChipTemplate: TemplateRef<IgxPivotGridValueTemplateContext>;
|
|
141
141
|
set pivotConfiguration(value: IPivotConfiguration);
|
|
142
142
|
get pivotConfiguration(): IPivotConfiguration;
|
|
143
143
|
showPivotConfigurationUI: boolean;
|
|
@@ -943,7 +943,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
|
|
|
943
943
|
protected generateDimensionColumns(): IgxColumnComponent[];
|
|
944
944
|
protected generateFromData(fields: string[]): Map<string, any>;
|
|
945
945
|
protected generateColumnHierarchy(fields: Map<string, any>, data: any, parent?: any): IgxColumnComponent[];
|
|
946
|
-
protected createColumnForDimension(value: any, data: any, parent: ColumnType, isGroup: boolean): IgxColumnGroupComponent;
|
|
946
|
+
protected createColumnForDimension(value: any, data: any, parent: ColumnType, isGroup: boolean): IgxColumnComponent | IgxColumnGroupComponent;
|
|
947
947
|
protected resolveColumnDimensionWidth(dim: IPivotDimension): string;
|
|
948
948
|
protected getMeasureChildren(colFactory: any, data: any, parent: any, hidden: any, parentWidth: any): any[];
|
|
949
949
|
/**
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { IgxPivotGridValueTemplateContext } from './pivot-grid.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* @hidden
|
|
5
6
|
*/
|
|
6
7
|
export declare class IgxPivotValueChipTemplateDirective {
|
|
7
|
-
template: TemplateRef<
|
|
8
|
-
constructor(template: TemplateRef<
|
|
8
|
+
template: TemplateRef<IgxPivotGridValueTemplateContext>;
|
|
9
|
+
constructor(template: TemplateRef<IgxPivotGridValueTemplateContext>);
|
|
10
|
+
static ngTemplateContextGuard(_directive: IgxPivotValueChipTemplateDirective, context: unknown): context is IgxPivotGridValueTemplateContext;
|
|
9
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxPivotValueChipTemplateDirective, never>;
|
|
10
12
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxPivotValueChipTemplateDirective, "[igxPivotValueChip]", never, {}, {}, never, never, false>;
|
|
11
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, TemplateRef } from '@angular/core';
|
|
2
2
|
import { IgxDragDirective } from '../directives/drag-drop/drag-drop.directive';
|
|
3
|
+
import { IgxGridEmptyTemplateContext, IgxGridRowDragGhostContext } from './common/grid.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* @hidden
|
|
@@ -25,6 +26,7 @@ export declare class IgxRowDragDirective extends IgxDragDirective implements OnD
|
|
|
25
26
|
* @hidden
|
|
26
27
|
*/
|
|
27
28
|
export declare class IgxDragIndicatorIconDirective {
|
|
29
|
+
static ngTemplateContextGuard(_directive: IgxDragIndicatorIconDirective, context: unknown): context is IgxGridEmptyTemplateContext;
|
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxDragIndicatorIconDirective, never>;
|
|
29
31
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxDragIndicatorIconDirective, "[igxDragIndicatorIcon]", never, {}, {}, never, never, false>;
|
|
30
32
|
}
|
|
@@ -32,8 +34,9 @@ export declare class IgxDragIndicatorIconDirective {
|
|
|
32
34
|
* @hidden
|
|
33
35
|
*/
|
|
34
36
|
export declare class IgxRowDragGhostDirective {
|
|
35
|
-
templateRef: TemplateRef<
|
|
36
|
-
constructor(templateRef: TemplateRef<
|
|
37
|
+
templateRef: TemplateRef<IgxGridRowDragGhostContext>;
|
|
38
|
+
constructor(templateRef: TemplateRef<IgxGridRowDragGhostContext>);
|
|
39
|
+
static ngTemplateContextGuard(_directive: IgxRowDragGhostDirective, context: unknown): context is IgxGridRowDragGhostContext;
|
|
37
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowDragGhostDirective, never>;
|
|
38
41
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowDragGhostDirective, "[igxRowDragGhost]", never, {}, {}, never, never, false>;
|
|
39
42
|
}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { IgxHeadSelectorTemplateContext, IgxGroupByRowSelectorTemplateContext, IgxRowSelectorTemplateContext } from '../common/grid.interface';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
/**
|
|
4
5
|
* @hidden
|
|
5
6
|
* @internal
|
|
6
7
|
*/
|
|
7
8
|
export declare class IgxRowSelectorDirective {
|
|
8
|
-
templateRef: TemplateRef<
|
|
9
|
-
constructor(templateRef: TemplateRef<
|
|
9
|
+
templateRef: TemplateRef<IgxRowSelectorTemplateContext>;
|
|
10
|
+
constructor(templateRef: TemplateRef<IgxRowSelectorTemplateContext>);
|
|
11
|
+
static ngTemplateContextGuard(_directive: IgxRowSelectorDirective, context: unknown): context is IgxRowSelectorTemplateContext;
|
|
10
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxRowSelectorDirective, never>;
|
|
11
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxRowSelectorDirective, "[igxRowSelector]", never, {}, {}, never, never, false>;
|
|
12
14
|
}
|
|
@@ -15,8 +17,9 @@ export declare class IgxRowSelectorDirective {
|
|
|
15
17
|
* @internal
|
|
16
18
|
*/
|
|
17
19
|
export declare class IgxGroupByRowSelectorDirective {
|
|
18
|
-
templateRef: TemplateRef<
|
|
19
|
-
constructor(templateRef: TemplateRef<
|
|
20
|
+
templateRef: TemplateRef<IgxGroupByRowSelectorTemplateContext>;
|
|
21
|
+
constructor(templateRef: TemplateRef<IgxGroupByRowSelectorTemplateContext>);
|
|
22
|
+
static ngTemplateContextGuard(_directive: IgxGroupByRowSelectorDirective, context: unknown): context is IgxGroupByRowSelectorTemplateContext;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGroupByRowSelectorDirective, never>;
|
|
21
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGroupByRowSelectorDirective, "[igxGroupByRowSelector]", never, {}, {}, never, never, false>;
|
|
22
25
|
}
|
|
@@ -25,8 +28,9 @@ export declare class IgxGroupByRowSelectorDirective {
|
|
|
25
28
|
* @internal
|
|
26
29
|
*/
|
|
27
30
|
export declare class IgxHeadSelectorDirective {
|
|
28
|
-
templateRef: TemplateRef<
|
|
29
|
-
constructor(templateRef: TemplateRef<
|
|
31
|
+
templateRef: TemplateRef<IgxHeadSelectorTemplateContext>;
|
|
32
|
+
constructor(templateRef: TemplateRef<IgxHeadSelectorTemplateContext>);
|
|
33
|
+
static ngTemplateContextGuard(_directive: IgxHeadSelectorDirective, context: unknown): context is IgxHeadSelectorTemplateContext;
|
|
30
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxHeadSelectorDirective, never>;
|
|
31
35
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxHeadSelectorDirective, "[igxHeadSelector]", never, {}, {}, never, never, false>;
|
|
32
36
|
}
|
|
@@ -61,6 +61,7 @@ export interface IgxGridToolbarTemplateContext {
|
|
|
61
61
|
export declare class IgxGridToolbarDirective {
|
|
62
62
|
template: TemplateRef<IgxGridToolbarTemplateContext>;
|
|
63
63
|
constructor(template: TemplateRef<IgxGridToolbarTemplateContext>);
|
|
64
|
+
static ngTemplateContextGuard(_dir: IgxGridToolbarDirective, ctx: unknown): ctx is IgxGridToolbarTemplateContext;
|
|
64
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridToolbarDirective, never>;
|
|
65
66
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxGridToolbarDirective, "[igxGridToolbar]", never, {}, {}, never, never, false>;
|
|
66
67
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import * as JSZip from 'jszip';
|
|
2
1
|
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import { IgxExcelExporterOptions } from './excel-exporter-options';
|
|
4
3
|
import { IExportRecord, IgxBaseExporter } from '../exporter-common/base-export-service';
|
|
5
4
|
import { IBaseEventArgs } from '../../core/utils';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export interface IExcelExportEndedEventArgs extends IBaseEventArgs {
|
|
8
|
-
|
|
7
|
+
zipStructure: Object;
|
|
9
8
|
}
|
|
10
9
|
/**
|
|
11
10
|
* **Ignite UI for Angular Excel Exporter Service** -
|
|
@@ -29,7 +28,6 @@ export interface IExcelExportEndedEventArgs extends IBaseEventArgs {
|
|
|
29
28
|
* ```
|
|
30
29
|
*/
|
|
31
30
|
export declare class IgxExcelExporterService extends IgxBaseExporter {
|
|
32
|
-
private static ZIP_OPTIONS;
|
|
33
31
|
/**
|
|
34
32
|
* This event is emitted when the export process finishes.
|
|
35
33
|
* ```typescript
|
|
@@ -41,8 +39,7 @@ export declare class IgxExcelExporterService extends IgxBaseExporter {
|
|
|
41
39
|
* @memberof IgxExcelExporterService
|
|
42
40
|
*/
|
|
43
41
|
exportEnded: EventEmitter<IExcelExportEndedEventArgs>;
|
|
44
|
-
private
|
|
45
|
-
private static populateFolderAsync;
|
|
42
|
+
private static populateZipFileConfig;
|
|
46
43
|
protected exportDataImplementation(data: IExportRecord[], options: IgxExcelExporterOptions, done: () => void): void;
|
|
47
44
|
private saveFile;
|
|
48
45
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelExporterService, never>;
|
|
@@ -1,35 +1,34 @@
|
|
|
1
1
|
import { IExcelFile } from './excel-interfaces';
|
|
2
2
|
import { WorksheetData } from './worksheet-data';
|
|
3
|
-
import * as JSZip from 'jszip';
|
|
4
3
|
/**
|
|
5
4
|
* @hidden
|
|
6
5
|
*/
|
|
7
6
|
export declare class RootRelsFile implements IExcelFile {
|
|
8
|
-
writeElement(folder:
|
|
7
|
+
writeElement(folder: Object): void;
|
|
9
8
|
}
|
|
10
9
|
/**
|
|
11
10
|
* @hidden
|
|
12
11
|
*/
|
|
13
12
|
export declare class AppFile implements IExcelFile {
|
|
14
|
-
writeElement(folder:
|
|
13
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
15
14
|
}
|
|
16
15
|
/**
|
|
17
16
|
* @hidden
|
|
18
17
|
*/
|
|
19
18
|
export declare class CoreFile implements IExcelFile {
|
|
20
|
-
writeElement(folder:
|
|
19
|
+
writeElement(folder: Object): void;
|
|
21
20
|
}
|
|
22
21
|
/**
|
|
23
22
|
* @hidden
|
|
24
23
|
*/
|
|
25
24
|
export declare class WorkbookRelsFile implements IExcelFile {
|
|
26
|
-
writeElement(folder:
|
|
25
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
27
26
|
}
|
|
28
27
|
/**
|
|
29
28
|
* @hidden
|
|
30
29
|
*/
|
|
31
30
|
export declare class ThemeFile implements IExcelFile {
|
|
32
|
-
writeElement(folder:
|
|
31
|
+
writeElement(folder: Object): void;
|
|
33
32
|
}
|
|
34
33
|
/**
|
|
35
34
|
* @hidden
|
|
@@ -44,7 +43,7 @@ export declare class WorksheetFile implements IExcelFile {
|
|
|
44
43
|
private mergeCellsCounter;
|
|
45
44
|
private rowIndex;
|
|
46
45
|
writeElement(): void;
|
|
47
|
-
writeElementAsync(folder:
|
|
46
|
+
writeElementAsync(folder: Object, worksheetData: WorksheetData): Promise<void>;
|
|
48
47
|
private prepareDataAsync;
|
|
49
48
|
private processDataRecordsAsync;
|
|
50
49
|
private hGridPrintMultiColHeaders;
|
|
@@ -55,35 +54,35 @@ export declare class WorksheetFile implements IExcelFile {
|
|
|
55
54
|
* @hidden
|
|
56
55
|
*/
|
|
57
56
|
export declare class StyleFile implements IExcelFile {
|
|
58
|
-
writeElement(folder:
|
|
57
|
+
writeElement(folder: Object): void;
|
|
59
58
|
}
|
|
60
59
|
/**
|
|
61
60
|
* @hidden
|
|
62
61
|
*/
|
|
63
62
|
export declare class WorkbookFile implements IExcelFile {
|
|
64
|
-
writeElement(folder:
|
|
63
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
65
64
|
}
|
|
66
65
|
/**
|
|
67
66
|
* @hidden
|
|
68
67
|
*/
|
|
69
68
|
export declare class ContentTypesFile implements IExcelFile {
|
|
70
|
-
writeElement(folder:
|
|
69
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
71
70
|
}
|
|
72
71
|
/**
|
|
73
72
|
* @hidden
|
|
74
73
|
*/
|
|
75
74
|
export declare class SharedStringsFile implements IExcelFile {
|
|
76
|
-
writeElement(folder:
|
|
75
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
77
76
|
}
|
|
78
77
|
/**
|
|
79
78
|
* @hidden
|
|
80
79
|
*/
|
|
81
80
|
export declare class TablesFile implements IExcelFile {
|
|
82
|
-
writeElement(folder:
|
|
81
|
+
writeElement(folder: Object, worksheetData: WorksheetData): void;
|
|
83
82
|
}
|
|
84
83
|
/**
|
|
85
84
|
* @hidden
|
|
86
85
|
*/
|
|
87
86
|
export declare class WorksheetRelsFile implements IExcelFile {
|
|
88
|
-
writeElement(folder:
|
|
87
|
+
writeElement(folder: Object): void;
|
|
89
88
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import * as JSZip from 'jszip';
|
|
2
1
|
import { ExcelFileTypes, ExcelFolderTypes } from './excel-enums';
|
|
3
2
|
import { WorksheetData } from './worksheet-data';
|
|
4
3
|
/** @hidden */
|
|
5
4
|
export interface IExcelFile {
|
|
6
|
-
writeElement(folder:
|
|
5
|
+
writeElement(folder: Object, data: WorksheetData): void;
|
|
7
6
|
}
|
|
8
7
|
/** @hidden */
|
|
9
8
|
export interface IExcelFolder {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.2.0-alpha.2",
|
|
4
4
|
"description": "Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps",
|
|
5
5
|
"author": "Infragistics",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@types/hammerjs": "^2.0.40",
|
|
73
73
|
"hammerjs": "^2.0.8",
|
|
74
|
-
"
|
|
74
|
+
"fflate": "^0.7.3",
|
|
75
75
|
"tslib": "^2.3.0",
|
|
76
76
|
"igniteui-trial-watermark": "^1.0.3",
|
|
77
|
-
"lodash
|
|
77
|
+
"lodash-es": "^4.17.21",
|
|
78
78
|
"uuid": "^8.3.0",
|
|
79
79
|
"@igniteui/material-icons-extended": "^2.10.0"
|
|
80
80
|
},
|
|
@@ -93,7 +93,7 @@ describe('ng-add schematics', () => {
|
|
|
93
93
|
it('should add the correct igniteui-angular packages to package.json dependencies', () => __awaiter(void 0, void 0, void 0, function* () {
|
|
94
94
|
yield runner.runSchematicAsync('ng-add', { normalizeCss: false }, tree).toPromise();
|
|
95
95
|
const pkgJsonData = JSON.parse(tree.readContent('/package.json'));
|
|
96
|
-
expect(pkgJsonData.dependencies['
|
|
96
|
+
expect(pkgJsonData.dependencies['fflate']).toBeTruthy();
|
|
97
97
|
expect(pkgJsonData.dependencies['hammerjs']).toBeTruthy();
|
|
98
98
|
}));
|
|
99
99
|
it('should NOT add hammer.js to the main.ts file', () => __awaiter(void 0, void 0, void 0, function* () {
|