@progress/kendo-angular-pivotgrid 1.1.2 → 11.0.0-develop.101
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/LICENSE.md +1 -1
- package/NOTICE.txt +4 -4
- package/README.md +1 -1
- package/configurator/chip-kb-nav.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-container.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-filter.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item-base.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item-content-template.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-item.directive.d.ts +1 -1
- package/configurator/chip-menu/chip-menu-sort.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.component.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.module.d.ts +1 -1
- package/configurator/chip-menu/chip-menu.service.d.ts +1 -1
- package/configurator/chip-menu/filtering/filter-menu-container.component.d.ts +4 -5
- package/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.d.ts +1 -1
- package/configurator/chip-menu/filtering/menu-tabbing.service.d.ts +1 -1
- package/configurator/chip-menu/filtering/string-filter-menu.component.d.ts +1 -1
- package/configurator/chip-menu/single-popup.service.d.ts +1 -1
- package/configurator/configurator.component.d.ts +1 -1
- package/configurator/configurator.service.d.ts +1 -1
- package/configurator/draggable.directive.d.ts +1 -1
- package/configurator/drop-cue.service.d.ts +1 -1
- package/configurator/drop-target.directive.d.ts +1 -1
- package/data-binding/base-binding-directive.d.ts +1 -1
- package/data-binding/local-binding.directive.d.ts +1 -1
- package/data-binding/olap-binding.directive.d.ts +1 -1
- package/data-binding/pivotgrid-data.service.d.ts +1 -1
- package/{esm2015/configurator/chip-kb-nav.directive.js → esm2020/configurator/chip-kb-nav.directive.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-container.component.js → esm2020/configurator/chip-menu/chip-menu-container.component.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-filter.component.js → esm2020/configurator/chip-menu/chip-menu-filter.component.mjs} +6 -5
- package/{esm2015/configurator/chip-menu/chip-menu-item-base.js → esm2020/configurator/chip-menu/chip-menu-item-base.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/chip-menu-item-content-template.directive.js → esm2020/configurator/chip-menu/chip-menu-item-content-template.directive.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu-item.component.js → esm2020/configurator/chip-menu/chip-menu-item.component.mjs} +6 -6
- package/{esm2015/configurator/chip-menu/chip-menu-item.directive.js → esm2020/configurator/chip-menu/chip-menu-item.directive.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu-sort.component.js → esm2020/configurator/chip-menu/chip-menu-sort.component.mjs} +7 -5
- package/{esm2015/configurator/chip-menu/chip-menu.component.js → esm2020/configurator/chip-menu/chip-menu.component.mjs} +7 -5
- package/{esm2015/configurator/chip-menu/chip-menu.module.js → esm2020/configurator/chip-menu/chip-menu.module.mjs} +5 -5
- package/{esm2015/configurator/chip-menu/chip-menu.service.js → esm2020/configurator/chip-menu/chip-menu.service.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/filtering/filter-menu-container.component.js → esm2020/configurator/chip-menu/filtering/filter-menu-container.component.mjs} +18 -21
- package/{esm2015/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.js → esm2020/configurator/chip-menu/filtering/filter-menu-dropdownlist.directive.mjs} +5 -4
- package/{esm2015/configurator/chip-menu/filtering/menu-tabbing.service.js → esm2020/configurator/chip-menu/filtering/menu-tabbing.service.mjs} +4 -4
- package/{esm2015/configurator/chip-menu/filtering/string-filter-menu.component.js → esm2020/configurator/chip-menu/filtering/string-filter-menu.component.mjs} +11 -8
- package/{esm2015/configurator/chip-menu/single-popup.service.js → esm2020/configurator/chip-menu/single-popup.service.mjs} +8 -7
- package/{esm2015/configurator/configurator.component.js → esm2020/configurator/configurator.component.mjs} +42 -56
- package/{esm2015/configurator/configurator.service.js → esm2020/configurator/configurator.service.mjs} +6 -5
- package/{esm2015/configurator/draggable.directive.js → esm2020/configurator/draggable.directive.mjs} +9 -8
- package/{esm2015/configurator/drop-cue.service.js → esm2020/configurator/drop-cue.service.mjs} +4 -4
- package/{esm2015/configurator/drop-target.directive.js → esm2020/configurator/drop-target.directive.mjs} +11 -10
- package/{esm2015/data-binding/base-binding-directive.js → esm2020/data-binding/base-binding-directive.mjs} +8 -7
- package/{esm2015/data-binding/local-binding.directive.js → esm2020/data-binding/local-binding.directive.mjs} +7 -6
- package/{esm2015/data-binding/olap-binding.directive.js → esm2020/data-binding/olap-binding.directive.mjs} +70 -76
- package/{esm2015/data-binding/pivotgrid-data.service.js → esm2020/data-binding/pivotgrid-data.service.mjs} +5 -5
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/localization/custom-messages.component.js → esm2020/localization/custom-messages.component.mjs} +5 -4
- package/{esm2015/localization/localized-messages.directive.js → esm2020/localization/localized-messages.directive.mjs} +5 -4
- package/{esm2015/localization/messages.js → esm2020/localization/messages.mjs} +4 -4
- package/{esm2015/localization/pivot-localization.service.js → esm2020/localization/pivot-localization.service.mjs} +5 -4
- package/{esm2015/models/configuration-change-event.js → esm2020/models/configuration-change-event.mjs} +1 -1
- package/{esm2015/models/drop-section.js → esm2020/models/configurator-orientation.mjs} +1 -1
- package/{esm2015/models/drop-target.js → esm2020/models/configurator-position.mjs} +1 -1
- package/{esm2015/models/configurator-settings.js → esm2020/models/configurator-settings.mjs} +1 -1
- package/{esm2015/models/data-row-item.js → esm2020/models/data-row-item.mjs} +1 -1
- package/{esm2015/models/configurator-orientation.js → esm2020/models/drop-section.mjs} +1 -1
- package/{esm2015/models/configurator-position.js → esm2020/models/drop-target.mjs} +1 -1
- package/{esm2015/models/expanded-change-event.js → esm2020/models/expanded-change-event.mjs} +1 -1
- package/esm2020/models/expanded-state-action.mjs +5 -0
- package/esm2020/models/loader-settings.mjs +5 -0
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +2 -2
- package/{esm2015/pivotgrid.component.js → esm2020/pivotgrid.component.mjs} +16 -34
- package/{esm2015/pivotgrid.module.js → esm2020/pivotgrid.module.mjs} +5 -5
- package/{esm2015/kendo-angular-pivotgrid.js → esm2020/progress-kendo-angular-pivotgrid.mjs} +2 -2
- package/{esm2015/rendering/pivotgrid-cell.directive.js → esm2020/rendering/pivotgrid-cell.directive.mjs} +11 -12
- package/{esm2015/rendering/pivotgrid-table.component.js → esm2020/rendering/pivotgrid-table.component.mjs} +11 -10
- package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
- package/{esm2015/util.js → esm2020/util.mjs} +3 -3
- package/fesm2015/{kendo-angular-pivotgrid.js → progress-kendo-angular-pivotgrid.mjs} +169 -199
- package/fesm2020/progress-kendo-angular-pivotgrid.mjs +3952 -0
- package/{main.d.ts → index.d.ts} +1 -1
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/localization/pivot-localization.service.d.ts +1 -1
- package/models/configuration-change-event.d.ts +1 -1
- package/models/configurator-orientation.d.ts +1 -1
- package/models/configurator-position.d.ts +1 -1
- package/models/configurator-settings.d.ts +1 -1
- package/models/data-row-item.d.ts +1 -1
- package/models/drop-section.d.ts +1 -1
- package/models/drop-target.d.ts +1 -1
- package/models/expanded-change-event.d.ts +1 -1
- package/models/expanded-state-action.d.ts +1 -1
- package/models/loader-settings.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +36 -65
- package/pivotgrid.component.d.ts +1 -2
- package/pivotgrid.module.d.ts +1 -1
- package/{kendo-angular-pivotgrid.d.ts → progress-kendo-angular-pivotgrid.d.ts} +2 -2
- package/rendering/pivotgrid-cell.directive.d.ts +1 -1
- package/rendering/pivotgrid-table.component.d.ts +1 -1
- package/schematics/ngAdd/index.js +1 -5
- package/shared.module.d.ts +1 -1
- package/util.d.ts +1 -1
- package/bundles/kendo-angular-pivotgrid.umd.js +0 -5
- package/esm2015/models/expanded-state-action.js +0 -5
- package/esm2015/models/loader-settings.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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 { Component, HostBinding, Input } from '@angular/core';
|
|
5
|
+
import { Component, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
|
|
6
|
+
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
|
8
9
|
import * as i2 from "@angular/common";
|
|
@@ -25,31 +26,29 @@ export class PivotGridCellDirective {
|
|
|
25
26
|
};
|
|
26
27
|
}
|
|
27
28
|
get expanded() {
|
|
28
|
-
|
|
29
|
-
return ((_a = this.kendoPivotGridCell) === null || _a === void 0 ? void 0 : _a.hasChildren) && this.kendoPivotGridCell.children.length;
|
|
29
|
+
return this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length;
|
|
30
30
|
}
|
|
31
31
|
ngOnInit() {
|
|
32
|
-
var _a, _b, _c;
|
|
33
32
|
const nativeElement = this.hostEl.nativeElement;
|
|
34
33
|
this.renderer.setAttribute(nativeElement, 'rowspan', this.kendoPivotGridCell.rowSpan || 1);
|
|
35
34
|
this.renderer.setAttribute(nativeElement, 'colspan', this.kendoPivotGridCell.colSpan || 1);
|
|
36
35
|
const classesToAdd = {
|
|
37
|
-
'k-pivotgrid-header-total':
|
|
36
|
+
'k-pivotgrid-header-total': this.kendoPivotGridCell?.total || (this.tableType === 'values'
|
|
38
37
|
&& (this.dataService.rowHeaderLeaves[this.rowIndex].total ||
|
|
39
38
|
this.dataService.columnHeaderLeaves[this.colIndex].total)),
|
|
40
|
-
'k-pivotgrid-header-root':
|
|
41
|
-
'k-pivotgrid-expanded':
|
|
39
|
+
'k-pivotgrid-header-root': this.kendoPivotGridCell?.levelNum === 0,
|
|
40
|
+
'k-pivotgrid-expanded': this.kendoPivotGridCell?.hasChildren && this.kendoPivotGridCell.children.length,
|
|
42
41
|
'k-first': this.colIndex > 0
|
|
43
42
|
};
|
|
44
|
-
for (
|
|
43
|
+
for (const prop in classesToAdd) {
|
|
45
44
|
if (classesToAdd[prop]) {
|
|
46
45
|
this.renderer.addClass(nativeElement, prop);
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
|
-
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
52
|
-
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
50
|
+
PivotGridCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: { kendoPivotGridCell: "kendoPivotGridCell", tableType: "tableType", rowIndex: "rowIndex", colIndex: "colIndex" }, host: { properties: { "class.k-pivotgrid-cell": "this.cellClass" } }, ngImport: i0, template: `
|
|
53
52
|
<span
|
|
54
53
|
*ngIf="kendoPivotGridCell.hasChildren && !kendoPivotGridCell.total"
|
|
55
54
|
class="k-icon"
|
|
@@ -61,7 +60,7 @@ PivotGridCellDirective.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
|
|
|
61
60
|
'k-i-arrow-chevron-up': expanded,
|
|
62
61
|
'k-i-arrow-chevron-down': !expanded
|
|
63
62
|
}"></span>{{ kendoPivotGridCell.data ? kendoPivotGridCell.data.fmtValue : kendoPivotGridCell.caption }}`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
64
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
63
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridCellDirective, decorators: [{
|
|
65
64
|
type: Component,
|
|
66
65
|
args: [{
|
|
67
66
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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
5
|
import { Component, Input } from '@angular/core';
|
|
6
6
|
import { Subscription } from 'rxjs';
|
|
7
|
+
import { PivotGridDataService } from '../data-binding/pivotgrid-data.service';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
import * as i1 from "../data-binding/pivotgrid-data.service";
|
|
9
10
|
import * as i2 from "./pivotgrid-cell.directive";
|
|
@@ -29,8 +30,8 @@ export class PivotGridTableComponent {
|
|
|
29
30
|
this.dataChangeSubs.unsubscribe();
|
|
30
31
|
}
|
|
31
32
|
}
|
|
32
|
-
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
33
|
-
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
33
|
+
PivotGridTableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridTableComponent, deps: [{ token: i1.PivotGridDataService }], target: i0.ɵɵFactoryTarget.Component });
|
|
34
|
+
PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: PivotGridTableComponent, selector: "kendo-pivotgrid-table", inputs: { tableType: "tableType", colWidth: "colWidth" }, ngImport: i0, template: `
|
|
34
35
|
<table
|
|
35
36
|
class="k-pivotgrid-table"
|
|
36
37
|
role="presentation">
|
|
@@ -39,10 +40,10 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
39
40
|
*ngFor="let item of headerItems;"
|
|
40
41
|
[style.width]="tableType !== 'rowHeader' ? colWidth >= 0 ? colWidth + 'px' : '200px' : undefined" />
|
|
41
42
|
</colgroup>
|
|
42
|
-
<tbody class="k-pivotgrid-tbody" role="rowgroup">
|
|
43
|
+
<tbody class="k-pivotgrid-tbody" [attr.role]="tableType === 'values' ? 'none' : 'rowgroup'">
|
|
43
44
|
<tr *ngFor="let row of rows; index as rowIndex"
|
|
44
45
|
class="k-pivotgrid-row"
|
|
45
|
-
role="row">
|
|
46
|
+
[attr.role]="tableType === 'values' ? 'none' : 'row'">
|
|
46
47
|
<ng-container *ngFor="let cell of row.cells; index as colIndex">
|
|
47
48
|
<th
|
|
48
49
|
*ngIf="cell && tableType !== 'values'"
|
|
@@ -51,7 +52,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
51
52
|
[colIndex]="colIndex"
|
|
52
53
|
[rowIndex]="rowIndex"
|
|
53
54
|
[attr.aria-expanded]="cell.hasChildren && cell.children.length ? 'true' : 'false'"
|
|
54
|
-
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : 'rowheader'"
|
|
55
|
+
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : tableType === 'rowHeader' ? 'rowheader' : 'none'"
|
|
55
56
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
|
56
57
|
<td
|
|
57
58
|
*ngIf="cell && tableType === 'values'"
|
|
@@ -66,7 +67,7 @@ PivotGridTableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0"
|
|
|
66
67
|
</tbody>
|
|
67
68
|
</table>
|
|
68
69
|
`, isInline: true, components: [{ type: i2.PivotGridCellDirective, selector: "[kendoPivotGridCell]", inputs: ["kendoPivotGridCell", "tableType", "rowIndex", "colIndex"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: PivotGridTableComponent, decorators: [{
|
|
70
71
|
type: Component,
|
|
71
72
|
args: [{
|
|
72
73
|
selector: 'kendo-pivotgrid-table',
|
|
@@ -79,10 +80,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
79
80
|
*ngFor="let item of headerItems;"
|
|
80
81
|
[style.width]="tableType !== 'rowHeader' ? colWidth >= 0 ? colWidth + 'px' : '200px' : undefined" />
|
|
81
82
|
</colgroup>
|
|
82
|
-
<tbody class="k-pivotgrid-tbody" role="rowgroup">
|
|
83
|
+
<tbody class="k-pivotgrid-tbody" [attr.role]="tableType === 'values' ? 'none' : 'rowgroup'">
|
|
83
84
|
<tr *ngFor="let row of rows; index as rowIndex"
|
|
84
85
|
class="k-pivotgrid-row"
|
|
85
|
-
role="row">
|
|
86
|
+
[attr.role]="tableType === 'values' ? 'none' : 'row'">
|
|
86
87
|
<ng-container *ngFor="let cell of row.cells; index as colIndex">
|
|
87
88
|
<th
|
|
88
89
|
*ngIf="cell && tableType !== 'values'"
|
|
@@ -91,7 +92,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
91
92
|
[colIndex]="colIndex"
|
|
92
93
|
[rowIndex]="rowIndex"
|
|
93
94
|
[attr.aria-expanded]="cell.hasChildren && cell.children.length ? 'true' : 'false'"
|
|
94
|
-
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : 'rowheader'"
|
|
95
|
+
[attr.role]="tableType === 'columnHeader' ? 'columnheader' : tableType === 'rowHeader' ? 'rowheader' : 'none'"
|
|
95
96
|
[attr.id]="pivotGridId + (tableType === 'columnHeader' ? 'ch-' : 'rh-') + (rowIndex + 1) + '-' + (colIndex + 1)"></th>
|
|
96
97
|
<td
|
|
97
98
|
*ngIf="cell && tableType === 'values'"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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
5
|
import { NgModule } from '@angular/core';
|
|
@@ -19,19 +19,19 @@ const MODULES = [
|
|
|
19
19
|
*/
|
|
20
20
|
export class SharedModule {
|
|
21
21
|
}
|
|
22
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
23
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
22
|
+
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
23
|
+
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [CommonModule,
|
|
24
24
|
DropDownsModule,
|
|
25
25
|
InputsModule,
|
|
26
26
|
ButtonsModule], exports: [CommonModule,
|
|
27
27
|
DropDownsModule,
|
|
28
28
|
InputsModule,
|
|
29
29
|
ButtonsModule] });
|
|
30
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
30
|
+
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, imports: [[MODULES], CommonModule,
|
|
31
31
|
DropDownsModule,
|
|
32
32
|
InputsModule,
|
|
33
33
|
ButtonsModule] });
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: SharedModule, decorators: [{
|
|
35
35
|
type: NgModule,
|
|
36
36
|
args: [{
|
|
37
37
|
imports: [MODULES],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2023 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
5
|
const EMPTY_REGEX = /^\s*$/;
|
|
@@ -150,7 +150,7 @@ export function clone(obj) {
|
|
|
150
150
|
* @hidden
|
|
151
151
|
*/
|
|
152
152
|
export function cloneObject(obj, result) {
|
|
153
|
-
for (
|
|
153
|
+
for (const field in obj) {
|
|
154
154
|
if (obj.hasOwnProperty(field)) {
|
|
155
155
|
const value = obj[field];
|
|
156
156
|
result[field] = cloneValue(value, result[field]);
|
|
@@ -184,7 +184,7 @@ export function cloneArray(array) {
|
|
|
184
184
|
* @hidden
|
|
185
185
|
*/
|
|
186
186
|
export const swapItems = (arr, i1, i2) => {
|
|
187
|
-
|
|
187
|
+
const temp = arr[i1];
|
|
188
188
|
arr[i1] = arr[i2];
|
|
189
189
|
arr[i2] = temp;
|
|
190
190
|
};
|