@scenid/react-formulator 0.1.9 → 0.1.11
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/dist/index.cjs.js +44 -28
- package/dist/index.esm.js +44 -28
- package/package.json +3 -1
- package/src/Editable/FormField.jsx +2 -3
- package/src/Editable/FormSelect.jsx +3 -1
- package/src/FormulatorFormSection.jsx +18 -13
- package/src/ReadOnly/FormReadOnlyField.jsx +3 -3
- package/src/ReadOnly/FormReadOnlyText.jsx +17 -7
- package/stories/Forms.stories.jsx +17 -13
- package/stories/forms/rlp.render.schema.json +22 -116
- package/stories/forms/rlp.validation.schema.json +1 -560
|
@@ -141,22 +141,26 @@ RLP.args = {
|
|
|
141
141
|
schema: schemas.rlp.validation,
|
|
142
142
|
renderSchema: schemas.rlp.render,
|
|
143
143
|
inputVariant: 'filled',
|
|
144
|
-
textAlign: '
|
|
144
|
+
textAlign: 'left',
|
|
145
145
|
translations: schemas.rlp.translations,
|
|
146
146
|
errorMessages: {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
147
|
+
required: 'Pflichtfeld',
|
|
148
|
+
IBAN: 'IBAN bitte ohne Sonder- und Trennzeichen angeben',
|
|
149
|
+
Int: 'Bitte geben Sie ein gültige Zahl ein',
|
|
150
|
+
URL: "Ungültiger Link",
|
|
151
|
+
Email: "Ungültige E-Mail Adresse",
|
|
152
|
+
Date: "Ungültiges Datum",
|
|
153
|
+
Length: "Länge muss zwischen {{min}} und {{max}} liegen",
|
|
154
|
+
RegExp: "Ungültiges Format oder Zeichen",
|
|
155
|
+
'invalid-email': "Ungültige E-Mail Adresse",
|
|
156
|
+
'invalid-phone': "Ungültige Telefonnummer",
|
|
157
|
+
'invalid-fax': "Ungültige Faxnummer"
|
|
158
|
+
},
|
|
159
|
+
data: {
|
|
160
|
+
ouType: 'private-medical-practice',
|
|
161
|
+
hasBank: true,
|
|
162
|
+
bankValidFrom: '2022-08-14'
|
|
158
163
|
},
|
|
159
|
-
data: {},
|
|
160
164
|
renderComponentMap: {
|
|
161
165
|
// contacts: <RoleContactsRepeater />,
|
|
162
166
|
// reporterId: <FormUnique entityType="ou" />,
|
|
@@ -7,36 +7,16 @@
|
|
|
7
7
|
"fields": [
|
|
8
8
|
"active",
|
|
9
9
|
"ouType",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{
|
|
13
|
-
"action": "copy"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
[
|
|
17
|
-
"legalForm",
|
|
18
|
-
{
|
|
19
|
-
"noPreselected": true
|
|
20
|
-
}
|
|
21
|
-
]
|
|
10
|
+
"name",
|
|
11
|
+
"legalForm"
|
|
22
12
|
]
|
|
23
13
|
},
|
|
24
14
|
{
|
|
25
15
|
"label": "Einrichtungsdetails",
|
|
26
16
|
"id": "miscData",
|
|
27
17
|
"fields": [
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
{
|
|
31
|
-
"noPreselected": true
|
|
32
|
-
}
|
|
33
|
-
],
|
|
34
|
-
[
|
|
35
|
-
"typeOfPractice",
|
|
36
|
-
{
|
|
37
|
-
"noPreselected": true
|
|
38
|
-
}
|
|
39
|
-
],
|
|
18
|
+
"medicalField",
|
|
19
|
+
"typeOfPractice",
|
|
40
20
|
"numTumorPatients",
|
|
41
21
|
"openingHours",
|
|
42
22
|
"website"
|
|
@@ -66,12 +46,7 @@
|
|
|
66
46
|
"@@render",
|
|
67
47
|
"bsnr"
|
|
68
48
|
],
|
|
69
|
-
|
|
70
|
-
"locationType",
|
|
71
|
-
{
|
|
72
|
-
"noPreselected": true
|
|
73
|
-
}
|
|
74
|
-
],
|
|
49
|
+
"locationType",
|
|
75
50
|
"creditorNumber"
|
|
76
51
|
]
|
|
77
52
|
},
|
|
@@ -88,70 +63,25 @@
|
|
|
88
63
|
"reportingPin",
|
|
89
64
|
"reportingAuthCode",
|
|
90
65
|
"hasPortalAccessTest",
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
{
|
|
94
|
-
"noPreselected": true
|
|
95
|
-
}
|
|
96
|
-
],
|
|
97
|
-
[
|
|
98
|
-
"hasPortalTestVersion",
|
|
99
|
-
{
|
|
100
|
-
"noPreselected": true
|
|
101
|
-
}
|
|
102
|
-
],
|
|
66
|
+
"hasPortalTestGroup",
|
|
67
|
+
"hasPortalTestVersion",
|
|
103
68
|
"hasPortalAccessProd",
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
],
|
|
110
|
-
[
|
|
111
|
-
"hasPortalProdVersion",
|
|
112
|
-
{
|
|
113
|
-
"noPreselected": true
|
|
114
|
-
}
|
|
115
|
-
],
|
|
116
|
-
[
|
|
117
|
-
"reportingChannel",
|
|
118
|
-
{
|
|
119
|
-
"noPreselected": true
|
|
120
|
-
}
|
|
121
|
-
],
|
|
122
|
-
[
|
|
123
|
-
"reportingSoftware",
|
|
124
|
-
{
|
|
125
|
-
"noPreselected": true
|
|
126
|
-
}
|
|
127
|
-
],
|
|
69
|
+
"hasPortalProdGroup",
|
|
70
|
+
"hasPortalProdVersion",
|
|
71
|
+
"reportingChannel",
|
|
72
|
+
"reportingSoftware",
|
|
128
73
|
"reporterCertified",
|
|
129
|
-
|
|
130
|
-
"certifiedVersion",
|
|
131
|
-
{
|
|
132
|
-
"noPreselected": true
|
|
133
|
-
}
|
|
134
|
-
]
|
|
74
|
+
"certifiedVersion"
|
|
135
75
|
]
|
|
136
76
|
},
|
|
137
77
|
{
|
|
138
78
|
"label": "Onkologisches Zentrum",
|
|
139
79
|
"id": "oncologyCenterData",
|
|
140
80
|
"fields": [
|
|
141
|
-
|
|
142
|
-
"oncologyCenterType",
|
|
143
|
-
{
|
|
144
|
-
"noPreselected": true
|
|
145
|
-
}
|
|
146
|
-
],
|
|
81
|
+
"oncologyCenterType",
|
|
147
82
|
"oncologyCenterId",
|
|
148
83
|
"isCertifiedOncologyCenter",
|
|
149
|
-
|
|
150
|
-
"oncologyCenterCertificate",
|
|
151
|
-
{
|
|
152
|
-
"noPreselected": true
|
|
153
|
-
}
|
|
154
|
-
],
|
|
84
|
+
"oncologyCenterCertificate",
|
|
155
85
|
"oncologyCenterDateCertified"
|
|
156
86
|
]
|
|
157
87
|
},
|
|
@@ -175,12 +105,7 @@
|
|
|
175
105
|
"id": "developerData",
|
|
176
106
|
"fields": [
|
|
177
107
|
"certified",
|
|
178
|
-
|
|
179
|
-
"products",
|
|
180
|
-
{
|
|
181
|
-
"noPreselected": true
|
|
182
|
-
}
|
|
183
|
-
],
|
|
108
|
+
"products",
|
|
184
109
|
"version"
|
|
185
110
|
]
|
|
186
111
|
},
|
|
@@ -188,12 +113,7 @@
|
|
|
188
113
|
"label": "Kostenträger",
|
|
189
114
|
"id": "healthInsuranceData",
|
|
190
115
|
"fields": [
|
|
191
|
-
|
|
192
|
-
"typeOfInsuranceCompany",
|
|
193
|
-
{
|
|
194
|
-
"noPreselected": true
|
|
195
|
-
}
|
|
196
|
-
],
|
|
116
|
+
"typeOfInsuranceCompany",
|
|
197
117
|
"debitNumber"
|
|
198
118
|
]
|
|
199
119
|
},
|
|
@@ -208,7 +128,12 @@
|
|
|
208
128
|
"bankAccountOwner",
|
|
209
129
|
"iban",
|
|
210
130
|
"bankNote",
|
|
211
|
-
|
|
131
|
+
[
|
|
132
|
+
"bankValidFrom",
|
|
133
|
+
{
|
|
134
|
+
"type": "date"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
212
137
|
]
|
|
213
138
|
},
|
|
214
139
|
{
|
|
@@ -223,25 +148,6 @@
|
|
|
223
148
|
"city",
|
|
224
149
|
"countryCode"
|
|
225
150
|
]
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"label": "Verbünde (Alt)",
|
|
229
|
-
"id": "federations",
|
|
230
|
-
"fields": [
|
|
231
|
-
"federationHead",
|
|
232
|
-
"federationMembers"
|
|
233
|
-
]
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"label": "Kontaktdaten (Alt)",
|
|
237
|
-
"id": "contactOld",
|
|
238
|
-
"fields": [
|
|
239
|
-
"phonePrefix",
|
|
240
|
-
"phone",
|
|
241
|
-
"faxPrefix",
|
|
242
|
-
"fax",
|
|
243
|
-
"email"
|
|
244
|
-
]
|
|
245
151
|
}
|
|
246
152
|
]
|
|
247
153
|
}
|