@ngx-formly/material 10.0.1 → 11.1.0-rc.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,68 +1,78 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { FieldType, FormlyMatFormFieldModule } from
|
|
4
|
-
import * as i3 from
|
|
5
|
-
import { MatCheckbox, MatCheckboxModule } from
|
|
6
|
-
import * as i1 from
|
|
7
|
-
import * as i2 from
|
|
8
|
-
import { ReactiveFormsModule } from
|
|
9
|
-
import * as i4 from
|
|
10
|
-
import { FormlyModule } from
|
|
11
|
-
import { CommonModule } from
|
|
12
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, NgModule, ViewChild } from "@angular/core";
|
|
3
|
+
import { FieldType, FormlyMatFormFieldModule } from "@ngx-formly/material/form-field";
|
|
4
|
+
import * as i3 from "@angular/material/checkbox";
|
|
5
|
+
import { MatCheckbox, MatCheckboxModule } from "@angular/material/checkbox";
|
|
6
|
+
import * as i1 from "@angular/cdk/a11y";
|
|
7
|
+
import * as i2 from "@angular/forms";
|
|
8
|
+
import { ReactiveFormsModule } from "@angular/forms";
|
|
9
|
+
import * as i4 from "@ngx-formly/core";
|
|
10
|
+
import { FormlyModule } from "@ngx-formly/core";
|
|
11
|
+
import { CommonModule } from "@angular/common";
|
|
12
|
+
var FormlyFieldCheckbox = class FormlyFieldCheckbox extends FieldType {
|
|
13
|
+
constructor(renderer, focusMonitor) {
|
|
14
|
+
super();
|
|
15
|
+
this.renderer = renderer;
|
|
16
|
+
this.focusMonitor = focusMonitor;
|
|
17
|
+
this.defaultOptions = { props: {
|
|
18
|
+
hideFieldUnderline: true,
|
|
19
|
+
indeterminate: true,
|
|
20
|
+
floatLabel: "always",
|
|
21
|
+
hideLabel: true,
|
|
22
|
+
color: "accent"
|
|
23
|
+
} };
|
|
24
|
+
}
|
|
25
|
+
onContainerClick(event) {
|
|
26
|
+
this.checkbox.focus();
|
|
27
|
+
super.onContainerClick(event);
|
|
28
|
+
}
|
|
29
|
+
ngAfterViewInit() {
|
|
30
|
+
if (this.checkbox) this.focusMonitor.monitor(this.checkbox._inputElement, true).subscribe((focusOrigin) => {
|
|
31
|
+
this.field.focus = !!focusOrigin;
|
|
32
|
+
this.stateChanges.next();
|
|
33
|
+
if (focusOrigin) this.props.focus && this.props.focus(this.field);
|
|
34
|
+
else this.props.blur && this.props.blur(this.field);
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
ngAfterViewChecked() {
|
|
38
|
+
if (this.required !== this._required && this.checkbox && this.checkbox._inputElement) {
|
|
39
|
+
this._required = this.required;
|
|
40
|
+
const inputElement = this.checkbox._inputElement.nativeElement;
|
|
41
|
+
if (this.required) this.renderer.setAttribute(inputElement, "required", "required");
|
|
42
|
+
else this.renderer.removeAttribute(inputElement, "required");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
ngOnDestroy() {
|
|
46
|
+
super.ngOnDestroy();
|
|
47
|
+
if (this.checkbox) this.focusMonitor.stopMonitoring(this.checkbox._inputElement);
|
|
48
|
+
}
|
|
49
|
+
static {
|
|
50
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
51
|
+
minVersion: "12.0.0",
|
|
52
|
+
version: "22.2.2",
|
|
53
|
+
ngImport: i0,
|
|
54
|
+
type: FormlyFieldCheckbox,
|
|
55
|
+
deps: [{ token: i0.Renderer2 }, { token: i1.FocusMonitor }],
|
|
56
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
static {
|
|
60
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
61
|
+
minVersion: "17.0.0",
|
|
62
|
+
version: "22.2.2",
|
|
63
|
+
type: FormlyFieldCheckbox,
|
|
64
|
+
isStandalone: false,
|
|
65
|
+
selector: "formly-field-mat-checkbox",
|
|
66
|
+
viewQueries: [{
|
|
67
|
+
propertyName: "checkbox",
|
|
68
|
+
first: true,
|
|
69
|
+
predicate: MatCheckbox,
|
|
70
|
+
descendants: true,
|
|
71
|
+
static: true
|
|
72
|
+
}],
|
|
73
|
+
usesInheritance: true,
|
|
74
|
+
ngImport: i0,
|
|
75
|
+
template: `
|
|
66
76
|
<mat-checkbox
|
|
67
77
|
[formControl]="formControl"
|
|
68
78
|
[id]="id"
|
|
@@ -73,18 +83,82 @@ class FormlyFieldCheckbox extends FieldType {
|
|
|
73
83
|
[color]="props.color"
|
|
74
84
|
[labelPosition]="props.labelPosition"
|
|
75
85
|
>
|
|
76
|
-
|
|
86
|
+
@if (props.allowHtml) {
|
|
87
|
+
<span [innerHTML]="props.label"></span>
|
|
88
|
+
} @else {
|
|
89
|
+
{{ props.label }}
|
|
90
|
+
}
|
|
77
91
|
@if (props.required && props.hideRequiredMarker !== true) {
|
|
78
92
|
<span aria-hidden="true" class="mat-form-field-required-marker mat-mdc-form-field-required-marker">*</span>
|
|
79
93
|
}
|
|
80
94
|
</mat-checkbox>
|
|
81
|
-
`,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
95
|
+
`,
|
|
96
|
+
isInline: true,
|
|
97
|
+
dependencies: [
|
|
98
|
+
{
|
|
99
|
+
kind: "directive",
|
|
100
|
+
type: i2.NgControlStatus,
|
|
101
|
+
selector: "[formControlName],[ngModel],[formControl]"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
kind: "directive",
|
|
105
|
+
type: i2.FormControlDirective,
|
|
106
|
+
selector: "[formControl]",
|
|
107
|
+
inputs: [
|
|
108
|
+
"formControl",
|
|
109
|
+
"disabled",
|
|
110
|
+
"ngModel"
|
|
111
|
+
],
|
|
112
|
+
outputs: ["ngModelChange"],
|
|
113
|
+
exportAs: ["ngForm"]
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
kind: "component",
|
|
117
|
+
type: i3.MatCheckbox,
|
|
118
|
+
selector: "mat-checkbox",
|
|
119
|
+
inputs: [
|
|
120
|
+
"aria-label",
|
|
121
|
+
"aria-labelledby",
|
|
122
|
+
"aria-describedby",
|
|
123
|
+
"aria-expanded",
|
|
124
|
+
"aria-controls",
|
|
125
|
+
"aria-owns",
|
|
126
|
+
"id",
|
|
127
|
+
"required",
|
|
128
|
+
"labelPosition",
|
|
129
|
+
"name",
|
|
130
|
+
"value",
|
|
131
|
+
"disableRipple",
|
|
132
|
+
"tabIndex",
|
|
133
|
+
"color",
|
|
134
|
+
"disabledInteractive",
|
|
135
|
+
"checked",
|
|
136
|
+
"disabled",
|
|
137
|
+
"indeterminate"
|
|
138
|
+
],
|
|
139
|
+
outputs: ["change", "indeterminateChange"],
|
|
140
|
+
exportAs: ["matCheckbox"]
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
kind: "directive",
|
|
144
|
+
type: i4.LegacyFormlyAttributes,
|
|
145
|
+
selector: "[formlyAttributes]"
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
153
|
+
minVersion: "12.0.0",
|
|
154
|
+
version: "22.2.2",
|
|
155
|
+
ngImport: i0,
|
|
156
|
+
type: FormlyFieldCheckbox,
|
|
157
|
+
decorators: [{
|
|
158
|
+
type: Component,
|
|
159
|
+
args: [{
|
|
160
|
+
selector: "formly-field-mat-checkbox",
|
|
161
|
+
template: `
|
|
88
162
|
<mat-checkbox
|
|
89
163
|
[formControl]="formControl"
|
|
90
164
|
[id]="id"
|
|
@@ -95,65 +169,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.25", ngImpo
|
|
|
95
169
|
[color]="props.color"
|
|
96
170
|
[labelPosition]="props.labelPosition"
|
|
97
171
|
>
|
|
98
|
-
|
|
172
|
+
@if (props.allowHtml) {
|
|
173
|
+
<span [innerHTML]="props.label"></span>
|
|
174
|
+
} @else {
|
|
175
|
+
{{ props.label }}
|
|
176
|
+
}
|
|
99
177
|
@if (props.required && props.hideRequiredMarker !== true) {
|
|
100
178
|
<span aria-hidden="true" class="mat-form-field-required-marker mat-mdc-form-field-required-marker">*</span>
|
|
101
179
|
}
|
|
102
180
|
</mat-checkbox>
|
|
103
181
|
`,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
182
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
183
|
+
standalone: false
|
|
184
|
+
}]
|
|
185
|
+
}],
|
|
186
|
+
ctorParameters: () => [{ type: i0.Renderer2 }, { type: i1.FocusMonitor }],
|
|
187
|
+
propDecorators: { checkbox: [{
|
|
188
|
+
type: ViewChild,
|
|
189
|
+
args: [MatCheckbox, { static: true }]
|
|
190
|
+
}] }
|
|
191
|
+
});
|
|
112
192
|
function withFormlyFieldCheckbox() {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
name: 'boolean',
|
|
122
|
-
extends: 'checkbox',
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
};
|
|
193
|
+
return { types: [{
|
|
194
|
+
name: "checkbox",
|
|
195
|
+
component: FormlyFieldCheckbox,
|
|
196
|
+
wrappers: ["form-field"]
|
|
197
|
+
}, {
|
|
198
|
+
name: "boolean",
|
|
199
|
+
extends: "checkbox"
|
|
200
|
+
}] };
|
|
126
201
|
}
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
202
|
+
var FormlyMatCheckboxModule = class FormlyMatCheckboxModule {
|
|
203
|
+
static {
|
|
204
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
205
|
+
minVersion: "12.0.0",
|
|
206
|
+
version: "22.2.2",
|
|
207
|
+
ngImport: i0,
|
|
208
|
+
type: FormlyMatCheckboxModule,
|
|
209
|
+
deps: [],
|
|
210
|
+
target: i0.ɵɵFactoryTarget.NgModule
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
static {
|
|
214
|
+
this.ɵmod = i0.ɵɵngDeclareNgModule({
|
|
215
|
+
minVersion: "14.0.0",
|
|
216
|
+
version: "22.2.2",
|
|
217
|
+
ngImport: i0,
|
|
218
|
+
type: FormlyMatCheckboxModule,
|
|
219
|
+
declarations: [FormlyFieldCheckbox],
|
|
220
|
+
imports: [
|
|
221
|
+
CommonModule,
|
|
222
|
+
ReactiveFormsModule,
|
|
223
|
+
MatCheckboxModule,
|
|
224
|
+
FormlyMatFormFieldModule,
|
|
225
|
+
i4.FormlyModule
|
|
226
|
+
]
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
static {
|
|
230
|
+
this.ɵinj = i0.ɵɵngDeclareInjector({
|
|
231
|
+
minVersion: "12.0.0",
|
|
232
|
+
version: "22.2.2",
|
|
233
|
+
ngImport: i0,
|
|
234
|
+
type: FormlyMatCheckboxModule,
|
|
235
|
+
imports: [
|
|
236
|
+
CommonModule,
|
|
237
|
+
ReactiveFormsModule,
|
|
238
|
+
MatCheckboxModule,
|
|
239
|
+
FormlyMatFormFieldModule,
|
|
240
|
+
FormlyModule.forChild(withFormlyFieldCheckbox())
|
|
241
|
+
]
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
};
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
246
|
+
minVersion: "12.0.0",
|
|
247
|
+
version: "22.2.2",
|
|
248
|
+
ngImport: i0,
|
|
249
|
+
type: FormlyMatCheckboxModule,
|
|
250
|
+
decorators: [{
|
|
251
|
+
type: NgModule,
|
|
252
|
+
args: [{
|
|
253
|
+
declarations: [FormlyFieldCheckbox],
|
|
254
|
+
imports: [
|
|
255
|
+
CommonModule,
|
|
256
|
+
ReactiveFormsModule,
|
|
257
|
+
MatCheckboxModule,
|
|
258
|
+
FormlyMatFormFieldModule,
|
|
259
|
+
FormlyModule.forChild(withFormlyFieldCheckbox())
|
|
260
|
+
]
|
|
261
|
+
}]
|
|
262
|
+
}]
|
|
263
|
+
});
|
|
158
264
|
export { FormlyFieldCheckbox, FormlyMatCheckboxModule, withFormlyFieldCheckbox };
|
|
159
|
-
|
|
265
|
+
|
|
266
|
+
//# sourceMappingURL=ngx-formly-material-checkbox.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ngx-formly-material-checkbox.mjs","sources":["../../../../src/ui/material/checkbox/src/checkbox.type.ts","../../../../src/ui/material/checkbox/src/checkbox.config.ts","../../../../src/ui/material/checkbox/src/checkbox.module.ts"
|
|
1
|
+
{"version":3,"file":"ngx-formly-material-checkbox.mjs","names":[],"sources":["../../../../src/ui/material/checkbox/src/checkbox.type.ts","../../../../src/ui/material/checkbox/src/checkbox.config.ts","../../../../src/ui/material/checkbox/src/checkbox.module.ts"],"sourcesContent":["import {\n Component,\n ViewChild,\n ChangeDetectionStrategy,\n Renderer2,\n AfterViewChecked,\n OnDestroy,\n AfterViewInit,\n Type,\n} from '@angular/core';\nimport { FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\nimport { FieldType, FormlyFieldProps } from '@ngx-formly/material/form-field';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { FocusMonitor } from '@angular/cdk/a11y';\n\ninterface CheckboxProps extends FormlyFieldProps {\n indeterminate?: boolean;\n labelPosition?: 'before' | 'after';\n}\n\nexport interface FormlyCheckboxFieldConfig extends FormlyFieldConfig<CheckboxProps> {\n type: 'checkbox' | Type<FormlyFieldCheckbox>;\n}\n\n@Component({\n selector: 'formly-field-mat-checkbox',\n template: `\n <mat-checkbox\n [formControl]=\"formControl\"\n [id]=\"id\"\n [name]=\"field.name\"\n [formlyAttributes]=\"field\"\n [tabIndex]=\"props.tabindex\"\n [indeterminate]=\"props.indeterminate && formControl.value == null\"\n [color]=\"props.color\"\n [labelPosition]=\"props.labelPosition\"\n >\n @if (props.allowHtml) {\n <span [innerHTML]=\"props.label\"></span>\n } @else {\n {{ props.label }}\n }\n @if (props.required && props.hideRequiredMarker !== true) {\n <span aria-hidden=\"true\" class=\"mat-form-field-required-marker mat-mdc-form-field-required-marker\">*</span>\n }\n </mat-checkbox>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush,\n standalone: false,\n})\nexport class FormlyFieldCheckbox\n extends FieldType<FieldTypeConfig<CheckboxProps>>\n implements AfterViewInit, AfterViewChecked, OnDestroy\n{\n @ViewChild(MatCheckbox, { static: true }) checkbox!: MatCheckbox;\n override defaultOptions = {\n props: {\n hideFieldUnderline: true,\n indeterminate: true,\n floatLabel: 'always' as const,\n hideLabel: true,\n color: 'accent' as const, // workaround for https://github.com/angular/components/issues/18465\n },\n };\n\n private _required!: boolean;\n constructor(\n private renderer: Renderer2,\n private focusMonitor: FocusMonitor,\n ) {\n super();\n }\n\n override onContainerClick(event: MouseEvent): void {\n this.checkbox.focus();\n super.onContainerClick(event);\n }\n\n ngAfterViewInit() {\n if (this.checkbox) {\n this.focusMonitor.monitor(this.checkbox._inputElement, true).subscribe((focusOrigin) => {\n this.field.focus = !!focusOrigin;\n this.stateChanges.next();\n if (focusOrigin) {\n this.props.focus && this.props.focus(this.field);\n } else {\n this.props.blur && this.props.blur(this.field);\n }\n });\n }\n }\n\n ngAfterViewChecked() {\n if (this.required !== this._required && this.checkbox && this.checkbox._inputElement) {\n this._required = this.required;\n const inputElement = this.checkbox._inputElement.nativeElement;\n if (this.required) {\n this.renderer.setAttribute(inputElement, 'required', 'required');\n } else {\n this.renderer.removeAttribute(inputElement, 'required');\n }\n }\n }\n\n override ngOnDestroy() {\n super.ngOnDestroy();\n if (this.checkbox) {\n this.focusMonitor.stopMonitoring(this.checkbox._inputElement);\n }\n }\n}\n","import { ConfigOption } from '@ngx-formly/core';\nimport { FormlyFieldCheckbox } from './checkbox.type';\n\nexport function withFormlyFieldCheckbox(): ConfigOption {\n return {\n types: [\n {\n name: 'checkbox',\n component: FormlyFieldCheckbox,\n wrappers: ['form-field'],\n },\n {\n name: 'boolean',\n extends: 'checkbox',\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 { MatCheckboxModule } from '@angular/material/checkbox';\n\nimport { FormlyFieldCheckbox } from './checkbox.type';\nimport { withFormlyFieldCheckbox } from './checkbox.config';\n\n@NgModule({\n declarations: [FormlyFieldCheckbox],\n imports: [\n CommonModule,\n ReactiveFormsModule,\n\n MatCheckboxModule,\n\n FormlyMatFormFieldModule,\n FormlyModule.forChild(withFormlyFieldCheckbox()),\n ],\n})\nexport class FormlyMatCheckboxModule {}\n"],"mappings":";;;;;;;;;;;AAkDA,IAAa,sBAAb,MAAa,4BACH,UAAyC;CAejD,YACU,UACA,cAA0B;EAElC,MAAK;EAHG,KAAA,WAAA;EACA,KAAA,eAAA;EAbD,KAAA,iBAAiB,EACxB,OAAO;GACL,oBAAoB;GACpB,eAAe;GACf,YAAY;GACZ,WAAW;GACX,OAAO;EACR,EACF;CAQD;CAES,iBAAiB,OAAiB;EACzC,KAAK,SAAS,MAAK;EACnB,MAAM,iBAAiB,KAAK;CAC9B;CAEA,kBAAe;EACb,IAAI,KAAK,UACP,KAAK,aAAa,QAAQ,KAAK,SAAS,eAAe,IAAI,CAAC,CAAC,WAAW,gBAAe;GACrF,KAAK,MAAM,QAAQ,CAAC,CAAC;GACrB,KAAK,aAAa,KAAI;GACtB,IAAI,aACF,KAAK,MAAM,SAAS,KAAK,MAAM,MAAM,KAAK,KAAK;QAE/C,KAAK,MAAM,QAAQ,KAAK,MAAM,KAAK,KAAK,KAAK;EAEjD,CAAC;CAEL;CAEA,qBAAkB;EAChB,IAAI,KAAK,aAAa,KAAK,aAAa,KAAK,YAAY,KAAK,SAAS,eAAe;GACpF,KAAK,YAAY,KAAK;GACtB,MAAM,eAAe,KAAK,SAAS,cAAc;GACjD,IAAI,KAAK,UACP,KAAK,SAAS,aAAa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