@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,1162 @@
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
+ const lodash_1 = __importDefault(require("lodash"));
7
+ const native_promise_only_1 = __importDefault(require("native-promise-only"));
8
+ const NestedArrayComponent_1 = __importDefault(require("../_classes/nestedarray/NestedArrayComponent"));
9
+ const Component_1 = __importDefault(require("../_classes/component/Component"));
10
+ const Alert_1 = __importDefault(require("../alert/Alert"));
11
+ const utils_1 = require("../../utils/utils");
12
+ const components_1 = require("@formio/bootstrap/components");
13
+ const EditRowState = {
14
+ New: 'new',
15
+ Editing: 'editing',
16
+ Saved: 'saved',
17
+ Viewing: 'viewing',
18
+ Removed: 'removed',
19
+ Draft: 'draft',
20
+ };
21
+ class EditGridComponent extends NestedArrayComponent_1.default {
22
+ static schema(...extend) {
23
+ return NestedArrayComponent_1.default.schema({
24
+ type: 'editgrid',
25
+ label: 'Edit Grid',
26
+ key: 'editGrid',
27
+ clearOnHide: true,
28
+ input: true,
29
+ tree: true,
30
+ removeRow: 'Cancel',
31
+ defaultOpen: false,
32
+ openWhenEmpty: false,
33
+ modal: false,
34
+ components: [],
35
+ inlineEdit: false,
36
+ templates: {
37
+ header: EditGridComponent.defaultHeaderTemplate,
38
+ row: EditGridComponent.defaultRowTemplate,
39
+ tableHeader: EditGridComponent.defaultTableHeaderTemplate,
40
+ tableRow: EditGridComponent.defaultTableRowTemplate,
41
+ footer: '',
42
+ },
43
+ }, ...extend);
44
+ }
45
+ static get builderInfo() {
46
+ return {
47
+ title: 'Edit Grid',
48
+ icon: 'tasks',
49
+ group: 'data',
50
+ documentation: '/userguide/form-building/data-components#edit-grid',
51
+ weight: 30,
52
+ schema: EditGridComponent.schema(),
53
+ };
54
+ }
55
+ static get defaultHeaderTemplate() {
56
+ return `<div class="row">
57
+ {% util.eachComponent(components, function(component) { %}
58
+ {% if (displayValue(component)) { %}
59
+ <div class="col-sm-2">{{ t(component.label) }}</div>
60
+ {% } %}
61
+ {% }) %}
62
+ </div>`;
63
+ }
64
+ static get defaultTableHeaderTemplate() {
65
+ return `
66
+ <tr>
67
+ {% util.eachComponent(components, function(component) { %}
68
+ {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}
69
+ <td class="editgrid-table-column">{{ component.label }}</td>
70
+ {% } %}
71
+ {% }) %}
72
+ {% if (!instance.options.readOnly && !instance.disabled) { %}
73
+ <td class="editgrid-table-column">Actions</td>
74
+ {% } %}
75
+ </tr>
76
+ `;
77
+ }
78
+ static get defaultRowTemplate() {
79
+ return `<div class="row">
80
+ {% util.eachComponent(components, function(component) { %}
81
+ {% if (displayValue(component)) { %}
82
+ <div class="col-sm-2">
83
+ {{ isVisibleInRow(component) ? getView(component, row[component.key]) : ''}}
84
+ </div>
85
+ {% } %}
86
+ {% }) %}
87
+ {% if (!instance.options.readOnly && !instance.disabled) { %}
88
+ <div class="col-sm-2">
89
+ <div class="btn-group pull-right">
90
+ <button class="btn btn-default btn-light btn-sm editRow"><i class="{{ iconClass('edit') }}"></i></button>
91
+ {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}
92
+ <button class="btn btn-danger btn-sm removeRow"><i class="{{ iconClass('trash') }}"></i></button>
93
+ {% } %}
94
+ </div>
95
+ </div>
96
+ {% } %}
97
+ </div>`;
98
+ }
99
+ static get defaultTableRowTemplate() {
100
+ return `
101
+ {% util.eachComponent(components, function(component) { %}
102
+ {% if (!component.hasOwnProperty('tableView') || component.tableView) { %}
103
+ <td class="editgrid-table-column">
104
+ {{ getView(component, row[component.key]) }}
105
+ </td>
106
+ {% } %}
107
+ {% }) %}
108
+ {% if (!instance.options.readOnly && !instance.disabled) { %}
109
+ <td class="editgrid-table-column">
110
+ <div class="btn-group">
111
+ <button class="btn btn-default btn-light btn-sm editRow" aria-label="{{ t('Edit row') }}"><i class="{{ iconClass('edit') }}"></i></button>
112
+ {% if (!instance.hasRemoveButtons || instance.hasRemoveButtons()) { %}
113
+ <button class="btn btn-danger btn-sm removeRow" aria-label="{{ t('Remove row') }}"><i class="{{ iconClass('trash') }}"></i></button>
114
+ {% } %}
115
+ </div>
116
+ </td>
117
+ {% } %}
118
+ `;
119
+ }
120
+ get defaultDialogTemplate() {
121
+ return `
122
+ <h3 ref="dialogHeader">${this.t('Do you want to clear data?')}</h3>
123
+ <div style="display:flex; justify-content: flex-end;">
124
+ <button ref="dialogCancelButton" class="btn btn-secondary" aria-label="${this.t('Cancel')}">${this.t('Cancel')}</button>
125
+ <button ref="dialogYesButton" class="btn btn-danger" aria-label="${this.t('Yes, delete it')}">${this.t('Yes, delete it')}</button>
126
+ </div>
127
+ `;
128
+ }
129
+ get defaultRowTemplate() {
130
+ return this.displayAsTable
131
+ ? EditGridComponent.defaultTableRowTemplate
132
+ : EditGridComponent.defaultRowTemplate;
133
+ }
134
+ get defaultHeaderTemplate() {
135
+ return this.displayAsTable
136
+ ? EditGridComponent.defaultTableHeaderTemplate
137
+ : EditGridComponent.defaultHeaderTemplate;
138
+ }
139
+ get rowTemplate() {
140
+ let rowTemplate;
141
+ if (utils_1.Evaluator.noeval) {
142
+ rowTemplate = this.displayAsTable ?
143
+ components_1.editgrid.tableRow
144
+ : components_1.editgrid.row;
145
+ }
146
+ else {
147
+ rowTemplate = this.displayAsTable ?
148
+ lodash_1.default.get(this.component, 'templates.tableRow', this.defaultRowTemplate)
149
+ : lodash_1.default.get(this.component, 'templates.row', this.defaultRowTemplate);
150
+ }
151
+ return rowTemplate;
152
+ }
153
+ get headerTemplate() {
154
+ let headerTemplate;
155
+ if (utils_1.Evaluator.noeval) {
156
+ headerTemplate = this.displayAsTable ?
157
+ components_1.editgrid.tableHeader
158
+ : components_1.editgrid.header;
159
+ }
160
+ else {
161
+ headerTemplate = this.displayAsTable ?
162
+ lodash_1.default.get(this.component, 'templates.tableHeader', this.defaultHeaderTemplate)
163
+ : lodash_1.default.get(this.component, 'templates.header', this.defaultHeaderTemplate);
164
+ }
165
+ return headerTemplate;
166
+ }
167
+ /**
168
+ * Returns true if the component has nested components which don't trigger changes on the root level
169
+ */ //
170
+ get hasScopedChildren() {
171
+ return !this.inlineEditMode;
172
+ }
173
+ get defaultSchema() {
174
+ return EditGridComponent.schema();
175
+ }
176
+ get emptyValue() {
177
+ return [];
178
+ }
179
+ get editgridKey() {
180
+ return `editgrid-${this.key}`;
181
+ }
182
+ get rowRef() {
183
+ return `${this.editgridKey}-row`;
184
+ }
185
+ get rowElements() {
186
+ return this.refs[this.rowRef];
187
+ }
188
+ get rowRefs() {
189
+ return this.refs[`editgrid-${this.component.key}-row`];
190
+ }
191
+ get addRowRef() {
192
+ return `${this.editgridKey}-addRow`;
193
+ }
194
+ get addRowElements() {
195
+ return this.refs[this.addRowRef];
196
+ }
197
+ get saveRowRef() {
198
+ return `${this.editgridKey}-saveRow`;
199
+ }
200
+ get saveRowElements() {
201
+ return this.refs[this.saveRowRef];
202
+ }
203
+ get cancelRowRef() {
204
+ return `${this.editgridKey}-cancelRow`;
205
+ }
206
+ get cancelRowElements() {
207
+ return this.refs[this.cancelRowRef];
208
+ }
209
+ get inlineEditMode() {
210
+ return this.component.inlineEdit;
211
+ }
212
+ get saveEditMode() {
213
+ return !this.inlineEditMode;
214
+ }
215
+ get minLength() {
216
+ return lodash_1.default.get(this.component, 'validate.minLength', 0);
217
+ }
218
+ get data() {
219
+ return this._data;
220
+ }
221
+ get dataValue() {
222
+ return super.dataValue || [];
223
+ }
224
+ set dataValue(value) {
225
+ super.dataValue = value;
226
+ }
227
+ get displayAsTable() {
228
+ return this.component.displayAsTable;
229
+ }
230
+ set data(value) {
231
+ this._data = value;
232
+ const data = this.dataValue;
233
+ (this.editRows || []).forEach((row, index) => {
234
+ if (!data[index] && row.state !== EditRowState.New) {
235
+ data[index] = {};
236
+ }
237
+ const rowData = data[index] || {};
238
+ row.data = rowData;
239
+ row.components.forEach((component) => {
240
+ component.data = rowData;
241
+ });
242
+ });
243
+ }
244
+ get iteratableRows() {
245
+ return this.editRows;
246
+ }
247
+ get defaultValue() {
248
+ const value = super.defaultValue;
249
+ const defaultValue = Array.isArray(value) ? value : [];
250
+ lodash_1.default.times(this.minLength - defaultValue.length, () => defaultValue.push({}));
251
+ return defaultValue;
252
+ }
253
+ constructor(...args) {
254
+ super(...args);
255
+ this.type = 'editgrid';
256
+ }
257
+ hasRemoveButtons() {
258
+ return !this.component.disableAddingRemovingRows &&
259
+ !this.options.readOnly &&
260
+ !this.disabled &&
261
+ this.fullMode &&
262
+ (this.dataValue.length > lodash_1.default.get(this.component, 'validate.minLength', 0));
263
+ }
264
+ init() {
265
+ if (this.builderMode) {
266
+ this.editRows = [];
267
+ return super.init();
268
+ }
269
+ this.components = this.components || [];
270
+ const dataValue = this.dataValue;
271
+ const openWhenEmpty = !dataValue.length && this.component.openWhenEmpty;
272
+ if (openWhenEmpty) {
273
+ const dataObj = {};
274
+ this.editRows = [];
275
+ this.createRow(dataObj, 0);
276
+ }
277
+ else {
278
+ this.editRows = dataValue.map((row, rowIndex) => ({
279
+ components: this.lazyLoad ? [] : this.createRowComponents(row, rowIndex),
280
+ data: row,
281
+ state: EditRowState.Saved,
282
+ backup: null,
283
+ error: null,
284
+ rowIndex,
285
+ }));
286
+ }
287
+ this.prevHasAddButton = this.hasAddButton();
288
+ this.checkData();
289
+ this.setVariableTypeComponents();
290
+ if (this.variableTypeComponentsIndexes.length) {
291
+ lodash_1.default.each(this.editRows || [], (editRow, rowIndex) => this.checkRowVariableTypeComponents(editRow, rowIndex));
292
+ }
293
+ }
294
+ checkRowVariableTypeComponents(editRow, rowIndex) {
295
+ const rowComponents = editRow.components;
296
+ if (lodash_1.default.some(this.variableTypeComponentsIndexes, (compIndex) => {
297
+ const variableTypeComp = rowComponents[compIndex];
298
+ return variableTypeComp.type !== variableTypeComp.component.type;
299
+ })) {
300
+ editRow.components = this.createRowComponents(editRow.data, rowIndex, true);
301
+ }
302
+ }
303
+ setVariableTypeComponents() {
304
+ //set components which type is changing within a row (e.g.,by mergeComponentSchema action)
305
+ this.variableTypeComponentsIndexes = [];
306
+ lodash_1.default.each(this.component.components, (comp, index) => {
307
+ if (comp.typeChangeEnabled) {
308
+ this.variableTypeComponentsIndexes.push(index);
309
+ }
310
+ });
311
+ }
312
+ isOpen(editRow) {
313
+ return [EditRowState.New, EditRowState.Editing, EditRowState.Viewing].includes(editRow.state);
314
+ }
315
+ isComponentVisibleInSomeRow(component) {
316
+ const rows = this.editRows;
317
+ const savedStates = [EditRowState.Saved, EditRowState.Editing, EditRowState.Draft];
318
+ const savedRows = rows.filter(row => lodash_1.default.includes(savedStates, row.state));
319
+ this.visibleInHeader = this.visibleInHeader || [];
320
+ const changeVisibleInHeader = (component, isVisible) => {
321
+ if (!isVisible) {
322
+ lodash_1.default.remove(this.visibleInHeader, (key) => key === component.key);
323
+ }
324
+ if (isVisible && !lodash_1.default.includes(this.visibleInHeader, component.key)) {
325
+ this.visibleInHeader.push(component.key);
326
+ }
327
+ };
328
+ if (lodash_1.default.isEmpty(rows)) {
329
+ const rowComponents = this.createRowComponents({}, 0);
330
+ let checkComponent;
331
+ (0, utils_1.eachComponent)(rowComponents, (comp) => {
332
+ if (comp.component.key === component.key) {
333
+ checkComponent = comp;
334
+ }
335
+ comp.checkConditions();
336
+ });
337
+ const isVisible = checkComponent ? checkComponent.visible : true;
338
+ [...this.components].forEach((comp) => this.removeComponent(comp, this.components));
339
+ changeVisibleInHeader(component, isVisible);
340
+ return isVisible;
341
+ }
342
+ const isOpenRowWhenEmpty = lodash_1.default.get(this.component, 'openWhenEmpty') && rows.length === 1 && rows[0].state === EditRowState.New;
343
+ if (!lodash_1.default.isEmpty(rows) && lodash_1.default.isEmpty(savedRows) && !isOpenRowWhenEmpty) {
344
+ return lodash_1.default.includes(this.visibleInHeader, component.key);
345
+ }
346
+ return lodash_1.default.some(isOpenRowWhenEmpty ? rows : savedRows, (row, index) => {
347
+ const editingRow = row.state === EditRowState.Editing;
348
+ let isVisible;
349
+ if (!editingRow) {
350
+ const flattenedComponents = this.flattenComponents(index);
351
+ const instance = flattenedComponents[component.key];
352
+ isVisible = instance ? instance.visible : true;
353
+ changeVisibleInHeader(component, isVisible);
354
+ }
355
+ else {
356
+ isVisible = lodash_1.default.includes(this.visibleInHeader, component.key);
357
+ }
358
+ return isVisible;
359
+ });
360
+ }
361
+ render(children) {
362
+ if (this.builderMode) {
363
+ return super.render();
364
+ }
365
+ const dataValue = this.dataValue;
366
+ const headerTemplate = this.headerTemplate;
367
+ const t = this.t.bind(this);
368
+ const templateName = this.displayAsTable ? 'editgridTable' : 'editgrid';
369
+ return super.render(children || this.renderTemplate(templateName, {
370
+ ref: {
371
+ row: this.rowRef,
372
+ addRow: this.addRowRef,
373
+ saveRow: this.saveRowRef,
374
+ cancelRow: this.cancelRowRef,
375
+ },
376
+ header: this.renderString(headerTemplate, {
377
+ displayValue: (component) => this.displayComponentValue(component, true),
378
+ components: this.component.components,
379
+ value: dataValue,
380
+ t
381
+ }),
382
+ footer: this.renderString(lodash_1.default.get(this.component, 'templates.footer'), {
383
+ components: this.component.components,
384
+ value: dataValue,
385
+ t
386
+ }),
387
+ rows: this.editRows.map(this.renderRow.bind(this)),
388
+ openRows: this.editRows.map((row) => this.isOpen(row)),
389
+ errors: this.editRows.map((row) => row.error),
390
+ hasAddButton: this.hasAddButton(),
391
+ hasRemoveButtons: this.hasRemoveButtons(),
392
+ }));
393
+ }
394
+ renderComponents(components) {
395
+ components = components || this.getComponents();
396
+ const children = components.map(component => component.render());
397
+ const templateName = this.displayAsTable && this.prevHasAddButton ? 'tableComponents' : 'components';
398
+ return this.renderTemplate(templateName, {
399
+ children,
400
+ components,
401
+ });
402
+ }
403
+ attach(element) {
404
+ if (this.builderMode) {
405
+ return super.attach(element);
406
+ }
407
+ this.loadRefs(element, {
408
+ [this.addRowRef]: 'multiple',
409
+ [this.saveRowRef]: 'multiple',
410
+ [this.cancelRowRef]: 'multiple',
411
+ [this.rowRef]: 'multiple',
412
+ });
413
+ this.addRowElements.forEach((addButton) => {
414
+ this.addEventListener(addButton, 'click', () => this.addRow());
415
+ });
416
+ let openRowCount = 0;
417
+ this.rowElements.forEach((row, rowIndex) => {
418
+ const editRow = this.editRows[rowIndex];
419
+ if (editRow === null || editRow === void 0 ? void 0 : editRow.isRowSelected) {
420
+ row.classList.add('selected');
421
+ }
422
+ if (this.isOpen(editRow)) {
423
+ this.attachComponents(row, editRow.components);
424
+ this.addEventListener(this.saveRowElements[openRowCount], 'click', () => this.saveRow(rowIndex, true));
425
+ this.addEventListener(this.cancelRowElements[openRowCount], 'click', () => this.cancelRow(rowIndex));
426
+ openRowCount++;
427
+ }
428
+ else {
429
+ // Attach edit and remove button events.
430
+ [
431
+ {
432
+ className: 'removeRow',
433
+ event: 'click',
434
+ action: () => this.removeRow(rowIndex, true),
435
+ },
436
+ {
437
+ className: 'editRow',
438
+ event: 'click',
439
+ action: () => {
440
+ this.editRow(rowIndex).then(() => {
441
+ var _a;
442
+ if (this.component.rowDrafts) {
443
+ this.validateRow(editRow, false);
444
+ const hasErrors = editRow.errors && !!editRow.errors.length;
445
+ const shouldShowRowErrorsAlert = this.component.modal && hasErrors && ((_a = this.root) === null || _a === void 0 ? void 0 : _a.submitted);
446
+ if (shouldShowRowErrorsAlert) {
447
+ this.alert.showErrors(editRow.errors, false);
448
+ editRow.alerts = true;
449
+ }
450
+ }
451
+ });
452
+ },
453
+ },
454
+ {
455
+ className: 'row',
456
+ event: 'click',
457
+ action: () => {
458
+ row.classList.toggle('selected');
459
+ let eventName = 'editGridSelectRow';
460
+ if (Array.from(row.classList).includes('selected')) {
461
+ editRow.isRowSelected = true;
462
+ }
463
+ else {
464
+ delete editRow.isRowSelected;
465
+ eventName = 'editGridUnSelectRow';
466
+ }
467
+ this.emit(eventName, {
468
+ component: this.component,
469
+ data: this.dataValue[rowIndex]
470
+ });
471
+ },
472
+ }
473
+ ].forEach(({ className, event, action, }) => {
474
+ const elements = row.getElementsByClassName(className);
475
+ Array.prototype.forEach.call(elements, (element) => {
476
+ this.addEventListener(element, event, action);
477
+ });
478
+ });
479
+ }
480
+ });
481
+ // Add open class to the element if any edit grid row is open
482
+ if (openRowCount) {
483
+ this.addClass(this.refs.component, `formio-component-${this.component.type}-row-open`);
484
+ }
485
+ else {
486
+ this.removeClass(this.refs.component, `formio-component-${this.component.type}-row-open`);
487
+ }
488
+ const superAttach = super.attach(element);
489
+ this.loadRefs(element, {
490
+ messageContainer: 'single-scope',
491
+ });
492
+ return superAttach;
493
+ }
494
+ flattenRowDataValue(dataValue) {
495
+ const flattened = {};
496
+ Object.keys(dataValue).forEach((key) => {
497
+ if (lodash_1.default.isObject(dataValue[key]) && !lodash_1.default.isNil(dataValue[key])) {
498
+ Object.assign(flattened, this.flattenRowDataValue(dataValue[key]));
499
+ }
500
+ else {
501
+ flattened[key] = dataValue[key];
502
+ }
503
+ });
504
+ return flattened;
505
+ }
506
+ isComponentVisibleInRow(component, flattenedComponents) {
507
+ const instance = flattenedComponents[component.key];
508
+ return instance ? instance.visible : true;
509
+ }
510
+ displayComponentValue(component, header) {
511
+ return !!((!component.hasOwnProperty('tableView') || component.tableView)
512
+ && header ? this.isComponentVisibleInSomeRow(component) : lodash_1.default.includes(this.visibleInHeader, component.key));
513
+ }
514
+ renderRow(row, rowIndex) {
515
+ const dataValue = this.dataValue;
516
+ if (this.isOpen(row)) {
517
+ return this.renderComponents(row.components);
518
+ }
519
+ else {
520
+ const flattenedComponents = this.flattenComponents(rowIndex);
521
+ const rowTemplate = this.rowTemplate;
522
+ return this.renderString(rowTemplate, {
523
+ row: dataValue[rowIndex] || {},
524
+ data: this.data,
525
+ rowIndex,
526
+ components: this.component.components,
527
+ flattenedComponents,
528
+ displayValue: (component) => this.displayComponentValue(component),
529
+ isVisibleInRow: (component) => this.isComponentVisibleInRow(component, flattenedComponents),
530
+ getView: (component, data) => {
531
+ var _a, _b;
532
+ const instance = flattenedComponents[component.key];
533
+ const view = instance ? instance.getView(data || instance.dataValue) : '';
534
+ // If there is an html tag in view, don't allow it to be injected in template
535
+ const htmlTagRegExp = new RegExp('<(.*?)>');
536
+ return typeof view === 'string' && view.length && !((_a = instance.component) === null || _a === void 0 ? void 0 : _a.template) && htmlTagRegExp.test(view) && ((_b = instance.component) === null || _b === void 0 ? void 0 : _b.inputFormat) !== 'html'
537
+ ? `<input type="text" value="${view.replace(/"/g, '&quot;')}" readonly/>`
538
+ : view;
539
+ },
540
+ state: this.editRows[rowIndex].state,
541
+ t: this.t.bind(this)
542
+ });
543
+ }
544
+ }
545
+ eachComponent(fn, rowIndex) {
546
+ lodash_1.default.each(this.getComponents(rowIndex), (component, index) => {
547
+ if (fn(component, index) === false) {
548
+ return false;
549
+ }
550
+ });
551
+ }
552
+ restoreComponentsContext() {
553
+ this.getComponents().forEach((component) => {
554
+ var _a;
555
+ const rowData = this.dataValue[component.rowIndex];
556
+ const editRowData = (_a = this.editRows[component.rowIndex]) === null || _a === void 0 ? void 0 : _a.data;
557
+ component.data = rowData || editRowData;
558
+ });
559
+ }
560
+ flattenComponents(rowIndex) {
561
+ const result = {};
562
+ this.everyComponent((component) => {
563
+ result[component.component.flattenAs || component.key] = component;
564
+ }, rowIndex);
565
+ return result;
566
+ }
567
+ getComponents(rowIndex) {
568
+ var _a;
569
+ // Ensure editrows is set.
570
+ this.editRows = this.editRows || [];
571
+ return this.builderMode
572
+ ? super.getComponents()
573
+ : lodash_1.default.isNumber(rowIndex)
574
+ ? (((_a = this.editRows[rowIndex]) === null || _a === void 0 ? void 0 : _a.components) || [])
575
+ : this.editRows.reduce((result, row) => result.concat(row.components || []), []);
576
+ }
577
+ destroyComponents(all = false, rowIndex = 0) {
578
+ if (this.builderMode) {
579
+ return super.destroyComponents(all);
580
+ }
581
+ const components = this.getComponents(rowIndex).slice();
582
+ components.forEach((comp) => this.removeComponent(comp, this.components, all));
583
+ }
584
+ createRow(dataObj, rowIndex) {
585
+ const editRow = {
586
+ components: this.createRowComponents(dataObj, rowIndex),
587
+ data: dataObj,
588
+ state: EditRowState.New,
589
+ backup: null,
590
+ error: null,
591
+ rowIndex,
592
+ };
593
+ this.editRows.push(editRow);
594
+ if (this.inlineEditMode) {
595
+ this.dataValue.push(dataObj);
596
+ }
597
+ return editRow;
598
+ }
599
+ addRow() {
600
+ if (this.options.readOnly) {
601
+ return;
602
+ }
603
+ const dataObj = {};
604
+ const rowIndex = this.editRows.length;
605
+ const editRow = this.createRow(dataObj, rowIndex);
606
+ if (this.inlineEditMode) {
607
+ this.triggerChange();
608
+ }
609
+ this.emit('editGridAddRow', {
610
+ component: this.component,
611
+ row: editRow,
612
+ });
613
+ this.checkRow('checkData', null, {}, editRow.data, editRow.components);
614
+ if (this.component.modal) {
615
+ this.addRowModal(rowIndex);
616
+ }
617
+ else {
618
+ this.redraw();
619
+ }
620
+ return editRow;
621
+ }
622
+ addRowModal(rowIndex) {
623
+ const modalContent = this.ce('div');
624
+ const editRow = this.editRows[rowIndex];
625
+ editRow.willBeSaved = false;
626
+ const { components } = editRow;
627
+ modalContent.innerHTML = this.renderComponents(components);
628
+ const dialog = this.component.modal ? this.createModal(modalContent, {}, () => this.showDialog(rowIndex)) : undefined;
629
+ dialog.classList.add(`editgrid-row-modal-${this.id}`);
630
+ editRow.dialog = dialog;
631
+ if (this.alert) {
632
+ this.alert.clear();
633
+ this.alert = null;
634
+ }
635
+ this.alert = new Alert_1.default(dialog.refs.dialogContents, this);
636
+ this.addEventListener(dialog, 'close', () => {
637
+ if (!editRow.willBeSaved) {
638
+ if (this.editRows[rowIndex] && this.editRows[rowIndex].state !== EditRowState.New) {
639
+ this.editRows[rowIndex].components.forEach((comp) => {
640
+ comp.setPristine(true);
641
+ });
642
+ }
643
+ this.cancelRow(rowIndex);
644
+ }
645
+ if (this.alert) {
646
+ this.alert.clear();
647
+ this.alert = null;
648
+ }
649
+ // Remove references to dialog elements to prevent possible in some cases memory leaks
650
+ delete editRow.confirmationDialog;
651
+ delete editRow.dialog;
652
+ });
653
+ dialog.refs.dialogContents.appendChild(this.ce('button', {
654
+ class: 'btn btn-primary',
655
+ onClick: () => {
656
+ // After an attempt to save, all the components inside the row should become not pristine
657
+ if (!this.component.rowDrafts) {
658
+ editRow.components.forEach((comp) => comp.setPristine(false));
659
+ }
660
+ if (this.validateRow(editRow, true) || this.component.rowDrafts) {
661
+ editRow.willBeSaved = true;
662
+ dialog.close();
663
+ this.saveRow(rowIndex, true);
664
+ }
665
+ else {
666
+ this.alert.showErrors(editRow.errors, false);
667
+ editRow.alerts = true;
668
+ }
669
+ },
670
+ }, this.component.saveRow || 'Save'));
671
+ return this.attachComponents(modalContent, components);
672
+ }
673
+ showDialog(rowIndex) {
674
+ const editRow = this.editRows[rowIndex];
675
+ if (lodash_1.default.isEqual(editRow.backup, editRow.data)) {
676
+ return native_promise_only_1.default.resolve();
677
+ }
678
+ const wrapper = this.ce('div', { ref: 'confirmationDialog' });
679
+ const dialogContent = this.component.dialogTemplate || this.defaultDialogTemplate;
680
+ wrapper.innerHTML = dialogContent;
681
+ wrapper.refs = {};
682
+ this.loadRefs.call(wrapper, wrapper, {
683
+ dialogHeader: 'single',
684
+ dialogCancelButton: 'single',
685
+ dialogYesButton: 'single',
686
+ });
687
+ const dialog = this.createModal(wrapper);
688
+ dialog.classList.add(`editgrid-row-modal-confirmation-${this.id}`);
689
+ const close = (event) => {
690
+ event.preventDefault();
691
+ dialog.close();
692
+ };
693
+ let dialogResult;
694
+ const promise = new native_promise_only_1.default((resolve, reject) => {
695
+ dialogResult = { resolve, reject };
696
+ });
697
+ this.addEventListener(wrapper.refs.dialogYesButton, 'click', (event) => {
698
+ close(event);
699
+ dialogResult.resolve();
700
+ });
701
+ this.addEventListener(wrapper.refs.dialogCancelButton, 'click', (event) => {
702
+ close(event);
703
+ dialogResult.reject();
704
+ });
705
+ editRow.confirmationDialog = dialog;
706
+ return promise;
707
+ }
708
+ editRow(rowIndex) {
709
+ const editRow = this.editRows[rowIndex];
710
+ const isAlreadyEditing = editRow.state === EditRowState.Editing || editRow.state === EditRowState.New;
711
+ if (!editRow || isAlreadyEditing) {
712
+ return native_promise_only_1.default.resolve();
713
+ }
714
+ editRow.prevState = editRow.state;
715
+ editRow.state = this.options.readOnly ? EditRowState.Viewing : EditRowState.Editing;
716
+ if (this.lazyLoad && (editRow.components.length === 0)) {
717
+ editRow.components = this.createRowComponents(editRow.data, rowIndex);
718
+ }
719
+ const dataSnapshot = (0, utils_1.fastCloneDeep)(editRow.data);
720
+ if (this.inlineEditMode) {
721
+ editRow.backup = dataSnapshot;
722
+ }
723
+ else {
724
+ editRow.backup = (0, utils_1.fastCloneDeep)(editRow.data);
725
+ editRow.data = dataSnapshot;
726
+ this.restoreRowContext(editRow);
727
+ }
728
+ if (this.component.modal) {
729
+ return this.addRowModal(rowIndex);
730
+ }
731
+ return this.redraw();
732
+ }
733
+ clearErrors(rowIndex) {
734
+ const editRow = this.editRows[rowIndex];
735
+ if (editRow && Array.isArray(editRow.components)) {
736
+ editRow.components.forEach((comp) => {
737
+ comp.setPristine(true);
738
+ comp.setCustomValidity('');
739
+ });
740
+ }
741
+ }
742
+ cancelRow(rowIndex) {
743
+ if (this.options.readOnly) {
744
+ return;
745
+ }
746
+ const editRow = this.editRows[rowIndex];
747
+ switch (editRow.state) {
748
+ case EditRowState.New: {
749
+ editRow.state = EditRowState.Removed;
750
+ this.clearErrors(rowIndex);
751
+ this.destroyComponents(false, rowIndex);
752
+ if (this.inlineEditMode) {
753
+ this.splice(rowIndex);
754
+ }
755
+ this.editRows.splice(rowIndex, 1);
756
+ this.openWhenEmpty();
757
+ break;
758
+ }
759
+ case EditRowState.Editing: {
760
+ editRow.state = editRow.prevState;
761
+ if (this.inlineEditMode) {
762
+ this.dataValue[rowIndex] = editRow.backup;
763
+ }
764
+ editRow.data = editRow.backup;
765
+ editRow.backup = null;
766
+ this.restoreRowContext(editRow);
767
+ this.clearErrors(rowIndex);
768
+ break;
769
+ }
770
+ }
771
+ this.emit('editGridCancelRow', {
772
+ instance: this,
773
+ component: this.component,
774
+ editRow,
775
+ });
776
+ this.checkValidity(null, true);
777
+ this.redraw();
778
+ if (this.component.rowDrafts) {
779
+ this.checkValidity(this.data, false);
780
+ }
781
+ }
782
+ saveRow(rowIndex, modified) {
783
+ var _a, _b;
784
+ const editRow = this.editRows[rowIndex];
785
+ if (this.options.readOnly) {
786
+ return;
787
+ }
788
+ // After an attempt to save, all the components inside the row should become not pristine
789
+ if (!this.component.rowDrafts) {
790
+ editRow.components.forEach((comp) => comp.setPristine(false));
791
+ }
792
+ const isRowValid = this.validateRow(editRow, true);
793
+ if (!this.component.rowDrafts) {
794
+ if (!isRowValid) {
795
+ return false;
796
+ }
797
+ }
798
+ if (this.saveEditMode) {
799
+ const dataValue = this.dataValue;
800
+ if ((_b = (_a = this.root) === null || _a === void 0 ? void 0 : _a.focusedComponent) === null || _b === void 0 ? void 0 : _b.component.typeChangeEnabled) {
801
+ this.root.focusedComponent = null;
802
+ }
803
+ switch (editRow.state) {
804
+ case EditRowState.New: {
805
+ const newIndex = dataValue.length;
806
+ dataValue.push(editRow.data);
807
+ editRow.components.forEach(component => component.rowIndex = newIndex);
808
+ if (rowIndex !== newIndex) {
809
+ this.editRows.splice(rowIndex, 1);
810
+ this.editRows.splice(newIndex, 0, editRow);
811
+ }
812
+ break;
813
+ }
814
+ case EditRowState.Editing: {
815
+ dataValue[rowIndex] = editRow.data;
816
+ break;
817
+ }
818
+ }
819
+ }
820
+ editRow.state = this.component.rowDrafts && !isRowValid ? EditRowState.Draft : EditRowState.Saved;
821
+ editRow.backup = null;
822
+ this.updateValue();
823
+ this.emit('editGridSaveRow', {
824
+ component: this.component,
825
+ row: editRow.data,
826
+ instance: this
827
+ });
828
+ this.triggerChange({ modified, noPristineChangeOnModified: modified && this.component.rowDrafts, isolateRow: true });
829
+ if (this.component.rowDrafts) {
830
+ editRow.components.forEach(comp => comp.setPristine(this.pristine));
831
+ }
832
+ this.checkValidity(null, true);
833
+ this.redraw();
834
+ if (editRow.alerts) {
835
+ editRow.alerts = false;
836
+ }
837
+ return true;
838
+ }
839
+ beforeFocus(component) {
840
+ if ('beforeFocus' in this.parent) {
841
+ this.parent.beforeFocus(this);
842
+ }
843
+ const relativePath = this.getRelativePath(component.path);
844
+ const arrayPath = (0, utils_1.getArrayFromComponentPath)(relativePath);
845
+ const rowIndex = arrayPath[0];
846
+ let rowToEditIndex = arrayPath[0];
847
+ this.editRows.forEach((row, indexInArray) => {
848
+ if (row.rowIndex === rowIndex) {
849
+ rowToEditIndex = indexInArray;
850
+ }
851
+ });
852
+ if (lodash_1.default.isNumber(rowToEditIndex)) {
853
+ this.editRow(rowToEditIndex);
854
+ }
855
+ }
856
+ updateComponentsRowIndex(components, rowIndex) {
857
+ components.forEach((component, colIndex) => {
858
+ component.rowIndex = rowIndex;
859
+ component.row = `${rowIndex}-${colIndex}`;
860
+ });
861
+ }
862
+ updateRowsComponents(rowIndex) {
863
+ this.editRows.slice(rowIndex).forEach((row, index) => {
864
+ this.updateComponentsRowIndex(row.components, rowIndex + index);
865
+ });
866
+ }
867
+ baseRemoveRow(rowIndex) {
868
+ const editRow = this.editRows[rowIndex];
869
+ editRow.state = EditRowState.Removed;
870
+ this.destroyComponents(false, rowIndex);
871
+ return editRow;
872
+ }
873
+ removeRow(rowIndex, modified) {
874
+ if (this.options.readOnly) {
875
+ return;
876
+ }
877
+ this.clearErrors(rowIndex);
878
+ this.baseRemoveRow(rowIndex);
879
+ this.splice(rowIndex);
880
+ this.emit('editGridDeleteRow', {
881
+ index: rowIndex
882
+ });
883
+ this.editRows.splice(rowIndex, 1);
884
+ this.openWhenEmpty();
885
+ this.updateRowsComponents(rowIndex);
886
+ this.updateValue();
887
+ this.triggerChange({ modified, noPristineChangeOnModified: modified && this.component.rowDrafts, isolateRow: true });
888
+ this.checkValidity(null, true);
889
+ this.checkData();
890
+ this.redraw();
891
+ }
892
+ createRowComponents(row, rowIndex, recreatePartially) {
893
+ // Iterate through existing components and destroy the ones with the same rowIndex.
894
+ if (this.components) {
895
+ for (let i = 0; i < this.components.length; i++) {
896
+ if (this.components[i].rowIndex === rowIndex) {
897
+ this.components[i].destroy();
898
+ this.components.splice(i, 1);
899
+ }
900
+ }
901
+ }
902
+ const currentRowComponents = lodash_1.default.get(this.editRows, `[${rowIndex}].components`, null);
903
+ return this.component.components.map((col, colIndex) => {
904
+ var _a;
905
+ if (recreatePartially && currentRowComponents && this.variableTypeComponentsIndexes.length) {
906
+ const currentComp = currentRowComponents[colIndex];
907
+ const shouldRecreate = lodash_1.default.includes(this.variableTypeComponentsIndexes, colIndex) && (currentComp === null || currentComp === void 0 ? void 0 : currentComp.type) !== ((_a = currentComp === null || currentComp === void 0 ? void 0 : currentComp.component) === null || _a === void 0 ? void 0 : _a.type);
908
+ if (!shouldRecreate) {
909
+ return currentComp;
910
+ }
911
+ col = currentComp.component;
912
+ }
913
+ const column = lodash_1.default.clone(col);
914
+ const options = lodash_1.default.clone(this.options);
915
+ options.name += `[${rowIndex}]`;
916
+ options.row = `${rowIndex}-${colIndex}`;
917
+ options.onChange = (flags = {}, changed, modified) => {
918
+ var _a, _b;
919
+ if (((_a = changed.instance.root) === null || _a === void 0 ? void 0 : _a.id) && (((_b = this.root) === null || _b === void 0 ? void 0 : _b.id) !== changed.instance.root.id)) {
920
+ changed.instance.root.triggerChange(flags, changed, modified);
921
+ }
922
+ else if (!this.component.modal) {
923
+ this.triggerRootChange(flags, changed, modified);
924
+ }
925
+ if (this.inlineEditMode) {
926
+ return;
927
+ }
928
+ const editRow = this.editRows[rowIndex];
929
+ if (editRow === null || editRow === void 0 ? void 0 : editRow.alerts) {
930
+ this.checkData(null, Object.assign(Object.assign({}, flags), { changed,
931
+ rowIndex }), this.data);
932
+ }
933
+ else if (editRow) {
934
+ // If drafts allowed, perform validation silently if there was no attempt to submit a form
935
+ const silentCheck = this.component.rowDrafts && !this.shouldValidateDraft(editRow);
936
+ this.checkRow('checkData', null, Object.assign(Object.assign({}, flags), { changed,
937
+ silentCheck }), editRow.data, editRow.components, silentCheck);
938
+ }
939
+ if (this.variableTypeComponentsIndexes.length) {
940
+ this.checkRowVariableTypeComponents(editRow, rowIndex);
941
+ this.redraw();
942
+ }
943
+ };
944
+ const comp = this.createComponent(lodash_1.default.assign({}, column, { row: options.row }), options, row, null, recreatePartially && currentRowComponents ? currentRowComponents[colIndex] : null);
945
+ comp.rowIndex = rowIndex;
946
+ comp.inEditGrid = true;
947
+ return comp;
948
+ });
949
+ }
950
+ hasOpenRows() {
951
+ return this.editRows.some(row => this.isOpen(row));
952
+ }
953
+ shouldValidateDraft(editRow) {
954
+ var _a, _b;
955
+ // Draft rows should be validated only when there was an attempt to submit a form
956
+ return (editRow.state === EditRowState.Draft &&
957
+ !this.pristine &&
958
+ !((_a = this.root) === null || _a === void 0 ? void 0 : _a.pristine) &&
959
+ !this.hasOpenRows()) ||
960
+ ((_b = this.root) === null || _b === void 0 ? void 0 : _b.submitted);
961
+ }
962
+ shouldValidateRow(editRow, dirty) {
963
+ return this.shouldValidateDraft(editRow) ||
964
+ editRow.state === EditRowState.Editing ||
965
+ editRow.alerts ||
966
+ dirty;
967
+ }
968
+ validateRow(editRow, dirty, forceSilentCheck) {
969
+ var _a;
970
+ let valid = true;
971
+ const errorsSnapshot = [...this.errors];
972
+ if (this.shouldValidateRow(editRow, dirty)) {
973
+ editRow.components.forEach(comp => {
974
+ const silentCheck = (this.component.rowDrafts && !this.shouldValidateDraft(editRow)) || forceSilentCheck;
975
+ valid &= comp.checkValidity(null, dirty, null, silentCheck);
976
+ });
977
+ }
978
+ if (this.component.validate && this.component.validate.row) {
979
+ valid = this.evaluate(this.component.validate.row, {
980
+ valid,
981
+ row: editRow.data
982
+ }, 'valid', true);
983
+ if (valid.toString() !== 'true') {
984
+ editRow.error = valid;
985
+ valid = false;
986
+ }
987
+ else {
988
+ editRow.error = null;
989
+ }
990
+ if (valid === null) {
991
+ valid = `Invalid row validation for ${this.key}`;
992
+ }
993
+ }
994
+ editRow.errors = !valid ? this.errors.filter((err) => !errorsSnapshot.includes(err)) : null;
995
+ if (!this.component.rowDrafts || ((_a = this.root) === null || _a === void 0 ? void 0 : _a.submitted)) {
996
+ this.showRowErrorAlerts(editRow, !!valid);
997
+ }
998
+ return !!valid;
999
+ }
1000
+ showRowErrorAlerts(editRow, valid) {
1001
+ var _a;
1002
+ if (editRow.alerts) {
1003
+ if (this.alert) {
1004
+ if (((_a = editRow.errors) === null || _a === void 0 ? void 0 : _a.length) && !valid) {
1005
+ this.alert.showErrors(editRow.errors, false);
1006
+ editRow.alerts = true;
1007
+ }
1008
+ else {
1009
+ this.alert.clear();
1010
+ }
1011
+ }
1012
+ }
1013
+ }
1014
+ checkValidity(data, dirty, row, silentCheck) {
1015
+ data = data || this.rootValue;
1016
+ row = row || this.data;
1017
+ if (!this.checkCondition(row, data)) {
1018
+ this.setCustomValidity('');
1019
+ return true;
1020
+ }
1021
+ return this.checkComponentValidity(data, dirty, row, { silentCheck });
1022
+ }
1023
+ checkComponentValidity(data, dirty, row, options = {}) {
1024
+ var _a, _b, _c;
1025
+ const { silentCheck } = options;
1026
+ const errorsLength = this.errors.length;
1027
+ const superValid = super.checkComponentValidity(data, dirty, row, options);
1028
+ // If super tells us that component invalid and there is no need to update alerts, just return false
1029
+ if (!superValid && (!this.alert && !this.hasOpenRows())) {
1030
+ return false;
1031
+ }
1032
+ if (this.shouldSkipValidation(data, dirty, row)) {
1033
+ return true;
1034
+ }
1035
+ let rowsValid = true;
1036
+ let rowsEditing = false;
1037
+ this.editRows.forEach((editRow, index) => {
1038
+ // Trigger all errors on the row.
1039
+ const rowValid = this.validateRow(editRow, dirty, silentCheck);
1040
+ rowsValid &= rowValid;
1041
+ if (this.rowRefs) {
1042
+ const rowContainer = this.rowRefs[index];
1043
+ if (rowContainer) {
1044
+ const errorContainer = rowContainer.querySelector('.editgrid-row-error');
1045
+ if (!rowValid && errorContainer && (!this.component.rowDrafts || this.shouldValidateDraft(editRow))) {
1046
+ this.addClass(errorContainer, 'help-block');
1047
+ errorContainer.textContent = this.t(this.errorMessage('invalidRowError'));
1048
+ }
1049
+ else if (errorContainer) {
1050
+ errorContainer.textContent = '';
1051
+ }
1052
+ }
1053
+ }
1054
+ // If this is a dirty check, and any rows are still editing, we need to throw validation error.
1055
+ rowsEditing |= (dirty && this.isOpen(editRow));
1056
+ });
1057
+ if (!rowsValid) {
1058
+ if (!silentCheck && (!this.component.rowDrafts || ((_a = this.root) === null || _a === void 0 ? void 0 : _a.submitted))) {
1059
+ this.setCustomValidity(this.t(this.errorMessage('invalidRowsError')), dirty);
1060
+ // Delete this class, because otherwise all the components inside EditGrid will has red border even if they are valid
1061
+ this.removeClass(this.element, 'has-error');
1062
+ }
1063
+ return false;
1064
+ }
1065
+ else if (rowsEditing && this.saveEditMode) {
1066
+ this.setCustomValidity(this.t(this.errorMessage('unsavedRowsError')), dirty);
1067
+ return false;
1068
+ }
1069
+ const message = this.invalid || this.invalidMessage(data, dirty);
1070
+ if (((_b = this.errors) === null || _b === void 0 ? void 0 : _b.length) !== errorsLength && ((_c = this.root) === null || _c === void 0 ? void 0 : _c.submitted) && !message) {
1071
+ this.setCustomValidity(message, dirty);
1072
+ this.root.showErrors();
1073
+ }
1074
+ else {
1075
+ this.setCustomValidity(message, dirty);
1076
+ }
1077
+ return superValid;
1078
+ }
1079
+ changeState(changed, flags) {
1080
+ if (changed || (flags.resetValue && this.component.modalEdit)) {
1081
+ this.rebuild();
1082
+ }
1083
+ else {
1084
+ this.redraw();
1085
+ }
1086
+ }
1087
+ setValue(value, flags = {}) {
1088
+ if (!value) {
1089
+ value = this.defaultValue;
1090
+ }
1091
+ if (!Array.isArray(value)) {
1092
+ if (typeof value === 'object') {
1093
+ value = [value];
1094
+ }
1095
+ else {
1096
+ return false;
1097
+ }
1098
+ }
1099
+ const changed = this.hasChanged(value, this.dataValue);
1100
+ flags.noValidate = !changed;
1101
+ if (this.parent) {
1102
+ this.parent.checkComponentConditions();
1103
+ }
1104
+ this.dataValue = value;
1105
+ // Refresh editRow data when data changes.
1106
+ this.dataValue.forEach((row, rowIndex) => {
1107
+ const editRow = this.editRows[rowIndex];
1108
+ if (editRow) {
1109
+ editRow.data = row;
1110
+ this.restoreRowContext(editRow, flags);
1111
+ editRow.state = EditRowState.Saved;
1112
+ editRow.backup = null;
1113
+ editRow.error = null;
1114
+ }
1115
+ else {
1116
+ this.editRows[rowIndex] = {
1117
+ components: this.lazyLoad ? [] : this.createRowComponents(row, rowIndex),
1118
+ data: row,
1119
+ state: EditRowState.Saved,
1120
+ backup: null,
1121
+ error: null,
1122
+ };
1123
+ }
1124
+ });
1125
+ let { length: dataLength } = this.dataValue;
1126
+ // If the last row is a new row, then do not remove it.
1127
+ if (this.editRows[dataLength] && (this.editRows[dataLength].state === EditRowState.New)) {
1128
+ dataLength = (dataLength + 1);
1129
+ }
1130
+ this.editRows.slice(dataLength).forEach((editRow, index) => this.baseRemoveRow(dataLength + index));
1131
+ this.editRows = this.editRows.slice(0, dataLength);
1132
+ this.openWhenEmpty();
1133
+ this.updateOnChange(flags, changed);
1134
+ this.checkData();
1135
+ this.changeState(changed, flags);
1136
+ return changed;
1137
+ }
1138
+ openWhenEmpty() {
1139
+ const shouldBeOpened = !this.dataValue.length && this.component.openWhenEmpty;
1140
+ const hasNoRows = !this.editRows.length;
1141
+ if (hasNoRows && shouldBeOpened && !this.builderMode) {
1142
+ const dataObj = {};
1143
+ this.createRow(dataObj, 0);
1144
+ }
1145
+ }
1146
+ restoreRowContext(editRow, flags = {}) {
1147
+ editRow.components.forEach((component) => {
1148
+ component.data = editRow.data;
1149
+ this.setNestedValue(component, editRow.data, flags);
1150
+ });
1151
+ }
1152
+ emptyRows() {
1153
+ this.editRows.forEach((editRow, index) => this.destroyComponents(false, index));
1154
+ this.editRows = [];
1155
+ }
1156
+ resetValue() {
1157
+ super.resetValue();
1158
+ this.emptyRows();
1159
+ }
1160
+ }
1161
+ exports.default = EditGridComponent;
1162
+ EditGridComponent.prototype.hasChanged = Component_1.default.prototype.hasChanged;