@po-ui/ng-components 6.0.0 → 6.1.0
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/esm2020/lib/components/po-field/po-lookup/po-lookup-modal/po-lookup-modal-base.component.mjs +12 -2
- package/esm2020/lib/components/po-field/po-lookup/po-lookup.component.mjs +11 -7
- package/esm2020/lib/components/po-field/po-radio-group/po-radio-group.component.mjs +9 -7
- package/esm2020/lib/components/po-field/po-rich-text/po-rich-text.component.mjs +4 -4
- package/esm2020/lib/components/po-field/po-upload/po-upload.component.mjs +12 -7
- package/esm2020/lib/components/po-table/po-table-column-manager/po-table-column-manager.component.mjs +3 -3
- package/fesm2015/po-ui-ng-components.mjs +41 -20
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +41 -20
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-lookup/po-lookup.component.d.ts +3 -2
- package/lib/components/po-field/po-radio-group/po-radio-group.component.d.ts +3 -2
- package/lib/components/po-field/po-upload/po-upload.component.d.ts +3 -2
- package/package.json +8 -5
- package/po-ui-ng-components-6.1.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- 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-6.0.0.tgz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, DoCheck, ElementRef, Injector, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, DoCheck, ElementRef, Injector, OnDestroy, OnInit, Renderer2, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { PoLookupBaseComponent } from './po-lookup-base.component';
|
|
3
3
|
import { PoLookupFilterService } from './services/po-lookup-filter.service';
|
|
4
4
|
import { PoLookupModalService } from './services/po-lookup-modal.service';
|
|
@@ -63,6 +63,7 @@ import * as i0 from "@angular/core";
|
|
|
63
63
|
export declare class PoLookupComponent extends PoLookupBaseComponent implements AfterViewInit, OnDestroy, OnInit, DoCheck {
|
|
64
64
|
private renderer;
|
|
65
65
|
private poLookupModalService;
|
|
66
|
+
private cd;
|
|
66
67
|
inputEl: ElementRef;
|
|
67
68
|
initialized: boolean;
|
|
68
69
|
timeoutResize: any;
|
|
@@ -72,7 +73,7 @@ export declare class PoLookupComponent extends PoLookupBaseComponent implements
|
|
|
72
73
|
private modalSubscription;
|
|
73
74
|
private isCalculateVisibleItems;
|
|
74
75
|
get autocomplete(): "on" | "off";
|
|
75
|
-
constructor(renderer: Renderer2, poLookupFilterService: PoLookupFilterService, poLookupModalService: PoLookupModalService, injector: Injector);
|
|
76
|
+
constructor(renderer: Renderer2, poLookupFilterService: PoLookupFilterService, poLookupModalService: PoLookupModalService, cd: ChangeDetectorRef, injector: Injector);
|
|
76
77
|
ngAfterViewInit(): void;
|
|
77
78
|
ngDoCheck(): void;
|
|
78
79
|
ngOnDestroy(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit, DoCheck, ElementRef, IterableDiffers, QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, DoCheck, ElementRef, IterableDiffers, QueryList } from '@angular/core';
|
|
2
2
|
import { PoRadioGroupBaseComponent } from './po-radio-group-base.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -30,6 +30,7 @@ import * as i0 from "@angular/core";
|
|
|
30
30
|
*
|
|
31
31
|
*/
|
|
32
32
|
export declare class PoRadioGroupComponent extends PoRadioGroupBaseComponent implements AfterViewInit, DoCheck {
|
|
33
|
+
private cd;
|
|
33
34
|
/** Label do campo. */
|
|
34
35
|
label?: string;
|
|
35
36
|
/** Texto de apoio do campo. */
|
|
@@ -37,7 +38,7 @@ export declare class PoRadioGroupComponent extends PoRadioGroupBaseComponent imp
|
|
|
37
38
|
inputEl: ElementRef;
|
|
38
39
|
radioLabels: QueryList<ElementRef>;
|
|
39
40
|
differ: any;
|
|
40
|
-
constructor(differs: IterableDiffers);
|
|
41
|
+
constructor(differs: IterableDiffers, cd: ChangeDetectorRef);
|
|
41
42
|
ngAfterViewInit(): void;
|
|
42
43
|
ngDoCheck(): void;
|
|
43
44
|
eventClick(value: any, disabled: any): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Renderer2, AfterViewInit } from '@angular/core';
|
|
1
|
+
import { Renderer2, AfterViewInit, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { PoI18nPipe } from '../../../services/po-i18n/po-i18n.pipe';
|
|
3
3
|
import { PoNotificationService } from '../../../services/po-notification/po-notification.service';
|
|
4
4
|
import { PoProgressStatus } from '../../po-progress/enums/po-progress-status.enum';
|
|
@@ -37,6 +37,7 @@ export declare class PoUploadComponent extends PoUploadBaseComponent implements
|
|
|
37
37
|
renderer: Renderer2;
|
|
38
38
|
private i18nPipe;
|
|
39
39
|
private notification;
|
|
40
|
+
private cd;
|
|
40
41
|
private inputFile;
|
|
41
42
|
private poUploadDragDropComponent;
|
|
42
43
|
private uploadButton;
|
|
@@ -51,7 +52,7 @@ export declare class PoUploadComponent extends PoUploadBaseComponent implements
|
|
|
51
52
|
2: PoProgressStatus;
|
|
52
53
|
};
|
|
53
54
|
private calledByCleanInputValue;
|
|
54
|
-
constructor(uploadService: PoUploadService, renderer: Renderer2, i18nPipe: PoI18nPipe, notification: PoNotificationService, languageService: PoLanguageService);
|
|
55
|
+
constructor(uploadService: PoUploadService, renderer: Renderer2, i18nPipe: PoI18nPipe, notification: PoNotificationService, cd: ChangeDetectorRef, languageService: PoLanguageService);
|
|
55
56
|
get displayDragDrop(): boolean;
|
|
56
57
|
get displaySendButton(): boolean;
|
|
57
58
|
get selectFileButtonLabel(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "PO UI - Components",
|
|
6
6
|
"author": "PO UI",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@po-ui/style": "6.
|
|
25
|
-
"@po-ui/ng-schematics": "6.
|
|
24
|
+
"@po-ui/style": "6.1.0",
|
|
25
|
+
"@po-ui/ng-schematics": "6.1.0",
|
|
26
26
|
"tslib": "^2.3.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@angular/platform-browser": "^13.0.2",
|
|
35
35
|
"@angular/platform-browser-dynamic": "^13.0.2",
|
|
36
36
|
"@angular/router": "^13.0.2",
|
|
37
|
-
"@po-ui/style": "6.
|
|
37
|
+
"@po-ui/style": "6.1.0",
|
|
38
38
|
"rxjs": "~7.4.0",
|
|
39
39
|
"zone.js": "~0.11.4"
|
|
40
40
|
},
|
|
@@ -57,5 +57,8 @@
|
|
|
57
57
|
"default": "./fesm2020/po-ui-ng-components.mjs"
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
|
-
"sideEffects": false
|
|
60
|
+
"sideEffects": false,
|
|
61
|
+
"scripts": {
|
|
62
|
+
"prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled by Ivy in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with Ivy partial compilation mode, before attempting to publish.\\n')\" && exit 1"
|
|
63
|
+
}
|
|
61
64
|
}
|
|
Binary file
|
|
@@ -18,7 +18,7 @@ function default_1(options) {
|
|
|
18
18
|
exports.default = default_1;
|
|
19
19
|
function addPoPackageAndInstall() {
|
|
20
20
|
return (tree, context) => {
|
|
21
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '6.
|
|
21
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-components', '6.1.0');
|
|
22
22
|
// install packages
|
|
23
23
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
24
24
|
};
|
|
@@ -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('6.
|
|
13
|
+
updatePackageJson('6.1.0', 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)('6.
|
|
10
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('6.1.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
11
11
|
}
|
|
12
12
|
exports.updateToV3 = updateToV3;
|
|
13
13
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('6.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('6.1.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -6,7 +6,7 @@ const project_1 = require("@po-ui/ng-schematics/project");
|
|
|
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)('6.
|
|
9
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('6.1.0', changes_1.updateDepedenciesVersion), createUpgradeRule(), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
exports.default = default_1;
|
|
12
12
|
function postUpdate() {
|
|
@@ -5,7 +5,7 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
|
5
5
|
const package_config_1 = require("@po-ui/ng-schematics/package-config");
|
|
6
6
|
const changes_1 = require("./changes");
|
|
7
7
|
function default_1() {
|
|
8
|
-
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('6.
|
|
8
|
+
return (0, schematics_1.chain)([(0, package_config_1.updatePackageJson)('6.1.0', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
9
9
|
}
|
|
10
10
|
exports.default = default_1;
|
|
11
11
|
function postUpdate() {
|
|
Binary file
|