@po-ui/ng-templates 19.6.0-beta.2 → 19.7.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.7.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/po-ui-ng-templates-19.6.0-beta.2.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
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { PoDisclaimerGroup, PoLanguageService, PoPageFilter, PoPageListComponent } from '@po-ui/ng-components';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { PoDisclaimerGroup, PoLanguageService, PoPageFilter, PoPageListComponent, PoThemeService } from '@po-ui/ng-components';
|
|
3
3
|
import { PoPageCustomizationService } from '../../services/po-page-customization/po-page-customization.service';
|
|
4
|
+
import { PoPageDynamicSearchFilters } from './interfaces/po-page-dynamic-search-filters.interface';
|
|
4
5
|
import { PoAdvancedFilterComponent } from './po-advanced-filter/po-advanced-filter.component';
|
|
5
6
|
import { PoPageDynamicSearchBaseComponent } from './po-page-dynamic-search-base.component';
|
|
6
|
-
import { PoPageDynamicSearchFilters } from './po-page-dynamic-search-filters.interface';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @docsExtends PoPageDynamicSearchBaseComponent
|
|
@@ -25,12 +25,13 @@ export declare class PoPageDynamicSearchComponent extends PoPageDynamicSearchBas
|
|
|
25
25
|
private languageService;
|
|
26
26
|
private poPageCustomizationService;
|
|
27
27
|
private changeDetector;
|
|
28
|
+
protected poThemeService: PoThemeService;
|
|
28
29
|
poAdvancedFilter: PoAdvancedFilterComponent;
|
|
29
30
|
poPageList: PoPageListComponent;
|
|
30
31
|
private loadSubscription;
|
|
31
32
|
private readonly _disclaimerGroup;
|
|
32
33
|
private readonly _filterSettings;
|
|
33
|
-
constructor(languageService: PoLanguageService, poPageCustomizationService: PoPageCustomizationService, changeDetector: ChangeDetectorRef);
|
|
34
|
+
constructor(languageService: PoLanguageService, poPageCustomizationService: PoPageCustomizationService, changeDetector: ChangeDetectorRef, poThemeService: PoThemeService);
|
|
34
35
|
get disclaimerGroup(): PoDisclaimerGroup & {
|
|
35
36
|
title: string;
|
|
36
37
|
hideRemoveAll: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import { PoDialogService, PoLanguageService, PoNotificationService, PoPageAction, PoTableAction, PoTableColumnSort, PoTableColumnSpacing } from '@po-ui/ng-components';
|
|
3
|
+
import { PoDialogService, PoLanguageService, PoNotificationService, PoPageAction, PoTableAction, PoTableColumnSort, PoTableColumnSpacing, PoThemeService } from '@po-ui/ng-components';
|
|
4
4
|
import { PoPageDynamicService } from '../../services/po-page-dynamic/po-page-dynamic.service';
|
|
5
|
-
import { PoPageDynamicSearchLiterals } from '../po-page-dynamic-search/po-page-dynamic-search-literals.interface';
|
|
5
|
+
import { PoPageDynamicSearchLiterals } from '../po-page-dynamic-search/interfaces/po-page-dynamic-search-literals.interface';
|
|
6
6
|
import { PoPageCustomizationService } from './../../services/po-page-customization/po-page-customization.service';
|
|
7
7
|
import { PoPageDynamicTableActions } from './interfaces/po-page-dynamic-table-actions.interface';
|
|
8
8
|
import { PoPageDynamicTableCustomAction } from './interfaces/po-page-dynamic-table-custom-action.interface';
|
|
@@ -109,6 +109,7 @@ import * as i0 from "@angular/core";
|
|
|
109
109
|
* </example>
|
|
110
110
|
*/
|
|
111
111
|
export declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent implements OnInit, OnDestroy {
|
|
112
|
+
protected poThemeService: PoThemeService;
|
|
112
113
|
private router;
|
|
113
114
|
private activatedRoute;
|
|
114
115
|
private poDialogService;
|
|
@@ -245,6 +246,7 @@ export declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseCo
|
|
|
245
246
|
private sortedColumn;
|
|
246
247
|
private subscriptions;
|
|
247
248
|
private hasCustomActionWithSelectable;
|
|
249
|
+
private _componentsSize?;
|
|
248
250
|
private _customPageListActions;
|
|
249
251
|
private _customTableActions;
|
|
250
252
|
private _defaultPageActions;
|
|
@@ -267,6 +269,22 @@ export declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseCo
|
|
|
267
269
|
*/
|
|
268
270
|
set actions(value: PoPageDynamicTableActions);
|
|
269
271
|
get actions(): PoPageDynamicTableActions;
|
|
272
|
+
/**
|
|
273
|
+
* @optional
|
|
274
|
+
*
|
|
275
|
+
* @description
|
|
276
|
+
*
|
|
277
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
278
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
279
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
280
|
+
*
|
|
281
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
282
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
283
|
+
*
|
|
284
|
+
* @default `medium`
|
|
285
|
+
*/
|
|
286
|
+
set componentsSize(value: string);
|
|
287
|
+
get componentsSize(): string;
|
|
270
288
|
/**
|
|
271
289
|
* @optional
|
|
272
290
|
*
|
|
@@ -471,7 +489,7 @@ export declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseCo
|
|
|
471
489
|
* ```
|
|
472
490
|
*/
|
|
473
491
|
visibleFixedFilters: boolean;
|
|
474
|
-
constructor(router: Router, activatedRoute: ActivatedRoute, poDialogService: PoDialogService, poNotification: PoNotificationService, poPageDynamicService: PoPageDynamicService, poPageCustomizationService: PoPageCustomizationService, poPageDynamicTableActionsService: PoPageDynamicTableActionsService, languageService: PoLanguageService);
|
|
492
|
+
constructor(poThemeService: PoThemeService, router: Router, activatedRoute: ActivatedRoute, poDialogService: PoDialogService, poNotification: PoNotificationService, poPageDynamicService: PoPageDynamicService, poPageCustomizationService: PoPageCustomizationService, poPageDynamicTableActionsService: PoPageDynamicTableActionsService, languageService: PoLanguageService);
|
|
475
493
|
ngOnInit(): void;
|
|
476
494
|
ngOnDestroy(): void;
|
|
477
495
|
onAdvancedSearch(filter: any): void;
|
|
@@ -575,7 +593,7 @@ export declare class PoPageDynamicTableComponent extends PoPageDynamicListBaseCo
|
|
|
575
593
|
private updatePageActions;
|
|
576
594
|
private updateTableActions;
|
|
577
595
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageDynamicTableComponent, never>;
|
|
578
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicTableComponent, "po-page-dynamic-table", never, { "onLoad": { "alias": "p-load"; "required": false; }; "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "concatFilters": { "alias": "p-concat-filters"; "required": false; }; "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideRemoveAllDisclaimer": { "alias": "p-hide-remove-all-disclaimer"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "pageCustomActions": { "alias": "p-page-custom-actions"; "required": false; }; "tableCustomActions": { "alias": "p-table-custom-actions"; "required": false; }; "quickSearchWidth": { "alias": "p-quick-search-width"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideCloseDisclaimers": { "alias": "p-hide-close-disclaimers"; "required": false; }; "quickSearchParam": { "alias": "p-quick-search-param"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "searchLiterals": { "alias": "p-literals"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "textWrap": { "alias": "p-text-wrap"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; "virtualScroll": { "alias": "p-virtual-scroll"; "required": false; }; "visibleFixedFilters": { "alias": "p-visible-fixed-filters"; "required": false; }; }, {}, never, never, false, never>;
|
|
596
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageDynamicTableComponent, "po-page-dynamic-table", never, { "onLoad": { "alias": "p-load"; "required": false; }; "keepFilters": { "alias": "p-keep-filters"; "required": false; }; "actionRight": { "alias": "p-actions-right"; "required": false; }; "concatFilters": { "alias": "p-concat-filters"; "required": false; }; "hideColumnsManager": { "alias": "p-hide-columns-manager"; "required": false; }; "hideRemoveAllDisclaimer": { "alias": "p-hide-remove-all-disclaimer"; "required": false; }; "infiniteScroll": { "alias": "p-infinite-scroll"; "required": false; }; "actions": { "alias": "p-actions"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "pageCustomActions": { "alias": "p-page-custom-actions"; "required": false; }; "tableCustomActions": { "alias": "p-table-custom-actions"; "required": false; }; "quickSearchWidth": { "alias": "p-quick-search-width"; "required": false; }; "height": { "alias": "p-height"; "required": false; }; "hideCloseDisclaimers": { "alias": "p-hide-close-disclaimers"; "required": false; }; "quickSearchParam": { "alias": "p-quick-search-param"; "required": false; }; "quickSearchValue": { "alias": "p-quick-search-value"; "required": false; }; "searchLiterals": { "alias": "p-literals"; "required": false; }; "spacing": { "alias": "p-spacing"; "required": false; }; "textWrap": { "alias": "p-text-wrap"; "required": false; }; "draggable": { "alias": "p-draggable"; "required": false; }; "virtualScroll": { "alias": "p-virtual-scroll"; "required": false; }; "visibleFixedFilters": { "alias": "p-visible-fixed-filters"; "required": false; }; }, {}, never, never, false, never>;
|
|
579
597
|
static ngAcceptInputType_keepFilters: any;
|
|
580
598
|
static ngAcceptInputType_actionRight: any;
|
|
581
599
|
static ngAcceptInputType_concatFilters: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
1
2
|
import { AbstractControl } from '@angular/forms';
|
|
2
|
-
import {
|
|
3
|
-
import { PoBreadcrumb, PoDynamicFormField, PoStepperOrientation } from '@po-ui/ng-components';
|
|
3
|
+
import { PoBreadcrumb, PoDynamicFormField, PoStepperOrientation, PoThemeService } from '@po-ui/ng-components';
|
|
4
4
|
import { PoJobSchedulerInternal } from './interfaces/po-job-scheduler-internal.interface';
|
|
5
5
|
import { PoPageJobSchedulerService } from './po-page-job-scheduler.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -17,8 +17,26 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare class PoPageJobSchedulerBaseComponent implements OnDestroy {
|
|
19
19
|
protected poPageJobSchedulerService: PoPageJobSchedulerService;
|
|
20
|
+
protected poThemeService: PoThemeService;
|
|
21
|
+
private _componentsSize?;
|
|
20
22
|
/** Objeto com as propriedades do breadcrumb. */
|
|
21
23
|
breadcrumb?: PoBreadcrumb;
|
|
24
|
+
/**
|
|
25
|
+
* @optional
|
|
26
|
+
*
|
|
27
|
+
* @description
|
|
28
|
+
*
|
|
29
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
30
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
31
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
32
|
+
*
|
|
33
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
34
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
35
|
+
*
|
|
36
|
+
* @default `medium`
|
|
37
|
+
*/
|
|
38
|
+
set componentsSize(value: string);
|
|
39
|
+
get componentsSize(): string;
|
|
22
40
|
/**
|
|
23
41
|
* Endpoint usado pelo componente para busca dos processos e parâmetros que serão utilizados para criação e edição dos agendamentos.
|
|
24
42
|
*
|
|
@@ -230,12 +248,12 @@ export declare class PoPageJobSchedulerBaseComponent implements OnDestroy {
|
|
|
230
248
|
model: PoJobSchedulerInternal;
|
|
231
249
|
private _subscription;
|
|
232
250
|
private _orientation;
|
|
233
|
-
constructor(poPageJobSchedulerService: PoPageJobSchedulerService);
|
|
251
|
+
constructor(poPageJobSchedulerService: PoPageJobSchedulerService, poThemeService: PoThemeService);
|
|
234
252
|
ngOnDestroy(): void;
|
|
235
253
|
protected loadData(id: string | number): void;
|
|
236
254
|
protected markAsDirtyInvalidControls(controls: {
|
|
237
255
|
[key: string]: AbstractControl;
|
|
238
256
|
}): void;
|
|
239
257
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageJobSchedulerBaseComponent, never>;
|
|
240
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageJobSchedulerBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "stepperDefaultOrientation": { "alias": "p-orientation"; "required": false; }; "beforeSendAction": { "alias": "p-before-send"; "required": false; }; "stepExecutionLast": { "alias": "p-step-execution-last"; "required": false; }; }, { "success": "p-success"; "error": "p-error"; }, never, never, true, never>;
|
|
258
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageJobSchedulerBaseComponent, never, never, { "breadcrumb": { "alias": "p-breadcrumb"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "serviceApi": { "alias": "p-service-api"; "required": false; }; "title": { "alias": "p-title"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "stepperDefaultOrientation": { "alias": "p-orientation"; "required": false; }; "beforeSendAction": { "alias": "p-before-send"; "required": false; }; "stepExecutionLast": { "alias": "p-step-execution-last"; "required": false; }; }, { "success": "p-success"; "error": "p-error"; }, never, never, true, never>;
|
|
241
259
|
}
|
|
@@ -11,6 +11,7 @@ export declare class PoPageJobSchedulerExecutionComponent implements OnInit, Aft
|
|
|
11
11
|
dailyTemplate: any;
|
|
12
12
|
monthlyTemplate: any;
|
|
13
13
|
weeklyTempalte: any;
|
|
14
|
+
componentsSize: string;
|
|
14
15
|
isEdit: boolean;
|
|
15
16
|
literals: any;
|
|
16
17
|
noParameters: boolean;
|
|
@@ -49,5 +50,5 @@ export declare class PoPageJobSchedulerExecutionComponent implements OnInit, Aft
|
|
|
49
50
|
private getWeekDays;
|
|
50
51
|
private subscribeProcessIdValueChanges;
|
|
51
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageJobSchedulerExecutionComponent, never>;
|
|
52
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerExecutionComponent, "po-page-job-scheduler-execution", never, { "isEdit": { "alias": "p-is-edit"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "noParameters": { "alias": "p-no-parameters"; "required": false; }; "noCustomParamsComponent": { "alias": "p-no-custom-params-component"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; }, { "changeProcess": "p-change-process"; }, never, never, false, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerExecutionComponent, "po-page-job-scheduler-execution", never, { "componentsSize": { "alias": "p-components-size"; "required": false; }; "isEdit": { "alias": "p-is-edit"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "noParameters": { "alias": "p-no-parameters"; "required": false; }; "noCustomParamsComponent": { "alias": "p-no-custom-params-component"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; }, { "changeProcess": "p-change-process"; }, never, never, false, never>;
|
|
53
54
|
}
|
|
@@ -4,11 +4,12 @@ import { PoDynamicFormField } from '@po-ui/ng-components';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PoPageJobSchedulerParametersComponent implements AfterViewInit {
|
|
6
6
|
form: NgForm;
|
|
7
|
+
componentsSize: string;
|
|
7
8
|
literals: any;
|
|
8
9
|
parameters: Array<PoDynamicFormField>;
|
|
9
10
|
value: any;
|
|
10
11
|
valueChange: EventEmitter<any>;
|
|
11
12
|
ngAfterViewInit(): void;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageJobSchedulerParametersComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerParametersComponent, "po-page-job-scheduler-parameters", never, { "literals": { "alias": "p-literals"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; }, { "valueChange": "p-valueChange"; }, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerParametersComponent, "po-page-job-scheduler-parameters", never, { "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; }, { "valueChange": "p-valueChange"; }, never, never, false, never>;
|
|
14
15
|
}
|
|
@@ -5,6 +5,7 @@ import { PoJobSchedulerInternal } from '../interfaces/po-job-scheduler-internal.
|
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PoPageJobSchedulerSummaryComponent implements OnInit {
|
|
7
7
|
private datePipe;
|
|
8
|
+
componentsSize: string;
|
|
8
9
|
literals: any;
|
|
9
10
|
parameters: Array<PoDynamicViewField>;
|
|
10
11
|
value: PoJobSchedulerInternal;
|
|
@@ -33,5 +34,5 @@ export declare class PoPageJobSchedulerSummaryComponent implements OnInit {
|
|
|
33
34
|
private getWeeklyLabelExecution;
|
|
34
35
|
private sortWeekDays;
|
|
35
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageJobSchedulerSummaryComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerSummaryComponent, "po-page-job-scheduler-summary", never, { "literals": { "alias": "p-literals"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "noParameters": { "alias": "p-no-parameters"; "required": false; }; "jobSchedulerSummaryTemplate": { "alias": "p-summary-template"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoPageJobSchedulerSummaryComponent, "po-page-job-scheduler-summary", never, { "componentsSize": { "alias": "p-components-size"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "parameters": { "alias": "p-parameters"; "required": false; }; "value": { "alias": "p-value"; "required": false; }; "noParameters": { "alias": "p-no-parameters"; "required": false; }; "jobSchedulerSummaryTemplate": { "alias": "p-summary-template"; "required": false; }; }, {}, never, never, false, never>;
|
|
37
38
|
}
|
|
@@ -2,7 +2,7 @@ import { AfterContentInit, OnInit, QueryList } from '@angular/core';
|
|
|
2
2
|
import { NgForm } from '@angular/forms';
|
|
3
3
|
import { ActivatedRoute } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
|
-
import { PoDialogService, PoLanguageService, PoNotificationService, PoPageAction, PoStepperItem } from '@po-ui/ng-components';
|
|
5
|
+
import { PoDialogService, PoLanguageService, PoNotificationService, PoPageAction, PoStepperItem, PoThemeService } from '@po-ui/ng-components';
|
|
6
6
|
import { PoJobSchedulerInternal } from './interfaces/po-job-scheduler-internal.interface';
|
|
7
7
|
import { PoPageJobSchedulerBaseComponent } from './po-page-job-scheduler-base.component';
|
|
8
8
|
import { PoPageJobSchedulerLookupService } from './po-page-job-scheduler-lookup.service';
|
|
@@ -31,6 +31,7 @@ export declare class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseC
|
|
|
31
31
|
private activatedRoute;
|
|
32
32
|
private poDialogService;
|
|
33
33
|
private poNotification;
|
|
34
|
+
protected poThemeService: PoThemeService;
|
|
34
35
|
protected poPageJobSchedulerService: PoPageJobSchedulerService;
|
|
35
36
|
schedulerExecution: {
|
|
36
37
|
form: NgForm;
|
|
@@ -105,7 +106,7 @@ export declare class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseC
|
|
|
105
106
|
protected stepParameters: number;
|
|
106
107
|
protected stepSummary: number;
|
|
107
108
|
protected _stepExecutionLast: boolean;
|
|
108
|
-
constructor(poPageDynamicLookupService: PoPageJobSchedulerLookupService, activatedRoute: ActivatedRoute, poDialogService: PoDialogService, poNotification: PoNotificationService, poPageJobSchedulerService: PoPageJobSchedulerService, languageService: PoLanguageService);
|
|
109
|
+
constructor(poPageDynamicLookupService: PoPageJobSchedulerLookupService, activatedRoute: ActivatedRoute, poDialogService: PoDialogService, poNotification: PoNotificationService, poThemeService: PoThemeService, poPageJobSchedulerService: PoPageJobSchedulerService, languageService: PoLanguageService);
|
|
109
110
|
get stepperOrientation(): 'horizontal' | 'vertical';
|
|
110
111
|
ngOnInit(): void;
|
|
111
112
|
ngAfterContentInit(): void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Subscription } from 'rxjs';
|
|
2
1
|
import { EventEmitter, OnDestroy } from '@angular/core';
|
|
3
2
|
import { Router } from '@angular/router';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { Subscription } from 'rxjs';
|
|
4
|
+
import { PoLanguage, PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
6
5
|
import { PoPageLoginAuthenticationType } from './enums/po-page-login-authentication-type.enum';
|
|
7
6
|
import { PoPageLoginCustomField } from './interfaces/po-page-login-custom-field.interface';
|
|
8
7
|
import { PoPageLoginLiterals } from './interfaces/po-page-login-literals.interface';
|
|
9
8
|
import { PoPageLoginRecovery } from './interfaces/po-page-login-recovery.interface';
|
|
9
|
+
import { PoPageLogin } from './interfaces/po-page-login.interface';
|
|
10
10
|
import { PoPageLoginService } from './po-page-login.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare const poPageLoginLiteralsDefault: {
|
|
@@ -51,6 +51,7 @@ export declare const poPageLoginLiteralIn: {
|
|
|
51
51
|
* ```
|
|
52
52
|
*/
|
|
53
53
|
export declare abstract class PoPageLoginBaseComponent implements OnDestroy {
|
|
54
|
+
protected poThemeService: PoThemeService;
|
|
54
55
|
private loginService;
|
|
55
56
|
router: Router;
|
|
56
57
|
poLanguageService: PoLanguageService;
|
|
@@ -220,6 +221,7 @@ export declare abstract class PoPageLoginBaseComponent implements OnDestroy {
|
|
|
220
221
|
private _authenticationType;
|
|
221
222
|
private _authenticationUrl;
|
|
222
223
|
private _blockedUrl;
|
|
224
|
+
private _componentsSize?;
|
|
223
225
|
private _contactEmail;
|
|
224
226
|
private _customField;
|
|
225
227
|
private _environment?;
|
|
@@ -235,6 +237,22 @@ export declare abstract class PoPageLoginBaseComponent implements OnDestroy {
|
|
|
235
237
|
private _registerUrl;
|
|
236
238
|
private _support;
|
|
237
239
|
private _languagesList;
|
|
240
|
+
/**
|
|
241
|
+
* @optional
|
|
242
|
+
*
|
|
243
|
+
* @description
|
|
244
|
+
*
|
|
245
|
+
* Define o tamanho dos componentes de formulário no template:
|
|
246
|
+
* - `small`: aplica a medida small de cada componente (disponível apenas para acessibilidade AA).
|
|
247
|
+
* - `medium`: aplica a medida medium de cada componente.
|
|
248
|
+
*
|
|
249
|
+
* > Caso a acessibilidade AA não esteja configurada, o tamanho `medium` será mantido.
|
|
250
|
+
* Para mais detalhes, consulte a documentação do [po-theme](https://po-ui.io/documentation/po-theme).
|
|
251
|
+
*
|
|
252
|
+
* @default `medium`
|
|
253
|
+
*/
|
|
254
|
+
set componentsSize(value: string);
|
|
255
|
+
get componentsSize(): string;
|
|
238
256
|
/**
|
|
239
257
|
* @optional
|
|
240
258
|
*
|
|
@@ -689,7 +707,7 @@ export declare abstract class PoPageLoginBaseComponent implements OnDestroy {
|
|
|
689
707
|
get showLanguage(): boolean;
|
|
690
708
|
get language(): string;
|
|
691
709
|
get pageLoginLiterals(): PoPageLoginLiterals;
|
|
692
|
-
constructor(loginService: PoPageLoginService, router: Router, poLanguageService: PoLanguageService);
|
|
710
|
+
constructor(poThemeService: PoThemeService, loginService: PoPageLoginService, router: Router, poLanguageService: PoLanguageService);
|
|
693
711
|
ngOnDestroy(): void;
|
|
694
712
|
closePopover(): void;
|
|
695
713
|
onLoginSubmit(): void;
|
|
@@ -702,6 +720,6 @@ export declare abstract class PoPageLoginBaseComponent implements OnDestroy {
|
|
|
702
720
|
protected abstract setLoginErrors(value: Array<string>): void;
|
|
703
721
|
protected abstract setPasswordErrors(value: Array<string>): void;
|
|
704
722
|
static ɵfac: i0.ɵɵFactoryDeclaration<PoPageLoginBaseComponent, never>;
|
|
705
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageLoginBaseComponent, never, never, { "background": { "alias": "p-background"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "loginPattern": { "alias": "p-login-pattern"; "required": false; }; "passwordPattern": { "alias": "p-password-pattern"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "noAutocompleteLogin": { "alias": "p-no-autocomplete-login"; "required": false; }; "noAutocompletePassword": { "alias": "p-no-autocomplete-password"; "required": false; }; "hideLabelStatus": { "alias": "p-hide-label-status"; "required": false; }; "hidePasswordPeek": { "alias": "p-hide-password-peek"; "required": false; }; "customField": { "alias": "p-custom-field"; "required": false; }; "contactEmail": { "alias": "p-contact-email"; "required": false; }; "productName": { "alias": "p-product-name"; "required": false; }; "environment": { "alias": "p-environment"; "required": false; }; "exceededAttemptsWarning": { "alias": "p-exceeded-attempts-warning"; "required": false; }; "hideRememberUser": { "alias": "p-hide-remember-user"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "login": { "alias": "p-login"; "required": false; }; "loginErrors": { "alias": "p-login-errors"; "required": false; }; "passwordErrors": { "alias": "p-password-errors"; "required": false; }; "recovery": { "alias": "p-recovery"; "required": false; }; "registerUrl": { "alias": "p-register-url"; "required": false; }; "authenticationType": { "alias": "p-authentication-type"; "required": false; }; "authenticationUrl": { "alias": "p-authentication-url"; "required": false; }; "blockedUrl": { "alias": "p-blocked-url"; "required": false; }; "support": { "alias": "p-support"; "required": false; }; "languagesList": { "alias": "p-languages"; "required": false; }; }, { "loginChange": "p-login-change"; "loginSubmit": "p-login-submit"; "passwordChange": "p-password-change"; "languageChange": "p-language-change"; }, never, never, true, never>;
|
|
723
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<PoPageLoginBaseComponent, never, never, { "background": { "alias": "p-background"; "required": false; }; "logo": { "alias": "p-logo"; "required": false; }; "loginPattern": { "alias": "p-login-pattern"; "required": false; }; "passwordPattern": { "alias": "p-password-pattern"; "required": false; }; "secondaryLogo": { "alias": "p-secondary-logo"; "required": false; }; "noAutocompleteLogin": { "alias": "p-no-autocomplete-login"; "required": false; }; "noAutocompletePassword": { "alias": "p-no-autocomplete-password"; "required": false; }; "hideLabelStatus": { "alias": "p-hide-label-status"; "required": false; }; "hidePasswordPeek": { "alias": "p-hide-password-peek"; "required": false; }; "componentsSize": { "alias": "p-components-size"; "required": false; }; "customField": { "alias": "p-custom-field"; "required": false; }; "contactEmail": { "alias": "p-contact-email"; "required": false; }; "productName": { "alias": "p-product-name"; "required": false; }; "environment": { "alias": "p-environment"; "required": false; }; "exceededAttemptsWarning": { "alias": "p-exceeded-attempts-warning"; "required": false; }; "hideRememberUser": { "alias": "p-hide-remember-user"; "required": false; }; "literals": { "alias": "p-literals"; "required": false; }; "loading": { "alias": "p-loading"; "required": false; }; "login": { "alias": "p-login"; "required": false; }; "loginErrors": { "alias": "p-login-errors"; "required": false; }; "passwordErrors": { "alias": "p-password-errors"; "required": false; }; "recovery": { "alias": "p-recovery"; "required": false; }; "registerUrl": { "alias": "p-register-url"; "required": false; }; "authenticationType": { "alias": "p-authentication-type"; "required": false; }; "authenticationUrl": { "alias": "p-authentication-url"; "required": false; }; "blockedUrl": { "alias": "p-blocked-url"; "required": false; }; "support": { "alias": "p-support"; "required": false; }; "languagesList": { "alias": "p-languages"; "required": false; }; }, { "loginChange": "p-login-change"; "loginSubmit": "p-login-submit"; "passwordChange": "p-password-change"; "languageChange": "p-language-change"; }, never, never, true, never>;
|
|
706
724
|
static ngAcceptInputType_hideLabelStatus: any;
|
|
707
725
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { AfterViewChecked, ChangeDetectorRef, IterableDiffers, OnInit, ViewContainerRef } from '@angular/core';
|
|
1
2
|
import { NgForm } from '@angular/forms';
|
|
2
3
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
3
|
-
import {
|
|
4
|
-
import { PoLanguageService } from '@po-ui/ng-components';
|
|
4
|
+
import { PoLanguageService, PoThemeService } from '@po-ui/ng-components';
|
|
5
5
|
import { PoComponentInjectorService } from '@po-ui/ng-components';
|
|
6
6
|
import { PoPageLoginBaseComponent } from './po-page-login-base.component';
|
|
7
7
|
import { PoPageLoginService } from './po-page-login.service';
|
|
@@ -33,6 +33,7 @@ import * as i0 from "@angular/core";
|
|
|
33
33
|
* </example>
|
|
34
34
|
*/
|
|
35
35
|
export declare class PoPageLoginComponent extends PoPageLoginBaseComponent implements AfterViewChecked, OnInit {
|
|
36
|
+
protected poThemeService: PoThemeService;
|
|
36
37
|
changeDetector: ChangeDetectorRef;
|
|
37
38
|
private activatedRoute;
|
|
38
39
|
private poComponentInjector;
|
|
@@ -42,7 +43,7 @@ export declare class PoPageLoginComponent extends PoPageLoginBaseComponent imple
|
|
|
42
43
|
private componentRef;
|
|
43
44
|
private differ;
|
|
44
45
|
private readonly customPasswordError;
|
|
45
|
-
constructor(changeDetector: ChangeDetectorRef, activatedRoute: ActivatedRoute, poComponentInjector: PoComponentInjectorService, differs: IterableDiffers, loginService: PoPageLoginService, router: Router, poLanguageService: PoLanguageService);
|
|
46
|
+
constructor(poThemeService: PoThemeService, changeDetector: ChangeDetectorRef, activatedRoute: ActivatedRoute, poComponentInjector: PoComponentInjectorService, differs: IterableDiffers, loginService: PoPageLoginService, router: Router, poLanguageService: PoLanguageService);
|
|
46
47
|
ngAfterViewChecked(): void;
|
|
47
48
|
ngOnInit(): void;
|
|
48
49
|
activateSupport(): void;
|
package/lib/utils/util.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PoThemeService } from '@po-ui/ng-components';
|
|
1
2
|
/**
|
|
2
3
|
* Retorna o idioma atual do navegador
|
|
3
4
|
*/
|
|
@@ -28,6 +29,10 @@ export declare function convertDateToISOExtended(date: Date, time?: string): str
|
|
|
28
29
|
* @param year Ano
|
|
29
30
|
*/
|
|
30
31
|
export declare function formatYear(year: number): string;
|
|
32
|
+
/**
|
|
33
|
+
* Retorna o tamanho padrão dos componentes conforme o nível de acessibilidade.
|
|
34
|
+
*/
|
|
35
|
+
export declare function getDefaultSize(poThemeService: PoThemeService): string;
|
|
31
36
|
export declare function isEquals(value: any, comparedValue: any): boolean;
|
|
32
37
|
/**
|
|
33
38
|
* 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.
|
|
@@ -207,3 +212,7 @@ export declare function removeDuplicateItemsWithArrayKey(item: any, item2: any,
|
|
|
207
212
|
* @param isAscendingOrder : ordenação crescente ou descrescente.
|
|
208
213
|
*/
|
|
209
214
|
export declare function sortArrayOfObjects(items: any, key: any, isAscendingOrder: any): any;
|
|
215
|
+
/**
|
|
216
|
+
* Valida e retorna um tamanho permitido para os componentes, considerando a acessibilidade.
|
|
217
|
+
*/
|
|
218
|
+
export declare function validateSize(value: string, poThemeService: PoThemeService): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@po-ui/ng-templates",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.7.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.7.0",
|
|
15
|
+
"@po-ui/ng-schematics": "19.7.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.7.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.7.0');
|
|
27
27
|
// install packages
|
|
28
28
|
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
29
29
|
};
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|