@progress/kendo-angular-pivotgrid 0.1.5 → 0.2.0-dev.202208181339
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/kendo-angular-pivotgrid.umd.js +1 -1
- package/configurator/configurator.component.d.ts +96 -0
- package/configurator/configurator.service.d.ts +17 -0
- package/configurator/draggable.directive.d.ts +32 -0
- package/configurator/drop-cue.service.d.ts +22 -0
- package/configurator/drop-target.directive.d.ts +32 -0
- package/data-binding/base-binding-directive.d.ts +27 -5
- package/data-binding/local-binding.directive.d.ts +8 -1
- package/data-binding/olap-binding.directive.d.ts +13 -1
- package/data-binding/pivotgrid-data.service.d.ts +13 -4
- package/esm2015/configurator/configurator.component.js +512 -0
- package/esm2015/configurator/configurator.service.js +38 -0
- package/esm2015/configurator/draggable.directive.js +94 -0
- package/esm2015/configurator/drop-cue.service.js +64 -0
- package/esm2015/configurator/drop-target.directive.js +82 -0
- package/esm2015/data-binding/base-binding-directive.js +68 -9
- package/esm2015/data-binding/local-binding.directive.js +20 -8
- package/esm2015/data-binding/olap-binding.directive.js +131 -6
- package/esm2015/data-binding/pivotgrid-data.service.js +26 -3
- package/esm2015/localization/custom-messages.component.js +41 -0
- package/esm2015/localization/localized-messages.directive.js +36 -0
- package/esm2015/localization/messages.js +71 -0
- package/esm2015/main.js +8 -0
- package/esm2015/models/configuration-change-event.js +18 -0
- package/esm2015/models/configurator-settings.js +14 -0
- package/esm2015/models/expanded-change-event.js +18 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pivotgrid.component.js +350 -59
- package/esm2015/pivotgrid.module.js +43 -16
- package/esm2015/rendering/pivotgrid-cell.directive.js +6 -3
- package/esm2015/rendering/pivotgrid-table.component.js +38 -13
- package/esm2015/util.js +86 -0
- package/fesm2015/kendo-angular-pivotgrid.js +1744 -198
- package/localization/custom-messages.component.d.ts +18 -0
- package/localization/localized-messages.directive.d.ts +16 -0
- package/localization/messages.d.ts +160 -0
- package/main.d.ts +6 -0
- package/models/configuration-change-event.d.ts +36 -0
- package/models/configurator-settings.d.ts +32 -0
- package/models/expanded-change-event.d.ts +27 -0
- package/package.json +12 -6
- package/pivotgrid.component.d.ts +34 -3
- package/pivotgrid.module.d.ts +15 -7
- package/rendering/pivotgrid-table.component.d.ts +5 -3
- package/util.d.ts +31 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { PivotGridMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* Custom component messages override default component messages
|
|
10
|
+
* ([see example]({% slug globalization_pivotgrid %}#toc-localization)).
|
|
11
|
+
*/
|
|
12
|
+
export declare class CustomMessagesComponent extends PivotGridMessages {
|
|
13
|
+
protected service: LocalizationService;
|
|
14
|
+
constructor(service: LocalizationService);
|
|
15
|
+
protected get override(): boolean;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CustomMessagesComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CustomMessagesComponent, "kendo-pivotgrid-messages", never, {}, {}, never, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import { PivotGridMessages } from './messages';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export declare class LocalizedMessagesDirective extends PivotGridMessages {
|
|
12
|
+
protected service: LocalizationService;
|
|
13
|
+
constructor(service: LocalizationService);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedMessagesDirective, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedMessagesDirective, "[kendoPivotGridLocalizedMessages]", never, {}, {}, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class PivotGridMessages extends ComponentMessages {
|
|
11
|
+
/**
|
|
12
|
+
* The text content of the filter item in the column and row fields menu.
|
|
13
|
+
*/
|
|
14
|
+
fieldMenuFilterItemLabel: string;
|
|
15
|
+
/**
|
|
16
|
+
* The text content of the sort ascending item in the column and row fields menu.
|
|
17
|
+
*/
|
|
18
|
+
fieldMenuSortAscendingItemLabel: string;
|
|
19
|
+
/**
|
|
20
|
+
* The text content of the sort descending item in the column and row fields menu.
|
|
21
|
+
*/
|
|
22
|
+
fieldMenuSortDescendingItemLabel: string;
|
|
23
|
+
/**
|
|
24
|
+
* The label of the filter input.
|
|
25
|
+
*
|
|
26
|
+
* The filter input label consists of a two-part message - the name(s) of the fields and a localizable string.
|
|
27
|
+
* For fields named '[Geography][City]', the default label will be 'Geography City Filter'.
|
|
28
|
+
*
|
|
29
|
+
* To allow reordering the field name(s) and the localizable part, the filterInputLabel accepts a string with a
|
|
30
|
+
* placeholder for the fields - e.g. 'filter for {fields}'. The '{fields}' placeholder will be replaced
|
|
31
|
+
* internally with the current field(s) name(s), and the resulting label will be rendered as 'filter for Geography City'.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
*
|
|
35
|
+
* ```ts-no-run
|
|
36
|
+
* <kendo-pivotgrid>
|
|
37
|
+
* <kendo-pivotgrid-messages
|
|
38
|
+
* filterInputLabel="filter for {fields}"
|
|
39
|
+
* >
|
|
40
|
+
* </kendo-pivotgrid-messages>
|
|
41
|
+
* </kendo-pivotgrid>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
filterInputLabel: string;
|
|
45
|
+
/**
|
|
46
|
+
* The label of the filter operators DropDownList.
|
|
47
|
+
*
|
|
48
|
+
* The label consists of a two-part message - the name(s) of the fields and a localizable string.
|
|
49
|
+
* For fields named '[Geography][City]', the default label will be 'Geography City Filter Operators'.
|
|
50
|
+
*
|
|
51
|
+
* To allow reordering the field name(s) and the localizable part, the filterMenuOperatorsDropDownLabel accepts a string with a
|
|
52
|
+
* placeholder for the fields - e.g. 'filter operators for {fields}'. The '{fields}' placeholder will be replaced
|
|
53
|
+
* internally with the current field(s) name(s), and the resulting label will be rendered as 'filter operators for Geography City'.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
*
|
|
57
|
+
* ```ts-no-run
|
|
58
|
+
* <kendo-pivotgrid>
|
|
59
|
+
* <kendo-pivotgrid-messages
|
|
60
|
+
* filterMenuOperatorsDropDownLabel="filter operators for {fields}"
|
|
61
|
+
* >
|
|
62
|
+
* </kendo-pivotgrid-messages>
|
|
63
|
+
* </kendo-pivotgrid>
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
filterOperatorsDropDownLabel: string;
|
|
67
|
+
/**
|
|
68
|
+
* The text of the `Equal` (**Is equal to**) filter operator.
|
|
69
|
+
*/
|
|
70
|
+
filterEqOperator: string;
|
|
71
|
+
/**
|
|
72
|
+
* The text of the `NotEqual` (**Is not equal to**) filter operator.
|
|
73
|
+
*/
|
|
74
|
+
filterNotEqOperator: string;
|
|
75
|
+
/**
|
|
76
|
+
* The text of the `IsNull` (**Is null**) filter operator.
|
|
77
|
+
*/
|
|
78
|
+
filterIsNullOperator: string;
|
|
79
|
+
/**
|
|
80
|
+
* The text of the `IsNotNull` (**Is not null**) filter operator.
|
|
81
|
+
*/
|
|
82
|
+
filterIsNotNullOperator: string;
|
|
83
|
+
/**
|
|
84
|
+
* The text of the `IsEmpty` (**Is empty**) filter operator.
|
|
85
|
+
*/
|
|
86
|
+
filterIsEmptyOperator: string;
|
|
87
|
+
/**
|
|
88
|
+
* The text of the `IsNotEmpty` (**Is not empty**) filter operator.
|
|
89
|
+
*/
|
|
90
|
+
filterIsNotEmptyOperator: string;
|
|
91
|
+
/**
|
|
92
|
+
* The text of the `StartsWith` (**Starts with**) filter operator.
|
|
93
|
+
*/
|
|
94
|
+
filterStartsWithOperator: string;
|
|
95
|
+
/**
|
|
96
|
+
* The text of the `Contains` (**Contains**) filter operator.
|
|
97
|
+
*/
|
|
98
|
+
filterContainsOperator: string;
|
|
99
|
+
/**
|
|
100
|
+
* The text of the `DoesNotContain` (**Does not contain**) filter operator.
|
|
101
|
+
*/
|
|
102
|
+
filterNotContainsOperator: string;
|
|
103
|
+
/**
|
|
104
|
+
* The text of the `EndsWith` (**Ends with**) string filter operator.
|
|
105
|
+
*/
|
|
106
|
+
filterEndsWithOperator: string;
|
|
107
|
+
/**
|
|
108
|
+
* The text of the **Filter** button.
|
|
109
|
+
*/
|
|
110
|
+
filterFilterButton: string;
|
|
111
|
+
/**
|
|
112
|
+
* The text of the **Clear filter** button.
|
|
113
|
+
*/
|
|
114
|
+
filterClearButton: string;
|
|
115
|
+
/**
|
|
116
|
+
* The loading text.
|
|
117
|
+
*
|
|
118
|
+
* > The `loading` property is part of the accessibility support of the PivotGrid.
|
|
119
|
+
* Its value is detectable by screen readers and is not otherwise visible.
|
|
120
|
+
*/
|
|
121
|
+
loading: string;
|
|
122
|
+
/**
|
|
123
|
+
* The value of the aria-label attribute placed on the PivotGrid focusable empty cell element.
|
|
124
|
+
*/
|
|
125
|
+
emptyCellLabel: string;
|
|
126
|
+
/**
|
|
127
|
+
* The text content of the button that opens and closes the PivotGrid configurator.
|
|
128
|
+
*/
|
|
129
|
+
configuratorButtonText: string;
|
|
130
|
+
/**
|
|
131
|
+
* The text content of the PivotGrid configurator title element.
|
|
132
|
+
*/
|
|
133
|
+
configuratorHeaderText: string;
|
|
134
|
+
/**
|
|
135
|
+
* The text content of the PivotGrid configurator fields section title element.
|
|
136
|
+
*/
|
|
137
|
+
configuratorFieldsText: string;
|
|
138
|
+
/**
|
|
139
|
+
* The text content of the PivotGrid configurator columns section title element.
|
|
140
|
+
*/
|
|
141
|
+
configuratorColumnsText: string;
|
|
142
|
+
/**
|
|
143
|
+
* The text content of the PivotGrid configurator rows section title element.
|
|
144
|
+
*/
|
|
145
|
+
configuratorRowsText: string;
|
|
146
|
+
/**
|
|
147
|
+
* The text content of the PivotGrid configurator values section title element.
|
|
148
|
+
*/
|
|
149
|
+
configuratorValuesText: string;
|
|
150
|
+
/**
|
|
151
|
+
* The text content of the PivotGrid configurator Cancel button.
|
|
152
|
+
*/
|
|
153
|
+
configuratorCancelButtonText: string;
|
|
154
|
+
/**
|
|
155
|
+
* The text content of the PivotGrid configurator Apply button.
|
|
156
|
+
*/
|
|
157
|
+
configuratorApplyButtonText: string;
|
|
158
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridMessages, never>;
|
|
159
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PivotGridMessages, never, never, { "fieldMenuFilterItemLabel": "fieldMenuFilterItemLabel"; "fieldMenuSortAscendingItemLabel": "fieldMenuSortAscendingItemLabel"; "fieldMenuSortDescendingItemLabel": "fieldMenuSortDescendingItemLabel"; "filterInputLabel": "filterInputLabel"; "filterOperatorsDropDownLabel": "filterOperatorsDropDownLabel"; "filterEqOperator": "filterEqOperator"; "filterNotEqOperator": "filterNotEqOperator"; "filterIsNullOperator": "filterIsNullOperator"; "filterIsNotNullOperator": "filterIsNotNullOperator"; "filterIsEmptyOperator": "filterIsEmptyOperator"; "filterIsNotEmptyOperator": "filterIsNotEmptyOperator"; "filterStartsWithOperator": "filterStartsWithOperator"; "filterContainsOperator": "filterContainsOperator"; "filterNotContainsOperator": "filterNotContainsOperator"; "filterEndsWithOperator": "filterEndsWithOperator"; "filterFilterButton": "filterFilterButton"; "filterClearButton": "filterClearButton"; "loading": "loading"; "emptyCellLabel": "emptyCellLabel"; "configuratorButtonText": "configuratorButtonText"; "configuratorHeaderText": "configuratorHeaderText"; "configuratorFieldsText": "configuratorFieldsText"; "configuratorColumnsText": "configuratorColumnsText"; "configuratorRowsText": "configuratorRowsText"; "configuratorValuesText": "configuratorValuesText"; "configuratorCancelButtonText": "configuratorCancelButtonText"; "configuratorApplyButtonText": "configuratorApplyButtonText"; }, {}, never>;
|
|
160
|
+
}
|
package/main.d.ts
CHANGED
|
@@ -6,6 +6,12 @@ export { PivotGridComponent } from './pivotgrid.component';
|
|
|
6
6
|
export { PivotGridModule } from './pivotgrid.module';
|
|
7
7
|
export { PivotGridCellDirective } from './rendering/pivotgrid-cell.directive';
|
|
8
8
|
export { PivotGridTableComponent } from './rendering/pivotgrid-table.component';
|
|
9
|
+
export { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
10
|
+
export { PivotGridConfiguratorComponent } from './configurator/configurator.component';
|
|
9
11
|
export { PivotLocalBindingDirective } from './data-binding/local-binding.directive';
|
|
10
12
|
export { PivotOLAPBindingDirective } from './data-binding/olap-binding.directive';
|
|
13
|
+
export { DraggableChipDirective } from './configurator/draggable.directive';
|
|
14
|
+
export { DropTargetDirective } from './configurator/drop-target.directive';
|
|
15
|
+
export { ExpandChangeEvent } from './models/expanded-change-event';
|
|
16
|
+
export { ConfigurationChangeEvent } from './models/configuration-change-event';
|
|
11
17
|
export { PivotGridAxis, PivotGridField, AxisDataItem, DimensionField, HierarchyField, KPIField, KPIMeasureField, LevelField, MeasureField, MemberField, PivotDataItem, sumAggregate, averageAggregate, minAggregate, maxAggregate, Aggregate, Dimension, Measure } from '@progress/kendo-pivotgrid-common';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
+
import { FilterDescriptor, SortDescriptor } from "@progress/kendo-data-query";
|
|
7
|
+
import { PivotGridAxis } from "@progress/kendo-pivotgrid-common";
|
|
8
|
+
/**
|
|
9
|
+
* The event data for the ConfigurationChangeEvent
|
|
10
|
+
*/
|
|
11
|
+
export declare class ConfigurationChangeEvent extends PreventableEvent {
|
|
12
|
+
/**
|
|
13
|
+
* The current row axes configuration, resulting from the end user interaction.
|
|
14
|
+
*/
|
|
15
|
+
rowAxes: PivotGridAxis[];
|
|
16
|
+
/**
|
|
17
|
+
* The current column axes configuration, resulting from the end user interaction.
|
|
18
|
+
*/
|
|
19
|
+
columnAxes: PivotGridAxis[];
|
|
20
|
+
/**
|
|
21
|
+
* The measure axes configuration.
|
|
22
|
+
*/
|
|
23
|
+
measureAxes: PivotGridAxis[];
|
|
24
|
+
/**
|
|
25
|
+
* The sorting configuration.
|
|
26
|
+
*/
|
|
27
|
+
sort?: SortDescriptor[];
|
|
28
|
+
/**
|
|
29
|
+
* The filtering configuration.
|
|
30
|
+
*/
|
|
31
|
+
filter?: FilterDescriptor[];
|
|
32
|
+
/**
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
constructor(args?: any);
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PivotGridAxis } from "@progress/kendo-pivotgrid-common";
|
|
6
|
+
/**
|
|
7
|
+
* Allows customizing the PivotGrid Configurator layout.
|
|
8
|
+
*/
|
|
9
|
+
export interface ConfiguratorSettings {
|
|
10
|
+
/**
|
|
11
|
+
* Sets the configurator position in the container.
|
|
12
|
+
* The available values are:
|
|
13
|
+
* - top
|
|
14
|
+
* - left
|
|
15
|
+
* - right
|
|
16
|
+
* - bottom
|
|
17
|
+
*/
|
|
18
|
+
position?: 'top' | 'left' | 'right' | 'bottom';
|
|
19
|
+
/**
|
|
20
|
+
* Renders the PivotGridConfigurator in `horizontal` orientation.
|
|
21
|
+
*/
|
|
22
|
+
horizontal?: boolean;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @hidden
|
|
26
|
+
*/
|
|
27
|
+
export declare class PivotGridState {
|
|
28
|
+
columnAxes?: PivotGridAxis[];
|
|
29
|
+
rowAxes?: PivotGridAxis[];
|
|
30
|
+
measureAxes?: PivotGridAxis[];
|
|
31
|
+
constructor(columnAxes: PivotGridAxis[], rowAxes: PivotGridAxis[], measureAxes: PivotGridAxis[]);
|
|
32
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { PreventableEvent } from "@progress/kendo-angular-common";
|
|
6
|
+
import { PivotGridAxis } from "@progress/kendo-pivotgrid-common";
|
|
7
|
+
/**
|
|
8
|
+
* The event data for the ExpandChangeEvent
|
|
9
|
+
*/
|
|
10
|
+
export declare class ExpandChangeEvent extends PreventableEvent {
|
|
11
|
+
/**
|
|
12
|
+
* The current row axes configuration, resulting from the end user interaction.
|
|
13
|
+
*/
|
|
14
|
+
rowAxes: PivotGridAxis[];
|
|
15
|
+
/**
|
|
16
|
+
* The current column axes configuration, resulting from the end user interaction.
|
|
17
|
+
*/
|
|
18
|
+
columnAxes: PivotGridAxis[];
|
|
19
|
+
/**
|
|
20
|
+
* The measure axes configuration.
|
|
21
|
+
*/
|
|
22
|
+
measureAxes: PivotGridAxis[];
|
|
23
|
+
/**
|
|
24
|
+
* @hidden
|
|
25
|
+
*/
|
|
26
|
+
constructor(args?: any);
|
|
27
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-dev.202208181339",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@progress/kendo-pivotgrid-common": "0.2.1",
|
|
25
|
+
"@telerik/kendo-draggable": "^2.0.0",
|
|
25
26
|
"@progress/kendo-schematics": "^3.0.0",
|
|
26
27
|
"tslib": "^2.3.1"
|
|
27
28
|
},
|
|
@@ -31,11 +32,16 @@
|
|
|
31
32
|
"@angular/core": "12 - 14",
|
|
32
33
|
"@angular/forms": "12 - 14",
|
|
33
34
|
"@progress/kendo-angular-common": "^3.0.0",
|
|
34
|
-
"@progress/kendo-
|
|
35
|
+
"@progress/kendo-angular-buttons": "^8.0.0",
|
|
35
36
|
"@progress/kendo-angular-indicators": "^2.0.0",
|
|
36
37
|
"@progress/kendo-angular-intl": "^4.0.0",
|
|
38
|
+
"@progress/kendo-angular-inputs": "^9.0.3",
|
|
37
39
|
"@progress/kendo-angular-l10n": "^4.0.0",
|
|
40
|
+
"@progress/kendo-angular-popup": "^5.0.0",
|
|
41
|
+
"@progress/kendo-angular-treeview": "^7.1.0",
|
|
42
|
+
"@progress/kendo-data-query": "^1.5.5",
|
|
38
43
|
"@progress/kendo-licensing": "^1.0.0",
|
|
44
|
+
"@progress/kendo-drawing": "^1.16.3",
|
|
39
45
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
40
46
|
},
|
|
41
47
|
"config": {
|
|
@@ -70,11 +76,11 @@
|
|
|
70
76
|
"fallbackTags": {
|
|
71
77
|
"dev": "latest"
|
|
72
78
|
},
|
|
73
|
-
"analyzeCommits": "@
|
|
79
|
+
"analyzeCommits": "@progress/semantic-prerelease/analyzeCommits",
|
|
74
80
|
"generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
|
|
75
|
-
"getLastRelease": "@
|
|
76
|
-
"verifyConditions": "@
|
|
77
|
-
"verifyRelease": "@
|
|
81
|
+
"getLastRelease": "@progress/semantic-prerelease/getLastRelease",
|
|
82
|
+
"verifyConditions": "@progress/semantic-prerelease/verifyConditions",
|
|
83
|
+
"verifyRelease": "@progress/semantic-prerelease/verifyRelease"
|
|
78
84
|
},
|
|
79
85
|
"main": "bundles/kendo-angular-pivotgrid.umd.js",
|
|
80
86
|
"module": "fesm2015/kendo-angular-pivotgrid.js",
|
package/pivotgrid.component.d.ts
CHANGED
|
@@ -6,18 +6,27 @@ import { AfterContentInit, AfterViewInit, ElementRef, NgZone, OnDestroy } from '
|
|
|
6
6
|
import { ScrollbarWidthService } from '@progress/kendo-angular-common';
|
|
7
7
|
import { PivotGridDataService } from './data-binding/pivotgrid-data.service';
|
|
8
8
|
import { LoaderSettings } from './models/loader-settings';
|
|
9
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
|
+
import { ConfiguratorSettings } from './models/configurator-settings';
|
|
9
11
|
import * as i0 from "@angular/core";
|
|
10
12
|
/**
|
|
11
13
|
* Represents the Kendo UI PivotGrid component for Angular.
|
|
12
14
|
*/
|
|
13
15
|
export declare class PivotGridComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
14
|
-
private hostEl;
|
|
15
16
|
private zone;
|
|
16
17
|
private dataService;
|
|
18
|
+
private localization;
|
|
17
19
|
hostClass: boolean;
|
|
20
|
+
get rightPositionClass(): boolean;
|
|
21
|
+
get leftPositionClass(): boolean;
|
|
22
|
+
get bottomPositionClass(): boolean;
|
|
23
|
+
get topPositionClass(): boolean;
|
|
24
|
+
get dir(): string;
|
|
25
|
+
ariaRole: string;
|
|
18
26
|
private colHeadersTable;
|
|
19
27
|
private rowHeadersTable;
|
|
20
28
|
private valuesTable;
|
|
29
|
+
private table;
|
|
21
30
|
/**
|
|
22
31
|
* Specify the type, size and color of the PivotGrid's loader.
|
|
23
32
|
*
|
|
@@ -28,16 +37,38 @@ export declare class PivotGridComponent implements AfterViewInit, AfterContentIn
|
|
|
28
37
|
*/
|
|
29
38
|
set loaderSettings(settings: LoaderSettings);
|
|
30
39
|
get loaderSettings(): LoaderSettings;
|
|
40
|
+
/**
|
|
41
|
+
* @hidden
|
|
42
|
+
*/
|
|
43
|
+
get loadingText(): string;
|
|
44
|
+
/**
|
|
45
|
+
* Specifies whether the axes configurator should be displayed.
|
|
46
|
+
*/
|
|
47
|
+
configurator: boolean | ConfiguratorSettings;
|
|
48
|
+
get configuratorSettings(): ConfiguratorSettings;
|
|
49
|
+
/**
|
|
50
|
+
* Specify the width of the column header and data cells. Value is treated as pixels.
|
|
51
|
+
*
|
|
52
|
+
* @default 200
|
|
53
|
+
*/
|
|
54
|
+
columnHeadersWidth: number;
|
|
31
55
|
loading: boolean;
|
|
56
|
+
showConfigurator: boolean;
|
|
32
57
|
private resizeObservers;
|
|
33
58
|
private _loaderSettings;
|
|
34
59
|
private subs;
|
|
35
|
-
|
|
60
|
+
private rtl;
|
|
61
|
+
private direction;
|
|
62
|
+
constructor(hostEl: ElementRef, zone: NgZone, dataService: PivotGridDataService, localization: LocalizationService, _scrollbarWidthService: ScrollbarWidthService);
|
|
36
63
|
ngAfterViewInit(): void;
|
|
37
64
|
ngAfterContentInit(): void;
|
|
38
65
|
ngOnDestroy(): void;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
messageFor(localizationToken: string): string;
|
|
39
70
|
private resizeContainer;
|
|
40
71
|
private handleScroll;
|
|
41
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridComponent, "kendo-pivotgrid", never, { "loaderSettings": "loaderSettings"; }, {}, never, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridComponent, "kendo-pivotgrid", never, { "loaderSettings": "loaderSettings"; "configurator": "configurator"; "columnHeadersWidth": "columnHeadersWidth"; }, {}, never, never>;
|
|
43
74
|
}
|
package/pivotgrid.module.d.ts
CHANGED
|
@@ -5,17 +5,25 @@
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
import * as i1 from "./pivotgrid.component";
|
|
7
7
|
import * as i2 from "./rendering/pivotgrid-table.component";
|
|
8
|
-
import * as i3 from "./
|
|
9
|
-
import * as i4 from "./
|
|
10
|
-
import * as i5 from "./data-binding/
|
|
11
|
-
import * as i6 from "
|
|
12
|
-
import * as i7 from "
|
|
13
|
-
import * as i8 from "
|
|
8
|
+
import * as i3 from "./configurator/configurator.component";
|
|
9
|
+
import * as i4 from "./rendering/pivotgrid-cell.directive";
|
|
10
|
+
import * as i5 from "./data-binding/local-binding.directive";
|
|
11
|
+
import * as i6 from "./data-binding/olap-binding.directive";
|
|
12
|
+
import * as i7 from "./configurator/draggable.directive";
|
|
13
|
+
import * as i8 from "./configurator/drop-target.directive";
|
|
14
|
+
import * as i9 from "./localization/localized-messages.directive";
|
|
15
|
+
import * as i10 from "./localization/custom-messages.component";
|
|
16
|
+
import * as i11 from "@angular/common";
|
|
17
|
+
import * as i12 from "@progress/kendo-angular-common";
|
|
18
|
+
import * as i13 from "@progress/kendo-angular-indicators";
|
|
19
|
+
import * as i14 from "@progress/kendo-angular-buttons";
|
|
20
|
+
import * as i15 from "@progress/kendo-angular-treeview";
|
|
21
|
+
import * as i16 from "@progress/kendo-angular-inputs";
|
|
14
22
|
/**
|
|
15
23
|
* Sample module
|
|
16
24
|
*/
|
|
17
25
|
export declare class PivotGridModule {
|
|
18
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PivotGridModule, [typeof i1.PivotGridComponent, typeof i2.PivotGridTableComponent, typeof i3.
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PivotGridModule, [typeof i1.PivotGridComponent, typeof i2.PivotGridTableComponent, typeof i3.PivotGridConfiguratorComponent, typeof i4.PivotGridCellDirective, typeof i5.PivotLocalBindingDirective, typeof i6.PivotOLAPBindingDirective, typeof i7.DraggableChipDirective, typeof i8.DropTargetDirective, typeof i9.LocalizedMessagesDirective, typeof i10.CustomMessagesComponent], [typeof i11.CommonModule, typeof i12.EventsModule, typeof i13.IndicatorsModule, typeof i14.ButtonsModule, typeof i15.TreeViewModule, typeof i16.InputsModule, typeof i12.DraggableModule], [typeof i1.PivotGridComponent, typeof i2.PivotGridTableComponent, typeof i4.PivotGridCellDirective, typeof i5.PivotLocalBindingDirective, typeof i6.PivotOLAPBindingDirective, typeof i10.CustomMessagesComponent]>;
|
|
20
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<PivotGridModule>;
|
|
21
29
|
}
|
|
@@ -2,21 +2,23 @@
|
|
|
2
2
|
* Copyright © 2021 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { OnInit } from '@angular/core';
|
|
5
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
6
6
|
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
|
-
export declare class PivotGridTableComponent implements OnInit {
|
|
11
|
+
export declare class PivotGridTableComponent implements OnInit, OnDestroy {
|
|
12
12
|
private dataService;
|
|
13
13
|
headerItems: any;
|
|
14
14
|
rows: any;
|
|
15
15
|
tableType: string;
|
|
16
|
+
colWidth: number;
|
|
17
|
+
get pivotGridId(): string;
|
|
16
18
|
private dataChangeSubs;
|
|
17
19
|
constructor(dataService: PivotGridDataService);
|
|
18
20
|
ngOnInit(): void;
|
|
19
21
|
ngOnDestroy(): void;
|
|
20
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridTableComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridTableComponent, "kendo-pivotgrid-table", never, { "tableType": "tableType"; }, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridTableComponent, "kendo-pivotgrid-table", never, { "tableType": "tableType"; "colWidth": "colWidth"; }, {}, never, never>;
|
|
22
24
|
}
|
package/util.d.ts
CHANGED
|
@@ -24,3 +24,34 @@ export declare const syncScroll: (source: HTMLTableElement, targets: HTMLTableEl
|
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
26
|
export declare const syncWheel: (event: Event, tables: Element[], prop: 'scrollTop' | 'scrollLeft', axis: 'X' | 'Y') => void;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export declare function cloneTo(obj: any, result: any): void;
|
|
31
|
+
/**
|
|
32
|
+
* @hidden
|
|
33
|
+
*/
|
|
34
|
+
export declare function clone(obj: any): any;
|
|
35
|
+
/**
|
|
36
|
+
* @hidden
|
|
37
|
+
*/
|
|
38
|
+
export declare const offset: (element: any) => {
|
|
39
|
+
top: number;
|
|
40
|
+
left: number;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @hidden
|
|
44
|
+
*/
|
|
45
|
+
export declare const matchAriaAttributes: (wrapper: Element) => void;
|
|
46
|
+
/**
|
|
47
|
+
* @hidden
|
|
48
|
+
*/
|
|
49
|
+
export declare const position: (target: any, before: any) => {
|
|
50
|
+
left: any;
|
|
51
|
+
top: number;
|
|
52
|
+
height: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* @hidden
|
|
56
|
+
*/
|
|
57
|
+
export declare const filterAndMap: (arr: any[], predicate: (item: any) => boolean, mapper: (item: any) => any) => any[];
|