@formio/js 5.0.0-rc.44 → 5.0.0-rc.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1075) 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 +6 -476
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +1 -1
  7. package/dist/formio.full.js +6 -186
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +1 -1
  10. package/dist/formio.js +2 -2
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.js +1897 -429
  14. package/dist/formio.utils.min.js +1 -1
  15. package/dist/formio.utils.min.js.LICENSE.txt +9 -1
  16. package/lib/cjs/CDN.d.ts +33 -0
  17. package/lib/cjs/Element.d.ts +257 -0
  18. package/lib/cjs/Embed.d.ts +60 -0
  19. package/lib/cjs/EventEmitter.d.ts +7 -0
  20. package/lib/cjs/Form.d.ts +101 -0
  21. package/lib/cjs/FormBuilder.d.ts +6 -0
  22. package/lib/cjs/Formio.d.ts +1 -0
  23. package/lib/cjs/PDF.d.ts +40 -0
  24. package/lib/cjs/PDFBuilder.d.ts +55 -0
  25. package/lib/cjs/Webform.d.ts +695 -0
  26. package/lib/cjs/WebformBuilder.d.ts +126 -0
  27. package/lib/cjs/Wizard.d.ts +106 -0
  28. package/lib/cjs/WizardBuilder.d.ts +50 -0
  29. package/lib/cjs/addons/FormioAddon.d.ts +19 -0
  30. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
  31. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
  32. package/lib/cjs/addons/index.d.ts +628 -0
  33. package/lib/cjs/builders/Builders.d.ts +18 -0
  34. package/lib/cjs/builders/index.d.ts +2 -0
  35. package/lib/cjs/components/Components.d.ts +268 -0
  36. package/lib/cjs/components/_classes/component/Component.d.ts +846 -0
  37. package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -0
  38. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
  39. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
  40. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
  41. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
  42. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
  43. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
  44. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
  45. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
  46. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +84 -0
  47. package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
  48. package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
  49. package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
  50. package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
  51. package/lib/cjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
  52. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +6 -0
  53. package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
  54. package/lib/cjs/components/_classes/field/Field.d.ts +5 -0
  55. package/lib/cjs/components/_classes/input/Input.d.ts +42 -0
  56. package/lib/cjs/components/_classes/list/ListComponent.d.ts +18 -0
  57. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -0
  58. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
  59. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
  60. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +152 -0
  61. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
  62. package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
  63. package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
  64. package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
  65. package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +3 -0
  66. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
  67. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
  68. package/lib/cjs/components/address/Address.d.ts +66 -0
  69. package/lib/cjs/components/address/Address.form.d.ts +3 -0
  70. package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +32 -0
  71. package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +50 -0
  72. package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
  73. package/lib/cjs/components/address/fixtures/comp1.d.ts +34 -0
  74. package/lib/cjs/components/address/fixtures/comp2.d.ts +62 -0
  75. package/lib/cjs/components/address/fixtures/comp3.d.ts +44 -0
  76. package/lib/cjs/components/address/fixtures/comp4.d.ts +56 -0
  77. package/lib/cjs/components/address/fixtures/index.d.ts +5 -0
  78. package/lib/cjs/components/address/fixtures/values.d.ts +22 -0
  79. package/lib/cjs/components/alert/Alert.d.ts +30 -0
  80. package/lib/cjs/components/builder.d.ts +2 -0
  81. package/lib/cjs/components/button/Button.d.ts +45 -0
  82. package/lib/cjs/components/button/Button.form.d.ts +3 -0
  83. package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +375 -0
  84. package/lib/cjs/components/button/fixtures/comp1.d.ts +15 -0
  85. package/lib/cjs/components/button/fixtures/comp2.d.ts +25 -0
  86. package/lib/cjs/components/button/fixtures/comp3.d.ts +113 -0
  87. package/lib/cjs/components/button/fixtures/index.d.ts +4 -0
  88. package/lib/cjs/components/button/fixtures/values.d.ts +2 -0
  89. package/lib/cjs/components/checkbox/Checkbox.d.ts +77 -0
  90. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -0
  91. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
  92. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
  93. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
  94. package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +24 -0
  95. package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +12 -0
  96. package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +15 -0
  97. package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +48 -0
  98. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
  99. package/lib/cjs/components/checkbox/fixtures/index.d.ts +6 -0
  100. package/lib/cjs/components/checkbox/fixtures/values.d.ts +2 -0
  101. package/lib/cjs/components/columns/Columns.d.ts +28 -0
  102. package/lib/cjs/components/columns/Columns.form.d.ts +3 -0
  103. package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
  104. package/lib/cjs/components/columns/fixtures/comp1.d.ts +45 -0
  105. package/lib/cjs/components/columns/fixtures/comp2.d.ts +24 -0
  106. package/lib/cjs/components/columns/fixtures/comp3.d.ts +45 -0
  107. package/lib/cjs/components/columns/fixtures/index.d.ts +4 -0
  108. package/lib/cjs/components/container/Container.d.ts +16 -0
  109. package/lib/cjs/components/container/Container.form.d.ts +3 -0
  110. package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +5 -0
  111. package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +5 -0
  112. package/lib/cjs/components/container/fixtures/comp1.d.ts +49 -0
  113. package/lib/cjs/components/container/fixtures/comp2.d.ts +30 -0
  114. package/lib/cjs/components/container/fixtures/comp3.d.ts +77 -0
  115. package/lib/cjs/components/container/fixtures/comp4.d.ts +44 -0
  116. package/lib/cjs/components/container/fixtures/index.d.ts +5 -0
  117. package/lib/cjs/components/content/Content.d.ts +18 -0
  118. package/lib/cjs/components/content/Content.form.d.ts +3 -0
  119. package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +18 -0
  120. package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
  121. package/lib/cjs/components/content/fixtures/comp1.d.ts +13 -0
  122. package/lib/cjs/components/content/fixtures/index.d.ts +2 -0
  123. package/lib/cjs/components/currency/Currency.d.ts +8 -0
  124. package/lib/cjs/components/currency/Currency.form.d.ts +3 -0
  125. package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
  126. package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
  127. package/lib/cjs/components/currency/fixtures/comp1.d.ts +31 -0
  128. package/lib/cjs/components/currency/fixtures/comp2.d.ts +20 -0
  129. package/lib/cjs/components/currency/fixtures/comp3.d.ts +13 -0
  130. package/lib/cjs/components/currency/fixtures/comp4.d.ts +17 -0
  131. package/lib/cjs/components/currency/fixtures/index.d.ts +5 -0
  132. package/lib/cjs/components/currency/fixtures/values.d.ts +2 -0
  133. package/lib/cjs/components/datagrid/DataGrid.d.ts +82 -0
  134. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -0
  135. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
  136. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
  137. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
  138. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
  139. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  140. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
  141. package/lib/cjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
  142. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
  143. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
  144. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
  145. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
  146. package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +93 -0
  147. package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +18 -0
  148. package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +14 -0
  149. package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +27 -0
  150. package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +67 -0
  151. package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +567 -0
  152. package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +28 -0
  153. package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +35 -0
  154. package/lib/cjs/components/datagrid/fixtures/index.d.ts +17 -0
  155. package/lib/cjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
  156. package/lib/cjs/components/datamap/DataMap.d.ts +36 -0
  157. package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -0
  158. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
  159. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
  160. package/lib/cjs/components/datamap/fixtures/comp1.d.ts +18 -0
  161. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
  162. package/lib/cjs/components/datamap/fixtures/index.d.ts +3 -0
  163. package/lib/cjs/components/datetime/DateTime.d.ts +39 -0
  164. package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -0
  165. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
  166. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
  167. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
  168. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
  169. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
  170. package/lib/cjs/components/datetime/fixtures/comp1.d.ts +45 -0
  171. package/lib/cjs/components/datetime/fixtures/comp10.d.ts +102 -0
  172. package/lib/cjs/components/datetime/fixtures/comp11.d.ts +58 -0
  173. package/lib/cjs/components/datetime/fixtures/comp12.d.ts +57 -0
  174. package/lib/cjs/components/datetime/fixtures/comp13.d.ts +126 -0
  175. package/lib/cjs/components/datetime/fixtures/comp2.d.ts +42 -0
  176. package/lib/cjs/components/datetime/fixtures/comp3.d.ts +51 -0
  177. package/lib/cjs/components/datetime/fixtures/comp5.d.ts +57 -0
  178. package/lib/cjs/components/datetime/fixtures/comp6.d.ts +55 -0
  179. package/lib/cjs/components/datetime/fixtures/comp7.d.ts +59 -0
  180. package/lib/cjs/components/datetime/fixtures/comp8.d.ts +59 -0
  181. package/lib/cjs/components/datetime/fixtures/comp9.d.ts +64 -0
  182. package/lib/cjs/components/datetime/fixtures/index.d.ts +13 -0
  183. package/lib/cjs/components/datetime/fixtures/values.d.ts +2 -0
  184. package/lib/cjs/components/day/Day.d.ts +163 -0
  185. package/lib/cjs/components/day/Day.form.d.ts +3 -0
  186. package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +5 -0
  187. package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +40 -0
  188. package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +40 -0
  189. package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +40 -0
  190. package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
  191. package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +40 -0
  192. package/lib/cjs/components/day/fixtures/comp1.d.ts +46 -0
  193. package/lib/cjs/components/day/fixtures/comp2.d.ts +46 -0
  194. package/lib/cjs/components/day/fixtures/comp3.d.ts +48 -0
  195. package/lib/cjs/components/day/fixtures/comp4.d.ts +53 -0
  196. package/lib/cjs/components/day/fixtures/comp5.d.ts +29 -0
  197. package/lib/cjs/components/day/fixtures/comp6.d.ts +81 -0
  198. package/lib/cjs/components/day/fixtures/index.d.ts +7 -0
  199. package/lib/cjs/components/day/fixtures/values.d.ts +2 -0
  200. package/lib/cjs/components/editgrid/EditGrid.d.ts +104 -0
  201. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -0
  202. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
  203. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
  204. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
  205. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
  206. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
  207. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
  208. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
  209. package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
  210. package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +89 -0
  211. package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +49 -0
  212. package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +53 -0
  213. package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +58 -0
  214. package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +64 -0
  215. package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +88 -0
  216. package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +54 -0
  217. package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +112 -0
  218. package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +27 -0
  219. package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +23 -0
  220. package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +19 -0
  221. package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +50 -0
  222. package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +129 -0
  223. package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +148 -0
  224. package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +86 -0
  225. package/lib/cjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
  226. package/lib/cjs/components/editgrid/fixtures/index.d.ts +19 -0
  227. package/lib/cjs/components/email/Email.d.ts +4 -0
  228. package/lib/cjs/components/email/Email.form.d.ts +3 -0
  229. package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +5 -0
  230. package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
  231. package/lib/cjs/components/email/fixtures/comp1.d.ts +26 -0
  232. package/lib/cjs/components/email/fixtures/comp2.d.ts +23 -0
  233. package/lib/cjs/components/email/fixtures/index.d.ts +3 -0
  234. package/lib/cjs/components/email/fixtures/values.d.ts +2 -0
  235. package/lib/cjs/components/fieldset/Fieldset.d.ts +15 -0
  236. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -0
  237. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
  238. package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +46 -0
  239. package/lib/cjs/components/fieldset/fixtures/index.d.ts +2 -0
  240. package/lib/cjs/components/file/File.d.ts +172 -0
  241. package/lib/cjs/components/file/File.form.d.ts +3 -0
  242. package/lib/cjs/components/file/editForm/File.edit.data.d.ts +5 -0
  243. package/lib/cjs/components/file/editForm/File.edit.display.d.ts +24 -0
  244. package/lib/cjs/components/file/editForm/File.edit.file.d.ts +361 -0
  245. package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +5 -0
  246. package/lib/cjs/components/file/fixtures/comp1.d.ts +15 -0
  247. package/lib/cjs/components/file/fixtures/comp2.d.ts +35 -0
  248. package/lib/cjs/components/file/fixtures/comp3.d.ts +29 -0
  249. package/lib/cjs/components/file/fixtures/index.d.ts +3 -0
  250. package/lib/cjs/components/file/fixtures/values.d.ts +10 -0
  251. package/lib/cjs/components/form/Form.d.ts +94 -0
  252. package/lib/cjs/components/form/Form.form.d.ts +3 -0
  253. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +83 -0
  254. package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +5 -0
  255. package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +91 -0
  256. package/lib/cjs/components/form/fixtures/comp1.d.ts +45 -0
  257. package/lib/cjs/components/form/fixtures/comp2.d.ts +14 -0
  258. package/lib/cjs/components/form/fixtures/comp3.d.ts +187 -0
  259. package/lib/cjs/components/form/fixtures/comp4.d.ts +107 -0
  260. package/lib/cjs/components/form/fixtures/comp5.d.ts +42 -0
  261. package/lib/cjs/components/form/fixtures/comp6.d.ts +74 -0
  262. package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +42 -0
  263. package/lib/cjs/components/form/fixtures/index.d.ts +8 -0
  264. package/lib/cjs/components/form/fixtures/values.d.ts +6 -0
  265. package/lib/cjs/components/hidden/Hidden.d.ts +26 -0
  266. package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -0
  267. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
  268. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
  269. package/lib/cjs/components/hidden/fixtures/comp1.d.ts +18 -0
  270. package/lib/cjs/components/hidden/fixtures/index.d.ts +2 -0
  271. package/lib/cjs/components/hidden/fixtures/values.d.ts +2 -0
  272. package/lib/cjs/components/html/HTML.d.ts +19 -0
  273. package/lib/cjs/components/html/HTML.form.d.ts +3 -0
  274. package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
  275. package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
  276. package/lib/cjs/components/html/fixtures/comp1.d.ts +19 -0
  277. package/lib/cjs/components/html/fixtures/comp2.d.ts +21 -0
  278. package/lib/cjs/components/html/fixtures/comp3.d.ts +42 -0
  279. package/lib/cjs/components/html/fixtures/index.d.ts +4 -0
  280. package/lib/cjs/components/index.d.ts +96 -0
  281. package/lib/cjs/components/number/Number.d.ts +53 -0
  282. package/lib/cjs/components/number/Number.form.d.ts +3 -0
  283. package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +18 -0
  284. package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +5 -0
  285. package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
  286. package/lib/cjs/components/number/fixtures/comp1.d.ts +33 -0
  287. package/lib/cjs/components/number/fixtures/comp2.d.ts +32 -0
  288. package/lib/cjs/components/number/fixtures/comp3.d.ts +14 -0
  289. package/lib/cjs/components/number/fixtures/comp4.d.ts +14 -0
  290. package/lib/cjs/components/number/fixtures/comp5.d.ts +20 -0
  291. package/lib/cjs/components/number/fixtures/comp6.d.ts +40 -0
  292. package/lib/cjs/components/number/fixtures/comp7.d.ts +15 -0
  293. package/lib/cjs/components/number/fixtures/index.d.ts +8 -0
  294. package/lib/cjs/components/number/fixtures/values.d.ts +2 -0
  295. package/lib/cjs/components/panel/Panel.d.ts +14 -0
  296. package/lib/cjs/components/panel/Panel.form.d.ts +3 -0
  297. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
  298. package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
  299. package/lib/cjs/components/panel/fixtures/comp1.d.ts +46 -0
  300. package/lib/cjs/components/panel/fixtures/comp2.d.ts +80 -0
  301. package/lib/cjs/components/panel/fixtures/index.d.ts +3 -0
  302. package/lib/cjs/components/password/Password.d.ts +3 -0
  303. package/lib/cjs/components/password/Password.form.d.ts +3 -0
  304. package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +18 -0
  305. package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +5 -0
  306. package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
  307. package/lib/cjs/components/password/fixtures/comp1.d.ts +22 -0
  308. package/lib/cjs/components/password/fixtures/comp2.d.ts +27 -0
  309. package/lib/cjs/components/password/fixtures/index.d.ts +3 -0
  310. package/lib/cjs/components/password/fixtures/values.d.ts +2 -0
  311. package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +3 -0
  312. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
  313. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
  314. package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
  315. package/lib/cjs/components/phonenumber/fixtures/index.d.ts +2 -0
  316. package/lib/cjs/components/phonenumber/fixtures/values.d.ts +2 -0
  317. package/lib/cjs/components/radio/Radio.d.ts +83 -0
  318. package/lib/cjs/components/radio/Radio.form.d.ts +3 -0
  319. package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
  320. package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
  321. package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
  322. package/lib/cjs/components/radio/fixtures/comp1.d.ts +28 -0
  323. package/lib/cjs/components/radio/fixtures/comp10.d.ts +15 -0
  324. package/lib/cjs/components/radio/fixtures/comp11.d.ts +35 -0
  325. package/lib/cjs/components/radio/fixtures/comp2.d.ts +85 -0
  326. package/lib/cjs/components/radio/fixtures/comp3.d.ts +85 -0
  327. package/lib/cjs/components/radio/fixtures/comp4.d.ts +19 -0
  328. package/lib/cjs/components/radio/fixtures/comp5.d.ts +39 -0
  329. package/lib/cjs/components/radio/fixtures/comp6.d.ts +38 -0
  330. package/lib/cjs/components/radio/fixtures/comp7.d.ts +23 -0
  331. package/lib/cjs/components/radio/fixtures/comp8.d.ts +118 -0
  332. package/lib/cjs/components/radio/fixtures/comp9.d.ts +35 -0
  333. package/lib/cjs/components/radio/fixtures/index.d.ts +12 -0
  334. package/lib/cjs/components/radio/fixtures/values.d.ts +2 -0
  335. package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +24 -0
  336. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
  337. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
  338. package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
  339. package/lib/cjs/components/recaptcha/fixtures/index.d.ts +2 -0
  340. package/lib/cjs/components/select/Select.d.ts +149 -0
  341. package/lib/cjs/components/select/Select.form.d.ts +3 -0
  342. package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
  343. package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +27 -0
  344. package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
  345. package/lib/cjs/components/select/fixtures/comp1.d.ts +40 -0
  346. package/lib/cjs/components/select/fixtures/comp10.d.ts +41 -0
  347. package/lib/cjs/components/select/fixtures/comp11.d.ts +28 -0
  348. package/lib/cjs/components/select/fixtures/comp12.d.ts +53 -0
  349. package/lib/cjs/components/select/fixtures/comp13.d.ts +28 -0
  350. package/lib/cjs/components/select/fixtures/comp14.d.ts +40 -0
  351. package/lib/cjs/components/select/fixtures/comp15.d.ts +50 -0
  352. package/lib/cjs/components/select/fixtures/comp16.d.ts +34 -0
  353. package/lib/cjs/components/select/fixtures/comp17.d.ts +51 -0
  354. package/lib/cjs/components/select/fixtures/comp18.d.ts +49 -0
  355. package/lib/cjs/components/select/fixtures/comp19.d.ts +23 -0
  356. package/lib/cjs/components/select/fixtures/comp2.d.ts +41 -0
  357. package/lib/cjs/components/select/fixtures/comp20.d.ts +36 -0
  358. package/lib/cjs/components/select/fixtures/comp21.d.ts +87 -0
  359. package/lib/cjs/components/select/fixtures/comp3.d.ts +35 -0
  360. package/lib/cjs/components/select/fixtures/comp4.d.ts +103 -0
  361. package/lib/cjs/components/select/fixtures/comp5.d.ts +21 -0
  362. package/lib/cjs/components/select/fixtures/comp6.d.ts +20 -0
  363. package/lib/cjs/components/select/fixtures/comp7.d.ts +63 -0
  364. package/lib/cjs/components/select/fixtures/comp8.d.ts +72 -0
  365. package/lib/cjs/components/select/fixtures/comp9.d.ts +88 -0
  366. package/lib/cjs/components/select/fixtures/index.d.ts +22 -0
  367. package/lib/cjs/components/select/fixtures/values.d.ts +2 -0
  368. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +51 -0
  369. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
  370. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
  371. package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
  372. package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
  373. package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
  374. package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
  375. package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
  376. package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
  377. package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
  378. package/lib/cjs/components/selectboxes/fixtures/index.d.ts +8 -0
  379. package/lib/cjs/components/selectboxes/fixtures/values.d.ts +6 -0
  380. package/lib/cjs/components/signature/Signature.d.ts +46 -0
  381. package/lib/cjs/components/signature/Signature.form.d.ts +3 -0
  382. package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
  383. package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
  384. package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
  385. package/lib/cjs/components/signature/fixtures/comp1.d.ts +30 -0
  386. package/lib/cjs/components/signature/fixtures/index.d.ts +2 -0
  387. package/lib/cjs/components/signature/fixtures/values.d.ts +2 -0
  388. package/lib/cjs/components/survey/Survey.d.ts +37 -0
  389. package/lib/cjs/components/survey/Survey.form.d.ts +3 -0
  390. package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
  391. package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
  392. package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
  393. package/lib/cjs/components/survey/fixtures/comp1.d.ts +31 -0
  394. package/lib/cjs/components/survey/fixtures/comp2.d.ts +31 -0
  395. package/lib/cjs/components/survey/fixtures/index.d.ts +3 -0
  396. package/lib/cjs/components/survey/fixtures/values.d.ts +5 -0
  397. package/lib/cjs/components/table/Table.d.ts +23 -0
  398. package/lib/cjs/components/table/Table.form.d.ts +3 -0
  399. package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +84 -0
  400. package/lib/cjs/components/table/fixtures/comp1.d.ts +53 -0
  401. package/lib/cjs/components/table/fixtures/index.d.ts +2 -0
  402. package/lib/cjs/components/tabs/Tabs.d.ts +30 -0
  403. package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -0
  404. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
  405. package/lib/cjs/components/tabs/fixtures/comp1.d.ts +23 -0
  406. package/lib/cjs/components/tabs/fixtures/index.d.ts +2 -0
  407. package/lib/cjs/components/tags/Tags.d.ts +41 -0
  408. package/lib/cjs/components/tags/Tags.form.d.ts +3 -0
  409. package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
  410. package/lib/cjs/components/tags/fixtures/comp1.d.ts +20 -0
  411. package/lib/cjs/components/tags/fixtures/comp2.d.ts +10 -0
  412. package/lib/cjs/components/tags/fixtures/comp3.d.ts +23 -0
  413. package/lib/cjs/components/tags/fixtures/comp4.d.ts +9 -0
  414. package/lib/cjs/components/tags/fixtures/comp5.d.ts +24 -0
  415. package/lib/cjs/components/tags/fixtures/comp6.d.ts +17 -0
  416. package/lib/cjs/components/tags/fixtures/index.d.ts +7 -0
  417. package/lib/cjs/components/tags/fixtures/values.d.ts +2 -0
  418. package/lib/cjs/components/textarea/TextArea.d.ts +37 -0
  419. package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -0
  420. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
  421. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
  422. package/lib/cjs/components/textarea/fixtures/comp1.d.ts +31 -0
  423. package/lib/cjs/components/textarea/fixtures/comp2.d.ts +29 -0
  424. package/lib/cjs/components/textarea/fixtures/comp3.d.ts +27 -0
  425. package/lib/cjs/components/textarea/fixtures/comp4.d.ts +30 -0
  426. package/lib/cjs/components/textarea/fixtures/index.d.ts +5 -0
  427. package/lib/cjs/components/textarea/fixtures/values.d.ts +2 -0
  428. package/lib/cjs/components/textfield/TextField.d.ts +64 -0
  429. package/lib/cjs/components/textfield/TextField.form.d.ts +3 -0
  430. package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
  431. package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
  432. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
  433. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
  434. package/lib/cjs/components/textfield/fixtures/comp1.d.ts +33 -0
  435. package/lib/cjs/components/textfield/fixtures/comp2.d.ts +33 -0
  436. package/lib/cjs/components/textfield/fixtures/comp3.d.ts +33 -0
  437. package/lib/cjs/components/textfield/fixtures/comp4.d.ts +23 -0
  438. package/lib/cjs/components/textfield/fixtures/comp5.d.ts +12 -0
  439. package/lib/cjs/components/textfield/fixtures/comp6.d.ts +25 -0
  440. package/lib/cjs/components/textfield/fixtures/comp7.d.ts +37 -0
  441. package/lib/cjs/components/textfield/fixtures/index.d.ts +9 -0
  442. package/lib/cjs/components/textfield/fixtures/values.d.ts +2 -0
  443. package/lib/cjs/components/time/Time.d.ts +16 -0
  444. package/lib/cjs/components/time/Time.form.d.ts +3 -0
  445. package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +10 -0
  446. package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +52 -0
  447. package/lib/cjs/components/time/fixtures/comp1.d.ts +24 -0
  448. package/lib/cjs/components/time/fixtures/comp2.d.ts +10 -0
  449. package/lib/cjs/components/time/fixtures/comp3.d.ts +15 -0
  450. package/lib/cjs/components/time/fixtures/index.d.ts +6 -0
  451. package/lib/cjs/components/time/fixtures/timeForm.d.ts +47 -0
  452. package/lib/cjs/components/time/fixtures/timeForm2.d.ts +38 -0
  453. package/lib/cjs/components/time/fixtures/values.d.ts +2 -0
  454. package/lib/cjs/components/unknown/Unknown.d.ts +28 -0
  455. package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -0
  456. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
  457. package/lib/cjs/components/unknown/fixtures/comp1.d.ts +7 -0
  458. package/lib/cjs/components/unknown/fixtures/index.d.ts +2 -0
  459. package/lib/cjs/components/url/Url.d.ts +3 -0
  460. package/lib/cjs/components/url/Url.form.d.ts +3 -0
  461. package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +5 -0
  462. package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +5 -0
  463. package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
  464. package/lib/cjs/components/url/fixtures/comp1.d.ts +26 -0
  465. package/lib/cjs/components/url/fixtures/comp2.d.ts +26 -0
  466. package/lib/cjs/components/url/fixtures/index.d.ts +3 -0
  467. package/lib/cjs/components/url/fixtures/values.d.ts +2 -0
  468. package/lib/cjs/components/well/Well.d.ts +15 -0
  469. package/lib/cjs/components/well/Well.form.d.ts +3 -0
  470. package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +28 -0
  471. package/lib/cjs/components/well/fixtures/comp1.d.ts +43 -0
  472. package/lib/cjs/components/well/fixtures/index.d.ts +2 -0
  473. package/lib/cjs/displays/Displays.d.ts +18 -0
  474. package/lib/cjs/displays/index.d.ts +2 -0
  475. package/lib/cjs/formio.embed.d.ts +2 -0
  476. package/lib/cjs/formio.form.d.ts +20 -0
  477. package/lib/cjs/formio.form.js +3 -1
  478. package/lib/cjs/i18n.d.ts +13 -0
  479. package/lib/cjs/index.d.ts +5 -0
  480. package/lib/cjs/licenses/Licenses.d.ts +7 -0
  481. package/lib/cjs/licenses/index.d.ts +2 -0
  482. package/lib/cjs/pdf.image.d.ts +2 -0
  483. package/lib/cjs/providers/Providers.d.ts +20 -0
  484. package/lib/cjs/providers/address/AddressProvider.d.ts +17 -0
  485. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +12 -0
  486. package/lib/cjs/providers/address/CustomAddressProvider.d.ts +7 -0
  487. package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +18 -0
  488. package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +11 -0
  489. package/lib/cjs/providers/address/index.d.ts +6 -0
  490. package/lib/cjs/providers/auth/index.d.ts +2 -0
  491. package/lib/cjs/providers/index.d.ts +2 -0
  492. package/lib/cjs/providers/processor/fileProcessor.d.ts +2 -0
  493. package/lib/cjs/providers/storage/azure.d.ts +17 -0
  494. package/lib/cjs/providers/storage/base64.d.ts +10 -0
  495. package/lib/cjs/providers/storage/dropbox.d.ts +8 -0
  496. package/lib/cjs/providers/storage/googleDrive.d.ts +9 -0
  497. package/lib/cjs/providers/storage/index.d.ts +15 -0
  498. package/lib/cjs/providers/storage/indexeddb.d.ts +11 -0
  499. package/lib/cjs/providers/storage/s3.d.ts +24 -0
  500. package/lib/cjs/providers/storage/uploadAdapter.d.ts +1 -0
  501. package/lib/cjs/providers/storage/url.d.ts +11 -0
  502. package/lib/cjs/providers/storage/util.d.ts +1 -0
  503. package/lib/cjs/providers/storage/xhr.d.ts +8 -0
  504. package/lib/cjs/templates/Templates.d.ts +2 -0
  505. package/lib/cjs/templates/index.d.ts +229 -0
  506. package/lib/cjs/translations/en.d.ts +75 -0
  507. package/lib/cjs/utils/ChoicesWrapper.d.ts +38 -0
  508. package/lib/cjs/utils/Evaluator.d.ts +10 -0
  509. package/lib/cjs/utils/Evaluator.js +11 -13
  510. package/lib/cjs/utils/builder.d.ts +22 -0
  511. package/lib/cjs/utils/calendarUtils.d.ts +41 -0
  512. package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
  513. package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
  514. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
  515. package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
  516. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
  517. package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +7 -0
  518. package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
  519. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
  520. package/lib/cjs/utils/conditionOperators/Includes.d.ts +7 -0
  521. package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
  522. package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
  523. package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
  524. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
  525. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
  526. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
  527. package/lib/cjs/utils/conditionOperators/LessThan.d.ts +7 -0
  528. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
  529. package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
  530. package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +7 -0
  531. package/lib/cjs/utils/conditionOperators/index.d.ts +6 -0
  532. package/lib/cjs/utils/formUtils.d.ts +46 -0
  533. package/lib/cjs/utils/formUtils.js +36 -566
  534. package/lib/cjs/utils/i18n.d.ts +16 -0
  535. package/lib/cjs/utils/index.d.ts +3 -0
  536. package/lib/cjs/utils/jsonlogic/operators.d.ts +1 -0
  537. package/lib/cjs/utils/utils.d.ts +377 -0
  538. package/lib/cjs/utils/utils.js +9 -9
  539. package/lib/cjs/widgets/CalendarWidget.d.ts +97 -0
  540. package/lib/cjs/widgets/InputWidget.d.ts +24 -0
  541. package/lib/cjs/widgets/index.d.ts +7 -0
  542. package/lib/mjs/CDN.d.ts +33 -0
  543. package/lib/mjs/Element.d.ts +257 -0
  544. package/lib/mjs/Embed.d.ts +60 -0
  545. package/lib/mjs/EventEmitter.d.ts +7 -0
  546. package/lib/mjs/Form.d.ts +101 -0
  547. package/lib/mjs/FormBuilder.d.ts +6 -0
  548. package/lib/mjs/Formio.d.ts +1 -0
  549. package/lib/mjs/PDF.d.ts +40 -0
  550. package/lib/mjs/PDFBuilder.d.ts +55 -0
  551. package/lib/mjs/Webform.d.ts +695 -0
  552. package/lib/mjs/WebformBuilder.d.ts +126 -0
  553. package/lib/mjs/Wizard.d.ts +106 -0
  554. package/lib/mjs/WizardBuilder.d.ts +50 -0
  555. package/lib/mjs/addons/FormioAddon.d.ts +19 -0
  556. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +718 -0
  557. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +592 -0
  558. package/lib/mjs/addons/index.d.ts +628 -0
  559. package/lib/mjs/builders/Builders.d.ts +18 -0
  560. package/lib/mjs/builders/index.d.ts +2 -0
  561. package/lib/mjs/components/Components.d.ts +268 -0
  562. package/lib/mjs/components/_classes/component/Component.d.ts +846 -0
  563. package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -0
  564. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +655 -0
  565. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
  566. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +115 -0
  567. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +220 -0
  568. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +166 -0
  569. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
  570. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +373 -0
  571. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +144 -0
  572. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +84 -0
  573. package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
  574. package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
  575. package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
  576. package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
  577. package/lib/mjs/components/_classes/component/fixtures/comp5.d.ts +26 -0
  578. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +6 -0
  579. package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +47 -0
  580. package/lib/mjs/components/_classes/field/Field.d.ts +5 -0
  581. package/lib/mjs/components/_classes/input/Input.d.ts +42 -0
  582. package/lib/mjs/components/_classes/list/ListComponent.d.ts +18 -0
  583. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -0
  584. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +189 -0
  585. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
  586. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +152 -0
  587. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
  588. package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
  589. package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
  590. package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
  591. package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +3 -0
  592. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +17 -0
  593. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +12 -0
  594. package/lib/mjs/components/address/Address.d.ts +66 -0
  595. package/lib/mjs/components/address/Address.form.d.ts +3 -0
  596. package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +32 -0
  597. package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +50 -0
  598. package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
  599. package/lib/mjs/components/address/fixtures/comp1.d.ts +34 -0
  600. package/lib/mjs/components/address/fixtures/comp2.d.ts +62 -0
  601. package/lib/mjs/components/address/fixtures/comp3.d.ts +44 -0
  602. package/lib/mjs/components/address/fixtures/comp4.d.ts +56 -0
  603. package/lib/mjs/components/address/fixtures/index.d.ts +5 -0
  604. package/lib/mjs/components/address/fixtures/values.d.ts +22 -0
  605. package/lib/mjs/components/alert/Alert.d.ts +30 -0
  606. package/lib/mjs/components/builder.d.ts +2 -0
  607. package/lib/mjs/components/button/Button.d.ts +45 -0
  608. package/lib/mjs/components/button/Button.form.d.ts +3 -0
  609. package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +375 -0
  610. package/lib/mjs/components/button/fixtures/comp1.d.ts +15 -0
  611. package/lib/mjs/components/button/fixtures/comp2.d.ts +25 -0
  612. package/lib/mjs/components/button/fixtures/comp3.d.ts +113 -0
  613. package/lib/mjs/components/button/fixtures/index.d.ts +4 -0
  614. package/lib/mjs/components/button/fixtures/values.d.ts +2 -0
  615. package/lib/mjs/components/checkbox/Checkbox.d.ts +77 -0
  616. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -0
  617. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
  618. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +76 -0
  619. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
  620. package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +24 -0
  621. package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +12 -0
  622. package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +15 -0
  623. package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +48 -0
  624. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
  625. package/lib/mjs/components/checkbox/fixtures/index.d.ts +6 -0
  626. package/lib/mjs/components/checkbox/fixtures/values.d.ts +2 -0
  627. package/lib/mjs/components/columns/Columns.d.ts +28 -0
  628. package/lib/mjs/components/columns/Columns.form.d.ts +3 -0
  629. package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +87 -0
  630. package/lib/mjs/components/columns/fixtures/comp1.d.ts +45 -0
  631. package/lib/mjs/components/columns/fixtures/comp2.d.ts +24 -0
  632. package/lib/mjs/components/columns/fixtures/comp3.d.ts +45 -0
  633. package/lib/mjs/components/columns/fixtures/index.d.ts +4 -0
  634. package/lib/mjs/components/container/Container.d.ts +16 -0
  635. package/lib/mjs/components/container/Container.form.d.ts +3 -0
  636. package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +5 -0
  637. package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +5 -0
  638. package/lib/mjs/components/container/fixtures/comp1.d.ts +49 -0
  639. package/lib/mjs/components/container/fixtures/comp2.d.ts +30 -0
  640. package/lib/mjs/components/container/fixtures/comp3.d.ts +77 -0
  641. package/lib/mjs/components/container/fixtures/comp4.d.ts +44 -0
  642. package/lib/mjs/components/container/fixtures/index.d.ts +5 -0
  643. package/lib/mjs/components/content/Content.d.ts +18 -0
  644. package/lib/mjs/components/content/Content.form.d.ts +3 -0
  645. package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +18 -0
  646. package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +49 -0
  647. package/lib/mjs/components/content/fixtures/comp1.d.ts +13 -0
  648. package/lib/mjs/components/content/fixtures/index.d.ts +2 -0
  649. package/lib/mjs/components/currency/Currency.d.ts +8 -0
  650. package/lib/mjs/components/currency/Currency.form.d.ts +3 -0
  651. package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +29 -0
  652. package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
  653. package/lib/mjs/components/currency/fixtures/comp1.d.ts +31 -0
  654. package/lib/mjs/components/currency/fixtures/comp2.d.ts +20 -0
  655. package/lib/mjs/components/currency/fixtures/comp3.d.ts +13 -0
  656. package/lib/mjs/components/currency/fixtures/comp4.d.ts +17 -0
  657. package/lib/mjs/components/currency/fixtures/index.d.ts +5 -0
  658. package/lib/mjs/components/currency/fixtures/values.d.ts +2 -0
  659. package/lib/mjs/components/datagrid/DataGrid.d.ts +82 -0
  660. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -0
  661. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
  662. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +297 -0
  663. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
  664. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
  665. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  666. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
  667. package/lib/mjs/components/datagrid/fixtures/comp-with-allow-calculate-override.d.ts +54 -0
  668. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
  669. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +202 -0
  670. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
  671. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
  672. package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +93 -0
  673. package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +18 -0
  674. package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +14 -0
  675. package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +27 -0
  676. package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +67 -0
  677. package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +567 -0
  678. package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +28 -0
  679. package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +35 -0
  680. package/lib/mjs/components/datagrid/fixtures/index.d.ts +17 -0
  681. package/lib/mjs/components/datagrid/fixtures/two-comp-with-allow-calculate-override.d.ts +54 -0
  682. package/lib/mjs/components/datamap/DataMap.d.ts +36 -0
  683. package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -0
  684. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
  685. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +32 -0
  686. package/lib/mjs/components/datamap/fixtures/comp1.d.ts +18 -0
  687. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
  688. package/lib/mjs/components/datamap/fixtures/index.d.ts +3 -0
  689. package/lib/mjs/components/datetime/DateTime.d.ts +39 -0
  690. package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -0
  691. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
  692. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +63 -0
  693. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
  694. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
  695. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +41 -0
  696. package/lib/mjs/components/datetime/fixtures/comp1.d.ts +45 -0
  697. package/lib/mjs/components/datetime/fixtures/comp10.d.ts +102 -0
  698. package/lib/mjs/components/datetime/fixtures/comp11.d.ts +58 -0
  699. package/lib/mjs/components/datetime/fixtures/comp12.d.ts +57 -0
  700. package/lib/mjs/components/datetime/fixtures/comp13.d.ts +126 -0
  701. package/lib/mjs/components/datetime/fixtures/comp2.d.ts +42 -0
  702. package/lib/mjs/components/datetime/fixtures/comp3.d.ts +51 -0
  703. package/lib/mjs/components/datetime/fixtures/comp5.d.ts +57 -0
  704. package/lib/mjs/components/datetime/fixtures/comp6.d.ts +55 -0
  705. package/lib/mjs/components/datetime/fixtures/comp7.d.ts +59 -0
  706. package/lib/mjs/components/datetime/fixtures/comp8.d.ts +59 -0
  707. package/lib/mjs/components/datetime/fixtures/comp9.d.ts +64 -0
  708. package/lib/mjs/components/datetime/fixtures/index.d.ts +13 -0
  709. package/lib/mjs/components/datetime/fixtures/values.d.ts +2 -0
  710. package/lib/mjs/components/day/Day.d.ts +163 -0
  711. package/lib/mjs/components/day/Day.form.d.ts +3 -0
  712. package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +5 -0
  713. package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +40 -0
  714. package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +40 -0
  715. package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +40 -0
  716. package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
  717. package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +40 -0
  718. package/lib/mjs/components/day/fixtures/comp1.d.ts +46 -0
  719. package/lib/mjs/components/day/fixtures/comp2.d.ts +46 -0
  720. package/lib/mjs/components/day/fixtures/comp3.d.ts +48 -0
  721. package/lib/mjs/components/day/fixtures/comp4.d.ts +53 -0
  722. package/lib/mjs/components/day/fixtures/comp5.d.ts +29 -0
  723. package/lib/mjs/components/day/fixtures/comp6.d.ts +81 -0
  724. package/lib/mjs/components/day/fixtures/index.d.ts +7 -0
  725. package/lib/mjs/components/day/fixtures/values.d.ts +2 -0
  726. package/lib/mjs/components/editgrid/EditGrid.d.ts +104 -0
  727. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -0
  728. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
  729. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +90 -0
  730. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +60 -0
  731. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
  732. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
  733. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
  734. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +79 -0
  735. package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +190 -0
  736. package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +89 -0
  737. package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +49 -0
  738. package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +53 -0
  739. package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +58 -0
  740. package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +64 -0
  741. package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +88 -0
  742. package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +54 -0
  743. package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +112 -0
  744. package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +27 -0
  745. package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +23 -0
  746. package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +19 -0
  747. package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +50 -0
  748. package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +129 -0
  749. package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +148 -0
  750. package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +86 -0
  751. package/lib/mjs/components/editgrid/fixtures/formsWithEditGridAndConditions.d.ts +919 -0
  752. package/lib/mjs/components/editgrid/fixtures/index.d.ts +19 -0
  753. package/lib/mjs/components/email/Email.d.ts +4 -0
  754. package/lib/mjs/components/email/Email.form.d.ts +3 -0
  755. package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +5 -0
  756. package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
  757. package/lib/mjs/components/email/fixtures/comp1.d.ts +26 -0
  758. package/lib/mjs/components/email/fixtures/comp2.d.ts +23 -0
  759. package/lib/mjs/components/email/fixtures/index.d.ts +3 -0
  760. package/lib/mjs/components/email/fixtures/values.d.ts +2 -0
  761. package/lib/mjs/components/fieldset/Fieldset.d.ts +15 -0
  762. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -0
  763. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +35 -0
  764. package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +46 -0
  765. package/lib/mjs/components/fieldset/fixtures/index.d.ts +2 -0
  766. package/lib/mjs/components/file/File.d.ts +172 -0
  767. package/lib/mjs/components/file/File.form.d.ts +3 -0
  768. package/lib/mjs/components/file/editForm/File.edit.data.d.ts +5 -0
  769. package/lib/mjs/components/file/editForm/File.edit.display.d.ts +24 -0
  770. package/lib/mjs/components/file/editForm/File.edit.file.d.ts +361 -0
  771. package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +5 -0
  772. package/lib/mjs/components/file/fixtures/comp1.d.ts +15 -0
  773. package/lib/mjs/components/file/fixtures/comp2.d.ts +35 -0
  774. package/lib/mjs/components/file/fixtures/comp3.d.ts +29 -0
  775. package/lib/mjs/components/file/fixtures/index.d.ts +3 -0
  776. package/lib/mjs/components/file/fixtures/values.d.ts +10 -0
  777. package/lib/mjs/components/form/Form.d.ts +94 -0
  778. package/lib/mjs/components/form/Form.form.d.ts +3 -0
  779. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +83 -0
  780. package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +5 -0
  781. package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +91 -0
  782. package/lib/mjs/components/form/fixtures/comp1.d.ts +45 -0
  783. package/lib/mjs/components/form/fixtures/comp2.d.ts +14 -0
  784. package/lib/mjs/components/form/fixtures/comp3.d.ts +187 -0
  785. package/lib/mjs/components/form/fixtures/comp4.d.ts +107 -0
  786. package/lib/mjs/components/form/fixtures/comp5.d.ts +42 -0
  787. package/lib/mjs/components/form/fixtures/comp6.d.ts +74 -0
  788. package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +42 -0
  789. package/lib/mjs/components/form/fixtures/index.d.ts +8 -0
  790. package/lib/mjs/components/form/fixtures/values.d.ts +6 -0
  791. package/lib/mjs/components/hidden/Hidden.d.ts +26 -0
  792. package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -0
  793. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
  794. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
  795. package/lib/mjs/components/hidden/fixtures/comp1.d.ts +18 -0
  796. package/lib/mjs/components/hidden/fixtures/index.d.ts +2 -0
  797. package/lib/mjs/components/hidden/fixtures/values.d.ts +2 -0
  798. package/lib/mjs/components/html/HTML.d.ts +19 -0
  799. package/lib/mjs/components/html/HTML.form.d.ts +3 -0
  800. package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
  801. package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +49 -0
  802. package/lib/mjs/components/html/fixtures/comp1.d.ts +19 -0
  803. package/lib/mjs/components/html/fixtures/comp2.d.ts +21 -0
  804. package/lib/mjs/components/html/fixtures/comp3.d.ts +42 -0
  805. package/lib/mjs/components/html/fixtures/index.d.ts +4 -0
  806. package/lib/mjs/components/index.d.ts +96 -0
  807. package/lib/mjs/components/number/Number.d.ts +53 -0
  808. package/lib/mjs/components/number/Number.form.d.ts +3 -0
  809. package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +18 -0
  810. package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +5 -0
  811. package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
  812. package/lib/mjs/components/number/fixtures/comp1.d.ts +33 -0
  813. package/lib/mjs/components/number/fixtures/comp2.d.ts +32 -0
  814. package/lib/mjs/components/number/fixtures/comp3.d.ts +14 -0
  815. package/lib/mjs/components/number/fixtures/comp4.d.ts +14 -0
  816. package/lib/mjs/components/number/fixtures/comp5.d.ts +20 -0
  817. package/lib/mjs/components/number/fixtures/comp6.d.ts +40 -0
  818. package/lib/mjs/components/number/fixtures/comp7.d.ts +15 -0
  819. package/lib/mjs/components/number/fixtures/index.d.ts +8 -0
  820. package/lib/mjs/components/number/fixtures/values.d.ts +2 -0
  821. package/lib/mjs/components/panel/Panel.d.ts +14 -0
  822. package/lib/mjs/components/panel/Panel.form.d.ts +3 -0
  823. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +76 -0
  824. package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +213 -0
  825. package/lib/mjs/components/panel/fixtures/comp1.d.ts +46 -0
  826. package/lib/mjs/components/panel/fixtures/comp2.d.ts +80 -0
  827. package/lib/mjs/components/panel/fixtures/index.d.ts +3 -0
  828. package/lib/mjs/components/password/Password.d.ts +3 -0
  829. package/lib/mjs/components/password/Password.form.d.ts +3 -0
  830. package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +18 -0
  831. package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +5 -0
  832. package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
  833. package/lib/mjs/components/password/fixtures/comp1.d.ts +22 -0
  834. package/lib/mjs/components/password/fixtures/comp2.d.ts +27 -0
  835. package/lib/mjs/components/password/fixtures/index.d.ts +3 -0
  836. package/lib/mjs/components/password/fixtures/values.d.ts +2 -0
  837. package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +3 -0
  838. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
  839. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
  840. package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
  841. package/lib/mjs/components/phonenumber/fixtures/index.d.ts +2 -0
  842. package/lib/mjs/components/phonenumber/fixtures/values.d.ts +2 -0
  843. package/lib/mjs/components/radio/Radio.d.ts +83 -0
  844. package/lib/mjs/components/radio/Radio.form.d.ts +3 -0
  845. package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +171 -0
  846. package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
  847. package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
  848. package/lib/mjs/components/radio/fixtures/comp1.d.ts +28 -0
  849. package/lib/mjs/components/radio/fixtures/comp10.d.ts +15 -0
  850. package/lib/mjs/components/radio/fixtures/comp11.d.ts +35 -0
  851. package/lib/mjs/components/radio/fixtures/comp2.d.ts +85 -0
  852. package/lib/mjs/components/radio/fixtures/comp3.d.ts +85 -0
  853. package/lib/mjs/components/radio/fixtures/comp4.d.ts +19 -0
  854. package/lib/mjs/components/radio/fixtures/comp5.d.ts +39 -0
  855. package/lib/mjs/components/radio/fixtures/comp6.d.ts +38 -0
  856. package/lib/mjs/components/radio/fixtures/comp7.d.ts +23 -0
  857. package/lib/mjs/components/radio/fixtures/comp8.d.ts +118 -0
  858. package/lib/mjs/components/radio/fixtures/comp9.d.ts +35 -0
  859. package/lib/mjs/components/radio/fixtures/index.d.ts +12 -0
  860. package/lib/mjs/components/radio/fixtures/values.d.ts +2 -0
  861. package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +24 -0
  862. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
  863. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +46 -0
  864. package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
  865. package/lib/mjs/components/recaptcha/fixtures/index.d.ts +2 -0
  866. package/lib/mjs/components/select/Select.d.ts +149 -0
  867. package/lib/mjs/components/select/Select.form.d.ts +3 -0
  868. package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1183 -0
  869. package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +27 -0
  870. package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
  871. package/lib/mjs/components/select/fixtures/comp1.d.ts +40 -0
  872. package/lib/mjs/components/select/fixtures/comp10.d.ts +41 -0
  873. package/lib/mjs/components/select/fixtures/comp11.d.ts +28 -0
  874. package/lib/mjs/components/select/fixtures/comp12.d.ts +53 -0
  875. package/lib/mjs/components/select/fixtures/comp13.d.ts +28 -0
  876. package/lib/mjs/components/select/fixtures/comp14.d.ts +40 -0
  877. package/lib/mjs/components/select/fixtures/comp15.d.ts +50 -0
  878. package/lib/mjs/components/select/fixtures/comp16.d.ts +34 -0
  879. package/lib/mjs/components/select/fixtures/comp17.d.ts +51 -0
  880. package/lib/mjs/components/select/fixtures/comp18.d.ts +49 -0
  881. package/lib/mjs/components/select/fixtures/comp19.d.ts +23 -0
  882. package/lib/mjs/components/select/fixtures/comp2.d.ts +41 -0
  883. package/lib/mjs/components/select/fixtures/comp20.d.ts +36 -0
  884. package/lib/mjs/components/select/fixtures/comp21.d.ts +87 -0
  885. package/lib/mjs/components/select/fixtures/comp3.d.ts +35 -0
  886. package/lib/mjs/components/select/fixtures/comp4.d.ts +103 -0
  887. package/lib/mjs/components/select/fixtures/comp5.d.ts +21 -0
  888. package/lib/mjs/components/select/fixtures/comp6.d.ts +20 -0
  889. package/lib/mjs/components/select/fixtures/comp7.d.ts +63 -0
  890. package/lib/mjs/components/select/fixtures/comp8.d.ts +72 -0
  891. package/lib/mjs/components/select/fixtures/comp9.d.ts +88 -0
  892. package/lib/mjs/components/select/fixtures/index.d.ts +22 -0
  893. package/lib/mjs/components/select/fixtures/values.d.ts +2 -0
  894. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +51 -0
  895. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
  896. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
  897. package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
  898. package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
  899. package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
  900. package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +66 -0
  901. package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
  902. package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +14 -0
  903. package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +18 -0
  904. package/lib/mjs/components/selectboxes/fixtures/index.d.ts +8 -0
  905. package/lib/mjs/components/selectboxes/fixtures/values.d.ts +6 -0
  906. package/lib/mjs/components/signature/Signature.d.ts +46 -0
  907. package/lib/mjs/components/signature/Signature.form.d.ts +3 -0
  908. package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
  909. package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +54 -0
  910. package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
  911. package/lib/mjs/components/signature/fixtures/comp1.d.ts +30 -0
  912. package/lib/mjs/components/signature/fixtures/index.d.ts +2 -0
  913. package/lib/mjs/components/signature/fixtures/values.d.ts +2 -0
  914. package/lib/mjs/components/survey/Survey.d.ts +37 -0
  915. package/lib/mjs/components/survey/Survey.form.d.ts +3 -0
  916. package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +45 -0
  917. package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
  918. package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
  919. package/lib/mjs/components/survey/fixtures/comp1.d.ts +31 -0
  920. package/lib/mjs/components/survey/fixtures/comp2.d.ts +31 -0
  921. package/lib/mjs/components/survey/fixtures/index.d.ts +3 -0
  922. package/lib/mjs/components/survey/fixtures/values.d.ts +5 -0
  923. package/lib/mjs/components/table/Table.d.ts +23 -0
  924. package/lib/mjs/components/table/Table.form.d.ts +3 -0
  925. package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +84 -0
  926. package/lib/mjs/components/table/fixtures/comp1.d.ts +53 -0
  927. package/lib/mjs/components/table/fixtures/index.d.ts +2 -0
  928. package/lib/mjs/components/tabs/Tabs.d.ts +30 -0
  929. package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -0
  930. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +78 -0
  931. package/lib/mjs/components/tabs/fixtures/comp1.d.ts +23 -0
  932. package/lib/mjs/components/tabs/fixtures/index.d.ts +2 -0
  933. package/lib/mjs/components/tags/Tags.d.ts +41 -0
  934. package/lib/mjs/components/tags/Tags.form.d.ts +3 -0
  935. package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
  936. package/lib/mjs/components/tags/fixtures/comp1.d.ts +20 -0
  937. package/lib/mjs/components/tags/fixtures/comp2.d.ts +10 -0
  938. package/lib/mjs/components/tags/fixtures/comp3.d.ts +23 -0
  939. package/lib/mjs/components/tags/fixtures/comp4.d.ts +9 -0
  940. package/lib/mjs/components/tags/fixtures/comp5.d.ts +24 -0
  941. package/lib/mjs/components/tags/fixtures/comp6.d.ts +17 -0
  942. package/lib/mjs/components/tags/fixtures/index.d.ts +7 -0
  943. package/lib/mjs/components/tags/fixtures/values.d.ts +2 -0
  944. package/lib/mjs/components/textarea/TextArea.d.ts +37 -0
  945. package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -0
  946. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +357 -0
  947. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
  948. package/lib/mjs/components/textarea/fixtures/comp1.d.ts +31 -0
  949. package/lib/mjs/components/textarea/fixtures/comp2.d.ts +29 -0
  950. package/lib/mjs/components/textarea/fixtures/comp3.d.ts +27 -0
  951. package/lib/mjs/components/textarea/fixtures/comp4.d.ts +30 -0
  952. package/lib/mjs/components/textarea/fixtures/index.d.ts +5 -0
  953. package/lib/mjs/components/textarea/fixtures/values.d.ts +2 -0
  954. package/lib/mjs/components/textfield/TextField.d.ts +64 -0
  955. package/lib/mjs/components/textfield/TextField.form.d.ts +3 -0
  956. package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
  957. package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +263 -0
  958. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
  959. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
  960. package/lib/mjs/components/textfield/fixtures/comp1.d.ts +33 -0
  961. package/lib/mjs/components/textfield/fixtures/comp2.d.ts +33 -0
  962. package/lib/mjs/components/textfield/fixtures/comp3.d.ts +33 -0
  963. package/lib/mjs/components/textfield/fixtures/comp4.d.ts +23 -0
  964. package/lib/mjs/components/textfield/fixtures/comp5.d.ts +12 -0
  965. package/lib/mjs/components/textfield/fixtures/comp6.d.ts +25 -0
  966. package/lib/mjs/components/textfield/fixtures/comp7.d.ts +37 -0
  967. package/lib/mjs/components/textfield/fixtures/index.d.ts +9 -0
  968. package/lib/mjs/components/textfield/fixtures/values.d.ts +2 -0
  969. package/lib/mjs/components/time/Time.d.ts +16 -0
  970. package/lib/mjs/components/time/Time.form.d.ts +3 -0
  971. package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +10 -0
  972. package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +52 -0
  973. package/lib/mjs/components/time/fixtures/comp1.d.ts +24 -0
  974. package/lib/mjs/components/time/fixtures/comp2.d.ts +10 -0
  975. package/lib/mjs/components/time/fixtures/comp3.d.ts +15 -0
  976. package/lib/mjs/components/time/fixtures/index.d.ts +6 -0
  977. package/lib/mjs/components/time/fixtures/timeForm.d.ts +47 -0
  978. package/lib/mjs/components/time/fixtures/timeForm2.d.ts +38 -0
  979. package/lib/mjs/components/time/fixtures/values.d.ts +2 -0
  980. package/lib/mjs/components/unknown/Unknown.d.ts +28 -0
  981. package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -0
  982. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
  983. package/lib/mjs/components/unknown/fixtures/comp1.d.ts +7 -0
  984. package/lib/mjs/components/unknown/fixtures/index.d.ts +2 -0
  985. package/lib/mjs/components/url/Url.d.ts +3 -0
  986. package/lib/mjs/components/url/Url.form.d.ts +3 -0
  987. package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +5 -0
  988. package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +5 -0
  989. package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
  990. package/lib/mjs/components/url/fixtures/comp1.d.ts +26 -0
  991. package/lib/mjs/components/url/fixtures/comp2.d.ts +26 -0
  992. package/lib/mjs/components/url/fixtures/index.d.ts +3 -0
  993. package/lib/mjs/components/url/fixtures/values.d.ts +2 -0
  994. package/lib/mjs/components/well/Well.d.ts +15 -0
  995. package/lib/mjs/components/well/Well.form.d.ts +3 -0
  996. package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +28 -0
  997. package/lib/mjs/components/well/fixtures/comp1.d.ts +43 -0
  998. package/lib/mjs/components/well/fixtures/index.d.ts +2 -0
  999. package/lib/mjs/displays/Displays.d.ts +18 -0
  1000. package/lib/mjs/displays/index.d.ts +2 -0
  1001. package/lib/mjs/formio.embed.d.ts +2 -0
  1002. package/lib/mjs/formio.form.d.ts +20 -0
  1003. package/lib/mjs/formio.form.js +1 -0
  1004. package/lib/mjs/i18n.d.ts +13 -0
  1005. package/lib/mjs/index.d.ts +5 -0
  1006. package/lib/mjs/licenses/Licenses.d.ts +7 -0
  1007. package/lib/mjs/licenses/index.d.ts +2 -0
  1008. package/lib/mjs/pdf.image.d.ts +2 -0
  1009. package/lib/mjs/providers/Providers.d.ts +20 -0
  1010. package/lib/mjs/providers/address/AddressProvider.d.ts +17 -0
  1011. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +12 -0
  1012. package/lib/mjs/providers/address/CustomAddressProvider.d.ts +7 -0
  1013. package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +18 -0
  1014. package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +11 -0
  1015. package/lib/mjs/providers/address/index.d.ts +6 -0
  1016. package/lib/mjs/providers/auth/index.d.ts +2 -0
  1017. package/lib/mjs/providers/index.d.ts +2 -0
  1018. package/lib/mjs/providers/processor/fileProcessor.d.ts +2 -0
  1019. package/lib/mjs/providers/storage/azure.d.ts +17 -0
  1020. package/lib/mjs/providers/storage/base64.d.ts +10 -0
  1021. package/lib/mjs/providers/storage/dropbox.d.ts +8 -0
  1022. package/lib/mjs/providers/storage/googleDrive.d.ts +9 -0
  1023. package/lib/mjs/providers/storage/index.d.ts +15 -0
  1024. package/lib/mjs/providers/storage/indexeddb.d.ts +11 -0
  1025. package/lib/mjs/providers/storage/s3.d.ts +24 -0
  1026. package/lib/mjs/providers/storage/uploadAdapter.d.ts +1 -0
  1027. package/lib/mjs/providers/storage/url.d.ts +11 -0
  1028. package/lib/mjs/providers/storage/util.d.ts +1 -0
  1029. package/lib/mjs/providers/storage/xhr.d.ts +8 -0
  1030. package/lib/mjs/templates/Templates.d.ts +2 -0
  1031. package/lib/mjs/templates/index.d.ts +229 -0
  1032. package/lib/mjs/translations/en.d.ts +75 -0
  1033. package/lib/mjs/utils/ChoicesWrapper.d.ts +38 -0
  1034. package/lib/mjs/utils/Evaluator.d.ts +10 -0
  1035. package/lib/mjs/utils/Evaluator.js +9 -13
  1036. package/lib/mjs/utils/builder.d.ts +22 -0
  1037. package/lib/mjs/utils/calendarUtils.d.ts +41 -0
  1038. package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
  1039. package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
  1040. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
  1041. package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
  1042. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
  1043. package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +7 -0
  1044. package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
  1045. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
  1046. package/lib/mjs/utils/conditionOperators/Includes.d.ts +7 -0
  1047. package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
  1048. package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
  1049. package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +9 -0
  1050. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
  1051. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
  1052. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +4 -0
  1053. package/lib/mjs/utils/conditionOperators/LessThan.d.ts +7 -0
  1054. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
  1055. package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
  1056. package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +7 -0
  1057. package/lib/mjs/utils/conditionOperators/index.d.ts +6 -0
  1058. package/lib/mjs/utils/formUtils.d.ts +46 -0
  1059. package/lib/mjs/utils/formUtils.js +3 -550
  1060. package/lib/mjs/utils/i18n.d.ts +16 -0
  1061. package/lib/mjs/utils/index.d.ts +3 -0
  1062. package/lib/mjs/utils/jsonlogic/operators.d.ts +1 -0
  1063. package/lib/mjs/utils/utils.d.ts +377 -0
  1064. package/lib/mjs/utils/utils.js +1 -1
  1065. package/lib/mjs/widgets/CalendarWidget.d.ts +97 -0
  1066. package/lib/mjs/widgets/InputWidget.d.ts +24 -0
  1067. package/lib/mjs/widgets/index.d.ts +7 -0
  1068. package/package.json +3 -10
  1069. package/embed.d.ts +0 -1
  1070. package/index.d.ts +0 -1
  1071. package/sdk.d.ts +0 -1
  1072. package/types/Embed.d.ts +0 -13
  1073. package/types/Plugins.d.ts +0 -95
  1074. package/types/sdk.d.ts +0 -1
  1075. package/utils.d.ts +0 -1
@@ -1,184 +1,45 @@
1
1
  "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
2
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getStrings = exports.getValue = exports.escapeRegExCharacters = exports.formatAsCurrency = exports.parseFloatExt = exports.hasCondition = exports.flattenComponents = exports.applyFormChanges = exports.generateFormChange = exports.removeComponent = exports.findComponent = exports.findComponents = exports.searchComponents = exports.getComponent = exports.matchComponent = exports.eachComponent = exports.isLayoutComponent = void 0;
7
- const get_1 = __importDefault(require("lodash/get"));
8
- const set_1 = __importDefault(require("lodash/set"));
9
- const has_1 = __importDefault(require("lodash/has"));
10
- const clone_1 = __importDefault(require("lodash/clone"));
11
- const forOwn_1 = __importDefault(require("lodash/forOwn"));
12
- const isString_1 = __importDefault(require("lodash/isString"));
13
- const isNaN_1 = __importDefault(require("lodash/isNaN"));
14
- const isNil_1 = __importDefault(require("lodash/isNil"));
15
- const isPlainObject_1 = __importDefault(require("lodash/isPlainObject"));
16
- const round_1 = __importDefault(require("lodash/round"));
17
- const chunk_1 = __importDefault(require("lodash/chunk"));
18
- const pad_1 = __importDefault(require("lodash/pad"));
19
- const fast_json_patch_1 = require("fast-json-patch");
20
- const lodash_1 = __importDefault(require("lodash"));
21
- const utils_1 = require("./utils");
22
- /**
23
- * Determine if a component is a layout component or not.
24
- *
25
- * @param {Object} component
26
- * The component to check.
27
- *
28
- * @returns {Boolean}
29
- * Whether or not the component is a layout component.
30
- */
31
- function isLayoutComponent(component) {
32
- return Boolean((component.columns && Array.isArray(component.columns)) ||
33
- (component.rows && Array.isArray(component.rows)) ||
34
- (component.components && Array.isArray(component.components)));
35
- }
36
- exports.isLayoutComponent = isLayoutComponent;
37
- /**
38
- * Iterate through each component within a form.
39
- *
40
- * @param {Object} components
41
- * The components to iterate.
42
- * @param {Function} fn
43
- * The iteration function to invoke for each component.
44
- * @param {Boolean} includeAll
45
- * Whether or not to include layout components.
46
- * @param {String} path
47
- * The current data path of the element. Example: data.user.firstName
48
- * @param {Object} parent
49
- * The parent object.
50
- */
51
- function eachComponent(components, fn, includeAll, path, parent, inRecursion) {
52
- if (!components)
53
- return;
54
- path = path || '';
55
- if (inRecursion) {
56
- if (components.noRecurse) {
57
- delete components.noRecurse;
58
- return;
59
- }
60
- components.noRecurse = true;
61
- }
62
- components.forEach((component) => {
63
- if (!component) {
64
- return;
65
- }
66
- const hasColumns = component.columns && Array.isArray(component.columns);
67
- const hasRows = component.rows && Array.isArray(component.rows);
68
- const hasComps = component.components && Array.isArray(component.components);
69
- let noRecurse = false;
70
- const newPath = component.key ? (path ? (`${path}.${component.key}`) : component.key) : '';
71
- // Keep track of parent references.
72
- if (parent) {
73
- // Ensure we don't create infinite JSON structures.
74
- component.parent = (0, clone_1.default)(parent);
75
- delete component.parent.components;
76
- delete component.parent.componentMap;
77
- delete component.parent.columns;
78
- delete component.parent.rows;
79
- }
80
- // there's no need to add other layout components here because we expect that those would either have columns, rows or components
81
- const layoutTypes = ['htmlelement', 'content'];
82
- const isLayoutComponent = hasColumns || hasRows || (hasComps && !component.input) || layoutTypes.indexOf(component.type) > -1;
83
- if (includeAll || component.tree || !isLayoutComponent) {
84
- noRecurse = fn(component, newPath, components);
85
- }
86
- const subPath = () => {
87
- if (component.key &&
88
- !['panel', 'table', 'well', 'columns', 'fieldset', 'tabs', 'form'].includes(component.type) &&
89
- (['datagrid', 'container', 'editgrid', 'address', 'dynamicWizard', 'datatable', 'tagpad'].includes(component.type) ||
90
- component.tree)) {
91
- return newPath;
92
- }
93
- else if (component.key &&
94
- component.type === 'form') {
95
- return `${newPath}.data`;
96
- }
97
- return path;
98
- };
99
- if (!noRecurse) {
100
- if (hasColumns) {
101
- component.columns.forEach((column) => eachComponent(column.components, fn, includeAll, subPath(), parent ? component : null), true);
102
- }
103
- else if (hasRows) {
104
- component.rows.forEach((row) => {
105
- if (Array.isArray(row)) {
106
- row.forEach((column) => eachComponent(column.components, fn, includeAll, subPath(), parent ? component : null), true);
107
- }
108
- });
109
- }
110
- else if (hasComps) {
111
- eachComponent(component.components, fn, includeAll, subPath(), parent ? component : null, true);
112
- }
113
- }
114
- });
115
- if (components.noRecurse) {
116
- delete components.noRecurse;
117
- }
118
- }
3
+ exports.isComponentDataEmpty = exports.getEmptyValue = exports.findComponent = exports.applyFormChanges = exports.generateFormChange = exports.getStrings = exports.getValue = exports.escapeRegExCharacters = exports.formatAsCurrency = exports.parseFloatExt = exports.hasCondition = exports.removeComponent = exports.searchComponents = exports.getComponent = exports.matchComponent = exports.isLayoutComponent = exports.getComponentActualValue = exports.getComponentData = exports.eachComponentAsync = exports.eachComponent = exports.componentInfo = exports.getContextualRowData = exports.getContextualRowPath = exports.getComponentKey = exports.eachComponentData = exports.eachComponentDataAsync = exports.componentChildPath = exports.componentPath = exports.isComponentNestedDataType = exports.isComponentModelType = exports.getComponentPath = exports.getComponentAbsolutePath = exports.getModelType = exports.MODEL_TYPES = exports.uniqueName = exports.guid = exports.flattenComponents = exports.findComponents = void 0;
4
+ const core_1 = require("@formio/core");
5
+ const { flattenComponents, guid, uniqueName, MODEL_TYPES, getModelType, getComponentAbsolutePath, getComponentPath, isComponentModelType, isComponentNestedDataType, componentPath, componentChildPath, eachComponentDataAsync, eachComponentData, getComponentKey, getContextualRowPath, getContextualRowData, componentInfo, eachComponent, eachComponentAsync, getComponentData, getComponentActualValue, isLayoutComponent, matchComponent, getComponent, searchComponents, removeComponent, hasCondition, parseFloatExt, formatAsCurrency, escapeRegExCharacters, getValue, getStrings, generateFormChange, applyFormChanges, findComponent, getEmptyValue, isComponentDataEmpty } = core_1.Utils;
6
+ exports.flattenComponents = flattenComponents;
7
+ exports.guid = guid;
8
+ exports.uniqueName = uniqueName;
9
+ exports.MODEL_TYPES = MODEL_TYPES;
10
+ exports.getModelType = getModelType;
11
+ exports.getComponentAbsolutePath = getComponentAbsolutePath;
12
+ exports.getComponentPath = getComponentPath;
13
+ exports.isComponentModelType = isComponentModelType;
14
+ exports.isComponentNestedDataType = isComponentNestedDataType;
15
+ exports.componentPath = componentPath;
16
+ exports.componentChildPath = componentChildPath;
17
+ exports.eachComponentDataAsync = eachComponentDataAsync;
18
+ exports.eachComponentData = eachComponentData;
19
+ exports.getComponentKey = getComponentKey;
20
+ exports.getContextualRowPath = getContextualRowPath;
21
+ exports.getContextualRowData = getContextualRowData;
22
+ exports.componentInfo = componentInfo;
119
23
  exports.eachComponent = eachComponent;
120
- /**
121
- * Matches if a component matches the query.
122
- *
123
- * @param component
124
- * @param query
125
- * @return {boolean}
126
- */
127
- function matchComponent(component, query) {
128
- if ((0, isString_1.default)(query)) {
129
- return (component.key === query) || (component.path === query);
130
- }
131
- else {
132
- let matches = false;
133
- (0, forOwn_1.default)(query, (value, key) => {
134
- matches = ((0, get_1.default)(component, key) === value);
135
- if (!matches) {
136
- return false;
137
- }
138
- });
139
- return matches;
140
- }
141
- }
24
+ exports.eachComponentAsync = eachComponentAsync;
25
+ exports.getComponentData = getComponentData;
26
+ exports.getComponentActualValue = getComponentActualValue;
27
+ exports.isLayoutComponent = isLayoutComponent;
142
28
  exports.matchComponent = matchComponent;
143
- /**
144
- * Get a component by its key
145
- *
146
- * @param {Object} components
147
- * The components to iterate.
148
- * @param {String|Object} key
149
- * The key of the component to get, or a query of the component to search.
150
- *
151
- * @returns {Object}
152
- * The component that matches the given key, or undefined if not found.
153
- */
154
- function getComponent(components, key, includeAll) {
155
- let result;
156
- eachComponent(components, (component, path) => {
157
- if ((path === key) || (component.path === key)) {
158
- result = component;
159
- return true;
160
- }
161
- }, includeAll);
162
- return result;
163
- }
164
29
  exports.getComponent = getComponent;
165
- /**
166
- * Finds a component provided a query of properties of that component.
167
- *
168
- * @param components
169
- * @param query
170
- * @return {*}
171
- */
172
- function searchComponents(components, query) {
173
- const results = [];
174
- eachComponent(components, (component) => {
175
- if (matchComponent(component, query)) {
176
- results.push(component);
177
- }
178
- }, true);
179
- return results;
180
- }
181
30
  exports.searchComponents = searchComponents;
31
+ exports.removeComponent = removeComponent;
32
+ exports.hasCondition = hasCondition;
33
+ exports.parseFloatExt = parseFloatExt;
34
+ exports.formatAsCurrency = formatAsCurrency;
35
+ exports.escapeRegExCharacters = escapeRegExCharacters;
36
+ exports.getValue = getValue;
37
+ exports.getStrings = getStrings;
38
+ exports.generateFormChange = generateFormChange;
39
+ exports.applyFormChanges = applyFormChanges;
40
+ exports.findComponent = findComponent;
41
+ exports.getEmptyValue = getEmptyValue;
42
+ exports.isComponentDataEmpty = isComponentDataEmpty;
182
43
  /**
183
44
  * Deprecated version of findComponents. Renamed to searchComponents.
184
45
  *
@@ -191,394 +52,3 @@ function findComponents(components, query) {
191
52
  return searchComponents(components, query);
192
53
  }
193
54
  exports.findComponents = findComponents;
194
- /**
195
- * This function will find a component in a form and return the component AND THE PATH to the component in the form.
196
- * Path to the component is stored as an array of nested components and their indexes.The Path is being filled recursively
197
- * when you iterating through the nested structure.
198
- * If the component is not found the callback won't be called and function won't return anything.
199
- *
200
- * @param components
201
- * @param key
202
- * @param fn
203
- * @param path
204
- * @returns {*}
205
- */
206
- function findComponent(components, key, path, fn) {
207
- if (!components)
208
- return;
209
- path = path || [];
210
- if (!key) {
211
- return fn(components);
212
- }
213
- components.forEach(function (component, index) {
214
- var newPath = path.slice();
215
- // Add an index of the component it iterates through in nested structure
216
- newPath.push(index);
217
- if (!component)
218
- return;
219
- if (component.hasOwnProperty('columns') && Array.isArray(component.columns)) {
220
- newPath.push('columns');
221
- component.columns.forEach(function (column, index) {
222
- var colPath = newPath.slice();
223
- colPath.push(index);
224
- colPath.push('components');
225
- findComponent(column.components, key, colPath, fn);
226
- });
227
- }
228
- if (component.hasOwnProperty('rows') && Array.isArray(component.rows)) {
229
- newPath.push('rows');
230
- component.rows.forEach(function (row, index) {
231
- var rowPath = newPath.slice();
232
- rowPath.push(index);
233
- row.forEach(function (column, index) {
234
- var colPath = rowPath.slice();
235
- colPath.push(index);
236
- colPath.push('components');
237
- findComponent(column.components, key, colPath, fn);
238
- });
239
- });
240
- }
241
- if (component.hasOwnProperty('components') && Array.isArray(component.components)) {
242
- newPath.push('components');
243
- findComponent(component.components, key, newPath, fn);
244
- }
245
- if (component.key === key) {
246
- //Final callback if the component is found
247
- fn(component, newPath, components);
248
- }
249
- });
250
- }
251
- exports.findComponent = findComponent;
252
- /**
253
- * Remove a component by path.
254
- *
255
- * @param components
256
- * @param path
257
- */
258
- function removeComponent(components, path) {
259
- // Using _.unset() leave a null value. Use Array splice instead.
260
- var index = path.pop();
261
- if (path.length !== 0) {
262
- components = (0, get_1.default)(components, path);
263
- }
264
- components.splice(index, 1);
265
- }
266
- exports.removeComponent = removeComponent;
267
- function generateFormChange(type, data) {
268
- let change;
269
- switch (type) {
270
- case 'add':
271
- change = {
272
- op: 'add',
273
- key: data.component.key,
274
- container: data.parent.key, // Parent component
275
- path: data.path, // Path to container within parent component.
276
- index: data.index, // Index of component in parent container.
277
- component: data.component
278
- };
279
- break;
280
- case 'edit':
281
- change = {
282
- op: 'edit',
283
- key: data.originalComponent.key,
284
- patches: (0, fast_json_patch_1.compare)(data.originalComponent, data.component)
285
- };
286
- // Don't save if nothing changed.
287
- if (!change.patches.length) {
288
- change = null;
289
- }
290
- break;
291
- case 'remove':
292
- change = {
293
- op: 'remove',
294
- key: data.component.key,
295
- };
296
- break;
297
- }
298
- return change;
299
- }
300
- exports.generateFormChange = generateFormChange;
301
- function applyFormChanges(form, changes) {
302
- const failed = [];
303
- changes.forEach(function (change) {
304
- var found = false;
305
- switch (change.op) {
306
- case 'add':
307
- var newComponent = change.component;
308
- // Find the container to set the component in.
309
- findComponent(form.components, change.container, null, function (parent) {
310
- if (!change.container) {
311
- parent = form;
312
- }
313
- // A move will first run an add so remove any existing components with matching key before inserting.
314
- findComponent(form.components, change.key, null, function (component, path) {
315
- // If found, use the existing component. (If someone else edited it, the changes would be here)
316
- newComponent = component;
317
- removeComponent(form.components, path);
318
- });
319
- found = true;
320
- var container = (0, get_1.default)(parent, change.path);
321
- container.splice(change.index, 0, newComponent);
322
- });
323
- break;
324
- case 'remove':
325
- findComponent(form.components, change.key, null, function (component, path) {
326
- found = true;
327
- const oldComponent = (0, get_1.default)(form.components, path);
328
- if (oldComponent.key !== component.key) {
329
- path.pop();
330
- }
331
- removeComponent(form.components, path);
332
- });
333
- break;
334
- case 'edit':
335
- findComponent(form.components, change.key, null, function (component, path) {
336
- found = true;
337
- try {
338
- const oldComponent = (0, get_1.default)(form.components, path);
339
- const newComponent = (0, fast_json_patch_1.applyPatch)(component, change.patches).newDocument;
340
- if (oldComponent.key !== newComponent.key) {
341
- path.pop();
342
- }
343
- (0, set_1.default)(form.components, path, newComponent);
344
- }
345
- catch (err) {
346
- failed.push(change);
347
- }
348
- });
349
- break;
350
- case 'move':
351
- break;
352
- }
353
- if (!found) {
354
- failed.push(change);
355
- }
356
- });
357
- return {
358
- form,
359
- failed
360
- };
361
- }
362
- exports.applyFormChanges = applyFormChanges;
363
- /**
364
- * Flatten the form components for data manipulation.
365
- *
366
- * @param {Object} components
367
- * The components to iterate.
368
- * @param {Boolean} includeAll
369
- * Whether or not to include layout components.
370
- *
371
- * @returns {Object}
372
- * The flattened components map.
373
- */
374
- function flattenComponents(components, includeAll = false) {
375
- const flattened = {};
376
- eachComponent(components, (component, path) => {
377
- flattened[path] = component;
378
- }, includeAll);
379
- return flattened;
380
- }
381
- exports.flattenComponents = flattenComponents;
382
- /**
383
- * Returns if this component has a conditional statement.
384
- *
385
- * @param component - The component JSON schema.
386
- *
387
- * @returns {boolean} - TRUE - This component has a conditional, FALSE - No conditional provided.
388
- */
389
- function hasCondition(component) {
390
- return Boolean((component.customConditional) ||
391
- (component.conditional && (component.conditional.when ||
392
- (lodash_1.default.some(component.conditional.conditions || [], (condition => condition.component && condition.operator))) ||
393
- component.conditional.json ||
394
- component.conditional.condition)));
395
- }
396
- exports.hasCondition = hasCondition;
397
- /**
398
- * Extension of standard #parseFloat(value) function, that also clears input string.
399
- *
400
- * @param {any} value
401
- * The value to parse.
402
- *
403
- * @returns {Number}
404
- * Parsed value.
405
- */
406
- function parseFloatExt(value) {
407
- return parseFloat((0, isString_1.default)(value)
408
- ? value.replace(/[^\de.+-]/gi, '')
409
- : value);
410
- }
411
- exports.parseFloatExt = parseFloatExt;
412
- /**
413
- * Formats provided value in way how Currency component uses it.
414
- *
415
- * @param {any} value
416
- * The value to format.
417
- *
418
- * @returns {String}
419
- * Value formatted for Currency component.
420
- */
421
- function formatAsCurrency(value) {
422
- const parsedValue = parseFloatExt(value);
423
- if ((0, isNaN_1.default)(parsedValue)) {
424
- return '';
425
- }
426
- const parts = (0, round_1.default)(parsedValue, 2)
427
- .toString()
428
- .split('.');
429
- parts[0] = (0, chunk_1.default)(Array.from(parts[0]).reverse(), 3)
430
- .reverse()
431
- .map((part) => part
432
- .reverse()
433
- .join(''))
434
- .join(',');
435
- parts[1] = (0, pad_1.default)(parts[1], 2, '0');
436
- return parts.join('.');
437
- }
438
- exports.formatAsCurrency = formatAsCurrency;
439
- /**
440
- * Escapes RegEx characters in provided String value.
441
- *
442
- * @param {String} value
443
- * String for escaping RegEx characters.
444
- * @returns {string}
445
- * String with escaped RegEx characters.
446
- */
447
- function escapeRegExCharacters(value) {
448
- return value.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
449
- }
450
- exports.escapeRegExCharacters = escapeRegExCharacters;
451
- /**
452
- * Get the value for a component key, in the given submission.
453
- *
454
- * @param {Object} submission
455
- * A submission object to search.
456
- * @param {String} key
457
- * A for components API key to search for.
458
- */
459
- function getValue(submission, key) {
460
- const search = (data) => {
461
- if ((0, isPlainObject_1.default)(data)) {
462
- if ((0, has_1.default)(data, key)) {
463
- return lodash_1.default.get(data, key);
464
- }
465
- let value = null;
466
- (0, forOwn_1.default)(data, (prop) => {
467
- const result = search(prop);
468
- if (!(0, isNil_1.default)(result)) {
469
- value = result;
470
- return false;
471
- }
472
- });
473
- return value;
474
- }
475
- else {
476
- return null;
477
- }
478
- };
479
- return search(submission.data);
480
- }
481
- exports.getValue = getValue;
482
- /**
483
- * Iterate over all components in a form and get string values for translation.
484
- * @param form
485
- */
486
- function getStrings(form) {
487
- const properties = ['label', 'title', 'legend', 'tooltip', 'description', 'placeholder', 'prefix', 'suffix', 'errorLabel', 'content', 'html'];
488
- const strings = [];
489
- eachComponent(form.components, component => {
490
- properties.forEach(property => {
491
- if (component.hasOwnProperty(property) && component[property]) {
492
- strings.push({
493
- key: component.key,
494
- type: component.type,
495
- property,
496
- string: component[property]
497
- });
498
- }
499
- });
500
- if ((!component.dataSrc || component.dataSrc === 'values') && component.hasOwnProperty('values') && Array.isArray(component.values) && component.values.length) {
501
- component.values.forEach((value, index) => {
502
- strings.push({
503
- key: component.key,
504
- property: `value[${index}].label`,
505
- string: component.values[index].label
506
- });
507
- });
508
- }
509
- // Hard coded values from Day component
510
- if (component.type === 'day') {
511
- [
512
- 'day',
513
- 'month',
514
- 'year',
515
- 'Day',
516
- 'Month',
517
- 'Year',
518
- 'january',
519
- 'february',
520
- 'march',
521
- 'april',
522
- 'may',
523
- 'june',
524
- 'july',
525
- 'august',
526
- 'september',
527
- 'october',
528
- 'november',
529
- 'december'
530
- ].forEach(string => {
531
- strings.push({
532
- key: component.key,
533
- property: 'day',
534
- string,
535
- });
536
- });
537
- if (component.fields.day.placeholder) {
538
- strings.push({
539
- key: component.key,
540
- property: 'fields.day.placeholder',
541
- string: component.fields.day.placeholder,
542
- });
543
- }
544
- if (component.fields.month.placeholder) {
545
- strings.push({
546
- key: component.key,
547
- property: 'fields.month.placeholder',
548
- string: component.fields.month.placeholder,
549
- });
550
- }
551
- if (component.fields.year.placeholder) {
552
- strings.push({
553
- key: component.key,
554
- property: 'fields.year.placeholder',
555
- string: component.fields.year.placeholder,
556
- });
557
- }
558
- }
559
- if (component.type === 'editgrid') {
560
- const string = component.addAnother || 'Add Another';
561
- if (component.addAnother) {
562
- strings.push({
563
- key: component.key,
564
- property: 'addAnother',
565
- string,
566
- });
567
- }
568
- }
569
- if (component.type === 'select') {
570
- [
571
- 'loading...',
572
- 'Type to search'
573
- ].forEach(string => {
574
- strings.push({
575
- key: component.key,
576
- property: 'select',
577
- string,
578
- });
579
- });
580
- }
581
- }, true);
582
- return strings;
583
- }
584
- exports.getStrings = getStrings;
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file is used to mimic the i18n library interface.
3
+ */
4
+ export class I18n {
5
+ static init(languages?: {}): I18n;
6
+ static createInstance(): I18n;
7
+ constructor(languages?: {});
8
+ languages: {};
9
+ language: string;
10
+ currentLanguage: any;
11
+ setLanguages(languages: any): void;
12
+ dir(lang?: string): "rtl" | "ltr";
13
+ changeLanguage(language: any, ready?: null): void;
14
+ addResourceBundle(language: any, type: any, strings: any): void;
15
+ t(text: any, ...args: any[]): any;
16
+ }
@@ -0,0 +1,3 @@
1
+ export { FormioUtils as Utils };
2
+ export default FormioUtils;
3
+ import * as FormioUtils from './utils';
@@ -0,0 +1 @@
1
+ export const lodashOperators: string[];