@docupace/ihub-config 1.1.20-alpha.0 → 1.1.21

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