@po-ui/ng-templates 19.23.0 → 19.25.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/fesm2022/po-ui-ng-templates.mjs +356 -420
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/lib/components/po-modal-password-recovery/po-modal-password-recovery-base.component.d.ts +2 -3
- package/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.d.ts +2 -5
- package/lib/components/po-modal-password-recovery/po-modal-password-recovery.service.d.ts +1 -2
- package/lib/components/po-page-background/po-page-background.component.d.ts +1 -3
- package/lib/components/po-page-blocked-user/po-page-blocked-user-base.component.d.ts +0 -3
- package/lib/components/po-page-blocked-user/po-page-blocked-user-contacts/po-page-blocked-user-contacts.component.d.ts +1 -2
- package/lib/components/po-page-blocked-user/po-page-blocked-user-reason/po-page-blocked-user-reason.component.d.ts +2 -3
- package/lib/components/po-page-blocked-user/po-page-blocked-user.component.d.ts +1 -4
- package/lib/components/po-page-change-password/po-page-change-password-base.component.d.ts +1 -3
- package/lib/components/po-page-change-password/po-page-change-password.component.d.ts +2 -5
- package/lib/components/po-page-change-password/po-page-change-password.service.d.ts +1 -2
- package/lib/components/po-page-dynamic-detail/po-page-dynamic-detail-actions.service.d.ts +1 -2
- package/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.d.ts +2 -7
- package/lib/components/po-page-dynamic-edit/po-page-dynamic-edit-actions.service.d.ts +1 -2
- package/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.d.ts +2 -7
- package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter-base.component.d.ts +2 -3
- package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.d.ts +2 -3
- package/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.d.ts +2 -3
- package/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.d.ts +3 -5
- package/lib/components/po-page-dynamic-table/po-page-dynamic-table-actions.service.d.ts +1 -2
- package/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.d.ts +2 -7
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-base.component.d.ts +2 -3
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.d.ts +0 -2
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-lookup.service.d.ts +0 -2
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.d.ts +0 -2
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.d.ts +2 -6
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.service.d.ts +1 -2
- package/lib/components/po-page-login/po-page-login-base.component.d.ts +2 -3
- package/lib/components/po-page-login/po-page-login.component.d.ts +2 -7
- package/lib/services/po-page-customization/po-page-customization.service.d.ts +0 -2
- package/lib/services/po-page-dynamic/po-page-dynamic.service.d.ts +2 -3
- package/lib/utils/util.d.ts +25 -1
- package/package.json +4 -4
- package/po-ui-ng-templates-19.25.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-19.23.0.tgz +0 -0
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef,
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { NgForm } from '@angular/forms';
|
|
3
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
5
|
-
import { PoComponentInjectorService } from '@po-ui/ng-components';
|
|
6
3
|
import { PoPageLoginBaseComponent } from './po-page-login-base.component';
|
|
7
|
-
import { PoPageLoginService } from './po-page-login.service';
|
|
8
4
|
import * as i0 from "@angular/core";
|
|
9
5
|
/**
|
|
10
6
|
* @docsExtends PoPageLoginBaseComponent
|
|
@@ -33,7 +29,6 @@ import * as i0 from "@angular/core";
|
|
|
33
29
|
* </example>
|
|
34
30
|
*/
|
|
35
31
|
export declare class PoPageLoginComponent extends PoPageLoginBaseComponent implements AfterViewChecked, OnInit {
|
|
36
|
-
protected poThemeService: PoThemeService;
|
|
37
32
|
changeDetector: ChangeDetectorRef;
|
|
38
33
|
private activatedRoute;
|
|
39
34
|
private poComponentInjector;
|
|
@@ -43,7 +38,7 @@ export declare class PoPageLoginComponent extends PoPageLoginBaseComponent imple
|
|
|
43
38
|
private componentRef;
|
|
44
39
|
private differ;
|
|
45
40
|
private readonly customPasswordError;
|
|
46
|
-
constructor(
|
|
41
|
+
constructor();
|
|
47
42
|
ngAfterViewChecked(): void;
|
|
48
43
|
ngOnInit(): void;
|
|
49
44
|
activateSupport(): void;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
2
|
import { PoPageDynamicOptionsSchema } from './po-page-dynamic-options.interface';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
type urlOrFunction = string | Function;
|
|
6
5
|
export declare class PoPageCustomizationService {
|
|
7
6
|
private http;
|
|
8
|
-
constructor(http: HttpClient);
|
|
9
7
|
getCustomOptions<T>(origin: urlOrFunction, originalOption: T, optionSchema: PoPageDynamicOptionsSchema<T>): Observable<T>;
|
|
10
8
|
changeOriginalOptionsToNewOptions<T extends object, K>(objectToChange: T, newOptions: K): void;
|
|
11
9
|
private createObservable;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HttpHeaders, HttpParams } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { PoLanguageService, PoNotificationService } from '@po-ui/ng-components';
|
|
4
3
|
import { PoPageDynamicLiterals } from './po-page-dynamic-literals.interface';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare const poPageDynamicLiterals: {
|
|
@@ -13,7 +12,7 @@ export declare class PoPageDynamicService {
|
|
|
13
12
|
private endpoint;
|
|
14
13
|
private language;
|
|
15
14
|
private metadata;
|
|
16
|
-
constructor(
|
|
15
|
+
constructor();
|
|
17
16
|
configServiceApi(config?: {
|
|
18
17
|
endpoint?: string;
|
|
19
18
|
metadata?: string;
|
package/lib/utils/util.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PoThemeService } from '@po-ui/ng-components';
|
|
1
|
+
import { PoThemeA11yEnum, PoThemeService } from '@po-ui/ng-components';
|
|
2
2
|
/**
|
|
3
3
|
* Retorna o idioma atual do navegador
|
|
4
4
|
*/
|
|
@@ -30,9 +30,15 @@ export declare function convertDateToISOExtended(date: Date, time?: string): str
|
|
|
30
30
|
*/
|
|
31
31
|
export declare function formatYear(year: number): string;
|
|
32
32
|
/**
|
|
33
|
+
* @deprecated use getDefaultSizeFn
|
|
34
|
+
*
|
|
33
35
|
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
34
36
|
*/
|
|
35
37
|
export declare function getDefaultSize(poThemeService: PoThemeService): string;
|
|
38
|
+
/**
|
|
39
|
+
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getDefaultSizeFn(): string;
|
|
36
42
|
export declare function isEquals(value: any, comparedValue: any): boolean;
|
|
37
43
|
/**
|
|
38
44
|
* Caso o ano original da data seja entre 0 e 100 atribui esse valor ao ano, pois o `new Date` do javascript transforma o ano para 190X.
|
|
@@ -213,6 +219,24 @@ export declare function removeDuplicateItemsWithArrayKey(item: any, item2: any,
|
|
|
213
219
|
*/
|
|
214
220
|
export declare function sortArrayOfObjects(items: any, key: any, isAscendingOrder: any): any;
|
|
215
221
|
/**
|
|
222
|
+
* @deprecated use validateSizeFn
|
|
223
|
+
*
|
|
216
224
|
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
217
225
|
*/
|
|
218
226
|
export declare function validateSize(value: string, poThemeService: PoThemeService): string;
|
|
227
|
+
/**
|
|
228
|
+
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
229
|
+
*/
|
|
230
|
+
export declare function validateSizeFn(value: string): string;
|
|
231
|
+
/**
|
|
232
|
+
* Retorna a preferência global de tamanho dos componentes.
|
|
233
|
+
*
|
|
234
|
+
* @returns `'small'` ou `'medium'`.
|
|
235
|
+
*/
|
|
236
|
+
export declare function getA11yDefaultSize(): string;
|
|
237
|
+
/**
|
|
238
|
+
* Retorna o nível de acessibilidade configurado no tema.
|
|
239
|
+
* Se não estiver configurado, retorna `AAA` como padrão.
|
|
240
|
+
* @returns {PoThemeA11yEnum} O nível de acessibilidade, que pode ser `AA` ou `AAA`.
|
|
241
|
+
*/
|
|
242
|
+
export declare function getA11yLevel(): PoThemeA11yEnum;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-templates",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.25.0",
|
|
4
4
|
"description": "PO UI - Templates",
|
|
5
5
|
"author": "PO UI",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
},
|
|
12
12
|
"schematics": "./schematics/collection.json",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@po-ui/ng-components": "19.
|
|
15
|
-
"@po-ui/ng-schematics": "19.
|
|
14
|
+
"@po-ui/ng-components": "19.25.0",
|
|
15
|
+
"@po-ui/ng-schematics": "19.25.0",
|
|
16
16
|
"tslib": "^2.6.2"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@angular/platform-browser": "^19",
|
|
25
25
|
"@angular/platform-browser-dynamic": "^19",
|
|
26
26
|
"@angular/router": "^19",
|
|
27
|
-
"@po-ui/ng-components": "19.
|
|
27
|
+
"@po-ui/ng-components": "19.25.0",
|
|
28
28
|
"rxjs": "~7.8.1",
|
|
29
29
|
"zone.js": "~0.15.0"
|
|
30
30
|
},
|
|
Binary file
|
|
@@ -23,7 +23,7 @@ function default_1(options) {
|
|
|
23
23
|
}
|
|
24
24
|
function addPoPackageAndInstall() {
|
|
25
25
|
return (tree, context) => {
|
|
26
|
-
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '19.
|
|
26
|
+
(0, package_config_1.addPackageToPackageJson)(tree, '@po-ui/ng-templates', '19.25.0');
|
|
27
27
|
// install packages
|
|
28
28
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
29
29
|
};
|
|
Binary file
|