@onemrvapublic/design-system 19.2.0-develop.4 → 19.2.0-develop.6
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/onemrvapublic-design-system-flag-icon.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-layout.mjs +52 -52
- package/fesm2022/onemrvapublic-design-system-mat-avatar.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-breadcrumb.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-carousel.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-empty-row.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-file-upload.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs +9 -10
- package/fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +7 -8
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs +7 -9
- package/fesm2022/onemrvapublic-design-system-mat-input-enterprise-number.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +8 -9
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +10 -12
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-message-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-notification.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-paginator.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-panel.mjs +19 -19
- package/fesm2022/onemrvapublic-design-system-mat-pop-over.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-progress-bar.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-mat-select-search.mjs +13 -13
- package/fesm2022/onemrvapublic-design-system-mat-selectable-box.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-side-menu.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-skeleton.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-spinner.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-mat-stepper.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-sticker.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-table-of-content.mjs +9 -9
- package/fesm2022/onemrvapublic-design-system-mat-task-list.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-mat-timepicker.mjs +22 -22
- package/fesm2022/onemrvapublic-design-system-mat-toast.mjs +7 -7
- package/fesm2022/onemrvapublic-design-system-mat-tooltip.mjs +10 -10
- package/fesm2022/onemrvapublic-design-system-page-error.mjs +6 -6
- package/fesm2022/onemrvapublic-design-system-page-not-found.mjs +16 -16
- package/fesm2022/onemrvapublic-design-system-shared.mjs +138 -73
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/package.json +1 -1
- package/shared/src/lib/directives/date-format.directive.d.ts +1 -0
- package/shared/src/lib/directives/mat-row-clickable.directive.d.ts +2 -0
|
@@ -6,10 +6,10 @@ import { NgForOf, NgIf, NgTemplateOutlet } from '@angular/common';
|
|
|
6
6
|
import * as i1 from '@onemrvapublic/design-system/shared';
|
|
7
7
|
|
|
8
8
|
class PageErrorActionComponent {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageErrorActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageErrorActionComponent, isStandalone: true, selector: "page-error-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageErrorActionComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: 'page-error-action',
|
|
@@ -59,10 +59,10 @@ class PageErrorComponent {
|
|
|
59
59
|
? this.code
|
|
60
60
|
: this.defaultCode;
|
|
61
61
|
}
|
|
62
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
63
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
62
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageErrorComponent, deps: [{ token: i1.OnemRvaCDNService }, { token: i0.Renderer2 }, { token: i2.TranslateService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
63
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageErrorComponent, isStandalone: true, selector: "page-error", inputs: { code: "code" }, queries: [{ propertyName: "actions", predicate: PageErrorActionComponent }], usesOnChanges: true, ngImport: i0, template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"], dependencies: [{ kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }, { kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] }); }
|
|
64
64
|
}
|
|
65
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageErrorComponent, decorators: [{
|
|
66
66
|
type: Component,
|
|
67
67
|
args: [{ selector: 'page-error', standalone: true, imports: [TranslateModule, NgForOf, NgIf, NgTemplateOutlet], template: "<main class=\"page-error\">\n <section class=\"row\">\n <div class=\"col-6-large col-12 col-left\">\n <div class=\"error-content\">\n <h1>{{ 'error.' + code + '.h1' | translate }}</h1>\n <h2>{{ 'error.' + code + '.h2' | translate }}</h2>\n <p>{{ 'error.' + code + '.p' | translate }}</p>\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n </div>\n <div class=\"col-6-large col-12 col-right\">\n <img\n alt=\"{{ 'error.' + code + '.h2' | translate }}\"\n [src]=\"ori\"\n class=\"ori\"\n />\n </div>\n </section>\n</main>\n", styles: [".page-error section.row{min-height:calc(100vh - 200px)}.page-error section.row .col-right{display:grid!important;place-items:center}.page-error section.row .col-right img.ori{height:428px}.page-error section.row .col-left{display:flex!important;align-items:center;justify-content:flex-start;text-align:left}.page-error section.row .col-left .error-content{display:block;height:auto}.page-error section.row .col-left .error-content h1{font-size:70px;font-style:normal;font-weight:700;line-height:105px}.page-error section.row .col-left .error-content h2{font-size:23px;font-style:normal;font-weight:600;line-height:40px}.page-error section.row .col-left .error-content p{font-size:16px;font-style:normal;font-weight:400;line-height:26px}\n"] }]
|
|
68
68
|
}], ctorParameters: () => [{ type: i1.OnemRvaCDNService }, { type: i0.Renderer2 }, { type: i2.TranslateService }, { type: i0.ChangeDetectorRef }], propDecorators: { actions: [{
|
|
@@ -6,10 +6,10 @@ import { AsyncPipe, NgStyle, NgClass, NgForOf, NgTemplateOutlet, NgIf } from '@a
|
|
|
6
6
|
import { TranslatePipe } from '@ngx-translate/core';
|
|
7
7
|
|
|
8
8
|
class PageNotFoundActionComponent {
|
|
9
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
10
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
10
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageNotFoundActionComponent, isStandalone: true, selector: "page-not-found-action", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
|
|
11
11
|
}
|
|
12
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundActionComponent, decorators: [{
|
|
13
13
|
type: Component,
|
|
14
14
|
args: [{
|
|
15
15
|
selector: 'page-not-found-action',
|
|
@@ -22,10 +22,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
22
22
|
}] } });
|
|
23
23
|
|
|
24
24
|
class PageNotFoundExtraComponent {
|
|
25
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
26
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
25
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundExtraComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
26
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageNotFoundExtraComponent, isStandalone: true, selector: "page-not-found-extra", viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }], ngImport: i0, template: '<ng-template><ng-content></ng-content></ng-template>', isInline: true }); }
|
|
27
27
|
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundExtraComponent, decorators: [{
|
|
29
29
|
type: Component,
|
|
30
30
|
args: [{
|
|
31
31
|
selector: 'page-not-found-extra',
|
|
@@ -82,8 +82,8 @@ class PageNotFoundInvaderComponent {
|
|
|
82
82
|
this.score++;
|
|
83
83
|
this.score$.next(this.score);
|
|
84
84
|
}
|
|
85
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
86
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
85
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundInvaderComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
86
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageNotFoundInvaderComponent, isStandalone: true, selector: "page-not-found-invader", ngImport: i0, template: `
|
|
87
87
|
<img
|
|
88
88
|
role="button"
|
|
89
89
|
tabindex="1"
|
|
@@ -103,7 +103,7 @@ class PageNotFoundInvaderComponent {
|
|
|
103
103
|
<!--div class="laser"></div-->
|
|
104
104
|
`, isInline: true, styles: [".invader{max-height:20px;max-width:20px;position:absolute;border-radius:50%;z-index:100}.invader.game-over{padding:10px;border:2px solid red}.invader:hover{cursor:crosshair}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
105
105
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundInvaderComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{ selector: 'page-not-found-invader', template: `
|
|
109
109
|
<img
|
|
@@ -159,10 +159,10 @@ class PageNotFoundComponent {
|
|
|
159
159
|
this.konamiMatch = true;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
163
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
162
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
163
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: PageNotFoundComponent, isStandalone: true, selector: "page-not-found", queries: [{ propertyName: "extra", first: true, predicate: PageNotFoundExtraComponent, descendants: true }, { propertyName: "actions", predicate: PageNotFoundActionComponent }], ngImport: i0, template: "<div class=\"page-not-found\">\n <!--img src=\"https://cdn.services.rvaonem.fgov.be/img/404/Arri\u00E8re-plan.svg\" class=\"ap\" /-->\n <div class=\"not-found-section\">\n <div class=\"heading mat-headline-1\">{{ '404.oops' | translate }}</div>\n <h1>{{ '404.title' | translate }}</h1>\n <p>{{ '404.body' | translate }}</p>\n <h2>{{ '404.actions' | translate }}</h2>\n <div class=\"actions\">\n <ng-container *ngFor=\"let action of actions?.toArray(); let i = index\">\n <ng-container *ngIf=\"action.template\">\n <ng-container *ngTemplateOutlet=\"action.template\"></ng-container>\n </ng-container>\n </ng-container>\n </div>\n <ng-container *ngIf=\"extra?.template as tpl\">\n <ng-container *ngTemplateOutlet=\"tpl\"></ng-container>\n </ng-container>\n </div>\n <div class=\"not-found-section section-flying-saucer\">\n <div class=\"not-found-section flying-saucer-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/saucer.svg\"\n class=\"soucoupe\"\n alt=\"{{ '404.flying.saucer' | translate }}\"\n />\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/lightbeam.svg\"\n class=\"halo\"\n alt=\"{{ '404.tractor.beam' | translate }}\"\n />\n <div class=\"page-container\">\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/document.svg\"\n class=\"page\"\n alt=\"{{ '404.scared.page' | translate }}\"\n />\n </div>\n <img\n src=\"https://cdn.services.rvaonem.fgov.be/img/404/shadow.svg\"\n class=\"ombre\"\n alt=\"{{ '404.shadow' | translate }}\"\n />\n </div>\n </div>\n\n <page-not-found-invader *ngIf=\"konamiMatch\"></page-not-found-invader>\n</div>\n", styles: [".page-not-found{display:flex;flex-flow:row wrap;position:relative;background-image:url(https://cdn.services.rvaonem.fgov.be/img/404/background.svg);background-size:auto 160vh;background-position:40vw -30vh;min-height:100vh;background-repeat:no-repeat}.page-not-found .ap{position:absolute;top:0;right:0}.page-not-found .not-found-section{flex:1 1 300px;padding:48px 146px}.page-not-found .not-found-section .oops{font-size:7vw;line-height:11vw;font-weight:700;margin-bottom:21px}.page-not-found .not-found-section .nf-title{margin-bottom:21px}.page-not-found .not-found-section .nf-body{margin-bottom:40px}.page-not-found .not-found-section .nf-actions{margin-bottom:32px;font-size:24px;line-height:36px;font-weight:700}.page-not-found .not-found-section .actions{display:flex;gap:8px;margin-bottom:40px}.page-not-found .not-found-section.section-flying-saucer{padding-top:96px}.page-not-found not-found-invader{position:absolute}.flying-saucer-container{position:relative}.flying-saucer-container .soucoupe{position:absolute;top:0;left:0;z-index:10;transform:translateY(0);animation-name:takeOff;animation-duration:10s}.flying-saucer-container .halo{position:absolute;top:143px;left:42px;height:395px;width:273px;border-radius:0 0 130px 130px;opacity:1;animation-name:retractHalo;animation-duration:10s}.flying-saucer-container .page-container{position:absolute;top:147px;left:100px;height:350px;overflow:hidden;animation-direction:normal}.flying-saucer-container .page-container .page{transform:translateY(100px);animation-name:suckPage;animation-duration:10s}.flying-saucer-container .ombre{position:absolute;top:536px;animation-name:shadowFade;animation-duration:10s;opacity:1;width:250px;left:60px}@keyframes suckPage{0%{transform:translateY(100px);opacity:1}35%{transform:translateY(100px);opacity:1}55%{opacity:0}85%{transform:translateY(-300px);opacity:0}to{transform:translateY(100px)}}@keyframes retractHalo{0%{opacity:0}25%{opacity:0}35%{opacity:1}55%{opacity:1}85%{opacity:0}99%{opacity:0}to{opacity:1}}@keyframes takeOff{0%{transform:translateY(-300px)}25%{transform:translateY(0)}70%{transform:translateY(0)}90%{transform:translateY(-300px)}96%{transform:translateY(-300px)}to{transform:translateY(0)}}@keyframes shadowFade{0%{opacity:0;width:370px;left:0}25%{opacity:1;width:250px;left:60px}70%{opacity:1;width:250px;left:60px}90%{opacity:0;width:370px;left:0}96%{opacity:0;width:370px;left:0}to{opacity:1;width:250px;left:60px}}\n"], dependencies: [{ kind: "directive", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: TranslatePipe, name: "translate" }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PageNotFoundInvaderComponent, selector: "page-not-found-invader" }] }); }
|
|
164
164
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: PageNotFoundComponent, decorators: [{
|
|
166
166
|
type: Component,
|
|
167
167
|
args: [{ selector: 'page-not-found', standalone: true, imports: [
|
|
168
168
|
NgForOf,
|
|
@@ -180,17 +180,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
180
180
|
}] } });
|
|
181
181
|
|
|
182
182
|
class OnemrvaPageNotFoundModule {
|
|
183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
184
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
183
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaPageNotFoundModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
184
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaPageNotFoundModule, imports: [PageNotFoundComponent,
|
|
185
185
|
PageNotFoundInvaderComponent,
|
|
186
186
|
PageNotFoundActionComponent,
|
|
187
187
|
PageNotFoundExtraComponent], exports: [PageNotFoundComponent,
|
|
188
188
|
PageNotFoundInvaderComponent,
|
|
189
189
|
PageNotFoundActionComponent,
|
|
190
190
|
PageNotFoundExtraComponent] }); }
|
|
191
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
191
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaPageNotFoundModule }); }
|
|
192
192
|
}
|
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaPageNotFoundModule, decorators: [{
|
|
194
194
|
type: NgModule,
|
|
195
195
|
args: [{
|
|
196
196
|
declarations: [],
|
|
@@ -28,10 +28,10 @@ class ClipboardIconComponent {
|
|
|
28
28
|
this._elementRef = _elementRef;
|
|
29
29
|
this.clipboardService = clipboardService;
|
|
30
30
|
}
|
|
31
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
32
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.
|
|
31
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClipboardIconComponent, deps: [{ token: i0.ElementRef }, { token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
32
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.3", type: ClipboardIconComponent, isStandalone: true, selector: "lib-clipboard-icon", ngImport: i0, template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatIconModule }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }] }); }
|
|
33
33
|
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: ClipboardIconComponent, decorators: [{
|
|
35
35
|
type: Component,
|
|
36
36
|
args: [{ selector: 'lib-clipboard-icon', standalone: true, imports: [MatIconModule, MatTooltipModule], template: "<mat-icon [matTooltip]=\"'TEST'\">content_copy</mat-icon>\n" }]
|
|
37
37
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i1.Clipboard }] });
|
|
@@ -216,10 +216,10 @@ class WebComponentOverlayContainer {
|
|
|
216
216
|
this._document.body.appendChild(containerwrap);
|
|
217
217
|
this._containerElement = container;
|
|
218
218
|
}
|
|
219
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
220
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
219
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: WebComponentOverlayContainer, deps: [{ token: DOCUMENT }, { token: i1$1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
220
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: WebComponentOverlayContainer, providedIn: 'root' }); }
|
|
221
221
|
}
|
|
222
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
222
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: WebComponentOverlayContainer, decorators: [{
|
|
223
223
|
type: Injectable,
|
|
224
224
|
args: [{ providedIn: 'root' }]
|
|
225
225
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
@@ -386,10 +386,10 @@ class DigitOnlyDirective {
|
|
|
386
386
|
return;
|
|
387
387
|
e.preventDefault();
|
|
388
388
|
}
|
|
389
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
390
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
389
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: DigitOnlyDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
390
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: DigitOnlyDirective, isStandalone: true, selector: "[digitOnly]", host: { listeners: { "keydown": "onKeyDown($event)" } }, ngImport: i0 }); }
|
|
391
391
|
}
|
|
392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
392
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: DigitOnlyDirective, decorators: [{
|
|
393
393
|
type: Directive,
|
|
394
394
|
args: [{
|
|
395
395
|
selector: '[digitOnly]',
|
|
@@ -410,6 +410,10 @@ class MatRowClickableDirective {
|
|
|
410
410
|
this.matRowClickable.emit();
|
|
411
411
|
}
|
|
412
412
|
/** @hidden @internal */
|
|
413
|
+
get _isClickable() {
|
|
414
|
+
return this.matRowClickable.observed;
|
|
415
|
+
}
|
|
416
|
+
/** @hidden @internal */
|
|
413
417
|
get _isPrimary() {
|
|
414
418
|
return this.color === OnemrvaMatColor.PRIMARY;
|
|
415
419
|
}
|
|
@@ -433,10 +437,10 @@ class MatRowClickableDirective {
|
|
|
433
437
|
get _isInfo() {
|
|
434
438
|
return this.color === OnemrvaMatColor.INFO;
|
|
435
439
|
}
|
|
436
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
437
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MatRowClickableDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
441
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: MatRowClickableDirective, isStandalone: true, selector: "tr[matRowClickable]", inputs: { color: "color" }, outputs: { matRowClickable: "matRowClickable" }, host: { listeners: { "click": "click($event)" }, properties: { "class.clickable": "this._isClickable", "class.onemrva-clickable-row": "this.cssClass", "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo" } }, ngImport: i0 }); }
|
|
438
442
|
}
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: MatRowClickableDirective, decorators: [{
|
|
440
444
|
type: Directive,
|
|
441
445
|
args: [{
|
|
442
446
|
selector: 'tr[matRowClickable]',
|
|
@@ -449,6 +453,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
449
453
|
}], click: [{
|
|
450
454
|
type: HostListener,
|
|
451
455
|
args: ['click', ['$event']]
|
|
456
|
+
}], _isClickable: [{
|
|
457
|
+
type: HostBinding,
|
|
458
|
+
args: ['class.clickable']
|
|
452
459
|
}], cssClass: [{
|
|
453
460
|
type: HostBinding,
|
|
454
461
|
args: ['class.onemrva-clickable-row']
|
|
@@ -491,10 +498,10 @@ class IfWidthIsDirective {
|
|
|
491
498
|
}
|
|
492
499
|
});
|
|
493
500
|
}
|
|
494
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
495
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IfWidthIsDirective, deps: [{ token: i1$2.BreakpointObserver }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
502
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: IfWidthIsDirective, isStandalone: true, selector: "[ifWidthIs]", inputs: { ifWidthIs: "ifWidthIs" }, ngImport: i0 }); }
|
|
496
503
|
}
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: IfWidthIsDirective, decorators: [{
|
|
498
505
|
type: Directive,
|
|
499
506
|
args: [{
|
|
500
507
|
selector: '[ifWidthIs]',
|
|
@@ -535,10 +542,10 @@ class OnemRvaColorDirective {
|
|
|
535
542
|
get _isInfo() {
|
|
536
543
|
return this.color === OnemrvaMatColor.INFO;
|
|
537
544
|
}
|
|
538
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
539
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
545
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaColorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
546
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: OnemRvaColorDirective, isStandalone: true, selector: "mat-card[color],mat-chip[color]", inputs: { color: "color" }, host: { properties: { "class.mat-primary": "this._isPrimary", "class.mat-accent": "this._isAccent", "class.mat-error": "this._isError", "class.mat-warn": "this._isWarn", "class.mat-success": "this._isSuccess", "class.mat-info": "this._isInfo" } }, ngImport: i0 }); }
|
|
540
547
|
}
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaColorDirective, decorators: [{
|
|
542
549
|
type: Directive,
|
|
543
550
|
args: [{
|
|
544
551
|
selector: 'mat-card[color],mat-chip[color]',
|
|
@@ -718,10 +725,10 @@ class OnemrvaMaskDirective {
|
|
|
718
725
|
this.stackIdx = 0; // Current index in undo/redo stack
|
|
719
726
|
this.markForDelete = false;
|
|
720
727
|
}
|
|
721
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
722
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
728
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaMaskDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
729
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: OnemrvaMaskDirective, isStandalone: true, selector: "[onemrvamask]", inputs: { onemrvamask: "onemrvamask" }, host: { listeners: { "keydown": "onKeyDown($event)", "input": "onInput($event)" } }, ngImport: i0 }); }
|
|
723
730
|
}
|
|
724
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaMaskDirective, decorators: [{
|
|
725
732
|
type: Directive,
|
|
726
733
|
args: [{
|
|
727
734
|
selector: '[onemrvamask]',
|
|
@@ -783,10 +790,10 @@ class OnemRvaClipboardDirective {
|
|
|
783
790
|
this.vcRef.clear();
|
|
784
791
|
this.renderer.appendChild(this.elementRef.nativeElement, this.iconEl);
|
|
785
792
|
}
|
|
786
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
787
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
793
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaClipboardDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i1.Clipboard }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
794
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: OnemRvaClipboardDirective, isStandalone: true, selector: "span[clipboard]", inputs: { clipboard: "clipboard" }, host: { properties: { "class": "this.class" } }, ngImport: i0 }); }
|
|
788
795
|
}
|
|
789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
796
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaClipboardDirective, decorators: [{
|
|
790
797
|
type: Directive,
|
|
791
798
|
args: [{
|
|
792
799
|
selector: 'span[clipboard]',
|
|
@@ -806,10 +813,10 @@ class OnemRvaIconRightDirective {
|
|
|
806
813
|
constructor() {
|
|
807
814
|
this.class = true;
|
|
808
815
|
}
|
|
809
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
810
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
816
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaIconRightDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
817
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: OnemRvaIconRightDirective, isStandalone: true, selector: "button[iconRight]", host: { properties: { "class.onemrva-icon-right": "this.class" } }, ngImport: i0 }); }
|
|
811
818
|
}
|
|
812
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
819
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaIconRightDirective, decorators: [{
|
|
813
820
|
type: Directive,
|
|
814
821
|
args: [{
|
|
815
822
|
selector: 'button[iconRight]',
|
|
@@ -826,11 +833,56 @@ class OnemrvaDateFormatDirective {
|
|
|
826
833
|
this.template = '__/__/____';
|
|
827
834
|
}
|
|
828
835
|
onPaste(event) {
|
|
829
|
-
event.preventDefault();
|
|
830
836
|
const input = this.el.nativeElement;
|
|
831
|
-
|
|
832
|
-
|
|
837
|
+
// Get pasted content
|
|
838
|
+
const pasted = event.clipboardData?.getData('text/plain') || '';
|
|
839
|
+
const digitsOnly = pasted.replace(/\D/g, '');
|
|
840
|
+
if (!digitsOnly) {
|
|
841
|
+
event.preventDefault(); // Ignore invalid paste
|
|
842
|
+
return;
|
|
843
|
+
}
|
|
844
|
+
event.preventDefault(); // Stop default paste
|
|
845
|
+
// Start at current caret position
|
|
846
|
+
let pos = input.selectionStart ?? 0;
|
|
847
|
+
const chars = input.value.split('');
|
|
848
|
+
let digitIndex = 0;
|
|
849
|
+
while (pos < this.template.length && digitIndex < digitsOnly.length) {
|
|
850
|
+
if (this.template[pos] === '/') {
|
|
851
|
+
pos++;
|
|
852
|
+
continue;
|
|
853
|
+
}
|
|
854
|
+
chars[pos] = digitsOnly[digitIndex++];
|
|
855
|
+
pos++;
|
|
856
|
+
}
|
|
857
|
+
input.value = chars.join('');
|
|
833
858
|
this.emitInputEvent(input);
|
|
859
|
+
// Set caret after the last replaced character
|
|
860
|
+
this.setCaretToNextEditable(pos);
|
|
861
|
+
}
|
|
862
|
+
onCut(event) {
|
|
863
|
+
const input = this.el.nativeElement;
|
|
864
|
+
const start = input.selectionStart ?? 0;
|
|
865
|
+
const end = input.selectionEnd ?? 0;
|
|
866
|
+
// Capture the selected value (optional: log or store it)
|
|
867
|
+
const cutText = input.value.substring(start, end);
|
|
868
|
+
// Replace the selected portion with underscores (skip slashes)
|
|
869
|
+
const chars = input.value.split('');
|
|
870
|
+
for (let i = start; i < end; i++) {
|
|
871
|
+
if (this.template[i] !== '/') {
|
|
872
|
+
chars[i] = '_';
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
// Update input value
|
|
876
|
+
input.value = chars.join('');
|
|
877
|
+
this.emitInputEvent(input);
|
|
878
|
+
// Move caret to next editable position
|
|
879
|
+
this.setCaretToNextEditable(start);
|
|
880
|
+
// Prevent default cut behavior from modifying content further
|
|
881
|
+
event.preventDefault();
|
|
882
|
+
// ✅ Optionally copy to clipboard manually (optional)
|
|
883
|
+
if (event.clipboardData) {
|
|
884
|
+
event.clipboardData.setData('text/plain', cutText.replace(/\//g, ''));
|
|
885
|
+
}
|
|
834
886
|
}
|
|
835
887
|
onFocus() {
|
|
836
888
|
const input = this.el.nativeElement;
|
|
@@ -841,11 +893,16 @@ class OnemrvaDateFormatDirective {
|
|
|
841
893
|
}
|
|
842
894
|
onClick() {
|
|
843
895
|
const input = this.el.nativeElement;
|
|
844
|
-
if (
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
896
|
+
// Only reposition the caret if there's no selection (start === end)
|
|
897
|
+
const selectionStart = input.selectionStart ?? 0;
|
|
898
|
+
const selectionEnd = input.selectionEnd ?? 0;
|
|
899
|
+
if (selectionStart === selectionEnd) {
|
|
900
|
+
if (input.value === this.template) {
|
|
901
|
+
this.setCaretToNextEditable(0);
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
this.setCaretToNextEditable(selectionStart);
|
|
905
|
+
}
|
|
849
906
|
}
|
|
850
907
|
}
|
|
851
908
|
onKeyDown(event) {
|
|
@@ -853,7 +910,12 @@ class OnemrvaDateFormatDirective {
|
|
|
853
910
|
let pos = input.selectionStart ?? 0;
|
|
854
911
|
const allowedCtrlShortcuts = ['a', 'c', 'x', 'v'];
|
|
855
912
|
if (event.ctrlKey && allowedCtrlShortcuts.indexOf(event.key) >= 0) {
|
|
856
|
-
console.log(
|
|
913
|
+
console.log(input.value);
|
|
914
|
+
if (event.key === 'x' && input.value === '') {
|
|
915
|
+
console.log(event.key);
|
|
916
|
+
input.value = this.template;
|
|
917
|
+
this.emitInputEvent(input);
|
|
918
|
+
}
|
|
857
919
|
return;
|
|
858
920
|
}
|
|
859
921
|
// Allow navigation
|
|
@@ -976,10 +1038,10 @@ class OnemrvaDateFormatDirective {
|
|
|
976
1038
|
.replace(/[^0-9/]/g, '')
|
|
977
1039
|
.replace('//', ''); // Remove everything except digits and slash
|
|
978
1040
|
}
|
|
979
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
980
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.
|
|
1041
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaDateFormatDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1042
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.3", type: OnemrvaDateFormatDirective, isStandalone: true, selector: "[onemrvaDateFormat]", host: { listeners: { "paste": "onPaste($event)", "cut": "onCut($event)", "focus": "onFocus()", "click": "onClick()", "keydown": "onKeyDown($event)", "blur": "onBlur()" } }, ngImport: i0 }); }
|
|
981
1043
|
}
|
|
982
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1044
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaDateFormatDirective, decorators: [{
|
|
983
1045
|
type: Directive,
|
|
984
1046
|
args: [{
|
|
985
1047
|
selector: '[onemrvaDateFormat]',
|
|
@@ -988,6 +1050,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.0", ngImpor
|
|
|
988
1050
|
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { onPaste: [{
|
|
989
1051
|
type: HostListener,
|
|
990
1052
|
args: ['paste', ['$event']]
|
|
1053
|
+
}], onCut: [{
|
|
1054
|
+
type: HostListener,
|
|
1055
|
+
args: ['cut', ['$event']]
|
|
991
1056
|
}], onFocus: [{
|
|
992
1057
|
type: HostListener,
|
|
993
1058
|
args: ['focus']
|
|
@@ -1121,10 +1186,10 @@ class OnemrvaBcePipe {
|
|
|
1121
1186
|
return '?01?.???.???';
|
|
1122
1187
|
return `${strOut.substring(0, 4)}.${strOut.substring(4, 7)}.${strOut.substring(7, 10)}`;
|
|
1123
1188
|
}
|
|
1124
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1125
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
1189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaBcePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1190
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaBcePipe, isStandalone: true, name: "onemrvaBce" }); }
|
|
1126
1191
|
}
|
|
1127
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaBcePipe, decorators: [{
|
|
1128
1193
|
type: Pipe,
|
|
1129
1194
|
args: [{
|
|
1130
1195
|
name: 'onemrvaBce',
|
|
@@ -1139,10 +1204,10 @@ class OnemrvaNissPipe {
|
|
|
1139
1204
|
return '??01??/???-??';
|
|
1140
1205
|
return `${strOut.substring(0, 6)}/${strOut.substring(6, 9)}-${strOut.substring(9, 11)}`;
|
|
1141
1206
|
}
|
|
1142
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1143
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.
|
|
1207
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNissPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
1208
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNissPipe, isStandalone: true, name: "onemrvaNiss" }); }
|
|
1144
1209
|
}
|
|
1145
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1210
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNissPipe, decorators: [{
|
|
1146
1211
|
type: Pipe,
|
|
1147
1212
|
args: [{
|
|
1148
1213
|
name: 'onemrvaNiss',
|
|
@@ -1180,10 +1245,10 @@ class CommonCountryLookupService {
|
|
|
1180
1245
|
return country || null;
|
|
1181
1246
|
}));
|
|
1182
1247
|
}
|
|
1183
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1184
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1248
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CommonCountryLookupService, deps: [{ token: i1$3.HttpClient }, { token: LOOKUP_COUNTRY_SERVICE_URL }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1249
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CommonCountryLookupService, providedIn: 'root' }); }
|
|
1185
1250
|
}
|
|
1186
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1251
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CommonCountryLookupService, decorators: [{
|
|
1187
1252
|
type: Injectable,
|
|
1188
1253
|
args: [{
|
|
1189
1254
|
providedIn: 'root',
|
|
@@ -1211,10 +1276,10 @@ class CacheService {
|
|
|
1211
1276
|
//console.log("DELETE " + key);
|
|
1212
1277
|
localStorage.removeItem(key);
|
|
1213
1278
|
}
|
|
1214
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1215
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1280
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CacheService, providedIn: 'root' }); }
|
|
1216
1281
|
}
|
|
1217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1282
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: CacheService, decorators: [{
|
|
1218
1283
|
type: Injectable,
|
|
1219
1284
|
args: [{
|
|
1220
1285
|
providedIn: 'root',
|
|
@@ -1299,8 +1364,8 @@ class OnemRvaCDNService {
|
|
|
1299
1364
|
this.renderer.appendChild(document.head, link);
|
|
1300
1365
|
});
|
|
1301
1366
|
}
|
|
1302
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1303
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1367
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNService, deps: [{ token: i0.RendererFactory2 }, { token: CacheService }, { token: i1$3.HttpClient }, { token: CDN_URL_MODE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1368
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNService, providedIn: 'root' }); }
|
|
1304
1369
|
}
|
|
1305
1370
|
__decorate([
|
|
1306
1371
|
HttpRequestCache(cdnService => ({
|
|
@@ -1309,7 +1374,7 @@ __decorate([
|
|
|
1309
1374
|
ttl: 3600000,
|
|
1310
1375
|
}))
|
|
1311
1376
|
], OnemRvaCDNService.prototype, "fetch", null);
|
|
1312
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNService, decorators: [{
|
|
1313
1378
|
type: Injectable,
|
|
1314
1379
|
args: [{
|
|
1315
1380
|
providedIn: 'root',
|
|
@@ -1369,10 +1434,10 @@ class OnemRvaCDNCountryService {
|
|
|
1369
1434
|
});
|
|
1370
1435
|
}));
|
|
1371
1436
|
}
|
|
1372
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1373
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1437
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNCountryService, deps: [{ token: OnemRvaCDNService }, { token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1438
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNCountryService, providedIn: 'root' }); }
|
|
1374
1439
|
}
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNCountryService, decorators: [{
|
|
1376
1441
|
type: Injectable,
|
|
1377
1442
|
args: [{
|
|
1378
1443
|
providedIn: 'root',
|
|
@@ -1410,10 +1475,10 @@ class OnemRvaCDNMimeService {
|
|
|
1410
1475
|
});
|
|
1411
1476
|
}));
|
|
1412
1477
|
}
|
|
1413
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1414
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNMimeService, deps: [{ token: OnemRvaCDNService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1479
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNMimeService, providedIn: 'root' }); }
|
|
1415
1480
|
}
|
|
1416
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemRvaCDNMimeService, decorators: [{
|
|
1417
1482
|
type: Injectable,
|
|
1418
1483
|
args: [{
|
|
1419
1484
|
providedIn: 'root',
|
|
@@ -1436,10 +1501,10 @@ class OnemrvaErrorHandler {
|
|
|
1436
1501
|
verticalPosition: this.verticalPosition,
|
|
1437
1502
|
});
|
|
1438
1503
|
}
|
|
1439
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1440
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1504
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaErrorHandler, deps: [{ token: i1$5.MatSnackBar }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1505
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaErrorHandler }); }
|
|
1441
1506
|
}
|
|
1442
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaErrorHandler, decorators: [{
|
|
1443
1508
|
type: Injectable
|
|
1444
1509
|
}], ctorParameters: () => [{ type: i1$5.MatSnackBar }] });
|
|
1445
1510
|
|
|
@@ -1587,11 +1652,11 @@ const bankAccountValidator = () => {
|
|
|
1587
1652
|
};
|
|
1588
1653
|
|
|
1589
1654
|
class OnemrvaSharedModule {
|
|
1590
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1591
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
1592
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
1655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1656
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaSharedModule, imports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective], exports: [DigitOnlyDirective, MatRowClickableDirective, OnemRvaClipboardDirective, OnemRvaIconRightDirective, IfWidthIsDirective, OnemRvaColorDirective, OnemrvaMaskDirective, OnemrvaDateFormatDirective] }); }
|
|
1657
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaSharedModule }); }
|
|
1593
1658
|
}
|
|
1594
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1659
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaSharedModule, decorators: [{
|
|
1595
1660
|
type: NgModule,
|
|
1596
1661
|
args: [{
|
|
1597
1662
|
imports: [...directives],
|
|
@@ -1651,10 +1716,10 @@ class OnemrvaNativeDateAdapter extends NativeDateAdapter {
|
|
|
1651
1716
|
this.destroyNotifier$.next();
|
|
1652
1717
|
this.destroyNotifier$.complete();
|
|
1653
1718
|
}
|
|
1654
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1655
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNativeDateAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1720
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNativeDateAdapter }); }
|
|
1656
1721
|
}
|
|
1657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaNativeDateAdapter, decorators: [{
|
|
1658
1723
|
type: Injectable
|
|
1659
1724
|
}], ctorParameters: () => [{ type: i1$4.TranslateService }] });
|
|
1660
1725
|
|
|
@@ -1917,10 +1982,10 @@ class OnemrvaLuxonDateAdapter extends DateAdapter {
|
|
|
1917
1982
|
outputCalendar: this._defaultOutputCalendar,
|
|
1918
1983
|
};
|
|
1919
1984
|
}
|
|
1920
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1921
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1985
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaLuxonDateAdapter, deps: [{ token: i1$4.TranslateService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1986
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaLuxonDateAdapter }); }
|
|
1922
1987
|
}
|
|
1923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1988
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: OnemrvaLuxonDateAdapter, decorators: [{
|
|
1924
1989
|
type: Injectable
|
|
1925
1990
|
}], ctorParameters: () => [{ type: i1$4.TranslateService }] });
|
|
1926
1991
|
|