@formio/js 5.0.0-rc.54 → 5.0.0-rc.56

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) 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 +563 -563
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +3 -3
  7. package/dist/formio.full.js +606 -606
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +3 -3
  10. package/dist/formio.js +3 -3
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.js +16 -16
  14. package/dist/formio.utils.min.js +1 -1
  15. package/dist/formio.utils.min.js.LICENSE.txt +3 -3
  16. package/lib/cjs/Element.d.ts +3 -2
  17. package/lib/cjs/Element.js +4 -3
  18. package/lib/cjs/Embed.js +8 -5
  19. package/lib/cjs/Form.d.ts +99 -36
  20. package/lib/cjs/Form.js +23 -18
  21. package/lib/cjs/PDF.d.ts +8 -7
  22. package/lib/cjs/PDF.js +6 -5
  23. package/lib/cjs/Webform.d.ts +1 -4
  24. package/lib/cjs/Webform.js +19 -16
  25. package/lib/cjs/WebformBuilder.d.ts +15 -14
  26. package/lib/cjs/WebformBuilder.js +11 -10
  27. package/lib/cjs/Wizard.d.ts +1 -12
  28. package/lib/cjs/Wizard.js +17 -15
  29. package/lib/cjs/WizardBuilder.d.ts +1 -1
  30. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
  31. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
  32. package/lib/cjs/addons/index.d.ts +2 -2
  33. package/lib/cjs/components/Components.d.ts +6 -5
  34. package/lib/cjs/components/Components.js +2 -1
  35. package/lib/cjs/components/_classes/component/Component.form.d.ts +4 -5
  36. package/lib/cjs/components/_classes/component/Component.form.js +3 -2
  37. package/lib/cjs/components/_classes/component/Component.js +3 -2
  38. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
  39. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
  40. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
  41. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
  42. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +2 -2
  43. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +1 -1
  44. package/lib/cjs/components/_classes/component/editForm/utils.js +2 -2
  45. package/lib/cjs/components/_classes/list/ListComponent.d.ts +2 -2
  46. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +4 -4
  47. package/lib/cjs/components/_classes/list/ListComponent.form.js +3 -3
  48. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
  49. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +3 -2
  50. package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -2
  51. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
  52. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
  53. package/lib/cjs/components/address/Address.form.d.ts +4 -5
  54. package/lib/cjs/components/address/Address.form.js +3 -2
  55. package/lib/cjs/components/button/Button.form.d.ts +4 -5
  56. package/lib/cjs/components/button/Button.form.js +3 -2
  57. package/lib/cjs/components/button/Button.js +3 -2
  58. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +4 -5
  59. package/lib/cjs/components/checkbox/Checkbox.form.js +3 -2
  60. package/lib/cjs/components/checkbox/Checkbox.js +2 -9
  61. package/lib/cjs/components/checkbox/fixtures/comp5.d.ts +34 -0
  62. package/lib/cjs/components/checkbox/fixtures/comp5.js +55 -0
  63. package/lib/cjs/components/checkbox/fixtures/index.d.ts +2 -1
  64. package/lib/cjs/components/checkbox/fixtures/index.js +3 -1
  65. package/lib/cjs/components/columns/Columns.d.ts +1 -1
  66. package/lib/cjs/components/columns/Columns.form.d.ts +4 -5
  67. package/lib/cjs/components/columns/Columns.form.js +3 -2
  68. package/lib/cjs/components/columns/Columns.js +1 -1
  69. package/lib/cjs/components/container/Container.form.d.ts +4 -5
  70. package/lib/cjs/components/container/Container.form.js +3 -2
  71. package/lib/cjs/components/content/Content.form.d.ts +4 -5
  72. package/lib/cjs/components/content/Content.form.js +3 -2
  73. package/lib/cjs/components/currency/Currency.form.d.ts +4 -5
  74. package/lib/cjs/components/currency/Currency.form.js +3 -2
  75. package/lib/cjs/components/currency/Currency.js +1 -1
  76. package/lib/cjs/components/datagrid/DataGrid.d.ts +4 -4
  77. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +4 -5
  78. package/lib/cjs/components/datagrid/DataGrid.form.js +3 -2
  79. package/lib/cjs/components/datagrid/DataGrid.js +4 -4
  80. package/lib/cjs/components/datamap/DataMap.form.d.ts +4 -5
  81. package/lib/cjs/components/datamap/DataMap.form.js +3 -2
  82. package/lib/cjs/components/datetime/DateTime.form.d.ts +4 -5
  83. package/lib/cjs/components/datetime/DateTime.form.js +3 -2
  84. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
  85. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +2 -2
  86. package/lib/cjs/components/day/Day.d.ts +18 -23
  87. package/lib/cjs/components/day/Day.form.d.ts +4 -5
  88. package/lib/cjs/components/day/Day.form.js +3 -2
  89. package/lib/cjs/components/day/Day.js +15 -14
  90. package/lib/cjs/components/editgrid/EditGrid.d.ts +4 -3
  91. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +4 -5
  92. package/lib/cjs/components/editgrid/EditGrid.form.js +3 -2
  93. package/lib/cjs/components/editgrid/EditGrid.js +3 -3
  94. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +2 -5
  95. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +1 -1
  96. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +6 -9
  97. package/lib/cjs/components/email/Email.form.d.ts +4 -5
  98. package/lib/cjs/components/email/Email.form.js +3 -2
  99. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +4 -5
  100. package/lib/cjs/components/fieldset/Fieldset.form.js +3 -2
  101. package/lib/cjs/components/file/File.form.d.ts +4 -5
  102. package/lib/cjs/components/file/File.form.js +3 -2
  103. package/lib/cjs/components/form/Form.d.ts +23 -20
  104. package/lib/cjs/components/form/Form.form.d.ts +4 -5
  105. package/lib/cjs/components/form/Form.form.js +3 -2
  106. package/lib/cjs/components/form/Form.js +18 -11
  107. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +1 -1
  108. package/lib/cjs/components/form/fixtures/comp7.d.ts +36 -0
  109. package/lib/cjs/components/form/fixtures/comp7.js +37 -0
  110. package/lib/cjs/components/form/fixtures/comp8.d.ts +26 -0
  111. package/lib/cjs/components/form/fixtures/comp8.js +29 -0
  112. package/lib/cjs/components/form/fixtures/index.d.ts +3 -1
  113. package/lib/cjs/components/form/fixtures/index.js +5 -1
  114. package/lib/cjs/components/hidden/Hidden.form.d.ts +4 -5
  115. package/lib/cjs/components/hidden/Hidden.form.js +3 -2
  116. package/lib/cjs/components/hidden/Hidden.js +1 -1
  117. package/lib/cjs/components/html/HTML.form.d.ts +4 -5
  118. package/lib/cjs/components/html/HTML.form.js +3 -2
  119. package/lib/cjs/components/number/Number.d.ts +1 -1
  120. package/lib/cjs/components/number/Number.form.d.ts +4 -5
  121. package/lib/cjs/components/number/Number.form.js +3 -2
  122. package/lib/cjs/components/number/Number.js +1 -1
  123. package/lib/cjs/components/panel/Panel.form.d.ts +4 -5
  124. package/lib/cjs/components/panel/Panel.form.js +3 -2
  125. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
  126. package/lib/cjs/components/password/Password.form.d.ts +4 -5
  127. package/lib/cjs/components/password/Password.form.js +3 -2
  128. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
  129. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +3 -2
  130. package/lib/cjs/components/radio/Radio.form.d.ts +4 -3
  131. package/lib/cjs/components/radio/Radio.form.js +3 -2
  132. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
  133. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +2 -1
  134. package/lib/cjs/components/select/Select.d.ts +2 -2
  135. package/lib/cjs/components/select/Select.form.d.ts +4 -3
  136. package/lib/cjs/components/select/Select.form.js +3 -2
  137. package/lib/cjs/components/select/Select.js +1 -1
  138. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +2 -8
  139. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
  140. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +3 -2
  141. package/lib/cjs/components/selectboxes/SelectBoxes.js +7 -6
  142. package/lib/cjs/components/signature/Signature.form.d.ts +4 -5
  143. package/lib/cjs/components/signature/Signature.form.js +3 -2
  144. package/lib/cjs/components/survey/Survey.form.d.ts +4 -5
  145. package/lib/cjs/components/survey/Survey.form.js +3 -2
  146. package/lib/cjs/components/table/Table.form.d.ts +4 -5
  147. package/lib/cjs/components/table/Table.form.js +3 -2
  148. package/lib/cjs/components/tabs/Tabs.d.ts +2 -2
  149. package/lib/cjs/components/tabs/Tabs.form.d.ts +4 -5
  150. package/lib/cjs/components/tabs/Tabs.form.js +3 -2
  151. package/lib/cjs/components/tabs/Tabs.js +1 -1
  152. package/lib/cjs/components/tags/Tags.form.d.ts +4 -5
  153. package/lib/cjs/components/tags/Tags.form.js +3 -2
  154. package/lib/cjs/components/textarea/TextArea.d.ts +3 -3
  155. package/lib/cjs/components/textarea/TextArea.form.d.ts +4 -5
  156. package/lib/cjs/components/textarea/TextArea.form.js +3 -2
  157. package/lib/cjs/components/textarea/TextArea.js +2 -2
  158. package/lib/cjs/components/textfield/TextField.d.ts +12 -19
  159. package/lib/cjs/components/textfield/TextField.form.d.ts +4 -5
  160. package/lib/cjs/components/textfield/TextField.form.js +3 -2
  161. package/lib/cjs/components/textfield/TextField.js +13 -12
  162. package/lib/cjs/components/time/Time.form.d.ts +4 -5
  163. package/lib/cjs/components/time/Time.form.js +3 -2
  164. package/lib/cjs/components/unknown/Unknown.form.d.ts +3 -35
  165. package/lib/cjs/components/unknown/Unknown.form.js +2 -1
  166. package/lib/cjs/components/url/Url.form.d.ts +4 -5
  167. package/lib/cjs/components/url/Url.form.js +3 -2
  168. package/lib/cjs/components/well/Well.form.d.ts +4 -5
  169. package/lib/cjs/components/well/Well.form.js +3 -2
  170. package/lib/cjs/formio.form.js +2 -2
  171. package/lib/cjs/utils/Evaluator.d.ts +0 -1
  172. package/lib/cjs/utils/Evaluator.js +2 -5
  173. package/lib/cjs/utils/formUtils.d.ts +1 -1
  174. package/lib/cjs/utils/utils.d.ts +106 -83
  175. package/lib/cjs/utils/utils.js +96 -140
  176. package/lib/cjs/widgets/CalendarWidget.d.ts +8 -7
  177. package/lib/cjs/widgets/CalendarWidget.js +8 -7
  178. package/lib/mjs/Element.d.ts +3 -2
  179. package/lib/mjs/Element.js +4 -3
  180. package/lib/mjs/Embed.js +8 -5
  181. package/lib/mjs/Form.d.ts +99 -36
  182. package/lib/mjs/Form.js +43 -38
  183. package/lib/mjs/PDF.d.ts +8 -7
  184. package/lib/mjs/PDF.js +6 -5
  185. package/lib/mjs/Webform.d.ts +1 -4
  186. package/lib/mjs/Webform.js +19 -16
  187. package/lib/mjs/WebformBuilder.d.ts +15 -14
  188. package/lib/mjs/WebformBuilder.js +11 -10
  189. package/lib/mjs/Wizard.d.ts +1 -12
  190. package/lib/mjs/Wizard.js +15 -13
  191. package/lib/mjs/WizardBuilder.d.ts +1 -1
  192. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
  193. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
  194. package/lib/mjs/addons/index.d.ts +2 -2
  195. package/lib/mjs/components/Components.d.ts +6 -5
  196. package/lib/mjs/components/Components.js +2 -1
  197. package/lib/mjs/components/_classes/component/Component.form.d.ts +4 -5
  198. package/lib/mjs/components/_classes/component/Component.form.js +3 -2
  199. package/lib/mjs/components/_classes/component/Component.js +3 -2
  200. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
  201. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
  202. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
  203. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
  204. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
  205. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +1 -1
  206. package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
  207. package/lib/mjs/components/_classes/list/ListComponent.d.ts +2 -2
  208. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +4 -4
  209. package/lib/mjs/components/_classes/list/ListComponent.form.js +3 -3
  210. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
  211. package/lib/mjs/components/_classes/nested/NestedComponent.form.js +3 -2
  212. package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -2
  213. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
  214. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
  215. package/lib/mjs/components/address/Address.form.d.ts +4 -5
  216. package/lib/mjs/components/address/Address.form.js +3 -2
  217. package/lib/mjs/components/button/Button.form.d.ts +4 -5
  218. package/lib/mjs/components/button/Button.form.js +3 -2
  219. package/lib/mjs/components/button/Button.js +3 -2
  220. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +4 -5
  221. package/lib/mjs/components/checkbox/Checkbox.form.js +3 -2
  222. package/lib/mjs/components/checkbox/Checkbox.js +2 -9
  223. package/lib/mjs/components/checkbox/fixtures/comp5.d.ts +34 -0
  224. package/lib/mjs/components/checkbox/fixtures/comp5.js +53 -0
  225. package/lib/mjs/components/checkbox/fixtures/index.d.ts +2 -1
  226. package/lib/mjs/components/checkbox/fixtures/index.js +2 -1
  227. package/lib/mjs/components/columns/Columns.d.ts +1 -1
  228. package/lib/mjs/components/columns/Columns.form.d.ts +4 -5
  229. package/lib/mjs/components/columns/Columns.form.js +3 -2
  230. package/lib/mjs/components/columns/Columns.js +1 -1
  231. package/lib/mjs/components/container/Container.form.d.ts +4 -5
  232. package/lib/mjs/components/container/Container.form.js +3 -2
  233. package/lib/mjs/components/content/Content.form.d.ts +4 -5
  234. package/lib/mjs/components/content/Content.form.js +3 -2
  235. package/lib/mjs/components/currency/Currency.form.d.ts +4 -5
  236. package/lib/mjs/components/currency/Currency.form.js +3 -2
  237. package/lib/mjs/components/currency/Currency.js +1 -1
  238. package/lib/mjs/components/datagrid/DataGrid.d.ts +4 -4
  239. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +4 -5
  240. package/lib/mjs/components/datagrid/DataGrid.form.js +3 -2
  241. package/lib/mjs/components/datagrid/DataGrid.js +4 -4
  242. package/lib/mjs/components/datamap/DataMap.form.d.ts +4 -5
  243. package/lib/mjs/components/datamap/DataMap.form.js +3 -2
  244. package/lib/mjs/components/datetime/DateTime.form.d.ts +4 -5
  245. package/lib/mjs/components/datetime/DateTime.form.js +3 -2
  246. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
  247. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +1 -1
  248. package/lib/mjs/components/day/Day.d.ts +18 -23
  249. package/lib/mjs/components/day/Day.form.d.ts +4 -5
  250. package/lib/mjs/components/day/Day.form.js +3 -2
  251. package/lib/mjs/components/day/Day.js +15 -14
  252. package/lib/mjs/components/editgrid/EditGrid.d.ts +4 -3
  253. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +4 -5
  254. package/lib/mjs/components/editgrid/EditGrid.form.js +3 -2
  255. package/lib/mjs/components/editgrid/EditGrid.js +3 -3
  256. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +1 -1
  257. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +1 -1
  258. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +1 -1
  259. package/lib/mjs/components/email/Email.form.d.ts +4 -5
  260. package/lib/mjs/components/email/Email.form.js +3 -2
  261. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +4 -5
  262. package/lib/mjs/components/fieldset/Fieldset.form.js +3 -2
  263. package/lib/mjs/components/file/File.form.d.ts +4 -5
  264. package/lib/mjs/components/file/File.form.js +3 -2
  265. package/lib/mjs/components/form/Form.d.ts +23 -20
  266. package/lib/mjs/components/form/Form.form.d.ts +4 -5
  267. package/lib/mjs/components/form/Form.form.js +3 -2
  268. package/lib/mjs/components/form/Form.js +18 -11
  269. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +1 -1
  270. package/lib/mjs/components/form/fixtures/comp7.d.ts +36 -0
  271. package/lib/mjs/components/form/fixtures/comp7.js +35 -0
  272. package/lib/mjs/components/form/fixtures/comp8.d.ts +26 -0
  273. package/lib/mjs/components/form/fixtures/comp8.js +27 -0
  274. package/lib/mjs/components/form/fixtures/index.d.ts +3 -1
  275. package/lib/mjs/components/form/fixtures/index.js +3 -1
  276. package/lib/mjs/components/hidden/Hidden.form.d.ts +4 -5
  277. package/lib/mjs/components/hidden/Hidden.form.js +3 -2
  278. package/lib/mjs/components/hidden/Hidden.js +1 -1
  279. package/lib/mjs/components/html/HTML.form.d.ts +4 -5
  280. package/lib/mjs/components/html/HTML.form.js +3 -2
  281. package/lib/mjs/components/number/Number.d.ts +1 -1
  282. package/lib/mjs/components/number/Number.form.d.ts +4 -5
  283. package/lib/mjs/components/number/Number.form.js +3 -2
  284. package/lib/mjs/components/number/Number.js +1 -1
  285. package/lib/mjs/components/panel/Panel.form.d.ts +4 -5
  286. package/lib/mjs/components/panel/Panel.form.js +3 -2
  287. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
  288. package/lib/mjs/components/password/Password.form.d.ts +4 -5
  289. package/lib/mjs/components/password/Password.form.js +3 -2
  290. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
  291. package/lib/mjs/components/phonenumber/PhoneNumber.form.js +3 -2
  292. package/lib/mjs/components/radio/Radio.form.d.ts +4 -3
  293. package/lib/mjs/components/radio/Radio.form.js +3 -2
  294. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
  295. package/lib/mjs/components/recaptcha/ReCaptcha.form.js +2 -1
  296. package/lib/mjs/components/select/Select.d.ts +2 -2
  297. package/lib/mjs/components/select/Select.form.d.ts +4 -3
  298. package/lib/mjs/components/select/Select.form.js +3 -2
  299. package/lib/mjs/components/select/Select.js +1 -1
  300. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +2 -8
  301. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
  302. package/lib/mjs/components/selectboxes/SelectBoxes.form.js +3 -2
  303. package/lib/mjs/components/selectboxes/SelectBoxes.js +7 -6
  304. package/lib/mjs/components/signature/Signature.form.d.ts +4 -5
  305. package/lib/mjs/components/signature/Signature.form.js +3 -2
  306. package/lib/mjs/components/survey/Survey.form.d.ts +4 -5
  307. package/lib/mjs/components/survey/Survey.form.js +3 -2
  308. package/lib/mjs/components/table/Table.form.d.ts +4 -5
  309. package/lib/mjs/components/table/Table.form.js +3 -2
  310. package/lib/mjs/components/tabs/Tabs.d.ts +2 -2
  311. package/lib/mjs/components/tabs/Tabs.form.d.ts +4 -5
  312. package/lib/mjs/components/tabs/Tabs.form.js +3 -2
  313. package/lib/mjs/components/tabs/Tabs.js +1 -1
  314. package/lib/mjs/components/tags/Tags.form.d.ts +4 -5
  315. package/lib/mjs/components/tags/Tags.form.js +3 -2
  316. package/lib/mjs/components/textarea/TextArea.d.ts +3 -3
  317. package/lib/mjs/components/textarea/TextArea.form.d.ts +4 -5
  318. package/lib/mjs/components/textarea/TextArea.form.js +3 -2
  319. package/lib/mjs/components/textarea/TextArea.js +2 -2
  320. package/lib/mjs/components/textfield/TextField.d.ts +12 -19
  321. package/lib/mjs/components/textfield/TextField.form.d.ts +4 -5
  322. package/lib/mjs/components/textfield/TextField.form.js +3 -2
  323. package/lib/mjs/components/textfield/TextField.js +13 -12
  324. package/lib/mjs/components/time/Time.form.d.ts +4 -5
  325. package/lib/mjs/components/time/Time.form.js +3 -2
  326. package/lib/mjs/components/unknown/Unknown.form.d.ts +3 -35
  327. package/lib/mjs/components/unknown/Unknown.form.js +2 -1
  328. package/lib/mjs/components/url/Url.form.d.ts +4 -5
  329. package/lib/mjs/components/url/Url.form.js +3 -2
  330. package/lib/mjs/components/well/Well.form.d.ts +4 -5
  331. package/lib/mjs/components/well/Well.form.js +3 -2
  332. package/lib/mjs/formio.form.js +1 -1
  333. package/lib/mjs/utils/Evaluator.d.ts +0 -1
  334. package/lib/mjs/utils/Evaluator.js +1 -4
  335. package/lib/mjs/utils/formUtils.d.ts +1 -1
  336. package/lib/mjs/utils/utils.d.ts +106 -83
  337. package/lib/mjs/utils/utils.js +96 -140
  338. package/lib/mjs/widgets/CalendarWidget.d.ts +8 -7
  339. package/lib/mjs/widgets/CalendarWidget.js +8 -7
  340. package/package.json +5 -8
@@ -1,5 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): object;
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -3,8 +3,9 @@ import SelectEditData from './editForm/Select.edit.data';
3
3
  import SelectEditDisplay from './editForm/Select.edit.display';
4
4
  import SelectEditValidation from './editForm/Select.edit.validation';
5
5
  /**
6
- *
7
- * @param {...any} extend
6
+ * The Edit Form function.
7
+ * @param {...any} extend - The components that extend the edit form.
8
+ * @returns {import('@formio/core').Component[]} - The edit form components.
8
9
  */
9
10
  export default function (...extend) {
10
11
  return listComponentForm([
@@ -1415,7 +1415,7 @@ export default class SelectComponent extends ListComponent {
1415
1415
  }
1416
1416
  /**
1417
1417
  * Performs required transformations on the initial value to use in selectOptions
1418
- * @param {*} value
1418
+ * @param {*} value - The value to transform.
1419
1419
  * @returns {*} - Returns the options value.
1420
1420
  */
1421
1421
  getOptionValue(value) {
@@ -26,16 +26,10 @@ export default class SelectBoxesComponent extends RadioComponent {
26
26
  get emptyValue(): any;
27
27
  /**
28
28
  * Only empty if the values are all false.
29
- * @param value
30
- * @returns {boolean}
29
+ * @param {any} value - The value to check if empty.
30
+ * @returns {boolean} - If the value is empty.
31
31
  */
32
32
  isEmpty(value?: any): boolean;
33
- /**
34
- * Set the value of this component.
35
- * @param value
36
- * @param flags
37
- */
38
- setValue(value: any, flags?: {}): boolean;
39
33
  setInputsDisabled(value: any, onlyUnchecked: any): void;
40
34
  checkComponentValidity(data: any, dirty: any, rowData: any, options: any, errors?: any[]): boolean;
41
35
  }
@@ -1,5 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): object;
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -1,8 +1,9 @@
1
1
  import radioEditForm from '../radio/Radio.form';
2
2
  import SelectBoxesEditValidation from './editForm/SelectBoxes.edit.validation';
3
3
  /**
4
- *
5
- * @param {...any} extend
4
+ * The Edit Form function.
5
+ * @param {...any} extend - The components that extend the edit form.
6
+ * @returns {import('@formio/core').Component[]} - The edit form components.
6
7
  */
7
8
  export default function (...extend) {
8
9
  return radioEditForm([
@@ -79,8 +79,8 @@ export default class SelectBoxesComponent extends RadioComponent {
79
79
  }
80
80
  /**
81
81
  * Only empty if the values are all false.
82
- * @param value
83
- * @returns {boolean}
82
+ * @param {any} value - The value to check if empty.
83
+ * @returns {boolean} - If the value is empty.
84
84
  */
85
85
  isEmpty(value = this.dataValue) {
86
86
  let empty = true;
@@ -104,8 +104,8 @@ export default class SelectBoxesComponent extends RadioComponent {
104
104
  }
105
105
  /**
106
106
  * Normalize values coming into updateValue.
107
- * @param value
108
- * @returns {*}
107
+ * @param {any} value - The value to normalize.
108
+ * @returns {*} - The normalized value
109
109
  */
110
110
  normalizeValue(value) {
111
111
  value = value || {};
@@ -138,8 +138,9 @@ export default class SelectBoxesComponent extends RadioComponent {
138
138
  }
139
139
  /**
140
140
  * Set the value of this component.
141
- * @param value
142
- * @param flags
141
+ * @param {any} value - The value to set.
142
+ * @param {any} flags - Flags to apply to this update.
143
+ * @returns {boolean} - If the value has changed.
143
144
  */
144
145
  setValue(value, flags = {}) {
145
146
  const changed = this.updateValue(value, flags);
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -3,8 +3,9 @@ import SignatureEditData from './editForm/Signature.edit.data';
3
3
  import SignatureEditDisplay from './editForm/Signature.edit.display';
4
4
  import SignatureEditValidation from './editForm/Signature.edit.validation';
5
5
  /**
6
- *
7
- * @param {...any} extend
6
+ * The Edit Form function.
7
+ * @param {...any} extend - The components that extend the edit form.
8
+ * @returns {import('@formio/core').Component[]} - The edit form components.
8
9
  */
9
10
  export default function (...extend) {
10
11
  return Components.baseEditForm([
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -3,8 +3,9 @@ import SurveyEditData from './editForm/Survey.edit.data';
3
3
  import SurveyEditDisplay from './editForm/Survey.edit.display';
4
4
  import SurveyEditValidation from './editForm/Survey.edit.validation';
5
5
  /**
6
- *
7
- * @param {...any} extend
6
+ * The Edit Form function.
7
+ * @param {...any} extend - The components that extend the edit form.
8
+ * @returns {import('@formio/core').Component[]} - The edit form components.
8
9
  */
9
10
  export default function (...extend) {
10
11
  return Components.baseEditForm([
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -1,8 +1,9 @@
1
1
  import nestedComponentForm from '../_classes/nested/NestedComponent.form';
2
2
  import TableEditDisplay from './editForm/Table.edit.display';
3
3
  /**
4
- *
5
- * @param {...any} extend
4
+ * The Edit Form function.
5
+ * @param {...any} extend - The components that extend the edit form.
6
+ * @returns {import('@formio/core').Component[]} - The edit form components.
6
7
  */
7
8
  export default function (...extend) {
8
9
  return nestedComponentForm([
@@ -20,9 +20,9 @@ export default class TabsComponent extends NestedComponent {
20
20
  detach(all: any): void;
21
21
  /**
22
22
  * Set the current tab.
23
- * @param index
23
+ * @param {number} index - The index of the tab to set.
24
24
  */
25
- setTab(index: any): void;
25
+ setTab(index: number): void;
26
26
  beforeFocus(component: any): void;
27
27
  setErrorClasses(elements: any, dirty: any, hasErrors: any, hasMessages: any, element?: any): void;
28
28
  handleTabsValidation(): void;
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -1,8 +1,9 @@
1
1
  import nestedComponentForm from '../_classes/nested/NestedComponent.form';
2
2
  import TabsEditDisplay from './editForm/Tabs.edit.display';
3
3
  /**
4
- *
5
- * @param {...any} extend
4
+ * The Edit Form function.
5
+ * @param {...any} extend - The components that extend the edit form.
6
+ * @returns {import('@formio/core').Component[]} - The edit form components.
6
7
  */
7
8
  export default function (...extend) {
8
9
  return nestedComponentForm([
@@ -107,7 +107,7 @@ export default class TabsComponent extends NestedComponent {
107
107
  }
108
108
  /**
109
109
  * Set the current tab.
110
- * @param index
110
+ * @param {number} index - The index of the tab to set.
111
111
  */
112
112
  setTab(index) {
113
113
  if (!this.tabs || !this.tabs[index] || !this.refs[this.tabKey] || !this.refs[this.tabKey][index]) {
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -1,8 +1,9 @@
1
1
  import Components from '../Components';
2
2
  import TagsEditData from './editForm/Tags.edit.data';
3
3
  /**
4
- *
5
- * @param {...any} extend
4
+ * The Edit Form function.
5
+ * @param {...any} extend - The components that extend the edit form.
6
+ * @returns {import('@formio/core').Component[]} - The edit form components.
6
7
  */
7
8
  export default function (...extend) {
8
9
  return Components.baseEditForm([
@@ -5,10 +5,10 @@ export default class TextAreaComponent extends TextFieldComponent {
5
5
  get autoExpand(): any;
6
6
  /**
7
7
  * Updates the editor value.
8
- * @param index
9
- * @param newValue
8
+ * @param {number} index - The index of the editor.
9
+ * @param {any} newValue - The new editor value.
10
10
  */
11
- updateEditorValue(index: any, newValue: any): void;
11
+ updateEditorValue(index: number, newValue: any): void;
12
12
  autoModified: boolean | undefined;
13
13
  attachElement(element: any, index: any): any;
14
14
  imageHandler(moduleInstance: any, range: any, files: any): void;
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -2,8 +2,9 @@ import textEditForm from '../textfield/TextField.form';
2
2
  import TextAreaEditDisplay from './editForm/TextArea.edit.display';
3
3
  import TextAreaEditValidation from './editForm/TextArea.edit.validation';
4
4
  /**
5
- *
6
- * @param {...any} extend
5
+ * The Edit Form function.
6
+ * @param {...any} extend - The components that extend the edit form.
7
+ * @returns {import('@formio/core').Component[]} - The edit form components.
7
8
  */
8
9
  export default function (...extend) {
9
10
  return textEditForm([
@@ -77,8 +77,8 @@ export default class TextAreaComponent extends TextFieldComponent {
77
77
  }
78
78
  /**
79
79
  * Updates the editor value.
80
- * @param index
81
- * @param newValue
80
+ * @param {number} index - The index of the editor.
81
+ * @param {any} newValue - The new editor value.
82
82
  */
83
83
  updateEditorValue(index, newValue) {
84
84
  newValue = this.getConvertedValue(this.trimBlanks(newValue));
@@ -18,33 +18,26 @@ export default class TextFieldComponent extends Input {
18
18
  static savedValueTypes(schema: any): string[];
19
19
  get emptyValue(): string;
20
20
  /**
21
- * Returns the mask value object.
22
- * @param value
23
- * @param flags
24
- * @returns {*}
21
+ * Returns the mask value object (mutates value!).
22
+ * @param {any} [value] - The value to convert to a mask value.
23
+ * @param {any} [flags] - The flags to use when converting to a mask value.
24
+ * @returns {*} - The value as a mask value.
25
25
  */
26
- maskValue(value: any, flags?: {}): any;
26
+ maskValue(value?: any, flags?: any): any;
27
27
  /**
28
28
  * Normalize the value set in the data object.
29
- * @param value
30
- * @param flags
31
- * @returns {*}
29
+ * @param {any} value - The value to normalize.
30
+ * @param {any} flags - The flags to use when normalizing the value.
31
+ * @returns {*} - Returns the normalized value.
32
32
  */
33
- normalizeValue(value: any, flags?: {}): any;
34
- /**
35
- * Sets the value at this index.
36
- * @param index
37
- * @param value
38
- * @param flags
39
- */
40
- setValueAt(index: any, value: any, flags?: {}): void;
33
+ normalizeValue(value: any, flags?: any): any;
41
34
  unmaskValue(value: any, format?: any): string;
42
35
  /**
43
36
  * Returns the value at this index.
44
- * @param index
45
- * @returns {*}
37
+ * @param {number} index - The index to get the value from.
38
+ * @returns {*} - The value at the index.
46
39
  */
47
- getValueAt(index: any): any;
40
+ getValueAt(index: number): any;
48
41
  checkInputMaskValue(inputMask: any): boolean;
49
42
  setInputMask(input: any, inputMask: any, usePlaceholder: any): void;
50
43
  isHtmlRenderMode(): any;
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -3,8 +3,9 @@ import TextFieldEditData from './editForm/TextField.edit.data';
3
3
  import TextFieldEditDisplay from './editForm/TextField.edit.display';
4
4
  import TextFieldEditValidation from './editForm/TextField.edit.validation';
5
5
  /**
6
- *
7
- * @param {...any} extend
6
+ * The Edit Form function.
7
+ * @param {...any} extend - The components that extend the edit form.
8
+ * @returns {import('@formio/core').Component[]} - The edit form components.
8
9
  */
9
10
  export default function (...extend) {
10
11
  return Components.baseEditForm([
@@ -95,10 +95,10 @@ export default class TextFieldComponent extends Input {
95
95
  return super.attach(element);
96
96
  }
97
97
  /**
98
- * Returns the mask value object.
99
- * @param value
100
- * @param flags
101
- * @returns {*}
98
+ * Returns the mask value object (mutates value!).
99
+ * @param {any} [value] - The value to convert to a mask value.
100
+ * @param {any} [flags] - The flags to use when converting to a mask value.
101
+ * @returns {*} - The value as a mask value.
102
102
  */
103
103
  maskValue(value, flags = {}) {
104
104
  // Convert it into the correct format.
@@ -117,9 +117,9 @@ export default class TextFieldComponent extends Input {
117
117
  }
118
118
  /**
119
119
  * Normalize the value set in the data object.
120
- * @param value
121
- * @param flags
122
- * @returns {*}
120
+ * @param {any} value - The value to normalize.
121
+ * @param {any} flags - The flags to use when normalizing the value.
122
+ * @returns {*} - Returns the normalized value.
123
123
  */
124
124
  normalizeValue(value, flags = {}) {
125
125
  if (!this.isMultipleMasksField) {
@@ -132,9 +132,10 @@ export default class TextFieldComponent extends Input {
132
132
  }
133
133
  /**
134
134
  * Sets the value at this index.
135
- * @param index
136
- * @param value
137
- * @param flags
135
+ * @param {number} index - The index to set the value at.
136
+ * @param {any} value - The value to set.
137
+ * @param {any} [flags] - The flags to use when setting the value.
138
+ * @returns {void}
138
139
  */
139
140
  setValueAt(index, value, flags = {}) {
140
141
  if (!this.isMultipleMasksField) {
@@ -166,8 +167,8 @@ export default class TextFieldComponent extends Input {
166
167
  }
167
168
  /**
168
169
  * Returns the value at this index.
169
- * @param index
170
- * @returns {*}
170
+ * @param {number} index - The index to get the value from.
171
+ * @returns {*} - The value at the index.
171
172
  */
172
173
  getValueAt(index) {
173
174
  if (!this.isMultipleMasksField) {
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -2,8 +2,9 @@ import baseEditForm from '../_classes/component/Component.form';
2
2
  import TimeEditData from './editForm/Time.edit.data';
3
3
  import TimeEditDisplay from './editForm/Time.edit.display';
4
4
  /**
5
- *
6
- * @param {...any} extend
5
+ * The Edit Form function.
6
+ * @param {...any} extend - The components that extend the edit form.
7
+ * @returns {import('@formio/core').Component[]} - The edit form components.
7
8
  */
8
9
  export default function (...extend) {
9
10
  return baseEditForm([
@@ -1,37 +1,5 @@
1
1
  /**
2
- *
2
+ * Unknown Component schema.
3
+ * @returns {object} - The Unknown Component edit form.
3
4
  */
4
- export default function _default(): {
5
- components: {
6
- type: string;
7
- key: string;
8
- components: {
9
- label: string;
10
- key: string;
11
- weight: number;
12
- components: ({
13
- key: string;
14
- label: string;
15
- input: boolean;
16
- tag: string;
17
- content: string;
18
- type: string;
19
- weight: number;
20
- as?: undefined;
21
- editor?: undefined;
22
- tooltip?: undefined;
23
- } | {
24
- type: string;
25
- as: string;
26
- editor: string;
27
- weight: number;
28
- input: boolean;
29
- key: string;
30
- label: string;
31
- tooltip: string;
32
- tag?: undefined;
33
- content?: undefined;
34
- })[];
35
- }[];
36
- }[];
37
- };
5
+ export default function _default(): object;
@@ -1,6 +1,7 @@
1
1
  import UnknownEditDisplay from './editForm/Unknown.edit.display';
2
2
  /**
3
- *
3
+ * Unknown Component schema.
4
+ * @returns {object} - The Unknown Component edit form.
4
5
  */
5
6
  export default function () {
6
7
  return {
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -3,8 +3,9 @@ import UrlEditDisplay from './editForm/Url.edit.display';
3
3
  import UrlEditData from './editForm/Url.edit.data';
4
4
  import UrlEditValidation from './editForm/Url.edit.validation';
5
5
  /**
6
- *
7
- * @param {...any} extend
6
+ * The Edit Form function.
7
+ * @param {...any} extend - The components that extend the edit form.
8
+ * @returns {import('@formio/core').Component[]} - The edit form components.
8
9
  */
9
10
  export default function (...extend) {
10
11
  return textEditForm([
@@ -1,7 +1,6 @@
1
1
  /**
2
- *
3
- * @param {...any} extend
2
+ * The Edit Form function.
3
+ * @param {...any} extend - The components that extend the edit form.
4
+ * @returns {import('@formio/core').Component[]} - The edit form components.
4
5
  */
5
- export default function _default(...extend: any[]): {
6
- components: any;
7
- };
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -1,8 +1,9 @@
1
1
  import nestedComponentForm from '../_classes/nested/NestedComponent.form';
2
2
  import WellEditDisplay from './editForm/Well.edit.display';
3
3
  /**
4
- *
5
- * @param {...any} extend
4
+ * The Edit Form function.
5
+ * @param {...any} extend - The components that extend the edit form.
6
+ * @returns {import('@formio/core').Component[]} - The edit form components.
6
7
  */
7
8
  export default function (...extend) {
8
9
  return nestedComponentForm([
@@ -8,7 +8,7 @@ import Providers from './providers';
8
8
  import Widgets from './widgets';
9
9
  import Form from './Form';
10
10
  import Utils from './utils';
11
- import Evaluator from './utils/Evaluator';
11
+ import { Evaluator } from './utils/Evaluator';
12
12
  import Licenses from './licenses';
13
13
  import EventEmitter from './EventEmitter';
14
14
  import Webform from './Webform';
@@ -4,5 +4,4 @@ export class Evaluator {
4
4
  static noeval: boolean;
5
5
  static template(template: any, hash: any): any;
6
6
  static interpolate(rawTemplate: any, data: any, _options: any): any;
7
- static evaluate(func: any, args: any): any;
8
7
  }
@@ -1,6 +1,6 @@
1
1
  import _ from 'lodash';
2
2
  import stringHash from 'string-hash';
3
- import { Evaluator as CoreEvaluator } from '@formio/core/utils';
3
+ import { JSONLogicEvaluator as CoreEvaluator } from '@formio/core/utils';
4
4
  export class Evaluator extends CoreEvaluator {
5
5
  static cache = {};
6
6
  static protectedEval = false;
@@ -50,7 +50,4 @@ export class Evaluator extends CoreEvaluator {
50
50
  }
51
51
  return template;
52
52
  }
53
- static evaluate(func, args) {
54
- return Array.isArray(args) ? func(...args) : func(args);
55
- }
56
53
  }
@@ -15,7 +15,7 @@ export const getComponentPath: typeof Utils.getComponentPath;
15
15
  export const isComponentModelType: typeof Utils.isComponentModelType;
16
16
  export const isComponentNestedDataType: typeof Utils.isComponentNestedDataType;
17
17
  export const componentPath: typeof Utils.componentPath;
18
- export const componentChildPath: (component: any, parentPath?: string | undefined, path?: string | undefined) => string;
18
+ export const componentChildPath: any;
19
19
  export const eachComponentDataAsync: (components: Component[], data: DataObject, fn: AsyncComponentDataCallback, path?: string | undefined, index?: number | undefined, parent?: any, includeAll?: boolean | undefined) => Promise<void>;
20
20
  export const eachComponentData: (components: Component[], data: DataObject, fn: ComponentDataCallback, path?: string | undefined, index?: number | undefined, parent?: any, includeAll?: boolean | undefined) => void;
21
21
  export const getComponentKey: typeof Utils.getComponentKey;