igniteui-angular 16.0.0-beta.0 → 16.0.0-beta.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/esm2022/lib/banner/banner.component.mjs +12 -12
- package/esm2022/lib/calendar/calendar-base.mjs +1 -1
- package/esm2022/lib/calendar/calendar.mjs +2 -1
- package/esm2022/lib/card/card.component.mjs +1 -2
- package/esm2022/lib/chips/chip.component.mjs +2 -2
- package/esm2022/lib/data-operations/data-util.mjs +1 -1
- package/esm2022/lib/data-operations/filtering-strategy.mjs +1 -1
- package/esm2022/lib/data-operations/pivot-sort-strategy.mjs +1 -1
- package/esm2022/lib/data-operations/pivot-strategy.mjs +3 -3
- package/esm2022/lib/data-operations/sorting-strategy.mjs +3 -3
- package/esm2022/lib/date-common/picker-base.directive.mjs +1 -2
- package/esm2022/lib/date-range-picker/date-range-picker.component.mjs +1 -2
- package/esm2022/lib/directives/autocomplete/autocomplete.directive.mjs +1 -3
- package/esm2022/lib/directives/drag-drop/drag-drop.directive.mjs +2 -2
- package/esm2022/lib/directives/for-of/for_of.directive.mjs +1 -1
- package/esm2022/lib/directives/mask/mask-parsing.service.mjs +4 -5
- package/esm2022/lib/directives/mask/mask.directive.mjs +1 -2
- package/esm2022/lib/directives/text-selection/text-selection.module.mjs +20 -0
- package/esm2022/lib/expansion-panel/expansion-panel-header.component.mjs +1 -3
- package/esm2022/lib/grids/columns/column.component.mjs +2 -1
- package/esm2022/lib/grids/columns/interfaces.mjs +1 -1
- package/esm2022/lib/grids/columns/templates.directive.mjs +1 -8
- package/esm2022/lib/grids/common/strategy.mjs +1 -1
- package/esm2022/lib/grids/filtering/excel-style/excel-style-filtering.component.mjs +2 -2
- package/esm2022/lib/grids/filtering/excel-style/excel-style-search.component.mjs +1 -2
- package/esm2022/lib/grids/grid/grid.directives.mjs +1 -11
- package/esm2022/lib/grids/grid-base.directive.mjs +3 -5
- package/esm2022/lib/grids/grid-public-cell.mjs +12 -12
- package/esm2022/lib/grids/grid.rowEdit.directive.mjs +1 -5
- package/esm2022/lib/grids/pivot-grid/pivot-data-selector.component.mjs +1 -3
- package/esm2022/lib/grids/pivot-grid/pivot-grid.component.mjs +2 -2
- package/esm2022/lib/grids/pivot-grid/pivot-grid.directives.mjs +1 -2
- package/esm2022/lib/grids/pivot-grid/pivot-grid.pipes.mjs +2 -2
- package/esm2022/lib/grids/pivot-grid/pivot-header-row.component.mjs +5 -5
- package/esm2022/lib/grids/pivot-grid/pivot-row.component.mjs +2 -2
- package/esm2022/lib/grids/resizing/pivot-grid/pivot-resize-handle.directive.mjs +1 -2
- package/esm2022/lib/grids/row-drag.directive.mjs +1 -3
- package/esm2022/lib/grids/selection/row-selectors.mjs +1 -4
- package/esm2022/lib/grids/state.directive.mjs +2 -2
- package/esm2022/lib/grids/summaries/grid-root-summary.pipe.mjs +1 -1
- package/esm2022/lib/grids/toolbar/common.mjs +1 -2
- package/esm2022/lib/grids/tree-grid/tree-grid-api.service.mjs +2 -2
- package/esm2022/lib/grids/tree-grid/tree-grid.component.mjs +1 -2
- package/esm2022/lib/grids/tree-grid/tree-grid.filtering.strategy.mjs +1 -1
- package/esm2022/lib/grids/tree-grid/tree-grid.grouping.pipe.mjs +1 -1
- package/esm2022/lib/icon/icon.service.mjs +2 -2
- package/esm2022/lib/services/excel/excel-files.mjs +2 -2
- package/esm2022/lib/services/excel/worksheet-data-dictionary.mjs +1 -1
- package/esm2022/lib/services/exporter-common/base-export-service.mjs +2 -2
- package/esm2022/lib/services/transaction/igx-transaction.mjs +1 -1
- package/esm2022/lib/services/transaction/transaction-factory.service.mjs +1 -2
- package/esm2022/lib/splitter/splitter-pane/splitter-pane.component.mjs +1 -3
- package/esm2022/lib/tabs/tab-content.directive.mjs +1 -2
- package/esm2022/lib/tabs/tab-header.directive.mjs +1 -2
- package/esm2022/lib/tabs/tab-item.directive.mjs +1 -2
- package/esm2022/lib/tabs/tabs/public_api.mjs +1 -1
- package/esm2022/lib/tabs/tabs/tabs.component.mjs +1 -2
- package/esm2022/lib/tree/tree-navigation.service.mjs +1 -1
- package/esm2022/lib/tree/tree-node/tree-node.component.mjs +1 -3
- package/esm2022/lib/tree/tree-selection.service.mjs +1 -2
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/igniteui-angular.mjs +66 -101
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/banner/banner.component.d.ts +9 -9
- package/lib/directives/for-of/for_of.directive.d.ts +1 -1
- package/lib/directives/text-selection/text-selection.module.d.ts +11 -0
- package/lib/grids/columns/column.component.d.ts +1 -1
- package/lib/grids/columns/interfaces.d.ts +1 -2
- package/lib/grids/grid-base.directive.d.ts +1 -1
- package/lib/grids/grid-public-cell.d.ts +8 -8
- package/lib/tabs/tabs/public_api.d.ts +1 -0
- package/migrations/common/UpdateChanges.js +2 -3
- package/migrations/common/util.js +3 -1
- package/migrations/update-13_0_0/index.js +4 -4
- package/package.json +7 -7
- package/public_api.d.ts +1 -0
- package/schematics/tsconfig.tsbuildinfo +1 -1
|
@@ -88,6 +88,15 @@ export declare class IgxBannerComponent implements IToggleView {
|
|
|
88
88
|
closing: EventEmitter<BannerCancelEventArgs>;
|
|
89
89
|
/** @hidden */
|
|
90
90
|
get useDefaultTemplate(): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Set the animation settings used by the banner open/close methods
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import { slideInLeft, slideOutRight } from 'igniteui-angular';
|
|
95
|
+
* ...
|
|
96
|
+
* banner.animationSettings: ToggleAnimationSettings = { openAnimation: slideInLeft, closeAnimation: slideOutRight };
|
|
97
|
+
* ```
|
|
98
|
+
*/
|
|
99
|
+
set animationSettings(settings: ToggleAnimationSettings);
|
|
91
100
|
/**
|
|
92
101
|
* Get the animation settings used by the banner open/close methods
|
|
93
102
|
* ```typescript
|
|
@@ -103,15 +112,6 @@ export declare class IgxBannerComponent implements IToggleView {
|
|
|
103
112
|
*/
|
|
104
113
|
set resourceStrings(value: IBannerResourceStrings);
|
|
105
114
|
get resourceStrings(): IBannerResourceStrings;
|
|
106
|
-
/**
|
|
107
|
-
* Set the animation settings used by the banner open/close methods
|
|
108
|
-
* ```typescript
|
|
109
|
-
* import { slideInLeft, slideOutRight } from 'igniteui-angular';
|
|
110
|
-
* ...
|
|
111
|
-
* banner.animationSettings: ToggleAnimationSettings = { openAnimation: slideInLeft, closeAnimation: slideOutRight };
|
|
112
|
-
* ```
|
|
113
|
-
*/
|
|
114
|
-
set animationSettings(settings: ToggleAnimationSettings);
|
|
115
115
|
/**
|
|
116
116
|
* Gets whether banner is collapsed
|
|
117
117
|
*
|
|
@@ -506,9 +506,9 @@ export interface IForOfDataChangingEventArgs extends IBaseEventArgs {
|
|
|
506
506
|
export declare class IgxGridForOfDirective<T> extends IgxForOfDirective<T> implements OnInit, OnChanges, DoCheck {
|
|
507
507
|
protected syncService: IgxForOfSyncService;
|
|
508
508
|
set igxGridForOf(value: any[]);
|
|
509
|
+
get igxGridForOf(): any[];
|
|
509
510
|
igxGridForOfUniqueSizeCache: boolean;
|
|
510
511
|
igxGridForOfVariableSizes: boolean;
|
|
511
|
-
get igxGridForOf(): any[];
|
|
512
512
|
/**
|
|
513
513
|
* @hidden
|
|
514
514
|
* @internal
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./text-selection.directive";
|
|
3
|
+
/**
|
|
4
|
+
* @hidden
|
|
5
|
+
* IMPORTANT: The following is NgModule exported for backwards-compatibility before standalone components
|
|
6
|
+
*/
|
|
7
|
+
export declare class IgxTextSelectionModule {
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxTextSelectionModule, never>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IgxTextSelectionModule, never, [typeof i1.IgxTextSelectionDirective], [typeof i1.IgxTextSelectionDirective]>;
|
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IgxTextSelectionModule>;
|
|
11
|
+
}
|
|
@@ -292,7 +292,6 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
|
|
|
292
292
|
* @memberof IgxColumnComponent
|
|
293
293
|
*/
|
|
294
294
|
get width(): string;
|
|
295
|
-
autoSize: number;
|
|
296
295
|
/**
|
|
297
296
|
* Sets the `width` of the column.
|
|
298
297
|
* ```html
|
|
@@ -307,6 +306,7 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
|
|
|
307
306
|
* @memberof IgxColumnComponent
|
|
308
307
|
*/
|
|
309
308
|
set width(value: string);
|
|
309
|
+
autoSize: number;
|
|
310
310
|
/**
|
|
311
311
|
* Sets/gets the maximum `width` of the column.
|
|
312
312
|
* ```typescript
|
|
@@ -42,8 +42,7 @@ export interface IFieldPipeArgs {
|
|
|
42
42
|
/** The first week day to be displayed in calendar when filtering or editing a date column */
|
|
43
43
|
weekStart?: WEEKDAYS | number;
|
|
44
44
|
}
|
|
45
|
-
export
|
|
46
|
-
}
|
|
45
|
+
export type IColumnPipeArgs = IFieldPipeArgs;
|
|
47
46
|
export interface ISortingOptions {
|
|
48
47
|
mode: 'single' | 'multiple';
|
|
49
48
|
}
|
|
@@ -1345,6 +1345,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1345
1345
|
* ```
|
|
1346
1346
|
*/
|
|
1347
1347
|
get rowDraggable(): boolean;
|
|
1348
|
+
set rowDraggable(val: boolean);
|
|
1348
1349
|
/**
|
|
1349
1350
|
* Gets/Sets the trigger for validators used when editing the grid.
|
|
1350
1351
|
*
|
|
@@ -1354,7 +1355,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1354
1355
|
* ```
|
|
1355
1356
|
*/
|
|
1356
1357
|
validationTrigger: GridValidationTrigger;
|
|
1357
|
-
set rowDraggable(val: boolean);
|
|
1358
1358
|
/**
|
|
1359
1359
|
* @hidden
|
|
1360
1360
|
* @internal
|
|
@@ -42,14 +42,6 @@ export declare class IgxGridCell implements CellType {
|
|
|
42
42
|
* @memberof IgxGridCell
|
|
43
43
|
*/
|
|
44
44
|
get editValue(): any;
|
|
45
|
-
/**
|
|
46
|
-
* Gets the validation status and errors, if any.
|
|
47
|
-
* ```typescript
|
|
48
|
-
* let validation = this.cell.validation;
|
|
49
|
-
* let errors = validation.errors;
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
get validation(): IGridValidationState;
|
|
53
45
|
/**
|
|
54
46
|
* Sets the current edit value while a cell is in edit mode.
|
|
55
47
|
* Only for cell editing mode.
|
|
@@ -60,6 +52,14 @@ export declare class IgxGridCell implements CellType {
|
|
|
60
52
|
* @memberof IgxGridCell
|
|
61
53
|
*/
|
|
62
54
|
set editValue(value: any);
|
|
55
|
+
/**
|
|
56
|
+
* Gets the validation status and errors, if any.
|
|
57
|
+
* ```typescript
|
|
58
|
+
* let validation = this.cell.validation;
|
|
59
|
+
* let errors = validation.errors;
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
get validation(): IGridValidationState;
|
|
63
63
|
/**
|
|
64
64
|
* Returns whether the cell is editable..
|
|
65
65
|
*
|
|
@@ -10,4 +10,5 @@ export * from './tab-item.component';
|
|
|
10
10
|
export * from './tab-header.component';
|
|
11
11
|
export * from './tabs.directives';
|
|
12
12
|
export * from './tab-content.component';
|
|
13
|
+
export { ITabsSelectedIndexChangingEventArgs, ITabsSelectedItemChangeEventArgs } from '../tabs.directive';
|
|
13
14
|
export declare const IGX_TABS_DIRECTIVES: readonly [typeof IgxTabsComponent, typeof IgxTabItemComponent, typeof IgxTabHeaderComponent, typeof IgxTabContentComponent, typeof IgxTabHeaderLabelDirective, typeof IgxTabHeaderIconDirective, typeof IgxPrefixDirective, typeof IgxSuffixDirective];
|
|
@@ -399,6 +399,7 @@ class UpdateChanges {
|
|
|
399
399
|
let fileContent = this.host.read(entryPath).toString();
|
|
400
400
|
let overwrite = false;
|
|
401
401
|
const allowedStartCharacters = new RegExp('(\:|\,)\s?', 'g');
|
|
402
|
+
// eslint-disable-next-line no-control-regex
|
|
402
403
|
const allowedEndCharacters = new RegExp('[;),: \r\n]', 'g');
|
|
403
404
|
for (const change of this.themeChanges.changes) {
|
|
404
405
|
if (change.type !== schema_1.ThemeType.Variable) {
|
|
@@ -453,7 +454,7 @@ class UpdateChanges {
|
|
|
453
454
|
/@use(\s+)('|")igniteui-angular\/theme\2\1as\1(\w+)/g,
|
|
454
455
|
/@use(\s+)('|")igniteui-angular\/lib\/core\/styles\/themes\/index\2\1as\1(\w+)/g
|
|
455
456
|
];
|
|
456
|
-
|
|
457
|
+
const aliases = [];
|
|
457
458
|
matchers.forEach(m => {
|
|
458
459
|
const match = m.exec(fileContent);
|
|
459
460
|
if (match) {
|
|
@@ -575,7 +576,6 @@ class UpdateChanges {
|
|
|
575
576
|
}
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
|
-
;
|
|
579
579
|
ensureTsConfigPath() {
|
|
580
580
|
var _a, _b;
|
|
581
581
|
if (this.host.exists(this.tsconfigPath)) {
|
|
@@ -599,7 +599,6 @@ class UpdateChanges {
|
|
|
599
599
|
this.tsconfigPath = path.posix.join(path.posix.dirname(projectConfig), result.config.extends);
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
|
-
;
|
|
603
602
|
loadConfig(configJson) {
|
|
604
603
|
const filePath = path.join(this.rootPath, 'changes', configJson);
|
|
605
604
|
if (fs.existsSync(filePath)) {
|
|
@@ -79,7 +79,9 @@ const getPackageVersion = (pkg) => {
|
|
|
79
79
|
try {
|
|
80
80
|
version = (_a = require(path.posix.join(pkg, 'package.json'))) === null || _a === void 0 ? void 0 : _a.version;
|
|
81
81
|
}
|
|
82
|
-
catch (_b) {
|
|
82
|
+
catch (_b) {
|
|
83
|
+
return version;
|
|
84
|
+
}
|
|
83
85
|
return version;
|
|
84
86
|
};
|
|
85
87
|
exports.getPackageVersion = getPackageVersion;
|
|
@@ -75,7 +75,7 @@ exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void
|
|
|
75
75
|
result += ` *ngIf="${showToolbar.value}"`;
|
|
76
76
|
}
|
|
77
77
|
result += '>';
|
|
78
|
-
const toolbarTitle =
|
|
78
|
+
const toolbarTitle = toolbar ? (0, util_1.findElementNodes)([toolbar], ['igx-grid-toolbar-title'])[0] : null;
|
|
79
79
|
const title = !toolbarTitle || ((_b = attributes['toolbarTitle']) === null || _b === void 0 ? void 0 : _b.value) ? attributes['toolbarTitle'] : (toolbarTitle.children)[0];
|
|
80
80
|
if (title && title.value) {
|
|
81
81
|
result += `\n<igx-grid-toolbar-title>${title.value}</igx-grid-toolbar-title>`;
|
|
@@ -88,7 +88,7 @@ exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void
|
|
|
88
88
|
if (hasActions) {
|
|
89
89
|
result += '\n<igx-grid-toolbar-actions>';
|
|
90
90
|
}
|
|
91
|
-
const hiding =
|
|
91
|
+
const hiding = toolbar ? (0, util_1.findElementNodes)([toolbar], ['igx-grid-toolbar-hiding'])[0] : null;
|
|
92
92
|
const showHiding = !hiding || ((_c = attributes['columnHiding']) === null || _c === void 0 ? void 0 : _c.value) ? attributes['columnHiding'] : (0, util_1.getAttribute)(hiding, ['*ngIf', '[*ngIf]'])[0];
|
|
93
93
|
if (hasHiding) {
|
|
94
94
|
result += `\n<igx-grid-toolbar-hiding`;
|
|
@@ -107,7 +107,7 @@ exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void
|
|
|
107
107
|
if (hasHiding) {
|
|
108
108
|
result += '></igx-grid-toolbar-hiding>';
|
|
109
109
|
}
|
|
110
|
-
const pinning =
|
|
110
|
+
const pinning = toolbar ? (0, util_1.findElementNodes)([toolbar], ['igx-grid-toolbar-pinning'])[0] : null;
|
|
111
111
|
const showPinning = !pinning || ((_f = attributes['columnPinning']) === null || _f === void 0 ? void 0 : _f.value) ? attributes['columnPinning'] : (0, util_1.getAttribute)(pinning, ['*ngIf', '[*ngIf]'])[0];
|
|
112
112
|
if (hasPinning) {
|
|
113
113
|
result += `\n<igx-grid-toolbar-pinning`;
|
|
@@ -126,7 +126,7 @@ exports.default = (options) => (host, context) => __awaiter(void 0, void 0, void
|
|
|
126
126
|
if (hasPinning) {
|
|
127
127
|
result += '></igx-grid-toolbar-pinning>';
|
|
128
128
|
}
|
|
129
|
-
const exporting =
|
|
129
|
+
const exporting = toolbar ? (0, util_1.findElementNodes)([toolbar], ['igx-grid-toolbar-exporter'])[0] : null;
|
|
130
130
|
const showExcelExporter = !exporting || ((_j = attributes['exportExcel']) === null || _j === void 0 ? void 0 : _j.value) ? attributes['exportExcel'] : (0, util_1.getAttribute)(exporting, ['exportExcel', '[exportExcel]'])[0];
|
|
131
131
|
const showCsvExporter = !exporting || ((_k = attributes['exportCsv']) === null || _k === void 0 ? void 0 : _k.value) ? attributes['exportCsv'] : (0, util_1.getAttribute)(exporting, ['exportCSV', '[exportCSV]'])[0];
|
|
132
132
|
if (hasExporting) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "igniteui-angular",
|
|
3
|
-
"version": "16.0.0-beta.
|
|
3
|
+
"version": "16.0.0-beta.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",
|
|
@@ -75,15 +75,15 @@
|
|
|
75
75
|
"tslib": "^2.3.0",
|
|
76
76
|
"igniteui-trial-watermark": "^1.0.3",
|
|
77
77
|
"lodash-es": "^4.17.21",
|
|
78
|
-
"uuid": "^
|
|
79
|
-
"igniteui-theming": "^1.4.
|
|
78
|
+
"uuid": "^9.0.0",
|
|
79
|
+
"igniteui-theming": "^1.4.2",
|
|
80
80
|
"@igniteui/material-icons-extended": "^2.10.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@angular/common": "^
|
|
84
|
-
"@angular/core": "^
|
|
85
|
-
"@angular/animations": "^
|
|
86
|
-
"@angular/forms": "^
|
|
83
|
+
"@angular/common": "^16.0.0-rc.4",
|
|
84
|
+
"@angular/core": "^16.0.0-rc.4",
|
|
85
|
+
"@angular/animations": "^16.0.0-rc.4",
|
|
86
|
+
"@angular/forms": "^16.0.0-rc.4"
|
|
87
87
|
},
|
|
88
88
|
"igxDevDependencies": {
|
|
89
89
|
"@igniteui/angular-schematics": "~15.1.1110"
|
package/public_api.d.ts
CHANGED
|
@@ -157,6 +157,7 @@ export * from './lib/directives/radio/radio-group.module';
|
|
|
157
157
|
export * from './lib/directives/ripple/ripple.module';
|
|
158
158
|
export * from './lib/directives/scroll-inertia/scroll_inertia.module';
|
|
159
159
|
export * from './lib/directives/text-highlight/text-highlight.module';
|
|
160
|
+
export * from './lib/directives/text-selection/text-selection.module';
|
|
160
161
|
export * from './lib/directives/toggle/toggle.module';
|
|
161
162
|
export * from './lib/directives/tooltip/tooltip.module';
|
|
162
163
|
export * from './lib/drop-down/drop-down.module';
|