@po-ui/ng-components 19.39.1 → 19.39.2
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.mjs +78 -94
- package/fesm2022/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-combo/po-combo-base.component.d.ts +1 -0
- package/lib/components/po-field/po-number/po-number.component.d.ts +2 -3
- package/lib/components/po-field/po-select/po-select.component.d.ts +2 -3
- package/lib/components/po-helper/po-helper.component.d.ts +2 -0
- package/lib/components/po-popover/po-popover-base.component.d.ts +4 -1
- package/package.json +4 -4
- package/po-ui-ng-components-19.39.2.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.1.tgz +0 -0
|
@@ -649,6 +649,7 @@ export declare abstract class PoComboBaseComponent implements ControlValueAccess
|
|
|
649
649
|
private compareOptions;
|
|
650
650
|
private getValueUpdate;
|
|
651
651
|
private getValueWrite;
|
|
652
|
+
private normalizeModelIfNeeded;
|
|
652
653
|
private hasDuplicatedOption;
|
|
653
654
|
private listingComboOptions;
|
|
654
655
|
private sortOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { PoNumberBaseComponent } from './po-number-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -28,7 +28,7 @@ import * as i0 from "@angular/core";
|
|
|
28
28
|
* <file name="sample-po-number-calculate/sample-po-number-calculate.component.ts"> </file>
|
|
29
29
|
* </example>
|
|
30
30
|
*/
|
|
31
|
-
export declare class PoNumberComponent extends PoNumberBaseComponent implements
|
|
31
|
+
export declare class PoNumberComponent extends PoNumberBaseComponent implements OnChanges {
|
|
32
32
|
/**
|
|
33
33
|
* @optional
|
|
34
34
|
*
|
|
@@ -65,7 +65,6 @@ export declare class PoNumberComponent extends PoNumberBaseComponent implements
|
|
|
65
65
|
id: string;
|
|
66
66
|
constructor();
|
|
67
67
|
onWheel(event: Event): void;
|
|
68
|
-
ngAfterViewInit(): void;
|
|
69
68
|
ngOnChanges(changes: SimpleChanges): void;
|
|
70
69
|
extraValidation(abstractControl: AbstractControl): {
|
|
71
70
|
[key: string]: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { PoFieldValidateModel } from '../po-field-validate.model';
|
|
4
4
|
import { PoSelectOptionGroup } from './po-select-option-group.interface';
|
|
@@ -73,7 +73,7 @@ import * as i0 from "@angular/core";
|
|
|
73
73
|
* | `--background-color-disabled` | Cor de background no estado disabled | `var(--color-neutral-light-20)` |
|
|
74
74
|
*
|
|
75
75
|
*/
|
|
76
|
-
export declare class PoSelectComponent extends PoFieldValidateModel<any> implements
|
|
76
|
+
export declare class PoSelectComponent extends PoFieldValidateModel<any> implements OnChanges {
|
|
77
77
|
private el;
|
|
78
78
|
renderer: Renderer2;
|
|
79
79
|
private _iconToken;
|
|
@@ -237,7 +237,6 @@ export declare class PoSelectComponent extends PoFieldValidateModel<any> impleme
|
|
|
237
237
|
labelTextWrap: import("@angular/core").InputSignal<boolean>;
|
|
238
238
|
constructor();
|
|
239
239
|
ngOnChanges(changes: SimpleChanges): void;
|
|
240
|
-
ngAfterViewInit(): void;
|
|
241
240
|
/**
|
|
242
241
|
* Função que atribui foco ao componente.
|
|
243
242
|
*
|
|
@@ -48,6 +48,8 @@ export declare class PoHelperComponent extends PoHelperBaseComponent implements
|
|
|
48
48
|
private handleEmitEvent;
|
|
49
49
|
closePopoverOnFocusOut(event: FocusEvent): void;
|
|
50
50
|
protected ariaLabel(): string;
|
|
51
|
+
protected handleOpen(): void;
|
|
52
|
+
protected handleClose(): void;
|
|
51
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoHelperComponent, never>;
|
|
52
54
|
static ɵcmp: i0.ɵɵComponentDeclaration<PoHelperComponent, "po-helper", never, {}, {}, never, never, false, never>;
|
|
53
55
|
}
|
|
@@ -80,6 +80,8 @@ export declare class PoPopoverBaseComponent {
|
|
|
80
80
|
title?: string;
|
|
81
81
|
/** Evento disparado ao fechar o popover. */
|
|
82
82
|
closePopover: EventEmitter<any>;
|
|
83
|
+
/** Evento disparado ao abrir o popover. */
|
|
84
|
+
openPopover: EventEmitter<any>;
|
|
83
85
|
isHidden: boolean;
|
|
84
86
|
protected clickoutListener: () => void;
|
|
85
87
|
protected mouseEnterListener: () => void;
|
|
@@ -135,6 +137,7 @@ export declare class PoPopoverBaseComponent {
|
|
|
135
137
|
* Valores válidos:
|
|
136
138
|
* - `click`: Abre ao clicar no componente alvo.
|
|
137
139
|
* - `hover`: Abre ao passar o mouse sobre o componente alvo.
|
|
140
|
+
* - `function`: Abre através de funções públicas do componente.
|
|
138
141
|
*
|
|
139
142
|
* @default click
|
|
140
143
|
* @optional
|
|
@@ -154,6 +157,6 @@ export declare class PoPopoverBaseComponent {
|
|
|
154
157
|
*/
|
|
155
158
|
customClasses: import("@angular/core").InputSignal<string>;
|
|
156
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPopoverBaseComponent, never>;
|
|
157
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPopoverBaseComponent, "po-popover-base", never, { "appendBox": { "alias": "p-append-in-body"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "trigger": { "alias": "p-trigger"; "required": false; }; "customClasses": { "alias": "p-custom-classes"; "required": false; "isSignal": true; }; }, { "closePopover": "p-close"; }, never, never, false, never>;
|
|
160
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPopoverBaseComponent, "po-popover-base", never, { "appendBox": { "alias": "p-append-in-body"; "required": false; }; "target": { "alias": "p-target"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "hideArrow": { "alias": "p-hide-arrow"; "required": false; }; "position": { "alias": "p-position"; "required": false; }; "trigger": { "alias": "p-trigger"; "required": false; }; "customClasses": { "alias": "p-custom-classes"; "required": false; "isSignal": true; }; }, { "closePopover": "p-close"; "openPopover": "p-open"; }, never, never, false, never>;
|
|
158
161
|
static ngAcceptInputType_appendBox: any;
|
|
159
162
|
}
|
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.2",
|
|
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.0.3",
|
|
25
|
-
"@po-ui/style": "19.39.
|
|
26
|
-
"@po-ui/ng-schematics": "19.39.
|
|
25
|
+
"@po-ui/style": "19.39.2",
|
|
26
|
+
"@po-ui/ng-schematics": "19.39.2",
|
|
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.2",
|
|
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.2');
|
|
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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', 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.2', changes_1.updateDepedenciesVersion), postUpdate()]);
|
|
10
10
|
}
|
|
11
11
|
function postUpdate() {
|
|
12
12
|
return (_, context) => {
|
|
Binary file
|