igniteui-angular 17.0.0 → 17.0.2
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/combo/combo-dropdown.component.mjs +2 -1
- package/esm2022/lib/directives/for-of/for_of.directive.mjs +14 -5
- package/esm2022/lib/drop-down/drop-down.component.mjs +5 -4
- package/esm2022/lib/grids/common/grid.interface.mjs +1 -1
- package/esm2022/lib/grids/grid-base.directive.mjs +1 -1
- package/esm2022/lib/grids/state.directive.mjs +3 -2
- package/esm2022/lib/simple-combo/simple-combo.component.mjs +7 -18
- package/esm2022/public_api.mjs +2 -2
- package/fesm2022/igniteui-angular.mjs +26 -25
- package/fesm2022/igniteui-angular.mjs.map +1 -1
- package/lib/core/styles/components/chip/_chip-theme.scss +26 -8
- package/lib/directives/for-of/for_of.directive.d.ts +18 -2
- package/lib/drop-down/drop-down.component.d.ts +2 -2
- package/lib/grids/common/grid.interface.d.ts +21 -0
- package/lib/grids/grid-base.directive.d.ts +2 -19
- package/lib/grids/state.directive.d.ts +1 -0
- package/lib/simple-combo/simple-combo.component.d.ts +0 -3
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
- package/schematics/tsconfig.tsbuildinfo +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
|
@@ -376,7 +376,6 @@
|
|
|
376
376
|
align-items: center;
|
|
377
377
|
justify-content: center;
|
|
378
378
|
text-align: center;
|
|
379
|
-
flex: 1 1 auto;
|
|
380
379
|
height: var-get($theme, 'size');
|
|
381
380
|
padding-inline: sizable(
|
|
382
381
|
map.get($chip-padding, 'compact'),
|
|
@@ -411,9 +410,9 @@
|
|
|
411
410
|
|
|
412
411
|
igx-avatar,
|
|
413
412
|
igx-circular-bar {
|
|
414
|
-
max-width: 100%;
|
|
415
413
|
max-height: 100%;
|
|
416
414
|
width: sizable(rem(14px), rem(18px), rem(24px));
|
|
415
|
+
max-width: sizable(rem(14px), rem(18px), rem(24px));
|
|
417
416
|
height: sizable(rem(14px), rem(18px), rem(24px));
|
|
418
417
|
}
|
|
419
418
|
|
|
@@ -655,21 +654,41 @@
|
|
|
655
654
|
}
|
|
656
655
|
|
|
657
656
|
%igx-chip__start {
|
|
658
|
-
igx-avatar,
|
|
659
|
-
igx-circular-bar {
|
|
657
|
+
> igx-avatar,
|
|
658
|
+
> igx-circular-bar {
|
|
660
659
|
&:first-child {
|
|
661
660
|
margin-inline-start: calc(#{sizable(rem(0), rem(4px), rem(8px))} * -1);
|
|
662
661
|
}
|
|
663
662
|
}
|
|
663
|
+
|
|
664
|
+
[igxPrefix],
|
|
665
|
+
igx-prefix {
|
|
666
|
+
&:first-of-type {
|
|
667
|
+
igx-avatar,
|
|
668
|
+
igx-circular-bar {
|
|
669
|
+
margin-inline-start: calc(#{sizable(rem(0), rem(4px), rem(8px))} * -1);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
}
|
|
664
673
|
}
|
|
665
674
|
|
|
666
675
|
%igx-chip__end {
|
|
667
|
-
igx-avatar,
|
|
668
|
-
igx-circular-bar {
|
|
676
|
+
> igx-avatar,
|
|
677
|
+
> igx-circular-bar {
|
|
669
678
|
&:last-child {
|
|
670
679
|
margin-inline-end: calc(#{sizable(rem(0), rem(4px), rem(8px))} * -1);
|
|
671
680
|
}
|
|
672
681
|
}
|
|
682
|
+
|
|
683
|
+
[igxPrefix],
|
|
684
|
+
igx-prefix {
|
|
685
|
+
&:first-of-type {
|
|
686
|
+
igx-avatar,
|
|
687
|
+
igx-circular-bar {
|
|
688
|
+
margin-inline-end: calc(#{sizable(rem(0), rem(4px), rem(8px))} * -1);
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
673
692
|
}
|
|
674
693
|
|
|
675
694
|
%igx-chip__start,
|
|
@@ -694,8 +713,7 @@
|
|
|
694
713
|
|
|
695
714
|
%igx-chip__prefix,
|
|
696
715
|
%igx-chip__suffix {
|
|
697
|
-
|
|
698
|
-
display: inline-block;
|
|
716
|
+
display: inline-flex;
|
|
699
717
|
vertical-align: middle;
|
|
700
718
|
max-width: $chip-max-width;
|
|
701
719
|
|
|
@@ -32,7 +32,23 @@ export declare class IgxForOfContext<T, U extends T[] = T[]> {
|
|
|
32
32
|
*/
|
|
33
33
|
get odd(): boolean;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
/** @hidden @internal */
|
|
36
|
+
export declare abstract class IgxForOfToken<T, U extends T[] = T[]> {
|
|
37
|
+
abstract igxForOf: U & T[] | null;
|
|
38
|
+
abstract state: IForOfState;
|
|
39
|
+
abstract totalItemCount: number;
|
|
40
|
+
abstract scrollPosition: number;
|
|
41
|
+
abstract chunkLoad: EventEmitter<IForOfState>;
|
|
42
|
+
abstract chunkPreload: EventEmitter<IForOfState>;
|
|
43
|
+
abstract scrollTo(index: number): void;
|
|
44
|
+
abstract getScrollForIndex(index: number, bottom?: boolean): number;
|
|
45
|
+
abstract getScroll(): HTMLElement | undefined;
|
|
46
|
+
abstract igxForItemSize: any;
|
|
47
|
+
abstract igxForContainerSize: any;
|
|
48
|
+
/** @hidden */
|
|
49
|
+
abstract dc: ComponentRef<any>;
|
|
50
|
+
}
|
|
51
|
+
export declare class IgxForOfDirective<T, U extends T[] = T[]> extends IgxForOfToken<T, U> implements OnInit, OnChanges, DoCheck, OnDestroy, AfterViewInit {
|
|
36
52
|
private _viewContainer;
|
|
37
53
|
protected _template: TemplateRef<NgForOfContext<T>>;
|
|
38
54
|
protected _differs: IterableDiffers;
|
|
@@ -274,7 +290,7 @@ export declare class IgxForOfDirective<T, U extends T[] = T[]> implements OnInit
|
|
|
274
290
|
*
|
|
275
291
|
* @param index
|
|
276
292
|
*/
|
|
277
|
-
scrollTo(index:
|
|
293
|
+
scrollTo(index: number): void;
|
|
278
294
|
/**
|
|
279
295
|
* Scrolls by one item into the appropriate next direction.
|
|
280
296
|
* For "horizontal" orientation that will be the right column and for "vertical" that is the lower row.
|
|
@@ -7,7 +7,7 @@ import { IBaseCancelableBrowserEventArgs, IBaseEventArgs } from '../core/utils';
|
|
|
7
7
|
import { IgxSelectionAPIService } from '../core/selection';
|
|
8
8
|
import { Subject } from 'rxjs';
|
|
9
9
|
import { IgxDropDownItemBaseDirective } from './drop-down-item.base';
|
|
10
|
-
import {
|
|
10
|
+
import { IgxForOfToken } from '../directives/for-of/for_of.directive';
|
|
11
11
|
import { IDisplayDensityOptions } from '../core/density';
|
|
12
12
|
import { OverlaySettings } from '../services/overlay/utilities';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
@@ -92,7 +92,7 @@ export declare class IgxDropDownComponent extends IgxDropDownBaseDirective imple
|
|
|
92
92
|
* ```
|
|
93
93
|
*/
|
|
94
94
|
labelledBy: string;
|
|
95
|
-
protected virtDir:
|
|
95
|
+
protected virtDir: IgxForOfToken<any>;
|
|
96
96
|
protected toggleDirective: IgxToggleDirective;
|
|
97
97
|
protected scrollContainerRef: ElementRef;
|
|
98
98
|
/**
|
|
@@ -1296,3 +1296,24 @@ export interface IPinningConfig {
|
|
|
1296
1296
|
columns?: ColumnPinningPosition;
|
|
1297
1297
|
rows?: RowPinningPosition;
|
|
1298
1298
|
}
|
|
1299
|
+
/**
|
|
1300
|
+
* An interface describing settings for clipboard options
|
|
1301
|
+
*/
|
|
1302
|
+
export interface IClipboardOptions {
|
|
1303
|
+
/**
|
|
1304
|
+
* Enables/disables the copy behavior
|
|
1305
|
+
*/
|
|
1306
|
+
enabled: boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* Include the columns headers in the clipboard output.
|
|
1309
|
+
*/
|
|
1310
|
+
copyHeaders: boolean;
|
|
1311
|
+
/**
|
|
1312
|
+
* Apply the columns formatters (if any) on the data in the clipboard output.
|
|
1313
|
+
*/
|
|
1314
|
+
copyFormatters: boolean;
|
|
1315
|
+
/**
|
|
1316
|
+
* The separator used for formatting the copy output. Defaults to `\t`.
|
|
1317
|
+
*/
|
|
1318
|
+
separator: string;
|
|
1319
|
+
}
|
|
@@ -28,7 +28,7 @@ import { IgxColumnResizingService } from './resizing/resizing.service';
|
|
|
28
28
|
import { IFilteringStrategy } from '../data-operations/filtering-strategy';
|
|
29
29
|
import { GridSelectionMode, GridSummaryPosition, GridSummaryCalculationMode, FilterMode, GridPagingMode, GridValidationTrigger } from './common/enums';
|
|
30
30
|
import { IGridCellEventArgs, IRowSelectionEventArgs, IPinColumnEventArgs, IGridEditEventArgs, IRowDataEventArgs, IColumnResizeEventArgs, IColumnMovingStartEventArgs, IColumnMovingEventArgs, IColumnMovingEndEventArgs, IGridKeydownEventArgs, IRowDragStartEventArgs, IRowDragEndEventArgs, IGridClipboardEvent, IGridToolbarExportEventArgs, ISearchInfo, ICellPosition, IRowToggleEventArgs, IColumnSelectionEventArgs, IPinRowEventArgs, IGridScrollEventArgs, IGridEditDoneEventArgs, IActiveNodeChangeEventArgs, ISortingEventArgs, IFilteringEventArgs, IColumnVisibilityChangedEventArgs, IColumnVisibilityChangingEventArgs, IPinColumnCancellableEventArgs } from './common/events';
|
|
31
|
-
import { ColumnType, GridServiceType, GridType, IGridFormGroupCreatedEventArgs, IGridValidationStatusEventArgs, IgxGridEmptyTemplateContext, IgxGridHeaderTemplateContext, IgxGridRowDragGhostContext, IgxGridRowEditActionsTemplateContext, IgxGridRowEditTemplateContext, IgxGridRowEditTextTemplateContext, IgxGridRowTemplateContext, IgxGridTemplateContext, IgxHeadSelectorTemplateContext, IgxRowSelectorTemplateContext, ISizeInfo, RowType, IPinningConfig } from './common/grid.interface';
|
|
31
|
+
import { ColumnType, GridServiceType, GridType, IGridFormGroupCreatedEventArgs, IGridValidationStatusEventArgs, IgxGridEmptyTemplateContext, IgxGridHeaderTemplateContext, IgxGridRowDragGhostContext, IgxGridRowEditActionsTemplateContext, IgxGridRowEditTemplateContext, IgxGridRowEditTextTemplateContext, IgxGridRowTemplateContext, IgxGridTemplateContext, IgxHeadSelectorTemplateContext, IgxRowSelectorTemplateContext, ISizeInfo, RowType, IPinningConfig, IClipboardOptions } from './common/grid.interface';
|
|
32
32
|
import { DropPosition } from './moving/moving.service';
|
|
33
33
|
import { IgxColumnComponent } from './columns/column.component';
|
|
34
34
|
import { IgxSnackbarComponent } from '../snackbar/snackbar.component';
|
|
@@ -162,24 +162,7 @@ export declare abstract class IgxGridBaseDirective extends DisplayDensityBase im
|
|
|
162
162
|
/**
|
|
163
163
|
* Controls the copy behavior of the grid.
|
|
164
164
|
*/
|
|
165
|
-
clipboardOptions:
|
|
166
|
-
/**
|
|
167
|
-
* Enables/disables the copy behavior
|
|
168
|
-
*/
|
|
169
|
-
enabled: boolean;
|
|
170
|
-
/**
|
|
171
|
-
* Include the columns headers in the clipboard output.
|
|
172
|
-
*/
|
|
173
|
-
copyHeaders: boolean;
|
|
174
|
-
/**
|
|
175
|
-
* Apply the columns formatters (if any) on the data in the clipboard output.
|
|
176
|
-
*/
|
|
177
|
-
copyFormatters: boolean;
|
|
178
|
-
/**
|
|
179
|
-
* The separator used for formatting the copy output. Defaults to `\t`.
|
|
180
|
-
*/
|
|
181
|
-
separator: string;
|
|
182
|
-
};
|
|
165
|
+
clipboardOptions: IClipboardOptions;
|
|
183
166
|
/**
|
|
184
167
|
* Emitted after filtering is performed.
|
|
185
168
|
*
|
|
@@ -70,7 +70,6 @@ export declare class IgxSimpleComboComponent extends IgxComboBaseDirective imple
|
|
|
70
70
|
/** @hidden @internal */
|
|
71
71
|
composing: boolean;
|
|
72
72
|
private _updateInput;
|
|
73
|
-
private _internalFilter;
|
|
74
73
|
private _collapsing;
|
|
75
74
|
/** @hidden @internal */
|
|
76
75
|
get filteredData(): any[] | null;
|
|
@@ -123,8 +122,6 @@ export declare class IgxSimpleComboComponent extends IgxComboBaseDirective imple
|
|
|
123
122
|
/** @hidden @internal */
|
|
124
123
|
onBlur(): void;
|
|
125
124
|
/** @hidden @internal */
|
|
126
|
-
onFocus(): void;
|
|
127
|
-
/** @hidden @internal */
|
|
128
125
|
getEditElement(): HTMLElement;
|
|
129
126
|
/** @hidden @internal */
|
|
130
127
|
handleClear(event: Event): void;
|
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export * from './lib/directives/drag-drop/public_api';
|
|
|
13
13
|
export * from './lib/directives/filter/filter.directive';
|
|
14
14
|
export * from './lib/directives/focus/focus.directive';
|
|
15
15
|
export * from './lib/directives/focus-trap/focus-trap.directive';
|
|
16
|
-
export
|
|
16
|
+
export { IgxForOfContext, IgxForOfDirective, IForOfState, IgxGridForOfContext, IgxGridForOfDirective } from './lib/directives/for-of/for_of.directive';
|
|
17
17
|
export * from './lib/directives/layout/layout.directive';
|
|
18
18
|
export * from './lib/directives/mask/mask.directive';
|
|
19
19
|
export * from './lib/directives/radio/public_api';
|