@docupace/ihub-config 1.1.21 → 1.1.22-admin.1
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 +182 -182
- package/dist/config-extension.d.ts +23 -0
- package/dist/config-extension.d.ts.map +1 -1
- package/dist/config-extension.js +2 -0
- package/dist/config-extension.js.map +1 -1
- package/dist/config-service.d.ts +12 -3
- package/dist/config-service.d.ts.map +1 -1
- package/dist/config-service.js +128 -21
- package/dist/config-service.js.map +1 -1
- package/dist/mappers/config-mapper.d.ts.map +1 -1
- package/dist/mappers/config-mapper.js +1 -0
- package/dist/mappers/config-mapper.js.map +1 -1
- package/dist/model/graphs/config/common.graphql +7 -7
- package/dist/model/graphs/config/fields.graphql +412 -382
- package/dist/model/graphs/config/menu.graphql +60 -54
- package/dist/model/graphs/config/mutation.graphql +30 -30
- package/dist/model/graphs/config/page.graphql +263 -256
- package/dist/model/graphs/config/panel.graphql +30 -30
- package/dist/model/graphs/config/query.graphql +84 -84
- package/dist/model/graphs/config/rules.graphql +104 -104
- package/dist/model/graphs/config/selectOptions.graphql +48 -47
- package/dist/model/graphs/config/table.graphql +213 -182
- package/dist/model/graphs/config/tests.graphql +16 -16
- package/dist/model/graphs/config/theme.graphql +41 -41
- package/dist/model/graphs/config/ui-components.graphql +10 -10
- package/dist/model/graphs/domains/scalars.graphql +3 -3
- package/dist/model/graphs/filter.graphql +5 -5
- package/dist/model/graphs/schema.graphql +7 -7
- package/dist/types/graphql.d.ts +4 -2
- package/dist/types/graphql.d.ts.map +1 -1
- package/dist/types/graphql.js.map +1 -1
- package/model/graphs/config/common.graphql +7 -7
- package/model/graphs/config/fields.graphql +412 -382
- package/model/graphs/config/menu.graphql +60 -54
- package/model/graphs/config/mutation.graphql +30 -30
- package/model/graphs/config/page.graphql +263 -256
- package/model/graphs/config/panel.graphql +30 -30
- package/model/graphs/config/query.graphql +84 -84
- package/model/graphs/config/rules.graphql +104 -104
- package/model/graphs/config/selectOptions.graphql +48 -47
- package/model/graphs/config/table.graphql +213 -182
- package/model/graphs/config/tests.graphql +16 -16
- package/model/graphs/config/theme.graphql +41 -41
- package/model/graphs/config/ui-components.graphql +10 -10
- package/model/graphs/domains/scalars.graphql +3 -3
- package/model/graphs/filter.graphql +5 -5
- package/model/graphs/schema.graphql +7 -7
- package/package.json +81 -81
|
@@ -1,382 +1,412 @@
|
|
|
1
|
-
interface IField {
|
|
2
|
-
defaultValue: String
|
|
3
|
-
hidden: Boolean
|
|
4
|
-
label: String
|
|
5
|
-
name: String!
|
|
6
|
-
path: String!
|
|
7
|
-
readonly: Boolean
|
|
8
|
-
required: Boolean
|
|
9
|
-
requiredCondition: String
|
|
10
|
-
skipQuery: Boolean
|
|
11
|
-
excludeFromQueryInput: Boolean
|
|
12
|
-
visibilityCondition: String
|
|
13
|
-
disabledCondition: String
|
|
14
|
-
"""
|
|
15
|
-
Always include this field in the mutation input, even if it is hidden or has not been modified by the user.
|
|
16
|
-
"""
|
|
17
|
-
skipDirtyCheck: Boolean
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
interface IDateRangeField {
|
|
21
|
-
defaultValue: [String] # [startDate, endDate]
|
|
22
|
-
defaultValueExpressions: [String] # [startDate, endDate]
|
|
23
|
-
format: String
|
|
24
|
-
hidden: Boolean
|
|
25
|
-
label: String
|
|
26
|
-
name: String!
|
|
27
|
-
paths: [String!]!
|
|
28
|
-
readonly: Boolean
|
|
29
|
-
required: Boolean
|
|
30
|
-
requiredCondition: String
|
|
31
|
-
skipQuery: Boolean
|
|
32
|
-
excludeFromQueryInput: Boolean
|
|
33
|
-
visibilityCondition: String
|
|
34
|
-
disabledCondition: String
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
type InputField implements IField & IRowElement & IElement {
|
|
38
|
-
cols: Int
|
|
39
|
-
defaultValue: String
|
|
40
|
-
helperText: String
|
|
41
|
-
hidden: Boolean
|
|
42
|
-
label: String
|
|
43
|
-
masking: FieldMasking
|
|
44
|
-
maxLength: Int
|
|
45
|
-
minLength: Int
|
|
46
|
-
name: String!
|
|
47
|
-
path: String!
|
|
48
|
-
placeholder: String
|
|
49
|
-
readonly: Boolean
|
|
50
|
-
required: Boolean
|
|
51
|
-
requiredCondition: String
|
|
52
|
-
skipQuery: Boolean
|
|
53
|
-
excludeFromQueryInput: Boolean
|
|
54
|
-
startAdornment: String
|
|
55
|
-
type: FieldValueType
|
|
56
|
-
validation: InputValidation
|
|
57
|
-
visibilityCondition: String
|
|
58
|
-
disabledCondition: String
|
|
59
|
-
# Start of text area configuration, see https://mui.com/material-ui/react-text-field/#multiline
|
|
60
|
-
multiline: Boolean # optional if at least one other text area parameter is provided
|
|
61
|
-
rows: Int
|
|
62
|
-
maxRows: Int
|
|
63
|
-
minRows: Int
|
|
64
|
-
# End of text area configuration
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
type CustomValidator implements IRowElement & IElement {
|
|
68
|
-
validationRule: String
|
|
69
|
-
errorMessage: String
|
|
70
|
-
paths: [String!]!
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement
|
|
74
|
-
|
|
75
|
-
type ItemValidation {
|
|
76
|
-
type: String!
|
|
77
|
-
fields: [String!]!
|
|
78
|
-
errorMessage: String
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
type RepeaterField implements IRowElement & IElement {
|
|
82
|
-
path: String!
|
|
83
|
-
title: String
|
|
84
|
-
label: String
|
|
85
|
-
buttonLabel: String
|
|
86
|
-
required: Boolean
|
|
87
|
-
skipId: Boolean
|
|
88
|
-
fields: [Fields!]!
|
|
89
|
-
visibilityCondition: String
|
|
90
|
-
maxFields: String
|
|
91
|
-
validateUnique: Boolean
|
|
92
|
-
duplicateMessage: String
|
|
93
|
-
itemValidation: ItemValidation
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
type ControlGroup implements IRowElement & IElement {
|
|
97
|
-
path: String!
|
|
98
|
-
title: String
|
|
99
|
-
skipId: Boolean
|
|
100
|
-
controlOptions: ISelectOptions!
|
|
101
|
-
fields: [Fields!]!
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
visibilityCondition: String
|
|
294
|
-
disabledCondition: String
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
type
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
1
|
+
interface IField {
|
|
2
|
+
defaultValue: String
|
|
3
|
+
hidden: Boolean
|
|
4
|
+
label: String
|
|
5
|
+
name: String!
|
|
6
|
+
path: String!
|
|
7
|
+
readonly: Boolean
|
|
8
|
+
required: Boolean
|
|
9
|
+
requiredCondition: String
|
|
10
|
+
skipQuery: Boolean
|
|
11
|
+
excludeFromQueryInput: Boolean
|
|
12
|
+
visibilityCondition: String
|
|
13
|
+
disabledCondition: String
|
|
14
|
+
"""
|
|
15
|
+
Always include this field in the mutation input, even if it is hidden or has not been modified by the user.
|
|
16
|
+
"""
|
|
17
|
+
skipDirtyCheck: Boolean
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
interface IDateRangeField {
|
|
21
|
+
defaultValue: [String] # [startDate, endDate]
|
|
22
|
+
defaultValueExpressions: [String] # [startDate, endDate]
|
|
23
|
+
format: String
|
|
24
|
+
hidden: Boolean
|
|
25
|
+
label: String
|
|
26
|
+
name: String!
|
|
27
|
+
paths: [String!]!
|
|
28
|
+
readonly: Boolean
|
|
29
|
+
required: Boolean
|
|
30
|
+
requiredCondition: String
|
|
31
|
+
skipQuery: Boolean
|
|
32
|
+
excludeFromQueryInput: Boolean
|
|
33
|
+
visibilityCondition: String
|
|
34
|
+
disabledCondition: String
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
type InputField implements IField & IRowElement & IElement {
|
|
38
|
+
cols: Int
|
|
39
|
+
defaultValue: String
|
|
40
|
+
helperText: String
|
|
41
|
+
hidden: Boolean
|
|
42
|
+
label: String
|
|
43
|
+
masking: FieldMasking
|
|
44
|
+
maxLength: Int
|
|
45
|
+
minLength: Int
|
|
46
|
+
name: String!
|
|
47
|
+
path: String!
|
|
48
|
+
placeholder: String
|
|
49
|
+
readonly: Boolean
|
|
50
|
+
required: Boolean
|
|
51
|
+
requiredCondition: String
|
|
52
|
+
skipQuery: Boolean
|
|
53
|
+
excludeFromQueryInput: Boolean
|
|
54
|
+
startAdornment: String
|
|
55
|
+
type: FieldValueType
|
|
56
|
+
validation: InputValidation
|
|
57
|
+
visibilityCondition: String
|
|
58
|
+
disabledCondition: String
|
|
59
|
+
# Start of text area configuration, see https://mui.com/material-ui/react-text-field/#multiline
|
|
60
|
+
multiline: Boolean # optional if at least one other text area parameter is provided
|
|
61
|
+
rows: Int
|
|
62
|
+
maxRows: Int
|
|
63
|
+
minRows: Int
|
|
64
|
+
# End of text area configuration
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
type CustomValidator implements IRowElement & IElement {
|
|
68
|
+
validationRule: String
|
|
69
|
+
errorMessage: String
|
|
70
|
+
paths: [String!]!
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
union Fields = InputField | PhoneField | DateField | DateRangeField | SelectField | ToggleField | BooleanField | TextElement
|
|
74
|
+
|
|
75
|
+
type ItemValidation {
|
|
76
|
+
type: String!
|
|
77
|
+
fields: [String!]!
|
|
78
|
+
errorMessage: String
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
type RepeaterField implements IRowElement & IElement {
|
|
82
|
+
path: String!
|
|
83
|
+
title: String
|
|
84
|
+
label: String
|
|
85
|
+
buttonLabel: String
|
|
86
|
+
required: Boolean
|
|
87
|
+
skipId: Boolean
|
|
88
|
+
fields: [Fields!]!
|
|
89
|
+
visibilityCondition: String
|
|
90
|
+
maxFields: String
|
|
91
|
+
validateUnique: Boolean
|
|
92
|
+
duplicateMessage: String
|
|
93
|
+
itemValidation: ItemValidation
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
type ControlGroup implements IRowElement & IElement {
|
|
97
|
+
path: String!
|
|
98
|
+
title: String
|
|
99
|
+
skipId: Boolean
|
|
100
|
+
controlOptions: ISelectOptions!
|
|
101
|
+
fields: [Fields!]!
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
# Renders the currently-linked records of a multi-valued reference attribute
|
|
105
|
+
# (`path`) as a table (`columns`, reusing Table's Column config), with a quick
|
|
106
|
+
# typeahead (`search`, reusing Table's SimpleSearch/QuerySelectOptions config)
|
|
107
|
+
# to find and add records of `dataType`, and a delete affordance per row.
|
|
108
|
+
# `rowMenuItems` (reusing Table's MenuItem config) adds further per-row actions,
|
|
109
|
+
# e.g. an `action: "details"` item with a `url` to navigate to that record's own
|
|
110
|
+
# details page.
|
|
111
|
+
type ReferenceTable implements IField & IRowElement & IElement {
|
|
112
|
+
cols: Int
|
|
113
|
+
defaultValue: String
|
|
114
|
+
disabledCondition: String
|
|
115
|
+
excludeFromQueryInput: Boolean
|
|
116
|
+
hidden: Boolean
|
|
117
|
+
label: String
|
|
118
|
+
name: String!
|
|
119
|
+
path: String!
|
|
120
|
+
readonly: Boolean
|
|
121
|
+
required: Boolean
|
|
122
|
+
requiredCondition: String
|
|
123
|
+
skipQuery: Boolean
|
|
124
|
+
visibilityCondition: String
|
|
125
|
+
dataType: String!
|
|
126
|
+
columns: [Column!]!
|
|
127
|
+
search: SimpleSearch
|
|
128
|
+
addLabel: String
|
|
129
|
+
confirmDelete: Boolean
|
|
130
|
+
maxRows: Int
|
|
131
|
+
rowMenuItems: [MenuItem!]
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
type PhoneField implements IField & IRowElement & IElement {
|
|
135
|
+
cols: Int
|
|
136
|
+
defaultValue: String
|
|
137
|
+
hidden: Boolean
|
|
138
|
+
label: String
|
|
139
|
+
name: String!
|
|
140
|
+
path: String!
|
|
141
|
+
placeholder: String
|
|
142
|
+
readonly: Boolean
|
|
143
|
+
required: Boolean
|
|
144
|
+
requiredCondition: String
|
|
145
|
+
skipQuery: Boolean
|
|
146
|
+
excludeFromQueryInput: Boolean
|
|
147
|
+
visibilityCondition: String
|
|
148
|
+
disabledCondition: String
|
|
149
|
+
validation: FieldValidation
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
type DateField implements IField & IRowElement & IElement {
|
|
153
|
+
cols: Int
|
|
154
|
+
defaultValue: String
|
|
155
|
+
hidden: Boolean
|
|
156
|
+
label: String
|
|
157
|
+
name: String!
|
|
158
|
+
path: String!
|
|
159
|
+
readonly: Boolean
|
|
160
|
+
required: Boolean
|
|
161
|
+
requiredCondition: String
|
|
162
|
+
skipQuery: Boolean
|
|
163
|
+
excludeFromQueryInput: Boolean
|
|
164
|
+
visibilityCondition: String
|
|
165
|
+
disabledCondition: String
|
|
166
|
+
minDate: String # e.q. "now" or "2025-03-20"
|
|
167
|
+
maxDate: String # e.q. "now" or "2025-03-20"
|
|
168
|
+
validation: FieldValidation
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
type DateRangeField implements IDateRangeField & IRowElement & IElement {
|
|
172
|
+
cols: Int
|
|
173
|
+
defaultValue: [String!] # [startDate, endDate]
|
|
174
|
+
defaultValueExpressions: [String!] # [startDate, endDate]
|
|
175
|
+
format: String
|
|
176
|
+
hidden: Boolean
|
|
177
|
+
label: String
|
|
178
|
+
name: String!
|
|
179
|
+
paths: [String!]!
|
|
180
|
+
readonly: Boolean
|
|
181
|
+
required: Boolean
|
|
182
|
+
requiredCondition: String
|
|
183
|
+
skipQuery: Boolean
|
|
184
|
+
excludeFromQueryInput: Boolean
|
|
185
|
+
visibilityCondition: String
|
|
186
|
+
disabledCondition: String
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
type SelectField implements IField & IRowElement & IElement {
|
|
190
|
+
cols: Int
|
|
191
|
+
defaultValue: String
|
|
192
|
+
defaultValuePath: String
|
|
193
|
+
disableClearable: Boolean
|
|
194
|
+
hidden: Boolean
|
|
195
|
+
label: String
|
|
196
|
+
multiple: Boolean
|
|
197
|
+
name: String!
|
|
198
|
+
path: String!
|
|
199
|
+
placeholder: String
|
|
200
|
+
readonly: Boolean
|
|
201
|
+
required: Boolean
|
|
202
|
+
requiredCondition: String
|
|
203
|
+
selectOptions: ISelectOptions!
|
|
204
|
+
skipQuery: Boolean
|
|
205
|
+
excludeFromQueryInput: Boolean
|
|
206
|
+
visibilityCondition: String
|
|
207
|
+
disabledCondition: String
|
|
208
|
+
excludeId: Boolean
|
|
209
|
+
helperText: String
|
|
210
|
+
autoSelectSingleOption: Boolean
|
|
211
|
+
validation: FieldValidation
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
type ToggleField implements IField & IRowElement & IElement {
|
|
215
|
+
cols: Int
|
|
216
|
+
defaultValue: String
|
|
217
|
+
disableClearable: Boolean
|
|
218
|
+
hidden: Boolean
|
|
219
|
+
label: String
|
|
220
|
+
multiple: Boolean
|
|
221
|
+
name: String!
|
|
222
|
+
path: String!
|
|
223
|
+
readonly: Boolean
|
|
224
|
+
required: Boolean
|
|
225
|
+
requiredCondition: String
|
|
226
|
+
selectOptions: ISelectOptions!
|
|
227
|
+
size: String # see https://mui.com/material-ui/react-toggle-button/#size
|
|
228
|
+
skipQuery: Boolean
|
|
229
|
+
excludeFromQueryInput: Boolean
|
|
230
|
+
visibilityCondition: String
|
|
231
|
+
disabledCondition: String
|
|
232
|
+
linkedFields: [String!]
|
|
233
|
+
validation: FieldValidation
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
type BooleanField implements IField & IRowElement & IElement {
|
|
237
|
+
cols: Int
|
|
238
|
+
defaultValue: String
|
|
239
|
+
hidden: Boolean
|
|
240
|
+
label: String
|
|
241
|
+
name: String!
|
|
242
|
+
path: String!
|
|
243
|
+
readonly: Boolean
|
|
244
|
+
required: Boolean
|
|
245
|
+
requiredCondition: String
|
|
246
|
+
skipQuery: Boolean
|
|
247
|
+
excludeFromQueryInput: Boolean
|
|
248
|
+
visibilityCondition: String
|
|
249
|
+
disabledCondition: String
|
|
250
|
+
linkedFields: [String!]
|
|
251
|
+
validation: FieldValidation
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
type ChipSelectWithInputField implements IField & IRowElement & IElement {
|
|
255
|
+
cols: Int
|
|
256
|
+
defaultValue: String
|
|
257
|
+
defaultValuePath: String
|
|
258
|
+
hidden: Boolean
|
|
259
|
+
input: InputField
|
|
260
|
+
label: String
|
|
261
|
+
name: String!
|
|
262
|
+
path: String!
|
|
263
|
+
labelPath: String
|
|
264
|
+
readonly: Boolean
|
|
265
|
+
multiple: Boolean
|
|
266
|
+
required: Boolean
|
|
267
|
+
requiredCondition: String
|
|
268
|
+
selectOptions: ISelectOptions!
|
|
269
|
+
skipQuery: Boolean
|
|
270
|
+
excludeFromQueryInput: Boolean
|
|
271
|
+
subTitle: String
|
|
272
|
+
title: String
|
|
273
|
+
visibilityCondition: String
|
|
274
|
+
disabledCondition: String
|
|
275
|
+
linkedFields: [String!]
|
|
276
|
+
validation: ChipSelectValidation
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
type CustomField implements IField & IRowElement & IElement {
|
|
280
|
+
cols: Int
|
|
281
|
+
component: String!
|
|
282
|
+
config: JSON
|
|
283
|
+
defaultValue: String
|
|
284
|
+
hidden: Boolean
|
|
285
|
+
label: String
|
|
286
|
+
name: String!
|
|
287
|
+
path: String!
|
|
288
|
+
readonly: Boolean
|
|
289
|
+
required: Boolean
|
|
290
|
+
requiredCondition: String
|
|
291
|
+
skipQuery: Boolean
|
|
292
|
+
excludeFromQueryInput: Boolean
|
|
293
|
+
visibilityCondition: String
|
|
294
|
+
disabledCondition: String
|
|
295
|
+
validation: FieldValidation
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
type StatusChipField implements IField & IRowElement & IElement {
|
|
299
|
+
align: String
|
|
300
|
+
cols: Int
|
|
301
|
+
label: String
|
|
302
|
+
name: String!
|
|
303
|
+
path: String!
|
|
304
|
+
validation: FieldValidation
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
type CheckboxGroupValue {
|
|
308
|
+
label: String!
|
|
309
|
+
path: String!
|
|
310
|
+
skipQuery: Boolean
|
|
311
|
+
excludeFromQueryInput: Boolean
|
|
312
|
+
value: JSON!
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
type CheckboxGroup implements IRowElement & IElement {
|
|
316
|
+
cols: Int
|
|
317
|
+
name: String!
|
|
318
|
+
required: Boolean
|
|
319
|
+
requiredCondition: String
|
|
320
|
+
subTitle: String
|
|
321
|
+
title: String
|
|
322
|
+
values: [CheckboxGroupValue!]!
|
|
323
|
+
visibilityCondition: String
|
|
324
|
+
disabledCondition: String
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
enum FieldValueType {
|
|
328
|
+
Int
|
|
329
|
+
Float
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
type FieldValidation {
|
|
333
|
+
expression: String
|
|
334
|
+
message: String
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
type StringValidationRule {
|
|
338
|
+
message: String
|
|
339
|
+
value: String
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
type IntValidationRule {
|
|
343
|
+
message: String
|
|
344
|
+
value: Int
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
type FloatValidationRule {
|
|
348
|
+
message: String
|
|
349
|
+
value: Float
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
type FormatValidationRule {
|
|
353
|
+
name: String
|
|
354
|
+
description: String
|
|
355
|
+
message: String
|
|
356
|
+
expression: String
|
|
357
|
+
condition: String
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
type InputValidation {
|
|
361
|
+
email: StringValidationRule
|
|
362
|
+
length: IntValidationRule
|
|
363
|
+
format: [FormatValidationRule!]
|
|
364
|
+
min: FloatValidationRule
|
|
365
|
+
max: FloatValidationRule
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
type ChipSelectValidation {
|
|
369
|
+
compatibleWith: CompatibleWithRule
|
|
370
|
+
uniqueInList: UniqueInListRule
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
type CompatibleWithRule {
|
|
374
|
+
field: String!
|
|
375
|
+
rules: [CompatibleWithRuleEntry!]!
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
type CompatibleWithRuleEntry {
|
|
379
|
+
when: WhenClause!
|
|
380
|
+
allowed: [String!]!
|
|
381
|
+
message: String!
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
type WhenClause {
|
|
385
|
+
equals: String
|
|
386
|
+
in: [String!]
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
type UniqueInListRule {
|
|
390
|
+
listPaths: [String!]!
|
|
391
|
+
itemValuePath: String!
|
|
392
|
+
value: String
|
|
393
|
+
message: String!
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
# see more https://s-yadav.github.io/react-number-format/docs/props
|
|
397
|
+
type PatternMasking {
|
|
398
|
+
dynamic: Boolean
|
|
399
|
+
format: String!
|
|
400
|
+
mask: String
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
# see more https://s-yadav.github.io/react-number-format/docs/props
|
|
404
|
+
type NumericMasking {
|
|
405
|
+
thousandSeparator: String
|
|
406
|
+
decimalSeparator: String
|
|
407
|
+
decimalScale: Number
|
|
408
|
+
fixedDecimalScale: Boolean
|
|
409
|
+
allowNegative: Boolean
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
union FieldMasking = PatternMasking | NumericMasking
|