igniteui-angular-extras 21.0.0 → 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.
- package/LICENSE +24 -0
- package/README.md +72 -72
- package/fesm2022/igniteui-angular-extras.mjs +707 -667
- package/fesm2022/igniteui-angular-extras.mjs.map +1 -1
- package/migrations/migration-collection.json +10 -3
- package/migrations/update-1_0_0/index.d.ts +3 -0
- package/migrations/update-1_0_0/index.js +113 -0
- package/package.json +30 -7
- package/types/igniteui-angular-extras.d.ts +69 -79
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../../node_modules/@angular-devkit/schematics/collection-schema.json",
|
|
3
|
-
"
|
|
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,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,20 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular-extras",
|
|
3
|
-
"version": "21.0.
|
|
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.
|
|
6
|
-
"igniteui-trial-watermark": "^3.0
|
|
26
|
+
"tslib": "^2.8.1",
|
|
27
|
+
"igniteui-trial-watermark": "^3.1.0"
|
|
7
28
|
},
|
|
8
29
|
"peerDependencies": {
|
|
9
30
|
"@angular/common": "21",
|
|
10
31
|
"@angular/core": "21",
|
|
11
|
-
"igniteui-angular": "21",
|
|
12
|
-
"igniteui-angular-charts": "
|
|
13
|
-
"igniteui-angular-core": "
|
|
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
42
|
"typings": "types/igniteui-angular-extras.d.ts",
|
|
20
43
|
"exports": {
|
|
@@ -26,5 +49,5 @@
|
|
|
26
49
|
"default": "./fesm2022/igniteui-angular-extras.mjs"
|
|
27
50
|
}
|
|
28
51
|
},
|
|
29
|
-
"
|
|
52
|
+
"type": "module"
|
|
30
53
|
}
|
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Type, EventEmitter,
|
|
3
|
-
import {
|
|
2
|
+
import { Type, EventEmitter, ViewContainerRef, AfterViewInit, OnDestroy, OnInit, ElementRef } from '@angular/core';
|
|
3
|
+
import { IgxDataChartComponent, IgxPieChartComponent } from 'igniteui-angular-charts';
|
|
4
4
|
import { IgxGridComponent } from 'igniteui-angular/grids/grid';
|
|
5
|
-
import { IgxOverlayService } from 'igniteui-angular/core';
|
|
6
5
|
import { Subject } from 'rxjs';
|
|
7
6
|
import { IgxToggleDirective } from 'igniteui-angular/directives';
|
|
8
7
|
import { IgxTabsComponent } from 'igniteui-angular/tabs';
|
|
9
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
10
8
|
|
|
11
9
|
declare enum CHART_TYPE {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
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"
|
|
28
26
|
}
|
|
29
27
|
declare enum OPTIONS_TYPE {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
Chart = "chartOptions",
|
|
29
|
+
Series = "seriesModel",
|
|
30
|
+
XAxis = "xAxisOptions",
|
|
31
|
+
YAxis = "yAxisOptions",
|
|
32
|
+
StackedSeries = "stackedFragmentOptions"
|
|
35
33
|
}
|
|
36
34
|
|
|
37
35
|
declare class SeriesFactory {
|
|
@@ -76,11 +74,10 @@ interface IDeterminedChartTypesArgs {
|
|
|
76
74
|
chartsForCreation: CHART_TYPE[];
|
|
77
75
|
}
|
|
78
76
|
declare class IgxChartIntegrationDirective {
|
|
79
|
-
private factoryResolver;
|
|
80
77
|
get chartData(): any[];
|
|
81
78
|
set chartData(selectedData: any[]);
|
|
82
|
-
|
|
83
|
-
|
|
79
|
+
chartTypesDetermined: EventEmitter<IDeterminedChartTypesArgs>;
|
|
80
|
+
chartCreationDone: EventEmitter<any>;
|
|
84
81
|
useLegend: boolean;
|
|
85
82
|
defaultLabelMemberPath: string;
|
|
86
83
|
set scatterChartYAxisValueMemberPath(path: string);
|
|
@@ -103,7 +100,7 @@ declare class IgxChartIntegrationDirective {
|
|
|
103
100
|
private scatterChartSeriesOptionsModel;
|
|
104
101
|
private bubbleChartSeriesOptionsModel;
|
|
105
102
|
private get dataChartOptions();
|
|
106
|
-
constructor(
|
|
103
|
+
constructor();
|
|
107
104
|
getAllChartTypes(): CHART_TYPE[];
|
|
108
105
|
getAvailableCharts(): any[];
|
|
109
106
|
disableCharts(types: CHART_TYPE[]): void;
|
|
@@ -118,17 +115,17 @@ declare class IgxChartIntegrationDirective {
|
|
|
118
115
|
private setAxisLabelOption;
|
|
119
116
|
setChartComponentOptions(chart: CHART_TYPE, optionsType: OPTIONS_TYPE, options: IOptions): void;
|
|
120
117
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxChartIntegrationDirective, never>;
|
|
121
|
-
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; }; }, { "
|
|
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>;
|
|
122
119
|
}
|
|
123
120
|
|
|
124
121
|
declare enum ConditionalFormattingType {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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"
|
|
132
129
|
}
|
|
133
130
|
interface IFormatColors {
|
|
134
131
|
success: string;
|
|
@@ -138,43 +135,42 @@ interface IFormatColors {
|
|
|
138
135
|
text: string;
|
|
139
136
|
}
|
|
140
137
|
declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDestroy {
|
|
141
|
-
grid: IgxGridComponent;
|
|
142
138
|
formatter: string | ConditionalFormattingType;
|
|
143
139
|
set formatColors(val: IFormatColors);
|
|
144
140
|
get formatColors(): IFormatColors;
|
|
145
|
-
|
|
141
|
+
formattersReady: EventEmitter<string[]>;
|
|
146
142
|
colorScale: {
|
|
147
|
-
backgroundColor: (
|
|
143
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
148
144
|
};
|
|
149
145
|
dataBars: {
|
|
150
|
-
backgroundImage: (
|
|
146
|
+
backgroundImage: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
151
147
|
backgroundSize: string;
|
|
152
148
|
backgroundRepeat: string;
|
|
153
149
|
backgroundPositionY: string;
|
|
154
150
|
};
|
|
155
151
|
top10Percent: {
|
|
156
|
-
backgroundColor: (
|
|
157
|
-
color: (
|
|
152
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
153
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
158
154
|
};
|
|
159
155
|
greaterThan: {
|
|
160
|
-
backgroundColor: (
|
|
161
|
-
color: (
|
|
156
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
157
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
162
158
|
};
|
|
163
159
|
empty: {
|
|
164
|
-
backgroundColor: (
|
|
165
|
-
color: (
|
|
160
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
161
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
166
162
|
};
|
|
167
163
|
duplicates: {
|
|
168
|
-
backgroundColor: (
|
|
169
|
-
color: (
|
|
164
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
165
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
170
166
|
};
|
|
171
167
|
textContains: {
|
|
172
|
-
backgroundColor: (
|
|
173
|
-
color: (
|
|
168
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
169
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
174
170
|
};
|
|
175
171
|
uniques: {
|
|
176
|
-
backgroundColor: (
|
|
177
|
-
color: (
|
|
172
|
+
backgroundColor: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
173
|
+
color: (_rowData: any, colname: any, cellValue: any, rowIndex: any) => string;
|
|
178
174
|
};
|
|
179
175
|
private get selectedData();
|
|
180
176
|
private get textData();
|
|
@@ -192,7 +188,8 @@ declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDest
|
|
|
192
188
|
private _formattersData;
|
|
193
189
|
private destroy$;
|
|
194
190
|
private formatedRange;
|
|
195
|
-
|
|
191
|
+
private readonly grid;
|
|
192
|
+
constructor();
|
|
196
193
|
ngAfterViewInit(): void;
|
|
197
194
|
ngOnDestroy(): void;
|
|
198
195
|
formatCells(formatterName: any, formatRange?: [], reset?: boolean): void;
|
|
@@ -211,16 +208,12 @@ declare class IgxConditionalFormattingDirective implements AfterViewInit, OnDest
|
|
|
211
208
|
private addToCache;
|
|
212
209
|
private toArray;
|
|
213
210
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxConditionalFormattingDirective, never>;
|
|
214
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxConditionalFormattingDirective, "[igxConditionalFormatting]", never, { "formatter": { "alias": "formatter"; "required": false; }; "formatColors": { "alias": "formatColors"; "required": false; }; }, { "
|
|
211
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxConditionalFormattingDirective, "[igxConditionalFormatting]", never, { "formatter": { "alias": "formatter"; "required": false; }; "formatColors": { "alias": "formatColors"; "required": false; }; }, { "formattersReady": "formattersReady"; }, never, never, true, never>;
|
|
215
212
|
}
|
|
216
213
|
|
|
217
214
|
declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestroy {
|
|
218
|
-
grid: IgxGridComponent;
|
|
219
|
-
textFormatter: IgxConditionalFormattingDirective;
|
|
220
|
-
chartsDirective: IgxChartIntegrationDirective;
|
|
221
|
-
private overlayService;
|
|
222
215
|
displayCreationTab: boolean;
|
|
223
|
-
|
|
216
|
+
buttonClose: EventEmitter<any>;
|
|
224
217
|
formatters: any[];
|
|
225
218
|
charts: any[];
|
|
226
219
|
gridResizeNotify: Subject<void>;
|
|
@@ -230,7 +223,11 @@ declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestro
|
|
|
230
223
|
private _collapsed;
|
|
231
224
|
private destroy$;
|
|
232
225
|
private _analyticsBtnSettings;
|
|
233
|
-
|
|
226
|
+
readonly grid: IgxGridComponent;
|
|
227
|
+
readonly textFormatter: IgxConditionalFormattingDirective;
|
|
228
|
+
readonly chartsDirective: IgxChartIntegrationDirective;
|
|
229
|
+
private readonly overlayService;
|
|
230
|
+
constructor();
|
|
234
231
|
ngOnInit(): void;
|
|
235
232
|
ngAfterViewInit(): void;
|
|
236
233
|
ngOnDestroy(): void;
|
|
@@ -240,12 +237,11 @@ declare class IgxContextMenuDirective implements OnInit, AfterViewInit, OnDestro
|
|
|
240
237
|
private show;
|
|
241
238
|
private close;
|
|
242
239
|
private isWithInRange;
|
|
243
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxContextMenuDirective,
|
|
244
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxContextMenuDirective, "[igxContextMenu]", never, { "displayCreationTab": { "alias": "displayCreationTab"; "required": false; }; }, { "
|
|
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>;
|
|
245
242
|
}
|
|
246
243
|
|
|
247
244
|
declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
|
|
248
|
-
private overlayService;
|
|
249
245
|
button: ElementRef;
|
|
250
246
|
tabsMenu: IgxToggleDirective;
|
|
251
247
|
chartPreview: ViewContainerRef;
|
|
@@ -264,7 +260,8 @@ declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
|
|
|
264
260
|
private _chartPreviewDialogOverlaySettings;
|
|
265
261
|
chartImages: any;
|
|
266
262
|
conditionImages: any;
|
|
267
|
-
|
|
263
|
+
private overlayService;
|
|
264
|
+
constructor();
|
|
268
265
|
ngAfterViewInit(): void;
|
|
269
266
|
ngOnDestroy(): void;
|
|
270
267
|
toggleTabMenu(): void;
|
|
@@ -278,10 +275,9 @@ declare class IgxContextMenuComponent implements AfterViewInit, OnDestroy {
|
|
|
278
275
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxContextMenuComponent, "igx-context-menu", never, {}, {}, never, never, true, never>;
|
|
279
276
|
}
|
|
280
277
|
|
|
281
|
-
declare class IgxChartMenuComponent implements AfterViewInit {
|
|
282
|
-
private element;
|
|
278
|
+
declare class IgxChartMenuComponent implements AfterViewInit, OnDestroy {
|
|
283
279
|
chartArea: ViewContainerRef;
|
|
284
|
-
|
|
280
|
+
closed: EventEmitter<any>;
|
|
285
281
|
get width(): any;
|
|
286
282
|
set width(value: any);
|
|
287
283
|
get height(): any;
|
|
@@ -298,22 +294,16 @@ declare class IgxChartMenuComponent implements AfterViewInit {
|
|
|
298
294
|
mainChartTypes: string[];
|
|
299
295
|
private _width;
|
|
300
296
|
private _height;
|
|
301
|
-
|
|
297
|
+
private element;
|
|
298
|
+
constructor();
|
|
302
299
|
ngAfterViewInit(): void;
|
|
300
|
+
ngOnDestroy(): void;
|
|
303
301
|
toggleFullScreen(): void;
|
|
304
302
|
hasAvailableChart(chartType: any): boolean;
|
|
305
303
|
createChart(chartType: any): void;
|
|
306
304
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxChartMenuComponent, never>;
|
|
307
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxChartMenuComponent, "igx-chart-menu", never, {}, { "
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
declare class SvgPipe implements PipeTransform {
|
|
311
|
-
private sanitizer;
|
|
312
|
-
constructor(sanitizer: DomSanitizer);
|
|
313
|
-
transform(markup: string): SafeHtml;
|
|
314
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SvgPipe, never>;
|
|
315
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SvgPipe, "svg", true>;
|
|
305
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxChartMenuComponent, "igx-chart-menu", never, {}, { "closed": "closed"; }, never, never, true, never>;
|
|
316
306
|
}
|
|
317
307
|
|
|
318
|
-
export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE
|
|
308
|
+
export { CHART_TYPE, ChartInitializer, ConditionalFormattingType, IgxChartIntegrationDirective, IgxChartMenuComponent, IgxConditionalFormattingDirective, IgxContextMenuComponent, IgxContextMenuDirective, IgxDataChartInitializer, IgxPieChartInitializer, IgxStackedDataChartInitializer, OPTIONS_TYPE };
|
|
319
309
|
export type { IChartComponentOptions, IDeterminedChartTypesArgs, IFormatColors, IOptions };
|