@ng-forge/dynamic-forms-material 1.3.0-next.2 → 1.3.0-next.4
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/ng-forge-dynamic-forms-material-lazy-addon-button.mjs +118 -33
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-button.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-icon.mjs +112 -33
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-addon-icon.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-button.mjs +96 -33
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-button.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-checkbox.mjs +137 -29
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-checkbox.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-datepicker.mjs +316 -62
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-datepicker.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-input.mjs +253 -107
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-input.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs +179 -65
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-radio.mjs +168 -27
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-radio.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-select.mjs +253 -56
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-select.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-slider.mjs +157 -27
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-slider.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-textarea.mjs +206 -51
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-textarea.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-toggle.mjs +134 -29
- package/fesm2022/ng-forge-dynamic-forms-material-lazy-toggle.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-bFeO_Ift.mjs +64 -0
- package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-bFeO_Ift.mjs.map +1 -0
- package/fesm2022/ng-forge-dynamic-forms-material-shared.mjs +7 -11
- package/fesm2022/ng-forge-dynamic-forms-material-shared.mjs.map +1 -1
- package/fesm2022/ng-forge-dynamic-forms-material.mjs +241 -260
- package/fesm2022/ng-forge-dynamic-forms-material.mjs.map +1 -1
- package/package.json +2 -2
- package/types/ng-forge-dynamic-forms-material-lazy-addon-button.d.ts +17 -17
- package/types/ng-forge-dynamic-forms-material-lazy-addon-icon.d.ts +23 -16
- package/types/ng-forge-dynamic-forms-material-lazy-button.d.ts +87 -81
- package/types/ng-forge-dynamic-forms-material-lazy-checkbox.d.ts +27 -21
- package/types/ng-forge-dynamic-forms-material-lazy-datepicker.d.ts +68 -40
- package/types/ng-forge-dynamic-forms-material-lazy-input.d.ts +54 -41
- package/types/ng-forge-dynamic-forms-material-lazy-multi-checkbox.d.ts +35 -24
- package/types/ng-forge-dynamic-forms-material-lazy-radio.d.ts +30 -19
- package/types/ng-forge-dynamic-forms-material-lazy-select.d.ts +56 -38
- package/types/ng-forge-dynamic-forms-material-lazy-slider.d.ts +33 -22
- package/types/ng-forge-dynamic-forms-material-lazy-textarea.d.ts +47 -34
- package/types/ng-forge-dynamic-forms-material-lazy-toggle.d.ts +29 -23
- package/types/ng-forge-dynamic-forms-material-shared.d.ts +56 -64
- package/types/ng-forge-dynamic-forms-material.d.ts +211 -237
- package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-Dz2-IbBh.mjs +0 -26
- package/fesm2022/ng-forge-dynamic-forms-material-mat-field-errors-wrapper.component-Dz2-IbBh.mjs.map +0 -1
|
@@ -1,58 +1,80 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import { MatCheckbox } from
|
|
4
|
-
import * as i1 from
|
|
5
|
-
import {
|
|
6
|
-
import { explicitEffect } from
|
|
7
|
-
import { MatError } from
|
|
8
|
-
import { AsyncPipe } from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, computed, input, linkedSignal } from "@angular/core";
|
|
3
|
+
import { MatCheckbox } from "@angular/material/checkbox";
|
|
4
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
5
|
+
import { DynamicTextPipe, NgForgeControl, NgForgeFieldHost, injectNgForgeField, isEqual } from "@ng-forge/dynamic-forms/integration";
|
|
6
|
+
import { explicitEffect } from "ngxtension/explicit-effect";
|
|
7
|
+
import { MatError } from "@angular/material/input";
|
|
8
|
+
import { AsyncPipe } from "@angular/common";
|
|
9
|
+
var MatMultiCheckboxFieldComponent = class MatMultiCheckboxFieldComponent {
|
|
10
|
+
ngf = injectNgForgeField();
|
|
11
|
+
options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
12
|
+
props = input(...ngDevMode ? [void 0, { debugName: "props" }] : /* istanbul ignore next */ []);
|
|
13
|
+
valueViewModel = linkedSignal(() => {
|
|
14
|
+
const currentValues = this.ngf.field()().value();
|
|
15
|
+
return this.options().filter((option) => currentValues.includes(option.value));
|
|
16
|
+
}, {
|
|
17
|
+
...ngDevMode ? { debugName: "valueViewModel" } : /* istanbul ignore next */ {},
|
|
18
|
+
equal: isEqual
|
|
19
|
+
});
|
|
20
|
+
checkedValuesMap = computed(() => {
|
|
21
|
+
const map = {};
|
|
22
|
+
for (const opt of this.valueViewModel()) map[String(opt.value)] = true;
|
|
23
|
+
return map;
|
|
24
|
+
}, ...ngDevMode ? [{ debugName: "checkedValuesMap" }] : /* istanbul ignore next */ []);
|
|
25
|
+
constructor() {
|
|
26
|
+
explicitEffect([this.valueViewModel], ([selectedOptions]) => {
|
|
27
|
+
const selectedValues = selectedOptions.map((option) => option.value);
|
|
28
|
+
if (!isEqual(selectedValues, this.ngf.field()().value())) this.ngf.field()().value.set(selectedValues);
|
|
29
|
+
});
|
|
30
|
+
explicitEffect([this.options], ([options]) => {
|
|
31
|
+
const values = options.map((option) => option.value);
|
|
32
|
+
const uniqueValues = new Set(values);
|
|
33
|
+
if (values.length !== uniqueValues.size) {
|
|
34
|
+
const duplicates = values.filter((value, index) => values.indexOf(value) !== index);
|
|
35
|
+
throw new Error(`Duplicate option values detected in mat-multi-checkbox: ${duplicates.join(", ")}`);
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
onCheckboxChange(option, checked) {
|
|
40
|
+
this.valueViewModel.update((currentOptions) => {
|
|
41
|
+
if (checked) return currentOptions.some((opt) => opt.value === option.value) ? currentOptions : [...currentOptions, option];
|
|
42
|
+
else return currentOptions.filter((opt) => opt.value !== option.value);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
46
|
+
minVersion: "12.0.0",
|
|
47
|
+
version: "22.2.5",
|
|
48
|
+
ngImport: i0,
|
|
49
|
+
type: MatMultiCheckboxFieldComponent,
|
|
50
|
+
deps: [],
|
|
51
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
52
|
+
});
|
|
53
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
54
|
+
minVersion: "17.0.0",
|
|
55
|
+
version: "22.2.5",
|
|
56
|
+
type: MatMultiCheckboxFieldComponent,
|
|
57
|
+
isStandalone: true,
|
|
58
|
+
selector: "df-mat-multi-checkbox",
|
|
59
|
+
inputs: {
|
|
60
|
+
options: {
|
|
61
|
+
classPropertyName: "options",
|
|
62
|
+
publicName: "options",
|
|
63
|
+
isSignal: true,
|
|
64
|
+
isRequired: false,
|
|
65
|
+
transformFunction: null
|
|
66
|
+
},
|
|
67
|
+
props: {
|
|
68
|
+
classPropertyName: "props",
|
|
69
|
+
publicName: "props",
|
|
70
|
+
isSignal: true,
|
|
71
|
+
isRequired: false,
|
|
72
|
+
transformFunction: null
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
hostDirectives: [{ directive: i1.NgForgeFieldHost }],
|
|
76
|
+
ngImport: i0,
|
|
77
|
+
template: `
|
|
56
78
|
@let f = ngf.field();
|
|
57
79
|
@let checkboxGroupId = ngf.key() + '-checkbox-group';
|
|
58
80
|
@let checked = checkedValuesMap();
|
|
@@ -88,11 +110,81 @@ class MatMultiCheckboxFieldComponent {
|
|
|
88
110
|
} @else if (props()?.hint; as hint) {
|
|
89
111
|
<div class="mat-hint" [id]="ngf.hintId()">{{ hint | dynamicText | async }}</div>
|
|
90
112
|
}
|
|
91
|
-
`,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
113
|
+
`,
|
|
114
|
+
isInline: true,
|
|
115
|
+
styles: [":host{display:block;width:100%}:host([hidden]){display:none!important}.df-mat-field{display:flex;flex-direction:column;gap:var(--df-field-gap, .5rem);width:100%}.df-mat-label{font-weight:var(--df-label-font-weight, 500);color:var(--df-label-color, inherit)}.df-mat-hint{color:var(--df-hint-color, rgba(0, 0, 0, .6));font-size:var(--df-hint-font-size, .875rem)}.df-mat-error{color:var(--df-error-color, #f44336);font-size:var(--df-error-font-size, .875rem)}:host{--df-mat-addon-prefix-outer-padding: .75em;--df-mat-addon-prefix-inner-padding: .5em;--df-mat-addon-suffix-inner-padding: .5em;--df-mat-addon-suffix-outer-padding: .75em;--df-mat-addon-prefix-text-outer-padding: 1em;--df-mat-addon-prefix-text-inner-padding: 1em;--df-mat-addon-suffix-text-inner-padding: 1em;--df-mat-addon-suffix-text-outer-padding: 1em}df-addon-slot[matprefix]{padding-left:var(--df-mat-addon-prefix-outer-padding);padding-right:var(--df-mat-addon-prefix-inner-padding)}df-addon-slot[matsuffix]{padding-left:var(--df-mat-addon-suffix-inner-padding);padding-right:var(--df-mat-addon-suffix-outer-padding)}df-addon-slot[matprefix].df-mat-addon-text{padding-left:var(--df-mat-addon-prefix-text-outer-padding);padding-right:var(--df-mat-addon-prefix-text-inner-padding)}df-addon-slot[matsuffix].df-mat-addon-text{padding-left:var(--df-mat-addon-suffix-text-inner-padding);padding-right:var(--df-mat-addon-suffix-text-outer-padding)}\n"],
|
|
116
|
+
dependencies: [
|
|
117
|
+
{
|
|
118
|
+
kind: "component",
|
|
119
|
+
type: MatCheckbox,
|
|
120
|
+
selector: "mat-checkbox",
|
|
121
|
+
inputs: [
|
|
122
|
+
"aria-label",
|
|
123
|
+
"aria-labelledby",
|
|
124
|
+
"aria-describedby",
|
|
125
|
+
"aria-expanded",
|
|
126
|
+
"aria-controls",
|
|
127
|
+
"aria-owns",
|
|
128
|
+
"id",
|
|
129
|
+
"required",
|
|
130
|
+
"labelPosition",
|
|
131
|
+
"name",
|
|
132
|
+
"value",
|
|
133
|
+
"disableRipple",
|
|
134
|
+
"tabIndex",
|
|
135
|
+
"color",
|
|
136
|
+
"disabledInteractive",
|
|
137
|
+
"checked",
|
|
138
|
+
"disabled",
|
|
139
|
+
"indeterminate"
|
|
140
|
+
],
|
|
141
|
+
outputs: ["change", "indeterminateChange"],
|
|
142
|
+
exportAs: ["matCheckbox"]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
kind: "directive",
|
|
146
|
+
type: MatError,
|
|
147
|
+
selector: "mat-error, [matError]",
|
|
148
|
+
inputs: ["id"]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
kind: "directive",
|
|
152
|
+
type: NgForgeControl,
|
|
153
|
+
selector: "[ngForgeControl]",
|
|
154
|
+
inputs: ["ngForgeControl"]
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
kind: "pipe",
|
|
158
|
+
type: DynamicTextPipe,
|
|
159
|
+
name: "dynamicText"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
kind: "pipe",
|
|
163
|
+
type: AsyncPipe,
|
|
164
|
+
name: "async"
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
168
|
+
});
|
|
169
|
+
};
|
|
170
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
171
|
+
minVersion: "12.0.0",
|
|
172
|
+
version: "22.2.5",
|
|
173
|
+
ngImport: i0,
|
|
174
|
+
type: MatMultiCheckboxFieldComponent,
|
|
175
|
+
decorators: [{
|
|
176
|
+
type: Component,
|
|
177
|
+
args: [{
|
|
178
|
+
selector: "df-mat-multi-checkbox",
|
|
179
|
+
imports: [
|
|
180
|
+
MatCheckbox,
|
|
181
|
+
MatError,
|
|
182
|
+
DynamicTextPipe,
|
|
183
|
+
AsyncPipe,
|
|
184
|
+
NgForgeControl
|
|
185
|
+
],
|
|
186
|
+
hostDirectives: [NgForgeFieldHost],
|
|
187
|
+
template: `
|
|
96
188
|
@let f = ngf.field();
|
|
97
189
|
@let checkboxGroupId = ngf.key() + '-checkbox-group';
|
|
98
190
|
@let checked = checkedValuesMap();
|
|
@@ -128,9 +220,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
|
|
|
128
220
|
} @else if (props()?.hint; as hint) {
|
|
129
221
|
<div class="mat-hint" [id]="ngf.hintId()">{{ hint | dynamicText | async }}</div>
|
|
130
222
|
}
|
|
131
|
-
`,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
223
|
+
`,
|
|
224
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
225
|
+
styles: [":host{display:block;width:100%}:host([hidden]){display:none!important}.df-mat-field{display:flex;flex-direction:column;gap:var(--df-field-gap, .5rem);width:100%}.df-mat-label{font-weight:var(--df-label-font-weight, 500);color:var(--df-label-color, inherit)}.df-mat-hint{color:var(--df-hint-color, rgba(0, 0, 0, .6));font-size:var(--df-hint-font-size, .875rem)}.df-mat-error{color:var(--df-error-color, #f44336);font-size:var(--df-error-font-size, .875rem)}:host{--df-mat-addon-prefix-outer-padding: .75em;--df-mat-addon-prefix-inner-padding: .5em;--df-mat-addon-suffix-inner-padding: .5em;--df-mat-addon-suffix-outer-padding: .75em;--df-mat-addon-prefix-text-outer-padding: 1em;--df-mat-addon-prefix-text-inner-padding: 1em;--df-mat-addon-suffix-text-inner-padding: 1em;--df-mat-addon-suffix-text-outer-padding: 1em}df-addon-slot[matprefix]{padding-left:var(--df-mat-addon-prefix-outer-padding);padding-right:var(--df-mat-addon-prefix-inner-padding)}df-addon-slot[matsuffix]{padding-left:var(--df-mat-addon-suffix-inner-padding);padding-right:var(--df-mat-addon-suffix-outer-padding)}df-addon-slot[matprefix].df-mat-addon-text{padding-left:var(--df-mat-addon-prefix-text-outer-padding);padding-right:var(--df-mat-addon-prefix-text-inner-padding)}df-addon-slot[matsuffix].df-mat-addon-text{padding-left:var(--df-mat-addon-suffix-text-inner-padding);padding-right:var(--df-mat-addon-suffix-text-outer-padding)}\n"]
|
|
226
|
+
}]
|
|
227
|
+
}],
|
|
228
|
+
ctorParameters: () => [],
|
|
229
|
+
propDecorators: {
|
|
230
|
+
options: [{
|
|
231
|
+
type: i0.Input,
|
|
232
|
+
args: [{
|
|
233
|
+
isSignal: true,
|
|
234
|
+
alias: "options",
|
|
235
|
+
required: false
|
|
236
|
+
}]
|
|
237
|
+
}],
|
|
238
|
+
props: [{
|
|
239
|
+
type: i0.Input,
|
|
240
|
+
args: [{
|
|
241
|
+
isSignal: true,
|
|
242
|
+
alias: "props",
|
|
243
|
+
required: false
|
|
244
|
+
}]
|
|
245
|
+
}]
|
|
246
|
+
}
|
|
247
|
+
});
|
|
135
248
|
export { MatMultiCheckboxFieldComponent };
|
|
136
|
-
|
|
249
|
+
|
|
250
|
+
//# sourceMappingURL=ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs","
|
|
1
|
+
{"version":3,"file":"ng-forge-dynamic-forms-material-lazy-multi-checkbox.mjs","names":[],"sources":["../../../../packages/dynamic-forms-material/src/lib/fields/multi-checkbox/mat-multi-checkbox.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, computed, input, linkedSignal } from '@angular/core';\nimport { MatCheckbox } from '@angular/material/checkbox';\nimport { FieldOption, ValueType } from '@ng-forge/dynamic-forms';\nimport { DynamicTextPipe } from '@ng-forge/dynamic-forms/integration';\nimport { injectNgForgeField, NgForgeFieldHost, isEqual, NgForgeControl } from '@ng-forge/dynamic-forms/integration';\nimport { explicitEffect } from 'ngxtension/explicit-effect';\nimport { MatMultiCheckboxProps } from './mat-multi-checkbox.type';\nimport { MatError } from '@angular/material/input';\nimport { AsyncPipe } from '@angular/common';\n\n@Component({\n selector: 'df-mat-multi-checkbox',\n imports: [MatCheckbox, MatError, DynamicTextPipe, AsyncPipe, NgForgeControl],\n hostDirectives: [NgForgeFieldHost],\n template: `\n @let f = ngf.field();\n @let checkboxGroupId = ngf.key() + '-checkbox-group';\n @let checked = checkedValuesMap();\n\n @if (ngf.label(); as label) {\n <div class=\"checkbox-group-label\">{{ label | dynamicText | async }}</div>\n }\n\n <div\n [id]=\"checkboxGroupId\"\n class=\"checkbox-group\"\n role=\"group\"\n [attr.aria-invalid]=\"ngf.ariaInvalid()\"\n [attr.aria-required]=\"ngf.ariaRequired()\"\n [attr.aria-describedby]=\"ngf.ariaDescribedBy()\"\n >\n @for (option of options(); track option.value) {\n <mat-checkbox\n ngForgeControl=\"input[type='checkbox']\"\n [checked]=\"checked['' + option.value]\"\n [disabled]=\"f().disabled() || option.disabled\"\n [color]=\"props()?.color || 'primary'\"\n [labelPosition]=\"props()?.labelPosition || 'after'\"\n (change)=\"onCheckboxChange(option, $event.checked)\"\n >\n {{ option.label | dynamicText | async }}\n </mat-checkbox>\n }\n </div>\n\n @if (ngf.errorsToDisplay()[0]; as error) {\n <mat-error [id]=\"ngf.errorId()\">{{ error.message }}</mat-error>\n } @else if (props()?.hint; as hint) {\n <div class=\"mat-hint\" [id]=\"ngf.hintId()\">{{ hint | dynamicText | async }}</div>\n }\n `,\n styleUrl: '../../styles/_form-field.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport default class MatMultiCheckboxFieldComponent {\n protected readonly ngf = injectNgForgeField<ValueType[]>();\n\n readonly options = input<FieldOption<ValueType>[]>([]);\n readonly props = input<MatMultiCheckboxProps>();\n\n valueViewModel = linkedSignal<FieldOption<ValueType>[]>(\n () => {\n const currentValues = this.ngf.field()().value();\n return this.options().filter((option) => currentValues.includes(option.value));\n },\n { equal: isEqual },\n );\n\n /** Computed map of checked option values for O(1) lookup in template */\n readonly checkedValuesMap = computed(() => {\n const map: Record<string, boolean> = {};\n for (const opt of this.valueViewModel()) {\n map[String(opt.value)] = true;\n }\n return map;\n });\n\n constructor() {\n explicitEffect([this.valueViewModel], ([selectedOptions]) => {\n const selectedValues = selectedOptions.map((option) => option.value);\n\n if (!isEqual(selectedValues, this.ngf.field()().value())) {\n this.ngf.field()().value.set(selectedValues);\n }\n });\n\n explicitEffect([this.options], ([options]) => {\n const values = options.map((option) => option.value);\n const uniqueValues = new Set(values);\n\n if (values.length !== uniqueValues.size) {\n const duplicates = values.filter((value, index) => values.indexOf(value) !== index);\n throw new Error(`Duplicate option values detected in mat-multi-checkbox: ${duplicates.join(', ')}`);\n }\n });\n }\n\n onCheckboxChange(option: FieldOption<ValueType>, checked: boolean): void {\n this.valueViewModel.update((currentOptions) => {\n if (checked) {\n return currentOptions.some((opt) => opt.value === option.value) ? currentOptions : [...currentOptions, option];\n } else {\n return currentOptions.filter((opt) => opt.value !== option.value);\n }\n });\n }\n}\n"],"mappings":";;;;;;;;AAsDA,IAAqB,iCAArB,MAAqB,+BAA8B;CAC9B,MAAM,mBAAkB;CAElC,UAAU,MAAgC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,QAAQ,MAA8B,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAE/C,iBAAiB,mBACV;EACH,MAAM,gBAAgB,KAAK,IAAI,MAAK,CAAE,CAAA,CAAE,CAAC,MAAK;EAC9C,OAAO,KAAK,QAAO,CAAE,CAAC,QAAQ,WAAW,cAAc,SAAS,OAAO,KAAK,CAAC;CAC/E,GAAC;EAAA,GAAA,YAAA,EAAA,WAAA,iBAAA,+BAAA,CAAA;EACC,OAAO;CAAO,CAAA;CAIT,mBAAmB,eAAc;EACxC,MAAM,MAA+B,CAAA;EACrC,KAAK,MAAM,OAAO,KAAK,eAAc,GACnC,IAAI,OAAO,IAAI,KAAK,KAAK;EAE3B,OAAO;CACT,GAAE,GAAA,YAAA,CAAA,EAAA,WAAA,mBAAA,CAAA,+BAAA,CAAA,CAAA;CAEF,cAAA;EACE,eAAe,CAAC,KAAK,cAAc,IAAI,CAAC,qBAAoB;GAC1D,MAAM,iBAAiB,g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
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, input } from "@angular/core";
|
|
3
|
+
import { FormField } from "@angular/forms/signals";
|
|
4
|
+
import { MatRadioButton, MatRadioGroup } from "@angular/material/radio";
|
|
5
|
+
import * as i1 from "@ng-forge/dynamic-forms/integration";
|
|
6
|
+
import { DynamicTextPipe, NgForgeControl, NgForgeFieldHost, injectNgForgeField } from "@ng-forge/dynamic-forms/integration";
|
|
7
|
+
import { MatError } from "@angular/material/input";
|
|
8
|
+
import { AsyncPipe } from "@angular/common";
|
|
9
|
+
var MatRadioFieldComponent = class MatRadioFieldComponent {
|
|
10
|
+
ngf = injectNgForgeField();
|
|
11
|
+
options = input([], ...ngDevMode ? [{ debugName: "options" }] : /* istanbul ignore next */ []);
|
|
12
|
+
props = input(...ngDevMode ? [void 0, { debugName: "props" }] : /* istanbul ignore next */ []);
|
|
13
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
14
|
+
minVersion: "12.0.0",
|
|
15
|
+
version: "22.2.5",
|
|
16
|
+
ngImport: i0,
|
|
17
|
+
type: MatRadioFieldComponent,
|
|
18
|
+
deps: [],
|
|
19
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
20
|
+
});
|
|
21
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
22
|
+
minVersion: "17.0.0",
|
|
23
|
+
version: "22.2.5",
|
|
24
|
+
type: MatRadioFieldComponent,
|
|
25
|
+
isStandalone: true,
|
|
26
|
+
selector: "df-mat-radio",
|
|
27
|
+
inputs: {
|
|
28
|
+
options: {
|
|
29
|
+
classPropertyName: "options",
|
|
30
|
+
publicName: "options",
|
|
31
|
+
isSignal: true,
|
|
32
|
+
isRequired: false,
|
|
33
|
+
transformFunction: null
|
|
34
|
+
},
|
|
35
|
+
props: {
|
|
36
|
+
classPropertyName: "props",
|
|
37
|
+
publicName: "props",
|
|
38
|
+
isSignal: true,
|
|
39
|
+
isRequired: false,
|
|
40
|
+
transformFunction: null
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
hostDirectives: [{ directive: i1.NgForgeFieldHost }],
|
|
44
|
+
ngImport: i0,
|
|
45
|
+
template: `
|
|
18
46
|
@let f = ngf.field();
|
|
19
47
|
@let radioGroupId = ngf.key() + '-radio-group';
|
|
20
48
|
|
|
@@ -47,11 +75,103 @@ class MatRadioFieldComponent {
|
|
|
47
75
|
} @else if (props()?.hint; as hint) {
|
|
48
76
|
<div class="mat-hint" [id]="ngf.hintId()">{{ hint | dynamicText | async }}</div>
|
|
49
77
|
}
|
|
50
|
-
`,
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
78
|
+
`,
|
|
79
|
+
isInline: true,
|
|
80
|
+
styles: [":host{display:block;width:100%}:host([hidden]){display:none!important}.df-mat-field{display:flex;flex-direction:column;gap:var(--df-field-gap, .5rem);width:100%}.df-mat-label{font-weight:var(--df-label-font-weight, 500);color:var(--df-label-color, inherit)}.df-mat-hint{color:var(--df-hint-color, rgba(0, 0, 0, .6));font-size:var(--df-hint-font-size, .875rem)}.df-mat-error{color:var(--df-error-color, #f44336);font-size:var(--df-error-font-size, .875rem)}:host{--df-mat-addon-prefix-outer-padding: .75em;--df-mat-addon-prefix-inner-padding: .5em;--df-mat-addon-suffix-inner-padding: .5em;--df-mat-addon-suffix-outer-padding: .75em;--df-mat-addon-prefix-text-outer-padding: 1em;--df-mat-addon-prefix-text-inner-padding: 1em;--df-mat-addon-suffix-text-inner-padding: 1em;--df-mat-addon-suffix-text-outer-padding: 1em}df-addon-slot[matprefix]{padding-left:var(--df-mat-addon-prefix-outer-padding);padding-right:var(--df-mat-addon-prefix-inner-padding)}df-addon-slot[matsuffix]{padding-left:var(--df-mat-addon-suffix-inner-padding);padding-right:var(--df-mat-addon-suffix-outer-padding)}df-addon-slot[matprefix].df-mat-addon-text{padding-left:var(--df-mat-addon-prefix-text-outer-padding);padding-right:var(--df-mat-addon-prefix-text-inner-padding)}df-addon-slot[matsuffix].df-mat-addon-text{padding-left:var(--df-mat-addon-suffix-text-inner-padding);padding-right:var(--df-mat-addon-suffix-text-outer-padding)}\n"],
|
|
81
|
+
dependencies: [
|
|
82
|
+
{
|
|
83
|
+
kind: "directive",
|
|
84
|
+
type: MatRadioGroup,
|
|
85
|
+
selector: "mat-radio-group",
|
|
86
|
+
inputs: [
|
|
87
|
+
"color",
|
|
88
|
+
"name",
|
|
89
|
+
"labelPosition",
|
|
90
|
+
"value",
|
|
91
|
+
"selected",
|
|
92
|
+
"disabled",
|
|
93
|
+
"required",
|
|
94
|
+
"disabledInteractive"
|
|
95
|
+
],
|
|
96
|
+
outputs: ["change"],
|
|
97
|
+
exportAs: ["matRadioGroup"]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
kind: "component",
|
|
101
|
+
type: MatRadioButton,
|
|
102
|
+
selector: "mat-radio-button",
|
|
103
|
+
inputs: [
|
|
104
|
+
"id",
|
|
105
|
+
"name",
|
|
106
|
+
"aria-label",
|
|
107
|
+
"aria-labelledby",
|
|
108
|
+
"aria-describedby",
|
|
109
|
+
"disableRipple",
|
|
110
|
+
"tabIndex",
|
|
111
|
+
"checked",
|
|
112
|
+
"value",
|
|
113
|
+
"labelPosition",
|
|
114
|
+
"disabled",
|
|
115
|
+
"required",
|
|
116
|
+
"color",
|
|
117
|
+
"disabledInteractive"
|
|
118
|
+
],
|
|
119
|
+
outputs: ["change"],
|
|
120
|
+
exportAs: ["matRadioButton"]
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
kind: "directive",
|
|
124
|
+
type: FormField,
|
|
125
|
+
selector: "[formField]",
|
|
126
|
+
inputs: ["formField"],
|
|
127
|
+
exportAs: ["formField"]
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
kind: "directive",
|
|
131
|
+
type: MatError,
|
|
132
|
+
selector: "mat-error, [matError]",
|
|
133
|
+
inputs: ["id"]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
kind: "directive",
|
|
137
|
+
type: NgForgeControl,
|
|
138
|
+
selector: "[ngForgeControl]",
|
|
139
|
+
inputs: ["ngForgeControl"]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
kind: "pipe",
|
|
143
|
+
type: DynamicTextPipe,
|
|
144
|
+
name: "dynamicText"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
kind: "pipe",
|
|
148
|
+
type: AsyncPipe,
|
|
149
|
+
name: "async"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
156
|
+
minVersion: "12.0.0",
|
|
157
|
+
version: "22.2.5",
|
|
158
|
+
ngImport: i0,
|
|
159
|
+
type: MatRadioFieldComponent,
|
|
160
|
+
decorators: [{
|
|
161
|
+
type: Component,
|
|
162
|
+
args: [{
|
|
163
|
+
selector: "df-mat-radio",
|
|
164
|
+
imports: [
|
|
165
|
+
MatRadioGroup,
|
|
166
|
+
MatRadioButton,
|
|
167
|
+
FormField,
|
|
168
|
+
MatError,
|
|
169
|
+
DynamicTextPipe,
|
|
170
|
+
AsyncPipe,
|
|
171
|
+
NgForgeControl
|
|
172
|
+
],
|
|
173
|
+
hostDirectives: [NgForgeFieldHost],
|
|
174
|
+
template: `
|
|
55
175
|
@let f = ngf.field();
|
|
56
176
|
@let radioGroupId = ngf.key() + '-radio-group';
|
|
57
177
|
|
|
@@ -84,9 +204,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.1.5", ngImpor
|
|
|
84
204
|
} @else if (props()?.hint; as hint) {
|
|
85
205
|
<div class="mat-hint" [id]="ngf.hintId()">{{ hint | dynamicText | async }}</div>
|
|
86
206
|
}
|
|
87
|
-
`,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
207
|
+
`,
|
|
208
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
209
|
+
styles: [":host{display:block;width:100%}:host([hidden]){display:none!important}.df-mat-field{display:flex;flex-direction:column;gap:var(--df-field-gap, .5rem);width:100%}.df-mat-label{font-weight:var(--df-label-font-weight, 500);color:var(--df-label-color, inherit)}.df-mat-hint{color:var(--df-hint-color, rgba(0, 0, 0, .6));font-size:var(--df-hint-font-size, .875rem)}.df-mat-error{color:var(--df-error-color, #f44336);font-size:var(--df-error-font-size, .875rem)}:host{--df-mat-addon-prefix-outer-padding: .75em;--df-mat-addon-prefix-inner-padding: .5em;--df-mat-addon-suffix-inner-padding: .5em;--df-mat-addon-suffix-outer-padding: .75em;--df-mat-addon-prefix-text-outer-padding: 1em;--df-mat-addon-prefix-text-inner-padding: 1em;--df-mat-addon-suffix-text-inner-padding: 1em;--df-mat-addon-suffix-text-outer-padding: 1em}df-addon-slot[matprefix]{padding-left:var(--df-mat-addon-prefix-outer-padding);padding-right:var(--df-mat-addon-prefix-inner-padding)}df-addon-slot[matsuffix]{padding-left:var(--df-mat-addon-suffix-inner-padding);padding-right:var(--df-mat-addon-suffix-outer-padding)}df-addon-slot[matprefix].df-mat-addon-text{padding-left:var(--df-mat-addon-prefix-text-outer-padding);padding-right:var(--df-mat-addon-prefix-text-inner-padding)}df-addon-slot[matsuffix].df-mat-addon-text{padding-left:var(--df-mat-addon-suffix-text-inner-padding);padding-right:var(--df-mat-addon-suffix-text-outer-padding)}\n"]
|
|
210
|
+
}]
|
|
211
|
+
}],
|
|
212
|
+
propDecorators: {
|
|
213
|
+
options: [{
|
|
214
|
+
type: i0.Input,
|
|
215
|
+
args: [{
|
|
216
|
+
isSignal: true,
|
|
217
|
+
alias: "options",
|
|
218
|
+
required: false
|
|
219
|
+
}]
|
|
220
|
+
}],
|
|
221
|
+
props: [{
|
|
222
|
+
type: i0.Input,
|
|
223
|
+
args: [{
|
|
224
|
+
isSignal: true,
|
|
225
|
+
alias: "props",
|
|
226
|
+
required: false
|
|
227
|
+
}]
|
|
228
|
+
}]
|
|
229
|
+
}
|
|
230
|
+
});
|
|
91
231
|
export { MatRadioFieldComponent };
|
|
92
|
-
|
|
232
|
+
|
|
233
|
+
//# sourceMappingURL=ng-forge-dynamic-forms-material-lazy-radio.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ng-forge-dynamic-forms-material-lazy-radio.mjs","
|
|
1
|
+
{"version":3,"file":"ng-forge-dynamic-forms-material-lazy-radio.mjs","names":[],"sources":["../../../../packages/dynamic-forms-material/src/lib/fields/radio/mat-radio.component.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, input } from '@angular/core';\nimport { FormField } from '@angular/forms/signals';\nimport { MatRadioButton, MatRadioGroup } from '@angular/material/radio';\nimport { FieldOption, ValueType } from '@ng-forge/dynamic-forms';\nimport { DynamicTextPipe } from '@ng-forge/dynamic-forms/integration';\nimport { NgForgeControl, injectNgForgeField, NgForgeFieldHost } from '@ng-forge/dynamic-forms/integration';\nimport { MatRadioProps } from './mat-radio.type';\nimport { MatError } from '@angular/material/input';\nimport { AsyncPipe } from '@angular/common';\n\n@Component({\n selector: 'df-mat-radio',\n imports: [MatRadioGroup, MatRadioButton, FormField, MatError, DynamicTextPipe, AsyncPipe, NgForgeControl],\n hostDirectives: [NgForgeFieldHost],\n template: `\n @let f = ngf.field();\n @let radioGroupId = ngf.key() + '-radio-group';\n\n @if (ngf.label()) {\n <div class=\"radio-label\">{{ ngf.label() | dynamicText | async }}</div>\n }\n\n <mat-radio-group\n [id]=\"radioGroupId\"\n [formField]=\"f\"\n [attr.aria-invalid]=\"ngf.ariaInvalid()\"\n [attr.aria-required]=\"ngf.ariaRequired()\"\n [attr.aria-describedby]=\"ngf.ariaDescribedBy()\"\n >\n @for (option of options(); track option.value) {\n <mat-radio-button\n ngForgeControl=\"input[type='radio']\"\n [value]=\"option.value\"\n [disabled]=\"option.disabled || false\"\n [color]=\"props()?.color || 'primary'\"\n [labelPosition]=\"props()?.labelPosition || 'after'\"\n >\n {{ option.label | dynamicText | async }}\n </mat-radio-button>\n }\n </mat-radio-group>\n\n @if (ngf.errorsToDisplay()[0]; as error) {\n <mat-error [id]=\"ngf.errorId()\">{{ error.message }}</mat-error>\n } @else if (props()?.hint; as hint) {\n <div class=\"mat-hint\" [id]=\"ngf.hintId()\">{{ hint | dynamicText | async }}</div>\n }\n `,\n styleUrl: '../../styles/_form-field.scss',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport default class MatRadioFieldComponent {\n protected readonly ngf = injectNgForgeField<ValueType>();\n\n readonly options = input<FieldOption<ValueType>[]>([]);\n readonly props = input<MatRadioProps>();\n}\n"],"mappings":";;;;;;;;AAmDA,IAAqB,yBAArB,MAAqB,uBAAsB;CACtB,MAAM,mBAAkB;CAElC,UAAU,MAAgC,CAAA,GAAG,GAAA,YAAA,CAAA,EAAA,WAAA,UAAA,CAAA,+BAAA,CAAA,CAAA;CAC7C,QAAQ,MAAsB,GAAA,YAAA,CAAA,QAAA,EAAA,WAAA,QAAA,CAAA,+BAAA,CAAA,CAAA;CAJpB,OAAA,OAAA,GAAA,mBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,UAAA;EAAA,MAAA;EAAsB,MAAA,CAAA;EAAA,QAAA,GAAA,gBAAA;CAAA,CAAA;CAAtB,OAAA,OAAA,GAAA,qBAAA;EAAA,YAAA;EAAA,SAAA;EAAA,MAAA;EAAsB,cAAA;EAAA,UAAA;EAAA,QAAA;GAAA,SAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;GAAA,OAAA;IAAA,mBAAA;IAAA,YAAA;IAAA,UAAA;IAAA,YAAA;IAAA,mBAAA;GAAA;EAAA;EAAA,gBAAA,CAAA,EAAA,WAAA,GAAA,iBAAA,CAAA;EAAA,UAAA;EAAA,UArC/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCT,UA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