@progress/kendo-angular-pivotgrid 0.2.0-dev.202208190706 → 0.2.0-dev.202209020832
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/chip-menu/chip-menu-container.component.d.ts +21 -0
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +44 -0
- package/configurator/chip-menu/chip-menu-item-base.d.ts +22 -0
- package/configurator/chip-menu/chip-menu-item-content-template.directive.d.ts +18 -0
- package/configurator/chip-menu/chip-menu-item.component.d.ts +50 -0
- package/configurator/chip-menu/chip-menu-item.directive.d.ts +32 -0
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +33 -0
- package/configurator/chip-menu/chip-menu.component.d.ts +35 -0
- package/configurator/chip-menu/chip-menu.module.d.ts +26 -0
- package/configurator/chip-menu/chip-menu.service.d.ts +22 -0
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +47 -0
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +19 -0
- package/configurator/chip-menu/filtering/menu-tabbing.service.d.ts +17 -0
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +53 -0
- package/configurator/chip-menu/single-popup.service.d.ts +50 -0
- package/configurator/configurator.component.d.ts +4 -1
- package/data-binding/base-binding-directive.d.ts +16 -1
- package/esm2015/configurator/chip-menu/chip-menu-container.component.js +46 -0
- package/esm2015/configurator/chip-menu/chip-menu-filter.component.js +112 -0
- package/esm2015/configurator/chip-menu/chip-menu-item-base.js +36 -0
- package/esm2015/configurator/chip-menu/chip-menu-item-content-template.directive.js +27 -0
- package/esm2015/configurator/chip-menu/chip-menu-item.component.js +157 -0
- package/esm2015/configurator/chip-menu/chip-menu-item.directive.js +88 -0
- package/esm2015/configurator/chip-menu/chip-menu-sort.component.js +89 -0
- package/esm2015/configurator/chip-menu/chip-menu.component.js +130 -0
- package/esm2015/configurator/chip-menu/chip-menu.module.js +83 -0
- package/esm2015/configurator/chip-menu/chip-menu.service.js +28 -0
- package/esm2015/configurator/chip-menu/filtering/filter-menu-container.component.js +173 -0
- package/esm2015/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.js +38 -0
- package/esm2015/configurator/chip-menu/filtering/menu-tabbing.service.js +20 -0
- package/esm2015/configurator/chip-menu/filtering/string-filter-menu.component.js +133 -0
- package/esm2015/configurator/chip-menu/single-popup.service.js +121 -0
- package/esm2015/configurator/configurator.component.js +56 -33
- package/esm2015/configurator/configurator.service.js +2 -2
- package/esm2015/data-binding/base-binding-directive.js +30 -4
- package/esm2015/data-binding/local-binding.directive.js +3 -3
- package/esm2015/data-binding/olap-binding.directive.js +6 -4
- package/esm2015/localization/messages.js +3 -1
- package/esm2015/localization/pivot-localization.service.js +28 -0
- package/esm2015/models/configurator-settings.js +3 -1
- package/esm2015/models/data-row-item.js +6 -0
- package/esm2015/package-metadata.js +1 -1
- package/esm2015/pivotgrid.component.js +72 -13
- package/esm2015/pivotgrid.module.js +9 -12
- package/esm2015/shared.module.js +40 -0
- package/esm2015/util.js +13 -0
- package/fesm2015/kendo-angular-pivotgrid.js +1400 -81
- package/localization/messages.d.ts +23 -1
- package/localization/pivot-localization.service.d.ts +19 -0
- package/main.d.ts +1 -0
- package/models/configurator-settings.d.ts +4 -1
- package/models/data-row-item.d.ts +18 -0
- package/package.json +3 -3
- package/pivotgrid.component.d.ts +15 -3
- package/pivotgrid.module.d.ts +6 -7
- package/shared.module.d.ts +17 -0
- package/util.d.ts +12 -0
|
@@ -2,10 +2,8 @@
|
|
|
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 { CommonModule } from '@angular/common';
|
|
6
5
|
import { NgModule } from '@angular/core';
|
|
7
6
|
import { IndicatorsModule } from "@progress/kendo-angular-indicators";
|
|
8
|
-
import { ButtonsModule } from "@progress/kendo-angular-buttons";
|
|
9
7
|
import { TreeViewModule } from "@progress/kendo-angular-treeview";
|
|
10
8
|
import { PivotGridComponent } from './pivotgrid.component';
|
|
11
9
|
import { PivotGridCellDirective } from './rendering/pivotgrid-cell.directive';
|
|
@@ -16,18 +14,18 @@ import { PivotOLAPBindingDirective } from './data-binding/olap-binding.directive
|
|
|
16
14
|
import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
|
|
17
15
|
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
|
18
16
|
import { PivotGridConfiguratorComponent } from './configurator/configurator.component';
|
|
19
|
-
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
20
17
|
import { DraggableChipDirective } from './configurator/draggable.directive';
|
|
21
18
|
import { DropTargetDirective } from './configurator/drop-target.directive';
|
|
19
|
+
import { ChipMenuModule } from './configurator/chip-menu/chip-menu.module';
|
|
20
|
+
import { SharedModule } from './shared.module';
|
|
22
21
|
import * as i0 from "@angular/core";
|
|
23
22
|
const IMPORTED_MODULES = [
|
|
24
|
-
CommonModule,
|
|
25
23
|
EventsModule,
|
|
26
24
|
IndicatorsModule,
|
|
27
|
-
ButtonsModule,
|
|
28
25
|
TreeViewModule,
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
DraggableModule,
|
|
27
|
+
ChipMenuModule,
|
|
28
|
+
SharedModule
|
|
31
29
|
];
|
|
32
30
|
const DECLARATIONS = [
|
|
33
31
|
PivotGridComponent,
|
|
@@ -64,13 +62,12 @@ PivotGridModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
64
62
|
DraggableChipDirective,
|
|
65
63
|
DropTargetDirective,
|
|
66
64
|
LocalizedMessagesDirective,
|
|
67
|
-
CustomMessagesComponent], imports: [
|
|
68
|
-
EventsModule,
|
|
65
|
+
CustomMessagesComponent], imports: [EventsModule,
|
|
69
66
|
IndicatorsModule,
|
|
70
|
-
ButtonsModule,
|
|
71
67
|
TreeViewModule,
|
|
72
|
-
|
|
73
|
-
|
|
68
|
+
DraggableModule,
|
|
69
|
+
ChipMenuModule,
|
|
70
|
+
SharedModule], exports: [PivotGridComponent,
|
|
74
71
|
PivotGridTableComponent,
|
|
75
72
|
PivotGridCellDirective,
|
|
76
73
|
PivotLocalBindingDirective,
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { NgModule } from '@angular/core';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
|
|
8
|
+
import { InputsModule } from '@progress/kendo-angular-inputs';
|
|
9
|
+
import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
const MODULES = [
|
|
12
|
+
CommonModule,
|
|
13
|
+
DropDownsModule,
|
|
14
|
+
InputsModule,
|
|
15
|
+
ButtonsModule
|
|
16
|
+
];
|
|
17
|
+
/**
|
|
18
|
+
* @hidden
|
|
19
|
+
*/
|
|
20
|
+
export class SharedModule {
|
|
21
|
+
}
|
|
22
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
24
|
+
DropDownsModule,
|
|
25
|
+
InputsModule,
|
|
26
|
+
ButtonsModule], exports: [CommonModule,
|
|
27
|
+
DropDownsModule,
|
|
28
|
+
InputsModule,
|
|
29
|
+
ButtonsModule] });
|
|
30
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, imports: [[MODULES], CommonModule,
|
|
31
|
+
DropDownsModule,
|
|
32
|
+
InputsModule,
|
|
33
|
+
ButtonsModule] });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: SharedModule, decorators: [{
|
|
35
|
+
type: NgModule,
|
|
36
|
+
args: [{
|
|
37
|
+
imports: [MODULES],
|
|
38
|
+
exports: [MODULES]
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
package/esm2015/util.js
CHANGED
|
@@ -2,10 +2,19 @@
|
|
|
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
|
+
const EMPTY_REGEX = /^\s*$/;
|
|
5
6
|
/**
|
|
6
7
|
* @hidden
|
|
7
8
|
*/
|
|
8
9
|
export const isPresent = (value) => value !== null && value !== undefined;
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export const isBlank = (value) => value === null || value === undefined;
|
|
14
|
+
/**
|
|
15
|
+
* @hidden
|
|
16
|
+
*/
|
|
17
|
+
export const isNullOrEmptyString = (value) => isBlank(value) || EMPTY_REGEX.test(value);
|
|
9
18
|
/**
|
|
10
19
|
* @hidden
|
|
11
20
|
* Returns whether two arrays contain the same values.
|
|
@@ -150,3 +159,7 @@ export const position = (target, before) => {
|
|
|
150
159
|
* @hidden
|
|
151
160
|
*/
|
|
152
161
|
export const filterAndMap = (arr, predicate, mapper) => arr.reduce((acc, curr) => predicate(curr) ? [...acc, mapper(curr)] : acc, []);
|
|
162
|
+
/**
|
|
163
|
+
* @hidden
|
|
164
|
+
*/
|
|
165
|
+
export const replaceMessagePlaceholder = (message, name, value) => message.replace(new RegExp(`\{\\s*${name}\\s*\}`, 'g'), value);
|