@formio/js 5.0.0-rc.29 → 5.0.0-rc.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1101) 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 +68 -112
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +1 -3
  7. package/dist/formio.full.js +70 -114
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +1 -3
  10. package/dist/formio.js +46 -90
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.js +21 -87
  14. package/dist/formio.utils.min.js +1 -1
  15. package/dist/formio.utils.min.js.LICENSE.txt +1 -3
  16. package/lib/cjs/CDN.js +6 -2
  17. package/lib/cjs/Embed.js +105 -68
  18. package/lib/cjs/Formio.js +10 -0
  19. package/lib/cjs/Wizard.js +9 -10
  20. package/lib/cjs/components/_classes/component/Component.js +1 -3
  21. package/lib/cjs/components/_classes/component/fixtures/comp5.js +26 -0
  22. package/lib/cjs/components/_classes/component/fixtures/index.js +3 -1
  23. package/lib/cjs/components/columns/editForm/Columns.edit.display.js +0 -18
  24. package/lib/cjs/components/file/File.js +13 -1
  25. package/lib/cjs/components/file/editForm/File.edit.file.js +40 -0
  26. package/lib/cjs/components/select/Select.js +7 -3
  27. package/lib/cjs/formio.form.js +3 -1
  28. package/lib/cjs/providers/storage/azure.js +24 -22
  29. package/lib/cjs/providers/storage/base64.js +29 -27
  30. package/lib/cjs/providers/storage/dropbox.js +51 -49
  31. package/lib/cjs/providers/storage/googleDrive.js +50 -48
  32. package/lib/cjs/providers/storage/indexeddb.js +106 -104
  33. package/lib/cjs/providers/storage/s3.js +137 -37
  34. package/lib/cjs/providers/storage/url.js +2 -2
  35. package/lib/cjs/providers/storage/util.js +21 -0
  36. package/lib/cjs/providers/storage/xhr.js +81 -64
  37. package/lib/cjs/utils/formUtils.js +1 -1
  38. package/lib/cjs/utils/utils.js +6 -0
  39. package/lib/mjs/CDN.js +6 -2
  40. package/lib/mjs/Embed.js +101 -69
  41. package/lib/mjs/Formio.js +35 -25
  42. package/lib/mjs/Wizard.js +9 -10
  43. package/lib/mjs/components/_classes/component/Component.js +1 -3
  44. package/lib/mjs/components/_classes/component/fixtures/comp5.js +24 -0
  45. package/lib/mjs/components/_classes/component/fixtures/index.js +2 -1
  46. package/lib/mjs/components/columns/editForm/Columns.edit.display.js +0 -18
  47. package/lib/mjs/components/file/File.js +17 -1
  48. package/lib/mjs/components/file/editForm/File.edit.file.js +40 -0
  49. package/lib/mjs/components/select/Select.js +7 -3
  50. package/lib/mjs/formio.form.js +3 -1
  51. package/lib/mjs/providers/storage/azure.js +24 -22
  52. package/lib/mjs/providers/storage/base64.js +29 -27
  53. package/lib/mjs/providers/storage/dropbox.js +51 -49
  54. package/lib/mjs/providers/storage/googleDrive.js +50 -48
  55. package/lib/mjs/providers/storage/indexeddb.js +106 -104
  56. package/lib/mjs/providers/storage/s3.js +122 -29
  57. package/lib/mjs/providers/storage/url.js +2 -2
  58. package/lib/mjs/providers/storage/util.js +6 -0
  59. package/lib/mjs/providers/storage/xhr.js +75 -65
  60. package/lib/mjs/utils/formUtils.js +1 -1
  61. package/lib/mjs/utils/utils.js +6 -0
  62. package/package.json +7 -4
  63. package/types/Embed.d.ts +13 -0
  64. package/types/Plugins.d.ts +95 -0
  65. package/types/components/_classes/component/component.d.ts +2 -1
  66. package/types/components/schema.d.ts +2 -68
  67. package/types/formio.d.ts +1220 -118
  68. package/types/index.d.ts +1 -1
  69. package/types/utils.d.ts +1 -1
  70. package/lib/cjs/CDN.d.ts +0 -29
  71. package/lib/cjs/Element.d.ts +0 -255
  72. package/lib/cjs/Embed.d.ts +0 -52
  73. package/lib/cjs/EventEmitter.d.ts +0 -7
  74. package/lib/cjs/Form.d.ts +0 -93
  75. package/lib/cjs/FormBuilder.d.ts +0 -6
  76. package/lib/cjs/Formio.d.ts +0 -1
  77. package/lib/cjs/PDF.d.ts +0 -40
  78. package/lib/cjs/PDFBuilder.d.ts +0 -55
  79. package/lib/cjs/Webform.d.ts +0 -402
  80. package/lib/cjs/WebformBuilder.d.ts +0 -126
  81. package/lib/cjs/Wizard.d.ts +0 -97
  82. package/lib/cjs/WizardBuilder.d.ts +0 -49
  83. package/lib/cjs/addons/FormioAddon.d.ts +0 -19
  84. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -716
  85. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
  86. package/lib/cjs/addons/index.d.ts +0 -626
  87. package/lib/cjs/builders/Builders.d.ts +0 -18
  88. package/lib/cjs/builders/index.d.ts +0 -2
  89. package/lib/cjs/components/Components.d.ts +0 -265
  90. package/lib/cjs/components/_classes/component/Component.d.ts +0 -828
  91. package/lib/cjs/components/_classes/component/Component.form.d.ts +0 -3
  92. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -653
  93. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
  94. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
  95. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
  96. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
  97. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
  98. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
  99. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
  100. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -83
  101. package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
  102. package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
  103. package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
  104. package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
  105. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +0 -5
  106. package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
  107. package/lib/cjs/components/_classes/field/Field.d.ts +0 -5
  108. package/lib/cjs/components/_classes/input/Input.d.ts +0 -42
  109. package/lib/cjs/components/_classes/list/ListComponent.d.ts +0 -18
  110. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +0 -3
  111. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
  112. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
  113. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +0 -150
  114. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
  115. package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
  116. package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
  117. package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
  118. package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +0 -3
  119. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -16
  120. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
  121. package/lib/cjs/components/address/Address.d.ts +0 -66
  122. package/lib/cjs/components/address/Address.form.d.ts +0 -3
  123. package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +0 -31
  124. package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +0 -49
  125. package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
  126. package/lib/cjs/components/address/fixtures/comp1.d.ts +0 -34
  127. package/lib/cjs/components/address/fixtures/comp2.d.ts +0 -62
  128. package/lib/cjs/components/address/fixtures/comp3.d.ts +0 -44
  129. package/lib/cjs/components/address/fixtures/comp4.d.ts +0 -56
  130. package/lib/cjs/components/address/fixtures/index.d.ts +0 -5
  131. package/lib/cjs/components/address/fixtures/values.d.ts +0 -22
  132. package/lib/cjs/components/alert/Alert.d.ts +0 -30
  133. package/lib/cjs/components/builder.d.ts +0 -2
  134. package/lib/cjs/components/button/Button.d.ts +0 -45
  135. package/lib/cjs/components/button/Button.form.d.ts +0 -3
  136. package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +0 -360
  137. package/lib/cjs/components/button/fixtures/comp1.d.ts +0 -15
  138. package/lib/cjs/components/button/fixtures/comp2.d.ts +0 -25
  139. package/lib/cjs/components/button/fixtures/comp3.d.ts +0 -113
  140. package/lib/cjs/components/button/fixtures/index.d.ts +0 -4
  141. package/lib/cjs/components/button/fixtures/values.d.ts +0 -2
  142. package/lib/cjs/components/checkbox/Checkbox.d.ts +0 -77
  143. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +0 -3
  144. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
  145. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
  146. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
  147. package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +0 -24
  148. package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +0 -12
  149. package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +0 -15
  150. package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +0 -46
  151. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
  152. package/lib/cjs/components/checkbox/fixtures/index.d.ts +0 -6
  153. package/lib/cjs/components/checkbox/fixtures/values.d.ts +0 -2
  154. package/lib/cjs/components/columns/Columns.d.ts +0 -28
  155. package/lib/cjs/components/columns/Columns.form.d.ts +0 -3
  156. package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +0 -87
  157. package/lib/cjs/components/columns/fixtures/comp1.d.ts +0 -45
  158. package/lib/cjs/components/columns/fixtures/comp2.d.ts +0 -24
  159. package/lib/cjs/components/columns/fixtures/comp3.d.ts +0 -45
  160. package/lib/cjs/components/columns/fixtures/index.d.ts +0 -4
  161. package/lib/cjs/components/container/Container.d.ts +0 -16
  162. package/lib/cjs/components/container/Container.form.d.ts +0 -3
  163. package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +0 -5
  164. package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +0 -5
  165. package/lib/cjs/components/container/fixtures/comp1.d.ts +0 -49
  166. package/lib/cjs/components/container/fixtures/comp2.d.ts +0 -30
  167. package/lib/cjs/components/container/fixtures/comp3.d.ts +0 -77
  168. package/lib/cjs/components/container/fixtures/index.d.ts +0 -4
  169. package/lib/cjs/components/content/Content.d.ts +0 -18
  170. package/lib/cjs/components/content/Content.form.d.ts +0 -3
  171. package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +0 -18
  172. package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
  173. package/lib/cjs/components/content/fixtures/comp1.d.ts +0 -13
  174. package/lib/cjs/components/content/fixtures/index.d.ts +0 -2
  175. package/lib/cjs/components/currency/Currency.d.ts +0 -8
  176. package/lib/cjs/components/currency/Currency.form.d.ts +0 -3
  177. package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
  178. package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
  179. package/lib/cjs/components/currency/fixtures/comp1.d.ts +0 -31
  180. package/lib/cjs/components/currency/fixtures/comp2.d.ts +0 -20
  181. package/lib/cjs/components/currency/fixtures/comp3.d.ts +0 -13
  182. package/lib/cjs/components/currency/fixtures/comp4.d.ts +0 -17
  183. package/lib/cjs/components/currency/fixtures/index.d.ts +0 -5
  184. package/lib/cjs/components/currency/fixtures/values.d.ts +0 -2
  185. package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -80
  186. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +0 -3
  187. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
  188. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
  189. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
  190. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
  191. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  192. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
  193. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
  194. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
  195. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
  196. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
  197. package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +0 -93
  198. package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +0 -18
  199. package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +0 -14
  200. package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +0 -27
  201. package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +0 -67
  202. package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +0 -567
  203. package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +0 -28
  204. package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +0 -35
  205. package/lib/cjs/components/datagrid/fixtures/index.d.ts +0 -15
  206. package/lib/cjs/components/datamap/DataMap.d.ts +0 -36
  207. package/lib/cjs/components/datamap/DataMap.form.d.ts +0 -3
  208. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
  209. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
  210. package/lib/cjs/components/datamap/fixtures/comp1.d.ts +0 -18
  211. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
  212. package/lib/cjs/components/datamap/fixtures/index.d.ts +0 -3
  213. package/lib/cjs/components/datetime/DateTime.d.ts +0 -39
  214. package/lib/cjs/components/datetime/DateTime.form.d.ts +0 -3
  215. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
  216. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
  217. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
  218. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
  219. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
  220. package/lib/cjs/components/datetime/fixtures/comp1.d.ts +0 -45
  221. package/lib/cjs/components/datetime/fixtures/comp10.d.ts +0 -102
  222. package/lib/cjs/components/datetime/fixtures/comp11.d.ts +0 -58
  223. package/lib/cjs/components/datetime/fixtures/comp12.d.ts +0 -57
  224. package/lib/cjs/components/datetime/fixtures/comp2.d.ts +0 -42
  225. package/lib/cjs/components/datetime/fixtures/comp3.d.ts +0 -51
  226. package/lib/cjs/components/datetime/fixtures/comp5.d.ts +0 -57
  227. package/lib/cjs/components/datetime/fixtures/comp6.d.ts +0 -55
  228. package/lib/cjs/components/datetime/fixtures/comp7.d.ts +0 -59
  229. package/lib/cjs/components/datetime/fixtures/comp8.d.ts +0 -59
  230. package/lib/cjs/components/datetime/fixtures/comp9.d.ts +0 -64
  231. package/lib/cjs/components/datetime/fixtures/index.d.ts +0 -12
  232. package/lib/cjs/components/datetime/fixtures/values.d.ts +0 -2
  233. package/lib/cjs/components/day/Day.d.ts +0 -163
  234. package/lib/cjs/components/day/Day.form.d.ts +0 -3
  235. package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +0 -5
  236. package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +0 -40
  237. package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +0 -40
  238. package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +0 -40
  239. package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
  240. package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +0 -40
  241. package/lib/cjs/components/day/fixtures/comp1.d.ts +0 -46
  242. package/lib/cjs/components/day/fixtures/comp2.d.ts +0 -46
  243. package/lib/cjs/components/day/fixtures/comp3.d.ts +0 -48
  244. package/lib/cjs/components/day/fixtures/comp4.d.ts +0 -53
  245. package/lib/cjs/components/day/fixtures/comp5.d.ts +0 -29
  246. package/lib/cjs/components/day/fixtures/comp6.d.ts +0 -81
  247. package/lib/cjs/components/day/fixtures/index.d.ts +0 -7
  248. package/lib/cjs/components/day/fixtures/values.d.ts +0 -2
  249. package/lib/cjs/components/editgrid/EditGrid.d.ts +0 -103
  250. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +0 -3
  251. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
  252. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
  253. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
  254. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
  255. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
  256. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
  257. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
  258. package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
  259. package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +0 -89
  260. package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +0 -49
  261. package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +0 -53
  262. package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +0 -57
  263. package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +0 -64
  264. package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +0 -88
  265. package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +0 -54
  266. package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +0 -112
  267. package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +0 -27
  268. package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +0 -23
  269. package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +0 -19
  270. package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +0 -50
  271. package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +0 -129
  272. package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +0 -148
  273. package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +0 -86
  274. package/lib/cjs/components/editgrid/fixtures/index.d.ts +0 -19
  275. package/lib/cjs/components/email/Email.d.ts +0 -4
  276. package/lib/cjs/components/email/Email.form.d.ts +0 -3
  277. package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +0 -5
  278. package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
  279. package/lib/cjs/components/email/fixtures/comp1.d.ts +0 -26
  280. package/lib/cjs/components/email/fixtures/comp2.d.ts +0 -23
  281. package/lib/cjs/components/email/fixtures/index.d.ts +0 -3
  282. package/lib/cjs/components/email/fixtures/values.d.ts +0 -2
  283. package/lib/cjs/components/fieldset/Fieldset.d.ts +0 -15
  284. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +0 -3
  285. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
  286. package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +0 -46
  287. package/lib/cjs/components/fieldset/fixtures/index.d.ts +0 -2
  288. package/lib/cjs/components/file/File.d.ts +0 -81
  289. package/lib/cjs/components/file/File.form.d.ts +0 -3
  290. package/lib/cjs/components/file/editForm/File.edit.data.d.ts +0 -5
  291. package/lib/cjs/components/file/editForm/File.edit.display.d.ts +0 -5
  292. package/lib/cjs/components/file/editForm/File.edit.file.d.ts +0 -275
  293. package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +0 -5
  294. package/lib/cjs/components/file/fixtures/comp1.d.ts +0 -15
  295. package/lib/cjs/components/file/fixtures/comp2.d.ts +0 -35
  296. package/lib/cjs/components/file/fixtures/comp3.d.ts +0 -29
  297. package/lib/cjs/components/file/fixtures/index.d.ts +0 -3
  298. package/lib/cjs/components/file/fixtures/values.d.ts +0 -10
  299. package/lib/cjs/components/form/Form.d.ts +0 -94
  300. package/lib/cjs/components/form/Form.form.d.ts +0 -3
  301. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +0 -82
  302. package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +0 -5
  303. package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +0 -89
  304. package/lib/cjs/components/form/fixtures/comp1.d.ts +0 -45
  305. package/lib/cjs/components/form/fixtures/comp2.d.ts +0 -14
  306. package/lib/cjs/components/form/fixtures/comp3.d.ts +0 -187
  307. package/lib/cjs/components/form/fixtures/comp4.d.ts +0 -107
  308. package/lib/cjs/components/form/fixtures/comp5.d.ts +0 -42
  309. package/lib/cjs/components/form/fixtures/comp6.d.ts +0 -74
  310. package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +0 -42
  311. package/lib/cjs/components/form/fixtures/index.d.ts +0 -8
  312. package/lib/cjs/components/form/fixtures/values.d.ts +0 -6
  313. package/lib/cjs/components/hidden/Hidden.d.ts +0 -26
  314. package/lib/cjs/components/hidden/Hidden.form.d.ts +0 -3
  315. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
  316. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
  317. package/lib/cjs/components/hidden/fixtures/comp1.d.ts +0 -18
  318. package/lib/cjs/components/hidden/fixtures/index.d.ts +0 -2
  319. package/lib/cjs/components/hidden/fixtures/values.d.ts +0 -2
  320. package/lib/cjs/components/html/HTML.d.ts +0 -18
  321. package/lib/cjs/components/html/HTML.form.d.ts +0 -3
  322. package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
  323. package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
  324. package/lib/cjs/components/html/fixtures/comp1.d.ts +0 -19
  325. package/lib/cjs/components/html/fixtures/comp2.d.ts +0 -21
  326. package/lib/cjs/components/html/fixtures/index.d.ts +0 -3
  327. package/lib/cjs/components/index.d.ts +0 -98
  328. package/lib/cjs/components/number/Number.d.ts +0 -53
  329. package/lib/cjs/components/number/Number.form.d.ts +0 -3
  330. package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +0 -18
  331. package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +0 -5
  332. package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
  333. package/lib/cjs/components/number/fixtures/comp1.d.ts +0 -33
  334. package/lib/cjs/components/number/fixtures/comp2.d.ts +0 -32
  335. package/lib/cjs/components/number/fixtures/comp3.d.ts +0 -14
  336. package/lib/cjs/components/number/fixtures/comp4.d.ts +0 -14
  337. package/lib/cjs/components/number/fixtures/comp5.d.ts +0 -20
  338. package/lib/cjs/components/number/fixtures/comp6.d.ts +0 -40
  339. package/lib/cjs/components/number/fixtures/comp7.d.ts +0 -15
  340. package/lib/cjs/components/number/fixtures/index.d.ts +0 -8
  341. package/lib/cjs/components/number/fixtures/values.d.ts +0 -2
  342. package/lib/cjs/components/panel/Panel.d.ts +0 -14
  343. package/lib/cjs/components/panel/Panel.form.d.ts +0 -3
  344. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
  345. package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +0 -196
  346. package/lib/cjs/components/panel/fixtures/comp1.d.ts +0 -46
  347. package/lib/cjs/components/panel/fixtures/comp2.d.ts +0 -80
  348. package/lib/cjs/components/panel/fixtures/index.d.ts +0 -3
  349. package/lib/cjs/components/password/Password.d.ts +0 -3
  350. package/lib/cjs/components/password/Password.form.d.ts +0 -3
  351. package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +0 -18
  352. package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +0 -5
  353. package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
  354. package/lib/cjs/components/password/fixtures/comp1.d.ts +0 -22
  355. package/lib/cjs/components/password/fixtures/comp2.d.ts +0 -27
  356. package/lib/cjs/components/password/fixtures/index.d.ts +0 -3
  357. package/lib/cjs/components/password/fixtures/values.d.ts +0 -2
  358. package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +0 -3
  359. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
  360. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
  361. package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
  362. package/lib/cjs/components/phonenumber/fixtures/index.d.ts +0 -2
  363. package/lib/cjs/components/phonenumber/fixtures/values.d.ts +0 -2
  364. package/lib/cjs/components/radio/Radio.d.ts +0 -65
  365. package/lib/cjs/components/radio/Radio.form.d.ts +0 -3
  366. package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
  367. package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
  368. package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
  369. package/lib/cjs/components/radio/fixtures/comp1.d.ts +0 -28
  370. package/lib/cjs/components/radio/fixtures/comp2.d.ts +0 -85
  371. package/lib/cjs/components/radio/fixtures/comp3.d.ts +0 -85
  372. package/lib/cjs/components/radio/fixtures/comp4.d.ts +0 -19
  373. package/lib/cjs/components/radio/fixtures/comp5.d.ts +0 -39
  374. package/lib/cjs/components/radio/fixtures/comp6.d.ts +0 -38
  375. package/lib/cjs/components/radio/fixtures/comp7.d.ts +0 -23
  376. package/lib/cjs/components/radio/fixtures/comp8.d.ts +0 -118
  377. package/lib/cjs/components/radio/fixtures/comp9.d.ts +0 -35
  378. package/lib/cjs/components/radio/fixtures/index.d.ts +0 -10
  379. package/lib/cjs/components/radio/fixtures/values.d.ts +0 -2
  380. package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +0 -23
  381. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
  382. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
  383. package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
  384. package/lib/cjs/components/recaptcha/fixtures/index.d.ts +0 -2
  385. package/lib/cjs/components/resource/Resource.d.ts +0 -10
  386. package/lib/cjs/components/resource/Resource.form.d.ts +0 -3
  387. package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
  388. package/lib/cjs/components/resource/fixtures/comp1.d.ts +0 -30
  389. package/lib/cjs/components/resource/fixtures/comp2.d.ts +0 -35
  390. package/lib/cjs/components/resource/fixtures/index.d.ts +0 -3
  391. package/lib/cjs/components/select/Select.d.ts +0 -145
  392. package/lib/cjs/components/select/Select.form.d.ts +0 -3
  393. package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
  394. package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +0 -27
  395. package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
  396. package/lib/cjs/components/select/fixtures/comp1.d.ts +0 -40
  397. package/lib/cjs/components/select/fixtures/comp10.d.ts +0 -41
  398. package/lib/cjs/components/select/fixtures/comp11.d.ts +0 -28
  399. package/lib/cjs/components/select/fixtures/comp12.d.ts +0 -53
  400. package/lib/cjs/components/select/fixtures/comp13.d.ts +0 -28
  401. package/lib/cjs/components/select/fixtures/comp14.d.ts +0 -40
  402. package/lib/cjs/components/select/fixtures/comp15.d.ts +0 -50
  403. package/lib/cjs/components/select/fixtures/comp16.d.ts +0 -34
  404. package/lib/cjs/components/select/fixtures/comp17.d.ts +0 -51
  405. package/lib/cjs/components/select/fixtures/comp18.d.ts +0 -49
  406. package/lib/cjs/components/select/fixtures/comp19.d.ts +0 -23
  407. package/lib/cjs/components/select/fixtures/comp2.d.ts +0 -41
  408. package/lib/cjs/components/select/fixtures/comp3.d.ts +0 -35
  409. package/lib/cjs/components/select/fixtures/comp4.d.ts +0 -103
  410. package/lib/cjs/components/select/fixtures/comp5.d.ts +0 -21
  411. package/lib/cjs/components/select/fixtures/comp6.d.ts +0 -20
  412. package/lib/cjs/components/select/fixtures/comp7.d.ts +0 -63
  413. package/lib/cjs/components/select/fixtures/comp8.d.ts +0 -72
  414. package/lib/cjs/components/select/fixtures/comp9.d.ts +0 -88
  415. package/lib/cjs/components/select/fixtures/index.d.ts +0 -20
  416. package/lib/cjs/components/select/fixtures/values.d.ts +0 -2
  417. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +0 -51
  418. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
  419. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
  420. package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
  421. package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
  422. package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
  423. package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
  424. package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
  425. package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
  426. package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
  427. package/lib/cjs/components/selectboxes/fixtures/index.d.ts +0 -8
  428. package/lib/cjs/components/selectboxes/fixtures/values.d.ts +0 -6
  429. package/lib/cjs/components/signature/Signature.d.ts +0 -46
  430. package/lib/cjs/components/signature/Signature.form.d.ts +0 -3
  431. package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
  432. package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
  433. package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
  434. package/lib/cjs/components/signature/fixtures/comp1.d.ts +0 -30
  435. package/lib/cjs/components/signature/fixtures/index.d.ts +0 -2
  436. package/lib/cjs/components/signature/fixtures/values.d.ts +0 -2
  437. package/lib/cjs/components/survey/Survey.d.ts +0 -37
  438. package/lib/cjs/components/survey/Survey.form.d.ts +0 -3
  439. package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
  440. package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
  441. package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
  442. package/lib/cjs/components/survey/fixtures/comp1.d.ts +0 -31
  443. package/lib/cjs/components/survey/fixtures/comp2.d.ts +0 -31
  444. package/lib/cjs/components/survey/fixtures/index.d.ts +0 -3
  445. package/lib/cjs/components/survey/fixtures/values.d.ts +0 -5
  446. package/lib/cjs/components/table/Table.d.ts +0 -23
  447. package/lib/cjs/components/table/Table.form.d.ts +0 -3
  448. package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +0 -84
  449. package/lib/cjs/components/table/fixtures/comp1.d.ts +0 -53
  450. package/lib/cjs/components/table/fixtures/index.d.ts +0 -2
  451. package/lib/cjs/components/tabs/Tabs.d.ts +0 -30
  452. package/lib/cjs/components/tabs/Tabs.form.d.ts +0 -3
  453. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -77
  454. package/lib/cjs/components/tabs/fixtures/comp1.d.ts +0 -23
  455. package/lib/cjs/components/tabs/fixtures/index.d.ts +0 -2
  456. package/lib/cjs/components/tags/Tags.d.ts +0 -41
  457. package/lib/cjs/components/tags/Tags.form.d.ts +0 -3
  458. package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
  459. package/lib/cjs/components/tags/fixtures/comp1.d.ts +0 -20
  460. package/lib/cjs/components/tags/fixtures/comp2.d.ts +0 -10
  461. package/lib/cjs/components/tags/fixtures/comp3.d.ts +0 -23
  462. package/lib/cjs/components/tags/fixtures/comp4.d.ts +0 -9
  463. package/lib/cjs/components/tags/fixtures/comp5.d.ts +0 -24
  464. package/lib/cjs/components/tags/fixtures/comp6.d.ts +0 -17
  465. package/lib/cjs/components/tags/fixtures/index.d.ts +0 -7
  466. package/lib/cjs/components/tags/fixtures/values.d.ts +0 -2
  467. package/lib/cjs/components/textarea/TextArea.d.ts +0 -37
  468. package/lib/cjs/components/textarea/TextArea.form.d.ts +0 -3
  469. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
  470. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
  471. package/lib/cjs/components/textarea/fixtures/comp1.d.ts +0 -31
  472. package/lib/cjs/components/textarea/fixtures/comp2.d.ts +0 -29
  473. package/lib/cjs/components/textarea/fixtures/comp3.d.ts +0 -27
  474. package/lib/cjs/components/textarea/fixtures/comp4.d.ts +0 -30
  475. package/lib/cjs/components/textarea/fixtures/index.d.ts +0 -5
  476. package/lib/cjs/components/textarea/fixtures/values.d.ts +0 -2
  477. package/lib/cjs/components/textfield/TextField.d.ts +0 -60
  478. package/lib/cjs/components/textfield/TextField.form.d.ts +0 -3
  479. package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
  480. package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
  481. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
  482. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
  483. package/lib/cjs/components/textfield/fixtures/comp1.d.ts +0 -33
  484. package/lib/cjs/components/textfield/fixtures/comp2.d.ts +0 -33
  485. package/lib/cjs/components/textfield/fixtures/comp3.d.ts +0 -33
  486. package/lib/cjs/components/textfield/fixtures/comp4.d.ts +0 -23
  487. package/lib/cjs/components/textfield/fixtures/comp5.d.ts +0 -12
  488. package/lib/cjs/components/textfield/fixtures/comp6.d.ts +0 -25
  489. package/lib/cjs/components/textfield/fixtures/comp7.d.ts +0 -37
  490. package/lib/cjs/components/textfield/fixtures/index.d.ts +0 -9
  491. package/lib/cjs/components/textfield/fixtures/values.d.ts +0 -2
  492. package/lib/cjs/components/time/Time.d.ts +0 -27
  493. package/lib/cjs/components/time/Time.form.d.ts +0 -3
  494. package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +0 -10
  495. package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +0 -52
  496. package/lib/cjs/components/time/fixtures/comp1.d.ts +0 -24
  497. package/lib/cjs/components/time/fixtures/comp2.d.ts +0 -10
  498. package/lib/cjs/components/time/fixtures/comp3.d.ts +0 -15
  499. package/lib/cjs/components/time/fixtures/index.d.ts +0 -6
  500. package/lib/cjs/components/time/fixtures/timeForm.d.ts +0 -47
  501. package/lib/cjs/components/time/fixtures/timeForm2.d.ts +0 -38
  502. package/lib/cjs/components/time/fixtures/values.d.ts +0 -2
  503. package/lib/cjs/components/unknown/Unknown.d.ts +0 -28
  504. package/lib/cjs/components/unknown/Unknown.form.d.ts +0 -34
  505. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
  506. package/lib/cjs/components/unknown/fixtures/comp1.d.ts +0 -7
  507. package/lib/cjs/components/unknown/fixtures/index.d.ts +0 -2
  508. package/lib/cjs/components/url/Url.d.ts +0 -3
  509. package/lib/cjs/components/url/Url.form.d.ts +0 -3
  510. package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +0 -5
  511. package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +0 -5
  512. package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
  513. package/lib/cjs/components/url/fixtures/comp1.d.ts +0 -26
  514. package/lib/cjs/components/url/fixtures/comp2.d.ts +0 -26
  515. package/lib/cjs/components/url/fixtures/index.d.ts +0 -3
  516. package/lib/cjs/components/url/fixtures/values.d.ts +0 -2
  517. package/lib/cjs/components/well/Well.d.ts +0 -15
  518. package/lib/cjs/components/well/Well.form.d.ts +0 -3
  519. package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +0 -28
  520. package/lib/cjs/components/well/fixtures/comp1.d.ts +0 -43
  521. package/lib/cjs/components/well/fixtures/index.d.ts +0 -2
  522. package/lib/cjs/displays/Displays.d.ts +0 -18
  523. package/lib/cjs/displays/index.d.ts +0 -2
  524. package/lib/cjs/formio.embed.d.ts +0 -2
  525. package/lib/cjs/formio.form.d.ts +0 -17
  526. package/lib/cjs/i18n.d.ts +0 -13
  527. package/lib/cjs/index.d.ts +0 -5
  528. package/lib/cjs/licenses/Licenses.d.ts +0 -7
  529. package/lib/cjs/licenses/index.d.ts +0 -2
  530. package/lib/cjs/pdf.image.d.ts +0 -2
  531. package/lib/cjs/providers/Providers.d.ts +0 -80
  532. package/lib/cjs/providers/address/AddressProvider.d.ts +0 -17
  533. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +0 -12
  534. package/lib/cjs/providers/address/CustomAddressProvider.d.ts +0 -7
  535. package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +0 -18
  536. package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +0 -11
  537. package/lib/cjs/providers/address/index.d.ts +0 -6
  538. package/lib/cjs/providers/auth/index.d.ts +0 -2
  539. package/lib/cjs/providers/index.d.ts +0 -2
  540. package/lib/cjs/providers/processor/fileProcessor.d.ts +0 -2
  541. package/lib/cjs/providers/storage/azure.d.ts +0 -15
  542. package/lib/cjs/providers/storage/base64.d.ts +0 -10
  543. package/lib/cjs/providers/storage/dropbox.d.ts +0 -8
  544. package/lib/cjs/providers/storage/googleDrive.d.ts +0 -8
  545. package/lib/cjs/providers/storage/index.d.ts +0 -15
  546. package/lib/cjs/providers/storage/indexeddb.d.ts +0 -11
  547. package/lib/cjs/providers/storage/s3.d.ts +0 -17
  548. package/lib/cjs/providers/storage/uploadAdapter.d.ts +0 -1
  549. package/lib/cjs/providers/storage/url.d.ts +0 -11
  550. package/lib/cjs/providers/storage/xhr.d.ts +0 -7
  551. package/lib/cjs/templates/Templates.d.ts +0 -1
  552. package/lib/cjs/templates/index.d.ts +0 -229
  553. package/lib/cjs/translations/en.d.ts +0 -71
  554. package/lib/cjs/utils/ChoicesWrapper.d.ts +0 -38
  555. package/lib/cjs/utils/Evaluator.d.ts +0 -4
  556. package/lib/cjs/utils/builder.d.ts +0 -22
  557. package/lib/cjs/utils/calendarUtils.d.ts +0 -41
  558. package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
  559. package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
  560. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
  561. package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
  562. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
  563. package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +0 -7
  564. package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
  565. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
  566. package/lib/cjs/utils/conditionOperators/Includes.d.ts +0 -7
  567. package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
  568. package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
  569. package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
  570. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
  571. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
  572. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
  573. package/lib/cjs/utils/conditionOperators/LessThan.d.ts +0 -7
  574. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
  575. package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
  576. package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +0 -7
  577. package/lib/cjs/utils/conditionOperators/index.d.ts +0 -7
  578. package/lib/cjs/utils/formUtils.d.ts +0 -173
  579. package/lib/cjs/utils/i18n.d.ts +0 -16
  580. package/lib/cjs/utils/index.d.ts +0 -3
  581. package/lib/cjs/utils/jsonlogic/operators.d.ts +0 -1
  582. package/lib/cjs/utils/utils.d.ts +0 -375
  583. package/lib/cjs/widgets/CalendarWidget.d.ts +0 -97
  584. package/lib/cjs/widgets/InputWidget.d.ts +0 -24
  585. package/lib/cjs/widgets/index.d.ts +0 -7
  586. package/lib/mjs/CDN.d.ts +0 -29
  587. package/lib/mjs/Element.d.ts +0 -255
  588. package/lib/mjs/Embed.d.ts +0 -52
  589. package/lib/mjs/EventEmitter.d.ts +0 -7
  590. package/lib/mjs/Form.d.ts +0 -93
  591. package/lib/mjs/FormBuilder.d.ts +0 -6
  592. package/lib/mjs/Formio.d.ts +0 -1
  593. package/lib/mjs/PDF.d.ts +0 -40
  594. package/lib/mjs/PDFBuilder.d.ts +0 -55
  595. package/lib/mjs/Webform.d.ts +0 -402
  596. package/lib/mjs/WebformBuilder.d.ts +0 -126
  597. package/lib/mjs/Wizard.d.ts +0 -97
  598. package/lib/mjs/WizardBuilder.d.ts +0 -49
  599. package/lib/mjs/addons/FormioAddon.d.ts +0 -19
  600. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -716
  601. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
  602. package/lib/mjs/addons/index.d.ts +0 -626
  603. package/lib/mjs/builders/Builders.d.ts +0 -18
  604. package/lib/mjs/builders/index.d.ts +0 -2
  605. package/lib/mjs/components/Components.d.ts +0 -265
  606. package/lib/mjs/components/_classes/component/Component.d.ts +0 -828
  607. package/lib/mjs/components/_classes/component/Component.form.d.ts +0 -3
  608. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -653
  609. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
  610. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
  611. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
  612. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
  613. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
  614. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
  615. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
  616. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -83
  617. package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
  618. package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
  619. package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
  620. package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
  621. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +0 -5
  622. package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
  623. package/lib/mjs/components/_classes/field/Field.d.ts +0 -5
  624. package/lib/mjs/components/_classes/input/Input.d.ts +0 -42
  625. package/lib/mjs/components/_classes/list/ListComponent.d.ts +0 -18
  626. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +0 -3
  627. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
  628. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
  629. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +0 -150
  630. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
  631. package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
  632. package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
  633. package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
  634. package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +0 -3
  635. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -16
  636. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
  637. package/lib/mjs/components/address/Address.d.ts +0 -66
  638. package/lib/mjs/components/address/Address.form.d.ts +0 -3
  639. package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +0 -31
  640. package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +0 -49
  641. package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
  642. package/lib/mjs/components/address/fixtures/comp1.d.ts +0 -34
  643. package/lib/mjs/components/address/fixtures/comp2.d.ts +0 -62
  644. package/lib/mjs/components/address/fixtures/comp3.d.ts +0 -44
  645. package/lib/mjs/components/address/fixtures/comp4.d.ts +0 -56
  646. package/lib/mjs/components/address/fixtures/index.d.ts +0 -5
  647. package/lib/mjs/components/address/fixtures/values.d.ts +0 -22
  648. package/lib/mjs/components/alert/Alert.d.ts +0 -30
  649. package/lib/mjs/components/builder.d.ts +0 -2
  650. package/lib/mjs/components/button/Button.d.ts +0 -45
  651. package/lib/mjs/components/button/Button.form.d.ts +0 -3
  652. package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +0 -360
  653. package/lib/mjs/components/button/fixtures/comp1.d.ts +0 -15
  654. package/lib/mjs/components/button/fixtures/comp2.d.ts +0 -25
  655. package/lib/mjs/components/button/fixtures/comp3.d.ts +0 -113
  656. package/lib/mjs/components/button/fixtures/index.d.ts +0 -4
  657. package/lib/mjs/components/button/fixtures/values.d.ts +0 -2
  658. package/lib/mjs/components/checkbox/Checkbox.d.ts +0 -77
  659. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +0 -3
  660. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
  661. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
  662. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
  663. package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +0 -24
  664. package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +0 -12
  665. package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +0 -15
  666. package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +0 -46
  667. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
  668. package/lib/mjs/components/checkbox/fixtures/index.d.ts +0 -6
  669. package/lib/mjs/components/checkbox/fixtures/values.d.ts +0 -2
  670. package/lib/mjs/components/columns/Columns.d.ts +0 -28
  671. package/lib/mjs/components/columns/Columns.form.d.ts +0 -3
  672. package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +0 -87
  673. package/lib/mjs/components/columns/fixtures/comp1.d.ts +0 -45
  674. package/lib/mjs/components/columns/fixtures/comp2.d.ts +0 -24
  675. package/lib/mjs/components/columns/fixtures/comp3.d.ts +0 -45
  676. package/lib/mjs/components/columns/fixtures/index.d.ts +0 -4
  677. package/lib/mjs/components/container/Container.d.ts +0 -16
  678. package/lib/mjs/components/container/Container.form.d.ts +0 -3
  679. package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +0 -5
  680. package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +0 -5
  681. package/lib/mjs/components/container/fixtures/comp1.d.ts +0 -49
  682. package/lib/mjs/components/container/fixtures/comp2.d.ts +0 -30
  683. package/lib/mjs/components/container/fixtures/comp3.d.ts +0 -77
  684. package/lib/mjs/components/container/fixtures/index.d.ts +0 -4
  685. package/lib/mjs/components/content/Content.d.ts +0 -18
  686. package/lib/mjs/components/content/Content.form.d.ts +0 -3
  687. package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +0 -18
  688. package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
  689. package/lib/mjs/components/content/fixtures/comp1.d.ts +0 -13
  690. package/lib/mjs/components/content/fixtures/index.d.ts +0 -2
  691. package/lib/mjs/components/currency/Currency.d.ts +0 -8
  692. package/lib/mjs/components/currency/Currency.form.d.ts +0 -3
  693. package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
  694. package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
  695. package/lib/mjs/components/currency/fixtures/comp1.d.ts +0 -31
  696. package/lib/mjs/components/currency/fixtures/comp2.d.ts +0 -20
  697. package/lib/mjs/components/currency/fixtures/comp3.d.ts +0 -13
  698. package/lib/mjs/components/currency/fixtures/comp4.d.ts +0 -17
  699. package/lib/mjs/components/currency/fixtures/index.d.ts +0 -5
  700. package/lib/mjs/components/currency/fixtures/values.d.ts +0 -2
  701. package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -80
  702. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +0 -3
  703. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
  704. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
  705. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
  706. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
  707. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  708. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
  709. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
  710. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
  711. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
  712. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
  713. package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +0 -93
  714. package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +0 -18
  715. package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +0 -14
  716. package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +0 -27
  717. package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +0 -67
  718. package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +0 -567
  719. package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +0 -28
  720. package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +0 -35
  721. package/lib/mjs/components/datagrid/fixtures/index.d.ts +0 -15
  722. package/lib/mjs/components/datamap/DataMap.d.ts +0 -36
  723. package/lib/mjs/components/datamap/DataMap.form.d.ts +0 -3
  724. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
  725. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
  726. package/lib/mjs/components/datamap/fixtures/comp1.d.ts +0 -18
  727. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
  728. package/lib/mjs/components/datamap/fixtures/index.d.ts +0 -3
  729. package/lib/mjs/components/datetime/DateTime.d.ts +0 -39
  730. package/lib/mjs/components/datetime/DateTime.form.d.ts +0 -3
  731. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
  732. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
  733. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
  734. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
  735. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
  736. package/lib/mjs/components/datetime/fixtures/comp1.d.ts +0 -45
  737. package/lib/mjs/components/datetime/fixtures/comp10.d.ts +0 -102
  738. package/lib/mjs/components/datetime/fixtures/comp11.d.ts +0 -58
  739. package/lib/mjs/components/datetime/fixtures/comp12.d.ts +0 -57
  740. package/lib/mjs/components/datetime/fixtures/comp2.d.ts +0 -42
  741. package/lib/mjs/components/datetime/fixtures/comp3.d.ts +0 -51
  742. package/lib/mjs/components/datetime/fixtures/comp5.d.ts +0 -57
  743. package/lib/mjs/components/datetime/fixtures/comp6.d.ts +0 -55
  744. package/lib/mjs/components/datetime/fixtures/comp7.d.ts +0 -59
  745. package/lib/mjs/components/datetime/fixtures/comp8.d.ts +0 -59
  746. package/lib/mjs/components/datetime/fixtures/comp9.d.ts +0 -64
  747. package/lib/mjs/components/datetime/fixtures/index.d.ts +0 -12
  748. package/lib/mjs/components/datetime/fixtures/values.d.ts +0 -2
  749. package/lib/mjs/components/day/Day.d.ts +0 -163
  750. package/lib/mjs/components/day/Day.form.d.ts +0 -3
  751. package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +0 -5
  752. package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +0 -40
  753. package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +0 -40
  754. package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +0 -40
  755. package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
  756. package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +0 -40
  757. package/lib/mjs/components/day/fixtures/comp1.d.ts +0 -46
  758. package/lib/mjs/components/day/fixtures/comp2.d.ts +0 -46
  759. package/lib/mjs/components/day/fixtures/comp3.d.ts +0 -48
  760. package/lib/mjs/components/day/fixtures/comp4.d.ts +0 -53
  761. package/lib/mjs/components/day/fixtures/comp5.d.ts +0 -29
  762. package/lib/mjs/components/day/fixtures/comp6.d.ts +0 -81
  763. package/lib/mjs/components/day/fixtures/index.d.ts +0 -7
  764. package/lib/mjs/components/day/fixtures/values.d.ts +0 -2
  765. package/lib/mjs/components/editgrid/EditGrid.d.ts +0 -103
  766. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +0 -3
  767. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
  768. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
  769. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
  770. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
  771. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
  772. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
  773. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
  774. package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
  775. package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +0 -89
  776. package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +0 -49
  777. package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +0 -53
  778. package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +0 -57
  779. package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +0 -64
  780. package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +0 -88
  781. package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +0 -54
  782. package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +0 -112
  783. package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +0 -27
  784. package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +0 -23
  785. package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +0 -19
  786. package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +0 -50
  787. package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +0 -129
  788. package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +0 -148
  789. package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +0 -86
  790. package/lib/mjs/components/editgrid/fixtures/index.d.ts +0 -19
  791. package/lib/mjs/components/email/Email.d.ts +0 -4
  792. package/lib/mjs/components/email/Email.form.d.ts +0 -3
  793. package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +0 -5
  794. package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
  795. package/lib/mjs/components/email/fixtures/comp1.d.ts +0 -26
  796. package/lib/mjs/components/email/fixtures/comp2.d.ts +0 -23
  797. package/lib/mjs/components/email/fixtures/index.d.ts +0 -3
  798. package/lib/mjs/components/email/fixtures/values.d.ts +0 -2
  799. package/lib/mjs/components/fieldset/Fieldset.d.ts +0 -15
  800. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +0 -3
  801. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
  802. package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +0 -46
  803. package/lib/mjs/components/fieldset/fixtures/index.d.ts +0 -2
  804. package/lib/mjs/components/file/File.d.ts +0 -81
  805. package/lib/mjs/components/file/File.form.d.ts +0 -3
  806. package/lib/mjs/components/file/editForm/File.edit.data.d.ts +0 -5
  807. package/lib/mjs/components/file/editForm/File.edit.display.d.ts +0 -5
  808. package/lib/mjs/components/file/editForm/File.edit.file.d.ts +0 -275
  809. package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +0 -5
  810. package/lib/mjs/components/file/fixtures/comp1.d.ts +0 -15
  811. package/lib/mjs/components/file/fixtures/comp2.d.ts +0 -35
  812. package/lib/mjs/components/file/fixtures/comp3.d.ts +0 -29
  813. package/lib/mjs/components/file/fixtures/index.d.ts +0 -3
  814. package/lib/mjs/components/file/fixtures/values.d.ts +0 -10
  815. package/lib/mjs/components/form/Form.d.ts +0 -94
  816. package/lib/mjs/components/form/Form.form.d.ts +0 -3
  817. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +0 -82
  818. package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +0 -5
  819. package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +0 -89
  820. package/lib/mjs/components/form/fixtures/comp1.d.ts +0 -45
  821. package/lib/mjs/components/form/fixtures/comp2.d.ts +0 -14
  822. package/lib/mjs/components/form/fixtures/comp3.d.ts +0 -187
  823. package/lib/mjs/components/form/fixtures/comp4.d.ts +0 -107
  824. package/lib/mjs/components/form/fixtures/comp5.d.ts +0 -42
  825. package/lib/mjs/components/form/fixtures/comp6.d.ts +0 -74
  826. package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +0 -42
  827. package/lib/mjs/components/form/fixtures/index.d.ts +0 -8
  828. package/lib/mjs/components/form/fixtures/values.d.ts +0 -6
  829. package/lib/mjs/components/hidden/Hidden.d.ts +0 -26
  830. package/lib/mjs/components/hidden/Hidden.form.d.ts +0 -3
  831. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
  832. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
  833. package/lib/mjs/components/hidden/fixtures/comp1.d.ts +0 -18
  834. package/lib/mjs/components/hidden/fixtures/index.d.ts +0 -2
  835. package/lib/mjs/components/hidden/fixtures/values.d.ts +0 -2
  836. package/lib/mjs/components/html/HTML.d.ts +0 -18
  837. package/lib/mjs/components/html/HTML.form.d.ts +0 -3
  838. package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
  839. package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
  840. package/lib/mjs/components/html/fixtures/comp1.d.ts +0 -19
  841. package/lib/mjs/components/html/fixtures/comp2.d.ts +0 -21
  842. package/lib/mjs/components/html/fixtures/index.d.ts +0 -3
  843. package/lib/mjs/components/index.d.ts +0 -98
  844. package/lib/mjs/components/number/Number.d.ts +0 -53
  845. package/lib/mjs/components/number/Number.form.d.ts +0 -3
  846. package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +0 -18
  847. package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +0 -5
  848. package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
  849. package/lib/mjs/components/number/fixtures/comp1.d.ts +0 -33
  850. package/lib/mjs/components/number/fixtures/comp2.d.ts +0 -32
  851. package/lib/mjs/components/number/fixtures/comp3.d.ts +0 -14
  852. package/lib/mjs/components/number/fixtures/comp4.d.ts +0 -14
  853. package/lib/mjs/components/number/fixtures/comp5.d.ts +0 -20
  854. package/lib/mjs/components/number/fixtures/comp6.d.ts +0 -40
  855. package/lib/mjs/components/number/fixtures/comp7.d.ts +0 -15
  856. package/lib/mjs/components/number/fixtures/index.d.ts +0 -8
  857. package/lib/mjs/components/number/fixtures/values.d.ts +0 -2
  858. package/lib/mjs/components/panel/Panel.d.ts +0 -14
  859. package/lib/mjs/components/panel/Panel.form.d.ts +0 -3
  860. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
  861. package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +0 -196
  862. package/lib/mjs/components/panel/fixtures/comp1.d.ts +0 -46
  863. package/lib/mjs/components/panel/fixtures/comp2.d.ts +0 -80
  864. package/lib/mjs/components/panel/fixtures/index.d.ts +0 -3
  865. package/lib/mjs/components/password/Password.d.ts +0 -3
  866. package/lib/mjs/components/password/Password.form.d.ts +0 -3
  867. package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +0 -18
  868. package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +0 -5
  869. package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
  870. package/lib/mjs/components/password/fixtures/comp1.d.ts +0 -22
  871. package/lib/mjs/components/password/fixtures/comp2.d.ts +0 -27
  872. package/lib/mjs/components/password/fixtures/index.d.ts +0 -3
  873. package/lib/mjs/components/password/fixtures/values.d.ts +0 -2
  874. package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +0 -3
  875. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
  876. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
  877. package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
  878. package/lib/mjs/components/phonenumber/fixtures/index.d.ts +0 -2
  879. package/lib/mjs/components/phonenumber/fixtures/values.d.ts +0 -2
  880. package/lib/mjs/components/radio/Radio.d.ts +0 -65
  881. package/lib/mjs/components/radio/Radio.form.d.ts +0 -3
  882. package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
  883. package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
  884. package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
  885. package/lib/mjs/components/radio/fixtures/comp1.d.ts +0 -28
  886. package/lib/mjs/components/radio/fixtures/comp2.d.ts +0 -85
  887. package/lib/mjs/components/radio/fixtures/comp3.d.ts +0 -85
  888. package/lib/mjs/components/radio/fixtures/comp4.d.ts +0 -19
  889. package/lib/mjs/components/radio/fixtures/comp5.d.ts +0 -39
  890. package/lib/mjs/components/radio/fixtures/comp6.d.ts +0 -38
  891. package/lib/mjs/components/radio/fixtures/comp7.d.ts +0 -23
  892. package/lib/mjs/components/radio/fixtures/comp8.d.ts +0 -118
  893. package/lib/mjs/components/radio/fixtures/comp9.d.ts +0 -35
  894. package/lib/mjs/components/radio/fixtures/index.d.ts +0 -10
  895. package/lib/mjs/components/radio/fixtures/values.d.ts +0 -2
  896. package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +0 -23
  897. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
  898. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
  899. package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
  900. package/lib/mjs/components/recaptcha/fixtures/index.d.ts +0 -2
  901. package/lib/mjs/components/resource/Resource.d.ts +0 -10
  902. package/lib/mjs/components/resource/Resource.form.d.ts +0 -3
  903. package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
  904. package/lib/mjs/components/resource/fixtures/comp1.d.ts +0 -30
  905. package/lib/mjs/components/resource/fixtures/comp2.d.ts +0 -35
  906. package/lib/mjs/components/resource/fixtures/index.d.ts +0 -3
  907. package/lib/mjs/components/select/Select.d.ts +0 -145
  908. package/lib/mjs/components/select/Select.form.d.ts +0 -3
  909. package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
  910. package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +0 -27
  911. package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
  912. package/lib/mjs/components/select/fixtures/comp1.d.ts +0 -40
  913. package/lib/mjs/components/select/fixtures/comp10.d.ts +0 -41
  914. package/lib/mjs/components/select/fixtures/comp11.d.ts +0 -28
  915. package/lib/mjs/components/select/fixtures/comp12.d.ts +0 -53
  916. package/lib/mjs/components/select/fixtures/comp13.d.ts +0 -28
  917. package/lib/mjs/components/select/fixtures/comp14.d.ts +0 -40
  918. package/lib/mjs/components/select/fixtures/comp15.d.ts +0 -50
  919. package/lib/mjs/components/select/fixtures/comp16.d.ts +0 -34
  920. package/lib/mjs/components/select/fixtures/comp17.d.ts +0 -51
  921. package/lib/mjs/components/select/fixtures/comp18.d.ts +0 -49
  922. package/lib/mjs/components/select/fixtures/comp19.d.ts +0 -23
  923. package/lib/mjs/components/select/fixtures/comp2.d.ts +0 -41
  924. package/lib/mjs/components/select/fixtures/comp3.d.ts +0 -35
  925. package/lib/mjs/components/select/fixtures/comp4.d.ts +0 -103
  926. package/lib/mjs/components/select/fixtures/comp5.d.ts +0 -21
  927. package/lib/mjs/components/select/fixtures/comp6.d.ts +0 -20
  928. package/lib/mjs/components/select/fixtures/comp7.d.ts +0 -63
  929. package/lib/mjs/components/select/fixtures/comp8.d.ts +0 -72
  930. package/lib/mjs/components/select/fixtures/comp9.d.ts +0 -88
  931. package/lib/mjs/components/select/fixtures/index.d.ts +0 -20
  932. package/lib/mjs/components/select/fixtures/values.d.ts +0 -2
  933. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +0 -51
  934. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
  935. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
  936. package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
  937. package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
  938. package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
  939. package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
  940. package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
  941. package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
  942. package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
  943. package/lib/mjs/components/selectboxes/fixtures/index.d.ts +0 -8
  944. package/lib/mjs/components/selectboxes/fixtures/values.d.ts +0 -6
  945. package/lib/mjs/components/signature/Signature.d.ts +0 -46
  946. package/lib/mjs/components/signature/Signature.form.d.ts +0 -3
  947. package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
  948. package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
  949. package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
  950. package/lib/mjs/components/signature/fixtures/comp1.d.ts +0 -30
  951. package/lib/mjs/components/signature/fixtures/index.d.ts +0 -2
  952. package/lib/mjs/components/signature/fixtures/values.d.ts +0 -2
  953. package/lib/mjs/components/survey/Survey.d.ts +0 -37
  954. package/lib/mjs/components/survey/Survey.form.d.ts +0 -3
  955. package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
  956. package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
  957. package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
  958. package/lib/mjs/components/survey/fixtures/comp1.d.ts +0 -31
  959. package/lib/mjs/components/survey/fixtures/comp2.d.ts +0 -31
  960. package/lib/mjs/components/survey/fixtures/index.d.ts +0 -3
  961. package/lib/mjs/components/survey/fixtures/values.d.ts +0 -5
  962. package/lib/mjs/components/table/Table.d.ts +0 -23
  963. package/lib/mjs/components/table/Table.form.d.ts +0 -3
  964. package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +0 -84
  965. package/lib/mjs/components/table/fixtures/comp1.d.ts +0 -53
  966. package/lib/mjs/components/table/fixtures/index.d.ts +0 -2
  967. package/lib/mjs/components/tabs/Tabs.d.ts +0 -30
  968. package/lib/mjs/components/tabs/Tabs.form.d.ts +0 -3
  969. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -77
  970. package/lib/mjs/components/tabs/fixtures/comp1.d.ts +0 -23
  971. package/lib/mjs/components/tabs/fixtures/index.d.ts +0 -2
  972. package/lib/mjs/components/tags/Tags.d.ts +0 -41
  973. package/lib/mjs/components/tags/Tags.form.d.ts +0 -3
  974. package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
  975. package/lib/mjs/components/tags/fixtures/comp1.d.ts +0 -20
  976. package/lib/mjs/components/tags/fixtures/comp2.d.ts +0 -10
  977. package/lib/mjs/components/tags/fixtures/comp3.d.ts +0 -23
  978. package/lib/mjs/components/tags/fixtures/comp4.d.ts +0 -9
  979. package/lib/mjs/components/tags/fixtures/comp5.d.ts +0 -24
  980. package/lib/mjs/components/tags/fixtures/comp6.d.ts +0 -17
  981. package/lib/mjs/components/tags/fixtures/index.d.ts +0 -7
  982. package/lib/mjs/components/tags/fixtures/values.d.ts +0 -2
  983. package/lib/mjs/components/textarea/TextArea.d.ts +0 -37
  984. package/lib/mjs/components/textarea/TextArea.form.d.ts +0 -3
  985. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
  986. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
  987. package/lib/mjs/components/textarea/fixtures/comp1.d.ts +0 -31
  988. package/lib/mjs/components/textarea/fixtures/comp2.d.ts +0 -29
  989. package/lib/mjs/components/textarea/fixtures/comp3.d.ts +0 -27
  990. package/lib/mjs/components/textarea/fixtures/comp4.d.ts +0 -30
  991. package/lib/mjs/components/textarea/fixtures/index.d.ts +0 -5
  992. package/lib/mjs/components/textarea/fixtures/values.d.ts +0 -2
  993. package/lib/mjs/components/textfield/TextField.d.ts +0 -60
  994. package/lib/mjs/components/textfield/TextField.form.d.ts +0 -3
  995. package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
  996. package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
  997. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
  998. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
  999. package/lib/mjs/components/textfield/fixtures/comp1.d.ts +0 -33
  1000. package/lib/mjs/components/textfield/fixtures/comp2.d.ts +0 -33
  1001. package/lib/mjs/components/textfield/fixtures/comp3.d.ts +0 -33
  1002. package/lib/mjs/components/textfield/fixtures/comp4.d.ts +0 -23
  1003. package/lib/mjs/components/textfield/fixtures/comp5.d.ts +0 -12
  1004. package/lib/mjs/components/textfield/fixtures/comp6.d.ts +0 -25
  1005. package/lib/mjs/components/textfield/fixtures/comp7.d.ts +0 -37
  1006. package/lib/mjs/components/textfield/fixtures/index.d.ts +0 -9
  1007. package/lib/mjs/components/textfield/fixtures/values.d.ts +0 -2
  1008. package/lib/mjs/components/time/Time.d.ts +0 -27
  1009. package/lib/mjs/components/time/Time.form.d.ts +0 -3
  1010. package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +0 -10
  1011. package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +0 -52
  1012. package/lib/mjs/components/time/fixtures/comp1.d.ts +0 -24
  1013. package/lib/mjs/components/time/fixtures/comp2.d.ts +0 -10
  1014. package/lib/mjs/components/time/fixtures/comp3.d.ts +0 -15
  1015. package/lib/mjs/components/time/fixtures/index.d.ts +0 -6
  1016. package/lib/mjs/components/time/fixtures/timeForm.d.ts +0 -47
  1017. package/lib/mjs/components/time/fixtures/timeForm2.d.ts +0 -38
  1018. package/lib/mjs/components/time/fixtures/values.d.ts +0 -2
  1019. package/lib/mjs/components/unknown/Unknown.d.ts +0 -28
  1020. package/lib/mjs/components/unknown/Unknown.form.d.ts +0 -34
  1021. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
  1022. package/lib/mjs/components/unknown/fixtures/comp1.d.ts +0 -7
  1023. package/lib/mjs/components/unknown/fixtures/index.d.ts +0 -2
  1024. package/lib/mjs/components/url/Url.d.ts +0 -3
  1025. package/lib/mjs/components/url/Url.form.d.ts +0 -3
  1026. package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +0 -5
  1027. package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +0 -5
  1028. package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
  1029. package/lib/mjs/components/url/fixtures/comp1.d.ts +0 -26
  1030. package/lib/mjs/components/url/fixtures/comp2.d.ts +0 -26
  1031. package/lib/mjs/components/url/fixtures/index.d.ts +0 -3
  1032. package/lib/mjs/components/url/fixtures/values.d.ts +0 -2
  1033. package/lib/mjs/components/well/Well.d.ts +0 -15
  1034. package/lib/mjs/components/well/Well.form.d.ts +0 -3
  1035. package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +0 -28
  1036. package/lib/mjs/components/well/fixtures/comp1.d.ts +0 -43
  1037. package/lib/mjs/components/well/fixtures/index.d.ts +0 -2
  1038. package/lib/mjs/displays/Displays.d.ts +0 -18
  1039. package/lib/mjs/displays/index.d.ts +0 -2
  1040. package/lib/mjs/formio.embed.d.ts +0 -2
  1041. package/lib/mjs/formio.form.d.ts +0 -17
  1042. package/lib/mjs/i18n.d.ts +0 -13
  1043. package/lib/mjs/index.d.ts +0 -5
  1044. package/lib/mjs/licenses/Licenses.d.ts +0 -7
  1045. package/lib/mjs/licenses/index.d.ts +0 -2
  1046. package/lib/mjs/pdf.image.d.ts +0 -2
  1047. package/lib/mjs/providers/Providers.d.ts +0 -80
  1048. package/lib/mjs/providers/address/AddressProvider.d.ts +0 -17
  1049. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +0 -12
  1050. package/lib/mjs/providers/address/CustomAddressProvider.d.ts +0 -7
  1051. package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +0 -18
  1052. package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +0 -11
  1053. package/lib/mjs/providers/address/index.d.ts +0 -6
  1054. package/lib/mjs/providers/auth/index.d.ts +0 -2
  1055. package/lib/mjs/providers/index.d.ts +0 -2
  1056. package/lib/mjs/providers/processor/fileProcessor.d.ts +0 -2
  1057. package/lib/mjs/providers/storage/azure.d.ts +0 -15
  1058. package/lib/mjs/providers/storage/base64.d.ts +0 -10
  1059. package/lib/mjs/providers/storage/dropbox.d.ts +0 -8
  1060. package/lib/mjs/providers/storage/googleDrive.d.ts +0 -8
  1061. package/lib/mjs/providers/storage/index.d.ts +0 -15
  1062. package/lib/mjs/providers/storage/indexeddb.d.ts +0 -11
  1063. package/lib/mjs/providers/storage/s3.d.ts +0 -17
  1064. package/lib/mjs/providers/storage/uploadAdapter.d.ts +0 -1
  1065. package/lib/mjs/providers/storage/url.d.ts +0 -11
  1066. package/lib/mjs/providers/storage/xhr.d.ts +0 -7
  1067. package/lib/mjs/templates/Templates.d.ts +0 -1
  1068. package/lib/mjs/templates/index.d.ts +0 -229
  1069. package/lib/mjs/translations/en.d.ts +0 -71
  1070. package/lib/mjs/utils/ChoicesWrapper.d.ts +0 -38
  1071. package/lib/mjs/utils/Evaluator.d.ts +0 -4
  1072. package/lib/mjs/utils/builder.d.ts +0 -22
  1073. package/lib/mjs/utils/calendarUtils.d.ts +0 -41
  1074. package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
  1075. package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
  1076. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
  1077. package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
  1078. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
  1079. package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +0 -7
  1080. package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
  1081. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
  1082. package/lib/mjs/utils/conditionOperators/Includes.d.ts +0 -7
  1083. package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
  1084. package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
  1085. package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
  1086. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
  1087. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
  1088. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
  1089. package/lib/mjs/utils/conditionOperators/LessThan.d.ts +0 -7
  1090. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
  1091. package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
  1092. package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +0 -7
  1093. package/lib/mjs/utils/conditionOperators/index.d.ts +0 -7
  1094. package/lib/mjs/utils/formUtils.d.ts +0 -173
  1095. package/lib/mjs/utils/i18n.d.ts +0 -16
  1096. package/lib/mjs/utils/index.d.ts +0 -3
  1097. package/lib/mjs/utils/jsonlogic/operators.d.ts +0 -1
  1098. package/lib/mjs/utils/utils.d.ts +0 -375
  1099. package/lib/mjs/widgets/CalendarWidget.d.ts +0 -97
  1100. package/lib/mjs/widgets/InputWidget.d.ts +0 -24
  1101. package/lib/mjs/widgets/index.d.ts +0 -7
package/types/formio.d.ts CHANGED
@@ -1,119 +1,1221 @@
1
- export class Formio {
2
- constructor(url: string, options?: Object);
3
- public base: string;
4
- public projectsUrl: string;
5
- public projectUrl: string;
6
- public projectId: string;
7
- public formId: string;
8
- public submissionId: string;
9
- public actionsUrl: string;
10
- public actionId: string;
11
- public actionUrl: string;
12
- public vsUrl: string;
13
- public vId: string;
14
- public vUrl: string;
15
- public query: string;
16
- public formUrl?: string;
17
- public formsUrl?: string;
18
- public submissionUrl?: string;
19
- public submissionsUrl?: string;
20
- public token: any | string;
21
- static libraries: any;
22
- static Promise: any;
23
- static fetch: any;
24
- static Headers: any;
25
- static baseUrl: string;
26
- static projectUrl: string;
27
- static authUrl: string;
28
- static projectUrlSet: boolean;
29
- static plugins: any;
30
- static cache: any;
31
- static providers: any;
32
- static events: any; // EventEmitter3
33
- static namespace: string;
34
- static formOnly?: boolean;
35
- static rulesEntities: any;
36
- delete(type: any, opts?: any): any;
37
- index(type: any, query?: any, opts?: any): any;
38
- save(type: any, data: any, opts?: any): any;
39
- load(type: any, query?: any, opts?: any): any;
40
- makeRequest(...args: any[]): any;
41
- loadProject(query?: any, opts?: any): any;
42
- saveProject(data: any, opts?: any): any;
43
- deleteProject(opts?: any): any;
44
- static loadProjects(query?: any, opts?: any): any;
45
- static createForm(element: any, form: string | Object, options?: Object): Promise<any>;
46
- static setBaseUrl(url: string): void;
47
- static setProjectUrl(url: string): void;
48
- static setAuthUrl(url: string): void;
49
- static getToken(options?: any): any;
50
- static makeStaticRequest(url: string, method?: string, data?: any, opts?: Object): any;
51
- static makeRequest(formio?: Formio, type?: string, url?: string, method?: string, data?: any, opts?: Object): any;
52
- static currentUser(formio?: Formio, options?: Object): any;
53
- static logout(formio?: Formio, options?: Object): any;
54
- static clearCache(): void;
55
- static setUser(user: any, opts?: Object): any;
56
- loadForm(query?: any, opts?: Object): any;
57
- loadForms(query?: any, opts?: Object): any;
58
- loadSubmission(query?: any, opts?: Object): any;
59
- loadSubmissions(query?: any, opts?: Object): any;
60
- userPermissions(
61
- user?: any,
62
- form?: any,
63
- submission?: any,
64
- ): Promise<{ create: boolean; read: boolean; edit: boolean; delete: boolean }>;
65
- createform(form: Object): Promise<any>;
66
- saveForm(data: any, opts?: Object): any;
67
- saveSubmission(data: any, opts?: Object): any;
68
- deleteForm(opts?: Object): any;
69
- deleteSubmission(opts?: Object): any;
70
- saveAction(data: any, opts?: any): any;
71
- deleteAction(opts?: any): any;
72
- loadAction(query?: any, opts?: any): any;
73
- loadActions(query?: any, opts?: any): any;
74
- availableActions(): any;
75
- actionInfo(name: any): any;
76
- isObjectId(id: any): any;
77
- getProjectId(): any;
78
- getFormId(): any;
79
- currentUser(options?: Object): any;
80
- accessInfo(): any;
81
- getToken(options?: Object): any;
82
- setToken(token: any, options?: Object): any;
83
- getTempToken(expire: any, allowed: any, options?: Object): any;
84
- getDownloadUrl(form: any): any;
85
- uploadFile(storage: any, file: any, fileName: any, dir: any, progressCallback: any, url: any, options?: Object): any;
86
- downloadFile(file: any, options?: Object): any;
87
- canSubmit(): any;
88
- getUrlParts(url: any): any;
89
- static use(plugin: any): any;
90
- static getUrlParts(url: any, formio?: Formio): any;
91
- static serialize(obj: any, _interpolate: any): any;
92
- static getRequestArgs(formio: Formio, type: string, url: string, method?: string, data?: any, opts?: any): any;
93
- static request(url: any, method?: any, data?: any, header?: any, opts?: any): any;
94
- static setToken(token: string, opts?: any): any;
95
- static getUser(options?: Object): any;
96
- static getBaseUrl(): string;
97
- static setApiUrl(url: string): any;
98
- static getApiUrl(): any;
99
- static setAppUrl(url: string): any;
100
- static getAppUrl(): any;
101
- static getProjectUrl(): any;
102
- static noop(): any;
103
- static identity(value: any): any;
104
- static deregisterPlugin(plugin: any): any;
105
- static registerPlugin(plugin: any, name: string): any;
106
- static getPlugin(name: any | string): any;
107
- static pluginWait(pluginFn: any, ...args: any[]): any;
108
- static pluginGet(pluginFn: any, ...args: any[]): any;
109
- static pluginAlter(pluginFn: any, value: any, ...args: any[]): any;
110
- static accessInfo(formio?: Formio): any;
111
- static pageQuery(): any;
112
- static oAuthCurrentUser(formio?: Formio, token?: any): any;
113
- static samlInit(options?: Object): any;
114
- static oktaInit(options?: Object): any;
115
- static ssoInit(type: any, options?: Object): any;
116
- static requireLibrary(name: any, property: any, src: any, polling?: boolean): any;
117
- static libraryReady(name: string): any;
118
- oauthLogoutURI(uri: string, options?: any): any;
1
+ import EventEmitter from 'eventemitter3';
2
+ import Plugins from './Plugins';
3
+ /**
4
+ * The Formio class options interface.
5
+ */
6
+ export interface FormioOptions {
7
+ /**
8
+ * The base API url of the Form.io Platform. Example: https://api.form.io
9
+ */
10
+ base?: string;
11
+ /**
12
+ * The project API url of the Form.io Project. Example: https://examples.form.io
13
+ */
14
+ project?: string;
15
+ useSessionToken?: boolean;
16
+ }
17
+ /**
18
+ * The different path types for a project.
19
+ */
20
+ export declare enum FormioPathType {
21
+ Subdirectories = 'Subdirectories',
22
+ Subdomains = 'Subdomains'
23
+ }
24
+
25
+ export interface ConditionalOptions {
26
+ /** If the field should show if the condition is true */
27
+ show?: boolean;
28
+ /** The field API key that it should compare its value against to determine if the condition is triggered. */
29
+ when?: string;
30
+ /** The value that should be checked against the comparison component */
31
+ eq?: string;
32
+ /** The JSON Logic to determine if this component is conditionally available.
33
+ * Fyi: http://jsonlogic.com/
34
+ */
35
+ json?: Object;
36
+ }
37
+
38
+ export interface ValidateOptions {
39
+ /**
40
+ * If this component is required.
41
+ */
42
+ required?: boolean;
43
+
44
+ /**
45
+ * For text input, this checks the minimum length of text for valid input
46
+ */
47
+ minLength?: number;
48
+
49
+ /**
50
+ * For text input, this checks the maximum length of text for valid input
51
+ */
52
+ maxLength?: number;
53
+
54
+ /**
55
+ * For text input, this checks the text agains a Regular expression pattern.
56
+ */
57
+ pattern?: string;
58
+
59
+ /**
60
+ * A custom javascript based validation or a JSON object for using JSON Logic
61
+ */
62
+ custom?: any;
63
+
64
+ /**
65
+ * If the custom validation should remain private (only the backend will see it and execute it).
66
+ */
67
+ customPrivate?: boolean;
68
+
69
+ /**
70
+ * Minimum value for numbers
71
+ */
72
+ min?: number;
73
+
74
+ /**
75
+ * Maximum value for numbers
76
+ */
77
+ max?: number;
78
+
79
+ minSelectedCount?: number;
80
+ maxSelectedCount?: number;
81
+ minWords?: number;
82
+ maxWords?: number;
83
+ email?: boolean;
84
+ url?: boolean;
85
+ date?: boolean;
86
+ day?: boolean;
87
+ json?: string;
88
+ mask?: boolean;
89
+ minDate?: any;
90
+ maxDate?: any;
91
+ }
92
+
93
+ /**
94
+ * The Formio interface class. This is a minimalistic API library that allows you to work with the Form.io API's within JavaScript.
95
+ *
96
+ * ## Usage
97
+ * Creating an instance of Formio is simple, and takes only a path (URL String). The path can be different, depending on the desired output.
98
+ * The Formio instance can also access higher level operations, depending on how granular of a path you start with.
99
+ *
100
+ * ```ts
101
+ * var formio = new Formio(<endpoint>, [options]);
102
+ * ```
103
+ *
104
+ * Where **endpoint** is any valid API endpoint within Form.io. These URL's can provide a number of different methods depending on the granularity of the endpoint. This allows you to use the same interface but have access to different methods depending on how granular the endpoint url is.
105
+ * **options** is defined within the {link Formio.constructor} documentation.
106
+ *
107
+ * Here is an example of how this library can be used to load a form JSON from the Form.io API's
108
+ *
109
+ * ```ts
110
+ * const formio = new Formio('https://examples.form.io/example');
111
+ * formio.loadForm().then((form) => {
112
+ * console.log(form);
113
+ * });
114
+ * ```
115
+ */
116
+ export declare class Formio {
117
+ path?: string | undefined;
118
+ options: FormioOptions;
119
+ /**
120
+ * The base API url of the Form.io Platform. Example: https://api.form.io
121
+ */
122
+ static baseUrl: string;
123
+ /**
124
+ * The project API url of the Form.io Project. Example: https://examples.form.io
125
+ */
126
+ static projectUrl: string;
127
+ /**
128
+ * The project url to use for Authentication.
129
+ */
130
+ static authUrl: string;
131
+ /**
132
+ * The path type for the project.
133
+ */
134
+ static pathType?: FormioPathType;
135
+ /**
136
+ * Set to true if the project url has been established with ```Formio.setProjectUrl()```
137
+ */
138
+ static projectUrlSet: boolean;
139
+ /**
140
+ * The Form.io API Cache. This ensures that requests to the same API endpoint are cached.
141
+ */
142
+ static cache: any;
143
+ /**
144
+ * The namespace used to save the Form.io Token's and variables within an application.
145
+ */
146
+ static namespace: string;
147
+ /**
148
+ * Handles events fired within this SDK library.
149
+ */
150
+ static events: EventEmitter;
151
+ /**
152
+ * Stores all of the libraries lazy loaded with ```Formio.requireLibrary``` method.
153
+ */
154
+ static libraries: any;
155
+ /**
156
+ * A direct interface to the Form.io fetch polyfill.
157
+ */
158
+ static fetch: any;
159
+ /**
160
+ * A direct interface to the Form.io fetch Headers polyfill.
161
+ */
162
+ static Headers: any;
163
+ /**
164
+ * All of the auth tokens for this session.
165
+ */
166
+ static tokens: any;
167
+ static config: any;
168
+ static icons: string;
169
+ /**
170
+ * The version of this library.
171
+ */
172
+ static version: string;
173
+ static formOnly: boolean;
174
+ /**
175
+ * The base API url of the Form.io Platform. Example: https://api.form.io
176
+ */
177
+ base: string;
178
+ /**
179
+ * The Projects Endpoint derived from the provided source.
180
+ *
181
+ * @example https://api.form.io/project
182
+ */
183
+ projectsUrl: string;
184
+ /**
185
+ * A specific project endpoint derived from the provided source.
186
+ *
187
+ * @example https://examples.form.io
188
+ */
189
+ projectUrl: string;
190
+ /**
191
+ * The Project ID found within the provided source.
192
+ */
193
+ projectId: string;
194
+ /**
195
+ * A specific Role URL provided the source.
196
+ *
197
+ * @example https://examples.form.io/role/2342343234234234
198
+ */
199
+ roleUrl: string;
200
+ /**
201
+ * The roles endpoint derived from the provided source.
202
+ *
203
+ * @example https://examples.form.io/role
204
+ */
205
+ rolesUrl: string;
206
+ /**
207
+ * The roleID derieved from the provided source.
208
+ */
209
+ roleId: string;
210
+ /**
211
+ * A specific form url derived from the provided source.
212
+ *
213
+ * @example https://examples.form.io/example
214
+ */
215
+ formUrl: string;
216
+ /**
217
+ * The forms url derived from the provided source.
218
+ *
219
+ * @example https://example.form.io/form
220
+ */
221
+ formsUrl: string;
222
+ /**
223
+ * The Form ID derived from the provided source.
224
+ */
225
+ formId: string;
226
+ /**
227
+ * The submissions URL derived from the provided source.
228
+ *
229
+ * @example https://examples.form.io/example/submission
230
+ */
231
+ submissionsUrl: string;
232
+ /**
233
+ * A specific submissions URL derived from a provided source.
234
+ *
235
+ * @example https://examples.form.io/example/submission/223423423423
236
+ */
237
+ submissionUrl: string;
238
+ /**
239
+ * The submission ID provided a submission url.
240
+ */
241
+ submissionId: string;
242
+ /**
243
+ * The actions url provided a form url as the source.
244
+ *
245
+ * @example https://examples.form.io/example/action
246
+ */
247
+ actionsUrl: string;
248
+ /**
249
+ * The Action ID derived from a provided Action url.
250
+ */
251
+ actionId: string;
252
+ /**
253
+ * A specific action api endoint.
254
+ */
255
+ actionUrl: string;
256
+ vsUrl: string;
257
+ vId: string;
258
+ vUrl: string;
259
+ /**
260
+ * The query string derived from the provided src url.
261
+ */
262
+ query: string;
263
+ /**
264
+ * The project type.
265
+ */
266
+ pathType?: FormioPathType;
267
+ /**
268
+ * If this is a non-project url, such is the case for Open Source API.
269
+ */
270
+ noProject: boolean;
271
+ /**
272
+ * @constructor
273
+ * @param {string} path - A project, form, and submission API Url.
274
+ * @param {FormioOptions} options - Available options to configure the Javascript API.
275
+ */
276
+ constructor(path?: string | undefined, options?: FormioOptions);
277
+ /**
278
+ * Deletes a remote resource of any provided type.
279
+ *
280
+ * @param {string} type - The type of resource to delete. "submission", "form", etc.
281
+ * @param {object} options - The options passed to {@link Formio.request}
282
+ * @return {Promise<Response>}
283
+ */
284
+ delete(type: string, opts?: any): any;
285
+ /**
286
+ * Returns the index (array of records) for any provided type.
287
+ *
288
+ * @param {string} type - The type of resource to fetch the index of. "submission", "form", etc.
289
+ * @param {object} query - A query object to pass to the request.
290
+ * @param {object} query.params - A map (key-value pairs) of URL query parameters to add to the url.
291
+ * @param {object} options - Options to pass to {@link Formio.request}
292
+ * @return {Promise<Response>}
293
+ */
294
+ index(type: string, query?: any, opts?: any): any;
295
+ /**
296
+ * Save a document record using "upsert". If the document does not exist, it will be created, if the _id is provided,
297
+ * it will be updated.
298
+ *
299
+ * @param {string} type - The type of resource to fetch the index of. "submission", "form", etc.
300
+ * @param {object} data - The resource data object.
301
+ * @param {object} options - Options to pass to {@link Formio.request}
302
+ * @return {Promise<object>}
303
+ */
304
+ save(type: string, data?: any, opts?: any): any;
305
+ /**
306
+ * @summary Load (GET) a document record.
307
+ *
308
+ * @param {string} type - The type of resource to fetch the index of. "submission", "form", etc.
309
+ * @param {object} query - A query object to pass to the request.
310
+ * @param {object} query.params - A map (key-value pairs) of URL query parameters to add to the url.
311
+ * @param {object} options - Options to pass to {@link Formio.request}
312
+ * @return {Promise<object>}
313
+ */
314
+ load(type: string, query?: any, opts?: any): any;
315
+ /**
316
+ * @summary Call {@link Formio.makeRequest} for this Formio instance.
317
+ *
318
+ * @param {string} type - The request resource type. "submission", "form", etc.
319
+ * @param {string} url - The URL to request.
320
+ * @param {string} method - The request method. GET, PUT, POST, DELETE, or PATCH
321
+ * @param {object} data - The data to pass to the request (for PUT, POST, and PATCH methods)
322
+ * @param {object} options - An object of options to pass to the request method.
323
+ * @param {boolean} options.ignoreCache - To ignore internal caching of the request.
324
+ * @param {object} options.headers - An object of headers to pass along to the request.
325
+ * @param {boolean} options.noToken - If set to true, this will not include the Form.io x-jwt-token along with the request.
326
+ * @param {string} options.namespace - The Form.io namespace to prepend to all LocalStorage variables such as formioToken.
327
+ * @param {boolean} options.getHeaders - Set this if you wish to include the response headers with the return of this method.
328
+ * @return {Promise<Response>}
329
+ */
330
+ makeRequest(type: string, url: string, method?: string, data?: any, opts?: any): any;
331
+ /**
332
+ * @summary Loads a project.
333
+ *
334
+ * ```ts
335
+ * const formio = new Formio('https://examples.form.io');
336
+ * formio.loadProject().then((project) => {
337
+ * console.log(project);
338
+ * });
339
+ * ```
340
+ *
341
+ * @param {object} query - Query parameters to pass to {@link Formio#load}.
342
+ * @param {object} options - Options to pass to {@link Formio.request}
343
+ * @return {Promise<Object>}
344
+ */
345
+ loadProject(query?: any, opts?: any): any;
346
+ /**
347
+ * Saves or Updates a project.
348
+ *
349
+ * ### Create a new project
350
+ * ```ts
351
+ * const formio = new Formio();
352
+ * formio.saveProject({
353
+ * title: 'My Project',
354
+ * path: 'myproject',
355
+ * name: 'myproject'
356
+ * });
357
+ * ```
358
+ *
359
+ * ### Update an existing project
360
+ * ```ts
361
+ * const formio = new Formio('https://examples.form.io');
362
+ * formio.loadProject().then((project) => {
363
+ * project.title = 'Title changed';
364
+ * formio.saveProject(project).then(() => {
365
+ * console.log('Done saving project!');
366
+ * });
367
+ * });
368
+ * ```
369
+ *
370
+ * @param {object} data - The project JSON to create or update.
371
+ * @param {object} options - Options to pass to {@link Formio.request}
372
+ * @return {Promise<Object>}
373
+ */
374
+ saveProject(data?: any, opts?: any): any;
375
+ /**
376
+ * Deletes a project
377
+ *
378
+ * ```ts
379
+ * const formio = new Formio('https://examples.form.io');
380
+ * formio.deleteProject();
381
+ * ```
382
+ *
383
+ * @param {object} options - Options to pass to {@link Formio.request}
384
+ * @return {Promise<Object>}
385
+ */
386
+ deleteProject(opts?: any): any;
387
+ /**
388
+ * Loads a list of all projects.
389
+ *
390
+ * ```ts
391
+ * Formio.loadProjects().then((projects) => {
392
+ * console.log(projects);
393
+ * });
394
+ * ```
395
+ *
396
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
397
+ * @param {object} options - Options to pass to {@link Formio.request}
398
+ * @return {*}
399
+ */
400
+ static loadProjects(query?: any, opts?: any): any;
401
+ /**
402
+ * Loads a role within a project.
403
+ *
404
+ * ```ts
405
+ * const formio = new Formio('https://examples.form.io/role/234234234234');
406
+ * formio.loadRole().then((role) => {
407
+ * console.log(role);
408
+ * });
409
+ * ```
410
+ *
411
+ * @param {object} options - Options to pass to {@link Formio.request}
412
+ * @return {Promise<Object>}
413
+ */
414
+ loadRole(opts?: any): any;
415
+ /**
416
+ * Create a new or Update an existing role within a project.
417
+ *
418
+ * ### Create new Role example
419
+ * ```ts
420
+ * const formio = new Formio('https://examples.form.io');
421
+ * formio.saveRole({
422
+ * title: 'Employee',
423
+ * description: 'A person who belongs to a company.'
424
+ * }).then((role) => {
425
+ * console.log(role);
426
+ * });
427
+ * ```
428
+ *
429
+ * ### Update existing role example
430
+ * ```ts
431
+ * const formio = new Formio('https://examples.form.io/role/234234234234234');
432
+ * formio.loadRole().then((role) => {
433
+ * role.title = 'Manager';
434
+ * formio.saveRole(role).then(() => {
435
+ * console.log('DONE');
436
+ * });
437
+ * });
438
+ * ```
439
+ *
440
+ * @param {object} role - The Role JSON to create or update.
441
+ * @param {object} options - Options to pass to {@link Formio.request}
442
+ * @return {Promise<Object>}
443
+ */
444
+ saveRole(data?: any, opts?: any): any;
445
+ /**
446
+ * Deletes a role within a project.
447
+ *
448
+ * @param {object} options - Options to pass to {@link Formio.request}
449
+ * @return {Promise<Response>}
450
+ */
451
+ deleteRole(opts?: any): any;
452
+ /**
453
+ * Load all roles within a project.
454
+ *
455
+ * ```ts
456
+ * const formio = new Formio('https://examples.form.io');
457
+ * formio.loadRoles().then((roles) => {
458
+ * console.log(roles);
459
+ * });
460
+ * ```
461
+ *
462
+ * @param {object} options - Options to pass to {@link Formio.request}
463
+ * @return {Promise<Response>}
464
+ */
465
+ loadRoles(opts?: any): any;
466
+ /**
467
+ * Loads a form.
468
+ *
469
+ * ```ts
470
+ * const formio = new Formio('https://examples.form.io/example');
471
+ * formio.loadForm().then((form) => {
472
+ * console.log(form);
473
+ * });
474
+ * ```
475
+ *
476
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
477
+ * @param {object} options - Options to pass to {@link Formio.request}
478
+ * @return {Promise<object>}
479
+ */
480
+ loadForm(query?: any, opts?: any): any;
481
+ /**
482
+ * Create or Update a specific form.
483
+ *
484
+ * ### Create form example
485
+ * ```ts
486
+ * const formio = new Formio('https://examples.form.io');
487
+ * formio.saveForm({
488
+ * title: 'Employee',
489
+ * type: 'resource',
490
+ * path: 'employee',
491
+ * name: 'employee',
492
+ * components: [
493
+ * {
494
+ * type: 'textfield',
495
+ * key: 'firstName',
496
+ * label: 'First Name'
497
+ * },
498
+ * {
499
+ * type: 'textfield',
500
+ * key: 'lastName',
501
+ * label: 'Last Name'
502
+ * }
503
+ * ]
504
+ * });
505
+ * ```
506
+ *
507
+ * ### Update a form example
508
+ * ```ts
509
+ * const formio = new Formio('https://examples.form.io/example');
510
+ * formio.loadForm().then((form) => {
511
+ * form.title = 'Changed Title';
512
+ * formio.saveForm(form).then(() => {
513
+ * console.log('DONE!!!');
514
+ * });
515
+ * });
516
+ * ```
517
+ *
518
+ * @param {object} data - The Form JSON to create or update.
519
+ * @param {object} options - Options to pass to {@link Formio.request}
520
+ * @return {Promise<Object>}
521
+ */
522
+ saveForm(data?: any, opts?: any): any;
523
+ /**
524
+ * Deletes a form.
525
+ *
526
+ * ```ts
527
+ * const formio = new Formio('https://examples.form.io/example');
528
+ * formio.deleteForm().then(() => {
529
+ * console.log('Deleted!');
530
+ * });
531
+ * ```
532
+ *
533
+ * @param {object} options - Options to pass to {@link Formio.request}
534
+ * @return {Promise<Response>}
535
+ */
536
+ deleteForm(opts?: any): any;
537
+ /**
538
+ * Loads all forms within a project.
539
+ *
540
+ * ```ts
541
+ * const formio = new Formio('https://examples.form.io');
542
+ * formio.loadForms().then((forms) => {
543
+ * console.log(forms);
544
+ * });
545
+ * ```
546
+ *
547
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
548
+ * @param {object} options - Options to pass to {@link Formio.request}
549
+ * @return {Promise<Response>}
550
+ */
551
+ loadForms(query?: any, opts?: any): any;
552
+ /**
553
+ * Loads a specific submissionn.
554
+ *
555
+ * ```ts
556
+ * const formio = new Formio('https://examples.form.io/example/submission/23423423423423423');
557
+ * formio.loadSubmission().then((submission) => {
558
+ * console.log(submission);
559
+ * });
560
+ * ```
561
+ *
562
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
563
+ * @param {object} options - Options to pass to {@link Formio.request}
564
+ * @return {Promise<object>}
565
+ */
566
+ loadSubmission(query?: any, opts?: any): any;
567
+ /**
568
+ * Creates a new or Updates an existing submission.
569
+ *
570
+ * ### Create a new submission
571
+ * ```ts
572
+ * const formio = new Formio('https://examples.form.io/example');
573
+ * formio.saveSubmission({
574
+ * data: {
575
+ * firstName: 'Joe',
576
+ * lastName: 'Smith'
577
+ * }
578
+ * }).then((submission) => {
579
+ * // This will now be the complete submission object saved on the server.
580
+ * console.log(submission);
581
+ * });
582
+ * ```
583
+ *
584
+ * ### Update an existing submission
585
+ * ```ts
586
+ * const formio = new Formio('https://examples.form.io/example/submission/23423423423423423');
587
+ * formio.loadSubmission().then((submission) => {
588
+ * submission.data.lastName = 'Thompson';
589
+ * formio.saveSubmission(submission).then(() => {
590
+ * console.log('DONE');
591
+ * });
592
+ * });
593
+ * ```
594
+ *
595
+ * @param {object} data - The submission JSON object.
596
+ * @param {object} options - Options to pass to {@link Formio.request}
597
+ * @return {Promise<Object>}
598
+ */
599
+ saveSubmission(data?: any, opts?: any): any;
600
+ /**
601
+ * Deletes a submission.
602
+ *
603
+ * @param {object} options - Options to pass to {@link Formio.request}
604
+ * @return {Promise<Response>}
605
+ */
606
+ deleteSubmission(opts?: any): any;
607
+ /**
608
+ * Loads all submissions within a form.
609
+ *
610
+ * ```ts
611
+ * const formio = new Formio('https://examples.form.io/example');
612
+ * formio.loadSubmissions({
613
+ * params: {
614
+ * limit: 25,
615
+ * 'data.lastName__regex': 'smith'
616
+ * }
617
+ * }).then((submissions) => {
618
+ * // Should print out 25 submissions where the last name contains "smith".
619
+ * console.log(submissions);
620
+ * });
621
+ * ```
622
+ *
623
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
624
+ * @param {object} options - Options to pass to {@link Formio.request}
625
+ * @return {Promise<Response>}
626
+ */
627
+ loadSubmissions(query?: any, opts?: any): any;
628
+ /**
629
+ * Loads a form action.
630
+ *
631
+ * ```ts
632
+ * const formio = new Formio('https://examples.form.io/example/action/234234234234');
633
+ * formio.loadAction().then((action) => {
634
+ * console.log(action);
635
+ * });
636
+ * ```
637
+ *
638
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
639
+ * @param {object} options - Options to pass to {@link Formio.request}
640
+ * @return {Promise<Object>}
641
+ */
642
+ loadAction(query?: any, opts?: any): any;
643
+ /**
644
+ * Create a new or update an existing action.
645
+ *
646
+ * ### Create a new action for a form.
647
+ * ```ts
648
+ * const formio = new Formio('https://examples.form.io/example');
649
+ * formio.saveAction({
650
+ * data: {
651
+ * name: 'webhook',
652
+ * title: 'Webhook Action',
653
+ * method: ['create', 'update', 'delete'],
654
+ * handler: ['after'],
655
+ * condition: {},
656
+ * settings: {
657
+ * url: 'https://example.com',
658
+ * headers: [{}],
659
+ * block: false,
660
+ * forwardHeaders: false
661
+ * }
662
+ * }
663
+ * }).then((action) => {
664
+ * console.log(action);
665
+ * });
666
+ * ```
667
+ *
668
+ * ### Update an action
669
+ * ```ts
670
+ * const formio = new Formio('https://examples.form.io/example/action/234234234234');
671
+ * formio.loadAction().then((action) => {
672
+ * action.title = 'Updated title';
673
+ * formio.saveAction(action).then(() => {
674
+ * console.log('Done!');
675
+ * });
676
+ * });
677
+ * ```
678
+ *
679
+ * @param {object} data - The action JSON
680
+ * @param {object} options - Options to pass to {@link Formio.request}
681
+ * @return {Promise<Object>}
682
+ */
683
+ saveAction(data?: any, opts?: any): any;
684
+ /**
685
+ * Delete an action
686
+ *
687
+ * ```ts
688
+ * const formio = new Formio('https://examples.form.io/example/action/234234234234');
689
+ * formio.deleteAction().then(() => {
690
+ * console.log('Action was deleted.');
691
+ * });
692
+ * ```
693
+ *
694
+ * @param {object} options - Options to pass to {@link Formio.request}
695
+ * @return {Promise<Response>}
696
+ */
697
+ deleteAction(opts?: any): any;
698
+ /**
699
+ * Loads all actions within a form.
700
+ *
701
+ * ```ts
702
+ * const formio = new Formio('https://examples.form.io/example');
703
+ * formio.loadActions().then((actions) => {
704
+ * console.log(actions);
705
+ * });
706
+ * ```
707
+ *
708
+ * @param {object} query - Query parameters similar to {@link Formio#load}.
709
+ * @param {object} options - Options to pass to {@link Formio.request}
710
+ * @return {Promise<Response>}
711
+ */
712
+ loadActions(query?: any, opts?: any): any;
713
+ /**
714
+ * Returns a list of available actions
715
+ *
716
+ * @return {Promise<Response>}
717
+ */
718
+ availableActions(): any;
719
+ /**
720
+ * Returns the action information for a specific action, such as "save".
721
+ *
722
+ * ```ts
723
+ * const formio = new Formio('https://examples.form.io/example/actions/save');
724
+ * formio.actionInfo().then((info) => {
725
+ * console.log(info);
726
+ * });
727
+ * ```
728
+ *
729
+ * @param {string} name - The name of the action you would like to get information for. i.e. "save", "webhook", etc.
730
+ * @return {Promise<Response>}
731
+ */
732
+ actionInfo(name: string): any;
733
+ /**
734
+ * Determine if a string ID is a valid MongoID.
735
+ *
736
+ * @param {string} id - The id that should be tested if it is avalid id.
737
+ * @return {boolean} - true if it is a valid MongoId, false otherwise.
738
+ */
739
+ isObjectId(id: string): boolean;
740
+ /**
741
+ * Get the project ID of project.
742
+ *
743
+ * ```ts
744
+ * const formio = new Formio('https://examples.form.io');
745
+ * formio.getProjectId().then((projectId) => {
746
+ * console.log(projectId);
747
+ * };
748
+ * ```
749
+ *
750
+ * @return {Promise<string>}
751
+ */
752
+ getProjectId(): any;
753
+ /**
754
+ * Get the ID of a form.
755
+ *
756
+ * ```ts
757
+ * const formio = new Formio('https://examples.form.io/example');
758
+ * formio.getFormId().then((formId) => {
759
+ * console.log(formId);
760
+ * });
761
+ * ```
762
+ *
763
+ * @return {Promise<string>}
764
+ */
765
+ getFormId(): any;
766
+ /**
767
+ * Instance method for {@link Formio.currentUser}
768
+ *
769
+ * @param {object} options - Options to pass to {@link Formio.request}
770
+ * @return {Promise<object>}
771
+ */
772
+ currentUser(options?: any): any;
773
+ /**
774
+ * Instance method for {@link Formio.accessInfo}
775
+ *
776
+ * @return {Promise<Response>}
777
+ */
778
+ accessInfo(): any;
779
+ /**
780
+ * Sets OAuth Logout URL.
781
+ *
782
+ * @param {string} uri - Logout URL.
783
+ * @param {string} options.namespace - The localStorage namespace to use when retrieving tokens from storage.
784
+ * @return {string}
785
+ */
786
+ oauthLogoutURI(uri: string, options: string | {
787
+ namespace: string;
788
+ }): string;
789
+ /**
790
+ * Returns the JWT token for this instance.
791
+ *
792
+ * @param {object} options - The following options are provided.
793
+ * @param {string} options.namespace - The localStorage namespace to use when retrieving tokens from storage.
794
+ * @return {string} - The JWT token for this user.
795
+ */
796
+ getToken(options?: any): any;
797
+ /**
798
+ * Sets the JWT token for this instance.
799
+ *
800
+ * @param {string} token - The JWT token to set.
801
+ * @param {object} options - The following options are provided.
802
+ * @param {string} options.namespace - The localStorage namespace to use when retrieving tokens from storage.
803
+ * @return {string} - The JWT token that was set.
804
+ */
805
+ setToken(token: any, options?: any): any;
806
+ /**
807
+ * Returns a temporary authentication token for single purpose token generation.
808
+ *
809
+ * @param {number|string} expire - The amount of seconds to wait before this temp token expires.
810
+ * @param {string} allowed - The allowed path string inn the format GET:/path
811
+ * @param {object} options - The options passed to {@link Formio#getToken}
812
+ */
813
+ getTempToken(expire: any, allowed: string, options?: any): any;
814
+ /**
815
+ * Get a PDF download url for a submission, which will generate a new PDF of the submission. This method will first
816
+ * fetch a temporary download token, and then append this to the download url for this form.
817
+ *
818
+ * ```ts
819
+ * const formio = new Formio('https://examples.form.io/example/submission/324234234234234');
820
+ * formio.getDownloadUrl().then((url) => {
821
+ * console.log(url);
822
+ * });
823
+ * ```
824
+ *
825
+ * @param {object} [form] - The form JSON to fetch a download url for.
826
+ * @return {Promise<string>} - The download url.
827
+ */
828
+ getDownloadUrl(form: any): any;
829
+ /**
830
+ * Returns the user permissions to a form and submission.
831
+ *
832
+ * @param user - The user or current user if undefined. For anonymous, use "null"
833
+ * @param form - The form or current form if undefined. For no form check, use "null"
834
+ * @param submission - The submisison or "index" if undefined.
835
+ *
836
+ * @return {{create: boolean, read: boolean, edit: boolean, delete: boolean}}
837
+ */
838
+ userPermissions(user?: any, form?: any, submission?: any): Promise<any>;
839
+ /**
840
+ * `Determine if the current user can submit a form.
841
+ * @return {*}
842
+ */
843
+ canSubmit(): Promise<any>;
844
+ getUrlParts(url: string): RegExpMatchArray | null;
845
+ uploadFile(storage: any, file: any, fileName: any, dir: any, progressCallback: any, url: any): any;
846
+ downloadFile(file: any): any;
847
+ deleteFile(file: any): any;
848
+ static getUrlParts(url: string, formio: any): RegExpMatchArray | null;
849
+ static serialize(obj: any, _interpolate?: any): string;
850
+ static getRequestArgs(formio: any, type: string, url: string, method?: any, data?: any, opts?: any): any;
851
+ static makeStaticRequest(url: string, method?: any, data?: any, opts?: any): any;
852
+ /**
853
+ * Make an API request and wrap that request with the Form.io Request plugin system. This is very similar to the
854
+ * {Formio.request} method with a difference being that it will pass the request through the Form.io request plugin.
855
+ *
856
+ * @param {Formio} formio - An instance of the Formio class.
857
+ * @param {string} type - The request resource type. "submission", "form", etc.
858
+ * @param {string} url - The URL to request.
859
+ * @param {string} method - The request method. GET, PUT, POST, DELETE, or PATCH
860
+ * @param {object} data - The data to pass to the request (for PUT, POST, and PATCH methods)
861
+ * @param {object} options - An object of options to pass to the request method.
862
+ * @param {boolean} options.ignoreCache - To ignore internal caching of the request.
863
+ * @param {object} options.headers - An object of headers to pass along to the request.
864
+ * @param {boolean} options.noToken - If set to true, this will not include the Form.io x-jwt-token along with the request.
865
+ * @param {string} options.namespace - The Form.io namespace to prepend to all LocalStorage variables such as formioToken.
866
+ * @param {boolean} options.getHeaders - Set this if you wish to include the response headers with the return of this method.
867
+ * @return {Promise<Response>}
868
+ */
869
+ static makeRequest(formio: any, type: string, url: string, method?: string, data?: any, opts?: any): any;
870
+ /**
871
+ * Execute an API request to any external system. This is a wrapper around the Web fetch method.
872
+ *
873
+ * ```ts
874
+ * Formio.request('https://examples.form.io').then((form) => {
875
+ * console.log(form);
876
+ * });
877
+ * ```
878
+ *
879
+ * @param {string} url - The URL to request.
880
+ * @param {string} method - The request method. GET, PUT, POST, DELETE, or PATCH
881
+ * @param {object} data - The data to pass to the request (for PUT, POST, and PATCH methods)
882
+ * @param {Headers} header - An object of headers to pass to the request.
883
+ * @param {object} options - An object of options to pass to the request method.
884
+ * @param {boolean} options.ignoreCache - To ignore internal caching of the request.
885
+ * @param {object} options.headers - An object of headers to pass along to the request.
886
+ * @param {boolean} options.noToken - If set to true, this will not include the Form.io x-jwt-token along with the request.
887
+ * @param {string} options.namespace - The Form.io namespace to prepend to all LocalStorage variables such as formioToken.
888
+ * @param {boolean} options.getHeaders - Set this if you wish to include the response headers with the return of this method.
889
+ * @return {Promise<Response>|*}
890
+ */
891
+ static request(url: string, method?: any, data?: any, header?: any, opts?: any): any;
892
+ static get token(): any;
893
+ static set token(token: any);
894
+ static useSessionToken(options: string | {
895
+ namespace: string;
896
+ }): void;
897
+ /**
898
+ * Sets the JWT in storage to be used within an application.
899
+ *
900
+ * @param {string} token - The JWT token to set.
901
+ * @param {object} options - Options as follows
902
+ * @param {string} options.namespace - The namespace to save the token within. i.e. "formio"
903
+ * @param {Formio} options.formio - The Formio instance.
904
+ * @return {Promise<object>|void}
905
+ */
906
+ static setToken(token?: any, opts?: any): any;
907
+ /**
908
+ * Returns the token set within the application for the user.
909
+ *
910
+ * @param {object} options - The options as follows.
911
+ * @param {string} options.namespace - The namespace of the token you wish to fetch.
912
+ * @param {boolean} options.decode - If you would like the token returned as decoded JSON.
913
+ * @return {*}
914
+ */
915
+ static getToken(options?: any): any;
916
+ /**
917
+ * Sets the current user within the application cache.
918
+ *
919
+ * @param {object} user - JSON object of the user you wish to set.
920
+ * @param {object} options - Options as follows
921
+ * @param {string} options.namespace - The namespace of the tokens
922
+ */
923
+ static setUser(user: any, opts?: any): void;
924
+ /**
925
+ * Returns the user JSON.
926
+ *
927
+ * @param {object} options - Options as follows
928
+ * @param {string} namespace - The namespace of the tokens stored within this application.
929
+ * @return {object} - The user object.
930
+ */
931
+ static getUser(options?: any): any;
932
+ /**
933
+ * Sets the BaseURL for the application.
934
+ *
935
+ * @description Every application developed using the JavaScript SDK must set both the {@link Formio.setBaseUrl} and
936
+ * {@link Formio.setProjectUrl} methods. These two functions ensure that every URL passed into the constructor of this
937
+ * class can determine the "project" context for which the application is running.
938
+ *
939
+ * Any Open Source server applications will set both the {@link Formio.setBaseUrl} and {@link Formio.setProjectUrl}
940
+ * values will be the same value.
941
+ *
942
+ * ```ts
943
+ * Formio.setBaseUrl('https://yourwebsite.com/forms');
944
+ * Formio.setProjectUrl('https://yourwebsite.com/forms/project');
945
+ *
946
+ * // Now the Formio constructor will know what is the "project" and what is the form alias name. Without setBaseUrl
947
+ * // and setProjectUrl, this would throw an error.
948
+ *
949
+ * const formio = new Formio('https://yourwebsite.com/forms/project/user');
950
+ * formio.loadForm().then((form) => {
951
+ * console.log(form);
952
+ * });
953
+ * ```
954
+ *
955
+ * @param {string} url - The URL of the Base API url.
956
+ */
957
+ static setBaseUrl(url: string): void;
958
+ /**
959
+ * Returns the current base url described at {@link Formio.setBaseUrl}
960
+ *
961
+ * @return {string} - The base url of the application.
962
+ */
963
+ static getBaseUrl(): string;
964
+ static setApiUrl(url: string): void;
965
+ static getApiUrl(): string;
966
+ static setAppUrl(url: string): void;
967
+ /**
968
+ * Sets the Project Url for the application. This is an important method that needs to be set for all applications. It
969
+ * is documented @ {@link Formio.setBaseUrl}.
970
+ *
971
+ * @param {string} url - The project api url.
972
+ */
973
+ static setProjectUrl(url: string): void;
974
+ /**
975
+ * The Auth URL can be set to customize the authentication requests made from an application. By default, this is
976
+ * just the same value as {@link Formio.projectUrl}
977
+ *
978
+ * @param {string} url - The authentication url
979
+ */
980
+ static setAuthUrl(url: string): void;
981
+ static getAppUrl(): string;
982
+ /**
983
+ * Returns the Project url described at {@link Formio.setProjectUrl}
984
+ *
985
+ * @return {string|string} - The Project Url.
986
+ */
987
+ static getProjectUrl(): string;
988
+ /**
989
+ * Clears the runtime internal API cache.
990
+ *
991
+ * @description By default, the Formio class will cache all API requests in memory so that any subsequent requests
992
+ * using GET method will return the cached results as long as the API URl is the same as what was cached previously.
993
+ * This cache can be cleared using this method as follows.
994
+ *
995
+ * ```ts
996
+ * Formio.clearCache();
997
+ * ```
998
+ *
999
+ * Or, if you just wish to clear a single request, then the {@link Formio.request#options.ignoreCache} option can be
1000
+ * provided when making an API request as follows.
1001
+ *
1002
+ * ```ts
1003
+ * Formio.loadForm({}, {
1004
+ * ignoreCache: true
1005
+ * }).then((form) => {
1006
+ * console.log(form);
1007
+ * });
1008
+ * ```
1009
+ *
1010
+ * Both of the following will ensure that a new request is made to the API server and that the results will not be
1011
+ * from the cached result.
1012
+ */
1013
+ static clearCache(): void;
1014
+ /**
1015
+ * Return the access information about a Project, such as the Role ID's for that project, and if the server is
1016
+ * configured to do so, the Form and Resource access configurations that the authenticated user has access to.
1017
+ *
1018
+ * @description This is useful for an application to determine the UI for a specific user to identify which forms they have
1019
+ * access to submit or read.
1020
+ *
1021
+ * @param {Formio} formio - The Formio instance.
1022
+ * @return {Promise<Response>}
1023
+ */
1024
+ static accessInfo(formio?: any): any;
1025
+ /**
1026
+ * Returns an array of roles for the project, which includes the ID's and names of those roles.
1027
+ *
1028
+ * @param {Formio} formio - The Formio instance.
1029
+ * @return {Promise<Response>}
1030
+ */
1031
+ static projectRoles(formio?: any): any;
1032
+ /**
1033
+ * Return the currentUser object. This will fetch the user from the server and respond with the Submission JSON
1034
+ * of that user object.
1035
+ *
1036
+ * @param {Formio} formio - The Formio instance
1037
+ * @param {object} options - The options passed to {@link Formio.getUser}
1038
+ * @return {Promise<R>|*}
1039
+ */
1040
+ static currentUser(formio?: any, options?: any): any;
1041
+ /**
1042
+ * Performs a logout of the Form.io application. This will reset all cache, as well as make a request to the logout
1043
+ * endpoint of the Form.io api platform.
1044
+ *
1045
+ * @param {Formio} formio - A Formio instance.
1046
+ * @param {object} options - Options passed to both {@link Formio.setToken} as well as {@link Formio.setUser}
1047
+ * @return {Promise<Response>}
1048
+ */
1049
+ static logout(formio?: any, options?: any): any;
1050
+ /**
1051
+ * Returns the query passed to a page in JSON object format.
1052
+ *
1053
+ * @description For example, lets say you visit your application using
1054
+ * the url as follows.
1055
+ *
1056
+ * ```
1057
+ * https://yourapplication.com/?token=23423423423&username=Joe
1058
+ * ```
1059
+ *
1060
+ * The following code will provide your application with the following.
1061
+ *
1062
+ * ```ts
1063
+ * const query Formio.pageQuery();
1064
+ * console.log(query.token); // Will print 23423423423
1065
+ * console.log(query.username); // Will print Joe
1066
+ * ```
1067
+ *
1068
+ * @return {{}} - A JSON object representation of the query that was passed to the URL of an application.
1069
+ */
1070
+ static pageQuery(): any;
1071
+ /**
1072
+ * Much like {@link Formio.currentUser}, but instead automatically injects the Bearer tokens into the headers to
1073
+ * perform a Token swap of the OAuth token which will then return the JWT token for that user.
1074
+ *
1075
+ * @param {Formio} formio - The Formio instance
1076
+ * @param {string} token - An OAuth Bearer token to use for a token swap between the OAuth provider and Form.io
1077
+ * @return {Promise<R>|*}
1078
+ */
1079
+ static oAuthCurrentUser(formio: any, token: string): any;
1080
+ static oauthLogoutURI(uri: string, options: string | {
1081
+ namespace: string;
1082
+ }): string;
1083
+ /**
1084
+ * Perform a SAML initialization.
1085
+ *
1086
+ * @description Typically, you would use the {@link Formio.ssoInit} method to perform this function
1087
+ * since this method is an alias for the following.
1088
+ *
1089
+ * ```ts
1090
+ * Formio.samlInit();
1091
+ * Formio.ssoInit('saml'); // This is the exact same thing as calling Formio.samlInit
1092
+ * ```
1093
+ *
1094
+ * This method will return false if the process is just starting. The code below is a typical block of code that is
1095
+ * used to automatically trigger the SAML authentication process within your application using a Button component.
1096
+ *
1097
+ * ```ts
1098
+ * if (Formio.pageQuery().saml) {
1099
+ * const sso = Formio.samlInit();
1100
+ * if (sso) {
1101
+ * sso.then((user) => {
1102
+ * // The SSO user is now loaded!
1103
+ * console.log(user);
1104
+ * });
1105
+ * }
1106
+ * }
1107
+ * ```
1108
+ *
1109
+ * You can then place the following code withiin the "Custom" action of a Button component on your form.
1110
+ *
1111
+ * ```ts
1112
+ * Formio.samlInit();
1113
+ * ```
1114
+ *
1115
+ * Now when you click on this button, it will start the handshake process with SAML, and once it returns, will pass
1116
+ * a "saml" query parameter back to your application which will execute the code to load the current user from SAML.
1117
+ *
1118
+ * @param {object} options - Options to pass to the SAML initialization process.
1119
+ * @param {string} options.relay - The URL that will be used as the authentication "relay" that occurs during a SAML handshake process.
1120
+ * @return {boolean|Promise<Object>|void}
1121
+ */
1122
+ static samlInit(options?: any): any;
1123
+ /**
1124
+ * Perform an Okta Authentication process using the {@link https://developer.okta.com/code/javascript/okta_auth_sdk|Okta SDK}.
1125
+ *
1126
+ * @description This method does require that you first include the Okta JavaScript SDK within your application as follows.
1127
+ *
1128
+ * First you need to include the Okta Authentication script.
1129
+ *
1130
+ * ```html
1131
+ * <script src="https://ok1static.oktacdn.com/assets/js/sdk/okta-auth-js/2.0.1/okta-auth-js.min.js" type="text/javascript"></script>
1132
+ * ```
1133
+ *
1134
+ * Then you can call this method as follows.
1135
+ *
1136
+ * ```ts
1137
+ * Formio.oktaInit();
1138
+ * ```
1139
+ *
1140
+ * @param {object} options - Options that are passed directly to the {@link https://github.com/okta/okta-auth-js#configuration-reference|Okta SDK constructor}
1141
+ * @param {constructor} options.OktaAuth - If the OktaAuth constructor is not provided global to the application, it can be provided to this method using this property.
1142
+ * @param {Formio} options.formio - The Formio instance.
1143
+ * @param {Array<string>} options.scopes - Scopes that are passed to the {@link https://github.com/okta/okta-auth-js#tokengetwithredirectoptions|getWithRedirect} method from the Okta SDK.
1144
+ * @return {Promise<Object>}
1145
+ */
1146
+ static oktaInit(options?: any): Promise<unknown>;
1147
+ /**
1148
+ * A common static method to trigger any SSO processes. This method is really just an alias for other static methods.
1149
+ *
1150
+ * @param {('saml'|'okta')} type - The type of SSO to trigger. 'saml' is an alias for {@link Formio.samlInit}, and 'okta' is an alias for {@link Formio.oktaInit}.
1151
+ * @param {object} options - Options to pass to the specific sso methods
1152
+ * @return {*|Promise<Object>|boolean|void}
1153
+ */
1154
+ static ssoInit(type: string, options?: any): any;
1155
+ /**
1156
+ * Lazy load a remote library dependency.
1157
+ *
1158
+ * @description This is useful for components that wish to lazy load a required library
1159
+ * by adding that library to the <scripts> section of the HTML webpage, and then provide a promise that will resolve
1160
+ * when the library becomes available for use.
1161
+ *
1162
+ * @example Load Google Maps API.
1163
+ * ```ts
1164
+ * Formio.requireLibrary('googleMaps', 'google.maps.Map', 'https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap', true).then(() => {
1165
+ * // Once the promise resolves, the following can now be used within your application.
1166
+ * const map = new google.maps.Map(document.getElementById("map"), {...});
1167
+ * });
1168
+ * ```
1169
+ *
1170
+ * @param {string} name - The internal name to give to the library you are loading. This is useful for caching the library for later use.
1171
+ * @param {string} property - The name of the global property that will be added to the global namespace once the library has been loaded. This is used to check to see if the property exists before resolving the promise that the library is ready for use.
1172
+ * @param {string} src - The URL of the library to lazy load.
1173
+ * @param {boolean} polling - Determines if polling should be used to determine if they library is ready to use. If set to false, then it will rely on a global callback called ${name}Callback where "name" is the first property passed to this method. When this is called, that will indicate when the library is ready. In most cases, you will want to pass true to this parameter to initiate a polling method to check for the library availability in the global context.
1174
+ * @return {Promise<object>} - A promise that will resolve when the plugin is ready to be used.
1175
+ */
1176
+ static requireLibrary(name: string, property: string, src: string | Array<string>, polling?: boolean, onload?: (ready: Promise<any>) => void): any;
1177
+ /**
1178
+ * Determines if a lazy loaded library is ready to be used.
1179
+ *
1180
+ * @description Example: Let's assume that the example provided at {@link Formio.requireLibrary} was used elsewhere in your application.
1181
+ * You could now use the following within a separate place that will also resolve once the library is ready to be used.
1182
+ *
1183
+ * ```js
1184
+ * Formio.libraryReady('googleMaps').then(() => {
1185
+ * // Once the promise resolves, the following can now be used within your application.
1186
+ * const map = new google.maps.Map(document.getElementById("map"), {...});
1187
+ * });
1188
+ * ```
1189
+ *
1190
+ * @param {string} name - The name of the library to check.
1191
+ * @return {Promise<object>} - A promise that will resolve when the library is ready to be used.
1192
+ */
1193
+ static libraryReady(name: string): any;
1194
+ /**
1195
+ * Clones the response from the API so that it cannot be mutated.
1196
+ *
1197
+ * @param response
1198
+ */
1199
+ static cloneResponse(response: any): any;
1200
+ /**
1201
+ * Sets the project path type.
1202
+ *
1203
+ * @param type
1204
+ */
1205
+ static setPathType(type: FormioPathType): void;
1206
+ static createForm(element: HTMLElement, form: any, options: any): any;
1207
+ static builder(element: HTMLElement, form: any, options: any): any;
1208
+ static use(plugin: any): void;
1209
+
1210
+ /**
1211
+ * Gets the project path type.
1212
+ */
1213
+ static getPathType(): FormioPathType | undefined;
1214
+ static plugins: import('./Plugins').Plugin[];
1215
+ static deregisterPlugin: typeof Plugins.deregisterPlugin;
1216
+ static registerPlugin: typeof Plugins.registerPlugin;
1217
+ static getPlugin: typeof Plugins.getPlugin;
1218
+ static pluginWait: typeof Plugins.pluginWait;
1219
+ static pluginGet: typeof Plugins.pluginGet;
1220
+ static pluginAlter: typeof Plugins.pluginAlter;
119
1221
  }