@formio/js 5.0.0-bb.dev.2 → 5.0.0-bb.dev.4

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 (246) hide show
  1. package/dist/formio.embed.js +1 -1
  2. package/dist/formio.embed.min.js +1 -1
  3. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  4. package/dist/formio.form.js +20 -19
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +1 -1
  7. package/dist/formio.full.js +20 -19
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +1 -1
  10. package/dist/formio.js +9 -8
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.min.js.LICENSE.txt +1 -1
  14. package/lib/cjs/Form.js +1 -18
  15. package/lib/cjs/PDFBuilder.d.ts +1 -1
  16. package/lib/cjs/Webform.d.ts +1 -1
  17. package/lib/cjs/WebformBuilder.d.ts +4 -4
  18. package/lib/cjs/Wizard.d.ts +1 -2
  19. package/lib/cjs/WizardBuilder.d.ts +14 -2
  20. package/lib/cjs/components/Components.d.ts +6 -6
  21. package/lib/cjs/components/_classes/component/Component.d.ts +9 -4
  22. package/lib/cjs/components/_classes/component/Component.form.d.ts +1112 -1
  23. package/lib/cjs/components/_classes/component/Component.js +10 -4
  24. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +8 -0
  25. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +2 -2
  26. package/lib/cjs/components/_classes/input/Input.d.ts +6 -2
  27. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +1112 -1
  28. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +1112 -1
  29. package/lib/cjs/components/_classes/nested/NestedComponent.js +2 -2
  30. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -1
  31. package/lib/cjs/components/address/Address.form.d.ts +1112 -1
  32. package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +4 -1
  33. package/lib/cjs/components/button/Button.d.ts +1 -1
  34. package/lib/cjs/components/button/Button.form.d.ts +1112 -1
  35. package/lib/cjs/components/checkbox/Checkbox.d.ts +1 -1
  36. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +1112 -1
  37. package/lib/cjs/components/columns/Columns.d.ts +2 -0
  38. package/lib/cjs/components/columns/Columns.form.d.ts +1112 -1
  39. package/lib/cjs/components/container/Container.form.d.ts +1112 -1
  40. package/lib/cjs/components/content/Content.form.d.ts +1112 -1
  41. package/lib/cjs/components/currency/Currency.form.d.ts +1112 -1
  42. package/lib/cjs/components/datagrid/DataGrid.d.ts +3 -3
  43. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +1112 -1
  44. package/lib/cjs/components/datagrid/DataGrid.js +2 -1
  45. package/lib/cjs/components/datagrid/fixtures/comp-with-allow-calculate-override.js +1 -1
  46. package/lib/cjs/components/datagrid/fixtures/index.d.ts +2 -1
  47. package/lib/cjs/components/datagrid/fixtures/index.js +3 -1
  48. package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +53 -0
  49. package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.js +104 -0
  50. package/lib/cjs/components/datamap/DataMap.d.ts +2 -1
  51. package/lib/cjs/components/datamap/DataMap.form.d.ts +1112 -1
  52. package/lib/cjs/components/datetime/DateTime.form.d.ts +1112 -1
  53. package/lib/cjs/components/day/Day.form.d.ts +1112 -1
  54. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +1112 -1
  55. package/lib/cjs/components/editgrid/EditGrid.js +7 -4
  56. package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +910 -0
  57. package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.js +923 -0
  58. package/lib/cjs/components/email/Email.form.d.ts +1112 -1
  59. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +1112 -1
  60. package/lib/cjs/components/file/File.d.ts +2 -7
  61. package/lib/cjs/components/file/File.form.d.ts +1112 -1
  62. package/lib/cjs/components/file/editForm/File.edit.file.d.ts +4 -1
  63. package/lib/cjs/components/form/Form.d.ts +1 -1
  64. package/lib/cjs/components/form/Form.form.d.ts +1112 -1
  65. package/lib/cjs/components/hidden/Hidden.form.d.ts +1112 -1
  66. package/lib/cjs/components/html/HTML.d.ts +1 -0
  67. package/lib/cjs/components/html/HTML.form.d.ts +1112 -1
  68. package/lib/cjs/components/html/HTML.js +9 -0
  69. package/lib/cjs/components/number/Number.form.d.ts +1112 -1
  70. package/lib/cjs/components/panel/Panel.form.d.ts +1112 -1
  71. package/lib/cjs/components/password/Password.d.ts +2 -0
  72. package/lib/cjs/components/password/Password.form.d.ts +1112 -1
  73. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +1112 -1
  74. package/lib/cjs/components/radio/Radio.d.ts +1 -1
  75. package/lib/cjs/components/radio/Radio.form.d.ts +1112 -1
  76. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +1112 -1
  77. package/lib/cjs/components/recaptcha/ReCaptcha.js +3 -3
  78. package/lib/cjs/components/select/Select.d.ts +4 -5
  79. package/lib/cjs/components/select/Select.form.d.ts +1112 -1
  80. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +2 -7
  81. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +1112 -1
  82. package/lib/cjs/components/signature/Signature.form.d.ts +1112 -1
  83. package/lib/cjs/components/survey/Survey.d.ts +1 -0
  84. package/lib/cjs/components/survey/Survey.form.d.ts +1112 -1
  85. package/lib/cjs/components/table/Table.d.ts +1 -0
  86. package/lib/cjs/components/table/Table.form.d.ts +1112 -1
  87. package/lib/cjs/components/tabs/Tabs.form.d.ts +1112 -1
  88. package/lib/cjs/components/tags/Tags.form.d.ts +1112 -1
  89. package/lib/cjs/components/textarea/TextArea.d.ts +1 -1
  90. package/lib/cjs/components/textarea/TextArea.form.d.ts +1112 -1
  91. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +4 -1
  92. package/lib/cjs/components/textfield/TextField.form.d.ts +1112 -1
  93. package/lib/cjs/components/time/Time.form.d.ts +1112 -1
  94. package/lib/cjs/components/url/Url.form.d.ts +1112 -1
  95. package/lib/cjs/components/well/Well.form.d.ts +1112 -1
  96. package/lib/cjs/formio.form.d.ts +3 -3
  97. package/lib/cjs/formio.form.js +59 -46
  98. package/lib/cjs/providers/address/AddressProvider.d.ts +3 -3
  99. package/lib/cjs/providers/storage/s3.js +1 -29
  100. package/lib/cjs/providers/storage/xhr.d.ts +1 -1
  101. package/lib/cjs/translations/en.d.ts +2 -0
  102. package/lib/cjs/translations/en.js +2 -0
  103. package/lib/cjs/utils/builder.d.ts +1 -1
  104. package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +1 -1
  105. package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +1 -1
  106. package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +1 -1
  107. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +1 -1
  108. package/lib/cjs/utils/conditionOperators/Includes.d.ts +1 -1
  109. package/lib/cjs/utils/conditionOperators/LessThan.d.ts +1 -1
  110. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +1 -1
  111. package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +1 -1
  112. package/lib/cjs/utils/conditionOperators/index.d.ts +2 -2
  113. package/lib/cjs/utils/utils.d.ts +4 -3
  114. package/lib/cjs/validator/Validator.d.ts +8 -3
  115. package/lib/cjs/validator/Validator.js +1 -1
  116. package/lib/mjs/Form.js +1 -18
  117. package/lib/mjs/PDFBuilder.d.ts +1 -1
  118. package/lib/mjs/Webform.d.ts +1 -1
  119. package/lib/mjs/WebformBuilder.d.ts +4 -4
  120. package/lib/mjs/Wizard.d.ts +1 -2
  121. package/lib/mjs/WizardBuilder.d.ts +14 -2
  122. package/lib/mjs/components/Components.d.ts +6 -6
  123. package/lib/mjs/components/_classes/component/Component.d.ts +9 -4
  124. package/lib/mjs/components/_classes/component/Component.form.d.ts +1112 -1
  125. package/lib/mjs/components/_classes/component/Component.js +10 -4
  126. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +8 -0
  127. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +2 -2
  128. package/lib/mjs/components/_classes/input/Input.d.ts +6 -2
  129. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +1112 -1
  130. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +1112 -1
  131. package/lib/mjs/components/_classes/nested/NestedComponent.js +2 -2
  132. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +1 -1
  133. package/lib/mjs/components/address/Address.form.d.ts +1112 -1
  134. package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +4 -1
  135. package/lib/mjs/components/button/Button.d.ts +1 -1
  136. package/lib/mjs/components/button/Button.form.d.ts +1112 -1
  137. package/lib/mjs/components/checkbox/Checkbox.d.ts +1 -1
  138. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +1112 -1
  139. package/lib/mjs/components/columns/Columns.d.ts +2 -0
  140. package/lib/mjs/components/columns/Columns.form.d.ts +1112 -1
  141. package/lib/mjs/components/container/Container.form.d.ts +1112 -1
  142. package/lib/mjs/components/content/Content.form.d.ts +1112 -1
  143. package/lib/mjs/components/currency/Currency.form.d.ts +1112 -1
  144. package/lib/mjs/components/datagrid/DataGrid.d.ts +3 -3
  145. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +1112 -1
  146. package/lib/mjs/components/datagrid/DataGrid.js +2 -1
  147. package/lib/mjs/components/datagrid/fixtures/comp-with-allow-calculate-override.js +1 -1
  148. package/lib/mjs/components/datagrid/fixtures/index.d.ts +2 -1
  149. package/lib/mjs/components/datagrid/fixtures/index.js +2 -1
  150. package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +53 -0
  151. package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.js +102 -0
  152. package/lib/mjs/components/datamap/DataMap.d.ts +2 -1
  153. package/lib/mjs/components/datamap/DataMap.form.d.ts +1112 -1
  154. package/lib/mjs/components/datetime/DateTime.form.d.ts +1112 -1
  155. package/lib/mjs/components/day/Day.form.d.ts +1112 -1
  156. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +1112 -1
  157. package/lib/mjs/components/editgrid/EditGrid.js +7 -4
  158. package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +910 -0
  159. package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.js +921 -0
  160. package/lib/mjs/components/email/Email.form.d.ts +1112 -1
  161. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +1112 -1
  162. package/lib/mjs/components/file/File.d.ts +2 -7
  163. package/lib/mjs/components/file/File.form.d.ts +1112 -1
  164. package/lib/mjs/components/file/editForm/File.edit.file.d.ts +4 -1
  165. package/lib/mjs/components/form/Form.d.ts +1 -1
  166. package/lib/mjs/components/form/Form.form.d.ts +1112 -1
  167. package/lib/mjs/components/hidden/Hidden.form.d.ts +1112 -1
  168. package/lib/mjs/components/html/HTML.d.ts +1 -0
  169. package/lib/mjs/components/html/HTML.form.d.ts +1112 -1
  170. package/lib/mjs/components/html/HTML.js +8 -0
  171. package/lib/mjs/components/number/Number.form.d.ts +1112 -1
  172. package/lib/mjs/components/panel/Panel.form.d.ts +1112 -1
  173. package/lib/mjs/components/password/Password.d.ts +2 -0
  174. package/lib/mjs/components/password/Password.form.d.ts +1112 -1
  175. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +1112 -1
  176. package/lib/mjs/components/radio/Radio.d.ts +1 -1
  177. package/lib/mjs/components/radio/Radio.form.d.ts +1112 -1
  178. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +1112 -1
  179. package/lib/mjs/components/recaptcha/ReCaptcha.js +3 -3
  180. package/lib/mjs/components/select/Select.d.ts +4 -5
  181. package/lib/mjs/components/select/Select.form.d.ts +1112 -1
  182. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +2 -7
  183. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +1112 -1
  184. package/lib/mjs/components/signature/Signature.form.d.ts +1112 -1
  185. package/lib/mjs/components/survey/Survey.d.ts +1 -0
  186. package/lib/mjs/components/survey/Survey.form.d.ts +1112 -1
  187. package/lib/mjs/components/table/Table.d.ts +1 -0
  188. package/lib/mjs/components/table/Table.form.d.ts +1112 -1
  189. package/lib/mjs/components/tabs/Tabs.form.d.ts +1112 -1
  190. package/lib/mjs/components/tags/Tags.form.d.ts +1112 -1
  191. package/lib/mjs/components/textarea/TextArea.d.ts +1 -1
  192. package/lib/mjs/components/textarea/TextArea.form.d.ts +1112 -1
  193. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +4 -1
  194. package/lib/mjs/components/textfield/TextField.form.d.ts +1112 -1
  195. package/lib/mjs/components/time/Time.form.d.ts +1112 -1
  196. package/lib/mjs/components/url/Url.form.d.ts +1112 -1
  197. package/lib/mjs/components/well/Well.form.d.ts +1112 -1
  198. package/lib/mjs/formio.form.d.ts +3 -3
  199. package/lib/mjs/formio.form.js +58 -44
  200. package/lib/mjs/providers/address/AddressProvider.d.ts +3 -3
  201. package/lib/mjs/providers/storage/s3.js +1 -6
  202. package/lib/mjs/providers/storage/xhr.d.ts +1 -1
  203. package/lib/mjs/translations/en.d.ts +2 -0
  204. package/lib/mjs/translations/en.js +2 -0
  205. package/lib/mjs/utils/builder.d.ts +1 -1
  206. package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +1 -1
  207. package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +1 -1
  208. package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +1 -1
  209. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +1 -1
  210. package/lib/mjs/utils/conditionOperators/Includes.d.ts +1 -1
  211. package/lib/mjs/utils/conditionOperators/LessThan.d.ts +1 -1
  212. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +1 -1
  213. package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +1 -1
  214. package/lib/mjs/utils/conditionOperators/index.d.ts +2 -2
  215. package/lib/mjs/utils/utils.d.ts +4 -3
  216. package/lib/mjs/validator/Validator.d.ts +8 -3
  217. package/lib/mjs/validator/Validator.js +1 -1
  218. package/package.json +1 -2
  219. package/types/builders.d.ts +0 -7
  220. package/types/components/_classes/component/component.d.ts +0 -174
  221. package/types/components/_classes/componentmodal/componentmodal.d.ts +0 -31
  222. package/types/components/_classes/field/field.d.ts +0 -5
  223. package/types/components/_classes/input/input.d.ts +0 -30
  224. package/types/components/_classes/multivalue/multivalue.d.ts +0 -16
  225. package/types/components/_classes/nested/nestedComponent.d.ts +0 -61
  226. package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +0 -6
  227. package/types/components/components.d.ts +0 -69
  228. package/types/components/schema.d.ts +0 -240
  229. package/types/displays.d.ts +0 -7
  230. package/types/element.d.ts +0 -45
  231. package/types/eventEmitter.d.ts +0 -3
  232. package/types/form.d.ts +0 -18
  233. package/types/formbuilder.d.ts +0 -6
  234. package/types/formio.d.ts +0 -121
  235. package/types/index.d.ts +0 -18
  236. package/types/licenses.d.ts +0 -7
  237. package/types/providers.d.ts +0 -8
  238. package/types/rulesEngine/conjunctions.d.ts +0 -7
  239. package/types/rulesEngine/operators.d.ts +0 -7
  240. package/types/rulesEngine/quckRules.d.ts +0 -7
  241. package/types/rulesEngine/rules.d.ts +0 -7
  242. package/types/rulesEngine/transformers.d.ts +0 -7
  243. package/types/rulesEngine/valueSources.d.ts +0 -7
  244. package/types/templates.d.ts +0 -8
  245. package/types/utils.d.ts +0 -157
  246. package/types/widgets.d.ts +0 -4
@@ -1,3 +1,1114 @@
1
1
  export default function _default(): {
2
- components: any;
2
+ components: {
3
+ type: string;
4
+ key: string;
5
+ components: ({
6
+ label: string;
7
+ key: string;
8
+ weight: number;
9
+ components: ({
10
+ weight: number;
11
+ type: string;
12
+ input: boolean;
13
+ key: string;
14
+ label: string;
15
+ placeholder: string;
16
+ tooltip: string;
17
+ validate: {
18
+ required: boolean;
19
+ min?: undefined;
20
+ max?: undefined;
21
+ };
22
+ autofocus: boolean;
23
+ defaultValue?: undefined;
24
+ dataSrc?: undefined;
25
+ data?: undefined;
26
+ clearOnHide?: undefined;
27
+ suffix?: undefined;
28
+ conditional?: undefined;
29
+ editor?: undefined;
30
+ as?: undefined;
31
+ wysiwyg?: undefined;
32
+ } | {
33
+ type: string;
34
+ input: boolean;
35
+ key: string;
36
+ label: string;
37
+ tooltip: string;
38
+ weight: number;
39
+ defaultValue: string;
40
+ dataSrc: string;
41
+ data: {
42
+ values: {
43
+ label: string;
44
+ value: string;
45
+ }[];
46
+ };
47
+ placeholder?: undefined;
48
+ validate?: undefined;
49
+ autofocus?: undefined;
50
+ clearOnHide?: undefined;
51
+ suffix?: undefined;
52
+ conditional?: undefined;
53
+ editor?: undefined;
54
+ as?: undefined;
55
+ wysiwyg?: undefined;
56
+ } | {
57
+ type: string;
58
+ input: boolean;
59
+ key: string;
60
+ label: string;
61
+ tooltip: string;
62
+ clearOnHide: boolean;
63
+ weight: number;
64
+ placeholder: string;
65
+ suffix: string;
66
+ validate: {
67
+ min: number;
68
+ max: number;
69
+ required?: undefined;
70
+ };
71
+ conditional: {
72
+ json: {
73
+ and: {
74
+ '!==': (string | {
75
+ var: string;
76
+ })[];
77
+ }[];
78
+ };
79
+ };
80
+ autofocus?: undefined;
81
+ defaultValue?: undefined;
82
+ dataSrc?: undefined;
83
+ data?: undefined;
84
+ editor?: undefined;
85
+ as?: undefined;
86
+ wysiwyg?: undefined;
87
+ } | {
88
+ weight: number;
89
+ type: string;
90
+ input: boolean;
91
+ key: string;
92
+ label: string;
93
+ placeholder: string;
94
+ tooltip: string;
95
+ validate?: undefined;
96
+ autofocus?: undefined;
97
+ defaultValue?: undefined;
98
+ dataSrc?: undefined;
99
+ data?: undefined;
100
+ clearOnHide?: undefined;
101
+ suffix?: undefined;
102
+ conditional?: undefined;
103
+ editor?: undefined;
104
+ as?: undefined;
105
+ wysiwyg?: undefined;
106
+ } | {
107
+ weight: number;
108
+ type: string;
109
+ input: boolean;
110
+ key: string;
111
+ label: string;
112
+ placeholder: string;
113
+ tooltip: string;
114
+ editor: string;
115
+ as: string;
116
+ wysiwyg: {
117
+ minLines: number;
118
+ isUseWorkerDisabled: boolean;
119
+ };
120
+ validate?: undefined;
121
+ autofocus?: undefined;
122
+ defaultValue?: undefined;
123
+ dataSrc?: undefined;
124
+ data?: undefined;
125
+ clearOnHide?: undefined;
126
+ suffix?: undefined;
127
+ conditional?: undefined;
128
+ } | {
129
+ weight: number;
130
+ type: string;
131
+ label: string;
132
+ tooltip: string;
133
+ key: string;
134
+ input: boolean;
135
+ placeholder?: undefined;
136
+ validate?: undefined;
137
+ autofocus?: undefined;
138
+ defaultValue?: undefined;
139
+ dataSrc?: undefined;
140
+ data?: undefined;
141
+ clearOnHide?: undefined;
142
+ suffix?: undefined;
143
+ conditional?: undefined;
144
+ editor?: undefined;
145
+ as?: undefined;
146
+ wysiwyg?: undefined;
147
+ } | {
148
+ weight: number;
149
+ type: string;
150
+ label: string;
151
+ tooltip: string;
152
+ key: string;
153
+ input: boolean;
154
+ customConditional(context: any): any;
155
+ placeholder?: undefined;
156
+ validate?: undefined;
157
+ autofocus?: undefined;
158
+ defaultValue?: undefined;
159
+ dataSrc?: undefined;
160
+ data?: undefined;
161
+ clearOnHide?: undefined;
162
+ suffix?: undefined;
163
+ conditional?: undefined;
164
+ editor?: undefined;
165
+ as?: undefined;
166
+ wysiwyg?: undefined;
167
+ })[];
168
+ } | {
169
+ label: string;
170
+ key: string;
171
+ weight: number;
172
+ components: ({
173
+ type: string;
174
+ title: any;
175
+ theme: string;
176
+ collapsible: boolean;
177
+ collapsed: boolean;
178
+ key: string;
179
+ weight: any;
180
+ components: ({
181
+ type: string;
182
+ tag: string;
183
+ content: string;
184
+ } | {
185
+ type: string;
186
+ title: string;
187
+ collapsible: boolean;
188
+ collapsed: boolean;
189
+ style: {
190
+ 'margin-bottom': string;
191
+ };
192
+ key: string;
193
+ customConditional(): boolean;
194
+ components: ({
195
+ type: string;
196
+ key: any;
197
+ rows: number;
198
+ editor: string;
199
+ hideLabel: boolean;
200
+ as: string;
201
+ input: boolean;
202
+ tag?: undefined;
203
+ content?: undefined;
204
+ } | {
205
+ type: string;
206
+ tag: string;
207
+ content: string;
208
+ key?: undefined;
209
+ rows?: undefined;
210
+ editor?: undefined;
211
+ hideLabel?: undefined;
212
+ as?: undefined;
213
+ input?: undefined;
214
+ })[];
215
+ } | {
216
+ type: string;
217
+ title: string;
218
+ collapsible: boolean;
219
+ collapsed: boolean;
220
+ key: string;
221
+ components: ({
222
+ type: string;
223
+ tag: string;
224
+ content: string;
225
+ key?: undefined;
226
+ rows?: undefined;
227
+ editor?: undefined;
228
+ hideLabel?: undefined;
229
+ as?: undefined;
230
+ input?: undefined;
231
+ } | {
232
+ type: string;
233
+ key: any;
234
+ rows: number;
235
+ editor: string;
236
+ hideLabel: boolean;
237
+ as: string;
238
+ input: boolean;
239
+ tag?: undefined;
240
+ content?: undefined;
241
+ })[];
242
+ style?: undefined;
243
+ })[];
244
+ } | {
245
+ weight: number;
246
+ type: string;
247
+ label: string;
248
+ tooltip: string;
249
+ key: string;
250
+ input: boolean;
251
+ placeholder?: undefined;
252
+ inline?: undefined;
253
+ defaultValue?: undefined;
254
+ values?: undefined;
255
+ logic?: undefined;
256
+ dataSrc?: undefined;
257
+ valueProperty?: undefined;
258
+ data?: undefined;
259
+ conditional?: undefined;
260
+ } | {
261
+ type: string;
262
+ label: string;
263
+ key: string;
264
+ weight: number;
265
+ placeholder: string;
266
+ tooltip: string;
267
+ input: boolean;
268
+ inline?: undefined;
269
+ defaultValue?: undefined;
270
+ values?: undefined;
271
+ logic?: undefined;
272
+ dataSrc?: undefined;
273
+ valueProperty?: undefined;
274
+ data?: undefined;
275
+ conditional?: undefined;
276
+ } | {
277
+ weight: number;
278
+ type: string;
279
+ label: string;
280
+ tooltip: string;
281
+ key: string;
282
+ input: boolean;
283
+ inline: boolean;
284
+ defaultValue: boolean;
285
+ values: ({
286
+ label: string;
287
+ value: boolean;
288
+ } | {
289
+ label: string;
290
+ value: string;
291
+ })[];
292
+ placeholder?: undefined;
293
+ logic?: undefined;
294
+ dataSrc?: undefined;
295
+ valueProperty?: undefined;
296
+ data?: undefined;
297
+ conditional?: undefined;
298
+ } | {
299
+ weight: number;
300
+ type: string;
301
+ label: string;
302
+ tooltip: string;
303
+ key: string;
304
+ input: boolean;
305
+ logic: ({
306
+ name: string;
307
+ trigger: {
308
+ type: string;
309
+ javascript: string;
310
+ };
311
+ actions: {
312
+ name: string;
313
+ type: string;
314
+ property: {
315
+ label: string;
316
+ value: string;
317
+ type: string;
318
+ };
319
+ state: boolean;
320
+ }[];
321
+ } | {
322
+ name: string;
323
+ trigger: {
324
+ type: string;
325
+ javascript: string;
326
+ };
327
+ actions: {
328
+ name: string;
329
+ type: string;
330
+ property: {
331
+ label: string;
332
+ value: string;
333
+ type: string;
334
+ };
335
+ text: string;
336
+ }[];
337
+ })[];
338
+ placeholder?: undefined;
339
+ inline?: undefined;
340
+ defaultValue?: undefined;
341
+ values?: undefined;
342
+ dataSrc?: undefined;
343
+ valueProperty?: undefined;
344
+ data?: undefined;
345
+ conditional?: undefined;
346
+ } | {
347
+ type: string;
348
+ input: boolean;
349
+ key: string;
350
+ label: string;
351
+ weight: number;
352
+ tooltip: string;
353
+ dataSrc: string;
354
+ valueProperty: string;
355
+ data: {
356
+ custom(context: any): {
357
+ label: string;
358
+ value: string;
359
+ }[];
360
+ };
361
+ conditional: {
362
+ json: {
363
+ '!': {
364
+ var: string;
365
+ }[];
366
+ };
367
+ };
368
+ placeholder?: undefined;
369
+ inline?: undefined;
370
+ defaultValue?: undefined;
371
+ values?: undefined;
372
+ logic?: undefined;
373
+ } | {
374
+ weight: number;
375
+ type: string;
376
+ label: string;
377
+ key: string;
378
+ defaultValue: boolean;
379
+ tooltip: string;
380
+ input: boolean;
381
+ placeholder?: undefined;
382
+ inline?: undefined;
383
+ values?: undefined;
384
+ logic?: undefined;
385
+ dataSrc?: undefined;
386
+ valueProperty?: undefined;
387
+ data?: undefined;
388
+ conditional?: undefined;
389
+ })[];
390
+ } | {
391
+ label: string;
392
+ key: string;
393
+ weight: number;
394
+ components: ({
395
+ weight: number;
396
+ type: string;
397
+ label: string;
398
+ tooltip: string;
399
+ key: string;
400
+ input: boolean;
401
+ defaultValue?: undefined;
402
+ dataSrc?: undefined;
403
+ data?: undefined;
404
+ placeholder?: undefined;
405
+ title?: undefined;
406
+ collapsible?: undefined;
407
+ collapsed?: undefined;
408
+ style?: undefined;
409
+ components?: undefined;
410
+ } | {
411
+ weight: number;
412
+ type: string;
413
+ key: string;
414
+ defaultValue: string;
415
+ input: boolean;
416
+ label: string;
417
+ tooltip: string;
418
+ dataSrc: string;
419
+ data: {
420
+ values: {
421
+ label: string;
422
+ value: string;
423
+ }[];
424
+ };
425
+ placeholder?: undefined;
426
+ title?: undefined;
427
+ collapsible?: undefined;
428
+ collapsed?: undefined;
429
+ style?: undefined;
430
+ components?: undefined;
431
+ } | {
432
+ weight: number;
433
+ type: string;
434
+ input: boolean;
435
+ key: string;
436
+ label: string;
437
+ placeholder: string;
438
+ tooltip: string;
439
+ defaultValue?: undefined;
440
+ dataSrc?: undefined;
441
+ data?: undefined;
442
+ title?: undefined;
443
+ collapsible?: undefined;
444
+ collapsed?: undefined;
445
+ style?: undefined;
446
+ components?: undefined;
447
+ } | {
448
+ type: string;
449
+ title: string;
450
+ collapsible: boolean;
451
+ collapsed: boolean;
452
+ style: {
453
+ 'margin-bottom': string;
454
+ };
455
+ key: string;
456
+ weight: number;
457
+ customConditional(): boolean;
458
+ components: ({
459
+ type: string;
460
+ tag: string;
461
+ content: string;
462
+ } | {
463
+ type: string;
464
+ key: string;
465
+ rows: number;
466
+ editor: string;
467
+ hideLabel: boolean;
468
+ as: string;
469
+ input: boolean;
470
+ components?: undefined;
471
+ } | {
472
+ type: string;
473
+ components: {
474
+ weight: number;
475
+ type: string;
476
+ label: string;
477
+ tooltip: string;
478
+ description: string;
479
+ key: string;
480
+ input: boolean;
481
+ }[];
482
+ key?: undefined;
483
+ rows?: undefined;
484
+ editor?: undefined;
485
+ hideLabel?: undefined;
486
+ as?: undefined;
487
+ input?: undefined;
488
+ })[];
489
+ label?: undefined;
490
+ tooltip?: undefined;
491
+ input?: undefined;
492
+ defaultValue?: undefined;
493
+ dataSrc?: undefined;
494
+ data?: undefined;
495
+ placeholder?: undefined;
496
+ } | {
497
+ type: string;
498
+ title: string;
499
+ collapsible: boolean;
500
+ collapsed: boolean;
501
+ key: string;
502
+ weight: number;
503
+ components: ({
504
+ type: string;
505
+ tag: string;
506
+ content: string;
507
+ key?: undefined;
508
+ hideLabel?: undefined;
509
+ rows?: undefined;
510
+ editor?: undefined;
511
+ as?: undefined;
512
+ input?: undefined;
513
+ } | {
514
+ type: string;
515
+ key: string;
516
+ hideLabel: boolean;
517
+ rows: number;
518
+ editor: string;
519
+ as: string;
520
+ input: boolean;
521
+ tag?: undefined;
522
+ content?: undefined;
523
+ })[];
524
+ label?: undefined;
525
+ tooltip?: undefined;
526
+ input?: undefined;
527
+ defaultValue?: undefined;
528
+ dataSrc?: undefined;
529
+ data?: undefined;
530
+ placeholder?: undefined;
531
+ style?: undefined;
532
+ })[];
533
+ } | {
534
+ label: string;
535
+ key: string;
536
+ weight: number;
537
+ components: ({
538
+ weight: number;
539
+ type: string;
540
+ input: boolean;
541
+ key: string;
542
+ label: string;
543
+ tooltip: string;
544
+ validate: {
545
+ pattern: string;
546
+ patternMessage: string;
547
+ required: boolean;
548
+ };
549
+ storeas?: undefined;
550
+ valueComponent?: undefined;
551
+ } | {
552
+ weight: number;
553
+ type: string;
554
+ input: boolean;
555
+ label: string;
556
+ storeas: string;
557
+ tooltip: string;
558
+ key: string;
559
+ validate?: undefined;
560
+ valueComponent?: undefined;
561
+ } | {
562
+ weight: number;
563
+ type: string;
564
+ label: string;
565
+ tooltip: string;
566
+ key: string;
567
+ valueComponent: {
568
+ type: string;
569
+ key: string;
570
+ label: string;
571
+ placeholder: string;
572
+ input: boolean;
573
+ };
574
+ input?: undefined;
575
+ validate?: undefined;
576
+ storeas?: undefined;
577
+ })[];
578
+ } | {
579
+ label: string;
580
+ key: string;
581
+ weight: number;
582
+ components: ({
583
+ type: string;
584
+ title: any;
585
+ theme: string;
586
+ collapsible: boolean;
587
+ collapsed: boolean;
588
+ key: string;
589
+ weight: any;
590
+ components: ({
591
+ type: string;
592
+ tag: string;
593
+ content: string;
594
+ } | {
595
+ type: string;
596
+ title: string;
597
+ collapsible: boolean;
598
+ collapsed: boolean;
599
+ style: {
600
+ 'margin-bottom': string;
601
+ };
602
+ key: string;
603
+ customConditional(): boolean;
604
+ components: ({
605
+ type: string;
606
+ key: any;
607
+ rows: number;
608
+ editor: string;
609
+ hideLabel: boolean;
610
+ as: string;
611
+ input: boolean;
612
+ tag?: undefined;
613
+ content?: undefined;
614
+ } | {
615
+ type: string;
616
+ tag: string;
617
+ content: string;
618
+ key?: undefined;
619
+ rows?: undefined;
620
+ editor?: undefined;
621
+ hideLabel?: undefined;
622
+ as?: undefined;
623
+ input?: undefined;
624
+ })[];
625
+ } | {
626
+ type: string;
627
+ title: string;
628
+ collapsible: boolean;
629
+ collapsed: boolean;
630
+ key: string;
631
+ components: ({
632
+ type: string;
633
+ tag: string;
634
+ content: string;
635
+ key?: undefined;
636
+ rows?: undefined;
637
+ editor?: undefined;
638
+ hideLabel?: undefined;
639
+ as?: undefined;
640
+ input?: undefined;
641
+ } | {
642
+ type: string;
643
+ key: any;
644
+ rows: number;
645
+ editor: string;
646
+ hideLabel: boolean;
647
+ as: string;
648
+ input: boolean;
649
+ tag?: undefined;
650
+ content?: undefined;
651
+ })[];
652
+ style?: undefined;
653
+ })[];
654
+ } | {
655
+ type: string;
656
+ title: string;
657
+ key: string;
658
+ theme: string;
659
+ weight: number;
660
+ components: ({
661
+ type: string;
662
+ input: boolean;
663
+ label: string;
664
+ key: string;
665
+ dataSrc: string;
666
+ data: {
667
+ values: {
668
+ label: string;
669
+ value: string;
670
+ }[];
671
+ };
672
+ valueProperty?: undefined;
673
+ } | {
674
+ type: string;
675
+ input: boolean;
676
+ label: string;
677
+ key: string;
678
+ dataSrc: string;
679
+ valueProperty: string;
680
+ data: {
681
+ custom(context: any): any[];
682
+ values?: undefined;
683
+ };
684
+ } | {
685
+ type: string;
686
+ input: boolean;
687
+ label: string;
688
+ key: string;
689
+ dataSrc?: undefined;
690
+ data?: undefined;
691
+ valueProperty?: undefined;
692
+ })[];
693
+ })[];
694
+ } | {
695
+ label: string;
696
+ key: string;
697
+ weight: number;
698
+ components: {
699
+ weight: number;
700
+ input: boolean;
701
+ label: string;
702
+ key: string;
703
+ templates: {
704
+ header: string;
705
+ row: string;
706
+ footer: string;
707
+ };
708
+ type: string;
709
+ addAnother: string;
710
+ saveRow: string;
711
+ components: ({
712
+ weight: number;
713
+ input: boolean;
714
+ inputType: string;
715
+ label: string;
716
+ key: string;
717
+ validate: {
718
+ required: boolean;
719
+ };
720
+ type: string;
721
+ title?: undefined;
722
+ tableView?: undefined;
723
+ components?: undefined;
724
+ templates?: undefined;
725
+ addAnother?: undefined;
726
+ saveRow?: undefined;
727
+ } | {
728
+ weight: number;
729
+ key: string;
730
+ input: boolean;
731
+ title: string;
732
+ tableView: boolean;
733
+ components: {
734
+ weight: number;
735
+ input: boolean;
736
+ tableView: boolean;
737
+ components: ({
738
+ weight: number;
739
+ input: boolean;
740
+ label: string;
741
+ key: string;
742
+ tableView: boolean;
743
+ data: {
744
+ values: {
745
+ value: string;
746
+ label: string;
747
+ }[];
748
+ };
749
+ dataSrc: string;
750
+ template: string;
751
+ type: string;
752
+ components?: undefined;
753
+ rows?: undefined;
754
+ editor?: undefined;
755
+ as?: undefined;
756
+ placeholder?: undefined;
757
+ description?: undefined;
758
+ } | {
759
+ weight: number;
760
+ label: string;
761
+ key: string;
762
+ type: string;
763
+ tableView: boolean;
764
+ customConditional({ row }: {
765
+ row: any;
766
+ }): boolean;
767
+ components: ({
768
+ input: boolean;
769
+ key: string;
770
+ label: string;
771
+ type: string;
772
+ tableView: boolean;
773
+ calculateValue(): boolean;
774
+ dataSrc?: undefined;
775
+ valueProperty?: undefined;
776
+ data?: undefined;
777
+ } | {
778
+ type: string;
779
+ input: boolean;
780
+ label: string;
781
+ key: string;
782
+ dataSrc: string;
783
+ valueProperty: string;
784
+ tableView: boolean;
785
+ data: {
786
+ custom(context: any): any[];
787
+ };
788
+ } | {
789
+ type: string;
790
+ input: boolean;
791
+ label: string;
792
+ key: string;
793
+ tableView: boolean;
794
+ dataSrc?: undefined;
795
+ valueProperty?: undefined;
796
+ data?: undefined;
797
+ })[];
798
+ input?: undefined;
799
+ data?: undefined;
800
+ dataSrc?: undefined;
801
+ template?: undefined;
802
+ rows?: undefined;
803
+ editor?: undefined;
804
+ as?: undefined;
805
+ placeholder?: undefined;
806
+ description?: undefined;
807
+ } | {
808
+ weight: number;
809
+ type: string;
810
+ key: string;
811
+ rows: number;
812
+ editor: string;
813
+ as: string;
814
+ input: boolean;
815
+ tableView: boolean;
816
+ placeholder: string;
817
+ description: string;
818
+ customConditional({ row }: {
819
+ row: any;
820
+ }): boolean;
821
+ label?: undefined;
822
+ data?: undefined;
823
+ dataSrc?: undefined;
824
+ template?: undefined;
825
+ components?: undefined;
826
+ } | {
827
+ weight: number;
828
+ type: string;
829
+ key: string;
830
+ rows: number;
831
+ editor: string;
832
+ label: string;
833
+ as: string;
834
+ input: boolean;
835
+ tableView: boolean;
836
+ placeholder: string;
837
+ description: string;
838
+ customConditional({ row }: {
839
+ row: any;
840
+ }): boolean;
841
+ data?: undefined;
842
+ dataSrc?: undefined;
843
+ template?: undefined;
844
+ components?: undefined;
845
+ } | {
846
+ weight: number;
847
+ type: string;
848
+ key: string;
849
+ label: string;
850
+ placeholder: string;
851
+ description: string;
852
+ tableView: boolean;
853
+ customConditional({ row }: {
854
+ row: any;
855
+ }): boolean;
856
+ input?: undefined;
857
+ data?: undefined;
858
+ dataSrc?: undefined;
859
+ template?: undefined;
860
+ components?: undefined;
861
+ rows?: undefined;
862
+ editor?: undefined;
863
+ as?: undefined;
864
+ })[];
865
+ key: string;
866
+ type: string;
867
+ }[];
868
+ type: string;
869
+ inputType?: undefined;
870
+ label?: undefined;
871
+ validate?: undefined;
872
+ templates?: undefined;
873
+ addAnother?: undefined;
874
+ saveRow?: undefined;
875
+ } | {
876
+ weight: number;
877
+ input: boolean;
878
+ label: string;
879
+ key: string;
880
+ tableView: boolean;
881
+ templates: {
882
+ header: string;
883
+ row: string;
884
+ footer: string;
885
+ };
886
+ type: string;
887
+ addAnother: string;
888
+ saveRow: string;
889
+ components: {
890
+ weight: number;
891
+ title: string;
892
+ input: boolean;
893
+ key: string;
894
+ type: string;
895
+ components: (({
896
+ type: string;
897
+ tag: string;
898
+ content: string;
899
+ } & {
900
+ customConditional({ row }: {
901
+ row: any;
902
+ }): boolean;
903
+ }) | {
904
+ weight: number;
905
+ input: boolean;
906
+ inputType: string;
907
+ label: string;
908
+ key: string;
909
+ validate: {
910
+ required: boolean;
911
+ };
912
+ type: string;
913
+ data?: undefined;
914
+ dataSrc?: undefined;
915
+ template?: undefined;
916
+ tableView?: undefined;
917
+ description?: undefined;
918
+ editor?: undefined;
919
+ as?: undefined;
920
+ rows?: undefined;
921
+ placeholder?: undefined;
922
+ } | {
923
+ weight: number;
924
+ input: boolean;
925
+ label: string;
926
+ key: string;
927
+ data: {
928
+ values: {
929
+ value: string;
930
+ label: string;
931
+ }[];
932
+ json?: undefined;
933
+ };
934
+ dataSrc: string;
935
+ template: string;
936
+ type: string;
937
+ inputType?: undefined;
938
+ validate?: undefined;
939
+ tableView?: undefined;
940
+ description?: undefined;
941
+ editor?: undefined;
942
+ as?: undefined;
943
+ rows?: undefined;
944
+ placeholder?: undefined;
945
+ } | {
946
+ weight: number;
947
+ type: string;
948
+ template: string;
949
+ dataSrc: string;
950
+ tableView: boolean;
951
+ data: {
952
+ json: {
953
+ label: string;
954
+ value: string;
955
+ type: string;
956
+ }[];
957
+ values?: undefined;
958
+ };
959
+ key: string;
960
+ label: string;
961
+ input: boolean;
962
+ customConditional({ row }: {
963
+ row: any;
964
+ }): boolean;
965
+ inputType?: undefined;
966
+ validate?: undefined;
967
+ description?: undefined;
968
+ editor?: undefined;
969
+ as?: undefined;
970
+ rows?: undefined;
971
+ placeholder?: undefined;
972
+ } | {
973
+ weight: number;
974
+ input: boolean;
975
+ label: string;
976
+ key: string;
977
+ tableView: boolean;
978
+ data: {
979
+ values: {
980
+ label: string;
981
+ value: string;
982
+ }[];
983
+ json?: undefined;
984
+ };
985
+ dataSrc: string;
986
+ template: string;
987
+ type: string;
988
+ customConditional({ row }: {
989
+ row: any;
990
+ }): any;
991
+ inputType?: undefined;
992
+ validate?: undefined;
993
+ description?: undefined;
994
+ editor?: undefined;
995
+ as?: undefined;
996
+ rows?: undefined;
997
+ placeholder?: undefined;
998
+ } | {
999
+ weight: number;
1000
+ type: string;
1001
+ key: string;
1002
+ label: string;
1003
+ inputType: string;
1004
+ input: boolean;
1005
+ tableView: boolean;
1006
+ description: string;
1007
+ customConditional({ row }: {
1008
+ row: any;
1009
+ }): any;
1010
+ validate?: undefined;
1011
+ data?: undefined;
1012
+ dataSrc?: undefined;
1013
+ template?: undefined;
1014
+ editor?: undefined;
1015
+ as?: undefined;
1016
+ rows?: undefined;
1017
+ placeholder?: undefined;
1018
+ } | {
1019
+ weight: number;
1020
+ input: boolean;
1021
+ label: string;
1022
+ key: string;
1023
+ editor: string;
1024
+ as: string;
1025
+ rows: number;
1026
+ placeholder: string;
1027
+ type: string;
1028
+ tableView: boolean;
1029
+ description: string;
1030
+ customConditional({ row }: {
1031
+ row: any;
1032
+ }): boolean;
1033
+ inputType?: undefined;
1034
+ validate?: undefined;
1035
+ data?: undefined;
1036
+ dataSrc?: undefined;
1037
+ template?: undefined;
1038
+ } | {
1039
+ weight: number;
1040
+ input: boolean;
1041
+ label: string;
1042
+ key: string;
1043
+ editor: string;
1044
+ rows: number;
1045
+ placeholder: string;
1046
+ type: string;
1047
+ tableView: boolean;
1048
+ customConditional({ row }: {
1049
+ row: any;
1050
+ }): boolean;
1051
+ inputType?: undefined;
1052
+ validate?: undefined;
1053
+ data?: undefined;
1054
+ dataSrc?: undefined;
1055
+ template?: undefined;
1056
+ description?: undefined;
1057
+ as?: undefined;
1058
+ })[];
1059
+ }[];
1060
+ inputType?: undefined;
1061
+ validate?: undefined;
1062
+ title?: undefined;
1063
+ })[];
1064
+ }[];
1065
+ } | {
1066
+ label: string;
1067
+ key: string;
1068
+ weight: number;
1069
+ components: ({
1070
+ label: string;
1071
+ type: string;
1072
+ input: boolean;
1073
+ key: string;
1074
+ keyLabel: string;
1075
+ valueComponent: {
1076
+ type: string;
1077
+ key: string;
1078
+ label: string;
1079
+ input: boolean;
1080
+ };
1081
+ tooltip: string;
1082
+ addAnother: string;
1083
+ legend?: undefined;
1084
+ title?: undefined;
1085
+ weight?: undefined;
1086
+ collapsible?: undefined;
1087
+ collapsed?: undefined;
1088
+ components?: undefined;
1089
+ } | {
1090
+ type: string;
1091
+ legend: string;
1092
+ title: string;
1093
+ key: string;
1094
+ tooltip: string;
1095
+ weight: number;
1096
+ collapsible: boolean;
1097
+ collapsed: boolean;
1098
+ components: {
1099
+ type: string;
1100
+ input: boolean;
1101
+ key: string;
1102
+ label: string;
1103
+ placeholder: string;
1104
+ tooltip: string;
1105
+ }[];
1106
+ label?: undefined;
1107
+ input?: undefined;
1108
+ keyLabel?: undefined;
1109
+ valueComponent?: undefined;
1110
+ addAnother?: undefined;
1111
+ })[];
1112
+ })[];
1113
+ }[];
3
1114
  };