@po-ui/ng-templates 20.13.0 → 21.0.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/po-ui-ng-templates.mjs +183 -179
- package/fesm2022/po-ui-ng-templates.mjs.map +1 -1
- package/package.json +15 -15
- package/po-ui-ng-templates-21.0.0-next.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -2
- package/schematics/ng-add/index.js.map +1 -1
- package/po-ui-ng-templates-20.13.0.tgz +0 -0
- /package/{index.d.ts → types/po-ui-ng-templates.d.ts} +0 -0
|
@@ -512,6 +512,10 @@ function getA11yLevel() {
|
|
|
512
512
|
const a11yLevel = document.documentElement.getAttribute('data-a11y');
|
|
513
513
|
return a11yLevel === 'AA' ? PoThemeA11yEnum.AA : PoThemeA11yEnum.AAA;
|
|
514
514
|
}
|
|
515
|
+
const PoUtils = {
|
|
516
|
+
convertDateToISOExtended,
|
|
517
|
+
isExternalLink
|
|
518
|
+
};
|
|
515
519
|
|
|
516
520
|
/**
|
|
517
521
|
* @docsPrivate
|
|
@@ -946,10 +950,10 @@ class PoModalPasswordRecoveryBaseComponent {
|
|
|
946
950
|
? `${literalCodeErrorMessage} ${this.literals.prepositionIn} ${value}.`
|
|
947
951
|
: literalCodeErrorMessage;
|
|
948
952
|
}
|
|
949
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
950
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
953
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
954
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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" }, ngImport: i0 });
|
|
951
955
|
}
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
956
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryBaseComponent, decorators: [{
|
|
953
957
|
type: Directive
|
|
954
958
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { codeError: [{
|
|
955
959
|
type: Input,
|
|
@@ -982,10 +986,10 @@ class PoModalPasswordRecoveryService {
|
|
|
982
986
|
post(urlRecovery, item, params) {
|
|
983
987
|
return this.http.post(urlRecovery, item, { observe: 'response', params: params });
|
|
984
988
|
}
|
|
985
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
986
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
989
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
990
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryService, providedIn: 'root' });
|
|
987
991
|
}
|
|
988
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
992
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryService, decorators: [{
|
|
989
993
|
type: Injectable,
|
|
990
994
|
args: [{
|
|
991
995
|
providedIn: 'root'
|
|
@@ -1002,10 +1006,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
1002
1006
|
class PoModalPasswordRecoveryErrorMessageComponent {
|
|
1003
1007
|
/** Texto exibido na mensagem de erro. */
|
|
1004
1008
|
text;
|
|
1005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1006
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1009
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryErrorMessageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1010
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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"] }] });
|
|
1007
1011
|
}
|
|
1008
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1012
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryErrorMessageComponent, decorators: [{
|
|
1009
1013
|
type: Component,
|
|
1010
1014
|
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" }]
|
|
1011
1015
|
}], propDecorators: { text: [{
|
|
@@ -1173,7 +1177,7 @@ class PoModalPasswordRecoveryComponent extends PoModalPasswordRecoveryBaseCompon
|
|
|
1173
1177
|
redirectToChangePassword(recoveryToken) {
|
|
1174
1178
|
const urlChangePassword = recoveryToken.urlChangePassword;
|
|
1175
1179
|
if (urlChangePassword) {
|
|
1176
|
-
isExternalLink(urlChangePassword)
|
|
1180
|
+
PoUtils.isExternalLink(urlChangePassword)
|
|
1177
1181
|
? this.openExternalLink(urlChangePassword, recoveryToken.token)
|
|
1178
1182
|
: this.openInternalLink(this.urlRecovery, urlChangePassword, recoveryToken.token);
|
|
1179
1183
|
}
|
|
@@ -1261,10 +1265,10 @@ class PoModalPasswordRecoveryComponent extends PoModalPasswordRecoveryBaseCompon
|
|
|
1261
1265
|
this.openSmsCode();
|
|
1262
1266
|
});
|
|
1263
1267
|
}
|
|
1264
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1265
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1268
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1269
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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.PoRadioGroupComponent, selector: "po-radio-group", inputs: ["p-label", "p-help"] }, { kind: "component", type: i3.PoEmailComponent, selector: "po-email" }, { kind: "component", type: i3.PoInputComponent, selector: "po-input" }, { kind: "component", type: i3.PoModalComponent, selector: "po-modal" }, { kind: "component", type: PoModalPasswordRecoveryErrorMessageComponent, selector: "po-modal-password-recovery-error-message", inputs: ["p-text"] }] });
|
|
1266
1270
|
}
|
|
1267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1271
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryComponent, decorators: [{
|
|
1268
1272
|
type: Component,
|
|
1269
1273
|
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" }]
|
|
1270
1274
|
}], ctorParameters: () => [], propDecorators: { emailForm: [{
|
|
@@ -1284,11 +1288,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
1284
1288
|
* Módulo do template do po-modal-password-recovery.
|
|
1285
1289
|
*/
|
|
1286
1290
|
class PoModalPasswordRecoveryModule {
|
|
1287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1288
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1289
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1291
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1292
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryModule, declarations: [PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent], imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule], exports: [PoModalPasswordRecoveryComponent, PoModalPasswordRecoveryErrorMessageComponent] });
|
|
1293
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryModule, providers: [PoI18nPipe, PoModalPasswordRecoveryService], imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule] });
|
|
1290
1294
|
}
|
|
1291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoModalPasswordRecoveryModule, decorators: [{
|
|
1292
1296
|
type: NgModule,
|
|
1293
1297
|
args: [{
|
|
1294
1298
|
imports: [CommonModule, FormsModule, PoFieldModule, PoModalModule, PoIconModule],
|
|
@@ -1395,10 +1399,10 @@ class PoPageBackgroundComponent {
|
|
|
1395
1399
|
value: language.language
|
|
1396
1400
|
}));
|
|
1397
1401
|
}
|
|
1398
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1399
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1402
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1403
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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" }, 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-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "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"] }] });
|
|
1400
1404
|
}
|
|
1401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundComponent, decorators: [{
|
|
1402
1406
|
type: Component,
|
|
1403
1407
|
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" }]
|
|
1404
1408
|
}], propDecorators: { background: [{
|
|
@@ -1442,11 +1446,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
1442
1446
|
* Módulo do template do po-page-background.
|
|
1443
1447
|
*/
|
|
1444
1448
|
class PoPageBackgroundModule {
|
|
1445
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1446
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1447
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1449
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1450
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundModule, declarations: [PoPageBackgroundComponent], imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule], exports: [PoPageBackgroundComponent] });
|
|
1451
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundModule, imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule] });
|
|
1448
1452
|
}
|
|
1449
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1453
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBackgroundModule, decorators: [{
|
|
1450
1454
|
type: NgModule,
|
|
1451
1455
|
args: [{
|
|
1452
1456
|
imports: [CommonModule, FormsModule, RouterModule, PoDividerModule, PoFieldModule, PoLogoModule],
|
|
@@ -1659,10 +1663,10 @@ class PoPageBlockedUserBaseComponent {
|
|
|
1659
1663
|
get urlBack() {
|
|
1660
1664
|
return this._urlBack;
|
|
1661
1665
|
}
|
|
1662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1663
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1666
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1667
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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"] }, ngImport: i0 });
|
|
1664
1668
|
}
|
|
1665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserBaseComponent, decorators: [{
|
|
1666
1670
|
type: Directive
|
|
1667
1671
|
}], propDecorators: { contactEmail: [{
|
|
1668
1672
|
type: Input,
|
|
@@ -1724,10 +1728,10 @@ class PoPageBlockedUserContactsComponent {
|
|
|
1724
1728
|
phoneWidth > contactGroupHalfWidth || mailWidth > contactGroupHalfWidth - poPageBlockedUserContactItemMargin;
|
|
1725
1729
|
}
|
|
1726
1730
|
}
|
|
1727
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1728
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1731
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserContactsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1732
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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 });
|
|
1729
1733
|
}
|
|
1730
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserContactsComponent, decorators: [{
|
|
1731
1735
|
type: Component,
|
|
1732
1736
|
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" }]
|
|
1733
1737
|
}], propDecorators: { contactGroup: [{
|
|
@@ -1876,10 +1880,10 @@ class PoPageBlockedUserReasonComponent {
|
|
|
1876
1880
|
};
|
|
1877
1881
|
this.changeDetector.detectChanges();
|
|
1878
1882
|
}
|
|
1879
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1880
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
1883
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserReasonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1884
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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" }] });
|
|
1881
1885
|
}
|
|
1882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserReasonComponent, decorators: [{
|
|
1883
1887
|
type: Component,
|
|
1884
1888
|
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" }]
|
|
1885
1889
|
}], ctorParameters: () => [], propDecorators: { params: [{
|
|
@@ -1946,7 +1950,7 @@ class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent {
|
|
|
1946
1950
|
this.checkingForRouteMetadata(this.activatedRoute.snapshot.data);
|
|
1947
1951
|
}
|
|
1948
1952
|
navigateTo(url) {
|
|
1949
|
-
isExternalLink(url) ? window.open(url) : this.router.navigate([url || '/']);
|
|
1953
|
+
PoUtils.isExternalLink(url) ? window.open(url) : this.router.navigate([url || '/']);
|
|
1950
1954
|
}
|
|
1951
1955
|
checkingForMetadataProperty(object, property) {
|
|
1952
1956
|
if (Object.prototype.hasOwnProperty.call(object, property)) {
|
|
@@ -1961,10 +1965,10 @@ class PoPageBlockedUserComponent extends PoPageBlockedUserBaseComponent {
|
|
|
1961
1965
|
this.urlBack = this.checkingForMetadataProperty(data, 'urlBack') || this.urlBack;
|
|
1962
1966
|
}
|
|
1963
1967
|
}
|
|
1964
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1965
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1968
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1969
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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"] }] });
|
|
1966
1970
|
}
|
|
1967
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1971
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserComponent, decorators: [{
|
|
1968
1972
|
type: Component,
|
|
1969
1973
|
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" }]
|
|
1970
1974
|
}], ctorParameters: () => [] });
|
|
@@ -1975,11 +1979,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
1975
1979
|
* Módulo do template do po-page-blocked-user.
|
|
1976
1980
|
*/
|
|
1977
1981
|
class PoPageBlockedUserModule {
|
|
1978
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1979
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
1980
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
1982
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1983
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserModule, declarations: [PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserReasonComponent], imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule], exports: [PoPageBlockedUserComponent, PoPageBlockedUserContactsComponent, PoPageBlockedUserReasonComponent] });
|
|
1984
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserModule, imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule] });
|
|
1981
1985
|
}
|
|
1982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageBlockedUserModule, decorators: [{
|
|
1983
1987
|
type: NgModule,
|
|
1984
1988
|
args: [{
|
|
1985
1989
|
imports: [CommonModule, RouterModule, PoModule, PoPageBackgroundModule],
|
|
@@ -2345,10 +2349,10 @@ class PoPageChangePasswordBaseComponent {
|
|
|
2345
2349
|
* @default `true`
|
|
2346
2350
|
*/
|
|
2347
2351
|
noAutocompletePassword = true;
|
|
2348
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2349
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2352
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
2353
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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" }, ngImport: i0 });
|
|
2350
2354
|
}
|
|
2351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordBaseComponent, decorators: [{
|
|
2352
2356
|
type: Directive
|
|
2353
2357
|
}], propDecorators: { logo: [{
|
|
2354
2358
|
type: Input,
|
|
@@ -2393,10 +2397,10 @@ class PoPageChangePasswordService {
|
|
|
2393
2397
|
post(url, item) {
|
|
2394
2398
|
return this.http.post(url, item, { observe: 'response' });
|
|
2395
2399
|
}
|
|
2396
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2397
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2400
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2401
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordService, providedIn: 'root' });
|
|
2398
2402
|
}
|
|
2399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordService, decorators: [{
|
|
2400
2404
|
type: Injectable,
|
|
2401
2405
|
args: [{
|
|
2402
2406
|
providedIn: 'root'
|
|
@@ -2472,7 +2476,7 @@ class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComponent {
|
|
|
2472
2476
|
this.checkingForRouteMetadata(this.activatedRoute.snapshot.data);
|
|
2473
2477
|
}
|
|
2474
2478
|
navigateTo(url) {
|
|
2475
|
-
isExternalLink(url) ? window.open(url) : this.router.navigate([url || '/']);
|
|
2479
|
+
PoUtils.isExternalLink(url) ? window.open(url) : this.router.navigate([url || '/']);
|
|
2476
2480
|
}
|
|
2477
2481
|
onForgotPasswordClick(recovery) {
|
|
2478
2482
|
if (isTypeof(recovery, 'function')) {
|
|
@@ -2578,12 +2582,12 @@ class PoPageChangePasswordComponent extends PoPageChangePasswordBaseComponent {
|
|
|
2578
2582
|
}
|
|
2579
2583
|
});
|
|
2580
2584
|
}
|
|
2581
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2582
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
2585
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
2586
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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"] }] });
|
|
2583
2587
|
}
|
|
2584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordComponent, decorators: [{
|
|
2585
2589
|
type: Component,
|
|
2586
|
-
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-
|
|
2590
|
+
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" }]
|
|
2587
2591
|
}], ctorParameters: () => [], propDecorators: { modal: [{
|
|
2588
2592
|
type: ViewChild,
|
|
2589
2593
|
args: [PoModalComponent, { static: true }]
|
|
@@ -2601,11 +2605,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
2601
2605
|
* Módulo do template do po-page-change-password.
|
|
2602
2606
|
*/
|
|
2603
2607
|
class PoPageChangePasswordModule {
|
|
2604
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2605
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2606
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2608
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2609
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordModule, declarations: [PoPageChangePasswordComponent], imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule], exports: [PoPageChangePasswordComponent] });
|
|
2610
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordModule, providers: [PoPageChangePasswordService], imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule] });
|
|
2607
2611
|
}
|
|
2608
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2612
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageChangePasswordModule, decorators: [{
|
|
2609
2613
|
type: NgModule,
|
|
2610
2614
|
args: [{
|
|
2611
2615
|
imports: [CommonModule, FormsModule, RouterModule, PoModule, PoPageBackgroundModule],
|
|
@@ -2703,10 +2707,10 @@ class PoPageDynamicService {
|
|
|
2703
2707
|
}
|
|
2704
2708
|
return endpoint;
|
|
2705
2709
|
}
|
|
2706
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2707
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2710
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2711
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicService, providedIn: 'root' });
|
|
2708
2712
|
}
|
|
2709
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2713
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicService, decorators: [{
|
|
2710
2714
|
type: Injectable,
|
|
2711
2715
|
args: [{
|
|
2712
2716
|
providedIn: 'root'
|
|
@@ -2781,10 +2785,10 @@ class PoPageCustomizationService {
|
|
|
2781
2785
|
});
|
|
2782
2786
|
return [...mergedOriginalOptions, ...deduplicateNewOptions];
|
|
2783
2787
|
}
|
|
2784
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2785
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2788
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2789
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationService, providedIn: 'root' });
|
|
2786
2790
|
}
|
|
2787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationService, decorators: [{
|
|
2788
2792
|
type: Injectable,
|
|
2789
2793
|
args: [{
|
|
2790
2794
|
providedIn: 'root'
|
|
@@ -2817,10 +2821,10 @@ class PoPageDynamicDetailActionsService {
|
|
|
2817
2821
|
}
|
|
2818
2822
|
return of(action(id, resource));
|
|
2819
2823
|
}
|
|
2820
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2821
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2824
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2825
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailActionsService, providedIn: 'root' });
|
|
2822
2826
|
}
|
|
2823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailActionsService, decorators: [{
|
|
2824
2828
|
type: Injectable,
|
|
2825
2829
|
args: [{
|
|
2826
2830
|
providedIn: 'root'
|
|
@@ -3329,10 +3333,10 @@ class PoPageDynamicDetailComponent {
|
|
|
3329
3333
|
};
|
|
3330
3334
|
return this.poPageCustomizationService.getCustomOptions(onLoad, originalOption, pageOptionSchema);
|
|
3331
3335
|
}
|
|
3332
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3333
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
3336
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3337
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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"] }, 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" }] });
|
|
3334
3338
|
}
|
|
3335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailComponent, decorators: [{
|
|
3336
3340
|
type: Component,
|
|
3337
3341
|
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" }]
|
|
3338
3342
|
}], ctorParameters: () => [], propDecorators: { breadcrumb: [{
|
|
@@ -3367,11 +3371,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
3367
3371
|
* Módulo do serviço do po-page-dynamic-service.
|
|
3368
3372
|
*/
|
|
3369
3373
|
class PoPageDynamicModule {
|
|
3370
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3371
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3372
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3374
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3375
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicModule, imports: [CommonModule] });
|
|
3376
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicModule, providers: [PoPageDynamicService], imports: [CommonModule] });
|
|
3373
3377
|
}
|
|
3374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicModule, decorators: [{
|
|
3375
3379
|
type: NgModule,
|
|
3376
3380
|
args: [{
|
|
3377
3381
|
imports: [CommonModule],
|
|
@@ -3385,8 +3389,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
3385
3389
|
* Módulo do template do po-page-dynamic-detail.
|
|
3386
3390
|
*/
|
|
3387
3391
|
class PoPageDynamicDetailModule {
|
|
3388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3389
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3392
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3393
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailModule, declarations: [PoPageDynamicDetailComponent], imports: [CommonModule,
|
|
3390
3394
|
FormsModule,
|
|
3391
3395
|
RouterModule,
|
|
3392
3396
|
PoDynamicModule,
|
|
@@ -3395,7 +3399,7 @@ class PoPageDynamicDetailModule {
|
|
|
3395
3399
|
PoPageModule,
|
|
3396
3400
|
PoWidgetModule,
|
|
3397
3401
|
PoPageDynamicModule], exports: [PoPageDynamicDetailComponent] });
|
|
3398
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3402
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailModule, imports: [CommonModule,
|
|
3399
3403
|
FormsModule,
|
|
3400
3404
|
RouterModule,
|
|
3401
3405
|
PoDynamicModule,
|
|
@@ -3405,7 +3409,7 @@ class PoPageDynamicDetailModule {
|
|
|
3405
3409
|
PoWidgetModule,
|
|
3406
3410
|
PoPageDynamicModule] });
|
|
3407
3411
|
}
|
|
3408
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicDetailModule, decorators: [{
|
|
3409
3413
|
type: NgModule,
|
|
3410
3414
|
args: [{
|
|
3411
3415
|
imports: [
|
|
@@ -3450,10 +3454,10 @@ class PoPageDynamicEditActionsService {
|
|
|
3450
3454
|
}
|
|
3451
3455
|
return of(action(resource, id));
|
|
3452
3456
|
}
|
|
3453
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3454
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
3457
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3458
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditActionsService, providedIn: 'root' });
|
|
3455
3459
|
}
|
|
3456
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditActionsService, decorators: [{
|
|
3457
3461
|
type: Injectable,
|
|
3458
3462
|
args: [{
|
|
3459
3463
|
providedIn: 'root'
|
|
@@ -4290,10 +4294,10 @@ class PoPageDynamicEditComponent {
|
|
|
4290
4294
|
isObject(value) {
|
|
4291
4295
|
return !!value && typeof value === 'object' && !Array.isArray(value);
|
|
4292
4296
|
}
|
|
4293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4294
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
4297
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4298
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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"] }, 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" }] });
|
|
4295
4299
|
}
|
|
4296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditComponent, decorators: [{
|
|
4297
4301
|
type: Component,
|
|
4298
4302
|
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" }]
|
|
4299
4303
|
}], ctorParameters: () => [], propDecorators: { dynamicForm: [{
|
|
@@ -4343,8 +4347,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
4343
4347
|
* Módulo do template do po-page-dynamic-detail.
|
|
4344
4348
|
*/
|
|
4345
4349
|
class PoPageDynamicEditModule {
|
|
4346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4347
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4350
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4351
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditModule, declarations: [PoPageDynamicEditComponent], imports: [CommonModule,
|
|
4348
4352
|
FormsModule,
|
|
4349
4353
|
RouterModule,
|
|
4350
4354
|
PoButtonModule,
|
|
@@ -4355,7 +4359,7 @@ class PoPageDynamicEditModule {
|
|
|
4355
4359
|
PoPageModule,
|
|
4356
4360
|
PoWidgetModule,
|
|
4357
4361
|
PoPageDynamicModule], exports: [PoPageDynamicEditComponent] });
|
|
4358
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4362
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditModule, imports: [CommonModule,
|
|
4359
4363
|
FormsModule,
|
|
4360
4364
|
RouterModule,
|
|
4361
4365
|
PoButtonModule,
|
|
@@ -4367,7 +4371,7 @@ class PoPageDynamicEditModule {
|
|
|
4367
4371
|
PoWidgetModule,
|
|
4368
4372
|
PoPageDynamicModule] });
|
|
4369
4373
|
}
|
|
4370
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4374
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicEditModule, decorators: [{
|
|
4371
4375
|
type: NgModule,
|
|
4372
4376
|
args: [{
|
|
4373
4377
|
imports: [
|
|
@@ -4394,11 +4398,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
4394
4398
|
* Módulo do serviço do po-page-customization-service.
|
|
4395
4399
|
*/
|
|
4396
4400
|
class PoPageCustomizationModule {
|
|
4397
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4398
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
4399
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
4401
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
4402
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationModule, imports: [CommonModule] });
|
|
4403
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationModule, providers: [PoPageCustomizationService], imports: [CommonModule] });
|
|
4400
4404
|
}
|
|
4401
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4405
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageCustomizationModule, decorators: [{
|
|
4402
4406
|
type: NgModule,
|
|
4403
4407
|
args: [{
|
|
4404
4408
|
imports: [CommonModule],
|
|
@@ -4528,10 +4532,10 @@ class PoAdvancedFilterBaseComponent {
|
|
|
4528
4532
|
}
|
|
4529
4533
|
return { filter: this.filter, optionsService: optionServiceOptions };
|
|
4530
4534
|
}
|
|
4531
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4532
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
4535
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoAdvancedFilterBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4536
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", 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" }, viewQueries: [{ propertyName: "poModal", first: true, predicate: PoModalComponent, descendants: true, static: true }], ngImport: i0 });
|
|
4533
4537
|
}
|
|
4534
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoAdvancedFilterBaseComponent, decorators: [{
|
|
4535
4539
|
type: Directive
|
|
4536
4540
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { poModal: [{
|
|
4537
4541
|
type: ViewChild,
|
|
@@ -4599,10 +4603,10 @@ class PoAdvancedFilterComponent extends PoAdvancedFilterBaseComponent {
|
|
|
4599
4603
|
}
|
|
4600
4604
|
}));
|
|
4601
4605
|
}
|
|
4602
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4603
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
4606
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoAdvancedFilterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4607
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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" }] });
|
|
4604
4608
|
}
|
|
4605
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4609
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoAdvancedFilterComponent, decorators: [{
|
|
4606
4610
|
type: Component,
|
|
4607
4611
|
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" }]
|
|
4608
4612
|
}], ctorParameters: () => [], propDecorators: { poDynamicForm: [{
|
|
@@ -4949,10 +4953,10 @@ class PoPageDynamicSearchBaseComponent {
|
|
|
4949
4953
|
}
|
|
4950
4954
|
});
|
|
4951
4955
|
}
|
|
4952
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
4953
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
4956
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchBaseComponent, deps: [{ token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4957
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", 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" }, ngImport: i0 });
|
|
4954
4958
|
}
|
|
4955
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
4959
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchBaseComponent, decorators: [{
|
|
4956
4960
|
type: Directive
|
|
4957
4961
|
}], ctorParameters: () => [{ type: i3.PoLanguageService }], propDecorators: { actions: [{
|
|
4958
4962
|
type: Input,
|
|
@@ -5332,10 +5336,10 @@ class PoPageDynamicSearchComponent extends PoPageDynamicSearchBaseComponent {
|
|
|
5332
5336
|
}
|
|
5333
5337
|
return filter;
|
|
5334
5338
|
}
|
|
5335
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5336
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
5339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5340
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.8", 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" }] });
|
|
5337
5341
|
}
|
|
5338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchComponent, decorators: [{
|
|
5339
5343
|
type: Component,
|
|
5340
5344
|
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" }]
|
|
5341
5345
|
}], ctorParameters: () => [], propDecorators: { poAdvancedFilter: [{
|
|
@@ -5352,8 +5356,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
5352
5356
|
* Módulo do template do po-page-dynamic-search.
|
|
5353
5357
|
*/
|
|
5354
5358
|
class PoPageDynamicSearchModule {
|
|
5355
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5356
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
5359
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
5360
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchModule, declarations: [PoAdvancedFilterComponent, PoPageDynamicSearchComponent], imports: [CommonModule,
|
|
5357
5361
|
FormsModule,
|
|
5358
5362
|
RouterModule,
|
|
5359
5363
|
PoDynamicModule,
|
|
@@ -5361,7 +5365,7 @@ class PoPageDynamicSearchModule {
|
|
|
5361
5365
|
PoModalModule,
|
|
5362
5366
|
PoPageModule,
|
|
5363
5367
|
PoPageCustomizationModule], exports: [PoPageDynamicSearchComponent] });
|
|
5364
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
5368
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchModule, imports: [CommonModule,
|
|
5365
5369
|
FormsModule,
|
|
5366
5370
|
RouterModule,
|
|
5367
5371
|
PoDynamicModule,
|
|
@@ -5370,7 +5374,7 @@ class PoPageDynamicSearchModule {
|
|
|
5370
5374
|
PoPageModule,
|
|
5371
5375
|
PoPageCustomizationModule] });
|
|
5372
5376
|
}
|
|
5373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicSearchModule, decorators: [{
|
|
5374
5378
|
type: NgModule,
|
|
5375
5379
|
args: [{
|
|
5376
5380
|
imports: [
|
|
@@ -5625,10 +5629,10 @@ class PoPageDynamicListBaseComponent {
|
|
|
5625
5629
|
return 0;
|
|
5626
5630
|
});
|
|
5627
5631
|
}
|
|
5628
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5629
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
5632
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicListBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
5633
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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", columnRestoreManager: "p-restore-column-manager", sortBy: "p-sort-by" }, ngImport: i0 });
|
|
5630
5634
|
}
|
|
5631
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicListBaseComponent, decorators: [{
|
|
5632
5636
|
type: Directive
|
|
5633
5637
|
}], propDecorators: { breadcrumb: [{
|
|
5634
5638
|
type: Input,
|
|
@@ -5697,10 +5701,10 @@ class PoPageDynamicTableActionsService {
|
|
|
5697
5701
|
}
|
|
5698
5702
|
return of(action(resource));
|
|
5699
5703
|
}
|
|
5700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
5701
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
5704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5705
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableActionsService, providedIn: 'root' });
|
|
5702
5706
|
}
|
|
5703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
5707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableActionsService, decorators: [{
|
|
5704
5708
|
type: Injectable,
|
|
5705
5709
|
args: [{
|
|
5706
5710
|
providedIn: 'root'
|
|
@@ -6953,10 +6957,10 @@ class PoPageDynamicTableComponent extends PoPageDynamicListBaseComponent {
|
|
|
6953
6957
|
}
|
|
6954
6958
|
this.tableActions = newTableActions;
|
|
6955
6959
|
}
|
|
6956
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
6957
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "
|
|
6960
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6961
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "21.0.8", 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"] }, 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-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" }] });
|
|
6958
6962
|
}
|
|
6959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
6963
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableComponent, decorators: [{
|
|
6960
6964
|
type: Component,
|
|
6961
6965
|
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-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" }]
|
|
6962
6966
|
}], ctorParameters: () => [], propDecorators: { onLoad: [{
|
|
@@ -7033,15 +7037,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
7033
7037
|
* Módulo do template do po-page-dynamic-table.
|
|
7034
7038
|
*/
|
|
7035
7039
|
class PoPageDynamicTableModule {
|
|
7036
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7037
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
7040
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
7041
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableModule, declarations: [PoPageDynamicTableComponent], imports: [CommonModule,
|
|
7038
7042
|
FormsModule,
|
|
7039
7043
|
RouterModule,
|
|
7040
7044
|
PoTableModule,
|
|
7041
7045
|
PoPageDynamicSearchModule,
|
|
7042
7046
|
PoPageCustomizationModule,
|
|
7043
7047
|
PoPageDynamicModule], exports: [PoPageDynamicTableComponent] });
|
|
7044
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
7048
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableModule, imports: [CommonModule,
|
|
7045
7049
|
FormsModule,
|
|
7046
7050
|
RouterModule,
|
|
7047
7051
|
PoTableModule,
|
|
@@ -7049,7 +7053,7 @@ class PoPageDynamicTableModule {
|
|
|
7049
7053
|
PoPageCustomizationModule,
|
|
7050
7054
|
PoPageDynamicModule] });
|
|
7051
7055
|
}
|
|
7052
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7056
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageDynamicTableModule, decorators: [{
|
|
7053
7057
|
type: NgModule,
|
|
7054
7058
|
args: [{
|
|
7055
7059
|
imports: [
|
|
@@ -7272,7 +7276,7 @@ class PoPageJobSchedulerService {
|
|
|
7272
7276
|
if (!(firstExecutionDate instanceof Date && !isNaN(firstExecutionDate.getTime()))) {
|
|
7273
7277
|
return date;
|
|
7274
7278
|
}
|
|
7275
|
-
return convertDateToISOExtended(firstExecutionDate);
|
|
7279
|
+
return PoUtils.convertDateToISOExtended(firstExecutionDate);
|
|
7276
7280
|
}
|
|
7277
7281
|
catch {
|
|
7278
7282
|
return date;
|
|
@@ -7287,10 +7291,10 @@ class PoPageJobSchedulerService {
|
|
|
7287
7291
|
}
|
|
7288
7292
|
return newParameter;
|
|
7289
7293
|
}
|
|
7290
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7291
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7294
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7295
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerService, providedIn: 'root' });
|
|
7292
7296
|
}
|
|
7293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7297
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerService, decorators: [{
|
|
7294
7298
|
type: Injectable,
|
|
7295
7299
|
args: [{
|
|
7296
7300
|
providedIn: 'root'
|
|
@@ -7591,10 +7595,10 @@ class PoPageJobSchedulerBaseComponent {
|
|
|
7591
7595
|
}
|
|
7592
7596
|
}
|
|
7593
7597
|
}
|
|
7594
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7595
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7598
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerBaseComponent, deps: [{ token: PoPageJobSchedulerService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7599
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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" }, ngImport: i0 });
|
|
7596
7600
|
}
|
|
7597
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerBaseComponent, decorators: [{
|
|
7598
7602
|
type: Directive
|
|
7599
7603
|
}], ctorParameters: () => [{ type: PoPageJobSchedulerService }], propDecorators: { breadcrumb: [{
|
|
7600
7604
|
type: Input,
|
|
@@ -7835,10 +7839,10 @@ class PoPageJobSchedulerLookupService {
|
|
|
7835
7839
|
getObjectByValue(processId) {
|
|
7836
7840
|
return this.poPageJobSchedulerService.getProcess(processId);
|
|
7837
7841
|
}
|
|
7838
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7839
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
7842
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerLookupService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7843
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerLookupService, providedIn: 'root' });
|
|
7840
7844
|
}
|
|
7841
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerLookupService, decorators: [{
|
|
7842
7846
|
type: Injectable,
|
|
7843
7847
|
args: [{
|
|
7844
7848
|
providedIn: 'root'
|
|
@@ -7916,10 +7920,10 @@ class PoJobSchedulerParametersTemplateDirective {
|
|
|
7916
7920
|
constructor(templateRef) {
|
|
7917
7921
|
this.templateRef = templateRef;
|
|
7918
7922
|
}
|
|
7919
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7920
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7923
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoJobSchedulerParametersTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7924
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", 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 });
|
|
7921
7925
|
}
|
|
7922
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoJobSchedulerParametersTemplateDirective, decorators: [{
|
|
7923
7927
|
type: Directive,
|
|
7924
7928
|
args: [{
|
|
7925
7929
|
selector: '[p-job-scheduler-parameters-template]',
|
|
@@ -7968,10 +7972,10 @@ class PoJobSchedulerSummaryTemplateDirective {
|
|
|
7968
7972
|
constructor(templateRef) {
|
|
7969
7973
|
this.templateRef = templateRef;
|
|
7970
7974
|
}
|
|
7971
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
7972
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
7975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoJobSchedulerSummaryTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7976
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.8", type: PoJobSchedulerSummaryTemplateDirective, isStandalone: false, selector: "[p-job-scheduler-summary-template]", ngImport: i0 });
|
|
7973
7977
|
}
|
|
7974
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
7978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoJobSchedulerSummaryTemplateDirective, decorators: [{
|
|
7975
7979
|
type: Directive,
|
|
7976
7980
|
args: [{
|
|
7977
7981
|
selector: '[p-job-scheduler-summary-template]',
|
|
@@ -8102,10 +8106,10 @@ class PoPageJobSchedulerExecutionComponent {
|
|
|
8102
8106
|
this.changeProcess.emit({ processId, existAPI: this.existProcessAPI });
|
|
8103
8107
|
});
|
|
8104
8108
|
}
|
|
8105
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8106
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerExecutionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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.PoRadioGroupComponent, selector: "po-radio-group", inputs: ["p-label", "p-help"] }, { kind: "component", type: i3.PoDatepickerComponent, selector: "po-datepicker", inputs: ["p-label", "p-help"] }, { 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.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "p-field-error-message", "p-error-limit", "p-invalid-value", "p-size", "p-helper", "p-label-text-wrap"] }] });
|
|
8107
8111
|
}
|
|
8108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerExecutionComponent, decorators: [{
|
|
8109
8113
|
type: Component,
|
|
8110
8114
|
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" }]
|
|
8111
8115
|
}], propDecorators: { form: [{
|
|
@@ -8159,10 +8163,10 @@ class PoPageJobSchedulerParametersComponent {
|
|
|
8159
8163
|
});
|
|
8160
8164
|
}
|
|
8161
8165
|
}
|
|
8162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8163
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerParametersComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8167
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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"] }] });
|
|
8164
8168
|
}
|
|
8165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8169
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerParametersComponent, decorators: [{
|
|
8166
8170
|
type: Component,
|
|
8167
8171
|
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" }]
|
|
8168
8172
|
}], propDecorators: { form: [{
|
|
@@ -8302,10 +8306,10 @@ class PoPageJobSchedulerSummaryComponent {
|
|
|
8302
8306
|
return sorterWeekDays[currDay] > sorterWeekDays[nextDay] ? 1 : -1;
|
|
8303
8307
|
});
|
|
8304
8308
|
}
|
|
8305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8306
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8309
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8310
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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" }] });
|
|
8307
8311
|
}
|
|
8308
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8312
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerSummaryComponent, decorators: [{
|
|
8309
8313
|
type: Component,
|
|
8310
8314
|
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" }]
|
|
8311
8315
|
}], propDecorators: { componentsSize: [{
|
|
@@ -8630,10 +8634,10 @@ class PoPageJobSchedulerComponent extends PoPageJobSchedulerBaseComponent {
|
|
|
8630
8634
|
}
|
|
8631
8635
|
return this.templateHasDisable();
|
|
8632
8636
|
}
|
|
8633
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8634
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
8637
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8638
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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", styles: ["po-container .po-container{overflow-y:unset}\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 });
|
|
8635
8639
|
}
|
|
8636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerComponent, decorators: [{
|
|
8637
8641
|
type: Component,
|
|
8638
8642
|
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", styles: ["po-container .po-container{overflow-y:unset}\n"] }]
|
|
8639
8643
|
}], ctorParameters: () => [], propDecorators: { schedulerExecution: [{
|
|
@@ -8651,8 +8655,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
8651
8655
|
}] } });
|
|
8652
8656
|
|
|
8653
8657
|
class PoPageJobSchedulerModule {
|
|
8654
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8655
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
8658
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8659
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerModule, declarations: [PoPageJobSchedulerComponent,
|
|
8656
8660
|
PoPageJobSchedulerExecutionComponent,
|
|
8657
8661
|
PoPageJobSchedulerParametersComponent,
|
|
8658
8662
|
PoPageJobSchedulerSummaryComponent,
|
|
@@ -8672,7 +8676,7 @@ class PoPageJobSchedulerModule {
|
|
|
8672
8676
|
PoWidgetModule], exports: [PoPageJobSchedulerComponent,
|
|
8673
8677
|
PoJobSchedulerParametersTemplateDirective,
|
|
8674
8678
|
PoJobSchedulerSummaryTemplateDirective] });
|
|
8675
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
8679
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerModule, providers: [PoPageJobSchedulerService, PoPageJobSchedulerLookupService], imports: [CommonModule,
|
|
8676
8680
|
FormsModule,
|
|
8677
8681
|
PoButtonModule,
|
|
8678
8682
|
PoContainerModule,
|
|
@@ -8686,7 +8690,7 @@ class PoPageJobSchedulerModule {
|
|
|
8686
8690
|
PoStepperModule,
|
|
8687
8691
|
PoWidgetModule] });
|
|
8688
8692
|
}
|
|
8689
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8693
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageJobSchedulerModule, decorators: [{
|
|
8690
8694
|
type: NgModule,
|
|
8691
8695
|
args: [{
|
|
8692
8696
|
declarations: [
|
|
@@ -8756,10 +8760,10 @@ class PoPageLoginService {
|
|
|
8756
8760
|
return this.http.post(url, loginForm, { headers });
|
|
8757
8761
|
}
|
|
8758
8762
|
}
|
|
8759
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
8760
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
8763
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginService, deps: [{ token: i1$1.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
8764
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginService, providedIn: 'root' });
|
|
8761
8765
|
}
|
|
8762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
8766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginService, decorators: [{
|
|
8763
8767
|
type: Injectable,
|
|
8764
8768
|
args: [{
|
|
8765
8769
|
providedIn: 'root'
|
|
@@ -9778,10 +9782,10 @@ class PoPageLoginBaseComponent {
|
|
|
9778
9782
|
this.blockedUrl = '';
|
|
9779
9783
|
}
|
|
9780
9784
|
}
|
|
9781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "
|
|
9785
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginBaseComponent, deps: [{ token: PoPageLoginService }, { token: i2$1.Router }, { token: i3.PoLanguageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9786
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "21.0.8", 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: { properties: { "attr.p-components-size": "this.componentsSize" } }, ngImport: i0 });
|
|
9783
9787
|
}
|
|
9784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginBaseComponent, decorators: [{
|
|
9785
9789
|
type: Directive
|
|
9786
9790
|
}], ctorParameters: () => [{ type: PoPageLoginService }, { type: i2$1.Router }, { type: i3.PoLanguageService }], propDecorators: { background: [{
|
|
9787
9791
|
type: Input,
|
|
@@ -9912,10 +9916,10 @@ class PoPageLoginPopoverComponent {
|
|
|
9912
9916
|
onForgotPasswordClick(recovery) {
|
|
9913
9917
|
this.forgotPassword.emit(recovery);
|
|
9914
9918
|
}
|
|
9915
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
9916
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
9919
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginPopoverComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9920
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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" }] });
|
|
9917
9921
|
}
|
|
9918
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
9922
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginPopoverComponent, decorators: [{
|
|
9919
9923
|
type: Component,
|
|
9920
9924
|
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" }]
|
|
9921
9925
|
}], propDecorators: { literals: [{
|
|
@@ -10139,10 +10143,10 @@ class PoPageLoginComponent extends PoPageLoginBaseComponent {
|
|
|
10139
10143
|
const language = this.languagesList.find(languageItem => languageItem.language === this.language);
|
|
10140
10144
|
return language?.language || this.languagesList[0].language;
|
|
10141
10145
|
}
|
|
10142
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10143
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.0.7", 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],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]),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-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "p-size", "p-helper", "p-label-text-wrap"], outputs: ["p-blur", "ngModelChange"] }, { kind: "component", type: i3.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "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"] }] });
|
|
10146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10147
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.8", 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-placeholder", "p-options", "p-field-label", "p-field-value", "p-control-value-with-label", "p-size", "p-helper", "p-label-text-wrap"], outputs: ["p-blur", "ngModelChange"] }, { kind: "component", type: i3.PoSwitchComponent, selector: "po-switch", inputs: ["p-value", "p-format-model", "p-hide-label-status", "p-label-position", "p-label-off", "p-label-on", "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"] }] });
|
|
10144
10148
|
}
|
|
10145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginComponent, decorators: [{
|
|
10146
10150
|
type: Component,
|
|
10147
10151
|
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" }]
|
|
10148
10152
|
}], ctorParameters: () => [], propDecorators: { loginForm: [{
|
|
@@ -10159,11 +10163,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
10159
10163
|
* Módulo do template do po-page-login.
|
|
10160
10164
|
*/
|
|
10161
10165
|
class PoPageLoginModule {
|
|
10162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10163
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10164
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10166
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10167
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginModule, declarations: [PoPageLoginComponent, PoPageLoginPopoverComponent], imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule], exports: [PoPageLoginComponent] });
|
|
10168
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginModule, providers: [PoPageLoginService], imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule] });
|
|
10165
10169
|
}
|
|
10166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoPageLoginModule, decorators: [{
|
|
10167
10171
|
type: NgModule,
|
|
10168
10172
|
args: [{
|
|
10169
10173
|
imports: [CommonModule, FormsModule, RouterModule, PoPageBackgroundModule, PoModule],
|
|
@@ -10174,8 +10178,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
10174
10178
|
}] });
|
|
10175
10179
|
|
|
10176
10180
|
class PoComponentsModule {
|
|
10177
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10178
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10181
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10182
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoComponentsModule, imports: [PoModalPasswordRecoveryModule,
|
|
10179
10183
|
PoPageBackgroundModule,
|
|
10180
10184
|
PoPageBlockedUserModule,
|
|
10181
10185
|
PoPageChangePasswordModule,
|
|
@@ -10194,7 +10198,7 @@ class PoComponentsModule {
|
|
|
10194
10198
|
PoPageDynamicTableModule,
|
|
10195
10199
|
PoPageJobSchedulerModule,
|
|
10196
10200
|
PoPageLoginModule] });
|
|
10197
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10201
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoComponentsModule, imports: [PoModalPasswordRecoveryModule,
|
|
10198
10202
|
PoPageBackgroundModule,
|
|
10199
10203
|
PoPageBlockedUserModule,
|
|
10200
10204
|
PoPageChangePasswordModule,
|
|
@@ -10214,7 +10218,7 @@ class PoComponentsModule {
|
|
|
10214
10218
|
PoPageJobSchedulerModule,
|
|
10215
10219
|
PoPageLoginModule] });
|
|
10216
10220
|
}
|
|
10217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoComponentsModule, decorators: [{
|
|
10218
10222
|
type: NgModule,
|
|
10219
10223
|
args: [{
|
|
10220
10224
|
imports: [
|
|
@@ -10245,11 +10249,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
10245
10249
|
}] });
|
|
10246
10250
|
|
|
10247
10251
|
class PoServicesModule {
|
|
10248
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10249
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10250
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10252
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10253
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoServicesModule, imports: [PoPageCustomizationModule, PoPageDynamicModule], exports: [PoPageCustomizationModule, PoPageDynamicModule] });
|
|
10254
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoServicesModule, imports: [PoPageCustomizationModule, PoPageDynamicModule, PoPageCustomizationModule, PoPageDynamicModule] });
|
|
10251
10255
|
}
|
|
10252
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoServicesModule, decorators: [{
|
|
10253
10257
|
type: NgModule,
|
|
10254
10258
|
args: [{
|
|
10255
10259
|
imports: [PoPageCustomizationModule, PoPageDynamicModule],
|
|
@@ -10258,11 +10262,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.7", ngImpor
|
|
|
10258
10262
|
}] });
|
|
10259
10263
|
|
|
10260
10264
|
class PoTemplatesModule {
|
|
10261
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
10262
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
10263
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
10265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoTemplatesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10266
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.8", ngImport: i0, type: PoTemplatesModule, imports: [PoComponentsModule, PoServicesModule], exports: [PoComponentsModule, PoServicesModule] });
|
|
10267
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoTemplatesModule, imports: [PoComponentsModule, PoServicesModule, PoComponentsModule, PoServicesModule] });
|
|
10264
10268
|
}
|
|
10265
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
10269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.8", ngImport: i0, type: PoTemplatesModule, decorators: [{
|
|
10266
10270
|
type: NgModule,
|
|
10267
10271
|
args: [{
|
|
10268
10272
|
imports: [PoComponentsModule, PoServicesModule],
|