igniteui-angular 21.0.0-alpha.2 → 21.0.0-alpha.3
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.
|
@@ -2,5 +2,5 @@ import type { Rule } from '@angular-devkit/schematics';
|
|
|
2
2
|
interface MigrationOptions {
|
|
3
3
|
migrateImports?: boolean;
|
|
4
4
|
}
|
|
5
|
-
|
|
6
|
-
export
|
|
5
|
+
export default function migrate(options: MigrationOptions): Rule;
|
|
6
|
+
export {};
|
|
@@ -9,71 +9,74 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.default = migrate;
|
|
12
13
|
const UpdateChanges_1 = require("../common/UpdateChanges");
|
|
13
14
|
const ts = require("typescript");
|
|
14
15
|
const version = '21.0.0';
|
|
15
16
|
// Comprehensive entry point mapping for ALL exports from all 42 entry points
|
|
16
17
|
const ENTRY_POINT_MAP = new Map([
|
|
17
18
|
// Core - Services, Utilities, Types, Enums
|
|
18
|
-
['IgxOverlayService', 'core'],
|
|
19
|
-
['IgxNavigationService', 'core'],
|
|
20
|
-
['DisplayDensity', 'core'],
|
|
21
|
-
['DisplayDensityToken', 'core'],
|
|
22
|
-
['DisplayDensityBase', 'core'],
|
|
23
|
-
['IDisplayDensityOptions', 'core'],
|
|
24
|
-
['OverlaySettings', 'core'],
|
|
25
|
-
['PositionSettings', 'core'],
|
|
26
|
-
['ScrollStrategy', 'core'],
|
|
27
|
-
['GlobalPositionStrategy', 'core'],
|
|
28
|
-
['AutoPositionStrategy', 'core'],
|
|
29
|
-
['ConnectedPositioningStrategy', 'core'],
|
|
30
|
-
['ElasticPositionStrategy', 'core'],
|
|
31
|
-
['AbsoluteScrollStrategy', 'core'],
|
|
32
|
-
['BlockScrollStrategy', 'core'],
|
|
33
|
-
['CloseScrollStrategy', 'core'],
|
|
34
|
-
['NoOpScrollStrategy', 'core'],
|
|
35
|
-
['HorizontalAlignment', 'core'],
|
|
36
|
-
['VerticalAlignment', 'core'],
|
|
37
|
-
['PositionStrategy', 'core'],
|
|
38
|
-
['OverlayEventArgs', 'core'],
|
|
39
|
-
['OverlayCancelableEventArgs', 'core'],
|
|
40
|
-
['OverlayClosingEventArgs', 'core'],
|
|
41
|
-
['OverlayAnimationEventArgs', 'core'],
|
|
42
|
-
['Size', 'core'],
|
|
43
|
-
['OffsetMode', 'core'],
|
|
44
|
-
['ConnectedFit', 'core'],
|
|
45
|
-
['IFilteringExpressionsTree', 'core'],
|
|
46
|
-
['IFilteringExpression', 'core'],
|
|
47
|
-
['FilteringLogic', 'core'],
|
|
48
|
-
['IFilteringOperation', 'core'],
|
|
49
|
-
['ISortingExpression', 'core'],
|
|
50
|
-
['SortingDirection', 'core'],
|
|
51
|
-
['IGroupingExpression', 'core'],
|
|
52
|
-
['IGroupByExpandState', 'core'],
|
|
53
|
-
['IPagingState', 'core'],
|
|
54
|
-
['PagingError', 'core'],
|
|
55
|
-
['DataUtil', 'core'],
|
|
56
|
-
['DatePart', 'core'],
|
|
57
|
-
['DatePartInfo', 'core'],
|
|
58
|
-
['DatePickerUtil', 'core'],
|
|
59
|
-
['IBaseCancelableBrowserEventArgs', 'core'],
|
|
60
|
-
['IBaseCancelableEventArgs', 'core'],
|
|
61
|
-
['IBaseEventArgs', 'core'],
|
|
62
|
-
['ICancelableBrowserEventArgs', 'core'],
|
|
63
|
-
['ICancelableEventArgs', 'core'],
|
|
64
|
-
['PlatformUtil', 'core'],
|
|
65
|
-
['Transaction', 'core'],
|
|
66
|
-
['TransactionType', 'core'],
|
|
67
|
-
['IgxTransactionService', 'core'],
|
|
68
|
-
['State', 'core'],
|
|
19
|
+
// ['IgxOverlayService', 'core'],
|
|
20
|
+
// ['IgxNavigationService', 'core'],
|
|
21
|
+
// ['DisplayDensity', 'core'],
|
|
22
|
+
// ['DisplayDensityToken', 'core'],
|
|
23
|
+
// ['DisplayDensityBase', 'core'],
|
|
24
|
+
// ['IDisplayDensityOptions', 'core'],
|
|
25
|
+
// ['OverlaySettings', 'core'],
|
|
26
|
+
// ['PositionSettings', 'core'],
|
|
27
|
+
// ['ScrollStrategy', 'core'],
|
|
28
|
+
// ['GlobalPositionStrategy', 'core'],
|
|
29
|
+
// ['AutoPositionStrategy', 'core'],
|
|
30
|
+
// ['ConnectedPositioningStrategy', 'core'],
|
|
31
|
+
// ['ElasticPositionStrategy', 'core'],
|
|
32
|
+
// ['AbsoluteScrollStrategy', 'core'],
|
|
33
|
+
// ['BlockScrollStrategy', 'core'],
|
|
34
|
+
// ['CloseScrollStrategy', 'core'],
|
|
35
|
+
// ['NoOpScrollStrategy', 'core'],
|
|
36
|
+
// ['HorizontalAlignment', 'core'],
|
|
37
|
+
// ['VerticalAlignment', 'core'],
|
|
38
|
+
// ['PositionStrategy', 'core'],
|
|
39
|
+
// ['OverlayEventArgs', 'core'],
|
|
40
|
+
// ['OverlayCancelableEventArgs', 'core'],
|
|
41
|
+
// ['OverlayClosingEventArgs', 'core'],
|
|
42
|
+
// ['OverlayAnimationEventArgs', 'core'],
|
|
43
|
+
// ['Size', 'core'],
|
|
44
|
+
// ['OffsetMode', 'core'],
|
|
45
|
+
// ['ConnectedFit', 'core'],
|
|
46
|
+
// ['IFilteringExpressionsTree', 'core'],
|
|
47
|
+
// ['IFilteringExpression', 'core'],
|
|
48
|
+
// ['FilteringLogic', 'core'],
|
|
49
|
+
// ['IFilteringOperation', 'core'],
|
|
50
|
+
// ['ISortingExpression', 'core'],
|
|
51
|
+
// ['SortingDirection', 'core'],
|
|
52
|
+
// ['IGroupingExpression', 'core'],
|
|
53
|
+
// ['IGroupByExpandState', 'core'],
|
|
54
|
+
// ['IPagingState', 'core'],
|
|
55
|
+
// ['PagingError', 'core'],
|
|
56
|
+
// ['DataUtil', 'core'],
|
|
57
|
+
// ['DatePart', 'core'],
|
|
58
|
+
// ['DatePartInfo', 'core'],
|
|
59
|
+
// ['DatePickerUtil', 'core'],
|
|
60
|
+
// ['IBaseCancelableBrowserEventArgs', 'core'],
|
|
61
|
+
// ['IBaseCancelableEventArgs', 'core'],
|
|
62
|
+
// ['IBaseEventArgs', 'core'],
|
|
63
|
+
// ['ICancelableBrowserEventArgs', 'core'],
|
|
64
|
+
// ['ICancelableEventArgs', 'core'],
|
|
65
|
+
// ['PlatformUtil', 'core'],
|
|
66
|
+
// ['Transaction', 'core'],
|
|
67
|
+
// ['TransactionType', 'core'],
|
|
68
|
+
// ['IgxTransactionService', 'core'],
|
|
69
|
+
// ['State', 'core'],
|
|
69
70
|
// Accordion
|
|
70
71
|
['IgxAccordionComponent', 'accordion'],
|
|
71
72
|
['IgxAccordionModule', 'accordion'],
|
|
73
|
+
['IGX_ACCORDION_DIRECTIVES', 'accordion'],
|
|
72
74
|
['IAccordionEventArgs', 'accordion'],
|
|
73
75
|
['IAccordionCancelableEventArgs', 'accordion'],
|
|
74
76
|
// Action Strip
|
|
75
77
|
['IgxActionStripComponent', 'action-strip'],
|
|
76
78
|
['IgxActionStripModule', 'action-strip'],
|
|
79
|
+
['IGX_ACTION_STRIP_DIRECTIVES', 'action-strip'],
|
|
77
80
|
['IgxActionStripMenuItemDirective', 'action-strip'],
|
|
78
81
|
// Avatar
|
|
79
82
|
['IgxAvatarComponent', 'avatar'],
|
|
@@ -89,6 +92,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
89
92
|
// Banner
|
|
90
93
|
['IgxBannerComponent', 'banner'],
|
|
91
94
|
['IgxBannerModule', 'banner'],
|
|
95
|
+
['IGX_BANNER_DIRECTIVES', 'banner'],
|
|
92
96
|
['IgxBannerActionsDirective', 'banner'],
|
|
93
97
|
['IBannerEventArgs', 'banner'],
|
|
94
98
|
['IBannerCancelEventArgs', 'banner'],
|
|
@@ -104,6 +108,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
104
108
|
// Button Group
|
|
105
109
|
['IgxButtonGroupComponent', 'button-group'],
|
|
106
110
|
['IgxButtonGroupModule', 'button-group'],
|
|
111
|
+
['IGX_BUTTON_GROUP_DIRECTIVES', 'button-group'],
|
|
107
112
|
['IgxButtonDirective', 'button-group'],
|
|
108
113
|
['IgxIconButtonDirective', 'button-group'],
|
|
109
114
|
['IButtonGroupEventArgs', 'button-group'],
|
|
@@ -111,6 +116,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
111
116
|
// Calendar
|
|
112
117
|
['IgxCalendarComponent', 'calendar'],
|
|
113
118
|
['IgxCalendarModule', 'calendar'],
|
|
119
|
+
['IGX_CALENDAR_DIRECTIVES', 'calendar'],
|
|
114
120
|
['IgxDaysViewComponent', 'calendar'],
|
|
115
121
|
['IgxMonthsViewComponent', 'calendar'],
|
|
116
122
|
['IgxYearsViewComponent', 'calendar'],
|
|
@@ -127,6 +133,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
127
133
|
// Card
|
|
128
134
|
['IgxCardComponent', 'card'],
|
|
129
135
|
['IgxCardModule', 'card'],
|
|
136
|
+
['IGX_CARD_DIRECTIVES', 'card'],
|
|
130
137
|
['IgxCardHeaderComponent', 'card'],
|
|
131
138
|
['IgxCardMediaDirective', 'card'],
|
|
132
139
|
['IgxCardContentDirective', 'card'],
|
|
@@ -138,6 +145,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
138
145
|
// Carousel
|
|
139
146
|
['IgxCarouselComponent', 'carousel'],
|
|
140
147
|
['IgxCarouselModule', 'carousel'],
|
|
148
|
+
['IGX_CAROUSEL_DIRECTIVES', 'carousel'],
|
|
141
149
|
['IgxSlideComponent', 'carousel'],
|
|
142
150
|
['CarouselAnimationDirection', 'carousel'], // Renamed from Direction
|
|
143
151
|
['ISlideEventArgs', 'carousel'],
|
|
@@ -152,6 +160,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
152
160
|
// Chips
|
|
153
161
|
['IgxChipsComponent', 'chips'],
|
|
154
162
|
['IgxChipsModule', 'chips'],
|
|
163
|
+
['IGX_CHIPS_DIRECTIVES', 'chips'],
|
|
155
164
|
['IgxChipComponent', 'chips'],
|
|
156
165
|
['IgxChipsAreaComponent', 'chips'],
|
|
157
166
|
['IBaseChipEventArgs', 'chips'],
|
|
@@ -163,6 +172,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
163
172
|
// Combo
|
|
164
173
|
['IgxComboComponent', 'combo'],
|
|
165
174
|
['IgxComboModule', 'combo'],
|
|
175
|
+
['IGX_COMBO_DIRECTIVES', 'combo'],
|
|
166
176
|
['IComboSelectionChangingEventArgs', 'combo'],
|
|
167
177
|
['IComboItemAdditionEvent', 'combo'],
|
|
168
178
|
['IComboSearchInputEventArgs', 'combo'],
|
|
@@ -178,13 +188,14 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
178
188
|
// Date and Date Range Picker
|
|
179
189
|
['IgxDatePickerComponent', 'date-picker'],
|
|
180
190
|
['IgxDatePickerModule', 'date-picker'],
|
|
191
|
+
['IGX_DATE_PICKER_DIRECTIVES', 'date-picker'],
|
|
192
|
+
['IGX_DATE_RANGE_PICKER_DIRECTIVES', 'date-picker'],
|
|
181
193
|
['InteractionMode', 'date-picker'],
|
|
182
194
|
['IDatePickerCancelEventArgs', 'date-picker'],
|
|
183
195
|
['IDatePickerDisabledDateEventArgs', 'date-picker'],
|
|
184
196
|
['IDatePickerValidationFailedEventArgs', 'date-picker'],
|
|
185
197
|
['IgxDateRangePickerComponent', 'date-picker'],
|
|
186
198
|
['IgxDateRangePickerModule', 'date-picker'],
|
|
187
|
-
['DateRangeType', 'date-picker'],
|
|
188
199
|
['DateRangeDescriptor', 'date-picker'],
|
|
189
200
|
['IDateRangePickerCancelEventArgs', 'date-picker'],
|
|
190
201
|
['IgxDateRangeEndComponent', 'date-picker'],
|
|
@@ -192,6 +203,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
192
203
|
// Dialog
|
|
193
204
|
['IgxDialogComponent', 'dialog'],
|
|
194
205
|
['IgxDialogModule', 'dialog'],
|
|
206
|
+
['IGX_DIALOG_DIRECTIVES', 'dialog'],
|
|
195
207
|
['IgxDialogActionsDirective', 'dialog'],
|
|
196
208
|
['IgxDialogTitleDirective', 'dialog'],
|
|
197
209
|
['IDialogEventArgs', 'dialog'],
|
|
@@ -199,6 +211,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
199
211
|
// Drop Down
|
|
200
212
|
['IgxDropDownComponent', 'drop-down'],
|
|
201
213
|
['IgxDropDownModule', 'drop-down'],
|
|
214
|
+
['IGX_DROP_DOWN_DIRECTIVES', 'drop-down'],
|
|
202
215
|
['IgxDropDownItemComponent', 'drop-down'],
|
|
203
216
|
['IgxDropDownGroupComponent', 'drop-down'],
|
|
204
217
|
['IgxDropDownItemBaseDirective', 'drop-down'],
|
|
@@ -210,6 +223,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
210
223
|
// Expansion Panel
|
|
211
224
|
['IgxExpansionPanelComponent', 'expansion-panel'],
|
|
212
225
|
['IgxExpansionPanelModule', 'expansion-panel'],
|
|
226
|
+
['IGX_EXPANSION_PANEL_DIRECTIVES', 'expansion-panel'],
|
|
213
227
|
['IgxExpansionPanelBase', 'expansion-panel'],
|
|
214
228
|
['IExpansionPanelEventArgs', 'expansion-panel'],
|
|
215
229
|
['IExpansionPanelCancelableEventArgs', 'expansion-panel'],
|
|
@@ -228,9 +242,13 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
228
242
|
// - 'igniteui-angular/grids/hierarchical-grid' - Hierarchical grid (IgxHierarchicalGridComponent, IgxRowIslandComponent)
|
|
229
243
|
// - 'igniteui-angular/grids/pivot-grid' - Pivot grid (IgxPivotGridComponent, IgxPivotDataSelectorComponent)
|
|
230
244
|
['IgxGridComponent', 'grids/grid'],
|
|
245
|
+
['IGX_GRID_DIRECTIVES', 'grids/grid'],
|
|
231
246
|
['IgxTreeGridComponent', 'grids/tree-grid'],
|
|
247
|
+
['IGX_TREE_GRID_DIRECTIVES', 'grids/tree-grid'],
|
|
232
248
|
['IgxHierarchicalGridComponent', 'grids/hierarchical-grid'],
|
|
249
|
+
['IGX_HIERARCHICAL_GRID_DIRECTIVES', 'grids/hierarchical-grid'],
|
|
233
250
|
['IgxPivotGridComponent', 'grids/pivot-grid'],
|
|
251
|
+
['IGX_PIVOT_GRID_DIRECTIVES', 'grids/pivot-grid'],
|
|
234
252
|
['IgxPivotDataSelectorComponent', 'grids/pivot-grid'],
|
|
235
253
|
['IgxRowIslandComponent', 'grids/hierarchical-grid'],
|
|
236
254
|
['IgxGridModule', 'grids/grid'],
|
|
@@ -274,7 +292,6 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
274
292
|
['IRowDragStartEventArgs', 'grids/core'],
|
|
275
293
|
['GridSelectionMode', 'grids/core'],
|
|
276
294
|
['FilterMode', 'grids/core'],
|
|
277
|
-
['GridSummaryCalculationMode', 'grids/core'],
|
|
278
295
|
['GridSummaryPosition', 'grids/core'],
|
|
279
296
|
['RowPinningPosition', 'grids/core'],
|
|
280
297
|
['GridInstanceType', 'grids/core'],
|
|
@@ -347,6 +364,11 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
347
364
|
['GridType', 'grids/core'],
|
|
348
365
|
['IGX_GRID_BASE', 'grids/core'],
|
|
349
366
|
['IColumnSelectionEventArgs', 'grids/core'],
|
|
367
|
+
['IgxDragIndicatorIconDirective', 'grids/core'],
|
|
368
|
+
['IgxRowDragGhostDirective', 'grids/core'],
|
|
369
|
+
['IgxGridFooterComponent', 'grids/core'],
|
|
370
|
+
['IgxColumnLayoutComponent', 'grids/core'],
|
|
371
|
+
['IgxExporterEvent', 'grids/core'],
|
|
350
372
|
['IgxGridEditingActions', 'grids/core'], // Grid actions moved to grids
|
|
351
373
|
['IgxGridPinningActions', 'grids/core'], // Grid actions moved to grids
|
|
352
374
|
['IgxGridActionButtonComponent', 'grids/core'], // Grid actions moved to grids
|
|
@@ -360,6 +382,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
360
382
|
['ITreeGridAggregation', 'grids/tree-grid'],
|
|
361
383
|
['IgxGroupedTreeGridSorting', 'grids/tree-grid'],
|
|
362
384
|
['IgxTreeGridGroupingPipe', 'grids/tree-grid'],
|
|
385
|
+
['IGridCreatedEventArgs', 'grids/hierarchical-grid'],
|
|
363
386
|
// Icon
|
|
364
387
|
['IgxIconComponent', 'icon'],
|
|
365
388
|
['IgxIconModule', 'icon'],
|
|
@@ -368,6 +391,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
368
391
|
// Input Group
|
|
369
392
|
['IgxInputGroupComponent', 'input-group'],
|
|
370
393
|
['IgxInputGroupModule', 'input-group'],
|
|
394
|
+
['IGX_INPUT_GROUP_DIRECTIVES', 'input-group'],
|
|
371
395
|
['IgxInputDirective', 'input-group'], // Breaking change - moved from directives
|
|
372
396
|
['IgxLabelDirective', 'input-group'], // Breaking change - moved from directives
|
|
373
397
|
['IgxHintDirective', 'input-group'], // Breaking change - moved from directives
|
|
@@ -379,6 +403,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
379
403
|
// List
|
|
380
404
|
['IgxListComponent', 'list'],
|
|
381
405
|
['IgxListModule', 'list'],
|
|
406
|
+
['IGX_LIST_DIRECTIVES', 'list'],
|
|
382
407
|
['IgxListItemComponent', 'list'],
|
|
383
408
|
['IgxListHeaderComponent', 'list'],
|
|
384
409
|
['IListItemClickEventArgs', 'list'],
|
|
@@ -390,14 +415,18 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
390
415
|
['IgxDataLoadingTemplateDirective', 'list'],
|
|
391
416
|
['IgxListActionDirective', 'list'],
|
|
392
417
|
['IgxListThumbnailDirective', 'list'],
|
|
418
|
+
['IgxListItemLeftPanningTemplateDirective', 'list'],
|
|
419
|
+
['IgxListItemRightPanningTemplateDirective', 'list'],
|
|
393
420
|
// Navbar
|
|
394
421
|
['IgxNavbarComponent', 'navbar'],
|
|
395
422
|
['IgxNavbarModule', 'navbar'],
|
|
423
|
+
['IGX_NAVBAR_DIRECTIVES', 'navbar'],
|
|
396
424
|
['IgxNavbarActionDirective', 'navbar'],
|
|
397
425
|
['IgxNavbarTitleDirective', 'navbar'],
|
|
398
426
|
// Navigation Drawer
|
|
399
427
|
['IgxNavigationDrawerComponent', 'navigation-drawer'],
|
|
400
428
|
['IgxNavigationDrawerModule', 'navigation-drawer'],
|
|
429
|
+
['IGX_NAVIGATION_DRAWER_DIRECTIVES', 'navigation-drawer'],
|
|
401
430
|
['IgxNavigationDrawerItemComponent', 'navigation-drawer'],
|
|
402
431
|
['INavigationDrawerEventArgs', 'navigation-drawer'],
|
|
403
432
|
['IgxNavDrawerMode', 'navigation-drawer'],
|
|
@@ -406,6 +435,8 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
406
435
|
['IgxNavDrawerMiniTemplateDirective', 'navigation-drawer'],
|
|
407
436
|
// Paginator
|
|
408
437
|
['IgxPaginatorComponent', 'paginator'],
|
|
438
|
+
['IGX_PAGINATOR_DIRECTIVES', 'paginator'],
|
|
439
|
+
['IgxPaginatorDirective', 'paginator'],
|
|
409
440
|
['IgxPageNavigationComponent', 'paginator'],
|
|
410
441
|
['IgxPageSizeSelectorComponent', 'paginator'],
|
|
411
442
|
['IgxPaginatorContentDirective', 'paginator'],
|
|
@@ -416,21 +447,28 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
416
447
|
['IgxCircularProgressBarComponent', 'progressbar'],
|
|
417
448
|
['IgxLinearProgressBarComponent', 'progressbar'],
|
|
418
449
|
['IgxProgressBarModule', 'progressbar'],
|
|
450
|
+
['IGX_PROGRESS_BAR_DIRECTIVES', 'progressbar'],
|
|
419
451
|
['IgxProgressType', 'progressbar'],
|
|
420
452
|
['IgxTextAlign', 'progressbar'],
|
|
421
453
|
['IgxProgressBarGradientMode', 'progressbar'],
|
|
454
|
+
['IgxProgressBarGradientDirective', 'progressbar'],
|
|
422
455
|
// Query Builder
|
|
423
456
|
['IgxQueryBuilderComponent', 'query-builder'],
|
|
424
457
|
['IgxQueryBuilderModule', 'query-builder'],
|
|
458
|
+
['IGX_QUERY_BUILDER_DIRECTIVES', 'query-builder'],
|
|
425
459
|
['IExpressionGroup', 'query-builder'],
|
|
460
|
+
['IgxQueryBuilderHeaderComponent', 'query-builder'],
|
|
461
|
+
['IgxQueryBuilderSearchValueTemplateDirective', 'query-builder'],
|
|
426
462
|
// Radio
|
|
427
463
|
['IgxRadioComponent', 'radio'],
|
|
428
464
|
['IgxRadioModule', 'radio'],
|
|
465
|
+
['IGX_RADIO_GROUP_DIRECTIVES', 'radio'],
|
|
429
466
|
['RadioGroupAlignment', 'radio'],
|
|
430
467
|
['IgxRadioGroupDirective', 'radio'],
|
|
431
468
|
// Select
|
|
432
469
|
['IgxSelectComponent', 'select'],
|
|
433
470
|
['IgxSelectModule', 'select'],
|
|
471
|
+
['IGX_SELECT_DIRECTIVES', 'select'],
|
|
434
472
|
['IgxSelectItemComponent', 'select'],
|
|
435
473
|
['IgxSelectHeaderDirective', 'select'],
|
|
436
474
|
['IgxSelectFooterDirective', 'select'],
|
|
@@ -439,11 +477,13 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
439
477
|
['IgxSelectGroupComponent', 'select'],
|
|
440
478
|
// Simple Combo
|
|
441
479
|
['IgxSimpleComboComponent', 'simple-combo'],
|
|
480
|
+
['IGX_SIMPLE_COMBO_DIRECTIVES', 'simple-combo'],
|
|
442
481
|
['ISimpleComboSelectionChangingEventArgs', 'simple-combo'],
|
|
443
482
|
['IgxSimpleComboModule', 'simple-combo'],
|
|
444
483
|
// Slider
|
|
445
484
|
['IgxSliderComponent', 'slider'],
|
|
446
485
|
['IgxSliderModule', 'slider'],
|
|
486
|
+
['IGX_SLIDER_DIRECTIVES', 'slider'],
|
|
447
487
|
['ISliderValueChangeEventArgs', 'slider'],
|
|
448
488
|
['IRangeSliderValue', 'slider'],
|
|
449
489
|
['SliderType', 'slider'],
|
|
@@ -459,12 +499,14 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
459
499
|
// Splitter
|
|
460
500
|
['IgxSplitterComponent', 'splitter'],
|
|
461
501
|
['IgxSplitterModule', 'splitter'],
|
|
502
|
+
['IGX_SPLITTER_DIRECTIVES', 'splitter'],
|
|
462
503
|
['IgxSplitterPaneComponent', 'splitter'],
|
|
463
504
|
['ISplitterEventArgs', 'splitter'],
|
|
464
505
|
['SplitterType', 'splitter'],
|
|
465
506
|
// Stepper
|
|
466
507
|
['IgxStepperComponent', 'stepper'],
|
|
467
508
|
['IgxStepperModule', 'stepper'],
|
|
509
|
+
['IGX_STEPPER_DIRECTIVES', 'stepper'],
|
|
468
510
|
['IgxStepComponent', 'stepper'],
|
|
469
511
|
['IStepChangingEventArgs', 'stepper'],
|
|
470
512
|
['IStepChangedEventArgs', 'stepper'],
|
|
@@ -477,12 +519,14 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
477
519
|
['IgxStepSubtitleDirective', 'stepper'],
|
|
478
520
|
['IgxStepInvalidIndicatorDirective', 'stepper'],
|
|
479
521
|
['IgxStepIndicatorDirective', 'stepper'],
|
|
522
|
+
['IgxStepperTitlePosition', 'stepper'],
|
|
480
523
|
// Switch
|
|
481
524
|
['IgxSwitchComponent', 'switch'],
|
|
482
525
|
['IgxSwitchModule', 'switch'],
|
|
483
526
|
// Tabs
|
|
484
527
|
['IgxTabsComponent', 'tabs'],
|
|
485
528
|
['IgxTabsModule', 'tabs'],
|
|
529
|
+
['IGX_TABS_DIRECTIVES', 'tabs'],
|
|
486
530
|
['IgxTabItemComponent', 'tabs'],
|
|
487
531
|
['IgxTabHeaderComponent', 'tabs'],
|
|
488
532
|
['IgxTabContentComponent', 'tabs'],
|
|
@@ -494,6 +538,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
494
538
|
// Time Picker
|
|
495
539
|
['IgxTimePickerComponent', 'time-picker'],
|
|
496
540
|
['IgxTimePickerModule', 'time-picker'],
|
|
541
|
+
['IGX_TIME_PICKER_DIRECTIVES', 'time-picker'],
|
|
497
542
|
['IgxTimePickerActionsDirective', 'time-picker'],
|
|
498
543
|
['IgxHourItemDirective', 'time-picker'],
|
|
499
544
|
['IgxMinuteItemDirective', 'time-picker'],
|
|
@@ -506,6 +551,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
506
551
|
// Tree
|
|
507
552
|
['IgxTreeComponent', 'tree'],
|
|
508
553
|
['IgxTreeModule', 'tree'],
|
|
554
|
+
['IGX_TREE_DIRECTIVES', 'tree'],
|
|
509
555
|
['IgxTreeNodeComponent', 'tree'],
|
|
510
556
|
['ITreeNodeSelectionEvent', 'tree'],
|
|
511
557
|
['ITreeNodeTogglingEventArgs', 'tree'],
|
|
@@ -537,6 +583,7 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
537
583
|
['IgxFocusModule', 'directives'],
|
|
538
584
|
['IgxTooltipDirective', 'directives'],
|
|
539
585
|
['IgxTooltipTargetDirective', 'directives'],
|
|
586
|
+
['TooltipPositionStrategy', 'directives'],
|
|
540
587
|
['IgxTooltipModule', 'directives'],
|
|
541
588
|
['IgxRippleDirective', 'directives'],
|
|
542
589
|
['IgxRippleModule', 'directives'],
|
|
@@ -546,8 +593,6 @@ const ENTRY_POINT_MAP = new Map([
|
|
|
546
593
|
['IDragBaseEventArgs', 'directives'],
|
|
547
594
|
['IDropBaseEventArgs', 'directives'],
|
|
548
595
|
['IDragMoveEventArgs', 'directives'],
|
|
549
|
-
['IgxDragIndicatorIconDirective', 'directives'],
|
|
550
|
-
['IgxRowDragGhostDirective', 'directives'],
|
|
551
596
|
['IgxDragDirective', 'directives'],
|
|
552
597
|
['IgxDragHandleDirective', 'directives'],
|
|
553
598
|
['IgxDragLocation', 'directives'],
|
|
@@ -684,49 +729,51 @@ function migrateFile(filePath, content) {
|
|
|
684
729
|
}
|
|
685
730
|
return result;
|
|
686
731
|
}
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
732
|
+
function migrate(options) {
|
|
733
|
+
return (host, context) => __awaiter(this, void 0, void 0, function* () {
|
|
734
|
+
context.logger.info(`Applying migration for Ignite UI for Angular to version ${version}`);
|
|
735
|
+
const update = new UpdateChanges_1.UpdateChanges(__dirname, host, context);
|
|
736
|
+
const shouldMigrateImports = options.migrateImports !== false; // Default to true if not specified
|
|
737
|
+
if (shouldMigrateImports) {
|
|
738
|
+
context.logger.info('Migrating imports to new entry points...');
|
|
739
|
+
const visit = (filePath) => {
|
|
740
|
+
// Only process TypeScript files
|
|
741
|
+
if (!filePath.endsWith('.ts')) {
|
|
742
|
+
return;
|
|
743
|
+
}
|
|
744
|
+
// Skip node_modules and dist
|
|
745
|
+
if (filePath.includes('node_modules') || filePath.includes('dist')) {
|
|
746
|
+
return;
|
|
747
|
+
}
|
|
748
|
+
const content = host.read(filePath);
|
|
749
|
+
if (!content) {
|
|
750
|
+
return;
|
|
751
|
+
}
|
|
752
|
+
const originalContent = content.toString();
|
|
753
|
+
// Check if file has igniteui-angular imports
|
|
754
|
+
if (!originalContent.includes("from 'igniteui-angular'") && !originalContent.includes('from "igniteui-angular"')) {
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
const migratedContent = migrateFile(filePath, originalContent);
|
|
758
|
+
if (migratedContent !== originalContent) {
|
|
759
|
+
host.overwrite(filePath, migratedContent);
|
|
760
|
+
context.logger.info(` ✓ Migrated ${filePath}`);
|
|
761
|
+
}
|
|
762
|
+
};
|
|
763
|
+
host.visit(visit);
|
|
764
|
+
context.logger.info('Migration complete!');
|
|
765
|
+
context.logger.info('Breaking changes:');
|
|
766
|
+
context.logger.info(' - Input directives moved to igniteui-angular/input-group');
|
|
767
|
+
context.logger.info(' - IgxAutocompleteDirective moved to igniteui-angular/drop-down');
|
|
768
|
+
context.logger.info(' - IgxRadioGroupDirective moved to igniteui-angular/radio');
|
|
769
|
+
context.logger.info('Type renames:');
|
|
770
|
+
context.logger.info(' - Direction → CarouselAnimationDirection');
|
|
771
|
+
}
|
|
772
|
+
else {
|
|
773
|
+
context.logger.info('Skipping import migration. You can continue using the main entry point.');
|
|
774
|
+
context.logger.info('Note: The library now supports granular entry points for better tree-shaking.');
|
|
775
|
+
context.logger.info('To migrate later, run: ng update igniteui-angular --migrate-only --from=20.1.0 --to=21.0.0');
|
|
776
|
+
}
|
|
777
|
+
update.applyChanges();
|
|
778
|
+
});
|
|
779
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "21.0.0-alpha.
|
|
3
|
+
"version": "21.0.0-alpha.3",
|
|
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",
|