@formio/js 5.0.0-rc.43 → 5.0.0-rc.45

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