@po-ui/ng-templates 21.22.0 → 21.23.1
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 +203 -174
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/package.json +4 -4
- package/po-ui-ng-templates-21.23.1.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/types/po-ui-ng-templates.d.ts +15 -0
- package/po-ui-ng-templates-21.22.0.tgz +0 -0
|
@@ -968,10 +968,10 @@ class PoModalPasswordRecoveryBaseComponent {
|
|
|
968
968
|
? `${literalCodeErrorMessage} ${this.literals.prepositionIn} ${value}.`
|
|
969
969
|
: literalCodeErrorMessage;
|
|
970
970
|
}
|
|
971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
972
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
971
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
972
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoModalPasswordRecoveryBaseComponent, isStandalone: true, inputs: { codeError: ["p-code-error", "codeError"], urlRecovery: ["p-url-recovery", "urlRecovery"], componentsSize: ["p-components-size", "componentsSize"], contactEmail: ["p-contact-email", "contactEmail"], phoneMask: ["p-phone-mask", "phoneMask"], type: ["p-type", "type"] }, outputs: { codeSubmit: "p-code-submit", submit: "p-submit" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
973
973
|
}
|
|
974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
974
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryBaseComponent, decorators: [{
|
|
975
975
|
type: Directive
|
|
976
976
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { codeError: [{
|
|
977
977
|
type: Input,
|
|
@@ -1010,10 +1010,10 @@ class PoModalPasswordRecoveryService {
|
|
|
1010
1010
|
post(urlRecovery, item, params) {
|
|
1011
1011
|
return this.http.post(urlRecovery, item, { observe: 'response', params: params });
|
|
1012
1012
|
}
|
|
1013
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1014
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1013
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1014
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryService, providedIn: 'root' });
|
|
1015
1015
|
}
|
|
1016
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1016
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryService, decorators: [{
|
|
1017
1017
|
type: Injectable,
|
|
1018
1018
|
args: [{
|
|
1019
1019
|
providedIn: 'root'
|
|
@@ -1030,10 +1030,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
1030
1030
|
class PoModalPasswordRecoveryErrorMessageComponent {
|
|
1031
1031
|
/** Texto exibido na mensagem de erro. */
|
|
1032
1032
|
text;
|
|
1033
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1034
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1034
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoModalPasswordRecoveryErrorMessageComponent, isStandalone: false, selector: "po-modal-password-recovery-error-message", inputs: { text: ["p-text", "text"] }, ngImport: i0, template: "<div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ text }}</span>\n</div>\n", dependencies: [{ kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }] });
|
|
1035
1035
|
}
|
|
1036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryErrorMessageComponent, decorators: [{
|
|
1037
1037
|
type: Component,
|
|
1038
1038
|
args: [{ selector: 'po-modal-password-recovery-error-message', standalone: false, template: "<div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ text }}</span>\n</div>\n" }]
|
|
1039
1039
|
}], propDecorators: { text: [{
|
|
@@ -1289,10 +1289,10 @@ class PoModalPasswordRecoveryComponent extends PoModalPasswordRecoveryBaseCompon
|
|
|
1289
1289
|
this.openSmsCode();
|
|
1290
1290
|
});
|
|
1291
1291
|
}
|
|
1292
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1293
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1292
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1293
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoModalPasswordRecoveryComponent, isStandalone: false, selector: "po-modal-password-recovery", viewQueries: [{ propertyName: "emailForm", first: true, predicate: ["emailForm"], descendants: true }, { propertyName: "recoveryModalElement", first: true, predicate: ["recoveryModal"], descendants: true, static: true }, { propertyName: "smsCodeForm", first: true, predicate: ["smsCodeForm"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<po-modal\n #recoveryModal\n p-hide-close\n p-size=\"auto\"\n [ngSwitch]=\"modalType\"\n [p-components-size]=\"componentsSize\"\n [p-primary-action]=\"primaryAction\"\n [p-secondary-action]=\"secondaryAction\"\n [p-title]=\"modalTitle\"\n>\n <div class=\"po-modal-password-recovery-wrapper\">\n <div *ngSwitchCase=\"'email'\" class=\"po-modal-password-recovery-content po-row\">\n <div class=\"po-modal-password-recovery-text po-md-12 po-mb-1\">\n {{ emailModalPhrases.firstPhrase }}\n </div>\n <div class=\"po-mb-2 po-md-12\">\n <form #emailForm=\"ngForm\">\n <div *ngIf=\"modalPasswordRecoveryTypeAll\">\n <po-radio-group\n name=\"type\"\n [(ngModel)]=\"chosenTypeFormOption\"\n [p-options]=\"typeFormOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"getInputType($event)\"\n >\n </po-radio-group>\n </div>\n\n <div class=\"po-mt-1\">\n <po-email\n *ngIf=\"type === 'email' || type === 'all'\"\n name=\"email\"\n [(ngModel)]=\"email\"\n p-required\n [p-label]=\"literals.insertEmail\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(emailForm)\"\n >\n </po-email>\n\n <po-input\n *ngIf=\"type === 'sms'\"\n name=\"sms\"\n [(ngModel)]=\"phone\"\n p-icon=\"ICON_TELEPHONE\"\n p-required\n [p-label]=\"literals.insertPhone\"\n [p-mask]=\"phoneMask\"\n [p-maxlength]=\"maxLength\"\n [p-minlength]=\"minLength\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(emailForm)\"\n >\n </po-input>\n </div>\n\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n <po-modal-password-recovery-error-message\n *ngIf=\"invalidEmail && control.dirty\"\n [p-text]=\"type === 'sms' ? literals.phoneErrorMessagePhrase : literals.emailErrorMessagePhrase\"\n >\n </po-modal-password-recovery-error-message>\n </div>\n </form>\n </div>\n <div class=\"po-modal-password-recovery-text po-md-12\">\n {{ emailModalPhrases.secondPhrase }}\n <span *ngIf=\"contactEmail\">\n {{ literals.prepositionIn }}\n <a class=\"po-modal-password-recovery-link\" href=\"mailto:{{ contactEmail }}\" target=\"_self\">\n {{ contactEmail }}\n </a>\n </span>\n {{ endpoint }}\n </div>\n </div>\n\n <div #smsCodeModal *ngSwitchCase=\"'smsCode'\" class=\"po-modal-password-recovery-content po-row\">\n <div class=\"po-modal-password-recovery-text po-md-12 po-mb-1\">{{ literals.sentSmsCodePhrase }}</div>\n <div class=\"po-mb-2 po-md-12\">\n <form #smsCodeForm=\"ngForm\">\n <po-input\n name=\"sms\"\n [(ngModel)]=\"smsCode\"\n p-maxlength=\"11\"\n p-minlength=\"11\"\n p-required\n [p-label]=\"literals.insertCode\"\n [p-mask]=\"codeMask\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(smsCodeForm)\"\n >\n </po-input>\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n <po-modal-password-recovery-error-message\n *ngIf=\"invalidEmail\"\n [p-text]=\"smsCodeErrorMessage || this.literals.smsCodeErrorMessagePhrase\"\n >\n </po-modal-password-recovery-error-message>\n <po-modal-password-recovery-error-message *ngIf=\"showCustomCodeError\" [p-text]=\"codeError\">\n </po-modal-password-recovery-error-message>\n </div>\n </form>\n </div>\n <div class=\"po-modal-password-recovery-text po-md-12\">\n {{ literals.sendAgainPhrase }}\n <span class=\"po-modal-password-recovery-link\" (click)=\"resendSmsCode()\">{{ literals.sendAgain }}</span>\n </div>\n </div>\n\n <div #confirmationModal *ngSwitchCase=\"'confirmation'\" class=\"po-modal-password-recovery-content po-row\">\n <img class=\"po-modal-password-recovery-user-image po-mb-2\" src=\"./assets/images/email-sent.svg\" />\n <div class=\"po-modal-password-recovery-text\">\n {{ literals.emailSentConfirmationPhrase }}\n </div>\n </div>\n </div>\n</po-modal>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PoEmailComponent, selector: "po-email" }, { kind: "component", type: i3.PoInputComponent, selector: "po-input" }, { kind: "component", type: i3.PoRadioGroupComponent, selector: "po-radio-group", inputs: ["p-label", "p-help"] }, { kind: "component", type: i3.PoModalComponent, selector: "po-modal" }, { kind: "component", type: PoModalPasswordRecoveryErrorMessageComponent, selector: "po-modal-password-recovery-error-message", inputs: ["p-text"] }] });
|
|
1294
1294
|
}
|
|
1295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryComponent, decorators: [{
|
|
1296
1296
|
type: Component,
|
|
1297
1297
|
args: [{ selector: 'po-modal-password-recovery', standalone: false, template: "<po-modal\n #recoveryModal\n p-hide-close\n p-size=\"auto\"\n [ngSwitch]=\"modalType\"\n [p-components-size]=\"componentsSize\"\n [p-primary-action]=\"primaryAction\"\n [p-secondary-action]=\"secondaryAction\"\n [p-title]=\"modalTitle\"\n>\n <div class=\"po-modal-password-recovery-wrapper\">\n <div *ngSwitchCase=\"'email'\" class=\"po-modal-password-recovery-content po-row\">\n <div class=\"po-modal-password-recovery-text po-md-12 po-mb-1\">\n {{ emailModalPhrases.firstPhrase }}\n </div>\n <div class=\"po-mb-2 po-md-12\">\n <form #emailForm=\"ngForm\">\n <div *ngIf=\"modalPasswordRecoveryTypeAll\">\n <po-radio-group\n name=\"type\"\n [(ngModel)]=\"chosenTypeFormOption\"\n [p-options]=\"typeFormOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"getInputType($event)\"\n >\n </po-radio-group>\n </div>\n\n <div class=\"po-mt-1\">\n <po-email\n *ngIf=\"type === 'email' || type === 'all'\"\n name=\"email\"\n [(ngModel)]=\"email\"\n p-required\n [p-label]=\"literals.insertEmail\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(emailForm)\"\n >\n </po-email>\n\n <po-input\n *ngIf=\"type === 'sms'\"\n name=\"sms\"\n [(ngModel)]=\"phone\"\n p-icon=\"ICON_TELEPHONE\"\n p-required\n [p-label]=\"literals.insertPhone\"\n [p-mask]=\"phoneMask\"\n [p-maxlength]=\"maxLength\"\n [p-minlength]=\"minLength\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(emailForm)\"\n >\n </po-input>\n </div>\n\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n <po-modal-password-recovery-error-message\n *ngIf=\"invalidEmail && control.dirty\"\n [p-text]=\"type === 'sms' ? literals.phoneErrorMessagePhrase : literals.emailErrorMessagePhrase\"\n >\n </po-modal-password-recovery-error-message>\n </div>\n </form>\n </div>\n <div class=\"po-modal-password-recovery-text po-md-12\">\n {{ emailModalPhrases.secondPhrase }}\n <span *ngIf=\"contactEmail\">\n {{ literals.prepositionIn }}\n <a class=\"po-modal-password-recovery-link\" href=\"mailto:{{ contactEmail }}\" target=\"_self\">\n {{ contactEmail }}\n </a>\n </span>\n {{ endpoint }}\n </div>\n </div>\n\n <div #smsCodeModal *ngSwitchCase=\"'smsCode'\" class=\"po-modal-password-recovery-content po-row\">\n <div class=\"po-modal-password-recovery-text po-md-12 po-mb-1\">{{ literals.sentSmsCodePhrase }}</div>\n <div class=\"po-mb-2 po-md-12\">\n <form #smsCodeForm=\"ngForm\">\n <po-input\n name=\"sms\"\n [(ngModel)]=\"smsCode\"\n p-maxlength=\"11\"\n p-minlength=\"11\"\n p-required\n [p-label]=\"literals.insertCode\"\n [p-mask]=\"codeMask\"\n [p-size]=\"componentsSize\"\n (p-change-model)=\"formModelChangesCheck(smsCodeForm)\"\n >\n </po-input>\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n <po-modal-password-recovery-error-message\n *ngIf=\"invalidEmail\"\n [p-text]=\"smsCodeErrorMessage || this.literals.smsCodeErrorMessagePhrase\"\n >\n </po-modal-password-recovery-error-message>\n <po-modal-password-recovery-error-message *ngIf=\"showCustomCodeError\" [p-text]=\"codeError\">\n </po-modal-password-recovery-error-message>\n </div>\n </form>\n </div>\n <div class=\"po-modal-password-recovery-text po-md-12\">\n {{ literals.sendAgainPhrase }}\n <span class=\"po-modal-password-recovery-link\" (click)=\"resendSmsCode()\">{{ literals.sendAgain }}</span>\n </div>\n </div>\n\n <div #confirmationModal *ngSwitchCase=\"'confirmation'\" class=\"po-modal-password-recovery-content po-row\">\n <img class=\"po-modal-password-recovery-user-image po-mb-2\" src=\"./assets/images/email-sent.svg\" />\n <div class=\"po-modal-password-recovery-text\">\n {{ literals.emailSentConfirmationPhrase }}\n </div>\n </div>\n </div>\n</po-modal>\n" }]
|
|
1298
1298
|
}], ctorParameters: () => [], propDecorators: { emailForm: [{
|
|
@@ -1312,11 +1312,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
1312
1312
|
* Módulo do template do po-modal-password-recovery.
|
|
1313
1313
|
*/
|
|
1314
1314
|
class PoModalPasswordRecoveryModule {
|
|
1315
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1316
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
1317
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
1315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1316
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryModule, declarations: [PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent], imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule], exports: [PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent] });
|
|
1317
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryModule, providers: [PoI18nPipe, PoModalPasswordRecoveryService], imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule] });
|
|
1318
1318
|
}
|
|
1319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoModalPasswordRecoveryModule, decorators: [{
|
|
1320
1320
|
type: NgModule,
|
|
1321
1321
|
args: [{
|
|
1322
1322
|
imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule],
|
|
@@ -1431,10 +1431,10 @@ class PoPageBackgroundComponent {
|
|
|
1431
1431
|
applySizeBasedOnA11y() {
|
|
1432
1432
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
1433
1433
|
}
|
|
1434
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1435
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1434
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1435
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageBackgroundComponent, isStandalone: false, selector: "po-page-background", inputs: { background: ["p-background", "background"], initialSelectLanguage: ["p-initial-language", "initialSelectLanguage"], hideLogo: ["p-hide-logo", "hideLogo"], highlightInfo: ["p-highlight-info", "highlightInfo"], componentsSize: ["p-components-size", "componentsSize"], languagesList: ["p-languages", "languagesList"], logo: ["p-logo", "logo"], logoAlt: ["p-logo-alt", "logoAlt"], secondaryLogo: ["p-secondary-logo", "secondaryLogo"], showSelectLanguage: ["p-show-select-language", "showSelectLanguage"] }, outputs: { selectedLanguage: "p-selected-language" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0, template: "<div class=\"po-page-login-container\">\n <div class=\"po-page-login-panel\">\n <div class=\"po-page-background-main-logo\" [class.po-page-background-hide-logo]=\"hideLogo\">\n @if (logo) {\n <po-logo\n p-class=\"po-page-background-main-logo-image\"\n [p-link]=\"false\"\n [p-logo]=\"logo\"\n [p-logo-alt]=\"logoAlt\"\n ></po-logo>\n }\n </div>\n\n <div class=\"po-page-login-body\">\n <div class=\"po-page-login-panel-content\">\n <ng-content></ng-content>\n </div>\n </div>\n <div class=\"po-page-background-footer po-sm-12\">\n <po-divider class=\"po-page-background-footer-mobile-only\"></po-divider>\n\n <div class=\"po-page-background-footer-content\">\n @if (showSelectLanguage) {\n <div class=\"po-page-background-footer-select\">\n <po-select\n name=\"selectedLanguageOption\"\n [(ngModel)]=\"selectedLanguageOption\"\n [p-options]=\"selectLanguageOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeLanguage()\"\n ></po-select>\n </div>\n }\n\n <div\n class=\"po-page-background-secondary-logo\"\n [ngClass]=\"\n showSelectLanguage\n ? 'po-page-background-secondary-logo-right'\n : 'po-page-background-secondary-logo-centered'\n \"\n >\n @if (secondaryLogo) {\n <po-logo\n p-class=\"po-page-background-secondary-logo-image\"\n [p-link]=\"false\"\n [p-logo]=\"secondaryLogo\"\n p-logo-alt=\"secondary-logomarca\"\n ></po-logo>\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (background) {\n <div\n [ngClass]=\"background ? 'po-page-login-highlight-image' : 'po-page-login-highlight-image-off'\"\n [style.background-image]=\"'url(' + background + ')'\"\n >\n <div class=\"po-page-login-highlight-text\">\n <div class=\"po-font-display\">{{ highlightInfo }}</div>\n </div>\n </div>\n }\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i3.PoDividerComponent, selector: "po-divider" }, { kind: "component", type: i3.PoSelectComponent, selector: "po-select", inputs: ["p-readonly", "p-compact-label", "p-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "p-loading", "p-size", "p-helper", "p-label-text-wrap"], outputs: ["p-blur", "ngModelChange"] }, { kind: "component", type: i3.PoLogoComponent, selector: "po-logo", inputs: ["p-class", "p-link", "p-logo", "p-logo-alt"] }] });
|
|
1436
1436
|
}
|
|
1437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1437
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundComponent, decorators: [{
|
|
1438
1438
|
type: Component,
|
|
1439
1439
|
args: [{ selector: 'po-page-background', standalone: false, template: "<div class=\"po-page-login-container\">\n <div class=\"po-page-login-panel\">\n <div class=\"po-page-background-main-logo\" [class.po-page-background-hide-logo]=\"hideLogo\">\n @if (logo) {\n <po-logo\n p-class=\"po-page-background-main-logo-image\"\n [p-link]=\"false\"\n [p-logo]=\"logo\"\n [p-logo-alt]=\"logoAlt\"\n ></po-logo>\n }\n </div>\n\n <div class=\"po-page-login-body\">\n <div class=\"po-page-login-panel-content\">\n <ng-content></ng-content>\n </div>\n </div>\n <div class=\"po-page-background-footer po-sm-12\">\n <po-divider class=\"po-page-background-footer-mobile-only\"></po-divider>\n\n <div class=\"po-page-background-footer-content\">\n @if (showSelectLanguage) {\n <div class=\"po-page-background-footer-select\">\n <po-select\n name=\"selectedLanguageOption\"\n [(ngModel)]=\"selectedLanguageOption\"\n [p-options]=\"selectLanguageOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeLanguage()\"\n ></po-select>\n </div>\n }\n\n <div\n class=\"po-page-background-secondary-logo\"\n [ngClass]=\"\n showSelectLanguage\n ? 'po-page-background-secondary-logo-right'\n : 'po-page-background-secondary-logo-centered'\n \"\n >\n @if (secondaryLogo) {\n <po-logo\n p-class=\"po-page-background-secondary-logo-image\"\n [p-link]=\"false\"\n [p-logo]=\"secondaryLogo\"\n p-logo-alt=\"secondary-logomarca\"\n ></po-logo>\n }\n </div>\n </div>\n </div>\n </div>\n\n @if (background) {\n <div\n [ngClass]=\"background ? 'po-page-login-highlight-image' : 'po-page-login-highlight-image-off'\"\n [style.background-image]=\"'url(' + background + ')'\"\n >\n <div class=\"po-page-login-highlight-text\">\n <div class=\"po-font-display\">{{ highlightInfo }}</div>\n </div>\n </div>\n }\n</div>\n" }]
|
|
1440
1440
|
}], propDecorators: { background: [{
|
|
@@ -1484,11 +1484,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
1484
1484
|
* Módulo do template do po-page-background.
|
|
1485
1485
|
*/
|
|
1486
1486
|
class PoPageBackgroundModule {
|
|
1487
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1488
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
1489
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
1487
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1488
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundModule, declarations: [PoPageBackgroundComponent], imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule], exports: [PoPageBackgroundComponent] });
|
|
1489
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundModule, imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule] });
|
|
1490
1490
|
}
|
|
1491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBackgroundModule, decorators: [{
|
|
1492
1492
|
type: NgModule,
|
|
1493
1493
|
args: [{
|
|
1494
1494
|
imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule],
|
|
@@ -1709,10 +1709,10 @@ class PoPageBlockedUserBaseComponent {
|
|
|
1709
1709
|
applySizeBasedOnA11y() {
|
|
1710
1710
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
1711
1711
|
}
|
|
1712
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1713
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
1712
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1713
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoPageBlockedUserBaseComponent, isStandalone: true, inputs: { contactEmail: ["p-contact-email", "contactEmail"], contactPhone: ["p-contact-phone", "contactPhone"], logo: ["p-logo", "logo"], secondaryLogo: ["p-secondary-logo", "secondaryLogo"], componentsSize: ["p-components-size", "componentsSize"], params: ["p-params", "params"], reason: ["p-reason", "reason"], urlBack: ["p-url-back", "urlBack"] }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
1714
1714
|
}
|
|
1715
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1715
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserBaseComponent, decorators: [{
|
|
1716
1716
|
type: Directive
|
|
1717
1717
|
}], propDecorators: { contactEmail: [{
|
|
1718
1718
|
type: Input,
|
|
@@ -1780,10 +1780,10 @@ class PoPageBlockedUserContactsComponent {
|
|
|
1780
1780
|
phoneWidth > contactGroupHalfWidth || mailWidth > contactGroupHalfWidth - poPageBlockedUserContactItemMargin;
|
|
1781
1781
|
}
|
|
1782
1782
|
}
|
|
1783
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1784
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
1783
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserContactsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1784
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoPageBlockedUserContactsComponent, isStandalone: false, selector: "po-page-blocked-user-contacts", inputs: { email: ["p-email", "email"], phone: ["p-phone", "phone"] }, viewQueries: [{ propertyName: "contactGroup", first: true, predicate: ["contactGroup"], descendants: true, static: true }, { propertyName: "mailItem", first: true, predicate: ["mailItem"], descendants: true, static: true }, { propertyName: "phoneItem", first: true, predicate: ["phoneItem"], descendants: true, static: true }], ngImport: i0, template: "<div #contactGroup class=\"po-page-blocked-user-contact-group po-row po-mb-3\">\n <div\n class=\"po-page-blocked-user-contact-item\"\n [class.po-invisible]=\"!phone\"\n [ngClass]=\"overflowItem ? 'po-md-12' : 'po-md-6'\"\n >\n <a\n class=\"po-page-blocked-user-link po-clickable\"\n [class.po-page-blocked-user-contact-content-inline]=\"overflowItem\"\n href=\"tel:{{ phone }}\"\n target=\"_self\"\n >\n <div class=\"po-page-blocked-user-contact-group-item\">\n <po-icon class=\"po-page-blocked-user-contact-icon po-pr-1\" p-icon=\"ICON_TELEPHONE\"></po-icon>\n <div #phoneItem class=\"po-page-blocked-user-contact-text po-font-text\">{{ phone }}</div>\n </div>\n </a>\n </div>\n <div\n class=\"po-page-blocked-user-contact-item po-page-blocked-user-contact-mail\"\n [class.po-invisible]=\"!email\"\n [ngClass]=\"overflowItem ? 'po-md-12' : 'po-md-6'\"\n >\n <a\n class=\"po-page-blocked-user-link po-clickable\"\n [class.po-page-blocked-user-contact-content-inline]=\"overflowItem\"\n href=\"mailto:{{ email }}\"\n target=\"_self\"\n >\n <div class=\"po-page-blocked-user-contact-group-item\">\n <po-icon class=\"po-page-blocked-user-contact-icon po-pr-1\" p-icon=\"ICON_MAIL\"></po-icon>\n <div #mailItem class=\"po-page-blocked-user-contact-text po-font-text\">{{ email }}</div>\n </div>\n </a>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1785
1785
|
}
|
|
1786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserContactsComponent, decorators: [{
|
|
1787
1787
|
type: Component,
|
|
1788
1788
|
args: [{ selector: 'po-page-blocked-user-contacts', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div #contactGroup class=\"po-page-blocked-user-contact-group po-row po-mb-3\">\n <div\n class=\"po-page-blocked-user-contact-item\"\n [class.po-invisible]=\"!phone\"\n [ngClass]=\"overflowItem ? 'po-md-12' : 'po-md-6'\"\n >\n <a\n class=\"po-page-blocked-user-link po-clickable\"\n [class.po-page-blocked-user-contact-content-inline]=\"overflowItem\"\n href=\"tel:{{ phone }}\"\n target=\"_self\"\n >\n <div class=\"po-page-blocked-user-contact-group-item\">\n <po-icon class=\"po-page-blocked-user-contact-icon po-pr-1\" p-icon=\"ICON_TELEPHONE\"></po-icon>\n <div #phoneItem class=\"po-page-blocked-user-contact-text po-font-text\">{{ phone }}</div>\n </div>\n </a>\n </div>\n <div\n class=\"po-page-blocked-user-contact-item po-page-blocked-user-contact-mail\"\n [class.po-invisible]=\"!email\"\n [ngClass]=\"overflowItem ? 'po-md-12' : 'po-md-6'\"\n >\n <a\n class=\"po-page-blocked-user-link po-clickable\"\n [class.po-page-blocked-user-contact-content-inline]=\"overflowItem\"\n href=\"mailto:{{ email }}\"\n target=\"_self\"\n >\n <div class=\"po-page-blocked-user-contact-group-item\">\n <po-icon class=\"po-page-blocked-user-contact-icon po-pr-1\" p-icon=\"ICON_MAIL\"></po-icon>\n <div #mailItem class=\"po-page-blocked-user-contact-text po-font-text\">{{ email }}</div>\n </div>\n </a>\n </div>\n</div>\n" }]
|
|
1789
1789
|
}], propDecorators: { contactGroup: [{
|
|
@@ -1932,10 +1932,10 @@ class PoPageBlockedUserReasonComponent {
|
|
|
1932
1932
|
};
|
|
1933
1933
|
this.changeDetector.detectChanges();
|
|
1934
1934
|
}
|
|
1935
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1936
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
1935
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserReasonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1936
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageBlockedUserReasonComponent, isStandalone: false, selector: "po-page-blocked-user-reason", inputs: { params: ["p-params", "params"], reason: ["p-reason", "reason"] }, usesOnChanges: true, ngImport: i0, template: "<div class=\"po-page-blocked-user-reason-content\">\n <img class=\"po-page-blocked-user-image po-mb-3\" [src]=\"getImageByReasonType()\" />\n <div class=\"po-page-blocked-user-header po-mb-md-3 po-row\">\n <div class=\"po-md-12\">{{ literals?.title }}</div>\n </div>\n <div class=\"po-page-blocked-user-text po-font-text po-row\">\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12 po-page-blocked-user-text-bold\">\n {{ literals?.firstPhrase | poI18n: literalParams }}\n </div>\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12\">{{ literals?.secondPhrase }}</div>\n @if (literals?.thirdPhrase) {\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12\">{{ literals?.thirdPhrase }}</div>\n }\n </div>\n</div>\n", dependencies: [{ kind: "pipe", type: i3.PoI18nPipe, name: "poI18n" }] });
|
|
1937
1937
|
}
|
|
1938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1938
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserReasonComponent, decorators: [{
|
|
1939
1939
|
type: Component,
|
|
1940
1940
|
args: [{ selector: 'po-page-blocked-user-reason', standalone: false, template: "<div class=\"po-page-blocked-user-reason-content\">\n <img class=\"po-page-blocked-user-image po-mb-3\" [src]=\"getImageByReasonType()\" />\n <div class=\"po-page-blocked-user-header po-mb-md-3 po-row\">\n <div class=\"po-md-12\">{{ literals?.title }}</div>\n </div>\n <div class=\"po-page-blocked-user-text po-font-text po-row\">\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12 po-page-blocked-user-text-bold\">\n {{ literals?.firstPhrase | poI18n: literalParams }}\n </div>\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12\">{{ literals?.secondPhrase }}</div>\n @if (literals?.thirdPhrase) {\n <div class=\"po-mb-sm-2 po-mb-md-3 po-md-12\">{{ literals?.thirdPhrase }}</div>\n }\n </div>\n</div>\n" }]
|
|
1941
1941
|
}], ctorParameters: () => [], propDecorators: { params: [{
|
|
@@ -2017,10 +2017,10 @@ class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent {
|
|
|
2017
2017
|
this.urlBack = this.checkingForMetadataProperty(data, 'urlBack') || this.urlBack;
|
|
2018
2018
|
}
|
|
2019
2019
|
}
|
|
2020
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2021
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
2020
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2021
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoPageBlockedUserComponent, isStandalone: false, selector: "po-page-blocked-user", usesInheritance: true, ngImport: i0, template: "<div class=\"po-page-blocked-user-wrapper\">\n <div class=\"po-page-background-wrap\">\n <po-page-background\n [p-hide-logo]=\"true\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n [p-components-size]=\"componentsSize\"\n >\n <po-page-blocked-user-reason [p-params]=\"params\" [p-reason]=\"reason\"> </po-page-blocked-user-reason>\n\n <div class=\"po-page-blocked-user-mobile-bottom-alignment\">\n <po-page-blocked-user-contacts [p-email]=\"contactEmail\" [p-phone]=\"contactPhone\">\n </po-page-blocked-user-contacts>\n\n <div class=\"po-row\">\n <po-button\n class=\"po-lg-12 po-sm-12 po-page-blocked-user-button\"\n p-kind=\"primary\"\n [p-label]=\"literals?.primaryButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"navigateTo(urlBack)\"\n >\n </po-button>\n </div>\n </div>\n </po-page-background>\n </div>\n</div>\n", dependencies: [{ kind: "component", type: i3.PoButtonComponent, selector: "po-button" }, { kind: "component", type: PoPageBackgroundComponent, selector: "po-page-background", inputs: ["p-background", "p-initial-language", "p-hide-logo", "p-highlight-info", "p-components-size", "p-languages", "p-logo", "p-logo-alt", "p-secondary-logo", "p-show-select-language"], outputs: ["p-selected-language"] }, { kind: "component", type: PoPageBlockedUserContactsComponent, selector: "po-page-blocked-user-contacts", inputs: ["p-email", "p-phone"] }, { kind: "component", type: PoPageBlockedUserReasonComponent, selector: "po-page-blocked-user-reason", inputs: ["p-params", "p-reason"] }] });
|
|
2022
2022
|
}
|
|
2023
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2023
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserComponent, decorators: [{
|
|
2024
2024
|
type: Component,
|
|
2025
2025
|
args: [{ selector: 'po-page-blocked-user', standalone: false, template: "<div class=\"po-page-blocked-user-wrapper\">\n <div class=\"po-page-background-wrap\">\n <po-page-background\n [p-hide-logo]=\"true\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n [p-components-size]=\"componentsSize\"\n >\n <po-page-blocked-user-reason [p-params]=\"params\" [p-reason]=\"reason\"> </po-page-blocked-user-reason>\n\n <div class=\"po-page-blocked-user-mobile-bottom-alignment\">\n <po-page-blocked-user-contacts [p-email]=\"contactEmail\" [p-phone]=\"contactPhone\">\n </po-page-blocked-user-contacts>\n\n <div class=\"po-row\">\n <po-button\n class=\"po-lg-12 po-sm-12 po-page-blocked-user-button\"\n p-kind=\"primary\"\n [p-label]=\"literals?.primaryButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"navigateTo(urlBack)\"\n >\n </po-button>\n </div>\n </div>\n </po-page-background>\n </div>\n</div>\n" }]
|
|
2026
2026
|
}], ctorParameters: () => [] });
|
|
@@ -2031,11 +2031,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
2031
2031
|
* Módulo do template do po-page-blocked-user.
|
|
2032
2032
|
*/
|
|
2033
2033
|
class PoPageBlockedUserModule {
|
|
2034
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2035
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2036
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2034
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2035
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserModule, declarations: [PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserReasonComponent], imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule], exports: [PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserReasonComponent] });
|
|
2036
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserModule, imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule] });
|
|
2037
2037
|
}
|
|
2038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2038
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageBlockedUserModule, decorators: [{
|
|
2039
2039
|
type: NgModule,
|
|
2040
2040
|
args: [{
|
|
2041
2041
|
imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule],
|
|
@@ -2409,10 +2409,10 @@ class PoPageChangePasswordBaseComponent {
|
|
|
2409
2409
|
applySizeBasedOnA11y() {
|
|
2410
2410
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
2411
2411
|
}
|
|
2412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2413
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
2412
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2413
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoPageChangePasswordBaseComponent, isStandalone: true, inputs: { logo: ["p-logo", "logo"], secondaryLogo: ["p-secondary-logo", "secondaryLogo"], token: ["p-token", "token"], urlBack: ["p-url-back", "urlBack"], urlNewPassword: ["p-url-new-password", "urlNewPassword"], componentsSize: ["p-components-size", "componentsSize"], hideCurrentPassword: ["p-hide-current-password", "hideCurrentPassword"], recovery: ["p-recovery", "recovery"], requirements: ["p-requirements", "requirements"], urlHome: ["p-url-home", "urlHome"], noAutocompletePassword: ["p-no-autocomplete-password", "noAutocompletePassword"] }, outputs: { submit: "p-submit" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
2414
2414
|
}
|
|
2415
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2415
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordBaseComponent, decorators: [{
|
|
2416
2416
|
type: Directive
|
|
2417
2417
|
}], propDecorators: { logo: [{
|
|
2418
2418
|
type: Input,
|
|
@@ -2463,10 +2463,10 @@ class PoPageChangePasswordService {
|
|
|
2463
2463
|
post(url, item) {
|
|
2464
2464
|
return this.http.post(url, item, { observe: 'response' });
|
|
2465
2465
|
}
|
|
2466
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2467
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2466
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2467
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordService, providedIn: 'root' });
|
|
2468
2468
|
}
|
|
2469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordService, decorators: [{
|
|
2470
2470
|
type: Injectable,
|
|
2471
2471
|
args: [{
|
|
2472
2472
|
providedIn: 'root'
|
|
@@ -2648,10 +2648,10 @@ class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComponent {
|
|
|
2648
2648
|
}
|
|
2649
2649
|
});
|
|
2650
2650
|
}
|
|
2651
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2652
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
2651
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2652
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageChangePasswordComponent, isStandalone: false, selector: "po-page-change-password", viewQueries: [{ propertyName: "modal", first: true, predicate: PoModalComponent, descendants: true, static: true }, { propertyName: "pageChangePassword", first: true, predicate: ["pageChangePassword"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "passwordForm", first: true, predicate: ["passwordForm"], descendants: true, read: NgForm, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"po-page-change-password-wrapper\" #pageChangePassword>\n <div class=\"po-page-change-password-container\">\n <po-page-background\n class=\"po-page-change-password\"\n [p-components-size]=\"componentsSize\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n >\n <div class=\"po-page-blocked-user-header po-row\">\n <div class=\"po-md-12\">{{ literals.createNewPassword }}</div>\n <div class=\"po-md-12 po-text-center po-font-text\">\n {{ literals.createNewPasswordPhrase }}\n </div>\n </div>\n\n <form #passwordForm=\"ngForm\">\n <div class=\"po-row po-mt-3 po-mt-sm-1\">\n <div class=\"po-md-6\" [ngClass]=\"{ 'po-offset-md-3 po-offset-lg-3 po-offset-xl-3': !showRequirements }\">\n @if (!hideCurrentPassword) {\n <div>\n <po-password\n name=\"currentPassword\"\n [(ngModel)]=\"currentPassword\"\n p-required\n [p-label]=\"literals.currentPassword\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n }\n @if (!hideCurrentPassword && recovery) {\n <div class=\"po-text-center po-mb-sm-1 po-mb-2\">\n @if (recoveryUrlType === 'internalLink') {\n <a class=\"po-font-text-bold po-page-change-password-forgot-password\" [routerLink]=\"recovery\">\n {{ literals.forgotPassword }}\n </a>\n }\n @if (recoveryUrlType === 'externalLink') {\n <a class=\"po-font-text-bold po-page-change-password-forgot-password\" [href]=\"recovery\">\n {{ literals.forgotPassword }}\n </a>\n }\n @if (!recoveryUrlType) {\n <a\n class=\"po-font-text-bold po-page-change-password-forgot-password po-clickable\"\n (click)=\"onForgotPasswordClick(recovery)\"\n >\n {{ literals.forgotPassword }}\n </a>\n }\n </div>\n }\n <div>\n <po-password\n name=\"newPassword\"\n [(ngModel)]=\"newPassword\"\n p-required\n [p-label]=\"literals.newPassword\"\n (p-change-model)=\"validatePassword()\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n <div>\n <po-password\n name=\"confirmPassword\"\n [(ngModel)]=\"confirmPassword\"\n p-required\n [p-label]=\"literals.confirmPassword\"\n (p-change-model)=\"validatePassword()\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n </div>\n @if (showRequirements) {\n <div class=\"po-md-6 po-page-change-password-required-container\">\n <po-container>\n <ul class=\"po-page-change-password-required-list\">\n <li class=\"po-page-change-password-required-item\">\n <p class=\"po-mb-1 po-font-text-bold po-page-change-password-required-title\">\n {{ literals?.requirements }}\n </p>\n </li>\n @for (requirement of requirements; track requirement) {\n <li class=\"po-page-change-password-required-item\">\n <po-icon\n class=\"po-page-change-password-required-icon\"\n [p-icon]=\"\n validateRequirement(requirement)\n ? 'ICON_OK po-page-change-password-required-ok'\n : 'ICON_MINUS po-page-change-password-required-minus'\n \"\n >\n </po-icon>\n <p class=\"po-page-change-password-required-text po-font-text\">\n {{ requirement.requirement }}\n </p>\n </li>\n }\n </ul>\n </po-container>\n </div>\n }\n </div>\n </form>\n\n <po-divider class=\"po-sm-12\"></po-divider>\n\n <div class=\"po-page-change-password-tips po-row\">\n <div class=\"po-md-2 po-mr-3\">\n <img\n class=\"po-page-change-password-lock-image po-mb-3\"\n alt=\"Blocked user image\"\n src=\"./assets/images/big-lock.svg\"\n />\n </div>\n <div class=\"po-md-9 po-page-change-password-tips-text\">\n <div class=\"po-font-text-bold po-pb-1\">{{ literals.safetyTips }}</div>\n <div class=\"po-font-text-small\">\n <div class=\"po-row po-pb-1\">{{ literals.safetyTipsPhrase }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsFirst }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsSecond }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsThird }}</div>\n </div>\n </div>\n </div>\n\n <div class=\"po-page-change-password-buttons po-row\">\n <po-divider class=\"po-sm-12 po-mobile-only\"></po-divider>\n\n @if (!hideCurrentPassword) {\n <po-button\n class=\"po-sm-6 po-mb-sm-1\"\n [p-label]=\"literals.backButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"navigateTo(urlBack)\"\n >\n </po-button>\n }\n\n <po-button\n [ngClass]=\"hideCurrentPassword ? 'po-md-12' : 'po-sm-6'\"\n p-kind=\"primary\"\n [p-disabled]=\"passwordForm.invalid\"\n [p-label]=\"literals.saveButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"onLoginSubmit()\"\n >\n </po-button>\n </div>\n </po-page-background>\n </div>\n</div>\n\n<po-modal\n [p-primary-action]=\"modalAction\"\n p-hide-close\n p-size=\"auto\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"hideCurrentPassword ? literals.passwordSuccessfullyCreated : literals.passwordSuccessfullyUpdated\"\n>\n <div class=\"po-text-center\">\n <img\n alt=\"Blocked user image\"\n class=\"po-page-change-password-lock-image po-mb-3\"\n src=\"./assets/images/success.svg\"\n />\n </div>\n</po-modal>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i3.PoButtonComponent, selector: "po-button" }, { kind: "component", type: i3.PoContainerComponent, selector: "po-container" }, { kind: "component", type: i3.PoDividerComponent, selector: "po-divider" }, { kind: "component", type: i3.PoPasswordComponent, selector: "po-password", inputs: ["p-hide-password-peek", "p-no-autocomplete"] }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "component", type: i3.PoModalComponent, selector: "po-modal" }, { kind: "component", type: PoPageBackgroundComponent, selector: "po-page-background", inputs: ["p-background", "p-initial-language", "p-hide-logo", "p-highlight-info", "p-components-size", "p-languages", "p-logo", "p-logo-alt", "p-secondary-logo", "p-show-select-language"], outputs: ["p-selected-language"] }] });
|
|
2653
2653
|
}
|
|
2654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordComponent, decorators: [{
|
|
2655
2655
|
type: Component,
|
|
2656
2656
|
args: [{ selector: 'po-page-change-password', standalone: false, template: "<div class=\"po-page-change-password-wrapper\" #pageChangePassword>\n <div class=\"po-page-change-password-container\">\n <po-page-background\n class=\"po-page-change-password\"\n [p-components-size]=\"componentsSize\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n >\n <div class=\"po-page-blocked-user-header po-row\">\n <div class=\"po-md-12\">{{ literals.createNewPassword }}</div>\n <div class=\"po-md-12 po-text-center po-font-text\">\n {{ literals.createNewPasswordPhrase }}\n </div>\n </div>\n\n <form #passwordForm=\"ngForm\">\n <div class=\"po-row po-mt-3 po-mt-sm-1\">\n <div class=\"po-md-6\" [ngClass]=\"{ 'po-offset-md-3 po-offset-lg-3 po-offset-xl-3': !showRequirements }\">\n @if (!hideCurrentPassword) {\n <div>\n <po-password\n name=\"currentPassword\"\n [(ngModel)]=\"currentPassword\"\n p-required\n [p-label]=\"literals.currentPassword\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n }\n @if (!hideCurrentPassword && recovery) {\n <div class=\"po-text-center po-mb-sm-1 po-mb-2\">\n @if (recoveryUrlType === 'internalLink') {\n <a class=\"po-font-text-bold po-page-change-password-forgot-password\" [routerLink]=\"recovery\">\n {{ literals.forgotPassword }}\n </a>\n }\n @if (recoveryUrlType === 'externalLink') {\n <a class=\"po-font-text-bold po-page-change-password-forgot-password\" [href]=\"recovery\">\n {{ literals.forgotPassword }}\n </a>\n }\n @if (!recoveryUrlType) {\n <a\n class=\"po-font-text-bold po-page-change-password-forgot-password po-clickable\"\n (click)=\"onForgotPasswordClick(recovery)\"\n >\n {{ literals.forgotPassword }}\n </a>\n }\n </div>\n }\n <div>\n <po-password\n name=\"newPassword\"\n [(ngModel)]=\"newPassword\"\n p-required\n [p-label]=\"literals.newPassword\"\n (p-change-model)=\"validatePassword()\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n <div>\n <po-password\n name=\"confirmPassword\"\n [(ngModel)]=\"confirmPassword\"\n p-required\n [p-label]=\"literals.confirmPassword\"\n (p-change-model)=\"validatePassword()\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-size]=\"componentsSize\"\n >\n </po-password>\n </div>\n </div>\n @if (showRequirements) {\n <div class=\"po-md-6 po-page-change-password-required-container\">\n <po-container>\n <ul class=\"po-page-change-password-required-list\">\n <li class=\"po-page-change-password-required-item\">\n <p class=\"po-mb-1 po-font-text-bold po-page-change-password-required-title\">\n {{ literals?.requirements }}\n </p>\n </li>\n @for (requirement of requirements; track requirement) {\n <li class=\"po-page-change-password-required-item\">\n <po-icon\n class=\"po-page-change-password-required-icon\"\n [p-icon]=\"\n validateRequirement(requirement)\n ? 'ICON_OK po-page-change-password-required-ok'\n : 'ICON_MINUS po-page-change-password-required-minus'\n \"\n >\n </po-icon>\n <p class=\"po-page-change-password-required-text po-font-text\">\n {{ requirement.requirement }}\n </p>\n </li>\n }\n </ul>\n </po-container>\n </div>\n }\n </div>\n </form>\n\n <po-divider class=\"po-sm-12\"></po-divider>\n\n <div class=\"po-page-change-password-tips po-row\">\n <div class=\"po-md-2 po-mr-3\">\n <img\n class=\"po-page-change-password-lock-image po-mb-3\"\n alt=\"Blocked user image\"\n src=\"./assets/images/big-lock.svg\"\n />\n </div>\n <div class=\"po-md-9 po-page-change-password-tips-text\">\n <div class=\"po-font-text-bold po-pb-1\">{{ literals.safetyTips }}</div>\n <div class=\"po-font-text-small\">\n <div class=\"po-row po-pb-1\">{{ literals.safetyTipsPhrase }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsFirst }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsSecond }}</div>\n <div class=\"po-row po-pb-1\">\u2022 {{ literals.safetyTipsThird }}</div>\n </div>\n </div>\n </div>\n\n <div class=\"po-page-change-password-buttons po-row\">\n <po-divider class=\"po-sm-12 po-mobile-only\"></po-divider>\n\n @if (!hideCurrentPassword) {\n <po-button\n class=\"po-sm-6 po-mb-sm-1\"\n [p-label]=\"literals.backButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"navigateTo(urlBack)\"\n >\n </po-button>\n }\n\n <po-button\n [ngClass]=\"hideCurrentPassword ? 'po-md-12' : 'po-sm-6'\"\n p-kind=\"primary\"\n [p-disabled]=\"passwordForm.invalid\"\n [p-label]=\"literals.saveButton\"\n [p-size]=\"componentsSize\"\n (p-click)=\"onLoginSubmit()\"\n >\n </po-button>\n </div>\n </po-page-background>\n </div>\n</div>\n\n<po-modal\n [p-primary-action]=\"modalAction\"\n p-hide-close\n p-size=\"auto\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"hideCurrentPassword ? literals.passwordSuccessfullyCreated : literals.passwordSuccessfullyUpdated\"\n>\n <div class=\"po-text-center\">\n <img\n alt=\"Blocked user image\"\n class=\"po-page-change-password-lock-image po-mb-3\"\n src=\"./assets/images/success.svg\"\n />\n </div>\n</po-modal>\n" }]
|
|
2657
2657
|
}], ctorParameters: () => [], propDecorators: { modal: [{
|
|
@@ -2671,11 +2671,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
2671
2671
|
* Módulo do template do po-page-change-password.
|
|
2672
2672
|
*/
|
|
2673
2673
|
class PoPageChangePasswordModule {
|
|
2674
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2675
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2676
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2674
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2675
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordModule, declarations: [PoPageChangePasswordComponent], imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule], exports: [PoPageChangePasswordComponent] });
|
|
2676
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordModule, providers: [PoPageChangePasswordService], imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule] });
|
|
2677
2677
|
}
|
|
2678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageChangePasswordModule, decorators: [{
|
|
2679
2679
|
type: NgModule,
|
|
2680
2680
|
args: [{
|
|
2681
2681
|
imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule],
|
|
@@ -2773,10 +2773,10 @@ class PoPageDynamicService {
|
|
|
2773
2773
|
}
|
|
2774
2774
|
return endpoint;
|
|
2775
2775
|
}
|
|
2776
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2777
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2776
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2777
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicService, providedIn: 'root' });
|
|
2778
2778
|
}
|
|
2779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicService, decorators: [{
|
|
2780
2780
|
type: Injectable,
|
|
2781
2781
|
args: [{
|
|
2782
2782
|
providedIn: 'root'
|
|
@@ -2851,10 +2851,10 @@ class PoPageCustomizationService {
|
|
|
2851
2851
|
});
|
|
2852
2852
|
return [...mergedOriginalOptions, ...deduplicateNewOptions];
|
|
2853
2853
|
}
|
|
2854
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2855
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2854
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2855
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationService, providedIn: 'root' });
|
|
2856
2856
|
}
|
|
2857
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationService, decorators: [{
|
|
2858
2858
|
type: Injectable,
|
|
2859
2859
|
args: [{
|
|
2860
2860
|
providedIn: 'root'
|
|
@@ -2887,10 +2887,10 @@ class PoPageDynamicDetailActionsService {
|
|
|
2887
2887
|
}
|
|
2888
2888
|
return of(action(id, resource));
|
|
2889
2889
|
}
|
|
2890
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2891
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2890
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2891
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailActionsService, providedIn: 'root' });
|
|
2892
2892
|
}
|
|
2893
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2893
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailActionsService, decorators: [{
|
|
2894
2894
|
type: Injectable,
|
|
2895
2895
|
args: [{
|
|
2896
2896
|
providedIn: 'root'
|
|
@@ -3408,10 +3408,10 @@ class PoPageDynamicDetailComponent {
|
|
|
3408
3408
|
};
|
|
3409
3409
|
return this.poPageCustomizationService.getCustomOptions(onLoad, originalOption, pageOptionSchema);
|
|
3410
3410
|
}
|
|
3411
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3412
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
3411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3412
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageDynamicDetailComponent, isStandalone: false, selector: "po-page-dynamic-detail", inputs: { breadcrumb: ["p-breadcrumb", "breadcrumb"], onLoad: ["p-load", "onLoad"], title: ["p-title", "title"], serviceApi: ["p-service-api", "serviceApi"], actions: ["p-actions", "actions"], autoRouter: ["p-auto-router", "autoRouter"], componentsSize: ["p-components-size", "componentsSize"], fields: ["p-fields", "fields"] }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, providers: [PoPageDynamicService, PoPageDynamicDetailActionsService], ngImport: i0, template: "<po-page-default\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n @if (model) {\n <po-dynamic-view [p-components-size]=\"componentsSize\" [p-fields]=\"fields\" [p-value]=\"model\"> </po-dynamic-view>\n } @else {\n <po-widget [p-size]=\"componentsSize\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.registerNotFound }}\n </span>\n </po-widget>\n }\n</po-page-default>\n", dependencies: [{ kind: "component", type: i3.PoDynamicViewComponent, selector: "po-dynamic-view" }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "component", type: i3.PoPageDefaultComponent, selector: "po-page-default" }, { kind: "component", type: i3.PoWidgetComponent, selector: "po-widget" }] });
|
|
3413
3413
|
}
|
|
3414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3414
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailComponent, decorators: [{
|
|
3415
3415
|
type: Component,
|
|
3416
3416
|
args: [{ selector: 'po-page-dynamic-detail', providers: [PoPageDynamicService, PoPageDynamicDetailActionsService], standalone: false, template: "<po-page-default\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n @if (model) {\n <po-dynamic-view [p-components-size]=\"componentsSize\" [p-fields]=\"fields\" [p-value]=\"model\"> </po-dynamic-view>\n } @else {\n <po-widget [p-size]=\"componentsSize\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.registerNotFound }}\n </span>\n </po-widget>\n }\n</po-page-default>\n" }]
|
|
3417
3417
|
}], ctorParameters: () => [], propDecorators: { breadcrumb: [{
|
|
@@ -3452,11 +3452,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
3452
3452
|
* Módulo do serviço do po-page-dynamic-service.
|
|
3453
3453
|
*/
|
|
3454
3454
|
class PoPageDynamicModule {
|
|
3455
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3456
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
3457
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3455
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3456
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicModule, imports: [CommonModule] });
|
|
3457
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicModule, providers: [PoPageDynamicService], imports: [CommonModule] });
|
|
3458
3458
|
}
|
|
3459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicModule, decorators: [{
|
|
3460
3460
|
type: NgModule,
|
|
3461
3461
|
args: [{
|
|
3462
3462
|
imports: [CommonModule],
|
|
@@ -3470,8 +3470,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
3470
3470
|
* Módulo do template do po-page-dynamic-detail.
|
|
3471
3471
|
*/
|
|
3472
3472
|
class PoPageDynamicDetailModule {
|
|
3473
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3474
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
3473
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3474
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailModule, declarations: [PoPageDynamicDetailComponent], imports: [CommonModule,
|
|
3475
3475
|
FormsModule,
|
|
3476
3476
|
RouterModule,
|
|
3477
3477
|
PoDynamicModule,
|
|
@@ -3480,7 +3480,7 @@ class PoPageDynamicDetailModule {
|
|
|
3480
3480
|
PoPageModule,
|
|
3481
3481
|
PoWidgetModule,
|
|
3482
3482
|
PoPageDynamicModule], exports: [PoPageDynamicDetailComponent] });
|
|
3483
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
3483
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailModule, imports: [CommonModule,
|
|
3484
3484
|
FormsModule,
|
|
3485
3485
|
RouterModule,
|
|
3486
3486
|
PoDynamicModule,
|
|
@@ -3490,7 +3490,7 @@ class PoPageDynamicDetailModule {
|
|
|
3490
3490
|
PoWidgetModule,
|
|
3491
3491
|
PoPageDynamicModule] });
|
|
3492
3492
|
}
|
|
3493
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicDetailModule, decorators: [{
|
|
3494
3494
|
type: NgModule,
|
|
3495
3495
|
args: [{
|
|
3496
3496
|
imports: [
|
|
@@ -3535,10 +3535,10 @@ class PoPageDynamicEditActionsService {
|
|
|
3535
3535
|
}
|
|
3536
3536
|
return of(action(resource, id));
|
|
3537
3537
|
}
|
|
3538
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
3539
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
3538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3539
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditActionsService, providedIn: 'root' });
|
|
3540
3540
|
}
|
|
3541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
3541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditActionsService, decorators: [{
|
|
3542
3542
|
type: Injectable,
|
|
3543
3543
|
args: [{
|
|
3544
3544
|
providedIn: 'root'
|
|
@@ -4383,10 +4383,10 @@ class PoPageDynamicEditComponent {
|
|
|
4383
4383
|
isObject(value) {
|
|
4384
4384
|
return !!value && typeof value === 'object' && !Array.isArray(value);
|
|
4385
4385
|
}
|
|
4386
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4387
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
4386
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4387
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageDynamicEditComponent, isStandalone: false, selector: "po-page-dynamic-edit", inputs: { breadcrumb: ["p-breadcrumb", "breadcrumb"], serviceApi: ["p-service-api", "serviceApi"], title: ["p-title", "title"], onLoad: ["p-load", "onLoad"], onLoadData: ["p-load-data", "onLoadData"], actions: ["p-actions", "actions"], literals: ["p-literals", "literals"], notificationType: ["p-notification-type", "notificationType"], autoRouter: ["p-auto-router", "autoRouter"], fields: ["p-fields", "fields"], componentsSize: ["p-components-size", "componentsSize"] }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, providers: [PoPageDynamicService], viewQueries: [{ propertyName: "dynamicForm", first: true, predicate: ["dynamicForm"], descendants: true }, { propertyName: "gridDetail", first: true, predicate: ["gridDetail"], descendants: true }], ngImport: i0, template: "<po-page-default\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n @if (model) {\n <po-dynamic-form #dynamicForm [p-components-size]=\"componentsSize\" [p-fields]=\"controlFields\" [p-value]=\"model\">\n </po-dynamic-form>\n @if (detailFields.length > 0) {\n <div class=\"po-sm-12\">\n <po-divider [p-label]=\"detailFields[0].divider\"></po-divider>\n <div class=\"po-row po-mb-2\">\n <po-button\n [p-size]=\"componentsSize\"\n [p-label]=\"literals.detailActionNew\"\n (p-click)=\"detailActionNew()\"\n ></po-button>\n </div>\n <po-grid\n #gridDetail\n [p-row-actions]=\"detailActions\"\n [p-columns]=\"detailFields[0].detail.columns\"\n [p-data]=\"model[detailFields[0].property]\"\n >\n </po-grid>\n </div>\n }\n } @else {\n <po-widget [p-size]=\"componentsSize\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.registerNotFound }}\n </span>\n </po-widget>\n }\n</po-page-default>\n", dependencies: [{ kind: "component", type: i3.PoButtonComponent, selector: "po-button" }, { kind: "component", type: i3.PoDividerComponent, selector: "po-divider" }, { kind: "component", type: i3.PoDynamicFormComponent, selector: "po-dynamic-form" }, { kind: "component", type: i3.PoGridComponent, selector: "po-grid", inputs: ["p-row-actions", "p-data", "p-columns"] }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "component", type: i3.PoPageDefaultComponent, selector: "po-page-default" }, { kind: "component", type: i3.PoWidgetComponent, selector: "po-widget" }] });
|
|
4388
4388
|
}
|
|
4389
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4389
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditComponent, decorators: [{
|
|
4390
4390
|
type: Component,
|
|
4391
4391
|
args: [{ selector: 'po-page-dynamic-edit', providers: [PoPageDynamicService], standalone: false, template: "<po-page-default\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n @if (model) {\n <po-dynamic-form #dynamicForm [p-components-size]=\"componentsSize\" [p-fields]=\"controlFields\" [p-value]=\"model\">\n </po-dynamic-form>\n @if (detailFields.length > 0) {\n <div class=\"po-sm-12\">\n <po-divider [p-label]=\"detailFields[0].divider\"></po-divider>\n <div class=\"po-row po-mb-2\">\n <po-button\n [p-size]=\"componentsSize\"\n [p-label]=\"literals.detailActionNew\"\n (p-click)=\"detailActionNew()\"\n ></po-button>\n </div>\n <po-grid\n #gridDetail\n [p-row-actions]=\"detailActions\"\n [p-columns]=\"detailFields[0].detail.columns\"\n [p-data]=\"model[detailFields[0].property]\"\n >\n </po-grid>\n </div>\n }\n } @else {\n <po-widget [p-size]=\"componentsSize\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.registerNotFound }}\n </span>\n </po-widget>\n }\n</po-page-default>\n" }]
|
|
4392
4392
|
}], ctorParameters: () => [], propDecorators: { dynamicForm: [{
|
|
@@ -4442,8 +4442,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
4442
4442
|
* Módulo do template do po-page-dynamic-detail.
|
|
4443
4443
|
*/
|
|
4444
4444
|
class PoPageDynamicEditModule {
|
|
4445
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4446
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4445
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4446
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditModule, declarations: [PoPageDynamicEditComponent], imports: [CommonModule,
|
|
4447
4447
|
FormsModule,
|
|
4448
4448
|
RouterModule,
|
|
4449
4449
|
PoButtonModule,
|
|
@@ -4454,7 +4454,7 @@ class PoPageDynamicEditModule {
|
|
|
4454
4454
|
PoPageModule,
|
|
4455
4455
|
PoWidgetModule,
|
|
4456
4456
|
PoPageDynamicModule], exports: [PoPageDynamicEditComponent] });
|
|
4457
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4457
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditModule, imports: [CommonModule,
|
|
4458
4458
|
FormsModule,
|
|
4459
4459
|
RouterModule,
|
|
4460
4460
|
PoButtonModule,
|
|
@@ -4466,7 +4466,7 @@ class PoPageDynamicEditModule {
|
|
|
4466
4466
|
PoWidgetModule,
|
|
4467
4467
|
PoPageDynamicModule] });
|
|
4468
4468
|
}
|
|
4469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicEditModule, decorators: [{
|
|
4470
4470
|
type: NgModule,
|
|
4471
4471
|
args: [{
|
|
4472
4472
|
imports: [
|
|
@@ -4493,11 +4493,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
4493
4493
|
* Módulo do serviço do po-page-customization-service.
|
|
4494
4494
|
*/
|
|
4495
4495
|
class PoPageCustomizationModule {
|
|
4496
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4497
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
4498
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
4496
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4497
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationModule, imports: [CommonModule] });
|
|
4498
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationModule, providers: [PoPageCustomizationService], imports: [CommonModule] });
|
|
4499
4499
|
}
|
|
4500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageCustomizationModule, decorators: [{
|
|
4501
4501
|
type: NgModule,
|
|
4502
4502
|
args: [{
|
|
4503
4503
|
imports: [CommonModule],
|
|
@@ -4635,10 +4635,10 @@ class PoAdvancedFilterBaseComponent {
|
|
|
4635
4635
|
}
|
|
4636
4636
|
return { filter: this.filter, optionsService: optionServiceOptions };
|
|
4637
4637
|
}
|
|
4638
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4639
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.
|
|
4638
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoAdvancedFilterBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4639
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.18", type: PoAdvancedFilterBaseComponent, isStandalone: true, inputs: { keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], componentsSize: ["p-components-size", "componentsSize"], filters: ["p-filters", "filters"], literals: ["p-literals", "literals"] }, outputs: { searchEvent: "p-search-event" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, viewQueries: [{ propertyName: "poModal", first: true, predicate: PoModalComponent, descendants: true, static: true }], ngImport: i0 });
|
|
4640
4640
|
}
|
|
4641
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoAdvancedFilterBaseComponent, decorators: [{
|
|
4642
4642
|
type: Directive
|
|
4643
4643
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { poModal: [{
|
|
4644
4644
|
type: ViewChild,
|
|
@@ -4712,10 +4712,10 @@ class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent {
|
|
|
4712
4712
|
}
|
|
4713
4713
|
}));
|
|
4714
4714
|
}
|
|
4715
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
4716
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
4715
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoAdvancedFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4716
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoAdvancedFilterComponent, isStandalone: false, selector: "po-advanced-filter", viewQueries: [{ propertyName: "poDynamicForm", first: true, predicate: PoDynamicFormComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<po-modal\n p-hide-close\n [p-primary-action]=\"primaryAction\"\n [p-secondary-action]=\"secondaryAction\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"literals.title\"\n>\n <po-dynamic-form [p-components-size]=\"componentsSize\" [p-fields]=\"filters\" [p-value]=\"filter\"> </po-dynamic-form>\n</po-modal>\n", dependencies: [{ kind: "component", type: i3.PoDynamicFormComponent, selector: "po-dynamic-form" }, { kind: "component", type: i3.PoModalComponent, selector: "po-modal" }] });
|
|
4717
4717
|
}
|
|
4718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
4718
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoAdvancedFilterComponent, decorators: [{
|
|
4719
4719
|
type: Component,
|
|
4720
4720
|
args: [{ selector: 'po-advanced-filter', standalone: false, template: "<po-modal\n p-hide-close\n [p-primary-action]=\"primaryAction\"\n [p-secondary-action]=\"secondaryAction\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"literals.title\"\n>\n <po-dynamic-form [p-components-size]=\"componentsSize\" [p-fields]=\"filters\" [p-value]=\"filter\"> </po-dynamic-form>\n</po-modal>\n" }]
|
|
4721
4721
|
}], ctorParameters: () => [], propDecorators: { poDynamicForm: [{
|
|
@@ -4725,6 +4725,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
4725
4725
|
|
|
4726
4726
|
const poPageDynamicSearchLiteralsDefault = {
|
|
4727
4727
|
en: {
|
|
4728
|
+
disclaimerBooleanFalse: 'No',
|
|
4729
|
+
disclaimerBooleanTrue: 'Yes',
|
|
4728
4730
|
disclaimerGroupTitle: 'Displaying results filtered by:',
|
|
4729
4731
|
filterTitle: poAdvancedFiltersLiteralsDefault.en.title,
|
|
4730
4732
|
filterCancelLabel: poAdvancedFiltersLiteralsDefault.en.cancelLabel,
|
|
@@ -4733,6 +4735,8 @@ const poPageDynamicSearchLiteralsDefault = {
|
|
|
4733
4735
|
searchPlaceholder: 'Search'
|
|
4734
4736
|
},
|
|
4735
4737
|
es: {
|
|
4738
|
+
disclaimerBooleanFalse: 'No',
|
|
4739
|
+
disclaimerBooleanTrue: 'Sí',
|
|
4736
4740
|
disclaimerGroupTitle: 'Presentando resultados filtrados por:',
|
|
4737
4741
|
filterTitle: poAdvancedFiltersLiteralsDefault.es.title,
|
|
4738
4742
|
filterCancelLabel: poAdvancedFiltersLiteralsDefault.es.cancelLabel,
|
|
@@ -4741,6 +4745,8 @@ const poPageDynamicSearchLiteralsDefault = {
|
|
|
4741
4745
|
searchPlaceholder: 'Buscar'
|
|
4742
4746
|
},
|
|
4743
4747
|
pt: {
|
|
4748
|
+
disclaimerBooleanFalse: 'Não',
|
|
4749
|
+
disclaimerBooleanTrue: 'Sim',
|
|
4744
4750
|
disclaimerGroupTitle: 'Apresentando resultados filtrados por:',
|
|
4745
4751
|
filterTitle: poAdvancedFiltersLiteralsDefault.pt.title,
|
|
4746
4752
|
filterCancelLabel: poAdvancedFiltersLiteralsDefault.pt.cancelLabel,
|
|
@@ -4749,6 +4755,8 @@ const poPageDynamicSearchLiteralsDefault = {
|
|
|
4749
4755
|
searchPlaceholder: 'Pesquisar'
|
|
4750
4756
|
},
|
|
4751
4757
|
ru: {
|
|
4758
|
+
disclaimerBooleanFalse: 'Нет',
|
|
4759
|
+
disclaimerBooleanTrue: 'Да',
|
|
4752
4760
|
disclaimerGroupTitle: 'Отображение результатов, отфильтрованных по:',
|
|
4753
4761
|
filterTitle: poAdvancedFiltersLiteralsDefault.ru.title,
|
|
4754
4762
|
filterCancelLabel: poAdvancedFiltersLiteralsDefault.ru.cancelLabel,
|
|
@@ -4956,6 +4964,8 @@ class PoPageDynamicSearchBaseComponent {
|
|
|
4956
4964
|
*
|
|
4957
4965
|
* ```
|
|
4958
4966
|
* const customLiterals: PoPageDynamicSearchLiterals = {
|
|
4967
|
+
* disclaimerBooleanFalse: 'Inativo',
|
|
4968
|
+
* disclaimerBooleanTrue: 'Ativo',
|
|
4959
4969
|
* disclaimerGroupTitle: 'Filtros aplicados:',
|
|
4960
4970
|
* filterTitle: 'Filtro avançado',
|
|
4961
4971
|
* filterCancelLabel: 'Fechar',
|
|
@@ -5070,10 +5080,10 @@ class PoPageDynamicSearchBaseComponent {
|
|
|
5070
5080
|
applySizeBasedOnA11y() {
|
|
5071
5081
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
5072
5082
|
}
|
|
5073
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5074
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.
|
|
5083
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
5084
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.18", type: PoPageDynamicSearchBaseComponent, isStandalone: true, inputs: { actions: ["p-actions", "actions"], breadcrumb: ["p-breadcrumb", "breadcrumb"], keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], concatFilters: ["p-concat-filters", "concatFilters", convertToBoolean], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer", convertToBoolean], onLoad: ["p-load", "onLoad"], title: ["p-title", "title"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], visibleFixedFilters: ["p-visible-fixed-filters", "visibleFixedFilters"], componentsSize: ["p-components-size", "componentsSize"], literals: ["p-literals", "literals"], filters: ["p-filters", "filters"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"] }, outputs: { advancedSearch: "p-advanced-search", changeDisclaimers: "p-change-disclaimers", quickSearch: "p-quick-search" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
5075
5085
|
}
|
|
5076
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5086
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchBaseComponent, decorators: [{
|
|
5077
5087
|
type: Directive
|
|
5078
5088
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { actions: [{
|
|
5079
5089
|
type: Input,
|
|
@@ -5333,11 +5343,28 @@ class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseComponent {
|
|
|
5333
5343
|
if (field.type === PoDynamicFieldType.Date || field.type?.toLowerCase() === PoDynamicFieldType.DateTime) {
|
|
5334
5344
|
return field.range ? this.formatDate(value.start) + ' - ' + this.formatDate(value.end) : this.formatDate(value);
|
|
5335
5345
|
}
|
|
5346
|
+
if (field.type === PoDynamicFieldType.Boolean && typeof value === 'boolean') {
|
|
5347
|
+
return this.formatValueToBoolean(field, value);
|
|
5348
|
+
}
|
|
5336
5349
|
if (field.options && value) {
|
|
5337
5350
|
return this.applyDisclaimerLabelValue(field, value);
|
|
5338
5351
|
}
|
|
5339
5352
|
return value;
|
|
5340
5353
|
}
|
|
5354
|
+
formatValueToBoolean(field, value) {
|
|
5355
|
+
if (value && field.booleanTrue) {
|
|
5356
|
+
return field.booleanTrue;
|
|
5357
|
+
}
|
|
5358
|
+
if (!value && field.booleanFalse) {
|
|
5359
|
+
return field.booleanFalse;
|
|
5360
|
+
}
|
|
5361
|
+
const language = this.languageService.getShortLanguage();
|
|
5362
|
+
const fallbackLiterals = poPageDynamicSearchLiteralsDefault[language] ?? poPageDynamicSearchLiteralsDefault[poLocaleDefault];
|
|
5363
|
+
const customLiterals = this['_literals'];
|
|
5364
|
+
const trueLabel = customLiterals?.disclaimerBooleanTrue ?? fallbackLiterals.disclaimerBooleanTrue;
|
|
5365
|
+
const falseLabel = customLiterals?.disclaimerBooleanFalse ?? fallbackLiterals.disclaimerBooleanFalse;
|
|
5366
|
+
return value ? trueLabel : falseLabel;
|
|
5367
|
+
}
|
|
5341
5368
|
emitChangesDisclaimers(currentDisclaimers) {
|
|
5342
5369
|
this.changeDisclaimers.emit(currentDisclaimers);
|
|
5343
5370
|
this.setFilters(this.formatArrayToObjectKeyValue(currentDisclaimers));
|
|
@@ -5459,10 +5486,10 @@ class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseComponent {
|
|
|
5459
5486
|
}
|
|
5460
5487
|
return filter;
|
|
5461
5488
|
}
|
|
5462
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5463
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.
|
|
5489
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5490
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.18", type: PoPageDynamicSearchComponent, isStandalone: false, selector: "po-page-dynamic-search", viewQueries: [{ propertyName: "poAdvancedFilter", first: true, predicate: PoAdvancedFilterComponent, descendants: true, static: true }, { propertyName: "poPageList", first: true, predicate: PoPageListComponent, descendants: true, static: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<po-page-list\n #poPageList\n [p-actions]=\"actions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-disclaimer-group]=\"disclaimerGroup\"\n [p-filter]=\"filterSettings\"\n [p-title]=\"title\"\n [p-quick-search-value]=\"quickSearchValue\"\n>\n <po-advanced-filter\n [p-components-size]=\"componentsSize\"\n [p-filters]=\"filters\"\n [p-keep-filters]=\"keepFilters\"\n [p-literals]=\"advancedFilterLiterals\"\n (p-search-event)=\"onAdvancedSearch($event, true)\"\n >\n </po-advanced-filter>\n\n <ng-content></ng-content>\n</po-page-list>\n", dependencies: [{ kind: "component", type: i3.PoPageListComponent, selector: "po-page-list" }, { kind: "component", type: PoAdvancedFilterComponent, selector: "po-advanced-filter" }] });
|
|
5464
5491
|
}
|
|
5465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchComponent, decorators: [{
|
|
5466
5493
|
type: Component,
|
|
5467
5494
|
args: [{ selector: 'po-page-dynamic-search', standalone: false, template: "<po-page-list\n #poPageList\n [p-actions]=\"actions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-disclaimer-group]=\"disclaimerGroup\"\n [p-filter]=\"filterSettings\"\n [p-title]=\"title\"\n [p-quick-search-value]=\"quickSearchValue\"\n>\n <po-advanced-filter\n [p-components-size]=\"componentsSize\"\n [p-filters]=\"filters\"\n [p-keep-filters]=\"keepFilters\"\n [p-literals]=\"advancedFilterLiterals\"\n (p-search-event)=\"onAdvancedSearch($event, true)\"\n >\n </po-advanced-filter>\n\n <ng-content></ng-content>\n</po-page-list>\n" }]
|
|
5468
5495
|
}], ctorParameters: () => [], propDecorators: { poAdvancedFilter: [{
|
|
@@ -5479,8 +5506,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
5479
5506
|
* Módulo do template do po-page-dynamic-search.
|
|
5480
5507
|
*/
|
|
5481
5508
|
class PoPageDynamicSearchModule {
|
|
5482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5483
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
5509
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5510
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchModule, declarations: [PoAdvancedFilterComponent, PoPageDynamicSearchComponent], imports: [CommonModule,
|
|
5484
5511
|
FormsModule,
|
|
5485
5512
|
RouterModule,
|
|
5486
5513
|
PoDynamicModule,
|
|
@@ -5488,7 +5515,7 @@ class PoPageDynamicSearchModule {
|
|
|
5488
5515
|
PoModalModule,
|
|
5489
5516
|
PoPageModule,
|
|
5490
5517
|
PoPageCustomizationModule], exports: [PoPageDynamicSearchComponent] });
|
|
5491
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
5518
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchModule, imports: [CommonModule,
|
|
5492
5519
|
FormsModule,
|
|
5493
5520
|
RouterModule,
|
|
5494
5521
|
PoDynamicModule,
|
|
@@ -5497,7 +5524,7 @@ class PoPageDynamicSearchModule {
|
|
|
5497
5524
|
PoPageModule,
|
|
5498
5525
|
PoPageCustomizationModule] });
|
|
5499
5526
|
}
|
|
5500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicSearchModule, decorators: [{
|
|
5501
5528
|
type: NgModule,
|
|
5502
5529
|
args: [{
|
|
5503
5530
|
imports: [
|
|
@@ -5764,10 +5791,10 @@ class PoPageDynamicListBaseComponent {
|
|
|
5764
5791
|
return 0;
|
|
5765
5792
|
});
|
|
5766
5793
|
}
|
|
5767
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5768
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
5794
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicListBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5795
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoPageDynamicListBaseComponent, isStandalone: true, inputs: { breadcrumb: ["p-breadcrumb", "breadcrumb"], serviceApi: ["p-service-api", "serviceApi"], title: ["p-title", "title"], autoRouter: ["p-auto-router", "autoRouter"], fields: ["p-fields", "fields"] }, outputs: { changeVisibleColumns: "p-change-visible-columns", changeFixedColumns: "p-change-fixed-columns", columnRestoreManager: "p-restore-column-manager", sortBy: "p-sort-by" }, ngImport: i0 });
|
|
5769
5796
|
}
|
|
5770
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5797
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicListBaseComponent, decorators: [{
|
|
5771
5798
|
type: Directive
|
|
5772
5799
|
}], propDecorators: { breadcrumb: [{
|
|
5773
5800
|
type: Input,
|
|
@@ -5836,10 +5863,10 @@ class PoPageDynamicTableActionsService {
|
|
|
5836
5863
|
}
|
|
5837
5864
|
return of(action(resource));
|
|
5838
5865
|
}
|
|
5839
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
5840
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
5866
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5867
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableActionsService, providedIn: 'root' });
|
|
5841
5868
|
}
|
|
5842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
5869
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableActionsService, decorators: [{
|
|
5843
5870
|
type: Injectable,
|
|
5844
5871
|
args: [{
|
|
5845
5872
|
providedIn: 'root'
|
|
@@ -6358,6 +6385,8 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6358
6385
|
*
|
|
6359
6386
|
* ```
|
|
6360
6387
|
* const customLiterals: PoPageDynamicSearchLiterals = {
|
|
6388
|
+
* disclaimerBooleanFalse: 'Inativo',
|
|
6389
|
+
* disclaimerBooleanTrue: 'Ativo',
|
|
6361
6390
|
* disclaimerGroupTitle: 'Filtros aplicados:',
|
|
6362
6391
|
* filterTitle: 'Filtro avançado',
|
|
6363
6392
|
* filterCancelLabel: 'Fechar',
|
|
@@ -7104,10 +7133,10 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
7104
7133
|
applySizeBasedOnA11y() {
|
|
7105
7134
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
7106
7135
|
}
|
|
7107
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7108
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.
|
|
7136
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
7137
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.2.18", type: PoPageDynamicTableComponent, isStandalone: false, selector: "po-page-dynamic-table", inputs: { onLoad: ["p-load", "onLoad"], keepFilters: ["p-keep-filters", "keepFilters", convertToBoolean], actionRight: ["p-actions-right", "actionRight", convertToBoolean], concatFilters: ["p-concat-filters", "concatFilters", convertToBoolean], hideColumnsManager: ["p-hide-columns-manager", "hideColumnsManager", convertToBoolean], hideRemoveAllDisclaimer: ["p-hide-remove-all-disclaimer", "hideRemoveAllDisclaimer", convertToBoolean], infiniteScroll: ["p-infinite-scroll", "infiniteScroll", convertToBoolean], actions: ["p-actions", "actions"], componentsSize: ["p-components-size", "componentsSize"], pageCustomActions: ["p-page-custom-actions", "pageCustomActions"], tableCustomActions: ["p-table-custom-actions", "tableCustomActions"], quickSearchWidth: ["p-quick-search-width", "quickSearchWidth"], height: ["p-height", "height"], hideCloseDisclaimers: ["p-hide-close-disclaimers", "hideCloseDisclaimers"], quickSearchParam: ["p-quick-search-param", "quickSearchParam"], quickSearchValue: ["p-quick-search-value", "quickSearchValue"], searchLiterals: ["p-literals", "searchLiterals"], spacing: ["p-spacing", "spacing"], textWrap: ["p-text-wrap", "textWrap", convertToBoolean], draggable: ["p-draggable", "draggable"], virtualScroll: ["p-virtual-scroll", "virtualScroll"], visibleFixedFilters: ["p-visible-fixed-filters", "visibleFixedFilters"] }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, providers: [PoPageDynamicService], usesInheritance: true, ngImport: i0, template: "<po-page-dynamic-search\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-hide-close-disclaimers]=\"hideCloseDisclaimers\"\n [p-filters]=\"filters\"\n [p-keep-filters]=\"keepFilters\"\n [p-literals]=\"searchLiterals\"\n [p-concat-filters]=\"concatFilters\"\n [p-hide-remove-all-disclaimer]=\"hideRemoveAllDisclaimer\"\n [p-quick-search-width]=\"quickSearchWidth\"\n [p-title]=\"title\"\n [p-visible-fixed-filters]=\"visibleFixedFilters\"\n (p-advanced-search)=\"onAdvancedSearch($event)\"\n (p-change-disclaimers)=\"onChangeDisclaimers($event)\"\n (p-quick-search)=\"onQuickSearch($event)\"\n [p-quick-search-value]=\"quickSearchValue || ''\"\n>\n <po-table\n [p-sort]=\"true\"\n [p-actions]=\"tableActions\"\n [p-actions-right]=\"actionRight\"\n [p-selectable]=\"enableSelectionTable\"\n [p-columns]=\"columns\"\n [p-components-size]=\"componentsSize\"\n [p-items]=\"items\"\n [p-height]=\"height\"\n [p-hide-columns-manager]=\"hideColumnsManager\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-show-more-disabled]=\"!hasNext\"\n (p-show-more)=\"showMore()\"\n (p-sort-by)=\"onSort($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n (p-change-fixed-columns)=\"onChangeFixedColumns($event)\"\n (p-restore-column-manager)=\"onColumnRestoreManager($event)\"\n (p-sort-by)=\"onSortBy($event)\"\n [p-text-wrap]=\"textWrap\"\n [p-draggable]=\"draggable\"\n [p-spacing]=\"spacing\"\n [p-virtual-scroll]=\"virtualScroll\"\n >\n </po-table>\n</po-page-dynamic-search>\n", dependencies: [{ kind: "component", type: i3.PoTableComponent, selector: "po-table" }, { kind: "component", type: PoPageDynamicSearchComponent, selector: "po-page-dynamic-search" }] });
|
|
7109
7138
|
}
|
|
7110
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7139
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableComponent, decorators: [{
|
|
7111
7140
|
type: Component,
|
|
7112
7141
|
args: [{ selector: 'po-page-dynamic-table', providers: [PoPageDynamicService], standalone: false, template: "<po-page-dynamic-search\n [p-actions]=\"pageActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-hide-close-disclaimers]=\"hideCloseDisclaimers\"\n [p-filters]=\"filters\"\n [p-keep-filters]=\"keepFilters\"\n [p-literals]=\"searchLiterals\"\n [p-concat-filters]=\"concatFilters\"\n [p-hide-remove-all-disclaimer]=\"hideRemoveAllDisclaimer\"\n [p-quick-search-width]=\"quickSearchWidth\"\n [p-title]=\"title\"\n [p-visible-fixed-filters]=\"visibleFixedFilters\"\n (p-advanced-search)=\"onAdvancedSearch($event)\"\n (p-change-disclaimers)=\"onChangeDisclaimers($event)\"\n (p-quick-search)=\"onQuickSearch($event)\"\n [p-quick-search-value]=\"quickSearchValue || ''\"\n>\n <po-table\n [p-sort]=\"true\"\n [p-actions]=\"tableActions\"\n [p-actions-right]=\"actionRight\"\n [p-selectable]=\"enableSelectionTable\"\n [p-columns]=\"columns\"\n [p-components-size]=\"componentsSize\"\n [p-items]=\"items\"\n [p-height]=\"height\"\n [p-hide-columns-manager]=\"hideColumnsManager\"\n [p-infinite-scroll]=\"infiniteScroll\"\n [p-show-more-disabled]=\"!hasNext\"\n (p-show-more)=\"showMore()\"\n (p-sort-by)=\"onSort($event)\"\n (p-change-visible-columns)=\"onChangeVisibleColumns($event)\"\n (p-change-fixed-columns)=\"onChangeFixedColumns($event)\"\n (p-restore-column-manager)=\"onColumnRestoreManager($event)\"\n (p-sort-by)=\"onSortBy($event)\"\n [p-text-wrap]=\"textWrap\"\n [p-draggable]=\"draggable\"\n [p-spacing]=\"spacing\"\n [p-virtual-scroll]=\"virtualScroll\"\n >\n </po-table>\n</po-page-dynamic-search>\n" }]
|
|
7113
7142
|
}], ctorParameters: () => [], propDecorators: { onLoad: [{
|
|
@@ -7190,15 +7219,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
7190
7219
|
* Módulo do template do po-page-dynamic-table.
|
|
7191
7220
|
*/
|
|
7192
7221
|
class PoPageDynamicTableModule {
|
|
7193
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7194
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
7222
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7223
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableModule, declarations: [PoPageDynamicTableComponent], imports: [CommonModule,
|
|
7195
7224
|
FormsModule,
|
|
7196
7225
|
RouterModule,
|
|
7197
7226
|
PoTableModule,
|
|
7198
7227
|
PoPageDynamicSearchModule,
|
|
7199
7228
|
PoPageCustomizationModule,
|
|
7200
7229
|
PoPageDynamicModule], exports: [PoPageDynamicTableComponent] });
|
|
7201
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
7230
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableModule, imports: [CommonModule,
|
|
7202
7231
|
FormsModule,
|
|
7203
7232
|
RouterModule,
|
|
7204
7233
|
PoTableModule,
|
|
@@ -7206,7 +7235,7 @@ class PoPageDynamicTableModule {
|
|
|
7206
7235
|
PoPageCustomizationModule,
|
|
7207
7236
|
PoPageDynamicModule] });
|
|
7208
7237
|
}
|
|
7209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7238
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageDynamicTableModule, decorators: [{
|
|
7210
7239
|
type: NgModule,
|
|
7211
7240
|
args: [{
|
|
7212
7241
|
imports: [
|
|
@@ -7444,10 +7473,10 @@ class PoPageJobSchedulerService {
|
|
|
7444
7473
|
}
|
|
7445
7474
|
return newParameter;
|
|
7446
7475
|
}
|
|
7447
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7448
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
7476
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7477
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerService, providedIn: 'root' });
|
|
7449
7478
|
}
|
|
7450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerService, decorators: [{
|
|
7451
7480
|
type: Injectable,
|
|
7452
7481
|
args: [{
|
|
7453
7482
|
providedIn: 'root'
|
|
@@ -7756,10 +7785,10 @@ class PoPageJobSchedulerBaseComponent {
|
|
|
7756
7785
|
applySizeBasedOnA11y() {
|
|
7757
7786
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
7758
7787
|
}
|
|
7759
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
7760
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
7788
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerBaseComponent, deps: [{ token: PoPageJobSchedulerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7789
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoPageJobSchedulerBaseComponent, isStandalone: true, inputs: { breadcrumb: ["p-breadcrumb", "breadcrumb"], componentsSize: ["p-components-size", "componentsSize"], serviceApi: ["p-service-api", "serviceApi"], title: ["p-title", "title"], parameters: ["p-parameters", "parameters"], value: ["p-value", "value"], stepperDefaultOrientation: ["p-orientation", "stepperDefaultOrientation"], beforeSendAction: ["p-before-send", "beforeSendAction"], stepExecutionLast: ["p-step-execution-last", "stepExecutionLast"] }, outputs: { success: "p-success", error: "p-error" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
7761
7790
|
}
|
|
7762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
7791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerBaseComponent, decorators: [{
|
|
7763
7792
|
type: Directive
|
|
7764
7793
|
}], ctorParameters: () => [{ type: PoPageJobSchedulerService }], propDecorators: { breadcrumb: [{
|
|
7765
7794
|
type: Input,
|
|
@@ -8006,10 +8035,10 @@ class PoPageJobSchedulerLookupService {
|
|
|
8006
8035
|
getObjectByValue(processId) {
|
|
8007
8036
|
return this.poPageJobSchedulerService.getProcess(processId);
|
|
8008
8037
|
}
|
|
8009
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8010
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8038
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8039
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerLookupService, providedIn: 'root' });
|
|
8011
8040
|
}
|
|
8012
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerLookupService, decorators: [{
|
|
8013
8042
|
type: Injectable,
|
|
8014
8043
|
args: [{
|
|
8015
8044
|
providedIn: 'root'
|
|
@@ -8087,10 +8116,10 @@ class PoJobSchedulerParametersTemplateDirective {
|
|
|
8087
8116
|
constructor(templateRef) {
|
|
8088
8117
|
this.templateRef = templateRef;
|
|
8089
8118
|
}
|
|
8090
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8091
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8119
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoJobSchedulerParametersTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8120
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoJobSchedulerParametersTemplateDirective, isStandalone: false, selector: "[p-job-scheduler-parameters-template]", inputs: { executionParameter: ["p-execution-parameter", "executionParameter"], disabledAdvance: ["p-disable-advance", "disabledAdvance"], title: ["p-label-step", "title"] }, ngImport: i0 });
|
|
8092
8121
|
}
|
|
8093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8122
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoJobSchedulerParametersTemplateDirective, decorators: [{
|
|
8094
8123
|
type: Directive,
|
|
8095
8124
|
args: [{
|
|
8096
8125
|
selector: '[p-job-scheduler-parameters-template]',
|
|
@@ -8139,10 +8168,10 @@ class PoJobSchedulerSummaryTemplateDirective {
|
|
|
8139
8168
|
constructor(templateRef) {
|
|
8140
8169
|
this.templateRef = templateRef;
|
|
8141
8170
|
}
|
|
8142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8143
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.
|
|
8171
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoJobSchedulerSummaryTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8172
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.18", type: PoJobSchedulerSummaryTemplateDirective, isStandalone: false, selector: "[p-job-scheduler-summary-template]", ngImport: i0 });
|
|
8144
8173
|
}
|
|
8145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoJobSchedulerSummaryTemplateDirective, decorators: [{
|
|
8146
8175
|
type: Directive,
|
|
8147
8176
|
args: [{
|
|
8148
8177
|
selector: '[p-job-scheduler-summary-template]',
|
|
@@ -8273,10 +8302,10 @@ class PoPageJobSchedulerExecutionComponent {
|
|
|
8273
8302
|
this.changeProcess.emit({ processId, existAPI: this.existProcessAPI });
|
|
8274
8303
|
});
|
|
8275
8304
|
}
|
|
8276
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8277
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
8305
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerExecutionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8306
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageJobSchedulerExecutionComponent, isStandalone: false, selector: "po-page-job-scheduler-execution", inputs: { componentsSize: ["p-components-size", "componentsSize"], isEdit: ["p-is-edit", "isEdit"], literals: ["p-literals", "literals"], noParameters: ["p-no-parameters", "noParameters"], noCustomParamsComponent: ["p-no-custom-params-component", "noCustomParamsComponent"], value: ["p-value", "value"] }, outputs: { changeProcess: "p-change-process" }, viewQueries: [{ propertyName: "form", first: true, predicate: ["formExecution"], descendants: true, static: true }, { propertyName: "dailyTemplate", first: true, predicate: ["dailyTemplate"], descendants: true, static: true }, { propertyName: "monthlyTemplate", first: true, predicate: ["monthlyTemplate"], descendants: true, static: true }, { propertyName: "weeklyTempalte", first: true, predicate: ["weeklyTemplate"], descendants: true, static: true }], ngImport: i0, template: "<form #formExecution=\"ngForm\">\n <div class=\"po-row\">\n @if (existProcessAPI) {\n @if (noParameters && noCustomParamsComponent) {\n <po-lookup\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-field-label=\"description\"\n p-field-value=\"processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-filter-service]=\"poPageJobSchedulerLookup\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n [p-size]=\"componentsSize\"\n >\n </po-lookup>\n }\n } @else {\n <po-input\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n }\n </div>\n\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.firstExecution\"></po-divider>\n\n <po-datepicker\n class=\"po-md-4\"\n name=\"firstExecution\"\n [(ngModel)]=\"value.firstExecution\"\n p-placeholder=\"dd/mm/aaaa\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.day\"\n [p-min-date]=\"startDateFirstExecution\"\n [p-size]=\"componentsSize\"\n >\n </po-datepicker>\n\n <po-input\n class=\"po-md-2\"\n name=\"firstExecutionHour\"\n [(ngModel)]=\"value.firstExecutionHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.time\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n </div>\n\n <hr />\n\n <div class=\"po-row\">\n <po-radio-group\n class=\"po-sm-12\"\n name=\"periodicity\"\n [(ngModel)]=\"value.periodicity\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.periodicity\"\n [p-options]=\"periodicityOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangePeriodicityOptions($event)\"\n >\n </po-radio-group>\n\n @if (value.periodicity !== 'single') {\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-12\"\n name=\"containsFrequency\"\n [(ngModel)]=\"containsFrequency\"\n [p-label]=\"literals.frequency\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeContainsFrequency($event)\"\n >\n </po-switch>\n @if (containsFrequency) {\n <po-radio-group\n class=\"po-md-10\"\n name=\"frequencyType\"\n p-required\n [(ngModel)]=\"value.frequency.type\"\n [p-columns]=\"3\"\n [p-options]=\"frequencyOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeFrequencyOptions()\"\n >\n </po-radio-group>\n <po-number\n class=\"po-md-2\"\n name=\"frequencyValue\"\n p-required\n [p-size]=\"componentsSize\"\n [(ngModel)]=\"value.frequency.value\"\n >\n </po-number>\n }\n </div>\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.periodicityData\"> </po-divider>\n <ng-container *ngTemplateOutlet=\"periodicityTemplates[value.periodicity]\"> </ng-container>\n </div>\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-3\"\n name=\"recurrent\"\n [(ngModel)]=\"value.recurrent\"\n [p-label]=\"literals.recurrent\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n [p-size]=\"componentsSize\"\n >\n </po-switch>\n </div>\n }\n </div>\n\n <ng-template #dailyTemplate>\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #weeklyTemplate>\n <div class=\"po-row\">\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </div>\n\n <po-checkbox-group\n class=\"po-md-12\"\n name=\"daysOfWeek\"\n [(ngModel)]=\"value.daysOfWeek\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.weekDays\"\n [p-options]=\"weekDays\"\n [p-size]=\"componentsSize\"\n >\n </po-checkbox-group>\n </ng-template>\n\n <ng-template #monthlyTemplate>\n <po-number\n class=\"po-md-3\"\n name=\"dayOfMonth\"\n [(ngModel)]=\"value.dayOfMonth\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"dayLabel\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n [p-size]=\"componentsSize\"\n >\n </po-number>\n\n @if (containsFrequency) {\n <po-number\n class=\"po-md-3\"\n name=\"rangeLimitDay\"\n [(ngModel)]=\"value.rangeLimitDay\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"literals.endDay\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n [p-size]=\"componentsSize\"\n >\n </po-number>\n }\n\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #inputHourTemplate>\n <po-input\n class=\"po-md-2\"\n name=\"hour\"\n [(ngModel)]=\"value.hour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"hourLabel\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n\n @if (containsFrequency && value.frequency.type !== 'day') {\n <po-input\n class=\"po-md-2\"\n name=\"rangeLimitHour\"\n [(ngModel)]=\"value.rangeLimitHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"literals.endTime\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n }\n </ng-template>\n</form>\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PoDividerComponent, selector: "po-divider" }, { kind: "component", type: i3.PoCheckboxGroupComponent, selector: "po-checkbox-group" }, { kind: "component", type: i3.PoDatepickerComponent, selector: "po-datepicker" }, { kind: "component", type: i3.PoInputComponent, selector: "po-input" }, { kind: "component", type: i3.PoLookupComponent, selector: "po-lookup" }, { kind: "component", type: i3.PoNumberComponent, selector: "po-number", inputs: ["p-step", "p-min", "p-max"] }, { kind: "component", type: i3.PoRadioGroupComponent, selector: "po-radio-group", inputs: ["p-label", "p-help"] }, { kind: "component", type: i3.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-compact-label", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "p-loading", "p-field-error-message", "p-error-limit", "p-invalid-value", "p-size", "p-helper", "p-label-text-wrap"] }] });
|
|
8278
8307
|
}
|
|
8279
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerExecutionComponent, decorators: [{
|
|
8280
8309
|
type: Component,
|
|
8281
8310
|
args: [{ selector: 'po-page-job-scheduler-execution', standalone: false, template: "<form #formExecution=\"ngForm\">\n <div class=\"po-row\">\n @if (existProcessAPI) {\n @if (noParameters && noCustomParamsComponent) {\n <po-lookup\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-field-label=\"description\"\n p-field-value=\"processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-filter-service]=\"poPageJobSchedulerLookup\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n [p-size]=\"componentsSize\"\n >\n </po-lookup>\n }\n } @else {\n <po-input\n class=\"po-md-12\"\n name=\"processID\"\n [(ngModel)]=\"value.processID\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.process\"\n [p-placeholder]=\"literals.enterProcess\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n }\n </div>\n\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.firstExecution\"></po-divider>\n\n <po-datepicker\n class=\"po-md-4\"\n name=\"firstExecution\"\n [(ngModel)]=\"value.firstExecution\"\n p-placeholder=\"dd/mm/aaaa\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.day\"\n [p-min-date]=\"startDateFirstExecution\"\n [p-size]=\"componentsSize\"\n >\n </po-datepicker>\n\n <po-input\n class=\"po-md-2\"\n name=\"firstExecutionHour\"\n [(ngModel)]=\"value.firstExecutionHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-disabled]=\"isEdit\"\n [p-label]=\"literals.time\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n </div>\n\n <hr />\n\n <div class=\"po-row\">\n <po-radio-group\n class=\"po-sm-12\"\n name=\"periodicity\"\n [(ngModel)]=\"value.periodicity\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.periodicity\"\n [p-options]=\"periodicityOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangePeriodicityOptions($event)\"\n >\n </po-radio-group>\n\n @if (value.periodicity !== 'single') {\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-12\"\n name=\"containsFrequency\"\n [(ngModel)]=\"containsFrequency\"\n [p-label]=\"literals.frequency\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeContainsFrequency($event)\"\n >\n </po-switch>\n @if (containsFrequency) {\n <po-radio-group\n class=\"po-md-10\"\n name=\"frequencyType\"\n p-required\n [(ngModel)]=\"value.frequency.type\"\n [p-columns]=\"3\"\n [p-options]=\"frequencyOptions\"\n [p-size]=\"componentsSize\"\n (p-change)=\"onChangeFrequencyOptions()\"\n >\n </po-radio-group>\n <po-number\n class=\"po-md-2\"\n name=\"frequencyValue\"\n p-required\n [p-size]=\"componentsSize\"\n [(ngModel)]=\"value.frequency.value\"\n >\n </po-number>\n }\n </div>\n <div class=\"po-row\">\n <po-divider class=\"po-md-12\" [p-label]=\"literals.periodicityData\"> </po-divider>\n <ng-container *ngTemplateOutlet=\"periodicityTemplates[value.periodicity]\"> </ng-container>\n </div>\n <div class=\"po-row\">\n <po-switch\n class=\"po-md-3\"\n name=\"recurrent\"\n [(ngModel)]=\"value.recurrent\"\n [p-label]=\"literals.recurrent\"\n [p-label-off]=\"literals.no\"\n [p-label-on]=\"literals.yes\"\n [p-size]=\"componentsSize\"\n >\n </po-switch>\n </div>\n }\n </div>\n\n <ng-template #dailyTemplate>\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #weeklyTemplate>\n <div class=\"po-row\">\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </div>\n\n <po-checkbox-group\n class=\"po-md-12\"\n name=\"daysOfWeek\"\n [(ngModel)]=\"value.daysOfWeek\"\n p-columns=\"4\"\n p-required\n [p-label]=\"literals.weekDays\"\n [p-options]=\"weekDays\"\n [p-size]=\"componentsSize\"\n >\n </po-checkbox-group>\n </ng-template>\n\n <ng-template #monthlyTemplate>\n <po-number\n class=\"po-md-3\"\n name=\"dayOfMonth\"\n [(ngModel)]=\"value.dayOfMonth\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"dayLabel\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n [p-size]=\"componentsSize\"\n >\n </po-number>\n\n @if (containsFrequency) {\n <po-number\n class=\"po-md-3\"\n name=\"rangeLimitDay\"\n [(ngModel)]=\"value.rangeLimitDay\"\n p-required\n [p-error-pattern]=\"'Dia inv\u00E1lido'\"\n [p-label]=\"literals.endDay\"\n [p-max]=\"31\"\n [p-pattern]=\"dayPattern\"\n [p-size]=\"componentsSize\"\n >\n </po-number>\n }\n\n <ng-container *ngTemplateOutlet=\"inputHourTemplate\"> </ng-container>\n </ng-template>\n\n <ng-template #inputHourTemplate>\n <po-input\n class=\"po-md-2\"\n name=\"hour\"\n [(ngModel)]=\"value.hour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"hourLabel\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n\n @if (containsFrequency && value.frequency.type !== 'day') {\n <po-input\n class=\"po-md-2\"\n name=\"rangeLimitHour\"\n [(ngModel)]=\"value.rangeLimitHour\"\n p-mask=\"99:99\"\n p-mask-format-model\n p-placeholder=\"HH:mm\"\n p-required\n [p-label]=\"literals.endTime\"\n [p-pattern]=\"timePattern\"\n [p-size]=\"componentsSize\"\n >\n </po-input>\n }\n </ng-template>\n</form>\n" }]
|
|
8282
8311
|
}], propDecorators: { form: [{
|
|
@@ -8330,10 +8359,10 @@ class PoPageJobSchedulerParametersComponent {
|
|
|
8330
8359
|
});
|
|
8331
8360
|
}
|
|
8332
8361
|
}
|
|
8333
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8334
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
8362
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerParametersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8363
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageJobSchedulerParametersComponent, isStandalone: false, selector: "po-page-job-scheduler-parameters", inputs: { componentsSize: ["p-components-size", "componentsSize"], literals: ["p-literals", "literals"], parameters: ["p-parameters", "parameters"], value: ["p-value", "value"] }, outputs: { valueChange: "p-valueChange" }, viewQueries: [{ propertyName: "form", first: true, predicate: ["parametersForm"], descendants: true }], ngImport: i0, template: "@if (parameters && parameters.length) {\n <form #parametersForm=\"ngForm\">\n <po-dynamic-form p-group-form [p-components-size]=\"componentsSize\" [p-fields]=\"parameters\" [p-value]=\"value\">\n </po-dynamic-form>\n </form>\n} @else {\n <div class=\"po-text-center\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.parametersNotFound }}\n </span>\n </div>\n}\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PoDynamicFormComponent, selector: "po-dynamic-form" }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }] });
|
|
8335
8364
|
}
|
|
8336
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8365
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerParametersComponent, decorators: [{
|
|
8337
8366
|
type: Component,
|
|
8338
8367
|
args: [{ selector: 'po-page-job-scheduler-parameters', standalone: false, template: "@if (parameters && parameters.length) {\n <form #parametersForm=\"ngForm\">\n <po-dynamic-form p-group-form [p-components-size]=\"componentsSize\" [p-fields]=\"parameters\" [p-value]=\"value\">\n </po-dynamic-form>\n </form>\n} @else {\n <div class=\"po-text-center\">\n <po-icon p-icon=\"ICON_INFO\"></po-icon>\n <span class=\"po-font-text-large\">\n {{ literals.parametersNotFound }}\n </span>\n </div>\n}\n" }]
|
|
8339
8368
|
}], propDecorators: { form: [{
|
|
@@ -8473,10 +8502,10 @@ class PoPageJobSchedulerSummaryComponent {
|
|
|
8473
8502
|
return sorterWeekDays[currDay] > sorterWeekDays[nextDay] ? 1 : -1;
|
|
8474
8503
|
});
|
|
8475
8504
|
}
|
|
8476
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8477
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
8505
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8506
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageJobSchedulerSummaryComponent, isStandalone: false, selector: "po-page-job-scheduler-summary", inputs: { componentsSize: ["p-components-size", "componentsSize"], literals: ["p-literals", "literals"], parameters: ["p-parameters", "parameters"], value: ["p-value", "value"], noParameters: ["p-no-parameters", "noParameters"], jobSchedulerSummaryTemplate: ["p-summary-template", "jobSchedulerSummaryTemplate"] }, ngImport: i0, template: "<div class=\"po-md-12\">\n @if (!noParameters) {\n <po-info\n [p-label]=\"literals.process\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"value.processID\"\n >\n </po-info>\n }\n\n <po-info\n [p-label]=\"literals.periodicity\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"periodicityValue\"\n >\n </po-info>\n\n @if (frequencyValue !== '') {\n <po-info\n [p-label]=\"literals.frequency\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"frequencyValue\"\n >\n </po-info>\n }\n\n @if (value.periodicity !== 'single') {\n <po-info\n [p-label]=\"literals.execution\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"executionValue\"\n >\n </po-info>\n }\n\n <po-info\n [p-label]=\"literals.recurrent\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"recurrentValue\"\n >\n </po-info>\n\n <po-info\n [p-label]=\"literals.firstExecution\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"firstExecutionValue\"\n >\n </po-info>\n</div>\n@if (parameters && parameters.length && !jobSchedulerSummaryTemplate) {\n <po-widget class=\"po-pt-1 po-pb-1 po-md-12\" [p-size]=\"componentsSize\" [p-title]=\"literals.parameters\">\n <po-dynamic-view [p-components-size]=\"componentsSize\" [p-fields]=\"parameters\" [p-value]=\"value.executionParameter\">\n </po-dynamic-view>\n </po-widget>\n}\n@if (jobSchedulerSummaryTemplate) {\n <div class=\"po-pt-1 po-pb-1 po-md-12\">\n <ng-template [ngTemplateOutlet]=\"jobSchedulerSummaryTemplate?.templateRef\"></ng-template>\n </div>\n}\n", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.PoDynamicViewComponent, selector: "po-dynamic-view" }, { kind: "component", type: i3.PoInfoComponent, selector: "po-info" }, { kind: "component", type: i3.PoWidgetComponent, selector: "po-widget" }] });
|
|
8478
8507
|
}
|
|
8479
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerSummaryComponent, decorators: [{
|
|
8480
8509
|
type: Component,
|
|
8481
8510
|
args: [{ selector: 'po-page-job-scheduler-summary', standalone: false, template: "<div class=\"po-md-12\">\n @if (!noParameters) {\n <po-info\n [p-label]=\"literals.process\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"value.processID\"\n >\n </po-info>\n }\n\n <po-info\n [p-label]=\"literals.periodicity\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"periodicityValue\"\n >\n </po-info>\n\n @if (frequencyValue !== '') {\n <po-info\n [p-label]=\"literals.frequency\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"frequencyValue\"\n >\n </po-info>\n }\n\n @if (value.periodicity !== 'single') {\n <po-info\n [p-label]=\"literals.execution\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"executionValue\"\n >\n </po-info>\n }\n\n <po-info\n [p-label]=\"literals.recurrent\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"recurrentValue\"\n >\n </po-info>\n\n <po-info\n [p-label]=\"literals.firstExecution\"\n [p-orientation]=\"infoOrientation\"\n [p-size]=\"componentsSize\"\n [p-value]=\"firstExecutionValue\"\n >\n </po-info>\n</div>\n@if (parameters && parameters.length && !jobSchedulerSummaryTemplate) {\n <po-widget class=\"po-pt-1 po-pb-1 po-md-12\" [p-size]=\"componentsSize\" [p-title]=\"literals.parameters\">\n <po-dynamic-view [p-components-size]=\"componentsSize\" [p-fields]=\"parameters\" [p-value]=\"value.executionParameter\">\n </po-dynamic-view>\n </po-widget>\n}\n@if (jobSchedulerSummaryTemplate) {\n <div class=\"po-pt-1 po-pb-1 po-md-12\">\n <ng-template [ngTemplateOutlet]=\"jobSchedulerSummaryTemplate?.templateRef\"></ng-template>\n </div>\n}\n" }]
|
|
8482
8511
|
}], propDecorators: { componentsSize: [{
|
|
@@ -8801,10 +8830,10 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
8801
8830
|
}
|
|
8802
8831
|
return this.templateHasDisable();
|
|
8803
8832
|
}
|
|
8804
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8805
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
8833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8834
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageJobSchedulerComponent, isStandalone: false, selector: "po-page-job-scheduler", queries: [{ propertyName: "jobSchedulerSummaryTemplate", first: true, predicate: PoJobSchedulerSummaryTemplateDirective, descendants: true }, { propertyName: "parametersTemplate", predicate: PoJobSchedulerParametersTemplateDirective }], viewQueries: [{ propertyName: "schedulerExecution", first: true, predicate: ["schedulerExecution"], descendants: true, static: true }, { propertyName: "schedulerParameters", first: true, predicate: ["schedulerParameters"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<po-page-default\n [p-actions]=\"jobSchedulerActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n <div class=\"po-row\">\n <po-stepper\n [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : 'po-lg-3 po-xl-2'\"\n p-sequential=\"true\"\n [p-orientation]=\"stepperOrientation\"\n [p-step]=\"step\"\n [p-steps]=\"steps\"\n (p-change-step)=\"nextStep($event)\"\n >\n </po-stepper>\n\n <po-container [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : 'po-lg-8 po-xl-6'\">\n <form #formScheduler=\"ngForm\">\n <div class=\"po-row\">\n <po-page-job-scheduler-execution\n [p-no-parameters]=\"parametersEmpty\"\n [p-no-custom-params-component]=\"!parametersTemplate.length\"\n [hidden]=\"step !== stepExecution\"\n #schedulerExecution\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-is-edit]=\"isEdit\"\n [p-literals]=\"literals\"\n [p-value]=\"model\"\n (p-change-process)=\"onChangeProcess($event)\"\n >\n </po-page-job-scheduler-execution>\n\n @if (stepParametersInitialized && !parametersTemplate.length) {\n <po-page-job-scheduler-parameters\n [hidden]=\"step !== stepParameters\"\n #schedulerParameters\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters || []\"\n [(p-value)]=\"model.executionParameter\"\n >\n </po-page-job-scheduler-parameters>\n }\n\n @if (step === stepSummary) {\n <po-page-job-scheduler-summary\n [p-no-parameters]=\"!parameters.length\"\n [p-summary-template]=\"jobSchedulerSummaryTemplate\"\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters\"\n [p-value]=\"publicValues\"\n >\n </po-page-job-scheduler-summary>\n }\n </div>\n </form>\n\n @for (template of parametersTemplate; track template; let index = $index) {\n <div [hidden]=\"step !== index + (_stepExecutionLast ? 1 : 2)\">\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\"></ng-template>\n </div>\n }\n </po-container>\n </div>\n</po-page-default>\n", dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: i3.PoContainerComponent, selector: "po-container" }, { kind: "component", type: i3.PoPageDefaultComponent, selector: "po-page-default" }, { kind: "component", type: i3.PoStepperComponent, selector: "po-stepper" }, { kind: "component", type: PoPageJobSchedulerExecutionComponent, selector: "po-page-job-scheduler-execution", inputs: ["p-components-size", "p-is-edit", "p-literals", "p-no-parameters", "p-no-custom-params-component", "p-value"], outputs: ["p-change-process"] }, { kind: "component", type: PoPageJobSchedulerParametersComponent, selector: "po-page-job-scheduler-parameters", inputs: ["p-components-size", "p-literals", "p-parameters", "p-value"], outputs: ["p-valueChange"] }, { kind: "component", type: PoPageJobSchedulerSummaryComponent, selector: "po-page-job-scheduler-summary", inputs: ["p-components-size", "p-literals", "p-parameters", "p-value", "p-no-parameters", "p-summary-template"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
8806
8835
|
}
|
|
8807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerComponent, decorators: [{
|
|
8808
8837
|
type: Component,
|
|
8809
8838
|
args: [{ selector: 'po-page-job-scheduler', encapsulation: ViewEncapsulation.None, standalone: false, template: "<po-page-default\n [p-actions]=\"jobSchedulerActions\"\n [p-breadcrumb]=\"breadcrumb\"\n [p-components-size]=\"componentsSize\"\n [p-title]=\"title\"\n>\n <div class=\"po-row\">\n <po-stepper\n [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : 'po-lg-3 po-xl-2'\"\n p-sequential=\"true\"\n [p-orientation]=\"stepperOrientation\"\n [p-step]=\"step\"\n [p-steps]=\"steps\"\n (p-change-step)=\"nextStep($event)\"\n >\n </po-stepper>\n\n <po-container [ngClass]=\"stepperDefaultOrientation === 'horizontal' ? 'po-lg-12 po-xl-12' : 'po-lg-8 po-xl-6'\">\n <form #formScheduler=\"ngForm\">\n <div class=\"po-row\">\n <po-page-job-scheduler-execution\n [p-no-parameters]=\"parametersEmpty\"\n [p-no-custom-params-component]=\"!parametersTemplate.length\"\n [hidden]=\"step !== stepExecution\"\n #schedulerExecution\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-is-edit]=\"isEdit\"\n [p-literals]=\"literals\"\n [p-value]=\"model\"\n (p-change-process)=\"onChangeProcess($event)\"\n >\n </po-page-job-scheduler-execution>\n\n @if (stepParametersInitialized && !parametersTemplate.length) {\n <po-page-job-scheduler-parameters\n [hidden]=\"step !== stepParameters\"\n #schedulerParameters\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters || []\"\n [(p-value)]=\"model.executionParameter\"\n >\n </po-page-job-scheduler-parameters>\n }\n\n @if (step === stepSummary) {\n <po-page-job-scheduler-summary\n [p-no-parameters]=\"!parameters.length\"\n [p-summary-template]=\"jobSchedulerSummaryTemplate\"\n class=\"po-md-12\"\n [p-components-size]=\"componentsSize\"\n [p-literals]=\"literals\"\n [p-parameters]=\"parameters\"\n [p-value]=\"publicValues\"\n >\n </po-page-job-scheduler-summary>\n }\n </div>\n </form>\n\n @for (template of parametersTemplate; track template; let index = $index) {\n <div [hidden]=\"step !== index + (_stepExecutionLast ? 1 : 2)\">\n <ng-template [ngTemplateOutlet]=\"template?.templateRef\"></ng-template>\n </div>\n }\n </po-container>\n </div>\n</po-page-default>\n" }]
|
|
8810
8839
|
}], ctorParameters: () => [], propDecorators: { schedulerExecution: [{
|
|
@@ -8822,8 +8851,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
8822
8851
|
}] } });
|
|
8823
8852
|
|
|
8824
8853
|
class PoPageJobSchedulerModule {
|
|
8825
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8826
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
8854
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8855
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerModule, declarations: [PoPageJobSchedulerComponent,
|
|
8827
8856
|
PoPageJobSchedulerExecutionComponent,
|
|
8828
8857
|
PoPageJobSchedulerParametersComponent,
|
|
8829
8858
|
PoPageJobSchedulerSummaryComponent,
|
|
@@ -8843,7 +8872,7 @@ class PoPageJobSchedulerModule {
|
|
|
8843
8872
|
PoWidgetModule], exports: [PoPageJobSchedulerComponent,
|
|
8844
8873
|
PoJobSchedulerParametersTemplateDirective,
|
|
8845
8874
|
PoJobSchedulerSummaryTemplateDirective] });
|
|
8846
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
8875
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerModule, providers: [PoPageJobSchedulerService, PoPageJobSchedulerLookupService], imports: [CommonModule,
|
|
8847
8876
|
FormsModule,
|
|
8848
8877
|
PoButtonModule,
|
|
8849
8878
|
PoContainerModule,
|
|
@@ -8857,7 +8886,7 @@ class PoPageJobSchedulerModule {
|
|
|
8857
8886
|
PoStepperModule,
|
|
8858
8887
|
PoWidgetModule] });
|
|
8859
8888
|
}
|
|
8860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8889
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageJobSchedulerModule, decorators: [{
|
|
8861
8890
|
type: NgModule,
|
|
8862
8891
|
args: [{
|
|
8863
8892
|
declarations: [
|
|
@@ -8927,10 +8956,10 @@ class PoPageLoginService {
|
|
|
8927
8956
|
return this.http.post(url, loginForm, { headers });
|
|
8928
8957
|
}
|
|
8929
8958
|
}
|
|
8930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
8931
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
8959
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8960
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginService, providedIn: 'root' });
|
|
8932
8961
|
}
|
|
8933
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
8962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginService, decorators: [{
|
|
8934
8963
|
type: Injectable,
|
|
8935
8964
|
args: [{
|
|
8936
8965
|
providedIn: 'root'
|
|
@@ -9957,10 +9986,10 @@ class PoPageLoginBaseComponent {
|
|
|
9957
9986
|
applySizeBasedOnA11y() {
|
|
9958
9987
|
this._componentsSize = validateSizeFn(this._initialComponentsSize);
|
|
9959
9988
|
}
|
|
9960
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
9961
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.
|
|
9989
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginBaseComponent, deps: [{ token: PoPageLoginService }, { token: i2$1.Router }, { token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9990
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.2.18", type: PoPageLoginBaseComponent, isStandalone: true, inputs: { background: ["p-background", "background"], logo: ["p-logo", "logo"], loginPattern: ["p-login-pattern", "loginPattern"], passwordPattern: ["p-password-pattern", "passwordPattern"], secondaryLogo: ["p-secondary-logo", "secondaryLogo"], noAutocompleteLogin: ["p-no-autocomplete-login", "noAutocompleteLogin"], noAutocompletePassword: ["p-no-autocomplete-password", "noAutocompletePassword"], hideLabelStatus: ["p-hide-label-status", "hideLabelStatus", convertToBoolean], hidePasswordPeek: ["p-hide-password-peek", "hidePasswordPeek"], componentsSize: ["p-components-size", "componentsSize"], customField: ["p-custom-field", "customField"], contactEmail: ["p-contact-email", "contactEmail"], productName: ["p-product-name", "productName"], environment: ["p-environment", "environment"], exceededAttemptsWarning: ["p-exceeded-attempts-warning", "exceededAttemptsWarning"], hideRememberUser: ["p-hide-remember-user", "hideRememberUser"], literals: ["p-literals", "literals"], loading: ["p-loading", "loading"], login: ["p-login", "login"], loginErrors: ["p-login-errors", "loginErrors"], passwordErrors: ["p-password-errors", "passwordErrors"], recovery: ["p-recovery", "recovery"], registerUrl: ["p-register-url", "registerUrl"], authenticationType: ["p-authentication-type", "authenticationType"], authenticationUrl: ["p-authentication-url", "authenticationUrl"], blockedUrl: ["p-blocked-url", "blockedUrl"], support: ["p-support", "support"], languagesList: ["p-languages", "languagesList"] }, outputs: { loginChange: "p-login-change", loginSubmit: "p-login-submit", passwordChange: "p-password-change", languageChange: "p-language-change" }, host: { listeners: { "window:PoUiThemeChange": "onThemeChange()" }, properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
9962
9991
|
}
|
|
9963
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
9992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginBaseComponent, decorators: [{
|
|
9964
9993
|
type: Directive
|
|
9965
9994
|
}], ctorParameters: () => [{ type: PoPageLoginService }, { type: i2$1.Router }, { type: i3.PoLanguageService }], propDecorators: { background: [{
|
|
9966
9995
|
type: Input,
|
|
@@ -10094,10 +10123,10 @@ class PoPageLoginPopoverComponent {
|
|
|
10094
10123
|
onForgotPasswordClick(recovery) {
|
|
10095
10124
|
this.forgotPassword.emit(recovery);
|
|
10096
10125
|
}
|
|
10097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10098
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.
|
|
10126
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10127
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageLoginPopoverComponent, isStandalone: false, selector: "po-page-login-popover", inputs: { literals: ["p-literals", "literals"], recovery: ["p-recovery", "recovery"], remainingAttempts: ["p-remaining-attempts", "remainingAttempts"] }, outputs: { forgotPassword: "p-forgot-password" }, ngImport: i0, template: "<div class=\"po-page-login-popover-container\">\n <div class=\"po-page-login-popover\">\n <div class=\"po-page-login-popover-arrow\"></div>\n <div class=\"po-page-login-popover-content\">\n <p class=\"po-font-text-bold po-page-login-popover-title\">\n {{ literals?.titlePopover }}\n </p>\n <p class=\"po-font-text\">\n {{ literals?.forgotYourPassword }}\n </p>\n <p class=\"po-font-text\">\n {{ literals?.ifYouTryHarder }}\n <span class=\"po-font-text-bold po-page-login-popover-attempts\">\n {{ literals?.attempts | poI18n: remainingAttempts }} </span\n >{{ literals?.yourUserWillBeBlocked }}\n </p>\n <br />\n <p class=\"po-font-text\">\n {{ literals?.createANewPasswordNow }}\n </p>\n @if (recovery) {\n <div class=\"po-font-text-bold po-mt-1 po-page-login-popover-link-container\">\n @if (recoveryType === 'internalLink') {\n <a class=\"po-page-login-popover-link\" [routerLink]=\"recovery\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n @if (recoveryType === 'externalLink') {\n <a class=\"po-page-login-popover-link\" [href]=\"recovery\" target=\"_blank\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n @if (!recoveryType) {\n <a class=\"po-page-login-popover-link\" (click)=\"onForgotPasswordClick(recovery)\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n </div>\n }\n </div>\n </div>\n</div>\n", dependencies: [{ kind: "directive", type: i2$1.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: i3.PoI18nPipe, name: "poI18n" }] });
|
|
10099
10128
|
}
|
|
10100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10129
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginPopoverComponent, decorators: [{
|
|
10101
10130
|
type: Component,
|
|
10102
10131
|
args: [{ selector: 'po-page-login-popover', standalone: false, template: "<div class=\"po-page-login-popover-container\">\n <div class=\"po-page-login-popover\">\n <div class=\"po-page-login-popover-arrow\"></div>\n <div class=\"po-page-login-popover-content\">\n <p class=\"po-font-text-bold po-page-login-popover-title\">\n {{ literals?.titlePopover }}\n </p>\n <p class=\"po-font-text\">\n {{ literals?.forgotYourPassword }}\n </p>\n <p class=\"po-font-text\">\n {{ literals?.ifYouTryHarder }}\n <span class=\"po-font-text-bold po-page-login-popover-attempts\">\n {{ literals?.attempts | poI18n: remainingAttempts }} </span\n >{{ literals?.yourUserWillBeBlocked }}\n </p>\n <br />\n <p class=\"po-font-text\">\n {{ literals?.createANewPasswordNow }}\n </p>\n @if (recovery) {\n <div class=\"po-font-text-bold po-mt-1 po-page-login-popover-link-container\">\n @if (recoveryType === 'internalLink') {\n <a class=\"po-page-login-popover-link\" [routerLink]=\"recovery\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n @if (recoveryType === 'externalLink') {\n <a class=\"po-page-login-popover-link\" [href]=\"recovery\" target=\"_blank\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n @if (!recoveryType) {\n <a class=\"po-page-login-popover-link\" (click)=\"onForgotPasswordClick(recovery)\">\n {{ literals?.iForgotMyPassword }}\n </a>\n }\n </div>\n }\n </div>\n </div>\n</div>\n" }]
|
|
10103
10132
|
}], propDecorators: { literals: [{
|
|
@@ -10321,10 +10350,10 @@ class PoPageLoginComponent extends PoPageLoginBaseComponent {
|
|
|
10321
10350
|
const language = this.languagesList.find(languageItem => languageItem.language === this.language);
|
|
10322
10351
|
return language?.language || this.languagesList[0].language;
|
|
10323
10352
|
}
|
|
10324
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10325
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: PoPageLoginComponent, isStandalone: false, selector: "po-page-login", viewQueries: [{ propertyName: "loginForm", first: true, predicate: ["loginForm"], descendants: true, read: NgForm, static: true }, { propertyName: "pageLogin", first: true, predicate: ["pageLogin"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button class=\"po-page-login-support\" (click)=\"activateSupport()\" [hidden]=\"!support\">\n <po-icon p-icon=\"ICON_HELP\"></po-icon>\n {{ pageLoginLiterals?.support }}\n</button>\n\n<po-page-background\n #pageLogin\n [p-components-size]=\"componentsSize\"\n [p-show-select-language]=\"showLanguage\"\n [p-languages]=\"languagesList\"\n [p-initial-language]=\"initialSelectLanguage\"\n [p-background]=\"background\"\n [p-highlight-info]=\"pageLoginLiterals.highlightInfo\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n (p-selected-language)=\"onSelectedLanguage($event)\"\n>\n <header class=\"po-page-login-header\">\n <div class=\"po-page-login-header-product-name\">\n <h1>{{ productName }}</h1>\n </div>\n\n <div class=\"po-page-login-header-product-environment po-mb-md-4 po-mb-sm-1\">\n @if (environment) {\n <po-tag p-type=\"warning\" [p-value]=\"environment\"> </po-tag>\n }\n </div>\n <div class=\"po-page-login-header-welcome po-mb-md-4 po-mb-sm-2\">{{ pageLoginLiterals.welcome }}</div>\n </header>\n\n <form #loginForm=\"ngForm\" class=\"po-page-login-form\">\n <div class=\"po-row\">\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-login\n class=\"po-page-login-info-field\"\n [class.po-page-login-info-field-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"login\"\n [(ngModel)]=\"login\"\n p-auto-focus\n p-required\n [p-label]=\"pageLoginLiterals.loginLabel\"\n [p-no-autocomplete]=\"noAutocompleteLogin\"\n [p-pattern]=\"loginPattern\"\n [p-placeholder]=\"pageLoginLiterals.loginPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changeLoginModel()\"\n >\n </po-login>\n\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container\"\n [class.po-page-login-info-icon-container-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n >\n @if (pageLoginLiterals.loginHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.loginHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allLoginErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-password-container\">\n <po-password\n class=\"po-page-login-field-size po-page-login-password-item\"\n [class.po-page-login-field-size-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"password\"\n [(ngModel)]=\"password\"\n p-required\n [p-hide-password-peek]=\"hidePasswordPeek\"\n [p-label]=\"pageLoginLiterals.passwordLabel\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-pattern]=\"passwordPattern\"\n [p-placeholder]=\"pageLoginLiterals.passwordPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changePasswordModel()\"\n >\n </po-password>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div class=\"po-page-login-password-item po-page-login-password-popover-container\">\n @if (showExceededAttemptsWarning && exceededAttemptsWarning) {\n <po-page-login-popover\n [p-literals]=\"pageLoginLiterals\"\n [p-recovery]=\"recovery\"\n [p-remaining-attempts]=\"exceededAttemptsWarning\"\n (p-forgot-password)=\"openUrl($event)\"\n >\n </po-page-login-popover>\n }\n </div>\n }\n </div>\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allPasswordErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n @if (customField && customFieldType === 'input') {\n <po-input\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldInput\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-error-pattern]=\"customFieldObject.errorPattern || pageLoginLiterals.customFieldErrorPattern\"\n [p-pattern]=\"customFieldObject.pattern\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n >\n </po-input>\n }\n\n @if (customField && customFieldType === 'combo') {\n <po-combo\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldCombo\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-field-value]=\"customFieldObject.fieldValue\"\n [p-filter-service]=\"customFieldObject.url\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n >\n </po-combo>\n }\n\n @if (customField && customFieldType === 'select') {\n <po-select\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldSelect\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-options]=\"customFieldObject.options\"\n [p-size]=\"componentsSize\"\n >\n </po-select>\n }\n\n <div class=\"po-lg-12\">\n @if (!hideRememberUser) {\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-switch\n class=\"po-page-login-info-field po-lg-7 po-offset-lg-5 po-offset-xl-5\"\n name=\"rememberUser\"\n [(ngModel)]=\"rememberUser\"\n p-label-position=\"1\"\n [p-label-off]=\"pageLoginLiterals.rememberUser\"\n [p-label-on]=\"pageLoginLiterals.rememberUser\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n [p-hide-label-status]=\"hideLabelStatus\"\n >\n </po-switch>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container po-page-login-info-icon-remember-user\"\n [class.po-page-login-info-icon-container-dynamic]=\"!pageLoginLiterals.rememberUserHint\"\n >\n @if (pageLoginLiterals.rememberUserHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.rememberUserHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n }\n </div>\n\n <po-button\n [class.po-page-login-button-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-lg-12 po-page-login-button po-page-login-field-size\"\n p-kind=\"primary\"\n [p-disabled]=\"loginForm.invalid\"\n [p-label]=\"loading ? pageLoginLiterals.submittedLabel : pageLoginLiterals.submitLabel\"\n [p-loading]=\"loading\"\n [p-size]=\"componentsSize\"\n (p-click)=\"onLoginSubmit()\"\n >\n </po-button>\n\n @if (recovery) {\n <div class=\"po-page-login-recovery-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(recovery)\">{{ pageLoginLiterals.forgotPassword }}</a>\n </div>\n }\n\n @if (registerUrl) {\n <div class=\"po-page-login-register-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(registerUrl)\">{{ pageLoginLiterals.registerUrl }}</a>\n </div>\n }\n </div>\n </form>\n</po-page-background>\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: PoPageBackgroundComponent, selector: "po-page-background", inputs: ["p-background", "p-initial-language", "p-hide-logo", "p-highlight-info", "p-components-size", "p-languages", "p-logo", "p-logo-alt", "p-secondary-logo", "p-show-select-language"], outputs: ["p-selected-language"] }, { kind: "component", type: i3.PoButtonComponent, selector: "po-button" }, { kind: "component", type: i3.PoComboComponent, selector: "po-combo" }, { kind: "component", type: i3.PoInputComponent, selector: "po-input" }, { kind: "component", type: i3.PoLoginComponent, selector: "po-login", inputs: ["p-no-autocomplete"] }, { kind: "component", type: i3.PoPasswordComponent, selector: "po-password", inputs: ["p-hide-password-peek", "p-no-autocomplete"] }, { kind: "component", type: i3.PoSelectComponent, selector: "po-select", inputs: ["p-readonly", "p-compact-label", "p-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "p-loading", "p-size", "p-helper", "p-label-text-wrap"], outputs: ["p-blur", "ngModelChange"] }, { kind: "component", type: i3.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-compact-label", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "p-loading", "p-field-error-message", "p-error-limit", "p-invalid-value", "p-size", "p-helper", "p-label-text-wrap"] }, { kind: "component", type: i3.PoTagComponent, selector: "po-tag" }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "directive", type: i3.PoTooltipDirective, selector: "[p-tooltip]" }, { kind: "component", type: PoPageLoginPopoverComponent, selector: "po-page-login-popover", inputs: ["p-literals", "p-recovery", "p-remaining-attempts"], outputs: ["p-forgot-password"] }] });
|
|
10353
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10354
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.18", type: PoPageLoginComponent, isStandalone: false, selector: "po-page-login", viewQueries: [{ propertyName: "loginForm", first: true, predicate: ["loginForm"], descendants: true, read: NgForm, static: true }, { propertyName: "pageLogin", first: true, predicate: ["pageLogin"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<button class=\"po-page-login-support\" (click)=\"activateSupport()\" [hidden]=\"!support\">\n <po-icon p-icon=\"ICON_HELP\"></po-icon>\n {{ pageLoginLiterals?.support }}\n</button>\n\n<po-page-background\n #pageLogin\n [p-components-size]=\"componentsSize\"\n [p-show-select-language]=\"showLanguage\"\n [p-languages]=\"languagesList\"\n [p-initial-language]=\"initialSelectLanguage\"\n [p-background]=\"background\"\n [p-highlight-info]=\"pageLoginLiterals.highlightInfo\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n (p-selected-language)=\"onSelectedLanguage($event)\"\n>\n <header class=\"po-page-login-header\">\n <div class=\"po-page-login-header-product-name\">\n <h1>{{ productName }}</h1>\n </div>\n\n <div class=\"po-page-login-header-product-environment po-mb-md-4 po-mb-sm-1\">\n @if (environment) {\n <po-tag p-type=\"warning\" [p-value]=\"environment\"> </po-tag>\n }\n </div>\n <div class=\"po-page-login-header-welcome po-mb-md-4 po-mb-sm-2\">{{ pageLoginLiterals.welcome }}</div>\n </header>\n\n <form #loginForm=\"ngForm\" class=\"po-page-login-form\">\n <div class=\"po-row\">\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-login\n class=\"po-page-login-info-field\"\n [class.po-page-login-info-field-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"login\"\n [(ngModel)]=\"login\"\n p-auto-focus\n p-required\n [p-label]=\"pageLoginLiterals.loginLabel\"\n [p-no-autocomplete]=\"noAutocompleteLogin\"\n [p-pattern]=\"loginPattern\"\n [p-placeholder]=\"pageLoginLiterals.loginPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changeLoginModel()\"\n >\n </po-login>\n\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container\"\n [class.po-page-login-info-icon-container-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n >\n @if (pageLoginLiterals.loginHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.loginHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allLoginErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-password-container\">\n <po-password\n class=\"po-page-login-field-size po-page-login-password-item\"\n [class.po-page-login-field-size-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"password\"\n [(ngModel)]=\"password\"\n p-required\n [p-hide-password-peek]=\"hidePasswordPeek\"\n [p-label]=\"pageLoginLiterals.passwordLabel\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-pattern]=\"passwordPattern\"\n [p-placeholder]=\"pageLoginLiterals.passwordPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changePasswordModel()\"\n >\n </po-password>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div class=\"po-page-login-password-item po-page-login-password-popover-container\">\n @if (showExceededAttemptsWarning && exceededAttemptsWarning) {\n <po-page-login-popover\n [p-literals]=\"pageLoginLiterals\"\n [p-recovery]=\"recovery\"\n [p-remaining-attempts]=\"exceededAttemptsWarning\"\n (p-forgot-password)=\"openUrl($event)\"\n >\n </po-page-login-popover>\n }\n </div>\n }\n </div>\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allPasswordErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n @if (customField && customFieldType === 'input') {\n <po-input\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldInput\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-error-pattern]=\"customFieldObject.errorPattern || pageLoginLiterals.customFieldErrorPattern\"\n [p-pattern]=\"customFieldObject.pattern\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n >\n </po-input>\n }\n\n @if (customField && customFieldType === 'combo') {\n <po-combo\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldCombo\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-field-value]=\"customFieldObject.fieldValue\"\n [p-filter-service]=\"customFieldObject.url\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n >\n </po-combo>\n }\n\n @if (customField && customFieldType === 'select') {\n <po-select\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldSelect\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-options]=\"customFieldObject.options\"\n [p-size]=\"componentsSize\"\n >\n </po-select>\n }\n\n <div class=\"po-lg-12\">\n @if (!hideRememberUser) {\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-switch\n class=\"po-page-login-info-field po-lg-7 po-offset-lg-5 po-offset-xl-5\"\n name=\"rememberUser\"\n [(ngModel)]=\"rememberUser\"\n p-label-position=\"1\"\n [p-label-off]=\"pageLoginLiterals.rememberUser\"\n [p-label-on]=\"pageLoginLiterals.rememberUser\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n [p-hide-label-status]=\"hideLabelStatus\"\n >\n </po-switch>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container po-page-login-info-icon-remember-user\"\n [class.po-page-login-info-icon-container-dynamic]=\"!pageLoginLiterals.rememberUserHint\"\n >\n @if (pageLoginLiterals.rememberUserHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.rememberUserHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n }\n </div>\n\n <po-button\n [class.po-page-login-button-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-lg-12 po-page-login-button po-page-login-field-size\"\n p-kind=\"primary\"\n [p-disabled]=\"loginForm.invalid\"\n [p-label]=\"loading ? pageLoginLiterals.submittedLabel : pageLoginLiterals.submitLabel\"\n [p-loading]=\"loading\"\n [p-size]=\"componentsSize\"\n (p-click)=\"onLoginSubmit()\"\n >\n </po-button>\n\n @if (recovery) {\n <div class=\"po-page-login-recovery-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(recovery)\">{{ pageLoginLiterals.forgotPassword }}</a>\n </div>\n }\n\n @if (registerUrl) {\n <div class=\"po-page-login-register-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(registerUrl)\">{{ pageLoginLiterals.registerUrl }}</a>\n </div>\n }\n </div>\n </form>\n</po-page-background>\n", dependencies: [{ kind: "directive", type: i2.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i2.NgForm, selector: "form:not([ngNoForm]):not([formGroup]):not([formArray]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: PoPageBackgroundComponent, selector: "po-page-background", inputs: ["p-background", "p-initial-language", "p-hide-logo", "p-highlight-info", "p-components-size", "p-languages", "p-logo", "p-logo-alt", "p-secondary-logo", "p-show-select-language"], outputs: ["p-selected-language"] }, { kind: "component", type: i3.PoButtonComponent, selector: "po-button" }, { kind: "component", type: i3.PoComboComponent, selector: "po-combo" }, { kind: "component", type: i3.PoInputComponent, selector: "po-input" }, { kind: "component", type: i3.PoLoginComponent, selector: "po-login", inputs: ["p-no-autocomplete"] }, { kind: "component", type: i3.PoPasswordComponent, selector: "po-password", inputs: ["p-hide-password-peek", "p-no-autocomplete"] }, { kind: "component", type: i3.PoSelectComponent, selector: "po-select", inputs: ["p-readonly", "p-compact-label", "p-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "p-loading", "p-size", "p-helper", "p-label-text-wrap"], outputs: ["p-blur", "ngModelChange"] }, { kind: "component", type: i3.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-compact-label", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "p-loading", "p-field-error-message", "p-error-limit", "p-invalid-value", "p-size", "p-helper", "p-label-text-wrap"] }, { kind: "component", type: i3.PoTagComponent, selector: "po-tag" }, { kind: "component", type: i3.PoIconComponent, selector: "po-icon", inputs: ["p-icon"] }, { kind: "directive", type: i3.PoTooltipDirective, selector: "[p-tooltip]" }, { kind: "component", type: PoPageLoginPopoverComponent, selector: "po-page-login-popover", inputs: ["p-literals", "p-recovery", "p-remaining-attempts"], outputs: ["p-forgot-password"] }] });
|
|
10326
10355
|
}
|
|
10327
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10356
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginComponent, decorators: [{
|
|
10328
10357
|
type: Component,
|
|
10329
10358
|
args: [{ selector: 'po-page-login', standalone: false, template: "<button class=\"po-page-login-support\" (click)=\"activateSupport()\" [hidden]=\"!support\">\n <po-icon p-icon=\"ICON_HELP\"></po-icon>\n {{ pageLoginLiterals?.support }}\n</button>\n\n<po-page-background\n #pageLogin\n [p-components-size]=\"componentsSize\"\n [p-show-select-language]=\"showLanguage\"\n [p-languages]=\"languagesList\"\n [p-initial-language]=\"initialSelectLanguage\"\n [p-background]=\"background\"\n [p-highlight-info]=\"pageLoginLiterals.highlightInfo\"\n [p-logo]=\"logo\"\n [p-secondary-logo]=\"secondaryLogo\"\n (p-selected-language)=\"onSelectedLanguage($event)\"\n>\n <header class=\"po-page-login-header\">\n <div class=\"po-page-login-header-product-name\">\n <h1>{{ productName }}</h1>\n </div>\n\n <div class=\"po-page-login-header-product-environment po-mb-md-4 po-mb-sm-1\">\n @if (environment) {\n <po-tag p-type=\"warning\" [p-value]=\"environment\"> </po-tag>\n }\n </div>\n <div class=\"po-page-login-header-welcome po-mb-md-4 po-mb-sm-2\">{{ pageLoginLiterals.welcome }}</div>\n </header>\n\n <form #loginForm=\"ngForm\" class=\"po-page-login-form\">\n <div class=\"po-row\">\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-login\n class=\"po-page-login-info-field\"\n [class.po-page-login-info-field-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"login\"\n [(ngModel)]=\"login\"\n p-auto-focus\n p-required\n [p-label]=\"pageLoginLiterals.loginLabel\"\n [p-no-autocomplete]=\"noAutocompleteLogin\"\n [p-pattern]=\"loginPattern\"\n [p-placeholder]=\"pageLoginLiterals.loginPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changeLoginModel()\"\n >\n </po-login>\n\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container\"\n [class.po-page-login-info-icon-container-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n >\n @if (pageLoginLiterals.loginHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.loginHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allLoginErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n <div class=\"po-lg-12\">\n <div class=\"po-page-login-password-container\">\n <po-password\n class=\"po-page-login-field-size po-page-login-password-item\"\n [class.po-page-login-field-size-dynamic]=\"\n !pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\n \"\n name=\"password\"\n [(ngModel)]=\"password\"\n p-required\n [p-hide-password-peek]=\"hidePasswordPeek\"\n [p-label]=\"pageLoginLiterals.passwordLabel\"\n [p-no-autocomplete]=\"noAutocompletePassword\"\n [p-pattern]=\"passwordPattern\"\n [p-placeholder]=\"pageLoginLiterals.passwordPlaceholder\"\n [p-size]=\"componentsSize\"\n (click)=\"closePopover()\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n (p-change-model)=\"changePasswordModel()\"\n >\n </po-password>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div class=\"po-page-login-password-item po-page-login-password-popover-container\">\n @if (showExceededAttemptsWarning && exceededAttemptsWarning) {\n <po-page-login-popover\n [p-literals]=\"pageLoginLiterals\"\n [p-recovery]=\"recovery\"\n [p-remaining-attempts]=\"exceededAttemptsWarning\"\n (p-forgot-password)=\"openUrl($event)\"\n >\n </po-page-login-popover>\n }\n </div>\n }\n </div>\n <div class=\"po-field-container-bottom po-field-container-error-container\">\n @for (error of allPasswordErrors; track error) {\n <div class=\"po-field-container-bottom-text-error po-field-container-error-item\">\n <po-icon p-icon=\"ICON_EXCLAMATION\"></po-icon>\n <span class=\"po-field-error-message\">{{ error }}</span>\n </div>\n }\n </div>\n </div>\n\n @if (customField && customFieldType === 'input') {\n <po-input\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldInput\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-error-pattern]=\"customFieldObject.errorPattern || pageLoginLiterals.customFieldErrorPattern\"\n [p-pattern]=\"customFieldObject.pattern\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n >\n </po-input>\n }\n\n @if (customField && customFieldType === 'combo') {\n <po-combo\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldCombo\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-field-value]=\"customFieldObject.fieldValue\"\n [p-filter-service]=\"customFieldObject.url\"\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-size]=\"componentsSize\"\n >\n </po-combo>\n }\n\n @if (customField && customFieldType === 'select') {\n <po-select\n [class.po-page-login-field-size-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-page-login-field-size po-lg-12\"\n name=\"customFieldSelect\"\n [(ngModel)]=\"customFieldObject.value\"\n p-required\n [p-placeholder]=\"customFieldObject.placeholder || pageLoginLiterals.customFieldPlaceholder\"\n [p-options]=\"customFieldObject.options\"\n [p-size]=\"componentsSize\"\n >\n </po-select>\n }\n\n <div class=\"po-lg-12\">\n @if (!hideRememberUser) {\n <div class=\"po-page-login-hint po-page-login-info-container\">\n <po-switch\n class=\"po-page-login-info-field po-lg-7 po-offset-lg-5 po-offset-xl-5\"\n name=\"rememberUser\"\n [(ngModel)]=\"rememberUser\"\n p-label-position=\"1\"\n [p-label-off]=\"pageLoginLiterals.rememberUser\"\n [p-label-on]=\"pageLoginLiterals.rememberUser\"\n [p-size]=\"componentsSize\"\n (keyup.enter)=\"loginForm.valid && onLoginSubmit()\"\n [p-hide-label-status]=\"hideLabelStatus\"\n >\n </po-switch>\n @if (pageLoginLiterals.loginHint || pageLoginLiterals.rememberUserHint) {\n <div\n class=\"po-page-login-info-icon-container po-page-login-info-icon-remember-user\"\n [class.po-page-login-info-icon-container-dynamic]=\"!pageLoginLiterals.rememberUserHint\"\n >\n @if (pageLoginLiterals.rememberUserHint) {\n <po-icon\n p-icon=\"ICON_INFO po-field-icon\"\n p-tooltip-position=\"right\"\n [p-tooltip]=\"pageLoginLiterals.rememberUserHint\"\n >\n </po-icon>\n }\n </div>\n }\n </div>\n }\n </div>\n\n <po-button\n [class.po-page-login-button-dynamic]=\"!pageLoginLiterals.loginHint && !pageLoginLiterals.rememberUserHint\"\n class=\"po-lg-12 po-page-login-button po-page-login-field-size\"\n p-kind=\"primary\"\n [p-disabled]=\"loginForm.invalid\"\n [p-label]=\"loading ? pageLoginLiterals.submittedLabel : pageLoginLiterals.submitLabel\"\n [p-loading]=\"loading\"\n [p-size]=\"componentsSize\"\n (p-click)=\"onLoginSubmit()\"\n >\n </po-button>\n\n @if (recovery) {\n <div class=\"po-page-login-recovery-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(recovery)\">{{ pageLoginLiterals.forgotPassword }}</a>\n </div>\n }\n\n @if (registerUrl) {\n <div class=\"po-page-login-register-link\">\n <a class=\"po-font-text-large-bold\" (click)=\"openUrl(registerUrl)\">{{ pageLoginLiterals.registerUrl }}</a>\n </div>\n }\n </div>\n </form>\n</po-page-background>\n" }]
|
|
10330
10359
|
}], ctorParameters: () => [], propDecorators: { loginForm: [{
|
|
@@ -10341,11 +10370,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
10341
10370
|
* Módulo do template do po-page-login.
|
|
10342
10371
|
*/
|
|
10343
10372
|
class PoPageLoginModule {
|
|
10344
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10345
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
10346
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
10373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10374
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginModule, declarations: [PoPageLoginComponent, PoPageLoginPopoverComponent], imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule], exports: [PoPageLoginComponent] });
|
|
10375
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginModule, providers: [PoPageLoginService], imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule] });
|
|
10347
10376
|
}
|
|
10348
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoPageLoginModule, decorators: [{
|
|
10349
10378
|
type: NgModule,
|
|
10350
10379
|
args: [{
|
|
10351
10380
|
imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule],
|
|
@@ -10356,8 +10385,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
10356
10385
|
}] });
|
|
10357
10386
|
|
|
10358
10387
|
class PoComponentsModule {
|
|
10359
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10360
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
10388
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10389
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoComponentsModule, imports: [PoModalPasswordRecoveryModule,
|
|
10361
10390
|
PoPageBackgroundModule,
|
|
10362
10391
|
PoPageBlockedUserModule,
|
|
10363
10392
|
PoPageChangePasswordModule,
|
|
@@ -10376,7 +10405,7 @@ class PoComponentsModule {
|
|
|
10376
10405
|
PoPageDynamicTableModule,
|
|
10377
10406
|
PoPageJobSchedulerModule,
|
|
10378
10407
|
PoPageLoginModule] });
|
|
10379
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
10408
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoComponentsModule, imports: [PoModalPasswordRecoveryModule,
|
|
10380
10409
|
PoPageBackgroundModule,
|
|
10381
10410
|
PoPageBlockedUserModule,
|
|
10382
10411
|
PoPageChangePasswordModule,
|
|
@@ -10396,7 +10425,7 @@ class PoComponentsModule {
|
|
|
10396
10425
|
PoPageJobSchedulerModule,
|
|
10397
10426
|
PoPageLoginModule] });
|
|
10398
10427
|
}
|
|
10399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10428
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoComponentsModule, decorators: [{
|
|
10400
10429
|
type: NgModule,
|
|
10401
10430
|
args: [{
|
|
10402
10431
|
imports: [
|
|
@@ -10427,11 +10456,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
10427
10456
|
}] });
|
|
10428
10457
|
|
|
10429
10458
|
class PoServicesModule {
|
|
10430
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10431
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
10432
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
10459
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10460
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoServicesModule, imports: [PoPageCustomizationModule, PoPageDynamicModule], exports: [PoPageCustomizationModule, PoPageDynamicModule] });
|
|
10461
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoServicesModule, imports: [PoPageCustomizationModule, PoPageDynamicModule, PoPageCustomizationModule, PoPageDynamicModule] });
|
|
10433
10462
|
}
|
|
10434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoServicesModule, decorators: [{
|
|
10435
10464
|
type: NgModule,
|
|
10436
10465
|
args: [{
|
|
10437
10466
|
imports: [PoPageCustomizationModule, PoPageDynamicModule],
|
|
@@ -10440,11 +10469,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImpo
|
|
|
10440
10469
|
}] });
|
|
10441
10470
|
|
|
10442
10471
|
class PoTemplatesModule {
|
|
10443
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
10444
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
10445
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
10472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoTemplatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10473
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.18", ngImport: i0, type: PoTemplatesModule, imports: [PoComponentsModule, PoServicesModule], exports: [PoComponentsModule, PoServicesModule] });
|
|
10474
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoTemplatesModule, imports: [PoComponentsModule, PoServicesModule, PoComponentsModule, PoServicesModule] });
|
|
10446
10475
|
}
|
|
10447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
10476
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.18", ngImport: i0, type: PoTemplatesModule, decorators: [{
|
|
10448
10477
|
type: NgModule,
|
|
10449
10478
|
args: [{
|
|
10450
10479
|
imports: [PoComponentsModule, PoServicesModule],
|