@po-ui/ng-templates 19.6.0 → 19.8.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 +686 -329
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/lib/components/enums/po-page-components-size.enum.d.ts +12 -0
- package/lib/components/po-modal-password-recovery/po-modal-password-recovery-base.component.d.ts +21 -3
- package/lib/components/po-modal-password-recovery/po-modal-password-recovery.component.d.ts +4 -3
- package/lib/components/po-page-background/po-page-background.component.d.ts +21 -3
- package/lib/components/po-page-blocked-user/po-page-blocked-user-base.component.d.ts +21 -1
- package/lib/components/po-page-blocked-user/po-page-blocked-user.component.d.ts +4 -3
- package/lib/components/po-page-change-password/po-page-change-password-base.component.d.ts +21 -2
- package/lib/components/po-page-change-password/po-page-change-password.component.d.ts +4 -3
- package/lib/components/po-page-dynamic-detail/po-page-dynamic-detail.component.d.ts +26 -8
- package/lib/components/po-page-dynamic-edit/po-page-dynamic-edit.component.d.ts +25 -7
- package/lib/components/po-page-dynamic-search/index.d.ts +4 -4
- package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter-base.component.d.ts +22 -4
- package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.d.ts +3 -2
- package/lib/components/po-page-dynamic-search/po-page-dynamic-search-base.component.d.ts +24 -6
- package/lib/components/po-page-dynamic-search/po-page-dynamic-search.component.d.ts +5 -4
- package/lib/components/po-page-dynamic-table/po-page-dynamic-table.component.d.ts +22 -4
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-base.component.d.ts +22 -4
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-execution/po-page-job-scheduler-execution.component.d.ts +2 -1
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-parameters/po-page-job-scheduler-parameters.component.d.ts +2 -1
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler-summary/po-page-job-scheduler-summary.component.d.ts +2 -1
- package/lib/components/po-page-job-scheduler/po-page-job-scheduler.component.d.ts +3 -2
- package/lib/components/po-page-login/po-page-login-base.component.d.ts +23 -5
- package/lib/components/po-page-login/po-page-login.component.d.ts +4 -3
- package/lib/utils/util.d.ts +9 -0
- package/package.json +4 -4
- package/po-ui-ng-templates-19.8.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-19.6.0.tgz +0 -0
- /package/lib/components/po-page-dynamic-search/{po-page-dynamic-search-filters.interface.d.ts → interfaces/po-page-dynamic-search-filters.interface.d.ts} +0 -0
- /package/lib/components/po-page-dynamic-search/{po-page-dynamic-search-literals.interface.d.ts → interfaces/po-page-dynamic-search-literals.interface.d.ts} +0 -0
- /package/lib/components/po-page-dynamic-search/{po-page-dynamic-search-options.interface.d.ts → interfaces/po-page-dynamic-search-options.interface.d.ts} +0 -0
- /package/lib/components/po-page-dynamic-search/{po-page-dynamic-search.interface.d.ts → interfaces/po-page-dynamic-search.interface.d.ts} +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description
|
|
3
|
+
*
|
|
4
|
+
* Tamanhos da propriedade `p-components-size` para componentes de formulário no template. A medida `small` está
|
|
5
|
+
* disponível apenas para acessibilidade AA.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum PoPageComponentsSize {
|
|
8
|
+
/** Aplica a medida `small` do componente. */
|
|
9
|
+
Small = "small",
|
|
10
|
+
/** Aplica a medida `medium` do componente. */
|
|
11
|
+
Medium = "medium"
|
|
12
|
+
}
|
package/lib/components/po-modal-password-recovery/po-modal-password-recovery-base.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoLanguageService } from '@po-ui/ng-components';
|
|
2
|
+
import { PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
3
3
|
import { PoModalPasswordRecoveryType } from './enums/po-modal-password-recovery-type.enum';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -51,6 +51,7 @@ import * as i0 from "@angular/core";
|
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
export declare abstract class PoModalPasswordRecoveryBaseComponent {
|
|
54
|
+
protected poThemeService: PoThemeService;
|
|
54
55
|
/**
|
|
55
56
|
* @optional
|
|
56
57
|
*
|
|
@@ -222,9 +223,26 @@ export declare abstract class PoModalPasswordRecoveryBaseComponent {
|
|
|
222
223
|
telephone: string;
|
|
223
224
|
typeCodeTitle: string;
|
|
224
225
|
};
|
|
226
|
+
private _componentsSize?;
|
|
225
227
|
private _contactEmail;
|
|
226
228
|
private _phoneMask;
|
|
227
229
|
private _type;
|
|
230
|
+
/**
|
|
231
|
+
* @optional
|
|
232
|
+
*
|
|
233
|
+
* @description
|
|
234
|
+
*
|
|
235
|
+
* Define o tamanho dos componentes de formulário no modal:
|
|
236
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
237
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
238
|
+
*
|
|
239
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
240
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
241
|
+
*
|
|
242
|
+
* @default `medium`
|
|
243
|
+
*/
|
|
244
|
+
set componentsSize(value: string);
|
|
245
|
+
get componentsSize(): string;
|
|
228
246
|
/**
|
|
229
247
|
* @optional
|
|
230
248
|
*
|
|
@@ -257,7 +275,7 @@ export declare abstract class PoModalPasswordRecoveryBaseComponent {
|
|
|
257
275
|
*/
|
|
258
276
|
set type(value: PoModalPasswordRecoveryType);
|
|
259
277
|
get type(): PoModalPasswordRecoveryType;
|
|
260
|
-
constructor(languageService: PoLanguageService);
|
|
278
|
+
constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
|
|
261
279
|
private concatenateSMSErrorMessage;
|
|
262
280
|
/**
|
|
263
281
|
* Acão para conclusão de processo e fechamento da modal. Indica-se sua utilização
|
|
@@ -279,5 +297,5 @@ export declare abstract class PoModalPasswordRecoveryBaseComponent {
|
|
|
279
297
|
*/
|
|
280
298
|
abstract openSmsCode(): void;
|
|
281
299
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoModalPasswordRecoveryBaseComponent, never>;
|
|
282
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoModalPasswordRecoveryBaseComponent, never, never, { "codeError": { "alias": "p-code-error"; "required": false; }; "urlRecovery": { "alias": "p-url-recovery"; "required": false; }; "contactEmail": { "alias": "p-contact-email"; "required": false; }; "phoneMask": { "alias": "p-phone-mask"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; }, { "codeSubmit": "p-code-submit"; "submit": "p-submit"; }, never, never, true, never>;
|
|
300
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoModalPasswordRecoveryBaseComponent, never, never, { "codeError": { "alias": "p-code-error"; "required": false; }; "urlRecovery": { "alias": "p-url-recovery"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "contactEmail": { "alias": "p-contact-email"; "required": false; }; "phoneMask": { "alias": "p-phone-mask"; "required": false; }; "type": { "alias": "p-type"; "required": false; }; }, { "codeSubmit": "p-code-submit"; "submit": "p-submit"; }, never, never, true, never>;
|
|
283
301
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { AbstractControl, NgForm } from '@angular/forms';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
|
-
import { PoI18nPipe, PoLanguageService, PoModalAction, PoModalComponent, PoRadioGroupOption } from '@po-ui/ng-components';
|
|
4
|
+
import { PoI18nPipe, PoLanguageService, PoModalAction, PoModalComponent, PoRadioGroupOption, PoThemeService } from '@po-ui/ng-components';
|
|
5
|
+
import { PoModalPasswordRecoveryModalContent } from './enums/po-modal-password-recovery-modal-content.enum';
|
|
5
6
|
import { PoModalPasswordRecovery } from './interfaces/po-modal-password-recovery.interface';
|
|
6
7
|
import { PoModalPasswordRecoveryBaseComponent } from './po-modal-password-recovery-base.component';
|
|
7
|
-
import { PoModalPasswordRecoveryModalContent } from './enums/po-modal-password-recovery-modal-content.enum';
|
|
8
8
|
import { PoModalPasswordRecoveryService } from './po-modal-password-recovery.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -31,6 +31,7 @@ export declare class PoModalPasswordRecoveryComponent extends PoModalPasswordRec
|
|
|
31
31
|
private router;
|
|
32
32
|
private poI18nPipe;
|
|
33
33
|
private poModalPasswordRecoveryService;
|
|
34
|
+
protected poThemeService: PoThemeService;
|
|
34
35
|
emailForm: NgForm;
|
|
35
36
|
recoveryModalElement: PoModalComponent;
|
|
36
37
|
smsCodeForm: NgForm;
|
|
@@ -57,7 +58,7 @@ export declare class PoModalPasswordRecoveryComponent extends PoModalPasswordRec
|
|
|
57
58
|
private passwordRecoverySubscription;
|
|
58
59
|
private smsBodyResponse;
|
|
59
60
|
private smsCodeSubscription;
|
|
60
|
-
constructor(router: Router, poI18nPipe: PoI18nPipe, poModalPasswordRecoveryService: PoModalPasswordRecoveryService, poLanguageService: PoLanguageService);
|
|
61
|
+
constructor(router: Router, poI18nPipe: PoI18nPipe, poModalPasswordRecoveryService: PoModalPasswordRecoveryService, poThemeService: PoThemeService, poLanguageService: PoLanguageService);
|
|
61
62
|
ngOnDestroy(): void;
|
|
62
63
|
completed(): void;
|
|
63
64
|
formModelChangesCheck(form: NgForm): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { PoLanguage, PoLanguageService, PoSelectOption } from '@po-ui/ng-components';
|
|
2
|
+
import { PoLanguage, PoLanguageService, PoSelectOption, PoThemeService } from '@po-ui/ng-components';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PoPageBackgroundComponent implements OnInit {
|
|
5
5
|
poLanguageService: PoLanguageService;
|
|
6
|
+
protected poThemeService: PoThemeService;
|
|
6
7
|
/** Insere uma imagem de destaque ao lado direito do container. */
|
|
7
8
|
background?: string;
|
|
8
9
|
/** Idioma inicial selecionado no combo */
|
|
@@ -21,9 +22,26 @@ export declare class PoPageBackgroundComponent implements OnInit {
|
|
|
21
22
|
*/
|
|
22
23
|
selectedLanguage: EventEmitter<string>;
|
|
23
24
|
selectedLanguageOption: string;
|
|
25
|
+
private _componentsSize?;
|
|
24
26
|
private _showSelectLanguage?;
|
|
25
27
|
private _languagesList;
|
|
26
28
|
private _selectLanguageOptions;
|
|
29
|
+
/**
|
|
30
|
+
* @optional
|
|
31
|
+
*
|
|
32
|
+
* @description
|
|
33
|
+
*
|
|
34
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
35
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
36
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
37
|
+
*
|
|
38
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
39
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
40
|
+
*
|
|
41
|
+
* @default `medium`
|
|
42
|
+
*/
|
|
43
|
+
set componentsSize(value: string);
|
|
44
|
+
get componentsSize(): string;
|
|
27
45
|
/** Lista de idiomas para o combo box */
|
|
28
46
|
set languagesList(value: Array<PoLanguage>);
|
|
29
47
|
get languagesList(): Array<PoLanguage>;
|
|
@@ -42,11 +60,11 @@ export declare class PoPageBackgroundComponent implements OnInit {
|
|
|
42
60
|
/** Define se o seletor de idiomas deve ser exibido. */
|
|
43
61
|
set showSelectLanguage(showSelectLanguage: boolean);
|
|
44
62
|
get showSelectLanguage(): boolean;
|
|
45
|
-
constructor(poLanguageService: PoLanguageService);
|
|
63
|
+
constructor(poLanguageService: PoLanguageService, poThemeService: PoThemeService);
|
|
46
64
|
ngOnInit(): void;
|
|
47
65
|
onChangeLanguage(): void;
|
|
48
66
|
get selectLanguageOptions(): Array<PoSelectOption>;
|
|
49
67
|
private setLanguageOptions;
|
|
50
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageBackgroundComponent, never>;
|
|
51
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageBackgroundComponent, "po-page-background", never, { "background": { "alias": "p-background"; "required": false; }; "initialSelectLanguage": { "alias": "p-initial-language"; "required": false; }; "hideLogo": { "alias": "p-hide-logo"; "required": false; }; "highlightInfo": { "alias": "p-highlight-info"; "required": false; }; "languagesList": { "alias": "p-languages"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "showSelectLanguage": { "alias": "p-show-select-language"; "required": false; }; }, { "selectedLanguage": "p-selected-language"; }, never, ["*"], false, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageBackgroundComponent, "po-page-background", never, { "background": { "alias": "p-background"; "required": false; }; "initialSelectLanguage": { "alias": "p-initial-language"; "required": false; }; "hideLogo": { "alias": "p-hide-logo"; "required": false; }; "highlightInfo": { "alias": "p-highlight-info"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "languagesList": { "alias": "p-languages"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "logoAlt": { "alias": "p-logo-alt"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "showSelectLanguage": { "alias": "p-show-select-language"; "required": false; }; }, { "selectedLanguage": "p-selected-language"; }, never, ["*"], false, never>;
|
|
52
70
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PoThemeService } from '@po-ui/ng-components';
|
|
1
2
|
import { PoPageBlockedUserReason } from './enums/po-page-blocked-user-reason.enum';
|
|
2
3
|
import { PoPageBlockedUserReasonParams } from './interfaces/po-page-blocked-user-reason-params.interface';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -62,6 +63,7 @@ import * as i0 from "@angular/core";
|
|
|
62
63
|
*
|
|
63
64
|
*/
|
|
64
65
|
export declare class PoPageBlockedUserBaseComponent {
|
|
66
|
+
protected poThemeService: PoThemeService;
|
|
65
67
|
/**
|
|
66
68
|
* @optional
|
|
67
69
|
*
|
|
@@ -91,9 +93,26 @@ export declare class PoPageBlockedUserBaseComponent {
|
|
|
91
93
|
* Caminho para a logomarca localizada no rodapé.
|
|
92
94
|
*/
|
|
93
95
|
secondaryLogo?: string;
|
|
96
|
+
private _componentsSize?;
|
|
94
97
|
private _params;
|
|
95
98
|
private _reason;
|
|
96
99
|
private _urlBack;
|
|
100
|
+
/**
|
|
101
|
+
* @optional
|
|
102
|
+
*
|
|
103
|
+
* @description
|
|
104
|
+
*
|
|
105
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
106
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
107
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
108
|
+
*
|
|
109
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
110
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
111
|
+
*
|
|
112
|
+
* @default `medium`
|
|
113
|
+
*/
|
|
114
|
+
set componentsSize(value: string);
|
|
115
|
+
get componentsSize(): string;
|
|
97
116
|
/**
|
|
98
117
|
* @optional
|
|
99
118
|
*
|
|
@@ -141,6 +160,7 @@ export declare class PoPageBlockedUserBaseComponent {
|
|
|
141
160
|
*/
|
|
142
161
|
set urlBack(url: string);
|
|
143
162
|
get urlBack(): string;
|
|
163
|
+
constructor(poThemeService: PoThemeService);
|
|
144
164
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageBlockedUserBaseComponent, never>;
|
|
145
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageBlockedUserBaseComponent, never, never, { "contactEmail": { "alias": "p-contact-email"; "required": false; }; "contactPhone": { "alias": "p-contact-phone"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "reason": { "alias": "p-reason"; "required": false; }; "urlBack": { "alias": "p-url-back"; "required": false; }; }, {}, never, never, true, never>;
|
|
165
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageBlockedUserBaseComponent, never, never, { "contactEmail": { "alias": "p-contact-email"; "required": false; }; "contactPhone": { "alias": "p-contact-phone"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "params": { "alias": "p-params"; "required": false; }; "reason": { "alias": "p-reason"; "required": false; }; "urlBack": { "alias": "p-url-back"; "required": false; }; }, {}, never, never, true, never>;
|
|
146
166
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
1
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
4
4
|
import { PoPageBlockedUserBaseComponent } from './po-page-blocked-user-base.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const poPageBlockedUserButtonLiterals: object;
|
|
@@ -32,8 +32,9 @@ export declare const poPageBlockedUserButtonLiterals: object;
|
|
|
32
32
|
export declare class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent implements OnInit {
|
|
33
33
|
private activatedRoute;
|
|
34
34
|
private router;
|
|
35
|
+
protected poThemeService: PoThemeService;
|
|
35
36
|
literals: any;
|
|
36
|
-
constructor(activatedRoute: ActivatedRoute, router: Router, languageService: PoLanguageService);
|
|
37
|
+
constructor(activatedRoute: ActivatedRoute, router: Router, poThemeService: PoThemeService, languageService: PoLanguageService);
|
|
37
38
|
ngOnInit(): void;
|
|
38
39
|
navigateTo(url: string): void;
|
|
39
40
|
private checkingForMetadataProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoModalAction } from '@po-ui/ng-components';
|
|
2
|
+
import { PoModalAction, PoThemeService } from '@po-ui/ng-components';
|
|
3
3
|
import { PoPageChangePasswordRecovery } from './interfaces/po-page-change-password-recovery.interface';
|
|
4
4
|
import { PoPageChangePasswordRequirement } from './interfaces/po-page-change-password-requirement.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -32,6 +32,7 @@ import * as i0 from "@angular/core";
|
|
|
32
32
|
* ```
|
|
33
33
|
*/
|
|
34
34
|
export declare abstract class PoPageChangePasswordBaseComponent {
|
|
35
|
+
protected poThemeService: PoThemeService;
|
|
35
36
|
/**
|
|
36
37
|
* @optional
|
|
37
38
|
*
|
|
@@ -166,10 +167,27 @@ export declare abstract class PoPageChangePasswordBaseComponent {
|
|
|
166
167
|
recoveryUrlType: string;
|
|
167
168
|
showRequirements: boolean;
|
|
168
169
|
protected validatorChange: any;
|
|
170
|
+
private _componentsSize?;
|
|
169
171
|
private _hideCurrentPassword;
|
|
170
172
|
private _recovery;
|
|
171
173
|
private _requirements;
|
|
172
174
|
private _urlHome;
|
|
175
|
+
/**
|
|
176
|
+
* @optional
|
|
177
|
+
*
|
|
178
|
+
* @description
|
|
179
|
+
*
|
|
180
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
181
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
182
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
183
|
+
*
|
|
184
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
185
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
186
|
+
*
|
|
187
|
+
* @default `medium`
|
|
188
|
+
*/
|
|
189
|
+
set componentsSize(value: string);
|
|
190
|
+
get componentsSize(): string;
|
|
173
191
|
/**
|
|
174
192
|
* @optional
|
|
175
193
|
*
|
|
@@ -239,7 +257,8 @@ export declare abstract class PoPageChangePasswordBaseComponent {
|
|
|
239
257
|
* @default `true`
|
|
240
258
|
*/
|
|
241
259
|
noAutocompletePassword: boolean;
|
|
260
|
+
constructor(poThemeService: PoThemeService);
|
|
242
261
|
abstract navigateTo(url: string): void;
|
|
243
262
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageChangePasswordBaseComponent, never>;
|
|
244
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageChangePasswordBaseComponent, never, never, { "logo": { "alias": "p-logo"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "token": { "alias": "p-token"; "required": false; }; "urlBack": { "alias": "p-url-back"; "required": false; }; "urlNewPassword": { "alias": "p-url-new-password"; "required": false; }; "hideCurrentPassword": { "alias": "p-hide-current-password"; "required": false; }; "recovery": { "alias": "p-recovery"; "required": false; }; "requirements": { "alias": "p-requirements"; "required": false; }; "urlHome": { "alias": "p-url-home"; "required": false; }; "noAutocompletePassword": { "alias": "p-no-autocomplete-password"; "required": false; }; }, { "submit": "p-submit"; }, never, never, true, never>;
|
|
263
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageChangePasswordBaseComponent, never, never, { "logo": { "alias": "p-logo"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "token": { "alias": "p-token"; "required": false; }; "urlBack": { "alias": "p-url-back"; "required": false; }; "urlNewPassword": { "alias": "p-url-new-password"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "hideCurrentPassword": { "alias": "p-hide-current-password"; "required": false; }; "recovery": { "alias": "p-recovery"; "required": false; }; "requirements": { "alias": "p-requirements"; "required": false; }; "urlHome": { "alias": "p-url-home"; "required": false; }; "noAutocompletePassword": { "alias": "p-no-autocomplete-password"; "required": false; }; }, { "submit": "p-submit"; }, never, never, true, never>;
|
|
245
264
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { NgForm } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
-
import { PoComponentInjectorService, PoLanguageService, PoModalAction, PoModalComponent } from '@po-ui/ng-components';
|
|
5
|
-
import { PoPageChangePasswordBaseComponent } from './po-page-change-password-base.component';
|
|
4
|
+
import { PoComponentInjectorService, PoLanguageService, PoModalAction, PoModalComponent, PoThemeService } from '@po-ui/ng-components';
|
|
6
5
|
import { PoPageChangePasswordRequirement } from './interfaces/po-page-change-password-requirement.interface';
|
|
6
|
+
import { PoPageChangePasswordBaseComponent } from './po-page-change-password-base.component';
|
|
7
7
|
import { PoPageChangePasswordService } from './po-page-change-password.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
/**
|
|
@@ -42,6 +42,7 @@ export declare class PoPageChangePasswordComponent extends PoPageChangePasswordB
|
|
|
42
42
|
private router;
|
|
43
43
|
private service;
|
|
44
44
|
private poComponentInjector;
|
|
45
|
+
protected poThemeService: PoThemeService;
|
|
45
46
|
modal: PoModalComponent;
|
|
46
47
|
pageChangePassword: ViewContainerRef;
|
|
47
48
|
passwordForm: NgForm;
|
|
@@ -67,7 +68,7 @@ export declare class PoPageChangePasswordComponent extends PoPageChangePasswordB
|
|
|
67
68
|
modalAction: PoModalAction;
|
|
68
69
|
private newPasswordSubscription;
|
|
69
70
|
private componentRef;
|
|
70
|
-
constructor(activatedRoute: ActivatedRoute, route: ActivatedRoute, router: Router, service: PoPageChangePasswordService, poComponentInjector: PoComponentInjectorService, languageService: PoLanguageService, viewRef: ViewContainerRef);
|
|
71
|
+
constructor(activatedRoute: ActivatedRoute, route: ActivatedRoute, router: Router, service: PoPageChangePasswordService, poComponentInjector: PoComponentInjectorService, poThemeService: PoThemeService, languageService: PoLanguageService, viewRef: ViewContainerRef);
|
|
71
72
|
ngAfterViewInit(): void;
|
|
72
73
|
ngOnDestroy(): void;
|
|
73
74
|
ngOnInit(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { PoBreadcrumb, PoDialogService, PoLanguageService, PoNotificationService, PoPageAction } from '@po-ui/ng-components';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
+
import { PoBreadcrumb, PoDialogService, PoLanguageService, PoNotificationService, PoPageAction, PoThemeService } from '@po-ui/ng-components';
|
|
4
|
+
import { PoPageDynamicService } from '../../services/po-page-dynamic/po-page-dynamic.service';
|
|
5
|
+
import { PoPageCustomizationService } from './../../services/po-page-customization/po-page-customization.service';
|
|
4
6
|
import { PoPageDynamicDetailActions } from './interfaces/po-page-dynamic-detail-actions.interface';
|
|
5
7
|
import { PoPageDynamicDetailField } from './interfaces/po-page-dynamic-detail-field.interface';
|
|
6
|
-
import { PoPageDynamicService } from '../../services/po-page-dynamic/po-page-dynamic.service';
|
|
7
|
-
import { PoPageDynamicDetailActionsService } from './po-page-dynamic-detail-actions.service';
|
|
8
8
|
import { PoPageDynamicDetailOptions } from './interfaces/po-page-dynamic-detail-options.interface';
|
|
9
|
-
import {
|
|
9
|
+
import { PoPageDynamicDetailActionsService } from './po-page-dynamic-detail-actions.service';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare const poPageDynamicDetailLiteralsDefault: {
|
|
12
12
|
en: {
|
|
@@ -128,6 +128,7 @@ export declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
|
|
|
128
128
|
private poPageDynamicService;
|
|
129
129
|
private poPageDynamicDetailActionsService;
|
|
130
130
|
private poPageCustomizationService;
|
|
131
|
+
private poThemeService;
|
|
131
132
|
/** Objeto com propriedades do breadcrumb. */
|
|
132
133
|
breadcrumb?: PoBreadcrumb;
|
|
133
134
|
/**
|
|
@@ -202,6 +203,7 @@ export declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
|
|
|
202
203
|
private subscriptions;
|
|
203
204
|
private _actions;
|
|
204
205
|
private _autoRouter;
|
|
206
|
+
private _componentsSize?;
|
|
205
207
|
private _duplicates;
|
|
206
208
|
private _fields;
|
|
207
209
|
private _keys;
|
|
@@ -231,10 +233,26 @@ export declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
|
|
|
231
233
|
*/
|
|
232
234
|
set autoRouter(value: boolean);
|
|
233
235
|
get autoRouter(): boolean;
|
|
236
|
+
/**
|
|
237
|
+
* @optional
|
|
238
|
+
*
|
|
239
|
+
* @description
|
|
240
|
+
*
|
|
241
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
242
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
243
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
244
|
+
*
|
|
245
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
246
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
247
|
+
*
|
|
248
|
+
* @default `medium`
|
|
249
|
+
*/
|
|
250
|
+
set componentsSize(value: string);
|
|
251
|
+
get componentsSize(): string;
|
|
234
252
|
/** Lista dos campos exibidos na página. */
|
|
235
253
|
set fields(value: Array<PoPageDynamicDetailField>);
|
|
236
254
|
get fields(): Array<PoPageDynamicDetailField>;
|
|
237
|
-
constructor(router: Router, activatedRoute: ActivatedRoute, poNotification: PoNotificationService, poDialogService: PoDialogService, poPageDynamicService: PoPageDynamicService, poPageDynamicDetailActionsService: PoPageDynamicDetailActionsService, poPageCustomizationService: PoPageCustomizationService, languageService: PoLanguageService);
|
|
255
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, poNotification: PoNotificationService, poDialogService: PoDialogService, poPageDynamicService: PoPageDynamicService, poPageDynamicDetailActionsService: PoPageDynamicDetailActionsService, poPageCustomizationService: PoPageCustomizationService, poThemeService: PoThemeService, languageService: PoLanguageService);
|
|
238
256
|
ngOnInit(): void;
|
|
239
257
|
ngOnDestroy(): void;
|
|
240
258
|
get duplicates(): any[];
|
|
@@ -262,5 +280,5 @@ export declare class PoPageDynamicDetailComponent implements OnInit, OnDestroy {
|
|
|
262
280
|
private loadOptionsOnInitialize;
|
|
263
281
|
private getPoDynamicPageOptions;
|
|
264
282
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDynamicDetailComponent, never>;
|
|
265
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicDetailComponent, "po-page-dynamic-detail", never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "autoRouter": { "alias": "p-auto-router"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; }, {}, never, never, false, never>;
|
|
283
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicDetailComponent, "po-page-dynamic-detail", never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "autoRouter": { "alias": "p-auto-router"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; }, {}, never, never, false, never>;
|
|
266
284
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { PoBreadcrumb, PoDialogService, PoDynamicFormComponent, PoGridComponent, PoGridRowActions, PoLanguageService, PoNotificationService, PoPageAction } from '@po-ui/ng-components';
|
|
4
|
+
import { PoBreadcrumb, PoDialogService, PoDynamicFormComponent, PoGridComponent, PoGridRowActions, PoLanguageService, PoNotificationService, PoPageAction, PoThemeService } from '@po-ui/ng-components';
|
|
5
|
+
import { PoPageCustomizationService } from '../../services/po-page-customization/po-page-customization.service';
|
|
6
|
+
import { PoPageDynamicService } from '../../services/po-page-dynamic/po-page-dynamic.service';
|
|
5
7
|
import { PoPageDynamicEditActions } from './interfaces/po-page-dynamic-edit-actions.interface';
|
|
6
8
|
import { PoPageDynamicEditField } from './interfaces/po-page-dynamic-edit-field.interface';
|
|
7
|
-
import {
|
|
9
|
+
import { PoPageDynamicEditLiterals } from './interfaces/po-page-dynamic-edit-literals.interface';
|
|
8
10
|
import { PoPageDynamicEditOptions } from './interfaces/po-page-dynamic-edit-options.interface';
|
|
9
|
-
import { PoPageCustomizationService } from '../../services/po-page-customization/po-page-customization.service';
|
|
10
11
|
import { PoPageDynamicEditActionsService } from './po-page-dynamic-edit-actions.service';
|
|
11
|
-
import { PoPageDynamicEditLiterals } from './interfaces/po-page-dynamic-edit-literals.interface';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare const poNotificationType: string[];
|
|
14
14
|
export declare const poNotificationTypeDefault = "warning";
|
|
@@ -121,6 +121,7 @@ export declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
|
|
|
121
121
|
private poPageDynamicService;
|
|
122
122
|
private poPageCustomizationService;
|
|
123
123
|
private poPageDynamicEditActionsService;
|
|
124
|
+
private poThemeService;
|
|
124
125
|
dynamicForm: PoDynamicFormComponent;
|
|
125
126
|
gridDetail: PoGridComponent;
|
|
126
127
|
/** Objeto com propriedades do breadcrumb. */
|
|
@@ -260,6 +261,7 @@ export declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
|
|
|
260
261
|
private language;
|
|
261
262
|
private subscriptions;
|
|
262
263
|
private _actions;
|
|
264
|
+
private _componentsSize?;
|
|
263
265
|
private _literals;
|
|
264
266
|
private _autoRouter;
|
|
265
267
|
private _controlFields;
|
|
@@ -353,7 +355,23 @@ export declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
|
|
|
353
355
|
/** Lista dos campos usados na tabela e busca avançada. */
|
|
354
356
|
set fields(value: Array<PoPageDynamicEditField>);
|
|
355
357
|
get fields(): Array<PoPageDynamicEditField>;
|
|
356
|
-
|
|
358
|
+
/**
|
|
359
|
+
* @optional
|
|
360
|
+
*
|
|
361
|
+
* @description
|
|
362
|
+
*
|
|
363
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
364
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
365
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
366
|
+
*
|
|
367
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
368
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
369
|
+
*
|
|
370
|
+
* @default `medium`
|
|
371
|
+
*/
|
|
372
|
+
set componentsSize(value: string);
|
|
373
|
+
get componentsSize(): string;
|
|
374
|
+
constructor(router: Router, activatedRoute: ActivatedRoute, poNotification: PoNotificationService, poDialogService: PoDialogService, poPageDynamicService: PoPageDynamicService, poPageCustomizationService: PoPageCustomizationService, poPageDynamicEditActionsService: PoPageDynamicEditActionsService, poThemeService: PoThemeService, languageService: PoLanguageService);
|
|
357
375
|
ngOnInit(): void;
|
|
358
376
|
ngOnDestroy(): void;
|
|
359
377
|
detailActionNew(): void;
|
|
@@ -421,5 +439,5 @@ export declare class PoPageDynamicEditComponent implements OnInit, OnDestroy {
|
|
|
421
439
|
private getPageActions;
|
|
422
440
|
private isObject;
|
|
423
441
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDynamicEditComponent, never>;
|
|
424
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicEditComponent, "po-page-dynamic-edit", never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "onLoadData": { "alias": "p-load-data"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "notificationType": { "alias": "p-notification-type"; "required": false; }; "autoRouter": { "alias": "p-auto-router"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; }, {}, never, never, false, never>;
|
|
442
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicEditComponent, "po-page-dynamic-edit", never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "onLoadData": { "alias": "p-load-data"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "notificationType": { "alias": "p-notification-type"; "required": false; }; "autoRouter": { "alias": "p-auto-router"; "required": false; }; "fields": { "alias": "p-fields"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; }, {}, never, never, false, never>;
|
|
425
443
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
export * from './interfaces/po-page-dynamic-search-filters.interface';
|
|
2
|
+
export * from './interfaces/po-page-dynamic-search-literals.interface';
|
|
3
|
+
export * from './interfaces/po-page-dynamic-search-options.interface';
|
|
4
|
+
export * from './interfaces/po-page-dynamic-search.interface';
|
|
1
5
|
export * from './po-page-dynamic-search.component';
|
|
2
|
-
export * from './po-page-dynamic-search.interface';
|
|
3
|
-
export * from './po-page-dynamic-search-literals.interface';
|
|
4
|
-
export * from './po-page-dynamic-search-options.interface';
|
|
5
|
-
export * from './po-page-dynamic-search-filters.interface';
|
|
6
6
|
export * from './po-page-dynamic-search.module';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoComboOption, PoLanguageService, PoModalAction, PoModalComponent } from '@po-ui/ng-components';
|
|
3
|
-
import { PoPageDynamicSearchFilters } from '../po-page-dynamic-search-filters.interface';
|
|
2
|
+
import { PoComboOption, PoLanguageService, PoModalAction, PoModalComponent, PoThemeService } from '@po-ui/ng-components';
|
|
3
|
+
import { PoPageDynamicSearchFilters } from '../interfaces/po-page-dynamic-search-filters.interface';
|
|
4
4
|
import { PoAdvancedFilterLiterals } from './po-advanced-filter-literals.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare const poAdvancedFiltersLiteralsDefault: {
|
|
@@ -18,6 +18,7 @@ export declare const poAdvancedFiltersLiteralsDefault: {
|
|
|
18
18
|
* Componente de uso interno.
|
|
19
19
|
*/
|
|
20
20
|
export declare class PoAdvancedFilterBaseComponent {
|
|
21
|
+
protected poThemeService: PoThemeService;
|
|
21
22
|
poModal: PoModalComponent;
|
|
22
23
|
/**
|
|
23
24
|
* Mantém na modal de busca avançada os valores preenchidos do último filtro realizado pelo usuário.
|
|
@@ -30,8 +31,25 @@ export declare class PoAdvancedFilterBaseComponent {
|
|
|
30
31
|
primaryAction: PoModalAction;
|
|
31
32
|
secondaryAction: PoModalAction;
|
|
32
33
|
protected optionsServiceChosenOptions: Array<PoComboOption>;
|
|
34
|
+
private _componentsSize?;
|
|
33
35
|
private _filters;
|
|
34
36
|
private _literals;
|
|
37
|
+
/**
|
|
38
|
+
* @optional
|
|
39
|
+
*
|
|
40
|
+
* @description
|
|
41
|
+
*
|
|
42
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
43
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
44
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
45
|
+
*
|
|
46
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
47
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
48
|
+
*
|
|
49
|
+
* @default `medium`
|
|
50
|
+
*/
|
|
51
|
+
set componentsSize(value: string);
|
|
52
|
+
get componentsSize(): string;
|
|
35
53
|
/**
|
|
36
54
|
* Coleção de objetos que implementam a interface PoPageDynamicSearchFilters, para definição dos campos que serão criados
|
|
37
55
|
* dinamicamente.
|
|
@@ -41,9 +59,9 @@ export declare class PoAdvancedFilterBaseComponent {
|
|
|
41
59
|
/** Objeto com as literais usadas no `po-advanced-filter`. */
|
|
42
60
|
set literals(value: PoAdvancedFilterLiterals);
|
|
43
61
|
get literals(): PoAdvancedFilterLiterals;
|
|
44
|
-
constructor(languageService: PoLanguageService);
|
|
62
|
+
constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
|
|
45
63
|
private getValuesFromForm;
|
|
46
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoAdvancedFilterBaseComponent, never>;
|
|
47
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoAdvancedFilterBaseComponent, never, never, { "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "filters": { "alias": "p-filters"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; }, { "searchEvent": "p-search-event"; }, never, never, true, never>;
|
|
65
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoAdvancedFilterBaseComponent, never, never, { "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "filters": { "alias": "p-filters"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; }, { "searchEvent": "p-search-event"; }, never, never, true, never>;
|
|
48
66
|
static ngAcceptInputType_keepFilters: any;
|
|
49
67
|
}
|
package/lib/components/po-page-dynamic-search/po-advanced-filter/po-advanced-filter.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { PoDynamicFormComponent, PoLanguageService } from '@po-ui/ng-components';
|
|
2
|
+
import { PoDynamicFormComponent, PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
3
3
|
import { PoAdvancedFilterBaseComponent } from './po-advanced-filter-base.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
/**
|
|
@@ -15,9 +15,10 @@ import * as i0 from "@angular/core";
|
|
|
15
15
|
* </example-private>
|
|
16
16
|
*/
|
|
17
17
|
export declare class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent implements OnDestroy, OnInit {
|
|
18
|
+
protected poThemeService: PoThemeService;
|
|
18
19
|
poDynamicForm: PoDynamicFormComponent;
|
|
19
20
|
private subscription;
|
|
20
|
-
constructor(languageService: PoLanguageService);
|
|
21
|
+
constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
ngOnDestroy(): void;
|
|
23
24
|
open(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { PoBreadcrumb, PoDynamicFormField, PoLanguageService, PoPageAction } from '@po-ui/ng-components';
|
|
2
|
+
import { PoBreadcrumb, PoDynamicFormField, PoLanguageService, PoPageAction, PoThemeService } from '@po-ui/ng-components';
|
|
3
|
+
import { PoPageDynamicSearchFilters } from './interfaces/po-page-dynamic-search-filters.interface';
|
|
4
|
+
import { PoPageDynamicSearchLiterals } from './interfaces/po-page-dynamic-search-literals.interface';
|
|
5
|
+
import { PoPageDynamicSearchOptions } from './interfaces/po-page-dynamic-search-options.interface';
|
|
3
6
|
import { PoAdvancedFilterLiterals } from './po-advanced-filter/po-advanced-filter-literals.interface';
|
|
4
|
-
import { PoPageDynamicSearchFilters } from './po-page-dynamic-search-filters.interface';
|
|
5
|
-
import { PoPageDynamicSearchLiterals } from './po-page-dynamic-search-literals.interface';
|
|
6
|
-
import { PoPageDynamicSearchOptions } from './po-page-dynamic-search-options.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare const poPageDynamicSearchLiteralsDefault: {
|
|
9
9
|
en: PoPageDynamicSearchLiterals;
|
|
@@ -18,6 +18,7 @@ export declare const poPageDynamicSearchLiteralsDefault: {
|
|
|
18
18
|
* e exiba as informações.
|
|
19
19
|
*/
|
|
20
20
|
export declare abstract class PoPageDynamicSearchBaseComponent {
|
|
21
|
+
protected poThemeService: PoThemeService;
|
|
21
22
|
/** Nesta propriedade deve ser definido um array de objetos que implementam a interface `PoPageAction`. */
|
|
22
23
|
actions?: Array<PoPageAction>;
|
|
23
24
|
/** Objeto com propriedades do breadcrumb. */
|
|
@@ -152,12 +153,29 @@ export declare abstract class PoPageDynamicSearchBaseComponent {
|
|
|
152
153
|
*/
|
|
153
154
|
quickSearch: EventEmitter<string>;
|
|
154
155
|
advancedFilterLiterals: PoAdvancedFilterLiterals;
|
|
156
|
+
private _componentsSize?;
|
|
155
157
|
private _filters;
|
|
156
158
|
private _hideCloseDisclaimers;
|
|
157
159
|
private _literals;
|
|
158
160
|
private _quickSearchWidth;
|
|
159
161
|
private language;
|
|
160
162
|
previousFilters: Array<PoDynamicFormField>;
|
|
163
|
+
/**
|
|
164
|
+
* @optional
|
|
165
|
+
*
|
|
166
|
+
* @description
|
|
167
|
+
*
|
|
168
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
169
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
170
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
171
|
+
*
|
|
172
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
173
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
174
|
+
*
|
|
175
|
+
* @default `medium`
|
|
176
|
+
*/
|
|
177
|
+
set componentsSize(value: string);
|
|
178
|
+
get componentsSize(): string;
|
|
161
179
|
/**
|
|
162
180
|
* @optional
|
|
163
181
|
*
|
|
@@ -233,12 +251,12 @@ export declare abstract class PoPageDynamicSearchBaseComponent {
|
|
|
233
251
|
*/
|
|
234
252
|
set hideCloseDisclaimers(value: Array<string>);
|
|
235
253
|
get hideCloseDisclaimers(): Array<string>;
|
|
236
|
-
constructor(languageService: PoLanguageService);
|
|
254
|
+
constructor(languageService: PoLanguageService, poThemeService: PoThemeService);
|
|
237
255
|
protected setAdvancedFilterLiterals(literals: PoPageDynamicSearchLiterals): void;
|
|
238
256
|
stringify(columns: Array<PoPageDynamicSearchFilters>): string;
|
|
239
257
|
abstract onChangeFilters(filters: Array<PoPageDynamicSearchFilters>): any;
|
|
240
258
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDynamicSearchBaseComponent, never>;
|
|
241
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageDynamicSearchBaseComponent, never, never, { "actions": { "alias": "p-actions"; "required": false; }; "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "concatFilters": { "alias": "p-concat-filters"; "required": false; }; "hideRemoveAllDisclaimer": { "alias": "p-hide-remove-all-disclaimer"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "visibleFixedFilters": { "alias": "p-visible-fixed-filters"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filters": { "alias": "p-filters"; "required": false; }; "quickSearchWidth": { "alias": "p-quick-search-width"; "required": false; }; "hideCloseDisclaimers": { "alias": "p-hide-close-disclaimers"; "required": false; }; }, { "advancedSearch": "p-advanced-search"; "changeDisclaimers": "p-change-disclaimers"; "quickSearch": "p-quick-search"; }, never, never, true, never>;
|
|
259
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageDynamicSearchBaseComponent, never, never, { "actions": { "alias": "p-actions"; "required": false; }; "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "concatFilters": { "alias": "p-concat-filters"; "required": false; }; "hideRemoveAllDisclaimer": { "alias": "p-hide-remove-all-disclaimer"; "required": false; }; "onLoad": { "alias": "p-load"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "visibleFixedFilters": { "alias": "p-visible-fixed-filters"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "filters": { "alias": "p-filters"; "required": false; }; "quickSearchWidth": { "alias": "p-quick-search-width"; "required": false; }; "hideCloseDisclaimers": { "alias": "p-hide-close-disclaimers"; "required": false; }; }, { "advancedSearch": "p-advanced-search"; "changeDisclaimers": "p-change-disclaimers"; "quickSearch": "p-quick-search"; }, never, never, true, never>;
|
|
242
260
|
static ngAcceptInputType_keepFilters: any;
|
|
243
261
|
static ngAcceptInputType_concatFilters: any;
|
|
244
262
|
static ngAcceptInputType_hideRemoveAllDisclaimer: any;
|