@ngx-formly/material 10.0.0 → 11.0.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/README.md +107 -177
- package/fesm2022/ngx-formly-material-checkbox.mjs +234 -127
- package/fesm2022/ngx-formly-material-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-datepicker.mjs +264 -118
- package/fesm2022/ngx-formly-material-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-form-field.mjs +440 -226
- package/fesm2022/ngx-formly-material-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-input.mjs +199 -89
- package/fesm2022/ngx-formly-material-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-multicheckbox.mjs +203 -106
- package/fesm2022/ngx-formly-material-multicheckbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-native-select.mjs +204 -73
- package/fesm2022/ngx-formly-material-native-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-radio.mjs +247 -104
- package/fesm2022/ngx-formly-material-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-select.mjs +318 -133
- package/fesm2022/ngx-formly-material-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-slider.mjs +195 -85
- package/fesm2022/ngx-formly-material-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-textarea.mjs +203 -86
- package/fesm2022/ngx-formly-material-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-material-toggle.mjs +208 -86
- package/fesm2022/ngx-formly-material-toggle.mjs.map +1 -1
- package/fesm2022/ngx-formly-material.mjs +84 -62
- package/fesm2022/ngx-formly-material.mjs.map +1 -1
- package/package.json +3 -3
- package/types/ngx-formly-material-checkbox.d.ts +41 -46
- package/types/ngx-formly-material-datepicker.d.ts +62 -67
- package/types/ngx-formly-material-form-field.d.ts +71 -77
- package/types/ngx-formly-material-input.d.ts +22 -28
- package/types/ngx-formly-material-multicheckbox.d.ts +33 -38
- package/types/ngx-formly-material-native-select.d.ts +23 -29
- package/types/ngx-formly-material-radio.d.ts +34 -39
- package/types/ngx-formly-material-select.d.ts +45 -48
- package/types/ngx-formly-material-slider.d.ts +32 -37
- package/types/ngx-formly-material-textarea.d.ts +28 -33
- package/types/ngx-formly-material-toggle.d.ts +30 -35
- package/types/ngx-formly-material.d.ts +16 -19
|
@@ -1,62 +1,84 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import {
|
|
5
|
-
import { FieldType, FormlyMatFormFieldModule } from
|
|
6
|
-
import * as i2 from
|
|
7
|
-
import { ReactiveFormsModule } from
|
|
8
|
-
import * as i3 from
|
|
9
|
-
import { MatInputModule } from
|
|
10
|
-
import * as i4 from
|
|
11
|
-
import { MatDatepickerModule } from
|
|
12
|
-
import { CommonModule } from
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule, ViewChild } from "@angular/core";
|
|
3
|
+
import * as i1 from "@ngx-formly/core";
|
|
4
|
+
import { FormlyModule, ɵobserve } from "@ngx-formly/core";
|
|
5
|
+
import { FieldType, FormlyMatFormFieldModule } from "@ngx-formly/material/form-field";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import { ReactiveFormsModule } from "@angular/forms";
|
|
8
|
+
import * as i3 from "@angular/material/input";
|
|
9
|
+
import { MatInputModule } from "@angular/material/input";
|
|
10
|
+
import * as i4 from "@angular/material/datepicker";
|
|
11
|
+
import { MatDatepickerModule } from "@angular/material/datepicker";
|
|
12
|
+
import { CommonModule } from "@angular/common";
|
|
13
|
+
var FormlyFieldDatepicker = class FormlyFieldDatepicker extends FieldType {
|
|
14
|
+
constructor(config, cdRef) {
|
|
15
|
+
super();
|
|
16
|
+
this.config = config;
|
|
17
|
+
this.cdRef = cdRef;
|
|
18
|
+
this.defaultOptions = { props: { datepickerOptions: {
|
|
19
|
+
startView: "month",
|
|
20
|
+
datepickerTogglePosition: "suffix",
|
|
21
|
+
disabled: false,
|
|
22
|
+
opened: false,
|
|
23
|
+
dateInput: () => {},
|
|
24
|
+
dateChange: () => {},
|
|
25
|
+
monthSelected: () => {},
|
|
26
|
+
yearSelected: () => {}
|
|
27
|
+
} } };
|
|
28
|
+
}
|
|
29
|
+
detectChanges() {
|
|
30
|
+
this.options.detectChanges?.(this.field);
|
|
31
|
+
}
|
|
32
|
+
ngAfterViewInit() {
|
|
33
|
+
this.props[this.props.datepickerOptions.datepickerTogglePosition] = this.datepickerToggle;
|
|
34
|
+
ɵobserve(this.field, [
|
|
35
|
+
"props",
|
|
36
|
+
"datepickerOptions",
|
|
37
|
+
"opened"
|
|
38
|
+
], () => {
|
|
39
|
+
this.cdRef.detectChanges();
|
|
40
|
+
});
|
|
41
|
+
if (this.config.getValidatorMessage("matDatepickerParse")) this.fieldErrorsObserver = ɵobserve(this.field, ["formControl", "errors"], ({ currentValue }) => {
|
|
42
|
+
if (currentValue && currentValue.required && currentValue.matDatepickerParse) {
|
|
43
|
+
const errors = Object.keys(currentValue).sort((prop) => prop === "matDatepickerParse" ? -1 : 0).reduce((errors, prop) => ({
|
|
44
|
+
...errors,
|
|
45
|
+
[prop]: currentValue[prop]
|
|
46
|
+
}), {});
|
|
47
|
+
this.fieldErrorsObserver?.setValue(errors);
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
ngOnDestroy() {
|
|
52
|
+
super.ngOnDestroy();
|
|
53
|
+
this.fieldErrorsObserver?.unsubscribe();
|
|
54
|
+
}
|
|
55
|
+
static {
|
|
56
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
57
|
+
minVersion: "12.0.0",
|
|
58
|
+
version: "22.2.2",
|
|
59
|
+
ngImport: i0,
|
|
60
|
+
type: FormlyFieldDatepicker,
|
|
61
|
+
deps: [{ token: i1.FormlyConfig }, { token: i0.ChangeDetectorRef }],
|
|
62
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
static {
|
|
66
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
67
|
+
minVersion: "14.0.0",
|
|
68
|
+
version: "22.2.2",
|
|
69
|
+
type: FormlyFieldDatepicker,
|
|
70
|
+
isStandalone: false,
|
|
71
|
+
selector: "formly-field-mat-datepicker",
|
|
72
|
+
viewQueries: [{
|
|
73
|
+
propertyName: "datepickerToggle",
|
|
74
|
+
first: true,
|
|
75
|
+
predicate: ["datepickerToggle"],
|
|
76
|
+
descendants: true,
|
|
77
|
+
static: true
|
|
78
|
+
}],
|
|
79
|
+
usesInheritance: true,
|
|
80
|
+
ngImport: i0,
|
|
81
|
+
template: `
|
|
60
82
|
<input
|
|
61
83
|
matInput
|
|
62
84
|
[id]="id"
|
|
@@ -99,13 +121,107 @@ class FormlyFieldDatepicker extends FieldType {
|
|
|
99
121
|
(closed)="props.datepickerOptions.opened = false"
|
|
100
122
|
>
|
|
101
123
|
</mat-datepicker>
|
|
102
|
-
`,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
124
|
+
`,
|
|
125
|
+
isInline: true,
|
|
126
|
+
dependencies: [
|
|
127
|
+
{
|
|
128
|
+
kind: "directive",
|
|
129
|
+
type: i2.DefaultValueAccessor,
|
|
130
|
+
selector: "input:not([type=checkbox]):not([ngNoCva])[formControlName],textarea:not([ngNoCva])[formControlName],input:not([type=checkbox]):not([ngNoCva])[formControl],textarea:not([ngNoCva])[formControl],input:not([type=checkbox]):not([ngNoCva])[ngModel],textarea:not([ngNoCva])[ngModel],[ngDefaultControl]"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
kind: "directive",
|
|
134
|
+
type: i2.NgControlStatus,
|
|
135
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
kind: "directive",
|
|
139
|
+
type: i2.RequiredValidator,
|
|
140
|
+
selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]",
|
|
141
|
+
inputs: ["required"]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
kind: "directive",
|
|
145
|
+
type: i2.FormControlDirective,
|
|
146
|
+
selector: "[formControl]",
|
|
147
|
+
inputs: [
|
|
148
|
+
"formControl",
|
|
149
|
+
"disabled",
|
|
150
|
+
"ngModel"
|
|
151
|
+
],
|
|
152
|
+
outputs: ["ngModelChange"],
|
|
153
|
+
exportAs: ["ngForm"]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
kind: "directive",
|
|
157
|
+
type: i3.MatInput,
|
|
158
|
+
selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]",
|
|
159
|
+
inputs: [
|
|
160
|
+
"disabled",
|
|
161
|
+
"id",
|
|
162
|
+
"placeholder",
|
|
163
|
+
"name",
|
|
164
|
+
"required",
|
|
165
|
+
"type",
|
|
166
|
+
"errorStateMatcher",
|
|
167
|
+
"aria-describedby",
|
|
168
|
+
"value",
|
|
169
|
+
"readonly",
|
|
170
|
+
"disabledInteractive"
|
|
171
|
+
],
|
|
172
|
+
exportAs: ["matInput"]
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
kind: "component",
|
|
176
|
+
type: i4.MatDatepicker,
|
|
177
|
+
selector: "mat-datepicker",
|
|
178
|
+
exportAs: ["matDatepicker"]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
kind: "directive",
|
|
182
|
+
type: i4.MatDatepickerInput,
|
|
183
|
+
selector: "input[matDatepicker]",
|
|
184
|
+
inputs: [
|
|
185
|
+
"matDatepicker",
|
|
186
|
+
"min",
|
|
187
|
+
"max",
|
|
188
|
+
"matDatepickerFilter"
|
|
189
|
+
],
|
|
190
|
+
exportAs: ["matDatepickerInput"]
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
kind: "component",
|
|
194
|
+
type: i4.MatDatepickerToggle,
|
|
195
|
+
selector: "mat-datepicker-toggle",
|
|
196
|
+
inputs: [
|
|
197
|
+
"for",
|
|
198
|
+
"tabIndex",
|
|
199
|
+
"aria-label",
|
|
200
|
+
"disabled",
|
|
201
|
+
"disableRipple"
|
|
202
|
+
],
|
|
203
|
+
exportAs: ["matDatepickerToggle"]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
kind: "directive",
|
|
207
|
+
type: i1.LegacyFormlyAttributes,
|
|
208
|
+
selector: "[formlyAttributes]"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
216
|
+
minVersion: "12.0.0",
|
|
217
|
+
version: "22.2.2",
|
|
218
|
+
ngImport: i0,
|
|
219
|
+
type: FormlyFieldDatepicker,
|
|
220
|
+
decorators: [{
|
|
221
|
+
type: Component,
|
|
222
|
+
args: [{
|
|
223
|
+
selector: "formly-field-mat-datepicker",
|
|
224
|
+
template: `
|
|
109
225
|
<input
|
|
110
226
|
matInput
|
|
111
227
|
[id]="id"
|
|
@@ -149,58 +265,88 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
149
265
|
>
|
|
150
266
|
</mat-datepicker>
|
|
151
267
|
`,
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
268
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
269
|
+
standalone: false
|
|
270
|
+
}]
|
|
271
|
+
}],
|
|
272
|
+
ctorParameters: () => [{ type: i1.FormlyConfig }, { type: i0.ChangeDetectorRef }],
|
|
273
|
+
propDecorators: { datepickerToggle: [{
|
|
274
|
+
type: ViewChild,
|
|
275
|
+
args: ["datepickerToggle", { static: true }]
|
|
276
|
+
}] }
|
|
277
|
+
});
|
|
160
278
|
function withFormlyFieldDatepicker() {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
wrappers: ['form-field'],
|
|
167
|
-
},
|
|
168
|
-
],
|
|
169
|
-
};
|
|
279
|
+
return { types: [{
|
|
280
|
+
name: "datepicker",
|
|
281
|
+
component: FormlyFieldDatepicker,
|
|
282
|
+
wrappers: ["form-field"]
|
|
283
|
+
}] };
|
|
170
284
|
}
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
285
|
+
var FormlyMatDatepickerModule = class FormlyMatDatepickerModule {
|
|
286
|
+
static {
|
|
287
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
288
|
+
minVersion: "12.0.0",
|
|
289
|
+
version: "22.2.2",
|
|
290
|
+
ngImport: i0,
|
|
291
|
+
type: FormlyMatDatepickerModule,
|
|
292
|
+
deps: [],
|
|
293
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
static {
|
|
297
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
298
|
+
minVersion: "14.0.0",
|
|
299
|
+
version: "22.2.2",
|
|
300
|
+
ngImport: i0,
|
|
301
|
+
type: FormlyMatDatepickerModule,
|
|
302
|
+
declarations: [FormlyFieldDatepicker],
|
|
303
|
+
imports: [
|
|
304
|
+
CommonModule,
|
|
305
|
+
ReactiveFormsModule,
|
|
306
|
+
MatInputModule,
|
|
307
|
+
MatDatepickerModule,
|
|
308
|
+
FormlyMatFormFieldModule,
|
|
309
|
+
i1.FormlyModule
|
|
310
|
+
]
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
static {
|
|
314
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
315
|
+
minVersion: "12.0.0",
|
|
316
|
+
version: "22.2.2",
|
|
317
|
+
ngImport: i0,
|
|
318
|
+
type: FormlyMatDatepickerModule,
|
|
319
|
+
imports: [
|
|
320
|
+
CommonModule,
|
|
321
|
+
ReactiveFormsModule,
|
|
322
|
+
MatInputModule,
|
|
323
|
+
MatDatepickerModule,
|
|
324
|
+
FormlyMatFormFieldModule,
|
|
325
|
+
FormlyModule.forChild(withFormlyFieldDatepicker())
|
|
326
|
+
]
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
331
|
+
minVersion: "12.0.0",
|
|
332
|
+
version: "22.2.2",
|
|
333
|
+
ngImport: i0,
|
|
334
|
+
type: FormlyMatDatepickerModule,
|
|
335
|
+
decorators: [{
|
|
336
|
+
type: NgModule,
|
|
337
|
+
args: [{
|
|
338
|
+
declarations: [FormlyFieldDatepicker],
|
|
339
|
+
imports: [
|
|
340
|
+
CommonModule,
|
|
341
|
+
ReactiveFormsModule,
|
|
342
|
+
MatInputModule,
|
|
343
|
+
MatDatepickerModule,
|
|
344
|
+
FormlyMatFormFieldModule,
|
|
345
|
+
FormlyModule.forChild(withFormlyFieldDatepicker())
|
|
346
|
+
]
|
|
347
|
+
}]
|
|
348
|
+
}]
|
|
349
|
+
});
|
|
205
350
|
export { FormlyFieldDatepicker, FormlyMatDatepickerModule, withFormlyFieldDatepicker };
|
|
206
|
-
|
|
351
|
+
|
|
352
|
+
//# sourceMappingURL=ngx-formly-material-datepicker.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-material-datepicker.mjs","sources":["../../../../src/ui/material/datepicker/src/datepicker.type.ts","../../../../src/ui/material/datepicker/src/datepicker.config.ts","../../../../src/ui/material/datepicker/src/datepicker.module.ts","../../../../src/ui/material/datepicker/src/ngx-formly-material-datepicker.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n ViewChild,\n AfterViewInit,\n OnDestroy,\n TemplateRef,\n ChangeDetectorRef,\n Type,\n} from '@angular/core';\nimport { FieldTypeConfig, FormlyConfig, FormlyFieldConfig, ɵobserve as observe } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';\nimport { ComponentType } from '@angular/cdk/portal';\nimport { MatCalendarCellClassFunction, MatDatepicker } from '@angular/material/datepicker';\n\ninterface DatepickerProps extends FormlyFieldProps {\n datepickerOptions?: Partial<{\n touchUi: boolean;\n opened: boolean;\n disabled: boolean;\n startView: 'month' | 'year' | 'multi-year';\n datepickerTogglePosition: 'suffix' | 'prefix';\n calendarHeaderComponent: ComponentType<any>;\n filter: (date: any | null) => boolean;\n min: any;\n max: any;\n dateInput: (field: FieldTypeConfig<DatepickerProps>, event: any) => void;\n dateChange: (field: FieldTypeConfig<DatepickerProps>, event: any) => void;\n\n monthSelected: (field: FieldTypeConfig<DatepickerProps>, event: any, picker: MatDatepicker<any>) => void;\n yearSelected: (field: FieldTypeConfig<DatepickerProps>, event: any, picker: MatDatepicker<any>) => void;\n\n dateClass: MatCalendarCellClassFunction<any>;\n panelClass: string | string[];\n startAt: any | null;\n }>;\n}\n\nexport interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\n}\n\n@Component({\n selector: 'formly-field-mat-datepicker',\n template: `\n <input\n matInput\n [id]=\"id\"\n [name]=\"field.name\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [formControl]=\"formControl\"\n [matDatepicker]=\"picker\"\n [matDatepickerFilter]=\"props.datepickerOptions.filter\"\n [max]=\"props.datepickerOptions.max\"\n [min]=\"props.datepickerOptions.min\"\n [formlyAttributes]=\"field\"\n [placeholder]=\"props.placeholder\"\n [tabindex]=\"props.tabindex\"\n [readonly]=\"props.readonly\"\n [required]=\"required\"\n (dateInput)=\"props.datepickerOptions.dateInput(field, $event)\"\n (dateChange)=\"props.datepickerOptions.dateChange(field, $event)\"\n />\n <ng-template #datepickerToggle>\n <mat-datepicker-toggle\n (click)=\"detectChanges()\"\n [disabled]=\"props.disabled\"\n [for]=\"picker\"\n ></mat-datepicker-toggle>\n </ng-template>\n <mat-datepicker\n #picker\n [color]=\"props.color\"\n [dateClass]=\"props.datepickerOptions.dateClass\"\n [disabled]=\"props.datepickerOptions.disabled\"\n [opened]=\"props.datepickerOptions.opened\"\n [panelClass]=\"props.datepickerOptions.panelClass\"\n [startAt]=\"props.datepickerOptions.startAt\"\n [startView]=\"props.datepickerOptions.startView\"\n [touchUi]=\"props.datepickerOptions.touchUi\"\n [calendarHeaderComponent]=\"props.datepickerOptions.calendarHeaderComponent\"\n (monthSelected)=\"props.datepickerOptions.monthSelected(field, $event, picker)\"\n (yearSelected)=\"props.datepickerOptions.yearSelected(field, $event, picker)\"\n (opened)=\"props.datepickerOptions.opened = true\"\n (closed)=\"props.datepickerOptions.opened = false\"\n >\n </mat-datepicker>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldDatepicker\n extends FieldType<FieldTypeConfig<DatepickerProps>>\n implements AfterViewInit, OnDestroy\n{\n @ViewChild('datepickerToggle', { static: true }) datepickerToggle!: TemplateRef<any>;\n\n override defaultOptions = {\n props: {\n datepickerOptions: {\n startView: 'month' as const,\n datepickerTogglePosition: 'suffix' as const,\n disabled: false,\n opened: false,\n dateInput: () => {},\n dateChange: () => {},\n monthSelected: () => {},\n yearSelected: () => {},\n },\n },\n };\n private fieldErrorsObserver!: ReturnType<typeof observe>;\n\n constructor(\n private config: FormlyConfig,\n private cdRef: ChangeDetectorRef,\n ) {\n super();\n }\n\n detectChanges() {\n this.options.detectChanges?.(this.field);\n }\n\n ngAfterViewInit() {\n this.props[this.props.datepickerOptions.datepickerTogglePosition] = this.datepickerToggle;\n observe<boolean>(this.field, ['props', 'datepickerOptions', 'opened'], () => {\n this.cdRef.detectChanges();\n });\n\n // temporary fix for https://github.com/angular/components/issues/16761\n if (this.config.getValidatorMessage('matDatepickerParse')) {\n this.fieldErrorsObserver = observe<any>(this.field, ['formControl', 'errors'], ({ currentValue }) => {\n if (currentValue && currentValue.required && currentValue.matDatepickerParse) {\n const errors = Object.keys(currentValue)\n .sort((prop) => (prop === 'matDatepickerParse' ? -1 : 0))\n .reduce((errors, prop) => ({ ...errors, [prop]: currentValue[prop] }), {});\n\n this.fieldErrorsObserver?.setValue(errors);\n }\n });\n }\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this.fieldErrorsObserver?.unsubscribe();\n }\n}\n","import { FormlyFieldDatepicker } from './datepicker.type';\nimport { ConfigOption } from '@ngx-formly/core';\n\nexport function withFormlyFieldDatepicker(): ConfigOption {\n return {\n types: [\n {\n name: 'datepicker',\n component: FormlyFieldDatepicker,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormlyMatFormFieldModule } from '@ngx-formly/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\n\nimport { FormlyFieldDatepicker } from './datepicker.type';\nimport { withFormlyFieldDatepicker } from './datepicker.config';\n\n@NgModule({\n declarations: [FormlyFieldDatepicker],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n\n FormlyMatFormFieldModule,\n FormlyModule.forChild(withFormlyFieldDatepicker()),\n ],\n})\nexport class FormlyMatDatepickerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["observe"],"mappings":";;;;;;;;;;;;;AA2FM,MAAO,qBACX,SAAQ,SAA2C,CAAA;IAqBnD,WAAA,CACU,MAAoB,EACpB,KAAwB,EAAA;AAEhC,QAAA,KAAK,EAAE;QAHC,IAAA,CAAA,MAAM,GAAN,MAAM;QACN,IAAA,CAAA,KAAK,GAAL,KAAK;AAlBN,QAAA,IAAA,CAAA,cAAc,GAAG;AACxB,YAAA,KAAK,EAAE;AACL,gBAAA,iBAAiB,EAAE;AACjB,oBAAA,SAAS,EAAE,OAAgB;AAC3B,oBAAA,wBAAwB,EAAE,QAAiB;AAC3C,oBAAA,QAAQ,EAAE,KAAK;AACf,oBAAA,MAAM,EAAE,KAAK;AACb,oBAAA,SAAS,EAAE,MAAK,EAAE,CAAC;AACnB,oBAAA,UAAU,EAAE,MAAK,EAAE,CAAC;AACpB,oBAAA,aAAa,EAAE,MA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,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,qBAAqB,CAAC;AACrC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,cAAc;wBACd,mBAAmB;wBAEnB,wBAAwB;AACxB,wBAAA,YAAY,CAAC,QAAQ,CAAC,yBAAyB,EAAE,CAAC;AACnD,qBAAA;AACF,iBAAA;;;ACvBD;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"ngx-formly-material-datepicker.mjs","names":[],"sources":["../../../../src/ui/material/datepicker/src/datepicker.type.ts","../../../../src/ui/material/datepicker/src/datepicker.config.ts","../../../../src/ui/material/datepicker/src/datepicker.module.ts"],"sourcesContent":["import {\n Component,\n ChangeDetectionStrategy,\n ViewChild,\n AfterViewInit,\n OnDestroy,\n TemplateRef,\n ChangeDetectorRef,\n Type,\n} from '@angular/core';\nimport { FieldTypeConfig, FormlyConfig, FormlyFieldConfig, ɵobserve as observe } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';\nimport { ComponentType } from '@angular/cdk/portal';\nimport { MatCalendarCellClassFunction, MatDatepicker } from '@angular/material/datepicker';\n\ninterface DatepickerProps extends FormlyFieldProps {\n datepickerOptions?: Partial<{\n touchUi: boolean;\n opened: boolean;\n disabled: boolean;\n startView: 'month' | 'year' | 'multi-year';\n datepickerTogglePosition: 'suffix' | 'prefix';\n calendarHeaderComponent: ComponentType<any>;\n filter: (date: any | null) => boolean;\n min: any;\n max: any;\n dateInput: (field: FieldTypeConfig<DatepickerProps>, event: any) => void;\n dateChange: (field: FieldTypeConfig<DatepickerProps>, event: any) => void;\n\n monthSelected: (field: FieldTypeConfig<DatepickerProps>, event: any, picker: MatDatepicker<any>) => void;\n yearSelected: (field: FieldTypeConfig<DatepickerProps>, event: any, picker: MatDatepicker<any>) => void;\n\n dateClass: MatCalendarCellClassFunction<any>;\n panelClass: string | string[];\n startAt: any | null;\n }>;\n}\n\nexport interface FormlyDatepickerFieldConfig extends FormlyFieldConfig<DatepickerProps> {\n type: 'datepicker' | Type<FormlyFieldDatepicker>;\n}\n\n@Component({\n selector: 'formly-field-mat-datepicker',\n template: `\n <input\n matInput\n [id]=\"id\"\n [name]=\"field.name\"\n [errorStateMatcher]=\"errorStateMatcher\"\n [formControl]=\"formControl\"\n [matDatepicker]=\"picker\"\n [matDatepickerFilter]=\"props.datepickerOptions.filter\"\n [max]=\"props.datepickerOptions.max\"\n [min]=\"props.datepickerOptions.min\"\n [formlyAttributes]=\"field\"\n [placeholder]=\"props.placeholder\"\n [tabindex]=\"props.tabindex\"\n [readonly]=\"props.readonly\"\n [required]=\"required\"\n (dateInput)=\"props.datepickerOptions.dateInput(field, $event)\"\n (dateChange)=\"props.datepickerOptions.dateChange(field, $event)\"\n />\n <ng-template #datepickerToggle>\n <mat-datepicker-toggle\n (click)=\"detectChanges()\"\n [disabled]=\"props.disabled\"\n [for]=\"picker\"\n ></mat-datepicker-toggle>\n </ng-template>\n <mat-datepicker\n #picker\n [color]=\"props.color\"\n [dateClass]=\"props.datepickerOptions.dateClass\"\n [disabled]=\"props.datepickerOptions.disabled\"\n [opened]=\"props.datepickerOptions.opened\"\n [panelClass]=\"props.datepickerOptions.panelClass\"\n [startAt]=\"props.datepickerOptions.startAt\"\n [startView]=\"props.datepickerOptions.startView\"\n [touchUi]=\"props.datepickerOptions.touchUi\"\n [calendarHeaderComponent]=\"props.datepickerOptions.calendarHeaderComponent\"\n (monthSelected)=\"props.datepickerOptions.monthSelected(field, $event, picker)\"\n (yearSelected)=\"props.datepickerOptions.yearSelected(field, $event, picker)\"\n (opened)=\"props.datepickerOptions.opened = true\"\n (closed)=\"props.datepickerOptions.opened = false\"\n >\n </mat-datepicker>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldDatepicker\n extends FieldType<FieldTypeConfig<DatepickerProps>>\n implements AfterViewInit, OnDestroy\n{\n @ViewChild('datepickerToggle', { static: true }) datepickerToggle!: TemplateRef<any>;\n\n override defaultOptions = {\n props: {\n datepickerOptions: {\n startView: 'month' as const,\n datepickerTogglePosition: 'suffix' as const,\n disabled: false,\n opened: false,\n dateInput: () => {},\n dateChange: () => {},\n monthSelected: () => {},\n yearSelected: () => {},\n },\n },\n };\n private fieldErrorsObserver!: ReturnType<typeof observe>;\n\n constructor(\n private config: FormlyConfig,\n private cdRef: ChangeDetectorRef,\n ) {\n super();\n }\n\n detectChanges() {\n this.options.detectChanges?.(this.field);\n }\n\n ngAfterViewInit() {\n this.props[this.props.datepickerOptions.datepickerTogglePosition] = this.datepickerToggle;\n observe<boolean>(this.field, ['props', 'datepickerOptions', 'opened'], () => {\n this.cdRef.detectChanges();\n });\n\n // temporary fix for https://github.com/angular/components/issues/16761\n if (this.config.getValidatorMessage('matDatepickerParse')) {\n this.fieldErrorsObserver = observe<any>(this.field, ['formControl', 'errors'], ({ currentValue }) => {\n if (currentValue && currentValue.required && currentValue.matDatepickerParse) {\n const errors = Object.keys(currentValue)\n .sort((prop) => (prop === 'matDatepickerParse' ? -1 : 0))\n .reduce((errors, prop) => ({ ...errors, [prop]: currentValue[prop] }), {});\n\n this.fieldErrorsObserver?.setValue(errors);\n }\n });\n }\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n this.fieldErrorsObserver?.unsubscribe();\n }\n}\n","import { FormlyFieldDatepicker } from './datepicker.type';\nimport { ConfigOption } from '@ngx-formly/core';\n\nexport function withFormlyFieldDatepicker(): ConfigOption {\n return {\n types: [\n {\n name: 'datepicker',\n component: FormlyFieldDatepicker,\n wrappers: ['form-field'],\n },\n ],\n };\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormlyModule } from '@ngx-formly/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { FormlyMatFormFieldModule } from '@ngx-formly/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\n\nimport { FormlyFieldDatepicker } from './datepicker.type';\nimport { withFormlyFieldDatepicker } from './datepicker.config';\n\n@NgModule({\n declarations: [FormlyFieldDatepicker],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n MatInputModule,\n MatDatepickerModule,\n\n FormlyMatFormFieldModule,\n FormlyModule.forChild(withFormlyFieldDatepicker()),\n ],\n})\nexport class FormlyMatDatepickerModule {}\n"],"mappings":";;;;;;;;;;;;AA2FA,IAAa,wBAAb,MAAa,8BACH,UAA2C;CAqBnD,YACU,QACA,OAAwB;EAEhC,MAAK;EAHG,KAAA,SAAA;EACA,KAAA,QAAA;EAlBD,KAAA,iBAAiB,EACxB,OAAO,EACL,mBAAmB;GACjB,WAAW;GACX,0BAA0B;GAC1B,UAAU;GACV,QAAQ;GACR,iBAAgB,CAAE;GAClB,kBAAiB,CAAE;GACnB,qBAAoB,CAAE;GACtB,oBAAmB,CAAE;EACtB,EACF,EACF;CAQD;CAEA,gBAAa;EACX,KAAK,QAAQ,gBAAgB,KAAK,KAAK;CACzC;CAEA,kBAAe;EACb,KAAK,MAAM,KAAK,MAAM,kBAAkB,4BAA4B,KAAK;EACzE,SAAiB,KAAK,OAAO;GAAC;GAAS;GAAqB;EAAQ,SAAQ;GAC1E,KAAK,MAAM,cAAa;EAC1B,CAAC;EAGD,IAAI,KAAK,OAAO,oBAAoB,oBAAoB,GACtD,KAAK,sBAAsB,SAAa,KAAK,OAAO,CAAC,eAAe,QAAQ,IAAI,EAAE,mBAAkB;GAClG,IAAI,gBAAgB,aAAa,YAAY,aAAa,oBAAoB;IAC5E,MAAM,SAAS,OAAO,KAAK,YAAY,CAAC,CACrC,MAAM,SAAU,SAAS,uBAAuB,KAAK,CAAE,CAAC,CACxD,QAAQ,QAAQ,UAAU;KAAE,GAAG;MAAS,OAAO,aAAa;IAAK,IAAK,CAAA,CAAE;IAE3E,KAAK,qBAAqB,SAAS,MAAM;GAC3C;EACF,CAAC;CAEL;CAES,cAAW;EAClB,MAAM,YAAW;EACjB,KAAK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