@progress/kendo-angular-pivotgrid 0.2.0-dev.202208250747 → 0.2.0-dev.202209021834
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 +10 -1
- package/data-binding/pivotgrid-data.service.d.ts +2 -0
- 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 +17 -7
- package/esm2015/data-binding/local-binding.directive.js +3 -3
- package/esm2015/data-binding/olap-binding.directive.js +8 -5
- 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/package-metadata.js +1 -1
- package/esm2015/pivotgrid.component.js +79 -14
- package/esm2015/pivotgrid.module.js +9 -12
- package/esm2015/shared.module.js +40 -0
- package/esm2015/util.js +59 -28
- package/fesm2015/kendo-angular-pivotgrid.js +1507 -180
- package/localization/messages.d.ts +23 -1
- package/localization/pivot-localization.service.d.ts +19 -0
- package/models/configurator-settings.d.ts +4 -1
- package/package.json +3 -3
- package/pivotgrid.component.d.ts +20 -3
- package/pivotgrid.module.d.ts +6 -7
- package/schematics/ngAdd/index.js +1 -1
- package/schematics/ngAdd/index.js.map +1 -1
- package/shared.module.d.ts +17 -0
- package/util.d.ts +32 -8
|
@@ -167,6 +167,28 @@ export declare class PivotGridMessages extends ComponentMessages {
|
|
|
167
167
|
* The text content of the PivotGrid configurator empty measures container.
|
|
168
168
|
*/
|
|
169
169
|
configuratorEmptyMeasuresText: string;
|
|
170
|
+
/**
|
|
171
|
+
* The title of the chip menu icon.
|
|
172
|
+
*
|
|
173
|
+
* The title consists of a two-part message - the name of the chip and a localizable string.
|
|
174
|
+
* For a field named 'Product', the default title will be 'Product Field Menu'.
|
|
175
|
+
*
|
|
176
|
+
* To allow reordering the field name and the localizable part, the chipMenu accepts a string with a
|
|
177
|
+
* placeholder for the chip name - e.g. 'chip for {fieldName}'. The '{fieldName}' placeholder will be replaced
|
|
178
|
+
* internally with the current chip name, and the resulting title will be rendered as 'Product Field Menu'.
|
|
179
|
+
*
|
|
180
|
+
* @example
|
|
181
|
+
*
|
|
182
|
+
* ```ts-no-run
|
|
183
|
+
* <kendo-pivotgrid>
|
|
184
|
+
* <kendo-pivotgrid-messages
|
|
185
|
+
* chipMenuIconTitle="'{fieldName} Field Menu'"
|
|
186
|
+
* >
|
|
187
|
+
* </kendo-pivotgrid-messages>
|
|
188
|
+
* </kendo-pivotgrid>
|
|
189
|
+
* ```
|
|
190
|
+
*/
|
|
191
|
+
chipMenuIconTitle: string;
|
|
170
192
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridMessages, never>;
|
|
171
|
-
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"; "configuratorEmptyRowsText": "configuratorEmptyRowsText"; "configuratorEmptyColumnsText": "configuratorEmptyColumnsText"; "configuratorEmptyMeasuresText": "configuratorEmptyMeasuresText"; }, {}, never>;
|
|
193
|
+
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"; "configuratorEmptyRowsText": "configuratorEmptyRowsText"; "configuratorEmptyColumnsText": "configuratorEmptyColumnsText"; "configuratorEmptyMeasuresText": "configuratorEmptyMeasuresText"; "chipMenuIconTitle": "chipMenuIconTitle"; }, {}, never>;
|
|
172
194
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*
|
|
10
|
+
* Needed to keep the Pivot's LocalizationService reference and be able to use it inside the ChipList component.
|
|
11
|
+
*/
|
|
12
|
+
export declare class PivotLocalizationService {
|
|
13
|
+
private localization;
|
|
14
|
+
constructor(localization: LocalizationService);
|
|
15
|
+
get(token: string): string;
|
|
16
|
+
get rtl(): boolean;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PivotLocalizationService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PivotLocalizationService>;
|
|
19
|
+
}
|
|
@@ -2,6 +2,7 @@
|
|
|
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 { FilterDescriptor, SortDescriptor } from "@progress/kendo-data-query";
|
|
5
6
|
import { PivotGridAxis } from "@progress/kendo-pivotgrid-common";
|
|
6
7
|
/**
|
|
7
8
|
* Allows customizing the PivotGrid Configurator layout.
|
|
@@ -28,5 +29,7 @@ export declare class PivotGridState {
|
|
|
28
29
|
columnAxes?: PivotGridAxis[];
|
|
29
30
|
rowAxes?: PivotGridAxis[];
|
|
30
31
|
measureAxes?: PivotGridAxis[];
|
|
31
|
-
|
|
32
|
+
sort?: SortDescriptor[];
|
|
33
|
+
filter?: FilterDescriptor[];
|
|
34
|
+
constructor(columnAxes: PivotGridAxis[], rowAxes: PivotGridAxis[], measureAxes: PivotGridAxis[], sort: SortDescriptor[], filter: FilterDescriptor[]);
|
|
32
35
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-pivotgrid",
|
|
3
|
-
"version": "0.2.0-dev.
|
|
3
|
+
"version": "0.2.0-dev.202209021834",
|
|
4
4
|
"description": "PivotGrid package for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"friendlyName": "PivotGrid"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@progress/kendo-pivotgrid-common": "0.
|
|
25
|
-
"@telerik/kendo-draggable": "^2.0.0",
|
|
24
|
+
"@progress/kendo-pivotgrid-common": "0.4.1",
|
|
26
25
|
"@progress/kendo-schematics": "^3.0.0",
|
|
26
|
+
"@telerik/kendo-draggable": "^2.0.0",
|
|
27
27
|
"tslib": "^2.3.1"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
package/pivotgrid.component.d.ts
CHANGED
|
@@ -2,20 +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 { AfterContentInit, AfterViewInit, ElementRef, NgZone, OnDestroy } from '@angular/core';
|
|
5
|
+
import { AfterContentInit, AfterViewInit, ElementRef, NgZone, OnDestroy, Renderer2, SimpleChanges } from '@angular/core';
|
|
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
9
|
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
10
10
|
import { ConfiguratorSettings } from './models/configurator-settings';
|
|
11
|
+
import { PivotDataRowItem } from './models/data-row-item';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
/**
|
|
13
14
|
* Represents the Kendo UI PivotGrid component for Angular.
|
|
14
15
|
*/
|
|
15
16
|
export declare class PivotGridComponent implements AfterViewInit, AfterContentInit, OnDestroy {
|
|
17
|
+
private hostEl;
|
|
16
18
|
private zone;
|
|
17
19
|
private dataService;
|
|
18
20
|
private localization;
|
|
21
|
+
private renderer;
|
|
19
22
|
hostClass: boolean;
|
|
20
23
|
get rightPositionClass(): boolean;
|
|
21
24
|
get leftPositionClass(): boolean;
|
|
@@ -52,6 +55,16 @@ export declare class PivotGridComponent implements AfterViewInit, AfterContentIn
|
|
|
52
55
|
* @default 200
|
|
53
56
|
*/
|
|
54
57
|
columnHeadersWidth: number;
|
|
58
|
+
/**
|
|
59
|
+
* If set to true, the user can use dedicated shortcuts to interact with the PivotGrid. By default, navigation is disabled.
|
|
60
|
+
*
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
navigable: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Holds the displayed aggregated PivotGrid values.
|
|
66
|
+
*/
|
|
67
|
+
get aggregateData(): PivotDataRowItem[];
|
|
55
68
|
loading: boolean;
|
|
56
69
|
showConfigurator: boolean;
|
|
57
70
|
private resizeObservers;
|
|
@@ -59,9 +72,11 @@ export declare class PivotGridComponent implements AfterViewInit, AfterContentIn
|
|
|
59
72
|
private subs;
|
|
60
73
|
private rtl;
|
|
61
74
|
private direction;
|
|
62
|
-
|
|
75
|
+
private navigation;
|
|
76
|
+
constructor(hostEl: ElementRef, zone: NgZone, dataService: PivotGridDataService, localization: LocalizationService, renderer: Renderer2, _scrollbarWidthService: ScrollbarWidthService);
|
|
63
77
|
ngAfterViewInit(): void;
|
|
64
78
|
ngAfterContentInit(): void;
|
|
79
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
65
80
|
ngOnDestroy(): void;
|
|
66
81
|
/**
|
|
67
82
|
* @hidden
|
|
@@ -69,6 +84,8 @@ export declare class PivotGridComponent implements AfterViewInit, AfterContentIn
|
|
|
69
84
|
messageFor(localizationToken: string): string;
|
|
70
85
|
private resizeContainer;
|
|
71
86
|
private handleScroll;
|
|
87
|
+
private initNavigation;
|
|
88
|
+
private stopNavigation;
|
|
72
89
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridComponent, "kendo-pivotgrid", never, { "loaderSettings": "loaderSettings"; "configurator": "configurator"; "columnHeadersWidth": "columnHeadersWidth"; }, {}, never, never>;
|
|
90
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PivotGridComponent, "kendo-pivotgrid", never, { "loaderSettings": "loaderSettings"; "configurator": "configurator"; "columnHeadersWidth": "columnHeadersWidth"; "navigable": "navigable"; }, {}, never, never>;
|
|
74
91
|
}
|
package/pivotgrid.module.d.ts
CHANGED
|
@@ -13,17 +13,16 @@ import * as i7 from "./configurator/draggable.directive";
|
|
|
13
13
|
import * as i8 from "./configurator/drop-target.directive";
|
|
14
14
|
import * as i9 from "./localization/localized-messages.directive";
|
|
15
15
|
import * as i10 from "./localization/custom-messages.component";
|
|
16
|
-
import * as i11 from "@angular
|
|
17
|
-
import * as i12 from "@progress/kendo-angular-
|
|
18
|
-
import * as i13 from "@progress/kendo-angular-
|
|
19
|
-
import * as i14 from "
|
|
20
|
-
import * as i15 from "
|
|
21
|
-
import * as i16 from "@progress/kendo-angular-inputs";
|
|
16
|
+
import * as i11 from "@progress/kendo-angular-common";
|
|
17
|
+
import * as i12 from "@progress/kendo-angular-indicators";
|
|
18
|
+
import * as i13 from "@progress/kendo-angular-treeview";
|
|
19
|
+
import * as i14 from "./configurator/chip-menu/chip-menu.module";
|
|
20
|
+
import * as i15 from "./shared.module";
|
|
22
21
|
/**
|
|
23
22
|
* Sample module
|
|
24
23
|
*/
|
|
25
24
|
export declare class PivotGridModule {
|
|
26
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PivotGridModule, never>;
|
|
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.
|
|
26
|
+
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.EventsModule, typeof i12.IndicatorsModule, typeof i13.TreeViewModule, typeof i11.DraggableModule, typeof i14.ChipMenuModule, typeof i15.SharedModule], [typeof i1.PivotGridComponent, typeof i2.PivotGridTableComponent, typeof i4.PivotGridCellDirective, typeof i5.PivotLocalBindingDirective, typeof i6.PivotOLAPBindingDirective, typeof i10.CustomMessagesComponent]>;
|
|
28
27
|
static ɵinj: i0.ɵɵInjectorDeclaration<PivotGridModule>;
|
|
29
28
|
}
|
|
@@ -10,7 +10,7 @@ function default_1(options) {
|
|
|
10
10
|
// Additional dependencies to install.
|
|
11
11
|
// See https://github.com/telerik/kendo-schematics/issues/28
|
|
12
12
|
peerDependencies: {
|
|
13
|
-
|
|
13
|
+
"@progress/kendo-angular-dialog": "^7.0.0"
|
|
14
14
|
} });
|
|
15
15
|
return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
|
|
16
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAGqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,WAAW;QACpB,sCAAsC;QACtC,4DAA4D;QAC5D,gBAAgB,EAAE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../tooling/schematics/ngAdd/index.ts"],"names":[],"mappings":";;AAAA,2DAGqC;AAErC,mBAAyB,OAAY;IACjC,MAAM,YAAY,mCACX,OAAO,KACV,YAAY,EAAE,iBAAiB,EAC/B,OAAO,EAAE,WAAW;QACpB,sCAAsC;QACtC,4DAA4D;QAC5D,gBAAgB,EAAE;YACd,gCAAgC,EAAE,QAAQ;SAC7C,GACJ,CAAC;IAEF,OAAO,8BAAiB,CAAC,4BAA4B,EAAE,QAAQ,EAAE,YAAY,CAAC,CAAC;AACnF,CAAC;AAbD,4BAaC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
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 * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
import * as i2 from "@progress/kendo-angular-dropdowns";
|
|
8
|
+
import * as i3 from "@progress/kendo-angular-inputs";
|
|
9
|
+
import * as i4 from "@progress/kendo-angular-buttons";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class SharedModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.CommonModule, typeof i2.DropDownsModule, typeof i3.InputsModule, typeof i4.ButtonsModule], [typeof i1.CommonModule, typeof i2.DropDownsModule, typeof i3.InputsModule, typeof i4.ButtonsModule]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
|
|
17
|
+
}
|
package/util.d.ts
CHANGED
|
@@ -8,30 +8,30 @@
|
|
|
8
8
|
export declare const isPresent: (value: any) => boolean;
|
|
9
9
|
/**
|
|
10
10
|
* @hidden
|
|
11
|
-
* Returns whether two arrays contain the same values.
|
|
12
|
-
* Assumes array elements are primitive types
|
|
13
11
|
*/
|
|
14
|
-
export declare const
|
|
12
|
+
export declare const isBlank: (value: any) => boolean;
|
|
15
13
|
/**
|
|
16
14
|
* @hidden
|
|
17
15
|
*/
|
|
18
|
-
export declare const
|
|
16
|
+
export declare const isNullOrEmptyString: (value: string) => boolean;
|
|
19
17
|
/**
|
|
20
18
|
* @hidden
|
|
19
|
+
* Returns whether two arrays contain the same values.
|
|
20
|
+
* Assumes array elements are primitive types
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const areSameArrays: (a1: any[], a2: any[]) => boolean;
|
|
23
23
|
/**
|
|
24
24
|
* @hidden
|
|
25
25
|
*/
|
|
26
|
-
export declare const
|
|
26
|
+
export declare const wheelDelta: (e: any, axis: 'X' | 'Y') => number;
|
|
27
27
|
/**
|
|
28
28
|
* @hidden
|
|
29
29
|
*/
|
|
30
|
-
export declare
|
|
30
|
+
export declare const syncScroll: (source: HTMLTableElement, targets: HTMLTableElement[]) => void;
|
|
31
31
|
/**
|
|
32
32
|
* @hidden
|
|
33
33
|
*/
|
|
34
|
-
export declare
|
|
34
|
+
export declare const syncWheel: (event: Event, tables: Element[], prop: 'scrollTop' | 'scrollLeft', axis: 'X' | 'Y') => void;
|
|
35
35
|
/**
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
@@ -55,3 +55,27 @@ export declare const position: (target: any, before: any) => {
|
|
|
55
55
|
* @hidden
|
|
56
56
|
*/
|
|
57
57
|
export declare const filterAndMap: (arr: any[], predicate: (item: any) => boolean, mapper: (item: any) => any) => any[];
|
|
58
|
+
/**
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
export declare const replaceMessagePlaceholder: (message: string, name: string, value: string) => string;
|
|
62
|
+
/**
|
|
63
|
+
* @hidden
|
|
64
|
+
*/
|
|
65
|
+
export declare const cloneDate: (date?: Date) => Date | null;
|
|
66
|
+
/**
|
|
67
|
+
* @hidden
|
|
68
|
+
*/
|
|
69
|
+
export declare function clone(obj: any): any;
|
|
70
|
+
/**
|
|
71
|
+
* @hidden
|
|
72
|
+
*/
|
|
73
|
+
export declare function cloneObject(obj: any, result: any): void;
|
|
74
|
+
/**
|
|
75
|
+
* @hidden
|
|
76
|
+
*/
|
|
77
|
+
export declare function cloneValue(value: any, nextValue: any): any;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*/
|
|
81
|
+
export declare function cloneArray(array: any[]): any;
|