igniteui-webcomponents-grids 4.0.4 → 4.2.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/bundles/igniteui-webcomponents-grids.umd.js +941 -593
- package/bundles/igniteui-webcomponents-grids.umd.min.js +1 -1
- 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 +552 -389
- package/esm2015/lib/ColumnChooserView_combined.js +9 -9
- package/esm2015/lib/ColumnGroupingView_combined.js +1 -1
- package/esm2015/lib/ColumnPinningView_combined.js +7 -7
- package/esm2015/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm2015/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm2015/lib/EditorCell.js +1 -1
- package/esm2015/lib/FilterCell.js +1 -1
- package/esm2015/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm2015/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- 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 +11 -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 +10 -10
- package/esm2015/lib/igc-checkbox-list-component.js +155 -50
- 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 +578 -375
- package/esm5/lib/ColumnChooserView_combined.js +9 -9
- package/esm5/lib/ColumnGroupingView_combined.js +1 -1
- package/esm5/lib/ColumnPinningView_combined.js +7 -7
- package/esm5/lib/ComparisonOperatorSelectorView_combined.js +1 -1
- package/esm5/lib/DataGridCellLayoutPanel.js +5 -5
- package/esm5/lib/EditorCell.js +1 -1
- package/esm5/lib/FilterCell.js +1 -1
- package/esm5/lib/GridColumnFilterOptionsView_combined.js +8 -8
- package/esm5/lib/GridColumnSummaryOptionsView_combined.js +2 -2
- 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 +11 -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 +10 -10
- package/esm5/lib/igc-checkbox-list-component.js +195 -50
- package/fesm2015/igniteui-webcomponents-grids.js +873 -605
- package/fesm5/igniteui-webcomponents-grids.js +939 -591
- package/grids/combined.js +160 -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 +9 -2
- package/grids/lib/igc-grid-component.d.ts +4 -4
- 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-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/CheckboxListView_combined.d.ts +120 -96
- package/lib/ComparisonOperatorSelectorView_combined.d.ts +1 -1
- package/lib/GridColumnSummaryOptionsView_combined.d.ts +1 -1
- package/lib/igc-checkbox-list-component.d.ts +40 -0
- package/package.json +4 -4
|
@@ -80,26 +80,7 @@ import { IgcPivotDateDimensionOptions } from './igc-pivot-date-dimension-options
|
|
|
80
80
|
public set options(value: IgcPivotDateDimensionOptions);
|
|
81
81
|
public get options(): IgcPivotDateDimensionOptions;
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* @deprecated since version 15.1.x. Please use the new name `baseDimension` for future versions.
|
|
87
|
-
*
|
|
88
|
-
* Gets the base dimension that is used by this class to determine the other dimensions and their values.
|
|
89
|
-
* Having base dimension set is required in order for the Date Dimensions to show.
|
|
90
|
-
*/
|
|
91
|
-
public get inBaseDimension(): IgcPivotDimension;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* @deprecated since version 15.1.x. Please use the new name `options` for future versions.
|
|
97
|
-
*
|
|
98
|
-
* Gets the options for the predefined date dimensions whether to show quarter, years and etc.
|
|
99
|
-
*/
|
|
100
|
-
public get inOptions(): IgcPivotDateDimensionOptions;
|
|
101
|
-
|
|
102
|
-
constructor(inBaseDimension?: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
|
|
83
|
+
constructor(inBaseDimension: IgcPivotDimension, inOptions?: IgcPivotDateDimensionOptions);
|
|
103
84
|
|
|
104
85
|
}
|
|
105
86
|
|
|
@@ -201,6 +201,18 @@ import { IgcFilteringExpressionsTree } from './igc-filtering-expressions-tree';
|
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
|
|
204
|
+
public get pivotContentCalcWidth(): number;
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
public get pivotPinnedWidth(): number;
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
public get pivotUnpinnedWidth(): number;
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
|
|
204
216
|
public get rowDimensions(): IgcPivotDimension[];
|
|
205
217
|
|
|
206
218
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
|
|
2
|
+
import { SortingOptionsMode } from './sorting-options-mode';
|
|
2
3
|
|
|
3
4
|
|
|
4
5
|
/* jsonAPIPlainObject */
|
|
@@ -9,8 +10,8 @@
|
|
|
9
10
|
{
|
|
10
11
|
|
|
11
12
|
|
|
12
|
-
public set mode(value:
|
|
13
|
-
public get mode():
|
|
13
|
+
public set mode(value: SortingOptionsMode);
|
|
14
|
+
public get mode(): SortingOptionsMode;
|
|
14
15
|
|
|
15
16
|
}
|
|
16
17
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcFilteringOperand } from './igc-filtering-operand';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* csSuppress */
|
|
8
|
+
/**
|
|
9
|
+
* Provides filtering operations for strings
|
|
10
|
+
*
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
export declare class IgcStringFilteringOperand extends IgcFilteringOperand
|
|
15
|
+
{
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Applies case sensitivity on strings if provided
|
|
21
|
+
*
|
|
22
|
+
* @memberof IgxStringFilteringOperand
|
|
23
|
+
*/
|
|
24
|
+
public static applyIgnoreCase(a: string, ignoreCase: boolean): string;
|
|
25
|
+
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcGroupByRecord } from './igc-group-by-record';
|
|
3
|
+
import { IgcSummaryResult } from './igc-summary-result';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* csSuppress */
|
|
9
|
+
|
|
10
|
+
export declare class IgcSummaryOperand
|
|
11
|
+
{
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Counts all the records in the data source.
|
|
16
|
+
* If filtering is applied, counts only the filtered records.
|
|
17
|
+
* ```typescript
|
|
18
|
+
* IgxSummaryOperand.count(dataSource);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @memberof IgxSummaryOperand
|
|
22
|
+
*/
|
|
23
|
+
public static count(data: any[]): number;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Executes the static `count` method and returns `IgxSummaryResult[]`.
|
|
28
|
+
* ```typescript
|
|
29
|
+
* interface IgxSummaryResult {
|
|
30
|
+
* key: string;
|
|
31
|
+
* label: string;
|
|
32
|
+
* summaryResult: any;
|
|
33
|
+
* }
|
|
34
|
+
* ```
|
|
35
|
+
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
36
|
+
* ```typescript
|
|
37
|
+
* class CustomSummary extends IgxSummaryOperand {
|
|
38
|
+
* constructor() {
|
|
39
|
+
* super();
|
|
40
|
+
* }
|
|
41
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
42
|
+
* const result = [];
|
|
43
|
+
* result.push({
|
|
44
|
+
* key: "test",
|
|
45
|
+
* label: "Test",
|
|
46
|
+
* summaryResult: IgxSummaryOperand.count(data)
|
|
47
|
+
* });
|
|
48
|
+
* return result;
|
|
49
|
+
* }
|
|
50
|
+
* }
|
|
51
|
+
* this.grid.getColumnByName('ColumnName').summaries = CustomSummary;
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @memberof IgxSummaryOperand
|
|
55
|
+
*/
|
|
56
|
+
public operate(data?: any[], _allData?: any[], _fieldName?: string, _groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
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 IgcTimeSummaryOperand extends IgcSummaryOperand
|
|
13
|
+
{
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Returns the latest time value in the data records. Compare only the time part of the date.
|
|
18
|
+
* If filtering is applied, returns the latest time value in the filtered data records.
|
|
19
|
+
* ```typescript
|
|
20
|
+
* IgxTimeSummaryOperand.latestTime(data);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @memberof IgxTimeSummaryOperand
|
|
24
|
+
*/
|
|
25
|
+
public static latestTime(data: any[]): void;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Returns the earliest time value in the data records. Compare only the time part of the date.
|
|
31
|
+
* If filtering is applied, returns the earliest time value in the filtered data records.
|
|
32
|
+
* ```typescript
|
|
33
|
+
* IgxTimeSummaryOperand.earliestTime(data);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @memberof IgxTimeSummaryOperand
|
|
37
|
+
*/
|
|
38
|
+
public static earliestTime(data: any[]): void;
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* @memberof IgxTimeSummaryOperand
|
|
43
|
+
*/
|
|
44
|
+
public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
|
|
45
|
+
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|