@formio/js 5.0.0-dev.5641.d9ab3df → 5.0.0-dev.5643.9c5173a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/Changelog.md +0 -43
  2. package/dist/formio.embed.js +1 -1
  3. package/dist/formio.embed.min.js +1 -1
  4. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  5. package/dist/formio.form.js +1188 -607
  6. package/dist/formio.form.min.js +1 -1
  7. package/dist/formio.form.min.js.LICENSE.txt +5 -3
  8. package/dist/formio.full.js +912 -651
  9. package/dist/formio.full.min.js +1 -1
  10. package/dist/formio.full.min.js.LICENSE.txt +5 -3
  11. package/dist/formio.js +18 -18
  12. package/dist/formio.min.js +1 -1
  13. package/dist/formio.min.js.LICENSE.txt +1 -1
  14. package/dist/formio.utils.js +494 -1831
  15. package/dist/formio.utils.min.js +1 -1
  16. package/dist/formio.utils.min.js.LICENSE.txt +4 -10
  17. package/lib/cjs/CDN.d.ts +0 -1
  18. package/lib/cjs/CDN.js +3 -6
  19. package/lib/cjs/Element.d.ts +96 -86
  20. package/lib/cjs/Element.js +78 -68
  21. package/lib/cjs/Embed.d.ts +1 -1
  22. package/lib/cjs/Embed.js +12 -52
  23. package/lib/cjs/Form.d.ts +36 -365
  24. package/lib/cjs/Form.js +64 -50
  25. package/lib/cjs/FormBuilder.d.ts +2 -187
  26. package/lib/cjs/FormBuilder.js +8 -30
  27. package/lib/cjs/PDF.d.ts +13 -11
  28. package/lib/cjs/PDF.js +8 -6
  29. package/lib/cjs/Webform.d.ts +139 -180
  30. package/lib/cjs/Webform.js +296 -309
  31. package/lib/cjs/WebformBuilder.d.ts +14 -16
  32. package/lib/cjs/WebformBuilder.js +12 -19
  33. package/lib/cjs/Wizard.d.ts +21 -31
  34. package/lib/cjs/Wizard.js +20 -43
  35. package/lib/cjs/WizardBuilder.d.ts +1 -1
  36. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +5 -8
  37. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +3 -6
  38. package/lib/cjs/components/Components.d.ts +4 -4
  39. package/lib/cjs/components/Components.js +3 -3
  40. package/lib/cjs/components/_classes/component/Component.d.ts +269 -502
  41. package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -6
  42. package/lib/cjs/components/_classes/component/Component.form.js +0 -5
  43. package/lib/cjs/components/_classes/component/Component.js +190 -434
  44. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +8 -0
  45. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +2 -2
  46. package/lib/cjs/components/_classes/component/editForm/utils.js +2 -2
  47. package/lib/cjs/components/_classes/field/Field.d.ts +2 -11
  48. package/lib/cjs/components/_classes/field/Field.js +1 -13
  49. package/lib/cjs/components/_classes/input/Input.d.ts +3 -4
  50. package/lib/cjs/components/_classes/input/Input.js +2 -2
  51. package/lib/cjs/components/_classes/list/ListComponent.d.ts +2 -2
  52. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -6
  53. package/lib/cjs/components/_classes/list/ListComponent.form.js +0 -5
  54. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +12 -43
  55. package/lib/cjs/components/_classes/multivalue/Multivalue.js +3 -37
  56. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +67 -163
  57. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -6
  58. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +0 -5
  59. package/lib/cjs/components/_classes/nested/NestedComponent.js +54 -175
  60. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +2 -2
  61. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +1 -1
  62. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -7
  63. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +3 -2
  64. package/lib/cjs/components/address/Address.d.ts +2 -4
  65. package/lib/cjs/components/address/Address.form.d.ts +3 -6
  66. package/lib/cjs/components/address/Address.form.js +0 -5
  67. package/lib/cjs/components/button/Button.d.ts +12 -3
  68. package/lib/cjs/components/button/Button.form.d.ts +3 -6
  69. package/lib/cjs/components/button/Button.form.js +0 -5
  70. package/lib/cjs/components/button/Button.js +0 -5
  71. package/lib/cjs/components/checkbox/Checkbox.d.ts +27 -4
  72. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -6
  73. package/lib/cjs/components/checkbox/Checkbox.form.js +0 -5
  74. package/lib/cjs/components/columns/Columns.d.ts +2 -3
  75. package/lib/cjs/components/columns/Columns.form.d.ts +3 -6
  76. package/lib/cjs/components/columns/Columns.form.js +0 -5
  77. package/lib/cjs/components/columns/Columns.js +1 -1
  78. package/lib/cjs/components/container/Container.form.d.ts +3 -6
  79. package/lib/cjs/components/container/Container.form.js +0 -5
  80. package/lib/cjs/components/content/Content.d.ts +1 -2
  81. package/lib/cjs/components/content/Content.form.d.ts +3 -6
  82. package/lib/cjs/components/content/Content.form.js +0 -5
  83. package/lib/cjs/components/currency/Currency.form.d.ts +3 -6
  84. package/lib/cjs/components/currency/Currency.form.js +0 -5
  85. package/lib/cjs/components/currency/Currency.js +2 -1
  86. package/lib/cjs/components/datagrid/DataGrid.d.ts +7 -8
  87. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -6
  88. package/lib/cjs/components/datagrid/DataGrid.form.js +0 -5
  89. package/lib/cjs/components/datagrid/DataGrid.js +5 -5
  90. package/lib/cjs/components/datagrid/fixtures/comp-with-checkboxes.d.ts +29 -0
  91. package/lib/cjs/components/datagrid/fixtures/comp-with-checkboxes.js +36 -0
  92. package/lib/cjs/components/datagrid/fixtures/index.d.ts +2 -1
  93. package/lib/cjs/components/datagrid/fixtures/index.js +3 -1
  94. package/lib/cjs/components/datamap/DataMap.d.ts +0 -1
  95. package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -6
  96. package/lib/cjs/components/datamap/DataMap.form.js +0 -5
  97. package/lib/cjs/components/datetime/DateTime.d.ts +14 -0
  98. package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -6
  99. package/lib/cjs/components/datetime/DateTime.form.js +0 -5
  100. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +2 -2
  101. package/lib/cjs/components/day/Day.d.ts +48 -22
  102. package/lib/cjs/components/day/Day.form.d.ts +3 -6
  103. package/lib/cjs/components/day/Day.form.js +0 -5
  104. package/lib/cjs/components/day/Day.js +20 -15
  105. package/lib/cjs/components/editgrid/EditGrid.d.ts +3 -7
  106. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -6
  107. package/lib/cjs/components/editgrid/EditGrid.form.js +0 -5
  108. package/lib/cjs/components/editgrid/EditGrid.js +3 -3
  109. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +5 -2
  110. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +9 -6
  111. package/lib/cjs/components/email/Email.form.d.ts +3 -6
  112. package/lib/cjs/components/email/Email.form.js +0 -5
  113. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -6
  114. package/lib/cjs/components/fieldset/Fieldset.form.js +0 -5
  115. package/lib/cjs/components/file/File.d.ts +22 -9
  116. package/lib/cjs/components/file/File.form.d.ts +3 -6
  117. package/lib/cjs/components/file/File.form.js +0 -5
  118. package/lib/cjs/components/form/Form.d.ts +20 -31
  119. package/lib/cjs/components/form/Form.form.d.ts +3 -6
  120. package/lib/cjs/components/form/Form.form.js +0 -5
  121. package/lib/cjs/components/form/Form.js +10 -13
  122. package/lib/cjs/components/hidden/Hidden.d.ts +11 -1
  123. package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -6
  124. package/lib/cjs/components/hidden/Hidden.form.js +0 -5
  125. package/lib/cjs/components/hidden/Hidden.js +2 -1
  126. package/lib/cjs/components/html/HTML.d.ts +1 -2
  127. package/lib/cjs/components/html/HTML.form.d.ts +3 -6
  128. package/lib/cjs/components/html/HTML.form.js +0 -5
  129. package/lib/cjs/components/number/Number.d.ts +17 -3
  130. package/lib/cjs/components/number/Number.form.d.ts +3 -6
  131. package/lib/cjs/components/number/Number.form.js +0 -5
  132. package/lib/cjs/components/number/Number.js +2 -1
  133. package/lib/cjs/components/panel/Panel.form.d.ts +3 -6
  134. package/lib/cjs/components/panel/Panel.form.js +0 -5
  135. package/lib/cjs/components/panel/Panel.js +1 -0
  136. package/lib/cjs/components/password/Password.form.d.ts +3 -6
  137. package/lib/cjs/components/password/Password.form.js +0 -5
  138. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -6
  139. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +0 -5
  140. package/lib/cjs/components/radio/Radio.d.ts +26 -3
  141. package/lib/cjs/components/radio/Radio.form.d.ts +3 -6
  142. package/lib/cjs/components/radio/Radio.form.js +0 -5
  143. package/lib/cjs/components/radio/Radio.js +6 -4
  144. package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +1 -1
  145. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -6
  146. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +0 -5
  147. package/lib/cjs/components/select/Select.d.ts +39 -16
  148. package/lib/cjs/components/select/Select.form.d.ts +3 -6
  149. package/lib/cjs/components/select/Select.form.js +0 -5
  150. package/lib/cjs/components/select/Select.js +16 -13
  151. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +17 -2
  152. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -6
  153. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +0 -5
  154. package/lib/cjs/components/selectboxes/SelectBoxes.js +9 -7
  155. package/lib/cjs/components/signature/Signature.d.ts +14 -1
  156. package/lib/cjs/components/signature/Signature.form.d.ts +3 -6
  157. package/lib/cjs/components/signature/Signature.form.js +0 -5
  158. package/lib/cjs/components/survey/Survey.d.ts +15 -3
  159. package/lib/cjs/components/survey/Survey.form.d.ts +3 -6
  160. package/lib/cjs/components/survey/Survey.form.js +0 -5
  161. package/lib/cjs/components/table/Table.d.ts +1 -2
  162. package/lib/cjs/components/table/Table.form.d.ts +3 -6
  163. package/lib/cjs/components/table/Table.form.js +0 -5
  164. package/lib/cjs/components/tabs/Tabs.d.ts +4 -4
  165. package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -6
  166. package/lib/cjs/components/tabs/Tabs.form.js +0 -5
  167. package/lib/cjs/components/tabs/Tabs.js +2 -1
  168. package/lib/cjs/components/tags/Tags.d.ts +14 -0
  169. package/lib/cjs/components/tags/Tags.form.d.ts +3 -6
  170. package/lib/cjs/components/tags/Tags.form.js +0 -5
  171. package/lib/cjs/components/textarea/TextArea.d.ts +9 -4
  172. package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -6
  173. package/lib/cjs/components/textarea/TextArea.form.js +0 -5
  174. package/lib/cjs/components/textarea/TextArea.js +2 -2
  175. package/lib/cjs/components/textfield/TextField.d.ts +30 -14
  176. package/lib/cjs/components/textfield/TextField.form.d.ts +3 -6
  177. package/lib/cjs/components/textfield/TextField.form.js +0 -5
  178. package/lib/cjs/components/textfield/TextField.js +17 -16
  179. package/lib/cjs/components/time/Time.form.d.ts +3 -6
  180. package/lib/cjs/components/time/Time.form.js +0 -5
  181. package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -5
  182. package/lib/cjs/components/unknown/Unknown.form.js +0 -4
  183. package/lib/cjs/components/url/Url.form.d.ts +3 -6
  184. package/lib/cjs/components/url/Url.form.js +0 -5
  185. package/lib/cjs/components/well/Well.form.d.ts +3 -6
  186. package/lib/cjs/components/well/Well.form.js +0 -5
  187. package/lib/cjs/formio.embed.d.ts +2 -1
  188. package/lib/cjs/formio.embed.js +100 -2
  189. package/lib/cjs/formio.form.d.ts +4 -11
  190. package/lib/cjs/formio.form.js +5 -13
  191. package/lib/cjs/providers/Providers.d.ts +5 -36
  192. package/lib/cjs/providers/Providers.js +0 -29
  193. package/lib/cjs/providers/address/AddressProvider.d.ts +12 -131
  194. package/lib/cjs/providers/address/AddressProvider.js +2 -88
  195. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +1 -48
  196. package/lib/cjs/providers/address/AzureAddressProvider.js +0 -37
  197. package/lib/cjs/providers/address/CustomAddressProvider.d.ts +4 -27
  198. package/lib/cjs/providers/address/CustomAddressProvider.js +0 -34
  199. package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +6 -130
  200. package/lib/cjs/providers/address/GoogleAddressProvider.js +0 -72
  201. package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +7 -32
  202. package/lib/cjs/providers/address/NominatimAddressProvider.js +0 -33
  203. package/lib/cjs/providers/address/index.d.ts +1 -3
  204. package/lib/cjs/providers/processor/fileProcessor.d.ts +1 -7
  205. package/lib/cjs/providers/processor/fileProcessor.js +0 -6
  206. package/lib/cjs/providers/storage/azure.d.ts +13 -6
  207. package/lib/cjs/providers/storage/azure.js +0 -5
  208. package/lib/cjs/providers/storage/base64.d.ts +6 -5
  209. package/lib/cjs/providers/storage/base64.js +0 -4
  210. package/lib/cjs/providers/storage/dropbox.d.ts +4 -6
  211. package/lib/cjs/providers/storage/dropbox.js +0 -5
  212. package/lib/cjs/providers/storage/googleDrive.d.ts +5 -7
  213. package/lib/cjs/providers/storage/googleDrive.js +0 -6
  214. package/lib/cjs/providers/storage/indexeddb.d.ts +7 -5
  215. package/lib/cjs/providers/storage/indexeddb.js +0 -4
  216. package/lib/cjs/providers/storage/s3.d.ts +20 -6
  217. package/lib/cjs/providers/storage/s3.js +0 -5
  218. package/lib/cjs/providers/storage/url.d.ts +7 -6
  219. package/lib/cjs/providers/storage/url.js +0 -10
  220. package/lib/cjs/providers/storage/util.d.ts +1 -24
  221. package/lib/cjs/providers/storage/util.js +0 -18
  222. package/lib/cjs/templates/Templates.d.ts +0 -1
  223. package/lib/cjs/utils/Evaluator.d.ts +3 -6
  224. package/lib/cjs/utils/Evaluator.js +20 -11
  225. package/lib/cjs/utils/builder.d.ts +7 -9
  226. package/lib/cjs/utils/builder.js +5 -10
  227. package/lib/cjs/utils/calendarUtils.d.ts +13 -7
  228. package/lib/cjs/utils/calendarUtils.js +17 -10
  229. package/lib/cjs/utils/formUtils.d.ts +171 -43
  230. package/lib/cjs/utils/formUtils.js +569 -38
  231. package/lib/cjs/utils/utils.d.ts +221 -367
  232. package/lib/cjs/utils/utils.js +228 -335
  233. package/lib/cjs/widgets/CalendarWidget.d.ts +10 -9
  234. package/lib/cjs/widgets/CalendarWidget.js +11 -9
  235. package/lib/mjs/CDN.d.ts +0 -1
  236. package/lib/mjs/CDN.js +3 -6
  237. package/lib/mjs/Element.d.ts +96 -86
  238. package/lib/mjs/Element.js +78 -68
  239. package/lib/mjs/Embed.d.ts +1 -1
  240. package/lib/mjs/Embed.js +12 -52
  241. package/lib/mjs/Form.d.ts +36 -365
  242. package/lib/mjs/Form.js +57 -140
  243. package/lib/mjs/FormBuilder.d.ts +2 -187
  244. package/lib/mjs/FormBuilder.js +8 -32
  245. package/lib/mjs/PDF.d.ts +13 -11
  246. package/lib/mjs/PDF.js +8 -6
  247. package/lib/mjs/Webform.d.ts +139 -180
  248. package/lib/mjs/Webform.js +308 -321
  249. package/lib/mjs/WebformBuilder.d.ts +14 -16
  250. package/lib/mjs/WebformBuilder.js +12 -19
  251. package/lib/mjs/Wizard.d.ts +21 -31
  252. package/lib/mjs/Wizard.js +19 -42
  253. package/lib/mjs/WizardBuilder.d.ts +1 -1
  254. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +5 -8
  255. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +3 -6
  256. package/lib/mjs/components/Components.d.ts +4 -4
  257. package/lib/mjs/components/Components.js +3 -3
  258. package/lib/mjs/components/_classes/component/Component.d.ts +269 -502
  259. package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -6
  260. package/lib/mjs/components/_classes/component/Component.form.js +0 -5
  261. package/lib/mjs/components/_classes/component/Component.js +190 -434
  262. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +8 -0
  263. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +1 -1
  264. package/lib/mjs/components/_classes/component/editForm/utils.js +1 -1
  265. package/lib/mjs/components/_classes/field/Field.d.ts +2 -11
  266. package/lib/mjs/components/_classes/field/Field.js +1 -13
  267. package/lib/mjs/components/_classes/input/Input.d.ts +3 -4
  268. package/lib/mjs/components/_classes/input/Input.js +2 -2
  269. package/lib/mjs/components/_classes/list/ListComponent.d.ts +2 -2
  270. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -6
  271. package/lib/mjs/components/_classes/list/ListComponent.form.js +0 -5
  272. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +12 -43
  273. package/lib/mjs/components/_classes/multivalue/Multivalue.js +3 -37
  274. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +67 -163
  275. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -6
  276. package/lib/mjs/components/_classes/nested/NestedComponent.form.js +0 -5
  277. package/lib/mjs/components/_classes/nested/NestedComponent.js +54 -175
  278. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +2 -2
  279. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +1 -1
  280. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +1 -7
  281. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +3 -2
  282. package/lib/mjs/components/address/Address.d.ts +2 -4
  283. package/lib/mjs/components/address/Address.form.d.ts +3 -6
  284. package/lib/mjs/components/address/Address.form.js +0 -5
  285. package/lib/mjs/components/button/Button.d.ts +12 -3
  286. package/lib/mjs/components/button/Button.form.d.ts +3 -6
  287. package/lib/mjs/components/button/Button.form.js +0 -5
  288. package/lib/mjs/components/button/Button.js +0 -5
  289. package/lib/mjs/components/checkbox/Checkbox.d.ts +27 -4
  290. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -6
  291. package/lib/mjs/components/checkbox/Checkbox.form.js +0 -5
  292. package/lib/mjs/components/columns/Columns.d.ts +2 -3
  293. package/lib/mjs/components/columns/Columns.form.d.ts +3 -6
  294. package/lib/mjs/components/columns/Columns.form.js +0 -5
  295. package/lib/mjs/components/columns/Columns.js +1 -1
  296. package/lib/mjs/components/container/Container.form.d.ts +3 -6
  297. package/lib/mjs/components/container/Container.form.js +0 -5
  298. package/lib/mjs/components/content/Content.d.ts +1 -2
  299. package/lib/mjs/components/content/Content.form.d.ts +3 -6
  300. package/lib/mjs/components/content/Content.form.js +0 -5
  301. package/lib/mjs/components/currency/Currency.form.d.ts +3 -6
  302. package/lib/mjs/components/currency/Currency.form.js +0 -5
  303. package/lib/mjs/components/currency/Currency.js +2 -1
  304. package/lib/mjs/components/datagrid/DataGrid.d.ts +7 -8
  305. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -6
  306. package/lib/mjs/components/datagrid/DataGrid.form.js +0 -5
  307. package/lib/mjs/components/datagrid/DataGrid.js +5 -5
  308. package/lib/mjs/components/datagrid/fixtures/comp-with-checkboxes.d.ts +29 -0
  309. package/lib/mjs/components/datagrid/fixtures/comp-with-checkboxes.js +34 -0
  310. package/lib/mjs/components/datagrid/fixtures/index.d.ts +2 -1
  311. package/lib/mjs/components/datagrid/fixtures/index.js +2 -1
  312. package/lib/mjs/components/datamap/DataMap.d.ts +0 -1
  313. package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -6
  314. package/lib/mjs/components/datamap/DataMap.form.js +0 -5
  315. package/lib/mjs/components/datetime/DateTime.d.ts +14 -0
  316. package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -6
  317. package/lib/mjs/components/datetime/DateTime.form.js +0 -5
  318. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +1 -1
  319. package/lib/mjs/components/day/Day.d.ts +48 -22
  320. package/lib/mjs/components/day/Day.form.d.ts +3 -6
  321. package/lib/mjs/components/day/Day.form.js +0 -5
  322. package/lib/mjs/components/day/Day.js +20 -15
  323. package/lib/mjs/components/editgrid/EditGrid.d.ts +3 -7
  324. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -6
  325. package/lib/mjs/components/editgrid/EditGrid.form.js +0 -5
  326. package/lib/mjs/components/editgrid/EditGrid.js +3 -3
  327. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +1 -1
  328. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +1 -1
  329. package/lib/mjs/components/email/Email.form.d.ts +3 -6
  330. package/lib/mjs/components/email/Email.form.js +0 -5
  331. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -6
  332. package/lib/mjs/components/fieldset/Fieldset.form.js +0 -5
  333. package/lib/mjs/components/file/File.d.ts +22 -9
  334. package/lib/mjs/components/file/File.form.d.ts +3 -6
  335. package/lib/mjs/components/file/File.form.js +0 -5
  336. package/lib/mjs/components/form/Form.d.ts +20 -31
  337. package/lib/mjs/components/form/Form.form.d.ts +3 -6
  338. package/lib/mjs/components/form/Form.form.js +0 -5
  339. package/lib/mjs/components/form/Form.js +10 -13
  340. package/lib/mjs/components/hidden/Hidden.d.ts +11 -1
  341. package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -6
  342. package/lib/mjs/components/hidden/Hidden.form.js +0 -5
  343. package/lib/mjs/components/hidden/Hidden.js +2 -1
  344. package/lib/mjs/components/html/HTML.d.ts +1 -2
  345. package/lib/mjs/components/html/HTML.form.d.ts +3 -6
  346. package/lib/mjs/components/html/HTML.form.js +0 -5
  347. package/lib/mjs/components/number/Number.d.ts +17 -3
  348. package/lib/mjs/components/number/Number.form.d.ts +3 -6
  349. package/lib/mjs/components/number/Number.form.js +0 -5
  350. package/lib/mjs/components/number/Number.js +2 -1
  351. package/lib/mjs/components/panel/Panel.form.d.ts +3 -6
  352. package/lib/mjs/components/panel/Panel.form.js +0 -5
  353. package/lib/mjs/components/panel/Panel.js +1 -0
  354. package/lib/mjs/components/password/Password.form.d.ts +3 -6
  355. package/lib/mjs/components/password/Password.form.js +0 -5
  356. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -6
  357. package/lib/mjs/components/phonenumber/PhoneNumber.form.js +0 -5
  358. package/lib/mjs/components/radio/Radio.d.ts +26 -3
  359. package/lib/mjs/components/radio/Radio.form.d.ts +3 -6
  360. package/lib/mjs/components/radio/Radio.form.js +0 -5
  361. package/lib/mjs/components/radio/Radio.js +5 -4
  362. package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +1 -1
  363. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -6
  364. package/lib/mjs/components/recaptcha/ReCaptcha.form.js +0 -5
  365. package/lib/mjs/components/select/Select.d.ts +39 -16
  366. package/lib/mjs/components/select/Select.form.d.ts +3 -6
  367. package/lib/mjs/components/select/Select.form.js +0 -5
  368. package/lib/mjs/components/select/Select.js +17 -14
  369. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +17 -2
  370. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -6
  371. package/lib/mjs/components/selectboxes/SelectBoxes.form.js +0 -5
  372. package/lib/mjs/components/selectboxes/SelectBoxes.js +9 -7
  373. package/lib/mjs/components/signature/Signature.d.ts +14 -1
  374. package/lib/mjs/components/signature/Signature.form.d.ts +3 -6
  375. package/lib/mjs/components/signature/Signature.form.js +0 -5
  376. package/lib/mjs/components/survey/Survey.d.ts +15 -3
  377. package/lib/mjs/components/survey/Survey.form.d.ts +3 -6
  378. package/lib/mjs/components/survey/Survey.form.js +0 -5
  379. package/lib/mjs/components/table/Table.d.ts +1 -2
  380. package/lib/mjs/components/table/Table.form.d.ts +3 -6
  381. package/lib/mjs/components/table/Table.form.js +0 -5
  382. package/lib/mjs/components/tabs/Tabs.d.ts +4 -4
  383. package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -6
  384. package/lib/mjs/components/tabs/Tabs.form.js +0 -5
  385. package/lib/mjs/components/tabs/Tabs.js +2 -1
  386. package/lib/mjs/components/tags/Tags.d.ts +14 -0
  387. package/lib/mjs/components/tags/Tags.form.d.ts +3 -6
  388. package/lib/mjs/components/tags/Tags.form.js +0 -5
  389. package/lib/mjs/components/textarea/TextArea.d.ts +9 -4
  390. package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -6
  391. package/lib/mjs/components/textarea/TextArea.form.js +0 -5
  392. package/lib/mjs/components/textarea/TextArea.js +2 -2
  393. package/lib/mjs/components/textfield/TextField.d.ts +30 -14
  394. package/lib/mjs/components/textfield/TextField.form.d.ts +3 -6
  395. package/lib/mjs/components/textfield/TextField.form.js +0 -5
  396. package/lib/mjs/components/textfield/TextField.js +17 -16
  397. package/lib/mjs/components/time/Time.form.d.ts +3 -6
  398. package/lib/mjs/components/time/Time.form.js +0 -5
  399. package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -5
  400. package/lib/mjs/components/unknown/Unknown.form.js +0 -4
  401. package/lib/mjs/components/url/Url.form.d.ts +3 -6
  402. package/lib/mjs/components/url/Url.form.js +0 -5
  403. package/lib/mjs/components/well/Well.form.d.ts +3 -6
  404. package/lib/mjs/components/well/Well.form.js +0 -5
  405. package/lib/mjs/formio.embed.d.ts +2 -1
  406. package/lib/mjs/formio.embed.js +99 -2
  407. package/lib/mjs/formio.form.d.ts +4 -11
  408. package/lib/mjs/formio.form.js +3 -10
  409. package/lib/mjs/providers/Providers.d.ts +5 -36
  410. package/lib/mjs/providers/Providers.js +0 -29
  411. package/lib/mjs/providers/address/AddressProvider.d.ts +12 -131
  412. package/lib/mjs/providers/address/AddressProvider.js +2 -88
  413. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +1 -48
  414. package/lib/mjs/providers/address/AzureAddressProvider.js +0 -37
  415. package/lib/mjs/providers/address/CustomAddressProvider.d.ts +4 -27
  416. package/lib/mjs/providers/address/CustomAddressProvider.js +0 -34
  417. package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +6 -130
  418. package/lib/mjs/providers/address/GoogleAddressProvider.js +0 -72
  419. package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +7 -32
  420. package/lib/mjs/providers/address/NominatimAddressProvider.js +0 -33
  421. package/lib/mjs/providers/address/index.d.ts +1 -3
  422. package/lib/mjs/providers/processor/fileProcessor.d.ts +1 -7
  423. package/lib/mjs/providers/processor/fileProcessor.js +0 -6
  424. package/lib/mjs/providers/storage/azure.d.ts +13 -6
  425. package/lib/mjs/providers/storage/azure.js +0 -5
  426. package/lib/mjs/providers/storage/base64.d.ts +6 -5
  427. package/lib/mjs/providers/storage/base64.js +0 -4
  428. package/lib/mjs/providers/storage/dropbox.d.ts +4 -6
  429. package/lib/mjs/providers/storage/dropbox.js +0 -5
  430. package/lib/mjs/providers/storage/googleDrive.d.ts +5 -7
  431. package/lib/mjs/providers/storage/googleDrive.js +0 -6
  432. package/lib/mjs/providers/storage/indexeddb.d.ts +7 -5
  433. package/lib/mjs/providers/storage/indexeddb.js +0 -4
  434. package/lib/mjs/providers/storage/s3.d.ts +20 -6
  435. package/lib/mjs/providers/storage/s3.js +0 -5
  436. package/lib/mjs/providers/storage/url.d.ts +7 -6
  437. package/lib/mjs/providers/storage/url.js +0 -10
  438. package/lib/mjs/providers/storage/util.d.ts +1 -24
  439. package/lib/mjs/providers/storage/util.js +0 -18
  440. package/lib/mjs/templates/Templates.d.ts +0 -1
  441. package/lib/mjs/utils/Evaluator.d.ts +3 -6
  442. package/lib/mjs/utils/Evaluator.js +20 -9
  443. package/lib/mjs/utils/builder.d.ts +7 -9
  444. package/lib/mjs/utils/builder.js +5 -10
  445. package/lib/mjs/utils/calendarUtils.d.ts +13 -7
  446. package/lib/mjs/utils/calendarUtils.js +17 -10
  447. package/lib/mjs/utils/formUtils.d.ts +171 -43
  448. package/lib/mjs/utils/formUtils.js +554 -6
  449. package/lib/mjs/utils/utils.d.ts +221 -367
  450. package/lib/mjs/utils/utils.js +222 -329
  451. package/lib/mjs/widgets/CalendarWidget.d.ts +10 -9
  452. package/lib/mjs/widgets/CalendarWidget.js +11 -9
  453. package/package.json +22 -22
  454. package/embed.d.ts +0 -1
  455. package/form.d.ts +0 -1
  456. package/lib/cjs/InlineEmbed.d.ts +0 -7
  457. package/lib/cjs/InlineEmbed.js +0 -116
  458. package/lib/mjs/InlineEmbed.d.ts +0 -7
  459. package/lib/mjs/InlineEmbed.js +0 -112
  460. package/sdk.d.ts +0 -1
  461. package/utils.d.ts +0 -1
@@ -9,6 +9,13 @@ export default class SelectBoxesComponent extends RadioComponent {
9
9
  custom: string;
10
10
  };
11
11
  };
12
+ constructor: Function;
13
+ toString(): string;
14
+ toLocaleString(): string;
15
+ valueOf(): Object;
16
+ hasOwnProperty(v: PropertyKey): boolean;
17
+ isPrototypeOf(v: Object): boolean;
18
+ propertyIsEnumerable(v: PropertyKey): boolean;
12
19
  };
13
20
  static get conditionOperatorsSettings(): {
14
21
  valueComponent(classComp: any): {
@@ -20,14 +27,22 @@ export default class SelectBoxesComponent extends RadioComponent {
20
27
  custom: string;
21
28
  };
22
29
  };
30
+ constructor: Function;
31
+ toString(): string;
32
+ toLocaleString(): string;
33
+ valueOf(): Object;
34
+ hasOwnProperty(v: PropertyKey): boolean;
35
+ isPrototypeOf(v: Object): boolean;
36
+ propertyIsEnumerable(v: PropertyKey): boolean;
23
37
  };
24
38
  static savedValueTypes(schema: any): string[];
25
39
  constructor(...args: any[]);
26
40
  get emptyValue(): any;
27
41
  /**
28
42
  * Only empty if the values are all false.
29
- * @param {any} value - The value to check if empty.
30
- * @returns {boolean} - If the value is empty.
43
+ *
44
+ * @param value
45
+ * @return {boolean}
31
46
  */
32
47
  isEmpty(value?: any): boolean;
33
48
  setInputsDisabled(value: any, onlyUnchecked: any): void;
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Radio_form_1 = __importDefault(require("../radio/Radio.form"));
7
7
  const SelectBoxes_edit_validation_1 = __importDefault(require("./editForm/SelectBoxes.edit.validation"));
8
- /**
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
- */
13
8
  function default_1(...extend) {
14
9
  return (0, Radio_form_1.default)([
15
10
  {
@@ -81,8 +81,9 @@ class SelectBoxesComponent extends Radio_1.default {
81
81
  }
82
82
  /**
83
83
  * Only empty if the values are all false.
84
- * @param {any} value - The value to check if empty.
85
- * @returns {boolean} - If the value is empty.
84
+ *
85
+ * @param value
86
+ * @return {boolean}
86
87
  */
87
88
  isEmpty(value = this.dataValue) {
88
89
  let empty = true;
@@ -106,8 +107,9 @@ class SelectBoxesComponent extends Radio_1.default {
106
107
  }
107
108
  /**
108
109
  * Normalize values coming into updateValue.
109
- * @param {any} value - The value to normalize.
110
- * @returns {*} - The normalized value
110
+ *
111
+ * @param value
112
+ * @return {*}
111
113
  */
112
114
  normalizeValue(value) {
113
115
  value = value || {};
@@ -140,9 +142,9 @@ class SelectBoxesComponent extends Radio_1.default {
140
142
  }
141
143
  /**
142
144
  * Set the value of this component.
143
- * @param {any} value - The value to set.
144
- * @param {any} flags - Flags to apply to this update.
145
- * @returns {boolean} - If the value has changed.
145
+ *
146
+ * @param value
147
+ * @param flags
146
148
  */
147
149
  setValue(value, flags = {}) {
148
150
  const changed = this.updateValue(value, flags);
@@ -9,9 +9,23 @@ export default class SignatureComponent extends Input {
9
9
  };
10
10
  static get serverConditionSettings(): {
11
11
  operators: string[];
12
+ constructor: Function;
13
+ toString(): string;
14
+ toLocaleString(): string;
15
+ valueOf(): Object;
16
+ hasOwnProperty(v: PropertyKey): boolean;
17
+ isPrototypeOf(v: Object): boolean;
18
+ propertyIsEnumerable(v: PropertyKey): boolean;
12
19
  };
13
20
  static get conditionOperatorsSettings(): {
14
21
  operators: string[];
22
+ constructor: Function;
23
+ toString(): string;
24
+ toLocaleString(): string;
25
+ valueOf(): Object;
26
+ hasOwnProperty(v: PropertyKey): boolean;
27
+ isPrototypeOf(v: Object): boolean;
28
+ propertyIsEnumerable(v: PropertyKey): boolean;
15
29
  };
16
30
  static savedValueTypes(schema: any): string[];
17
31
  currentWidth: any;
@@ -22,7 +36,6 @@ export default class SignatureComponent extends Input {
22
36
  showCanvas(show: any): void;
23
37
  onDisabled(): void;
24
38
  checkSize(force: any, scale: any): void;
25
- getModalPreviewTemplate(): any;
26
39
  signaturePad: SignaturePad | null | undefined;
27
40
  observer: any;
28
41
  getValueAsString(value: any): "" | "Yes" | "No";
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const Signature_edit_data_1 = __importDefault(require("./editForm/Signature.edit.data"));
8
8
  const Signature_edit_display_1 = __importDefault(require("./editForm/Signature.edit.display"));
9
9
  const Signature_edit_validation_1 = __importDefault(require("./editForm/Signature.edit.validation"));
10
- /**
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.
14
- */
15
10
  function default_1(...extend) {
16
11
  return Components_1.default.baseEditForm([
17
12
  {
@@ -9,17 +9,29 @@ export default class SurveyComponent extends Field {
9
9
  };
10
10
  static get serverConditionSettings(): {
11
11
  operators: string[];
12
+ constructor: Function;
13
+ toString(): string;
14
+ toLocaleString(): string;
15
+ valueOf(): Object;
16
+ hasOwnProperty(v: PropertyKey): boolean;
17
+ isPrototypeOf(v: Object): boolean;
18
+ propertyIsEnumerable(v: PropertyKey): boolean;
12
19
  };
13
20
  static get conditionOperatorsSettings(): {
14
21
  operators: string[];
22
+ constructor: Function;
23
+ toString(): string;
24
+ toLocaleString(): string;
25
+ valueOf(): Object;
26
+ hasOwnProperty(v: PropertyKey): boolean;
27
+ isPrototypeOf(v: Object): boolean;
28
+ propertyIsEnumerable(v: PropertyKey): boolean;
15
29
  };
16
30
  static savedValueTypes(schema: any): string[];
17
- render(): Field;
18
- attach(element: any): Promise<void>;
31
+ render(): any;
19
32
  setValue(value: any, flags?: {}): boolean;
20
33
  get emptyValue(): {};
21
34
  validateRequired(setting: any, value: any): any;
22
35
  getInputName(question: any): string;
23
- getValueAsString(value: any, options: any): any;
24
36
  }
25
37
  import Field from '../_classes/field/Field';
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const Survey_edit_data_1 = __importDefault(require("./editForm/Survey.edit.data"));
8
8
  const Survey_edit_display_1 = __importDefault(require("./editForm/Survey.edit.display"));
9
9
  const Survey_edit_validation_1 = __importDefault(require("./editForm/Survey.edit.validation"));
10
- /**
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.
14
- */
15
10
  function default_1(...extend) {
16
11
  return Components_1.default.baseEditForm([
17
12
  {
@@ -13,12 +13,11 @@ export default class TableComponent extends NestedComponent {
13
13
  };
14
14
  static savedValueTypes(): never[];
15
15
  constructor(...args: any[]);
16
- get schema(): any;
17
16
  get cellClassName(): string;
18
17
  get tableKey(): string;
19
18
  get colWidth(): string;
20
19
  noField: boolean;
21
20
  table: any[] | undefined;
22
- render(): import("../_classes/field/Field").default;
21
+ render(): any;
23
22
  }
24
23
  import NestedComponent from '../_classes/nested/NestedComponent';
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
7
7
  const Table_edit_display_1 = __importDefault(require("./editForm/Table.edit.display"));
8
- /**
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
- */
13
8
  function default_1(...extend) {
14
9
  return (0, NestedComponent_form_1.default)([
15
10
  {
@@ -16,15 +16,15 @@ export default class TabsComponent extends NestedComponent {
16
16
  currentTab: number;
17
17
  noField: boolean;
18
18
  tabs: any[] | undefined;
19
- render(): import("../_classes/field/Field").default;
19
+ render(): any;
20
20
  detach(all: any): void;
21
21
  /**
22
22
  * Set the current tab.
23
- * @param {number} index - The index of the tab to set.
23
+ *
24
+ * @param index
24
25
  */
25
- setTab(index: number): void;
26
+ setTab(index: any): void;
26
27
  beforeFocus(component: any): void;
27
- setErrorClasses(elements: any, dirty: any, hasErrors: any, hasMessages: any, element?: any): void;
28
28
  handleTabsValidation(): void;
29
29
  }
30
30
  import NestedComponent from '../_classes/nested/NestedComponent';
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -5,11 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const NestedComponent_form_1 = __importDefault(require("../_classes/nested/NestedComponent.form"));
7
7
  const Tabs_edit_display_1 = __importDefault(require("./editForm/Tabs.edit.display"));
8
- /**
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
- */
13
8
  function default_1(...extend) {
14
9
  return (0, NestedComponent_form_1.default)([
15
10
  {
@@ -112,7 +112,8 @@ class TabsComponent extends NestedComponent_1.default {
112
112
  }
113
113
  /**
114
114
  * Set the current tab.
115
- * @param {number} index - The index of the tab to set.
115
+ *
116
+ * @param index
116
117
  */
117
118
  setTab(index) {
118
119
  if (!this.tabs || !this.tabs[index] || !this.refs[this.tabKey] || !this.refs[this.tabKey][index]) {
@@ -9,9 +9,23 @@ export default class TagsComponent extends Input {
9
9
  };
10
10
  static get serverConditionSettings(): {
11
11
  operators: any[];
12
+ constructor: Function;
13
+ toString(): string;
14
+ toLocaleString(): string;
15
+ valueOf(): Object;
16
+ hasOwnProperty(v: PropertyKey): boolean;
17
+ isPrototypeOf(v: Object): boolean;
18
+ propertyIsEnumerable(v: PropertyKey): boolean;
12
19
  };
13
20
  static get conditionOperatorsSettings(): {
14
21
  operators: any[];
22
+ constructor: Function;
23
+ toString(): string;
24
+ toLocaleString(): string;
25
+ valueOf(): Object;
26
+ hasOwnProperty(v: PropertyKey): boolean;
27
+ isPrototypeOf(v: Object): boolean;
28
+ propertyIsEnumerable(v: PropertyKey): boolean;
15
29
  };
16
30
  static savedValueTypes(schema: any): any[];
17
31
  get emptyValue(): "" | never[];
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -5,11 +5,6 @@ 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
  const Tags_edit_data_1 = __importDefault(require("./editForm/Tags.edit.data"));
8
- /**
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
- */
13
8
  function default_1(...extend) {
14
9
  return Components_1.default.baseEditForm([
15
10
  {
@@ -5,10 +5,10 @@ export default class TextAreaComponent extends TextFieldComponent {
5
5
  get autoExpand(): any;
6
6
  /**
7
7
  * Updates the editor value.
8
- * @param {number} index - The index of the editor.
9
- * @param {any} newValue - The new editor value.
8
+ *
9
+ * @param newValue
10
10
  */
11
- updateEditorValue(index: number, newValue: any): void;
11
+ updateEditorValue(index: any, newValue: any): void;
12
12
  autoModified: boolean | undefined;
13
13
  attachElement(element: any, index: any): any;
14
14
  imageHandler(moduleInstance: any, range: any, files: any): void;
@@ -24,7 +24,12 @@ export default class TextAreaComponent extends TextFieldComponent {
24
24
  setImagesUrl(images: any): Promise<any>;
25
25
  addAutoExpanding(textarea: any, index: any): void;
26
26
  trimBlanks(value: any): any;
27
- onChange(flags: any, fromRoot: any): boolean;
27
+ onChange(flags: any, fromRoot: any): {
28
+ instance: this;
29
+ component: any;
30
+ value: any;
31
+ flags: any;
32
+ };
28
33
  hasChanged(newValue: any, oldValue: any): boolean;
29
34
  getConvertedValue(value: any): any;
30
35
  focus(): void;
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -6,11 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const TextField_form_1 = __importDefault(require("../textfield/TextField.form"));
7
7
  const TextArea_edit_display_1 = __importDefault(require("./editForm/TextArea.edit.display"));
8
8
  const TextArea_edit_validation_1 = __importDefault(require("./editForm/TextArea.edit.validation"));
9
- /**
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.
13
- */
14
9
  function default_1(...extend) {
15
10
  return (0, TextField_form_1.default)([
16
11
  {
@@ -82,8 +82,8 @@ class TextAreaComponent extends TextField_1.default {
82
82
  }
83
83
  /**
84
84
  * Updates the editor value.
85
- * @param {number} index - The index of the editor.
86
- * @param {any} newValue - The new editor value.
85
+ *
86
+ * @param newValue
87
87
  */
88
88
  updateEditorValue(index, newValue) {
89
89
  newValue = this.getConvertedValue(this.trimBlanks(newValue));
@@ -10,39 +10,55 @@ export default class TextFieldComponent extends Input {
10
10
  static get serverConditionSettings(): {
11
11
  operators: any[];
12
12
  valueComponent(classComp: any): any;
13
+ constructor: Function;
14
+ toString(): string;
15
+ toLocaleString(): string;
16
+ valueOf(): Object;
17
+ hasOwnProperty(v: PropertyKey): boolean;
18
+ isPrototypeOf(v: Object): boolean;
19
+ propertyIsEnumerable(v: PropertyKey): boolean;
13
20
  };
14
21
  static get conditionOperatorsSettings(): {
15
22
  operators: any[];
16
23
  valueComponent(classComp: any): any;
24
+ constructor: Function;
25
+ toString(): string;
26
+ toLocaleString(): string;
27
+ valueOf(): Object;
28
+ hasOwnProperty(v: PropertyKey): boolean;
29
+ isPrototypeOf(v: Object): boolean;
30
+ propertyIsEnumerable(v: PropertyKey): boolean;
17
31
  };
18
32
  static savedValueTypes(schema: any): string[];
19
33
  get emptyValue(): string;
20
34
  /**
21
- * Returns the mask value object (mutates value!).
22
- * @param {any} [value] - The value to convert to a mask value.
23
- * @param {any} [flags] - The flags to use when converting to a mask value.
24
- * @returns {*} - The value as a mask value.
35
+ * Returns the mask value object.
36
+ *
37
+ * @param value
38
+ * @param flags
39
+ * @return {*}
25
40
  */
26
- maskValue(value?: any, flags?: any): any;
41
+ maskValue(value: any, flags?: {}): any;
27
42
  /**
28
43
  * Normalize the value set in the data object.
29
- * @param {any} value - The value to normalize.
30
- * @param {any} flags - The flags to use when normalizing the value.
31
- * @returns {*} - Returns the normalized value.
44
+ *
45
+ * @param value
46
+ * @param flags
47
+ * @return {*}
32
48
  */
33
- normalizeValue(value: any, flags?: any): any;
34
- unmaskValue(value: any, format?: any): string;
49
+ normalizeValue(value: any, flags?: {}): any;
50
+ unmaskValue(value: any, format?: any): any;
35
51
  /**
36
52
  * Returns the value at this index.
37
- * @param {number} index - The index to get the value from.
38
- * @returns {*} - The value at the index.
53
+ *
54
+ * @param index
55
+ * @return {*}
39
56
  */
40
- getValueAt(index: number): any;
57
+ getValueAt(index: any): any;
41
58
  checkInputMaskValue(inputMask: any): boolean;
42
59
  setInputMask(input: any, inputMask: any, usePlaceholder: any): void;
43
60
  isHtmlRenderMode(): any;
44
61
  truncateMultipleSpaces(value: any): any;
45
62
  beforeSubmit(): Promise<any>;
46
- getValueAsString(value: any, options: any): string;
47
63
  }
48
64
  import Input from '../_classes/input/Input';
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -7,11 +7,6 @@ const Components_1 = __importDefault(require("../Components"));
7
7
  const TextField_edit_data_1 = __importDefault(require("./editForm/TextField.edit.data"));
8
8
  const TextField_edit_display_1 = __importDefault(require("./editForm/TextField.edit.display"));
9
9
  const TextField_edit_validation_1 = __importDefault(require("./editForm/TextField.edit.validation"));
10
- /**
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.
14
- */
15
10
  function default_1(...extend) {
16
11
  return Components_1.default.baseEditForm([
17
12
  {
@@ -111,10 +111,11 @@ class TextFieldComponent extends Input_1.default {
111
111
  return super.attach(element);
112
112
  }
113
113
  /**
114
- * Returns the mask value object (mutates value!).
115
- * @param {any} [value] - The value to convert to a mask value.
116
- * @param {any} [flags] - The flags to use when converting to a mask value.
117
- * @returns {*} - The value as a mask value.
114
+ * Returns the mask value object.
115
+ *
116
+ * @param value
117
+ * @param flags
118
+ * @return {*}
118
119
  */
119
120
  maskValue(value, flags = {}) {
120
121
  // Convert it into the correct format.
@@ -133,9 +134,10 @@ class TextFieldComponent extends Input_1.default {
133
134
  }
134
135
  /**
135
136
  * Normalize the value set in the data object.
136
- * @param {any} value - The value to normalize.
137
- * @param {any} flags - The flags to use when normalizing the value.
138
- * @returns {*} - Returns the normalized value.
137
+ *
138
+ * @param value
139
+ * @param flags
140
+ * @return {*}
139
141
  */
140
142
  normalizeValue(value, flags = {}) {
141
143
  if (!this.isMultipleMasksField) {
@@ -148,10 +150,10 @@ class TextFieldComponent extends Input_1.default {
148
150
  }
149
151
  /**
150
152
  * Sets the value at this index.
151
- * @param {number} index - The index to set the value at.
152
- * @param {any} value - The value to set.
153
- * @param {any} [flags] - The flags to use when setting the value.
154
- * @returns {void}
153
+ *
154
+ * @param index
155
+ * @param value
156
+ * @param flags
155
157
  */
156
158
  setValueAt(index, value, flags = {}) {
157
159
  if (!this.isMultipleMasksField) {
@@ -163,9 +165,6 @@ class TextFieldComponent extends Input_1.default {
163
165
  const maskInput = this.refs.select ? this.refs.select[index] : null;
164
166
  const mask = this.getMaskPattern(value.maskName);
165
167
  if (textInput && maskInput && mask) {
166
- // We need to set the maskInput (select dropdown) value before calling inputmask.setValue because, this
167
- // function will trigger a "change" event, which was calling updateValue setting the mask type to an incorrect value.
168
- maskInput.value = value.maskName;
169
168
  if (textInput.inputmask) {
170
169
  this.setInputMask(textInput, mask);
171
170
  textInput.inputmask.setValue(textValue);
@@ -174,6 +173,7 @@ class TextFieldComponent extends Input_1.default {
174
173
  const placeholderChar = this.placeholderChar;
175
174
  textInput.value = (0, vanilla_text_mask_1.conformToMask)(textValue, FormioUtils.getInputMask(mask), { placeholderChar }).conformedValue;
176
175
  }
176
+ maskInput.value = value.maskName;
177
177
  }
178
178
  else {
179
179
  return super.setValueAt(index, textValue, flags);
@@ -185,8 +185,9 @@ class TextFieldComponent extends Input_1.default {
185
185
  }
186
186
  /**
187
187
  * Returns the value at this index.
188
- * @param {number} index - The index to get the value from.
189
- * @returns {*} - The value at the index.
188
+ *
189
+ * @param index
190
+ * @return {*}
190
191
  */
191
192
  getValueAt(index) {
192
193
  var _a, _b;
@@ -1,6 +1,3 @@
1
- /**
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
- */
6
- export default function _default(...extend: any[]): import('@formio/core').Component[];
1
+ export default function _default(...extend: any[]): {
2
+ components: any;
3
+ };
@@ -6,11 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Component_form_1 = __importDefault(require("../_classes/component/Component.form"));
7
7
  const Time_edit_data_1 = __importDefault(require("./editForm/Time.edit.data"));
8
8
  const Time_edit_display_1 = __importDefault(require("./editForm/Time.edit.display"));
9
- /**
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.
13
- */
14
9
  function default_1(...extend) {
15
10
  return (0, Component_form_1.default)([
16
11
  {