@genesislcap/foundation-forms 14.408.0 → 14.409.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -818
- package/dist/custom-elements.json +226 -226
- package/package.json +15 -15
- package/docs/api/foundation-forms.arrayrendereroptions.md +0 -23
- package/docs/api/foundation-forms.bulkrowstatus.md +0 -22
- package/docs/api/foundation-forms.bulkrowsubmitstatus.md +0 -13
- package/docs/api/foundation-forms.bulksubmitfaileditem.md +0 -20
- package/docs/api/foundation-forms.bulksubmitresult.md +0 -18
- package/docs/api/foundation-forms.bulksubmitsuccessitem.md +0 -17
- package/docs/api/foundation-forms.categorizationrendereroptions.md +0 -17
- package/docs/api/foundation-forms.childuischemaresolver.md +0 -15
- package/docs/api/foundation-forms.connectedrenderersoptions.md +0 -23
- package/docs/api/foundation-forms.csvmappingresult.mappedrows.md +0 -13
- package/docs/api/foundation-forms.csvmappingresult.md +0 -77
- package/docs/api/foundation-forms.csvmappingresult.unmappedcolumns.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.errors.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.headers.md +0 -13
- package/docs/api/foundation-forms.csvparseresult.md +0 -96
- package/docs/api/foundation-forms.csvparseresult.rows.md +0 -13
- package/docs/api/foundation-forms.downloadcsvtemplate.md +0 -74
- package/docs/api/foundation-forms.filters.allsavedfilters.md +0 -11
- package/docs/api/foundation-forms.filters.connectedcallback.md +0 -15
- package/docs/api/foundation-forms.filters.data.md +0 -13
- package/docs/api/foundation-forms.filters.deletefilter.md +0 -15
- package/docs/api/foundation-forms.filters.filtername.md +0 -11
- package/docs/api/foundation-forms.filters.filternamechanged.md +0 -64
- package/docs/api/foundation-forms.filters.jsonschema.md +0 -18
- package/docs/api/foundation-forms.filters.kvstorage.md +0 -11
- package/docs/api/foundation-forms.filters.loadallsavedfilters.md +0 -15
- package/docs/api/foundation-forms.filters.loadfilterdata.md +0 -50
- package/docs/api/foundation-forms.filters.md +0 -335
- package/docs/api/foundation-forms.filters.prefix.md +0 -13
- package/docs/api/foundation-forms.filters.renderers.md +0 -13
- package/docs/api/foundation-forms.filters.resourcename.md +0 -13
- package/docs/api/foundation-forms.filters.savefilter.md +0 -15
- package/docs/api/foundation-forms.filters.showfilterpersistencecontrols.md +0 -13
- package/docs/api/foundation-forms.filters.uischema.md +0 -50
- package/docs/api/foundation-forms.filters.value.md +0 -13
- package/docs/api/foundation-forms.filtersrenderers.md +0 -13
- package/docs/api/foundation-forms.form.additionalrenderers.md +0 -13
- package/docs/api/foundation-forms.form.approvalmessagelabel.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsert.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsertmaxitems.md +0 -13
- package/docs/api/foundation-forms.form.bulkinsertminitems.md +0 -13
- package/docs/api/foundation-forms.form.clearrowsubmitstatuses.md +0 -17
- package/docs/api/foundation-forms.form.confirmationmessage.md +0 -13
- package/docs/api/foundation-forms.form.data.md +0 -13
- package/docs/api/foundation-forms.form.downloadcsvtemplate.md +0 -17
- package/docs/api/foundation-forms.form.handlecsvfileselected.md +0 -54
- package/docs/api/foundation-forms.form.hidesubmit.md +0 -13
- package/docs/api/foundation-forms.form.jsonschema.md +0 -18
- package/docs/api/foundation-forms.form.md +0 -434
- package/docs/api/foundation-forms.form.prefix.md +0 -13
- package/docs/api/foundation-forms.form.readonly.md +0 -13
- package/docs/api/foundation-forms.form.renderers.md +0 -13
- package/docs/api/foundation-forms.form.reset.md +0 -54
- package/docs/api/foundation-forms.form.resourcename.md +0 -13
- package/docs/api/foundation-forms.form.rowsubmitstatuses.md +0 -13
- package/docs/api/foundation-forms.form.setapprovalmessage.md +0 -13
- package/docs/api/foundation-forms.form.submitsinglerow.md +0 -56
- package/docs/api/foundation-forms.form.uischema.md +0 -50
- package/docs/api/foundation-forms.generatecsvtemplate.md +0 -104
- package/docs/api/foundation-forms.getanyoferrormessage.md +0 -96
- package/docs/api/foundation-forms.grouprendereroptions.md +0 -15
- package/docs/api/foundation-forms.labelplacementoptions.md +0 -17
- package/docs/api/foundation-forms.labelplacementtype.md +0 -13
- package/docs/api/foundation-forms.mapcsvtoschema.md +0 -88
- package/docs/api/foundation-forms.md +0 -516
- package/docs/api/foundation-forms.multicolumndropdowncontrolrendererentry.md +0 -15
- package/docs/api/foundation-forms.multicolumndropdowncontrolrenderertemplate.md +0 -82
- package/docs/api/foundation-forms.multicolumndropdownrendereroptions.md +0 -25
- package/docs/api/foundation-forms.mustmatch.md +0 -62
- package/docs/api/foundation-forms.numberrendereroptions.md +0 -17
- package/docs/api/foundation-forms.parsecsv.md +0 -56
- package/docs/api/foundation-forms.rendererentry.md +0 -30
- package/docs/api/foundation-forms.renderers.md +0 -13
- package/docs/api/foundation-forms.standardrendereroptions.md +0 -22
- package/docs/api/foundation-forms.stepperorientationoptions.md +0 -17
- package/docs/api/foundation-forms.stepperorientationtype.md +0 -13
- package/docs/api/foundation-forms.stepperrendereroptions.md +0 -15
- package/docs/api/foundation-forms.stringrendereroptions.md +0 -17
- package/docs/api/foundation-forms.uischema.md +0 -19
- package/docs/api/foundation-forms.uischemaelement.md +0 -22
- package/docs/api/foundation-forms.uischemaelementoptions.md +0 -15
- package/docs/api/foundation-forms.uischemaelementtype.md +0 -13
- package/docs/api/foundation-forms.uischemaoptions.md +0 -15
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -440
|
@@ -1,516 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md)
|
|
4
|
-
|
|
5
|
-
## foundation-forms package
|
|
6
|
-
|
|
7
|
-
## Classes
|
|
8
|
-
|
|
9
|
-
<table><thead><tr><th>
|
|
10
|
-
|
|
11
|
-
Class
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</th><th>
|
|
15
|
-
|
|
16
|
-
Description
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</th></tr></thead>
|
|
20
|
-
<tbody><tr><td>
|
|
21
|
-
|
|
22
|
-
[Filters](./foundation-forms.filters.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</td><td>
|
|
26
|
-
|
|
27
|
-
Foundation filters component for automatically generated filters based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable filters elements using UI schema and set of custom renderers
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</td></tr>
|
|
31
|
-
<tr><td>
|
|
32
|
-
|
|
33
|
-
[Form](./foundation-forms.form.md)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</td><td>
|
|
37
|
-
|
|
38
|
-
Foundation form component for automatically generated forms based on json schema obtained from the api, supplied initial data or supplied JSON schema. Allowing customisable form elements using UI schema and set of custom renderers
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td></tr>
|
|
42
|
-
</tbody></table>
|
|
43
|
-
|
|
44
|
-
## Functions
|
|
45
|
-
|
|
46
|
-
<table><thead><tr><th>
|
|
47
|
-
|
|
48
|
-
Function
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
</th><th>
|
|
52
|
-
|
|
53
|
-
Description
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
</th></tr></thead>
|
|
57
|
-
<tbody><tr><td>
|
|
58
|
-
|
|
59
|
-
[downloadCsvTemplate(csvContent, fileName)](./foundation-forms.downloadcsvtemplate.md)
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td><td>
|
|
63
|
-
|
|
64
|
-
Triggers a download of the CSV template file in the browser.
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
</td></tr>
|
|
68
|
-
<tr><td>
|
|
69
|
-
|
|
70
|
-
[generateCsvTemplate(schema, uiSchema, includeOptionalFields, includeBom)](./foundation-forms.generatecsvtemplate.md)
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
</td><td>
|
|
74
|
-
|
|
75
|
-
Generates a CSV template string with headers and sample data based on JSON schema. If a UI schema is provided, it will be used to determine which fields to include and in what order. Hidden fields in the UI schema will be excluded.
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
</td></tr>
|
|
79
|
-
<tr><td>
|
|
80
|
-
|
|
81
|
-
[getAnyOfErrorMessage(errors, schema, controlPath, uiCustomMsg)](./foundation-forms.getanyoferrormessage.md)
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</td><td>
|
|
85
|
-
|
|
86
|
-
Computes a human-friendly anyOf error message for a given control path. Prefers UI schema custom message, then JSON schema errorMessage.anyOf, then a constructed fallback.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</td></tr>
|
|
90
|
-
<tr><td>
|
|
91
|
-
|
|
92
|
-
[mapCsvToSchema(csvRows, schema, uiSchema)](./foundation-forms.mapcsvtoschema.md)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</td><td>
|
|
96
|
-
|
|
97
|
-
Maps CSV rows to schema fields with case-insensitive matching. When uiSchema is provided, CSV headers can also match UI schema labels. Converts values to appropriate types based on schema definition.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td></tr>
|
|
101
|
-
<tr><td>
|
|
102
|
-
|
|
103
|
-
[MulticolumnDropdownControlRendererTemplate(prefix)](./foundation-forms.multicolumndropdowncontrolrenderertemplate.md)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
</td><td>
|
|
107
|
-
|
|
108
|
-
**_(BETA)_** A JSON Forms renderer that uses the multicolumn-dropdown component.
|
|
109
|
-
|
|
110
|
-
Activated when the uischema element has `columnDefinitions` set. Takes precedence over `ConnectedSelectControlRendererEntry` due to its higher rank.
|
|
111
|
-
|
|
112
|
-
Options are typed via [MulticolumnDropdownRendererOptions](./foundation-forms.multicolumndropdownrendereroptions.md)<!-- -->.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
</td></tr>
|
|
116
|
-
<tr><td>
|
|
117
|
-
|
|
118
|
-
[mustMatch(target)](./foundation-forms.mustmatch.md)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</td><td>
|
|
122
|
-
|
|
123
|
-
Ensures the value of the current field (the one the validator is on) matches the one of the target field.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
</td></tr>
|
|
127
|
-
<tr><td>
|
|
128
|
-
|
|
129
|
-
[parseCsv(content)](./foundation-forms.parsecsv.md)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td><td>
|
|
133
|
-
|
|
134
|
-
Parses a CSV string into headers and rows using PapaParse. Handles quoted fields, escaped quotes, empty values, and mixed line endings.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
</td></tr>
|
|
138
|
-
</tbody></table>
|
|
139
|
-
|
|
140
|
-
## Interfaces
|
|
141
|
-
|
|
142
|
-
<table><thead><tr><th>
|
|
143
|
-
|
|
144
|
-
Interface
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
</th><th>
|
|
148
|
-
|
|
149
|
-
Description
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</th></tr></thead>
|
|
153
|
-
<tbody><tr><td>
|
|
154
|
-
|
|
155
|
-
[CsvMappingResult](./foundation-forms.csvmappingresult.md)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</td><td>
|
|
159
|
-
|
|
160
|
-
Result of mapping CSV data to schema fields.
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
</td></tr>
|
|
164
|
-
<tr><td>
|
|
165
|
-
|
|
166
|
-
[CsvParseResult](./foundation-forms.csvparseresult.md)
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
</td><td>
|
|
170
|
-
|
|
171
|
-
Result of parsing a CSV file.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td></tr>
|
|
175
|
-
</tbody></table>
|
|
176
|
-
|
|
177
|
-
## Variables
|
|
178
|
-
|
|
179
|
-
<table><thead><tr><th>
|
|
180
|
-
|
|
181
|
-
Variable
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
</th><th>
|
|
185
|
-
|
|
186
|
-
Description
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
</th></tr></thead>
|
|
190
|
-
<tbody><tr><td>
|
|
191
|
-
|
|
192
|
-
[filtersRenderers](./foundation-forms.filtersrenderers.md)
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
</td><td>
|
|
196
|
-
|
|
197
|
-
Set of default renderers used by the foundation-filters.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
</td></tr>
|
|
201
|
-
<tr><td>
|
|
202
|
-
|
|
203
|
-
[MulticolumnDropdownControlRendererEntry](./foundation-forms.multicolumndropdowncontrolrendererentry.md)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
</td><td>
|
|
207
|
-
|
|
208
|
-
**_(BETA)_**
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
</td></tr>
|
|
212
|
-
<tr><td>
|
|
213
|
-
|
|
214
|
-
[renderers](./foundation-forms.renderers.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
Set of default renderers used by the foundation-forms.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</td></tr>
|
|
223
|
-
</tbody></table>
|
|
224
|
-
|
|
225
|
-
## Type Aliases
|
|
226
|
-
|
|
227
|
-
<table><thead><tr><th>
|
|
228
|
-
|
|
229
|
-
Type Alias
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
</th><th>
|
|
233
|
-
|
|
234
|
-
Description
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
</th></tr></thead>
|
|
238
|
-
<tbody><tr><td>
|
|
239
|
-
|
|
240
|
-
[ArrayRendererOptions](./foundation-forms.arrayrendereroptions.md)
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
</td><td>
|
|
244
|
-
|
|
245
|
-
Configuration options available for array renderer.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
</td></tr>
|
|
249
|
-
<tr><td>
|
|
250
|
-
|
|
251
|
-
[BulkRowStatus](./foundation-forms.bulkrowstatus.md)
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
</td><td>
|
|
255
|
-
|
|
256
|
-
Tracks the submission status and result for a single row in bulk insert mode.
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
</td></tr>
|
|
260
|
-
<tr><td>
|
|
261
|
-
|
|
262
|
-
[BulkRowSubmitStatus](./foundation-forms.bulkrowsubmitstatus.md)
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
</td><td>
|
|
266
|
-
|
|
267
|
-
Possible submission status values for a row in bulk insert mode.
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
</td></tr>
|
|
271
|
-
<tr><td>
|
|
272
|
-
|
|
273
|
-
[BulkSubmitFailedItem](./foundation-forms.bulksubmitfaileditem.md)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
</td><td>
|
|
277
|
-
|
|
278
|
-
Represents a failed bulk insert item result.
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
</td></tr>
|
|
282
|
-
<tr><td>
|
|
283
|
-
|
|
284
|
-
[BulkSubmitResult](./foundation-forms.bulksubmitresult.md)
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
</td><td>
|
|
288
|
-
|
|
289
|
-
Result of a bulk insert submission containing successful and failed items.
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
</td></tr>
|
|
293
|
-
<tr><td>
|
|
294
|
-
|
|
295
|
-
[BulkSubmitSuccessItem](./foundation-forms.bulksubmitsuccessitem.md)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
</td><td>
|
|
299
|
-
|
|
300
|
-
Represents a successful bulk insert item result.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
</td></tr>
|
|
304
|
-
<tr><td>
|
|
305
|
-
|
|
306
|
-
[CategorizationRendererOptions](./foundation-forms.categorizationrendereroptions.md)
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
</td><td>
|
|
310
|
-
|
|
311
|
-
Configuration options available for categorization renderer.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
</td></tr>
|
|
315
|
-
<tr><td>
|
|
316
|
-
|
|
317
|
-
[ChildUiSchemaResolver](./foundation-forms.childuischemaresolver.md)
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
</td><td>
|
|
321
|
-
|
|
322
|
-
Resolver for dynamic per-row UI schema in array/bulk-insert mode. Receives the row index, that row's data, and the full form data.
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
</td></tr>
|
|
326
|
-
<tr><td>
|
|
327
|
-
|
|
328
|
-
[ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md)
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
</td><td>
|
|
332
|
-
|
|
333
|
-
Available configuration options for connected combobox/multiselect.
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
</td></tr>
|
|
337
|
-
<tr><td>
|
|
338
|
-
|
|
339
|
-
[GroupRendererOptions](./foundation-forms.grouprendereroptions.md)
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
</td><td>
|
|
343
|
-
|
|
344
|
-
Configuration options available for group renderer.
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
</td></tr>
|
|
348
|
-
<tr><td>
|
|
349
|
-
|
|
350
|
-
[LabelPlacementOptions](./foundation-forms.labelplacementoptions.md)
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
</td><td>
|
|
354
|
-
|
|
355
|
-
Orientation options available for stepper renderer.
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
</td></tr>
|
|
359
|
-
<tr><td>
|
|
360
|
-
|
|
361
|
-
[LabelPlacementType](./foundation-forms.labelplacementtype.md)
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
</td><td>
|
|
365
|
-
|
|
366
|
-
Available aligment for labels.
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
</td></tr>
|
|
370
|
-
<tr><td>
|
|
371
|
-
|
|
372
|
-
[MulticolumnDropdownRendererOptions](./foundation-forms.multicolumndropdownrendereroptions.md)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
</td><td>
|
|
376
|
-
|
|
377
|
-
Configuration options for the multicolumn-dropdown renderer.
|
|
378
|
-
|
|
379
|
-
Shares `allOptionsResourceName` with [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md) so the same reqrep/dataserver resource name field is reused. The renderer is activated when `columnDefinitions` is present (higher rank than the combobox renderer).
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
</td></tr>
|
|
383
|
-
<tr><td>
|
|
384
|
-
|
|
385
|
-
[NumberRendererOptions](./foundation-forms.numberrendereroptions.md)
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
</td><td>
|
|
389
|
-
|
|
390
|
-
Configuration options available for number renderer.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
</td></tr>
|
|
394
|
-
<tr><td>
|
|
395
|
-
|
|
396
|
-
[RendererEntry](./foundation-forms.rendererentry.md)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
</td><td>
|
|
400
|
-
|
|
401
|
-
Defines a renderer configuration in JSON forms. Allows to specify the renderer component, a tester function to determine renderer applicability, and a mapper function to connect JSON forms state to renderer's props.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
</td></tr>
|
|
405
|
-
<tr><td>
|
|
406
|
-
|
|
407
|
-
[StandardRendererOptions](./foundation-forms.standardrendereroptions.md)
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
</td><td>
|
|
411
|
-
|
|
412
|
-
Standard configuration options available for all renderers.
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
</td></tr>
|
|
416
|
-
<tr><td>
|
|
417
|
-
|
|
418
|
-
[StepperOrientationOptions](./foundation-forms.stepperorientationoptions.md)
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
</td><td>
|
|
422
|
-
|
|
423
|
-
Orientation options available for stepper renderer.
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
</td></tr>
|
|
427
|
-
<tr><td>
|
|
428
|
-
|
|
429
|
-
[StepperOrientationType](./foundation-forms.stepperorientationtype.md)
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
</td><td>
|
|
433
|
-
|
|
434
|
-
Available orientation for stepper renderer.
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
</td></tr>
|
|
438
|
-
<tr><td>
|
|
439
|
-
|
|
440
|
-
[StepperRendererOptions](./foundation-forms.stepperrendereroptions.md)
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
</td><td>
|
|
444
|
-
|
|
445
|
-
Configuration options available for stepper renderer.
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
</td></tr>
|
|
449
|
-
<tr><td>
|
|
450
|
-
|
|
451
|
-
[StringRendererOptions](./foundation-forms.stringrendereroptions.md)
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
</td><td>
|
|
455
|
-
|
|
456
|
-
Configuration options available for string renderer.
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
</td></tr>
|
|
460
|
-
<tr><td>
|
|
461
|
-
|
|
462
|
-
[UiSchema](./foundation-forms.uischema.md)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
</td><td>
|
|
466
|
-
|
|
467
|
-
The UI schema, which is passed to JSON Forms, describes the general layout of a form and is just a regular JSON object. It describes the form by means of different UI schema elements, which can often be categorized into either Controls or Layouts.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
</td></tr>
|
|
471
|
-
<tr><td>
|
|
472
|
-
|
|
473
|
-
[UiSchemaElement](./foundation-forms.uischemaelement.md)
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
</td><td>
|
|
477
|
-
|
|
478
|
-
A UiSchemaElement that displays property values in a user interface element.
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
</td></tr>
|
|
482
|
-
<tr><td>
|
|
483
|
-
|
|
484
|
-
[UiSchemaElementOptions](./foundation-forms.uischemaelementoptions.md)
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
</td><td>
|
|
488
|
-
|
|
489
|
-
All configuration options that are available.
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
</td></tr>
|
|
493
|
-
<tr><td>
|
|
494
|
-
|
|
495
|
-
[UiSchemaElementType](./foundation-forms.uischemaelementtype.md)
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
</td><td>
|
|
499
|
-
|
|
500
|
-
The layouts and control types, which allow you to customize the arrangement of forms.
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
</td></tr>
|
|
504
|
-
<tr><td>
|
|
505
|
-
|
|
506
|
-
[UiSchemaOptions](./foundation-forms.uischemaoptions.md)
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
</td><td>
|
|
510
|
-
|
|
511
|
-
All configuration options that are available.
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
</td></tr>
|
|
515
|
-
</tbody></table>
|
|
516
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [MulticolumnDropdownControlRendererEntry](./foundation-forms.multicolumndropdowncontrolrendererentry.md)
|
|
4
|
-
|
|
5
|
-
## MulticolumnDropdownControlRendererEntry variable
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
MulticolumnDropdownControlRendererEntry: any
|
|
15
|
-
```
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [MulticolumnDropdownControlRendererTemplate](./foundation-forms.multicolumndropdowncontrolrenderertemplate.md)
|
|
4
|
-
|
|
5
|
-
## MulticolumnDropdownControlRendererTemplate() function
|
|
6
|
-
|
|
7
|
-
> This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|
|
8
|
-
>
|
|
9
|
-
|
|
10
|
-
A JSON Forms renderer that uses the multicolumn-dropdown component.
|
|
11
|
-
|
|
12
|
-
Activated when the uischema element has `columnDefinitions` set. Takes precedence over `ConnectedSelectControlRendererEntry` due to its higher rank.
|
|
13
|
-
|
|
14
|
-
Options are typed via [MulticolumnDropdownRendererOptions](./foundation-forms.multicolumndropdownrendereroptions.md)<!-- -->.
|
|
15
|
-
|
|
16
|
-
**Signature:**
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
MulticolumnDropdownControlRendererTemplate: (prefix?: string) => import("@microsoft/fast-element").ViewTemplate<DispatchRenderer, any>
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Parameters
|
|
23
|
-
|
|
24
|
-
<table><thead><tr><th>
|
|
25
|
-
|
|
26
|
-
Parameter
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</th><th>
|
|
30
|
-
|
|
31
|
-
Type
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
</th><th>
|
|
35
|
-
|
|
36
|
-
Description
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
</th></tr></thead>
|
|
40
|
-
<tbody><tr><td>
|
|
41
|
-
|
|
42
|
-
prefix
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
</td><td>
|
|
46
|
-
|
|
47
|
-
string
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
</td><td>
|
|
51
|
-
|
|
52
|
-
_(Optional)_
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
</tbody></table>
|
|
57
|
-
|
|
58
|
-
**Returns:**
|
|
59
|
-
|
|
60
|
-
import("@microsoft/fast-element").ViewTemplate<DispatchRenderer, any>
|
|
61
|
-
|
|
62
|
-
## Example
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
```ts
|
|
66
|
-
{
|
|
67
|
-
type: 'Control',
|
|
68
|
-
scope: '#/properties/INSTRUMENT_ID',
|
|
69
|
-
label: 'Instrument',
|
|
70
|
-
options: <MulticolumnDropdownRendererOptions>{
|
|
71
|
-
allOptionsResourceName: 'ALL_INSTRUMENTS',
|
|
72
|
-
valueField: 'INSTRUMENT_ID',
|
|
73
|
-
labelField: 'NAME',
|
|
74
|
-
searchKey: ['INSTRUMENT_ID', 'NAME'],
|
|
75
|
-
columnDefinitions: [
|
|
76
|
-
{ field: 'INSTRUMENT_ID', headerName: 'ID' },
|
|
77
|
-
{ field: 'NAME', headerName: 'Name' },
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
}
|
|
81
|
-
```
|
|
82
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [MulticolumnDropdownRendererOptions](./foundation-forms.multicolumndropdownrendereroptions.md)
|
|
4
|
-
|
|
5
|
-
## MulticolumnDropdownRendererOptions type
|
|
6
|
-
|
|
7
|
-
Configuration options for the multicolumn-dropdown renderer.
|
|
8
|
-
|
|
9
|
-
Shares `allOptionsResourceName` with [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md) so the same reqrep/dataserver resource name field is reused. The renderer is activated when `columnDefinitions` is present (higher rank than the combobox renderer).
|
|
10
|
-
|
|
11
|
-
**Signature:**
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
export type MulticolumnDropdownRendererOptions = Pick<ConnectedRenderersOptions, 'allOptionsResourceName' | 'valueField' | 'labelField'> & {
|
|
15
|
-
searchKey?: string | string[];
|
|
16
|
-
columnDefinitions: Record<string, unknown>[];
|
|
17
|
-
request?: Record<string, unknown>;
|
|
18
|
-
baseCriteria?: string;
|
|
19
|
-
advancedSearchReq?: boolean;
|
|
20
|
-
dropdownPlacement?: 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
21
|
-
dropdownWidth?: number;
|
|
22
|
-
};
|
|
23
|
-
```
|
|
24
|
-
**References:** [ConnectedRenderersOptions](./foundation-forms.connectedrenderersoptions.md)
|
|
25
|
-
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [mustMatch](./foundation-forms.mustmatch.md)
|
|
4
|
-
|
|
5
|
-
## mustMatch() function
|
|
6
|
-
|
|
7
|
-
Ensures the value of the current field (the one the validator is on) matches the one of the target field.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
mustMatch: (target: string) => (data: any, path: any, label: any) => {
|
|
13
|
-
instancePath: string;
|
|
14
|
-
message: string;
|
|
15
|
-
schemaPath: string;
|
|
16
|
-
keyword: string;
|
|
17
|
-
params: {};
|
|
18
|
-
}[]
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Parameters
|
|
22
|
-
|
|
23
|
-
<table><thead><tr><th>
|
|
24
|
-
|
|
25
|
-
Parameter
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
</th><th>
|
|
29
|
-
|
|
30
|
-
Type
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</th><th>
|
|
34
|
-
|
|
35
|
-
Description
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</th></tr></thead>
|
|
39
|
-
<tbody><tr><td>
|
|
40
|
-
|
|
41
|
-
target
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
string
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
</td><td>
|
|
50
|
-
|
|
51
|
-
any other field
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
</td></tr>
|
|
55
|
-
</tbody></table>
|
|
56
|
-
|
|
57
|
-
**Returns:**
|
|
58
|
-
|
|
59
|
-
(data: any, path: any, label: any) => { instancePath: string; message: string; schemaPath: string; keyword: string; params: {}; }\[\]
|
|
60
|
-
|
|
61
|
-
a validator function that will be run by the smart form during the client-side validation stage
|
|
62
|
-
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-forms](./foundation-forms.md) > [NumberRendererOptions](./foundation-forms.numberrendereroptions.md)
|
|
4
|
-
|
|
5
|
-
## NumberRendererOptions type
|
|
6
|
-
|
|
7
|
-
Configuration options available for number renderer.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type NumberRendererOptions = {
|
|
13
|
-
withoutFormatting?: boolean;
|
|
14
|
-
formatOptions?: Intl.NumberFormatOptions;
|
|
15
|
-
autocomplete?: string;
|
|
16
|
-
};
|
|
17
|
-
```
|