@po-ui/ng-components 19.39.12 → 19.39.13
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/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-CxWSUTfh.mjs → po-ui-ng-components-po-chart-modal-table.component-CyF2KL5h.mjs} +4 -4
- package/fesm2022/{po-ui-ng-components-po-chart-modal-table.component-CxWSUTfh.mjs.map → po-ui-ng-components-po-chart-modal-table.component-CyF2KL5h.mjs.map} +1 -1
- package/fesm2022/po-ui-ng-components.mjs +1394 -1179
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-table/po-table.component.d.ts +38 -7
- package/package.json +4 -4
- package/po-ui-ng-components-19.39.13.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v14/index.js +1 -1
- package/schematics/ng-update/v15/index.js +1 -1
- package/schematics/ng-update/v16/index.js +1 -1
- package/schematics/ng-update/v17/index.js +1 -1
- package/schematics/ng-update/v18/index.js +2 -2
- package/schematics/ng-update/v19/index.js +2 -2
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-19.39.12.tgz +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
2
2
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
3
3
|
import { DecimalPipe } from '@angular/common';
|
|
4
|
-
import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, IterableDiffers, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
4
|
+
import { AfterViewChecked, AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, IterableDiffers, OnDestroy, OnInit, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
5
5
|
import { PoDateService } from '../../services/po-date/po-date.service';
|
|
6
6
|
import { PoLanguageService } from '../../services/po-language/po-language.service';
|
|
7
7
|
import { PoNotificationService } from '../../services/po-notification/po-notification.service';
|
|
@@ -70,13 +70,18 @@ import * as i0 from "@angular/core";
|
|
|
70
70
|
* <file name="sample-po-table-draggable/sample-po-table-draggable.component.ts"> </file>
|
|
71
71
|
* </example>
|
|
72
72
|
*/
|
|
73
|
-
export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
73
|
+
export declare class PoTableComponent extends PoTableBaseComponent implements AfterViewChecked, AfterViewInit, DoCheck, OnDestroy, OnInit {
|
|
74
|
+
private readonly renderer;
|
|
74
75
|
private changeDetector;
|
|
75
76
|
private decimalPipe;
|
|
76
77
|
private defaultService;
|
|
77
78
|
tableRowTemplate: PoTableRowTemplateDirective;
|
|
78
79
|
tableCellTemplate: PoTableCellTemplateDirective;
|
|
79
80
|
tableColumnTemplates: QueryList<PoTableColumnTemplateDirective>;
|
|
81
|
+
virtualScrollWrapper: ElementRef;
|
|
82
|
+
headerScrollContainer: ElementRef;
|
|
83
|
+
headerTableElement: ElementRef;
|
|
84
|
+
bodyTableElement: ElementRef;
|
|
80
85
|
noColumnsHeader: any;
|
|
81
86
|
poPopupComponent: PoPopupComponent;
|
|
82
87
|
modalDelete: PoModalComponent;
|
|
@@ -105,9 +110,10 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
105
110
|
idRadio: string;
|
|
106
111
|
inputFieldValue: string;
|
|
107
112
|
JSON: JSON;
|
|
108
|
-
newOrderColumns: Array<PoTableColumn>;
|
|
109
113
|
sizeLoading: string;
|
|
110
114
|
headerWidth: number;
|
|
115
|
+
headerTableScrollWidth: number;
|
|
116
|
+
computedColumnWidths: Array<string>;
|
|
111
117
|
close: PoModalAction;
|
|
112
118
|
confirm: PoModalAction;
|
|
113
119
|
private _columnManagerTarget;
|
|
@@ -119,9 +125,23 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
119
125
|
private visibleElement;
|
|
120
126
|
private scrollEvent$;
|
|
121
127
|
private subscriptionScrollEvent;
|
|
122
|
-
private subscriptionService;
|
|
123
|
-
private
|
|
124
|
-
private
|
|
128
|
+
private readonly subscriptionService;
|
|
129
|
+
private resizeObserver;
|
|
130
|
+
private scrollSyncListener;
|
|
131
|
+
private containerScrollSyncListener;
|
|
132
|
+
private virtualScrollOverflowConfigured;
|
|
133
|
+
private syncScheduled;
|
|
134
|
+
private lastColumnsKey;
|
|
135
|
+
private lastHeaderHeight;
|
|
136
|
+
private readonly SELECTOR_BODY_ROW;
|
|
137
|
+
private readonly SELECTOR_HEADER_CELLS;
|
|
138
|
+
private readonly SELECTOR_HEADER_MAIN_CELLS;
|
|
139
|
+
private readonly SELECTOR_BODY_CELLS;
|
|
140
|
+
private readonly SELECTOR_BODY_MAIN_CELLS;
|
|
141
|
+
private readonly SELECTOR_CDK_CONTENT_WRAPPER;
|
|
142
|
+
private readonly SELECTOR_FIXED_INNER_CONTAINER;
|
|
143
|
+
private readonly clickListener;
|
|
144
|
+
private readonly resizeListener;
|
|
125
145
|
set columnManagerTarget(value: ElementRef);
|
|
126
146
|
get columnManagerTarget(): ElementRef;
|
|
127
147
|
set columnManagerTargetFixed(value: ElementRef);
|
|
@@ -144,10 +164,11 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
144
164
|
get hasVisibleSubtitleColumns(): boolean;
|
|
145
165
|
get isSingleAction(): boolean;
|
|
146
166
|
get isDraggable(): boolean;
|
|
147
|
-
get inverseOfTranslation(): string;
|
|
148
167
|
ngOnInit(): void;
|
|
149
168
|
changeHeaderWidth(): void;
|
|
150
169
|
ngAfterViewInit(): void;
|
|
170
|
+
ngAfterViewChecked(): void;
|
|
171
|
+
private shouldScheduleVirtualScrollColumnSyncWithoutWidths;
|
|
151
172
|
showMoreInfiniteScroll({ target }: {
|
|
152
173
|
target: any;
|
|
153
174
|
}): void;
|
|
@@ -302,6 +323,16 @@ export declare class PoTableComponent extends PoTableBaseComponent implements Af
|
|
|
302
323
|
private setTableOpacity;
|
|
303
324
|
private verifyChangeHeightInFooter;
|
|
304
325
|
private toggleSelect;
|
|
326
|
+
private configureVirtualScrollOverflow;
|
|
327
|
+
private applyVirtualScrollStyles;
|
|
328
|
+
private registerScrollSyncListeners;
|
|
329
|
+
private syncHeaderScrollLeft;
|
|
330
|
+
private setupColumnWidthSync;
|
|
331
|
+
private clearColumnWidths;
|
|
332
|
+
private removeCellWidthStyles;
|
|
333
|
+
private syncColumnWidths;
|
|
334
|
+
private measureCellWidths;
|
|
335
|
+
private syncHeaderTableWidth;
|
|
305
336
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoTableComponent, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
306
337
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoTableComponent, "po-table", never, {}, {}, ["tableRowTemplate", "tableCellTemplate", "tableColumnTemplates"], never, false, never>;
|
|
307
338
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "19.39.
|
|
3
|
+
"version": "19.39.13",
|
|
4
4
|
"description": "PO UI - Components",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@angular/cdk": "~19.2.19",
|
|
25
|
-
"@po-ui/style": "19.39.
|
|
26
|
-
"@po-ui/ng-schematics": "19.39.
|
|
25
|
+
"@po-ui/style": "19.39.13",
|
|
26
|
+
"@po-ui/ng-schematics": "19.39.13",
|
|
27
27
|
"echarts": "^5.6.0",
|
|
28
28
|
"tslib": "^2.6.2"
|
|
29
29
|
},
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@angular/platform-browser-dynamic": "^19",
|
|
39
39
|
"@angular/router": "^19",
|
|
40
40
|
"@angular-devkit/schematics": "^19",
|
|
41
|
-
"@po-ui/style": "19.39.
|
|
41
|
+
"@po-ui/style": "19.39.13",
|
|
42
42
|
"rxjs": "~7.8.1",
|
|
43
43
|
"zone.js": "~0.15.0"
|
|
44
44
|
},
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
}
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.39.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '19.39.13');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -11,7 +11,7 @@ const changes_1 = require("./changes");
|
|
|
11
11
|
const httpClientModuleName = 'HttpClientModule';
|
|
12
12
|
const httpClientModuleSourcePath = '@angular/common/http';
|
|
13
13
|
function default_1() {
|
|
14
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
14
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
15
15
|
}
|
|
16
16
|
function postUpdate() {
|
|
17
17
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.39.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -40,11 +40,11 @@ function main(options) {
|
|
|
40
40
|
configureNewIcon.toLowerCase() === 'y' ||
|
|
41
41
|
configureNewIcon.toLowerCase() === 'sim' ||
|
|
42
42
|
configureNewIcon.toLowerCase() === '') {
|
|
43
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
43
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
44
44
|
}
|
|
45
45
|
else {
|
|
46
46
|
return (0, schematics_1.chain)([
|
|
47
|
-
(0, package_config_1.updatePackageJson)('19.39.
|
|
47
|
+
(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion),
|
|
48
48
|
addImportOnly(options, [IconsDictionaryName, poIconDictionary], poModuleSourcePath),
|
|
49
49
|
addProviderToAppModule(options, newProviderDictionary),
|
|
50
50
|
updateAppConfigFileRule(),
|
|
@@ -10,7 +10,7 @@ const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
|
10
10
|
const changes_1 = require("./changes");
|
|
11
11
|
function updateToV2() {
|
|
12
12
|
return (0, schematics_1.chain)([
|
|
13
|
-
updatePackageJson('19.39.
|
|
13
|
+
updatePackageJson('19.39.13', changes_1.dependeciesChanges),
|
|
14
14
|
(0, replace_1.replaceInFile)('tslint.json', changes_1.tsLintReplaces),
|
|
15
15
|
(0, replace_1.replaceInFile)('angular.json', changes_1.angularJsonReplaces),
|
|
16
16
|
createUpgradeRule(),
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function updateToV3() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -7,7 +7,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
7
7
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
8
8
|
const changes_1 = require("./changes");
|
|
9
9
|
function default_1() {
|
|
10
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
function postUpdate() {
|
|
13
13
|
return (_, context) => {
|
|
@@ -6,7 +6,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
6
6
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
7
7
|
const changes_1 = require("./changes");
|
|
8
8
|
function default_1() {
|
|
9
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('19.39.13', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|