@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,1468 @@
1
+ "use strict";
2
+ /* global $ */
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
22
+ var __importStar = (this && this.__importStar) || function (mod) {
23
+ if (mod && mod.__esModule) return mod;
24
+ var result = {};
25
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
26
+ __setModuleDefault(result, mod);
27
+ return result;
28
+ };
29
+ var __importDefault = (this && this.__importDefault) || function (mod) {
30
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
+ };
32
+ Object.defineProperty(exports, "__esModule", { value: true });
33
+ exports.observeOverload = exports.withSwitch = exports.firstNonNil = exports.unfold = exports.bootstrapVersion = exports.uniqueKey = exports.iterateKey = exports.delay = exports.fieldData = exports.getCurrencyAffixes = exports.getNumberDecimalLimit = exports.getNumberSeparators = exports.matchInputMask = exports.unmaskValue = exports.getInputMask = exports.convertFormatToMask = exports.convertFormatToMoment = exports.convertFormatToFlatpickr = exports.getLocaleDateFormatInfo = exports.formatOffset = exports.formatDate = exports.momentDate = exports.loadZones = exports.shouldLoadZones = exports.zonesLoaded = exports.offsetDate = exports.currentTimezone = exports.isValidDate = exports.getDateSetting = exports.guid = exports.uniqueName = exports.convertStringToHTMLElement = exports.unescapeHTML = exports.setActionProperty = exports.checkTrigger = exports.checkCondition = exports.checkJsonConditional = exports.checkCustomConditional = exports.getComponentActualValue = exports.checkSimpleConditional = exports.checkCalculated = exports.isMongoId = exports.boolValue = exports.getElementRect = exports.getPropertyValue = exports.getRandomComponentId = exports.evaluate = exports.moment = exports.ConditionOperators = exports.jsonLogic = void 0;
34
+ exports._ = exports.getFocusableElements = exports.isInsideScopingComponent = exports.isPromise = exports.getDataParentComponent = exports.getComponentPath = exports.getComponentPathWithoutIndicies = exports.getBrowserInfo = exports.getIEBrowserVersion = exports.round = exports.getStringFromComponentPath = exports.hasInvalidComponent = exports.getArrayFromComponentPath = exports.isInputComponent = exports.interpolate = exports.Evaluator = exports.fastCloneDeep = exports.sanitize = exports.translateHTMLTemplate = exports.getContextButtons = exports.getContextComponents = void 0;
35
+ const lodash_1 = __importDefault(require("lodash"));
36
+ exports._ = lodash_1.default;
37
+ const fetch_ponyfill_1 = __importDefault(require("fetch-ponyfill"));
38
+ const json_logic_js_1 = __importDefault(require("json-logic-js"));
39
+ exports.jsonLogic = json_logic_js_1.default;
40
+ const moment_timezone_1 = __importDefault(require("moment-timezone/moment-timezone"));
41
+ const jstimezonedetect_1 = __importDefault(require("jstimezonedetect"));
42
+ const operators_1 = require("./jsonlogic/operators");
43
+ const native_promise_only_1 = __importDefault(require("native-promise-only"));
44
+ const dompurify_1 = __importDefault(require("dompurify"));
45
+ const formUtils_1 = require("./formUtils");
46
+ const Evaluator_1 = __importDefault(require("./Evaluator"));
47
+ exports.Evaluator = Evaluator_1.default;
48
+ const conditionOperators_1 = __importDefault(require("./conditionOperators"));
49
+ exports.ConditionOperators = conditionOperators_1.default;
50
+ const interpolate = Evaluator_1.default.interpolate;
51
+ exports.interpolate = interpolate;
52
+ const { fetch } = (0, fetch_ponyfill_1.default)({
53
+ Promise: native_promise_only_1.default
54
+ });
55
+ __exportStar(require("./formUtils"), exports);
56
+ // Configure JsonLogic
57
+ operators_1.lodashOperators.forEach((name) => json_logic_js_1.default.add_operation(`_${name}`, lodash_1.default[name]));
58
+ // Retrieve Any Date
59
+ json_logic_js_1.default.add_operation('getDate', (date) => {
60
+ return (0, moment_timezone_1.default)(date).toISOString();
61
+ });
62
+ // Set Relative Minimum Date
63
+ json_logic_js_1.default.add_operation('relativeMinDate', (relativeMinDate) => {
64
+ return (0, moment_timezone_1.default)().subtract(relativeMinDate, 'days').toISOString();
65
+ });
66
+ // Set Relative Maximum Date
67
+ json_logic_js_1.default.add_operation('relativeMaxDate', (relativeMaxDate) => {
68
+ return (0, moment_timezone_1.default)().add(relativeMaxDate, 'days').toISOString();
69
+ });
70
+ exports.moment = __importStar(require("moment-timezone/moment-timezone"));
71
+ function setPathToComponentAndPerentSchema(component) {
72
+ component.path = getComponentPath(component);
73
+ const dataParent = getDataParentComponent(component);
74
+ if (dataParent && typeof dataParent === 'object') {
75
+ dataParent.path = getComponentPath(dataParent);
76
+ }
77
+ }
78
+ /**
79
+ * Evaluate a method.
80
+ *
81
+ * @param func
82
+ * @param args
83
+ * @return {*}
84
+ */
85
+ function evaluate(func, args, ret, tokenize) {
86
+ let returnVal = null;
87
+ const component = args.component ? args.component : { key: 'unknown' };
88
+ if (!args.form && args.instance) {
89
+ args.form = lodash_1.default.get(args.instance, 'root._form', {});
90
+ }
91
+ const componentKey = component.key;
92
+ if (typeof func === 'string') {
93
+ if (ret) {
94
+ func += `;return ${ret}`;
95
+ }
96
+ if (tokenize) {
97
+ // Replace all {{ }} references with actual data.
98
+ func = func.replace(/({{\s+(.*)\s+}})/, (match, $1, $2) => {
99
+ if ($2.indexOf('data.') === 0) {
100
+ return lodash_1.default.get(args.data, $2.replace('data.', ''));
101
+ }
102
+ else if ($2.indexOf('row.') === 0) {
103
+ return lodash_1.default.get(args.row, $2.replace('row.', ''));
104
+ }
105
+ // Support legacy...
106
+ return lodash_1.default.get(args.data, $2);
107
+ });
108
+ }
109
+ try {
110
+ func = Evaluator_1.default.evaluator(func, args);
111
+ args = lodash_1.default.values(args);
112
+ }
113
+ catch (err) {
114
+ console.warn(`An error occured within the custom function for ${componentKey}`, err);
115
+ returnVal = null;
116
+ func = false;
117
+ }
118
+ }
119
+ if (typeof func === 'function') {
120
+ try {
121
+ returnVal = Evaluator_1.default.evaluate(func, args);
122
+ }
123
+ catch (err) {
124
+ returnVal = null;
125
+ console.warn(`An error occured within custom function for ${componentKey}`, err);
126
+ }
127
+ }
128
+ else if (typeof func === 'object') {
129
+ try {
130
+ returnVal = json_logic_js_1.default.apply(func, args);
131
+ }
132
+ catch (err) {
133
+ returnVal = null;
134
+ console.warn(`An error occured within custom function for ${componentKey}`, err);
135
+ }
136
+ }
137
+ else if (func) {
138
+ console.warn(`Unknown function type for ${componentKey}`);
139
+ }
140
+ return returnVal;
141
+ }
142
+ exports.evaluate = evaluate;
143
+ function getRandomComponentId() {
144
+ return `e${Math.random().toString(36).substring(7)}`;
145
+ }
146
+ exports.getRandomComponentId = getRandomComponentId;
147
+ /**
148
+ * Get a property value of an element.
149
+ *
150
+ * @param style
151
+ * @param prop
152
+ * @return {number}
153
+ */
154
+ function getPropertyValue(style, prop) {
155
+ let value = style.getPropertyValue(prop);
156
+ value = value ? value.replace(/[^0-9.]/g, '') : '0';
157
+ return parseFloat(value);
158
+ }
159
+ exports.getPropertyValue = getPropertyValue;
160
+ /**
161
+ * Get an elements bounding rectagle.
162
+ *
163
+ * @param element
164
+ * @return {{x: string, y: string, width: string, height: string}}
165
+ */
166
+ function getElementRect(element) {
167
+ const style = window.getComputedStyle(element, null);
168
+ return {
169
+ x: getPropertyValue(style, 'left'),
170
+ y: getPropertyValue(style, 'top'),
171
+ width: getPropertyValue(style, 'width'),
172
+ height: getPropertyValue(style, 'height')
173
+ };
174
+ }
175
+ exports.getElementRect = getElementRect;
176
+ /**
177
+ * Determines the boolean value of a setting.
178
+ *
179
+ * @param value
180
+ * @return {boolean}
181
+ */
182
+ function boolValue(value) {
183
+ if (lodash_1.default.isBoolean(value)) {
184
+ return value;
185
+ }
186
+ else if (lodash_1.default.isString(value)) {
187
+ return (value.toLowerCase() === 'true');
188
+ }
189
+ else {
190
+ return !!value;
191
+ }
192
+ }
193
+ exports.boolValue = boolValue;
194
+ /**
195
+ * Check to see if an ID is a mongoID.
196
+ * @param text
197
+ * @return {Array|{index: number, input: string}|Boolean|*}
198
+ */
199
+ function isMongoId(text) {
200
+ return text.toString().match(/^[0-9a-fA-F]{24}$/);
201
+ }
202
+ exports.isMongoId = isMongoId;
203
+ /**
204
+ * Checks the calculated value for a provided component and data.
205
+ *
206
+ * @param {Object} component
207
+ * The component to check for the calculated value.
208
+ * @param {Object} submission
209
+ * A submission object.
210
+ * @param data
211
+ * The full submission data.
212
+ */
213
+ function checkCalculated(component, submission, rowData) {
214
+ // Process calculated value stuff if present.
215
+ if (component.calculateValue) {
216
+ lodash_1.default.set(rowData, component.key, evaluate(component.calculateValue, {
217
+ value: undefined,
218
+ data: submission ? submission.data : rowData,
219
+ row: rowData,
220
+ util: this,
221
+ component
222
+ }, 'value'));
223
+ }
224
+ }
225
+ exports.checkCalculated = checkCalculated;
226
+ /**
227
+ * Check if a simple conditional evaluates to true.
228
+ *
229
+ * @param condition
230
+ * @param condition
231
+ * @param row
232
+ * @param data
233
+ * @param instance
234
+ * @returns {boolean}
235
+ */
236
+ function checkSimpleConditional(component, condition, row, data, instance) {
237
+ if (condition.when) {
238
+ const value = getComponentActualValue(condition.when, data, row);
239
+ const eq = String(condition.eq);
240
+ const show = String(condition.show);
241
+ // Special check for selectboxes component.
242
+ if (lodash_1.default.isObject(value) && lodash_1.default.has(value, condition.eq)) {
243
+ return String(value[condition.eq]) === show;
244
+ }
245
+ // FOR-179 - Check for multiple values.
246
+ if (Array.isArray(value) && value.map(String).includes(eq)) {
247
+ return show === 'true';
248
+ }
249
+ return (String(value) === eq) === (show === 'true');
250
+ }
251
+ else {
252
+ const { conditions = [], conjunction = 'all', show = true } = condition;
253
+ if (!conditions.length) {
254
+ return true;
255
+ }
256
+ const conditionsResult = lodash_1.default.map(conditions, (cond) => {
257
+ const { value: comparedValue, operator, component: conditionComponentPath } = cond;
258
+ if (!conditionComponentPath) {
259
+ return true;
260
+ }
261
+ const value = getComponentActualValue(conditionComponentPath, data, row);
262
+ const СonditionOperator = conditionOperators_1.default[operator];
263
+ return СonditionOperator
264
+ ? new СonditionOperator().getResult({ value, comparedValue, instance, component, conditionComponentPath })
265
+ : true;
266
+ });
267
+ let result = false;
268
+ switch (conjunction) {
269
+ case 'any':
270
+ result = lodash_1.default.some(conditionsResult, res => !!res);
271
+ break;
272
+ default:
273
+ result = lodash_1.default.every(conditionsResult, res => !!res);
274
+ }
275
+ return show ? result : !result;
276
+ }
277
+ }
278
+ exports.checkSimpleConditional = checkSimpleConditional;
279
+ function getComponentActualValue(compPath, data, row) {
280
+ let value = null;
281
+ if (row) {
282
+ value = (0, formUtils_1.getValue)({ data: row }, compPath);
283
+ }
284
+ if (data && lodash_1.default.isNil(value)) {
285
+ value = (0, formUtils_1.getValue)({ data }, compPath);
286
+ }
287
+ // FOR-400 - Fix issue where falsey values were being evaluated as show=true
288
+ if (lodash_1.default.isNil(value) || (lodash_1.default.isObject(value) && lodash_1.default.isEmpty(value))) {
289
+ value = '';
290
+ }
291
+ return value;
292
+ }
293
+ exports.getComponentActualValue = getComponentActualValue;
294
+ /**
295
+ * Check custom javascript conditional.
296
+ *
297
+ * @param component
298
+ * @param custom
299
+ * @param row
300
+ * @param data
301
+ * @returns {*}
302
+ */
303
+ function checkCustomConditional(component, custom, row, data, form, variable, onError, instance) {
304
+ if (typeof custom === 'string') {
305
+ custom = `var ${variable} = true; ${custom}; return ${variable};`;
306
+ }
307
+ const value = (instance && instance.evaluate) ?
308
+ instance.evaluate(custom, { row, data, form }) :
309
+ evaluate(custom, { row, data, form });
310
+ if (value === null) {
311
+ return onError;
312
+ }
313
+ return value;
314
+ }
315
+ exports.checkCustomConditional = checkCustomConditional;
316
+ function checkJsonConditional(component, json, row, data, form, onError) {
317
+ try {
318
+ return json_logic_js_1.default.apply(json, {
319
+ data,
320
+ row,
321
+ form,
322
+ _: lodash_1.default,
323
+ });
324
+ }
325
+ catch (err) {
326
+ console.warn(`An error occurred in jsonLogic advanced condition for ${component.key}`, err);
327
+ return onError;
328
+ }
329
+ }
330
+ exports.checkJsonConditional = checkJsonConditional;
331
+ function getRow(component, row, instance, conditional) {
332
+ var _a;
333
+ const condition = conditional || component.conditional;
334
+ // If no component's instance passed (happens only in 6.x server), calculate its path based on the schema
335
+ if (!instance) {
336
+ instance = lodash_1.default.cloneDeep(component);
337
+ setPathToComponentAndPerentSchema(instance);
338
+ }
339
+ const dataParent = getDataParentComponent(instance);
340
+ const parentPath = dataParent ? getComponentPath(dataParent) : null;
341
+ const isTriggerCondtionComponentPath = condition.when || !condition.conditions
342
+ ? (_a = condition.when) === null || _a === void 0 ? void 0 : _a.startsWith(parentPath)
343
+ : lodash_1.default.some(condition.conditions, cond => cond.component.startsWith(parentPath));
344
+ if (dataParent && isTriggerCondtionComponentPath) {
345
+ const newRow = {};
346
+ lodash_1.default.set(newRow, parentPath, row);
347
+ row = newRow;
348
+ }
349
+ return row;
350
+ }
351
+ /**
352
+ * Checks the conditions for a provided component and data.
353
+ *
354
+ * @param component
355
+ * The component to check for the condition.
356
+ * @param row
357
+ * The data within a row
358
+ * @param data
359
+ * The full submission data.
360
+ *
361
+ * @returns {boolean}
362
+ */
363
+ function checkCondition(component, row, data, form, instance) {
364
+ const { customConditional, conditional } = component;
365
+ if (customConditional) {
366
+ return checkCustomConditional(component, customConditional, row, data, form, 'show', true, instance);
367
+ }
368
+ else if (conditional && (conditional.when || lodash_1.default.some(conditional.conditions || [], condition => condition.component && condition.operator))) {
369
+ row = getRow(component, row, instance);
370
+ return checkSimpleConditional(component, conditional, row, data, instance);
371
+ }
372
+ else if (conditional && conditional.json) {
373
+ return checkJsonConditional(component, conditional.json, row, data, form, true);
374
+ }
375
+ // Default to show.
376
+ return true;
377
+ }
378
+ exports.checkCondition = checkCondition;
379
+ /**
380
+ * Test a trigger on a component.
381
+ *
382
+ * @param component
383
+ * @param action
384
+ * @param data
385
+ * @param row
386
+ * @returns {mixed}
387
+ */
388
+ function checkTrigger(component, trigger, row, data, form, instance) {
389
+ // If trigger is empty, don't fire it
390
+ if (!trigger[trigger.type]) {
391
+ return false;
392
+ }
393
+ switch (trigger.type) {
394
+ case 'simple':
395
+ row = getRow(component, row, instance, trigger.simple);
396
+ return checkSimpleConditional(component, trigger.simple, row, data, instance);
397
+ case 'javascript':
398
+ return checkCustomConditional(component, trigger.javascript, row, data, form, 'result', false, instance);
399
+ case 'json':
400
+ return checkJsonConditional(component, trigger.json, row, data, form, false);
401
+ }
402
+ // If none of the types matched, don't fire the trigger.
403
+ return false;
404
+ }
405
+ exports.checkTrigger = checkTrigger;
406
+ function setActionProperty(component, action, result, row, data, instance) {
407
+ const property = action.property.value;
408
+ switch (action.property.type) {
409
+ case 'boolean': {
410
+ const currentValue = lodash_1.default.get(component, property, false).toString();
411
+ const newValue = action.state.toString();
412
+ if (currentValue !== newValue) {
413
+ lodash_1.default.set(component, property, newValue === 'true');
414
+ }
415
+ break;
416
+ }
417
+ case 'string': {
418
+ const evalData = {
419
+ data,
420
+ row,
421
+ component,
422
+ result,
423
+ };
424
+ const textValue = action.property.component ? action[action.property.component] : action.text;
425
+ const currentValue = lodash_1.default.get(component, property, '');
426
+ const newValue = (instance && instance.interpolate)
427
+ ? instance.interpolate(textValue, evalData)
428
+ : Evaluator_1.default.interpolate(textValue, evalData);
429
+ if (newValue !== currentValue) {
430
+ lodash_1.default.set(component, property, newValue);
431
+ }
432
+ break;
433
+ }
434
+ }
435
+ return component;
436
+ }
437
+ exports.setActionProperty = setActionProperty;
438
+ /**
439
+ * Unescape HTML characters like &lt, &gt, &amp and etc.
440
+ * @param str
441
+ * @returns {string}
442
+ */
443
+ function unescapeHTML(str) {
444
+ if (typeof window === 'undefined' || !('DOMParser' in window)) {
445
+ return str;
446
+ }
447
+ const doc = new window.DOMParser().parseFromString(str, 'text/html');
448
+ return doc.documentElement.textContent;
449
+ }
450
+ exports.unescapeHTML = unescapeHTML;
451
+ /**
452
+ * Make HTML element from string
453
+ * @param str
454
+ * @param selector
455
+ * @returns {HTMLElement}
456
+ */
457
+ function convertStringToHTMLElement(str, selector) {
458
+ const doc = new window.DOMParser().parseFromString(str, 'text/html');
459
+ return doc.body.querySelector(selector);
460
+ }
461
+ exports.convertStringToHTMLElement = convertStringToHTMLElement;
462
+ /**
463
+ * Make a filename guaranteed to be unique.
464
+ * @param name
465
+ * @param template
466
+ * @param evalContext
467
+ * @returns {string}
468
+ */
469
+ function uniqueName(name, template, evalContext) {
470
+ template = template || '{{fileName}}-{{guid}}';
471
+ //include guid in template anyway, to prevent overwriting issue if filename matches existing file
472
+ if (!template.includes('{{guid}}')) {
473
+ template = `${template}-{{guid}}`;
474
+ }
475
+ const parts = name.split('.');
476
+ let fileName = parts.slice(0, parts.length - 1).join('.');
477
+ const extension = parts.length > 1
478
+ ? `.${lodash_1.default.last(parts)}`
479
+ : '';
480
+ //allow only 100 characters from original name to avoid issues with filename length restrictions
481
+ fileName = fileName.substr(0, 100);
482
+ evalContext = Object.assign(evalContext || {}, {
483
+ fileName,
484
+ guid: guid()
485
+ });
486
+ //only letters, numbers, dots, dashes, underscores and spaces are allowed. Anything else will be replaced with dash
487
+ const uniqueName = `${Evaluator_1.default.interpolate(template, evalContext)}${extension}`.replace(/[^0-9a-zA-Z.\-_ ]/g, '-');
488
+ return uniqueName;
489
+ }
490
+ exports.uniqueName = uniqueName;
491
+ function guid() {
492
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
493
+ const r = Math.random() * 16 | 0;
494
+ const v = c === 'x'
495
+ ? r
496
+ : (r & 0x3 | 0x8);
497
+ return v.toString(16);
498
+ });
499
+ }
500
+ exports.guid = guid;
501
+ /**
502
+ * Return a translated date setting.
503
+ *
504
+ * @param date
505
+ * @return {(null|Date)}
506
+ */
507
+ function getDateSetting(date) {
508
+ if (lodash_1.default.isNil(date) || lodash_1.default.isNaN(date) || date === '') {
509
+ return null;
510
+ }
511
+ if (date instanceof Date) {
512
+ return date;
513
+ }
514
+ else if (typeof date.toDate === 'function') {
515
+ return date.isValid() ? date.toDate() : null;
516
+ }
517
+ let dateSetting = ((typeof date !== 'string') || (date.indexOf('moment(') === -1)) ? (0, moment_timezone_1.default)(date) : null;
518
+ if (dateSetting && dateSetting.isValid()) {
519
+ return dateSetting.toDate();
520
+ }
521
+ dateSetting = null;
522
+ try {
523
+ const value = Evaluator_1.default.evaluator(`return ${date};`, 'moment')(moment_timezone_1.default);
524
+ if (typeof value === 'string') {
525
+ dateSetting = (0, moment_timezone_1.default)(value);
526
+ }
527
+ else if (typeof value.toDate === 'function') {
528
+ dateSetting = (0, moment_timezone_1.default)(value.toDate().toUTCString());
529
+ }
530
+ else if (value instanceof Date) {
531
+ dateSetting = (0, moment_timezone_1.default)(value);
532
+ }
533
+ }
534
+ catch (e) {
535
+ return null;
536
+ }
537
+ if (!dateSetting) {
538
+ return null;
539
+ }
540
+ // Ensure this is a date.
541
+ if (!dateSetting.isValid()) {
542
+ return null;
543
+ }
544
+ return dateSetting.toDate();
545
+ }
546
+ exports.getDateSetting = getDateSetting;
547
+ function isValidDate(date) {
548
+ return lodash_1.default.isDate(date) && !lodash_1.default.isNaN(date.getDate());
549
+ }
550
+ exports.isValidDate = isValidDate;
551
+ /**
552
+ * Get the current timezone string.
553
+ *
554
+ * @return {string}
555
+ */
556
+ function currentTimezone() {
557
+ if (moment_timezone_1.default.currentTimezone) {
558
+ return moment_timezone_1.default.currentTimezone;
559
+ }
560
+ moment_timezone_1.default.currentTimezone = jstimezonedetect_1.default.determine().name();
561
+ return moment_timezone_1.default.currentTimezone;
562
+ }
563
+ exports.currentTimezone = currentTimezone;
564
+ /**
565
+ * Get an offset date provided a date object and timezone object.
566
+ *
567
+ * @param date
568
+ * @param timezone
569
+ * @return {Date}
570
+ */
571
+ function offsetDate(date, timezone) {
572
+ if (timezone === 'UTC') {
573
+ return {
574
+ date: new Date(date.getTime() + (date.getTimezoneOffset() * 60000)),
575
+ abbr: 'UTC'
576
+ };
577
+ }
578
+ const dateMoment = (0, moment_timezone_1.default)(date).tz(timezone);
579
+ return {
580
+ date: new Date(date.getTime() + ((dateMoment.utcOffset() + date.getTimezoneOffset()) * 60000)),
581
+ abbr: dateMoment.format('z')
582
+ };
583
+ }
584
+ exports.offsetDate = offsetDate;
585
+ /**
586
+ * Returns if the zones are loaded.
587
+ *
588
+ * @return {boolean}
589
+ */
590
+ function zonesLoaded() {
591
+ return moment_timezone_1.default.zonesLoaded;
592
+ }
593
+ exports.zonesLoaded = zonesLoaded;
594
+ /**
595
+ * Returns if we should load the zones.
596
+ *
597
+ * @param timezone
598
+ * @return {boolean}
599
+ */
600
+ function shouldLoadZones(timezone) {
601
+ if (timezone === currentTimezone() || timezone === 'UTC') {
602
+ return false;
603
+ }
604
+ return true;
605
+ }
606
+ exports.shouldLoadZones = shouldLoadZones;
607
+ /**
608
+ * Externally load the timezone data.
609
+ *
610
+ * @return {Promise<any> | *}
611
+ */
612
+ function loadZones(url, timezone) {
613
+ if (timezone && !shouldLoadZones(timezone)) {
614
+ // Return non-resolving promise.
615
+ return new native_promise_only_1.default(lodash_1.default.noop);
616
+ }
617
+ if (moment_timezone_1.default.zonesPromise) {
618
+ return moment_timezone_1.default.zonesPromise;
619
+ }
620
+ return moment_timezone_1.default.zonesPromise = fetch(url)
621
+ .then(resp => resp.json().then(zones => {
622
+ moment_timezone_1.default.tz.load(zones);
623
+ moment_timezone_1.default.zonesLoaded = true;
624
+ // Trigger a global event that the timezones have finished loading.
625
+ if (document && document.createEvent && document.body && document.body.dispatchEvent) {
626
+ var event = document.createEvent('Event');
627
+ event.initEvent('zonesLoaded', true, true);
628
+ document.body.dispatchEvent(event);
629
+ }
630
+ }));
631
+ }
632
+ exports.loadZones = loadZones;
633
+ /**
634
+ * Get the moment date object for translating dates with timezones.
635
+ *
636
+ * @param value
637
+ * @param format
638
+ * @param timezone
639
+ * @return {*}
640
+ */
641
+ function momentDate(value, format, timezone) {
642
+ const momentDate = (0, moment_timezone_1.default)(value);
643
+ if (!timezone) {
644
+ return momentDate;
645
+ }
646
+ if (timezone === 'UTC') {
647
+ timezone = 'Etc/UTC';
648
+ }
649
+ if ((timezone !== currentTimezone() || (format && format.match(/\s(z$|z\s)/))) && moment_timezone_1.default.zonesLoaded) {
650
+ return momentDate.tz(timezone);
651
+ }
652
+ return momentDate;
653
+ }
654
+ exports.momentDate = momentDate;
655
+ /**
656
+ * Format a date provided a value, format, and timezone object.
657
+ *
658
+ * @param value
659
+ * @param format
660
+ * @param timezone
661
+ * @return {string}
662
+ */
663
+ function formatDate(timezonesUrl, value, format, timezone, flatPickrInputFormat) {
664
+ const momentDate = (0, moment_timezone_1.default)(value, flatPickrInputFormat || undefined);
665
+ if (timezone === currentTimezone()) {
666
+ // See if our format contains a "z" timezone character.
667
+ if (format.match(/\s(z$|z\s)/)) {
668
+ loadZones(timezonesUrl);
669
+ if (moment_timezone_1.default.zonesLoaded) {
670
+ return momentDate.tz(timezone).format(convertFormatToMoment(format));
671
+ }
672
+ else {
673
+ return momentDate.format(convertFormatToMoment(format.replace(/\s(z$|z\s)/, '')));
674
+ }
675
+ }
676
+ // Return the standard format.
677
+ return momentDate.format(convertFormatToMoment(format));
678
+ }
679
+ if (timezone === 'UTC') {
680
+ const offset = offsetDate(momentDate.toDate(), 'UTC');
681
+ return `${(0, moment_timezone_1.default)(offset.date).format(convertFormatToMoment(format))} UTC`;
682
+ }
683
+ // Load the zones since we need timezone information.
684
+ loadZones(timezonesUrl);
685
+ if (moment_timezone_1.default.zonesLoaded && timezone) {
686
+ return momentDate.tz(timezone).format(`${convertFormatToMoment(format)} z`);
687
+ }
688
+ else {
689
+ return momentDate.format(convertFormatToMoment(format));
690
+ }
691
+ }
692
+ exports.formatDate = formatDate;
693
+ /**
694
+ * Pass a format function to format within a timezone.
695
+ *
696
+ * @param formatFn
697
+ * @param date
698
+ * @param format
699
+ * @param timezone
700
+ * @return {string}
701
+ */
702
+ function formatOffset(timezonesUrl, formatFn, date, format, timezone) {
703
+ if (timezone === currentTimezone()) {
704
+ return formatFn(date, format);
705
+ }
706
+ if (timezone === 'UTC') {
707
+ return `${formatFn(offsetDate(date, 'UTC').date, format)} UTC`;
708
+ }
709
+ // Load the zones since we need timezone information.
710
+ loadZones(timezonesUrl);
711
+ if (moment_timezone_1.default.zonesLoaded) {
712
+ const offset = offsetDate(date, timezone);
713
+ return `${formatFn(offset.date, format)} ${offset.abbr}`;
714
+ }
715
+ else {
716
+ return formatFn(date, format);
717
+ }
718
+ }
719
+ exports.formatOffset = formatOffset;
720
+ function getLocaleDateFormatInfo(locale) {
721
+ const formatInfo = {};
722
+ const day = 21;
723
+ const exampleDate = new Date(2017, 11, day);
724
+ const localDateString = exampleDate.toLocaleDateString(locale);
725
+ formatInfo.dayFirst = localDateString.slice(0, 2) === day.toString();
726
+ return formatInfo;
727
+ }
728
+ exports.getLocaleDateFormatInfo = getLocaleDateFormatInfo;
729
+ /**
730
+ * Convert the format from the angular-datepicker module to flatpickr format.
731
+ * @param format
732
+ * @return {string}
733
+ */
734
+ function convertFormatToFlatpickr(format) {
735
+ return format
736
+ // Remove the Z timezone offset, not supported by flatpickr.
737
+ .replace(/Z/g, '')
738
+ // Year conversion.
739
+ .replace(/y/g, 'Y')
740
+ .replace('YYYY', 'Y')
741
+ .replace('YY', 'y')
742
+ // Month conversion.
743
+ .replace('MMMM', 'F')
744
+ .replace(/M/g, 'n')
745
+ .replace('nnn', 'M')
746
+ .replace('nn', 'm')
747
+ // Day in month.
748
+ .replace(/d/g, 'j')
749
+ .replace(/jj/g, 'd')
750
+ // Day in week.
751
+ .replace('EEEE', 'l')
752
+ .replace('EEE', 'D')
753
+ // Hours, minutes, seconds
754
+ .replace('HH', 'H')
755
+ .replace('hh', 'G')
756
+ .replace('mm', 'i')
757
+ .replace('ss', 'S')
758
+ .replace(/a/g, 'K');
759
+ }
760
+ exports.convertFormatToFlatpickr = convertFormatToFlatpickr;
761
+ /**
762
+ * Convert the format from the angular-datepicker module to moment format.
763
+ * @param format
764
+ * @return {string}
765
+ */
766
+ function convertFormatToMoment(format) {
767
+ return format
768
+ // Year conversion.
769
+ .replace(/y/g, 'Y')
770
+ // Day in month.
771
+ .replace(/d/g, 'D')
772
+ // Day in week.
773
+ .replace(/E/g, 'd')
774
+ // AM/PM marker
775
+ .replace(/a/g, 'A')
776
+ // Unix Timestamp
777
+ .replace(/U/g, 'X');
778
+ }
779
+ exports.convertFormatToMoment = convertFormatToMoment;
780
+ function convertFormatToMask(format) {
781
+ return format
782
+ // Long month replacement.
783
+ .replace(/M{4}/g, 'MM')
784
+ // Initial short month conversion.
785
+ .replace(/M{3}/g, '***')
786
+ // Short month conversion if input as text.
787
+ .replace(/e/g, 'Q')
788
+ // Year conversion.
789
+ .replace(/[ydhmsHMG]/g, '9')
790
+ // AM/PM conversion.
791
+ .replace(/a/g, 'AA');
792
+ }
793
+ exports.convertFormatToMask = convertFormatToMask;
794
+ /**
795
+ * Returns an input mask that is compatible with the input mask library.
796
+ * @param {string} mask - The Form.io input mask.
797
+ * @param {string} placeholderChar - Char which is used as a placeholder.
798
+ * @returns {Array} - The input mask for the mask library.
799
+ */
800
+ function getInputMask(mask, placeholderChar) {
801
+ if (mask instanceof Array) {
802
+ return mask;
803
+ }
804
+ const maskArray = [];
805
+ maskArray.numeric = true;
806
+ for (let i = 0; i < mask.length; i++) {
807
+ switch (mask[i]) {
808
+ case '9':
809
+ maskArray.push(/\d/);
810
+ break;
811
+ case 'A':
812
+ maskArray.numeric = false;
813
+ maskArray.push(/[a-zA-Z]/);
814
+ break;
815
+ case 'a':
816
+ maskArray.numeric = false;
817
+ maskArray.push(/[a-z]/);
818
+ break;
819
+ case '*':
820
+ maskArray.numeric = false;
821
+ maskArray.push(/[a-zA-Z0-9]/);
822
+ break;
823
+ // If char which is used inside mask placeholder was used in the mask, replace it with space to prevent errors
824
+ case placeholderChar:
825
+ maskArray.numeric = false;
826
+ maskArray.push(' ');
827
+ break;
828
+ default:
829
+ maskArray.numeric = false;
830
+ maskArray.push(mask[i]);
831
+ break;
832
+ }
833
+ }
834
+ return maskArray;
835
+ }
836
+ exports.getInputMask = getInputMask;
837
+ function unmaskValue(value, mask, placeholderChar) {
838
+ if (!mask || !value || value.length > mask.length) {
839
+ return value;
840
+ }
841
+ let unmaskedValue = value.split('');
842
+ for (let i = 0; i < mask.length; i++) {
843
+ const char = value[i] || '';
844
+ const charPart = mask[i];
845
+ if (!lodash_1.default.isRegExp(charPart) && char === charPart) {
846
+ unmaskedValue[i] = '';
847
+ }
848
+ }
849
+ unmaskedValue = unmaskedValue.join('').replace(placeholderChar, '');
850
+ return unmaskedValue;
851
+ }
852
+ exports.unmaskValue = unmaskValue;
853
+ function matchInputMask(value, inputMask) {
854
+ if (!inputMask) {
855
+ return true;
856
+ }
857
+ // If value is longer than mask, it isn't valid.
858
+ if (value.length > inputMask.length) {
859
+ return false;
860
+ }
861
+ for (let i = 0; i < inputMask.length; i++) {
862
+ const char = value[i] || '';
863
+ const charPart = inputMask[i];
864
+ if (!(lodash_1.default.isRegExp(charPart) && charPart.test(char) || charPart === char)) {
865
+ return false;
866
+ }
867
+ }
868
+ return true;
869
+ }
870
+ exports.matchInputMask = matchInputMask;
871
+ function getNumberSeparators(lang = 'en') {
872
+ const formattedNumberString = (12345.6789).toLocaleString(lang);
873
+ const delimeters = formattedNumberString.match(/..(.)...(.)../);
874
+ if (!delimeters) {
875
+ return {
876
+ delimiter: ',',
877
+ decimalSeparator: '.'
878
+ };
879
+ }
880
+ return {
881
+ delimiter: (delimeters.length > 1) ? delimeters[1] : ',',
882
+ decimalSeparator: (delimeters.length > 2) ? delimeters[2] : '.',
883
+ };
884
+ }
885
+ exports.getNumberSeparators = getNumberSeparators;
886
+ function getNumberDecimalLimit(component, defaultLimit) {
887
+ if (lodash_1.default.has(component, 'decimalLimit')) {
888
+ return lodash_1.default.get(component, 'decimalLimit');
889
+ }
890
+ // Determine the decimal limit. Defaults to 20 but can be overridden by validate.step or decimalLimit settings.
891
+ let decimalLimit = defaultLimit || 20;
892
+ const step = lodash_1.default.get(component, 'validate.step', 'any');
893
+ if (step !== 'any') {
894
+ const parts = step.toString().split('.');
895
+ if (parts.length > 1) {
896
+ decimalLimit = parts[1].length;
897
+ }
898
+ }
899
+ return decimalLimit;
900
+ }
901
+ exports.getNumberDecimalLimit = getNumberDecimalLimit;
902
+ function getCurrencyAffixes({ currency = 'USD', decimalLimit, decimalSeparator, lang, }) {
903
+ // Get the prefix and suffix from the localized string.
904
+ let regex = `(.*)?${(100).toLocaleString(lang)}`;
905
+ if (decimalLimit) {
906
+ regex += `${decimalSeparator === '.' ? '\\.' : decimalSeparator}${(0).toLocaleString(lang)}{${decimalLimit}}`;
907
+ }
908
+ regex += '(.*)?';
909
+ const parts = (100).toLocaleString(lang, {
910
+ style: 'currency',
911
+ currency,
912
+ useGrouping: true,
913
+ maximumFractionDigits: decimalLimit || 0,
914
+ minimumFractionDigits: decimalLimit || 0
915
+ }).replace('.', decimalSeparator).match(new RegExp(regex));
916
+ return {
917
+ prefix: (parts === null || parts === void 0 ? void 0 : parts[1]) || '',
918
+ suffix: (parts === null || parts === void 0 ? void 0 : parts[2]) || ''
919
+ };
920
+ }
921
+ exports.getCurrencyAffixes = getCurrencyAffixes;
922
+ /**
923
+ * Fetch the field data provided a component.
924
+ *
925
+ * @param data
926
+ * @param component
927
+ * @return {*}
928
+ */
929
+ function fieldData(data, component) {
930
+ if (!data) {
931
+ return '';
932
+ }
933
+ if (!component || !component.key) {
934
+ return data;
935
+ }
936
+ if (component.key.includes('.')) {
937
+ let value = data;
938
+ const parts = component.key.split('.');
939
+ let key = '';
940
+ for (let i = 0; i < parts.length; i++) {
941
+ key = parts[i];
942
+ // Handle nested resources
943
+ if (value.hasOwnProperty('_id')) {
944
+ value = value.data;
945
+ }
946
+ // Return if the key is not found on the value.
947
+ if (!value.hasOwnProperty(key)) {
948
+ return;
949
+ }
950
+ // Convert old single field data in submissions to multiple
951
+ if (key === parts[parts.length - 1] && component.multiple && !Array.isArray(value[key])) {
952
+ value[key] = [value[key]];
953
+ }
954
+ // Set the value of this key.
955
+ value = value[key];
956
+ }
957
+ return value;
958
+ }
959
+ else {
960
+ // Convert old single field data in submissions to multiple
961
+ if (component.multiple && !Array.isArray(data[component.key])) {
962
+ data[component.key] = [data[component.key]];
963
+ }
964
+ // Fix for checkbox type radio submission values in tableView
965
+ if (component.type === 'checkbox' && component.inputType === 'radio') {
966
+ return data[component.name] === component.value;
967
+ }
968
+ return data[component.key];
969
+ }
970
+ }
971
+ exports.fieldData = fieldData;
972
+ /**
973
+ * Delays function execution with possibility to execute function synchronously or cancel it.
974
+ *
975
+ * @param fn Function to delay
976
+ * @param delay Delay time
977
+ * @return {*}
978
+ */
979
+ function delay(fn, delay = 0, ...args) {
980
+ const timer = setTimeout(fn, delay, ...args);
981
+ function cancel() {
982
+ clearTimeout(timer);
983
+ }
984
+ function earlyCall() {
985
+ cancel();
986
+ return fn(...args);
987
+ }
988
+ earlyCall.timer = timer;
989
+ earlyCall.cancel = cancel;
990
+ return earlyCall;
991
+ }
992
+ exports.delay = delay;
993
+ /**
994
+ * Iterate the given key to make it unique.
995
+ *
996
+ * @param {String} key
997
+ * Modify the component key to be unique.
998
+ *
999
+ * @returns {String}
1000
+ * The new component key.
1001
+ */
1002
+ function iterateKey(key) {
1003
+ if (!key.match(/(\d+)$/)) {
1004
+ return `${key}1`;
1005
+ }
1006
+ return key.replace(/(\d+)$/, function (suffix) {
1007
+ return Number(suffix) + 1;
1008
+ });
1009
+ }
1010
+ exports.iterateKey = iterateKey;
1011
+ /**
1012
+ * Determines a unique key within a map provided the base key.
1013
+ *
1014
+ * @param map
1015
+ * @param base
1016
+ * @return {*}
1017
+ */
1018
+ function uniqueKey(map, base) {
1019
+ let newKey = base;
1020
+ while (map.hasOwnProperty(newKey)) {
1021
+ newKey = iterateKey(newKey);
1022
+ }
1023
+ return newKey;
1024
+ }
1025
+ exports.uniqueKey = uniqueKey;
1026
+ /**
1027
+ * Determines the major version number of bootstrap.
1028
+ *
1029
+ * @return {number}
1030
+ */
1031
+ function bootstrapVersion(options) {
1032
+ if (options.bootstrap) {
1033
+ return options.bootstrap;
1034
+ }
1035
+ if ((typeof $ === 'function') && (typeof $().collapse === 'function')) {
1036
+ return parseInt($.fn.collapse.Constructor.VERSION.split('.')[0], 10);
1037
+ }
1038
+ if (window.bootstrap && window.bootstrap.Collapse) {
1039
+ return parseInt(window.bootstrap.Collapse.VERSION.split('.')[0], 10);
1040
+ }
1041
+ return 0;
1042
+ }
1043
+ exports.bootstrapVersion = bootstrapVersion;
1044
+ /**
1045
+ * Retrun provided argument.
1046
+ * If argument is a function, returns the result of a function call.
1047
+ * @param {*} e;
1048
+ *
1049
+ * @return {*}
1050
+ */
1051
+ function unfold(e) {
1052
+ if (typeof e === 'function') {
1053
+ return e();
1054
+ }
1055
+ return e;
1056
+ }
1057
+ exports.unfold = unfold;
1058
+ /**
1059
+ * Map values through unfold and return first non-nil value.
1060
+ * @param {Array<T>} collection;
1061
+ *
1062
+ * @return {T}
1063
+ */
1064
+ exports.firstNonNil = lodash_1.default.flow([
1065
+ lodash_1.default.partialRight(lodash_1.default.map, unfold),
1066
+ lodash_1.default.partialRight(lodash_1.default.find, v => !lodash_1.default.isUndefined(v))
1067
+ ]);
1068
+ /*
1069
+ * Create enclosed state.
1070
+ * Returns functions to getting and cycling between states.
1071
+ * @param {*} a - initial state.
1072
+ * @param {*} b - next state.
1073
+ * @return {Functions[]} -- [get, toggle];
1074
+ */
1075
+ function withSwitch(a, b) {
1076
+ let state = a;
1077
+ let next = b;
1078
+ function get() {
1079
+ return state;
1080
+ }
1081
+ function toggle() {
1082
+ const prev = state;
1083
+ state = next;
1084
+ next = prev;
1085
+ }
1086
+ return [get, toggle];
1087
+ }
1088
+ exports.withSwitch = withSwitch;
1089
+ function observeOverload(callback, options = {}) {
1090
+ const { limit = 50, delay = 500 } = options;
1091
+ let callCount = 0;
1092
+ let timeoutID = 0;
1093
+ const reset = () => callCount = 0;
1094
+ return () => {
1095
+ if (timeoutID !== 0) {
1096
+ clearTimeout(timeoutID);
1097
+ timeoutID = 0;
1098
+ }
1099
+ timeoutID = setTimeout(reset, delay);
1100
+ callCount += 1;
1101
+ if (callCount >= limit) {
1102
+ clearTimeout(timeoutID);
1103
+ reset();
1104
+ return callback();
1105
+ }
1106
+ };
1107
+ }
1108
+ exports.observeOverload = observeOverload;
1109
+ function getContextComponents(context, excludeNested, excludedTypes = []) {
1110
+ const values = [];
1111
+ context.utils.eachComponent(context.instance.options.editForm.components, (component, path) => {
1112
+ const addToContextComponents = excludeNested ? !component.tree : true;
1113
+ if (component.key !== context.data.key && addToContextComponents && !lodash_1.default.includes(excludedTypes, component.type)) {
1114
+ values.push({
1115
+ label: `${component.label || component.key} (${path})`,
1116
+ value: path,
1117
+ });
1118
+ }
1119
+ });
1120
+ return values;
1121
+ }
1122
+ exports.getContextComponents = getContextComponents;
1123
+ function getContextButtons(context) {
1124
+ const values = [];
1125
+ context.utils.eachComponent(context.instance.options.editForm.components, (component) => {
1126
+ if (component.type === 'button') {
1127
+ values.push({
1128
+ label: `${component.key} (${component.label})`,
1129
+ value: component.key,
1130
+ });
1131
+ }
1132
+ });
1133
+ return values;
1134
+ }
1135
+ exports.getContextButtons = getContextButtons;
1136
+ // Tags that could be in text, that should be ommited or handled in a special way
1137
+ const inTextTags = ['#text', 'A', 'B', 'EM', 'I', 'SMALL', 'STRONG', 'SUB', 'SUP', 'INS', 'DEL', 'MARK', 'CODE'];
1138
+ /**
1139
+ * Helper function for 'translateHTMLTemplate'. Translates text value of the passed html element.
1140
+ *
1141
+ * @param {HTMLElement} elem
1142
+ * @param {Function} translate
1143
+ *
1144
+ * @returns {String}
1145
+ * Translated element template.
1146
+ */
1147
+ function translateElemValue(elem, translate) {
1148
+ if (!elem.innerText) {
1149
+ return elem.innerHTML;
1150
+ }
1151
+ const elemValue = elem.innerText.replace(Evaluator_1.default.templateSettings.interpolate, '').replace(/\s\s+/g, ' ').trim();
1152
+ const translatedValue = translate(elemValue);
1153
+ if (elemValue !== translatedValue) {
1154
+ const links = elem.innerHTML.match(/<a[^>]*>(.*?)<\/a>/g);
1155
+ if (links && links.length) {
1156
+ if (links.length === 1 && links[0].length === elem.innerHTML.length) {
1157
+ return elem.innerHTML.replace(elemValue, translatedValue);
1158
+ }
1159
+ const translatedLinks = links.map(link => {
1160
+ const linkElem = document.createElement('a');
1161
+ linkElem.innerHTML = link;
1162
+ return translateElemValue(linkElem, translate);
1163
+ });
1164
+ return `${translatedValue} (${translatedLinks.join(', ')})`;
1165
+ }
1166
+ else {
1167
+ return elem.innerText.replace(elemValue, translatedValue);
1168
+ }
1169
+ }
1170
+ else {
1171
+ return elem.innerHTML;
1172
+ }
1173
+ }
1174
+ /**
1175
+ * Helper function for 'translateHTMLTemplate'. Goes deep through html tag children and calls function to translate their text values.
1176
+ *
1177
+ * @param {HTMLElement} tag
1178
+ * @param {Function} translate
1179
+ *
1180
+ * @returns {void}
1181
+ */
1182
+ function translateDeepTag(tag, translate) {
1183
+ const children = tag.children.length && [...tag.children];
1184
+ const shouldTranslateEntireContent = children && children.every(child => child.children.length === 0
1185
+ && inTextTags.some(tag => child.nodeName === tag));
1186
+ if (!children || shouldTranslateEntireContent) {
1187
+ tag.innerHTML = translateElemValue(tag, translate);
1188
+ }
1189
+ else {
1190
+ children.forEach(child => translateDeepTag(child, translate));
1191
+ }
1192
+ }
1193
+ /**
1194
+ * Translates text values in html template.
1195
+ *
1196
+ * @param {String} template
1197
+ * @param {Function} translate
1198
+ *
1199
+ * @returns {String}
1200
+ * Html template with translated values.
1201
+ */
1202
+ function translateHTMLTemplate(template, translate) {
1203
+ const isHTML = /<[^>]*>/.test(template);
1204
+ if (!isHTML) {
1205
+ return translate(template);
1206
+ }
1207
+ const tempElem = document.createElement('div');
1208
+ tempElem.innerHTML = template;
1209
+ if (tempElem.innerText && tempElem.children.length) {
1210
+ translateDeepTag(tempElem, translate);
1211
+ return tempElem.innerHTML;
1212
+ }
1213
+ return template;
1214
+ }
1215
+ exports.translateHTMLTemplate = translateHTMLTemplate;
1216
+ /**
1217
+ * Sanitize an html string.
1218
+ *
1219
+ * @param string
1220
+ * @returns {*}
1221
+ */
1222
+ function sanitize(string, options) {
1223
+ if (typeof dompurify_1.default.sanitize !== 'function') {
1224
+ return string;
1225
+ }
1226
+ // Dompurify configuration
1227
+ const sanitizeOptions = {
1228
+ ADD_ATTR: ['ref', 'target'],
1229
+ USE_PROFILES: { html: true }
1230
+ };
1231
+ // Add attrs
1232
+ if (options.sanitizeConfig && Array.isArray(options.sanitizeConfig.addAttr) && options.sanitizeConfig.addAttr.length > 0) {
1233
+ options.sanitizeConfig.addAttr.forEach((attr) => {
1234
+ sanitizeOptions.ADD_ATTR.push(attr);
1235
+ });
1236
+ }
1237
+ // Add tags
1238
+ if (options.sanitizeConfig && Array.isArray(options.sanitizeConfig.addTags) && options.sanitizeConfig.addTags.length > 0) {
1239
+ sanitizeOptions.ADD_TAGS = options.sanitizeConfig.addTags;
1240
+ }
1241
+ // Allow tags
1242
+ if (options.sanitizeConfig && Array.isArray(options.sanitizeConfig.allowedTags) && options.sanitizeConfig.allowedTags.length > 0) {
1243
+ sanitizeOptions.ALLOWED_TAGS = options.sanitizeConfig.allowedTags;
1244
+ }
1245
+ // Allow attributes
1246
+ if (options.sanitizeConfig && Array.isArray(options.sanitizeConfig.allowedAttrs) && options.sanitizeConfig.allowedAttrs.length > 0) {
1247
+ sanitizeOptions.ALLOWED_ATTR = options.sanitizeConfig.allowedAttrs;
1248
+ }
1249
+ // Allowd URI Regex
1250
+ if (options.sanitizeConfig && options.sanitizeConfig.allowedUriRegex) {
1251
+ sanitizeOptions.ALLOWED_URI_REGEXP = options.sanitizeConfig.allowedUriRegex;
1252
+ }
1253
+ // Allow to extend the existing array of elements that are safe for URI-like values
1254
+ if (options.sanitizeConfig && Array.isArray(options.sanitizeConfig.addUriSafeAttr) && options.sanitizeConfig.addUriSafeAttr.length > 0) {
1255
+ sanitizeOptions.ADD_URI_SAFE_ATTR = options.sanitizeConfig.addUriSafeAttr;
1256
+ }
1257
+ return dompurify_1.default.sanitize(string, sanitizeOptions);
1258
+ }
1259
+ exports.sanitize = sanitize;
1260
+ /**
1261
+ * Fast cloneDeep for JSON objects only.
1262
+ */
1263
+ function fastCloneDeep(obj) {
1264
+ return obj ? JSON.parse(JSON.stringify(obj)) : obj;
1265
+ }
1266
+ exports.fastCloneDeep = fastCloneDeep;
1267
+ function isInputComponent(componentJson) {
1268
+ if (componentJson.input === false || componentJson.input === true) {
1269
+ return componentJson.input;
1270
+ }
1271
+ switch (componentJson.type) {
1272
+ case 'htmlelement':
1273
+ case 'content':
1274
+ case 'columns':
1275
+ case 'fieldset':
1276
+ case 'panel':
1277
+ case 'table':
1278
+ case 'tabs':
1279
+ case 'well':
1280
+ case 'button':
1281
+ return false;
1282
+ default:
1283
+ return true;
1284
+ }
1285
+ }
1286
+ exports.isInputComponent = isInputComponent;
1287
+ function getArrayFromComponentPath(pathStr) {
1288
+ if (!pathStr || !lodash_1.default.isString(pathStr)) {
1289
+ if (!lodash_1.default.isArray(pathStr)) {
1290
+ return [pathStr];
1291
+ }
1292
+ return pathStr;
1293
+ }
1294
+ return pathStr.replace(/[[\]]/g, '.')
1295
+ .replace(/\.\./g, '.')
1296
+ .replace(/(^\.)|(\.$)/g, '')
1297
+ .split('.')
1298
+ .map(part => lodash_1.default.defaultTo(lodash_1.default.toNumber(part), part));
1299
+ }
1300
+ exports.getArrayFromComponentPath = getArrayFromComponentPath;
1301
+ function hasInvalidComponent(component) {
1302
+ return component.getComponents().some((comp) => {
1303
+ if (lodash_1.default.isArray(comp.components)) {
1304
+ return hasInvalidComponent(comp);
1305
+ }
1306
+ return comp.error;
1307
+ });
1308
+ }
1309
+ exports.hasInvalidComponent = hasInvalidComponent;
1310
+ function getStringFromComponentPath(path) {
1311
+ if (!lodash_1.default.isArray(path)) {
1312
+ return path;
1313
+ }
1314
+ let strPath = '';
1315
+ path.forEach((part, i) => {
1316
+ if (lodash_1.default.isNumber(part)) {
1317
+ strPath += `[${part}]`;
1318
+ }
1319
+ else {
1320
+ strPath += i === 0 ? part : `.${part}`;
1321
+ }
1322
+ });
1323
+ return strPath;
1324
+ }
1325
+ exports.getStringFromComponentPath = getStringFromComponentPath;
1326
+ function round(number, precision) {
1327
+ if (lodash_1.default.isNumber(number)) {
1328
+ return number.toFixed(precision);
1329
+ }
1330
+ return number;
1331
+ }
1332
+ exports.round = round;
1333
+ /**
1334
+ * Check for Internet Explorer browser version
1335
+ *
1336
+ * @return {(number|null)}
1337
+ */
1338
+ function getIEBrowserVersion() {
1339
+ const { ie, version } = getBrowserInfo();
1340
+ return ie ? version : null;
1341
+ }
1342
+ exports.getIEBrowserVersion = getIEBrowserVersion;
1343
+ /**
1344
+ * Get browser name and version (modified from 'jquery-browser-plugin')
1345
+ *
1346
+ * @return {Object} -- {{browser name, version, isWebkit?}}
1347
+ * Possible browser names: chrome, safari, ie, edge, opera, mozilla, yabrowser
1348
+ */
1349
+ function getBrowserInfo() {
1350
+ const browser = {};
1351
+ if (typeof window === 'undefined') {
1352
+ return browser;
1353
+ }
1354
+ const ua = window.navigator.userAgent.toLowerCase();
1355
+ const match = /(edge|edg)\/([\w.]+)/.exec(ua) ||
1356
+ /(opr)[/]([\w.]+)/.exec(ua) ||
1357
+ /(yabrowser)[ /]([\w.]+)/.exec(ua) ||
1358
+ /(chrome)[ /]([\w.]+)/.exec(ua) ||
1359
+ /(iemobile)[/]([\w.]+)/.exec(ua) ||
1360
+ /(version)(applewebkit)[ /]([\w.]+).*(safari)[ /]([\w.]+)/.exec(ua) ||
1361
+ /(webkit)[ /]([\w.]+).*(version)[ /]([\w.]+).*(safari)[ /]([\w.]+)/.exec(ua) ||
1362
+ /(webkit)[ /]([\w.]+)/.exec(ua) ||
1363
+ /(opera)(?:.*version|)[ /]([\w.]+)/.exec(ua) ||
1364
+ /(msie) ([\w.]+)/.exec(ua) ||
1365
+ ua.indexOf('trident') >= 0 && /(rv)(?::| )([\w.]+)/.exec(ua) ||
1366
+ ua.indexOf('compatible') < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
1367
+ [];
1368
+ const matched = {
1369
+ browser: match[5] || match[3] || match[1] || '',
1370
+ version: match[4] || match[2] || '0'
1371
+ };
1372
+ if (matched.browser) {
1373
+ browser[matched.browser] = true;
1374
+ browser.version = parseInt(matched.version, 10);
1375
+ }
1376
+ // Chrome, Opera 15+, Safari and Yandex.Browser are webkit based browsers
1377
+ if (browser.chrome || browser.opr || browser.safari || browser.edg || browser.yabrowser) {
1378
+ browser.isWebkit = true;
1379
+ }
1380
+ // IE11 has a new token so we will assign it ie to avoid breaking changes
1381
+ if (browser.rv || browser.iemobile) {
1382
+ browser.ie = true;
1383
+ }
1384
+ // Edge has a new token since it became webkit based
1385
+ if (browser.edg) {
1386
+ browser.edge = true;
1387
+ }
1388
+ // Opera 15+ are identified as opr
1389
+ if (browser.opr) {
1390
+ browser.opera = true;
1391
+ }
1392
+ return browser;
1393
+ }
1394
+ exports.getBrowserInfo = getBrowserInfo;
1395
+ function getComponentPathWithoutIndicies(path = '') {
1396
+ return path.replace(/\[\d+\]/, '');
1397
+ }
1398
+ exports.getComponentPathWithoutIndicies = getComponentPathWithoutIndicies;
1399
+ /**
1400
+ * Returns a path to the component which based on its schema
1401
+ * @param {*} component is a component's schema containing link to its parent's schema in the 'parent' property
1402
+ */
1403
+ function getComponentPath(component, path = '') {
1404
+ var _a;
1405
+ if (!component || !component.key || ((_a = component === null || component === void 0 ? void 0 : component._form) === null || _a === void 0 ? void 0 : _a.display) === 'wizard') { // unlike the Webform, the Wizard has the key and it is a duplicate of the panel key
1406
+ return path;
1407
+ }
1408
+ path = component.isInputComponent || component.input === true ? `${component.key}${path ? '.' : ''}${path}` : path;
1409
+ return getComponentPath(component.parent, path);
1410
+ }
1411
+ exports.getComponentPath = getComponentPath;
1412
+ /**
1413
+ * Returns a parent component of the passed component instance skipping all the Layout components
1414
+ * @param {*} componentInstance
1415
+ * @return {(Component|undefined)}
1416
+ */
1417
+ function getDataParentComponent(componentInstance) {
1418
+ if (!componentInstance) {
1419
+ return;
1420
+ }
1421
+ const { parent } = componentInstance;
1422
+ if (parent && (parent.isInputComponent || parent.input)) {
1423
+ return parent;
1424
+ }
1425
+ else {
1426
+ return getDataParentComponent(parent);
1427
+ }
1428
+ }
1429
+ exports.getDataParentComponent = getDataParentComponent;
1430
+ /**
1431
+ * Returns whether the value is a promise
1432
+ * @param value
1433
+ * @return {boolean}
1434
+ */
1435
+ function isPromise(value) {
1436
+ return value
1437
+ && value.then
1438
+ && typeof value.then === 'function'
1439
+ && Object.prototype.toString.call(value) === '[object Promise]';
1440
+ }
1441
+ exports.isPromise = isPromise;
1442
+ /**
1443
+ * Determines if the component has a scoping parent in tree (a component which scopes its children and manages its
1444
+ * changes by itself, e.g. EditGrid)
1445
+ * @param componentInstance
1446
+ * @param firstPass
1447
+ * @returns {boolean|boolean|*}
1448
+ */
1449
+ function isInsideScopingComponent(componentInstance, firstPass = true) {
1450
+ if (!firstPass && (componentInstance === null || componentInstance === void 0 ? void 0 : componentInstance.hasScopedChildren)) {
1451
+ return true;
1452
+ }
1453
+ const dataParent = getDataParentComponent(componentInstance);
1454
+ if (dataParent === null || dataParent === void 0 ? void 0 : dataParent.hasScopedChildren) {
1455
+ return true;
1456
+ }
1457
+ else if (dataParent === null || dataParent === void 0 ? void 0 : dataParent.parent) {
1458
+ return isInsideScopingComponent(dataParent.parent, false);
1459
+ }
1460
+ return false;
1461
+ }
1462
+ exports.isInsideScopingComponent = isInsideScopingComponent;
1463
+ function getFocusableElements(element) {
1464
+ const focusableSelector = `button:not([disabled]), input:not([disabled]), select:not([disabled]),
1465
+ textarea:not([disabled]), button:not([disabled]), [href]`;
1466
+ return element.querySelectorAll(focusableSelector);
1467
+ }
1468
+ exports.getFocusableElements = getFocusableElements;