@formio/js 5.0.0-rc.53 → 5.0.0-rc.55

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) 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/embed.d.ts +1 -0
  17. package/form.d.ts +1 -0
  18. package/lib/cjs/Element.d.ts +3 -2
  19. package/lib/cjs/Element.js +4 -3
  20. package/lib/cjs/Form.d.ts +99 -36
  21. package/lib/cjs/Form.js +23 -18
  22. package/lib/cjs/InlineEmbed.d.ts +7 -0
  23. package/lib/cjs/InlineEmbed.js +109 -0
  24. package/lib/cjs/PDF.d.ts +8 -7
  25. package/lib/cjs/PDF.js +6 -5
  26. package/lib/cjs/Webform.d.ts +0 -3
  27. package/lib/cjs/Webform.js +18 -15
  28. package/lib/cjs/WebformBuilder.d.ts +15 -14
  29. package/lib/cjs/WebformBuilder.js +11 -10
  30. package/lib/cjs/Wizard.d.ts +0 -11
  31. package/lib/cjs/Wizard.js +16 -14
  32. package/lib/cjs/WizardBuilder.d.ts +1 -1
  33. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
  34. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
  35. package/lib/cjs/addons/index.d.ts +2 -2
  36. package/lib/cjs/components/Components.d.ts +6 -5
  37. package/lib/cjs/components/Components.js +2 -1
  38. package/lib/cjs/components/_classes/component/Component.form.d.ts +4 -5
  39. package/lib/cjs/components/_classes/component/Component.form.js +3 -2
  40. package/lib/cjs/components/_classes/component/Component.js +3 -2
  41. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
  42. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
  43. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
  44. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
  45. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +2 -2
  46. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +1 -1
  47. package/lib/cjs/components/_classes/component/editForm/utils.js +2 -2
  48. package/lib/cjs/components/_classes/list/ListComponent.d.ts +2 -2
  49. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +4 -4
  50. package/lib/cjs/components/_classes/list/ListComponent.form.js +3 -3
  51. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
  52. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +3 -2
  53. package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -2
  54. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
  55. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
  56. package/lib/cjs/components/address/Address.form.d.ts +4 -5
  57. package/lib/cjs/components/address/Address.form.js +3 -2
  58. package/lib/cjs/components/button/Button.form.d.ts +4 -5
  59. package/lib/cjs/components/button/Button.form.js +3 -2
  60. package/lib/cjs/components/button/Button.js +3 -2
  61. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +4 -5
  62. package/lib/cjs/components/checkbox/Checkbox.form.js +3 -2
  63. package/lib/cjs/components/checkbox/Checkbox.js +2 -9
  64. package/lib/cjs/components/checkbox/fixtures/comp5.d.ts +34 -0
  65. package/lib/cjs/components/checkbox/fixtures/comp5.js +55 -0
  66. package/lib/cjs/components/checkbox/fixtures/index.d.ts +2 -1
  67. package/lib/cjs/components/checkbox/fixtures/index.js +3 -1
  68. package/lib/cjs/components/columns/Columns.d.ts +1 -1
  69. package/lib/cjs/components/columns/Columns.form.d.ts +4 -5
  70. package/lib/cjs/components/columns/Columns.form.js +3 -2
  71. package/lib/cjs/components/columns/Columns.js +1 -1
  72. package/lib/cjs/components/container/Container.form.d.ts +4 -5
  73. package/lib/cjs/components/container/Container.form.js +3 -2
  74. package/lib/cjs/components/content/Content.form.d.ts +4 -5
  75. package/lib/cjs/components/content/Content.form.js +3 -2
  76. package/lib/cjs/components/currency/Currency.form.d.ts +4 -5
  77. package/lib/cjs/components/currency/Currency.form.js +3 -2
  78. package/lib/cjs/components/currency/Currency.js +1 -1
  79. package/lib/cjs/components/datagrid/DataGrid.d.ts +4 -4
  80. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +4 -5
  81. package/lib/cjs/components/datagrid/DataGrid.form.js +3 -2
  82. package/lib/cjs/components/datagrid/DataGrid.js +4 -4
  83. package/lib/cjs/components/datamap/DataMap.form.d.ts +4 -5
  84. package/lib/cjs/components/datamap/DataMap.form.js +3 -2
  85. package/lib/cjs/components/datetime/DateTime.form.d.ts +4 -5
  86. package/lib/cjs/components/datetime/DateTime.form.js +3 -2
  87. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
  88. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +2 -2
  89. package/lib/cjs/components/day/Day.d.ts +18 -23
  90. package/lib/cjs/components/day/Day.form.d.ts +4 -5
  91. package/lib/cjs/components/day/Day.form.js +3 -2
  92. package/lib/cjs/components/day/Day.js +15 -14
  93. package/lib/cjs/components/editgrid/EditGrid.d.ts +4 -3
  94. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +4 -5
  95. package/lib/cjs/components/editgrid/EditGrid.form.js +3 -2
  96. package/lib/cjs/components/editgrid/EditGrid.js +3 -3
  97. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +2 -5
  98. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +1 -1
  99. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +6 -9
  100. package/lib/cjs/components/email/Email.form.d.ts +4 -5
  101. package/lib/cjs/components/email/Email.form.js +3 -2
  102. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +4 -5
  103. package/lib/cjs/components/fieldset/Fieldset.form.js +3 -2
  104. package/lib/cjs/components/file/File.form.d.ts +4 -5
  105. package/lib/cjs/components/file/File.form.js +3 -2
  106. package/lib/cjs/components/form/Form.d.ts +23 -20
  107. package/lib/cjs/components/form/Form.form.d.ts +4 -5
  108. package/lib/cjs/components/form/Form.form.js +3 -2
  109. package/lib/cjs/components/form/Form.js +18 -11
  110. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +1 -1
  111. package/lib/cjs/components/form/fixtures/comp7.d.ts +36 -0
  112. package/lib/cjs/components/form/fixtures/comp7.js +37 -0
  113. package/lib/cjs/components/form/fixtures/comp8.d.ts +26 -0
  114. package/lib/cjs/components/form/fixtures/comp8.js +29 -0
  115. package/lib/cjs/components/form/fixtures/index.d.ts +3 -1
  116. package/lib/cjs/components/form/fixtures/index.js +5 -1
  117. package/lib/cjs/components/hidden/Hidden.form.d.ts +4 -5
  118. package/lib/cjs/components/hidden/Hidden.form.js +3 -2
  119. package/lib/cjs/components/hidden/Hidden.js +1 -1
  120. package/lib/cjs/components/html/HTML.form.d.ts +4 -5
  121. package/lib/cjs/components/html/HTML.form.js +3 -2
  122. package/lib/cjs/components/number/Number.d.ts +1 -1
  123. package/lib/cjs/components/number/Number.form.d.ts +4 -5
  124. package/lib/cjs/components/number/Number.form.js +3 -2
  125. package/lib/cjs/components/number/Number.js +1 -1
  126. package/lib/cjs/components/panel/Panel.form.d.ts +4 -5
  127. package/lib/cjs/components/panel/Panel.form.js +3 -2
  128. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
  129. package/lib/cjs/components/password/Password.form.d.ts +4 -5
  130. package/lib/cjs/components/password/Password.form.js +3 -2
  131. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
  132. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +3 -2
  133. package/lib/cjs/components/radio/Radio.form.d.ts +4 -3
  134. package/lib/cjs/components/radio/Radio.form.js +3 -2
  135. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
  136. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +2 -1
  137. package/lib/cjs/components/select/Select.d.ts +2 -2
  138. package/lib/cjs/components/select/Select.form.d.ts +4 -3
  139. package/lib/cjs/components/select/Select.form.js +3 -2
  140. package/lib/cjs/components/select/Select.js +1 -1
  141. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +2 -8
  142. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
  143. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +3 -2
  144. package/lib/cjs/components/selectboxes/SelectBoxes.js +7 -6
  145. package/lib/cjs/components/signature/Signature.form.d.ts +4 -5
  146. package/lib/cjs/components/signature/Signature.form.js +3 -2
  147. package/lib/cjs/components/survey/Survey.form.d.ts +4 -5
  148. package/lib/cjs/components/survey/Survey.form.js +3 -2
  149. package/lib/cjs/components/table/Table.form.d.ts +4 -5
  150. package/lib/cjs/components/table/Table.form.js +3 -2
  151. package/lib/cjs/components/tabs/Tabs.d.ts +2 -2
  152. package/lib/cjs/components/tabs/Tabs.form.d.ts +4 -5
  153. package/lib/cjs/components/tabs/Tabs.form.js +3 -2
  154. package/lib/cjs/components/tabs/Tabs.js +1 -1
  155. package/lib/cjs/components/tags/Tags.form.d.ts +4 -5
  156. package/lib/cjs/components/tags/Tags.form.js +3 -2
  157. package/lib/cjs/components/textarea/TextArea.d.ts +3 -3
  158. package/lib/cjs/components/textarea/TextArea.form.d.ts +4 -5
  159. package/lib/cjs/components/textarea/TextArea.form.js +3 -2
  160. package/lib/cjs/components/textarea/TextArea.js +2 -2
  161. package/lib/cjs/components/textfield/TextField.d.ts +12 -19
  162. package/lib/cjs/components/textfield/TextField.form.d.ts +4 -5
  163. package/lib/cjs/components/textfield/TextField.form.js +3 -2
  164. package/lib/cjs/components/textfield/TextField.js +13 -12
  165. package/lib/cjs/components/time/Time.form.d.ts +4 -5
  166. package/lib/cjs/components/time/Time.form.js +3 -2
  167. package/lib/cjs/components/unknown/Unknown.form.d.ts +3 -35
  168. package/lib/cjs/components/unknown/Unknown.form.js +2 -1
  169. package/lib/cjs/components/url/Url.form.d.ts +4 -5
  170. package/lib/cjs/components/url/Url.form.js +3 -2
  171. package/lib/cjs/components/well/Well.form.d.ts +4 -5
  172. package/lib/cjs/components/well/Well.form.js +3 -2
  173. package/lib/cjs/formio.embed.d.ts +1 -2
  174. package/lib/cjs/formio.embed.js +2 -100
  175. package/lib/cjs/formio.form.js +2 -2
  176. package/lib/cjs/utils/Evaluator.d.ts +0 -1
  177. package/lib/cjs/utils/Evaluator.js +2 -5
  178. package/lib/cjs/utils/formUtils.d.ts +1 -1
  179. package/lib/cjs/utils/utils.d.ts +106 -83
  180. package/lib/cjs/utils/utils.js +96 -140
  181. package/lib/cjs/widgets/CalendarWidget.d.ts +8 -7
  182. package/lib/cjs/widgets/CalendarWidget.js +8 -7
  183. package/lib/mjs/Element.d.ts +3 -2
  184. package/lib/mjs/Element.js +4 -3
  185. package/lib/mjs/Form.d.ts +99 -36
  186. package/lib/mjs/Form.js +43 -38
  187. package/lib/mjs/InlineEmbed.d.ts +7 -0
  188. package/lib/mjs/InlineEmbed.js +105 -0
  189. package/lib/mjs/PDF.d.ts +8 -7
  190. package/lib/mjs/PDF.js +6 -5
  191. package/lib/mjs/Webform.d.ts +0 -3
  192. package/lib/mjs/Webform.js +18 -15
  193. package/lib/mjs/WebformBuilder.d.ts +15 -14
  194. package/lib/mjs/WebformBuilder.js +11 -10
  195. package/lib/mjs/Wizard.d.ts +0 -11
  196. package/lib/mjs/Wizard.js +14 -12
  197. package/lib/mjs/WizardBuilder.d.ts +1 -1
  198. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +2 -2
  199. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +2 -2
  200. package/lib/mjs/addons/index.d.ts +2 -2
  201. package/lib/mjs/components/Components.d.ts +6 -5
  202. package/lib/mjs/components/Components.js +2 -1
  203. package/lib/mjs/components/_classes/component/Component.form.d.ts +4 -5
  204. package/lib/mjs/components/_classes/component/Component.form.js +3 -2
  205. package/lib/mjs/components/_classes/component/Component.js +3 -2
  206. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +2 -2
  207. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +1 -1
  208. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +1 -1
  209. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +1 -1
  210. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
  211. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +1 -1
  212. package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
  213. package/lib/mjs/components/_classes/list/ListComponent.d.ts +2 -2
  214. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +4 -4
  215. package/lib/mjs/components/_classes/list/ListComponent.form.js +3 -3
  216. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +4 -5
  217. package/lib/mjs/components/_classes/nested/NestedComponent.form.js +3 -2
  218. package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -2
  219. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -1
  220. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +1 -1
  221. package/lib/mjs/components/address/Address.form.d.ts +4 -5
  222. package/lib/mjs/components/address/Address.form.js +3 -2
  223. package/lib/mjs/components/button/Button.form.d.ts +4 -5
  224. package/lib/mjs/components/button/Button.form.js +3 -2
  225. package/lib/mjs/components/button/Button.js +3 -2
  226. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +4 -5
  227. package/lib/mjs/components/checkbox/Checkbox.form.js +3 -2
  228. package/lib/mjs/components/checkbox/Checkbox.js +2 -9
  229. package/lib/mjs/components/checkbox/fixtures/comp5.d.ts +34 -0
  230. package/lib/mjs/components/checkbox/fixtures/comp5.js +53 -0
  231. package/lib/mjs/components/checkbox/fixtures/index.d.ts +2 -1
  232. package/lib/mjs/components/checkbox/fixtures/index.js +2 -1
  233. package/lib/mjs/components/columns/Columns.d.ts +1 -1
  234. package/lib/mjs/components/columns/Columns.form.d.ts +4 -5
  235. package/lib/mjs/components/columns/Columns.form.js +3 -2
  236. package/lib/mjs/components/columns/Columns.js +1 -1
  237. package/lib/mjs/components/container/Container.form.d.ts +4 -5
  238. package/lib/mjs/components/container/Container.form.js +3 -2
  239. package/lib/mjs/components/content/Content.form.d.ts +4 -5
  240. package/lib/mjs/components/content/Content.form.js +3 -2
  241. package/lib/mjs/components/currency/Currency.form.d.ts +4 -5
  242. package/lib/mjs/components/currency/Currency.form.js +3 -2
  243. package/lib/mjs/components/currency/Currency.js +1 -1
  244. package/lib/mjs/components/datagrid/DataGrid.d.ts +4 -4
  245. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +4 -5
  246. package/lib/mjs/components/datagrid/DataGrid.form.js +3 -2
  247. package/lib/mjs/components/datagrid/DataGrid.js +4 -4
  248. package/lib/mjs/components/datamap/DataMap.form.d.ts +4 -5
  249. package/lib/mjs/components/datamap/DataMap.form.js +3 -2
  250. package/lib/mjs/components/datetime/DateTime.form.d.ts +4 -5
  251. package/lib/mjs/components/datetime/DateTime.form.js +3 -2
  252. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +1 -1
  253. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +1 -1
  254. package/lib/mjs/components/day/Day.d.ts +18 -23
  255. package/lib/mjs/components/day/Day.form.d.ts +4 -5
  256. package/lib/mjs/components/day/Day.form.js +3 -2
  257. package/lib/mjs/components/day/Day.js +15 -14
  258. package/lib/mjs/components/editgrid/EditGrid.d.ts +4 -3
  259. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +4 -5
  260. package/lib/mjs/components/editgrid/EditGrid.form.js +3 -2
  261. package/lib/mjs/components/editgrid/EditGrid.js +3 -3
  262. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +1 -1
  263. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +1 -1
  264. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +1 -1
  265. package/lib/mjs/components/email/Email.form.d.ts +4 -5
  266. package/lib/mjs/components/email/Email.form.js +3 -2
  267. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +4 -5
  268. package/lib/mjs/components/fieldset/Fieldset.form.js +3 -2
  269. package/lib/mjs/components/file/File.form.d.ts +4 -5
  270. package/lib/mjs/components/file/File.form.js +3 -2
  271. package/lib/mjs/components/form/Form.d.ts +23 -20
  272. package/lib/mjs/components/form/Form.form.d.ts +4 -5
  273. package/lib/mjs/components/form/Form.form.js +3 -2
  274. package/lib/mjs/components/form/Form.js +18 -11
  275. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +1 -1
  276. package/lib/mjs/components/form/fixtures/comp7.d.ts +36 -0
  277. package/lib/mjs/components/form/fixtures/comp7.js +35 -0
  278. package/lib/mjs/components/form/fixtures/comp8.d.ts +26 -0
  279. package/lib/mjs/components/form/fixtures/comp8.js +27 -0
  280. package/lib/mjs/components/form/fixtures/index.d.ts +3 -1
  281. package/lib/mjs/components/form/fixtures/index.js +3 -1
  282. package/lib/mjs/components/hidden/Hidden.form.d.ts +4 -5
  283. package/lib/mjs/components/hidden/Hidden.form.js +3 -2
  284. package/lib/mjs/components/hidden/Hidden.js +1 -1
  285. package/lib/mjs/components/html/HTML.form.d.ts +4 -5
  286. package/lib/mjs/components/html/HTML.form.js +3 -2
  287. package/lib/mjs/components/number/Number.d.ts +1 -1
  288. package/lib/mjs/components/number/Number.form.d.ts +4 -5
  289. package/lib/mjs/components/number/Number.form.js +3 -2
  290. package/lib/mjs/components/number/Number.js +1 -1
  291. package/lib/mjs/components/panel/Panel.form.d.ts +4 -5
  292. package/lib/mjs/components/panel/Panel.form.js +3 -2
  293. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +1 -1
  294. package/lib/mjs/components/password/Password.form.d.ts +4 -5
  295. package/lib/mjs/components/password/Password.form.js +3 -2
  296. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +4 -5
  297. package/lib/mjs/components/phonenumber/PhoneNumber.form.js +3 -2
  298. package/lib/mjs/components/radio/Radio.form.d.ts +4 -3
  299. package/lib/mjs/components/radio/Radio.form.js +3 -2
  300. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -4
  301. package/lib/mjs/components/recaptcha/ReCaptcha.form.js +2 -1
  302. package/lib/mjs/components/select/Select.d.ts +2 -2
  303. package/lib/mjs/components/select/Select.form.d.ts +4 -3
  304. package/lib/mjs/components/select/Select.form.js +3 -2
  305. package/lib/mjs/components/select/Select.js +1 -1
  306. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +2 -8
  307. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +4 -3
  308. package/lib/mjs/components/selectboxes/SelectBoxes.form.js +3 -2
  309. package/lib/mjs/components/selectboxes/SelectBoxes.js +7 -6
  310. package/lib/mjs/components/signature/Signature.form.d.ts +4 -5
  311. package/lib/mjs/components/signature/Signature.form.js +3 -2
  312. package/lib/mjs/components/survey/Survey.form.d.ts +4 -5
  313. package/lib/mjs/components/survey/Survey.form.js +3 -2
  314. package/lib/mjs/components/table/Table.form.d.ts +4 -5
  315. package/lib/mjs/components/table/Table.form.js +3 -2
  316. package/lib/mjs/components/tabs/Tabs.d.ts +2 -2
  317. package/lib/mjs/components/tabs/Tabs.form.d.ts +4 -5
  318. package/lib/mjs/components/tabs/Tabs.form.js +3 -2
  319. package/lib/mjs/components/tabs/Tabs.js +1 -1
  320. package/lib/mjs/components/tags/Tags.form.d.ts +4 -5
  321. package/lib/mjs/components/tags/Tags.form.js +3 -2
  322. package/lib/mjs/components/textarea/TextArea.d.ts +3 -3
  323. package/lib/mjs/components/textarea/TextArea.form.d.ts +4 -5
  324. package/lib/mjs/components/textarea/TextArea.form.js +3 -2
  325. package/lib/mjs/components/textarea/TextArea.js +2 -2
  326. package/lib/mjs/components/textfield/TextField.d.ts +12 -19
  327. package/lib/mjs/components/textfield/TextField.form.d.ts +4 -5
  328. package/lib/mjs/components/textfield/TextField.form.js +3 -2
  329. package/lib/mjs/components/textfield/TextField.js +13 -12
  330. package/lib/mjs/components/time/Time.form.d.ts +4 -5
  331. package/lib/mjs/components/time/Time.form.js +3 -2
  332. package/lib/mjs/components/unknown/Unknown.form.d.ts +3 -35
  333. package/lib/mjs/components/unknown/Unknown.form.js +2 -1
  334. package/lib/mjs/components/url/Url.form.d.ts +4 -5
  335. package/lib/mjs/components/url/Url.form.js +3 -2
  336. package/lib/mjs/components/well/Well.form.d.ts +4 -5
  337. package/lib/mjs/components/well/Well.form.js +3 -2
  338. package/lib/mjs/formio.embed.d.ts +1 -2
  339. package/lib/mjs/formio.embed.js +2 -99
  340. package/lib/mjs/formio.form.js +1 -1
  341. package/lib/mjs/utils/Evaluator.d.ts +0 -1
  342. package/lib/mjs/utils/Evaluator.js +1 -4
  343. package/lib/mjs/utils/formUtils.d.ts +1 -1
  344. package/lib/mjs/utils/utils.d.ts +106 -83
  345. package/lib/mjs/utils/utils.js +96 -140
  346. package/lib/mjs/widgets/CalendarWidget.d.ts +8 -7
  347. package/lib/mjs/widgets/CalendarWidget.js +8 -7
  348. package/package.json +12 -11
  349. package/sdk.d.ts +1 -0
  350. package/utils.d.ts +1 -0
@@ -56,9 +56,10 @@ export default class WebformBuilder extends Component {
56
56
  /**
57
57
  * When a component sets its api key, we need to check if it is unique within its namespace. Find the namespace root
58
58
  * so we can calculate this correctly.
59
- * @param component
59
+ * @param {import('@formio/core').Component} component - The component to find the namespace root for.
60
+ * @returns {import('@formio/core').Component[]} - The components root for this namespace.
60
61
  */
61
- findNamespaceRoot(component: any): any;
62
+ findNamespaceRoot(component: import('@formio/core').Component): import('@formio/core').Component[];
62
63
  recurseNamespace(component: any): any;
63
64
  render(): any;
64
65
  attach(element: any): Promise<any>;
@@ -80,13 +81,13 @@ export default class WebformBuilder extends Component {
80
81
  highlightInvalidComponents(): void;
81
82
  /**
82
83
  * Called when a new component is saved.
83
- * @param parent
84
- * @param component
85
- * @param isNew
86
- * @param original
87
- * @returns {boolean}
84
+ * @param {Component} component - The component instance to save.
85
+ * @param {Component} parent - The parent component.
86
+ * @param {boolean} isNew - If this is a new component.
87
+ * @param {Component} original - The original component.
88
+ * @returns {boolean} - If the component was saved.
88
89
  */
89
- saveComponent(component: any, parent: any, isNew: any, original: any): boolean;
90
+ saveComponent(component: Component, parent: Component, isNew: boolean, original: Component): boolean;
90
91
  isComponentCreated: boolean | undefined;
91
92
  emitSaveComponentEvent(schema: any, originalComp: any, parentComponentSchema: any, path: any, index: any, isNew: any, originalComponentSchema: any): void;
92
93
  attachEditComponentControls(component: any, parent: any, isNew: any, original: any, ComponentClass: any): void;
@@ -106,16 +107,16 @@ export default class WebformBuilder extends Component {
106
107
  addNewComponent(element: any): void;
107
108
  /**
108
109
  * Creates copy of component schema and stores it under sessionStorage.
109
- * @param {Component} component
110
- * @returns {*}
110
+ * @param {Component} component - The component to copy.
111
+ * @returns {void}
111
112
  */
112
- copyComponent(component: Component): any;
113
+ copyComponent(component: Component): void;
113
114
  /**
114
115
  * Paste copied component after the current component.
115
- * @param {Component} component
116
- * @returns {*}
116
+ * @param {Component} component - The component to paste after.
117
+ * @returns {void}
117
118
  */
118
- pasteComponent(component: Component): any;
119
+ pasteComponent(component: Component): void;
119
120
  isParentSaveChildMethod(parentComp: any): boolean;
120
121
  getParentElement(element: any): any;
121
122
  addBuilderComponentInfo(component: any): any;
@@ -428,7 +428,8 @@ class WebformBuilder extends Component_1.default {
428
428
  /**
429
429
  * When a component sets its api key, we need to check if it is unique within its namespace. Find the namespace root
430
430
  * so we can calculate this correctly.
431
- * @param component
431
+ * @param {import('@formio/core').Component} component - The component to find the namespace root for.
432
+ * @returns {import('@formio/core').Component[]} - The components root for this namespace.
432
433
  */
433
434
  findNamespaceRoot(component) {
434
435
  const path = (0, utils_1.getArrayFromComponentPath)(component.path);
@@ -1133,11 +1134,11 @@ class WebformBuilder extends Component_1.default {
1133
1134
  }
1134
1135
  /**
1135
1136
  * Called when a new component is saved.
1136
- * @param parent
1137
- * @param component
1138
- * @param isNew
1139
- * @param original
1140
- * @returns {boolean}
1137
+ * @param {Component} component - The component instance to save.
1138
+ * @param {Component} parent - The parent component.
1139
+ * @param {boolean} isNew - If this is a new component.
1140
+ * @param {Component} original - The original component.
1141
+ * @returns {boolean} - If the component was saved.
1141
1142
  */
1142
1143
  saveComponent(component, parent, isNew, original) {
1143
1144
  this.editForm.detach();
@@ -1504,8 +1505,8 @@ class WebformBuilder extends Component_1.default {
1504
1505
  }
1505
1506
  /**
1506
1507
  * Creates copy of component schema and stores it under sessionStorage.
1507
- * @param {Component} component
1508
- * @returns {*}
1508
+ * @param {Component} component - The component to copy.
1509
+ * @returns {void}
1509
1510
  */
1510
1511
  copyComponent(component) {
1511
1512
  if (!window.sessionStorage) {
@@ -1516,8 +1517,8 @@ class WebformBuilder extends Component_1.default {
1516
1517
  }
1517
1518
  /**
1518
1519
  * Paste copied component after the current component.
1519
- * @param {Component} component
1520
- * @returns {*}
1520
+ * @param {Component} component - The component to paste after.
1521
+ * @returns {void}
1521
1522
  */
1522
1523
  pasteComponent(component) {
1523
1524
  if (!window.sessionStorage) {
@@ -1,13 +1,4 @@
1
1
  declare class Wizard extends Webform {
2
- /**
3
- * Constructor for wizard-based forms.
4
- * @param {HTMLElement} [element] - The DOM element to place this wizard.
5
- * @param {object} [options] - Options object, supported options include:
6
- * - breadcrumbSettings.clickable: true (default) - determines if the breadcrumb bar is clickable.
7
- * - buttonSettings.show*(Previous, Next, Cancel): true (default) - determines if the button is shown.
8
- * - allowPrevious: false (default) - determines if the breadcrumb bar is clickable for visited tabs.
9
- */
10
- constructor(...args: any[]);
11
2
  pages: any[];
12
3
  prefixComps: any[];
13
4
  suffixComps: any[];
@@ -28,8 +19,6 @@ declare class Wizard extends Webform {
28
19
  getPages(args?: {}): any[];
29
20
  get hasExtraPages(): boolean;
30
21
  get localData(): any;
31
- isClickableDefined: boolean | undefined;
32
- isSecondInit: boolean | undefined;
33
22
  get wizardKey(): string;
34
23
  set wizard(form: object);
35
24
  get wizard(): object;
package/lib/cjs/Wizard.js CHANGED
@@ -10,20 +10,20 @@ const utils_1 = require("./utils/utils");
10
10
  class Wizard extends Webform_1.default {
11
11
  /**
12
12
  * Constructor for wizard-based forms.
13
- * @param {HTMLElement} [element] - The DOM element to place this wizard.
14
- * @param {object} [options] - Options object, supported options include:
13
+ * @param {HTMLElement | object | import('Form').FormOptions} [elementOrOptions] - The DOM element to render this form within or the options to create this form instance.
14
+ * @param {import('Form').FormOptions} [_options] - The options to create a new form instance.
15
15
  * - breadcrumbSettings.clickable: true (default) - determines if the breadcrumb bar is clickable.
16
16
  * - buttonSettings.show*(Previous, Next, Cancel): true (default) - determines if the button is shown.
17
17
  * - allowPrevious: false (default) - determines if the breadcrumb bar is clickable for visited tabs.
18
18
  */
19
- constructor() {
19
+ constructor(elementOrOptions = undefined, _options = undefined) {
20
20
  let element, options;
21
- if (arguments[0] instanceof HTMLElement || arguments[1]) {
22
- element = arguments[0];
23
- options = arguments[1] || {};
21
+ if (elementOrOptions instanceof HTMLElement || options) {
22
+ element = elementOrOptions;
23
+ options = _options || {};
24
24
  }
25
25
  else {
26
- options = arguments[0] || {};
26
+ options = elementOrOptions || {};
27
27
  }
28
28
  options.display = 'wizard';
29
29
  super(element, options);
@@ -89,7 +89,7 @@ class Wizard extends Webform_1.default {
89
89
  this.setPristine(true);
90
90
  }
91
91
  init() {
92
- var _a, _b;
92
+ var _a;
93
93
  // Check for and initlize button settings object
94
94
  this.options.buttonSettings = lodash_1.default.defaults(this.options.buttonSettings, {
95
95
  showPrevious: true,
@@ -97,10 +97,6 @@ class Wizard extends Webform_1.default {
97
97
  showSubmit: true,
98
98
  showCancel: !this.options.readOnly
99
99
  });
100
- if (!this.isSecondInit) {
101
- this.isClickableDefined = Object.prototype.hasOwnProperty.call((_a = this.options) === null || _a === void 0 ? void 0 : _a.breadcrumbSettings, 'clickable');
102
- this.isSecondInit = true;
103
- }
104
100
  this.options.breadcrumbSettings = lodash_1.default.defaults(this.options.breadcrumbSettings, {
105
101
  clickable: true
106
102
  });
@@ -108,7 +104,7 @@ class Wizard extends Webform_1.default {
108
104
  this.page = 0;
109
105
  const onReady = super.init();
110
106
  this.setComponentSchema();
111
- if ((_b = this.pages) === null || _b === void 0 ? void 0 : _b[this.page]) {
107
+ if ((_a = this.pages) === null || _a === void 0 ? void 0 : _a[this.page]) {
112
108
  this.component = this.pages[this.page].component;
113
109
  }
114
110
  this.on('subWizardsUpdated', (subForm) => {
@@ -302,7 +298,13 @@ class Wizard extends Webform_1.default {
302
298
  currentPage = page;
303
299
  }
304
300
  });
305
- return this.isClickableDefined ? this.options.breadcrumbSettings.clickable : lodash_1.default.get(currentPage, 'component.breadcrumbClickable', true);
301
+ if (lodash_1.default.has(currentPage, 'component.breadcrumbClickable')) {
302
+ return lodash_1.default.get(currentPage, 'component.breadcrumbClickable');
303
+ }
304
+ if (lodash_1.default.has(this.options, 'breadcrumbSettings.clickable')) {
305
+ return this.options.breadcrumbSettings.clickable;
306
+ }
307
+ return true;
306
308
  }
307
309
  isAllowPrevious() {
308
310
  let currentPage = null;
@@ -45,6 +45,6 @@ export default class WizardBuilder extends WebformBuilder {
45
45
  key: string;
46
46
  components: any[];
47
47
  };
48
- pasteComponent(component: any): any;
48
+ pasteComponent(component: any): void;
49
49
  }
50
50
  import WebformBuilder from './WebformBuilder';
@@ -23,7 +23,7 @@ export default class PasswordStrengthAddon extends FormioAddon {
23
23
  'margin-bottom': string;
24
24
  };
25
25
  key: string;
26
- customConditional(): any;
26
+ customConditional(): boolean;
27
27
  components: ({
28
28
  type: string;
29
29
  key: any;
@@ -321,7 +321,7 @@ export default class PasswordStrengthAddon extends FormioAddon {
321
321
  'margin-bottom': string;
322
322
  };
323
323
  key: string;
324
- customConditional(): any;
324
+ customConditional(): boolean;
325
325
  components: ({
326
326
  type: string;
327
327
  key: any;
@@ -19,7 +19,7 @@ declare const _default: ({
19
19
  'margin-bottom': string;
20
20
  };
21
21
  key: string;
22
- customConditional(): any;
22
+ customConditional(): boolean;
23
23
  components: ({
24
24
  type: string;
25
25
  key: any;
@@ -317,7 +317,7 @@ declare const _default: ({
317
317
  'margin-bottom': string;
318
318
  };
319
319
  key: string;
320
- customConditional(): any;
320
+ customConditional(): boolean;
321
321
  components: ({
322
322
  type: string;
323
323
  key: any;
@@ -24,7 +24,7 @@ export const editForms: {
24
24
  'margin-bottom': string;
25
25
  };
26
26
  key: string;
27
- customConditional(): any;
27
+ customConditional(): boolean;
28
28
  components: ({
29
29
  type: string;
30
30
  key: any;
@@ -322,7 +322,7 @@ export const editForms: {
322
322
  'margin-bottom': string;
323
323
  };
324
324
  key: string;
325
- customConditional(): any;
325
+ customConditional(): boolean;
326
326
  components: ({
327
327
  type: string;
328
328
  key: any;
@@ -28,7 +28,7 @@ export default class Components {
28
28
  'margin-bottom': string;
29
29
  };
30
30
  key: string;
31
- customConditional(): any;
31
+ customConditional(): boolean;
32
32
  components: ({
33
33
  type: string;
34
34
  key: any;
@@ -112,7 +112,7 @@ export default class Components {
112
112
  'margin-bottom': string;
113
113
  };
114
114
  key: string;
115
- customConditional(): any;
115
+ customConditional(): boolean;
116
116
  components: ({
117
117
  type: string;
118
118
  key: any;
@@ -195,7 +195,7 @@ export default class Components {
195
195
  'margin-bottom': string;
196
196
  };
197
197
  key: string;
198
- customConditional(): any;
198
+ customConditional(): boolean;
199
199
  components: ({
200
200
  type: string;
201
201
  key: any;
@@ -258,10 +258,11 @@ export default class Components {
258
258
  static setComponent(name: any, comp: any): void;
259
259
  /**
260
260
  * Return a path of component's value.
261
- * @param {object} component - The component instance.
261
+ * @param {Component} component - The component instance.
262
262
  * @returns {string} - The component's value path.
263
263
  */
264
- static getComponentPath(component: object): string;
264
+ static getComponentPath(component: Component): string;
265
265
  static create(component: any, options: any, data: any): any;
266
266
  }
267
267
  import BaseEditForm from './_classes/component/Component.form';
268
+ import Component from './_classes/component/Component';
@@ -50,7 +50,7 @@ class Components {
50
50
  }
51
51
  /**
52
52
  * Return a path of component's value.
53
- * @param {object} component - The component instance.
53
+ * @param {Component} component - The component instance.
54
54
  * @returns {string} - The component's value path.
55
55
  */
56
56
  static getComponentPath(component) {
@@ -71,6 +71,7 @@ class Components {
71
71
  path += component.component.key;
72
72
  return lodash_1.default.trim(path, '.');
73
73
  }
74
+ return path;
74
75
  }
75
76
  static create(component, options, data) {
76
77
  let comp = null;
@@ -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[];
@@ -13,8 +13,9 @@ const Component_edit_validation_1 = __importDefault(require("./editForm/Componen
13
13
  const Component_edit_layout_1 = __importDefault(require("./editForm/Component.edit.layout"));
14
14
  const utils_1 = __importDefault(require("./editForm/utils"));
15
15
  /**
16
- *
17
- * @param {...any} extend
16
+ * The Edit Form function.
17
+ * @param {...any} extend - The components that extend the edit form.
18
+ * @returns {import('@formio/core').Component[]} - The edit form components.
18
19
  */
19
20
  function default_1(...extend) {
20
21
  const components = lodash_1.default.cloneDeep([
@@ -1022,6 +1022,9 @@ class Component extends Element_1.default {
1022
1022
  * @param {string} [referenceAttributeName] - The attribute name to use for the reference.
1023
1023
  */
1024
1024
  loadRefs(element, refs, referenceAttributeName) {
1025
+ if (!element) {
1026
+ return;
1027
+ }
1025
1028
  for (const ref in refs) {
1026
1029
  const refType = refs[ref];
1027
1030
  const isString = typeof refType === 'string';
@@ -3030,11 +3033,9 @@ class Component extends Element_1.default {
3030
3033
  checkValidity(data = null, dirty = false, row = null, silentCheck = false, errors = []) {
3031
3034
  data = data || this.rootValue;
3032
3035
  row = row || this.data;
3033
- console.log('Deprecation warning: Component.checkValidity() will be deprecated in 6.x version of renderer. Use Component.validateComponent instead.');
3034
3036
  return this.checkComponentValidity(data, dirty, row, { silentCheck }, errors);
3035
3037
  }
3036
3038
  checkAsyncValidity(data = null, dirty = false, row = null, silentCheck = false, errors = []) {
3037
- console.log('Deprecation warning: Component.checkAsyncValidity() will be deprecated in 6.x version of renderer. Use Component.validateComponent instead.');
3038
3039
  return this.checkComponentValidity(data, dirty, row, { async: true, silentCheck }, errors);
3039
3040
  }
3040
3041
  /**
@@ -36,7 +36,7 @@ declare const _default: {
36
36
  'margin-bottom': string;
37
37
  };
38
38
  key: string;
39
- customConditional(): any;
39
+ customConditional(): boolean;
40
40
  components: ({
41
41
  type: string;
42
42
  key: any;
@@ -334,7 +334,7 @@ declare const _default: {
334
334
  'margin-bottom': string;
335
335
  };
336
336
  key: string;
337
- customConditional(): any;
337
+ customConditional(): boolean;
338
338
  components: ({
339
339
  type: string;
340
340
  key: any;
@@ -19,7 +19,7 @@ declare const _default: ({
19
19
  'margin-bottom': string;
20
20
  };
21
21
  key: string;
22
- customConditional(): any;
22
+ customConditional(): boolean;
23
23
  components: ({
24
24
  type: string;
25
25
  key: any;
@@ -19,7 +19,7 @@ declare const _default: ({
19
19
  'margin-bottom': string;
20
20
  };
21
21
  key: string;
22
- customConditional(): any;
22
+ customConditional(): boolean;
23
23
  components: ({
24
24
  type: string;
25
25
  key: any;
@@ -64,7 +64,7 @@ declare const _default: ({
64
64
  };
65
65
  key: string;
66
66
  weight: number;
67
- customConditional(): any;
67
+ customConditional(): boolean;
68
68
  components: ({
69
69
  type: string;
70
70
  tag: string;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const utils_1 = __importDefault(require("./utils"));
7
- const Evaluator_1 = __importDefault(require("../../../../utils/Evaluator"));
7
+ const Evaluator_1 = require("../../../../utils/Evaluator");
8
8
  /* eslint-disable quotes, max-len */
9
9
  exports.default = [
10
10
  {
@@ -74,7 +74,7 @@ exports.default = [
74
74
  key: 'custom-validation-js',
75
75
  weight: 300,
76
76
  customConditional() {
77
- return !Evaluator_1.default.noeval || Evaluator_1.default.protectedEval;
77
+ return !Evaluator_1.Evaluator.noeval || Evaluator_1.Evaluator.protectedEval;
78
78
  },
79
79
  components: [
80
80
  utils_1.default.logicVariablesTable('<tr><th>input</th><td>The value that was input into this component</td></tr>'),
@@ -28,7 +28,7 @@ declare namespace EditFormUtils {
28
28
  'margin-bottom': string;
29
29
  };
30
30
  key: string;
31
- customConditional(): any;
31
+ customConditional(): boolean;
32
32
  components: ({
33
33
  type: string;
34
34
  key: any;
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const lodash_1 = __importDefault(require("lodash"));
7
- const Evaluator_1 = __importDefault(require("../../../../utils/Evaluator"));
7
+ const Evaluator_1 = require("../../../../utils/Evaluator");
8
8
  const EditFormUtils = {
9
9
  sortAndFilterComponents(components) {
10
10
  return lodash_1.default.filter(lodash_1.default.sortBy(components, 'weight'), (item) => !item.ignore);
@@ -72,7 +72,7 @@ const EditFormUtils = {
72
72
  style: { 'margin-bottom': '10px' },
73
73
  key: `${property}-js`,
74
74
  customConditional() {
75
- return !Evaluator_1.default.noeval || Evaluator_1.default.protectedEval;
75
+ return !Evaluator_1.Evaluator.noeval || Evaluator_1.Evaluator.protectedEval;
76
76
  },
77
77
  components: [
78
78
  {
@@ -1,9 +1,9 @@
1
1
  export default class ListComponent extends Field {
2
2
  get isSelectURL(): boolean;
3
3
  get selectData(): any;
4
- get shouldLoad(): any;
4
+ get shouldLoad(): boolean;
5
5
  getTemplateKeys(): void;
6
- templateKeys: any[] | undefined;
6
+ templateKeys: string[] | undefined;
7
7
  get requestHeaders(): any;
8
8
  setItems(): void;
9
9
  updateCustomItems(): void;
@@ -1,6 +1,6 @@
1
1
  /**
2
- * List Component edit form.
3
- * @param {...any} extend - The extended schema.
4
- * @returns {object} - The List Component edit form.
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.
5
5
  */
6
- export default function _default(...extend: any[]): object;
6
+ export default function _default(...extend: any[]): import('@formio/core').Component[];
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Components_1 = __importDefault(require("../../Components"));
7
7
  const ListComponent_edit_data_1 = __importDefault(require("./editForm/ListComponent.edit.data"));
8
8
  /**
9
- * List Component edit form.
10
- * @param {...any} extend - The extended schema.
11
- * @returns {object} - The List Component edit form.
9
+ * The Edit Form function.
10
+ * @param {...any} extend - The components that extend the edit form.
11
+ * @returns {import('@formio/core').Component[]} - The edit form components.
12
12
  */
13
13
  function default_1(...extend) {
14
14
  return Components_1.default.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[];
@@ -5,8 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Components_1 = __importDefault(require("../../Components"));
7
7
  /**
8
- *
9
- * @param {...any} extend
8
+ * The Edit Form function.
9
+ * @param {...any} extend - The components that extend the edit form.
10
+ * @returns {import('@formio/core').Component[]} - The edit form components.
10
11
  */
11
12
  function default_1(...extend) {
12
13
  return Components_1.default.baseEditForm([
@@ -755,12 +755,10 @@ class NestedComponent extends Field_1.default {
755
755
  * @returns {boolean} - TRUE if the component is valid.
756
756
  */
757
757
  checkValidity(data = null, dirty = false, row = null, silentCheck = false, childErrors = []) {
758
- console.log('Deprecation warning: Component.checkValidity() will be deprecated in 6.x version of renderer. Use "validate" method instead.');
759
758
  childErrors.push(...this.validate(data, { dirty, silentCheck }));
760
759
  return this.checkComponentValidity(data, dirty, row, { dirty, silentCheck }, childErrors) && childErrors.length === 0;
761
760
  }
762
761
  checkAsyncValidity(data = null, dirty = false, row = null, silentCheck = false) {
763
- console.log('Deprecation warning: Component.checkAsyncValidity() will be deprecated in 6.x version of renderer.');
764
762
  return this.ready.then(() => {
765
763
  return this.validate(data, { dirty, silentCheck, async: true }).then((childErrors) => {
766
764
  return this.checkComponentValidity(data, dirty, row, { dirty, silentCheck, async: true }, childErrors).then((valid) => {
@@ -9,7 +9,7 @@ export default class NestedDataComponent extends NestedComponent {
9
9
  everyComponent(fn: any, options?: {}): void;
10
10
  /**
11
11
  * Get the value of this component.
12
- * @returns {*}
12
+ * @returns {any} - Return the value of this component.
13
13
  */
14
14
  getValue(): any;
15
15
  updateValue(value: any, flags?: {}): boolean;
@@ -98,7 +98,7 @@ class NestedDataComponent extends NestedComponent_1.default {
98
98
  }
99
99
  /**
100
100
  * Get the value of this component.
101
- * @returns {*}
101
+ * @returns {any} - Return the value of this component.
102
102
  */
103
103
  getValue() {
104
104
  return this.dataValue;
@@ -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[];
@@ -8,8 +8,9 @@ const Address_edit_data_1 = __importDefault(require("./editForm/Address.edit.dat
8
8
  const Address_edit_display_1 = __importDefault(require("./editForm/Address.edit.display"));
9
9
  const Address_edit_provider_1 = __importDefault(require("./editForm/Address.edit.provider"));
10
10
  /**
11
- *
12
- * @param {...any} extend
11
+ * The Edit Form function.
12
+ * @param {...any} extend - The components that extend the edit form.
13
+ * @returns {import('@formio/core').Component[]} - The edit form components.
13
14
  */
14
15
  function default_1(...extend) {
15
16
  return Components_1.default.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[];
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Components_1 = __importDefault(require("../Components"));
7
7
  const Button_edit_display_1 = __importDefault(require("./editForm/Button.edit.display"));
8
8
  /**
9
- *
10
- * @param {...any} extend
9
+ * The Edit Form function.
10
+ * @param {...any} extend - The components that extend the edit form.
11
+ * @returns {import('@formio/core').Component[]} - The edit form components.
11
12
  */
12
13
  function default_1(...extend) {
13
14
  return Components_1.default.baseEditForm([
@@ -230,8 +230,9 @@ class ButtonComponent extends Field_1.default {
230
230
  this.disabled = this.shouldDisabled;
231
231
  this.setDisabled(this.refs.button, this.disabled);
232
232
  /**
233
- *
234
- * @param name
233
+ * Get url parameter by name
234
+ * @param {string} name - The url parameter
235
+ * @returns {string} - The url parameter value
235
236
  */
236
237
  function getUrlParameter(name) {
237
238
  name = name.replace(/[[]/, '\\[').replace(/[\]]/, '\\]');