igniteui-angular 19.2.0-alpha.1 → 19.2.0-beta.0

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.
Files changed (72) hide show
  1. package/fesm2022/igniteui-angular.mjs +2153 -2176
  2. package/fesm2022/igniteui-angular.mjs.map +1 -1
  3. package/lib/calendar/calendar.component.d.ts +2 -2
  4. package/lib/calendar/month-picker/month-picker.component.d.ts +2 -2
  5. package/lib/carousel/carousel-base.d.ts +7 -32
  6. package/lib/carousel/carousel.component.d.ts +3 -25
  7. package/lib/carousel/slide.component.d.ts +3 -3
  8. package/lib/checkbox/checkbox-base.directive.d.ts +3 -4
  9. package/lib/core/styles/components/calendar/_calendar-component.scss +4 -0
  10. package/lib/core/styles/components/calendar/_calendar-theme.scss +31 -60
  11. package/lib/core/styles/components/card/_card-theme.scss +22 -24
  12. package/lib/core/styles/components/chip/_chip-theme.scss +43 -19
  13. package/lib/core/styles/components/grid/_grid-theme.scss +42 -40
  14. package/lib/core/styles/components/input/_input-group-theme.scss +17 -12
  15. package/lib/core/styles/components/progress/circular/_circular-theme.scss +11 -8
  16. package/lib/core/styles/components/query-builder/_query-builder-component.scss +3 -3
  17. package/lib/core/styles/components/query-builder/_query-builder-theme.scss +25 -5
  18. package/lib/core/styles/components/switch/_switch-component.scss +0 -65
  19. package/lib/core/styles/components/switch/_switch-theme.scss +0 -81
  20. package/lib/core/styles/components/tree/_tree-theme.scss +1 -3
  21. package/lib/data-operations/filtering-condition.d.ts +6 -14
  22. package/lib/data-operations/filtering-expression.interface.d.ts +3 -3
  23. package/lib/data-operations/filtering-expressions-tree.d.ts +3 -3
  24. package/lib/directives/button/button.directive.d.ts +3 -5
  25. package/lib/directives/drag-drop/drag-drop.directive.d.ts +1 -0
  26. package/lib/grids/columns/column.component.d.ts +19 -1
  27. package/lib/grids/common/random.d.ts +5 -0
  28. package/lib/grids/grid-base.directive.d.ts +10 -5
  29. package/lib/grids/hierarchical-grid/events.d.ts +1 -0
  30. package/lib/grids/hierarchical-grid/hierarchical-grid-base.directive.d.ts +1 -1
  31. package/lib/grids/pivot-grid/pivot-grid.component.d.ts +2 -1
  32. package/lib/grids/pivot-grid/pivot-header-row.component.d.ts +0 -1
  33. package/lib/grids/toolbar/grid-toolbar-advanced-filtering.component.d.ts +3 -3
  34. package/lib/query-builder/query-builder-drag.service.d.ts +26 -36
  35. package/lib/query-builder/query-builder-tree.component.d.ts +22 -10
  36. package/lib/query-builder/query-builder.common.d.ts +1 -1
  37. package/migrations/migration-collection.json +10 -0
  38. package/migrations/update-19_1_4/changes/theme-changes.json +29 -0
  39. package/migrations/update-19_1_4/index.d.ts +3 -0
  40. package/migrations/update-19_1_4/index.js +18 -0
  41. package/migrations/update-19_2_0/changes/inputs.json +13 -0
  42. package/migrations/update-19_2_0/changes/theme-changes.json +59 -0
  43. package/migrations/update-19_2_0/index.d.ts +3 -0
  44. package/migrations/update-19_2_0/index.js +18 -0
  45. package/package.json +2 -2
  46. package/schematics/tsconfig.tsbuildinfo +1 -1
  47. package/styles/igniteui-angular-dark.css +1 -1
  48. package/styles/igniteui-angular.css +1 -1
  49. package/styles/igniteui-bootstrap-dark.css +1 -1
  50. package/styles/igniteui-bootstrap-light.css +1 -1
  51. package/styles/igniteui-dark-green.css +1 -1
  52. package/styles/igniteui-fluent-dark-excel.css +1 -1
  53. package/styles/igniteui-fluent-dark-word.css +1 -1
  54. package/styles/igniteui-fluent-dark.css +1 -1
  55. package/styles/igniteui-fluent-light-excel.css +1 -1
  56. package/styles/igniteui-fluent-light-word.css +1 -1
  57. package/styles/igniteui-fluent-light.css +1 -1
  58. package/styles/igniteui-indigo-dark.css +1 -1
  59. package/styles/igniteui-indigo-light.css +1 -1
  60. package/styles/maps/igniteui-angular-dark.css.map +1 -1
  61. package/styles/maps/igniteui-angular.css.map +1 -1
  62. package/styles/maps/igniteui-bootstrap-dark.css.map +1 -1
  63. package/styles/maps/igniteui-bootstrap-light.css.map +1 -1
  64. package/styles/maps/igniteui-dark-green.css.map +1 -1
  65. package/styles/maps/igniteui-fluent-dark-excel.css.map +1 -1
  66. package/styles/maps/igniteui-fluent-dark-word.css.map +1 -1
  67. package/styles/maps/igniteui-fluent-dark.css.map +1 -1
  68. package/styles/maps/igniteui-fluent-light-excel.css.map +1 -1
  69. package/styles/maps/igniteui-fluent-light-word.css.map +1 -1
  70. package/styles/maps/igniteui-fluent-light.css.map +1 -1
  71. package/styles/maps/igniteui-indigo-dark.css.map +1 -1
  72. package/styles/maps/igniteui-indigo-light.css.map +1 -1
@@ -39,11 +39,6 @@
39
39
  /// @param {Color} $focus-outline-color-focused [null] - The focus outlined color for focused state.
40
40
  /// @param {Color} $focus-fill-color [null] - The focus fill color.
41
41
  /// @param {Color} $focus-fill-hover-color [null] - The focus fill color on hover.
42
- /// @param {Color} $label-invalid-color [null] - The color of the switch label in invalid state.
43
- /// @param {Color} $track-error-color [null] - The color of the track in invalid state when the switch is off.
44
- /// @param {Color} $thumb-on-error-color [null] - The color of the thumb when the switch is on and invalid.
45
- /// @param {Color} $error-color [null] - The border and fill colors in invalid state.
46
- /// @param {Color} $error-color-hover [null] - The border and fill colors in invalid state on hover.
47
42
  /// @requires $light-material-schema
48
43
  ///
49
44
  /// @example scss Set custom track and thumb on colors
@@ -68,7 +63,6 @@
68
63
  $label-color: null,
69
64
  $label-hover-color: null,
70
65
  $label-disabled-color: null,
71
- $label-invalid-color: null,
72
66
 
73
67
  $resting-shadow: null,
74
68
  $hover-shadow: null,
@@ -86,10 +80,6 @@
86
80
  $focus-outline-color-focused: null,
87
81
  $focus-fill-color: null,
88
82
  $focus-fill-hover-color: null,
89
- $track-error-color: null,
90
- $thumb-on-error-color: null,
91
- $error-color: null,
92
- $error-color-hover: null,
93
83
  ) {
94
84
  $name: 'igx-switch';
95
85
  $switch-schema: ();
@@ -148,7 +138,6 @@
148
138
  label-color: $label-color,
149
139
  label-hover-color: $label-hover-color,
150
140
  label-disabled-color: $label-disabled-color,
151
- label-invalid-color: $label-invalid-color,
152
141
 
153
142
  resting-shadow: $resting-shadow,
154
143
  hover-shadow: $hover-shadow,
@@ -166,10 +155,6 @@
166
155
  focus-outline-color-focused: $focus-outline-color-focused,
167
156
  focus-fill-color: $focus-fill-color,
168
157
  focus-fill-hover-color: $focus-fill-hover-color,
169
- track-error-color: $track-error-color,
170
- thumb-on-error-color: $thumb-on-error-color,
171
- error-color: $error-color,
172
- error-color-hover: $error-color-hover,
173
158
  theme: map.get($schema, '_meta', 'theme'),
174
159
  _meta: map.merge(if($meta, $meta, ()), (
175
160
  variant: map.get($schema, '_meta', 'theme'),
@@ -316,25 +301,6 @@
316
301
  }
317
302
  }
318
303
 
319
- %switch-composite--invalid {
320
- border-color: var-get($theme, 'error-color');
321
-
322
- @if $variant == 'material' {
323
- border-color: var-get($theme, 'track-error-color');
324
- background: var-get($theme, 'track-error-color');
325
- }
326
- }
327
-
328
- %switch-composite--invalid--hover {
329
- @if $variant == 'fluent' {
330
- border-color: var-get($theme, 'error-color-hover');
331
-
332
- %switch-thumb {
333
- background: var-get($theme, 'error-color-hover');
334
- }
335
- }
336
- }
337
-
338
304
  %switch-composite--x {
339
305
  background: var-get($theme, 'track-on-color');
340
306
  border-color: var-get($theme, 'border-on-color');
@@ -403,14 +369,6 @@
403
369
  background: var-get($theme, 'thumb-on-color');
404
370
  }
405
371
 
406
- %switch-thumb--invalid {
407
- background: var-get($theme, 'error-color');
408
- }
409
-
410
- %switch-thumb--x--invalid {
411
- background: var-get($theme, 'thumb-on-error-color');
412
- }
413
-
414
372
  %switch-thumb--disabled {
415
373
  background: var-get($theme, 'thumb-disabled-color');
416
374
  box-shadow: $thumb-disabled-shadow;
@@ -477,25 +435,6 @@
477
435
  }
478
436
  }
479
437
 
480
- %igx-switch--focused--invalid {
481
- @if $variant == 'bootstrap' {
482
- %switch-composite {
483
- border-color: var-get($theme, 'error-color');
484
- box-shadow: 0 0 0 rem(4px) var-get($theme, 'error-color-hover');
485
- }
486
-
487
- %switch-thumb {
488
- background: var-get($theme, 'error-color');
489
- }
490
- }
491
-
492
- @if $variant == 'indigo' {
493
- %switch-composite {
494
- box-shadow: 0 0 0 rem(3px) var-get($theme, 'error-color-hover');
495
- }
496
- }
497
- }
498
-
499
438
  %igx-switch--focused-checked {
500
439
  @if $variant == 'bootstrap' {
501
440
  %switch-composite {
@@ -550,10 +489,6 @@
550
489
  background: var-get($theme, 'thumb-on-color');
551
490
  }
552
491
 
553
- %switch-ripple--focused-invalid {
554
- background: var-get($theme, 'error-color-hover');
555
- }
556
-
557
492
  %switch-label {
558
493
  display: inline-block;
559
494
  color: var-get($theme, 'label-color');
@@ -585,10 +520,6 @@
585
520
  color: var-get($theme, 'label-hover-color');
586
521
  }
587
522
 
588
- %switch-label--invalid {
589
- color: var-get($theme, 'label-invalid-color');
590
- }
591
-
592
523
  %switch-label--disabled {
593
524
  color: var-get($theme, 'label-disabled-color');
594
525
  }
@@ -618,18 +549,6 @@
618
549
  }
619
550
  }
620
551
 
621
- %switch-ripple--hover-invalid {
622
- &::after {
623
- background: var-get($theme, 'error-color-hover');
624
- }
625
- }
626
-
627
- %switch-ripple--hover-checked-invalid {
628
- &::after {
629
- background: var-get($theme, 'thumb-on-color');
630
- }
631
- }
632
-
633
552
  %switch-ripple--pressed {
634
553
  &::after {
635
554
  opacity: .12;
@@ -288,9 +288,7 @@
288
288
  }
289
289
 
290
290
  igx-circular-bar {
291
- --circular-bar: #{sizable(#{map.get($circular-bar-size, 'compact')}, #{map.get($circular-bar-size, 'cosy')}, #{map.get($circular-bar-size, 'comfortable')})};
292
- width: var(--circular-bar);
293
- height: var(--circular-bar);
291
+ --diameter: #{sizable(#{map.get($circular-bar-size, 'compact')}, #{map.get($circular-bar-size, 'cosy')}, #{map.get($circular-bar-size, 'comfortable')})};
294
292
  }
295
293
  }
296
294
 
@@ -15,6 +15,7 @@ export declare class IgxFilteringOperand {
15
15
  conditionList(): string[];
16
16
  /**
17
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
+ * @hidden @internal
18
19
  */
19
20
  extendedConditionList(): string[];
20
21
  /**
@@ -29,10 +30,7 @@ export declare class IgxFilteringOperand {
29
30
  * @param operation The filtering operation.
30
31
  */
31
32
  append(operation: IFilteringOperation): void;
32
- /**
33
- * @hidden
34
- */
35
- findValueInSet(target: any, searchVal: Set<any>): boolean;
33
+ protected findValueInSet(target: any, searchVal: Set<any>): boolean;
36
34
  }
37
35
  /**
38
36
  * Provides filtering operations for booleans
@@ -54,10 +52,7 @@ declare class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
54
52
  * @memberof IgxDateFilteringOperand
55
53
  */
56
54
  static getDateParts(date: Date, dateFormat?: string): IDateParts;
57
- /**
58
- * @hidden
59
- */
60
- findValueInSet(target: any, searchVal: Set<any>): boolean;
55
+ protected findValueInSet(target: any, searchVal: Set<any>): boolean;
61
56
  protected validateInputData(target: Date): void;
62
57
  }
63
58
  /**
@@ -67,17 +62,14 @@ declare class IgxBaseDateTimeFilteringOperand extends IgxFilteringOperand {
67
62
  */
68
63
  export declare class IgxDateFilteringOperand extends IgxBaseDateTimeFilteringOperand {
69
64
  protected constructor();
70
- findValueInSet(target: any, searchVal: Set<any>): boolean;
65
+ protected findValueInSet(target: any, searchVal: Set<any>): boolean;
71
66
  }
72
67
  export declare class IgxDateTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
73
68
  protected constructor();
74
69
  }
75
70
  export declare class IgxTimeFilteringOperand extends IgxBaseDateTimeFilteringOperand {
76
71
  protected constructor();
77
- /**
78
- * @hidden
79
- */
80
- findValueInSet(target: any, searchVal: Set<any>): boolean;
72
+ protected findValueInSet(target: any, searchVal: Set<any>): boolean;
81
73
  }
82
74
  /**
83
75
  * Provides filtering operations for numbers
@@ -112,7 +104,7 @@ export interface IFilteringOperation {
112
104
  isNestedQuery?: boolean;
113
105
  iconName: string;
114
106
  hidden?: boolean;
115
- logic: (value: any, searchVal?: any, ignoreCase?: boolean) => boolean;
107
+ logic?: null | ((value: any, searchVal?: any, ignoreCase?: boolean) => boolean);
116
108
  }
117
109
  /**
118
110
  * Interface describing Date object in parts
@@ -9,9 +9,9 @@ export declare enum FilteringLogic {
9
9
  */
10
10
  export declare interface IFilteringExpression {
11
11
  fieldName: string;
12
- condition?: IFilteringOperation;
13
- conditionName?: string;
12
+ condition?: IFilteringOperation | null;
13
+ conditionName?: string | null;
14
14
  searchVal?: any;
15
- searchTree?: IExpressionTree;
15
+ searchTree?: IExpressionTree | null;
16
16
  ignoreCase?: boolean;
17
17
  }
@@ -7,9 +7,9 @@ export declare enum FilteringExpressionsTreeType {
7
7
  export declare interface IExpressionTree {
8
8
  filteringOperands: (IExpressionTree | IFilteringExpression)[];
9
9
  operator: FilteringLogic;
10
- fieldName?: string;
11
- entity?: string;
12
- returnFields?: string[];
10
+ fieldName?: string | null;
11
+ entity?: string | null;
12
+ returnFields?: string[] | null;
13
13
  }
14
14
  export declare interface IFilteringExpressionsTree extends IBaseEventArgs, IExpressionTree {
15
15
  filteringOperands: (IFilteringExpressionsTree | IFilteringExpression)[];
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, Renderer2, AfterContentInit, OnDestroy } from '@angular/core';
1
+ import { ElementRef, EventEmitter, Renderer2 } from '@angular/core';
2
2
  import { IBaseEventArgs } from '../../core/utils';
3
3
  import { IgxButtonBaseDirective } from './button-base';
4
4
  import * as i0 from "@angular/core";
@@ -31,7 +31,7 @@ export type IgxButtonType = typeof IgxButtonType[keyof typeof IgxButtonType];
31
31
  * <button type="button" igxButton="outlined">A Button</button>
32
32
  * ```
33
33
  */
34
- export declare class IgxButtonDirective extends IgxButtonBaseDirective implements AfterContentInit, OnDestroy {
34
+ export declare class IgxButtonDirective extends IgxButtonBaseDirective {
35
35
  element: ElementRef;
36
36
  private _renderer;
37
37
  private static ngAcceptInputType_type;
@@ -69,7 +69,7 @@ export declare class IgxButtonDirective extends IgxButtonBaseDirective implement
69
69
  * @internal
70
70
  */
71
71
  private _selected;
72
- private emitSelected;
72
+ protected emitSelected(): void;
73
73
  /**
74
74
  * Gets or sets whether the button is selected.
75
75
  * Mainly used in the IgxButtonGroup component and it will have no effect if set separately.
@@ -82,8 +82,6 @@ export declare class IgxButtonDirective extends IgxButtonBaseDirective implement
82
82
  set selected(value: boolean);
83
83
  get selected(): boolean;
84
84
  constructor(element: ElementRef, _renderer: Renderer2);
85
- ngAfterContentInit(): void;
86
- ngOnDestroy(): void;
87
85
  /**
88
86
  * Sets the type of the button.
89
87
  *
@@ -564,6 +564,7 @@ export declare class IgxDragDirective implements AfterContentInit, OnDestroy {
564
564
  * @hidden
565
565
  */
566
566
  onTransitionEnd(event: any): void;
567
+ protected detachGhost(): void;
567
568
  protected clearGhost(): void;
568
569
  /**
569
570
  * @hidden
@@ -307,7 +307,8 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
307
307
  *
308
308
  * @memberof IgxColumnComponent
309
309
  */
310
- maxWidth: string;
310
+ set maxWidth(value: string);
311
+ get maxWidth(): string;
311
312
  /**
312
313
  * Sets/gets the class selector of the column header.
313
314
  * ```typescript
@@ -631,6 +632,10 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
631
632
  * @hidden
632
633
  */
633
634
  get minWidthPx(): number;
635
+ /**
636
+ * @hidden
637
+ */
638
+ get userSetMinWidthPx(): number;
634
639
  /**
635
640
  * @hidden
636
641
  */
@@ -1120,6 +1125,10 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
1120
1125
  * @hidden
1121
1126
  */
1122
1127
  destroy$: Subject<any>;
1128
+ /**
1129
+ * @hidden
1130
+ */
1131
+ widthConstrained: boolean;
1123
1132
  /**
1124
1133
  * @hidden
1125
1134
  */
@@ -1193,6 +1202,10 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
1193
1202
  * @hidden
1194
1203
  */
1195
1204
  protected _defaultMinWidth: string;
1205
+ /**
1206
+ * @hidden
1207
+ */
1208
+ protected _maxWidth: any;
1196
1209
  /**
1197
1210
  * @hidden
1198
1211
  */
@@ -1373,6 +1386,11 @@ export declare class IgxColumnComponent implements AfterContentInit, OnDestroy,
1373
1386
  */
1374
1387
  populateVisibleIndexes(): void;
1375
1388
  protected getColumnSizesString(children: QueryList<IgxColumnComponent>): string;
1389
+ /**
1390
+ * @hidden
1391
+ * @internal
1392
+ */
1393
+ getConstrainedSizePx(newSize: any): any;
1376
1394
  /**
1377
1395
  * @hidden
1378
1396
  * @internal
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Use the function to get a random UUID string when secure context is not guaranteed making crypto.randomUUID unavailable.
3
+ * @returns A random UUID string.
4
+ */
5
+ export declare function getUUID(): `${string}-${string}-${string}-${string}-${string}`;
@@ -1,4 +1,4 @@
1
- import { AfterContentInit, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, EnvironmentInjector, EventEmitter, Injector, IterableDiffers, NgZone, OnDestroy, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ComponentRef, DoCheck, ElementRef, EnvironmentInjector, EventEmitter, Injector, IterableDiffers, NgZone, OnDestroy, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { Subject } from 'rxjs';
3
3
  import { PlatformUtil } from '../core/utils';
4
4
  import { FilteringLogic } from '../data-operations/filtering-expression.interface';
@@ -123,7 +123,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
123
123
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [emptyGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
124
124
  * ```
125
125
  */
126
- emptyGridTemplate: TemplateRef<void>;
126
+ emptyGridTemplate: TemplateRef<IgxGridTemplateContext>;
127
127
  /**
128
128
  * Gets/Sets a custom template for adding row UI when grid is empty.
129
129
  *
@@ -141,7 +141,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
141
141
  * <igx-grid [id]="'igx-grid-1'" [data]="Data" [loadingGridTemplate]="myTemplate" [autoGenerate]="true"></igx-grid>
142
142
  * ```
143
143
  */
144
- loadingGridTemplate: TemplateRef<void>;
144
+ loadingGridTemplate: TemplateRef<IgxGridTemplateContext>;
145
145
  /**
146
146
  * Get/Set IgxSummaryRow height
147
147
  */
@@ -1929,6 +1929,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
1929
1929
  protected _sortingOptions: ISortingOptions;
1930
1930
  protected _filterStrategy: IFilteringStrategy;
1931
1931
  protected _autoGeneratedCols: any[];
1932
+ protected _autoGeneratedColsRefs: ComponentRef<IgxColumnComponent>[];
1932
1933
  protected _dataView: any[];
1933
1934
  protected _lastSearchInfo: ISearchInfo;
1934
1935
  protected gridComputedStyles: any;
@@ -2054,6 +2055,10 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
2054
2055
  * @hidden @internal
2055
2056
  */
2056
2057
  private get hasZeroResultFilter();
2058
+ protected get totalCalcWidth(): number;
2059
+ protected get renderData(): any[];
2060
+ protected displayStyle: string;
2061
+ protected templateRows: string;
2057
2062
  /**
2058
2063
  * @hidden @internal
2059
2064
  */
@@ -3185,7 +3190,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
3185
3190
  /**
3186
3191
  * @hidden @internal
3187
3192
  */
3188
- trackColumnChanges(index: any, col: any): any;
3193
+ trackColumnChanges(_index: any, col: any): any;
3189
3194
  /**
3190
3195
  * @hidden
3191
3196
  */
@@ -3244,7 +3249,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
3244
3249
  /**
3245
3250
  * @hidden
3246
3251
  */
3247
- rowEditingWheelHandler(event: WheelEvent): void;
3252
+ rowEditingWheelHandler: (event: WheelEvent) => void;
3248
3253
  /**
3249
3254
  * @hidden
3250
3255
  */
@@ -5,4 +5,5 @@ export interface IGridCreatedEventArgs extends IBaseEventArgs {
5
5
  owner: IgxRowIslandComponent;
6
6
  parentID: any;
7
7
  grid: IgxHierarchicalGridComponent;
8
+ parentRowData?: any;
8
9
  }
@@ -26,6 +26,7 @@ export declare const IgxHierarchicalTransactionServiceFactory: {
26
26
  };
27
27
  export declare abstract class IgxHierarchicalGridBaseDirective extends IgxGridBaseDirective implements GridType {
28
28
  gridAPI: IgxHierarchicalGridAPIService;
29
+ navigation: IgxHierarchicalGridNavigationService;
29
30
  /**
30
31
  * Gets/Sets the key indicating whether a row has children. If row has no children it does not render an expand indicator.
31
32
  *
@@ -86,7 +87,6 @@ export declare abstract class IgxHierarchicalGridBaseDirective extends IgxGridBa
86
87
  abstract rootGrid: GridType;
87
88
  abstract expandChildren: boolean;
88
89
  constructor(validationService: IgxGridValidationService, selectionService: IgxGridSelectionService, colResizingService: IgxColumnResizingService, gridAPI: IgxHierarchicalGridAPIService, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, differs: IterableDiffers, viewRef: ViewContainerRef, injector: Injector, envInjector: EnvironmentInjector, navigation: IgxHierarchicalGridNavigationService, filteringService: IgxFilteringService, textHighlightService: IgxTextHighlightService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, localeId: string, platform: PlatformUtil, _diTransactions?: TransactionService<Transaction, State>);
89
- navigation: IgxHierarchicalGridNavigationService;
90
90
  /**
91
91
  * @hidden
92
92
  */
@@ -50,6 +50,7 @@ import * as i0 from "@angular/core";
50
50
  * ```
51
51
  */
52
52
  export declare class IgxPivotGridComponent extends IgxGridBaseDirective implements OnInit, AfterContentInit, GridType, AfterViewInit, OnChanges {
53
+ navigation: IgxPivotGridNavigationService;
53
54
  /**
54
55
  * Emitted when the dimension collection is changed via the grid chip area.
55
56
  *
@@ -513,7 +514,6 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
513
514
  set batchEditing(_val: boolean);
514
515
  get selectedRows(): any[];
515
516
  constructor(validationService: IgxGridValidationService, selectionService: IgxGridSelectionService, colResizingService: IgxPivotColumnResizingService, gridAPI: GridBaseAPIService<IgxGridBaseDirective & GridType>, transactionFactory: IgxFlatTransactionFactory, elementRef: ElementRef<HTMLElement>, zone: NgZone, document: any, cdr: ChangeDetectorRef, differs: IterableDiffers, viewRef: ViewContainerRef, injector: Injector, envInjector: EnvironmentInjector, navigation: IgxPivotGridNavigationService, filteringService: IgxFilteringService, textHighlightService: IgxTextHighlightService, overlayService: IgxOverlayService, summaryService: IgxGridSummaryService, localeId: string, platform: PlatformUtil, _diTransactions?: TransactionService<Transaction, State>);
516
- navigation: IgxPivotGridNavigationService;
517
517
  /**
518
518
  * @hidden
519
519
  */
@@ -545,6 +545,7 @@ export declare class IgxPivotGridComponent extends IgxGridBaseDirective implemen
545
545
  get allDimensions(): IPivotDimension[];
546
546
  protected get allVisibleDimensions(): IPivotDimension[];
547
547
  protected get shouldResize(): boolean;
548
+ protected get emptyBottomSize(): number;
548
549
  /** @hidden @internal */
549
550
  createFilterESF(dropdown: any, column: ColumnType, options: OverlaySettings, shouldReatach: boolean): {
550
551
  id: any;
@@ -25,7 +25,6 @@ export declare class IgxPivotHeaderRowComponent extends IgxGridHeaderRowComponen
25
25
  filterDropdownDimensions: Set<any>;
26
26
  filterAreaDimensions: Set<any>;
27
27
  private _dropPos;
28
- private valueData;
29
28
  private _subMenuPositionSettings;
30
29
  private _subMenuOverlaySettings;
31
30
  /**
@@ -1,4 +1,4 @@
1
- import { AfterViewInit } from '@angular/core';
1
+ import { OnInit } from '@angular/core';
2
2
  import { IgxToolbarToken } from './token';
3
3
  import { OverlaySettings } from '../../services/overlay/utilities';
4
4
  import { IFilteringExpressionsTree } from '../../data-operations/filtering-expressions-tree';
@@ -16,7 +16,7 @@ import * as i0 from "@angular/core";
16
16
  * <igx-grid-toolbar-advanced-filtering>Custom text</igx-grid-toolbar-advanced-filtering>
17
17
  * ```
18
18
  */
19
- export declare class IgxGridToolbarAdvancedFilteringComponent implements AfterViewInit {
19
+ export declare class IgxGridToolbarAdvancedFilteringComponent implements OnInit {
20
20
  private toolbar;
21
21
  protected numberOfColumns: number;
22
22
  /**
@@ -29,7 +29,7 @@ export declare class IgxGridToolbarAdvancedFilteringComponent implements AfterVi
29
29
  /**
30
30
  * @hidden
31
31
  */
32
- ngAfterViewInit(): void;
32
+ ngOnInit(): void;
33
33
  protected extractUniqueFieldNamesFromFilterTree(filteringTree?: IFilteringExpressionsTree): string[];
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridToolbarAdvancedFilteringComponent, never>;
35
35
  static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridToolbarAdvancedFilteringComponent, "igx-grid-toolbar-advanced-filtering", never, { "overlaySettings": { "alias": "overlaySettings"; "required": false; }; }, {}, never, ["*"], true, never>;
@@ -4,32 +4,29 @@ import { ExpressionGroupItem, ExpressionItem } from './query-builder.common';
4
4
  import * as i0 from "@angular/core";
5
5
  /** @hidden @internal */
6
6
  export declare class IgxQueryBuilderDragService {
7
+ /** The ExpressionItem that's actually the drop ghost's content */
8
+ dropGhostExpression: ExpressionItem;
9
+ isKeyboardDrag: boolean;
7
10
  private _queryBuilderTreeComponent;
8
11
  private _queryBuilderTreeComponentElRef;
9
- private _queryBuilderTreeComponentDeleteItem;
10
- private _queryBuilderFocusChipAfterDrag;
11
- constructor(_queryBuilderTreeComponent: IgxQueryBuilderTreeComponent, _queryBuilderTreeComponentElRef: ElementRef, _queryBuilderTreeComponentDeleteItem: (expressionItem: ExpressionItem) => void, _queryBuilderFocusChipAfterDrag: (index: number) => void);
12
- dropGhostChipNode: Node;
13
- private sourceExpressionItem;
14
- private sourceElement;
15
- private targetExpressionItem;
16
- private targetElement;
17
- private dropUnder;
12
+ private _sourceExpressionItem;
13
+ private _sourceElement;
14
+ private _targetExpressionItem;
15
+ private _dropUnder;
18
16
  private _ghostChipMousemoveSubscription$;
19
17
  private _keyboardSubscription$;
20
- private _keyDragOffsetIndex;
21
- private _keyDragFirstMove;
22
- private _isKeyboardDrag;
23
- /** stores a flat ordered list of all chips, including +Condition button, while performing the keyboard drag&drop */
24
- private _dropZonesList;
25
- /** stores a flat ordered list of all expressions, including +Condition button, while performing the keyboard drag&drop */
26
- private _expressionsList;
18
+ private _keyDragCurrentIndex;
19
+ private _keyDragInitialIndex;
20
+ private _isKeyDragsFirstMove;
21
+ /** Stores a flat ordered list of possible drop locations as Tuple <[targetExpression, dropUnder]>, while performing the keyboard drag&drop */
22
+ private _possibleDropLocations;
27
23
  private _timeoutId;
28
24
  /** Get the dragged ghost as a HTMLElement*/
29
- private get dragGhostElement();
30
- /** Get the drop ghost as a HTMLElement*/
31
- private get dropGhostElement();
32
- private get mainExpressionTree();
25
+ private get getDragGhostElement();
26
+ /** Get the drop ghost chip component */
27
+ private get getDropGhostElement();
28
+ private get getMainExpressionTree();
29
+ register(tree: IgxQueryBuilderTreeComponent, el: ElementRef): void;
33
30
  /** When chip is picked up for dragging
34
31
  *
35
32
  * @param sourceDragElement The HTML element of the chip that's been dragged
@@ -87,30 +84,23 @@ export declare class IgxQueryBuilderDragService {
87
84
  private dragGhostIsOnDropGhostRow;
88
85
  /** Checks if the dragged ghost is north or south of a target element's center*/
89
86
  private ghostInLowerPart;
90
- /** Create the drop ghost node based on the base chip that's been dragged*/
91
- private createDropGhost;
92
- /** Make a copy of the drag chip and place it in the DOM north or south of the drop chip*/
87
+ /** Make a copy of the _sourceExpressionItem's chip and paste it in the tree north or south of the _targetExpressionItem's chip */
93
88
  private renderDropGhostChip;
94
89
  /** Set the cursor when dragging a ghost*/
95
90
  private setDragCursor;
96
- /** Execute the drop*/
97
- private moveDraggedChipToNewLocation;
91
+ /** Removes the drop ghost expression from the tree and it's chip effectively */
92
+ private clearDropGhost;
98
93
  /** Reset Drag&Drop vars. Optionally the drag source vars too*/
99
94
  private resetDragAndDrop;
95
+ /** Start listening for drag and drop specific keys */
100
96
  private listenToKeyboard;
101
97
  /** Perform up/down movement of drop ghost along the expression tree*/
102
98
  private arrowDrag;
103
- /** Get previous chip area taking into account a possible hidden sub-tree or collapsed base chip*/
104
- private getPreviousChip;
105
- /** Get next chip area taking into account a possible hidden sub-tree or collapsed base chip*/
106
- private getNextChip;
107
- /** Get all expressions from the tree flatten out as a list, including the expression groups*/
108
- private getListedExpressions;
109
- /** Gets all chip elements owned by this tree (discard child trees), AND/OR group roots and '+condition' button, flatten out as a list of HTML elements*/
110
- private getListedDropZones;
111
- /** Determine which chip to be focused after successful drop is completed*/
112
- private calculateDropLocationIndex;
113
- /** Sets the z-index of the drag ghost with a little delay, since we don't have access to ghostCreated() but we know it's executed right after moveStart()*/
99
+ /** Produces a flat ordered list of possible drop locations as Tuple <[targetExpression, dropUnder]>, while performing the keyboard drag&drop */
100
+ private getPossibleDropLocations;
101
+ /** Counts how many chips will be in the tree (from top to bottom) before the dropped one */
102
+ private countChipsBeforeDropLocation;
103
+ /** Sets the z-index of the drag ghost with a little delay, since we don't have access to ghostCreated() but we know it's executed right after moveStart() */
114
104
  private setDragGhostZIndex;
115
105
  static ɵfac: i0.ɵɵFactoryDeclaration<IgxQueryBuilderDragService, never>;
116
106
  static ɵprov: i0.ɵɵInjectableDeclaration<IgxQueryBuilderDragService>;