igniteui-angular 19.0.4 → 19.0.6
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 +72 -42
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/carousel/carousel-base.d.ts +31 -2
- package/lib/carousel/carousel.component.d.ts +2 -2
- package/lib/carousel/slide.component.d.ts +2 -3
- package/lib/core/styles/components/checkbox/_checkbox-component.scss +8 -4
- package/lib/core/styles/components/checkbox/_checkbox-theme.scss +8 -3
- package/lib/core/styles/components/chip/_chip-theme.scss +1 -1
- package/lib/core/styles/components/combo/_combo-theme.scss +2 -2
- package/lib/core/styles/components/grid/_excel-filtering-theme.scss +3 -7
- package/lib/core/styles/components/grid/_grid-theme.scss +19 -15
- package/lib/core/styles/components/radio/_radio-theme.scss +0 -2
- package/lib/core/styles/components/switch/_switch-theme.scss +0 -2
- package/lib/grids/common/grid.interface.d.ts +4 -0
- package/lib/grids/filtering/excel-style/excel-style-custom-dialog.component.d.ts +4 -1
- package/lib/grids/grid-base.directive.d.ts +5 -2
- package/lib/grids/pivot-grid/pivot-grid.component.d.ts +1 -1
- package/lib/grids/resizing/resizer.directive.d.ts +2 -0
- package/lib/grids/resizing/resizing.service.d.ts +2 -2
- package/package.json +1 -1
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnimationReferenceMetadata } from '@angular/animations';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, InjectionToken } from '@angular/core';
|
|
3
3
|
import { AnimationPlayer, AnimationService } from '../services/animation/animation';
|
|
4
|
-
import { CarouselAnimationType } from './enums';
|
|
4
|
+
import { CarouselAnimationType, CarouselIndicatorsOrientation } from './enums';
|
|
5
5
|
export declare enum Direction {
|
|
6
6
|
NONE = 0,
|
|
7
7
|
NEXT = 1,
|
|
@@ -11,6 +11,35 @@ export interface CarouselAnimationSettings {
|
|
|
11
11
|
enterAnimation: AnimationReferenceMetadata;
|
|
12
12
|
leaveAnimation: AnimationReferenceMetadata;
|
|
13
13
|
}
|
|
14
|
+
export interface ICarouselComponentBase {
|
|
15
|
+
id: string;
|
|
16
|
+
role: string;
|
|
17
|
+
cssClass: string;
|
|
18
|
+
loop: boolean;
|
|
19
|
+
pause: boolean;
|
|
20
|
+
navigation: boolean;
|
|
21
|
+
indicators: boolean;
|
|
22
|
+
vertical: boolean;
|
|
23
|
+
keyboardSupport: boolean;
|
|
24
|
+
gesturesSupport: boolean;
|
|
25
|
+
maximumIndicatorsCount: number;
|
|
26
|
+
indicatorsOrientation: CarouselIndicatorsOrientation;
|
|
27
|
+
animationType: CarouselAnimationType;
|
|
28
|
+
total: number;
|
|
29
|
+
current: number;
|
|
30
|
+
interval: number;
|
|
31
|
+
slideChanged: EventEmitter<any>;
|
|
32
|
+
slideAdded: EventEmitter<any>;
|
|
33
|
+
slideRemoved: EventEmitter<any>;
|
|
34
|
+
carouselPaused: EventEmitter<any>;
|
|
35
|
+
carouselPlaying: EventEmitter<any>;
|
|
36
|
+
next(): void;
|
|
37
|
+
prev(): void;
|
|
38
|
+
play(): void;
|
|
39
|
+
stop(): void;
|
|
40
|
+
}
|
|
41
|
+
/** @hidden */
|
|
42
|
+
export declare const IGX_CAROUSEL_COMPONENT: InjectionToken<ICarouselComponentBase>;
|
|
14
43
|
/** @hidden */
|
|
15
44
|
export interface IgxSlideComponentBase {
|
|
16
45
|
direction: Direction;
|
|
@@ -3,7 +3,7 @@ import { HammerGestureConfig } from '@angular/platform-browser';
|
|
|
3
3
|
import { ICarouselResourceStrings } from '../core/i18n/carousel-resources';
|
|
4
4
|
import { IBaseEventArgs, PlatformUtil } from '../core/utils';
|
|
5
5
|
import { AnimationService } from '../services/animation/animation';
|
|
6
|
-
import { Direction, IgxCarouselComponentBase } from './carousel-base';
|
|
6
|
+
import { Direction, ICarouselComponentBase, IgxCarouselComponentBase } from './carousel-base';
|
|
7
7
|
import { IgxSlideComponent } from './slide.component';
|
|
8
8
|
import { CarouselAnimationType, CarouselIndicatorsOrientation } from './enums';
|
|
9
9
|
import { IgxDirectionality } from '../services/direction/directionality';
|
|
@@ -38,7 +38,7 @@ export declare class CarouselHammerConfig extends HammerGestureConfig {
|
|
|
38
38
|
* </igx-carousel>
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare class IgxCarouselComponent extends IgxCarouselComponentBase implements OnDestroy, AfterContentInit {
|
|
41
|
+
export declare class IgxCarouselComponent extends IgxCarouselComponentBase implements ICarouselComponentBase, OnDestroy, AfterContentInit {
|
|
42
42
|
private element;
|
|
43
43
|
private iterableDiffers;
|
|
44
44
|
private platformUtil;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, EventEmitter, ElementRef, AfterContentChecked } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { Direction, IgxSlideComponentBase } from './carousel-base';
|
|
4
|
-
import { IgxCarouselComponent } from './carousel.component';
|
|
3
|
+
import { Direction, ICarouselComponentBase, IgxSlideComponentBase } from './carousel-base';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
/**
|
|
7
6
|
* A slide component that usually holds an image and/or a caption text.
|
|
@@ -98,7 +97,7 @@ export declare class IgxSlideComponent implements AfterContentChecked, OnDestroy
|
|
|
98
97
|
activeChange: EventEmitter<boolean>;
|
|
99
98
|
private _active;
|
|
100
99
|
private _destroy$;
|
|
101
|
-
constructor(elementRef: ElementRef, carousel:
|
|
100
|
+
constructor(elementRef: ElementRef, carousel: ICarouselComponentBase);
|
|
102
101
|
/**
|
|
103
102
|
* Returns a reference to the carousel element in the DOM.
|
|
104
103
|
* ```typescript
|
|
@@ -232,10 +232,6 @@
|
|
|
232
232
|
@extend %igx-checkbox--indeterminate-fluent !optional;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
@include mx(material, indeterminate) {
|
|
236
|
-
@extend %igx-checkbox--indeterminate-material !optional;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
235
|
@include mx(invalid, indeterminate) {
|
|
240
236
|
@extend %igx-checkbox--indeterminate--invalid !optional;
|
|
241
237
|
|
|
@@ -246,6 +242,14 @@
|
|
|
246
242
|
}
|
|
247
243
|
}
|
|
248
244
|
|
|
245
|
+
@include mx(material, disabled, indeterminate) {
|
|
246
|
+
@extend %igx-checkbox--disabled-indeterminate-material !optional;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@include mx(fluent, disabled, indeterminate) {
|
|
250
|
+
@extend %igx-checkbox--disabled-indeterminate-fluent !optional;
|
|
251
|
+
}
|
|
252
|
+
|
|
249
253
|
@include mx(indigo, focused, indeterminate) {
|
|
250
254
|
@extend %igx-checkbox--focused-checked-indigo !optional;
|
|
251
255
|
}
|
|
@@ -172,6 +172,7 @@
|
|
|
172
172
|
flex-flow: row nowrap;
|
|
173
173
|
align-items: center;
|
|
174
174
|
outline-style: none;
|
|
175
|
+
cursor: pointer;
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
%cbx-display--disabled {
|
|
@@ -208,7 +209,6 @@
|
|
|
208
209
|
%cbx-composite {
|
|
209
210
|
position: relative;
|
|
210
211
|
display: inline-block;
|
|
211
|
-
cursor: pointer;
|
|
212
212
|
width: $size;
|
|
213
213
|
height: $size;
|
|
214
214
|
min-width: $size;
|
|
@@ -377,6 +377,12 @@
|
|
|
377
377
|
z-index: 1;
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
%igx-checkbox--disabled-indeterminate-fluent {
|
|
383
|
+
%cbx-composite-mark {
|
|
384
|
+
stroke: transparent;
|
|
385
|
+
}
|
|
380
386
|
|
|
381
387
|
%cbx-composite--x--disabled {
|
|
382
388
|
background: transparent;
|
|
@@ -387,7 +393,7 @@
|
|
|
387
393
|
}
|
|
388
394
|
}
|
|
389
395
|
|
|
390
|
-
%igx-checkbox--indeterminate-material {
|
|
396
|
+
%igx-checkbox--disabled-indeterminate-material {
|
|
391
397
|
%cbx-composite--x--disabled {
|
|
392
398
|
border-color: var-get($theme, 'disabled-indeterminate-color');
|
|
393
399
|
background: var-get($theme, 'disabled-indeterminate-color');
|
|
@@ -476,7 +482,6 @@
|
|
|
476
482
|
%cbx-label {
|
|
477
483
|
display: inline-block;
|
|
478
484
|
color: var-get($theme, 'label-color');
|
|
479
|
-
cursor: pointer;
|
|
480
485
|
user-select: none;
|
|
481
486
|
word-wrap: break-all;
|
|
482
487
|
transition: color .2s $ease-out-quad;
|
|
@@ -174,14 +174,14 @@
|
|
|
174
174
|
// The wrapping element here is needed
|
|
175
175
|
// in order to override the !important rule of .igx-icon--inactive.
|
|
176
176
|
%igx-combo__case-icon {
|
|
177
|
-
|
|
177
|
+
igx-icon {
|
|
178
178
|
// Important is needed since the .igx-icon--inactive has !important
|
|
179
179
|
color: color($color: 'gray', $variant: 600) !important;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
%igx-combo__case-icon--active {
|
|
184
|
-
|
|
184
|
+
igx-icon {
|
|
185
185
|
color: color($color: 'primary')
|
|
186
186
|
}
|
|
187
187
|
}
|
|
@@ -99,13 +99,9 @@
|
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
--
|
|
105
|
-
} @else {
|
|
106
|
-
width: var(--igx-icon-size, #{rem(15px)});
|
|
107
|
-
height: var(--igx-icon-size, #{rem(15px)});
|
|
108
|
-
font-size: var(--igx-icon-size, #{rem(15px)});
|
|
102
|
+
@if $variant != 'indigo' {
|
|
103
|
+
igx-icon {
|
|
104
|
+
--size: var(--igx-icon-size, #{rem(15px)});
|
|
109
105
|
}
|
|
110
106
|
}
|
|
111
107
|
}
|
|
@@ -1206,7 +1206,7 @@
|
|
|
1206
1206
|
} @else {
|
|
1207
1207
|
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
|
|
1208
1208
|
|
|
1209
|
-
|
|
1209
|
+
igx-icon {
|
|
1210
1210
|
opacity: if($theme-variant == 'light', .75, .85);
|
|
1211
1211
|
|
|
1212
1212
|
&:hover {
|
|
@@ -1460,12 +1460,12 @@
|
|
|
1460
1460
|
} @else {
|
|
1461
1461
|
padding-inline: pad-inline(rem(8px), rem(12px), rem(16px));
|
|
1462
1462
|
|
|
1463
|
-
|
|
1463
|
+
igx-icon {
|
|
1464
1464
|
opacity: if($theme-variant == 'light', .75, .85);
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
1467
|
&:hover {
|
|
1468
|
-
|
|
1468
|
+
igx-icon {
|
|
1469
1469
|
opacity: 1;
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
@@ -2037,13 +2037,10 @@
|
|
|
2037
2037
|
position: relative;
|
|
2038
2038
|
display: flex;
|
|
2039
2039
|
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
width: var(--igx-icon-size, #{rem(15px)});
|
|
2045
|
-
height: var(--igx-icon-size, #{rem(15px)});
|
|
2046
|
-
font-size: var(--igx-icon-size, #{rem(15px)});
|
|
2040
|
+
|
|
2041
|
+
@if $variant != 'indigo' {
|
|
2042
|
+
igx-icon {
|
|
2043
|
+
--size: var(--igx-icon-size, #{rem(15px)});
|
|
2047
2044
|
}
|
|
2048
2045
|
}
|
|
2049
2046
|
|
|
@@ -2149,7 +2146,7 @@
|
|
|
2149
2146
|
%grid-excel-icon {
|
|
2150
2147
|
color: var-get($theme, 'header-selected-text-color');
|
|
2151
2148
|
|
|
2152
|
-
|
|
2149
|
+
igx-icon {
|
|
2153
2150
|
color: var-get($theme, 'header-selected-text-color');
|
|
2154
2151
|
}
|
|
2155
2152
|
|
|
@@ -2157,7 +2154,7 @@
|
|
|
2157
2154
|
&:hover {
|
|
2158
2155
|
color: var-get($theme, 'header-selected-text-color');
|
|
2159
2156
|
|
|
2160
|
-
|
|
2157
|
+
igx-icon {
|
|
2161
2158
|
color: var-get($theme, 'header-selected-text-color');
|
|
2162
2159
|
}
|
|
2163
2160
|
}
|
|
@@ -2501,7 +2498,7 @@
|
|
|
2501
2498
|
}
|
|
2502
2499
|
|
|
2503
2500
|
%igx-group-label__icon {
|
|
2504
|
-
|
|
2501
|
+
@at-root igx-icon#{&} {
|
|
2505
2502
|
--component-size: #{if($variant == 'indigo', 2, 1)};
|
|
2506
2503
|
|
|
2507
2504
|
color: var-get($theme, 'group-label-icon');
|
|
@@ -3248,6 +3245,14 @@
|
|
|
3248
3245
|
}
|
|
3249
3246
|
}
|
|
3250
3247
|
|
|
3248
|
+
igx-child-grid-row {
|
|
3249
|
+
igx-child-grid-row {
|
|
3250
|
+
%igx-grid__tr-action {
|
|
3251
|
+
border-inline-end: var-get($theme, 'header-border-width') var-get($theme, 'header-border-style') var-get($theme, 'header-border-color');
|
|
3252
|
+
}
|
|
3253
|
+
}
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3251
3256
|
// Pivot grid
|
|
3252
3257
|
%igx-grid__pivot--super-compact {
|
|
3253
3258
|
--ig-size: 1 !important;
|
|
@@ -3441,10 +3446,9 @@
|
|
|
3441
3446
|
}
|
|
3442
3447
|
|
|
3443
3448
|
@if $variant == 'indigo' {
|
|
3444
|
-
|
|
3449
|
+
igx-icon {
|
|
3445
3450
|
opacity: if($theme-variant == 'light', .75, .85);
|
|
3446
3451
|
|
|
3447
|
-
|
|
3448
3452
|
&:hover {
|
|
3449
3453
|
opacity: 1;
|
|
3450
3454
|
cursor: pointer;
|
|
@@ -212,7 +212,6 @@
|
|
|
212
212
|
height: $size;
|
|
213
213
|
min-width: $size;
|
|
214
214
|
line-height: $size;
|
|
215
|
-
cursor: pointer;
|
|
216
215
|
color: var-get($theme, 'label-color');
|
|
217
216
|
user-select: none;
|
|
218
217
|
|
|
@@ -400,7 +399,6 @@
|
|
|
400
399
|
|
|
401
400
|
%radio-label {
|
|
402
401
|
color: var-get($theme, 'label-color');
|
|
403
|
-
cursor: pointer;
|
|
404
402
|
user-select: none;
|
|
405
403
|
word-wrap: break-all;
|
|
406
404
|
|
|
@@ -290,7 +290,6 @@
|
|
|
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;
|
|
294
293
|
user-select: none;
|
|
295
294
|
transition: $input-transition;
|
|
296
295
|
|
|
@@ -557,7 +556,6 @@
|
|
|
557
556
|
%switch-label {
|
|
558
557
|
display: inline-block;
|
|
559
558
|
color: var-get($theme, 'label-color');
|
|
560
|
-
cursor: pointer;
|
|
561
559
|
user-select: none;
|
|
562
560
|
word-wrap: break-all;
|
|
563
561
|
|
|
@@ -660,6 +660,10 @@ 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;
|
|
663
667
|
/** Strategy, used for cloning the provided data. The type has one method, that takes any type of data */
|
|
664
668
|
dataCloneStrategy: IDataCloneStrategy;
|
|
665
669
|
/** Represents the grid service type providing API methods for the grid */
|
|
@@ -6,6 +6,7 @@ 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';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
/**
|
|
11
12
|
* @hidden
|
|
@@ -14,6 +15,7 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
14
15
|
protected overlayService: IgxOverlayService;
|
|
15
16
|
private cdr;
|
|
16
17
|
protected platform: PlatformUtil;
|
|
18
|
+
esf: BaseFilteringComponent;
|
|
17
19
|
expressionsList: ExpressionUI[];
|
|
18
20
|
column: ColumnType;
|
|
19
21
|
selectedOperator: string;
|
|
@@ -27,7 +29,7 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
27
29
|
private expressionDateComponents;
|
|
28
30
|
private _customDialogPositionSettings;
|
|
29
31
|
private _customDialogOverlaySettings;
|
|
30
|
-
constructor(overlayService: IgxOverlayService, cdr: ChangeDetectorRef, platform: PlatformUtil);
|
|
32
|
+
constructor(overlayService: IgxOverlayService, cdr: ChangeDetectorRef, platform: PlatformUtil, esf: BaseFilteringComponent);
|
|
31
33
|
ngAfterViewInit(): void;
|
|
32
34
|
get template(): TemplateRef<any>;
|
|
33
35
|
get grid(): any;
|
|
@@ -36,6 +38,7 @@ export declare class IgxExcelStyleCustomDialogComponent implements AfterViewInit
|
|
|
36
38
|
open(esf: any): void;
|
|
37
39
|
onClearButtonClick(): void;
|
|
38
40
|
closeDialog(): void;
|
|
41
|
+
cancelDialog(): void;
|
|
39
42
|
onApplyButtonClick(): void;
|
|
40
43
|
onAddButtonClick(): void;
|
|
41
44
|
onExpressionRemoved(event: ExpressionUI): void;
|
|
@@ -1831,6 +1831,10 @@ 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;
|
|
1834
1838
|
/**
|
|
1835
1839
|
* @hidden @internal
|
|
1836
1840
|
*/
|
|
@@ -1989,7 +1993,6 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
|
|
|
1989
1993
|
private _selectRowOnClick;
|
|
1990
1994
|
private _columnSelectionMode;
|
|
1991
1995
|
private lastAddedRowIndex;
|
|
1992
|
-
protected isColumnWidthSum: boolean;
|
|
1993
1996
|
private _currencyPositionLeft;
|
|
1994
1997
|
private rowEditPositioningStrategy;
|
|
1995
1998
|
private rowEditSettings;
|
|
@@ -2006,7 +2009,7 @@ export declare abstract class IgxGridBaseDirective implements GridType, OnInit,
|
|
|
2006
2009
|
/**
|
|
2007
2010
|
* @hidden @internal
|
|
2008
2011
|
*/
|
|
2009
|
-
|
|
2012
|
+
get minColumnWidth(): number;
|
|
2010
2013
|
protected get isCustomSetRowHeight(): boolean;
|
|
2011
2014
|
/**
|
|
2012
2015
|
* @hidden @internal
|
|
@@ -16,7 +16,9 @@ export declare class IgxColumnResizerDirective implements OnInit, OnDestroy {
|
|
|
16
16
|
resizeStart: Subject<MouseEvent>;
|
|
17
17
|
resize: Subject<any>;
|
|
18
18
|
private _left;
|
|
19
|
+
private _ratio;
|
|
19
20
|
private _destroy;
|
|
21
|
+
get ratio(): number;
|
|
20
22
|
constructor(element: ElementRef<HTMLElement>, document: any, zone: NgZone);
|
|
21
23
|
ngOnInit(): void;
|
|
22
24
|
ngOnDestroy(): void;
|
|
@@ -31,7 +31,7 @@ export declare class IgxColumnResizingService {
|
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
getColumnHeaderRenderedWidth():
|
|
34
|
+
getColumnHeaderRenderedWidth(): number;
|
|
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): void;
|
|
56
|
+
resizeColumn(event: MouseEvent, ratio?: number): 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;
|
package/package.json
CHANGED