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
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/* blazorElement */
|
|
7
7
|
/* blazorIndirectRender */
|
|
8
|
+
/* blazorAlternateBaseType: GridToolbarContent */
|
|
8
9
|
/* wcElementTag: igc-grid-toolbar-actions */
|
|
9
10
|
/**
|
|
10
11
|
* Provides a way to template the action portion of the toolbar in the grid.
|
|
@@ -20,7 +21,7 @@
|
|
|
20
21
|
* ```
|
|
21
22
|
*/
|
|
22
23
|
|
|
23
|
-
export declare class IgcGridToolbarActionsComponent
|
|
24
|
+
export declare class IgcGridToolbarActionsComponent extends HTMLElement
|
|
24
25
|
{
|
|
25
26
|
|
|
26
27
|
}
|
|
@@ -8,6 +8,7 @@ import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
|
8
8
|
/* blazorElement */
|
|
9
9
|
/* wcElementTag: igc-grid-toolbar-advanced-filtering */
|
|
10
10
|
/* blazorIndirectRender */
|
|
11
|
+
/* blazorAlternateBaseType: GridToolbarBaseAction */
|
|
11
12
|
/* jsonAPIManageItemInMarkup */
|
|
12
13
|
/**
|
|
13
14
|
* Provides a pre-configured button to open the advanced filtering dialog of the grid.
|
|
@@ -23,7 +24,7 @@ import { IgcOverlaySettings } from './igc-overlay-settings';
|
|
|
23
24
|
* ```
|
|
24
25
|
*/
|
|
25
26
|
|
|
26
|
-
export declare class IgcGridToolbarAdvancedFilteringComponent
|
|
27
|
+
export declare class IgcGridToolbarAdvancedFilteringComponent extends HTMLElement
|
|
27
28
|
{
|
|
28
29
|
|
|
29
30
|
|
|
@@ -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
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
/* blazorElement */
|
|
7
7
|
/* wcElementTag: igc-grid-toolbar-title */
|
|
8
|
+
/* blazorAlternateBaseType: GridToolbarContent */
|
|
8
9
|
/* blazorIndirectRender */
|
|
9
10
|
/**
|
|
10
11
|
* Provides a way to template the title portion of the toolbar in the grid.
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
* ```
|
|
19
20
|
*/
|
|
20
21
|
|
|
21
|
-
export declare class IgcGridToolbarTitleComponent
|
|
22
|
+
export declare class IgcGridToolbarTitleComponent extends HTMLElement
|
|
22
23
|
{
|
|
23
24
|
|
|
24
25
|
}
|
|
@@ -32,16 +32,14 @@ import { IgcColumnComponent } from './igc-column-component';
|
|
|
32
32
|
public get groupParent(): IgcGroupByRecord;
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
public
|
|
36
|
-
public get groups(): IgcGroupByRecord[];
|
|
35
|
+
public groups?: IgcGroupByRecord[];
|
|
37
36
|
|
|
38
37
|
|
|
39
38
|
public set height(value: number);
|
|
40
39
|
public get height(): number;
|
|
41
40
|
|
|
42
41
|
|
|
43
|
-
public
|
|
44
|
-
public get column(): IgcColumnComponent;
|
|
42
|
+
public column?: IgcColumnComponent;
|
|
45
43
|
|
|
46
44
|
}
|
|
47
45
|
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
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 IgcNumberSummaryOperand extends IgcSummaryOperand
|
|
13
|
+
{
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Returns the minimum numeric value in the provided data records.
|
|
18
|
+
* If filtering is applied, returns the minimum value in the filtered data records.
|
|
19
|
+
* ```typescript
|
|
20
|
+
* IgxNumberSummaryOperand.min(data);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @memberof IgxNumberSummaryOperand
|
|
24
|
+
*/
|
|
25
|
+
public static min(data: any[]): number;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Returns the maximum numeric value in the provided data records.
|
|
30
|
+
* If filtering is applied, returns the maximum value in the filtered data records.
|
|
31
|
+
* ```typescript
|
|
32
|
+
* IgxNumberSummaryOperand.max(data);
|
|
33
|
+
* ```
|
|
34
|
+
*
|
|
35
|
+
* @memberof IgxNumberSummaryOperand
|
|
36
|
+
*/
|
|
37
|
+
public static max(data: any[]): number;
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Returns the sum of the numeric values in the provided data records.
|
|
42
|
+
* If filtering is applied, returns the sum of the numeric values in the data records.
|
|
43
|
+
* ```typescript
|
|
44
|
+
* IgxNumberSummaryOperand.sum(data);
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @memberof IgxNumberSummaryOperand
|
|
48
|
+
*/
|
|
49
|
+
public static sum(data: any[]): number;
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Returns the average numeric value in the data provided data records.
|
|
54
|
+
* If filtering is applied, returns the average numeric value in the filtered data records.
|
|
55
|
+
* ```typescript
|
|
56
|
+
* IgxSummaryOperand.average(data);
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @memberof IgxNumberSummaryOperand
|
|
60
|
+
*/
|
|
61
|
+
public static average(data: any[]): number;
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Executes the static methods and returns `IgxSummaryResult[]`.
|
|
66
|
+
* ```typescript
|
|
67
|
+
* interface IgxSummaryResult {
|
|
68
|
+
* key: string;
|
|
69
|
+
* label: string;
|
|
70
|
+
* summaryResult: any;
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
73
|
+
* Can be overridden in the inherited classes to provide customization for the `summary`.
|
|
74
|
+
* ```typescript
|
|
75
|
+
* class CustomNumberSummary extends IgxNumberSummaryOperand {
|
|
76
|
+
* constructor() {
|
|
77
|
+
* super();
|
|
78
|
+
* }
|
|
79
|
+
* public operate(data: any[], allData: any[], fieldName: string, groupRecord: IGroupByRecord): IgxSummaryResult[] {
|
|
80
|
+
* const result = super.operate(data, allData, fieldName, groupRecord);
|
|
81
|
+
* result.push({
|
|
82
|
+
* key: "avg",
|
|
83
|
+
* label: "Avg",
|
|
84
|
+
* summaryResult: IgxNumberSummaryOperand.average(data)
|
|
85
|
+
* });
|
|
86
|
+
* result.push({
|
|
87
|
+
* key: 'mdn',
|
|
88
|
+
* label: 'Median',
|
|
89
|
+
* summaryResult: this.findMedian(data)
|
|
90
|
+
* });
|
|
91
|
+
* return result;
|
|
92
|
+
* }
|
|
93
|
+
* }
|
|
94
|
+
* this.grid.getColumnByName('ColumnName').summaries = CustomNumberSummary;
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @memberof IgxNumberSummaryOperand
|
|
98
|
+
*/
|
|
99
|
+
public operate(data?: any[], allData?: any[], fieldName?: string, groupRecord?: IgcGroupByRecord): IgcSummaryResult[];
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
@@ -13,33 +13,27 @@ import { IgcScrollStrategy } from './igc-scroll-strategy';
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
/** Attaching target for the component to show */
|
|
16
|
-
public
|
|
17
|
-
public get target(): HTMLElement | Point;
|
|
16
|
+
public target?: HTMLElement | Point;
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
/** Position strategy to use with these settings */
|
|
21
|
-
public
|
|
22
|
-
public get positionStrategy(): IgcPositionStrategy;
|
|
20
|
+
public positionStrategy?: IgcPositionStrategy;
|
|
23
21
|
|
|
24
22
|
|
|
25
23
|
/** Scroll strategy to use with these settings */
|
|
26
|
-
public
|
|
27
|
-
public get scrollStrategy(): IgcScrollStrategy;
|
|
24
|
+
public scrollStrategy?: IgcScrollStrategy;
|
|
28
25
|
|
|
29
26
|
|
|
30
27
|
/** Set if the overlay should be in modal mode */
|
|
31
|
-
public
|
|
32
|
-
public get modal(): boolean;
|
|
28
|
+
public modal?: boolean;
|
|
33
29
|
|
|
34
30
|
|
|
35
31
|
/** Set if the overlay should close on outside click */
|
|
36
|
-
public
|
|
37
|
-
public get closeOnOutsideClick(): boolean;
|
|
32
|
+
public closeOnOutsideClick?: boolean;
|
|
38
33
|
|
|
39
34
|
|
|
40
35
|
/** Set if the overlay should close when `Esc` key is pressed */
|
|
41
|
-
public
|
|
42
|
-
public get closeOnEscape(): boolean;
|
|
36
|
+
public closeOnEscape?: boolean;
|
|
43
37
|
|
|
44
38
|
}
|
|
45
39
|
|
|
@@ -7,28 +7,22 @@
|
|
|
7
7
|
{
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
public
|
|
11
|
-
public get igx_paginator_label(): string;
|
|
10
|
+
public igx_paginator_label?: string;
|
|
12
11
|
|
|
13
12
|
|
|
14
|
-
public
|
|
15
|
-
public get igx_paginator_pager_text(): string;
|
|
13
|
+
public igx_paginator_pager_text?: string;
|
|
16
14
|
|
|
17
15
|
|
|
18
|
-
public
|
|
19
|
-
public get igx_paginator_first_page_button_text(): string;
|
|
16
|
+
public igx_paginator_first_page_button_text?: string;
|
|
20
17
|
|
|
21
18
|
|
|
22
|
-
public
|
|
23
|
-
public get igx_paginator_previous_page_button_text(): string;
|
|
19
|
+
public igx_paginator_previous_page_button_text?: string;
|
|
24
20
|
|
|
25
21
|
|
|
26
|
-
public
|
|
27
|
-
public get igx_paginator_last_page_button_text(): string;
|
|
22
|
+
public igx_paginator_last_page_button_text?: string;
|
|
28
23
|
|
|
29
24
|
|
|
30
|
-
public
|
|
31
|
-
public get igx_paginator_next_page_button_text(): string;
|
|
25
|
+
public igx_paginator_next_page_button_text?: string;
|
|
32
26
|
|
|
33
27
|
}
|
|
34
28
|
|
|
@@ -22,13 +22,11 @@ import { IgcRowType } from './igc-row-type';
|
|
|
22
22
|
public get rowID(): any;
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
public
|
|
26
|
-
public get row(): IgcRowType;
|
|
25
|
+
public row?: IgcRowType;
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
/** The index at which to pin the row in the pinned rows collection. */
|
|
30
|
-
public
|
|
31
|
-
public get insertAtIndex(): number;
|
|
29
|
+
public insertAtIndex?: number;
|
|
32
30
|
|
|
33
31
|
|
|
34
32
|
/** Whether or not the row is pinned or unpinned. */
|
|
@@ -14,12 +14,10 @@ import { RowPinningPosition } from './row-pinning-position';
|
|
|
14
14
|
{
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
public
|
|
18
|
-
public get columns(): ColumnPinningPosition;
|
|
17
|
+
public columns?: ColumnPinningPosition;
|
|
19
18
|
|
|
20
19
|
|
|
21
|
-
public
|
|
22
|
-
public get rows(): RowPinningPosition;
|
|
20
|
+
public rows?: RowPinningPosition;
|
|
23
21
|
|
|
24
22
|
}
|
|
25
23
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
|
|
2
|
+
import { PivotAggregationType } from './pivot-aggregation-type';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
/* jsonAPIPlainObject */
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Interface describing a IPivotAggregator class.
|
|
10
|
+
* Used for specifying custom aggregator lists.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
export declare class IgcPivotAggregator
|
|
14
|
+
{
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/** Aggregation unique key. */
|
|
18
|
+
public set key(value: string);
|
|
19
|
+
public get key(): string;
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
/** Aggregation label to show in the UI. */
|
|
23
|
+
public set label(value: string);
|
|
24
|
+
public get label(): string;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Aggregation name that will be used from a list of predefined aggregations.
|
|
29
|
+
* If not set will use the specified aggregator function.
|
|
30
|
+
*/
|
|
31
|
+
public aggregatorName?: PivotAggregationType;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
/* csTreatAsEvent: AggregatorEventHandler */
|
|
36
|
+
/* blazorOnlyScript */
|
|
37
|
+
/**
|
|
38
|
+
* Aggregator function can be a custom implementation of `PivotAggregation`, or
|
|
39
|
+
* use predefined ones from `IgxPivotAggregate` and its variants.
|
|
40
|
+
*/
|
|
41
|
+
public aggregator?: (members: any[], data?: any[]) => any;
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcPivotDimensionStrategy } from './igc-pivot-dimension-strategy';
|
|
3
|
+
import { IgcPivotDimension } from './igc-pivot-dimension';
|
|
4
|
+
import { IgcPivotValue } from './igc-pivot-value';
|
|
5
|
+
import { IgcPivotKeys } from './igc-pivot-keys';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* jsonAPIPlainObject */
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Configuration of the pivot grid.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
export declare class IgcPivotConfiguration
|
|
16
|
+
{
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
/** A strategy to transform the rows. */
|
|
20
|
+
public rowStrategy?: IgcPivotDimensionStrategy;
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/** A strategy to transform the columns. */
|
|
24
|
+
public columnStrategy?: IgcPivotDimensionStrategy;
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
/* blazorTreatAsCollection */
|
|
28
|
+
/* blazorCollectionName: PivotDimensionCollection */
|
|
29
|
+
/** A list of the rows. */
|
|
30
|
+
public set rows(value: IgcPivotDimension[]);
|
|
31
|
+
public get rows(): IgcPivotDimension[];
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
/* blazorTreatAsCollection */
|
|
35
|
+
/* blazorCollectionName: PivotDimensionCollection */
|
|
36
|
+
/** A list of the columns. */
|
|
37
|
+
public set columns(value: IgcPivotDimension[]);
|
|
38
|
+
public get columns(): IgcPivotDimension[];
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
/* blazorTreatAsCollection */
|
|
42
|
+
/* blazorCollectionName: PivotValueCollection */
|
|
43
|
+
/** A list of the values. */
|
|
44
|
+
public set values(value: IgcPivotValue[]);
|
|
45
|
+
public get values(): IgcPivotValue[];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/* blazorTreatAsCollection */
|
|
49
|
+
/* blazorCollectionName: PivotDimensionCollection */
|
|
50
|
+
/** Dimensions to be displayed in the filter area. */
|
|
51
|
+
public filters?: IgcPivotDimension[];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/** Pivot data keys used for data generation. Can be used for custom remote scenarios where the data is pre-populated. */
|
|
55
|
+
public pivotKeys?: IgcPivotKeys;
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
|
|
2
|
+
import { IgcPivotGridComponent } from './igc-pivot-grid-component';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
/* blazorIndirectRender
|
|
8
|
+
blazorComponent */
|
|
9
|
+
/**
|
|
10
|
+
* Pivot Data Selector provides means to configure the pivot state of the Pivot Grid via a vertical panel UI
|
|
11
|
+
*
|
|
12
|
+
* @igxModule IgxPivotGridModule
|
|
13
|
+
* @igxGroup Grids & Lists
|
|
14
|
+
* @igxKeywords data selector, pivot, grid
|
|
15
|
+
* @igxTheme pivot-data-selector-theme
|
|
16
|
+
* @remarks
|
|
17
|
+
* The Ignite UI Data Selector has a searchable list with the grid data columns,
|
|
18
|
+
* there are also four expandable areas underneath for filters, rows, columns, and values
|
|
19
|
+
* is used for grouping and aggregating simple flat data into a pivot table.
|
|
20
|
+
* @example
|
|
21
|
+
* ```html
|
|
22
|
+
* <igx-pivot-grid #grid1 [data]="data" [pivotConfiguration]="configuration">
|
|
23
|
+
* </igx-pivot-grid>
|
|
24
|
+
* <igx-pivot-data-selector [grid]="grid1"></igx-pivot-data-selector>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
export declare class IgcPivotDataSelectorComponent
|
|
29
|
+
{
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Gets/sets whether the columns panel is expanded
|
|
35
|
+
* Get
|
|
36
|
+
* ```typescript
|
|
37
|
+
* const columnsPanelState: boolean = this.dataSelector.columnsExpanded;
|
|
38
|
+
* ```
|
|
39
|
+
* Set
|
|
40
|
+
* ```html
|
|
41
|
+
* <igx-pivot-data-selector [grid]="grid1" [columnsExpanded]="columnsPanelState"></igx-pivot-data-selector>
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* Two-way data binding:
|
|
45
|
+
* ```html
|
|
46
|
+
* <igx-pivot-data-selector [grid]="grid1" [(columnsExpanded)]="columnsPanelState"></igx-pivot-data-selector>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
public set columnsExpanded(value: boolean);
|
|
50
|
+
public get columnsExpanded(): boolean;
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Gets/sets whether the rows panel is expanded
|
|
56
|
+
* Get
|
|
57
|
+
* ```typescript
|
|
58
|
+
* const rowsPanelState: boolean = this.dataSelector.rowsExpanded;
|
|
59
|
+
* ```
|
|
60
|
+
* Set
|
|
61
|
+
* ```html
|
|
62
|
+
* <igx-pivot-data-selector [grid]="grid1" [rowsExpanded]="rowsPanelState"></igx-pivot-data-selector>
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* Two-way data binding:
|
|
66
|
+
* ```html
|
|
67
|
+
* <igx-pivot-data-selector [grid]="grid1" [(rowsExpanded)]="rowsPanelState"></igx-pivot-data-selector>
|
|
68
|
+
* ```
|
|
69
|
+
*/
|
|
70
|
+
public set rowsExpanded(value: boolean);
|
|
71
|
+
public get rowsExpanded(): boolean;
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Gets/sets whether the filters panel is expanded
|
|
77
|
+
* Get
|
|
78
|
+
* ```typescript
|
|
79
|
+
* const filtersPanelState: boolean = this.dataSelector.filtersExpanded;
|
|
80
|
+
* ```
|
|
81
|
+
* Set
|
|
82
|
+
* ```html
|
|
83
|
+
* <igx-pivot-data-selector [grid]="grid1" [filtersExpanded]="filtersPanelState"></igx-pivot-data-selector>
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* Two-way data binding:
|
|
87
|
+
* ```html
|
|
88
|
+
* <igx-pivot-data-selector [grid]="grid1" [(filtersExpanded)]="filtersPanelState"></igx-pivot-data-selector>
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
public set filtersExpanded(value: boolean);
|
|
92
|
+
public get filtersExpanded(): boolean;
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Gets/sets whether the values panel is expanded
|
|
98
|
+
* Get
|
|
99
|
+
* ```typescript
|
|
100
|
+
* const valuesPanelState: boolean = this.dataSelector.valuesExpanded;
|
|
101
|
+
* ```
|
|
102
|
+
* Set
|
|
103
|
+
* ```html
|
|
104
|
+
* <igx-pivot-data-selector [grid]="grid1" [valuesExpanded]="valuesPanelState"></igx-pivot-data-selector>
|
|
105
|
+
* ```
|
|
106
|
+
*
|
|
107
|
+
* Two-way data binding:
|
|
108
|
+
* ```html
|
|
109
|
+
* <igx-pivot-data-selector [grid]="grid1" [(valuesExpanded)]="valuesPanelState"></igx-pivot-data-selector>
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
public set valuesExpanded(value: boolean);
|
|
113
|
+
public get valuesExpanded(): boolean;
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
/* treatAsRef */
|
|
118
|
+
/**
|
|
119
|
+
* An @Input property that sets the grid.
|
|
120
|
+
*/
|
|
121
|
+
public set grid(value: IgcPivotGridComponent);
|
|
122
|
+
public get grid(): IgcPivotGridComponent;
|
|
123
|
+
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/* jsonAPIPlainObject */
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare class IgcPivotDateDimensionOptions
|
|
9
|
+
{
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
/** Enables/Disables total value of all periods. */
|
|
13
|
+
public total?: boolean;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/** Enables/Disables dimensions per year from provided periods. */
|
|
17
|
+
public years?: boolean;
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
/*/** Enables/Disables dimensions per quarter from provided periods. */
|
|
21
|
+
public quarters?: boolean;
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
/** Enables/Disables dimensions per month from provided periods. */
|
|
25
|
+
public months?: boolean;
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/** Enabled/Disables dimensions for the full date provided */
|
|
29
|
+
public fullDate?: boolean;
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|