@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,335 +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) > [Filters](./foundation-forms.filters.md)
|
|
4
|
-
|
|
5
|
-
## Filters class
|
|
6
|
-
|
|
7
|
-
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
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export declare class Filters extends Filters_base
|
|
13
|
-
```
|
|
14
|
-
**Extends:** Filters\_base
|
|
15
|
-
|
|
16
|
-
## Properties
|
|
17
|
-
|
|
18
|
-
<table><thead><tr><th>
|
|
19
|
-
|
|
20
|
-
Property
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</th><th>
|
|
24
|
-
|
|
25
|
-
Modifiers
|
|
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
|
-
[allSavedFilters](./foundation-forms.filters.allsavedfilters.md)
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
</td><td>
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
any\[\]
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</td></tr>
|
|
56
|
-
<tr><td>
|
|
57
|
-
|
|
58
|
-
[data](./foundation-forms.filters.data.md)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
</td><td>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
</td><td>
|
|
65
|
-
|
|
66
|
-
any
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
Initial data for the filters.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
<tr><td>
|
|
76
|
-
|
|
77
|
-
[filterName](./foundation-forms.filters.filtername.md)
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
</td><td>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
</td><td>
|
|
84
|
-
|
|
85
|
-
string
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
</td><td>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
</td></tr>
|
|
92
|
-
<tr><td>
|
|
93
|
-
|
|
94
|
-
[jsonSchema](./foundation-forms.filters.jsonschema.md)
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
</td><td>
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td><td>
|
|
101
|
-
|
|
102
|
-
JSONSchema7
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
</td><td>
|
|
106
|
-
|
|
107
|
-
Alternatively to providing [Form.resourceName](./foundation-forms.form.resourcename.md) you can hardcode the JSON schema on the client.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
</td></tr>
|
|
111
|
-
<tr><td>
|
|
112
|
-
|
|
113
|
-
[kvStorage](./foundation-forms.filters.kvstorage.md)
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</td><td>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
</td><td>
|
|
120
|
-
|
|
121
|
-
KVStorage
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
</td><td>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
</td></tr>
|
|
128
|
-
<tr><td>
|
|
129
|
-
|
|
130
|
-
[prefix](./foundation-forms.filters.prefix.md)
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
</td><td>
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
</td><td>
|
|
137
|
-
|
|
138
|
-
string
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
</td><td>
|
|
142
|
-
|
|
143
|
-
Name of the design system prefix that will be used in renderers.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
</td></tr>
|
|
147
|
-
<tr><td>
|
|
148
|
-
|
|
149
|
-
[renderers](./foundation-forms.filters.renderers.md)
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
</td><td>
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
</td><td>
|
|
156
|
-
|
|
157
|
-
[RendererEntry](./foundation-forms.rendererentry.md)<!-- -->\[\]
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
</td><td>
|
|
161
|
-
|
|
162
|
-
Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default.
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</td></tr>
|
|
166
|
-
<tr><td>
|
|
167
|
-
|
|
168
|
-
[resourceName](./foundation-forms.filters.resourcename.md)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
</td><td>
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
</td><td>
|
|
175
|
-
|
|
176
|
-
string
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
</td><td>
|
|
180
|
-
|
|
181
|
-
Name of the backend resource which will provide metadata used to generate filters.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
</td></tr>
|
|
185
|
-
<tr><td>
|
|
186
|
-
|
|
187
|
-
[showFilterPersistenceControls](./foundation-forms.filters.showfilterpersistencecontrols.md)
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
</td><td>
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
</td><td>
|
|
194
|
-
|
|
195
|
-
boolean
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</td><td>
|
|
199
|
-
|
|
200
|
-
Controls the visibility of the filter persistence controls UI.
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
</td></tr>
|
|
204
|
-
<tr><td>
|
|
205
|
-
|
|
206
|
-
[uischema](./foundation-forms.filters.uischema.md)
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
</td><td>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</td><td>
|
|
213
|
-
|
|
214
|
-
[UiSchema](./foundation-forms.uischema.md)
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</td><td>
|
|
218
|
-
|
|
219
|
-
UI schema used to define configuration of the layout and elements in the filters Check [UiSchema](./foundation-forms.uischema.md) for possible options.
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
</td></tr>
|
|
223
|
-
<tr><td>
|
|
224
|
-
|
|
225
|
-
[value](./foundation-forms.filters.value.md)
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
</td><td>
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
</td><td>
|
|
232
|
-
|
|
233
|
-
string
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
</td><td>
|
|
237
|
-
|
|
238
|
-
Created criteria based on the given data that can be used to filter the data.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
</td></tr>
|
|
242
|
-
</tbody></table>
|
|
243
|
-
|
|
244
|
-
## Methods
|
|
245
|
-
|
|
246
|
-
<table><thead><tr><th>
|
|
247
|
-
|
|
248
|
-
Method
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
</th><th>
|
|
252
|
-
|
|
253
|
-
Modifiers
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
</th><th>
|
|
257
|
-
|
|
258
|
-
Description
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
</th></tr></thead>
|
|
262
|
-
<tbody><tr><td>
|
|
263
|
-
|
|
264
|
-
[connectedCallback()](./foundation-forms.filters.connectedcallback.md)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
</td><td>
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
</td><td>
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
</td></tr>
|
|
274
|
-
<tr><td>
|
|
275
|
-
|
|
276
|
-
[deleteFilter()](./foundation-forms.filters.deletefilter.md)
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
</td><td>
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
</td><td>
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
</td></tr>
|
|
286
|
-
<tr><td>
|
|
287
|
-
|
|
288
|
-
[filterNameChanged(oldValue, newValue)](./foundation-forms.filters.filternamechanged.md)
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
</td><td>
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
</td><td>
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
</td></tr>
|
|
298
|
-
<tr><td>
|
|
299
|
-
|
|
300
|
-
[loadAllSavedFilters()](./foundation-forms.filters.loadallsavedfilters.md)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
</td><td>
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
</td><td>
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
</td></tr>
|
|
310
|
-
<tr><td>
|
|
311
|
-
|
|
312
|
-
[loadFilterData(filterKey)](./foundation-forms.filters.loadfilterdata.md)
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
</td><td>
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
</td><td>
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
</td></tr>
|
|
322
|
-
<tr><td>
|
|
323
|
-
|
|
324
|
-
[saveFilter()](./foundation-forms.filters.savefilter.md)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
</td><td>
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
</td><td>
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
</td></tr>
|
|
334
|
-
</tbody></table>
|
|
335
|
-
|
|
@@ -1,13 +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) > [Filters](./foundation-forms.filters.md) > [prefix](./foundation-forms.filters.prefix.md)
|
|
4
|
-
|
|
5
|
-
## Filters.prefix property
|
|
6
|
-
|
|
7
|
-
Name of the design system prefix that will be used in renderers.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
prefix: string;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Filters](./foundation-forms.filters.md) > [renderers](./foundation-forms.filters.renderers.md)
|
|
4
|
-
|
|
5
|
-
## Filters.renderers property
|
|
6
|
-
|
|
7
|
-
Allows to provide the main set of renderers used by the form. If not provided, the built-in renderers will be used by default.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
renderers: RendererEntry[];
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Filters](./foundation-forms.filters.md) > [resourceName](./foundation-forms.filters.resourcename.md)
|
|
4
|
-
|
|
5
|
-
## Filters.resourceName property
|
|
6
|
-
|
|
7
|
-
Name of the backend resource which will provide metadata used to generate filters.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
resourceName: string;
|
|
13
|
-
```
|
|
@@ -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) > [Filters](./foundation-forms.filters.md) > [saveFilter](./foundation-forms.filters.savefilter.md)
|
|
4
|
-
|
|
5
|
-
## Filters.saveFilter() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
saveFilter(): Promise<void>;
|
|
11
|
-
```
|
|
12
|
-
**Returns:**
|
|
13
|
-
|
|
14
|
-
Promise<void>
|
|
15
|
-
|
|
@@ -1,13 +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) > [Filters](./foundation-forms.filters.md) > [showFilterPersistenceControls](./foundation-forms.filters.showfilterpersistencecontrols.md)
|
|
4
|
-
|
|
5
|
-
## Filters.showFilterPersistenceControls property
|
|
6
|
-
|
|
7
|
-
Controls the visibility of the filter persistence controls UI.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
showFilterPersistenceControls: boolean;
|
|
13
|
-
```
|
|
@@ -1,50 +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) > [Filters](./foundation-forms.filters.md) > [uischema](./foundation-forms.filters.uischema.md)
|
|
4
|
-
|
|
5
|
-
## Filters.uischema property
|
|
6
|
-
|
|
7
|
-
UI schema used to define configuration of the layout and elements in the filters Check [UiSchema](./foundation-forms.uischema.md) for possible options.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
uischema: UiSchema;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
If not provided will be autogenerated based on json schema or initial data
|
|
18
|
-
|
|
19
|
-
## Example
|
|
20
|
-
|
|
21
|
-
Here's a simple example:
|
|
22
|
-
|
|
23
|
-
```
|
|
24
|
-
const sampleUISchema = {
|
|
25
|
-
type: 'VerticalLayout',
|
|
26
|
-
elements: [
|
|
27
|
-
{
|
|
28
|
-
type: 'Control',
|
|
29
|
-
scope: '#/properties/QUANTITY',
|
|
30
|
-
label: 'Quantity',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
type: 'Control',
|
|
34
|
-
scope: '#/properties/INSTRUMENT_ID',
|
|
35
|
-
options: {
|
|
36
|
-
allOptionsResourceName: 'INSTRUMENT',
|
|
37
|
-
valueField: 'INSTRUMENT_ID',
|
|
38
|
-
labelField: 'INSTRUMENT_ID',
|
|
39
|
-
},
|
|
40
|
-
label: 'Instrument',
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
type: 'Control',
|
|
44
|
-
scope: '#/properties/SIDE',
|
|
45
|
-
label: 'Side',
|
|
46
|
-
},
|
|
47
|
-
],
|
|
48
|
-
};
|
|
49
|
-
```
|
|
50
|
-
|
|
@@ -1,13 +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) > [Filters](./foundation-forms.filters.md) > [value](./foundation-forms.filters.value.md)
|
|
4
|
-
|
|
5
|
-
## Filters.value property
|
|
6
|
-
|
|
7
|
-
Created criteria based on the given data that can be used to filter the data.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
value: string;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [filtersRenderers](./foundation-forms.filtersrenderers.md)
|
|
4
|
-
|
|
5
|
-
## filtersRenderers variable
|
|
6
|
-
|
|
7
|
-
Set of default renderers used by the foundation-filters.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
filtersRenderers: any[]
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [additionalRenderers](./foundation-forms.form.additionalrenderers.md)
|
|
4
|
-
|
|
5
|
-
## Form.additionalRenderers property
|
|
6
|
-
|
|
7
|
-
Allows to provide set of additional renderers used by the form.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
additionalRenderers: RendererEntry[];
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [approvalMessageLabel](./foundation-forms.form.approvalmessagelabel.md)
|
|
4
|
-
|
|
5
|
-
## Form.approvalMessageLabel property
|
|
6
|
-
|
|
7
|
-
Label for the approval message field in the approval dialog.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
approvalMessageLabel: string;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [bulkInsert](./foundation-forms.form.bulkinsert.md)
|
|
4
|
-
|
|
5
|
-
## Form.bulkInsert property
|
|
6
|
-
|
|
7
|
-
When enabled, transforms the form into bulk insert mode where multiple records can be added. The JSON schema will be wrapped as an array, and each item will be submitted separately.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
bulkInsert: boolean;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [bulkInsertMaxItems](./foundation-forms.form.bulkinsertmaxitems.md)
|
|
4
|
-
|
|
5
|
-
## Form.bulkInsertMaxItems property
|
|
6
|
-
|
|
7
|
-
Maximum number of items allowed in bulk insert mode. If not set, no maximum is enforced.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
bulkInsertMaxItems: number | undefined;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [bulkInsertMinItems](./foundation-forms.form.bulkinsertminitems.md)
|
|
4
|
-
|
|
5
|
-
## Form.bulkInsertMinItems property
|
|
6
|
-
|
|
7
|
-
Minimum number of items required in bulk insert mode.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
bulkInsertMinItems: number;
|
|
13
|
-
```
|
|
@@ -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) > [Form](./foundation-forms.form.md) > [clearRowSubmitStatuses](./foundation-forms.form.clearrowsubmitstatuses.md)
|
|
4
|
-
|
|
5
|
-
## Form.clearRowSubmitStatuses() method
|
|
6
|
-
|
|
7
|
-
Clears all row submit statuses, typically called when resetting the form.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
clearRowSubmitStatuses(): void;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
void
|
|
17
|
-
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [confirmationMessage](./foundation-forms.form.confirmationmessage.md)
|
|
4
|
-
|
|
5
|
-
## Form.confirmationMessage property
|
|
6
|
-
|
|
7
|
-
Optional confirmation message to display before form submission. If set, a confirmation dialog will be shown when the user clicks submit.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
confirmationMessage: string;
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [data](./foundation-forms.form.data.md)
|
|
4
|
-
|
|
5
|
-
## Form.data property
|
|
6
|
-
|
|
7
|
-
Initial data for the form.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
data: any;
|
|
13
|
-
```
|
|
@@ -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) > [Form](./foundation-forms.form.md) > [downloadCsvTemplate](./foundation-forms.form.downloadcsvtemplate.md)
|
|
4
|
-
|
|
5
|
-
## Form.downloadCsvTemplate() method
|
|
6
|
-
|
|
7
|
-
Downloads a CSV template file with headers and sample data based on the schema. If a UI schema is provided, it will be used to determine which fields to include and in what order. Hidden fields will be excluded from the template.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
downloadCsvTemplate(): void;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
void
|
|
17
|
-
|
|
@@ -1,54 +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) > [Form](./foundation-forms.form.md) > [handleCsvFileSelected](./foundation-forms.form.handlecsvfileselected.md)
|
|
4
|
-
|
|
5
|
-
## Form.handleCsvFileSelected() method
|
|
6
|
-
|
|
7
|
-
Handles CSV file selection for bulk import. Parses the CSV content and appends it to existing form items.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
handleCsvFileSelected(event: Event): Promise<void>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
event
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
Event
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
The file input change event
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
</td></tr>
|
|
49
|
-
</tbody></table>
|
|
50
|
-
|
|
51
|
-
**Returns:**
|
|
52
|
-
|
|
53
|
-
Promise<void>
|
|
54
|
-
|
|
@@ -1,13 +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) > [Form](./foundation-forms.form.md) > [hideSubmit](./foundation-forms.form.hidesubmit.md)
|
|
4
|
-
|
|
5
|
-
## Form.hideSubmit property
|
|
6
|
-
|
|
7
|
-
Controls the visibility of the submit button.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
hideSubmit: boolean;
|
|
13
|
-
```
|