@formio/js 5.0.0-rc.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2238) hide show
  1. package/LICENSE.txt +19 -0
  2. package/README.md +195 -0
  3. package/dist/fonts/bootstrap-icons.woff +0 -0
  4. package/dist/fonts/bootstrap-icons.woff2 +0 -0
  5. package/dist/formio.builder.css +2295 -0
  6. package/dist/formio.builder.min.css +1 -0
  7. package/dist/formio.embed.css +40 -0
  8. package/dist/formio.embed.js +90 -0
  9. package/dist/formio.embed.min.css +1 -0
  10. package/dist/formio.embed.min.js +2 -0
  11. package/dist/formio.embed.min.js.LICENSE.txt +1 -0
  12. package/dist/formio.form.css +2014 -0
  13. package/dist/formio.form.js +8300 -0
  14. package/dist/formio.form.min.css +1 -0
  15. package/dist/formio.form.min.js +2 -0
  16. package/dist/formio.form.min.js.LICENSE.txt +48 -0
  17. package/dist/formio.full.css +3937 -0
  18. package/dist/formio.full.js +10276 -0
  19. package/dist/formio.full.min.css +5 -0
  20. package/dist/formio.full.min.js +2 -0
  21. package/dist/formio.full.min.js.LICENSE.txt +48 -0
  22. package/dist/formio.js +2722 -0
  23. package/dist/formio.min.js +2 -0
  24. package/dist/formio.min.js.LICENSE.txt +17 -0
  25. package/dist/formio.utils.js +2103 -0
  26. package/dist/formio.utils.min.js +2 -0
  27. package/dist/formio.utils.min.js.LICENSE.txt +41 -0
  28. package/index.d.ts +1 -0
  29. package/lib/cjs/CDN.d.ts +28 -0
  30. package/lib/cjs/CDN.js +76 -0
  31. package/lib/cjs/Element.d.ts +255 -0
  32. package/lib/cjs/Element.js +593 -0
  33. package/lib/cjs/Embed.d.ts +1 -0
  34. package/lib/cjs/Embed.js +355 -0
  35. package/lib/cjs/EventEmitter.d.ts +7 -0
  36. package/lib/cjs/EventEmitter.js +52 -0
  37. package/lib/cjs/Form.d.ts +90 -0
  38. package/lib/cjs/Form.js +337 -0
  39. package/lib/cjs/FormBuilder.d.ts +6 -0
  40. package/lib/cjs/FormBuilder.js +39 -0
  41. package/lib/cjs/Formio.d.ts +2 -0
  42. package/lib/cjs/Formio.js +95 -0
  43. package/lib/cjs/PDF.d.ts +32 -0
  44. package/lib/cjs/PDF.js +292 -0
  45. package/lib/cjs/PDFBuilder.d.ts +55 -0
  46. package/lib/cjs/PDFBuilder.js +481 -0
  47. package/lib/cjs/Webform.d.ts +408 -0
  48. package/lib/cjs/Webform.js +1515 -0
  49. package/lib/cjs/WebformBuilder.d.ts +120 -0
  50. package/lib/cjs/WebformBuilder.js +1537 -0
  51. package/lib/cjs/Wizard.d.ts +93 -0
  52. package/lib/cjs/Wizard.js +917 -0
  53. package/lib/cjs/WizardBuilder.d.ts +46 -0
  54. package/lib/cjs/WizardBuilder.js +257 -0
  55. package/lib/cjs/addons/FormioAddon.d.ts +19 -0
  56. package/lib/cjs/addons/FormioAddon.js +37 -0
  57. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +717 -0
  58. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +590 -0
  59. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +316 -0
  60. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +397 -0
  61. package/lib/cjs/addons/index.d.ts +625 -0
  62. package/lib/cjs/addons/index.js +25 -0
  63. package/lib/cjs/builders/Builders.d.ts +18 -0
  64. package/lib/cjs/builders/Builders.js +29 -0
  65. package/lib/cjs/builders/index.d.ts +2 -0
  66. package/lib/cjs/builders/index.js +7 -0
  67. package/lib/cjs/components/Components.d.ts +258 -0
  68. package/lib/cjs/components/Components.js +80 -0
  69. package/lib/cjs/components/_classes/component/Component.d.ts +779 -0
  70. package/lib/cjs/components/_classes/component/Component.form.d.ts +3 -0
  71. package/lib/cjs/components/_classes/component/Component.form.js +77 -0
  72. package/lib/cjs/components/_classes/component/Component.js +3146 -0
  73. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +645 -0
  74. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.js +46 -0
  75. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
  76. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.js +40 -0
  77. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +113 -0
  78. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +55 -0
  79. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +219 -0
  80. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +161 -0
  81. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +160 -0
  82. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +202 -0
  83. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
  84. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.js +79 -0
  85. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +368 -0
  86. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.js +415 -0
  87. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +140 -0
  88. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +209 -0
  89. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +83 -0
  90. package/lib/cjs/components/_classes/component/editForm/utils.js +137 -0
  91. package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
  92. package/lib/cjs/components/_classes/component/fixtures/comp1.js +33 -0
  93. package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
  94. package/lib/cjs/components/_classes/component/fixtures/comp2.js +33 -0
  95. package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
  96. package/lib/cjs/components/_classes/component/fixtures/comp3.js +14 -0
  97. package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
  98. package/lib/cjs/components/_classes/component/fixtures/comp4.js +18 -0
  99. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +5 -0
  100. package/lib/cjs/components/_classes/component/fixtures/index.js +14 -0
  101. package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +46 -0
  102. package/lib/cjs/components/_classes/componentModal/ComponentModal.js +183 -0
  103. package/lib/cjs/components/_classes/field/Field.d.ts +4 -0
  104. package/lib/cjs/components/_classes/field/Field.js +23 -0
  105. package/lib/cjs/components/_classes/input/Input.d.ts +42 -0
  106. package/lib/cjs/components/_classes/input/Input.js +304 -0
  107. package/lib/cjs/components/_classes/list/ListComponent.d.ts +14 -0
  108. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +3 -0
  109. package/lib/cjs/components/_classes/list/ListComponent.form.js +16 -0
  110. package/lib/cjs/components/_classes/list/ListComponent.js +215 -0
  111. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +183 -0
  112. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.js +119 -0
  113. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
  114. package/lib/cjs/components/_classes/multivalue/Multivalue.js +263 -0
  115. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +130 -0
  116. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
  117. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +19 -0
  118. package/lib/cjs/components/_classes/nested/NestedComponent.js +693 -0
  119. package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
  120. package/lib/cjs/components/_classes/nested/fixtures/comp1.js +16 -0
  121. package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
  122. package/lib/cjs/components/_classes/nested/fixtures/comp2.js +227 -0
  123. package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
  124. package/lib/cjs/components/_classes/nested/fixtures/comp3.js +29 -0
  125. package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +3 -0
  126. package/lib/cjs/components/_classes/nested/fixtures/index.js +12 -0
  127. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +14 -0
  128. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +180 -0
  129. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +11 -0
  130. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +123 -0
  131. package/lib/cjs/components/address/Address.d.ts +58 -0
  132. package/lib/cjs/components/address/Address.form.d.ts +3 -0
  133. package/lib/cjs/components/address/Address.form.js +28 -0
  134. package/lib/cjs/components/address/Address.js +547 -0
  135. package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +31 -0
  136. package/lib/cjs/components/address/editForm/Address.edit.data.js +23 -0
  137. package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +49 -0
  138. package/lib/cjs/components/address/editForm/Address.edit.display.js +44 -0
  139. package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
  140. package/lib/cjs/components/address/editForm/Address.edit.provider.js +156 -0
  141. package/lib/cjs/components/address/fixtures/comp1.d.ts +34 -0
  142. package/lib/cjs/components/address/fixtures/comp1.js +71 -0
  143. package/lib/cjs/components/address/fixtures/comp2.d.ts +62 -0
  144. package/lib/cjs/components/address/fixtures/comp2.js +103 -0
  145. package/lib/cjs/components/address/fixtures/comp3.d.ts +44 -0
  146. package/lib/cjs/components/address/fixtures/comp3.js +85 -0
  147. package/lib/cjs/components/address/fixtures/comp4.d.ts +56 -0
  148. package/lib/cjs/components/address/fixtures/comp4.js +93 -0
  149. package/lib/cjs/components/address/fixtures/index.d.ts +5 -0
  150. package/lib/cjs/components/address/fixtures/index.js +14 -0
  151. package/lib/cjs/components/address/fixtures/values.d.ts +22 -0
  152. package/lib/cjs/components/address/fixtures/values.js +19 -0
  153. package/lib/cjs/components/alert/Alert.d.ts +30 -0
  154. package/lib/cjs/components/alert/Alert.js +183 -0
  155. package/lib/cjs/components/builder.d.ts +2 -0
  156. package/lib/cjs/components/builder.js +91 -0
  157. package/lib/cjs/components/button/Button.d.ts +44 -0
  158. package/lib/cjs/components/button/Button.form.d.ts +3 -0
  159. package/lib/cjs/components/button/Button.form.js +24 -0
  160. package/lib/cjs/components/button/Button.js +465 -0
  161. package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +360 -0
  162. package/lib/cjs/components/button/editForm/Button.edit.display.js +253 -0
  163. package/lib/cjs/components/button/fixtures/comp1.d.ts +15 -0
  164. package/lib/cjs/components/button/fixtures/comp1.js +16 -0
  165. package/lib/cjs/components/button/fixtures/comp2.d.ts +25 -0
  166. package/lib/cjs/components/button/fixtures/comp2.js +57 -0
  167. package/lib/cjs/components/button/fixtures/comp3.d.ts +113 -0
  168. package/lib/cjs/components/button/fixtures/comp3.js +84 -0
  169. package/lib/cjs/components/button/fixtures/index.d.ts +4 -0
  170. package/lib/cjs/components/button/fixtures/index.js +12 -0
  171. package/lib/cjs/components/button/fixtures/values.d.ts +2 -0
  172. package/lib/cjs/components/button/fixtures/values.js +6 -0
  173. package/lib/cjs/components/checkbox/Checkbox.d.ts +36 -0
  174. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +3 -0
  175. package/lib/cjs/components/checkbox/Checkbox.form.js +26 -0
  176. package/lib/cjs/components/checkbox/Checkbox.js +194 -0
  177. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
  178. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.js +8 -0
  179. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +75 -0
  180. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.js +79 -0
  181. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
  182. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.js +12 -0
  183. package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +24 -0
  184. package/lib/cjs/components/checkbox/fixtures/comp1.js +24 -0
  185. package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +12 -0
  186. package/lib/cjs/components/checkbox/fixtures/comp2.js +13 -0
  187. package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +15 -0
  188. package/lib/cjs/components/checkbox/fixtures/comp3.js +16 -0
  189. package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +46 -0
  190. package/lib/cjs/components/checkbox/fixtures/comp4.js +39 -0
  191. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
  192. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.js +25 -0
  193. package/lib/cjs/components/checkbox/fixtures/index.d.ts +6 -0
  194. package/lib/cjs/components/checkbox/fixtures/index.js +16 -0
  195. package/lib/cjs/components/checkbox/fixtures/values.d.ts +2 -0
  196. package/lib/cjs/components/checkbox/fixtures/values.js +6 -0
  197. package/lib/cjs/components/columns/Columns.d.ts +25 -0
  198. package/lib/cjs/components/columns/Columns.form.d.ts +3 -0
  199. package/lib/cjs/components/columns/Columns.form.js +16 -0
  200. package/lib/cjs/components/columns/Columns.js +156 -0
  201. package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +58 -0
  202. package/lib/cjs/components/columns/editForm/Columns.edit.display.js +100 -0
  203. package/lib/cjs/components/columns/fixtures/comp1.d.ts +45 -0
  204. package/lib/cjs/components/columns/fixtures/comp1.js +85 -0
  205. package/lib/cjs/components/columns/fixtures/comp2.d.ts +24 -0
  206. package/lib/cjs/components/columns/fixtures/comp2.js +127 -0
  207. package/lib/cjs/components/columns/fixtures/comp3.d.ts +45 -0
  208. package/lib/cjs/components/columns/fixtures/comp3.js +53 -0
  209. package/lib/cjs/components/columns/fixtures/index.d.ts +4 -0
  210. package/lib/cjs/components/columns/fixtures/index.js +12 -0
  211. package/lib/cjs/components/container/Container.d.ts +14 -0
  212. package/lib/cjs/components/container/Container.form.d.ts +3 -0
  213. package/lib/cjs/components/container/Container.form.js +21 -0
  214. package/lib/cjs/components/container/Container.js +78 -0
  215. package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +5 -0
  216. package/lib/cjs/components/container/editForm/Container.edit.data.js +16 -0
  217. package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +5 -0
  218. package/lib/cjs/components/container/editForm/Container.edit.display.js +20 -0
  219. package/lib/cjs/components/container/fixtures/comp1.d.ts +49 -0
  220. package/lib/cjs/components/container/fixtures/comp1.js +82 -0
  221. package/lib/cjs/components/container/fixtures/comp2.d.ts +30 -0
  222. package/lib/cjs/components/container/fixtures/comp2.js +34 -0
  223. package/lib/cjs/components/container/fixtures/comp3.d.ts +77 -0
  224. package/lib/cjs/components/container/fixtures/comp3.js +57 -0
  225. package/lib/cjs/components/container/fixtures/index.d.ts +4 -0
  226. package/lib/cjs/components/container/fixtures/index.js +12 -0
  227. package/lib/cjs/components/content/Content.d.ts +15 -0
  228. package/lib/cjs/components/content/Content.form.d.ts +3 -0
  229. package/lib/cjs/components/content/Content.form.js +43 -0
  230. package/lib/cjs/components/content/Content.js +76 -0
  231. package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +18 -0
  232. package/lib/cjs/components/content/editForm/Content.edit.display.js +48 -0
  233. package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +48 -0
  234. package/lib/cjs/components/content/editForm/Content.edit.logic.js +100 -0
  235. package/lib/cjs/components/content/fixtures/comp1.d.ts +13 -0
  236. package/lib/cjs/components/content/fixtures/comp1.js +14 -0
  237. package/lib/cjs/components/content/fixtures/index.d.ts +2 -0
  238. package/lib/cjs/components/content/fixtures/index.js +8 -0
  239. package/lib/cjs/components/currency/Currency.d.ts +8 -0
  240. package/lib/cjs/components/currency/Currency.form.d.ts +3 -0
  241. package/lib/cjs/components/currency/Currency.form.js +46 -0
  242. package/lib/cjs/components/currency/Currency.js +180 -0
  243. package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +17 -0
  244. package/lib/cjs/components/currency/editForm/Currency.edit.data.js +188 -0
  245. package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
  246. package/lib/cjs/components/currency/editForm/Currency.edit.display.js +36 -0
  247. package/lib/cjs/components/currency/fixtures/comp1.d.ts +31 -0
  248. package/lib/cjs/components/currency/fixtures/comp1.js +31 -0
  249. package/lib/cjs/components/currency/fixtures/comp2.d.ts +20 -0
  250. package/lib/cjs/components/currency/fixtures/comp2.js +20 -0
  251. package/lib/cjs/components/currency/fixtures/comp3.d.ts +13 -0
  252. package/lib/cjs/components/currency/fixtures/comp3.js +14 -0
  253. package/lib/cjs/components/currency/fixtures/comp4.d.ts +17 -0
  254. package/lib/cjs/components/currency/fixtures/comp4.js +20 -0
  255. package/lib/cjs/components/currency/fixtures/index.d.ts +5 -0
  256. package/lib/cjs/components/currency/fixtures/index.js +14 -0
  257. package/lib/cjs/components/currency/fixtures/values.d.ts +2 -0
  258. package/lib/cjs/components/currency/fixtures/values.js +8 -0
  259. package/lib/cjs/components/datagrid/DataGrid.d.ts +87 -0
  260. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +3 -0
  261. package/lib/cjs/components/datagrid/DataGrid.form.js +26 -0
  262. package/lib/cjs/components/datagrid/DataGrid.js +646 -0
  263. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
  264. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.js +8 -0
  265. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +283 -0
  266. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.js +149 -0
  267. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
  268. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.js +26 -0
  269. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
  270. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +42 -0
  271. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  272. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.js +1 -0
  273. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
  274. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +81 -0
  275. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
  276. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +75 -0
  277. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +197 -0
  278. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +178 -0
  279. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
  280. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.js +69 -0
  281. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
  282. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.js +180 -0
  283. package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +93 -0
  284. package/lib/cjs/components/datagrid/fixtures/comp1.js +115 -0
  285. package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +18 -0
  286. package/lib/cjs/components/datagrid/fixtures/comp2.js +29 -0
  287. package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +14 -0
  288. package/lib/cjs/components/datagrid/fixtures/comp3.js +23 -0
  289. package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +27 -0
  290. package/lib/cjs/components/datagrid/fixtures/comp4.js +28 -0
  291. package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +67 -0
  292. package/lib/cjs/components/datagrid/fixtures/comp5.js +77 -0
  293. package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +567 -0
  294. package/lib/cjs/components/datagrid/fixtures/comp6.js +296 -0
  295. package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +28 -0
  296. package/lib/cjs/components/datagrid/fixtures/comp7.js +35 -0
  297. package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +35 -0
  298. package/lib/cjs/components/datagrid/fixtures/comp8.js +37 -0
  299. package/lib/cjs/components/datagrid/fixtures/index.d.ts +15 -0
  300. package/lib/cjs/components/datagrid/fixtures/index.js +34 -0
  301. package/lib/cjs/components/datamap/DataMap.d.ts +35 -0
  302. package/lib/cjs/components/datamap/DataMap.form.d.ts +3 -0
  303. package/lib/cjs/components/datamap/DataMap.form.js +21 -0
  304. package/lib/cjs/components/datamap/DataMap.js +297 -0
  305. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
  306. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.js +12 -0
  307. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +30 -0
  308. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.js +48 -0
  309. package/lib/cjs/components/datamap/fixtures/comp1.d.ts +18 -0
  310. package/lib/cjs/components/datamap/fixtures/comp1.js +15 -0
  311. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
  312. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.js +85 -0
  313. package/lib/cjs/components/datamap/fixtures/index.d.ts +3 -0
  314. package/lib/cjs/components/datamap/fixtures/index.js +10 -0
  315. package/lib/cjs/components/datetime/DateTime.d.ts +16 -0
  316. package/lib/cjs/components/datetime/DateTime.form.d.ts +3 -0
  317. package/lib/cjs/components/datetime/DateTime.form.js +40 -0
  318. package/lib/cjs/components/datetime/DateTime.js +145 -0
  319. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
  320. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.js +23 -0
  321. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +61 -0
  322. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +75 -0
  323. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
  324. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.js +100 -0
  325. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
  326. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.js +36 -0
  327. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +40 -0
  328. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.js +84 -0
  329. package/lib/cjs/components/datetime/fixtures/comp1.d.ts +45 -0
  330. package/lib/cjs/components/datetime/fixtures/comp1.js +44 -0
  331. package/lib/cjs/components/datetime/fixtures/comp10.d.ts +102 -0
  332. package/lib/cjs/components/datetime/fixtures/comp10.js +86 -0
  333. package/lib/cjs/components/datetime/fixtures/comp11.d.ts +58 -0
  334. package/lib/cjs/components/datetime/fixtures/comp11.js +55 -0
  335. package/lib/cjs/components/datetime/fixtures/comp12.d.ts +57 -0
  336. package/lib/cjs/components/datetime/fixtures/comp12.js +55 -0
  337. package/lib/cjs/components/datetime/fixtures/comp2.d.ts +42 -0
  338. package/lib/cjs/components/datetime/fixtures/comp2.js +43 -0
  339. package/lib/cjs/components/datetime/fixtures/comp3.d.ts +51 -0
  340. package/lib/cjs/components/datetime/fixtures/comp3.js +40 -0
  341. package/lib/cjs/components/datetime/fixtures/comp5.d.ts +57 -0
  342. package/lib/cjs/components/datetime/fixtures/comp5.js +48 -0
  343. package/lib/cjs/components/datetime/fixtures/comp6.d.ts +55 -0
  344. package/lib/cjs/components/datetime/fixtures/comp6.js +49 -0
  345. package/lib/cjs/components/datetime/fixtures/comp7.d.ts +59 -0
  346. package/lib/cjs/components/datetime/fixtures/comp7.js +53 -0
  347. package/lib/cjs/components/datetime/fixtures/comp8.d.ts +59 -0
  348. package/lib/cjs/components/datetime/fixtures/comp8.js +52 -0
  349. package/lib/cjs/components/datetime/fixtures/comp9.d.ts +64 -0
  350. package/lib/cjs/components/datetime/fixtures/comp9.js +95 -0
  351. package/lib/cjs/components/datetime/fixtures/index.d.ts +12 -0
  352. package/lib/cjs/components/datetime/fixtures/index.js +28 -0
  353. package/lib/cjs/components/datetime/fixtures/values.d.ts +2 -0
  354. package/lib/cjs/components/datetime/fixtures/values.js +6 -0
  355. package/lib/cjs/components/day/Day.d.ts +143 -0
  356. package/lib/cjs/components/day/Day.form.d.ts +3 -0
  357. package/lib/cjs/components/day/Day.form.js +47 -0
  358. package/lib/cjs/components/day/Day.js +535 -0
  359. package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +5 -0
  360. package/lib/cjs/components/day/editForm/Day.edit.data.js +8 -0
  361. package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +40 -0
  362. package/lib/cjs/components/day/editForm/Day.edit.day.js +48 -0
  363. package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +40 -0
  364. package/lib/cjs/components/day/editForm/Day.edit.display.js +46 -0
  365. package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +40 -0
  366. package/lib/cjs/components/day/editForm/Day.edit.month.js +40 -0
  367. package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
  368. package/lib/cjs/components/day/editForm/Day.edit.validation.js +54 -0
  369. package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +40 -0
  370. package/lib/cjs/components/day/editForm/Day.edit.year.js +58 -0
  371. package/lib/cjs/components/day/fixtures/comp1.d.ts +46 -0
  372. package/lib/cjs/components/day/fixtures/comp1.js +39 -0
  373. package/lib/cjs/components/day/fixtures/comp2.d.ts +46 -0
  374. package/lib/cjs/components/day/fixtures/comp2.js +39 -0
  375. package/lib/cjs/components/day/fixtures/comp3.d.ts +48 -0
  376. package/lib/cjs/components/day/fixtures/comp3.js +41 -0
  377. package/lib/cjs/components/day/fixtures/comp4.d.ts +53 -0
  378. package/lib/cjs/components/day/fixtures/comp4.js +56 -0
  379. package/lib/cjs/components/day/fixtures/index.d.ts +5 -0
  380. package/lib/cjs/components/day/fixtures/index.js +14 -0
  381. package/lib/cjs/components/day/fixtures/values.d.ts +2 -0
  382. package/lib/cjs/components/day/fixtures/values.js +6 -0
  383. package/lib/cjs/components/editgrid/EditGrid.d.ts +98 -0
  384. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +3 -0
  385. package/lib/cjs/components/editgrid/EditGrid.form.js +33 -0
  386. package/lib/cjs/components/editgrid/EditGrid.js +1162 -0
  387. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
  388. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.js +20 -0
  389. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +82 -0
  390. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +58 -0
  391. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +58 -0
  392. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +131 -0
  393. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
  394. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.js +34 -0
  395. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
  396. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.js +36 -0
  397. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
  398. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.js +220 -0
  399. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +77 -0
  400. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +84 -0
  401. package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +89 -0
  402. package/lib/cjs/components/editgrid/fixtures/comp1.js +128 -0
  403. package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +49 -0
  404. package/lib/cjs/components/editgrid/fixtures/comp10.js +48 -0
  405. package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +53 -0
  406. package/lib/cjs/components/editgrid/fixtures/comp11.js +50 -0
  407. package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +57 -0
  408. package/lib/cjs/components/editgrid/fixtures/comp12.js +50 -0
  409. package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +64 -0
  410. package/lib/cjs/components/editgrid/fixtures/comp13.js +64 -0
  411. package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +88 -0
  412. package/lib/cjs/components/editgrid/fixtures/comp14.js +84 -0
  413. package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +112 -0
  414. package/lib/cjs/components/editgrid/fixtures/comp2.js +114 -0
  415. package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +27 -0
  416. package/lib/cjs/components/editgrid/fixtures/comp3.js +28 -0
  417. package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +23 -0
  418. package/lib/cjs/components/editgrid/fixtures/comp4.js +24 -0
  419. package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +19 -0
  420. package/lib/cjs/components/editgrid/fixtures/comp5.js +22 -0
  421. package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +50 -0
  422. package/lib/cjs/components/editgrid/fixtures/comp6.js +58 -0
  423. package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +129 -0
  424. package/lib/cjs/components/editgrid/fixtures/comp7.js +123 -0
  425. package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +148 -0
  426. package/lib/cjs/components/editgrid/fixtures/comp8.js +156 -0
  427. package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +86 -0
  428. package/lib/cjs/components/editgrid/fixtures/comp9.js +62 -0
  429. package/lib/cjs/components/editgrid/fixtures/index.d.ts +17 -0
  430. package/lib/cjs/components/editgrid/fixtures/index.js +38 -0
  431. package/lib/cjs/components/email/Email.d.ts +4 -0
  432. package/lib/cjs/components/email/Email.form.d.ts +3 -0
  433. package/lib/cjs/components/email/Email.form.js +21 -0
  434. package/lib/cjs/components/email/Email.js +54 -0
  435. package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +5 -0
  436. package/lib/cjs/components/email/editForm/Email.edit.display.js +20 -0
  437. package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
  438. package/lib/cjs/components/email/editForm/Email.edit.validation.js +28 -0
  439. package/lib/cjs/components/email/fixtures/comp1.d.ts +26 -0
  440. package/lib/cjs/components/email/fixtures/comp1.js +26 -0
  441. package/lib/cjs/components/email/fixtures/comp2.d.ts +23 -0
  442. package/lib/cjs/components/email/fixtures/comp2.js +13 -0
  443. package/lib/cjs/components/email/fixtures/index.d.ts +3 -0
  444. package/lib/cjs/components/email/fixtures/index.js +10 -0
  445. package/lib/cjs/components/email/fixtures/values.d.ts +2 -0
  446. package/lib/cjs/components/email/fixtures/values.js +6 -0
  447. package/lib/cjs/components/fieldset/Fieldset.d.ts +13 -0
  448. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +3 -0
  449. package/lib/cjs/components/fieldset/Fieldset.form.js +16 -0
  450. package/lib/cjs/components/fieldset/Fieldset.js +43 -0
  451. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +33 -0
  452. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.js +44 -0
  453. package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +46 -0
  454. package/lib/cjs/components/fieldset/fixtures/comp1.js +81 -0
  455. package/lib/cjs/components/fieldset/fixtures/index.d.ts +2 -0
  456. package/lib/cjs/components/fieldset/fixtures/index.js +8 -0
  457. package/lib/cjs/components/file/File.d.ts +59 -0
  458. package/lib/cjs/components/file/File.form.d.ts +3 -0
  459. package/lib/cjs/components/file/File.form.js +33 -0
  460. package/lib/cjs/components/file/File.js +752 -0
  461. package/lib/cjs/components/file/editForm/File.edit.data.d.ts +5 -0
  462. package/lib/cjs/components/file/editForm/File.edit.data.js +8 -0
  463. package/lib/cjs/components/file/editForm/File.edit.display.d.ts +5 -0
  464. package/lib/cjs/components/file/editForm/File.edit.display.js +8 -0
  465. package/lib/cjs/components/file/editForm/File.edit.file.d.ts +213 -0
  466. package/lib/cjs/components/file/editForm/File.edit.file.js +261 -0
  467. package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +5 -0
  468. package/lib/cjs/components/file/editForm/File.edit.validation.js +12 -0
  469. package/lib/cjs/components/file/fixtures/comp1.d.ts +15 -0
  470. package/lib/cjs/components/file/fixtures/comp1.js +18 -0
  471. package/lib/cjs/components/file/fixtures/comp2.d.ts +35 -0
  472. package/lib/cjs/components/file/fixtures/comp2.js +31 -0
  473. package/lib/cjs/components/file/fixtures/index.d.ts +3 -0
  474. package/lib/cjs/components/file/fixtures/index.js +10 -0
  475. package/lib/cjs/components/file/fixtures/values.d.ts +10 -0
  476. package/lib/cjs/components/file/fixtures/values.js +15 -0
  477. package/lib/cjs/components/form/Form.d.ts +94 -0
  478. package/lib/cjs/components/form/Form.form.d.ts +3 -0
  479. package/lib/cjs/components/form/Form.form.js +30 -0
  480. package/lib/cjs/components/form/Form.js +727 -0
  481. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +82 -0
  482. package/lib/cjs/components/form/editForm/Form.edit.data.js +21 -0
  483. package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +5 -0
  484. package/lib/cjs/components/form/editForm/Form.edit.display.js +29 -0
  485. package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +89 -0
  486. package/lib/cjs/components/form/editForm/Form.edit.form.js +75 -0
  487. package/lib/cjs/components/form/fixtures/comp1.d.ts +45 -0
  488. package/lib/cjs/components/form/fixtures/comp1.js +80 -0
  489. package/lib/cjs/components/form/fixtures/comp2.d.ts +14 -0
  490. package/lib/cjs/components/form/fixtures/comp2.js +15 -0
  491. package/lib/cjs/components/form/fixtures/comp3.d.ts +187 -0
  492. package/lib/cjs/components/form/fixtures/comp3.js +170 -0
  493. package/lib/cjs/components/form/fixtures/comp4.d.ts +107 -0
  494. package/lib/cjs/components/form/fixtures/comp4.js +91 -0
  495. package/lib/cjs/components/form/fixtures/comp5.d.ts +42 -0
  496. package/lib/cjs/components/form/fixtures/comp5.js +45 -0
  497. package/lib/cjs/components/form/fixtures/comp6.d.ts +74 -0
  498. package/lib/cjs/components/form/fixtures/comp6.js +94 -0
  499. package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +42 -0
  500. package/lib/cjs/components/form/fixtures/formModalEdit.js +51 -0
  501. package/lib/cjs/components/form/fixtures/index.d.ts +8 -0
  502. package/lib/cjs/components/form/fixtures/index.js +20 -0
  503. package/lib/cjs/components/form/fixtures/values.d.ts +6 -0
  504. package/lib/cjs/components/form/fixtures/values.js +9 -0
  505. package/lib/cjs/components/hidden/Hidden.d.ts +25 -0
  506. package/lib/cjs/components/hidden/Hidden.form.d.ts +3 -0
  507. package/lib/cjs/components/hidden/Hidden.form.js +29 -0
  508. package/lib/cjs/components/hidden/Hidden.js +60 -0
  509. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
  510. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.js +16 -0
  511. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
  512. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.js +44 -0
  513. package/lib/cjs/components/hidden/fixtures/comp1.d.ts +18 -0
  514. package/lib/cjs/components/hidden/fixtures/comp1.js +18 -0
  515. package/lib/cjs/components/hidden/fixtures/index.d.ts +2 -0
  516. package/lib/cjs/components/hidden/fixtures/index.js +8 -0
  517. package/lib/cjs/components/hidden/fixtures/values.d.ts +2 -0
  518. package/lib/cjs/components/hidden/fixtures/values.js +6 -0
  519. package/lib/cjs/components/html/HTML.d.ts +16 -0
  520. package/lib/cjs/components/html/HTML.form.d.ts +3 -0
  521. package/lib/cjs/components/html/HTML.form.js +29 -0
  522. package/lib/cjs/components/html/HTML.js +89 -0
  523. package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
  524. package/lib/cjs/components/html/editForm/HTML.edit.display.js +100 -0
  525. package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +48 -0
  526. package/lib/cjs/components/html/editForm/HTML.edit.logic.js +100 -0
  527. package/lib/cjs/components/html/fixtures/comp1.d.ts +19 -0
  528. package/lib/cjs/components/html/fixtures/comp1.js +22 -0
  529. package/lib/cjs/components/html/fixtures/comp2.d.ts +21 -0
  530. package/lib/cjs/components/html/fixtures/comp2.js +24 -0
  531. package/lib/cjs/components/html/fixtures/index.d.ts +3 -0
  532. package/lib/cjs/components/html/fixtures/index.js +10 -0
  533. package/lib/cjs/components/index.d.ts +100 -0
  534. package/lib/cjs/components/index.js +104 -0
  535. package/lib/cjs/components/number/Number.d.ts +31 -0
  536. package/lib/cjs/components/number/Number.form.d.ts +3 -0
  537. package/lib/cjs/components/number/Number.form.js +26 -0
  538. package/lib/cjs/components/number/Number.js +192 -0
  539. package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +18 -0
  540. package/lib/cjs/components/number/editForm/Number.edit.data.js +32 -0
  541. package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +5 -0
  542. package/lib/cjs/components/number/editForm/Number.edit.display.js +24 -0
  543. package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
  544. package/lib/cjs/components/number/editForm/Number.edit.validation.js +46 -0
  545. package/lib/cjs/components/number/fixtures/comp1.d.ts +33 -0
  546. package/lib/cjs/components/number/fixtures/comp1.js +32 -0
  547. package/lib/cjs/components/number/fixtures/comp2.d.ts +32 -0
  548. package/lib/cjs/components/number/fixtures/comp2.js +31 -0
  549. package/lib/cjs/components/number/fixtures/comp3.d.ts +14 -0
  550. package/lib/cjs/components/number/fixtures/comp3.js +15 -0
  551. package/lib/cjs/components/number/fixtures/comp4.d.ts +14 -0
  552. package/lib/cjs/components/number/fixtures/comp4.js +15 -0
  553. package/lib/cjs/components/number/fixtures/comp5.d.ts +20 -0
  554. package/lib/cjs/components/number/fixtures/comp5.js +20 -0
  555. package/lib/cjs/components/number/fixtures/comp6.d.ts +40 -0
  556. package/lib/cjs/components/number/fixtures/comp6.js +27 -0
  557. package/lib/cjs/components/number/fixtures/comp7.d.ts +15 -0
  558. package/lib/cjs/components/number/fixtures/comp7.js +16 -0
  559. package/lib/cjs/components/number/fixtures/index.d.ts +8 -0
  560. package/lib/cjs/components/number/fixtures/index.js +20 -0
  561. package/lib/cjs/components/number/fixtures/values.d.ts +2 -0
  562. package/lib/cjs/components/number/fixtures/values.js +11 -0
  563. package/lib/cjs/components/panel/Panel.d.ts +14 -0
  564. package/lib/cjs/components/panel/Panel.form.d.ts +3 -0
  565. package/lib/cjs/components/panel/Panel.form.js +21 -0
  566. package/lib/cjs/components/panel/Panel.js +59 -0
  567. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +75 -0
  568. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.js +42 -0
  569. package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +228 -0
  570. package/lib/cjs/components/panel/editForm/Panel.edit.display.js +213 -0
  571. package/lib/cjs/components/panel/fixtures/comp1.d.ts +46 -0
  572. package/lib/cjs/components/panel/fixtures/comp1.js +80 -0
  573. package/lib/cjs/components/panel/fixtures/comp2.d.ts +80 -0
  574. package/lib/cjs/components/panel/fixtures/comp2.js +69 -0
  575. package/lib/cjs/components/panel/fixtures/index.d.ts +3 -0
  576. package/lib/cjs/components/panel/fixtures/index.js +10 -0
  577. package/lib/cjs/components/password/Password.d.ts +3 -0
  578. package/lib/cjs/components/password/Password.form.d.ts +3 -0
  579. package/lib/cjs/components/password/Password.form.js +26 -0
  580. package/lib/cjs/components/password/Password.js +40 -0
  581. package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +18 -0
  582. package/lib/cjs/components/password/editForm/Password.edit.data.js +48 -0
  583. package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +5 -0
  584. package/lib/cjs/components/password/editForm/Password.edit.display.js +16 -0
  585. package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
  586. package/lib/cjs/components/password/editForm/Password.edit.validation.js +16 -0
  587. package/lib/cjs/components/password/fixtures/comp1.d.ts +22 -0
  588. package/lib/cjs/components/password/fixtures/comp1.js +22 -0
  589. package/lib/cjs/components/password/fixtures/comp2.d.ts +27 -0
  590. package/lib/cjs/components/password/fixtures/comp2.js +29 -0
  591. package/lib/cjs/components/password/fixtures/index.d.ts +3 -0
  592. package/lib/cjs/components/password/fixtures/index.js +10 -0
  593. package/lib/cjs/components/password/fixtures/values.d.ts +2 -0
  594. package/lib/cjs/components/password/fixtures/values.js +6 -0
  595. package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +3 -0
  596. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
  597. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +29 -0
  598. package/lib/cjs/components/phonenumber/PhoneNumber.js +33 -0
  599. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
  600. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +24 -0
  601. package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
  602. package/lib/cjs/components/phonenumber/fixtures/comp1.js +27 -0
  603. package/lib/cjs/components/phonenumber/fixtures/index.d.ts +2 -0
  604. package/lib/cjs/components/phonenumber/fixtures/index.js +8 -0
  605. package/lib/cjs/components/phonenumber/fixtures/values.d.ts +2 -0
  606. package/lib/cjs/components/phonenumber/fixtures/values.js +6 -0
  607. package/lib/cjs/components/radio/Radio.d.ts +44 -0
  608. package/lib/cjs/components/radio/Radio.form.d.ts +3 -0
  609. package/lib/cjs/components/radio/Radio.form.js +26 -0
  610. package/lib/cjs/components/radio/Radio.js +295 -0
  611. package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +134 -0
  612. package/lib/cjs/components/radio/editForm/Radio.edit.data.js +85 -0
  613. package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
  614. package/lib/cjs/components/radio/editForm/Radio.edit.display.js +34 -0
  615. package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
  616. package/lib/cjs/components/radio/editForm/Radio.edit.validation.js +20 -0
  617. package/lib/cjs/components/radio/fixtures/comp1.d.ts +28 -0
  618. package/lib/cjs/components/radio/fixtures/comp1.js +42 -0
  619. package/lib/cjs/components/radio/fixtures/comp2.d.ts +85 -0
  620. package/lib/cjs/components/radio/fixtures/comp2.js +86 -0
  621. package/lib/cjs/components/radio/fixtures/comp3.d.ts +85 -0
  622. package/lib/cjs/components/radio/fixtures/comp3.js +90 -0
  623. package/lib/cjs/components/radio/fixtures/comp4.d.ts +19 -0
  624. package/lib/cjs/components/radio/fixtures/comp4.js +27 -0
  625. package/lib/cjs/components/radio/fixtures/comp5.d.ts +39 -0
  626. package/lib/cjs/components/radio/fixtures/comp5.js +35 -0
  627. package/lib/cjs/components/radio/fixtures/comp6.d.ts +38 -0
  628. package/lib/cjs/components/radio/fixtures/comp6.js +33 -0
  629. package/lib/cjs/components/radio/fixtures/comp7.d.ts +23 -0
  630. package/lib/cjs/components/radio/fixtures/comp7.js +21 -0
  631. package/lib/cjs/components/radio/fixtures/comp8.d.ts +118 -0
  632. package/lib/cjs/components/radio/fixtures/comp8.js +113 -0
  633. package/lib/cjs/components/radio/fixtures/comp9.d.ts +35 -0
  634. package/lib/cjs/components/radio/fixtures/comp9.js +32 -0
  635. package/lib/cjs/components/radio/fixtures/index.d.ts +10 -0
  636. package/lib/cjs/components/radio/fixtures/index.js +24 -0
  637. package/lib/cjs/components/radio/fixtures/values.d.ts +2 -0
  638. package/lib/cjs/components/radio/fixtures/values.js +7 -0
  639. package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +22 -0
  640. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
  641. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +32 -0
  642. package/lib/cjs/components/recaptcha/ReCaptcha.js +140 -0
  643. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +44 -0
  644. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +108 -0
  645. package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
  646. package/lib/cjs/components/recaptcha/fixtures/comp1.js +9 -0
  647. package/lib/cjs/components/recaptcha/fixtures/index.d.ts +2 -0
  648. package/lib/cjs/components/recaptcha/fixtures/index.js +8 -0
  649. package/lib/cjs/components/resource/Resource.d.ts +3 -0
  650. package/lib/cjs/components/resource/Resource.form.d.ts +3 -0
  651. package/lib/cjs/components/resource/Resource.form.js +16 -0
  652. package/lib/cjs/components/resource/Resource.js +40 -0
  653. package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +173 -0
  654. package/lib/cjs/components/resource/editForm/Resource.edit.display.js +102 -0
  655. package/lib/cjs/components/resource/fixtures/comp1.d.ts +30 -0
  656. package/lib/cjs/components/resource/fixtures/comp1.js +30 -0
  657. package/lib/cjs/components/resource/fixtures/comp2.d.ts +35 -0
  658. package/lib/cjs/components/resource/fixtures/comp2.js +31 -0
  659. package/lib/cjs/components/resource/fixtures/index.d.ts +3 -0
  660. package/lib/cjs/components/resource/fixtures/index.js +10 -0
  661. package/lib/cjs/components/select/Select.d.ts +122 -0
  662. package/lib/cjs/components/select/Select.form.d.ts +3 -0
  663. package/lib/cjs/components/select/Select.form.js +26 -0
  664. package/lib/cjs/components/select/Select.js +1463 -0
  665. package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +1039 -0
  666. package/lib/cjs/components/select/editForm/Select.edit.data.js +629 -0
  667. package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +27 -0
  668. package/lib/cjs/components/select/editForm/Select.edit.display.js +28 -0
  669. package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
  670. package/lib/cjs/components/select/editForm/Select.edit.validation.js +35 -0
  671. package/lib/cjs/components/select/fixtures/comp1.d.ts +40 -0
  672. package/lib/cjs/components/select/fixtures/comp1.js +66 -0
  673. package/lib/cjs/components/select/fixtures/comp10.d.ts +41 -0
  674. package/lib/cjs/components/select/fixtures/comp10.js +32 -0
  675. package/lib/cjs/components/select/fixtures/comp11.d.ts +28 -0
  676. package/lib/cjs/components/select/fixtures/comp11.js +24 -0
  677. package/lib/cjs/components/select/fixtures/comp12.d.ts +53 -0
  678. package/lib/cjs/components/select/fixtures/comp12.js +29 -0
  679. package/lib/cjs/components/select/fixtures/comp13.d.ts +28 -0
  680. package/lib/cjs/components/select/fixtures/comp13.js +31 -0
  681. package/lib/cjs/components/select/fixtures/comp14.d.ts +40 -0
  682. package/lib/cjs/components/select/fixtures/comp14.js +27 -0
  683. package/lib/cjs/components/select/fixtures/comp15.d.ts +50 -0
  684. package/lib/cjs/components/select/fixtures/comp15.js +41 -0
  685. package/lib/cjs/components/select/fixtures/comp16.d.ts +34 -0
  686. package/lib/cjs/components/select/fixtures/comp16.js +33 -0
  687. package/lib/cjs/components/select/fixtures/comp17.d.ts +51 -0
  688. package/lib/cjs/components/select/fixtures/comp17.js +43 -0
  689. package/lib/cjs/components/select/fixtures/comp18.d.ts +49 -0
  690. package/lib/cjs/components/select/fixtures/comp18.js +42 -0
  691. package/lib/cjs/components/select/fixtures/comp2.d.ts +41 -0
  692. package/lib/cjs/components/select/fixtures/comp2.js +67 -0
  693. package/lib/cjs/components/select/fixtures/comp3.d.ts +35 -0
  694. package/lib/cjs/components/select/fixtures/comp3.js +209 -0
  695. package/lib/cjs/components/select/fixtures/comp4.d.ts +103 -0
  696. package/lib/cjs/components/select/fixtures/comp4.js +106 -0
  697. package/lib/cjs/components/select/fixtures/comp5.d.ts +21 -0
  698. package/lib/cjs/components/select/fixtures/comp5.js +28 -0
  699. package/lib/cjs/components/select/fixtures/comp6.d.ts +20 -0
  700. package/lib/cjs/components/select/fixtures/comp6.js +30 -0
  701. package/lib/cjs/components/select/fixtures/comp7.d.ts +63 -0
  702. package/lib/cjs/components/select/fixtures/comp7.js +46 -0
  703. package/lib/cjs/components/select/fixtures/comp8.d.ts +72 -0
  704. package/lib/cjs/components/select/fixtures/comp8.js +37 -0
  705. package/lib/cjs/components/select/fixtures/comp9.d.ts +88 -0
  706. package/lib/cjs/components/select/fixtures/comp9.js +67 -0
  707. package/lib/cjs/components/select/fixtures/index.d.ts +19 -0
  708. package/lib/cjs/components/select/fixtures/index.js +43 -0
  709. package/lib/cjs/components/select/fixtures/values.d.ts +2 -0
  710. package/lib/cjs/components/select/fixtures/values.js +7 -0
  711. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +15 -0
  712. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
  713. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +25 -0
  714. package/lib/cjs/components/selectboxes/SelectBoxes.js +214 -0
  715. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
  716. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +36 -0
  717. package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
  718. package/lib/cjs/components/selectboxes/fixtures/comp1.js +54 -0
  719. package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
  720. package/lib/cjs/components/selectboxes/fixtures/comp2.js +54 -0
  721. package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
  722. package/lib/cjs/components/selectboxes/fixtures/comp3.js +21 -0
  723. package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +63 -0
  724. package/lib/cjs/components/selectboxes/fixtures/comp4.js +66 -0
  725. package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
  726. package/lib/cjs/components/selectboxes/fixtures/comp5.js +33 -0
  727. package/lib/cjs/components/selectboxes/fixtures/index.d.ts +6 -0
  728. package/lib/cjs/components/selectboxes/fixtures/index.js +16 -0
  729. package/lib/cjs/components/selectboxes/fixtures/values.d.ts +6 -0
  730. package/lib/cjs/components/selectboxes/fixtures/values.js +24 -0
  731. package/lib/cjs/components/signature/Signature.d.ts +26 -0
  732. package/lib/cjs/components/signature/Signature.form.d.ts +3 -0
  733. package/lib/cjs/components/signature/Signature.form.js +26 -0
  734. package/lib/cjs/components/signature/Signature.js +247 -0
  735. package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
  736. package/lib/cjs/components/signature/editForm/Signature.edit.data.js +16 -0
  737. package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +51 -0
  738. package/lib/cjs/components/signature/editForm/Signature.edit.display.js +71 -0
  739. package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
  740. package/lib/cjs/components/signature/editForm/Signature.edit.validation.js +12 -0
  741. package/lib/cjs/components/signature/fixtures/comp1.d.ts +30 -0
  742. package/lib/cjs/components/signature/fixtures/comp1.js +30 -0
  743. package/lib/cjs/components/signature/fixtures/index.d.ts +2 -0
  744. package/lib/cjs/components/signature/fixtures/index.js +8 -0
  745. package/lib/cjs/components/signature/fixtures/values.d.ts +2 -0
  746. package/lib/cjs/components/signature/fixtures/values.js +7 -0
  747. package/lib/cjs/components/survey/Survey.d.ts +16 -0
  748. package/lib/cjs/components/survey/Survey.form.d.ts +3 -0
  749. package/lib/cjs/components/survey/Survey.form.js +26 -0
  750. package/lib/cjs/components/survey/Survey.js +147 -0
  751. package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +44 -0
  752. package/lib/cjs/components/survey/editForm/Survey.edit.data.js +72 -0
  753. package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
  754. package/lib/cjs/components/survey/editForm/Survey.edit.display.js +8 -0
  755. package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
  756. package/lib/cjs/components/survey/editForm/Survey.edit.validation.js +8 -0
  757. package/lib/cjs/components/survey/fixtures/comp1.d.ts +31 -0
  758. package/lib/cjs/components/survey/fixtures/comp1.js +55 -0
  759. package/lib/cjs/components/survey/fixtures/comp2.d.ts +31 -0
  760. package/lib/cjs/components/survey/fixtures/comp2.js +55 -0
  761. package/lib/cjs/components/survey/fixtures/index.d.ts +3 -0
  762. package/lib/cjs/components/survey/fixtures/index.js +10 -0
  763. package/lib/cjs/components/survey/fixtures/values.d.ts +5 -0
  764. package/lib/cjs/components/survey/fixtures/values.js +12 -0
  765. package/lib/cjs/components/table/Table.d.ts +21 -0
  766. package/lib/cjs/components/table/Table.form.d.ts +3 -0
  767. package/lib/cjs/components/table/Table.form.js +16 -0
  768. package/lib/cjs/components/table/Table.js +171 -0
  769. package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +55 -0
  770. package/lib/cjs/components/table/editForm/Table.edit.display.js +111 -0
  771. package/lib/cjs/components/table/fixtures/comp1.d.ts +53 -0
  772. package/lib/cjs/components/table/fixtures/comp1.js +237 -0
  773. package/lib/cjs/components/table/fixtures/index.d.ts +2 -0
  774. package/lib/cjs/components/table/fixtures/index.js +8 -0
  775. package/lib/cjs/components/tabs/Tabs.d.ts +28 -0
  776. package/lib/cjs/components/tabs/Tabs.form.d.ts +3 -0
  777. package/lib/cjs/components/tabs/Tabs.form.js +16 -0
  778. package/lib/cjs/components/tabs/Tabs.js +203 -0
  779. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +49 -0
  780. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +68 -0
  781. package/lib/cjs/components/tabs/fixtures/comp1.d.ts +23 -0
  782. package/lib/cjs/components/tabs/fixtures/comp1.js +33 -0
  783. package/lib/cjs/components/tabs/fixtures/index.d.ts +2 -0
  784. package/lib/cjs/components/tabs/fixtures/index.js +8 -0
  785. package/lib/cjs/components/tags/Tags.d.ts +19 -0
  786. package/lib/cjs/components/tags/Tags.form.d.ts +3 -0
  787. package/lib/cjs/components/tags/Tags.form.js +16 -0
  788. package/lib/cjs/components/tags/Tags.js +164 -0
  789. package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
  790. package/lib/cjs/components/tags/editForm/Tags.edit.data.js +39 -0
  791. package/lib/cjs/components/tags/fixtures/comp1.d.ts +20 -0
  792. package/lib/cjs/components/tags/fixtures/comp1.js +20 -0
  793. package/lib/cjs/components/tags/fixtures/comp2.d.ts +10 -0
  794. package/lib/cjs/components/tags/fixtures/comp2.js +11 -0
  795. package/lib/cjs/components/tags/fixtures/comp3.d.ts +23 -0
  796. package/lib/cjs/components/tags/fixtures/comp3.js +20 -0
  797. package/lib/cjs/components/tags/fixtures/comp4.d.ts +9 -0
  798. package/lib/cjs/components/tags/fixtures/comp4.js +10 -0
  799. package/lib/cjs/components/tags/fixtures/comp5.d.ts +24 -0
  800. package/lib/cjs/components/tags/fixtures/comp5.js +24 -0
  801. package/lib/cjs/components/tags/fixtures/index.d.ts +6 -0
  802. package/lib/cjs/components/tags/fixtures/index.js +16 -0
  803. package/lib/cjs/components/tags/fixtures/values.d.ts +2 -0
  804. package/lib/cjs/components/tags/fixtures/values.js +6 -0
  805. package/lib/cjs/components/textarea/TextArea.d.ts +36 -0
  806. package/lib/cjs/components/textarea/TextArea.form.d.ts +3 -0
  807. package/lib/cjs/components/textarea/TextArea.form.js +21 -0
  808. package/lib/cjs/components/textarea/TextArea.js +538 -0
  809. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +355 -0
  810. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.js +263 -0
  811. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
  812. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.js +22 -0
  813. package/lib/cjs/components/textarea/fixtures/comp1.d.ts +31 -0
  814. package/lib/cjs/components/textarea/fixtures/comp1.js +31 -0
  815. package/lib/cjs/components/textarea/fixtures/comp2.d.ts +29 -0
  816. package/lib/cjs/components/textarea/fixtures/comp2.js +29 -0
  817. package/lib/cjs/components/textarea/fixtures/comp3.d.ts +27 -0
  818. package/lib/cjs/components/textarea/fixtures/comp3.js +29 -0
  819. package/lib/cjs/components/textarea/fixtures/index.d.ts +4 -0
  820. package/lib/cjs/components/textarea/fixtures/index.js +12 -0
  821. package/lib/cjs/components/textarea/fixtures/values.d.ts +2 -0
  822. package/lib/cjs/components/textarea/fixtures/values.js +6 -0
  823. package/lib/cjs/components/textfield/TextField.d.ts +38 -0
  824. package/lib/cjs/components/textfield/TextField.form.d.ts +3 -0
  825. package/lib/cjs/components/textfield/TextField.form.js +26 -0
  826. package/lib/cjs/components/textfield/TextField.js +243 -0
  827. package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
  828. package/lib/cjs/components/textfield/editForm/TextField.edit.data.js +58 -0
  829. package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +248 -0
  830. package/lib/cjs/components/textfield/editForm/TextField.edit.display.js +208 -0
  831. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
  832. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.js +49 -0
  833. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
  834. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +48 -0
  835. package/lib/cjs/components/textfield/fixtures/comp1.d.ts +33 -0
  836. package/lib/cjs/components/textfield/fixtures/comp1.js +33 -0
  837. package/lib/cjs/components/textfield/fixtures/comp2.d.ts +33 -0
  838. package/lib/cjs/components/textfield/fixtures/comp2.js +33 -0
  839. package/lib/cjs/components/textfield/fixtures/comp3.d.ts +33 -0
  840. package/lib/cjs/components/textfield/fixtures/comp3.js +33 -0
  841. package/lib/cjs/components/textfield/fixtures/comp4.d.ts +23 -0
  842. package/lib/cjs/components/textfield/fixtures/comp4.js +27 -0
  843. package/lib/cjs/components/textfield/fixtures/comp5.d.ts +12 -0
  844. package/lib/cjs/components/textfield/fixtures/comp5.js +13 -0
  845. package/lib/cjs/components/textfield/fixtures/comp6.d.ts +25 -0
  846. package/lib/cjs/components/textfield/fixtures/comp6.js +21 -0
  847. package/lib/cjs/components/textfield/fixtures/comp7.d.ts +37 -0
  848. package/lib/cjs/components/textfield/fixtures/comp7.js +38 -0
  849. package/lib/cjs/components/textfield/fixtures/index.d.ts +9 -0
  850. package/lib/cjs/components/textfield/fixtures/index.js +22 -0
  851. package/lib/cjs/components/textfield/fixtures/values.d.ts +2 -0
  852. package/lib/cjs/components/textfield/fixtures/values.js +7 -0
  853. package/lib/cjs/components/time/Time.d.ts +16 -0
  854. package/lib/cjs/components/time/Time.form.d.ts +3 -0
  855. package/lib/cjs/components/time/Time.form.js +21 -0
  856. package/lib/cjs/components/time/Time.js +148 -0
  857. package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +10 -0
  858. package/lib/cjs/components/time/editForm/Time.edit.data.js +13 -0
  859. package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +52 -0
  860. package/lib/cjs/components/time/editForm/Time.edit.display.js +42 -0
  861. package/lib/cjs/components/time/fixtures/comp1.d.ts +24 -0
  862. package/lib/cjs/components/time/fixtures/comp1.js +24 -0
  863. package/lib/cjs/components/time/fixtures/comp2.d.ts +10 -0
  864. package/lib/cjs/components/time/fixtures/comp2.js +11 -0
  865. package/lib/cjs/components/time/fixtures/comp3.d.ts +15 -0
  866. package/lib/cjs/components/time/fixtures/comp3.js +18 -0
  867. package/lib/cjs/components/time/fixtures/index.d.ts +6 -0
  868. package/lib/cjs/components/time/fixtures/index.js +16 -0
  869. package/lib/cjs/components/time/fixtures/timeForm.d.ts +47 -0
  870. package/lib/cjs/components/time/fixtures/timeForm.js +52 -0
  871. package/lib/cjs/components/time/fixtures/timeForm2.d.ts +38 -0
  872. package/lib/cjs/components/time/fixtures/timeForm2.js +44 -0
  873. package/lib/cjs/components/time/fixtures/values.d.ts +2 -0
  874. package/lib/cjs/components/time/fixtures/values.js +7 -0
  875. package/lib/cjs/components/tree/Node.d.ts +55 -0
  876. package/lib/cjs/components/tree/Node.js +185 -0
  877. package/lib/cjs/components/tree/Tree.d.ts +47 -0
  878. package/lib/cjs/components/tree/Tree.form.d.ts +3 -0
  879. package/lib/cjs/components/tree/Tree.form.js +16 -0
  880. package/lib/cjs/components/tree/Tree.js +384 -0
  881. package/lib/cjs/components/tree/editForm/Tree.edit.data.d.ts +5 -0
  882. package/lib/cjs/components/tree/editForm/Tree.edit.data.js +9 -0
  883. package/lib/cjs/components/tree/fixtures/comp1.d.ts +23 -0
  884. package/lib/cjs/components/tree/fixtures/comp1.js +24 -0
  885. package/lib/cjs/components/tree/fixtures/comp2.d.ts +116 -0
  886. package/lib/cjs/components/tree/fixtures/comp2.js +82 -0
  887. package/lib/cjs/components/tree/fixtures/comp3.d.ts +24 -0
  888. package/lib/cjs/components/tree/fixtures/comp3.js +25 -0
  889. package/lib/cjs/components/tree/fixtures/comp4.d.ts +42 -0
  890. package/lib/cjs/components/tree/fixtures/comp4.js +47 -0
  891. package/lib/cjs/components/tree/fixtures/index.d.ts +5 -0
  892. package/lib/cjs/components/tree/fixtures/index.js +14 -0
  893. package/lib/cjs/components/unknown/Unknown.d.ts +28 -0
  894. package/lib/cjs/components/unknown/Unknown.form.d.ts +34 -0
  895. package/lib/cjs/components/unknown/Unknown.form.js +25 -0
  896. package/lib/cjs/components/unknown/Unknown.js +30 -0
  897. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
  898. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.js +27 -0
  899. package/lib/cjs/components/unknown/fixtures/comp1.d.ts +7 -0
  900. package/lib/cjs/components/unknown/fixtures/comp1.js +8 -0
  901. package/lib/cjs/components/unknown/fixtures/index.d.ts +2 -0
  902. package/lib/cjs/components/unknown/fixtures/index.js +8 -0
  903. package/lib/cjs/components/url/Url.d.ts +3 -0
  904. package/lib/cjs/components/url/Url.form.d.ts +3 -0
  905. package/lib/cjs/components/url/Url.form.js +26 -0
  906. package/lib/cjs/components/url/Url.js +39 -0
  907. package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +5 -0
  908. package/lib/cjs/components/url/editForm/Url.edit.data.js +8 -0
  909. package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +5 -0
  910. package/lib/cjs/components/url/editForm/Url.edit.display.js +20 -0
  911. package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
  912. package/lib/cjs/components/url/editForm/Url.edit.validation.js +12 -0
  913. package/lib/cjs/components/url/fixtures/comp1.d.ts +26 -0
  914. package/lib/cjs/components/url/fixtures/comp1.js +26 -0
  915. package/lib/cjs/components/url/fixtures/comp2.d.ts +26 -0
  916. package/lib/cjs/components/url/fixtures/comp2.js +23 -0
  917. package/lib/cjs/components/url/fixtures/index.d.ts +3 -0
  918. package/lib/cjs/components/url/fixtures/index.js +10 -0
  919. package/lib/cjs/components/url/fixtures/values.d.ts +2 -0
  920. package/lib/cjs/components/url/fixtures/values.js +6 -0
  921. package/lib/cjs/components/well/Well.d.ts +13 -0
  922. package/lib/cjs/components/well/Well.form.d.ts +3 -0
  923. package/lib/cjs/components/well/Well.form.js +16 -0
  924. package/lib/cjs/components/well/Well.js +41 -0
  925. package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +5 -0
  926. package/lib/cjs/components/well/editForm/Well.edit.display.js +32 -0
  927. package/lib/cjs/components/well/fixtures/comp1.d.ts +43 -0
  928. package/lib/cjs/components/well/fixtures/comp1.js +77 -0
  929. package/lib/cjs/components/well/fixtures/index.d.ts +2 -0
  930. package/lib/cjs/components/well/fixtures/index.js +8 -0
  931. package/lib/cjs/displays/Displays.d.ts +18 -0
  932. package/lib/cjs/displays/Displays.js +29 -0
  933. package/lib/cjs/displays/index.d.ts +2 -0
  934. package/lib/cjs/displays/index.js +7 -0
  935. package/lib/cjs/formio.embed.d.ts +1 -0
  936. package/lib/cjs/formio.embed.js +4 -0
  937. package/lib/cjs/formio.form.d.ts +22 -0
  938. package/lib/cjs/formio.form.js +158 -0
  939. package/lib/cjs/i18n.d.ts +13 -0
  940. package/lib/cjs/i18n.js +19 -0
  941. package/lib/cjs/index.d.ts +4 -0
  942. package/lib/cjs/index.js +34 -0
  943. package/lib/cjs/package.json +3 -0
  944. package/lib/cjs/pdf.image.d.ts +2 -0
  945. package/lib/cjs/pdf.image.js +94 -0
  946. package/lib/cjs/polyfills/ElementPolyfill.d.ts +0 -0
  947. package/lib/cjs/polyfills/ElementPolyfill.js +338 -0
  948. package/lib/cjs/polyfills/index.d.ts +1 -0
  949. package/lib/cjs/polyfills/index.js +4 -0
  950. package/lib/cjs/providers/Providers.d.ts +64 -0
  951. package/lib/cjs/providers/Providers.js +34 -0
  952. package/lib/cjs/providers/address/AddressProvider.d.ts +17 -0
  953. package/lib/cjs/providers/address/AddressProvider.js +61 -0
  954. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +12 -0
  955. package/lib/cjs/providers/address/AzureAddressProvider.js +31 -0
  956. package/lib/cjs/providers/address/CustomAddressProvider.d.ts +7 -0
  957. package/lib/cjs/providers/address/CustomAddressProvider.js +26 -0
  958. package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +18 -0
  959. package/lib/cjs/providers/address/GoogleAddressProvider.js +118 -0
  960. package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +11 -0
  961. package/lib/cjs/providers/address/NominatimAddressProvider.js +31 -0
  962. package/lib/cjs/providers/address/index.d.ts +6 -0
  963. package/lib/cjs/providers/address/index.js +12 -0
  964. package/lib/cjs/providers/auth/index.d.ts +2 -0
  965. package/lib/cjs/providers/auth/index.js +3 -0
  966. package/lib/cjs/providers/index.d.ts +2 -0
  967. package/lib/cjs/providers/index.js +7 -0
  968. package/lib/cjs/providers/processor/fileProcessor.d.ts +2 -0
  969. package/lib/cjs/providers/processor/fileProcessor.js +44 -0
  970. package/lib/cjs/providers/storage/azure.d.ts +8 -0
  971. package/lib/cjs/providers/storage/azure.js +30 -0
  972. package/lib/cjs/providers/storage/base64.d.ts +10 -0
  973. package/lib/cjs/providers/storage/base64.js +35 -0
  974. package/lib/cjs/providers/storage/dropbox.d.ts +8 -0
  975. package/lib/cjs/providers/storage/dropbox.js +61 -0
  976. package/lib/cjs/providers/storage/googleDrive.d.ts +8 -0
  977. package/lib/cjs/providers/storage/googleDrive.js +60 -0
  978. package/lib/cjs/providers/storage/index.d.ts +15 -0
  979. package/lib/cjs/providers/storage/index.js +19 -0
  980. package/lib/cjs/providers/storage/indexeddb.d.ts +11 -0
  981. package/lib/cjs/providers/storage/indexeddb.js +124 -0
  982. package/lib/cjs/providers/storage/s3.d.ts +8 -0
  983. package/lib/cjs/providers/storage/s3.js +50 -0
  984. package/lib/cjs/providers/storage/uploadAdapter.d.ts +1 -0
  985. package/lib/cjs/providers/storage/uploadAdapter.js +61 -0
  986. package/lib/cjs/providers/storage/url.d.ts +11 -0
  987. package/lib/cjs/providers/storage/url.js +138 -0
  988. package/lib/cjs/providers/storage/xhr.d.ts +7 -0
  989. package/lib/cjs/providers/storage/xhr.js +101 -0
  990. package/lib/cjs/templates/Templates.d.ts +11 -0
  991. package/lib/cjs/templates/Templates.js +47 -0
  992. package/lib/cjs/templates/index.d.ts +4 -0
  993. package/lib/cjs/templates/index.js +9 -0
  994. package/lib/cjs/translations/en.d.ts +66 -0
  995. package/lib/cjs/translations/en.js +67 -0
  996. package/lib/cjs/utils/ChoicesWrapper.d.ts +37 -0
  997. package/lib/cjs/utils/ChoicesWrapper.js +175 -0
  998. package/lib/cjs/utils/Evaluator.d.ts +4 -0
  999. package/lib/cjs/utils/Evaluator.js +98 -0
  1000. package/lib/cjs/utils/builder.d.ts +22 -0
  1001. package/lib/cjs/utils/builder.js +84 -0
  1002. package/lib/cjs/utils/calendarUtils.d.ts +41 -0
  1003. package/lib/cjs/utils/calendarUtils.js +136 -0
  1004. package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
  1005. package/lib/cjs/utils/conditionOperators/ConditionOperator.js +29 -0
  1006. package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
  1007. package/lib/cjs/utils/conditionOperators/DateGreaterThan.js +37 -0
  1008. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
  1009. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.js +18 -0
  1010. package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
  1011. package/lib/cjs/utils/conditionOperators/DateLessThan.js +18 -0
  1012. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
  1013. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.js +18 -0
  1014. package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +7 -0
  1015. package/lib/cjs/utils/conditionOperators/EndsWith.js +19 -0
  1016. package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
  1017. package/lib/cjs/utils/conditionOperators/GreaterThan.js +19 -0
  1018. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
  1019. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.js +19 -0
  1020. package/lib/cjs/utils/conditionOperators/Includes.d.ts +7 -0
  1021. package/lib/cjs/utils/conditionOperators/Includes.js +19 -0
  1022. package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
  1023. package/lib/cjs/utils/conditionOperators/IsDateEqual.js +18 -0
  1024. package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
  1025. package/lib/cjs/utils/conditionOperators/IsEmptyValue.js +30 -0
  1026. package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +7 -0
  1027. package/lib/cjs/utils/conditionOperators/IsEqualTo.js +30 -0
  1028. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
  1029. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.js +18 -0
  1030. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
  1031. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.js +18 -0
  1032. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +7 -0
  1033. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.js +19 -0
  1034. package/lib/cjs/utils/conditionOperators/LessThan.d.ts +7 -0
  1035. package/lib/cjs/utils/conditionOperators/LessThan.js +19 -0
  1036. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
  1037. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.js +19 -0
  1038. package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
  1039. package/lib/cjs/utils/conditionOperators/NotIncludes.js +18 -0
  1040. package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +7 -0
  1041. package/lib/cjs/utils/conditionOperators/StartsWith.js +19 -0
  1042. package/lib/cjs/utils/conditionOperators/index.d.ts +7 -0
  1043. package/lib/cjs/utils/conditionOperators/index.js +44 -0
  1044. package/lib/cjs/utils/formUtils.d.ts +173 -0
  1045. package/lib/cjs/utils/formUtils.js +583 -0
  1046. package/lib/cjs/utils/index.d.ts +2 -0
  1047. package/lib/cjs/utils/index.js +30 -0
  1048. package/lib/cjs/utils/jsonlogic/operators.d.ts +1 -0
  1049. package/lib/cjs/utils/jsonlogic/operators.js +265 -0
  1050. package/lib/cjs/utils/utils.d.ts +364 -0
  1051. package/lib/cjs/utils/utils.js +1468 -0
  1052. package/lib/cjs/validator/Rules.d.ts +8 -0
  1053. package/lib/cjs/validator/Rules.js +22 -0
  1054. package/lib/cjs/validator/Validator.d.ts +200 -0
  1055. package/lib/cjs/validator/Validator.js +1090 -0
  1056. package/lib/cjs/validator/conjunctions/index.d.ts +7 -0
  1057. package/lib/cjs/validator/conjunctions/index.js +18 -0
  1058. package/lib/cjs/validator/operators/index.d.ts +7 -0
  1059. package/lib/cjs/validator/operators/index.js +18 -0
  1060. package/lib/cjs/validator/quickRules/index.d.ts +7 -0
  1061. package/lib/cjs/validator/quickRules/index.js +18 -0
  1062. package/lib/cjs/validator/rules/Custom.d.ts +6 -0
  1063. package/lib/cjs/validator/rules/Custom.js +25 -0
  1064. package/lib/cjs/validator/rules/Date.d.ts +6 -0
  1065. package/lib/cjs/validator/rules/Date.js +20 -0
  1066. package/lib/cjs/validator/rules/Day.d.ts +6 -0
  1067. package/lib/cjs/validator/rules/Day.js +53 -0
  1068. package/lib/cjs/validator/rules/Email.d.ts +6 -0
  1069. package/lib/cjs/validator/rules/Email.js +19 -0
  1070. package/lib/cjs/validator/rules/JSON.d.ts +6 -0
  1071. package/lib/cjs/validator/rules/JSON.js +24 -0
  1072. package/lib/cjs/validator/rules/Mask.d.ts +1 -0
  1073. package/lib/cjs/validator/rules/Mask.js +28 -0
  1074. package/lib/cjs/validator/rules/Max.d.ts +6 -0
  1075. package/lib/cjs/validator/rules/Max.js +16 -0
  1076. package/lib/cjs/validator/rules/MaxDate.d.ts +1 -0
  1077. package/lib/cjs/validator/rules/MaxDate.js +33 -0
  1078. package/lib/cjs/validator/rules/MaxLength.d.ts +6 -0
  1079. package/lib/cjs/validator/rules/MaxLength.js +15 -0
  1080. package/lib/cjs/validator/rules/MaxWords.d.ts +6 -0
  1081. package/lib/cjs/validator/rules/MaxWords.js +15 -0
  1082. package/lib/cjs/validator/rules/MaxYear.d.ts +6 -0
  1083. package/lib/cjs/validator/rules/MaxYear.js +17 -0
  1084. package/lib/cjs/validator/rules/Min.d.ts +6 -0
  1085. package/lib/cjs/validator/rules/Min.js +16 -0
  1086. package/lib/cjs/validator/rules/MinDate.d.ts +1 -0
  1087. package/lib/cjs/validator/rules/MinDate.js +29 -0
  1088. package/lib/cjs/validator/rules/MinLength.d.ts +6 -0
  1089. package/lib/cjs/validator/rules/MinLength.js +15 -0
  1090. package/lib/cjs/validator/rules/MinWords.d.ts +6 -0
  1091. package/lib/cjs/validator/rules/MinWords.js +15 -0
  1092. package/lib/cjs/validator/rules/MinYear.d.ts +6 -0
  1093. package/lib/cjs/validator/rules/MinYear.js +17 -0
  1094. package/lib/cjs/validator/rules/Pattern.d.ts +6 -0
  1095. package/lib/cjs/validator/rules/Pattern.js +15 -0
  1096. package/lib/cjs/validator/rules/Required.d.ts +6 -0
  1097. package/lib/cjs/validator/rules/Required.js +12 -0
  1098. package/lib/cjs/validator/rules/Rule.d.ts +8 -0
  1099. package/lib/cjs/validator/rules/Rule.js +10 -0
  1100. package/lib/cjs/validator/rules/Select.d.ts +1 -0
  1101. package/lib/cjs/validator/rules/Select.js +95 -0
  1102. package/lib/cjs/validator/rules/Time.d.ts +1 -0
  1103. package/lib/cjs/validator/rules/Time.js +18 -0
  1104. package/lib/cjs/validator/rules/Unique.d.ts +1 -0
  1105. package/lib/cjs/validator/rules/Unique.js +69 -0
  1106. package/lib/cjs/validator/rules/Url.d.ts +6 -0
  1107. package/lib/cjs/validator/rules/Url.js +18 -0
  1108. package/lib/cjs/validator/rules/index.d.ts +23 -0
  1109. package/lib/cjs/validator/rules/index.js +47 -0
  1110. package/lib/cjs/validator/transformers/index.d.ts +7 -0
  1111. package/lib/cjs/validator/transformers/index.js +18 -0
  1112. package/lib/cjs/validator/valueSources/index.d.ts +7 -0
  1113. package/lib/cjs/validator/valueSources/index.js +18 -0
  1114. package/lib/cjs/widgets/CalendarWidget.d.ts +96 -0
  1115. package/lib/cjs/widgets/CalendarWidget.js +468 -0
  1116. package/lib/cjs/widgets/InputWidget.d.ts +24 -0
  1117. package/lib/cjs/widgets/InputWidget.js +75 -0
  1118. package/lib/cjs/widgets/index.d.ts +7 -0
  1119. package/lib/cjs/widgets/index.js +11 -0
  1120. package/lib/mjs/CDN.d.ts +28 -0
  1121. package/lib/mjs/CDN.js +74 -0
  1122. package/lib/mjs/Element.d.ts +255 -0
  1123. package/lib/mjs/Element.js +562 -0
  1124. package/lib/mjs/Embed.d.ts +1 -0
  1125. package/lib/mjs/Embed.js +348 -0
  1126. package/lib/mjs/EventEmitter.d.ts +7 -0
  1127. package/lib/mjs/EventEmitter.js +26 -0
  1128. package/lib/mjs/Form.d.ts +90 -0
  1129. package/lib/mjs/Form.js +308 -0
  1130. package/lib/mjs/FormBuilder.d.ts +6 -0
  1131. package/lib/mjs/FormBuilder.js +34 -0
  1132. package/lib/mjs/Formio.d.ts +2 -0
  1133. package/lib/mjs/Formio.js +89 -0
  1134. package/lib/mjs/PDF.d.ts +32 -0
  1135. package/lib/mjs/PDF.js +285 -0
  1136. package/lib/mjs/PDFBuilder.d.ts +55 -0
  1137. package/lib/mjs/PDFBuilder.js +474 -0
  1138. package/lib/mjs/Webform.d.ts +408 -0
  1139. package/lib/mjs/Webform.js +1513 -0
  1140. package/lib/mjs/WebformBuilder.d.ts +120 -0
  1141. package/lib/mjs/WebformBuilder.js +1537 -0
  1142. package/lib/mjs/Wizard.d.ts +93 -0
  1143. package/lib/mjs/Wizard.js +905 -0
  1144. package/lib/mjs/WizardBuilder.d.ts +46 -0
  1145. package/lib/mjs/WizardBuilder.js +250 -0
  1146. package/lib/mjs/addons/FormioAddon.d.ts +19 -0
  1147. package/lib/mjs/addons/FormioAddon.js +31 -0
  1148. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +717 -0
  1149. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +590 -0
  1150. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +311 -0
  1151. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +388 -0
  1152. package/lib/mjs/addons/index.d.ts +625 -0
  1153. package/lib/mjs/addons/index.js +19 -0
  1154. package/lib/mjs/builders/Builders.d.ts +18 -0
  1155. package/lib/mjs/builders/Builders.js +24 -0
  1156. package/lib/mjs/builders/index.d.ts +2 -0
  1157. package/lib/mjs/builders/index.js +2 -0
  1158. package/lib/mjs/components/Components.d.ts +258 -0
  1159. package/lib/mjs/components/Components.js +75 -0
  1160. package/lib/mjs/components/_classes/component/Component.d.ts +779 -0
  1161. package/lib/mjs/components/_classes/component/Component.form.d.ts +3 -0
  1162. package/lib/mjs/components/_classes/component/Component.form.js +71 -0
  1163. package/lib/mjs/components/_classes/component/Component.js +3110 -0
  1164. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +645 -0
  1165. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.js +39 -0
  1166. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +42 -0
  1167. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.js +38 -0
  1168. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +113 -0
  1169. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +50 -0
  1170. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +219 -0
  1171. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +156 -0
  1172. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +160 -0
  1173. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +199 -0
  1174. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +44 -0
  1175. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.js +77 -0
  1176. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +368 -0
  1177. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.js +410 -0
  1178. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +140 -0
  1179. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +204 -0
  1180. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +83 -0
  1181. package/lib/mjs/components/_classes/component/editForm/utils.js +132 -0
  1182. package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +33 -0
  1183. package/lib/mjs/components/_classes/component/fixtures/comp1.js +31 -0
  1184. package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +33 -0
  1185. package/lib/mjs/components/_classes/component/fixtures/comp2.js +31 -0
  1186. package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +14 -0
  1187. package/lib/mjs/components/_classes/component/fixtures/comp3.js +12 -0
  1188. package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +17 -0
  1189. package/lib/mjs/components/_classes/component/fixtures/comp4.js +16 -0
  1190. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +5 -0
  1191. package/lib/mjs/components/_classes/component/fixtures/index.js +5 -0
  1192. package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +46 -0
  1193. package/lib/mjs/components/_classes/componentModal/ComponentModal.js +177 -0
  1194. package/lib/mjs/components/_classes/field/Field.d.ts +4 -0
  1195. package/lib/mjs/components/_classes/field/Field.js +21 -0
  1196. package/lib/mjs/components/_classes/input/Input.d.ts +42 -0
  1197. package/lib/mjs/components/_classes/input/Input.js +297 -0
  1198. package/lib/mjs/components/_classes/list/ListComponent.d.ts +14 -0
  1199. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +3 -0
  1200. package/lib/mjs/components/_classes/list/ListComponent.form.js +10 -0
  1201. package/lib/mjs/components/_classes/list/ListComponent.js +208 -0
  1202. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +183 -0
  1203. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.js +117 -0
  1204. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +29 -0
  1205. package/lib/mjs/components/_classes/multivalue/Multivalue.js +256 -0
  1206. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +130 -0
  1207. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +3 -0
  1208. package/lib/mjs/components/_classes/nested/NestedComponent.form.js +13 -0
  1209. package/lib/mjs/components/_classes/nested/NestedComponent.js +687 -0
  1210. package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +8 -0
  1211. package/lib/mjs/components/_classes/nested/fixtures/comp1.js +14 -0
  1212. package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +236 -0
  1213. package/lib/mjs/components/_classes/nested/fixtures/comp2.js +225 -0
  1214. package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +26 -0
  1215. package/lib/mjs/components/_classes/nested/fixtures/comp3.js +27 -0
  1216. package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +3 -0
  1217. package/lib/mjs/components/_classes/nested/fixtures/index.js +3 -0
  1218. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +14 -0
  1219. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +174 -0
  1220. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +11 -0
  1221. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +124 -0
  1222. package/lib/mjs/components/address/Address.d.ts +58 -0
  1223. package/lib/mjs/components/address/Address.form.d.ts +3 -0
  1224. package/lib/mjs/components/address/Address.form.js +22 -0
  1225. package/lib/mjs/components/address/Address.js +536 -0
  1226. package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +31 -0
  1227. package/lib/mjs/components/address/editForm/Address.edit.data.js +21 -0
  1228. package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +49 -0
  1229. package/lib/mjs/components/address/editForm/Address.edit.display.js +42 -0
  1230. package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +164 -0
  1231. package/lib/mjs/components/address/editForm/Address.edit.provider.js +151 -0
  1232. package/lib/mjs/components/address/fixtures/comp1.d.ts +34 -0
  1233. package/lib/mjs/components/address/fixtures/comp1.js +69 -0
  1234. package/lib/mjs/components/address/fixtures/comp2.d.ts +62 -0
  1235. package/lib/mjs/components/address/fixtures/comp2.js +101 -0
  1236. package/lib/mjs/components/address/fixtures/comp3.d.ts +44 -0
  1237. package/lib/mjs/components/address/fixtures/comp3.js +83 -0
  1238. package/lib/mjs/components/address/fixtures/comp4.d.ts +56 -0
  1239. package/lib/mjs/components/address/fixtures/comp4.js +91 -0
  1240. package/lib/mjs/components/address/fixtures/index.d.ts +5 -0
  1241. package/lib/mjs/components/address/fixtures/index.js +5 -0
  1242. package/lib/mjs/components/address/fixtures/values.d.ts +22 -0
  1243. package/lib/mjs/components/address/fixtures/values.js +17 -0
  1244. package/lib/mjs/components/alert/Alert.d.ts +30 -0
  1245. package/lib/mjs/components/alert/Alert.js +176 -0
  1246. package/lib/mjs/components/builder.d.ts +2 -0
  1247. package/lib/mjs/components/builder.js +86 -0
  1248. package/lib/mjs/components/button/Button.d.ts +44 -0
  1249. package/lib/mjs/components/button/Button.form.d.ts +3 -0
  1250. package/lib/mjs/components/button/Button.form.js +18 -0
  1251. package/lib/mjs/components/button/Button.js +458 -0
  1252. package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +360 -0
  1253. package/lib/mjs/components/button/editForm/Button.edit.display.js +247 -0
  1254. package/lib/mjs/components/button/fixtures/comp1.d.ts +15 -0
  1255. package/lib/mjs/components/button/fixtures/comp1.js +14 -0
  1256. package/lib/mjs/components/button/fixtures/comp2.d.ts +25 -0
  1257. package/lib/mjs/components/button/fixtures/comp2.js +55 -0
  1258. package/lib/mjs/components/button/fixtures/comp3.d.ts +113 -0
  1259. package/lib/mjs/components/button/fixtures/comp3.js +82 -0
  1260. package/lib/mjs/components/button/fixtures/index.d.ts +4 -0
  1261. package/lib/mjs/components/button/fixtures/index.js +4 -0
  1262. package/lib/mjs/components/button/fixtures/values.d.ts +2 -0
  1263. package/lib/mjs/components/button/fixtures/values.js +4 -0
  1264. package/lib/mjs/components/checkbox/Checkbox.d.ts +36 -0
  1265. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +3 -0
  1266. package/lib/mjs/components/checkbox/Checkbox.form.js +20 -0
  1267. package/lib/mjs/components/checkbox/Checkbox.js +188 -0
  1268. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +5 -0
  1269. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.js +6 -0
  1270. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +75 -0
  1271. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.js +74 -0
  1272. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +5 -0
  1273. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.js +10 -0
  1274. package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +24 -0
  1275. package/lib/mjs/components/checkbox/fixtures/comp1.js +22 -0
  1276. package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +12 -0
  1277. package/lib/mjs/components/checkbox/fixtures/comp2.js +11 -0
  1278. package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +15 -0
  1279. package/lib/mjs/components/checkbox/fixtures/comp3.js +14 -0
  1280. package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +46 -0
  1281. package/lib/mjs/components/checkbox/fixtures/comp4.js +37 -0
  1282. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +25 -0
  1283. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.js +23 -0
  1284. package/lib/mjs/components/checkbox/fixtures/index.d.ts +6 -0
  1285. package/lib/mjs/components/checkbox/fixtures/index.js +6 -0
  1286. package/lib/mjs/components/checkbox/fixtures/values.d.ts +2 -0
  1287. package/lib/mjs/components/checkbox/fixtures/values.js +4 -0
  1288. package/lib/mjs/components/columns/Columns.d.ts +25 -0
  1289. package/lib/mjs/components/columns/Columns.form.d.ts +3 -0
  1290. package/lib/mjs/components/columns/Columns.form.js +10 -0
  1291. package/lib/mjs/components/columns/Columns.js +149 -0
  1292. package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +58 -0
  1293. package/lib/mjs/components/columns/editForm/Columns.edit.display.js +98 -0
  1294. package/lib/mjs/components/columns/fixtures/comp1.d.ts +45 -0
  1295. package/lib/mjs/components/columns/fixtures/comp1.js +83 -0
  1296. package/lib/mjs/components/columns/fixtures/comp2.d.ts +24 -0
  1297. package/lib/mjs/components/columns/fixtures/comp2.js +125 -0
  1298. package/lib/mjs/components/columns/fixtures/comp3.d.ts +45 -0
  1299. package/lib/mjs/components/columns/fixtures/comp3.js +51 -0
  1300. package/lib/mjs/components/columns/fixtures/index.d.ts +4 -0
  1301. package/lib/mjs/components/columns/fixtures/index.js +4 -0
  1302. package/lib/mjs/components/container/Container.d.ts +14 -0
  1303. package/lib/mjs/components/container/Container.form.d.ts +3 -0
  1304. package/lib/mjs/components/container/Container.form.js +15 -0
  1305. package/lib/mjs/components/container/Container.js +72 -0
  1306. package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +5 -0
  1307. package/lib/mjs/components/container/editForm/Container.edit.data.js +14 -0
  1308. package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +5 -0
  1309. package/lib/mjs/components/container/editForm/Container.edit.display.js +18 -0
  1310. package/lib/mjs/components/container/fixtures/comp1.d.ts +49 -0
  1311. package/lib/mjs/components/container/fixtures/comp1.js +80 -0
  1312. package/lib/mjs/components/container/fixtures/comp2.d.ts +30 -0
  1313. package/lib/mjs/components/container/fixtures/comp2.js +32 -0
  1314. package/lib/mjs/components/container/fixtures/comp3.d.ts +77 -0
  1315. package/lib/mjs/components/container/fixtures/comp3.js +55 -0
  1316. package/lib/mjs/components/container/fixtures/index.d.ts +4 -0
  1317. package/lib/mjs/components/container/fixtures/index.js +4 -0
  1318. package/lib/mjs/components/content/Content.d.ts +15 -0
  1319. package/lib/mjs/components/content/Content.form.d.ts +3 -0
  1320. package/lib/mjs/components/content/Content.form.js +37 -0
  1321. package/lib/mjs/components/content/Content.js +69 -0
  1322. package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +18 -0
  1323. package/lib/mjs/components/content/editForm/Content.edit.display.js +46 -0
  1324. package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +48 -0
  1325. package/lib/mjs/components/content/editForm/Content.edit.logic.js +98 -0
  1326. package/lib/mjs/components/content/fixtures/comp1.d.ts +13 -0
  1327. package/lib/mjs/components/content/fixtures/comp1.js +12 -0
  1328. package/lib/mjs/components/content/fixtures/index.d.ts +2 -0
  1329. package/lib/mjs/components/content/fixtures/index.js +2 -0
  1330. package/lib/mjs/components/currency/Currency.d.ts +8 -0
  1331. package/lib/mjs/components/currency/Currency.form.d.ts +3 -0
  1332. package/lib/mjs/components/currency/Currency.form.js +40 -0
  1333. package/lib/mjs/components/currency/Currency.js +174 -0
  1334. package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +17 -0
  1335. package/lib/mjs/components/currency/editForm/Currency.edit.data.js +186 -0
  1336. package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +18 -0
  1337. package/lib/mjs/components/currency/editForm/Currency.edit.display.js +34 -0
  1338. package/lib/mjs/components/currency/fixtures/comp1.d.ts +31 -0
  1339. package/lib/mjs/components/currency/fixtures/comp1.js +29 -0
  1340. package/lib/mjs/components/currency/fixtures/comp2.d.ts +20 -0
  1341. package/lib/mjs/components/currency/fixtures/comp2.js +18 -0
  1342. package/lib/mjs/components/currency/fixtures/comp3.d.ts +13 -0
  1343. package/lib/mjs/components/currency/fixtures/comp3.js +12 -0
  1344. package/lib/mjs/components/currency/fixtures/comp4.d.ts +17 -0
  1345. package/lib/mjs/components/currency/fixtures/comp4.js +18 -0
  1346. package/lib/mjs/components/currency/fixtures/index.d.ts +5 -0
  1347. package/lib/mjs/components/currency/fixtures/index.js +5 -0
  1348. package/lib/mjs/components/currency/fixtures/values.d.ts +2 -0
  1349. package/lib/mjs/components/currency/fixtures/values.js +6 -0
  1350. package/lib/mjs/components/datagrid/DataGrid.d.ts +87 -0
  1351. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +3 -0
  1352. package/lib/mjs/components/datagrid/DataGrid.form.js +20 -0
  1353. package/lib/mjs/components/datagrid/DataGrid.js +642 -0
  1354. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +5 -0
  1355. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.js +6 -0
  1356. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +283 -0
  1357. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.js +147 -0
  1358. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +20 -0
  1359. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.js +24 -0
  1360. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +37 -0
  1361. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +40 -0
  1362. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  1363. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.js +1 -0
  1364. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +63 -0
  1365. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +79 -0
  1366. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +76 -0
  1367. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +73 -0
  1368. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +197 -0
  1369. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +176 -0
  1370. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +61 -0
  1371. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.js +67 -0
  1372. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +165 -0
  1373. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.js +178 -0
  1374. package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +93 -0
  1375. package/lib/mjs/components/datagrid/fixtures/comp1.js +113 -0
  1376. package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +18 -0
  1377. package/lib/mjs/components/datagrid/fixtures/comp2.js +27 -0
  1378. package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +14 -0
  1379. package/lib/mjs/components/datagrid/fixtures/comp3.js +21 -0
  1380. package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +27 -0
  1381. package/lib/mjs/components/datagrid/fixtures/comp4.js +26 -0
  1382. package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +67 -0
  1383. package/lib/mjs/components/datagrid/fixtures/comp5.js +75 -0
  1384. package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +567 -0
  1385. package/lib/mjs/components/datagrid/fixtures/comp6.js +294 -0
  1386. package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +28 -0
  1387. package/lib/mjs/components/datagrid/fixtures/comp7.js +33 -0
  1388. package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +35 -0
  1389. package/lib/mjs/components/datagrid/fixtures/comp8.js +35 -0
  1390. package/lib/mjs/components/datagrid/fixtures/index.d.ts +15 -0
  1391. package/lib/mjs/components/datagrid/fixtures/index.js +15 -0
  1392. package/lib/mjs/components/datamap/DataMap.d.ts +35 -0
  1393. package/lib/mjs/components/datamap/DataMap.form.d.ts +3 -0
  1394. package/lib/mjs/components/datamap/DataMap.form.js +15 -0
  1395. package/lib/mjs/components/datamap/DataMap.js +291 -0
  1396. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +5 -0
  1397. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.js +10 -0
  1398. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +30 -0
  1399. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.js +46 -0
  1400. package/lib/mjs/components/datamap/fixtures/comp1.d.ts +18 -0
  1401. package/lib/mjs/components/datamap/fixtures/comp1.js +13 -0
  1402. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +87 -0
  1403. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.js +83 -0
  1404. package/lib/mjs/components/datamap/fixtures/index.d.ts +3 -0
  1405. package/lib/mjs/components/datamap/fixtures/index.js +3 -0
  1406. package/lib/mjs/components/datetime/DateTime.d.ts +16 -0
  1407. package/lib/mjs/components/datetime/DateTime.form.d.ts +3 -0
  1408. package/lib/mjs/components/datetime/DateTime.form.js +34 -0
  1409. package/lib/mjs/components/datetime/DateTime.js +161 -0
  1410. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +24 -0
  1411. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.js +21 -0
  1412. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +61 -0
  1413. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +70 -0
  1414. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +128 -0
  1415. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.js +98 -0
  1416. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +9 -0
  1417. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.js +34 -0
  1418. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +40 -0
  1419. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.js +82 -0
  1420. package/lib/mjs/components/datetime/fixtures/comp1.d.ts +45 -0
  1421. package/lib/mjs/components/datetime/fixtures/comp1.js +42 -0
  1422. package/lib/mjs/components/datetime/fixtures/comp10.d.ts +102 -0
  1423. package/lib/mjs/components/datetime/fixtures/comp10.js +84 -0
  1424. package/lib/mjs/components/datetime/fixtures/comp11.d.ts +58 -0
  1425. package/lib/mjs/components/datetime/fixtures/comp11.js +53 -0
  1426. package/lib/mjs/components/datetime/fixtures/comp12.d.ts +57 -0
  1427. package/lib/mjs/components/datetime/fixtures/comp12.js +53 -0
  1428. package/lib/mjs/components/datetime/fixtures/comp2.d.ts +42 -0
  1429. package/lib/mjs/components/datetime/fixtures/comp2.js +41 -0
  1430. package/lib/mjs/components/datetime/fixtures/comp3.d.ts +51 -0
  1431. package/lib/mjs/components/datetime/fixtures/comp3.js +38 -0
  1432. package/lib/mjs/components/datetime/fixtures/comp5.d.ts +57 -0
  1433. package/lib/mjs/components/datetime/fixtures/comp5.js +46 -0
  1434. package/lib/mjs/components/datetime/fixtures/comp6.d.ts +55 -0
  1435. package/lib/mjs/components/datetime/fixtures/comp6.js +47 -0
  1436. package/lib/mjs/components/datetime/fixtures/comp7.d.ts +59 -0
  1437. package/lib/mjs/components/datetime/fixtures/comp7.js +51 -0
  1438. package/lib/mjs/components/datetime/fixtures/comp8.d.ts +59 -0
  1439. package/lib/mjs/components/datetime/fixtures/comp8.js +50 -0
  1440. package/lib/mjs/components/datetime/fixtures/comp9.d.ts +64 -0
  1441. package/lib/mjs/components/datetime/fixtures/comp9.js +93 -0
  1442. package/lib/mjs/components/datetime/fixtures/index.d.ts +12 -0
  1443. package/lib/mjs/components/datetime/fixtures/index.js +12 -0
  1444. package/lib/mjs/components/datetime/fixtures/values.d.ts +2 -0
  1445. package/lib/mjs/components/datetime/fixtures/values.js +4 -0
  1446. package/lib/mjs/components/day/Day.d.ts +143 -0
  1447. package/lib/mjs/components/day/Day.form.d.ts +3 -0
  1448. package/lib/mjs/components/day/Day.form.js +41 -0
  1449. package/lib/mjs/components/day/Day.js +528 -0
  1450. package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +5 -0
  1451. package/lib/mjs/components/day/editForm/Day.edit.data.js +6 -0
  1452. package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +40 -0
  1453. package/lib/mjs/components/day/editForm/Day.edit.day.js +46 -0
  1454. package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +40 -0
  1455. package/lib/mjs/components/day/editForm/Day.edit.display.js +44 -0
  1456. package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +40 -0
  1457. package/lib/mjs/components/day/editForm/Day.edit.month.js +38 -0
  1458. package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +29 -0
  1459. package/lib/mjs/components/day/editForm/Day.edit.validation.js +52 -0
  1460. package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +40 -0
  1461. package/lib/mjs/components/day/editForm/Day.edit.year.js +56 -0
  1462. package/lib/mjs/components/day/fixtures/comp1.d.ts +46 -0
  1463. package/lib/mjs/components/day/fixtures/comp1.js +37 -0
  1464. package/lib/mjs/components/day/fixtures/comp2.d.ts +46 -0
  1465. package/lib/mjs/components/day/fixtures/comp2.js +37 -0
  1466. package/lib/mjs/components/day/fixtures/comp3.d.ts +48 -0
  1467. package/lib/mjs/components/day/fixtures/comp3.js +39 -0
  1468. package/lib/mjs/components/day/fixtures/comp4.d.ts +53 -0
  1469. package/lib/mjs/components/day/fixtures/comp4.js +54 -0
  1470. package/lib/mjs/components/day/fixtures/index.d.ts +5 -0
  1471. package/lib/mjs/components/day/fixtures/index.js +5 -0
  1472. package/lib/mjs/components/day/fixtures/values.d.ts +2 -0
  1473. package/lib/mjs/components/day/fixtures/values.js +4 -0
  1474. package/lib/mjs/components/editgrid/EditGrid.d.ts +98 -0
  1475. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +3 -0
  1476. package/lib/mjs/components/editgrid/EditGrid.form.js +27 -0
  1477. package/lib/mjs/components/editgrid/EditGrid.js +1151 -0
  1478. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +18 -0
  1479. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.js +18 -0
  1480. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +82 -0
  1481. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +53 -0
  1482. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +58 -0
  1483. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +126 -0
  1484. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +29 -0
  1485. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.js +32 -0
  1486. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +34 -0
  1487. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.js +34 -0
  1488. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +327 -0
  1489. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.js +218 -0
  1490. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +77 -0
  1491. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +82 -0
  1492. package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +89 -0
  1493. package/lib/mjs/components/editgrid/fixtures/comp1.js +126 -0
  1494. package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +49 -0
  1495. package/lib/mjs/components/editgrid/fixtures/comp10.js +46 -0
  1496. package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +53 -0
  1497. package/lib/mjs/components/editgrid/fixtures/comp11.js +48 -0
  1498. package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +57 -0
  1499. package/lib/mjs/components/editgrid/fixtures/comp12.js +48 -0
  1500. package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +64 -0
  1501. package/lib/mjs/components/editgrid/fixtures/comp13.js +62 -0
  1502. package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +88 -0
  1503. package/lib/mjs/components/editgrid/fixtures/comp14.js +82 -0
  1504. package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +112 -0
  1505. package/lib/mjs/components/editgrid/fixtures/comp2.js +112 -0
  1506. package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +27 -0
  1507. package/lib/mjs/components/editgrid/fixtures/comp3.js +26 -0
  1508. package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +23 -0
  1509. package/lib/mjs/components/editgrid/fixtures/comp4.js +22 -0
  1510. package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +19 -0
  1511. package/lib/mjs/components/editgrid/fixtures/comp5.js +20 -0
  1512. package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +50 -0
  1513. package/lib/mjs/components/editgrid/fixtures/comp6.js +56 -0
  1514. package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +129 -0
  1515. package/lib/mjs/components/editgrid/fixtures/comp7.js +121 -0
  1516. package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +148 -0
  1517. package/lib/mjs/components/editgrid/fixtures/comp8.js +154 -0
  1518. package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +86 -0
  1519. package/lib/mjs/components/editgrid/fixtures/comp9.js +60 -0
  1520. package/lib/mjs/components/editgrid/fixtures/index.d.ts +17 -0
  1521. package/lib/mjs/components/editgrid/fixtures/index.js +17 -0
  1522. package/lib/mjs/components/email/Email.d.ts +4 -0
  1523. package/lib/mjs/components/email/Email.form.d.ts +3 -0
  1524. package/lib/mjs/components/email/Email.form.js +15 -0
  1525. package/lib/mjs/components/email/Email.js +48 -0
  1526. package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +5 -0
  1527. package/lib/mjs/components/email/editForm/Email.edit.display.js +18 -0
  1528. package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +24 -0
  1529. package/lib/mjs/components/email/editForm/Email.edit.validation.js +26 -0
  1530. package/lib/mjs/components/email/fixtures/comp1.d.ts +26 -0
  1531. package/lib/mjs/components/email/fixtures/comp1.js +24 -0
  1532. package/lib/mjs/components/email/fixtures/comp2.d.ts +23 -0
  1533. package/lib/mjs/components/email/fixtures/comp2.js +11 -0
  1534. package/lib/mjs/components/email/fixtures/index.d.ts +3 -0
  1535. package/lib/mjs/components/email/fixtures/index.js +3 -0
  1536. package/lib/mjs/components/email/fixtures/values.d.ts +2 -0
  1537. package/lib/mjs/components/email/fixtures/values.js +4 -0
  1538. package/lib/mjs/components/fieldset/Fieldset.d.ts +13 -0
  1539. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +3 -0
  1540. package/lib/mjs/components/fieldset/Fieldset.form.js +10 -0
  1541. package/lib/mjs/components/fieldset/Fieldset.js +37 -0
  1542. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +33 -0
  1543. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.js +42 -0
  1544. package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +46 -0
  1545. package/lib/mjs/components/fieldset/fixtures/comp1.js +79 -0
  1546. package/lib/mjs/components/fieldset/fixtures/index.d.ts +2 -0
  1547. package/lib/mjs/components/fieldset/fixtures/index.js +2 -0
  1548. package/lib/mjs/components/file/File.d.ts +59 -0
  1549. package/lib/mjs/components/file/File.form.d.ts +3 -0
  1550. package/lib/mjs/components/file/File.form.js +27 -0
  1551. package/lib/mjs/components/file/File.js +746 -0
  1552. package/lib/mjs/components/file/editForm/File.edit.data.d.ts +5 -0
  1553. package/lib/mjs/components/file/editForm/File.edit.data.js +6 -0
  1554. package/lib/mjs/components/file/editForm/File.edit.display.d.ts +5 -0
  1555. package/lib/mjs/components/file/editForm/File.edit.display.js +6 -0
  1556. package/lib/mjs/components/file/editForm/File.edit.file.d.ts +213 -0
  1557. package/lib/mjs/components/file/editForm/File.edit.file.js +256 -0
  1558. package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +5 -0
  1559. package/lib/mjs/components/file/editForm/File.edit.validation.js +10 -0
  1560. package/lib/mjs/components/file/fixtures/comp1.d.ts +15 -0
  1561. package/lib/mjs/components/file/fixtures/comp1.js +16 -0
  1562. package/lib/mjs/components/file/fixtures/comp2.d.ts +35 -0
  1563. package/lib/mjs/components/file/fixtures/comp2.js +29 -0
  1564. package/lib/mjs/components/file/fixtures/index.d.ts +3 -0
  1565. package/lib/mjs/components/file/fixtures/index.js +3 -0
  1566. package/lib/mjs/components/file/fixtures/values.d.ts +10 -0
  1567. package/lib/mjs/components/file/fixtures/values.js +13 -0
  1568. package/lib/mjs/components/form/Form.d.ts +94 -0
  1569. package/lib/mjs/components/form/Form.form.d.ts +3 -0
  1570. package/lib/mjs/components/form/Form.form.js +24 -0
  1571. package/lib/mjs/components/form/Form.js +714 -0
  1572. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +82 -0
  1573. package/lib/mjs/components/form/editForm/Form.edit.data.js +16 -0
  1574. package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +5 -0
  1575. package/lib/mjs/components/form/editForm/Form.edit.display.js +27 -0
  1576. package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +89 -0
  1577. package/lib/mjs/components/form/editForm/Form.edit.form.js +72 -0
  1578. package/lib/mjs/components/form/fixtures/comp1.d.ts +45 -0
  1579. package/lib/mjs/components/form/fixtures/comp1.js +78 -0
  1580. package/lib/mjs/components/form/fixtures/comp2.d.ts +14 -0
  1581. package/lib/mjs/components/form/fixtures/comp2.js +13 -0
  1582. package/lib/mjs/components/form/fixtures/comp3.d.ts +187 -0
  1583. package/lib/mjs/components/form/fixtures/comp3.js +168 -0
  1584. package/lib/mjs/components/form/fixtures/comp4.d.ts +107 -0
  1585. package/lib/mjs/components/form/fixtures/comp4.js +89 -0
  1586. package/lib/mjs/components/form/fixtures/comp5.d.ts +42 -0
  1587. package/lib/mjs/components/form/fixtures/comp5.js +43 -0
  1588. package/lib/mjs/components/form/fixtures/comp6.d.ts +74 -0
  1589. package/lib/mjs/components/form/fixtures/comp6.js +92 -0
  1590. package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +42 -0
  1591. package/lib/mjs/components/form/fixtures/formModalEdit.js +49 -0
  1592. package/lib/mjs/components/form/fixtures/index.d.ts +8 -0
  1593. package/lib/mjs/components/form/fixtures/index.js +8 -0
  1594. package/lib/mjs/components/form/fixtures/values.d.ts +6 -0
  1595. package/lib/mjs/components/form/fixtures/values.js +7 -0
  1596. package/lib/mjs/components/hidden/Hidden.d.ts +25 -0
  1597. package/lib/mjs/components/hidden/Hidden.form.d.ts +3 -0
  1598. package/lib/mjs/components/hidden/Hidden.form.js +23 -0
  1599. package/lib/mjs/components/hidden/Hidden.js +54 -0
  1600. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +5 -0
  1601. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.js +14 -0
  1602. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +5 -0
  1603. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.js +42 -0
  1604. package/lib/mjs/components/hidden/fixtures/comp1.d.ts +18 -0
  1605. package/lib/mjs/components/hidden/fixtures/comp1.js +16 -0
  1606. package/lib/mjs/components/hidden/fixtures/index.d.ts +2 -0
  1607. package/lib/mjs/components/hidden/fixtures/index.js +2 -0
  1608. package/lib/mjs/components/hidden/fixtures/values.d.ts +2 -0
  1609. package/lib/mjs/components/hidden/fixtures/values.js +4 -0
  1610. package/lib/mjs/components/html/HTML.d.ts +16 -0
  1611. package/lib/mjs/components/html/HTML.form.d.ts +3 -0
  1612. package/lib/mjs/components/html/HTML.form.js +23 -0
  1613. package/lib/mjs/components/html/HTML.js +83 -0
  1614. package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +77 -0
  1615. package/lib/mjs/components/html/editForm/HTML.edit.display.js +98 -0
  1616. package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +48 -0
  1617. package/lib/mjs/components/html/editForm/HTML.edit.logic.js +98 -0
  1618. package/lib/mjs/components/html/fixtures/comp1.d.ts +19 -0
  1619. package/lib/mjs/components/html/fixtures/comp1.js +20 -0
  1620. package/lib/mjs/components/html/fixtures/comp2.d.ts +21 -0
  1621. package/lib/mjs/components/html/fixtures/comp2.js +22 -0
  1622. package/lib/mjs/components/html/fixtures/index.d.ts +3 -0
  1623. package/lib/mjs/components/html/fixtures/index.js +3 -0
  1624. package/lib/mjs/components/index.d.ts +100 -0
  1625. package/lib/mjs/components/index.js +99 -0
  1626. package/lib/mjs/components/number/Number.d.ts +31 -0
  1627. package/lib/mjs/components/number/Number.form.d.ts +3 -0
  1628. package/lib/mjs/components/number/Number.form.js +20 -0
  1629. package/lib/mjs/components/number/Number.js +185 -0
  1630. package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +18 -0
  1631. package/lib/mjs/components/number/editForm/Number.edit.data.js +30 -0
  1632. package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +5 -0
  1633. package/lib/mjs/components/number/editForm/Number.edit.display.js +22 -0
  1634. package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +20 -0
  1635. package/lib/mjs/components/number/editForm/Number.edit.validation.js +44 -0
  1636. package/lib/mjs/components/number/fixtures/comp1.d.ts +33 -0
  1637. package/lib/mjs/components/number/fixtures/comp1.js +30 -0
  1638. package/lib/mjs/components/number/fixtures/comp2.d.ts +32 -0
  1639. package/lib/mjs/components/number/fixtures/comp2.js +29 -0
  1640. package/lib/mjs/components/number/fixtures/comp3.d.ts +14 -0
  1641. package/lib/mjs/components/number/fixtures/comp3.js +13 -0
  1642. package/lib/mjs/components/number/fixtures/comp4.d.ts +14 -0
  1643. package/lib/mjs/components/number/fixtures/comp4.js +13 -0
  1644. package/lib/mjs/components/number/fixtures/comp5.d.ts +20 -0
  1645. package/lib/mjs/components/number/fixtures/comp5.js +18 -0
  1646. package/lib/mjs/components/number/fixtures/comp6.d.ts +40 -0
  1647. package/lib/mjs/components/number/fixtures/comp6.js +25 -0
  1648. package/lib/mjs/components/number/fixtures/comp7.d.ts +15 -0
  1649. package/lib/mjs/components/number/fixtures/comp7.js +14 -0
  1650. package/lib/mjs/components/number/fixtures/index.d.ts +8 -0
  1651. package/lib/mjs/components/number/fixtures/index.js +8 -0
  1652. package/lib/mjs/components/number/fixtures/values.d.ts +2 -0
  1653. package/lib/mjs/components/number/fixtures/values.js +9 -0
  1654. package/lib/mjs/components/panel/Panel.d.ts +14 -0
  1655. package/lib/mjs/components/panel/Panel.form.d.ts +3 -0
  1656. package/lib/mjs/components/panel/Panel.form.js +15 -0
  1657. package/lib/mjs/components/panel/Panel.js +52 -0
  1658. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +75 -0
  1659. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.js +40 -0
  1660. package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +228 -0
  1661. package/lib/mjs/components/panel/editForm/Panel.edit.display.js +208 -0
  1662. package/lib/mjs/components/panel/fixtures/comp1.d.ts +46 -0
  1663. package/lib/mjs/components/panel/fixtures/comp1.js +78 -0
  1664. package/lib/mjs/components/panel/fixtures/comp2.d.ts +80 -0
  1665. package/lib/mjs/components/panel/fixtures/comp2.js +67 -0
  1666. package/lib/mjs/components/panel/fixtures/index.d.ts +3 -0
  1667. package/lib/mjs/components/panel/fixtures/index.js +3 -0
  1668. package/lib/mjs/components/password/Password.d.ts +3 -0
  1669. package/lib/mjs/components/password/Password.form.d.ts +3 -0
  1670. package/lib/mjs/components/password/Password.form.js +20 -0
  1671. package/lib/mjs/components/password/Password.js +34 -0
  1672. package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +18 -0
  1673. package/lib/mjs/components/password/editForm/Password.edit.data.js +46 -0
  1674. package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +5 -0
  1675. package/lib/mjs/components/password/editForm/Password.edit.display.js +14 -0
  1676. package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +5 -0
  1677. package/lib/mjs/components/password/editForm/Password.edit.validation.js +14 -0
  1678. package/lib/mjs/components/password/fixtures/comp1.d.ts +22 -0
  1679. package/lib/mjs/components/password/fixtures/comp1.js +20 -0
  1680. package/lib/mjs/components/password/fixtures/comp2.d.ts +27 -0
  1681. package/lib/mjs/components/password/fixtures/comp2.js +27 -0
  1682. package/lib/mjs/components/password/fixtures/index.d.ts +3 -0
  1683. package/lib/mjs/components/password/fixtures/index.js +3 -0
  1684. package/lib/mjs/components/password/fixtures/values.d.ts +2 -0
  1685. package/lib/mjs/components/password/fixtures/values.js +4 -0
  1686. package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +3 -0
  1687. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +3 -0
  1688. package/lib/mjs/components/phonenumber/PhoneNumber.form.js +23 -0
  1689. package/lib/mjs/components/phonenumber/PhoneNumber.js +27 -0
  1690. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +5 -0
  1691. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +22 -0
  1692. package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +27 -0
  1693. package/lib/mjs/components/phonenumber/fixtures/comp1.js +25 -0
  1694. package/lib/mjs/components/phonenumber/fixtures/index.d.ts +2 -0
  1695. package/lib/mjs/components/phonenumber/fixtures/index.js +2 -0
  1696. package/lib/mjs/components/phonenumber/fixtures/values.d.ts +2 -0
  1697. package/lib/mjs/components/phonenumber/fixtures/values.js +4 -0
  1698. package/lib/mjs/components/radio/Radio.d.ts +44 -0
  1699. package/lib/mjs/components/radio/Radio.form.d.ts +3 -0
  1700. package/lib/mjs/components/radio/Radio.form.js +20 -0
  1701. package/lib/mjs/components/radio/Radio.js +288 -0
  1702. package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +134 -0
  1703. package/lib/mjs/components/radio/editForm/Radio.edit.data.js +80 -0
  1704. package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +40 -0
  1705. package/lib/mjs/components/radio/editForm/Radio.edit.display.js +32 -0
  1706. package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +18 -0
  1707. package/lib/mjs/components/radio/editForm/Radio.edit.validation.js +18 -0
  1708. package/lib/mjs/components/radio/fixtures/comp1.d.ts +28 -0
  1709. package/lib/mjs/components/radio/fixtures/comp1.js +40 -0
  1710. package/lib/mjs/components/radio/fixtures/comp2.d.ts +85 -0
  1711. package/lib/mjs/components/radio/fixtures/comp2.js +84 -0
  1712. package/lib/mjs/components/radio/fixtures/comp3.d.ts +85 -0
  1713. package/lib/mjs/components/radio/fixtures/comp3.js +88 -0
  1714. package/lib/mjs/components/radio/fixtures/comp4.d.ts +19 -0
  1715. package/lib/mjs/components/radio/fixtures/comp4.js +25 -0
  1716. package/lib/mjs/components/radio/fixtures/comp5.d.ts +39 -0
  1717. package/lib/mjs/components/radio/fixtures/comp5.js +33 -0
  1718. package/lib/mjs/components/radio/fixtures/comp6.d.ts +38 -0
  1719. package/lib/mjs/components/radio/fixtures/comp6.js +31 -0
  1720. package/lib/mjs/components/radio/fixtures/comp7.d.ts +23 -0
  1721. package/lib/mjs/components/radio/fixtures/comp7.js +19 -0
  1722. package/lib/mjs/components/radio/fixtures/comp8.d.ts +118 -0
  1723. package/lib/mjs/components/radio/fixtures/comp8.js +111 -0
  1724. package/lib/mjs/components/radio/fixtures/comp9.d.ts +35 -0
  1725. package/lib/mjs/components/radio/fixtures/comp9.js +30 -0
  1726. package/lib/mjs/components/radio/fixtures/index.d.ts +10 -0
  1727. package/lib/mjs/components/radio/fixtures/index.js +10 -0
  1728. package/lib/mjs/components/radio/fixtures/values.d.ts +2 -0
  1729. package/lib/mjs/components/radio/fixtures/values.js +5 -0
  1730. package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +22 -0
  1731. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +3 -0
  1732. package/lib/mjs/components/recaptcha/ReCaptcha.form.js +26 -0
  1733. package/lib/mjs/components/recaptcha/ReCaptcha.js +137 -0
  1734. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +44 -0
  1735. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +106 -0
  1736. package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +8 -0
  1737. package/lib/mjs/components/recaptcha/fixtures/comp1.js +7 -0
  1738. package/lib/mjs/components/recaptcha/fixtures/index.d.ts +2 -0
  1739. package/lib/mjs/components/recaptcha/fixtures/index.js +2 -0
  1740. package/lib/mjs/components/resource/Resource.d.ts +3 -0
  1741. package/lib/mjs/components/resource/Resource.form.d.ts +3 -0
  1742. package/lib/mjs/components/resource/Resource.form.js +10 -0
  1743. package/lib/mjs/components/resource/Resource.js +34 -0
  1744. package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +173 -0
  1745. package/lib/mjs/components/resource/editForm/Resource.edit.display.js +100 -0
  1746. package/lib/mjs/components/resource/fixtures/comp1.d.ts +30 -0
  1747. package/lib/mjs/components/resource/fixtures/comp1.js +28 -0
  1748. package/lib/mjs/components/resource/fixtures/comp2.d.ts +35 -0
  1749. package/lib/mjs/components/resource/fixtures/comp2.js +29 -0
  1750. package/lib/mjs/components/resource/fixtures/index.d.ts +3 -0
  1751. package/lib/mjs/components/resource/fixtures/index.js +3 -0
  1752. package/lib/mjs/components/select/Select.d.ts +122 -0
  1753. package/lib/mjs/components/select/Select.form.d.ts +3 -0
  1754. package/lib/mjs/components/select/Select.form.js +20 -0
  1755. package/lib/mjs/components/select/Select.js +1485 -0
  1756. package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +1039 -0
  1757. package/lib/mjs/components/select/editForm/Select.edit.data.js +627 -0
  1758. package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +27 -0
  1759. package/lib/mjs/components/select/editForm/Select.edit.display.js +26 -0
  1760. package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +30 -0
  1761. package/lib/mjs/components/select/editForm/Select.edit.validation.js +33 -0
  1762. package/lib/mjs/components/select/fixtures/comp1.d.ts +40 -0
  1763. package/lib/mjs/components/select/fixtures/comp1.js +64 -0
  1764. package/lib/mjs/components/select/fixtures/comp10.d.ts +41 -0
  1765. package/lib/mjs/components/select/fixtures/comp10.js +30 -0
  1766. package/lib/mjs/components/select/fixtures/comp11.d.ts +28 -0
  1767. package/lib/mjs/components/select/fixtures/comp11.js +22 -0
  1768. package/lib/mjs/components/select/fixtures/comp12.d.ts +53 -0
  1769. package/lib/mjs/components/select/fixtures/comp12.js +27 -0
  1770. package/lib/mjs/components/select/fixtures/comp13.d.ts +28 -0
  1771. package/lib/mjs/components/select/fixtures/comp13.js +29 -0
  1772. package/lib/mjs/components/select/fixtures/comp14.d.ts +40 -0
  1773. package/lib/mjs/components/select/fixtures/comp14.js +25 -0
  1774. package/lib/mjs/components/select/fixtures/comp15.d.ts +50 -0
  1775. package/lib/mjs/components/select/fixtures/comp15.js +39 -0
  1776. package/lib/mjs/components/select/fixtures/comp16.d.ts +34 -0
  1777. package/lib/mjs/components/select/fixtures/comp16.js +31 -0
  1778. package/lib/mjs/components/select/fixtures/comp17.d.ts +51 -0
  1779. package/lib/mjs/components/select/fixtures/comp17.js +41 -0
  1780. package/lib/mjs/components/select/fixtures/comp18.d.ts +49 -0
  1781. package/lib/mjs/components/select/fixtures/comp18.js +40 -0
  1782. package/lib/mjs/components/select/fixtures/comp2.d.ts +41 -0
  1783. package/lib/mjs/components/select/fixtures/comp2.js +65 -0
  1784. package/lib/mjs/components/select/fixtures/comp3.d.ts +35 -0
  1785. package/lib/mjs/components/select/fixtures/comp3.js +206 -0
  1786. package/lib/mjs/components/select/fixtures/comp4.d.ts +103 -0
  1787. package/lib/mjs/components/select/fixtures/comp4.js +104 -0
  1788. package/lib/mjs/components/select/fixtures/comp5.d.ts +21 -0
  1789. package/lib/mjs/components/select/fixtures/comp5.js +26 -0
  1790. package/lib/mjs/components/select/fixtures/comp6.d.ts +20 -0
  1791. package/lib/mjs/components/select/fixtures/comp6.js +28 -0
  1792. package/lib/mjs/components/select/fixtures/comp7.d.ts +63 -0
  1793. package/lib/mjs/components/select/fixtures/comp7.js +44 -0
  1794. package/lib/mjs/components/select/fixtures/comp8.d.ts +72 -0
  1795. package/lib/mjs/components/select/fixtures/comp8.js +35 -0
  1796. package/lib/mjs/components/select/fixtures/comp9.d.ts +88 -0
  1797. package/lib/mjs/components/select/fixtures/comp9.js +65 -0
  1798. package/lib/mjs/components/select/fixtures/index.d.ts +19 -0
  1799. package/lib/mjs/components/select/fixtures/index.js +19 -0
  1800. package/lib/mjs/components/select/fixtures/values.d.ts +2 -0
  1801. package/lib/mjs/components/select/fixtures/values.js +5 -0
  1802. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +15 -0
  1803. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +3 -0
  1804. package/lib/mjs/components/selectboxes/SelectBoxes.form.js +19 -0
  1805. package/lib/mjs/components/selectboxes/SelectBoxes.js +208 -0
  1806. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +9 -0
  1807. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +34 -0
  1808. package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +24 -0
  1809. package/lib/mjs/components/selectboxes/fixtures/comp1.js +52 -0
  1810. package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +24 -0
  1811. package/lib/mjs/components/selectboxes/fixtures/comp2.js +52 -0
  1812. package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +23 -0
  1813. package/lib/mjs/components/selectboxes/fixtures/comp3.js +19 -0
  1814. package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +63 -0
  1815. package/lib/mjs/components/selectboxes/fixtures/comp4.js +64 -0
  1816. package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +37 -0
  1817. package/lib/mjs/components/selectboxes/fixtures/comp5.js +31 -0
  1818. package/lib/mjs/components/selectboxes/fixtures/index.d.ts +6 -0
  1819. package/lib/mjs/components/selectboxes/fixtures/index.js +6 -0
  1820. package/lib/mjs/components/selectboxes/fixtures/values.d.ts +6 -0
  1821. package/lib/mjs/components/selectboxes/fixtures/values.js +22 -0
  1822. package/lib/mjs/components/signature/Signature.d.ts +26 -0
  1823. package/lib/mjs/components/signature/Signature.form.d.ts +3 -0
  1824. package/lib/mjs/components/signature/Signature.form.js +20 -0
  1825. package/lib/mjs/components/signature/Signature.js +240 -0
  1826. package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +5 -0
  1827. package/lib/mjs/components/signature/editForm/Signature.edit.data.js +14 -0
  1828. package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +51 -0
  1829. package/lib/mjs/components/signature/editForm/Signature.edit.display.js +69 -0
  1830. package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +5 -0
  1831. package/lib/mjs/components/signature/editForm/Signature.edit.validation.js +10 -0
  1832. package/lib/mjs/components/signature/fixtures/comp1.d.ts +30 -0
  1833. package/lib/mjs/components/signature/fixtures/comp1.js +28 -0
  1834. package/lib/mjs/components/signature/fixtures/index.d.ts +2 -0
  1835. package/lib/mjs/components/signature/fixtures/index.js +2 -0
  1836. package/lib/mjs/components/signature/fixtures/values.d.ts +2 -0
  1837. package/lib/mjs/components/signature/fixtures/values.js +5 -0
  1838. package/lib/mjs/components/survey/Survey.d.ts +16 -0
  1839. package/lib/mjs/components/survey/Survey.form.d.ts +3 -0
  1840. package/lib/mjs/components/survey/Survey.form.js +20 -0
  1841. package/lib/mjs/components/survey/Survey.js +141 -0
  1842. package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +44 -0
  1843. package/lib/mjs/components/survey/editForm/Survey.edit.data.js +70 -0
  1844. package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +5 -0
  1845. package/lib/mjs/components/survey/editForm/Survey.edit.display.js +6 -0
  1846. package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +5 -0
  1847. package/lib/mjs/components/survey/editForm/Survey.edit.validation.js +6 -0
  1848. package/lib/mjs/components/survey/fixtures/comp1.d.ts +31 -0
  1849. package/lib/mjs/components/survey/fixtures/comp1.js +53 -0
  1850. package/lib/mjs/components/survey/fixtures/comp2.d.ts +31 -0
  1851. package/lib/mjs/components/survey/fixtures/comp2.js +53 -0
  1852. package/lib/mjs/components/survey/fixtures/index.d.ts +3 -0
  1853. package/lib/mjs/components/survey/fixtures/index.js +3 -0
  1854. package/lib/mjs/components/survey/fixtures/values.d.ts +5 -0
  1855. package/lib/mjs/components/survey/fixtures/values.js +10 -0
  1856. package/lib/mjs/components/table/Table.d.ts +21 -0
  1857. package/lib/mjs/components/table/Table.form.d.ts +3 -0
  1858. package/lib/mjs/components/table/Table.form.js +10 -0
  1859. package/lib/mjs/components/table/Table.js +165 -0
  1860. package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +55 -0
  1861. package/lib/mjs/components/table/editForm/Table.edit.display.js +109 -0
  1862. package/lib/mjs/components/table/fixtures/comp1.d.ts +53 -0
  1863. package/lib/mjs/components/table/fixtures/comp1.js +235 -0
  1864. package/lib/mjs/components/table/fixtures/index.d.ts +2 -0
  1865. package/lib/mjs/components/table/fixtures/index.js +2 -0
  1866. package/lib/mjs/components/tabs/Tabs.d.ts +28 -0
  1867. package/lib/mjs/components/tabs/Tabs.form.d.ts +3 -0
  1868. package/lib/mjs/components/tabs/Tabs.form.js +10 -0
  1869. package/lib/mjs/components/tabs/Tabs.js +197 -0
  1870. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +49 -0
  1871. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +66 -0
  1872. package/lib/mjs/components/tabs/fixtures/comp1.d.ts +23 -0
  1873. package/lib/mjs/components/tabs/fixtures/comp1.js +31 -0
  1874. package/lib/mjs/components/tabs/fixtures/index.d.ts +2 -0
  1875. package/lib/mjs/components/tabs/fixtures/index.js +2 -0
  1876. package/lib/mjs/components/tags/Tags.d.ts +19 -0
  1877. package/lib/mjs/components/tags/Tags.form.d.ts +3 -0
  1878. package/lib/mjs/components/tags/Tags.form.js +10 -0
  1879. package/lib/mjs/components/tags/Tags.js +158 -0
  1880. package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +51 -0
  1881. package/lib/mjs/components/tags/editForm/Tags.edit.data.js +37 -0
  1882. package/lib/mjs/components/tags/fixtures/comp1.d.ts +20 -0
  1883. package/lib/mjs/components/tags/fixtures/comp1.js +18 -0
  1884. package/lib/mjs/components/tags/fixtures/comp2.d.ts +10 -0
  1885. package/lib/mjs/components/tags/fixtures/comp2.js +9 -0
  1886. package/lib/mjs/components/tags/fixtures/comp3.d.ts +23 -0
  1887. package/lib/mjs/components/tags/fixtures/comp3.js +18 -0
  1888. package/lib/mjs/components/tags/fixtures/comp4.d.ts +9 -0
  1889. package/lib/mjs/components/tags/fixtures/comp4.js +8 -0
  1890. package/lib/mjs/components/tags/fixtures/comp5.d.ts +24 -0
  1891. package/lib/mjs/components/tags/fixtures/comp5.js +22 -0
  1892. package/lib/mjs/components/tags/fixtures/index.d.ts +6 -0
  1893. package/lib/mjs/components/tags/fixtures/index.js +6 -0
  1894. package/lib/mjs/components/tags/fixtures/values.d.ts +2 -0
  1895. package/lib/mjs/components/tags/fixtures/values.js +4 -0
  1896. package/lib/mjs/components/textarea/TextArea.d.ts +36 -0
  1897. package/lib/mjs/components/textarea/TextArea.form.d.ts +3 -0
  1898. package/lib/mjs/components/textarea/TextArea.form.js +15 -0
  1899. package/lib/mjs/components/textarea/TextArea.js +530 -0
  1900. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +355 -0
  1901. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.js +258 -0
  1902. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +10 -0
  1903. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.js +20 -0
  1904. package/lib/mjs/components/textarea/fixtures/comp1.d.ts +31 -0
  1905. package/lib/mjs/components/textarea/fixtures/comp1.js +29 -0
  1906. package/lib/mjs/components/textarea/fixtures/comp2.d.ts +29 -0
  1907. package/lib/mjs/components/textarea/fixtures/comp2.js +27 -0
  1908. package/lib/mjs/components/textarea/fixtures/comp3.d.ts +27 -0
  1909. package/lib/mjs/components/textarea/fixtures/comp3.js +27 -0
  1910. package/lib/mjs/components/textarea/fixtures/index.d.ts +4 -0
  1911. package/lib/mjs/components/textarea/fixtures/index.js +4 -0
  1912. package/lib/mjs/components/textarea/fixtures/values.d.ts +2 -0
  1913. package/lib/mjs/components/textarea/fixtures/values.js +4 -0
  1914. package/lib/mjs/components/textfield/TextField.d.ts +38 -0
  1915. package/lib/mjs/components/textfield/TextField.form.d.ts +3 -0
  1916. package/lib/mjs/components/textfield/TextField.form.js +20 -0
  1917. package/lib/mjs/components/textfield/TextField.js +218 -0
  1918. package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +46 -0
  1919. package/lib/mjs/components/textfield/editForm/TextField.edit.data.js +56 -0
  1920. package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +248 -0
  1921. package/lib/mjs/components/textfield/editForm/TextField.edit.display.js +203 -0
  1922. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +10 -0
  1923. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.js +47 -0
  1924. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +47 -0
  1925. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +46 -0
  1926. package/lib/mjs/components/textfield/fixtures/comp1.d.ts +33 -0
  1927. package/lib/mjs/components/textfield/fixtures/comp1.js +31 -0
  1928. package/lib/mjs/components/textfield/fixtures/comp2.d.ts +33 -0
  1929. package/lib/mjs/components/textfield/fixtures/comp2.js +31 -0
  1930. package/lib/mjs/components/textfield/fixtures/comp3.d.ts +33 -0
  1931. package/lib/mjs/components/textfield/fixtures/comp3.js +31 -0
  1932. package/lib/mjs/components/textfield/fixtures/comp4.d.ts +23 -0
  1933. package/lib/mjs/components/textfield/fixtures/comp4.js +25 -0
  1934. package/lib/mjs/components/textfield/fixtures/comp5.d.ts +12 -0
  1935. package/lib/mjs/components/textfield/fixtures/comp5.js +11 -0
  1936. package/lib/mjs/components/textfield/fixtures/comp6.d.ts +25 -0
  1937. package/lib/mjs/components/textfield/fixtures/comp6.js +19 -0
  1938. package/lib/mjs/components/textfield/fixtures/comp7.d.ts +37 -0
  1939. package/lib/mjs/components/textfield/fixtures/comp7.js +36 -0
  1940. package/lib/mjs/components/textfield/fixtures/index.d.ts +9 -0
  1941. package/lib/mjs/components/textfield/fixtures/index.js +9 -0
  1942. package/lib/mjs/components/textfield/fixtures/values.d.ts +2 -0
  1943. package/lib/mjs/components/textfield/fixtures/values.js +5 -0
  1944. package/lib/mjs/components/time/Time.d.ts +16 -0
  1945. package/lib/mjs/components/time/Time.form.d.ts +3 -0
  1946. package/lib/mjs/components/time/Time.form.js +15 -0
  1947. package/lib/mjs/components/time/Time.js +142 -0
  1948. package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +10 -0
  1949. package/lib/mjs/components/time/editForm/Time.edit.data.js +11 -0
  1950. package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +52 -0
  1951. package/lib/mjs/components/time/editForm/Time.edit.display.js +40 -0
  1952. package/lib/mjs/components/time/fixtures/comp1.d.ts +24 -0
  1953. package/lib/mjs/components/time/fixtures/comp1.js +22 -0
  1954. package/lib/mjs/components/time/fixtures/comp2.d.ts +10 -0
  1955. package/lib/mjs/components/time/fixtures/comp2.js +9 -0
  1956. package/lib/mjs/components/time/fixtures/comp3.d.ts +15 -0
  1957. package/lib/mjs/components/time/fixtures/comp3.js +16 -0
  1958. package/lib/mjs/components/time/fixtures/index.d.ts +6 -0
  1959. package/lib/mjs/components/time/fixtures/index.js +6 -0
  1960. package/lib/mjs/components/time/fixtures/timeForm.d.ts +47 -0
  1961. package/lib/mjs/components/time/fixtures/timeForm.js +50 -0
  1962. package/lib/mjs/components/time/fixtures/timeForm2.d.ts +38 -0
  1963. package/lib/mjs/components/time/fixtures/timeForm2.js +42 -0
  1964. package/lib/mjs/components/time/fixtures/values.d.ts +2 -0
  1965. package/lib/mjs/components/time/fixtures/values.js +5 -0
  1966. package/lib/mjs/components/tree/Node.d.ts +55 -0
  1967. package/lib/mjs/components/tree/Node.js +179 -0
  1968. package/lib/mjs/components/tree/Tree.d.ts +47 -0
  1969. package/lib/mjs/components/tree/Tree.form.d.ts +3 -0
  1970. package/lib/mjs/components/tree/Tree.form.js +10 -0
  1971. package/lib/mjs/components/tree/Tree.js +385 -0
  1972. package/lib/mjs/components/tree/editForm/Tree.edit.data.d.ts +5 -0
  1973. package/lib/mjs/components/tree/editForm/Tree.edit.data.js +7 -0
  1974. package/lib/mjs/components/tree/fixtures/comp1.d.ts +23 -0
  1975. package/lib/mjs/components/tree/fixtures/comp1.js +22 -0
  1976. package/lib/mjs/components/tree/fixtures/comp2.d.ts +116 -0
  1977. package/lib/mjs/components/tree/fixtures/comp2.js +80 -0
  1978. package/lib/mjs/components/tree/fixtures/comp3.d.ts +24 -0
  1979. package/lib/mjs/components/tree/fixtures/comp3.js +23 -0
  1980. package/lib/mjs/components/tree/fixtures/comp4.d.ts +42 -0
  1981. package/lib/mjs/components/tree/fixtures/comp4.js +45 -0
  1982. package/lib/mjs/components/tree/fixtures/index.d.ts +5 -0
  1983. package/lib/mjs/components/tree/fixtures/index.js +5 -0
  1984. package/lib/mjs/components/unknown/Unknown.d.ts +28 -0
  1985. package/lib/mjs/components/unknown/Unknown.form.d.ts +34 -0
  1986. package/lib/mjs/components/unknown/Unknown.form.js +19 -0
  1987. package/lib/mjs/components/unknown/Unknown.js +24 -0
  1988. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +24 -0
  1989. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.js +25 -0
  1990. package/lib/mjs/components/unknown/fixtures/comp1.d.ts +7 -0
  1991. package/lib/mjs/components/unknown/fixtures/comp1.js +6 -0
  1992. package/lib/mjs/components/unknown/fixtures/index.d.ts +2 -0
  1993. package/lib/mjs/components/unknown/fixtures/index.js +2 -0
  1994. package/lib/mjs/components/url/Url.d.ts +3 -0
  1995. package/lib/mjs/components/url/Url.form.d.ts +3 -0
  1996. package/lib/mjs/components/url/Url.form.js +20 -0
  1997. package/lib/mjs/components/url/Url.js +33 -0
  1998. package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +5 -0
  1999. package/lib/mjs/components/url/editForm/Url.edit.data.js +6 -0
  2000. package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +5 -0
  2001. package/lib/mjs/components/url/editForm/Url.edit.display.js +18 -0
  2002. package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +5 -0
  2003. package/lib/mjs/components/url/editForm/Url.edit.validation.js +10 -0
  2004. package/lib/mjs/components/url/fixtures/comp1.d.ts +26 -0
  2005. package/lib/mjs/components/url/fixtures/comp1.js +24 -0
  2006. package/lib/mjs/components/url/fixtures/comp2.d.ts +26 -0
  2007. package/lib/mjs/components/url/fixtures/comp2.js +21 -0
  2008. package/lib/mjs/components/url/fixtures/index.d.ts +3 -0
  2009. package/lib/mjs/components/url/fixtures/index.js +3 -0
  2010. package/lib/mjs/components/url/fixtures/values.d.ts +2 -0
  2011. package/lib/mjs/components/url/fixtures/values.js +4 -0
  2012. package/lib/mjs/components/well/Well.d.ts +13 -0
  2013. package/lib/mjs/components/well/Well.form.d.ts +3 -0
  2014. package/lib/mjs/components/well/Well.form.js +10 -0
  2015. package/lib/mjs/components/well/Well.js +35 -0
  2016. package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +5 -0
  2017. package/lib/mjs/components/well/editForm/Well.edit.display.js +30 -0
  2018. package/lib/mjs/components/well/fixtures/comp1.d.ts +43 -0
  2019. package/lib/mjs/components/well/fixtures/comp1.js +75 -0
  2020. package/lib/mjs/components/well/fixtures/index.d.ts +2 -0
  2021. package/lib/mjs/components/well/fixtures/index.js +2 -0
  2022. package/lib/mjs/displays/Displays.d.ts +18 -0
  2023. package/lib/mjs/displays/Displays.js +24 -0
  2024. package/lib/mjs/displays/index.d.ts +2 -0
  2025. package/lib/mjs/displays/index.js +2 -0
  2026. package/lib/mjs/formio.embed.d.ts +1 -0
  2027. package/lib/mjs/formio.embed.js +2 -0
  2028. package/lib/mjs/formio.form.d.ts +22 -0
  2029. package/lib/mjs/formio.form.js +138 -0
  2030. package/lib/mjs/i18n.d.ts +13 -0
  2031. package/lib/mjs/i18n.js +14 -0
  2032. package/lib/mjs/index.d.ts +4 -0
  2033. package/lib/mjs/index.js +13 -0
  2034. package/lib/mjs/package.json +3 -0
  2035. package/lib/mjs/pdf.image.d.ts +2 -0
  2036. package/lib/mjs/pdf.image.js +94 -0
  2037. package/lib/mjs/polyfills/ElementPolyfill.d.ts +0 -0
  2038. package/lib/mjs/polyfills/ElementPolyfill.js +338 -0
  2039. package/lib/mjs/polyfills/index.d.ts +1 -0
  2040. package/lib/mjs/polyfills/index.js +2 -0
  2041. package/lib/mjs/providers/Providers.d.ts +64 -0
  2042. package/lib/mjs/providers/Providers.js +29 -0
  2043. package/lib/mjs/providers/address/AddressProvider.d.ts +17 -0
  2044. package/lib/mjs/providers/address/AddressProvider.js +54 -0
  2045. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +12 -0
  2046. package/lib/mjs/providers/address/AzureAddressProvider.js +27 -0
  2047. package/lib/mjs/providers/address/CustomAddressProvider.d.ts +7 -0
  2048. package/lib/mjs/providers/address/CustomAddressProvider.js +22 -0
  2049. package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +18 -0
  2050. package/lib/mjs/providers/address/GoogleAddressProvider.js +110 -0
  2051. package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +11 -0
  2052. package/lib/mjs/providers/address/NominatimAddressProvider.js +27 -0
  2053. package/lib/mjs/providers/address/index.d.ts +6 -0
  2054. package/lib/mjs/providers/address/index.js +10 -0
  2055. package/lib/mjs/providers/auth/index.d.ts +2 -0
  2056. package/lib/mjs/providers/auth/index.js +1 -0
  2057. package/lib/mjs/providers/index.d.ts +2 -0
  2058. package/lib/mjs/providers/index.js +2 -0
  2059. package/lib/mjs/providers/processor/fileProcessor.d.ts +2 -0
  2060. package/lib/mjs/providers/processor/fileProcessor.js +39 -0
  2061. package/lib/mjs/providers/storage/azure.d.ts +8 -0
  2062. package/lib/mjs/providers/storage/azure.js +25 -0
  2063. package/lib/mjs/providers/storage/base64.d.ts +10 -0
  2064. package/lib/mjs/providers/storage/base64.js +30 -0
  2065. package/lib/mjs/providers/storage/dropbox.d.ts +8 -0
  2066. package/lib/mjs/providers/storage/dropbox.js +56 -0
  2067. package/lib/mjs/providers/storage/googleDrive.d.ts +8 -0
  2068. package/lib/mjs/providers/storage/googleDrive.js +55 -0
  2069. package/lib/mjs/providers/storage/index.d.ts +15 -0
  2070. package/lib/mjs/providers/storage/index.js +14 -0
  2071. package/lib/mjs/providers/storage/indexeddb.d.ts +11 -0
  2072. package/lib/mjs/providers/storage/indexeddb.js +119 -0
  2073. package/lib/mjs/providers/storage/s3.d.ts +8 -0
  2074. package/lib/mjs/providers/storage/s3.js +45 -0
  2075. package/lib/mjs/providers/storage/uploadAdapter.d.ts +1 -0
  2076. package/lib/mjs/providers/storage/uploadAdapter.js +55 -0
  2077. package/lib/mjs/providers/storage/url.d.ts +11 -0
  2078. package/lib/mjs/providers/storage/url.js +133 -0
  2079. package/lib/mjs/providers/storage/xhr.d.ts +7 -0
  2080. package/lib/mjs/providers/storage/xhr.js +94 -0
  2081. package/lib/mjs/templates/Templates.d.ts +11 -0
  2082. package/lib/mjs/templates/Templates.js +41 -0
  2083. package/lib/mjs/templates/index.d.ts +4 -0
  2084. package/lib/mjs/templates/index.js +4 -0
  2085. package/lib/mjs/translations/en.d.ts +66 -0
  2086. package/lib/mjs/translations/en.js +65 -0
  2087. package/lib/mjs/utils/ChoicesWrapper.d.ts +37 -0
  2088. package/lib/mjs/utils/ChoicesWrapper.js +169 -0
  2089. package/lib/mjs/utils/Evaluator.d.ts +4 -0
  2090. package/lib/mjs/utils/Evaluator.js +93 -0
  2091. package/lib/mjs/utils/builder.d.ts +22 -0
  2092. package/lib/mjs/utils/builder.js +79 -0
  2093. package/lib/mjs/utils/calendarUtils.d.ts +41 -0
  2094. package/lib/mjs/utils/calendarUtils.js +128 -0
  2095. package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +7 -0
  2096. package/lib/mjs/utils/conditionOperators/ConditionOperator.js +23 -0
  2097. package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +13 -0
  2098. package/lib/mjs/utils/conditionOperators/DateGreaterThan.js +31 -0
  2099. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +4 -0
  2100. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.js +12 -0
  2101. package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +4 -0
  2102. package/lib/mjs/utils/conditionOperators/DateLessThan.js +12 -0
  2103. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +4 -0
  2104. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.js +12 -0
  2105. package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +7 -0
  2106. package/lib/mjs/utils/conditionOperators/EndsWith.js +13 -0
  2107. package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +7 -0
  2108. package/lib/mjs/utils/conditionOperators/GreaterThan.js +13 -0
  2109. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +7 -0
  2110. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.js +13 -0
  2111. package/lib/mjs/utils/conditionOperators/Includes.d.ts +7 -0
  2112. package/lib/mjs/utils/conditionOperators/Includes.js +13 -0
  2113. package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +4 -0
  2114. package/lib/mjs/utils/conditionOperators/IsDateEqual.js +12 -0
  2115. package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +9 -0
  2116. package/lib/mjs/utils/conditionOperators/IsEmptyValue.js +24 -0
  2117. package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +7 -0
  2118. package/lib/mjs/utils/conditionOperators/IsEqualTo.js +24 -0
  2119. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +4 -0
  2120. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.js +12 -0
  2121. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +4 -0
  2122. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.js +12 -0
  2123. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +7 -0
  2124. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.js +13 -0
  2125. package/lib/mjs/utils/conditionOperators/LessThan.d.ts +7 -0
  2126. package/lib/mjs/utils/conditionOperators/LessThan.js +13 -0
  2127. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +7 -0
  2128. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.js +13 -0
  2129. package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +4 -0
  2130. package/lib/mjs/utils/conditionOperators/NotIncludes.js +12 -0
  2131. package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +7 -0
  2132. package/lib/mjs/utils/conditionOperators/StartsWith.js +13 -0
  2133. package/lib/mjs/utils/conditionOperators/index.d.ts +7 -0
  2134. package/lib/mjs/utils/conditionOperators/index.js +39 -0
  2135. package/lib/mjs/utils/formUtils.d.ts +173 -0
  2136. package/lib/mjs/utils/formUtils.js +560 -0
  2137. package/lib/mjs/utils/index.d.ts +2 -0
  2138. package/lib/mjs/utils/index.js +5 -0
  2139. package/lib/mjs/utils/jsonlogic/operators.d.ts +1 -0
  2140. package/lib/mjs/utils/jsonlogic/operators.js +262 -0
  2141. package/lib/mjs/utils/utils.d.ts +364 -0
  2142. package/lib/mjs/utils/utils.js +1368 -0
  2143. package/lib/mjs/validator/Rules.d.ts +8 -0
  2144. package/lib/mjs/validator/Rules.js +17 -0
  2145. package/lib/mjs/validator/Validator.d.ts +200 -0
  2146. package/lib/mjs/validator/Validator.js +1081 -0
  2147. package/lib/mjs/validator/conjunctions/index.d.ts +7 -0
  2148. package/lib/mjs/validator/conjunctions/index.js +16 -0
  2149. package/lib/mjs/validator/operators/index.d.ts +7 -0
  2150. package/lib/mjs/validator/operators/index.js +16 -0
  2151. package/lib/mjs/validator/quickRules/index.d.ts +7 -0
  2152. package/lib/mjs/validator/quickRules/index.js +16 -0
  2153. package/lib/mjs/validator/rules/Custom.d.ts +6 -0
  2154. package/lib/mjs/validator/rules/Custom.js +22 -0
  2155. package/lib/mjs/validator/rules/Date.d.ts +6 -0
  2156. package/lib/mjs/validator/rules/Date.js +17 -0
  2157. package/lib/mjs/validator/rules/Day.d.ts +6 -0
  2158. package/lib/mjs/validator/rules/Day.js +50 -0
  2159. package/lib/mjs/validator/rules/Email.d.ts +6 -0
  2160. package/lib/mjs/validator/rules/Email.js +16 -0
  2161. package/lib/mjs/validator/rules/JSON.d.ts +6 -0
  2162. package/lib/mjs/validator/rules/JSON.js +21 -0
  2163. package/lib/mjs/validator/rules/Mask.d.ts +1 -0
  2164. package/lib/mjs/validator/rules/Mask.js +23 -0
  2165. package/lib/mjs/validator/rules/Max.d.ts +6 -0
  2166. package/lib/mjs/validator/rules/Max.js +13 -0
  2167. package/lib/mjs/validator/rules/MaxDate.d.ts +1 -0
  2168. package/lib/mjs/validator/rules/MaxDate.js +25 -0
  2169. package/lib/mjs/validator/rules/MaxLength.d.ts +6 -0
  2170. package/lib/mjs/validator/rules/MaxLength.js +12 -0
  2171. package/lib/mjs/validator/rules/MaxWords.d.ts +6 -0
  2172. package/lib/mjs/validator/rules/MaxWords.js +12 -0
  2173. package/lib/mjs/validator/rules/MaxYear.d.ts +6 -0
  2174. package/lib/mjs/validator/rules/MaxYear.js +14 -0
  2175. package/lib/mjs/validator/rules/Min.d.ts +6 -0
  2176. package/lib/mjs/validator/rules/Min.js +13 -0
  2177. package/lib/mjs/validator/rules/MinDate.d.ts +1 -0
  2178. package/lib/mjs/validator/rules/MinDate.js +21 -0
  2179. package/lib/mjs/validator/rules/MinLength.d.ts +6 -0
  2180. package/lib/mjs/validator/rules/MinLength.js +12 -0
  2181. package/lib/mjs/validator/rules/MinWords.d.ts +6 -0
  2182. package/lib/mjs/validator/rules/MinWords.js +12 -0
  2183. package/lib/mjs/validator/rules/MinYear.d.ts +6 -0
  2184. package/lib/mjs/validator/rules/MinYear.js +14 -0
  2185. package/lib/mjs/validator/rules/Pattern.d.ts +6 -0
  2186. package/lib/mjs/validator/rules/Pattern.js +12 -0
  2187. package/lib/mjs/validator/rules/Required.d.ts +6 -0
  2188. package/lib/mjs/validator/rules/Required.js +9 -0
  2189. package/lib/mjs/validator/rules/Rule.d.ts +8 -0
  2190. package/lib/mjs/validator/rules/Rule.js +10 -0
  2191. package/lib/mjs/validator/rules/Select.d.ts +1 -0
  2192. package/lib/mjs/validator/rules/Select.js +87 -0
  2193. package/lib/mjs/validator/rules/Time.d.ts +1 -0
  2194. package/lib/mjs/validator/rules/Time.js +10 -0
  2195. package/lib/mjs/validator/rules/Unique.d.ts +1 -0
  2196. package/lib/mjs/validator/rules/Unique.js +61 -0
  2197. package/lib/mjs/validator/rules/Url.d.ts +6 -0
  2198. package/lib/mjs/validator/rules/Url.js +15 -0
  2199. package/lib/mjs/validator/rules/index.d.ts +23 -0
  2200. package/lib/mjs/validator/rules/index.js +47 -0
  2201. package/lib/mjs/validator/transformers/index.d.ts +7 -0
  2202. package/lib/mjs/validator/transformers/index.js +16 -0
  2203. package/lib/mjs/validator/valueSources/index.d.ts +7 -0
  2204. package/lib/mjs/validator/valueSources/index.js +16 -0
  2205. package/lib/mjs/widgets/CalendarWidget.d.ts +96 -0
  2206. package/lib/mjs/widgets/CalendarWidget.js +457 -0
  2207. package/lib/mjs/widgets/InputWidget.d.ts +24 -0
  2208. package/lib/mjs/widgets/InputWidget.js +69 -0
  2209. package/lib/mjs/widgets/index.d.ts +7 -0
  2210. package/lib/mjs/widgets/index.js +6 -0
  2211. package/package.json +178 -0
  2212. package/types/builders.d.ts +7 -0
  2213. package/types/components/_classes/component/component.d.ts +174 -0
  2214. package/types/components/_classes/componentmodal/componentmodal.d.ts +31 -0
  2215. package/types/components/_classes/field/field.d.ts +5 -0
  2216. package/types/components/_classes/input/input.d.ts +30 -0
  2217. package/types/components/_classes/multivalue/multivalue.d.ts +16 -0
  2218. package/types/components/_classes/nested/nestedComponent.d.ts +61 -0
  2219. package/types/components/_classes/widgetcomponent/widgetComponent.d.ts +6 -0
  2220. package/types/components/components.d.ts +69 -0
  2221. package/types/components/schema.d.ts +240 -0
  2222. package/types/displays.d.ts +7 -0
  2223. package/types/element.d.ts +45 -0
  2224. package/types/eventEmitter.d.ts +3 -0
  2225. package/types/form.d.ts +18 -0
  2226. package/types/formbuilder.d.ts +6 -0
  2227. package/types/formio.d.ts +119 -0
  2228. package/types/index.d.ts +17 -0
  2229. package/types/providers.d.ts +8 -0
  2230. package/types/rulesEngine/conjunctions.d.ts +7 -0
  2231. package/types/rulesEngine/operators.d.ts +7 -0
  2232. package/types/rulesEngine/quckRules.d.ts +7 -0
  2233. package/types/rulesEngine/rules.d.ts +7 -0
  2234. package/types/rulesEngine/transformers.d.ts +7 -0
  2235. package/types/rulesEngine/valueSources.d.ts +7 -0
  2236. package/types/templates.d.ts +8 -0
  2237. package/types/utils.d.ts +154 -0
  2238. package/types/widgets.d.ts +4 -0
@@ -0,0 +1,1090 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ValidationChecker = exports.default = void 0;
7
+ const lodash_1 = __importDefault(require("lodash"));
8
+ const utils_1 = require("../utils/utils");
9
+ const moment_1 = __importDefault(require("moment"));
10
+ const native_promise_only_1 = __importDefault(require("native-promise-only"));
11
+ const fetch_ponyfill_1 = __importDefault(require("fetch-ponyfill"));
12
+ const { fetch, Headers, Request } = (0, fetch_ponyfill_1.default)({
13
+ Promise: native_promise_only_1.default
14
+ });
15
+ const calendarUtils_1 = require("../utils/calendarUtils");
16
+ const Rules_1 = __importDefault(require("./Rules"));
17
+ class ValidationChecker {
18
+ constructor(config = {}) {
19
+ this.config = lodash_1.default.defaults(config, ValidationChecker.config);
20
+ this.validators = {
21
+ required: {
22
+ key: 'validate.required',
23
+ method: 'validateRequired',
24
+ hasLabel: true,
25
+ message(component) {
26
+ return component.t(component.errorMessage('required'), {
27
+ field: component.errorLabel,
28
+ data: component.data
29
+ });
30
+ },
31
+ check(component, setting, value) {
32
+ if (!(0, utils_1.boolValue)(setting) || component.isValueHidden()) {
33
+ return true;
34
+ }
35
+ const isCalendar = component.validators.some(validator => validator === 'calendar');
36
+ if (!value && isCalendar && component.widget.enteredDate) {
37
+ return !this.validators.calendar.check.call(this, component, setting, value);
38
+ }
39
+ return !component.isEmpty(value);
40
+ }
41
+ },
42
+ onlyAvailableItems: {
43
+ key: 'validate.onlyAvailableItems',
44
+ method: 'validateValueAvailability',
45
+ hasLabel: true,
46
+ message(component) {
47
+ return component.t(component.errorMessage('valueIsNotAvailable'), {
48
+ field: component.errorLabel,
49
+ data: component.data
50
+ });
51
+ },
52
+ check(component, setting) {
53
+ return !(0, utils_1.boolValue)(setting);
54
+ }
55
+ },
56
+ unique: {
57
+ key: 'validate.unique',
58
+ hasLabel: true,
59
+ message(component) {
60
+ return component.t(component.errorMessage('unique'), {
61
+ field: component.errorLabel,
62
+ data: component.data
63
+ });
64
+ },
65
+ check(component, setting, value) {
66
+ // Skip if setting is falsy
67
+ if (!(0, utils_1.boolValue)(setting)) {
68
+ return true;
69
+ }
70
+ // Skip if value is empty object or falsy
71
+ if (!value || lodash_1.default.isObjectLike(value) && lodash_1.default.isEmpty(value)) {
72
+ return true;
73
+ }
74
+ // Skip if we don't have a database connection
75
+ if (!this.config.db) {
76
+ return true;
77
+ }
78
+ return new native_promise_only_1.default(resolve => {
79
+ const form = this.config.form;
80
+ const submission = this.config.submission;
81
+ const path = `data.${component.path}`;
82
+ const addPathQueryParams = (pathQueryParams, query, path) => {
83
+ const pathArray = path.split(/\[\d+\]?./);
84
+ const needValuesInArray = pathArray.length > 1;
85
+ let pathToValue = path;
86
+ if (needValuesInArray) {
87
+ pathToValue = pathArray.shift();
88
+ const pathQueryObj = {};
89
+ lodash_1.default.reduce(pathArray, (pathQueryPath, pathPart, index) => {
90
+ const isLastPathPart = index === (pathArray.length - 1);
91
+ const obj = lodash_1.default.get(pathQueryObj, pathQueryPath, pathQueryObj);
92
+ const addedPath = `$elemMatch['${pathPart}']`;
93
+ lodash_1.default.set(obj, addedPath, isLastPathPart ? pathQueryParams : {});
94
+ return pathQueryPath ? `${pathQueryPath}.${addedPath}` : addedPath;
95
+ }, '');
96
+ query[pathToValue] = pathQueryObj;
97
+ }
98
+ else {
99
+ query[pathToValue] = pathQueryParams;
100
+ }
101
+ };
102
+ // Build the query
103
+ const query = { form: form._id };
104
+ if (lodash_1.default.isString(value)) {
105
+ if (component.component.dbIndex) {
106
+ addPathQueryParams(value, query, path);
107
+ }
108
+ else {
109
+ addPathQueryParams({
110
+ $regex: new RegExp(`^${(0, utils_1.escapeRegExCharacters)(value)}$`),
111
+ $options: 'i'
112
+ }, query, path);
113
+ }
114
+ }
115
+ // FOR-213 - Pluck the unique location id
116
+ else if (lodash_1.default.isPlainObject(value) &&
117
+ value.address &&
118
+ value.address['address_components'] &&
119
+ value.address['place_id']) {
120
+ addPathQueryParams({
121
+ $regex: new RegExp(`^${(0, utils_1.escapeRegExCharacters)(value.address['place_id'])}$`),
122
+ $options: 'i'
123
+ }, query, `${path}.address.place_id`);
124
+ }
125
+ // Compare the contents of arrays vs the order.
126
+ else if (lodash_1.default.isArray(value)) {
127
+ addPathQueryParams({ $all: value }, query, path);
128
+ }
129
+ else if (lodash_1.default.isObject(value) || lodash_1.default.isNumber(value)) {
130
+ addPathQueryParams({ $eq: value }, query, path);
131
+ }
132
+ // Only search for non-deleted items
133
+ query.deleted = { $eq: null };
134
+ query.state = 'submitted';
135
+ // Try to find an existing value within the form
136
+ this.config.db.findOne(query, (err, result) => {
137
+ if (err) {
138
+ return resolve(false);
139
+ }
140
+ else if (result) {
141
+ // Only OK if it matches the current submission
142
+ if (submission._id && (result._id.toString() === submission._id)) {
143
+ resolve(true);
144
+ }
145
+ else {
146
+ component.conflictId = result._id.toString();
147
+ return resolve(false);
148
+ }
149
+ }
150
+ else {
151
+ return resolve(true);
152
+ }
153
+ });
154
+ }).catch(() => false);
155
+ }
156
+ },
157
+ multiple: {
158
+ key: 'validate.multiple',
159
+ hasLabel: true,
160
+ message(component) {
161
+ const shouldBeArray = (0, utils_1.boolValue)(component.component.multiple) || Array.isArray(component.emptyValue);
162
+ const isRequired = component.component.validate.required;
163
+ const messageKey = shouldBeArray ? (isRequired ? 'array_nonempty' : 'array') : 'nonarray';
164
+ return component.t(component.errorMessage(messageKey), {
165
+ field: component.errorLabel,
166
+ data: component.data
167
+ });
168
+ },
169
+ check(component, setting, value) {
170
+ // Skip multiple validation if the component tells us to
171
+ if (!component.validateMultiple()) {
172
+ return true;
173
+ }
174
+ const shouldBeArray = (0, utils_1.boolValue)(setting);
175
+ const canBeArray = Array.isArray(component.emptyValue);
176
+ const isArray = Array.isArray(value);
177
+ const isRequired = component.component.validate.required;
178
+ if (shouldBeArray) {
179
+ if (isArray) {
180
+ return isRequired ? !!value.length : true;
181
+ }
182
+ else {
183
+ // Null/undefined is ok if this value isn't required; anything else should fail
184
+ return lodash_1.default.isNil(value) ? !isRequired : false;
185
+ }
186
+ }
187
+ else {
188
+ return canBeArray || !isArray;
189
+ }
190
+ }
191
+ },
192
+ select: {
193
+ key: 'validate.select',
194
+ hasLabel: true,
195
+ message(component) {
196
+ return component.t(component.errorMessage('select'), {
197
+ field: component.errorLabel,
198
+ data: component.data
199
+ });
200
+ },
201
+ check(component, setting, value, data, index, row, async) {
202
+ // Skip if setting is falsy
203
+ if (!(0, utils_1.boolValue)(setting)) {
204
+ return true;
205
+ }
206
+ // Skip if value is empty
207
+ if (!value || lodash_1.default.isEmpty(value)) {
208
+ return true;
209
+ }
210
+ // Skip if we're not async-capable
211
+ if (!async) {
212
+ return true;
213
+ }
214
+ const schema = component.component;
215
+ // Initialize the request options
216
+ const requestOptions = {
217
+ url: setting,
218
+ method: 'GET',
219
+ qs: {},
220
+ json: true,
221
+ headers: {}
222
+ };
223
+ // If the url is a boolean value
224
+ if (lodash_1.default.isBoolean(requestOptions.url)) {
225
+ requestOptions.url = !!requestOptions.url;
226
+ if (!requestOptions.url ||
227
+ schema.dataSrc !== 'url' ||
228
+ !schema.data.url ||
229
+ !schema.searchField) {
230
+ return true;
231
+ }
232
+ // Get the validation url
233
+ requestOptions.url = schema.data.url;
234
+ // Add the search field
235
+ requestOptions.qs[schema.searchField] = value;
236
+ // Add the filters
237
+ if (schema.filter) {
238
+ requestOptions.url += (!requestOptions.url.includes('?') ? '?' : '&') + schema.filter;
239
+ }
240
+ // If they only wish to return certain fields.
241
+ if (schema.selectFields) {
242
+ requestOptions.qs.select = schema.selectFields;
243
+ }
244
+ }
245
+ if (!requestOptions.url) {
246
+ return true;
247
+ }
248
+ // Make sure to interpolate.
249
+ requestOptions.url = (0, utils_1.interpolate)(requestOptions.url, { data: component.data });
250
+ // Add query string to URL
251
+ requestOptions.url += (requestOptions.url.includes('?') ? '&' : '?') + lodash_1.default.chain(requestOptions.qs)
252
+ .map((val, key) => `${encodeURIComponent(key)}=${encodeURIComponent(val)}`)
253
+ .join('&')
254
+ .value();
255
+ // Set custom headers.
256
+ if (schema.data && schema.data.headers) {
257
+ lodash_1.default.each(schema.data.headers, header => {
258
+ if (header.key) {
259
+ requestOptions.headers[header.key] = header.value;
260
+ }
261
+ });
262
+ }
263
+ // Set form.io authentication.
264
+ if (schema.authenticate && this.config.token) {
265
+ requestOptions.headers['x-jwt-token'] = this.config.token;
266
+ }
267
+ return fetch(new Request(requestOptions.url, {
268
+ headers: new Headers(requestOptions.headers)
269
+ }))
270
+ .then(response => {
271
+ if (!response.ok) {
272
+ return false;
273
+ }
274
+ return response.json();
275
+ })
276
+ .then((results) => {
277
+ return results && results.length;
278
+ })
279
+ .catch(() => false);
280
+ }
281
+ },
282
+ min: {
283
+ key: 'validate.min',
284
+ hasLabel: true,
285
+ message(component, setting) {
286
+ return component.t(component.errorMessage('min'), {
287
+ field: component.errorLabel,
288
+ min: parseFloat(setting),
289
+ data: component.data
290
+ });
291
+ },
292
+ check(component, setting, value) {
293
+ const min = parseFloat(setting);
294
+ const parsedValue = parseFloat(value);
295
+ if (Number.isNaN(min) || Number.isNaN(parsedValue)) {
296
+ return true;
297
+ }
298
+ return parsedValue >= min;
299
+ }
300
+ },
301
+ max: {
302
+ key: 'validate.max',
303
+ hasLabel: true,
304
+ message(component, setting) {
305
+ return component.t(component.errorMessage('max'), {
306
+ field: component.errorLabel,
307
+ max: parseFloat(setting),
308
+ data: component.data
309
+ });
310
+ },
311
+ check(component, setting, value) {
312
+ const max = parseFloat(setting);
313
+ const parsedValue = parseFloat(value);
314
+ if (Number.isNaN(max) || Number.isNaN(parsedValue)) {
315
+ return true;
316
+ }
317
+ return parsedValue <= max;
318
+ }
319
+ },
320
+ minSelectedCount: {
321
+ key: 'validate.minSelectedCount',
322
+ message(component, setting) {
323
+ return component.component.minSelectedCountMessage
324
+ ? component.component.minSelectedCountMessage
325
+ : component.t(component.errorMessage('minSelectedCount'), {
326
+ minCount: parseFloat(setting),
327
+ data: component.data
328
+ });
329
+ },
330
+ check(component, setting, value) {
331
+ const min = parseFloat(setting);
332
+ if (!min) {
333
+ return true;
334
+ }
335
+ const count = Object.keys(value).reduce((total, key) => {
336
+ if (value[key]) {
337
+ total++;
338
+ }
339
+ return total;
340
+ }, 0);
341
+ // Should not be triggered if there is no options selected at all
342
+ return !count || count >= min;
343
+ }
344
+ },
345
+ maxSelectedCount: {
346
+ key: 'validate.maxSelectedCount',
347
+ message(component, setting) {
348
+ return component.component.maxSelectedCountMessage
349
+ ? component.component.maxSelectedCountMessage
350
+ : component.t(component.errorMessage('maxSelectedCount'), {
351
+ minCount: parseFloat(setting),
352
+ data: component.data
353
+ });
354
+ },
355
+ check(component, setting, value) {
356
+ const max = parseFloat(setting);
357
+ if (!max) {
358
+ return true;
359
+ }
360
+ const count = Object.keys(value).reduce((total, key) => {
361
+ if (value[key]) {
362
+ total++;
363
+ }
364
+ return total;
365
+ }, 0);
366
+ return count <= max;
367
+ }
368
+ },
369
+ minLength: {
370
+ key: 'validate.minLength',
371
+ hasLabel: true,
372
+ message(component, setting) {
373
+ return component.t(component.errorMessage('minLength'), {
374
+ field: component.errorLabel,
375
+ length: setting,
376
+ data: component.data
377
+ });
378
+ },
379
+ check(component, setting, value) {
380
+ const minLength = parseInt(setting, 10);
381
+ if (!value || !minLength || (typeof value !== 'string') || component.isEmpty(value)) {
382
+ return true;
383
+ }
384
+ return (value.length >= minLength);
385
+ }
386
+ },
387
+ maxLength: {
388
+ key: 'validate.maxLength',
389
+ hasLabel: true,
390
+ message(component, setting) {
391
+ return component.t(component.errorMessage('maxLength'), {
392
+ field: component.errorLabel,
393
+ length: setting,
394
+ data: component.data
395
+ });
396
+ },
397
+ check(component, setting, value) {
398
+ const maxLength = parseInt(setting, 10);
399
+ if (!maxLength || (typeof value !== 'string')) {
400
+ return true;
401
+ }
402
+ return (value.length <= maxLength);
403
+ }
404
+ },
405
+ maxWords: {
406
+ key: 'validate.maxWords',
407
+ hasLabel: true,
408
+ message(component, setting) {
409
+ return component.t(component.errorMessage('maxWords'), {
410
+ field: component.errorLabel,
411
+ length: setting,
412
+ data: component.data
413
+ });
414
+ },
415
+ check(component, setting, value) {
416
+ const maxWords = parseInt(setting, 10);
417
+ if (!maxWords || (typeof value !== 'string')) {
418
+ return true;
419
+ }
420
+ return (value.trim().split(/\s+/).length <= maxWords);
421
+ }
422
+ },
423
+ minWords: {
424
+ key: 'validate.minWords',
425
+ hasLabel: true,
426
+ message(component, setting) {
427
+ return component.t(component.errorMessage('minWords'), {
428
+ field: component.errorLabel,
429
+ length: setting,
430
+ data: component.data
431
+ });
432
+ },
433
+ check(component, setting, value) {
434
+ const minWords = parseInt(setting, 10);
435
+ if (!minWords || !value || (typeof value !== 'string')) {
436
+ return true;
437
+ }
438
+ return (value.trim().split(/\s+/).length >= minWords);
439
+ }
440
+ },
441
+ email: {
442
+ hasLabel: true,
443
+ message(component) {
444
+ return component.t(component.errorMessage('invalid_email'), {
445
+ field: component.errorLabel,
446
+ data: component.data
447
+ });
448
+ },
449
+ check(component, setting, value) {
450
+ /* eslint-disable max-len */
451
+ // From http://stackoverflow.com/questions/46155/validate-email-address-in-javascript
452
+ const re = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
453
+ /* eslint-enable max-len */
454
+ // Allow emails to be valid if the component is pristine and no value is provided.
455
+ return !value || re.test(value);
456
+ }
457
+ },
458
+ url: {
459
+ hasLabel: true,
460
+ message(component) {
461
+ return component.t(component.errorMessage('invalid_url'), {
462
+ field: component.errorLabel,
463
+ data: component.data
464
+ });
465
+ },
466
+ check(component, setting, value) {
467
+ /* eslint-disable max-len */
468
+ // From https://stackoverflow.com/questions/8667070/javascript-regular-expression-to-validate-url
469
+ const re = /^(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:[/?#]\S*)?$/i;
470
+ // From http://stackoverflow.com/questions/46155/validate-email-address-in-javascript
471
+ const emailRe = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
472
+ /* eslint-enable max-len */
473
+ // Allow urls to be valid if the component is pristine and no value is provided.
474
+ return !value || (re.test(value) && !emailRe.test(value));
475
+ }
476
+ },
477
+ date: {
478
+ hasLabel: true,
479
+ message(component) {
480
+ return component.t(component.errorMessage('invalid_date'), {
481
+ field: component.errorLabel,
482
+ data: component.data
483
+ });
484
+ },
485
+ check(component, setting, value) {
486
+ if (!value) {
487
+ return true;
488
+ }
489
+ if (value === 'Invalid date' || value === 'Invalid Date') {
490
+ return false;
491
+ }
492
+ if (typeof value === 'string') {
493
+ value = new Date(value);
494
+ }
495
+ return value instanceof Date === true && value.toString() !== 'Invalid Date';
496
+ }
497
+ },
498
+ day: {
499
+ hasLabel: true,
500
+ message(component) {
501
+ return component.t(component.errorMessage('invalid_day'), {
502
+ field: component.errorLabel,
503
+ data: component.data
504
+ });
505
+ },
506
+ check(component, setting, value) {
507
+ if (!value) {
508
+ return true;
509
+ }
510
+ const [DAY, MONTH, YEAR] = component.dayFirst ? [0, 1, 2] : [1, 0, 2];
511
+ const values = value.split('/').map(x => parseInt(x, 10)), day = values[DAY], month = values[MONTH], year = values[YEAR], maxDay = getDaysInMonthCount(month, year);
512
+ if (day < 0 || day > maxDay) {
513
+ return false;
514
+ }
515
+ if (month < 0 || month > 12) {
516
+ return false;
517
+ }
518
+ if (year < 0 || year > 9999) {
519
+ return false;
520
+ }
521
+ return true;
522
+ function isLeapYear(year) {
523
+ // Year is leap if it is evenly divisible by 400 or evenly divisible by 4 and not evenly divisible by 100.
524
+ return !(year % 400) || (!!(year % 100) && !(year % 4));
525
+ }
526
+ function getDaysInMonthCount(month, year) {
527
+ switch (month) {
528
+ case 1: // January
529
+ case 3: // March
530
+ case 5: // May
531
+ case 7: // July
532
+ case 8: // August
533
+ case 10: // October
534
+ case 12: // December
535
+ return 31;
536
+ case 4: // April
537
+ case 6: // June
538
+ case 9: // September
539
+ case 11: // November
540
+ return 30;
541
+ case 2: // February
542
+ return isLeapYear(year) ? 29 : 28;
543
+ default:
544
+ return 31;
545
+ }
546
+ }
547
+ }
548
+ },
549
+ pattern: {
550
+ key: 'validate.pattern',
551
+ hasLabel: true,
552
+ message(component, setting) {
553
+ return component.t(lodash_1.default.get(component, 'component.validate.patternMessage', component.errorMessage('pattern')), {
554
+ field: component.errorLabel,
555
+ pattern: setting,
556
+ data: component.data
557
+ });
558
+ },
559
+ check(component, setting, value) {
560
+ if (component.isEmpty(value))
561
+ return true;
562
+ const pattern = setting;
563
+ if (!pattern) {
564
+ return true;
565
+ }
566
+ const regex = new RegExp(`^${pattern}$`);
567
+ return regex.test(value);
568
+ }
569
+ },
570
+ json: {
571
+ key: 'validate.json',
572
+ check(component, setting, value, data, index, row) {
573
+ if (!setting) {
574
+ return true;
575
+ }
576
+ const valid = component.evaluate(setting, {
577
+ data,
578
+ row,
579
+ rowIndex: index,
580
+ input: value
581
+ });
582
+ if (valid === null) {
583
+ return true;
584
+ }
585
+ return valid;
586
+ }
587
+ },
588
+ mask: {
589
+ key: 'inputMask',
590
+ hasLabel: true,
591
+ message(component) {
592
+ return component.t(component.errorMessage('mask'), {
593
+ field: component.errorLabel,
594
+ data: component.data
595
+ });
596
+ },
597
+ check(component, setting, value) {
598
+ let inputMask;
599
+ if (component.isMultipleMasksField) {
600
+ const maskName = value ? value.maskName : undefined;
601
+ const formioInputMask = component.getMaskByName(maskName);
602
+ if (formioInputMask) {
603
+ inputMask = formioInputMask;
604
+ }
605
+ value = value ? value.value : value;
606
+ }
607
+ else {
608
+ inputMask = setting;
609
+ }
610
+ inputMask = inputMask ? (0, utils_1.getInputMask)(inputMask) : null;
611
+ if (value && inputMask && !component.skipMaskValidation) {
612
+ // If char which is used inside mask placeholder was used in the mask, replace it with space to prevent errors
613
+ inputMask = inputMask.map((char) => char === component.placeholderChar ? ' ' : char);
614
+ return (0, utils_1.matchInputMask)(value, inputMask);
615
+ }
616
+ return true;
617
+ }
618
+ },
619
+ custom: {
620
+ key: 'validate.custom',
621
+ message(component) {
622
+ return component.t(component.errorMessage('custom'), {
623
+ field: component.errorLabel,
624
+ data: component.data
625
+ });
626
+ },
627
+ check(component, setting, value, data, index, row) {
628
+ if (!setting) {
629
+ return true;
630
+ }
631
+ const valid = component.evaluate(setting, {
632
+ valid: true,
633
+ data,
634
+ rowIndex: index,
635
+ row,
636
+ input: value
637
+ }, 'valid', true);
638
+ if (valid === null) {
639
+ return true;
640
+ }
641
+ return valid;
642
+ }
643
+ },
644
+ maxDate: {
645
+ key: 'maxDate',
646
+ hasLabel: true,
647
+ message(component, setting) {
648
+ const date = (0, utils_1.getDateSetting)(setting);
649
+ return component.t(component.errorMessage('maxDate'), {
650
+ field: component.errorLabel,
651
+ maxDate: (0, moment_1.default)(date).format(component.format),
652
+ });
653
+ },
654
+ check(component, setting, value) {
655
+ //if any parts of day are missing, skip maxDate validation
656
+ if (component.isPartialDay && component.isPartialDay(value)) {
657
+ return true;
658
+ }
659
+ const date = component.getValidationFormat ? (0, moment_1.default)(value, component.getValidationFormat()) : (0, moment_1.default)(value);
660
+ const maxDate = (0, utils_1.getDateSetting)(setting);
661
+ if (lodash_1.default.isNull(maxDate)) {
662
+ return true;
663
+ }
664
+ else {
665
+ maxDate.setHours(0, 0, 0, 0);
666
+ }
667
+ return date.isBefore(maxDate) || date.isSame(maxDate);
668
+ }
669
+ },
670
+ minDate: {
671
+ key: 'minDate',
672
+ hasLabel: true,
673
+ message(component, setting) {
674
+ const date = (0, utils_1.getDateSetting)(setting);
675
+ return component.t(component.errorMessage('minDate'), {
676
+ field: component.errorLabel,
677
+ minDate: (0, moment_1.default)(date).format(component.format),
678
+ });
679
+ },
680
+ check(component, setting, value) {
681
+ //if any parts of day are missing, skip minDate validation
682
+ if (component.isPartialDay && component.isPartialDay(value)) {
683
+ return true;
684
+ }
685
+ const date = component.getValidationFormat ? (0, moment_1.default)(value, component.getValidationFormat()) : (0, moment_1.default)(value);
686
+ const minDate = (0, utils_1.getDateSetting)(setting);
687
+ if (lodash_1.default.isNull(minDate)) {
688
+ return true;
689
+ }
690
+ else {
691
+ minDate.setHours(0, 0, 0, 0);
692
+ }
693
+ return date.isAfter(minDate) || date.isSame(minDate);
694
+ }
695
+ },
696
+ minYear: {
697
+ key: 'minYear',
698
+ hasLabel: true,
699
+ message(component, setting) {
700
+ return component.t(component.errorMessage('minYear'), {
701
+ field: component.errorLabel,
702
+ minYear: setting,
703
+ });
704
+ },
705
+ check(component, setting, value) {
706
+ const minYear = setting;
707
+ let year = /\d{4}$/.exec(value);
708
+ year = year ? year[0] : null;
709
+ if (!(+minYear) || !(+year)) {
710
+ return true;
711
+ }
712
+ return +year >= +minYear;
713
+ }
714
+ },
715
+ maxYear: {
716
+ key: 'maxYear',
717
+ hasLabel: true,
718
+ message(component, setting) {
719
+ return component.t(component.errorMessage('maxYear'), {
720
+ field: component.errorLabel,
721
+ maxYear: setting,
722
+ });
723
+ },
724
+ check(component, setting, value) {
725
+ const maxYear = setting;
726
+ let year = /\d{4}$/.exec(value);
727
+ year = year ? year[0] : null;
728
+ if (!(+maxYear) || !(+year)) {
729
+ return true;
730
+ }
731
+ return +year <= +maxYear;
732
+ }
733
+ },
734
+ calendar: {
735
+ key: 'validate.calendar',
736
+ messageText: '',
737
+ hasLabel: true,
738
+ message(component) {
739
+ return component.t(component.errorMessage(this.validators.calendar.messageText), {
740
+ field: component.errorLabel,
741
+ maxDate: (0, moment_1.default)(component.dataValue).format(component.format),
742
+ });
743
+ },
744
+ check(component, setting, value, data, index) {
745
+ this.validators.calendar.messageText = '';
746
+ const widget = component.getWidget(index);
747
+ if (!widget) {
748
+ return true;
749
+ }
750
+ const { settings, enteredDate } = widget;
751
+ const { minDate, maxDate, format } = settings;
752
+ const momentFormat = [(0, utils_1.convertFormatToMoment)(format)];
753
+ if (momentFormat[0].match(/M{3,}/g)) {
754
+ momentFormat.push(momentFormat[0].replace(/M{3,}/g, 'MM'));
755
+ }
756
+ if (!value && enteredDate) {
757
+ const { message, result } = (0, calendarUtils_1.checkInvalidDate)(enteredDate, momentFormat, minDate, maxDate);
758
+ if (!result) {
759
+ this.validators.calendar.messageText = message;
760
+ return result;
761
+ }
762
+ }
763
+ if (value && enteredDate) {
764
+ if ((0, moment_1.default)(value).format() !== (0, moment_1.default)(enteredDate, momentFormat, true).format() && enteredDate.match(/_/gi)) {
765
+ this.validators.calendar.messageText = calendarUtils_1.CALENDAR_ERROR_MESSAGES.INCOMPLETE;
766
+ return false;
767
+ }
768
+ else {
769
+ widget.enteredDate = '';
770
+ return true;
771
+ }
772
+ }
773
+ }
774
+ },
775
+ time: {
776
+ key: 'validate.time',
777
+ messageText: 'Invalid time',
778
+ hasLabel: true,
779
+ message(component) {
780
+ return component.t(component.errorMessage(this.validators.time.messageText), {
781
+ field: component.errorLabel
782
+ });
783
+ },
784
+ check(component, setting, value) {
785
+ if (component.isEmpty(value))
786
+ return true;
787
+ return (0, moment_1.default)(value, component.component.format).isValid();
788
+ }
789
+ },
790
+ availableValueProperty: {
791
+ key: 'validate.availableValueProperty',
792
+ method: 'validateValueProperty',
793
+ messageText: 'Invalid Value Property',
794
+ hasLabel: true,
795
+ message(component) {
796
+ return component.t(component.errorMessage(this.validators.availableValueProperty.messageText), {
797
+ field: component.errorLabel,
798
+ });
799
+ },
800
+ check(component, setting, value) {
801
+ if (component.component.dataSrc === 'url' && (lodash_1.default.isUndefined(value) || lodash_1.default.isObject(value))) {
802
+ return false;
803
+ }
804
+ return true;
805
+ }
806
+ }
807
+ };
808
+ }
809
+ checkValidator(component, validator, setting, value, data, index, row, async) {
810
+ let resultOrPromise = null;
811
+ // Allow each component to override their own validators by implementing the validator.method
812
+ if (validator.method && (typeof component[validator.method] === 'function')) {
813
+ resultOrPromise = component[validator.method](setting, value, data, index, row, async);
814
+ }
815
+ else {
816
+ resultOrPromise = validator.check.call(this, component, setting, value, data, index, row, async);
817
+ }
818
+ const processResult = result => {
819
+ if (typeof result === 'string') {
820
+ return result;
821
+ }
822
+ if (!result && validator.message) {
823
+ return validator.message.call(this, component, setting, index, row);
824
+ }
825
+ return '';
826
+ };
827
+ if (async) {
828
+ return native_promise_only_1.default.resolve(resultOrPromise).then(processResult);
829
+ }
830
+ else {
831
+ return processResult(resultOrPromise);
832
+ }
833
+ }
834
+ validate(component, validatorName, value, data, index, row, async, conditionallyVisible, validationObj) {
835
+ // Skip validation for conditionally hidden components
836
+ if (!conditionallyVisible) {
837
+ return false;
838
+ }
839
+ const validator = this.validators[validatorName];
840
+ const setting = lodash_1.default.get(validationObj || component.component, validator.key, null);
841
+ const resultOrPromise = this.checkValidator(component, validator, setting, value, data, index, row, async);
842
+ const processResult = result => {
843
+ var _a;
844
+ if (result) {
845
+ const resultData = {
846
+ message: (0, utils_1.unescapeHTML)(lodash_1.default.get(result, 'message', result)),
847
+ level: lodash_1.default.get(result, 'level') === 'warning' ? 'warning' : 'error',
848
+ path: (0, utils_1.getArrayFromComponentPath)(component.path || ''),
849
+ context: {
850
+ validator: validatorName,
851
+ hasLabel: validator.hasLabel,
852
+ setting,
853
+ key: component.key,
854
+ label: component.label,
855
+ value,
856
+ index,
857
+ input: (_a = component.refs.input) === null || _a === void 0 ? void 0 : _a[index]
858
+ }
859
+ };
860
+ if (validatorName === 'unique' && component.conflictId) {
861
+ resultData.conflictId = component.conflictId;
862
+ }
863
+ return resultData;
864
+ }
865
+ else {
866
+ return false;
867
+ }
868
+ };
869
+ if (async) {
870
+ return native_promise_only_1.default.resolve(resultOrPromise).then(processResult);
871
+ }
872
+ else {
873
+ return processResult(resultOrPromise);
874
+ }
875
+ }
876
+ checkComponent(component, data, row, includeWarnings = false, async = false) {
877
+ var _a;
878
+ const isServerSidePersistent = typeof process !== 'undefined'
879
+ && lodash_1.default.get(process, 'release.name') === 'node'
880
+ && !lodash_1.default.defaultTo(component.component.persistent, true);
881
+ // If we're server-side and it's not a persistent component, don't run validation at all
882
+ if (isServerSidePersistent || component.component.validate === false) {
883
+ return async ? native_promise_only_1.default.resolve([]) : [];
884
+ }
885
+ data = data || component.rootValue;
886
+ row = row || component.data;
887
+ const values = (component.component.multiple && Array.isArray(component.validationValue))
888
+ ? component.validationValue
889
+ : [component.validationValue];
890
+ const conditionallyVisible = component.conditionallyVisible();
891
+ const addonsValidations = [];
892
+ if ((_a = component === null || component === void 0 ? void 0 : component.addons) === null || _a === void 0 ? void 0 : _a.length) {
893
+ values.forEach((value) => {
894
+ component.addons.forEach((addon) => {
895
+ if (!addon.checkValidity(value)) {
896
+ addonsValidations.push(...(addon.errors || []));
897
+ }
898
+ });
899
+ });
900
+ }
901
+ // If this component has the new validation system enabled, use it instead.
902
+ const validations = lodash_1.default.get(component, 'component.validations');
903
+ let nextGenResultsOrPromises = [];
904
+ if (validations && Array.isArray(validations) && validations.length) {
905
+ const validationsGroupedByMode = lodash_1.default.chain(validations)
906
+ .groupBy((validation) => validation.mode)
907
+ .value();
908
+ if (component.calculateCondition) {
909
+ includeWarnings = true;
910
+ const uiGroupedValidation = lodash_1.default.chain(validationsGroupedByMode.ui)
911
+ .filter('active')
912
+ .groupBy((validation) => validation.group || null)
913
+ .value();
914
+ const commonValidations = uiGroupedValidation.null || [];
915
+ delete uiGroupedValidation.null;
916
+ commonValidations.forEach(({ condition, message, severity }) => {
917
+ if (!component.calculateCondition(condition)) {
918
+ nextGenResultsOrPromises.push({
919
+ level: severity || 'error',
920
+ message: component.t(message),
921
+ componentInstance: component,
922
+ });
923
+ }
924
+ });
925
+ lodash_1.default.forEach(uiGroupedValidation, (validationGroup) => {
926
+ lodash_1.default.forEach(validationGroup, ({ condition, message, severity }) => {
927
+ if (!component.calculateCondition(condition)) {
928
+ nextGenResultsOrPromises.push({
929
+ level: severity || 'error',
930
+ message: component.t(message),
931
+ componentInstance: component,
932
+ });
933
+ return false;
934
+ }
935
+ });
936
+ });
937
+ }
938
+ else {
939
+ nextGenResultsOrPromises = this.checkValidations(component, validations, data, row, values, async);
940
+ }
941
+ if (component.validators.includes('custom') && validationsGroupedByMode.js) {
942
+ lodash_1.default.each(validationsGroupedByMode.js, (validation) => {
943
+ nextGenResultsOrPromises.push(lodash_1.default.map(values, (value, index) => this.validate(component, 'custom', value, data, index, row, async, conditionallyVisible, validation)));
944
+ });
945
+ }
946
+ if (component.validators.includes('json') && validationsGroupedByMode.json) {
947
+ lodash_1.default.each(validationsGroupedByMode.json, (validation) => {
948
+ nextGenResultsOrPromises.push(lodash_1.default.map(values, (value, index) => this.validate(component, 'json', value, data, index, row, async, conditionallyVisible, validation)));
949
+ });
950
+ }
951
+ }
952
+ const validateCustom = lodash_1.default.get(component, 'component.validate.custom');
953
+ const customErrorMessage = lodash_1.default.get(component, 'component.validate.customMessage');
954
+ // Run primary validators
955
+ const resultsOrPromises = (0, lodash_1.default)(component.validators).chain()
956
+ .map(validatorName => {
957
+ if (!this.validators.hasOwnProperty(validatorName)) {
958
+ return {
959
+ message: `Validator for "${validatorName}" is not defined`,
960
+ level: 'warning',
961
+ context: {
962
+ validator: validatorName,
963
+ key: component.key,
964
+ label: component.label
965
+ }
966
+ };
967
+ }
968
+ // Handle the case when there is no values defined and it is required.
969
+ if (validatorName === 'required' && !values.length) {
970
+ return [this.validate(component, validatorName, null, data, 0, row, async, conditionallyVisible)];
971
+ }
972
+ return lodash_1.default.map(values, (value, index) => this.validate(component, validatorName, value, data, index, row, async, conditionallyVisible));
973
+ })
974
+ .flatten()
975
+ .value();
976
+ // Run the "unique" pseudo-validator
977
+ component.component.validate = component.component.validate || {};
978
+ component.component.validate.unique = component.component.unique;
979
+ resultsOrPromises.push(this.validate(component, 'unique', component.validationValue, data, 0, data, async, conditionallyVisible));
980
+ // Run the "multiple" pseudo-validator
981
+ component.component.validate.multiple = component.component.multiple;
982
+ resultsOrPromises.push(this.validate(component, 'multiple', component.validationValue, data, 0, data, async, conditionallyVisible));
983
+ resultsOrPromises.push(...addonsValidations);
984
+ resultsOrPromises.push(...nextGenResultsOrPromises);
985
+ // Define how results should be formatted
986
+ const formatResults = results => {
987
+ // Condense to a single flat array
988
+ results = (0, lodash_1.default)(results).chain().flatten().compact().value();
989
+ if (customErrorMessage || validateCustom) {
990
+ lodash_1.default.each(results, result => {
991
+ result.message = component.t(customErrorMessage || result.message, {
992
+ field: component.errorLabel,
993
+ data,
994
+ row,
995
+ error: result
996
+ });
997
+ result.context.hasLabel = false;
998
+ });
999
+ }
1000
+ return includeWarnings ? results : lodash_1.default.reject(results, result => result.level === 'warning');
1001
+ };
1002
+ // Wait for results if using async mode, otherwise process and return immediately
1003
+ if (async) {
1004
+ return native_promise_only_1.default.all(resultsOrPromises).then(formatResults);
1005
+ }
1006
+ else {
1007
+ return formatResults(resultsOrPromises);
1008
+ }
1009
+ }
1010
+ /**
1011
+ * Use the new validations engine to evaluate any errors.
1012
+ *
1013
+ * @param component
1014
+ * @param validations
1015
+ * @param data
1016
+ * @param row
1017
+ * @param values
1018
+ * @returns {any[]}
1019
+ */
1020
+ checkValidations(component, validations, data, row, values, async) {
1021
+ // Get results.
1022
+ const results = validations.map((validation) => {
1023
+ return this.checkRule(component, validation, data, row, values, async);
1024
+ });
1025
+ // Flatten array and filter out empty results.
1026
+ const messages = results.reduce((prev, result) => {
1027
+ if (result) {
1028
+ return [...prev, ...result];
1029
+ }
1030
+ return prev;
1031
+ }, []).filter((result) => result);
1032
+ // Keep only the last error for each rule.
1033
+ const rules = messages.reduce((prev, message) => {
1034
+ prev[message.context.validator] = message;
1035
+ return prev;
1036
+ }, {});
1037
+ return Object.values(rules);
1038
+ }
1039
+ checkRule(component, validation, data, row, values, async) {
1040
+ const Rule = Rules_1.default.getRule(validation.rule);
1041
+ const results = [];
1042
+ if (Rule) {
1043
+ const rule = new Rule(component, validation.settings, this.config);
1044
+ values.map((value, index) => {
1045
+ const result = rule.check(value, data, row, async);
1046
+ if (result !== true) {
1047
+ results.push({
1048
+ level: validation.level || 'error',
1049
+ message: component.t(validation.message || rule.defaultMessage, {
1050
+ settings: validation.settings,
1051
+ field: component.errorLabel,
1052
+ data,
1053
+ row,
1054
+ error: result,
1055
+ }),
1056
+ context: {
1057
+ key: component.key,
1058
+ index,
1059
+ label: component.label,
1060
+ validator: validation.rule,
1061
+ },
1062
+ });
1063
+ }
1064
+ });
1065
+ }
1066
+ // If there are no results, return false so it is removed by filter.
1067
+ return results.length === 0 ? false : results;
1068
+ }
1069
+ get check() {
1070
+ return this.checkComponent;
1071
+ }
1072
+ get() {
1073
+ lodash_1.default.get.call(this, arguments);
1074
+ }
1075
+ each() {
1076
+ lodash_1.default.each.call(this, arguments);
1077
+ }
1078
+ has() {
1079
+ lodash_1.default.has.call(this, arguments);
1080
+ }
1081
+ }
1082
+ exports.ValidationChecker = ValidationChecker;
1083
+ ValidationChecker.config = {
1084
+ db: null,
1085
+ token: null,
1086
+ form: null,
1087
+ submission: null
1088
+ };
1089
+ const instance = new ValidationChecker();
1090
+ exports.default = instance;