igniteui-angular 19.2.8 → 19.2.9
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/fesm2022/igniteui-angular.mjs +71 -82
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/utils.d.ts +4 -4
- package/lib/data-operations/filtering-strategy.d.ts +4 -5
- package/lib/grids/common/pipes.d.ts +1 -1
- package/lib/grids/common/strategy.d.ts +1 -1
- package/lib/grids/grid/grid-validation.service.d.ts +1 -1
- package/lib/grids/grid-public-cell.d.ts +2 -2
- package/lib/grids/summaries/grid-summary.service.d.ts +1 -1
- package/lib/grids/tree-grid/tree-grid.filtering.strategy.d.ts +4 -4
- package/package.json +1 -1
package/lib/core/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { IgxTheme } from '../services/theme/theme.token';
|
|
3
|
+
import type { IgxTheme } from '../services/theme/theme.token';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/** @hidden @internal */
|
|
6
6
|
export declare const ELEMENTS_TOKEN: InjectionToken<boolean>;
|
|
@@ -22,7 +22,7 @@ export declare const getResizeObserver: () => {
|
|
|
22
22
|
/**
|
|
23
23
|
* @hidden
|
|
24
24
|
*/
|
|
25
|
-
export declare
|
|
25
|
+
export declare function cloneArray<T>(array: T[], deep?: boolean): T[];
|
|
26
26
|
/**
|
|
27
27
|
* Doesn't clone leaf items
|
|
28
28
|
*
|
|
@@ -243,15 +243,15 @@ export declare const resizeObservable: (target: HTMLElement) => Observable<Resiz
|
|
|
243
243
|
* Compares two maps.
|
|
244
244
|
*/
|
|
245
245
|
export declare const compareMaps: (map1: Map<any, any>, map2: Map<any, any>) => boolean;
|
|
246
|
+
export declare function columnFieldPath(path?: string): string[];
|
|
246
247
|
/**
|
|
247
|
-
*
|
|
248
248
|
* Given a property access path in the format `x.y.z` resolves and returns
|
|
249
249
|
* the value of the `z` property in the passed object.
|
|
250
250
|
*
|
|
251
251
|
* @hidden
|
|
252
252
|
* @internal
|
|
253
253
|
*/
|
|
254
|
-
export declare
|
|
254
|
+
export declare function resolveNestedPath<T extends object, U>(obj: unknown, pathParts: string[], defaultValue?: U): T | U | undefined;
|
|
255
255
|
/**
|
|
256
256
|
*
|
|
257
257
|
* Given a property access path in the format `x.y.z` and a value
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IFilteringExpression } from './filtering-expression.interface';
|
|
2
|
-
import { IFilteringExpressionsTree } from './filtering-expressions-tree';
|
|
3
|
-
import { ColumnType, GridType } from '../grids/common/grid.interface';
|
|
4
|
-
import { IFilteringState } from './filtering-state.interface';
|
|
1
|
+
import { type IFilteringExpression } from './filtering-expression.interface';
|
|
2
|
+
import { type IFilteringExpressionsTree } from './filtering-expressions-tree';
|
|
3
|
+
import type { ColumnType, GridType } from '../grids/common/grid.interface';
|
|
4
|
+
import type { IFilteringState } from './filtering-state.interface';
|
|
5
5
|
export declare class FilterUtil {
|
|
6
6
|
static filter<T>(data: T[], state: IFilteringState, grid?: GridType): T[];
|
|
7
7
|
}
|
|
@@ -33,7 +33,6 @@ export declare class NoopFilteringStrategy extends BaseFilteringStrategy {
|
|
|
33
33
|
}
|
|
34
34
|
export declare class FilteringStrategy extends BaseFilteringStrategy {
|
|
35
35
|
private static _instance;
|
|
36
|
-
constructor();
|
|
37
36
|
static instance(): FilteringStrategy;
|
|
38
37
|
filter<T>(data: T[], expressionsTree: IFilteringExpressionsTree, advancedExpressionsTree: IFilteringExpressionsTree, grid: GridType): T[];
|
|
39
38
|
protected getFieldValue(rec: any, fieldName: string, isDate?: boolean, isTime?: boolean, grid?: GridType): any;
|
|
@@ -132,7 +132,7 @@ export declare class IgxStringReplacePipe implements PipeTransform {
|
|
|
132
132
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxStringReplacePipe, "igxStringReplace", true>;
|
|
133
133
|
}
|
|
134
134
|
export declare class IgxGridTransactionStatePipe implements PipeTransform {
|
|
135
|
-
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any):
|
|
135
|
+
transform(row_id: any, field: string, rowEditable: boolean, transactions: any, _: any, __: any, ___: any): unknown;
|
|
136
136
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridTransactionStatePipe, never>;
|
|
137
137
|
static ɵpipe: i0.ɵɵPipeDeclaration<IgxGridTransactionStatePipe, "transactionState", true>;
|
|
138
138
|
}
|
|
@@ -58,7 +58,7 @@ export declare class IgxSorting implements IGridSortingStrategy {
|
|
|
58
58
|
* Returns the value of the specified field in the data object.
|
|
59
59
|
* @internal
|
|
60
60
|
*/
|
|
61
|
-
protected getFieldValue<T>(obj: T, key: string, isDate?: boolean, isTime?: boolean):
|
|
61
|
+
protected getFieldValue<T>(obj: T, key: string, isDate?: boolean, isTime?: boolean): unknown;
|
|
62
62
|
/**
|
|
63
63
|
* Groups the records in the provided data array based on the given grouping expression.
|
|
64
64
|
* `groupingComparer`: (Optional) A custom grouping comparator to determine the members of the group.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormGroup } from '@angular/forms';
|
|
2
|
-
import { GridType, IRecordValidationState } from '../common/grid.interface';
|
|
2
|
+
import type { GridType, IRecordValidationState } from '../common/grid.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IgxGridValidationService {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CellType, ColumnType, GridType, IGridValidationState, RowType } from './common/grid.interface';
|
|
2
|
-
import { ISelectionNode } from './common/types';
|
|
1
|
+
import type { CellType, ColumnType, GridType, IGridValidationState, RowType } from './common/grid.interface';
|
|
2
|
+
import type { ISelectionNode } from './common/types';
|
|
3
3
|
export declare class IgxGridCell implements CellType {
|
|
4
4
|
/**
|
|
5
5
|
* Returns the grid containing the cell.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IFilteringExpressionsTree } from '../../data-operations/filtering-expressions-tree';
|
|
2
|
-
import { BaseFilteringStrategy, IgxFilterItem } from '../../data-operations/filtering-strategy';
|
|
3
|
-
import { ColumnType, GridType } from '../common/grid.interface';
|
|
4
|
-
import { ITreeGridRecord } from './tree-grid.interfaces';
|
|
1
|
+
import { type IFilteringExpressionsTree } from '../../data-operations/filtering-expressions-tree';
|
|
2
|
+
import { BaseFilteringStrategy, type IgxFilterItem } from '../../data-operations/filtering-strategy';
|
|
3
|
+
import type { ColumnType, GridType } from '../common/grid.interface';
|
|
4
|
+
import type { ITreeGridRecord } from './tree-grid.interfaces';
|
|
5
5
|
export declare class TreeGridFilteringStrategy extends BaseFilteringStrategy {
|
|
6
6
|
hierarchicalFilterFields?: string[];
|
|
7
7
|
constructor(hierarchicalFilterFields?: string[]);
|
package/package.json
CHANGED