igniteui-angular 16.1.0-beta.1 → 16.1.0-beta.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.
- package/esm2022/lib/core/density.mjs +8 -2
- package/esm2022/lib/directives/text-highlight/text-highlight.directive.mjs +2 -3
- package/esm2022/lib/directives/toggle/toggle.directive.mjs +10 -1
- package/esm2022/lib/grids/common/events.mjs +1 -1
- package/esm2022/lib/grids/grid-base.directive.mjs +10 -8
- package/fesm2022/igniteui-angular.mjs +26 -10
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/density.d.ts +14 -1
- package/lib/directives/layout/layout.directive.d.ts +1 -1
- package/lib/directives/text-highlight/text-highlight.directive.d.ts +10 -4
- package/lib/grids/common/events.d.ts +3 -22
- package/lib/grids/grid-base.directive.d.ts +0 -1
- package/package.json +1 -1
package/lib/core/density.d.ts
CHANGED
|
@@ -9,8 +9,15 @@ export declare const DisplayDensity: {
|
|
|
9
9
|
cosy: "cosy";
|
|
10
10
|
compact: "compact";
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated since version 16.1.x.
|
|
14
|
+
* Please use the `--ig-size` CSS custom property.
|
|
15
|
+
* @see {@link [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-160x-to-161x)}
|
|
16
|
+
*/
|
|
12
17
|
export type DisplayDensity = (typeof DisplayDensity)[keyof typeof DisplayDensity];
|
|
13
18
|
/**
|
|
19
|
+
* @deprecated since version 16.1.x. Please use the `--ig-size` CSS custom property.
|
|
20
|
+
*
|
|
14
21
|
* Describes the object used to configure the DisplayDensity in Angular DI.
|
|
15
22
|
*/
|
|
16
23
|
export interface IDisplayDensityOptions {
|
|
@@ -21,6 +28,10 @@ export interface IDensityChangedEventArgs extends IBaseEventArgs {
|
|
|
21
28
|
newDensity: DisplayDensity;
|
|
22
29
|
}
|
|
23
30
|
/**
|
|
31
|
+
* @deprecated since version 16.1.x.
|
|
32
|
+
* Please use the `--ig-size` CSS custom property.
|
|
33
|
+
* @see {@link [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-160x-to-161x)}
|
|
34
|
+
*
|
|
24
35
|
* @hidden
|
|
25
36
|
* Defines the DisplayDensity DI token.
|
|
26
37
|
*/
|
|
@@ -34,7 +45,9 @@ export declare class DisplayDensityBase implements DoCheck, OnInit {
|
|
|
34
45
|
protected _host: ElementRef;
|
|
35
46
|
densityChanged: EventEmitter<IDensityChangedEventArgs>;
|
|
36
47
|
/**
|
|
37
|
-
* @deprecated since version 16.1.x.
|
|
48
|
+
* @deprecated since version 16.1.x.
|
|
49
|
+
* Please use the `--ig-size` CSS custom property.
|
|
50
|
+
* @see {@link [Update Guide](https://www.infragistics.com/products/ignite-ui-angular/angular/components/general/update-guide#from-160x-to-161x)}
|
|
38
51
|
*
|
|
39
52
|
* Returns the theme of the component.
|
|
40
53
|
* The default theme is `comfortable`.
|
|
@@ -108,7 +108,7 @@ export declare class IgxLayoutDirective {
|
|
|
108
108
|
/**
|
|
109
109
|
* @hidden
|
|
110
110
|
*/
|
|
111
|
-
get direction(): "row" | "
|
|
111
|
+
get direction(): "row" | "column" | "row-reverse" | "column-reverse";
|
|
112
112
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxLayoutDirective, never>;
|
|
113
113
|
static ɵdir: i0.ɵɵDirectiveDeclaration<IgxLayoutDirective, "[igxLayout]", never, { "dir": { "alias": "igxLayoutDir"; "required": false; }; "reverse": { "alias": "igxLayoutReverse"; "required": false; }; "wrap": { "alias": "igxLayoutWrap"; "required": false; }; "justify": { "alias": "igxLayoutJustify"; "required": false; }; "itemAlign": { "alias": "igxLayoutItemAlign"; "required": false; }; }, {}, never, never, true, never>;
|
|
114
114
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, OnChanges, OnDestroy, Renderer2, SimpleChanges, AfterViewChecked } from '@angular/core';
|
|
2
|
-
import { ISearchInfo } from '../../grids/common/events';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
export interface IBaseSearchInfo {
|
|
4
|
+
searchText: string;
|
|
5
|
+
caseSensitive: boolean;
|
|
6
|
+
exactMatch: boolean;
|
|
7
|
+
matchCount: number;
|
|
8
|
+
content: string;
|
|
9
|
+
}
|
|
4
10
|
/**
|
|
5
11
|
* An interface describing information for the active highlight.
|
|
6
12
|
*/
|
|
@@ -109,13 +115,13 @@ export declare class IgxTextHighlightDirective implements AfterViewInit, AfterVi
|
|
|
109
115
|
*/
|
|
110
116
|
column: any;
|
|
111
117
|
/**
|
|
112
|
-
* A map that contains all
|
|
118
|
+
* A map that contains all additional conditions, that you need to activate a highlighted
|
|
113
119
|
* element. To activate the condition, you will have to add a new metadata key to
|
|
114
120
|
* the `metadata` property of the IActiveHighlightInfo interface.
|
|
115
121
|
*
|
|
116
122
|
* @example
|
|
117
123
|
* ```typescript
|
|
118
|
-
* // Set a property, which would disable the highlight for a given element on a
|
|
124
|
+
* // Set a property, which would disable the highlight for a given element on a certain condition
|
|
119
125
|
* const metadata = new Map<string, any>();
|
|
120
126
|
* metadata.set('highlightElement', false);
|
|
121
127
|
* ```
|
|
@@ -130,7 +136,7 @@ export declare class IgxTextHighlightDirective implements AfterViewInit, AfterVi
|
|
|
130
136
|
/**
|
|
131
137
|
* @hidden
|
|
132
138
|
*/
|
|
133
|
-
get lastSearchInfo():
|
|
139
|
+
get lastSearchInfo(): IBaseSearchInfo;
|
|
134
140
|
/**
|
|
135
141
|
* @hidden
|
|
136
142
|
*/
|
|
@@ -6,6 +6,7 @@ import { IGroupingExpression } from '../../data-operations/grouping-expression.i
|
|
|
6
6
|
import { IgxBaseExporter } from '../../services/exporter-common/base-export-service';
|
|
7
7
|
import { IgxExporterOptionsBase } from '../../services/exporter-common/exporter-options-base';
|
|
8
8
|
import { ISortingExpression } from '../../data-operations/sorting-strategy';
|
|
9
|
+
import { IBaseSearchInfo } from '../../directives/text-highlight/text-highlight.directive';
|
|
9
10
|
/** The event arguments when data from a grid is being copied. */
|
|
10
11
|
export interface IGridClipboardEvent {
|
|
11
12
|
/** `data` can be of any type and referes to the data that is being copied/stored to the clipboard */
|
|
@@ -196,29 +197,9 @@ export interface IColumnSelectionEventArgs extends CancelableEventArgs, IBaseEve
|
|
|
196
197
|
*/
|
|
197
198
|
readonly event?: Event;
|
|
198
199
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
* search text, search options, and information about the matches found
|
|
202
|
-
*/
|
|
203
|
-
export interface ISearchInfo {
|
|
204
|
-
/**
|
|
205
|
-
* Represents the text, the user has entered, in order to search matching results with it
|
|
206
|
-
* it's non optional, but can be empty string
|
|
207
|
-
*/
|
|
208
|
-
searchText: string;
|
|
209
|
-
/**
|
|
210
|
-
* Indicates whether the search should match results, no matter the case of the letters (upper and lower)
|
|
211
|
-
* If the value is true, the result will depend on the case (example: `E` will not match `e`)
|
|
212
|
-
* If the value is false, the result will not depend on the case (example: `E` will match `e`)
|
|
213
|
-
*/
|
|
214
|
-
caseSensitive: boolean;
|
|
215
|
-
/** Indicates whether the search should match the exact text (value: true) or allow partial matches (value: false) */
|
|
216
|
-
exactMatch: boolean;
|
|
217
|
-
/** `activeMatchIndex` takes note of the index of the currently active (highlighted) match */
|
|
200
|
+
export interface ISearchInfo extends IBaseSearchInfo {
|
|
201
|
+
matchInfoCache: any[];
|
|
218
202
|
activeMatchIndex: number;
|
|
219
|
-
/** Represents the number of the found matches */
|
|
220
|
-
matchCount: number;
|
|
221
|
-
content: string;
|
|
222
203
|
}
|
|
223
204
|
/**
|
|
224
205
|
* Represents the arguments for the grid toolbar export event.
|
|
@@ -1989,7 +1989,6 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
1989
1989
|
private _sortHeaderIconTemplate;
|
|
1990
1990
|
private _sortAscendingHeaderIconTemplate;
|
|
1991
1991
|
private _sortDescendingHeaderIconTemplate;
|
|
1992
|
-
private _matchInfoCache;
|
|
1993
1992
|
/**
|
|
1994
1993
|
* @hidden @internal
|
|
1995
1994
|
*/
|
package/package.json
CHANGED