mis-crystal-design-system 14.0.53 → 14.0.54-test
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/dropdown/dropdown.component.mjs +18 -15
- package/esm2020/dynamic-form/dynamic-form.component.mjs +223 -159
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +17 -14
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +237 -157
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-dropdown.mjs +17 -14
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs +222 -158
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -67,8 +67,15 @@ function DynamicFormComponent_ng_container_2_Template(rf, ctx) {
|
|
|
67
67
|
i0.ɵɵproperty("ngIf", fieldControl_r5.value && (!!(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields) && (ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields == null ? null : ctx_r0.formFields[i_r6].subFields.length) > 0 && ctx_r0.matchParentConfig(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value)));
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
+
function DynamicFormComponent_ng_template_3_div_0_span_3_Template(rf, ctx) {
|
|
71
|
+
if (rf & 1) {
|
|
72
|
+
i0.ɵɵelementStart(0, "span");
|
|
73
|
+
i0.ɵɵtext(1, " *");
|
|
74
|
+
i0.ɵɵelementEnd();
|
|
75
|
+
}
|
|
76
|
+
}
|
|
70
77
|
const _c2 = function (a0) { return { $implicit: a0 }; };
|
|
71
|
-
function
|
|
78
|
+
function DynamicFormComponent_ng_template_3_div_0_ng_container_6_Template(rf, ctx) {
|
|
72
79
|
if (rf & 1) {
|
|
73
80
|
i0.ɵɵelementContainer(0, 6);
|
|
74
81
|
}
|
|
@@ -83,33 +90,43 @@ const _c3 = function (a0) { return { "border-bottom": a0 }; };
|
|
|
83
90
|
const _c4 = function (a0) { return { "border": a0 }; };
|
|
84
91
|
function DynamicFormComponent_ng_template_3_div_0_Template(rf, ctx) {
|
|
85
92
|
if (rf & 1) {
|
|
86
|
-
const
|
|
93
|
+
const _r29 = i0.ɵɵgetCurrentView();
|
|
87
94
|
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
88
95
|
i0.ɵɵtext(2);
|
|
96
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_0_span_3_Template, 2, 0, "span", 14);
|
|
89
97
|
i0.ɵɵelementEnd();
|
|
90
|
-
i0.ɵɵelement(
|
|
91
|
-
i0.ɵɵelementStart(
|
|
92
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
98
|
+
i0.ɵɵelement(4, "div", 15);
|
|
99
|
+
i0.ɵɵelementStart(5, "input", 16);
|
|
100
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_div_0_Template_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r29); const ctx_r28 = i0.ɵɵnextContext(); const field_r13 = ctx_r28.$implicit; const formgroup_r15 = ctx_r28.formGroup; const ctx_r27 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r27.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
93
101
|
i0.ɵɵelementEnd();
|
|
94
|
-
i0.ɵɵtemplate(
|
|
102
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_0_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
95
103
|
i0.ɵɵelementEnd();
|
|
96
104
|
}
|
|
97
105
|
if (rf & 2) {
|
|
98
|
-
const
|
|
99
|
-
const formgroup_r15 =
|
|
100
|
-
const field_r13 =
|
|
101
|
-
const control_r14 =
|
|
106
|
+
const ctx_r30 = i0.ɵɵnextContext();
|
|
107
|
+
const formgroup_r15 = ctx_r30.formGroup;
|
|
108
|
+
const field_r13 = ctx_r30.$implicit;
|
|
109
|
+
const control_r14 = ctx_r30.control;
|
|
102
110
|
const ctx_r16 = i0.ɵɵnextContext();
|
|
103
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
111
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r16.removeSepratorForSubFields ? "none" : ""));
|
|
104
112
|
i0.ɵɵadvance(2);
|
|
105
113
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, " ");
|
|
114
|
+
i0.ɵɵadvance(1);
|
|
115
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
106
116
|
i0.ɵɵadvance(2);
|
|
107
|
-
i0.ɵɵproperty("type", field_r13.fieldInputType)("formControl", control_r14)("ngStyle", i0.ɵɵpureFunction1(
|
|
117
|
+
i0.ɵɵproperty("type", field_r13.fieldInputType)("formControl", control_r14)("ngStyle", i0.ɵɵpureFunction1(11, _c4, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("min", field_r13.fieldInputType === "number" ? 0 : "");
|
|
108
118
|
i0.ɵɵadvance(1);
|
|
109
119
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
110
120
|
}
|
|
111
121
|
}
|
|
112
|
-
function
|
|
122
|
+
function DynamicFormComponent_ng_template_3_div_1_span_3_Template(rf, ctx) {
|
|
123
|
+
if (rf & 1) {
|
|
124
|
+
i0.ɵɵelementStart(0, "span");
|
|
125
|
+
i0.ɵɵtext(1, " *");
|
|
126
|
+
i0.ɵɵelementEnd();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function DynamicFormComponent_ng_template_3_div_1_ng_container_6_Template(rf, ctx) {
|
|
113
130
|
if (rf & 1) {
|
|
114
131
|
i0.ɵɵelementContainer(0, 6);
|
|
115
132
|
}
|
|
@@ -122,45 +139,55 @@ function DynamicFormComponent_ng_template_3_div_1_ng_container_5_Template(rf, ct
|
|
|
122
139
|
}
|
|
123
140
|
function DynamicFormComponent_ng_template_3_div_1_Template(rf, ctx) {
|
|
124
141
|
if (rf & 1) {
|
|
125
|
-
const
|
|
142
|
+
const _r36 = i0.ɵɵgetCurrentView();
|
|
126
143
|
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
127
144
|
i0.ɵɵtext(2);
|
|
145
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_1_span_3_Template, 2, 0, "span", 14);
|
|
128
146
|
i0.ɵɵelementEnd();
|
|
129
|
-
i0.ɵɵelement(
|
|
130
|
-
i0.ɵɵelementStart(
|
|
131
|
-
i0.ɵɵlistener("ngModelChange", function
|
|
147
|
+
i0.ɵɵelement(4, "div", 15);
|
|
148
|
+
i0.ɵɵelementStart(5, "textarea", 18);
|
|
149
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_div_1_Template_textarea_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r36); const ctx_r35 = i0.ɵɵnextContext(); const field_r13 = ctx_r35.$implicit; const formgroup_r15 = ctx_r35.formGroup; const ctx_r34 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r34.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
132
150
|
i0.ɵɵelementEnd();
|
|
133
|
-
i0.ɵɵtemplate(
|
|
151
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_1_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
134
152
|
i0.ɵɵelementEnd();
|
|
135
153
|
}
|
|
136
154
|
if (rf & 2) {
|
|
137
|
-
const
|
|
138
|
-
const formgroup_r15 =
|
|
139
|
-
const field_r13 =
|
|
140
|
-
const control_r14 =
|
|
155
|
+
const ctx_r37 = i0.ɵɵnextContext();
|
|
156
|
+
const formgroup_r15 = ctx_r37.formGroup;
|
|
157
|
+
const field_r13 = ctx_r37.$implicit;
|
|
158
|
+
const control_r14 = ctx_r37.control;
|
|
141
159
|
const ctx_r17 = i0.ɵɵnextContext();
|
|
142
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
160
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r17.removeSepratorForSubFields ? "none" : ""));
|
|
143
161
|
i0.ɵɵadvance(2);
|
|
144
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
162
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
163
|
+
i0.ɵɵadvance(1);
|
|
164
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
145
165
|
i0.ɵɵadvance(2);
|
|
146
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
166
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c4, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("formControl", control_r14);
|
|
147
167
|
i0.ɵɵadvance(1);
|
|
148
168
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
149
169
|
}
|
|
150
170
|
}
|
|
151
|
-
function
|
|
171
|
+
function DynamicFormComponent_ng_template_3_div_2_span_3_Template(rf, ctx) {
|
|
152
172
|
if (rf & 1) {
|
|
153
|
-
|
|
154
|
-
i0.ɵɵ
|
|
155
|
-
i0.ɵɵ
|
|
173
|
+
i0.ɵɵelementStart(0, "span");
|
|
174
|
+
i0.ɵɵtext(1, " *");
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function DynamicFormComponent_ng_template_3_div_2_img_7_Template(rf, ctx) {
|
|
179
|
+
if (rf & 1) {
|
|
180
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
181
|
+
i0.ɵɵelementStart(0, "img", 25);
|
|
182
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_2_img_7_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r43); i0.ɵɵnextContext(); const _r39 = i0.ɵɵreference(6); return i0.ɵɵresetView(_r39.click()); });
|
|
156
183
|
i0.ɵɵelementEnd();
|
|
157
184
|
}
|
|
158
185
|
if (rf & 2) {
|
|
159
|
-
const
|
|
160
|
-
i0.ɵɵproperty("src",
|
|
186
|
+
const ctx_r40 = i0.ɵɵnextContext(3);
|
|
187
|
+
i0.ɵɵproperty("src", ctx_r40.calendarIconUrl, i0.ɵɵsanitizeUrl);
|
|
161
188
|
}
|
|
162
189
|
}
|
|
163
|
-
function
|
|
190
|
+
function DynamicFormComponent_ng_template_3_div_2_ng_container_8_Template(rf, ctx) {
|
|
164
191
|
if (rf & 1) {
|
|
165
192
|
i0.ɵɵelementContainer(0, 6);
|
|
166
193
|
}
|
|
@@ -173,27 +200,30 @@ function DynamicFormComponent_ng_template_3_div_2_ng_container_7_Template(rf, ct
|
|
|
173
200
|
}
|
|
174
201
|
function DynamicFormComponent_ng_template_3_div_2_Template(rf, ctx) {
|
|
175
202
|
if (rf & 1) {
|
|
176
|
-
const
|
|
177
|
-
i0.ɵɵelementStart(0, "div",
|
|
203
|
+
const _r47 = i0.ɵɵgetCurrentView();
|
|
204
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "p", 20);
|
|
178
205
|
i0.ɵɵtext(2);
|
|
206
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_2_span_3_Template, 2, 0, "span", 14);
|
|
179
207
|
i0.ɵɵelementEnd();
|
|
180
|
-
i0.ɵɵelementStart(
|
|
181
|
-
i0.ɵɵlistener("dateChange", function
|
|
208
|
+
i0.ɵɵelementStart(4, "div", 21)(5, "input", 22, 23);
|
|
209
|
+
i0.ɵɵlistener("dateChange", function DynamicFormComponent_ng_template_3_div_2_Template_input_dateChange_5_listener($event) { i0.ɵɵrestoreView(_r47); const control_r14 = i0.ɵɵnextContext().control; return i0.ɵɵresetView(control_r14.setValue($event)); });
|
|
182
210
|
i0.ɵɵelementEnd();
|
|
183
|
-
i0.ɵɵtemplate(
|
|
211
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_2_img_7_Template, 1, 1, "img", 24);
|
|
184
212
|
i0.ɵɵelementEnd();
|
|
185
|
-
i0.ɵɵtemplate(
|
|
213
|
+
i0.ɵɵtemplate(8, DynamicFormComponent_ng_template_3_div_2_ng_container_8_Template, 1, 4, "ng-container", 17);
|
|
186
214
|
i0.ɵɵelementEnd();
|
|
187
215
|
}
|
|
188
216
|
if (rf & 2) {
|
|
189
|
-
const
|
|
190
|
-
const formgroup_r15 =
|
|
191
|
-
const field_r13 =
|
|
192
|
-
const control_r14 =
|
|
217
|
+
const ctx_r48 = i0.ɵɵnextContext();
|
|
218
|
+
const formgroup_r15 = ctx_r48.formGroup;
|
|
219
|
+
const field_r13 = ctx_r48.$implicit;
|
|
220
|
+
const control_r14 = ctx_r48.control;
|
|
193
221
|
const ctx_r18 = i0.ɵɵnextContext();
|
|
194
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
222
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r18.removeSepratorForSubFields ? "none" : ""));
|
|
195
223
|
i0.ɵɵadvance(2);
|
|
196
224
|
i0.ɵɵtextInterpolate1(" ", field_r13.title, " ");
|
|
225
|
+
i0.ɵɵadvance(1);
|
|
226
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
197
227
|
i0.ɵɵadvance(2);
|
|
198
228
|
i0.ɵɵproperty("dpConfig", field_r13.fieldConfig)("selectedDate", control_r14.value)("offsetY", 0)("value", control_r14.value);
|
|
199
229
|
i0.ɵɵadvance(2);
|
|
@@ -202,7 +232,14 @@ function DynamicFormComponent_ng_template_3_div_2_Template(rf, ctx) {
|
|
|
202
232
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
203
233
|
}
|
|
204
234
|
}
|
|
205
|
-
function
|
|
235
|
+
function DynamicFormComponent_ng_template_3_div_3_span_3_Template(rf, ctx) {
|
|
236
|
+
if (rf & 1) {
|
|
237
|
+
i0.ɵɵelementStart(0, "span");
|
|
238
|
+
i0.ɵɵtext(1, " *");
|
|
239
|
+
i0.ɵɵelementEnd();
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
function DynamicFormComponent_ng_template_3_div_3_ng_container_5_Template(rf, ctx) {
|
|
206
243
|
if (rf & 1) {
|
|
207
244
|
i0.ɵɵelementContainer(0, 6);
|
|
208
245
|
}
|
|
@@ -215,44 +252,54 @@ function DynamicFormComponent_ng_template_3_div_3_ng_container_4_Template(rf, ct
|
|
|
215
252
|
}
|
|
216
253
|
function DynamicFormComponent_ng_template_3_div_3_Template(rf, ctx) {
|
|
217
254
|
if (rf & 1) {
|
|
218
|
-
const
|
|
219
|
-
i0.ɵɵelementStart(0, "div",
|
|
255
|
+
const _r54 = i0.ɵɵgetCurrentView();
|
|
256
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "p", 20);
|
|
220
257
|
i0.ɵɵtext(2);
|
|
258
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_3_span_3_Template, 2, 0, "span", 14);
|
|
221
259
|
i0.ɵɵelementEnd();
|
|
222
|
-
i0.ɵɵelementStart(
|
|
223
|
-
i0.ɵɵlistener("valueChanged", function
|
|
260
|
+
i0.ɵɵelementStart(4, "mis-switch", 26);
|
|
261
|
+
i0.ɵɵlistener("valueChanged", function DynamicFormComponent_ng_template_3_div_3_Template_mis_switch_valueChanged_4_listener($event) { i0.ɵɵrestoreView(_r54); const ctx_r53 = i0.ɵɵnextContext(); const field_r13 = ctx_r53.$implicit; const formgroup_r15 = ctx_r53.formGroup; const ctx_r52 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r52.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
224
262
|
i0.ɵɵelementEnd();
|
|
225
|
-
i0.ɵɵtemplate(
|
|
263
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_3_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
226
264
|
i0.ɵɵelementEnd();
|
|
227
265
|
}
|
|
228
266
|
if (rf & 2) {
|
|
229
|
-
const
|
|
230
|
-
const formgroup_r15 =
|
|
231
|
-
const field_r13 =
|
|
232
|
-
const control_r14 =
|
|
267
|
+
const ctx_r55 = i0.ɵɵnextContext();
|
|
268
|
+
const formgroup_r15 = ctx_r55.formGroup;
|
|
269
|
+
const field_r13 = ctx_r55.$implicit;
|
|
270
|
+
const control_r14 = ctx_r55.control;
|
|
233
271
|
const ctx_r19 = i0.ɵɵnextContext();
|
|
234
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
272
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r19.removeSepratorForSubFields ? "none" : ""));
|
|
235
273
|
i0.ɵɵadvance(2);
|
|
236
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
274
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
275
|
+
i0.ɵɵadvance(1);
|
|
276
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
237
277
|
i0.ɵɵadvance(1);
|
|
238
278
|
i0.ɵɵproperty("control", control_r14);
|
|
239
279
|
i0.ɵɵadvance(1);
|
|
240
280
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
241
281
|
}
|
|
242
282
|
}
|
|
243
|
-
function
|
|
283
|
+
function DynamicFormComponent_ng_template_3_div_4_span_3_Template(rf, ctx) {
|
|
284
|
+
if (rf & 1) {
|
|
285
|
+
i0.ɵɵelementStart(0, "span");
|
|
286
|
+
i0.ɵɵtext(1, " *");
|
|
287
|
+
i0.ɵɵelementEnd();
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
function DynamicFormComponent_ng_template_3_div_4_img_6_Template(rf, ctx) {
|
|
244
291
|
if (rf & 1) {
|
|
245
|
-
const
|
|
246
|
-
i0.ɵɵelementStart(0, "img",
|
|
247
|
-
i0.ɵɵlistener("click", function
|
|
292
|
+
const _r61 = i0.ɵɵgetCurrentView();
|
|
293
|
+
i0.ɵɵelementStart(0, "img", 30);
|
|
294
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_4_img_6_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r61); const field_r13 = i0.ɵɵnextContext(2).$implicit; const ctx_r59 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r59.fieldRemoved.emit(field_r13)); });
|
|
248
295
|
i0.ɵɵelementEnd();
|
|
249
296
|
}
|
|
250
297
|
if (rf & 2) {
|
|
251
|
-
const
|
|
252
|
-
i0.ɵɵproperty("src",
|
|
298
|
+
const ctx_r57 = i0.ɵɵnextContext(3);
|
|
299
|
+
i0.ɵɵproperty("src", ctx_r57.removeIconUrl, i0.ɵɵsanitizeUrl);
|
|
253
300
|
}
|
|
254
301
|
}
|
|
255
|
-
function
|
|
302
|
+
function DynamicFormComponent_ng_template_3_div_4_ng_container_7_Template(rf, ctx) {
|
|
256
303
|
if (rf & 1) {
|
|
257
304
|
i0.ɵɵelementContainer(0, 6);
|
|
258
305
|
}
|
|
@@ -266,29 +313,32 @@ function DynamicFormComponent_ng_template_3_div_4_ng_container_6_Template(rf, ct
|
|
|
266
313
|
const _c5 = function (a0) { return { "removeable-container": a0 }; };
|
|
267
314
|
function DynamicFormComponent_ng_template_3_div_4_Template(rf, ctx) {
|
|
268
315
|
if (rf & 1) {
|
|
269
|
-
const
|
|
270
|
-
i0.ɵɵelementStart(0, "div",
|
|
316
|
+
const _r65 = i0.ɵɵgetCurrentView();
|
|
317
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "p", 20);
|
|
271
318
|
i0.ɵɵtext(2);
|
|
319
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_4_span_3_Template, 2, 0, "span", 14);
|
|
272
320
|
i0.ɵɵelementEnd();
|
|
273
|
-
i0.ɵɵelementStart(
|
|
274
|
-
i0.ɵɵlistener("onChange", function
|
|
321
|
+
i0.ɵɵelementStart(4, "div", 27)(5, "mis-dropdown", 28);
|
|
322
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_div_4_Template_mis_dropdown_onChange_5_listener($event) { i0.ɵɵrestoreView(_r65); const ctx_r64 = i0.ɵɵnextContext(); const field_r13 = ctx_r64.$implicit; const control_r14 = ctx_r64.control; const formgroup_r15 = ctx_r64.formGroup; const ctx_r63 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r63.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
275
323
|
i0.ɵɵelementEnd();
|
|
276
|
-
i0.ɵɵtemplate(
|
|
324
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_4_img_6_Template, 1, 1, "img", 29);
|
|
277
325
|
i0.ɵɵelementEnd();
|
|
278
|
-
i0.ɵɵtemplate(
|
|
326
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_4_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
279
327
|
i0.ɵɵelementEnd();
|
|
280
328
|
}
|
|
281
329
|
if (rf & 2) {
|
|
282
|
-
const
|
|
283
|
-
const formgroup_r15 =
|
|
284
|
-
const field_r13 =
|
|
285
|
-
const control_r14 =
|
|
330
|
+
const ctx_r66 = i0.ɵɵnextContext();
|
|
331
|
+
const formgroup_r15 = ctx_r66.formGroup;
|
|
332
|
+
const field_r13 = ctx_r66.$implicit;
|
|
333
|
+
const control_r14 = ctx_r66.control;
|
|
286
334
|
const ctx_r20 = i0.ɵɵnextContext();
|
|
287
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
335
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r20.removeSepratorForSubFields ? "none" : ""));
|
|
288
336
|
i0.ɵɵadvance(2);
|
|
289
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
337
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
338
|
+
i0.ɵɵadvance(1);
|
|
339
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
290
340
|
i0.ɵɵadvance(1);
|
|
291
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(
|
|
341
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c5, field_r13 == null ? null : field_r13.isRemoveable));
|
|
292
342
|
i0.ɵɵadvance(1);
|
|
293
343
|
i0.ɵɵproperty("searchEnabled", false)("width", "140px")("data", field_r13.itemsList)("selectedItem", control_r14.value);
|
|
294
344
|
i0.ɵɵadvance(1);
|
|
@@ -297,38 +347,45 @@ function DynamicFormComponent_ng_template_3_div_4_Template(rf, ctx) {
|
|
|
297
347
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
298
348
|
}
|
|
299
349
|
}
|
|
300
|
-
function
|
|
350
|
+
function DynamicFormComponent_ng_template_3_div_5_span_3_Template(rf, ctx) {
|
|
351
|
+
if (rf & 1) {
|
|
352
|
+
i0.ɵɵelementStart(0, "span");
|
|
353
|
+
i0.ɵɵtext(1, " *");
|
|
354
|
+
i0.ɵɵelementEnd();
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
function DynamicFormComponent_ng_template_3_div_5_div_6_img_1_Template(rf, ctx) {
|
|
301
358
|
if (rf & 1) {
|
|
302
|
-
i0.ɵɵelement(0, "img",
|
|
359
|
+
i0.ɵɵelement(0, "img", 35);
|
|
303
360
|
}
|
|
304
361
|
if (rf & 2) {
|
|
305
|
-
const
|
|
306
|
-
i0.ɵɵproperty("src",
|
|
362
|
+
const ctx_r71 = i0.ɵɵnextContext(4);
|
|
363
|
+
i0.ɵɵproperty("src", ctx_r71.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
307
364
|
}
|
|
308
365
|
}
|
|
309
366
|
const _c6 = function (a0) { return { "checkbox-active": a0 }; };
|
|
310
|
-
function
|
|
367
|
+
function DynamicFormComponent_ng_template_3_div_5_div_6_Template(rf, ctx) {
|
|
311
368
|
if (rf & 1) {
|
|
312
|
-
const
|
|
313
|
-
i0.ɵɵelementStart(0, "div",
|
|
314
|
-
i0.ɵɵlistener("click", function
|
|
315
|
-
i0.ɵɵtemplate(1,
|
|
316
|
-
i0.ɵɵelementStart(2, "p",
|
|
369
|
+
const _r74 = i0.ɵɵgetCurrentView();
|
|
370
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
371
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_5_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r74); const item_r70 = restoredCtx.$implicit; const ctx_r73 = i0.ɵɵnextContext(2); const field_r13 = ctx_r73.$implicit; const control_r14 = ctx_r73.control; const formgroup_r15 = ctx_r73.formGroup; const ctx_r72 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r72.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, item_r70)); });
|
|
372
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_5_div_6_img_1_Template, 1, 1, "img", 34);
|
|
373
|
+
i0.ɵɵelementStart(2, "p", 20);
|
|
317
374
|
i0.ɵɵtext(3);
|
|
318
375
|
i0.ɵɵelementEnd()();
|
|
319
376
|
}
|
|
320
377
|
if (rf & 2) {
|
|
321
|
-
const
|
|
378
|
+
const item_r70 = ctx.$implicit;
|
|
322
379
|
const control_r14 = i0.ɵɵnextContext(2).control;
|
|
323
|
-
const
|
|
324
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c6,
|
|
380
|
+
const ctx_r68 = i0.ɵɵnextContext();
|
|
381
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c6, item_r70.label === (control_r14.value == null ? null : control_r14.value.label)));
|
|
325
382
|
i0.ɵɵadvance(1);
|
|
326
|
-
i0.ɵɵproperty("ngIf",
|
|
383
|
+
i0.ɵɵproperty("ngIf", item_r70.label === (control_r14.value == null ? null : control_r14.value.label) && ctx_r68.activeBtnIconUrl);
|
|
327
384
|
i0.ɵɵadvance(2);
|
|
328
|
-
i0.ɵɵtextInterpolate(
|
|
385
|
+
i0.ɵɵtextInterpolate(item_r70.label);
|
|
329
386
|
}
|
|
330
387
|
}
|
|
331
|
-
function
|
|
388
|
+
function DynamicFormComponent_ng_template_3_div_5_ng_container_7_Template(rf, ctx) {
|
|
332
389
|
if (rf & 1) {
|
|
333
390
|
i0.ɵɵelementContainer(0, 6);
|
|
334
391
|
}
|
|
@@ -343,60 +400,70 @@ function DynamicFormComponent_ng_template_3_div_5_Template(rf, ctx) {
|
|
|
343
400
|
if (rf & 1) {
|
|
344
401
|
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
345
402
|
i0.ɵɵtext(2);
|
|
403
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_5_span_3_Template, 2, 0, "span", 14);
|
|
346
404
|
i0.ɵɵelementEnd();
|
|
347
|
-
i0.ɵɵelement(
|
|
348
|
-
i0.ɵɵelementStart(
|
|
349
|
-
i0.ɵɵtemplate(
|
|
405
|
+
i0.ɵɵelement(4, "div", 15);
|
|
406
|
+
i0.ɵɵelementStart(5, "div", 31);
|
|
407
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_5_div_6_Template, 4, 5, "div", 32);
|
|
350
408
|
i0.ɵɵelementEnd();
|
|
351
|
-
i0.ɵɵtemplate(
|
|
409
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_5_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
352
410
|
i0.ɵɵelementEnd();
|
|
353
411
|
}
|
|
354
412
|
if (rf & 2) {
|
|
355
|
-
const
|
|
356
|
-
const formgroup_r15 =
|
|
357
|
-
const field_r13 =
|
|
358
|
-
const control_r14 =
|
|
413
|
+
const ctx_r77 = i0.ɵɵnextContext();
|
|
414
|
+
const formgroup_r15 = ctx_r77.formGroup;
|
|
415
|
+
const field_r13 = ctx_r77.$implicit;
|
|
416
|
+
const control_r14 = ctx_r77.control;
|
|
359
417
|
const ctx_r21 = i0.ɵɵnextContext();
|
|
360
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
418
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r21.removeSepratorForSubFields ? "none" : ""));
|
|
361
419
|
i0.ɵɵadvance(2);
|
|
362
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
420
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
421
|
+
i0.ɵɵadvance(1);
|
|
422
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
363
423
|
i0.ɵɵadvance(3);
|
|
364
424
|
i0.ɵɵproperty("ngForOf", field_r13.itemsList);
|
|
365
425
|
i0.ɵɵadvance(1);
|
|
366
426
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
367
427
|
}
|
|
368
428
|
}
|
|
369
|
-
function
|
|
429
|
+
function DynamicFormComponent_ng_template_3_div_6_span_3_Template(rf, ctx) {
|
|
370
430
|
if (rf & 1) {
|
|
371
|
-
i0.ɵɵ
|
|
431
|
+
i0.ɵɵelementStart(0, "span");
|
|
432
|
+
i0.ɵɵtext(1, " *");
|
|
433
|
+
i0.ɵɵelementEnd();
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
function DynamicFormComponent_ng_template_3_div_6_div_6_img_1_Template(rf, ctx) {
|
|
437
|
+
if (rf & 1) {
|
|
438
|
+
i0.ɵɵelement(0, "img", 35);
|
|
372
439
|
}
|
|
373
440
|
if (rf & 2) {
|
|
374
|
-
const
|
|
375
|
-
i0.ɵɵproperty("src",
|
|
441
|
+
const ctx_r82 = i0.ɵɵnextContext(4);
|
|
442
|
+
i0.ɵɵproperty("src", ctx_r82.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
376
443
|
}
|
|
377
444
|
}
|
|
378
|
-
function
|
|
445
|
+
function DynamicFormComponent_ng_template_3_div_6_div_6_Template(rf, ctx) {
|
|
379
446
|
if (rf & 1) {
|
|
380
|
-
const
|
|
381
|
-
i0.ɵɵelementStart(0, "div",
|
|
382
|
-
i0.ɵɵlistener("click", function
|
|
383
|
-
i0.ɵɵtemplate(1,
|
|
384
|
-
i0.ɵɵelementStart(2, "p",
|
|
447
|
+
const _r85 = i0.ɵɵgetCurrentView();
|
|
448
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
449
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_6_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r85); const item_r81 = restoredCtx.$implicit; const ctx_r84 = i0.ɵɵnextContext(2); const field_r13 = ctx_r84.$implicit; const control_r14 = ctx_r84.control; const formgroup_r15 = ctx_r84.formGroup; const ctx_r83 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r83.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, [item_r81])); });
|
|
450
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_6_div_6_img_1_Template, 1, 1, "img", 34);
|
|
451
|
+
i0.ɵɵelementStart(2, "p", 20);
|
|
385
452
|
i0.ɵɵtext(3);
|
|
386
453
|
i0.ɵɵelementEnd()();
|
|
387
454
|
}
|
|
388
455
|
if (rf & 2) {
|
|
389
|
-
const
|
|
456
|
+
const item_r81 = ctx.$implicit;
|
|
390
457
|
const control_r14 = i0.ɵɵnextContext(2).control;
|
|
391
|
-
const
|
|
392
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c6,
|
|
458
|
+
const ctx_r79 = i0.ɵɵnextContext();
|
|
459
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c6, ctx_r79.isCheckBoxSelected(item_r81.label, control_r14.value)));
|
|
393
460
|
i0.ɵɵadvance(1);
|
|
394
|
-
i0.ɵɵproperty("ngIf",
|
|
461
|
+
i0.ɵɵproperty("ngIf", ctx_r79.isCheckBoxSelected(item_r81.label, control_r14.value) && ctx_r79.activeBtnIconUrl);
|
|
395
462
|
i0.ɵɵadvance(2);
|
|
396
|
-
i0.ɵɵtextInterpolate(
|
|
463
|
+
i0.ɵɵtextInterpolate(item_r81.label);
|
|
397
464
|
}
|
|
398
465
|
}
|
|
399
|
-
function
|
|
466
|
+
function DynamicFormComponent_ng_template_3_div_6_ng_container_7_Template(rf, ctx) {
|
|
400
467
|
if (rf & 1) {
|
|
401
468
|
i0.ɵɵelementContainer(0, 6);
|
|
402
469
|
}
|
|
@@ -411,30 +478,40 @@ function DynamicFormComponent_ng_template_3_div_6_Template(rf, ctx) {
|
|
|
411
478
|
if (rf & 1) {
|
|
412
479
|
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
413
480
|
i0.ɵɵtext(2);
|
|
481
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_6_span_3_Template, 2, 0, "span", 14);
|
|
414
482
|
i0.ɵɵelementEnd();
|
|
415
|
-
i0.ɵɵelement(
|
|
416
|
-
i0.ɵɵelementStart(
|
|
417
|
-
i0.ɵɵtemplate(
|
|
483
|
+
i0.ɵɵelement(4, "div", 15);
|
|
484
|
+
i0.ɵɵelementStart(5, "div", 31);
|
|
485
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_6_div_6_Template, 4, 5, "div", 32);
|
|
418
486
|
i0.ɵɵelementEnd();
|
|
419
|
-
i0.ɵɵtemplate(
|
|
487
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_6_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
420
488
|
i0.ɵɵelementEnd();
|
|
421
489
|
}
|
|
422
490
|
if (rf & 2) {
|
|
423
|
-
const
|
|
424
|
-
const formgroup_r15 =
|
|
425
|
-
const field_r13 =
|
|
426
|
-
const control_r14 =
|
|
491
|
+
const ctx_r88 = i0.ɵɵnextContext();
|
|
492
|
+
const formgroup_r15 = ctx_r88.formGroup;
|
|
493
|
+
const field_r13 = ctx_r88.$implicit;
|
|
494
|
+
const control_r14 = ctx_r88.control;
|
|
427
495
|
const ctx_r22 = i0.ɵɵnextContext();
|
|
428
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
496
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r22.removeSepratorForSubFields ? "none" : ""));
|
|
429
497
|
i0.ɵɵadvance(2);
|
|
430
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
498
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
499
|
+
i0.ɵɵadvance(1);
|
|
500
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
431
501
|
i0.ɵɵadvance(3);
|
|
432
502
|
i0.ɵɵproperty("ngForOf", field_r13.itemsList);
|
|
433
503
|
i0.ɵɵadvance(1);
|
|
434
504
|
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
435
505
|
}
|
|
436
506
|
}
|
|
437
|
-
function
|
|
507
|
+
function DynamicFormComponent_ng_template_3_div_7_span_3_Template(rf, ctx) {
|
|
508
|
+
if (rf & 1) {
|
|
509
|
+
i0.ɵɵelementStart(0, "span");
|
|
510
|
+
i0.ɵɵtext(1, " *");
|
|
511
|
+
i0.ɵɵelementEnd();
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
function DynamicFormComponent_ng_template_3_div_7_ng_container_5_Template(rf, ctx) {
|
|
438
515
|
if (rf & 1) {
|
|
439
516
|
i0.ɵɵelementContainer(0, 6);
|
|
440
517
|
}
|
|
@@ -447,25 +524,28 @@ function DynamicFormComponent_ng_template_3_div_7_ng_container_4_Template(rf, ct
|
|
|
447
524
|
}
|
|
448
525
|
function DynamicFormComponent_ng_template_3_div_7_Template(rf, ctx) {
|
|
449
526
|
if (rf & 1) {
|
|
450
|
-
const
|
|
451
|
-
i0.ɵɵelementStart(0, "div",
|
|
527
|
+
const _r94 = i0.ɵɵgetCurrentView();
|
|
528
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "p", 20);
|
|
452
529
|
i0.ɵɵtext(2);
|
|
530
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_7_span_3_Template, 2, 0, "span", 14);
|
|
453
531
|
i0.ɵɵelementEnd();
|
|
454
|
-
i0.ɵɵelementStart(
|
|
455
|
-
i0.ɵɵlistener("onChange", function
|
|
532
|
+
i0.ɵɵelementStart(4, "mis-multi-select-dropdown", 36);
|
|
533
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_div_7_Template_mis_multi_select_dropdown_onChange_4_listener($event) { i0.ɵɵrestoreView(_r94); const ctx_r93 = i0.ɵɵnextContext(); const field_r13 = ctx_r93.$implicit; const control_r14 = ctx_r93.control; const formgroup_r15 = ctx_r93.formGroup; const ctx_r92 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r92.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
456
534
|
i0.ɵɵelementEnd();
|
|
457
|
-
i0.ɵɵtemplate(
|
|
535
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_7_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
458
536
|
i0.ɵɵelementEnd();
|
|
459
537
|
}
|
|
460
538
|
if (rf & 2) {
|
|
461
|
-
const
|
|
462
|
-
const formgroup_r15 =
|
|
463
|
-
const field_r13 =
|
|
464
|
-
const control_r14 =
|
|
539
|
+
const ctx_r95 = i0.ɵɵnextContext();
|
|
540
|
+
const formgroup_r15 = ctx_r95.formGroup;
|
|
541
|
+
const field_r13 = ctx_r95.$implicit;
|
|
542
|
+
const control_r14 = ctx_r95.control;
|
|
465
543
|
const ctx_r23 = i0.ɵɵnextContext();
|
|
466
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(
|
|
544
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11, _c3, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r23.removeSepratorForSubFields ? "none" : ""));
|
|
467
545
|
i0.ɵɵadvance(2);
|
|
468
|
-
i0.ɵɵtextInterpolate1(" ", field_r13.title, "
|
|
546
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
547
|
+
i0.ɵɵadvance(1);
|
|
548
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
469
549
|
i0.ɵɵadvance(1);
|
|
470
550
|
i0.ɵɵproperty("width", "140px")("showSelectedCount", true)("dropdownListWidth", "256px")("searchEnabled", false)("hideApplyButton", true)("data", field_r13.itemsList)("selectedItems", control_r14.value);
|
|
471
551
|
i0.ɵɵadvance(1);
|
|
@@ -474,14 +554,14 @@ function DynamicFormComponent_ng_template_3_div_7_Template(rf, ctx) {
|
|
|
474
554
|
}
|
|
475
555
|
function DynamicFormComponent_ng_template_3_Template(rf, ctx) {
|
|
476
556
|
if (rf & 1) {
|
|
477
|
-
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_div_0_Template,
|
|
478
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_1_Template,
|
|
479
|
-
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_div_2_Template,
|
|
480
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_3_Template,
|
|
481
|
-
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_4_Template,
|
|
482
|
-
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_5_Template,
|
|
483
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_6_Template,
|
|
484
|
-
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_7_Template,
|
|
557
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_div_0_Template, 7, 13, "div", 10);
|
|
558
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_1_Template, 7, 11, "div", 10);
|
|
559
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_div_2_Template, 9, 11, "div", 11);
|
|
560
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_3_Template, 6, 7, "div", 11);
|
|
561
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_4_Template, 8, 14, "div", 11);
|
|
562
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_5_Template, 8, 7, "div", 10);
|
|
563
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_6_Template, 8, 7, "div", 10);
|
|
564
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_7_Template, 6, 13, "div", 11);
|
|
485
565
|
}
|
|
486
566
|
if (rf & 2) {
|
|
487
567
|
const field_r13 = ctx.$implicit;
|
|
@@ -505,29 +585,29 @@ function DynamicFormComponent_ng_template_3_Template(rf, ctx) {
|
|
|
505
585
|
function DynamicFormComponent_ng_template_5_ng_container_1_Template(rf, ctx) {
|
|
506
586
|
if (rf & 1) {
|
|
507
587
|
i0.ɵɵelementContainerStart(0);
|
|
508
|
-
i0.ɵɵelementStart(1, "p",
|
|
588
|
+
i0.ɵɵelementStart(1, "p", 38);
|
|
509
589
|
i0.ɵɵtext(2);
|
|
510
590
|
i0.ɵɵelementEnd();
|
|
511
|
-
i0.ɵɵelement(3, "div",
|
|
591
|
+
i0.ɵɵelement(3, "div", 39);
|
|
512
592
|
i0.ɵɵelementContainerEnd();
|
|
513
593
|
}
|
|
514
594
|
if (rf & 2) {
|
|
515
|
-
const
|
|
595
|
+
const error_r98 = ctx.$implicit;
|
|
516
596
|
i0.ɵɵadvance(2);
|
|
517
|
-
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" +
|
|
597
|
+
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" + error_r98.value, " ");
|
|
518
598
|
}
|
|
519
599
|
}
|
|
520
600
|
function DynamicFormComponent_ng_template_5_Template(rf, ctx) {
|
|
521
601
|
if (rf & 1) {
|
|
522
|
-
i0.ɵɵelementStart(0, "div",
|
|
602
|
+
i0.ɵɵelementStart(0, "div", 37);
|
|
523
603
|
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_5_ng_container_1_Template, 4, 1, "ng-container", 9);
|
|
524
604
|
i0.ɵɵpipe(2, "keyvalue");
|
|
525
605
|
i0.ɵɵelementEnd();
|
|
526
606
|
}
|
|
527
607
|
if (rf & 2) {
|
|
528
|
-
const
|
|
608
|
+
const errors_r96 = ctx.$implicit;
|
|
529
609
|
i0.ɵɵadvance(1);
|
|
530
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1,
|
|
610
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, errors_r96));
|
|
531
611
|
}
|
|
532
612
|
}
|
|
533
613
|
class DynamicFormComponent {
|
|
@@ -779,7 +859,7 @@ class DynamicFormComponent {
|
|
|
779
859
|
}
|
|
780
860
|
}
|
|
781
861
|
DynamicFormComponent.ɵfac = function DynamicFormComponent_Factory(t) { return new (t || DynamicFormComponent)(); };
|
|
782
|
-
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl", removeIconUrl: "removeIconUrl", removeSepratorForSubFields: "removeSepratorForSubFields" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized", fieldRemoved: "fieldRemoved" }, decls: 7, vars: 2, consts: [[3, "formGroup"], ["formArrayName", "dynamicFields"], [3, "formGroupName", 4, "ngFor", "ngForOf"], ["dynamicField", ""], ["dynamicFieldErrors", ""], [3, "formGroupName"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "sub-dynamic-form", 4, "ngIf"], [1, "sub-dynamic-form"], [4, "ngFor", "ngForOf"], ["class", "dynamic-field multi-line-field-container", 3, "ngStyle", 4, "ngIf"], ["class", "dynamic-field single-line-field-container", 3, "ngStyle", 4, "ngIf"], [1, "dynamic-field", "multi-line-field-container", 3, "ngStyle"], [1, "h7", "field-title-sm"], [2, "flex-basis", "100%"], [1, "input-field", "ip-text", 3, "type", "formControl", "ngStyle", "placeholder", "min", "ngModelChange"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngStyle", "placeholder", "formControl", "ngModelChange"], [1, "dynamic-field", "single-line-field-container", 3, "ngStyle"], [1, "h6"], [1, "date-picker-container"], ["readonly", "", "misTzDp", "", 1, "date-picker", 3, "dpConfig", "selectedDate", "offsetY", "value", "dateChange"], ["dp", ""], ["alt", "data-picker", "class", "date-picker-icon", 3, "src", "click", 4, "ngIf"], ["alt", "data-picker", 1, "date-picker-icon", 3, "src", "click"], [3, "control", "valueChanged"], [3, "ngClass"], [3, "searchEnabled", "width", "data", "selectedItem", "onChange"], ["class", "remove-icon", 3, "src", "click", 4, "ngIf"], [1, "remove-icon", 3, "src", "click"], ["id", "checkboxes-container"], ["class", "radio-checkbox-common", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "radio-checkbox-common", 3, "ngClass", "click"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"], [3, "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems", "onChange"], ["id", "error-messages-container"], [1, "h8"], [2, "flex-basis", "100%", "height", "0"]], template: function DynamicFormComponent_Template(rf, ctx) {
|
|
862
|
+
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl", removeIconUrl: "removeIconUrl", removeSepratorForSubFields: "removeSepratorForSubFields" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized", fieldRemoved: "fieldRemoved" }, decls: 7, vars: 2, consts: [[3, "formGroup"], ["formArrayName", "dynamicFields"], [3, "formGroupName", 4, "ngFor", "ngForOf"], ["dynamicField", ""], ["dynamicFieldErrors", ""], [3, "formGroupName"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "sub-dynamic-form", 4, "ngIf"], [1, "sub-dynamic-form"], [4, "ngFor", "ngForOf"], ["class", "dynamic-field multi-line-field-container", 3, "ngStyle", 4, "ngIf"], ["class", "dynamic-field single-line-field-container", 3, "ngStyle", 4, "ngIf"], [1, "dynamic-field", "multi-line-field-container", 3, "ngStyle"], [1, "h7", "field-title-sm"], [4, "ngIf"], [2, "flex-basis", "100%"], [1, "input-field", "ip-text", 3, "type", "formControl", "ngStyle", "placeholder", "min", "ngModelChange"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngStyle", "placeholder", "formControl", "ngModelChange"], [1, "dynamic-field", "single-line-field-container", 3, "ngStyle"], [1, "h6"], [1, "date-picker-container"], ["readonly", "", "misTzDp", "", 1, "date-picker", 3, "dpConfig", "selectedDate", "offsetY", "value", "dateChange"], ["dp", ""], ["alt", "data-picker", "class", "date-picker-icon", 3, "src", "click", 4, "ngIf"], ["alt", "data-picker", 1, "date-picker-icon", 3, "src", "click"], [3, "control", "valueChanged"], [3, "ngClass"], [3, "searchEnabled", "width", "data", "selectedItem", "onChange"], ["class", "remove-icon", 3, "src", "click", 4, "ngIf"], [1, "remove-icon", 3, "src", "click"], ["id", "checkboxes-container"], ["class", "radio-checkbox-common", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "radio-checkbox-common", 3, "ngClass", "click"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"], [3, "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems", "onChange"], ["id", "error-messages-container"], [1, "h8"], [2, "flex-basis", "100%", "height", "0"]], template: function DynamicFormComponent_Template(rf, ctx) {
|
|
783
863
|
if (rf & 1) {
|
|
784
864
|
i0.ɵɵelementStart(0, "form", 0);
|
|
785
865
|
i0.ɵɵelementContainerStart(1, 1);
|
|
@@ -794,11 +874,11 @@ DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Dynami
|
|
|
794
874
|
i0.ɵɵadvance(2);
|
|
795
875
|
i0.ɵɵproperty("ngForOf", ctx.getDynamicFieldsControls().controls);
|
|
796
876
|
}
|
|
797
|
-
}, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i2.ɵNgNoValidate, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormControlDirective, i2.FormGroupDirective, i2.FormGroupName, i2.FormArrayName, i3.DropdownComponent, i4.SwitchComponent, i5.MultiSelectDropdownComponent, i6.TzDatepickerDirective, i1.KeyValuePipe], styles: ["p[_ngcontent-%COMP%]{margin:0;cursor:default} .main-container{margin:0;max-width:100%}.sub-dynamic-form[_ngcontent-%COMP%]{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field[_ngcontent-%COMP%] .container{height:32px!important}.single-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm[_ngcontent-%COMP%]{margin-bottom:8px;cursor:default}.input-field[_ngcontent-%COMP%]{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text[_ngcontent-%COMP%]{height:44px;padding:8px 12px}.ip-textarea[_ngcontent-%COMP%]{max-height:94px;padding:8px}input[_ngcontent-%COMP%]:focus{outline:none}input[_ngcontent-%COMP%]::placeholder{color:var(--grey-seperators)}textarea[_ngcontent-%COMP%]:focus{outline:none}.date-picker-container[_ngcontent-%COMP%]{position:relative;width:140px}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]:hover{background-color:var(--grey-hover)}.date-picker-container[_ngcontent-%COMP%] .date-picker-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form[_ngcontent-%COMP%] .dynamic-field[_ngcontent-%COMP%]:last-child{border-bottom:none!important}#checkboxes-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-muted);cursor:pointer}.radio-checkbox-common[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:8px}.checkbox-active[_ngcontent-%COMP%]{background-color:var(--pmry-500)}.checkbox-active[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-white)}#error-messages-container[_ngcontent-%COMP%]{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--sem-error)}.removeable-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.removeable-container[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;max-width:24px}"] });
|
|
877
|
+
}, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i2.ɵNgNoValidate, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormControlDirective, i2.FormGroupDirective, i2.FormGroupName, i2.FormArrayName, i3.DropdownComponent, i4.SwitchComponent, i5.MultiSelectDropdownComponent, i6.TzDatepickerDirective, i1.KeyValuePipe], styles: ["p[_ngcontent-%COMP%]{margin:0;cursor:default} .main-container{margin:0;max-width:100%}.sub-dynamic-form[_ngcontent-%COMP%]{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field[_ngcontent-%COMP%] .container{height:32px!important}.single-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm[_ngcontent-%COMP%]{margin-bottom:8px;cursor:default}.input-field[_ngcontent-%COMP%]{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text[_ngcontent-%COMP%]{height:44px;padding:8px 12px}.ip-textarea[_ngcontent-%COMP%]{max-height:94px;padding:8px}input[_ngcontent-%COMP%]:focus{outline:none}input[_ngcontent-%COMP%]::placeholder{color:var(--grey-seperators)}textarea[_ngcontent-%COMP%]:focus{outline:none}.date-picker-container[_ngcontent-%COMP%]{position:relative;width:140px}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]:hover{background-color:var(--grey-hover)}.date-picker-container[_ngcontent-%COMP%] .date-picker-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form[_ngcontent-%COMP%] .dynamic-field[_ngcontent-%COMP%]:last-child{border-bottom:none!important}#checkboxes-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-muted);cursor:pointer}.radio-checkbox-common[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:8px}.checkbox-active[_ngcontent-%COMP%]{background-color:var(--pmry-500)}.checkbox-active[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-white)}#error-messages-container[_ngcontent-%COMP%]{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--sem-error)}.removeable-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.removeable-container[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;max-width:24px}span[_ngcontent-%COMP%]{color:var(--sem-error)}"] });
|
|
798
878
|
(function () {
|
|
799
879
|
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormComponent, [{
|
|
800
880
|
type: Component,
|
|
801
|
-
args: [{ selector: "mis-dynamic-form", template: "<form [formGroup]=\"dynamicForm\">\n <ng-container formArrayName=\"dynamicFields\">\n <ng-container [formGroupName]=\"i\" *ngFor=\"let fieldControl of getDynamicFieldsControls().controls; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i],\n formGroup: fieldControl,\n control: fieldControl.controls.value\n }\"\n >\n </ng-container>\n <div class=\"sub-dynamic-form\" *ngIf=\"fieldControl.value && (!!formFields[i]?.subFields && formFields[i]?.subFields?.length > 0 && matchParentConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value))\">\n <ng-container *ngFor=\"let subFieldControl of fieldControl.controls.subFields.controls; let j = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: findSelectedSubFieldConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value,j),\n control: subFieldControl\n }\">\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n</form>\n\n\n<ng-template #dynamicField let-field let-control=\"control\" let-formgroup=\"formGroup\">\n\n <!-- fieldType: 'input' fieldInputType: 'text' | 'number' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <input class=\"input-field ip-text\" [type]=\"field.fieldInputType\" [formControl]=\"control\"\n (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\" \n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" \n [min]=\"field.fieldInputType === 'number' ? 0 : '' \"/>\n <ng-container *ngIf=\"control.touched && control.errors\"\n [ngTemplateOutlet]=\"dynamicFieldErrors\" \n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\"\n >\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <textarea class=\"input-field ip-textarea\" type=\"text\"\n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" [formControl]=\"control\" (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\"></textarea>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <div class=\"date-picker-container\">\n <input class=\"date-picker\" readonly misTzDp [dpConfig]=\"field.fieldConfig\"\n (dateChange)=\"control.setValue($event)\" [selectedDate]=\"control.value\" [offsetY]=\"0\"\n [value]=\"control.value\" #dp />\n <img alt=\"data-picker\" *ngIf=\"calendarIconUrl\" class=\"date-picker-icon\" [src]=\"calendarIconUrl\"\n (click)=\"dp.click()\" />\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <mis-switch [control]=\"control\" (valueChanged)=\"updateSubDynamicFields(field, formgroup, $event)\"></mis-switch>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <div [ngClass]=\"{'removeable-container' : field?.isRemoveable}\">\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <img *ngIf=\"field.isRemoveable && removeIconUrl\" class=\"remove-icon\" [src]=\"removeIconUrl\" (click)=\"fieldRemoved.emit(field)\">\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': item.label === control.value?.label }\"\n (click)=\"updateSelectedValueForSingleSelect(field, control, formgroup, item);\">\n <img *ngIf=\"(item.label === control.value?.label) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\" alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': isCheckBoxSelected(item.label, control.value) }\"\n (click)=\"updateSelectedValueForMultiSelect(field, control, formgroup, [item])\">\n <img *ngIf=\"isCheckBoxSelected(item.label, control.value) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\"\n alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <mis-multi-select-dropdown [width]=\"'140px'\" [showSelectedCount]=\"true\" [dropdownListWidth]=\"'256px'\"\n [searchEnabled]=\"false\" [hideApplyButton]=\"true\" [data]=\"field.itemsList\"\n [selectedItems]=\"control.value\" (onChange)=\"updateSelectedValueForMultiSelect(field, control, formgroup, $event);\"></mis-multi-select-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n</ng-template>\n\n<ng-template #dynamicFieldErrors let-errors>\n <div id=\"error-messages-container\">\n <ng-container *ngFor=\"let error of errors | keyvalue\">\n <p class=\"h8\">\n {{\" \u2022 \" + error.value}}\n </p>\n <div style=\"flex-basis: 100%; height: 0\"></div>\n </ng-container>\n </div>\n</ng-template>", styles: ["p{margin:0;cursor:default}::ng-deep .main-container{margin:0;max-width:100%}.sub-dynamic-form{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field ::ng-deep .container{height:32px!important}.single-line-field-container{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm{margin-bottom:8px;cursor:default}.input-field{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text{height:44px;padding:8px 12px}.ip-textarea{max-height:94px;padding:8px}input:focus{outline:none}input::placeholder{color:var(--grey-seperators)}textarea:focus{outline:none}.date-picker-container{position:relative;width:140px}.date-picker-container .date-picker{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container .date-picker:hover{background-color:var(--grey-hover)}.date-picker-container .date-picker-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form .dynamic-field:last-child{border-bottom:none!important}#checkboxes-container{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common p{color:var(--text-muted);cursor:pointer}.radio-checkbox-common img{margin-right:8px}.checkbox-active{background-color:var(--pmry-500)}.checkbox-active p{color:var(--text-white)}#error-messages-container{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container p{color:var(--sem-error)}.removeable-container{display:flex;justify-content:center;align-items:center}.removeable-container .remove-icon{cursor:pointer;margin-left:8px;max-width:24px}\n"] }]
|
|
881
|
+
args: [{ selector: "mis-dynamic-form", template: "<form [formGroup]=\"dynamicForm\">\n <ng-container formArrayName=\"dynamicFields\">\n <ng-container [formGroupName]=\"i\" *ngFor=\"let fieldControl of getDynamicFieldsControls().controls; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i],\n formGroup: fieldControl,\n control: fieldControl.controls.value\n }\"\n >\n </ng-container>\n <div class=\"sub-dynamic-form\" *ngIf=\"fieldControl.value && (!!formFields[i]?.subFields && formFields[i]?.subFields?.length > 0 && matchParentConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value))\">\n <ng-container *ngFor=\"let subFieldControl of fieldControl.controls.subFields.controls; let j = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: findSelectedSubFieldConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value,j),\n control: subFieldControl\n }\">\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n</form>\n\n\n<ng-template #dynamicField let-field let-control=\"control\" let-formgroup=\"formGroup\">\n\n <!-- fieldType: 'input' fieldInputType: 'text' | 'number' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <input class=\"input-field ip-text\" [type]=\"field.fieldInputType\" [formControl]=\"control\"\n (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\" \n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" \n [min]=\"field.fieldInputType === 'number' ? 0 : '' \"/>\n <ng-container *ngIf=\"control.touched && control.errors\"\n [ngTemplateOutlet]=\"dynamicFieldErrors\" \n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\"\n >\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <textarea class=\"input-field ip-textarea\" type=\"text\"\n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" [formControl]=\"control\" (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\"></textarea>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div class=\"date-picker-container\">\n <input class=\"date-picker\" readonly misTzDp [dpConfig]=\"field.fieldConfig\"\n (dateChange)=\"control.setValue($event)\" [selectedDate]=\"control.value\" [offsetY]=\"0\"\n [value]=\"control.value\" #dp />\n <img alt=\"data-picker\" *ngIf=\"calendarIconUrl\" class=\"date-picker-icon\" [src]=\"calendarIconUrl\"\n (click)=\"dp.click()\" />\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-switch [control]=\"control\" (valueChanged)=\"updateSubDynamicFields(field, formgroup, $event)\"></mis-switch>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div [ngClass]=\"{'removeable-container' : field?.isRemoveable}\">\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <img *ngIf=\"field.isRemoveable && removeIconUrl\" class=\"remove-icon\" [src]=\"removeIconUrl\" (click)=\"fieldRemoved.emit(field)\">\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': item.label === control.value?.label }\"\n (click)=\"updateSelectedValueForSingleSelect(field, control, formgroup, item);\">\n <img *ngIf=\"(item.label === control.value?.label) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\" alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': isCheckBoxSelected(item.label, control.value) }\"\n (click)=\"updateSelectedValueForMultiSelect(field, control, formgroup, [item])\">\n <img *ngIf=\"isCheckBoxSelected(item.label, control.value) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\"\n alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <mis-multi-select-dropdown [width]=\"'140px'\" [showSelectedCount]=\"true\" [dropdownListWidth]=\"'256px'\"\n [searchEnabled]=\"false\" [hideApplyButton]=\"true\" [data]=\"field.itemsList\"\n [selectedItems]=\"control.value\" (onChange)=\"updateSelectedValueForMultiSelect(field, control, formgroup, $event);\"></mis-multi-select-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n</ng-template>\n\n<ng-template #dynamicFieldErrors let-errors>\n <div id=\"error-messages-container\">\n <ng-container *ngFor=\"let error of errors | keyvalue\">\n <p class=\"h8\">\n {{\" \u2022 \" + error.value}}\n </p>\n <div style=\"flex-basis: 100%; height: 0\"></div>\n </ng-container>\n </div>\n</ng-template>", styles: ["p{margin:0;cursor:default}::ng-deep .main-container{margin:0;max-width:100%}.sub-dynamic-form{padding-left:24px;border-bottom:1px solid var(--grey-seperators)}.dynamic-field ::ng-deep .container{height:32px!important}.single-line-field-container{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm{margin-bottom:8px;cursor:default}.input-field{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text{height:44px;padding:8px 12px}.ip-textarea{max-height:94px;padding:8px}input:focus{outline:none}input::placeholder{color:var(--grey-seperators)}textarea:focus{outline:none}.date-picker-container{position:relative;width:140px}.date-picker-container .date-picker{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container .date-picker:hover{background-color:var(--grey-hover)}.date-picker-container .date-picker-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form .dynamic-field:last-child{border-bottom:none!important}#checkboxes-container{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common p{color:var(--text-muted);cursor:pointer}.radio-checkbox-common img{margin-right:8px}.checkbox-active{background-color:var(--pmry-500)}.checkbox-active p{color:var(--text-white)}#error-messages-container{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container p{color:var(--sem-error)}.removeable-container{display:flex;justify-content:center;align-items:center}.removeable-container .remove-icon{cursor:pointer;margin-left:8px;max-width:24px}span{color:var(--sem-error)}\n"] }]
|
|
802
882
|
}], function () { return []; }, { formFields: [{
|
|
803
883
|
type: Input
|
|
804
884
|
}], formValues: [{
|