igniteui-webcomponents-grids 5.0.2 → 5.0.3-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.
- package/grids/combined.js +13994 -13665
- package/grids/index.d.ts +2 -0
- package/grids/lib/igc-column-component.d.ts +21 -0
- package/grids/lib/igc-column-editor-options.d.ts +15 -0
- package/grids/lib/igc-column-state.d.ts +28 -2
- package/grids/lib/igc-field-editor-options.d.ts +21 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +7 -0
- package/grids/lib/igc-grid-base-directive.d.ts +7 -2
- package/grids/lib/igc-row-island-component.d.ts +7 -2
- package/grids/styles.css +1 -1
- package/grids/themes/dark/bootstrap.css +1 -1
- package/grids/themes/dark/fluent.css +1 -1
- package/grids/themes/dark/indigo.css +1 -1
- package/grids/themes/dark/material.css +1 -1
- package/grids/themes/light/bootstrap.css +1 -1
- package/grids/themes/light/fluent.css +1 -1
- package/grids/themes/light/indigo.css +1 -1
- package/grids/themes/light/material.css +1 -1
- package/package.json +4 -4
package/grids/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './lib/igc-cell-template-context'
|
|
|
32
32
|
export * from './lib/igc-cell-type'
|
|
33
33
|
export * from './lib/igc-clipboard-options'
|
|
34
34
|
export * from './lib/igc-column-component'
|
|
35
|
+
export * from './lib/igc-column-editor-options'
|
|
35
36
|
export * from './lib/igc-column-exporting-event-args'
|
|
36
37
|
export * from './lib/igc-column-group-component'
|
|
37
38
|
export * from './lib/igc-column-layout-component'
|
|
@@ -55,6 +56,7 @@ export * from './lib/igc-dimensions-change'
|
|
|
55
56
|
export * from './lib/igc-exporter-event-args'
|
|
56
57
|
export * from './lib/igc-exporter-options-base'
|
|
57
58
|
export * from './lib/igc-expression-tree'
|
|
59
|
+
export * from './lib/igc-field-editor-options'
|
|
58
60
|
export * from './lib/igc-field-pipe-args'
|
|
59
61
|
export * from './lib/igc-filter-item'
|
|
60
62
|
export * from './lib/igc-filtering-event-args'
|
|
@@ -7,6 +7,7 @@ import { IgcRenderFunction } from './common';
|
|
|
7
7
|
import { IgcCellTemplateContext } from './igc-cell-template-context';
|
|
8
8
|
import { IgcColumnTemplateContext } from './igc-column-template-context';
|
|
9
9
|
import { IgcColumnPipeArgs } from './igc-column-pipe-args';
|
|
10
|
+
import { IgcColumnEditorOptions } from './igc-column-editor-options';
|
|
10
11
|
import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
11
12
|
|
|
12
13
|
|
|
@@ -881,6 +882,26 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
|
881
882
|
public set pipeArgs(value: IgcColumnPipeArgs);
|
|
882
883
|
public get pipeArgs(): IgcColumnPipeArgs;
|
|
883
884
|
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Pass optional properties for the default column editors.
|
|
889
|
+
* @remarks
|
|
890
|
+
* Options may be applicable only to specific column type editors.
|
|
891
|
+
* @example
|
|
892
|
+
* ```typescript
|
|
893
|
+
* const editorOptions: IColumnEditorOptions = {
|
|
894
|
+
* dateTimeFormat: 'MM/dd/YYYY',
|
|
895
|
+
* }
|
|
896
|
+
* ```
|
|
897
|
+
* ```html
|
|
898
|
+
* <igx-column dataType="date" [editorOptions]="editorOptions"></igx-column>
|
|
899
|
+
* ```
|
|
900
|
+
* @memberof IgxColumnComponent
|
|
901
|
+
*/
|
|
902
|
+
public set editorOptions(value: IgcColumnEditorOptions);
|
|
903
|
+
public get editorOptions(): IgcColumnEditorOptions;
|
|
904
|
+
|
|
884
905
|
|
|
885
906
|
|
|
886
907
|
|
|
@@ -88,8 +88,34 @@ import { GridColumnDataType } from './grid-column-data-type';
|
|
|
88
88
|
public get columnGroup(): boolean;
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
// mrl props
|
|
92
|
+
public columnLayout?: boolean;
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
public rowStart?: number;
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
public rowEnd?: number;
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
public colStart?: number;
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
public colEnd?: number;
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @deprecated
|
|
109
|
+
*/
|
|
110
|
+
public parent?: any;
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
public set key(value: string);
|
|
114
|
+
public get key(): string;
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
public set parentKey(value: string);
|
|
118
|
+
public get parentKey(): string;
|
|
93
119
|
|
|
94
120
|
|
|
95
121
|
public set disableHiding(value: boolean);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcFieldEditorOptions
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* A custom input format string used for the built-in editors of date/time columns.
|
|
14
|
+
* See the Editing section under https://www.infragistics.com/products/ignite-ui-angular/angular/components/grid/column-types#datetime-date-and-time
|
|
15
|
+
*/
|
|
16
|
+
public dateTimeFormat?: string;
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
@@ -35,9 +35,16 @@ import { FilteringLogic } from './filtering-logic';
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use `ExpressionsTreeUtil.find` instead.
|
|
40
|
+
*/
|
|
38
41
|
public find(fieldName: string): IgcFilteringExpressionsTree | IgcFilteringExpression;
|
|
39
42
|
|
|
40
43
|
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @deprecated Use `ExpressionsTreeUtil.findIndex` instead.
|
|
47
|
+
*/
|
|
41
48
|
public findIndex(fieldName: string): number;
|
|
42
49
|
|
|
43
50
|
}
|
|
@@ -625,6 +625,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
625
625
|
* ```typescript
|
|
626
626
|
* this.grid.shouldGenerate = true;
|
|
627
627
|
* ```
|
|
628
|
+
* @deprecated Column re-creation now relies on `autoGenerate` instead.
|
|
628
629
|
*/
|
|
629
630
|
public set shouldGenerate(value: boolean);
|
|
630
631
|
public get shouldGenerate(): boolean;
|
|
@@ -794,7 +795,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
794
795
|
|
|
795
796
|
/* blazorByValueArray */
|
|
796
797
|
/* blazorAlwaysWriteback */
|
|
797
|
-
/* @tsTwoWayProperty (true, "
|
|
798
|
+
/* @tsTwoWayProperty (true, "SelectedRowsChange", "Detail", false) */
|
|
798
799
|
/* blazorPrimitiveValue */
|
|
799
800
|
/**
|
|
800
801
|
* Gets/Sets the current selection state.
|
|
@@ -806,7 +807,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
806
807
|
* <igx-grid [data]="localData" primaryKey="ID" rowSelection="multiple" [selectedRows]="[0, 1, 2]"><igx-grid>
|
|
807
808
|
* ```
|
|
808
809
|
*/
|
|
809
|
-
/* @tsTwoWayProperty (true, "
|
|
810
|
+
/* @tsTwoWayProperty (true, "SelectedRowsChange", "Detail", false) */
|
|
810
811
|
/* @blazorSynthesizeTwoWayBind */
|
|
811
812
|
public set selectedRows(value: any[]);
|
|
812
813
|
public get selectedRows(): any[];
|
|
@@ -2458,6 +2459,10 @@ rowDragEnd: CustomEvent<IgcRowDragEndEventArgs>;
|
|
|
2458
2459
|
*/
|
|
2459
2460
|
gridCopy: CustomEvent<IgcGridClipboardEvent>;
|
|
2460
2461
|
|
|
2462
|
+
/* blazorInclude */
|
|
2463
|
+
/** @hidden @internal */
|
|
2464
|
+
selectedRowsChange: CustomEvent<any[]>;
|
|
2465
|
+
|
|
2461
2466
|
/**
|
|
2462
2467
|
* Emitted when the expanded state of a row gets changed.
|
|
2463
2468
|
*
|
|
@@ -730,6 +730,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
730
730
|
* ```typescript
|
|
731
731
|
* this.grid.shouldGenerate = true;
|
|
732
732
|
* ```
|
|
733
|
+
* @deprecated Column re-creation now relies on `autoGenerate` instead.
|
|
733
734
|
*/
|
|
734
735
|
public set shouldGenerate(value: boolean);
|
|
735
736
|
public get shouldGenerate(): boolean;
|
|
@@ -899,7 +900,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
899
900
|
|
|
900
901
|
/* blazorByValueArray */
|
|
901
902
|
/* blazorAlwaysWriteback */
|
|
902
|
-
/* @tsTwoWayProperty (true, "
|
|
903
|
+
/* @tsTwoWayProperty (true, "SelectedRowsChange", "Detail", false) */
|
|
903
904
|
/* blazorPrimitiveValue */
|
|
904
905
|
/**
|
|
905
906
|
* Gets/Sets the current selection state.
|
|
@@ -911,7 +912,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
911
912
|
* <igx-grid [data]="localData" primaryKey="ID" rowSelection="multiple" [selectedRows]="[0, 1, 2]"><igx-grid>
|
|
912
913
|
* ```
|
|
913
914
|
*/
|
|
914
|
-
/* @tsTwoWayProperty (true, "
|
|
915
|
+
/* @tsTwoWayProperty (true, "SelectedRowsChange", "Detail", false) */
|
|
915
916
|
/* @blazorSynthesizeTwoWayBind */
|
|
916
917
|
public set selectedRows(value: any[]);
|
|
917
918
|
public get selectedRows(): any[];
|
|
@@ -2450,6 +2451,10 @@ rowDragEnd: CustomEvent<IgcRowDragEndEventArgs>;
|
|
|
2450
2451
|
*/
|
|
2451
2452
|
gridCopy: CustomEvent<IgcGridClipboardEvent>;
|
|
2452
2453
|
|
|
2454
|
+
/* blazorInclude */
|
|
2455
|
+
/** @hidden @internal */
|
|
2456
|
+
selectedRowsChange: CustomEvent<any[]>;
|
|
2457
|
+
|
|
2453
2458
|
/**
|
|
2454
2459
|
* Emitted when the expanded state of a row gets changed.
|
|
2455
2460
|
*
|