igniteui-webcomponents-grids 4.0.3 → 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 +1042 -654
- 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/ColumnFilterCondition_combined.js +1 -1
- 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/esm2015/lib/igc-data-grid-column-component.js +10 -6
- package/esm2015/lib/igc-data-grid-component.js +45 -27
- package/esm2015/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm2015/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm2015/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm2015/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm2015/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- 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/ColumnFilterCondition_combined.js +1 -1
- 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/esm5/lib/igc-data-grid-column-component.js +10 -6
- package/esm5/lib/igc-data-grid-component.js +45 -27
- package/esm5/lib/igc-grid-active-cell-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-column-width-changed-event-args.js +10 -6
- package/esm5/lib/igc-grid-custom-filter-requested-event-args.js +5 -3
- package/esm5/lib/igc-grid-filter-expressions-event-args.js +5 -3
- package/esm5/lib/igc-grid-group-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-sort-descriptions-changed-event-args.js +5 -3
- package/esm5/lib/igc-grid-summary-descriptions-changed-event-args.js +5 -3
- package/fesm2015/igniteui-webcomponents-grids.js +974 -666
- package/fesm5/igniteui-webcomponents-grids.js +1040 -652
- package/grids/combined.js +173 -91
- package/grids/index.d.ts +30 -0
- package/grids/index.js +1 -0
- package/grids/lib/column-pinning-position.d.ts +1 -0
- package/grids/lib/common.d.ts +0 -4
- package/grids/lib/filtering-expressions-tree-type.d.ts +1 -0
- package/grids/lib/filtering-logic.d.ts +1 -0
- package/grids/lib/grid-column-data-type.d.ts +1 -1
- package/grids/lib/grid-paging-mode.d.ts +1 -0
- package/grids/lib/grid-toolbar-exporter-type.d.ts +3 -0
- package/grids/lib/igc-action-strip-resource-strings.d.ts +1 -2
- package/grids/lib/igc-active-node-change-event-args.d.ts +1 -2
- package/grids/lib/igc-base-date-time-filtering-operand.d.ts +18 -0
- package/grids/lib/igc-base-event-args.d.ts +1 -2
- 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-type.d.ts +6 -12
- package/grids/lib/igc-column-component.d.ts +4 -3
- package/grids/lib/igc-column-exporting-event-args.d.ts +1 -2
- package/grids/lib/igc-column-group-component.d.ts +4 -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-dimensions-change.d.ts +30 -0
- package/grids/lib/igc-display-density-base.d.ts +1 -1
- package/grids/lib/igc-exporter-options-base.d.ts +18 -2
- package/grids/lib/igc-field-pipe-args.d.ts +6 -12
- package/grids/lib/igc-filtering-expression.d.ts +33 -0
- package/grids/lib/igc-filtering-expressions-tree.d.ts +8 -8
- package/grids/lib/igc-filtering-operand.d.ts +4 -2
- package/grids/lib/igc-filtering-operation.d.ts +5 -2
- package/grids/lib/igc-for-of-state.d.ts +2 -4
- package/grids/lib/igc-grid-action-button-component.d.ts +1 -1
- package/grids/lib/igc-grid-actions-base-directive.d.ts +1 -1
- package/grids/lib/igc-grid-base-directive.d.ts +34 -6
- package/grids/lib/igc-grid-component.d.ts +5 -5
- package/grids/lib/igc-grid-edit-done-event-args.d.ts +6 -12
- package/grids/lib/igc-grid-resource-strings.d.ts +166 -326
- package/grids/lib/igc-grid-toolbar-actions-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-advanced-filtering-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-exporter-component.d.ts +2 -1
- package/grids/lib/igc-grid-toolbar-title-component.d.ts +2 -1
- package/grids/lib/igc-grid-validation-state.d.ts +1 -2
- package/grids/lib/igc-group-by-record.d.ts +2 -4
- 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-overlay-settings.d.ts +6 -12
- package/grids/lib/igc-paginator-resource-strings.d.ts +6 -12
- package/grids/lib/igc-pin-row-event-args.d.ts +2 -4
- package/grids/lib/igc-pinning-config.d.ts +2 -4
- package/grids/lib/igc-pivot-aggregator.d.ts +46 -0
- package/grids/lib/igc-pivot-configuration.d.ts +60 -0
- package/grids/lib/igc-pivot-data-selector-component.d.ts +127 -0
- package/grids/lib/igc-pivot-date-dimension-options.d.ts +34 -0
- package/grids/lib/igc-pivot-date-dimension.d.ts +88 -0
- package/grids/lib/igc-pivot-dimension-strategy.d.ts +25 -0
- package/grids/lib/igc-pivot-dimension.d.ts +69 -0
- package/grids/lib/igc-pivot-grid-component.d.ts +492 -0
- package/grids/lib/igc-pivot-grid-value-template-context.d.ts +20 -0
- package/grids/lib/igc-pivot-keys.d.ts +47 -0
- package/grids/lib/igc-pivot-value.d.ts +65 -0
- package/grids/lib/igc-position-settings.d.ts +6 -12
- package/grids/lib/igc-row-data-event-args.d.ts +0 -5
- package/grids/lib/igc-row-selection-event-args.d.ts +3 -0
- package/grids/lib/igc-row-type.d.ts +19 -38
- package/grids/lib/igc-sorting-event-args.d.ts +2 -4
- package/grids/lib/igc-sorting-expression.d.ts +2 -4
- 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-summary-result.d.ts +1 -2
- 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/igc-tree-grid-component.d.ts +3 -2
- package/grids/lib/igc-tree-grid-record.d.ts +5 -10
- package/grids/lib/igc-values-change.d.ts +23 -0
- package/grids/lib/pivot-aggregation-type.d.ts +3 -0
- package/grids/lib/pivot-dimension-type.d.ts +17 -0
- package/grids/lib/row-pinning-position.d.ts +1 -0
- package/grids/lib/sorting-direction.d.ts +1 -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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/** Interface describing the Pivot data keys used for data generation.
|
|
8
|
+
* Can be used for custom remote scenarios where the data is pre-populated.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
export declare class IgcPivotKeys
|
|
12
|
+
{
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/** Field that stores children for hierarchy building. */
|
|
16
|
+
public set children(value: string);
|
|
17
|
+
public get children(): string;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/** Field that stores reference to the original data records. */
|
|
21
|
+
public set records(value: string);
|
|
22
|
+
public get records(): string;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
/** Field that stores aggregation values. */
|
|
26
|
+
public set aggregations(value: string);
|
|
27
|
+
public get aggregations(): string;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
/** Field that stores dimension level based on its hierarchy. */
|
|
31
|
+
public set level(value: string);
|
|
32
|
+
public get level(): string;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/** Separator used when generating the unique column field values. */
|
|
36
|
+
public set columnDimensionSeparator(value: string);
|
|
37
|
+
public get columnDimensionSeparator(): string;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/** Separator used when generating the unique row field values. */
|
|
41
|
+
public set rowDimensionSeparator(value: string);
|
|
42
|
+
public get rowDimensionSeparator(): string;
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcPivotAggregator } from './igc-pivot-aggregator';
|
|
3
|
+
import { GridColumnDataType } from './grid-column-data-type';
|
|
4
|
+
import { IgcPivotGridRecord } from './igc-pivot-grid-record';
|
|
5
|
+
import { IgcPivotGridColumn } from './igc-pivot-grid-column';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* jsonAPIPlainObject */
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Configuration of a pivot value aggregation.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export declare class IgcPivotValue
|
|
16
|
+
{
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/** Field name to use in order to extract value. */
|
|
20
|
+
public set member(value: string);
|
|
21
|
+
public get member(): string;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/** Display name to show instead of member for the column header of this value. **/
|
|
25
|
+
public displayName?: string;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Active aggregator definition with key, label and aggregator.
|
|
30
|
+
*/
|
|
31
|
+
public set aggregate(value: IgcPivotAggregator);
|
|
32
|
+
public get aggregate(): IgcPivotAggregator;
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/* blazorTreatAsCollection */
|
|
36
|
+
/* blazorCollectionName: PivotAggregatorCollection */
|
|
37
|
+
/**
|
|
38
|
+
* List of aggregates to show in aggregate drop-down.
|
|
39
|
+
*/
|
|
40
|
+
public aggregateList?: IgcPivotAggregator[];
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/** Enables/Disables a particular value from pivot aggregation. */
|
|
44
|
+
public set enabled(value: boolean);
|
|
45
|
+
public get enabled(): boolean;
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/** Allow conditionally styling of the IgxPivotGrid cells. */
|
|
49
|
+
public styles?: any;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/** Enables a data type specific template of the cells */
|
|
53
|
+
public dataType?: GridColumnDataType;
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
/* csTreatAsEvent: PivotValueFormatterEventHandler */
|
|
58
|
+
/* blazorOnlyScript */
|
|
59
|
+
/** Applies display format to cell values. */
|
|
60
|
+
public formatter?: (value: any, rowData?: IgcPivotGridRecord, columnData?: IgcPivotGridColumn) => any;
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
@@ -18,33 +18,27 @@ import { IgcSize } from './igc-size';
|
|
|
18
18
|
*
|
|
19
19
|
* Attaching target for the component to show
|
|
20
20
|
*/
|
|
21
|
-
public
|
|
22
|
-
public get target(): HTMLElement | Point;
|
|
21
|
+
public target?: HTMLElement | Point;
|
|
23
22
|
|
|
24
23
|
|
|
25
24
|
/** Direction in which the component should show */
|
|
26
|
-
public
|
|
27
|
-
public get horizontalDirection(): HorizontalAlignment;
|
|
25
|
+
public horizontalDirection?: HorizontalAlignment;
|
|
28
26
|
|
|
29
27
|
|
|
30
28
|
/** Direction in which the component should show */
|
|
31
|
-
public
|
|
32
|
-
public get verticalDirection(): VerticalAlignment;
|
|
29
|
+
public verticalDirection?: VerticalAlignment;
|
|
33
30
|
|
|
34
31
|
|
|
35
32
|
/** Target's starting point */
|
|
36
|
-
public
|
|
37
|
-
public get horizontalStartPoint(): HorizontalAlignment;
|
|
33
|
+
public horizontalStartPoint?: HorizontalAlignment;
|
|
38
34
|
|
|
39
35
|
|
|
40
36
|
/** Target's starting point */
|
|
41
|
-
public
|
|
42
|
-
public get verticalStartPoint(): VerticalAlignment;
|
|
37
|
+
public verticalStartPoint?: VerticalAlignment;
|
|
43
38
|
|
|
44
39
|
|
|
45
40
|
/** The size up to which element may shrink when shown in elastic position strategy */
|
|
46
|
-
public
|
|
47
|
-
public get minSize(): IgcSize;
|
|
41
|
+
public minSize?: IgcSize;
|
|
48
42
|
|
|
49
43
|
}
|
|
50
44
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
import { IgcBaseEventArgs } from './igc-base-event-args';
|
|
3
|
-
import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
4
3
|
|
|
5
4
|
|
|
6
5
|
/* jsonAPIPlainObject */
|
|
@@ -13,10 +12,6 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
13
12
|
public set data(value: any);
|
|
14
13
|
public get data(): any;
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
public set owner(value: IgcGridBaseDirective);
|
|
18
|
-
public get owner(): IgcGridBaseDirective;
|
|
19
|
-
|
|
20
15
|
}
|
|
21
16
|
|
|
22
17
|
|
|
@@ -23,81 +23,62 @@ import { IgcGridBaseDirective } from './igc-grid-base-directive';
|
|
|
23
23
|
public get viewIndex(): number;
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
public
|
|
27
|
-
public get isGroupByRow(): boolean;
|
|
26
|
+
public isGroupByRow?: boolean;
|
|
28
27
|
|
|
29
28
|
|
|
30
|
-
public
|
|
31
|
-
public get isSummaryRow(): boolean;
|
|
29
|
+
public isSummaryRow?: boolean;
|
|
32
30
|
|
|
33
31
|
|
|
34
|
-
public
|
|
35
|
-
public get groupRow(): IgcGroupByRecord;
|
|
32
|
+
public groupRow?: IgcGroupByRecord;
|
|
36
33
|
|
|
37
34
|
|
|
38
|
-
public
|
|
39
|
-
public get key(): any;
|
|
35
|
+
public key?: any;
|
|
40
36
|
|
|
41
37
|
|
|
42
|
-
public
|
|
43
|
-
public get validation(): IgcGridValidationState;
|
|
38
|
+
public validation?: IgcGridValidationState;
|
|
44
39
|
|
|
45
40
|
|
|
46
|
-
public
|
|
47
|
-
public get data(): any;
|
|
41
|
+
public data?: any;
|
|
48
42
|
|
|
49
43
|
|
|
50
|
-
public
|
|
51
|
-
public get cells(): IgcCellType[];
|
|
44
|
+
public cells?: IgcCellType[];
|
|
52
45
|
|
|
53
46
|
|
|
54
|
-
public
|
|
55
|
-
public get disabled(): boolean;
|
|
47
|
+
public disabled?: boolean;
|
|
56
48
|
|
|
57
49
|
|
|
58
|
-
public
|
|
59
|
-
public get pinned(): boolean;
|
|
50
|
+
public pinned?: boolean;
|
|
60
51
|
|
|
61
52
|
|
|
62
|
-
public
|
|
63
|
-
public get selected(): boolean;
|
|
53
|
+
public selected?: boolean;
|
|
64
54
|
|
|
65
55
|
|
|
66
|
-
public
|
|
67
|
-
public get expanded(): boolean;
|
|
56
|
+
public expanded?: boolean;
|
|
68
57
|
|
|
69
58
|
|
|
70
|
-
public
|
|
71
|
-
public get deleted(): boolean;
|
|
59
|
+
public deleted?: boolean;
|
|
72
60
|
|
|
73
61
|
|
|
74
|
-
public
|
|
75
|
-
public get inEditMode(): boolean;
|
|
62
|
+
public inEditMode?: boolean;
|
|
76
63
|
|
|
77
64
|
|
|
78
|
-
public
|
|
79
|
-
public get children(): IgcRowType[];
|
|
65
|
+
public children?: IgcRowType[];
|
|
80
66
|
|
|
81
67
|
|
|
82
68
|
/* blazorAlternateName: RowParent */
|
|
83
|
-
public
|
|
84
|
-
public get parent(): IgcRowType;
|
|
69
|
+
public parent?: IgcRowType;
|
|
85
70
|
|
|
86
71
|
|
|
87
|
-
public
|
|
88
|
-
public get hasChildren(): boolean;
|
|
72
|
+
public hasChildren?: boolean;
|
|
89
73
|
|
|
90
74
|
|
|
91
|
-
public
|
|
92
|
-
public get treeRow(): IgcTreeGridRecord;
|
|
75
|
+
public treeRow?: IgcTreeGridRecord;
|
|
93
76
|
|
|
94
77
|
|
|
95
|
-
public
|
|
96
|
-
public get addRowUI(): boolean;
|
|
78
|
+
public addRowUI?: boolean;
|
|
97
79
|
|
|
98
80
|
|
|
99
|
-
public
|
|
100
|
-
public get focused(): boolean;
|
|
81
|
+
public focused?: boolean;
|
|
101
82
|
|
|
102
83
|
|
|
103
84
|
public set grid(value: IgcGridBaseDirective);
|
|
@@ -12,12 +12,10 @@ import { IgcGroupingExpression } from './igc-grouping-expression';
|
|
|
12
12
|
{
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
public
|
|
16
|
-
public get sortingExpressions(): IgcSortingExpression[];
|
|
15
|
+
public sortingExpressions?: IgcSortingExpression[];
|
|
17
16
|
|
|
18
17
|
|
|
19
|
-
public
|
|
20
|
-
public get groupingExpressions(): IgcGroupingExpression[];
|
|
18
|
+
public groupingExpressions?: IgcGroupingExpression[];
|
|
21
19
|
|
|
22
20
|
}
|
|
23
21
|
|
|
@@ -22,12 +22,10 @@ import { IgcSortingStrategy } from './igc-sorting-strategy';
|
|
|
22
22
|
public get dir(): SortingDirection;
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
public
|
|
26
|
-
public get ignoreCase(): boolean;
|
|
25
|
+
public ignoreCase?: boolean;
|
|
27
26
|
|
|
28
27
|
|
|
29
|
-
public
|
|
30
|
-
public get strategy(): IgcSortingStrategy;
|
|
28
|
+
public strategy?: IgcSortingStrategy;
|
|
31
29
|
|
|
32
30
|
}
|
|
33
31
|
|
|
@@ -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
|
+
|
|
@@ -174,6 +174,7 @@ import { IgcRowType } from './igc-row-type';
|
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
|
|
177
|
+
|
|
177
178
|
/**
|
|
178
179
|
* Returns an array of objects containing the filtered data in the `IgxGridComponent`.
|
|
179
180
|
* ```typescript
|
|
@@ -294,7 +295,7 @@ import { IgcRowType } from './igc-row-type';
|
|
|
294
295
|
|
|
295
296
|
|
|
296
297
|
|
|
297
|
-
|
|
298
|
+
/* blazorCSSuppress */
|
|
298
299
|
/**
|
|
299
300
|
* Creates a new `IgxTreeGridRowComponent` with the given data. If a parentRowID is not specified, the newly created
|
|
300
301
|
* row would be added at the root level. Otherwise, it would be added as a child of the row whose primaryKey matches
|
|
@@ -340,7 +341,7 @@ import { IgcRowType } from './igc-row-type';
|
|
|
340
341
|
|
|
341
342
|
|
|
342
343
|
/**
|
|
343
|
-
* @
|
|
344
|
+
* @inheritDoc
|
|
344
345
|
*/
|
|
345
346
|
public getSelectedData(formatters?: boolean, headers?: boolean): any[];
|
|
346
347
|
|
|
@@ -17,25 +17,20 @@
|
|
|
17
17
|
public get data(): any;
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
public
|
|
21
|
-
public get children(): IgcTreeGridRecord[];
|
|
20
|
+
public children?: IgcTreeGridRecord[];
|
|
22
21
|
|
|
23
22
|
|
|
24
23
|
/* blazorAlternateName: RecordParent */
|
|
25
|
-
public
|
|
26
|
-
public get parent(): IgcTreeGridRecord;
|
|
24
|
+
public parent?: IgcTreeGridRecord;
|
|
27
25
|
|
|
28
26
|
|
|
29
|
-
public
|
|
30
|
-
public get level(): number;
|
|
27
|
+
public level?: number;
|
|
31
28
|
|
|
32
29
|
|
|
33
|
-
public
|
|
34
|
-
public get isFilteredOutParent(): boolean;
|
|
30
|
+
public isFilteredOutParent?: boolean;
|
|
35
31
|
|
|
36
32
|
|
|
37
|
-
public
|
|
38
|
-
public get expanded(): boolean;
|
|
33
|
+
public expanded?: boolean;
|
|
39
34
|
|
|
40
35
|
}
|
|
41
36
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcPivotValue } from './igc-pivot-value';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* jsonAPIPlainObject */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Event emitted when values list is changed.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
export declare class IgcValuesChange
|
|
13
|
+
{
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/** The new list of values. */
|
|
17
|
+
public set values(value: IgcPivotValue[]);
|
|
18
|
+
public get values(): IgcPivotValue[];
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|