igniteui-angular-extras 20.0.2 → 21.2.0-beta.1

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.
@@ -1,4 +1,11 @@
1
- {
2
- "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
- "schematics": {}
1
+ {
2
+ "$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3
+ "encapsulation": true,
4
+ "schematics": {
5
+ "migration-01": {
6
+ "version": "21.0.0",
7
+ "description": "Renames enum members to PascalCase and output properties to follow Angular naming conventions",
8
+ "factory": "./update-1_0_0"
9
+ }
10
+ }
4
11
  }
@@ -0,0 +1,3 @@
1
+ import type { Rule } from '@angular-devkit/schematics';
2
+ declare const _default: () => Rule;
3
+ export default _default;
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const version = '1.0.0';
4
+ /** Map of old enum member names to new names (prefixed with enum name for specificity) */
5
+ const CHART_TYPE_RENAMES = {
6
+ 'CHART_TYPE.PIE': 'CHART_TYPE.Pie',
7
+ 'CHART_TYPE.COLUMN_GROUPED': 'CHART_TYPE.ColumnGrouped',
8
+ 'CHART_TYPE.AREA_GROUPED': 'CHART_TYPE.AreaGrouped',
9
+ 'CHART_TYPE.LINE_GROUPED': 'CHART_TYPE.LineGrouped',
10
+ 'CHART_TYPE.BAR_GROUPED': 'CHART_TYPE.BarGrouped',
11
+ 'CHART_TYPE.COLUMN_STACKED': 'CHART_TYPE.ColumnStacked',
12
+ 'CHART_TYPE.AREA_STACKED': 'CHART_TYPE.AreaStacked',
13
+ 'CHART_TYPE.LINE_STACKED': 'CHART_TYPE.LineStacked',
14
+ 'CHART_TYPE.BAR_STACKED': 'CHART_TYPE.BarStacked',
15
+ 'CHART_TYPE.COLUMN_100_STACKED': 'CHART_TYPE.Column100Stacked',
16
+ 'CHART_TYPE.AREA_100_STACKED': 'CHART_TYPE.Area100Stacked',
17
+ 'CHART_TYPE.LINE_100_STACKED': 'CHART_TYPE.Line100Stacked',
18
+ 'CHART_TYPE.BAR_100_STACKED': 'CHART_TYPE.Bar100Stacked',
19
+ 'CHART_TYPE.SCATTER_POINT': 'CHART_TYPE.ScatterPoint',
20
+ 'CHART_TYPE.SCATTER_BUBBLE': 'CHART_TYPE.ScatterBubble',
21
+ 'CHART_TYPE.SCATTER_LINE': 'CHART_TYPE.ScatterLine',
22
+ };
23
+ const OPTIONS_TYPE_RENAMES = {
24
+ 'OPTIONS_TYPE.CHART': 'OPTIONS_TYPE.Chart',
25
+ 'OPTIONS_TYPE.SERIES': 'OPTIONS_TYPE.Series',
26
+ 'OPTIONS_TYPE.X_AXIS': 'OPTIONS_TYPE.XAxis',
27
+ 'OPTIONS_TYPE.Y_AXIS': 'OPTIONS_TYPE.YAxis',
28
+ 'OPTIONS_TYPE.STACKED_SERIES': 'OPTIONS_TYPE.StackedSeries',
29
+ };
30
+ const CONDITIONAL_FORMATTING_TYPE_RENAMES = {
31
+ 'ConditionalFormattingType.dataBars': 'ConditionalFormattingType.DataBars',
32
+ 'ConditionalFormattingType.colorScale': 'ConditionalFormattingType.ColorScale',
33
+ 'ConditionalFormattingType.top10': 'ConditionalFormattingType.Top10',
34
+ 'ConditionalFormattingType.textContains': 'ConditionalFormattingType.TextContains',
35
+ 'ConditionalFormattingType.single': 'ConditionalFormattingType.Single',
36
+ 'ConditionalFormattingType.unique': 'ConditionalFormattingType.Unique',
37
+ 'ConditionalFormattingType.empty': 'ConditionalFormattingType.Empty',
38
+ };
39
+ /** Output property renames: old name -> new name */
40
+ const OUTPUT_RENAMES = {
41
+ 'onClose': 'closed',
42
+ 'onButtonClose': 'buttonClose',
43
+ 'onChartTypesDetermined': 'chartTypesDetermined',
44
+ 'onChartCreationDone': 'chartCreationDone',
45
+ 'onFormattersReady': 'formattersReady',
46
+ };
47
+ function replaceAll(content, replacements) {
48
+ for (const [oldValue, newValue] of Object.entries(replacements)) {
49
+ const escaped = oldValue.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
50
+ const regex = new RegExp(`\\b${escaped}\\b`, 'g');
51
+ content = content.replace(regex, newValue);
52
+ }
53
+ return content;
54
+ }
55
+ function hasExtrasImport(content) {
56
+ return /from\s+['"]igniteui-angular-extras['"]/.test(content);
57
+ }
58
+ function migrateTemplateFile(content) {
59
+ let updated = content;
60
+ for (const [oldName, newName] of Object.entries(OUTPUT_RENAMES)) {
61
+ // Replace event bindings: (onClose) -> (closed)
62
+ const eventBindingRegex = new RegExp(`\\(${oldName}\\)`, 'g');
63
+ updated = updated.replace(eventBindingRegex, `(${newName})`);
64
+ }
65
+ return updated;
66
+ }
67
+ function migrateTypeScriptFile(content) {
68
+ let updated = content;
69
+ // Replace enum member references (only in files that import from extras)
70
+ if (hasExtrasImport(updated)) {
71
+ updated = replaceAll(updated, CHART_TYPE_RENAMES);
72
+ updated = replaceAll(updated, OPTIONS_TYPE_RENAMES);
73
+ updated = replaceAll(updated, CONDITIONAL_FORMATTING_TYPE_RENAMES);
74
+ // Replace output property access in TypeScript (e.g., .onButtonClose.emit(), .onButtonClose.subscribe())
75
+ for (const [oldName, newName] of Object.entries(OUTPUT_RENAMES)) {
76
+ const propertyAccessRegex = new RegExp(`\\.${oldName}\\b`, 'g');
77
+ updated = updated.replace(propertyAccessRegex, `.${newName}`);
78
+ }
79
+ }
80
+ return updated;
81
+ }
82
+ exports.default = () => (host, context) => {
83
+ context.logger.info(`Applying migration for Ignite UI for Angular Extras to version ${version}`);
84
+ host.visit((path) => {
85
+ var _a, _b;
86
+ if (path.includes('node_modules')) {
87
+ return;
88
+ }
89
+ const content = (_a = host.read(path)) === null || _a === void 0 ? void 0 : _a.toString('utf-8');
90
+ if (!content) {
91
+ return;
92
+ }
93
+ if (path.endsWith('.html')) {
94
+ // Only migrate templates whose companion .ts file imports from extras
95
+ const companionTs = path.replace(/\.html$/, '.ts');
96
+ const companionContent = (_b = host.read(companionTs)) === null || _b === void 0 ? void 0 : _b.toString('utf-8');
97
+ if (companionContent && hasExtrasImport(companionContent)) {
98
+ const updated = migrateTemplateFile(content);
99
+ if (updated !== content) {
100
+ host.overwrite(path, updated);
101
+ context.logger.info(` Updated template: ${path}`);
102
+ }
103
+ }
104
+ }
105
+ else if (path.endsWith('.ts') && !path.endsWith('.d.ts')) {
106
+ const updated = migrateTypeScriptFile(content);
107
+ if (updated !== content) {
108
+ host.overwrite(path, updated);
109
+ context.logger.info(` Updated source: ${path}`);
110
+ }
111
+ }
112
+ });
113
+ };
package/package.json CHANGED
@@ -1,30 +1,53 @@
1
1
  {
2
2
  "name": "igniteui-angular-extras",
3
- "version": "20.0.2",
3
+ "version": "21.2.0-beta.1",
4
+ "description": "Ignite UI for Angular Extras - Grid enhancements and data analysis features",
5
+ "author": "Infragistics",
6
+ "license": "SEE LICENSE IN LICENSE",
7
+ "homepage": "https://www.infragistics.com/products/ignite-ui-angular",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/IgniteUI/igniteui-angular.git",
11
+ "directory": "projects/igniteui-angular-extras"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/IgniteUI/igniteui-angular/issues"
15
+ },
16
+ "keywords": [
17
+ "angular",
18
+ "igniteui",
19
+ "grid",
20
+ "chart integration",
21
+ "conditional formatting",
22
+ "context menu",
23
+ "data visualization"
24
+ ],
4
25
  "dependencies": {
5
- "tslib": "^2.0.0",
6
- "igniteui-trial-watermark": "^3.0.2"
26
+ "tslib": "^2.8.1",
27
+ "igniteui-trial-watermark": "^3.1.0"
7
28
  },
8
29
  "peerDependencies": {
9
- "@angular/common": "20",
10
- "@angular/core": "20",
11
- "igniteui-angular": "20",
12
- "igniteui-angular-charts": "20",
13
- "igniteui-angular-core": "20"
30
+ "@angular/common": "21",
31
+ "@angular/core": "21",
32
+ "igniteui-angular": "^21.0.0",
33
+ "igniteui-angular-charts": "^21.0.0",
34
+ "igniteui-angular-core": "^21.0.0"
14
35
  },
36
+ "schematics": "./migrations/migration-collection.json",
15
37
  "ng-update": {
16
38
  "migrations": "./migrations/migration-collection.json"
17
39
  },
40
+ "sideEffects": false,
18
41
  "module": "fesm2022/igniteui-angular-extras.mjs",
19
- "typings": "index.d.ts",
42
+ "typings": "types/igniteui-angular-extras.d.ts",
20
43
  "exports": {
21
44
  "./package.json": {
22
45
  "default": "./package.json"
23
46
  },
24
47
  ".": {
25
- "types": "./index.d.ts",
48
+ "types": "./types/igniteui-angular-extras.d.ts",
26
49
  "default": "./fesm2022/igniteui-angular-extras.mjs"
27
50
  }
28
51
  },
29
- "sideEffects": false
52
+ "type": "module"
30
53
  }
@@ -1,34 +1,35 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Type, EventEmitter, ComponentFactoryResolver, ViewContainerRef, AfterViewInit, OnDestroy, OnInit, ElementRef, PipeTransform } from '@angular/core';
3
- import { IgxPieChartComponent, IgxDataChartComponent } from 'igniteui-angular-charts';
4
- import { IgxGridComponent, IgxOverlayService, IgxToggleDirective, IgxTabsComponent } from 'igniteui-angular';
2
+ import { Type, EventEmitter, ViewContainerRef, AfterViewInit, OnDestroy, OnInit, ElementRef } from '@angular/core';
3
+ import { IgxDataChartComponent, IgxPieChartComponent } from 'igniteui-angular-charts';
4
+ import { IgxGridComponent } from 'igniteui-angular/grids/grid';
5
5
  import { Subject } from 'rxjs';
6
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
6
+ import { IgxToggleDirective } from 'igniteui-angular/directives';
7
+ import { IgxTabsComponent } from 'igniteui-angular/tabs';
7
8
 
8
9
  declare enum CHART_TYPE {
9
- PIE = "Pie",
10
- COLUMN_GROUPED = "ColumnGrouped",
11
- AREA_GROUPED = "AreaGrouped",
12
- LINE_GROUPED = "LineGrouped",
13
- BAR_GROUPED = "BarGrouped",
14
- COLUMN_STACKED = "ColumnStacked",
15
- AREA_STACKED = "AreaStacked",
16
- LINE_STACKED = "LineStacked",
17
- BAR_STACKED = "BarStacked",
18
- COLUMN_100_STACKED = "Column100Stacked",
19
- AREA_100_STACKED = "Area100Stacked",
20
- LINE_100_STACKED = "Line100Stacked",
21
- BAR_100_STACKED = "Bar100Stacked",
22
- SCATTER_POINT = "ScatterPoint",
23
- SCATTER_BUBBLE = "ScatterBubble",
24
- SCATTER_LINE = "ScatterLine"
10
+ Pie = "Pie",
11
+ ColumnGrouped = "ColumnGrouped",
12
+ AreaGrouped = "AreaGrouped",
13
+ LineGrouped = "LineGrouped",
14
+ BarGrouped = "BarGrouped",
15
+ ColumnStacked = "ColumnStacked",
16
+ AreaStacked = "AreaStacked",
17
+ LineStacked = "LineStacked",
18
+ BarStacked = "BarStacked",
19
+ Column100Stacked = "Column100Stacked",
20
+ Area100Stacked = "Area100Stacked",
21
+ Line100Stacked = "Line100Stacked",
22
+ Bar100Stacked = "Bar100Stacked",
23
+ ScatterPoint = "ScatterPoint",
24
+ ScatterBubble = "ScatterBubble",
25
+ ScatterLine = "ScatterLine"
25
26
  }
26
27
  declare enum OPTIONS_TYPE {
27
- CHART = "chartOptions",
28
- SERIES = "seriesModel",
29
- X_AXIS = "xAxisOptions",
30
- Y_AXIS = "yAxisOptions",
31
- STACKED_SERIES = "stackedFragmentOptions"
28
+ Chart = "chartOptions",
29
+ Series = "seriesModel",
30
+ XAxis = "xAxisOptions",
31
+ YAxis = "yAxisOptions",
32
+ StackedSeries = "stackedFragmentOptions"
32
33
  }
33
34
 
34
35
  declare class SeriesFactory {
@@ -73,11 +74,10 @@ interface IDeterminedChartTypesArgs {
73
74
  chartsForCreation: CHART_TYPE[];
74
75
  }
75
76
  declare class IgxChartIntegrationDirective {
76
- private factoryResolver;
77
77
  get chartData(): any[];
78
78
  set chartData(selectedData: any[]);
79
- onChartTypesDetermined: EventEmitter<IDeterminedChartTypesArgs>;
80
- onChartCreationDone: EventEmitter<any>;
79
+ chartTypesDetermined: EventEmitter<IDeterminedChartTypesArgs>;
80
+ chartCreationDone: EventEmitter<any>;
81
81
  useLegend: boolean;
82
82
  defaultLabelMemberPath: string;
83
83
  set scatterChartYAxisValueMemberPath(path: string);
@@ -100,7 +100,7 @@ declare class IgxChartIntegrationDirective {
100
100
  private scatterChartSeriesOptionsModel;
101
101
  private bubbleChartSeriesOptionsModel;
102
102
  private get dataChartOptions();
103
- constructor(factoryResolver: ComponentFactoryResolver);
103
+ constructor();
104
104
  getAllChartTypes(): CHART_TYPE[];
105
105
  getAvailableCharts(): any[];
106
106
  disableCharts(types: CHART_TYPE[]): void;
@@ -115,17 +115,17 @@ declare class IgxChartIntegrationDirective {
115
115
  private setAxisLabelOption;
116
116
  setChartComponentOptions(chart: CHART_TYPE, optionsType: OPTIONS_TYPE, options: IOptions): void;
117
117
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxChartIntegrationDirective, never>;
118
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxChartIntegrationDirective, "[igxChartIntegration]", never, { "chartData": { "alias": "chartData"; "required": false; }; "useLegend": { "alias": "useLegend"; "required": false; }; "defaultLabelMemberPath": { "alias": "defaultLabelMemberPath"; "required": false; }; "scatterChartYAxisValueMemberPath": { "alias": "scatterChartYAxisValueMemberPath"; "required": false; }; "bubbleChartRadiusMemberPath": { "alias": "bubbleChartRadiusMemberPath"; "required": false; }; }, { "onChartTypesDetermined": "onChartTypesDetermined"; "onChartCreationDone": "onChartCreationDone"; }, never, never, true, never>;
118
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IgxChartIntegrationDirective, "[igxChartIntegration]", never, { "chartData": { "alias": "chartData"; "required": false; }; "useLegend": { "alias": "useLegend"; "required": false; }; "defaultLabelMemberPath": { "alias": "defaultLabelMemberPath"; "required": false; }; "scatterChartYAxisValueMemberPath": { "alias": "scatterChartYAxisValueMemberPath"; "required": false; }; "bubbleChartRadiusMemberPath": { "alias": "bubbleChartRadiusMemberPath"; "required": false; }; }, { "chartTypesDetermined": "chartTypesDetermined"; "chartCreationDone": "chartCreationDone"; }, never, never, true, never>;
119
119
  }
120
120
 
121
121
  declare enum ConditionalFormattingType {
122
- dataBars = "Data Bars",
123
- colorScale = "Color Scale",
124
- top10 = "Top 10",
125
- textContains = "Text Contains",
126
- single = "Duplicate Values",
127
- unique = "Unique Values",
128
- empty = "Empty"
122
+ DataBars = "Data Bars",
123
+ ColorScale = "Color Scale",
124
+ Top10 = "Top 10",
125
+ TextContains = "Text Contains",
126
+ Single = "Duplicate Values",
127
+ Unique = "Unique Values",
128
+ Empty = "Empty"
129
129
  }
130
130
  interface IFormatColors {
131
131
  success: string;
@@ -135,43 +135,42 @@ interface IFormatColors {
135
135
  text: string;
136
136
  }
137
137
  declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDestroy {
138
- grid: IgxGridComponent;
139
138
  formatter: string | ConditionalFormattingType;
140
139
  set formatColors(val: IFormatColors);
141
140
  get formatColors(): IFormatColors;
142
- onFormattersReady: EventEmitter<string[]>;
141
+ formattersReady: EventEmitter<string[]>;
143
142
  colorScale: {
144
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
143
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
145
144
  };
146
145
  dataBars: {
147
- backgroundImage: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
146
+ backgroundImage: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
148
147
  backgroundSize: string;
149
148
  backgroundRepeat: string;
150
149
  backgroundPositionY: string;
151
150
  };
152
151
  top10Percent: {
153
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
154
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
152
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
153
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
155
154
  };
156
155
  greaterThan: {
157
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
158
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
156
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
157
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
159
158
  };
160
159
  empty: {
161
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
162
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
160
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
161
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
163
162
  };
164
163
  duplicates: {
165
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
166
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
164
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
165
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
167
166
  };
168
167
  textContains: {
169
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
170
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
168
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
169
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
171
170
  };
172
171
  uniques: {
173
- backgroundColor: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
174
- color: (rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
172
+ backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
173
+ color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
175
174
  };
176
175
  private get selectedData();
177
176
  private get textData();
@@ -189,7 +188,8 @@ declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDest
189
188
  private _formattersData;
190
189
  private destroy$;
191
190
  private formatedRange;
192
- constructor(grid: IgxGridComponent);
191
+ private readonly grid;
192
+ constructor();
193
193
  ngAfterViewInit(): void;
194
194
  ngOnDestroy(): void;
195
195
  formatCells(formatterName: any, formatRange?: [], reset?: boolean): void;
@@ -208,16 +208,12 @@ declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDest
208
208
  private addToCache;
209
209
  private toArray;
210
210
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxConditionalFormattingDirective, never>;
211
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxConditionalFormattingDirective, "[igxConditionalFormatting]", never, { "formatter": { "alias": "formatter"; "required": false; }; "formatColors": { "alias": "formatColors"; "required": false; }; }, { "onFormattersReady": "onFormattersReady"; }, never, never, true, never>;
211
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IgxConditionalFormattingDirective, "[igxConditionalFormatting]", never, { "formatter": { "alias": "formatter"; "required": false; }; "formatColors": { "alias": "formatColors"; "required": false; }; }, { "formattersReady": "formattersReady"; }, never, never, true, never>;
212
212
  }
213
213
 
214
214
  declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestroy {
215
- grid: IgxGridComponent;
216
- textFormatter: IgxConditionalFormattingDirective;
217
- chartsDirective: IgxChartIntegrationDirective;
218
- private overlayService;
219
215
  displayCreationTab: boolean;
220
- onButtonClose: EventEmitter<any>;
216
+ buttonClose: EventEmitter<any>;
221
217
  formatters: any[];
222
218
  charts: any[];
223
219
  gridResizeNotify: Subject<void>;
@@ -227,7 +223,11 @@ declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestro
227
223
  private _collapsed;
228
224
  private destroy$;
229
225
  private _analyticsBtnSettings;
230
- constructor(grid: IgxGridComponent, textFormatter: IgxConditionalFormattingDirective, chartsDirective: IgxChartIntegrationDirective, overlayService: IgxOverlayService);
226
+ readonly grid: IgxGridComponent;
227
+ readonly textFormatter: IgxConditionalFormattingDirective;
228
+ readonly chartsDirective: IgxChartIntegrationDirective;
229
+ private readonly overlayService;
230
+ constructor();
231
231
  ngOnInit(): void;
232
232
  ngAfterViewInit(): void;
233
233
  ngOnDestroy(): void;
@@ -237,12 +237,11 @@ declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestro
237
237
  private show;
238
238
  private close;
239
239
  private isWithInRange;
240
- static ɵfac: i0.ɵɵFactoryDeclaration<IgxContextMenuDirective, [null, { optional: true; }, { optional: true; }, null]>;
241
- static ɵdir: i0.ɵɵDirectiveDeclaration<IgxContextMenuDirective, "[igxContextMenu]", never, { "displayCreationTab": { "alias": "displayCreationTab"; "required": false; }; }, { "onButtonClose": "onButtonClose"; }, never, never, true, never>;
240
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgxContextMenuDirective, never>;
241
+ static ɵdir: i0.ɵɵDirectiveDeclaration<IgxContextMenuDirective, "[igxContextMenu]", never, { "displayCreationTab": { "alias": "displayCreationTab"; "required": false; }; }, { "buttonClose": "buttonClose"; }, never, never, true, never>;
242
242
  }
243
243
 
244
244
  declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
245
- private overlayService;
246
245
  button: ElementRef;
247
246
  tabsMenu: IgxToggleDirective;
248
247
  chartPreview: ViewContainerRef;
@@ -261,7 +260,8 @@ declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
261
260
  private _chartPreviewDialogOverlaySettings;
262
261
  chartImages: any;
263
262
  conditionImages: any;
264
- constructor(overlayService: IgxOverlayService);
263
+ private overlayService;
264
+ constructor();
265
265
  ngAfterViewInit(): void;
266
266
  ngOnDestroy(): void;
267
267
  toggleTabMenu(): void;
@@ -275,10 +275,9 @@ declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
275
275
  static ɵcmp: i0.ɵɵComponentDeclaration<IgxContextMenuComponent, "igx-context-menu", never, {}, {}, never, never, true, never>;
276
276
  }
277
277
 
278
- declare class IgxChartMenuComponent implements AfterViewInit {
279
- private element;
278
+ declare class IgxChartMenuComponent implements AfterViewInit, OnDestroy {
280
279
  chartArea: ViewContainerRef;
281
- onClose: EventEmitter<any>;
280
+ closed: EventEmitter<any>;
282
281
  get width(): any;
283
282
  set width(value: any);
284
283
  get height(): any;
@@ -295,22 +294,16 @@ declare class IgxChartMenuComponent implements AfterViewInit {
295
294
  mainChartTypes: string[];
296
295
  private _width;
297
296
  private _height;
298
- constructor(element: ElementRef<any>);
297
+ private element;
298
+ constructor();
299
299
  ngAfterViewInit(): void;
300
+ ngOnDestroy(): void;
300
301
  toggleFullScreen(): void;
301
302
  hasAvailableChart(chartType: any): boolean;
302
303
  createChart(chartType: any): void;
303
304
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxChartMenuComponent, never>;
304
- static ɵcmp: i0.ɵɵComponentDeclaration<IgxChartMenuComponent, "igx-chart-menu", never, {}, { "onClose": "onClose"; }, never, never, true, never>;
305
- }
306
-
307
- declare class SvgPipe implements PipeTransform {
308
- private sanitizer;
309
- constructor(sanitizer: DomSanitizer);
310
- transform(markup: string): SafeHtml;
311
- static ɵfac: i0.ɵɵFactoryDeclaration<SvgPipe, never>;
312
- static ɵpipe: i0.ɵɵPipeDeclaration<SvgPipe, "svg", true>;
305
+ static ɵcmp: i0.ɵɵComponentDeclaration<IgxChartMenuComponent, "igx-chart-menu", never, {}, { "closed": "closed"; }, never, never, true, never>;
313
306
  }
314
307
 
315
- export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE, SvgPipe };
308
+ export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE };
316
309
  export type { IChartComponentOptions, IDeterminedChartTypesArgs, IFormatColors, IOptions };