igniteui-angular 20.0.11 → 20.0.13
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 +146 -90
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/index.d.ts +95 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5185,16 +5185,53 @@ interface RowType {
|
|
|
5185
5185
|
*/
|
|
5186
5186
|
unpin?: () => void;
|
|
5187
5187
|
}
|
|
5188
|
+
/**
|
|
5189
|
+
* Describes a field that can be used in the Grid and QueryBuilder components.
|
|
5190
|
+
*/
|
|
5188
5191
|
interface FieldType {
|
|
5192
|
+
/**
|
|
5193
|
+
* Display label for the field.
|
|
5194
|
+
*/
|
|
5189
5195
|
label?: string;
|
|
5196
|
+
/**
|
|
5197
|
+
* The internal field name, used in expressions and queries.
|
|
5198
|
+
*/
|
|
5190
5199
|
field: string;
|
|
5200
|
+
/**
|
|
5201
|
+
* Optional column header for UI display purposes.
|
|
5202
|
+
*/
|
|
5191
5203
|
header?: string;
|
|
5204
|
+
/**
|
|
5205
|
+
* The data type of the field.
|
|
5206
|
+
*/
|
|
5192
5207
|
dataType: DataType;
|
|
5208
|
+
/**
|
|
5209
|
+
* Options for the editor associated with this field.
|
|
5210
|
+
*/
|
|
5193
5211
|
editorOptions?: IFieldEditorOptions;
|
|
5212
|
+
/**
|
|
5213
|
+
* Optional filtering operands that apply to this field.
|
|
5214
|
+
*/
|
|
5194
5215
|
filters?: IgxFilteringOperand;
|
|
5216
|
+
/**
|
|
5217
|
+
* Optional arguments for any pipe applied to the field.
|
|
5218
|
+
*/
|
|
5195
5219
|
pipeArgs?: IFieldPipeArgs;
|
|
5220
|
+
/**
|
|
5221
|
+
* Default time format for Date/Time fields.
|
|
5222
|
+
*/
|
|
5196
5223
|
defaultTimeFormat?: string;
|
|
5224
|
+
/**
|
|
5225
|
+
* Default date/time format for Date/Time fields.
|
|
5226
|
+
*/
|
|
5197
5227
|
defaultDateTimeFormat?: string;
|
|
5228
|
+
/**
|
|
5229
|
+
* Optional formatter function to transform the value before display.
|
|
5230
|
+
*
|
|
5231
|
+
* @param value - The value of the field.
|
|
5232
|
+
* @param rowData - Optional row data that contains this field.
|
|
5233
|
+
* @returns The formatted value.
|
|
5234
|
+
*/
|
|
5198
5235
|
formatter?(value: any, rowData?: any): any;
|
|
5199
5236
|
}
|
|
5200
5237
|
/**
|
|
@@ -5978,7 +6015,7 @@ interface GridType extends IGridDataBindable {
|
|
|
5978
6015
|
refreshSearch(): void;
|
|
5979
6016
|
getDefaultExpandState(record: any): boolean;
|
|
5980
6017
|
trackColumnChanges(index: number, column: any): any;
|
|
5981
|
-
getPossibleColumnWidth(): string;
|
|
6018
|
+
getPossibleColumnWidth(baseWidth?: number, minColumnWidth?: number): string;
|
|
5982
6019
|
resetHorizontalVirtualization(): void;
|
|
5983
6020
|
hasVerticalScroll(): boolean;
|
|
5984
6021
|
getVisibleContentHeight(): number;
|
|
@@ -6268,11 +6305,23 @@ interface IClipboardOptions {
|
|
|
6268
6305
|
separator: string;
|
|
6269
6306
|
}
|
|
6270
6307
|
/**
|
|
6271
|
-
*
|
|
6308
|
+
* Describes an entity in the QueryBuilder.
|
|
6309
|
+
* An entity represents a logical grouping of fields and can have nested child entities.
|
|
6272
6310
|
*/
|
|
6273
6311
|
interface EntityType {
|
|
6312
|
+
/**
|
|
6313
|
+
* The name of the entity.
|
|
6314
|
+
* Typically used as an identifier in expressions.
|
|
6315
|
+
*/
|
|
6274
6316
|
name: string;
|
|
6317
|
+
/**
|
|
6318
|
+
* The list of fields that belong to this entity.
|
|
6319
|
+
*/
|
|
6275
6320
|
fields: FieldType[];
|
|
6321
|
+
/**
|
|
6322
|
+
* Optional child entities.
|
|
6323
|
+
* This allows building hierarchical or nested query structures.
|
|
6324
|
+
*/
|
|
6276
6325
|
childEntities?: EntityType[];
|
|
6277
6326
|
}
|
|
6278
6327
|
|
|
@@ -14781,6 +14830,11 @@ declare class IgxIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
14781
14830
|
* ```
|
|
14782
14831
|
*/
|
|
14783
14832
|
get getInactive(): boolean;
|
|
14833
|
+
/**
|
|
14834
|
+
* The `aria-hidden` attribute of the icon.
|
|
14835
|
+
* By default is set to 'true'.
|
|
14836
|
+
*/
|
|
14837
|
+
ariaHidden: boolean;
|
|
14784
14838
|
/**
|
|
14785
14839
|
* An @Input property that sets the value of the `family`. By default it's "material".
|
|
14786
14840
|
*
|
|
@@ -14884,7 +14938,7 @@ declare class IgxIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
14884
14938
|
*/
|
|
14885
14939
|
private setIcon;
|
|
14886
14940
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxIconComponent, never>;
|
|
14887
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxIconComponent, "igx-icon", never, { "family": { "alias": "family"; "required": false; }; "name": { "alias": "name"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14941
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxIconComponent, "igx-icon", never, { "ariaHidden": { "alias": "ariaHidden"; "required": false; }; "family": { "alias": "family"; "required": false; }; "name": { "alias": "name"; "required": false; }; "active": { "alias": "active"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
14888
14942
|
static ngAcceptInputType_active: unknown;
|
|
14889
14943
|
}
|
|
14890
14944
|
|
|
@@ -25717,25 +25771,53 @@ declare class IgxQueryBuilderComponent implements OnDestroy {
|
|
|
25717
25771
|
*/
|
|
25718
25772
|
showEntityChangeDialog: boolean;
|
|
25719
25773
|
/**
|
|
25720
|
-
*
|
|
25721
|
-
*
|
|
25774
|
+
* Gets the list of entities available for the IgxQueryBuilderComponent.
|
|
25775
|
+
*
|
|
25776
|
+
* Each entity describes a logical group of fields that can be used in queries.
|
|
25777
|
+
* An entity can optionally have child entities, allowing nested sub-queries.
|
|
25778
|
+
*
|
|
25779
|
+
* @returns An array of {@link EntityType} objects.
|
|
25722
25780
|
*/
|
|
25723
25781
|
get entities(): EntityType[];
|
|
25724
25782
|
/**
|
|
25725
|
-
* Sets the entities.
|
|
25726
|
-
*
|
|
25783
|
+
* Sets the list of entities for the IgxQueryBuilderComponent.
|
|
25784
|
+
* If the `expressionTree` is defined, it will be recreated with the new entities.
|
|
25785
|
+
*
|
|
25786
|
+
* Each entity should be an {@link EntityType} object describing the fields and optionally child entities.
|
|
25787
|
+
*
|
|
25788
|
+
* Example:
|
|
25789
|
+
* ```ts
|
|
25790
|
+
* [
|
|
25791
|
+
* {
|
|
25792
|
+
* name: 'Orders',
|
|
25793
|
+
* fields: [{ field: 'OrderID', dataType: 'number' }],
|
|
25794
|
+
* childEntities: [
|
|
25795
|
+
* {
|
|
25796
|
+
* name: 'OrderDetails',
|
|
25797
|
+
* fields: [{ field: 'ProductID', dataType: 'number' }]
|
|
25798
|
+
* }
|
|
25799
|
+
* ]
|
|
25800
|
+
* }
|
|
25801
|
+
* ]
|
|
25802
|
+
* ```
|
|
25803
|
+
*
|
|
25804
|
+
* @param entities - The array of entities to set.
|
|
25727
25805
|
*/
|
|
25728
25806
|
set entities(entities: EntityType[]);
|
|
25729
25807
|
/**
|
|
25730
|
-
*
|
|
25808
|
+
* Gets the list of fields for the QueryBuilder.
|
|
25809
|
+
*
|
|
25810
|
+
* @deprecated since version 19.1.0. Use the `entities` property instead.
|
|
25731
25811
|
* @hidden
|
|
25732
|
-
* @deprecated in version 19.1.0. Use the `entities` property instead.
|
|
25733
25812
|
*/
|
|
25734
25813
|
get fields(): FieldType[];
|
|
25735
25814
|
/**
|
|
25736
|
-
* Sets the fields.
|
|
25815
|
+
* Sets the list of fields for the QueryBuilder.
|
|
25816
|
+
* Automatically wraps them into a single entity to maintain backward compatibility.
|
|
25817
|
+
*
|
|
25818
|
+
* @param fields - The array of fields to set.
|
|
25819
|
+
* @deprecated since version 19.1.0. Use the `entities` property instead.
|
|
25737
25820
|
* @hidden
|
|
25738
|
-
* @deprecated in version 19.1.0. Use the `entities` property instead.
|
|
25739
25821
|
*/
|
|
25740
25822
|
set fields(fields: FieldType[]);
|
|
25741
25823
|
/**
|
|
@@ -30136,7 +30218,7 @@ declare class IgxColumnResizerDirective implements OnInit, OnDestroy {
|
|
|
30136
30218
|
set left(val: number);
|
|
30137
30219
|
set top(val: number);
|
|
30138
30220
|
onMouseup(event: MouseEvent): void;
|
|
30139
|
-
onMousedown(event: MouseEvent): void;
|
|
30221
|
+
onMousedown(event: MouseEvent, resizeHandleTarget: HTMLElement): void;
|
|
30140
30222
|
onMousemove(event: MouseEvent): void;
|
|
30141
30223
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxColumnResizerDirective, never>;
|
|
30142
30224
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxColumnResizerDirective, "[igxResizer]", never, { "restrictHResizeMin": { "alias": "restrictHResizeMin"; "required": false; }; "restrictHResizeMax": { "alias": "restrictHResizeMax"; "required": false; }; "restrictResizerTop": { "alias": "restrictResizerTop"; "required": false; }; }, { "resizeEnd": "resizeEnd"; "resizeStart": "resizeStart"; "resize": "resize"; }, never, never, true, never>;
|
|
@@ -33270,7 +33352,7 @@ declare abstract class IgxGridBaseDirective implements GridType, OnInit, DoCheck
|
|
|
33270
33352
|
/**
|
|
33271
33353
|
* @hidden @internal
|
|
33272
33354
|
*/
|
|
33273
|
-
getPossibleColumnWidth(baseWidth?: number): string;
|
|
33355
|
+
getPossibleColumnWidth(baseWidth?: number, minColumnWidth?: number): string;
|
|
33274
33356
|
/**
|
|
33275
33357
|
* @hidden @internal
|
|
33276
33358
|
*/
|
package/package.json
CHANGED