@ajf/material 15.2.2 → 15.2.3
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/esm2020/forms/field-service.mjs +7 -2
- package/esm2020/forms/form.mjs +3 -3
- package/esm2020/forms/forms-module.mjs +8 -1
- package/esm2020/forms/geolocation-field.mjs +44 -0
- package/esm2020/geolocation/ajf-material-geolocation.mjs +5 -0
- package/esm2020/geolocation/geolocation-module.mjs +61 -0
- package/esm2020/geolocation/geolocation.mjs +50 -0
- package/esm2020/geolocation/public_api.mjs +24 -0
- package/esm2020/time/time.mjs +2 -2
- package/fesm2015/ajf-material-forms.mjs +77 -28
- package/fesm2015/ajf-material-forms.mjs.map +1 -1
- package/fesm2015/ajf-material-geolocation.mjs +136 -0
- package/fesm2015/ajf-material-geolocation.mjs.map +1 -0
- package/fesm2015/ajf-material-time.mjs +2 -2
- package/fesm2020/ajf-material-forms.mjs +75 -28
- package/fesm2020/ajf-material-forms.mjs.map +1 -1
- package/fesm2020/ajf-material-geolocation.mjs +136 -0
- package/fesm2020/ajf-material-geolocation.mjs.map +1 -0
- package/fesm2020/ajf-material-time.mjs +2 -2
- package/forms/forms-module.d.ts +37 -35
- package/forms/geolocation-field.d.ts +30 -0
- package/geolocation/geolocation-module.d.ts +13 -0
- package/geolocation/geolocation.d.ts +33 -0
- package/geolocation/index.d.ts +5 -0
- package/geolocation/public_api.d.ts +23 -0
- package/package.json +10 -2
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { AjfGeolocation } from '@ajf/core/geolocation';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { forwardRef, Component, ViewEncapsulation, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/forms';
|
|
5
|
+
import { NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
6
|
+
import * as i2 from '@angular/material/icon';
|
|
7
|
+
import { MatIconModule } from '@angular/material/icon';
|
|
8
|
+
import * as i3 from '@angular/material/input';
|
|
9
|
+
import { MatInputModule } from '@angular/material/input';
|
|
10
|
+
import * as i4 from '@angular/material/form-field';
|
|
11
|
+
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
12
|
+
import * as i5 from '@ngneat/transloco';
|
|
13
|
+
import { AjfTranslocoModule } from '@ajf/core/transloco';
|
|
14
|
+
import { CommonModule } from '@angular/common';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
19
|
+
*
|
|
20
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
21
|
+
*
|
|
22
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
23
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
24
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
25
|
+
* or (at your option) any later version.
|
|
26
|
+
*
|
|
27
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
28
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
29
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
30
|
+
* General Public License for more details.
|
|
31
|
+
*
|
|
32
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
33
|
+
* along with Advanced JSON forms (ajf).
|
|
34
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
const GEOLOCATION_CONTROL_VALUE_ACCESSOR = {
|
|
38
|
+
provide: NG_VALUE_ACCESSOR,
|
|
39
|
+
useExisting: forwardRef(() => AjfGeolocationComponent),
|
|
40
|
+
multi: true,
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Ajf geolocation component.
|
|
44
|
+
*/
|
|
45
|
+
class AjfGeolocationComponent extends AjfGeolocation {
|
|
46
|
+
constructor(cdr) {
|
|
47
|
+
super(cdr);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
AjfGeolocationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
AjfGeolocationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AjfGeolocationComponent, selector: "ajf-geolocation", providers: [GEOLOCATION_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<div class=\"flex-container\">\n <div class=\"flex-child\">\n <p>{{'Latitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"latitude\">\n </mat-form-field>\n </div>\n <div class=\"flex-child\">\n <p>{{'Longitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"longitude\">\n </mat-form-field>\n <button mat-raised-button (click)=\"getLocation()\">\n <mat-icon>location_on</mat-icon>\n </button>\n </div>\n</div>", styles: ["ajf-geolocation{display:block}ajf-geolocation button{background:none}ajf-geolocation .flex-container{display:flex;flex-wrap:wrap}ajf-geolocation .flex-child{white-space:nowrap}ajf-geolocation .flex-child p{display:inline-block;min-width:80px}ajf-geolocation .flex-child:first-child{margin-right:5px}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i4.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "pipe", type: i5.TranslocoPipe, name: "transloco" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationComponent, decorators: [{
|
|
53
|
+
type: Component,
|
|
54
|
+
args: [{ selector: 'ajf-geolocation', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [GEOLOCATION_CONTROL_VALUE_ACCESSOR], template: "<div class=\"flex-container\">\n <div class=\"flex-child\">\n <p>{{'Latitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"latitude\">\n </mat-form-field>\n </div>\n <div class=\"flex-child\">\n <p>{{'Longitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"longitude\">\n </mat-form-field>\n <button mat-raised-button (click)=\"getLocation()\">\n <mat-icon>location_on</mat-icon>\n </button>\n </div>\n</div>", styles: ["ajf-geolocation{display:block}ajf-geolocation button{background:none}ajf-geolocation .flex-container{display:flex;flex-wrap:wrap}ajf-geolocation .flex-child{white-space:nowrap}ajf-geolocation .flex-child p{display:inline-block;min-width:80px}ajf-geolocation .flex-child:first-child{margin-right:5px}\n"] }]
|
|
55
|
+
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* @license
|
|
59
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
60
|
+
*
|
|
61
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
62
|
+
*
|
|
63
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
64
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
65
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
66
|
+
* or (at your option) any later version.
|
|
67
|
+
*
|
|
68
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
69
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
70
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
71
|
+
* General Public License for more details.
|
|
72
|
+
*
|
|
73
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
74
|
+
* along with Advanced JSON forms (ajf).
|
|
75
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
class AjfGeolocationModule {
|
|
79
|
+
}
|
|
80
|
+
AjfGeolocationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
81
|
+
AjfGeolocationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationModule, declarations: [AjfGeolocationComponent], imports: [AjfTranslocoModule,
|
|
82
|
+
CommonModule,
|
|
83
|
+
FormsModule,
|
|
84
|
+
MatIconModule,
|
|
85
|
+
MatInputModule,
|
|
86
|
+
MatFormFieldModule], exports: [AjfGeolocationComponent] });
|
|
87
|
+
AjfGeolocationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationModule, imports: [AjfTranslocoModule,
|
|
88
|
+
CommonModule,
|
|
89
|
+
FormsModule,
|
|
90
|
+
MatIconModule,
|
|
91
|
+
MatInputModule,
|
|
92
|
+
MatFormFieldModule] });
|
|
93
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfGeolocationModule, decorators: [{
|
|
94
|
+
type: NgModule,
|
|
95
|
+
args: [{
|
|
96
|
+
imports: [
|
|
97
|
+
AjfTranslocoModule,
|
|
98
|
+
CommonModule,
|
|
99
|
+
FormsModule,
|
|
100
|
+
MatIconModule,
|
|
101
|
+
MatInputModule,
|
|
102
|
+
MatFormFieldModule,
|
|
103
|
+
],
|
|
104
|
+
declarations: [AjfGeolocationComponent],
|
|
105
|
+
exports: [AjfGeolocationComponent],
|
|
106
|
+
}]
|
|
107
|
+
}] });
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @license
|
|
111
|
+
* Copyright (C) Gnucoop soc. coop.
|
|
112
|
+
*
|
|
113
|
+
* This file is part of the Advanced JSON forms (ajf).
|
|
114
|
+
*
|
|
115
|
+
* Advanced JSON forms (ajf) is free software: you can redistribute it and/or
|
|
116
|
+
* modify it under the terms of the GNU Affero General Public License as
|
|
117
|
+
* published by the Free Software Foundation, either version 3 of the License,
|
|
118
|
+
* or (at your option) any later version.
|
|
119
|
+
*
|
|
120
|
+
* Advanced JSON forms (ajf) is distributed in the hope that it will be useful,
|
|
121
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
122
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
|
|
123
|
+
* General Public License for more details.
|
|
124
|
+
*
|
|
125
|
+
* You should have received a copy of the GNU Affero General Public License
|
|
126
|
+
* along with Advanced JSON forms (ajf).
|
|
127
|
+
* If not, see http://www.gnu.org/licenses/.
|
|
128
|
+
*
|
|
129
|
+
*/
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Generated bundle index. Do not edit.
|
|
133
|
+
*/
|
|
134
|
+
|
|
135
|
+
export { AjfGeolocationComponent, AjfGeolocationModule, GEOLOCATION_CONTROL_VALUE_ACCESSOR };
|
|
136
|
+
//# sourceMappingURL=ajf-material-geolocation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ajf-material-geolocation.mjs","sources":["../../../projects/material/geolocation/src/geolocation.ts","../../../projects/material/geolocation/src/geolocation.html","../../../projects/material/geolocation/src/geolocation-module.ts","../../../projects/material/geolocation/src/public_api.ts","../../../projects/material/geolocation/src/ajf-material-geolocation.ts"],"sourcesContent":["/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfGeolocation} from '@ajf/core/geolocation';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n OnDestroy,\n ViewEncapsulation,\n} from '@angular/core';\nimport {NG_VALUE_ACCESSOR} from '@angular/forms';\n\nexport const GEOLOCATION_CONTROL_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => AjfGeolocationComponent),\n multi: true,\n};\n\n/**\n * Ajf geolocation component.\n */\n@Component({\n selector: 'ajf-geolocation',\n templateUrl: 'geolocation.html',\n styleUrls: ['geolocation.scss'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [GEOLOCATION_CONTROL_VALUE_ACCESSOR],\n})\nexport class AjfGeolocationComponent extends AjfGeolocation implements OnDestroy {\n constructor(cdr: ChangeDetectorRef) {\n super(cdr);\n }\n}\n","<div class=\"flex-container\">\n <div class=\"flex-child\">\n <p>{{'Latitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"latitude\">\n </mat-form-field>\n </div>\n <div class=\"flex-child\">\n <p>{{'Longitude'|transloco}}:</p>\n <mat-form-field>\n <input\n matInput\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"longitude\">\n </mat-form-field>\n <button mat-raised-button (click)=\"getLocation()\">\n <mat-icon>location_on</mat-icon>\n </button>\n </div>\n</div>","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nimport {AjfTranslocoModule} from '@ajf/core/transloco';\nimport {CommonModule} from '@angular/common';\n\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {MatFormFieldModule} from '@angular/material/form-field';\nimport {MatIconModule} from '@angular/material/icon';\nimport {MatInputModule} from '@angular/material/input';\nimport {AjfGeolocationComponent} from './geolocation';\n\n@NgModule({\n imports: [\n AjfTranslocoModule,\n CommonModule,\n FormsModule,\n MatIconModule,\n MatInputModule,\n MatFormFieldModule,\n ],\n declarations: [AjfGeolocationComponent],\n exports: [AjfGeolocationComponent],\n})\nexport class AjfGeolocationModule {}\n","/**\n * @license\n * Copyright (C) Gnucoop soc. coop.\n *\n * This file is part of the Advanced JSON forms (ajf).\n *\n * Advanced JSON forms (ajf) is free software: you can redistribute it and/or\n * modify it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the License,\n * or (at your option) any later version.\n *\n * Advanced JSON forms (ajf) is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero\n * General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with Advanced JSON forms (ajf).\n * If not, see http://www.gnu.org/licenses/.\n *\n */\n\nexport * from './geolocation';\nexport * from './geolocation-module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;;AAoBG;AAaU,MAAA,kCAAkC,GAAQ;AACrD,IAAA,OAAO,EAAE,iBAAiB;AAC1B,IAAA,WAAW,EAAE,UAAU,CAAC,MAAM,uBAAuB,CAAC;AACtD,IAAA,KAAK,EAAE,IAAI;EACX;AAEF;;AAEG;AASG,MAAO,uBAAwB,SAAQ,cAAc,CAAA;AACzD,IAAA,WAAA,CAAY,GAAsB,EAAA;QAChC,KAAK,CAAC,GAAG,CAAC,CAAC;KACZ;;oHAHU,uBAAuB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,iBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAvB,uBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,uBAAuB,EAFvB,QAAA,EAAA,iBAAA,EAAA,SAAA,EAAA,CAAC,kCAAkC,CAAC,iDChDjD,+lBAsBM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W;wBACX,aAAa;wBACb,cAAc;wBACd,kBAAkB;AACnB,qBAAA;oBACD,YAAY,EAAE,CAAC,uBAAuB,CAAC;oBACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;iBACnC,CAAA;;;AC3CD;;;;;;;;;;;;;;;;;;;;AAoBG;;ACpBH;;AAEG;;;;"}
|
|
@@ -40,10 +40,10 @@ class AjfTime extends AjfTime$1 {
|
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
AjfTime.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfTime, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
43
|
-
AjfTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AjfTime, selector: "ajf-time", providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\n</div>\n", styles: ["ajf-time .mat-mdc-form-field{width:
|
|
43
|
+
AjfTime.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: AjfTime, selector: "ajf-time", providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], usesInheritance: true, ngImport: i0, template: "<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\n</div>\n", styles: ["ajf-time .mat-mdc-form-field{width:3.5em;text-align:center}\n"], dependencies: [{ kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NumberValueAccessor, selector: "input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.MinValidator, selector: "input[type=number][min][formControlName],input[type=number][min][formControl],input[type=number][min][ngModel]", inputs: ["min"] }, { kind: "directive", type: i1.MaxValidator, selector: "input[type=number][max][formControlName],input[type=number][max][formControl],input[type=number][max][ngModel]", inputs: ["max"] }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: i2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i3.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
44
44
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImport: i0, type: AjfTime, decorators: [{
|
|
45
45
|
type: Component,
|
|
46
|
-
args: [{ selector: 'ajf-time', providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\n</div>\n", styles: ["ajf-time .mat-mdc-form-field{width:
|
|
46
|
+
args: [{ selector: 'ajf-time', providers: [AJF_TIME_CONTROL_VALUE_ACCESSOR], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div>\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"23\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"hours\"\n type=\"number\">\n </mat-form-field>\n :\n <mat-form-field>\n <input\n matInput\n min=\"0\"\n max=\"59\"\n (focus)=\"focusHandler()\"\n [(ngModel)]=\"minutes\"\n type=\"number\">\n </mat-form-field>\n</div>\n", styles: ["ajf-time .mat-mdc-form-field{width:3.5em;text-align:center}\n"] }]
|
|
47
47
|
}], ctorParameters: function () { return []; } });
|
|
48
48
|
|
|
49
49
|
/**
|