igniteui-angular 19.0.7 → 19.1.0-beta.1
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 +1895 -755
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/calendar/months-view/months-view.component.d.ts +0 -4
- package/lib/calendar/years-view/years-view.component.d.ts +0 -4
- package/lib/carousel/carousel-base.d.ts +2 -31
- package/lib/carousel/carousel.component.d.ts +12 -12
- package/lib/carousel/enums.d.ts +8 -0
- package/lib/carousel/slide.component.d.ts +3 -2
- package/lib/checkbox/checkbox.component.d.ts +5 -4
- package/lib/core/i18n/query-builder-resources.d.ts +22 -2
- package/lib/core/styles/components/avatar/_avatar-theme.scss +31 -1
- package/lib/core/styles/components/card/_card-theme.scss +1 -1
- package/lib/core/styles/components/carousel/_carousel-component.scss +4 -4
- package/lib/core/styles/components/carousel/_carousel-theme.scss +8 -4
- package/lib/core/styles/components/checkbox/_checkbox-component.scss +4 -8
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +3 -8
- package/lib/core/styles/components/chip/_chip-theme.scss +4 -2
- package/lib/core/styles/components/combo/_combo-theme.scss +10 -24
- package/lib/core/styles/components/grid/_excel-filtering-theme.scss +14 -16
- package/lib/core/styles/components/grid/_grid-theme.scss +34 -30
- package/lib/core/styles/components/input/_input-group-theme.scss +2 -5
- package/lib/core/styles/components/query-builder/_query-builder-component.scss +59 -44
- package/lib/core/styles/components/query-builder/_query-builder-theme.scss +325 -232
- package/lib/core/styles/components/radio/_radio-theme.scss +2 -0
- package/lib/core/styles/components/switch/_switch-theme.scss +2 -0
- package/lib/core/styles/components/tree/_tree-theme.scss +1 -7
- package/lib/core/styles/themes/generators/_base.scss +4 -6
- package/lib/core/styles/themes/generators/_bootstrap.scss +0 -2
- package/lib/core/styles/themes/generators/_fluent.scss +0 -2
- package/lib/core/styles/themes/generators/_indigo.scss +0 -2
- package/lib/core/utils.d.ts +0 -2
- package/lib/data-operations/filtering-condition.d.ts +16 -5
- package/lib/data-operations/filtering-expression.interface.d.ts +4 -1
- package/lib/data-operations/filtering-expressions-tree.d.ts +29 -3
- package/lib/directives/drag-drop/drag-drop.directive.d.ts +0 -1
- package/lib/grids/common/grid.interface.d.ts +13 -10
- package/lib/grids/filtering/advanced-filtering/advanced-filtering-dialog.component.d.ts +7 -0
- package/lib/grids/filtering/excel-style/excel-style-custom-dialog.component.d.ts +1 -4
- package/lib/grids/filtering/excel-style/excel-style-date-expression.component.d.ts +3 -1
- package/lib/grids/grid-base.directive.d.ts +2 -5
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +1 -1
- package/lib/grids/resizing/resizer.directive.d.ts +0 -2
- package/lib/grids/resizing/resizing.service.d.ts +2 -2
- package/lib/icon/icon.component.d.ts +17 -1
- package/lib/icon/icon.service.d.ts +4 -7
- package/lib/icon/types.d.ts +1 -3
- package/lib/input-group/input-group.component.d.ts +10 -8
- package/lib/query-builder/public_api.d.ts +3 -1
- package/lib/query-builder/query-builder-header.component.d.ts +1 -11
- package/lib/query-builder/query-builder-tree.component.d.ts +565 -0
- package/lib/query-builder/query-builder.component.d.ts +43 -303
- package/lib/query-builder/query-builder.directives.d.ts +22 -0
- package/lib/query-builder/query-builder.module.d.ts +2 -1
- package/lib/services/public_api.d.ts +0 -1
- package/lib/services/theme/theme.service.d.ts +27 -0
- package/migrations/update-18_2_0/changes/inputs.json +9 -0
- package/migrations/update-18_2_0/index.js +4 -0
- package/package.json +2 -2
- package/styles/igniteui-angular-dark.css +1 -1
- package/styles/igniteui-angular.css +1 -1
- package/styles/igniteui-bootstrap-dark.css +1 -1
- package/styles/igniteui-bootstrap-light.css +1 -1
- package/styles/igniteui-dark-green.css +1 -1
- package/styles/igniteui-fluent-dark-excel.css +1 -1
- package/styles/igniteui-fluent-dark-word.css +1 -1
- package/styles/igniteui-fluent-dark.css +1 -1
- package/styles/igniteui-fluent-light-excel.css +1 -1
- package/styles/igniteui-fluent-light-word.css +1 -1
- package/styles/igniteui-fluent-light.css +1 -1
- package/styles/igniteui-indigo-dark.css +1 -1
- package/styles/igniteui-indigo-light.css +1 -1
- package/styles/maps/igniteui-angular-dark.css.map +1 -1
- package/styles/maps/igniteui-angular.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
- package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
- package/styles/maps/igniteui-dark-green.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-dark.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
- package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
- package/styles/maps/igniteui-fluent-light.css.map +1 -1
- package/styles/maps/igniteui-indigo-dark.css.map +1 -1
- package/styles/maps/igniteui-indigo-light.css.map +1 -1
- package/lib/services/theme/theme.token.d.ts +0 -24
|
@@ -212,6 +212,7 @@
|
|
|
212
212
|
height: $size;
|
|
213
213
|
min-width: $size;
|
|
214
214
|
line-height: $size;
|
|
215
|
+
cursor: pointer;
|
|
215
216
|
color: var-get($theme, 'label-color');
|
|
216
217
|
user-select: none;
|
|
217
218
|
|
|
@@ -399,6 +400,7 @@
|
|
|
399
400
|
|
|
400
401
|
%radio-label {
|
|
401
402
|
color: var-get($theme, 'label-color');
|
|
403
|
+
cursor: pointer;
|
|
402
404
|
user-select: none;
|
|
403
405
|
word-wrap: break-all;
|
|
404
406
|
|
|
@@ -290,6 +290,7 @@
|
|
|
290
290
|
border: rem(1px) solid var-get($theme, 'border-color');
|
|
291
291
|
border-radius: var-get($theme, 'border-radius-track');
|
|
292
292
|
background: var-get($theme, 'track-off-color');
|
|
293
|
+
cursor: pointer;
|
|
293
294
|
user-select: none;
|
|
294
295
|
transition: $input-transition;
|
|
295
296
|
|
|
@@ -556,6 +557,7 @@
|
|
|
556
557
|
%switch-label {
|
|
557
558
|
display: inline-block;
|
|
558
559
|
color: var-get($theme, 'label-color');
|
|
560
|
+
cursor: pointer;
|
|
559
561
|
user-select: none;
|
|
560
562
|
word-wrap: break-all;
|
|
561
563
|
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
), $variant);
|
|
149
149
|
|
|
150
150
|
$icon-space: map.get((
|
|
151
|
-
'material': $icon-space-
|
|
151
|
+
'material': $icon-space-default,
|
|
152
152
|
'fluent': $icon-space-default,
|
|
153
153
|
'bootstrap': $icon-space-default,
|
|
154
154
|
'indigo': $icon-space-indigo
|
|
@@ -209,12 +209,6 @@
|
|
|
209
209
|
margin-inline-end: $icon-space;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
@if $variant == 'material' {
|
|
213
|
-
%node-select {
|
|
214
|
-
margin-inline: rem(10px) rem(14px);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
|
|
218
212
|
@if $variant == 'indigo' {
|
|
219
213
|
%node-select {
|
|
220
214
|
margin-inline-end: rem(8px);
|
|
@@ -663,7 +663,6 @@
|
|
|
663
663
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
664
664
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
665
665
|
/// @see {mixin} theme
|
|
666
|
-
/// @deprecated - Use the theme mixin instead.
|
|
667
666
|
@mixin light-theme(
|
|
668
667
|
$palette,
|
|
669
668
|
$exclude: (),
|
|
@@ -673,7 +672,7 @@
|
|
|
673
672
|
$gray: color($palette, 'gray');
|
|
674
673
|
$surface: color($palette, 'surface');
|
|
675
674
|
|
|
676
|
-
$
|
|
675
|
+
$light-palette: palette(
|
|
677
676
|
$primary: color($palette, 'primary'),
|
|
678
677
|
$secondary: color($palette, 'secondary'),
|
|
679
678
|
$info: color($palette, 'info'),
|
|
@@ -685,7 +684,7 @@
|
|
|
685
684
|
);
|
|
686
685
|
|
|
687
686
|
@include theme(
|
|
688
|
-
$palette: $
|
|
687
|
+
$palette: $light-material-palette,
|
|
689
688
|
$schema: $light-material-schema,
|
|
690
689
|
$exclude: $exclude,
|
|
691
690
|
$roundness: $roundness,
|
|
@@ -697,7 +696,6 @@
|
|
|
697
696
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
698
697
|
/// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles.
|
|
699
698
|
/// @see {mixin} theme
|
|
700
|
-
/// @deprecated - Use the theme mixin instead.
|
|
701
699
|
@mixin dark-theme(
|
|
702
700
|
$palette,
|
|
703
701
|
$exclude: (),
|
|
@@ -707,7 +705,7 @@
|
|
|
707
705
|
$gray: color($palette, 'gray');
|
|
708
706
|
$surface: color($palette, 'surface');
|
|
709
707
|
|
|
710
|
-
$
|
|
708
|
+
$dark-palette: palette(
|
|
711
709
|
$primary: color($palette, 'primary'),
|
|
712
710
|
$secondary: color($palette, 'secondary'),
|
|
713
711
|
$info: color($palette, 'info'),
|
|
@@ -719,7 +717,7 @@
|
|
|
719
717
|
);
|
|
720
718
|
|
|
721
719
|
@include theme(
|
|
722
|
-
$palette: $
|
|
720
|
+
$palette: $dark-material-palette,
|
|
723
721
|
$schema: $dark-material-schema,
|
|
724
722
|
$exclude: $exclude,
|
|
725
723
|
$roundness: $roundness,
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
14
14
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
15
15
|
/// @see {mixin} theme
|
|
16
|
-
/// @deprecated - Use the theme mixin instead.
|
|
17
16
|
@mixin bootstrap-light-theme(
|
|
18
17
|
$palette,
|
|
19
18
|
$exclude: (),
|
|
@@ -51,7 +50,6 @@
|
|
|
51
50
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
52
51
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
53
52
|
/// @see {mixin} theme
|
|
54
|
-
/// @deprecated - Use the theme mixin instead.
|
|
55
53
|
@mixin bootstrap-dark-theme(
|
|
56
54
|
$palette,
|
|
57
55
|
$exclude: (),
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
14
14
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
15
15
|
/// @see {mixin} theme
|
|
16
|
-
/// @deprecated - Use the theme mixin instead.
|
|
17
16
|
@mixin fluent-light-theme(
|
|
18
17
|
$palette,
|
|
19
18
|
$exclude: (),
|
|
@@ -51,7 +50,6 @@
|
|
|
51
50
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
52
51
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
53
52
|
/// @see {mixin} theme
|
|
54
|
-
/// @deprecated - Use the theme mixin instead.
|
|
55
53
|
@mixin fluent-dark-theme(
|
|
56
54
|
$palette,
|
|
57
55
|
$exclude: (),
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
15
15
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
16
16
|
/// @see {mixin} theme
|
|
17
|
-
/// @deprecated - Use the theme mixin instead.
|
|
18
17
|
@mixin indigo-light-theme(
|
|
19
18
|
$palette,
|
|
20
19
|
$exclude: (),
|
|
@@ -53,7 +52,6 @@
|
|
|
53
52
|
/// @param {Map} $palette - An palette to be used by the global theme.
|
|
54
53
|
/// @param {List} $exclude [( )] - A list of ig components to be excluded from the global theme styles.
|
|
55
54
|
/// @see {mixin} theme
|
|
56
|
-
/// @deprecated - Use the theme mixin instead.
|
|
57
55
|
@mixin indigo-dark-theme(
|
|
58
56
|
$palette,
|
|
59
57
|
$exclude: (),
|
package/lib/core/utils.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { IgxTheme } from '../services/theme/theme.token';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
/** @hidden @internal */
|
|
6
5
|
export declare const ELEMENTS_TOKEN: InjectionToken<boolean>;
|
|
@@ -315,4 +314,3 @@ export declare function getComponentCssSizeVar(size: string): "var(--ig-size, va
|
|
|
315
314
|
* @returns string encoded using the encodeURI function.
|
|
316
315
|
*/
|
|
317
316
|
export declare function normalizeURI(path: string): string;
|
|
318
|
-
export declare function getComponentTheme(el: Element): IgxTheme;
|
|
@@ -10,9 +10,13 @@ export declare class IgxFilteringOperand {
|
|
|
10
10
|
constructor();
|
|
11
11
|
static instance(): IgxFilteringOperand;
|
|
12
12
|
/**
|
|
13
|
-
* Returns an array of names of the conditions which are visible in the UI
|
|
13
|
+
* Returns an array of names of the conditions which are visible in the filtering UI
|
|
14
14
|
*/
|
|
15
15
|
conditionList(): string[];
|
|
16
|
+
/**
|
|
17
|
+
* Returns an array of names of the conditions which are visible in the UI, including "In" and "Not In", allowing the creation of sub-queries.
|
|
18
|
+
*/
|
|
19
|
+
extendedConditionList(): string[];
|
|
16
20
|
/**
|
|
17
21
|
* Returns an instance of the condition with the specified name.
|
|
18
22
|
*
|
|
@@ -28,7 +32,7 @@ export declare class IgxFilteringOperand {
|
|
|
28
32
|
/**
|
|
29
33
|
* @hidden
|
|
30
34
|
*/
|
|
31
|
-
|
|
35
|
+
findValueInSet(target: any, searchVal: Set<any>): boolean;
|
|
32
36
|
}
|
|
33
37
|
/**
|
|
34
38
|
* Provides filtering operations for booleans
|
|
@@ -50,7 +54,10 @@ declare class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
|
|
|
50
54
|
* @memberof IgxDateFilteringOperand
|
|
51
55
|
*/
|
|
52
56
|
static getDateParts(date: Date, dateFormat?: string): IDateParts;
|
|
53
|
-
|
|
57
|
+
/**
|
|
58
|
+
* @hidden
|
|
59
|
+
*/
|
|
60
|
+
findValueInSet(target: any, searchVal: Set<any>): boolean;
|
|
54
61
|
protected validateInputData(target: Date): void;
|
|
55
62
|
}
|
|
56
63
|
/**
|
|
@@ -60,14 +67,17 @@ declare class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
|
|
|
60
67
|
*/
|
|
61
68
|
export declare class IgxDateFilteringOperand extends IgxBaseDateTimeFilteringOperand {
|
|
62
69
|
protected constructor();
|
|
63
|
-
|
|
70
|
+
findValueInSet(target: any, searchVal: Set<any>): boolean;
|
|
64
71
|
}
|
|
65
72
|
export declare class IgxDateTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
|
|
66
73
|
protected constructor();
|
|
67
74
|
}
|
|
68
75
|
export declare class IgxTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
|
|
69
76
|
protected constructor();
|
|
70
|
-
|
|
77
|
+
/**
|
|
78
|
+
* @hidden
|
|
79
|
+
*/
|
|
80
|
+
findValueInSet(target: any, searchVal: Set<any>): boolean;
|
|
71
81
|
}
|
|
72
82
|
/**
|
|
73
83
|
* Provides filtering operations for numbers
|
|
@@ -99,6 +109,7 @@ export declare class IgxStringFilteringOperand extends IgxFilteringOperand {
|
|
|
99
109
|
export interface IFilteringOperation {
|
|
100
110
|
name: string;
|
|
101
111
|
isUnary: boolean;
|
|
112
|
+
isNestedQuery?: boolean;
|
|
102
113
|
iconName: string;
|
|
103
114
|
hidden?: boolean;
|
|
104
115
|
logic: (value: any, searchVal?: any, ignoreCase?: boolean) => boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IFilteringOperation } from './filtering-condition';
|
|
2
|
+
import { IExpressionTree } from './filtering-expressions-tree';
|
|
2
3
|
export declare enum FilteringLogic {
|
|
3
4
|
And = 0,
|
|
4
5
|
Or = 1
|
|
@@ -8,7 +9,9 @@ export declare enum FilteringLogic {
|
|
|
8
9
|
*/
|
|
9
10
|
export declare interface IFilteringExpression {
|
|
10
11
|
fieldName: string;
|
|
11
|
-
condition
|
|
12
|
+
condition?: IFilteringOperation;
|
|
13
|
+
conditionName?: string;
|
|
12
14
|
searchVal?: any;
|
|
15
|
+
searchTree?: IExpressionTree;
|
|
13
16
|
ignoreCase?: boolean;
|
|
14
17
|
}
|
|
@@ -8,6 +8,8 @@ export declare interface IExpressionTree {
|
|
|
8
8
|
filteringOperands: (IExpressionTree | IFilteringExpression)[];
|
|
9
9
|
operator: FilteringLogic;
|
|
10
10
|
fieldName?: string;
|
|
11
|
+
entity?: string;
|
|
12
|
+
returnFields?: string[];
|
|
11
13
|
}
|
|
12
14
|
export declare interface IFilteringExpressionsTree extends IBaseEventArgs, IExpressionTree {
|
|
13
15
|
filteringOperands: (IFilteringExpressionsTree | IFilteringExpression)[];
|
|
@@ -58,7 +60,7 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
58
60
|
/**
|
|
59
61
|
* Sets/gets the field name of the column where the filtering expression is placed.
|
|
60
62
|
* ```typescript
|
|
61
|
-
*
|
|
63
|
+
* gridExpressionTree.fieldName = 'Column Field';
|
|
62
64
|
* ```
|
|
63
65
|
* ```typescript
|
|
64
66
|
* let columnField = expressionTree.fieldName;
|
|
@@ -70,7 +72,7 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
70
72
|
/**
|
|
71
73
|
* Sets/gets the type of the filtering expressions tree.
|
|
72
74
|
* ```typescript
|
|
73
|
-
*
|
|
75
|
+
* gridExpressionTree.type = FilteringExpressionsTree.Advanced;
|
|
74
76
|
* ```
|
|
75
77
|
* ```typescript
|
|
76
78
|
* let type = expressionTree.type;
|
|
@@ -79,7 +81,31 @@ export declare class FilteringExpressionsTree implements IFilteringExpressionsTr
|
|
|
79
81
|
* @memberof FilteringExpressionsTree
|
|
80
82
|
*/
|
|
81
83
|
type?: FilteringExpressionsTreeType;
|
|
82
|
-
|
|
84
|
+
/**
|
|
85
|
+
* Sets/gets the entity.
|
|
86
|
+
* ```typescript
|
|
87
|
+
* gridExpressionsTree.entity = 'Entity A';
|
|
88
|
+
* ```
|
|
89
|
+
* ```typescript
|
|
90
|
+
* let entity = gridExpressionsTree.entity;
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @memberof FilteringExpressionsTree
|
|
94
|
+
*/
|
|
95
|
+
entity?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Sets/gets the return fields.
|
|
98
|
+
* ```typescript
|
|
99
|
+
* gridExpressionsTree.returnFields = ['Column Field 1', 'Column Field 2'];
|
|
100
|
+
* ```
|
|
101
|
+
* ```typescript
|
|
102
|
+
* let returnFields = gridExpressionsTree.returnFields;
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* @memberof FilteringExpressionsTree
|
|
106
|
+
*/
|
|
107
|
+
returnFields?: string[];
|
|
108
|
+
constructor(operator: FilteringLogic, fieldName?: string, entity?: string, returnFields?: string[]);
|
|
83
109
|
/**
|
|
84
110
|
* Checks if filtering expressions tree is empty.
|
|
85
111
|
*
|
|
@@ -467,7 +467,6 @@ export declare class IgxDragDirective implements AfterContentInit, OnDestroy {
|
|
|
467
467
|
protected _scrollContainerStepMs: number;
|
|
468
468
|
protected _scrollContainerThreshold: number;
|
|
469
469
|
protected _containerScrollIntervalId: any;
|
|
470
|
-
private document;
|
|
471
470
|
/**
|
|
472
471
|
* Sets the offset of the dragged element relative to the mouse in pixels.
|
|
473
472
|
* By default it's taking the relative position to the mouse when the drag started and keeps it the same.
|
|
@@ -271,12 +271,12 @@ export interface FieldType {
|
|
|
271
271
|
field: string;
|
|
272
272
|
header?: string;
|
|
273
273
|
dataType: DataType;
|
|
274
|
-
editorOptions
|
|
275
|
-
filters
|
|
276
|
-
pipeArgs
|
|
277
|
-
defaultTimeFormat
|
|
278
|
-
defaultDateTimeFormat
|
|
279
|
-
formatter(value: any, rowData?: any): any;
|
|
274
|
+
editorOptions?: IFieldEditorOptions;
|
|
275
|
+
filters?: IgxFilteringOperand;
|
|
276
|
+
pipeArgs?: IFieldPipeArgs;
|
|
277
|
+
defaultTimeFormat?: string;
|
|
278
|
+
defaultDateTimeFormat?: string;
|
|
279
|
+
formatter?(value: any, rowData?: any): any;
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
282
|
* Represents a column in the `GridType`. It is essentially the blueprint to a column object.
|
|
@@ -660,10 +660,6 @@ export interface GridType extends IGridDataBindable {
|
|
|
660
660
|
isLoading: boolean;
|
|
661
661
|
/** @hidden @internal */
|
|
662
662
|
gridSize: Size;
|
|
663
|
-
/** @hidden @internal */
|
|
664
|
-
isColumnWidthSum: boolean;
|
|
665
|
-
/** @hidden @internal */
|
|
666
|
-
minColumnWidth: number;
|
|
667
663
|
/** Strategy, used for cloning the provided data. The type has one method, that takes any type of data */
|
|
668
664
|
dataCloneStrategy: IDataCloneStrategy;
|
|
669
665
|
/** Represents the grid service type providing API methods for the grid */
|
|
@@ -1348,3 +1344,10 @@ export interface IClipboardOptions {
|
|
|
1348
1344
|
*/
|
|
1349
1345
|
separator: string;
|
|
1350
1346
|
}
|
|
1347
|
+
/**
|
|
1348
|
+
* An interface describing entity
|
|
1349
|
+
*/
|
|
1350
|
+
export interface EntityType {
|
|
1351
|
+
name: string;
|
|
1352
|
+
fields: FieldType[];
|
|
1353
|
+
}
|
|
@@ -97,6 +97,13 @@ export declare class IgxAdvancedFilteringDialogComponent implements AfterViewIni
|
|
|
97
97
|
* @hidden @internal
|
|
98
98
|
*/
|
|
99
99
|
onApplyButtonClick(event?: Event): void;
|
|
100
|
+
/**
|
|
101
|
+
* @hidden @internal
|
|
102
|
+
*/
|
|
103
|
+
generateEntity(): {
|
|
104
|
+
name: any;
|
|
105
|
+
fields: FieldType[];
|
|
106
|
+
}[];
|
|
100
107
|
private assignResourceStrings;
|
|
101
108
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxAdvancedFilteringDialogComponent, never>;
|
|
102
109
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxAdvancedFilteringDialogComponent, "igx-advanced-filtering-dialog", never, { "grid": { "alias": "grid"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -6,7 +6,6 @@ import { PlatformUtil } from '../../../core/utils';
|
|
|
6
6
|
import { ExpressionUI } from './common';
|
|
7
7
|
import { ColumnType } from '../../common/grid.interface';
|
|
8
8
|
import { IgxOverlayService } from '../../../services/overlay/overlay';
|
|
9
|
-
import { BaseFilteringComponent } from './base-filtering.component';
|
|
10
9
|
import * as i0 from "@angular/core";
|
|
11
10
|
/**
|
|
12
11
|
* @hidden
|
|
@@ -15,7 +14,6 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
15
14
|
protected overlayService: IgxOverlayService;
|
|
16
15
|
private cdr;
|
|
17
16
|
protected platform: PlatformUtil;
|
|
18
|
-
esf: BaseFilteringComponent;
|
|
19
17
|
expressionsList: ExpressionUI[];
|
|
20
18
|
column: ColumnType;
|
|
21
19
|
selectedOperator: string;
|
|
@@ -29,7 +27,7 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
29
27
|
private expressionDateComponents;
|
|
30
28
|
private _customDialogPositionSettings;
|
|
31
29
|
private _customDialogOverlaySettings;
|
|
32
|
-
constructor(overlayService: IgxOverlayService, cdr: ChangeDetectorRef, platform: PlatformUtil
|
|
30
|
+
constructor(overlayService: IgxOverlayService, cdr: ChangeDetectorRef, platform: PlatformUtil);
|
|
33
31
|
ngAfterViewInit(): void;
|
|
34
32
|
get template(): TemplateRef<any>;
|
|
35
33
|
get grid(): any;
|
|
@@ -38,7 +36,6 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
38
36
|
open(esf: any): void;
|
|
39
37
|
onClearButtonClick(): void;
|
|
40
38
|
closeDialog(): void;
|
|
41
|
-
cancelDialog(): void;
|
|
42
39
|
onApplyButtonClick(): void;
|
|
43
40
|
onAddButtonClick(): void;
|
|
44
41
|
onExpressionRemoved(event: ExpressionUI): void;
|
|
@@ -6,10 +6,12 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class IgxExcelStyleDateExpressionComponent extends IgxExcelStyleDefaultExpressionComponent {
|
|
7
7
|
private input;
|
|
8
8
|
private picker;
|
|
9
|
+
get searchVal(): any;
|
|
10
|
+
set searchVal(value: any);
|
|
9
11
|
protected get inputValuesElement(): HTMLInputElement;
|
|
10
12
|
get inputDatePlaceholder(): string;
|
|
11
13
|
get inputTimePlaceholder(): string;
|
|
12
14
|
get weekStart(): number;
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxExcelStyleDateExpressionComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IgxExcelStyleDateExpressionComponent, "igx-excel-style-date-expression", never, {}, {}, never, never, true, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IgxExcelStyleDateExpressionComponent, "igx-excel-style-date-expression", never, { "searchVal": { "alias": "searchVal"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
17
|
}
|
|
@@ -1831,10 +1831,6 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
|
|
|
1831
1831
|
* @hidden @internal
|
|
1832
1832
|
*/
|
|
1833
1833
|
filteringPipeTrigger: number;
|
|
1834
|
-
/**
|
|
1835
|
-
* @hidden @internal
|
|
1836
|
-
*/
|
|
1837
|
-
isColumnWidthSum: boolean;
|
|
1838
1834
|
/**
|
|
1839
1835
|
* @hidden @internal
|
|
1840
1836
|
*/
|
|
@@ -1993,6 +1989,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
|
|
|
1993
1989
|
private _selectRowOnClick;
|
|
1994
1990
|
private _columnSelectionMode;
|
|
1995
1991
|
private lastAddedRowIndex;
|
|
1992
|
+
protected isColumnWidthSum: boolean;
|
|
1996
1993
|
private _currencyPositionLeft;
|
|
1997
1994
|
private rowEditPositioningStrategy;
|
|
1998
1995
|
private rowEditSettings;
|
|
@@ -2009,7 +2006,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
|
|
|
2009
2006
|
/**
|
|
2010
2007
|
* @hidden @internal
|
|
2011
2008
|
*/
|
|
2012
|
-
get minColumnWidth(): number;
|
|
2009
|
+
protected get minColumnWidth(): number;
|
|
2013
2010
|
protected get isCustomSetRowHeight(): boolean;
|
|
2014
2011
|
/**
|
|
2015
2012
|
* @hidden @internal
|
|
@@ -16,9 +16,7 @@ export declare class IgxColumnResizerDirective implements OnInit, OnDestroy {
|
|
|
16
16
|
resizeStart: Subject<MouseEvent>;
|
|
17
17
|
resize: Subject<any>;
|
|
18
18
|
private _left;
|
|
19
|
-
private _ratio;
|
|
20
19
|
private _destroy;
|
|
21
|
-
get ratio(): number;
|
|
22
20
|
constructor(element: ElementRef<HTMLElement>, document: any, zone: NgZone);
|
|
23
21
|
ngOnInit(): void;
|
|
24
22
|
ngOnDestroy(): void;
|
|
@@ -31,7 +31,7 @@ export declare class IgxColumnResizingService {
|
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
getColumnHeaderRenderedWidth():
|
|
34
|
+
getColumnHeaderRenderedWidth(): any;
|
|
35
35
|
/**
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
@@ -53,7 +53,7 @@ export declare class IgxColumnResizingService {
|
|
|
53
53
|
/**
|
|
54
54
|
* Resizes the column regaridng to the column minWidth and maxWidth.
|
|
55
55
|
*/
|
|
56
|
-
resizeColumn(event: MouseEvent
|
|
56
|
+
resizeColumn(event: MouseEvent): void;
|
|
57
57
|
protected _handlePixelResize(diff: number, column: ColumnType): void;
|
|
58
58
|
protected _handlePercentageResize(diff: number, column: ColumnType): void;
|
|
59
59
|
protected getColMinWidth(column: ColumnType): number;
|
|
@@ -2,6 +2,7 @@ import { ElementRef, OnInit, OnDestroy, OnChanges, ChangeDetectorRef } from "@an
|
|
|
2
2
|
import { IgxIconService } from "./icon.service";
|
|
3
3
|
import type { IconReference } from "./types";
|
|
4
4
|
import { SafeHtml } from "@angular/platform-browser";
|
|
5
|
+
import { ThemeService } from "../services/theme/theme.service";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
/**
|
|
7
8
|
* Icon provides a way to include material icons to markup
|
|
@@ -28,6 +29,7 @@ import * as i0 from "@angular/core";
|
|
|
28
29
|
export declare class IgxIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
29
30
|
el: ElementRef;
|
|
30
31
|
private iconService;
|
|
32
|
+
private themeService;
|
|
31
33
|
private ref;
|
|
32
34
|
private _iconRef;
|
|
33
35
|
private _destroy$;
|
|
@@ -36,6 +38,20 @@ export declare class IgxIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
36
38
|
protected get elementClasses(): string;
|
|
37
39
|
private addIconClass;
|
|
38
40
|
private clearIconClasses;
|
|
41
|
+
/**
|
|
42
|
+
* This allows you to disable the `aria-hidden` attribute. By default it's applied.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* ```typescript
|
|
46
|
+
* @ViewChild("MyIcon") public icon: IgxIconComponent;
|
|
47
|
+
* constructor(private cdRef:ChangeDetectorRef) {}
|
|
48
|
+
* ngAfterViewInit() {
|
|
49
|
+
* this.icon.ariaHidden = false;
|
|
50
|
+
* this.cdRef.detectChanges();
|
|
51
|
+
* }
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
ariaHidden: boolean;
|
|
39
55
|
/**
|
|
40
56
|
* An accessor that returns inactive property.
|
|
41
57
|
*
|
|
@@ -76,7 +92,7 @@ export declare class IgxIconComponent implements OnInit, OnChanges, OnDestroy {
|
|
|
76
92
|
* ```
|
|
77
93
|
*/
|
|
78
94
|
active: boolean;
|
|
79
|
-
constructor(el: ElementRef, iconService: IgxIconService, ref: ChangeDetectorRef);
|
|
95
|
+
constructor(el: ElementRef, iconService: IgxIconService, themeService: ThemeService, ref: ChangeDetectorRef);
|
|
80
96
|
/**
|
|
81
97
|
* @hidden
|
|
82
98
|
* @internal
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { DestroyRef } from "@angular/core";
|
|
2
1
|
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
|
|
3
2
|
import { HttpClient } from "@angular/common/http";
|
|
4
3
|
import { Observable } from "rxjs";
|
|
5
4
|
import { PlatformUtil } from "../core/utils";
|
|
6
5
|
import { IconFamily, IconMeta, FamilyMeta } from "./types";
|
|
7
6
|
import type { IconType, IconReference } from './types';
|
|
8
|
-
import { IgxTheme
|
|
7
|
+
import { IgxTheme } from "../services/theme/theme.service";
|
|
9
8
|
import * as i0 from "@angular/core";
|
|
10
9
|
/**
|
|
11
10
|
* Event emitted when a SVG icon is loaded through
|
|
@@ -35,8 +34,6 @@ export declare class IgxIconService {
|
|
|
35
34
|
private _sanitizer;
|
|
36
35
|
private _httpClient;
|
|
37
36
|
private _platformUtil;
|
|
38
|
-
private _themeToken;
|
|
39
|
-
private _destroyRef;
|
|
40
37
|
protected document: Document;
|
|
41
38
|
/**
|
|
42
39
|
* Observable that emits when an icon is successfully loaded
|
|
@@ -54,7 +51,8 @@ export declare class IgxIconService {
|
|
|
54
51
|
private _cachedIcons;
|
|
55
52
|
private _iconLoaded;
|
|
56
53
|
private _domParser;
|
|
57
|
-
|
|
54
|
+
private theme;
|
|
55
|
+
constructor(_sanitizer: DomSanitizer, _httpClient: HttpClient, _platformUtil: PlatformUtil, document: Document);
|
|
58
56
|
/**
|
|
59
57
|
* Returns the default font-family.
|
|
60
58
|
* ```typescript
|
|
@@ -104,7 +102,6 @@ export declare class IgxIconService {
|
|
|
104
102
|
* ```
|
|
105
103
|
*/
|
|
106
104
|
addIconRef(name: string, family: string, icon: IconMeta): void;
|
|
107
|
-
private _setIconRef;
|
|
108
105
|
/**
|
|
109
106
|
* Similar to addIconRef, but always sets the icon reference meta for an icon in a meta family.
|
|
110
107
|
* ```typescript
|
|
@@ -157,6 +154,6 @@ export declare class IgxIconService {
|
|
|
157
154
|
* @hidden
|
|
158
155
|
*/
|
|
159
156
|
private cacheSvgIcon;
|
|
160
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<IgxIconService, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IgxIconService, [{ optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
161
158
|
static ɵprov: i0.ɵɵInjectableDeclaration<IgxIconService>;
|
|
162
159
|
}
|
package/lib/icon/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IgxTheme } from "../services/theme/theme.
|
|
1
|
+
import { IgxTheme } from "../services/theme/theme.service";
|
|
2
2
|
export type IconThemeKey = IgxTheme | 'default';
|
|
3
3
|
export type IconReferencePair = {
|
|
4
4
|
alias: IconMeta;
|
|
@@ -15,8 +15,6 @@ export interface IconMeta {
|
|
|
15
15
|
name: string;
|
|
16
16
|
family: string;
|
|
17
17
|
type?: IconType;
|
|
18
|
-
/** @hidden @internal */
|
|
19
|
-
external?: boolean;
|
|
20
18
|
}
|
|
21
19
|
export interface FamilyMeta {
|
|
22
20
|
className: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, ElementRef, OnDestroy, QueryList } from '@angular/core';
|
|
2
2
|
import { IInputResourceStrings } from '../core/i18n/input-resources';
|
|
3
3
|
import { PlatformUtil } from '../core/utils';
|
|
4
4
|
import { IgxHintDirective } from '../directives/hint/hint.directive';
|
|
@@ -7,15 +7,15 @@ import { IgxPrefixDirective } from '../directives/prefix/prefix.directive';
|
|
|
7
7
|
import { IgxSuffixDirective } from '../directives/suffix/suffix.directive';
|
|
8
8
|
import { IgxInputGroupBase } from './input-group.common';
|
|
9
9
|
import { IgxInputGroupType } from './inputGroupType';
|
|
10
|
-
import { IgxTheme,
|
|
10
|
+
import { IgxTheme, ThemeService } from '../services/theme/theme.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class IgxInputGroupComponent implements IgxInputGroupBase,
|
|
12
|
+
export declare class IgxInputGroupComponent implements IgxInputGroupBase, AfterViewChecked, OnDestroy {
|
|
13
13
|
element: ElementRef<HTMLElement>;
|
|
14
14
|
private _inputGroupType;
|
|
15
15
|
private document;
|
|
16
16
|
private platform;
|
|
17
17
|
private cdr;
|
|
18
|
-
private
|
|
18
|
+
private themeService;
|
|
19
19
|
/**
|
|
20
20
|
* Sets the resource strings.
|
|
21
21
|
* By default it uses EN resources.
|
|
@@ -71,10 +71,11 @@ export declare class IgxInputGroupComponent implements IgxInputGroupBase, AfterV
|
|
|
71
71
|
protected _suffixes: QueryList<IgxSuffixDirective>;
|
|
72
72
|
/** @hidden */
|
|
73
73
|
protected input: IgxInputDirective;
|
|
74
|
-
private _destroyRef;
|
|
75
74
|
private _type;
|
|
76
75
|
private _filled;
|
|
77
76
|
private _theme;
|
|
77
|
+
private _theme$;
|
|
78
|
+
private _subscription;
|
|
78
79
|
private _resourceStrings;
|
|
79
80
|
/** @hidden */
|
|
80
81
|
get validClass(): boolean;
|
|
@@ -126,7 +127,7 @@ export declare class IgxInputGroupComponent implements IgxInputGroupBase, AfterV
|
|
|
126
127
|
* }
|
|
127
128
|
*/
|
|
128
129
|
get theme(): IgxTheme;
|
|
129
|
-
constructor(element: ElementRef<HTMLElement>, _inputGroupType: IgxInputGroupType, document: any, platform: PlatformUtil, cdr: ChangeDetectorRef,
|
|
130
|
+
constructor(element: ElementRef<HTMLElement>, _inputGroupType: IgxInputGroupType, document: any, platform: PlatformUtil, cdr: ChangeDetectorRef, themeService: ThemeService);
|
|
130
131
|
/** @hidden */
|
|
131
132
|
onClick(event: MouseEvent): void;
|
|
132
133
|
/** @hidden */
|
|
@@ -252,9 +253,10 @@ export declare class IgxInputGroupComponent implements IgxInputGroupBase, AfterV
|
|
|
252
253
|
get filled(): boolean;
|
|
253
254
|
/** @hidden */
|
|
254
255
|
set filled(val: boolean);
|
|
255
|
-
private setComponentTheme;
|
|
256
256
|
/** @hidden @internal */
|
|
257
|
-
|
|
257
|
+
ngAfterViewChecked(): void;
|
|
258
|
+
/** @hidden @internal */
|
|
259
|
+
ngOnDestroy(): void;
|
|
258
260
|
static ɵfac: i0.ɵɵFactoryDeclaration<IgxInputGroupComponent, [null, { optional: true; }, null, null, null, null]>;
|
|
259
261
|
static ɵcmp: i0.ɵɵComponentDeclaration<IgxInputGroupComponent, "igx-input-group", never, { "resourceStrings": { "alias": "resourceStrings"; "required": false; }; "suppressInputAutofocus": { "alias": "suppressInputAutofocus"; "required": false; }; "type": { "alias": "type"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; }, {}, ["input", "hints", "_prefixes", "_suffixes"], ["igx-hint, [igxHint]", "[igxLabel]", "[igxInput]", "igx-prefix, [igxPrefix]", "igx-suffix, [igxSuffix]"], true, never>;
|
|
260
262
|
static ngAcceptInputType_suppressInputAutofocus: unknown;
|