igniteui-webcomponents-grids 4.0.4 → 4.2.3-alpha
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/bundles/igniteui-webcomponents-grids.umd.js +2059 -1378
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- package/esm2015/lib/BaseEditorView.js +30 -14
- package/esm2015/lib/CanvasGridCellBase.js +26 -26
- package/esm2015/lib/CanvasSummaryCell.js +2 -2
- package/esm2015/lib/CanvasTextHeaderCell.js +1 -1
- package/esm2015/lib/CheckboxListView_combined.js +553 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComboEditorView.js +111 -105
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +401 -344
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/DateEditorView.js +94 -87
- package/esm2015/lib/EditorCell.js +11 -11
- package/esm2015/lib/FilterCell.js +77 -61
- package/esm2015/lib/FilterCellPresenter.js +6 -3
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnOptionsView_combined.js +47 -22
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +51 -25
- package/esm2015/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm2015/lib/GridFilterDialogView_combined.js +5 -5
- package/esm2015/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm2015/lib/ISummaryChooserView_combined.js +12 -11
- package/esm2015/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm2015/lib/NumericEditorView.js +3 -3
- package/esm2015/lib/PropertyEditorView_combined.js +40 -40
- package/esm2015/lib/TextEditorView.js +82 -75
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- package/esm2015/lib/igc-data-grid-comparison-operator-selector-component.js +104 -59
- package/esm2015/lib/igc-grid-column-options-component.js +21 -1
- package/esm2015/lib/igc-grid-column-summary-options-component.js +16 -2
- package/esm5/lib/BaseEditorView.js +34 -14
- package/esm5/lib/CanvasGridCellBase.js +26 -26
- package/esm5/lib/CanvasSummaryCell.js +2 -2
- package/esm5/lib/CanvasTextHeaderCell.js +1 -1
- package/esm5/lib/CheckboxListView_combined.js +579 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnFilterCondition_combined.js +32 -0
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComboEditorView.js +108 -102
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +408 -343
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/DateEditorView.js +93 -86
- package/esm5/lib/EditorCell.js +11 -11
- package/esm5/lib/FilterCell.js +81 -61
- package/esm5/lib/FilterCellPresenter.js +6 -3
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnOptionsView_combined.js +55 -22
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +59 -25
- package/esm5/lib/GridExpansionIndicatorView_combined.js +8 -8
- package/esm5/lib/GridFilterDialogView_combined.js +5 -5
- package/esm5/lib/GridSortIndicatorView_combined.js +9 -9
- package/esm5/lib/ISummaryChooserView_combined.js +12 -11
- package/esm5/lib/MultiColumnComboBoxView_combined.js +19 -19
- package/esm5/lib/NumericEditorView.js +3 -3
- package/esm5/lib/PropertyEditorView_combined.js +40 -40
- package/esm5/lib/TextEditorView.js +82 -75
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/esm5/lib/igc-data-grid-comparison-operator-selector-component.js +117 -59
- package/esm5/lib/igc-grid-column-options-component.js +29 -1
- package/esm5/lib/igc-grid-column-summary-options-component.js +24 -2
- package/fesm2015/igniteui-webcomponents-grids.js +1935 -1395
- package/fesm5/igniteui-webcomponents-grids.js +2057 -1376
- package/grids/3rdpartylicenses.txt +445 -0
- package/grids/combined.js +44 -90
- package/grids/index.d.ts +15 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-toolbar-column-actions-directive.d.ts +2 -1
- package/grids/lib/igc-boolean-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-cell-template-context.d.ts +2 -1
- package/grids/lib/igc-column-component.d.ts +3 -2
- package/grids/lib/igc-columns-auto-generated-event-args.d.ts +21 -0
- package/grids/lib/igc-date-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-date-summary-operand.d.ts +75 -0
- package/grids/lib/igc-date-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +2 -0
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +6 -4
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +4 -0
- package/grids/lib/igc-grid-base-directive.d.ts +23 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +5 -1
- package/grids/lib/igc-grid-selection-range.d.ts +1 -0
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grouped-records.d.ts +1 -1
- package/grids/lib/igc-number-filtering-operand.d.ts +20 -0
- package/grids/lib/igc-number-summary-operand.d.ts +104 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +1 -20
- package/grids/lib/igc-pivot-grid-component.d.ts +12 -0
- package/grids/lib/igc-row-data-event-args.d.ts +4 -0
- package/grids/lib/igc-sorting-options.d.ts +3 -2
- package/grids/lib/igc-string-filtering-operand.d.ts +29 -0
- package/grids/lib/igc-summary-operand.d.ts +61 -0
- package/grids/lib/igc-time-filtering-operand.d.ts +15 -0
- package/grids/lib/igc-time-summary-operand.d.ts +49 -0
- package/grids/lib/sorting-options-mode.d.ts +3 -0
- 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/lib/BaseEditorView.d.ts +12 -8
- package/lib/CheckboxListView_combined.d.ts +120 -96
- package/lib/ColumnFilterCondition_combined.d.ts +2 -0
- package/lib/ComboEditorView.d.ts +15 -14
- package/lib/ComboEditorView_ComboExternal.d.ts +1 -0
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +105 -96
- package/lib/DateEditorView.d.ts +13 -12
- package/lib/FilterCell.d.ts +23 -20
- package/lib/GridColumnOptionsView_combined.d.ts +10 -5
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +14 -9
- package/lib/IEditorView.d.ts +2 -0
- package/lib/TextEditorView.d.ts +10 -9
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/lib/igc-data-grid-comparison-operator-selector-component.d.ts +11 -0
- package/lib/igc-grid-column-options-component.d.ts +8 -0
- package/lib/igc-grid-column-summary-options-component.d.ts +2 -0
- package/package.json +4 -4
package/grids/index.d.ts
CHANGED
|
@@ -11,15 +11,18 @@ export * from './lib/grid-paging-mode'
|
|
|
11
11
|
export * from './lib/grid-selection-mode'
|
|
12
12
|
export * from './lib/grid-summary-calculation-mode'
|
|
13
13
|
export * from './lib/grid-summary-position'
|
|
14
|
+
export * from './lib/grid-toolbar-exporter-type'
|
|
14
15
|
export * from './lib/grid-validation-trigger'
|
|
15
16
|
export * from './lib/horizontal-alignment'
|
|
16
17
|
export * from './lib/igc-action-strip-component'
|
|
17
18
|
export * from './lib/igc-action-strip-resource-strings'
|
|
18
19
|
export * from './lib/igc-active-node-change-event-args'
|
|
20
|
+
export * from './lib/igc-base-date-time-filtering-operand'
|
|
19
21
|
export * from './lib/igc-base-event-args'
|
|
20
22
|
export * from './lib/igc-base-exporter'
|
|
21
23
|
export * from './lib/igc-base-toolbar-column-actions-directive'
|
|
22
24
|
export * from './lib/igc-base-toolbar-directive'
|
|
25
|
+
export * from './lib/igc-boolean-filtering-operand'
|
|
23
26
|
export * from './lib/igc-cancelable-browser-event-args'
|
|
24
27
|
export * from './lib/igc-cancelable-event-args'
|
|
25
28
|
export * from './lib/igc-cell-template-context'
|
|
@@ -38,7 +41,11 @@ export * from './lib/igc-column-template-context'
|
|
|
38
41
|
export * from './lib/igc-column-toggled-event-args'
|
|
39
42
|
export * from './lib/igc-column-visibility-changed-event-args'
|
|
40
43
|
export * from './lib/igc-column-visibility-changing-event-args'
|
|
44
|
+
export * from './lib/igc-columns-auto-generated-event-args'
|
|
41
45
|
export * from './lib/igc-data-clone-strategy'
|
|
46
|
+
export * from './lib/igc-date-filtering-operand'
|
|
47
|
+
export * from './lib/igc-date-summary-operand'
|
|
48
|
+
export * from './lib/igc-date-time-filtering-operand'
|
|
42
49
|
export * from './lib/igc-density-changed-event-args'
|
|
43
50
|
export * from './lib/igc-dimensions-change'
|
|
44
51
|
export * from './lib/igc-display-density-base'
|
|
@@ -46,6 +53,7 @@ export * from './lib/igc-exporter-event'
|
|
|
46
53
|
export * from './lib/igc-exporter-options-base'
|
|
47
54
|
export * from './lib/igc-field-pipe-args'
|
|
48
55
|
export * from './lib/igc-filtering-event-args'
|
|
56
|
+
export * from './lib/igc-filtering-expression'
|
|
49
57
|
export * from './lib/igc-filtering-expressions-tree'
|
|
50
58
|
export * from './lib/igc-filtering-operand'
|
|
51
59
|
export * from './lib/igc-filtering-operation'
|
|
@@ -106,6 +114,8 @@ export * from './lib/igc-head-selector-template-details'
|
|
|
106
114
|
export * from './lib/igc-header-type'
|
|
107
115
|
export * from './lib/igc-mrl-column-size-info'
|
|
108
116
|
export * from './lib/igc-mrl-resize-column-info'
|
|
117
|
+
export * from './lib/igc-number-filtering-operand'
|
|
118
|
+
export * from './lib/igc-number-summary-operand'
|
|
109
119
|
export * from './lib/igc-overlay-outlet-directive'
|
|
110
120
|
export * from './lib/igc-overlay-settings'
|
|
111
121
|
export * from './lib/igc-page-cancellable-event-args'
|
|
@@ -145,8 +155,12 @@ export * from './lib/igc-sorting-event-args'
|
|
|
145
155
|
export * from './lib/igc-sorting-expression'
|
|
146
156
|
export * from './lib/igc-sorting-options'
|
|
147
157
|
export * from './lib/igc-sorting-strategy'
|
|
158
|
+
export * from './lib/igc-string-filtering-operand'
|
|
159
|
+
export * from './lib/igc-summary-operand'
|
|
148
160
|
export * from './lib/igc-summary-result'
|
|
149
161
|
export * from './lib/igc-summary-template-context'
|
|
162
|
+
export * from './lib/igc-time-filtering-operand'
|
|
163
|
+
export * from './lib/igc-time-summary-operand'
|
|
150
164
|
export * from './lib/igc-toggle-directive'
|
|
151
165
|
export * from './lib/igc-toggle-view-cancelable-event-args'
|
|
152
166
|
export * from './lib/igc-toggle-view-event-args'
|
|
@@ -158,5 +172,6 @@ export * from './lib/pivot-aggregation-type'
|
|
|
158
172
|
export * from './lib/pivot-dimension-type'
|
|
159
173
|
export * from './lib/row-pinning-position'
|
|
160
174
|
export * from './lib/sorting-direction'
|
|
175
|
+
export * from './lib/sorting-options-mode'
|
|
161
176
|
export * from './lib/validation-status'
|
|
162
177
|
export * from './lib/vertical-alignment'
|
package/grids/lib/common.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
|
|
2
|
+
import { IgcBaseToolbarDirective } from './igc-base-toolbar-directive';
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
|
|
@@ -10,7 +11,7 @@
|
|
|
10
11
|
* Base class for pinning/hiding column actions
|
|
11
12
|
*/
|
|
12
13
|
|
|
13
|
-
export declare class IgcBaseToolbarColumnActionsDirective
|
|
14
|
+
export declare class IgcBaseToolbarColumnActionsDirective extends IgcBaseToolbarDirective
|
|
14
15
|
{
|
|
15
16
|
|
|
16
17
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcFilteringOperand } from './igc-filtering-operand';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* csSuppress */
|
|
8
|
+
/**
|
|
9
|
+
* Provides filtering operations for booleans
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export declare class IgcBooleanFilteringOperand extends IgcFilteringOperand
|
|
15
|
+
{
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
import { IgcSummaryResult } from './igc-summary-result';
|
|
3
|
+
import { IgcSummaryOperand } from './igc-summary-operand';
|
|
3
4
|
import { GridColumnDataType } from './grid-column-data-type';
|
|
4
5
|
import { IgcFilteringOperand } from './igc-filtering-operand';
|
|
5
6
|
import { IgcSortingStrategy } from './igc-sorting-strategy';
|
|
@@ -496,8 +497,8 @@ import { IgcMRLResizeColumnInfo } from './igc-mrl-resize-column-info';
|
|
|
496
497
|
*
|
|
497
498
|
* @memberof IgxColumnComponent
|
|
498
499
|
*/
|
|
499
|
-
public set summaryFormatter(value: (summary: IgcSummaryResult, summaryOperand:
|
|
500
|
-
public get summaryFormatter(): (summary: IgcSummaryResult, summaryOperand:
|
|
500
|
+
public set summaryFormatter(value: (summary: IgcSummaryResult, summaryOperand: IgcSummaryOperand) => any);
|
|
501
|
+
public get summaryFormatter(): (summary: IgcSummaryResult, summaryOperand: IgcSummaryOperand) => any;
|
|
501
502
|
|
|
502
503
|
|
|
503
504
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
3
|
+
import { IgcColumnComponent } from './igc-column-component';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/* jsonAPIPlainObject */
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export declare class IgcColumnsAutoGeneratedEventArgs extends IgcBaseEventArgs
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* blazorTreatAsCollection */
|
|
15
|
+
/* blazorCollectionName: ColumnCollection */
|
|
16
|
+
public columns?: IgcColumnComponent[];
|
|
17
|
+
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcBaseDateTimeFilteringOperand } from './igc-base-date-time-filtering-operand';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* csSuppress */
|
|
8
|
+
/**
|
|
9
|
+
* Provides filtering operations for Dates
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export declare class IgcDateFilteringOperand extends IgcBaseDateTimeFilteringOperand
|
|
15
|
+
{
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcSummaryOperand } from './igc-summary-operand';
|
|
3
|
+
import { IgcGroupByRecord } from './igc-group-by-record';
|
|
4
|
+
import { IgcSummaryResult } from './igc-summary-result';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
/* csSuppress */
|
|
10
|
+
// @dynamic
|
|
11
|
+
|
|
12
|
+
export declare class IgcDateSummaryOperand extends IgcSummaryOperand
|
|
13
|
+
{
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Returns the latest date value in the data records.
|
|
18
|
+
* If filtering is applied, returns the latest date value in the filtered data records.
|
|
19
|
+
* ```typescript
|
|
20
|
+
* IgxDateSummaryOperand.latest(data);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @memberof IgxDateSummaryOperand
|
|
24
|
+
*/
|
|
25
|
+
public static latest(data: any[]): void;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns the earliest date value in the data records.
|
|
30
|
+
* If filtering is applied, returns the latest date value in the filtered data records.
|
|
31
|
+
* ```typescript
|
|
32
|
+
* IgxDateSummaryOperand.earliest(data);
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @memberof IgxDateSummaryOperand
|
|
36
|
+
*/
|
|
37
|
+
public static earliest(data: any[]): void;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Executes the static methods and returns `IgxSummaryResult[]`.
|
|
42
|
+
* ```typescript
|
|
43
|
+
* interface IgxSummaryResult {
|
|
44
|
+
* key: string;
|
|
45
|
+
* label: string;
|
|
46
|
+
* summaryResult: any;
|
|
47
|
+
* }
|
|
48
|
+
* ```
|
|
49
|
+
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
50
|
+
* ```typescript
|
|
51
|
+
* class CustomDateSummary extends IgxDateSummaryOperand {
|
|
52
|
+
* constructor() {
|
|
53
|
+
* super();
|
|
54
|
+
* }
|
|
55
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
56
|
+
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
57
|
+
* result.push({
|
|
58
|
+
* key: "deadline",
|
|
59
|
+
* label: "Deadline Date",
|
|
60
|
+
* summaryResult: this.calculateDeadline(data);
|
|
61
|
+
* });
|
|
62
|
+
* return result;
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* this.grid.getColumnByName('ColumnName').summaries = CustomDateSummary;
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* @memberof IgxDateSummaryOperand
|
|
69
|
+
*/
|
|
70
|
+
public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
|
|
71
|
+
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
@@ -38,7 +38,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
38
38
|
|
|
39
39
|
export declare interface IgcDisplayDensityBaseEventMap {
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
densityChanged: CustomEvent<IgcDensityChangedEventArgs>;
|
|
42
42
|
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* jsonAPIPlainObject */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* marshalByValue */
|
|
9
|
+
/**
|
|
10
|
+
* Represents filtering expressions.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export declare class IgcFilteringExpression
|
|
14
|
+
{
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
public set fieldName(value: string);
|
|
18
|
+
public get fieldName(): string;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
public set condition(value: IgcFilteringOperation);
|
|
22
|
+
public get condition(): IgcFilteringOperation;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
public searchVal?: any;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
public ignoreCase?: boolean;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { FilteringLogic } from './filtering-logic';
|
|
3
3
|
import { FilteringExpressionsTreeType } from './filtering-expressions-tree-type';
|
|
4
|
-
import { IgcFilteringExpression } from './
|
|
4
|
+
import { IgcFilteringExpression } from './igc-filtering-expression';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -33,8 +33,8 @@ import { IgcFilteringExpression } from './common';
|
|
|
33
33
|
*
|
|
34
34
|
* @memberof FilteringExpressionsTree
|
|
35
35
|
*/
|
|
36
|
-
public set filteringOperands(value: IgcFilteringExpressionsTree | IgcFilteringExpression[]);
|
|
37
|
-
public get filteringOperands(): IgcFilteringExpressionsTree | IgcFilteringExpression[];
|
|
36
|
+
public set filteringOperands(value: (IgcFilteringExpressionsTree | IgcFilteringExpression)[]);
|
|
37
|
+
public get filteringOperands(): (IgcFilteringExpressionsTree | IgcFilteringExpression)[];
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -91,7 +91,7 @@ import { IgcFilteringExpression } from './common';
|
|
|
91
91
|
*
|
|
92
92
|
* @param expressionTree filtering expressions tree.
|
|
93
93
|
*/
|
|
94
|
-
public empty(expressionTree: IgcFilteringExpressionsTree): boolean;
|
|
94
|
+
public static empty(expressionTree: IgcFilteringExpressionsTree): boolean;
|
|
95
95
|
|
|
96
96
|
|
|
97
97
|
|
|
@@ -117,6 +117,8 @@ import { IgcFilteringExpression } from './common';
|
|
|
117
117
|
*/
|
|
118
118
|
public findIndex(fieldName: string): number;
|
|
119
119
|
|
|
120
|
+
constructor(operator: FilteringLogic, fieldName?: string);
|
|
121
|
+
|
|
120
122
|
}
|
|
121
123
|
|
|
122
124
|
|
|
@@ -5,7 +5,7 @@ import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
|
5
5
|
/**
|
|
6
6
|
* Provides base filtering operations
|
|
7
7
|
* Implementations should be Singleton
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
* @export
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -18,7 +18,7 @@ import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
public instance(): IgcFilteringOperand;
|
|
21
|
+
public static instance(): IgcFilteringOperand;
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -45,6 +45,8 @@ import { IgcFilteringOperation } from './igc-filtering-operation';
|
|
|
45
45
|
*/
|
|
46
46
|
public append(operation: IgcFilteringOperation): void;
|
|
47
47
|
|
|
48
|
+
constructor();
|
|
49
|
+
|
|
48
50
|
}
|
|
49
51
|
|
|
50
52
|
|
|
@@ -12,6 +12,7 @@ import { IgcPinColumnEventArgs } from './igc-pin-column-event-args';
|
|
|
12
12
|
import { IgcGridEditEventArgs } from './igc-grid-edit-event-args';
|
|
13
13
|
import { IgcGridEditDoneEventArgs } from './igc-grid-edit-done-event-args';
|
|
14
14
|
import { IgcColumnComponent } from './igc-column-component';
|
|
15
|
+
import { IgcColumnsAutoGeneratedEventArgs } from './igc-columns-auto-generated-event-args';
|
|
15
16
|
import { IgcSortingEventArgs } from './igc-sorting-event-args';
|
|
16
17
|
import { IgcSortingExpression } from './igc-sorting-expression';
|
|
17
18
|
import { IgcFilteringEventArgs } from './igc-filtering-event-args';
|
|
@@ -76,7 +77,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
76
77
|
|
|
77
78
|
|
|
78
79
|
|
|
79
|
-
/* blazorIndirectRender
|
|
80
|
+
/* blazorIndirectRender
|
|
80
81
|
blazorComponent
|
|
81
82
|
omitModule */
|
|
82
83
|
|
|
@@ -2123,6 +2124,20 @@ public set selectedRows(value: any[]);
|
|
|
2123
2124
|
|
|
2124
2125
|
|
|
2125
2126
|
|
|
2127
|
+
/**
|
|
2128
|
+
* Select range(s) of cells between certain rows and columns of the grid.
|
|
2129
|
+
*/
|
|
2130
|
+
public selectRange(arg: IgcGridSelectionRange[]): void;
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* Get the currently selected ranges in the grid.
|
|
2136
|
+
*/
|
|
2137
|
+
public getSelectedRanges(): IgcGridSelectionRange[];
|
|
2138
|
+
|
|
2139
|
+
|
|
2140
|
+
|
|
2126
2141
|
/**
|
|
2127
2142
|
*
|
|
2128
2143
|
* Returns an array of the current cell selection in the form of `[{ column.field: cell.value }, ...]`.
|
|
@@ -2148,7 +2163,7 @@ public set selectedRows(value: any[]);
|
|
|
2148
2163
|
|
|
2149
2164
|
|
|
2150
2165
|
|
|
2151
|
-
|
|
2166
|
+
|
|
2152
2167
|
/**
|
|
2153
2168
|
* Select specified columns.
|
|
2154
2169
|
*
|
|
@@ -2564,6 +2579,12 @@ rowEditExit: CustomEvent<IgcGridEditDoneEventArgs>;
|
|
|
2564
2579
|
*/
|
|
2565
2580
|
columnInit: CustomEvent<IgcColumnComponent>;
|
|
2566
2581
|
|
|
2582
|
+
/* blazorInclude */
|
|
2583
|
+
/**
|
|
2584
|
+
* @internal
|
|
2585
|
+
*/
|
|
2586
|
+
columnsAutogenerated: CustomEvent<IgcColumnsAutoGeneratedEventArgs>;
|
|
2587
|
+
|
|
2567
2588
|
/**
|
|
2568
2589
|
* Emitted before sorting expressions are applied.
|
|
2569
2590
|
*
|
|
@@ -401,7 +401,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
401
401
|
*
|
|
402
402
|
* @remarks
|
|
403
403
|
* Also allows for multiple columns to be grouped at once if an array of `ISortingExpression` is passed.
|
|
404
|
-
* The
|
|
404
|
+
* The `groupingDone` event would get raised only **once** if this method gets called multiple times with the same arguments.
|
|
405
405
|
* @example
|
|
406
406
|
* ```typescript
|
|
407
407
|
* this.grid.groupBy({ fieldName: name, dir: SortingDirection.Asc, ignoreCase: false });
|
|
@@ -605,7 +605,7 @@ dataPreLoad: CustomEvent<IgcForOfState>;
|
|
|
605
605
|
* Emitted when columns are grouped/ungrouped.
|
|
606
606
|
*
|
|
607
607
|
* @remarks
|
|
608
|
-
* The `
|
|
608
|
+
* The `groupingDone` event would be raised only once if several columns get grouped at once by calling
|
|
609
609
|
* the `groupBy()` or `clearGrouping()` API methods and passing an array as an argument.
|
|
610
610
|
* The event arguments provide the `expressions`, `groupedColumns` and `ungroupedColumns` properties, which contain
|
|
611
611
|
* the `ISortingExpression` and the `IgxColumnComponent` related to the grouping/ungrouping operation.
|
|
@@ -614,10 +614,10 @@ dataPreLoad: CustomEvent<IgcForOfState>;
|
|
|
614
614
|
* columns.
|
|
615
615
|
* @example
|
|
616
616
|
* ```html
|
|
617
|
-
* <igx-grid #grid [data]="localData" (
|
|
617
|
+
* <igx-grid #grid [data]="localData" (groupingDone)="groupingDone($event)" [autoGenerate]="true"></igx-grid>
|
|
618
618
|
* ```
|
|
619
619
|
*/
|
|
620
|
-
|
|
620
|
+
groupingDone: CustomEvent<IgcGroupingDoneEventArgs>;
|
|
621
621
|
|
|
622
622
|
}
|
|
623
623
|
|
|
@@ -15,7 +15,11 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
15
15
|
public set rowID(value: any);
|
|
16
16
|
public get rowID(): any;
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
// deprecated
|
|
19
|
+
public set primaryKey(value: any);
|
|
20
|
+
public get primaryKey(): any;
|
|
21
|
+
|
|
22
|
+
// in a major version, remove the deprecated `rowID` and migrate to `key`
|
|
19
23
|
public cellID?: { rowID: any; columnID: any; rowIndex: number; };
|
|
20
24
|
|
|
21
25
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { IgcBaseToolbarDirective } from './igc-base-toolbar-directive';
|
|
3
3
|
import { IgcExporterEvent } from './igc-exporter-event';
|
|
4
|
+
import { GridToolbarExporterType } from './grid-toolbar-exporter-type';
|
|
4
5
|
import { IgcToggleDirective } from './igc-toggle-directive';
|
|
5
6
|
import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from './common';
|
|
6
7
|
|
|
@@ -63,7 +64,7 @@ import { EventEmitterMixin, LitElement, Constructor, AbstractConstructor } from
|
|
|
63
64
|
|
|
64
65
|
|
|
65
66
|
/* alternateName: exportGrid */
|
|
66
|
-
public export(type:
|
|
67
|
+
public export(type: GridToolbarExporterType, toggleRef?: IgcToggleDirective): void;
|
|
67
68
|
|
|
68
69
|
}
|
|
69
70
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcFilteringOperand } from './igc-filtering-operand';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* csSuppress */
|
|
8
|
+
/**
|
|
9
|
+
* Provides filtering operations for numbers
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export declare class IgcNumberFilteringOperand extends IgcFilteringOperand
|
|
15
|
+
{
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|