@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
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ title: '7595',
5
+ name: '7595',
6
+ path: '7595',
7
+ type: 'form',
8
+ display: 'form',
9
+ components: [
10
+ {
11
+ label: 'Checkbox',
12
+ tableView: false,
13
+ validateWhenHidden: false,
14
+ key: 'checkboxBefore',
15
+ conditional: {
16
+ show: true,
17
+ conjunction: 'all',
18
+ conditions: [
19
+ {
20
+ component: 'textField',
21
+ operator: 'isNotEmpty'
22
+ }
23
+ ]
24
+ },
25
+ type: 'checkbox',
26
+ input: true
27
+ },
28
+ {
29
+ label: 'Text Field',
30
+ applyMaskOn: 'change',
31
+ tableView: true,
32
+ key: 'textField',
33
+ type: 'textfield',
34
+ input: true
35
+ },
36
+ {
37
+ label: 'Checkbox',
38
+ tableView: false,
39
+ validateWhenHidden: false,
40
+ key: 'checkboxAfter',
41
+ conditional: {
42
+ show: true,
43
+ conjunction: 'all',
44
+ conditions: [
45
+ {
46
+ component: 'textField',
47
+ operator: 'isNotEmpty'
48
+ }
49
+ ]
50
+ },
51
+ type: 'checkbox',
52
+ input: true
53
+ },
54
+ ]
55
+ };
@@ -2,5 +2,6 @@ import comp1 from './comp1';
2
2
  import comp2 from './comp2';
3
3
  import comp3 from './comp3';
4
4
  import comp4 from './comp4';
5
+ import comp5 from './comp5';
5
6
  import customDefaultComponent from './customDefaultComponent';
6
- export { comp1, comp2, comp3, comp4, customDefaultComponent };
7
+ export { comp1, comp2, comp3, comp4, comp5, customDefaultComponent };
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.customDefaultComponent = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
6
+ exports.customDefaultComponent = exports.comp5 = exports.comp4 = exports.comp3 = exports.comp2 = exports.comp1 = void 0;
7
7
  const comp1_1 = __importDefault(require("./comp1"));
8
8
  exports.comp1 = comp1_1.default;
9
9
  const customDefaultComponent_1 = __importDefault(require("./customDefaultComponent"));
@@ -14,3 +14,5 @@ const comp3_1 = __importDefault(require("./comp3"));
14
14
  exports.comp3 = comp3_1.default;
15
15
  const comp4_1 = __importDefault(require("./comp4"));
16
16
  exports.comp4 = comp4_1.default;
17
+ const comp5_1 = __importDefault(require("./comp5"));
18
+ exports.comp5 = comp5_1.default;
@@ -20,7 +20,7 @@ export default class ColumnsComponent extends NestedComponent {
20
20
  get gridSize(): number;
21
21
  /**
22
22
  * Group columns in rows.
23
- * @returns {Array.<ColumnComponent[]>}
23
+ * @returns {Array.<ColumnComponent[]>} - The array of columns
24
24
  */
25
25
  groupByRow(): Array<ColumnComponent[]>;
26
26
  checkData(data: any, flags: any, row: any, components: 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[];
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
7
7
  const Columns_edit_display_1 = __importDefault(require("./editForm/Columns.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 (0, NestedComponent_form_1.default)([
@@ -120,7 +120,7 @@ class ColumnsComponent extends NestedComponent_1.default {
120
120
  }
121
121
  /**
122
122
  * Group columns in rows.
123
- * @returns {Array.<ColumnComponent[]>}
123
+ * @returns {Array.<ColumnComponent[]>} - The array of columns
124
124
  */
125
125
  groupByRow() {
126
126
  const initVal = { stack: [], rows: [] };
@@ -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[];
@@ -7,8 +7,9 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const Container_edit_display_1 = __importDefault(require("./editForm/Container.edit.display"));
8
8
  const Container_edit_data_1 = __importDefault(require("./editForm/Container.edit.data"));
9
9
  /**
10
- *
11
- * @param {...any} extend
10
+ * The Edit Form function.
11
+ * @param {...any} extend - The components that extend the edit form.
12
+ * @returns {import('@formio/core').Component[]} - The edit form components.
12
13
  */
13
14
  function default_1(...extend) {
14
15
  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[];
@@ -7,8 +7,9 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const Content_edit_display_1 = __importDefault(require("./editForm/Content.edit.display"));
8
8
  const Content_edit_logic_1 = __importDefault(require("./editForm/Content.edit.logic"));
9
9
  /**
10
- *
11
- * @param {...any} extend
10
+ * The Edit Form function.
11
+ * @param {...any} extend - The components that extend the edit form.
12
+ * @returns {import('@formio/core').Component[]} - The edit form components.
12
13
  */
13
14
  function default_1(...extend) {
14
15
  const editForm = 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[];
@@ -7,8 +7,9 @@ const TextField_form_1 = __importDefault(require("../textfield/TextField.form"))
7
7
  const Currency_edit_display_1 = __importDefault(require("./editForm/Currency.edit.display"));
8
8
  const Currency_edit_data_1 = __importDefault(require("./editForm/Currency.edit.data"));
9
9
  /**
10
- *
11
- * @param {...any} extend
10
+ * The Edit Form function.
11
+ * @param {...any} extend - The components that extend the edit form.
12
+ * @returns {import('@formio/core').Component[]} - The edit form components.
12
13
  */
13
14
  function default_1(...extend) {
14
15
  return (0, TextField_form_1.default)([
@@ -35,7 +35,7 @@ class CurrencyComponent extends Number_1.default {
35
35
  }
36
36
  /**
37
37
  * Creates the number mask for currency numbers.
38
- * @returns {*}
38
+ * @returns {*} - The result of the createNumberMask function
39
39
  */
40
40
  createNumberMask() {
41
41
  const decimalLimit = lodash_1.default.get(this.component, 'decimalLimit', 2);
@@ -32,18 +32,18 @@ export default class DataGridComponent extends NestedArrayComponent {
32
32
  * Split rows into chunks.
33
33
  * @param {number[]} groups - array of numbers where each item is size of group
34
34
  * @param {Array<T>} rows - rows collection
35
- * @returns {Array<T[]>}
35
+ * @returns {Array<T[]>} - The chunked rows
36
36
  */
37
37
  getRowChunks(groups: number[], rows: Array<T>): Array<T[]>;
38
38
  /**
39
39
  * Create groups object.
40
40
  * Each key in object represents index of first row in group.
41
- * @returns {object}
41
+ * @returns {object} - The groups object.
42
42
  */
43
43
  getGroups(): object;
44
44
  /**
45
- * Retrun group sizes.
46
- * @returns {number[]}
45
+ * Get group sizes.
46
+ * @returns {number[]} - The array of group sizes.
47
47
  */
48
48
  getGroupSizes(): number[];
49
49
  hasRowGroups(): 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[];
@@ -8,8 +8,9 @@ const DataGrid_edit_data_1 = __importDefault(require("./editForm/DataGrid.edit.d
8
8
  const DataGrid_edit_display_1 = __importDefault(require("./editForm/DataGrid.edit.display"));
9
9
  const DataGrid_edit_validation_1 = __importDefault(require("./editForm/DataGrid.edit.validation"));
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([
@@ -141,7 +141,7 @@ class DataGridComponent extends NestedArrayComponent_1.default {
141
141
  * Split rows into chunks.
142
142
  * @param {number[]} groups - array of numbers where each item is size of group
143
143
  * @param {Array<T>} rows - rows collection
144
- * @returns {Array<T[]>}
144
+ * @returns {Array<T[]>} - The chunked rows
145
145
  */
146
146
  getRowChunks(groups, rows) {
147
147
  const [, chunks] = groups.reduce(([startIndex, acc], size) => {
@@ -153,7 +153,7 @@ class DataGridComponent extends NestedArrayComponent_1.default {
153
153
  /**
154
154
  * Create groups object.
155
155
  * Each key in object represents index of first row in group.
156
- * @returns {object}
156
+ * @returns {object} - The groups object.
157
157
  */
158
158
  getGroups() {
159
159
  const groups = lodash_1.default.get(this.component, 'rowGroups', []);
@@ -167,8 +167,8 @@ class DataGridComponent extends NestedArrayComponent_1.default {
167
167
  }, {});
168
168
  }
169
169
  /**
170
- * Retrun group sizes.
171
- * @returns {number[]}
170
+ * Get group sizes.
171
+ * @returns {number[]} - The array of group sizes.
172
172
  */
173
173
  getGroupSizes() {
174
174
  return lodash_1.default.map(lodash_1.default.get(this.component, 'rowGroups', []), 'numberOfRows');
@@ -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[];
@@ -7,8 +7,9 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const DataMap_edit_data_1 = __importDefault(require("./editForm/DataMap.edit.data"));
8
8
  const DataMap_edit_display_1 = __importDefault(require("./editForm/DataMap.edit.display"));
9
9
  /**
10
- *
11
- * @param {...any} extend
10
+ * The Edit Form function.
11
+ * @param {...any} extend - The components that extend the edit form.
12
+ * @returns {import('@formio/core').Component[]} - The edit form components.
12
13
  */
13
14
  function default_1(...extend) {
14
15
  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[];
@@ -10,8 +10,9 @@ const DateTime_edit_display_1 = __importDefault(require("./editForm/DateTime.edi
10
10
  const DateTime_edit_time_1 = __importDefault(require("./editForm/DateTime.edit.time"));
11
11
  const DateTime_edit_validation_1 = __importDefault(require("./editForm/DateTime.edit.validation"));
12
12
  /**
13
- *
14
- * @param {...any} extend
13
+ * The Edit Form function.
14
+ * @param {...any} extend - The components that extend the edit form.
15
+ * @returns {import('@formio/core').Component[]} - The edit form components.
15
16
  */
16
17
  function default_1(...extend) {
17
18
  return Components_1.default.baseEditForm([
@@ -39,7 +39,7 @@ declare const _default: ({
39
39
  'margin-bottom': string;
40
40
  };
41
41
  key: string;
42
- customConditional(): any;
42
+ customConditional(): boolean;
43
43
  components: ({
44
44
  type: string;
45
45
  tag: string;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const Evaluator_1 = __importDefault(require("../../../utils/Evaluator"));
6
+ const Evaluator_1 = require("../../../utils/Evaluator");
7
7
  const utils_1 = __importDefault(require("../../_classes/component/editForm/utils"));
8
8
  exports.default = [
9
9
  {
@@ -34,7 +34,7 @@ exports.default = [
34
34
  style: { 'margin-bottom': '10px' },
35
35
  key: 'panel-disable-function',
36
36
  customConditional() {
37
- return !Evaluator_1.default.noeval || Evaluator_1.default.protectedEval;
37
+ return !Evaluator_1.Evaluator.noeval || Evaluator_1.Evaluator.protectedEval;
38
38
  },
39
39
  components: [
40
40
  utils_1.default.logicVariablesTable('<tr><th>date</th><td>The date object.</td></tr>'),
@@ -17,7 +17,7 @@ export default class DayComponent extends Field {
17
17
  constructor(component: any, options: any, data: any);
18
18
  /**
19
19
  * The empty value for day component.
20
- * @returns {'00/00/0000'}
20
+ * @returns {'00/00/0000'} - The empty value of the day component.
21
21
  */
22
22
  get emptyValue(): "00/00/0000";
23
23
  get valueMask(): RegExp;
@@ -91,11 +91,12 @@ export default class DayComponent extends Field {
91
91
  validateRequired(setting: any, value: any): boolean;
92
92
  normalizeValue(value: any): any;
93
93
  /**
94
- * Set the value at a specific index.
95
- * @param index
96
- * @param value
94
+ * Set the value at a specific index and updates the component's refs.
95
+ * @param {number} index - The index to set.
96
+ * @param {any} value - The value to set.
97
+ * @returns {null|void} - Returns null if the value is invalid, otherwise void.
97
98
  */
98
- setValueAt(index: any, value: any): null | undefined;
99
+ setValueAt(index: number, value: any): null | void;
99
100
  getFieldValue(name: any): number;
100
101
  get parts(): {
101
102
  day: number;
@@ -104,37 +105,31 @@ export default class DayComponent extends Field {
104
105
  };
105
106
  /**
106
107
  * Get the format for the value string.
107
- * @returns {string}
108
+ * @returns {string} - the format for the value string.
108
109
  */
109
110
  get format(): string;
110
111
  /**
111
112
  * Return the date for this component.
112
- * @param value
113
- * @returns {*}
113
+ * @param {any} value - The value to convert to a date.
114
+ * @returns {null|string} - The date string.
114
115
  */
115
- getDate(value: any): any;
116
+ getDate(value: any): null | string;
116
117
  /**
117
- * Return the date object for this component.
118
- * @returns {Date}
118
+ * Return the date string for this component.
119
+ * @returns {string|null} - The date string for this component.
119
120
  */
120
- get date(): Date;
121
+ get date(): string | null;
121
122
  /**
122
123
  * Return the raw value.
123
- * @returns {Date}
124
+ * @returns {string} - The raw value of the component.
124
125
  */
125
- get validationValue(): Date;
126
- /**
127
- * Get the value at a specific index.
128
- * @param index
129
- * @returns {*}
130
- */
131
- getValueAt(index: any): any;
126
+ get validationValue(): string;
132
127
  /**
133
128
  * Get the input value of the date.
134
- * @param value
135
- * @returns {null}
129
+ * @param {any} value - The value to convert to a string.
130
+ * @returns {string|null} - The string value of the date.
136
131
  */
137
- getValueAsString(value: any): null;
132
+ getValueAsString(value: any): string | null;
138
133
  focus(field: any): void;
139
134
  isPartialDay(value: any): boolean;
140
135
  getValidationFormat(): "DD-MM-YYYY" | "MM-DD-YYYY";
@@ -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[];
@@ -11,8 +11,9 @@ const Day_edit_day_1 = __importDefault(require("./editForm/Day.edit.day"));
11
11
  const Day_edit_month_1 = __importDefault(require("./editForm/Day.edit.month"));
12
12
  const Day_edit_year_1 = __importDefault(require("./editForm/Day.edit.year"));
13
13
  /**
14
- *
15
- * @param {...any} extend
14
+ * The Edit Form function.
15
+ * @param {...any} extend - The components that extend the edit form.
16
+ * @returns {import('@formio/core').Component[]} - The edit form components.
16
17
  */
17
18
  function default_1(...extend) {
18
19
  return Components_1.default.baseEditForm([
@@ -64,7 +64,7 @@ class DayComponent extends Field_1.default {
64
64
  }
65
65
  /**
66
66
  * The empty value for day component.
67
- * @returns {'00/00/0000'}
67
+ * @returns {'00/00/0000'} - The empty value of the day component.
68
68
  */
69
69
  get emptyValue() {
70
70
  return '00/00/0000';
@@ -355,9 +355,10 @@ class DayComponent extends Field_1.default {
355
355
  return dateParts.join('/');
356
356
  }
357
357
  /**
358
- * Set the value at a specific index.
359
- * @param index
360
- * @param value
358
+ * Set the value at a specific index and updates the component's refs.
359
+ * @param {number} index - The index to set.
360
+ * @param {any} value - The value to set.
361
+ * @returns {null|void} - Returns null if the value is invalid, otherwise void.
361
362
  */
362
363
  setValueAt(index, value) {
363
364
  // temporary solution to avoid input reset
@@ -411,7 +412,7 @@ class DayComponent extends Field_1.default {
411
412
  }
412
413
  /**
413
414
  * Get the format for the value string.
414
- * @returns {string}
415
+ * @returns {string} - the format for the value string.
415
416
  */
416
417
  get format() {
417
418
  let format = '';
@@ -435,8 +436,8 @@ class DayComponent extends Field_1.default {
435
436
  }
436
437
  /**
437
438
  * Return the date for this component.
438
- * @param value
439
- * @returns {*}
439
+ * @param {any} value - The value to convert to a date.
440
+ * @returns {null|string} - The date string.
440
441
  */
441
442
  getDate(value) {
442
443
  let defaults = [], day, month, year;
@@ -482,15 +483,15 @@ class DayComponent extends Field_1.default {
482
483
  return result;
483
484
  }
484
485
  /**
485
- * Return the date object for this component.
486
- * @returns {Date}
486
+ * Return the date string for this component.
487
+ * @returns {string|null} - The date string for this component.
487
488
  */
488
489
  get date() {
489
490
  return this.getDate();
490
491
  }
491
492
  /**
492
493
  * Return the raw value.
493
- * @returns {Date}
494
+ * @returns {string} - The raw value of the component.
494
495
  */
495
496
  get validationValue() {
496
497
  return this.dataValue;
@@ -501,8 +502,8 @@ class DayComponent extends Field_1.default {
501
502
  }
502
503
  /**
503
504
  * Get the value at a specific index.
504
- * @param index
505
- * @returns {*}
505
+ * @param {number} index - The index to get the value from.
506
+ * @returns {*} - The value at index.
506
507
  */
507
508
  getValueAt(index) {
508
509
  const date = this.date || this.emptyValue;
@@ -517,8 +518,8 @@ class DayComponent extends Field_1.default {
517
518
  }
518
519
  /**
519
520
  * Get the input value of the date.
520
- * @param value
521
- * @returns {null}
521
+ * @param {any} value - The value to convert to a string.
522
+ * @returns {string|null} - The string value of the date.
522
523
  */
523
524
  getValueAsString(value) {
524
525
  return this.getDate(value) || '';
@@ -19,8 +19,9 @@ export default class EditGridComponent extends NestedArrayComponent {
19
19
  get rowTemplate(): any;
20
20
  get headerTemplate(): any;
21
21
  /**
22
- * Returns true if the component has nested components which don't trigger changes on the root level
23
- */ get hasScopedChildren(): boolean;
22
+ * @returns {boolean} - Returns true if the component has nested components which don't trigger changes on the root level
23
+ */
24
+ get hasScopedChildren(): boolean;
24
25
  get emptyValue(): never[];
25
26
  get editgridKey(): string;
26
27
  get rowRef(): string;
@@ -92,7 +93,7 @@ export default class EditGridComponent extends NestedArrayComponent {
92
93
  validateRow(editRow: any, dirty: any, forceSilentCheck: any): any;
93
94
  showRowErrorAlerts(editRow: any, errors: any): void;
94
95
  /**
95
- * Return that this component processes its own validation.
96
+ * @returns {boolean} - Return that this component processes its own validation.
96
97
  */
97
98
  get processOwnValidation(): boolean;
98
99
  checkComponentValidity(data: any, dirty: any, row: any, options?: {}, errors?: any[]): boolean;
@@ -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[];
@@ -9,8 +9,9 @@ const EditGrid_edit_display_1 = __importDefault(require("./editForm/EditGrid.edi
9
9
  const EditGrid_edit_templates_1 = __importDefault(require("./editForm/EditGrid.edit.templates"));
10
10
  const EditGrid_edit_validation_1 = __importDefault(require("./editForm/EditGrid.edit.validation"));
11
11
  /**
12
- *
13
- * @param {...any} extend
12
+ * The Edit Form function.
13
+ * @param {...any} extend - The components that extend the edit form.
14
+ * @returns {import('@formio/core').Component[]} - The edit form components.
14
15
  */
15
16
  function default_1(...extend) {
16
17
  return Components_1.default.baseEditForm([
@@ -166,8 +166,8 @@ class EditGridComponent extends NestedArrayComponent_1.default {
166
166
  return headerTemplate;
167
167
  }
168
168
  /**
169
- * Returns true if the component has nested components which don't trigger changes on the root level
170
- */ //
169
+ * @returns {boolean} - Returns true if the component has nested components which don't trigger changes on the root level
170
+ */
171
171
  get hasScopedChildren() {
172
172
  return !this.inlineEditMode;
173
173
  }
@@ -1046,7 +1046,7 @@ class EditGridComponent extends NestedArrayComponent_1.default {
1046
1046
  }
1047
1047
  }
1048
1048
  /**
1049
- * Return that this component processes its own validation.
1049
+ * @returns {boolean} - Return that this component processes its own validation.
1050
1050
  */
1051
1051
  get processOwnValidation() {
1052
1052
  return true;
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- const Evaluator_1 = __importDefault(require("../../../utils/Evaluator"));
3
+ const Evaluator_1 = require("../../../utils/Evaluator");
7
4
  exports.default = [
8
5
  {
9
6
  key: 'placeholder',
@@ -38,7 +35,7 @@ exports.default = [
38
35
  weight: 1002,
39
36
  input: false,
40
37
  customConditional() {
41
- return !Evaluator_1.default.noeval;
38
+ return !Evaluator_1.Evaluator.noeval;
42
39
  },
43
40
  },
44
41
  {