@formio/js 5.0.0-rc.26 → 5.0.0-rc.27-dev.5543.40bb827

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2253) hide show
  1. package/package.json +10 -8
  2. package/types/formio.d.ts +2 -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 +0 -2299
  6. package/dist/formio.builder.min.css +0 -1
  7. package/dist/formio.embed.css +0 -1
  8. package/dist/formio.embed.js +0 -2
  9. package/dist/formio.embed.min.css +0 -1
  10. package/dist/formio.embed.min.js +0 -2
  11. package/dist/formio.embed.min.js.LICENSE.txt +0 -1
  12. package/dist/formio.form.css +0 -2034
  13. package/dist/formio.form.js +0 -8273
  14. package/dist/formio.form.min.css +0 -1
  15. package/dist/formio.form.min.js +0 -2
  16. package/dist/formio.form.min.js.LICENSE.txt +0 -43
  17. package/dist/formio.full.css +0 -3941
  18. package/dist/formio.full.js +0 -10280
  19. package/dist/formio.full.min.css +0 -5
  20. package/dist/formio.full.min.js +0 -2
  21. package/dist/formio.full.min.js.LICENSE.txt +0 -43
  22. package/dist/formio.js +0 -2809
  23. package/dist/formio.min.js +0 -2
  24. package/dist/formio.min.js.LICENSE.txt +0 -12
  25. package/dist/formio.utils.js +0 -2310
  26. package/dist/formio.utils.min.js +0 -2
  27. package/dist/formio.utils.min.js.LICENSE.txt +0 -36
  28. package/lib/cjs/CDN.d.ts +0 -29
  29. package/lib/cjs/CDN.js +0 -77
  30. package/lib/cjs/Element.d.ts +0 -255
  31. package/lib/cjs/Element.js +0 -603
  32. package/lib/cjs/Embed.d.ts +0 -42
  33. package/lib/cjs/Embed.js +0 -320
  34. package/lib/cjs/EventEmitter.d.ts +0 -7
  35. package/lib/cjs/EventEmitter.js +0 -52
  36. package/lib/cjs/Form.d.ts +0 -93
  37. package/lib/cjs/Form.js +0 -379
  38. package/lib/cjs/FormBuilder.d.ts +0 -6
  39. package/lib/cjs/FormBuilder.js +0 -39
  40. package/lib/cjs/Formio.d.ts +0 -2
  41. package/lib/cjs/Formio.js +0 -95
  42. package/lib/cjs/PDF.d.ts +0 -40
  43. package/lib/cjs/PDF.js +0 -291
  44. package/lib/cjs/PDFBuilder.d.ts +0 -55
  45. package/lib/cjs/PDFBuilder.js +0 -480
  46. package/lib/cjs/Webform.d.ts +0 -405
  47. package/lib/cjs/Webform.js +0 -1436
  48. package/lib/cjs/WebformBuilder.d.ts +0 -126
  49. package/lib/cjs/WebformBuilder.js +0 -1578
  50. package/lib/cjs/Wizard.d.ts +0 -96
  51. package/lib/cjs/Wizard.js +0 -916
  52. package/lib/cjs/WizardBuilder.d.ts +0 -48
  53. package/lib/cjs/WizardBuilder.js +0 -269
  54. package/lib/cjs/addons/FormioAddon.d.ts +0 -19
  55. package/lib/cjs/addons/FormioAddon.js +0 -36
  56. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -717
  57. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
  58. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +0 -316
  59. package/lib/cjs/addons/PasswordStrength/PasswordStrengthAddon.js +0 -397
  60. package/lib/cjs/addons/index.d.ts +0 -625
  61. package/lib/cjs/addons/index.js +0 -25
  62. package/lib/cjs/builders/Builders.d.ts +0 -18
  63. package/lib/cjs/builders/Builders.js +0 -29
  64. package/lib/cjs/builders/index.d.ts +0 -2
  65. package/lib/cjs/builders/index.js +0 -7
  66. package/lib/cjs/components/Components.d.ts +0 -258
  67. package/lib/cjs/components/Components.js +0 -80
  68. package/lib/cjs/components/_classes/component/Component.d.ts +0 -798
  69. package/lib/cjs/components/_classes/component/Component.form.d.ts +0 -3
  70. package/lib/cjs/components/_classes/component/Component.form.js +0 -77
  71. package/lib/cjs/components/_classes/component/Component.js +0 -3200
  72. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -645
  73. package/lib/cjs/components/_classes/component/editForm/Component.edit.addons.js +0 -46
  74. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
  75. package/lib/cjs/components/_classes/component/editForm/Component.edit.api.js +0 -40
  76. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
  77. package/lib/cjs/components/_classes/component/editForm/Component.edit.conditional.js +0 -55
  78. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
  79. package/lib/cjs/components/_classes/component/editForm/Component.edit.data.js +0 -161
  80. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
  81. package/lib/cjs/components/_classes/component/editForm/Component.edit.display.js +0 -202
  82. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
  83. package/lib/cjs/components/_classes/component/editForm/Component.edit.layout.js +0 -79
  84. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
  85. package/lib/cjs/components/_classes/component/editForm/Component.edit.logic.js +0 -415
  86. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
  87. package/lib/cjs/components/_classes/component/editForm/Component.edit.validation.js +0 -209
  88. package/lib/cjs/components/_classes/component/editForm/utils.d.ts +0 -83
  89. package/lib/cjs/components/_classes/component/editForm/utils.js +0 -137
  90. package/lib/cjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
  91. package/lib/cjs/components/_classes/component/fixtures/comp1.js +0 -33
  92. package/lib/cjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
  93. package/lib/cjs/components/_classes/component/fixtures/comp2.js +0 -33
  94. package/lib/cjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
  95. package/lib/cjs/components/_classes/component/fixtures/comp3.js +0 -14
  96. package/lib/cjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
  97. package/lib/cjs/components/_classes/component/fixtures/comp4.js +0 -18
  98. package/lib/cjs/components/_classes/component/fixtures/index.d.ts +0 -5
  99. package/lib/cjs/components/_classes/component/fixtures/index.js +0 -14
  100. package/lib/cjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
  101. package/lib/cjs/components/_classes/componentModal/ComponentModal.js +0 -183
  102. package/lib/cjs/components/_classes/field/Field.d.ts +0 -5
  103. package/lib/cjs/components/_classes/field/Field.js +0 -37
  104. package/lib/cjs/components/_classes/input/Input.d.ts +0 -42
  105. package/lib/cjs/components/_classes/input/Input.js +0 -303
  106. package/lib/cjs/components/_classes/list/ListComponent.d.ts +0 -18
  107. package/lib/cjs/components/_classes/list/ListComponent.form.d.ts +0 -3
  108. package/lib/cjs/components/_classes/list/ListComponent.form.js +0 -16
  109. package/lib/cjs/components/_classes/list/ListComponent.js +0 -255
  110. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
  111. package/lib/cjs/components/_classes/list/editForm/ListComponent.edit.data.js +0 -119
  112. package/lib/cjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
  113. package/lib/cjs/components/_classes/multivalue/Multivalue.js +0 -255
  114. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +0 -133
  115. package/lib/cjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
  116. package/lib/cjs/components/_classes/nested/NestedComponent.form.js +0 -19
  117. package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -692
  118. package/lib/cjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
  119. package/lib/cjs/components/_classes/nested/fixtures/comp1.js +0 -16
  120. package/lib/cjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
  121. package/lib/cjs/components/_classes/nested/fixtures/comp2.js +0 -227
  122. package/lib/cjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
  123. package/lib/cjs/components/_classes/nested/fixtures/comp3.js +0 -29
  124. package/lib/cjs/components/_classes/nested/fixtures/index.d.ts +0 -3
  125. package/lib/cjs/components/_classes/nested/fixtures/index.js +0 -12
  126. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -15
  127. package/lib/cjs/components/_classes/nestedarray/NestedArrayComponent.js +0 -184
  128. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
  129. package/lib/cjs/components/_classes/nesteddata/NestedDataComponent.js +0 -127
  130. package/lib/cjs/components/address/Address.d.ts +0 -66
  131. package/lib/cjs/components/address/Address.form.d.ts +0 -3
  132. package/lib/cjs/components/address/Address.form.js +0 -28
  133. package/lib/cjs/components/address/Address.js +0 -552
  134. package/lib/cjs/components/address/editForm/Address.edit.data.d.ts +0 -31
  135. package/lib/cjs/components/address/editForm/Address.edit.data.js +0 -23
  136. package/lib/cjs/components/address/editForm/Address.edit.display.d.ts +0 -49
  137. package/lib/cjs/components/address/editForm/Address.edit.display.js +0 -44
  138. package/lib/cjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
  139. package/lib/cjs/components/address/editForm/Address.edit.provider.js +0 -156
  140. package/lib/cjs/components/address/fixtures/comp1.d.ts +0 -34
  141. package/lib/cjs/components/address/fixtures/comp1.js +0 -71
  142. package/lib/cjs/components/address/fixtures/comp2.d.ts +0 -62
  143. package/lib/cjs/components/address/fixtures/comp2.js +0 -103
  144. package/lib/cjs/components/address/fixtures/comp3.d.ts +0 -44
  145. package/lib/cjs/components/address/fixtures/comp3.js +0 -85
  146. package/lib/cjs/components/address/fixtures/comp4.d.ts +0 -56
  147. package/lib/cjs/components/address/fixtures/comp4.js +0 -93
  148. package/lib/cjs/components/address/fixtures/index.d.ts +0 -5
  149. package/lib/cjs/components/address/fixtures/index.js +0 -14
  150. package/lib/cjs/components/address/fixtures/values.d.ts +0 -22
  151. package/lib/cjs/components/address/fixtures/values.js +0 -19
  152. package/lib/cjs/components/alert/Alert.d.ts +0 -30
  153. package/lib/cjs/components/alert/Alert.js +0 -183
  154. package/lib/cjs/components/builder.d.ts +0 -2
  155. package/lib/cjs/components/builder.js +0 -91
  156. package/lib/cjs/components/button/Button.d.ts +0 -45
  157. package/lib/cjs/components/button/Button.form.d.ts +0 -3
  158. package/lib/cjs/components/button/Button.form.js +0 -24
  159. package/lib/cjs/components/button/Button.js +0 -467
  160. package/lib/cjs/components/button/editForm/Button.edit.display.d.ts +0 -360
  161. package/lib/cjs/components/button/editForm/Button.edit.display.js +0 -253
  162. package/lib/cjs/components/button/fixtures/comp1.d.ts +0 -15
  163. package/lib/cjs/components/button/fixtures/comp1.js +0 -16
  164. package/lib/cjs/components/button/fixtures/comp2.d.ts +0 -25
  165. package/lib/cjs/components/button/fixtures/comp2.js +0 -57
  166. package/lib/cjs/components/button/fixtures/comp3.d.ts +0 -113
  167. package/lib/cjs/components/button/fixtures/comp3.js +0 -84
  168. package/lib/cjs/components/button/fixtures/index.d.ts +0 -4
  169. package/lib/cjs/components/button/fixtures/index.js +0 -12
  170. package/lib/cjs/components/button/fixtures/values.d.ts +0 -2
  171. package/lib/cjs/components/button/fixtures/values.js +0 -6
  172. package/lib/cjs/components/checkbox/Checkbox.d.ts +0 -77
  173. package/lib/cjs/components/checkbox/Checkbox.form.d.ts +0 -3
  174. package/lib/cjs/components/checkbox/Checkbox.form.js +0 -26
  175. package/lib/cjs/components/checkbox/Checkbox.js +0 -221
  176. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
  177. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.data.js +0 -8
  178. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
  179. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.display.js +0 -79
  180. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
  181. package/lib/cjs/components/checkbox/editForm/Checkbox.edit.validation.js +0 -12
  182. package/lib/cjs/components/checkbox/fixtures/comp1.d.ts +0 -24
  183. package/lib/cjs/components/checkbox/fixtures/comp1.js +0 -24
  184. package/lib/cjs/components/checkbox/fixtures/comp2.d.ts +0 -12
  185. package/lib/cjs/components/checkbox/fixtures/comp2.js +0 -13
  186. package/lib/cjs/components/checkbox/fixtures/comp3.d.ts +0 -15
  187. package/lib/cjs/components/checkbox/fixtures/comp3.js +0 -16
  188. package/lib/cjs/components/checkbox/fixtures/comp4.d.ts +0 -46
  189. package/lib/cjs/components/checkbox/fixtures/comp4.js +0 -39
  190. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
  191. package/lib/cjs/components/checkbox/fixtures/customDefaultComponent.js +0 -25
  192. package/lib/cjs/components/checkbox/fixtures/index.d.ts +0 -6
  193. package/lib/cjs/components/checkbox/fixtures/index.js +0 -16
  194. package/lib/cjs/components/checkbox/fixtures/values.d.ts +0 -2
  195. package/lib/cjs/components/checkbox/fixtures/values.js +0 -6
  196. package/lib/cjs/components/columns/Columns.d.ts +0 -27
  197. package/lib/cjs/components/columns/Columns.form.d.ts +0 -3
  198. package/lib/cjs/components/columns/Columns.form.js +0 -16
  199. package/lib/cjs/components/columns/Columns.js +0 -160
  200. package/lib/cjs/components/columns/editForm/Columns.edit.display.d.ts +0 -58
  201. package/lib/cjs/components/columns/editForm/Columns.edit.display.js +0 -100
  202. package/lib/cjs/components/columns/fixtures/comp1.d.ts +0 -45
  203. package/lib/cjs/components/columns/fixtures/comp1.js +0 -85
  204. package/lib/cjs/components/columns/fixtures/comp2.d.ts +0 -24
  205. package/lib/cjs/components/columns/fixtures/comp2.js +0 -127
  206. package/lib/cjs/components/columns/fixtures/comp3.d.ts +0 -45
  207. package/lib/cjs/components/columns/fixtures/comp3.js +0 -53
  208. package/lib/cjs/components/columns/fixtures/index.d.ts +0 -4
  209. package/lib/cjs/components/columns/fixtures/index.js +0 -12
  210. package/lib/cjs/components/container/Container.d.ts +0 -15
  211. package/lib/cjs/components/container/Container.form.d.ts +0 -3
  212. package/lib/cjs/components/container/Container.form.js +0 -21
  213. package/lib/cjs/components/container/Container.js +0 -82
  214. package/lib/cjs/components/container/editForm/Container.edit.data.d.ts +0 -5
  215. package/lib/cjs/components/container/editForm/Container.edit.data.js +0 -16
  216. package/lib/cjs/components/container/editForm/Container.edit.display.d.ts +0 -5
  217. package/lib/cjs/components/container/editForm/Container.edit.display.js +0 -20
  218. package/lib/cjs/components/container/fixtures/comp1.d.ts +0 -49
  219. package/lib/cjs/components/container/fixtures/comp1.js +0 -82
  220. package/lib/cjs/components/container/fixtures/comp2.d.ts +0 -30
  221. package/lib/cjs/components/container/fixtures/comp2.js +0 -34
  222. package/lib/cjs/components/container/fixtures/comp3.d.ts +0 -77
  223. package/lib/cjs/components/container/fixtures/comp3.js +0 -57
  224. package/lib/cjs/components/container/fixtures/index.d.ts +0 -4
  225. package/lib/cjs/components/container/fixtures/index.js +0 -12
  226. package/lib/cjs/components/content/Content.d.ts +0 -17
  227. package/lib/cjs/components/content/Content.form.d.ts +0 -3
  228. package/lib/cjs/components/content/Content.form.js +0 -43
  229. package/lib/cjs/components/content/Content.js +0 -78
  230. package/lib/cjs/components/content/editForm/Content.edit.display.d.ts +0 -18
  231. package/lib/cjs/components/content/editForm/Content.edit.display.js +0 -48
  232. package/lib/cjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
  233. package/lib/cjs/components/content/editForm/Content.edit.logic.js +0 -100
  234. package/lib/cjs/components/content/fixtures/comp1.d.ts +0 -13
  235. package/lib/cjs/components/content/fixtures/comp1.js +0 -14
  236. package/lib/cjs/components/content/fixtures/index.d.ts +0 -2
  237. package/lib/cjs/components/content/fixtures/index.js +0 -8
  238. package/lib/cjs/components/currency/Currency.d.ts +0 -8
  239. package/lib/cjs/components/currency/Currency.form.d.ts +0 -3
  240. package/lib/cjs/components/currency/Currency.form.js +0 -46
  241. package/lib/cjs/components/currency/Currency.js +0 -180
  242. package/lib/cjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
  243. package/lib/cjs/components/currency/editForm/Currency.edit.data.js +0 -192
  244. package/lib/cjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
  245. package/lib/cjs/components/currency/editForm/Currency.edit.display.js +0 -40
  246. package/lib/cjs/components/currency/fixtures/comp1.d.ts +0 -31
  247. package/lib/cjs/components/currency/fixtures/comp1.js +0 -31
  248. package/lib/cjs/components/currency/fixtures/comp2.d.ts +0 -20
  249. package/lib/cjs/components/currency/fixtures/comp2.js +0 -20
  250. package/lib/cjs/components/currency/fixtures/comp3.d.ts +0 -13
  251. package/lib/cjs/components/currency/fixtures/comp3.js +0 -14
  252. package/lib/cjs/components/currency/fixtures/comp4.d.ts +0 -17
  253. package/lib/cjs/components/currency/fixtures/comp4.js +0 -20
  254. package/lib/cjs/components/currency/fixtures/index.d.ts +0 -5
  255. package/lib/cjs/components/currency/fixtures/index.js +0 -14
  256. package/lib/cjs/components/currency/fixtures/values.d.ts +0 -2
  257. package/lib/cjs/components/currency/fixtures/values.js +0 -8
  258. package/lib/cjs/components/datagrid/DataGrid.d.ts +0 -88
  259. package/lib/cjs/components/datagrid/DataGrid.form.d.ts +0 -3
  260. package/lib/cjs/components/datagrid/DataGrid.form.js +0 -26
  261. package/lib/cjs/components/datagrid/DataGrid.js +0 -648
  262. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
  263. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.data.js +0 -8
  264. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
  265. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.display.js +0 -149
  266. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
  267. package/lib/cjs/components/datagrid/editForm/DataGrid.edit.validation.js +0 -26
  268. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
  269. package/lib/cjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +0 -42
  270. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  271. package/lib/cjs/components/datagrid/fixtures/comp-on-blur-validation.js +0 -1
  272. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
  273. package/lib/cjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +0 -81
  274. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
  275. package/lib/cjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +0 -75
  276. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
  277. package/lib/cjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +0 -178
  278. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
  279. package/lib/cjs/components/datagrid/fixtures/comp-with-def-value.js +0 -69
  280. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
  281. package/lib/cjs/components/datagrid/fixtures/comp-with-logic.js +0 -180
  282. package/lib/cjs/components/datagrid/fixtures/comp1.d.ts +0 -93
  283. package/lib/cjs/components/datagrid/fixtures/comp1.js +0 -115
  284. package/lib/cjs/components/datagrid/fixtures/comp2.d.ts +0 -18
  285. package/lib/cjs/components/datagrid/fixtures/comp2.js +0 -29
  286. package/lib/cjs/components/datagrid/fixtures/comp3.d.ts +0 -14
  287. package/lib/cjs/components/datagrid/fixtures/comp3.js +0 -23
  288. package/lib/cjs/components/datagrid/fixtures/comp4.d.ts +0 -27
  289. package/lib/cjs/components/datagrid/fixtures/comp4.js +0 -28
  290. package/lib/cjs/components/datagrid/fixtures/comp5.d.ts +0 -67
  291. package/lib/cjs/components/datagrid/fixtures/comp5.js +0 -77
  292. package/lib/cjs/components/datagrid/fixtures/comp6.d.ts +0 -567
  293. package/lib/cjs/components/datagrid/fixtures/comp6.js +0 -296
  294. package/lib/cjs/components/datagrid/fixtures/comp7.d.ts +0 -28
  295. package/lib/cjs/components/datagrid/fixtures/comp7.js +0 -35
  296. package/lib/cjs/components/datagrid/fixtures/comp8.d.ts +0 -35
  297. package/lib/cjs/components/datagrid/fixtures/comp8.js +0 -37
  298. package/lib/cjs/components/datagrid/fixtures/index.d.ts +0 -15
  299. package/lib/cjs/components/datagrid/fixtures/index.js +0 -34
  300. package/lib/cjs/components/datamap/DataMap.d.ts +0 -36
  301. package/lib/cjs/components/datamap/DataMap.form.d.ts +0 -3
  302. package/lib/cjs/components/datamap/DataMap.form.js +0 -21
  303. package/lib/cjs/components/datamap/DataMap.js +0 -301
  304. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
  305. package/lib/cjs/components/datamap/editForm/DataMap.edit.data.js +0 -12
  306. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
  307. package/lib/cjs/components/datamap/editForm/DataMap.edit.display.js +0 -48
  308. package/lib/cjs/components/datamap/fixtures/comp1.d.ts +0 -18
  309. package/lib/cjs/components/datamap/fixtures/comp1.js +0 -15
  310. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
  311. package/lib/cjs/components/datamap/fixtures/formWithConditionalPanel.js +0 -85
  312. package/lib/cjs/components/datamap/fixtures/index.d.ts +0 -3
  313. package/lib/cjs/components/datamap/fixtures/index.js +0 -10
  314. package/lib/cjs/components/datetime/DateTime.d.ts +0 -39
  315. package/lib/cjs/components/datetime/DateTime.form.d.ts +0 -3
  316. package/lib/cjs/components/datetime/DateTime.form.js +0 -40
  317. package/lib/cjs/components/datetime/DateTime.js +0 -164
  318. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
  319. package/lib/cjs/components/datetime/editForm/DateTime.edit.data.js +0 -23
  320. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
  321. package/lib/cjs/components/datetime/editForm/DateTime.edit.date.js +0 -75
  322. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
  323. package/lib/cjs/components/datetime/editForm/DateTime.edit.display.js +0 -100
  324. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
  325. package/lib/cjs/components/datetime/editForm/DateTime.edit.time.js +0 -36
  326. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
  327. package/lib/cjs/components/datetime/editForm/DateTime.edit.validation.js +0 -84
  328. package/lib/cjs/components/datetime/fixtures/comp1.d.ts +0 -45
  329. package/lib/cjs/components/datetime/fixtures/comp1.js +0 -44
  330. package/lib/cjs/components/datetime/fixtures/comp10.d.ts +0 -102
  331. package/lib/cjs/components/datetime/fixtures/comp10.js +0 -86
  332. package/lib/cjs/components/datetime/fixtures/comp11.d.ts +0 -58
  333. package/lib/cjs/components/datetime/fixtures/comp11.js +0 -55
  334. package/lib/cjs/components/datetime/fixtures/comp12.d.ts +0 -57
  335. package/lib/cjs/components/datetime/fixtures/comp12.js +0 -55
  336. package/lib/cjs/components/datetime/fixtures/comp2.d.ts +0 -42
  337. package/lib/cjs/components/datetime/fixtures/comp2.js +0 -43
  338. package/lib/cjs/components/datetime/fixtures/comp3.d.ts +0 -51
  339. package/lib/cjs/components/datetime/fixtures/comp3.js +0 -40
  340. package/lib/cjs/components/datetime/fixtures/comp5.d.ts +0 -57
  341. package/lib/cjs/components/datetime/fixtures/comp5.js +0 -48
  342. package/lib/cjs/components/datetime/fixtures/comp6.d.ts +0 -55
  343. package/lib/cjs/components/datetime/fixtures/comp6.js +0 -49
  344. package/lib/cjs/components/datetime/fixtures/comp7.d.ts +0 -59
  345. package/lib/cjs/components/datetime/fixtures/comp7.js +0 -53
  346. package/lib/cjs/components/datetime/fixtures/comp8.d.ts +0 -59
  347. package/lib/cjs/components/datetime/fixtures/comp8.js +0 -52
  348. package/lib/cjs/components/datetime/fixtures/comp9.d.ts +0 -64
  349. package/lib/cjs/components/datetime/fixtures/comp9.js +0 -95
  350. package/lib/cjs/components/datetime/fixtures/index.d.ts +0 -12
  351. package/lib/cjs/components/datetime/fixtures/index.js +0 -28
  352. package/lib/cjs/components/datetime/fixtures/values.d.ts +0 -2
  353. package/lib/cjs/components/datetime/fixtures/values.js +0 -6
  354. package/lib/cjs/components/day/Day.d.ts +0 -163
  355. package/lib/cjs/components/day/Day.form.d.ts +0 -3
  356. package/lib/cjs/components/day/Day.form.js +0 -47
  357. package/lib/cjs/components/day/Day.js +0 -573
  358. package/lib/cjs/components/day/editForm/Day.edit.data.d.ts +0 -5
  359. package/lib/cjs/components/day/editForm/Day.edit.data.js +0 -8
  360. package/lib/cjs/components/day/editForm/Day.edit.day.d.ts +0 -40
  361. package/lib/cjs/components/day/editForm/Day.edit.day.js +0 -48
  362. package/lib/cjs/components/day/editForm/Day.edit.display.d.ts +0 -40
  363. package/lib/cjs/components/day/editForm/Day.edit.display.js +0 -46
  364. package/lib/cjs/components/day/editForm/Day.edit.month.d.ts +0 -40
  365. package/lib/cjs/components/day/editForm/Day.edit.month.js +0 -40
  366. package/lib/cjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
  367. package/lib/cjs/components/day/editForm/Day.edit.validation.js +0 -54
  368. package/lib/cjs/components/day/editForm/Day.edit.year.d.ts +0 -40
  369. package/lib/cjs/components/day/editForm/Day.edit.year.js +0 -58
  370. package/lib/cjs/components/day/fixtures/comp1.d.ts +0 -46
  371. package/lib/cjs/components/day/fixtures/comp1.js +0 -39
  372. package/lib/cjs/components/day/fixtures/comp2.d.ts +0 -46
  373. package/lib/cjs/components/day/fixtures/comp2.js +0 -39
  374. package/lib/cjs/components/day/fixtures/comp3.d.ts +0 -48
  375. package/lib/cjs/components/day/fixtures/comp3.js +0 -41
  376. package/lib/cjs/components/day/fixtures/comp4.d.ts +0 -53
  377. package/lib/cjs/components/day/fixtures/comp4.js +0 -56
  378. package/lib/cjs/components/day/fixtures/comp5.d.ts +0 -29
  379. package/lib/cjs/components/day/fixtures/comp5.js +0 -32
  380. package/lib/cjs/components/day/fixtures/comp6.d.ts +0 -81
  381. package/lib/cjs/components/day/fixtures/comp6.js +0 -76
  382. package/lib/cjs/components/day/fixtures/index.d.ts +0 -7
  383. package/lib/cjs/components/day/fixtures/index.js +0 -18
  384. package/lib/cjs/components/day/fixtures/values.d.ts +0 -2
  385. package/lib/cjs/components/day/fixtures/values.js +0 -6
  386. package/lib/cjs/components/editgrid/EditGrid.d.ts +0 -99
  387. package/lib/cjs/components/editgrid/EditGrid.form.d.ts +0 -3
  388. package/lib/cjs/components/editgrid/EditGrid.form.js +0 -33
  389. package/lib/cjs/components/editgrid/EditGrid.js +0 -1167
  390. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
  391. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.data.js +0 -20
  392. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
  393. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.display.js +0 -58
  394. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
  395. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.templates.js +0 -131
  396. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
  397. package/lib/cjs/components/editgrid/editForm/EditGrid.edit.validation.js +0 -34
  398. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
  399. package/lib/cjs/components/editgrid/fixtures/comp-openWhenEmpty.js +0 -36
  400. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
  401. package/lib/cjs/components/editgrid/fixtures/comp-with-basic-components.js +0 -220
  402. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
  403. package/lib/cjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +0 -84
  404. package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
  405. package/lib/cjs/components/editgrid/fixtures/comp-with-custom-default-value.js +0 -227
  406. package/lib/cjs/components/editgrid/fixtures/comp1.d.ts +0 -89
  407. package/lib/cjs/components/editgrid/fixtures/comp1.js +0 -128
  408. package/lib/cjs/components/editgrid/fixtures/comp10.d.ts +0 -49
  409. package/lib/cjs/components/editgrid/fixtures/comp10.js +0 -48
  410. package/lib/cjs/components/editgrid/fixtures/comp11.d.ts +0 -53
  411. package/lib/cjs/components/editgrid/fixtures/comp11.js +0 -50
  412. package/lib/cjs/components/editgrid/fixtures/comp12.d.ts +0 -57
  413. package/lib/cjs/components/editgrid/fixtures/comp12.js +0 -50
  414. package/lib/cjs/components/editgrid/fixtures/comp13.d.ts +0 -64
  415. package/lib/cjs/components/editgrid/fixtures/comp13.js +0 -64
  416. package/lib/cjs/components/editgrid/fixtures/comp14.d.ts +0 -88
  417. package/lib/cjs/components/editgrid/fixtures/comp14.js +0 -84
  418. package/lib/cjs/components/editgrid/fixtures/comp15.d.ts +0 -54
  419. package/lib/cjs/components/editgrid/fixtures/comp15.js +0 -51
  420. package/lib/cjs/components/editgrid/fixtures/comp2.d.ts +0 -112
  421. package/lib/cjs/components/editgrid/fixtures/comp2.js +0 -114
  422. package/lib/cjs/components/editgrid/fixtures/comp3.d.ts +0 -27
  423. package/lib/cjs/components/editgrid/fixtures/comp3.js +0 -28
  424. package/lib/cjs/components/editgrid/fixtures/comp4.d.ts +0 -23
  425. package/lib/cjs/components/editgrid/fixtures/comp4.js +0 -24
  426. package/lib/cjs/components/editgrid/fixtures/comp5.d.ts +0 -19
  427. package/lib/cjs/components/editgrid/fixtures/comp5.js +0 -22
  428. package/lib/cjs/components/editgrid/fixtures/comp6.d.ts +0 -50
  429. package/lib/cjs/components/editgrid/fixtures/comp6.js +0 -58
  430. package/lib/cjs/components/editgrid/fixtures/comp7.d.ts +0 -129
  431. package/lib/cjs/components/editgrid/fixtures/comp7.js +0 -123
  432. package/lib/cjs/components/editgrid/fixtures/comp8.d.ts +0 -148
  433. package/lib/cjs/components/editgrid/fixtures/comp8.js +0 -156
  434. package/lib/cjs/components/editgrid/fixtures/comp9.d.ts +0 -86
  435. package/lib/cjs/components/editgrid/fixtures/comp9.js +0 -62
  436. package/lib/cjs/components/editgrid/fixtures/index.d.ts +0 -19
  437. package/lib/cjs/components/editgrid/fixtures/index.js +0 -42
  438. package/lib/cjs/components/email/Email.d.ts +0 -4
  439. package/lib/cjs/components/email/Email.form.d.ts +0 -3
  440. package/lib/cjs/components/email/Email.form.js +0 -21
  441. package/lib/cjs/components/email/Email.js +0 -54
  442. package/lib/cjs/components/email/editForm/Email.edit.display.d.ts +0 -5
  443. package/lib/cjs/components/email/editForm/Email.edit.display.js +0 -20
  444. package/lib/cjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
  445. package/lib/cjs/components/email/editForm/Email.edit.validation.js +0 -28
  446. package/lib/cjs/components/email/fixtures/comp1.d.ts +0 -26
  447. package/lib/cjs/components/email/fixtures/comp1.js +0 -26
  448. package/lib/cjs/components/email/fixtures/comp2.d.ts +0 -23
  449. package/lib/cjs/components/email/fixtures/comp2.js +0 -13
  450. package/lib/cjs/components/email/fixtures/index.d.ts +0 -3
  451. package/lib/cjs/components/email/fixtures/index.js +0 -10
  452. package/lib/cjs/components/email/fixtures/values.d.ts +0 -2
  453. package/lib/cjs/components/email/fixtures/values.js +0 -6
  454. package/lib/cjs/components/fieldset/Fieldset.d.ts +0 -15
  455. package/lib/cjs/components/fieldset/Fieldset.form.d.ts +0 -3
  456. package/lib/cjs/components/fieldset/Fieldset.form.js +0 -16
  457. package/lib/cjs/components/fieldset/Fieldset.js +0 -47
  458. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
  459. package/lib/cjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -44
  460. package/lib/cjs/components/fieldset/fixtures/comp1.d.ts +0 -46
  461. package/lib/cjs/components/fieldset/fixtures/comp1.js +0 -81
  462. package/lib/cjs/components/fieldset/fixtures/index.d.ts +0 -2
  463. package/lib/cjs/components/fieldset/fixtures/index.js +0 -8
  464. package/lib/cjs/components/file/File.d.ts +0 -81
  465. package/lib/cjs/components/file/File.form.d.ts +0 -3
  466. package/lib/cjs/components/file/File.form.js +0 -33
  467. package/lib/cjs/components/file/File.js +0 -777
  468. package/lib/cjs/components/file/editForm/File.edit.data.d.ts +0 -5
  469. package/lib/cjs/components/file/editForm/File.edit.data.js +0 -8
  470. package/lib/cjs/components/file/editForm/File.edit.display.d.ts +0 -5
  471. package/lib/cjs/components/file/editForm/File.edit.display.js +0 -8
  472. package/lib/cjs/components/file/editForm/File.edit.file.d.ts +0 -275
  473. package/lib/cjs/components/file/editForm/File.edit.file.js +0 -288
  474. package/lib/cjs/components/file/editForm/File.edit.validation.d.ts +0 -5
  475. package/lib/cjs/components/file/editForm/File.edit.validation.js +0 -12
  476. package/lib/cjs/components/file/fixtures/comp1.d.ts +0 -15
  477. package/lib/cjs/components/file/fixtures/comp1.js +0 -18
  478. package/lib/cjs/components/file/fixtures/comp2.d.ts +0 -35
  479. package/lib/cjs/components/file/fixtures/comp2.js +0 -31
  480. package/lib/cjs/components/file/fixtures/index.d.ts +0 -3
  481. package/lib/cjs/components/file/fixtures/index.js +0 -10
  482. package/lib/cjs/components/file/fixtures/values.d.ts +0 -10
  483. package/lib/cjs/components/file/fixtures/values.js +0 -15
  484. package/lib/cjs/components/form/Form.d.ts +0 -98
  485. package/lib/cjs/components/form/Form.form.d.ts +0 -3
  486. package/lib/cjs/components/form/Form.form.js +0 -30
  487. package/lib/cjs/components/form/Form.js +0 -730
  488. package/lib/cjs/components/form/editForm/Form.edit.data.d.ts +0 -82
  489. package/lib/cjs/components/form/editForm/Form.edit.data.js +0 -21
  490. package/lib/cjs/components/form/editForm/Form.edit.display.d.ts +0 -5
  491. package/lib/cjs/components/form/editForm/Form.edit.display.js +0 -29
  492. package/lib/cjs/components/form/editForm/Form.edit.form.d.ts +0 -89
  493. package/lib/cjs/components/form/editForm/Form.edit.form.js +0 -75
  494. package/lib/cjs/components/form/fixtures/comp1.d.ts +0 -45
  495. package/lib/cjs/components/form/fixtures/comp1.js +0 -80
  496. package/lib/cjs/components/form/fixtures/comp2.d.ts +0 -14
  497. package/lib/cjs/components/form/fixtures/comp2.js +0 -15
  498. package/lib/cjs/components/form/fixtures/comp3.d.ts +0 -187
  499. package/lib/cjs/components/form/fixtures/comp3.js +0 -170
  500. package/lib/cjs/components/form/fixtures/comp4.d.ts +0 -107
  501. package/lib/cjs/components/form/fixtures/comp4.js +0 -91
  502. package/lib/cjs/components/form/fixtures/comp5.d.ts +0 -42
  503. package/lib/cjs/components/form/fixtures/comp5.js +0 -45
  504. package/lib/cjs/components/form/fixtures/comp6.d.ts +0 -74
  505. package/lib/cjs/components/form/fixtures/comp6.js +0 -94
  506. package/lib/cjs/components/form/fixtures/formModalEdit.d.ts +0 -42
  507. package/lib/cjs/components/form/fixtures/formModalEdit.js +0 -51
  508. package/lib/cjs/components/form/fixtures/index.d.ts +0 -8
  509. package/lib/cjs/components/form/fixtures/index.js +0 -20
  510. package/lib/cjs/components/form/fixtures/values.d.ts +0 -6
  511. package/lib/cjs/components/form/fixtures/values.js +0 -9
  512. package/lib/cjs/components/hidden/Hidden.d.ts +0 -26
  513. package/lib/cjs/components/hidden/Hidden.form.d.ts +0 -3
  514. package/lib/cjs/components/hidden/Hidden.form.js +0 -29
  515. package/lib/cjs/components/hidden/Hidden.js +0 -61
  516. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
  517. package/lib/cjs/components/hidden/editForm/Hidden.edit.data.js +0 -16
  518. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
  519. package/lib/cjs/components/hidden/editForm/Hidden.edit.display.js +0 -44
  520. package/lib/cjs/components/hidden/fixtures/comp1.d.ts +0 -18
  521. package/lib/cjs/components/hidden/fixtures/comp1.js +0 -18
  522. package/lib/cjs/components/hidden/fixtures/index.d.ts +0 -2
  523. package/lib/cjs/components/hidden/fixtures/index.js +0 -8
  524. package/lib/cjs/components/hidden/fixtures/values.d.ts +0 -2
  525. package/lib/cjs/components/hidden/fixtures/values.js +0 -6
  526. package/lib/cjs/components/html/HTML.d.ts +0 -18
  527. package/lib/cjs/components/html/HTML.form.d.ts +0 -3
  528. package/lib/cjs/components/html/HTML.form.js +0 -29
  529. package/lib/cjs/components/html/HTML.js +0 -93
  530. package/lib/cjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
  531. package/lib/cjs/components/html/editForm/HTML.edit.display.js +0 -100
  532. package/lib/cjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
  533. package/lib/cjs/components/html/editForm/HTML.edit.logic.js +0 -100
  534. package/lib/cjs/components/html/fixtures/comp1.d.ts +0 -19
  535. package/lib/cjs/components/html/fixtures/comp1.js +0 -22
  536. package/lib/cjs/components/html/fixtures/comp2.d.ts +0 -21
  537. package/lib/cjs/components/html/fixtures/comp2.js +0 -24
  538. package/lib/cjs/components/html/fixtures/index.d.ts +0 -3
  539. package/lib/cjs/components/html/fixtures/index.js +0 -10
  540. package/lib/cjs/components/index.d.ts +0 -100
  541. package/lib/cjs/components/index.js +0 -104
  542. package/lib/cjs/components/number/Number.d.ts +0 -54
  543. package/lib/cjs/components/number/Number.form.d.ts +0 -3
  544. package/lib/cjs/components/number/Number.form.js +0 -26
  545. package/lib/cjs/components/number/Number.js +0 -204
  546. package/lib/cjs/components/number/editForm/Number.edit.data.d.ts +0 -18
  547. package/lib/cjs/components/number/editForm/Number.edit.data.js +0 -32
  548. package/lib/cjs/components/number/editForm/Number.edit.display.d.ts +0 -5
  549. package/lib/cjs/components/number/editForm/Number.edit.display.js +0 -24
  550. package/lib/cjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
  551. package/lib/cjs/components/number/editForm/Number.edit.validation.js +0 -46
  552. package/lib/cjs/components/number/fixtures/comp1.d.ts +0 -33
  553. package/lib/cjs/components/number/fixtures/comp1.js +0 -32
  554. package/lib/cjs/components/number/fixtures/comp2.d.ts +0 -32
  555. package/lib/cjs/components/number/fixtures/comp2.js +0 -31
  556. package/lib/cjs/components/number/fixtures/comp3.d.ts +0 -14
  557. package/lib/cjs/components/number/fixtures/comp3.js +0 -15
  558. package/lib/cjs/components/number/fixtures/comp4.d.ts +0 -14
  559. package/lib/cjs/components/number/fixtures/comp4.js +0 -15
  560. package/lib/cjs/components/number/fixtures/comp5.d.ts +0 -20
  561. package/lib/cjs/components/number/fixtures/comp5.js +0 -20
  562. package/lib/cjs/components/number/fixtures/comp6.d.ts +0 -40
  563. package/lib/cjs/components/number/fixtures/comp6.js +0 -27
  564. package/lib/cjs/components/number/fixtures/comp7.d.ts +0 -15
  565. package/lib/cjs/components/number/fixtures/comp7.js +0 -16
  566. package/lib/cjs/components/number/fixtures/index.d.ts +0 -8
  567. package/lib/cjs/components/number/fixtures/index.js +0 -20
  568. package/lib/cjs/components/number/fixtures/values.d.ts +0 -2
  569. package/lib/cjs/components/number/fixtures/values.js +0 -11
  570. package/lib/cjs/components/panel/Panel.d.ts +0 -15
  571. package/lib/cjs/components/panel/Panel.form.d.ts +0 -3
  572. package/lib/cjs/components/panel/Panel.form.js +0 -21
  573. package/lib/cjs/components/panel/Panel.js +0 -62
  574. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
  575. package/lib/cjs/components/panel/editForm/Panel.edit.conditional.js +0 -42
  576. package/lib/cjs/components/panel/editForm/Panel.edit.display.d.ts +0 -228
  577. package/lib/cjs/components/panel/editForm/Panel.edit.display.js +0 -213
  578. package/lib/cjs/components/panel/fixtures/comp1.d.ts +0 -46
  579. package/lib/cjs/components/panel/fixtures/comp1.js +0 -80
  580. package/lib/cjs/components/panel/fixtures/comp2.d.ts +0 -80
  581. package/lib/cjs/components/panel/fixtures/comp2.js +0 -69
  582. package/lib/cjs/components/panel/fixtures/index.d.ts +0 -3
  583. package/lib/cjs/components/panel/fixtures/index.js +0 -10
  584. package/lib/cjs/components/password/Password.d.ts +0 -3
  585. package/lib/cjs/components/password/Password.form.d.ts +0 -3
  586. package/lib/cjs/components/password/Password.form.js +0 -26
  587. package/lib/cjs/components/password/Password.js +0 -40
  588. package/lib/cjs/components/password/editForm/Password.edit.data.d.ts +0 -18
  589. package/lib/cjs/components/password/editForm/Password.edit.data.js +0 -48
  590. package/lib/cjs/components/password/editForm/Password.edit.display.d.ts +0 -5
  591. package/lib/cjs/components/password/editForm/Password.edit.display.js +0 -16
  592. package/lib/cjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
  593. package/lib/cjs/components/password/editForm/Password.edit.validation.js +0 -16
  594. package/lib/cjs/components/password/fixtures/comp1.d.ts +0 -22
  595. package/lib/cjs/components/password/fixtures/comp1.js +0 -22
  596. package/lib/cjs/components/password/fixtures/comp2.d.ts +0 -27
  597. package/lib/cjs/components/password/fixtures/comp2.js +0 -29
  598. package/lib/cjs/components/password/fixtures/index.d.ts +0 -3
  599. package/lib/cjs/components/password/fixtures/index.js +0 -10
  600. package/lib/cjs/components/password/fixtures/values.d.ts +0 -2
  601. package/lib/cjs/components/password/fixtures/values.js +0 -6
  602. package/lib/cjs/components/phonenumber/PhoneNumber.d.ts +0 -3
  603. package/lib/cjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
  604. package/lib/cjs/components/phonenumber/PhoneNumber.form.js +0 -38
  605. package/lib/cjs/components/phonenumber/PhoneNumber.js +0 -33
  606. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
  607. package/lib/cjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +0 -24
  608. package/lib/cjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
  609. package/lib/cjs/components/phonenumber/fixtures/comp1.js +0 -27
  610. package/lib/cjs/components/phonenumber/fixtures/index.d.ts +0 -2
  611. package/lib/cjs/components/phonenumber/fixtures/index.js +0 -8
  612. package/lib/cjs/components/phonenumber/fixtures/values.d.ts +0 -2
  613. package/lib/cjs/components/phonenumber/fixtures/values.js +0 -6
  614. package/lib/cjs/components/radio/Radio.d.ts +0 -65
  615. package/lib/cjs/components/radio/Radio.form.d.ts +0 -3
  616. package/lib/cjs/components/radio/Radio.form.js +0 -26
  617. package/lib/cjs/components/radio/Radio.js +0 -376
  618. package/lib/cjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
  619. package/lib/cjs/components/radio/editForm/Radio.edit.data.js +0 -85
  620. package/lib/cjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
  621. package/lib/cjs/components/radio/editForm/Radio.edit.display.js +0 -34
  622. package/lib/cjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
  623. package/lib/cjs/components/radio/editForm/Radio.edit.validation.js +0 -20
  624. package/lib/cjs/components/radio/fixtures/comp1.d.ts +0 -28
  625. package/lib/cjs/components/radio/fixtures/comp1.js +0 -42
  626. package/lib/cjs/components/radio/fixtures/comp2.d.ts +0 -85
  627. package/lib/cjs/components/radio/fixtures/comp2.js +0 -86
  628. package/lib/cjs/components/radio/fixtures/comp3.d.ts +0 -85
  629. package/lib/cjs/components/radio/fixtures/comp3.js +0 -90
  630. package/lib/cjs/components/radio/fixtures/comp4.d.ts +0 -19
  631. package/lib/cjs/components/radio/fixtures/comp4.js +0 -27
  632. package/lib/cjs/components/radio/fixtures/comp5.d.ts +0 -39
  633. package/lib/cjs/components/radio/fixtures/comp5.js +0 -35
  634. package/lib/cjs/components/radio/fixtures/comp6.d.ts +0 -38
  635. package/lib/cjs/components/radio/fixtures/comp6.js +0 -33
  636. package/lib/cjs/components/radio/fixtures/comp7.d.ts +0 -23
  637. package/lib/cjs/components/radio/fixtures/comp7.js +0 -21
  638. package/lib/cjs/components/radio/fixtures/comp8.d.ts +0 -118
  639. package/lib/cjs/components/radio/fixtures/comp8.js +0 -113
  640. package/lib/cjs/components/radio/fixtures/comp9.d.ts +0 -35
  641. package/lib/cjs/components/radio/fixtures/comp9.js +0 -32
  642. package/lib/cjs/components/radio/fixtures/index.d.ts +0 -10
  643. package/lib/cjs/components/radio/fixtures/index.js +0 -24
  644. package/lib/cjs/components/radio/fixtures/values.d.ts +0 -2
  645. package/lib/cjs/components/radio/fixtures/values.js +0 -7
  646. package/lib/cjs/components/recaptcha/ReCaptcha.d.ts +0 -23
  647. package/lib/cjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
  648. package/lib/cjs/components/recaptcha/ReCaptcha.form.js +0 -32
  649. package/lib/cjs/components/recaptcha/ReCaptcha.js +0 -142
  650. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
  651. package/lib/cjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +0 -108
  652. package/lib/cjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
  653. package/lib/cjs/components/recaptcha/fixtures/comp1.js +0 -9
  654. package/lib/cjs/components/recaptcha/fixtures/index.d.ts +0 -2
  655. package/lib/cjs/components/recaptcha/fixtures/index.js +0 -8
  656. package/lib/cjs/components/resource/Resource.d.ts +0 -10
  657. package/lib/cjs/components/resource/Resource.form.d.ts +0 -3
  658. package/lib/cjs/components/resource/Resource.form.js +0 -16
  659. package/lib/cjs/components/resource/Resource.js +0 -39
  660. package/lib/cjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
  661. package/lib/cjs/components/resource/editForm/Resource.edit.display.js +0 -102
  662. package/lib/cjs/components/resource/fixtures/comp1.d.ts +0 -30
  663. package/lib/cjs/components/resource/fixtures/comp1.js +0 -30
  664. package/lib/cjs/components/resource/fixtures/comp2.d.ts +0 -35
  665. package/lib/cjs/components/resource/fixtures/comp2.js +0 -31
  666. package/lib/cjs/components/resource/fixtures/index.d.ts +0 -3
  667. package/lib/cjs/components/resource/fixtures/index.js +0 -10
  668. package/lib/cjs/components/select/Select.d.ts +0 -145
  669. package/lib/cjs/components/select/Select.form.d.ts +0 -3
  670. package/lib/cjs/components/select/Select.form.js +0 -26
  671. package/lib/cjs/components/select/Select.js +0 -1466
  672. package/lib/cjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
  673. package/lib/cjs/components/select/editForm/Select.edit.data.js +0 -629
  674. package/lib/cjs/components/select/editForm/Select.edit.display.d.ts +0 -27
  675. package/lib/cjs/components/select/editForm/Select.edit.display.js +0 -28
  676. package/lib/cjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
  677. package/lib/cjs/components/select/editForm/Select.edit.validation.js +0 -35
  678. package/lib/cjs/components/select/fixtures/comp1.d.ts +0 -40
  679. package/lib/cjs/components/select/fixtures/comp1.js +0 -66
  680. package/lib/cjs/components/select/fixtures/comp10.d.ts +0 -41
  681. package/lib/cjs/components/select/fixtures/comp10.js +0 -32
  682. package/lib/cjs/components/select/fixtures/comp11.d.ts +0 -28
  683. package/lib/cjs/components/select/fixtures/comp11.js +0 -24
  684. package/lib/cjs/components/select/fixtures/comp12.d.ts +0 -53
  685. package/lib/cjs/components/select/fixtures/comp12.js +0 -29
  686. package/lib/cjs/components/select/fixtures/comp13.d.ts +0 -28
  687. package/lib/cjs/components/select/fixtures/comp13.js +0 -31
  688. package/lib/cjs/components/select/fixtures/comp14.d.ts +0 -40
  689. package/lib/cjs/components/select/fixtures/comp14.js +0 -27
  690. package/lib/cjs/components/select/fixtures/comp15.d.ts +0 -50
  691. package/lib/cjs/components/select/fixtures/comp15.js +0 -41
  692. package/lib/cjs/components/select/fixtures/comp16.d.ts +0 -34
  693. package/lib/cjs/components/select/fixtures/comp16.js +0 -33
  694. package/lib/cjs/components/select/fixtures/comp17.d.ts +0 -51
  695. package/lib/cjs/components/select/fixtures/comp17.js +0 -43
  696. package/lib/cjs/components/select/fixtures/comp18.d.ts +0 -49
  697. package/lib/cjs/components/select/fixtures/comp18.js +0 -42
  698. package/lib/cjs/components/select/fixtures/comp19.d.ts +0 -23
  699. package/lib/cjs/components/select/fixtures/comp19.js +0 -36
  700. package/lib/cjs/components/select/fixtures/comp2.d.ts +0 -41
  701. package/lib/cjs/components/select/fixtures/comp2.js +0 -67
  702. package/lib/cjs/components/select/fixtures/comp3.d.ts +0 -35
  703. package/lib/cjs/components/select/fixtures/comp3.js +0 -209
  704. package/lib/cjs/components/select/fixtures/comp4.d.ts +0 -103
  705. package/lib/cjs/components/select/fixtures/comp4.js +0 -106
  706. package/lib/cjs/components/select/fixtures/comp5.d.ts +0 -21
  707. package/lib/cjs/components/select/fixtures/comp5.js +0 -28
  708. package/lib/cjs/components/select/fixtures/comp6.d.ts +0 -20
  709. package/lib/cjs/components/select/fixtures/comp6.js +0 -30
  710. package/lib/cjs/components/select/fixtures/comp7.d.ts +0 -63
  711. package/lib/cjs/components/select/fixtures/comp7.js +0 -46
  712. package/lib/cjs/components/select/fixtures/comp8.d.ts +0 -72
  713. package/lib/cjs/components/select/fixtures/comp8.js +0 -37
  714. package/lib/cjs/components/select/fixtures/comp9.d.ts +0 -88
  715. package/lib/cjs/components/select/fixtures/comp9.js +0 -67
  716. package/lib/cjs/components/select/fixtures/index.d.ts +0 -20
  717. package/lib/cjs/components/select/fixtures/index.js +0 -45
  718. package/lib/cjs/components/select/fixtures/values.d.ts +0 -2
  719. package/lib/cjs/components/select/fixtures/values.js +0 -7
  720. package/lib/cjs/components/selectboxes/SelectBoxes.d.ts +0 -52
  721. package/lib/cjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
  722. package/lib/cjs/components/selectboxes/SelectBoxes.form.js +0 -25
  723. package/lib/cjs/components/selectboxes/SelectBoxes.js +0 -258
  724. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
  725. package/lib/cjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +0 -36
  726. package/lib/cjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
  727. package/lib/cjs/components/selectboxes/fixtures/comp1.js +0 -54
  728. package/lib/cjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
  729. package/lib/cjs/components/selectboxes/fixtures/comp2.js +0 -54
  730. package/lib/cjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
  731. package/lib/cjs/components/selectboxes/fixtures/comp3.js +0 -21
  732. package/lib/cjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
  733. package/lib/cjs/components/selectboxes/fixtures/comp4.js +0 -81
  734. package/lib/cjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
  735. package/lib/cjs/components/selectboxes/fixtures/comp5.js +0 -33
  736. package/lib/cjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
  737. package/lib/cjs/components/selectboxes/fixtures/comp6.js +0 -15
  738. package/lib/cjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
  739. package/lib/cjs/components/selectboxes/fixtures/comp7.js +0 -31
  740. package/lib/cjs/components/selectboxes/fixtures/index.d.ts +0 -8
  741. package/lib/cjs/components/selectboxes/fixtures/index.js +0 -20
  742. package/lib/cjs/components/selectboxes/fixtures/values.d.ts +0 -6
  743. package/lib/cjs/components/selectboxes/fixtures/values.js +0 -24
  744. package/lib/cjs/components/signature/Signature.d.ts +0 -46
  745. package/lib/cjs/components/signature/Signature.form.d.ts +0 -3
  746. package/lib/cjs/components/signature/Signature.form.js +0 -26
  747. package/lib/cjs/components/signature/Signature.js +0 -259
  748. package/lib/cjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
  749. package/lib/cjs/components/signature/editForm/Signature.edit.data.js +0 -16
  750. package/lib/cjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
  751. package/lib/cjs/components/signature/editForm/Signature.edit.display.js +0 -71
  752. package/lib/cjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
  753. package/lib/cjs/components/signature/editForm/Signature.edit.validation.js +0 -12
  754. package/lib/cjs/components/signature/fixtures/comp1.d.ts +0 -30
  755. package/lib/cjs/components/signature/fixtures/comp1.js +0 -30
  756. package/lib/cjs/components/signature/fixtures/index.d.ts +0 -2
  757. package/lib/cjs/components/signature/fixtures/index.js +0 -8
  758. package/lib/cjs/components/signature/fixtures/values.d.ts +0 -2
  759. package/lib/cjs/components/signature/fixtures/values.js +0 -7
  760. package/lib/cjs/components/survey/Survey.d.ts +0 -37
  761. package/lib/cjs/components/survey/Survey.form.d.ts +0 -3
  762. package/lib/cjs/components/survey/Survey.form.js +0 -26
  763. package/lib/cjs/components/survey/Survey.js +0 -156
  764. package/lib/cjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
  765. package/lib/cjs/components/survey/editForm/Survey.edit.data.js +0 -72
  766. package/lib/cjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
  767. package/lib/cjs/components/survey/editForm/Survey.edit.display.js +0 -8
  768. package/lib/cjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
  769. package/lib/cjs/components/survey/editForm/Survey.edit.validation.js +0 -8
  770. package/lib/cjs/components/survey/fixtures/comp1.d.ts +0 -31
  771. package/lib/cjs/components/survey/fixtures/comp1.js +0 -55
  772. package/lib/cjs/components/survey/fixtures/comp2.d.ts +0 -31
  773. package/lib/cjs/components/survey/fixtures/comp2.js +0 -55
  774. package/lib/cjs/components/survey/fixtures/index.d.ts +0 -3
  775. package/lib/cjs/components/survey/fixtures/index.js +0 -10
  776. package/lib/cjs/components/survey/fixtures/values.d.ts +0 -5
  777. package/lib/cjs/components/survey/fixtures/values.js +0 -12
  778. package/lib/cjs/components/table/Table.d.ts +0 -23
  779. package/lib/cjs/components/table/Table.form.d.ts +0 -3
  780. package/lib/cjs/components/table/Table.form.js +0 -16
  781. package/lib/cjs/components/table/Table.js +0 -175
  782. package/lib/cjs/components/table/editForm/Table.edit.display.d.ts +0 -55
  783. package/lib/cjs/components/table/editForm/Table.edit.display.js +0 -111
  784. package/lib/cjs/components/table/fixtures/comp1.d.ts +0 -53
  785. package/lib/cjs/components/table/fixtures/comp1.js +0 -237
  786. package/lib/cjs/components/table/fixtures/index.d.ts +0 -2
  787. package/lib/cjs/components/table/fixtures/index.js +0 -8
  788. package/lib/cjs/components/tabs/Tabs.d.ts +0 -30
  789. package/lib/cjs/components/tabs/Tabs.form.d.ts +0 -3
  790. package/lib/cjs/components/tabs/Tabs.form.js +0 -16
  791. package/lib/cjs/components/tabs/Tabs.js +0 -207
  792. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -49
  793. package/lib/cjs/components/tabs/editForm/Tabs.edit.display.js +0 -68
  794. package/lib/cjs/components/tabs/fixtures/comp1.d.ts +0 -23
  795. package/lib/cjs/components/tabs/fixtures/comp1.js +0 -33
  796. package/lib/cjs/components/tabs/fixtures/index.d.ts +0 -2
  797. package/lib/cjs/components/tabs/fixtures/index.js +0 -8
  798. package/lib/cjs/components/tags/Tags.d.ts +0 -41
  799. package/lib/cjs/components/tags/Tags.form.d.ts +0 -3
  800. package/lib/cjs/components/tags/Tags.form.js +0 -16
  801. package/lib/cjs/components/tags/Tags.js +0 -174
  802. package/lib/cjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
  803. package/lib/cjs/components/tags/editForm/Tags.edit.data.js +0 -39
  804. package/lib/cjs/components/tags/fixtures/comp1.d.ts +0 -20
  805. package/lib/cjs/components/tags/fixtures/comp1.js +0 -20
  806. package/lib/cjs/components/tags/fixtures/comp2.d.ts +0 -10
  807. package/lib/cjs/components/tags/fixtures/comp2.js +0 -11
  808. package/lib/cjs/components/tags/fixtures/comp3.d.ts +0 -23
  809. package/lib/cjs/components/tags/fixtures/comp3.js +0 -20
  810. package/lib/cjs/components/tags/fixtures/comp4.d.ts +0 -9
  811. package/lib/cjs/components/tags/fixtures/comp4.js +0 -10
  812. package/lib/cjs/components/tags/fixtures/comp5.d.ts +0 -24
  813. package/lib/cjs/components/tags/fixtures/comp5.js +0 -24
  814. package/lib/cjs/components/tags/fixtures/comp6.d.ts +0 -17
  815. package/lib/cjs/components/tags/fixtures/comp6.js +0 -20
  816. package/lib/cjs/components/tags/fixtures/index.d.ts +0 -7
  817. package/lib/cjs/components/tags/fixtures/index.js +0 -18
  818. package/lib/cjs/components/tags/fixtures/values.d.ts +0 -2
  819. package/lib/cjs/components/tags/fixtures/values.js +0 -6
  820. package/lib/cjs/components/textarea/TextArea.d.ts +0 -37
  821. package/lib/cjs/components/textarea/TextArea.form.d.ts +0 -3
  822. package/lib/cjs/components/textarea/TextArea.form.js +0 -21
  823. package/lib/cjs/components/textarea/TextArea.js +0 -537
  824. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
  825. package/lib/cjs/components/textarea/editForm/TextArea.edit.display.js +0 -263
  826. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
  827. package/lib/cjs/components/textarea/editForm/TextArea.edit.validation.js +0 -22
  828. package/lib/cjs/components/textarea/fixtures/comp1.d.ts +0 -31
  829. package/lib/cjs/components/textarea/fixtures/comp1.js +0 -31
  830. package/lib/cjs/components/textarea/fixtures/comp2.d.ts +0 -29
  831. package/lib/cjs/components/textarea/fixtures/comp2.js +0 -29
  832. package/lib/cjs/components/textarea/fixtures/comp3.d.ts +0 -27
  833. package/lib/cjs/components/textarea/fixtures/comp3.js +0 -29
  834. package/lib/cjs/components/textarea/fixtures/comp4.d.ts +0 -30
  835. package/lib/cjs/components/textarea/fixtures/comp4.js +0 -27
  836. package/lib/cjs/components/textarea/fixtures/index.d.ts +0 -5
  837. package/lib/cjs/components/textarea/fixtures/index.js +0 -14
  838. package/lib/cjs/components/textarea/fixtures/values.d.ts +0 -2
  839. package/lib/cjs/components/textarea/fixtures/values.js +0 -6
  840. package/lib/cjs/components/textfield/TextField.d.ts +0 -60
  841. package/lib/cjs/components/textfield/TextField.form.d.ts +0 -3
  842. package/lib/cjs/components/textfield/TextField.form.js +0 -26
  843. package/lib/cjs/components/textfield/TextField.js +0 -251
  844. package/lib/cjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
  845. package/lib/cjs/components/textfield/editForm/TextField.edit.data.js +0 -58
  846. package/lib/cjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
  847. package/lib/cjs/components/textfield/editForm/TextField.edit.display.js +0 -208
  848. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
  849. package/lib/cjs/components/textfield/editForm/TextField.edit.validation.js +0 -49
  850. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
  851. package/lib/cjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +0 -48
  852. package/lib/cjs/components/textfield/fixtures/comp1.d.ts +0 -33
  853. package/lib/cjs/components/textfield/fixtures/comp1.js +0 -33
  854. package/lib/cjs/components/textfield/fixtures/comp2.d.ts +0 -33
  855. package/lib/cjs/components/textfield/fixtures/comp2.js +0 -33
  856. package/lib/cjs/components/textfield/fixtures/comp3.d.ts +0 -33
  857. package/lib/cjs/components/textfield/fixtures/comp3.js +0 -33
  858. package/lib/cjs/components/textfield/fixtures/comp4.d.ts +0 -23
  859. package/lib/cjs/components/textfield/fixtures/comp4.js +0 -27
  860. package/lib/cjs/components/textfield/fixtures/comp5.d.ts +0 -12
  861. package/lib/cjs/components/textfield/fixtures/comp5.js +0 -13
  862. package/lib/cjs/components/textfield/fixtures/comp6.d.ts +0 -25
  863. package/lib/cjs/components/textfield/fixtures/comp6.js +0 -21
  864. package/lib/cjs/components/textfield/fixtures/comp7.d.ts +0 -37
  865. package/lib/cjs/components/textfield/fixtures/comp7.js +0 -38
  866. package/lib/cjs/components/textfield/fixtures/index.d.ts +0 -9
  867. package/lib/cjs/components/textfield/fixtures/index.js +0 -22
  868. package/lib/cjs/components/textfield/fixtures/values.d.ts +0 -2
  869. package/lib/cjs/components/textfield/fixtures/values.js +0 -7
  870. package/lib/cjs/components/time/Time.d.ts +0 -27
  871. package/lib/cjs/components/time/Time.form.d.ts +0 -3
  872. package/lib/cjs/components/time/Time.form.js +0 -21
  873. package/lib/cjs/components/time/Time.js +0 -153
  874. package/lib/cjs/components/time/editForm/Time.edit.data.d.ts +0 -10
  875. package/lib/cjs/components/time/editForm/Time.edit.data.js +0 -13
  876. package/lib/cjs/components/time/editForm/Time.edit.display.d.ts +0 -52
  877. package/lib/cjs/components/time/editForm/Time.edit.display.js +0 -42
  878. package/lib/cjs/components/time/fixtures/comp1.d.ts +0 -24
  879. package/lib/cjs/components/time/fixtures/comp1.js +0 -24
  880. package/lib/cjs/components/time/fixtures/comp2.d.ts +0 -10
  881. package/lib/cjs/components/time/fixtures/comp2.js +0 -11
  882. package/lib/cjs/components/time/fixtures/comp3.d.ts +0 -15
  883. package/lib/cjs/components/time/fixtures/comp3.js +0 -18
  884. package/lib/cjs/components/time/fixtures/index.d.ts +0 -6
  885. package/lib/cjs/components/time/fixtures/index.js +0 -16
  886. package/lib/cjs/components/time/fixtures/timeForm.d.ts +0 -47
  887. package/lib/cjs/components/time/fixtures/timeForm.js +0 -52
  888. package/lib/cjs/components/time/fixtures/timeForm2.d.ts +0 -38
  889. package/lib/cjs/components/time/fixtures/timeForm2.js +0 -44
  890. package/lib/cjs/components/time/fixtures/values.d.ts +0 -2
  891. package/lib/cjs/components/time/fixtures/values.js +0 -7
  892. package/lib/cjs/components/tree/Node.d.ts +0 -55
  893. package/lib/cjs/components/tree/Node.js +0 -185
  894. package/lib/cjs/components/tree/Tree.d.ts +0 -48
  895. package/lib/cjs/components/tree/Tree.form.d.ts +0 -3
  896. package/lib/cjs/components/tree/Tree.form.js +0 -21
  897. package/lib/cjs/components/tree/Tree.js +0 -383
  898. package/lib/cjs/components/tree/editForm/Tree.edit.data.d.ts +0 -5
  899. package/lib/cjs/components/tree/editForm/Tree.edit.data.js +0 -9
  900. package/lib/cjs/components/tree/editForm/Tree.edit.display.d.ts +0 -9
  901. package/lib/cjs/components/tree/editForm/Tree.edit.display.js +0 -12
  902. package/lib/cjs/components/tree/fixtures/comp1.d.ts +0 -23
  903. package/lib/cjs/components/tree/fixtures/comp1.js +0 -24
  904. package/lib/cjs/components/tree/fixtures/comp2.d.ts +0 -116
  905. package/lib/cjs/components/tree/fixtures/comp2.js +0 -82
  906. package/lib/cjs/components/tree/fixtures/comp3.d.ts +0 -24
  907. package/lib/cjs/components/tree/fixtures/comp3.js +0 -25
  908. package/lib/cjs/components/tree/fixtures/comp4.d.ts +0 -42
  909. package/lib/cjs/components/tree/fixtures/comp4.js +0 -47
  910. package/lib/cjs/components/tree/fixtures/index.d.ts +0 -5
  911. package/lib/cjs/components/tree/fixtures/index.js +0 -14
  912. package/lib/cjs/components/unknown/Unknown.d.ts +0 -28
  913. package/lib/cjs/components/unknown/Unknown.form.d.ts +0 -34
  914. package/lib/cjs/components/unknown/Unknown.form.js +0 -25
  915. package/lib/cjs/components/unknown/Unknown.js +0 -30
  916. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
  917. package/lib/cjs/components/unknown/editForm/Unknown.edit.display.js +0 -27
  918. package/lib/cjs/components/unknown/fixtures/comp1.d.ts +0 -7
  919. package/lib/cjs/components/unknown/fixtures/comp1.js +0 -8
  920. package/lib/cjs/components/unknown/fixtures/index.d.ts +0 -2
  921. package/lib/cjs/components/unknown/fixtures/index.js +0 -8
  922. package/lib/cjs/components/url/Url.d.ts +0 -3
  923. package/lib/cjs/components/url/Url.form.d.ts +0 -3
  924. package/lib/cjs/components/url/Url.form.js +0 -26
  925. package/lib/cjs/components/url/Url.js +0 -39
  926. package/lib/cjs/components/url/editForm/Url.edit.data.d.ts +0 -5
  927. package/lib/cjs/components/url/editForm/Url.edit.data.js +0 -8
  928. package/lib/cjs/components/url/editForm/Url.edit.display.d.ts +0 -5
  929. package/lib/cjs/components/url/editForm/Url.edit.display.js +0 -20
  930. package/lib/cjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
  931. package/lib/cjs/components/url/editForm/Url.edit.validation.js +0 -12
  932. package/lib/cjs/components/url/fixtures/comp1.d.ts +0 -26
  933. package/lib/cjs/components/url/fixtures/comp1.js +0 -26
  934. package/lib/cjs/components/url/fixtures/comp2.d.ts +0 -26
  935. package/lib/cjs/components/url/fixtures/comp2.js +0 -23
  936. package/lib/cjs/components/url/fixtures/index.d.ts +0 -3
  937. package/lib/cjs/components/url/fixtures/index.js +0 -10
  938. package/lib/cjs/components/url/fixtures/values.d.ts +0 -2
  939. package/lib/cjs/components/url/fixtures/values.js +0 -6
  940. package/lib/cjs/components/well/Well.d.ts +0 -15
  941. package/lib/cjs/components/well/Well.form.d.ts +0 -3
  942. package/lib/cjs/components/well/Well.form.js +0 -16
  943. package/lib/cjs/components/well/Well.js +0 -45
  944. package/lib/cjs/components/well/editForm/Well.edit.display.d.ts +0 -5
  945. package/lib/cjs/components/well/editForm/Well.edit.display.js +0 -32
  946. package/lib/cjs/components/well/fixtures/comp1.d.ts +0 -43
  947. package/lib/cjs/components/well/fixtures/comp1.js +0 -77
  948. package/lib/cjs/components/well/fixtures/index.d.ts +0 -2
  949. package/lib/cjs/components/well/fixtures/index.js +0 -8
  950. package/lib/cjs/displays/Displays.d.ts +0 -18
  951. package/lib/cjs/displays/Displays.js +0 -29
  952. package/lib/cjs/displays/index.d.ts +0 -2
  953. package/lib/cjs/displays/index.js +0 -7
  954. package/lib/cjs/formio.embed.d.ts +0 -2
  955. package/lib/cjs/formio.embed.js +0 -100
  956. package/lib/cjs/formio.form.d.ts +0 -23
  957. package/lib/cjs/formio.form.js +0 -167
  958. package/lib/cjs/i18n.d.ts +0 -13
  959. package/lib/cjs/i18n.js +0 -19
  960. package/lib/cjs/index.d.ts +0 -4
  961. package/lib/cjs/index.js +0 -34
  962. package/lib/cjs/licenses/Licenses.d.ts +0 -7
  963. package/lib/cjs/licenses/Licenses.js +0 -22
  964. package/lib/cjs/licenses/index.d.ts +0 -2
  965. package/lib/cjs/licenses/index.js +0 -7
  966. package/lib/cjs/package.json +0 -3
  967. package/lib/cjs/pdf.image.d.ts +0 -2
  968. package/lib/cjs/pdf.image.js +0 -94
  969. package/lib/cjs/providers/Providers.d.ts +0 -84
  970. package/lib/cjs/providers/Providers.js +0 -34
  971. package/lib/cjs/providers/address/AddressProvider.d.ts +0 -17
  972. package/lib/cjs/providers/address/AddressProvider.js +0 -61
  973. package/lib/cjs/providers/address/AzureAddressProvider.d.ts +0 -12
  974. package/lib/cjs/providers/address/AzureAddressProvider.js +0 -31
  975. package/lib/cjs/providers/address/CustomAddressProvider.d.ts +0 -7
  976. package/lib/cjs/providers/address/CustomAddressProvider.js +0 -26
  977. package/lib/cjs/providers/address/GoogleAddressProvider.d.ts +0 -18
  978. package/lib/cjs/providers/address/GoogleAddressProvider.js +0 -117
  979. package/lib/cjs/providers/address/NominatimAddressProvider.d.ts +0 -11
  980. package/lib/cjs/providers/address/NominatimAddressProvider.js +0 -31
  981. package/lib/cjs/providers/address/index.d.ts +0 -6
  982. package/lib/cjs/providers/address/index.js +0 -12
  983. package/lib/cjs/providers/auth/index.d.ts +0 -2
  984. package/lib/cjs/providers/auth/index.js +0 -3
  985. package/lib/cjs/providers/index.d.ts +0 -2
  986. package/lib/cjs/providers/index.js +0 -7
  987. package/lib/cjs/providers/processor/fileProcessor.d.ts +0 -2
  988. package/lib/cjs/providers/processor/fileProcessor.js +0 -40
  989. package/lib/cjs/providers/storage/azure.d.ts +0 -17
  990. package/lib/cjs/providers/storage/azure.js +0 -35
  991. package/lib/cjs/providers/storage/base64.d.ts +0 -10
  992. package/lib/cjs/providers/storage/base64.js +0 -31
  993. package/lib/cjs/providers/storage/dropbox.d.ts +0 -8
  994. package/lib/cjs/providers/storage/dropbox.js +0 -57
  995. package/lib/cjs/providers/storage/googleDrive.d.ts +0 -9
  996. package/lib/cjs/providers/storage/googleDrive.js +0 -60
  997. package/lib/cjs/providers/storage/index.d.ts +0 -15
  998. package/lib/cjs/providers/storage/index.js +0 -19
  999. package/lib/cjs/providers/storage/indexeddb.d.ts +0 -11
  1000. package/lib/cjs/providers/storage/indexeddb.js +0 -120
  1001. package/lib/cjs/providers/storage/s3.d.ts +0 -18
  1002. package/lib/cjs/providers/storage/s3.js +0 -53
  1003. package/lib/cjs/providers/storage/uploadAdapter.d.ts +0 -1
  1004. package/lib/cjs/providers/storage/uploadAdapter.js +0 -57
  1005. package/lib/cjs/providers/storage/url.d.ts +0 -11
  1006. package/lib/cjs/providers/storage/url.js +0 -142
  1007. package/lib/cjs/providers/storage/xhr.d.ts +0 -7
  1008. package/lib/cjs/providers/storage/xhr.js +0 -100
  1009. package/lib/cjs/templates/Templates.d.ts +0 -11
  1010. package/lib/cjs/templates/Templates.js +0 -47
  1011. package/lib/cjs/templates/index.d.ts +0 -229
  1012. package/lib/cjs/templates/index.js +0 -9
  1013. package/lib/cjs/translations/en.d.ts +0 -66
  1014. package/lib/cjs/translations/en.js +0 -67
  1015. package/lib/cjs/utils/ChoicesWrapper.d.ts +0 -38
  1016. package/lib/cjs/utils/ChoicesWrapper.js +0 -194
  1017. package/lib/cjs/utils/Evaluator.d.ts +0 -4
  1018. package/lib/cjs/utils/Evaluator.js +0 -69
  1019. package/lib/cjs/utils/builder.d.ts +0 -22
  1020. package/lib/cjs/utils/builder.js +0 -84
  1021. package/lib/cjs/utils/calendarUtils.d.ts +0 -41
  1022. package/lib/cjs/utils/calendarUtils.js +0 -136
  1023. package/lib/cjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
  1024. package/lib/cjs/utils/conditionOperators/ConditionOperator.js +0 -29
  1025. package/lib/cjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
  1026. package/lib/cjs/utils/conditionOperators/DateGreaterThan.js +0 -37
  1027. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
  1028. package/lib/cjs/utils/conditionOperators/DateGreaterThanOrEqual.js +0 -18
  1029. package/lib/cjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
  1030. package/lib/cjs/utils/conditionOperators/DateLessThan.js +0 -18
  1031. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
  1032. package/lib/cjs/utils/conditionOperators/DateLessThanOrEqual.js +0 -18
  1033. package/lib/cjs/utils/conditionOperators/EndsWith.d.ts +0 -7
  1034. package/lib/cjs/utils/conditionOperators/EndsWith.js +0 -19
  1035. package/lib/cjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
  1036. package/lib/cjs/utils/conditionOperators/GreaterThan.js +0 -19
  1037. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
  1038. package/lib/cjs/utils/conditionOperators/GreaterThanOrEqual.js +0 -19
  1039. package/lib/cjs/utils/conditionOperators/Includes.d.ts +0 -7
  1040. package/lib/cjs/utils/conditionOperators/Includes.js +0 -19
  1041. package/lib/cjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
  1042. package/lib/cjs/utils/conditionOperators/IsDateEqual.js +0 -18
  1043. package/lib/cjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
  1044. package/lib/cjs/utils/conditionOperators/IsEmptyValue.js +0 -30
  1045. package/lib/cjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
  1046. package/lib/cjs/utils/conditionOperators/IsEqualTo.js +0 -30
  1047. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
  1048. package/lib/cjs/utils/conditionOperators/IsNotDateEqual.js +0 -18
  1049. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
  1050. package/lib/cjs/utils/conditionOperators/IsNotEmptyValue.js +0 -18
  1051. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
  1052. package/lib/cjs/utils/conditionOperators/IsNotEqualTo.js +0 -19
  1053. package/lib/cjs/utils/conditionOperators/LessThan.d.ts +0 -7
  1054. package/lib/cjs/utils/conditionOperators/LessThan.js +0 -19
  1055. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
  1056. package/lib/cjs/utils/conditionOperators/LessThanOrEqual.js +0 -19
  1057. package/lib/cjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
  1058. package/lib/cjs/utils/conditionOperators/NotIncludes.js +0 -18
  1059. package/lib/cjs/utils/conditionOperators/StartsWith.d.ts +0 -7
  1060. package/lib/cjs/utils/conditionOperators/StartsWith.js +0 -19
  1061. package/lib/cjs/utils/conditionOperators/index.d.ts +0 -7
  1062. package/lib/cjs/utils/conditionOperators/index.js +0 -44
  1063. package/lib/cjs/utils/formUtils.d.ts +0 -173
  1064. package/lib/cjs/utils/formUtils.js +0 -583
  1065. package/lib/cjs/utils/i18n.d.ts +0 -16
  1066. package/lib/cjs/utils/i18n.js +0 -88
  1067. package/lib/cjs/utils/index.d.ts +0 -2
  1068. package/lib/cjs/utils/index.js +0 -30
  1069. package/lib/cjs/utils/jsonlogic/operators.d.ts +0 -1
  1070. package/lib/cjs/utils/jsonlogic/operators.js +0 -265
  1071. package/lib/cjs/utils/utils.d.ts +0 -374
  1072. package/lib/cjs/utils/utils.js +0 -1487
  1073. package/lib/cjs/validator/Rules.d.ts +0 -53
  1074. package/lib/cjs/validator/Rules.js +0 -22
  1075. package/lib/cjs/validator/Validator.d.ts +0 -228
  1076. package/lib/cjs/validator/Validator.js +0 -1113
  1077. package/lib/cjs/validator/conjunctions/index.d.ts +0 -7
  1078. package/lib/cjs/validator/conjunctions/index.js +0 -18
  1079. package/lib/cjs/validator/operators/index.d.ts +0 -7
  1080. package/lib/cjs/validator/operators/index.js +0 -18
  1081. package/lib/cjs/validator/quickRules/index.d.ts +0 -7
  1082. package/lib/cjs/validator/quickRules/index.js +0 -18
  1083. package/lib/cjs/validator/rules/Custom.d.ts +0 -5
  1084. package/lib/cjs/validator/rules/Custom.js +0 -30
  1085. package/lib/cjs/validator/rules/Date.d.ts +0 -5
  1086. package/lib/cjs/validator/rules/Date.js +0 -25
  1087. package/lib/cjs/validator/rules/Day.d.ts +0 -5
  1088. package/lib/cjs/validator/rules/Day.js +0 -58
  1089. package/lib/cjs/validator/rules/Email.d.ts +0 -5
  1090. package/lib/cjs/validator/rules/Email.js +0 -24
  1091. package/lib/cjs/validator/rules/JSON.d.ts +0 -5
  1092. package/lib/cjs/validator/rules/JSON.js +0 -29
  1093. package/lib/cjs/validator/rules/Mask.d.ts +0 -5
  1094. package/lib/cjs/validator/rules/Mask.js +0 -32
  1095. package/lib/cjs/validator/rules/Max.d.ts +0 -5
  1096. package/lib/cjs/validator/rules/Max.js +0 -21
  1097. package/lib/cjs/validator/rules/MaxDate.d.ts +0 -5
  1098. package/lib/cjs/validator/rules/MaxDate.js +0 -34
  1099. package/lib/cjs/validator/rules/MaxLength.d.ts +0 -5
  1100. package/lib/cjs/validator/rules/MaxLength.js +0 -20
  1101. package/lib/cjs/validator/rules/MaxWords.d.ts +0 -5
  1102. package/lib/cjs/validator/rules/MaxWords.js +0 -20
  1103. package/lib/cjs/validator/rules/MaxYear.d.ts +0 -5
  1104. package/lib/cjs/validator/rules/MaxYear.js +0 -22
  1105. package/lib/cjs/validator/rules/Min.d.ts +0 -5
  1106. package/lib/cjs/validator/rules/Min.js +0 -21
  1107. package/lib/cjs/validator/rules/MinDate.d.ts +0 -5
  1108. package/lib/cjs/validator/rules/MinDate.js +0 -30
  1109. package/lib/cjs/validator/rules/MinLength.d.ts +0 -5
  1110. package/lib/cjs/validator/rules/MinLength.js +0 -20
  1111. package/lib/cjs/validator/rules/MinWords.d.ts +0 -5
  1112. package/lib/cjs/validator/rules/MinWords.js +0 -20
  1113. package/lib/cjs/validator/rules/MinYear.d.ts +0 -5
  1114. package/lib/cjs/validator/rules/MinYear.js +0 -22
  1115. package/lib/cjs/validator/rules/Pattern.d.ts +0 -5
  1116. package/lib/cjs/validator/rules/Pattern.js +0 -20
  1117. package/lib/cjs/validator/rules/Required.d.ts +0 -5
  1118. package/lib/cjs/validator/rules/Required.js +0 -17
  1119. package/lib/cjs/validator/rules/Rule.d.ts +0 -7
  1120. package/lib/cjs/validator/rules/Rule.js +0 -12
  1121. package/lib/cjs/validator/rules/Select.d.ts +0 -5
  1122. package/lib/cjs/validator/rules/Select.js +0 -95
  1123. package/lib/cjs/validator/rules/Time.d.ts +0 -5
  1124. package/lib/cjs/validator/rules/Time.js +0 -19
  1125. package/lib/cjs/validator/rules/Unique.d.ts +0 -5
  1126. package/lib/cjs/validator/rules/Unique.js +0 -69
  1127. package/lib/cjs/validator/rules/Url.d.ts +0 -5
  1128. package/lib/cjs/validator/rules/Url.js +0 -23
  1129. package/lib/cjs/validator/rules/index.d.ts +0 -47
  1130. package/lib/cjs/validator/rules/index.js +0 -51
  1131. package/lib/cjs/validator/transformers/index.d.ts +0 -7
  1132. package/lib/cjs/validator/transformers/index.js +0 -18
  1133. package/lib/cjs/validator/valueSources/index.d.ts +0 -7
  1134. package/lib/cjs/validator/valueSources/index.js +0 -18
  1135. package/lib/cjs/widgets/CalendarWidget.d.ts +0 -97
  1136. package/lib/cjs/widgets/CalendarWidget.js +0 -468
  1137. package/lib/cjs/widgets/InputWidget.d.ts +0 -24
  1138. package/lib/cjs/widgets/InputWidget.js +0 -74
  1139. package/lib/cjs/widgets/index.d.ts +0 -7
  1140. package/lib/cjs/widgets/index.js +0 -11
  1141. package/lib/mjs/CDN.d.ts +0 -29
  1142. package/lib/mjs/CDN.js +0 -75
  1143. package/lib/mjs/Element.d.ts +0 -255
  1144. package/lib/mjs/Element.js +0 -571
  1145. package/lib/mjs/Embed.d.ts +0 -42
  1146. package/lib/mjs/Embed.js +0 -293
  1147. package/lib/mjs/EventEmitter.d.ts +0 -7
  1148. package/lib/mjs/EventEmitter.js +0 -26
  1149. package/lib/mjs/Form.d.ts +0 -93
  1150. package/lib/mjs/Form.js +0 -350
  1151. package/lib/mjs/FormBuilder.d.ts +0 -6
  1152. package/lib/mjs/FormBuilder.js +0 -34
  1153. package/lib/mjs/Formio.d.ts +0 -2
  1154. package/lib/mjs/Formio.js +0 -89
  1155. package/lib/mjs/PDF.d.ts +0 -40
  1156. package/lib/mjs/PDF.js +0 -284
  1157. package/lib/mjs/PDFBuilder.d.ts +0 -55
  1158. package/lib/mjs/PDFBuilder.js +0 -473
  1159. package/lib/mjs/Webform.d.ts +0 -405
  1160. package/lib/mjs/Webform.js +0 -1431
  1161. package/lib/mjs/WebformBuilder.d.ts +0 -126
  1162. package/lib/mjs/WebformBuilder.js +0 -1576
  1163. package/lib/mjs/Wizard.d.ts +0 -96
  1164. package/lib/mjs/Wizard.js +0 -904
  1165. package/lib/mjs/WizardBuilder.d.ts +0 -48
  1166. package/lib/mjs/WizardBuilder.js +0 -262
  1167. package/lib/mjs/addons/FormioAddon.d.ts +0 -19
  1168. package/lib/mjs/addons/FormioAddon.js +0 -30
  1169. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.d.ts +0 -717
  1170. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.d.ts +0 -590
  1171. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.form.js +0 -311
  1172. package/lib/mjs/addons/PasswordStrength/PasswordStrengthAddon.js +0 -388
  1173. package/lib/mjs/addons/index.d.ts +0 -625
  1174. package/lib/mjs/addons/index.js +0 -19
  1175. package/lib/mjs/builders/Builders.d.ts +0 -18
  1176. package/lib/mjs/builders/Builders.js +0 -24
  1177. package/lib/mjs/builders/index.d.ts +0 -2
  1178. package/lib/mjs/builders/index.js +0 -2
  1179. package/lib/mjs/components/Components.d.ts +0 -258
  1180. package/lib/mjs/components/Components.js +0 -75
  1181. package/lib/mjs/components/_classes/component/Component.d.ts +0 -798
  1182. package/lib/mjs/components/_classes/component/Component.form.d.ts +0 -3
  1183. package/lib/mjs/components/_classes/component/Component.form.js +0 -71
  1184. package/lib/mjs/components/_classes/component/Component.js +0 -3164
  1185. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.d.ts +0 -645
  1186. package/lib/mjs/components/_classes/component/editForm/Component.edit.addons.js +0 -39
  1187. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.d.ts +0 -42
  1188. package/lib/mjs/components/_classes/component/editForm/Component.edit.api.js +0 -38
  1189. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.d.ts +0 -113
  1190. package/lib/mjs/components/_classes/component/editForm/Component.edit.conditional.js +0 -50
  1191. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.d.ts +0 -219
  1192. package/lib/mjs/components/_classes/component/editForm/Component.edit.data.js +0 -156
  1193. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.d.ts +0 -160
  1194. package/lib/mjs/components/_classes/component/editForm/Component.edit.display.js +0 -199
  1195. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.d.ts +0 -44
  1196. package/lib/mjs/components/_classes/component/editForm/Component.edit.layout.js +0 -77
  1197. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.d.ts +0 -368
  1198. package/lib/mjs/components/_classes/component/editForm/Component.edit.logic.js +0 -410
  1199. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.d.ts +0 -140
  1200. package/lib/mjs/components/_classes/component/editForm/Component.edit.validation.js +0 -204
  1201. package/lib/mjs/components/_classes/component/editForm/utils.d.ts +0 -83
  1202. package/lib/mjs/components/_classes/component/editForm/utils.js +0 -132
  1203. package/lib/mjs/components/_classes/component/fixtures/comp1.d.ts +0 -33
  1204. package/lib/mjs/components/_classes/component/fixtures/comp1.js +0 -31
  1205. package/lib/mjs/components/_classes/component/fixtures/comp2.d.ts +0 -33
  1206. package/lib/mjs/components/_classes/component/fixtures/comp2.js +0 -31
  1207. package/lib/mjs/components/_classes/component/fixtures/comp3.d.ts +0 -14
  1208. package/lib/mjs/components/_classes/component/fixtures/comp3.js +0 -12
  1209. package/lib/mjs/components/_classes/component/fixtures/comp4.d.ts +0 -17
  1210. package/lib/mjs/components/_classes/component/fixtures/comp4.js +0 -16
  1211. package/lib/mjs/components/_classes/component/fixtures/index.d.ts +0 -5
  1212. package/lib/mjs/components/_classes/component/fixtures/index.js +0 -5
  1213. package/lib/mjs/components/_classes/componentModal/ComponentModal.d.ts +0 -46
  1214. package/lib/mjs/components/_classes/componentModal/ComponentModal.js +0 -177
  1215. package/lib/mjs/components/_classes/field/Field.d.ts +0 -5
  1216. package/lib/mjs/components/_classes/field/Field.js +0 -34
  1217. package/lib/mjs/components/_classes/input/Input.d.ts +0 -42
  1218. package/lib/mjs/components/_classes/input/Input.js +0 -296
  1219. package/lib/mjs/components/_classes/list/ListComponent.d.ts +0 -18
  1220. package/lib/mjs/components/_classes/list/ListComponent.form.d.ts +0 -3
  1221. package/lib/mjs/components/_classes/list/ListComponent.form.js +0 -10
  1222. package/lib/mjs/components/_classes/list/ListComponent.js +0 -249
  1223. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.d.ts +0 -183
  1224. package/lib/mjs/components/_classes/list/editForm/ListComponent.edit.data.js +0 -117
  1225. package/lib/mjs/components/_classes/multivalue/Multivalue.d.ts +0 -29
  1226. package/lib/mjs/components/_classes/multivalue/Multivalue.js +0 -249
  1227. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +0 -133
  1228. package/lib/mjs/components/_classes/nested/NestedComponent.form.d.ts +0 -3
  1229. package/lib/mjs/components/_classes/nested/NestedComponent.form.js +0 -13
  1230. package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -686
  1231. package/lib/mjs/components/_classes/nested/fixtures/comp1.d.ts +0 -8
  1232. package/lib/mjs/components/_classes/nested/fixtures/comp1.js +0 -14
  1233. package/lib/mjs/components/_classes/nested/fixtures/comp2.d.ts +0 -236
  1234. package/lib/mjs/components/_classes/nested/fixtures/comp2.js +0 -225
  1235. package/lib/mjs/components/_classes/nested/fixtures/comp3.d.ts +0 -26
  1236. package/lib/mjs/components/_classes/nested/fixtures/comp3.js +0 -27
  1237. package/lib/mjs/components/_classes/nested/fixtures/index.d.ts +0 -3
  1238. package/lib/mjs/components/_classes/nested/fixtures/index.js +0 -3
  1239. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.d.ts +0 -15
  1240. package/lib/mjs/components/_classes/nestedarray/NestedArrayComponent.js +0 -178
  1241. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.d.ts +0 -12
  1242. package/lib/mjs/components/_classes/nesteddata/NestedDataComponent.js +0 -128
  1243. package/lib/mjs/components/address/Address.d.ts +0 -66
  1244. package/lib/mjs/components/address/Address.form.d.ts +0 -3
  1245. package/lib/mjs/components/address/Address.form.js +0 -22
  1246. package/lib/mjs/components/address/Address.js +0 -541
  1247. package/lib/mjs/components/address/editForm/Address.edit.data.d.ts +0 -31
  1248. package/lib/mjs/components/address/editForm/Address.edit.data.js +0 -21
  1249. package/lib/mjs/components/address/editForm/Address.edit.display.d.ts +0 -49
  1250. package/lib/mjs/components/address/editForm/Address.edit.display.js +0 -42
  1251. package/lib/mjs/components/address/editForm/Address.edit.provider.d.ts +0 -164
  1252. package/lib/mjs/components/address/editForm/Address.edit.provider.js +0 -151
  1253. package/lib/mjs/components/address/fixtures/comp1.d.ts +0 -34
  1254. package/lib/mjs/components/address/fixtures/comp1.js +0 -69
  1255. package/lib/mjs/components/address/fixtures/comp2.d.ts +0 -62
  1256. package/lib/mjs/components/address/fixtures/comp2.js +0 -101
  1257. package/lib/mjs/components/address/fixtures/comp3.d.ts +0 -44
  1258. package/lib/mjs/components/address/fixtures/comp3.js +0 -83
  1259. package/lib/mjs/components/address/fixtures/comp4.d.ts +0 -56
  1260. package/lib/mjs/components/address/fixtures/comp4.js +0 -91
  1261. package/lib/mjs/components/address/fixtures/index.d.ts +0 -5
  1262. package/lib/mjs/components/address/fixtures/index.js +0 -5
  1263. package/lib/mjs/components/address/fixtures/values.d.ts +0 -22
  1264. package/lib/mjs/components/address/fixtures/values.js +0 -17
  1265. package/lib/mjs/components/alert/Alert.d.ts +0 -30
  1266. package/lib/mjs/components/alert/Alert.js +0 -176
  1267. package/lib/mjs/components/builder.d.ts +0 -2
  1268. package/lib/mjs/components/builder.js +0 -86
  1269. package/lib/mjs/components/button/Button.d.ts +0 -45
  1270. package/lib/mjs/components/button/Button.form.d.ts +0 -3
  1271. package/lib/mjs/components/button/Button.form.js +0 -18
  1272. package/lib/mjs/components/button/Button.js +0 -460
  1273. package/lib/mjs/components/button/editForm/Button.edit.display.d.ts +0 -360
  1274. package/lib/mjs/components/button/editForm/Button.edit.display.js +0 -247
  1275. package/lib/mjs/components/button/fixtures/comp1.d.ts +0 -15
  1276. package/lib/mjs/components/button/fixtures/comp1.js +0 -14
  1277. package/lib/mjs/components/button/fixtures/comp2.d.ts +0 -25
  1278. package/lib/mjs/components/button/fixtures/comp2.js +0 -55
  1279. package/lib/mjs/components/button/fixtures/comp3.d.ts +0 -113
  1280. package/lib/mjs/components/button/fixtures/comp3.js +0 -82
  1281. package/lib/mjs/components/button/fixtures/index.d.ts +0 -4
  1282. package/lib/mjs/components/button/fixtures/index.js +0 -4
  1283. package/lib/mjs/components/button/fixtures/values.d.ts +0 -2
  1284. package/lib/mjs/components/button/fixtures/values.js +0 -4
  1285. package/lib/mjs/components/checkbox/Checkbox.d.ts +0 -77
  1286. package/lib/mjs/components/checkbox/Checkbox.form.d.ts +0 -3
  1287. package/lib/mjs/components/checkbox/Checkbox.form.js +0 -20
  1288. package/lib/mjs/components/checkbox/Checkbox.js +0 -219
  1289. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.d.ts +0 -5
  1290. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.data.js +0 -6
  1291. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.d.ts +0 -75
  1292. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.display.js +0 -74
  1293. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.d.ts +0 -5
  1294. package/lib/mjs/components/checkbox/editForm/Checkbox.edit.validation.js +0 -10
  1295. package/lib/mjs/components/checkbox/fixtures/comp1.d.ts +0 -24
  1296. package/lib/mjs/components/checkbox/fixtures/comp1.js +0 -22
  1297. package/lib/mjs/components/checkbox/fixtures/comp2.d.ts +0 -12
  1298. package/lib/mjs/components/checkbox/fixtures/comp2.js +0 -11
  1299. package/lib/mjs/components/checkbox/fixtures/comp3.d.ts +0 -15
  1300. package/lib/mjs/components/checkbox/fixtures/comp3.js +0 -14
  1301. package/lib/mjs/components/checkbox/fixtures/comp4.d.ts +0 -46
  1302. package/lib/mjs/components/checkbox/fixtures/comp4.js +0 -37
  1303. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.d.ts +0 -25
  1304. package/lib/mjs/components/checkbox/fixtures/customDefaultComponent.js +0 -23
  1305. package/lib/mjs/components/checkbox/fixtures/index.d.ts +0 -6
  1306. package/lib/mjs/components/checkbox/fixtures/index.js +0 -6
  1307. package/lib/mjs/components/checkbox/fixtures/values.d.ts +0 -2
  1308. package/lib/mjs/components/checkbox/fixtures/values.js +0 -4
  1309. package/lib/mjs/components/columns/Columns.d.ts +0 -27
  1310. package/lib/mjs/components/columns/Columns.form.d.ts +0 -3
  1311. package/lib/mjs/components/columns/Columns.form.js +0 -10
  1312. package/lib/mjs/components/columns/Columns.js +0 -153
  1313. package/lib/mjs/components/columns/editForm/Columns.edit.display.d.ts +0 -58
  1314. package/lib/mjs/components/columns/editForm/Columns.edit.display.js +0 -98
  1315. package/lib/mjs/components/columns/fixtures/comp1.d.ts +0 -45
  1316. package/lib/mjs/components/columns/fixtures/comp1.js +0 -83
  1317. package/lib/mjs/components/columns/fixtures/comp2.d.ts +0 -24
  1318. package/lib/mjs/components/columns/fixtures/comp2.js +0 -125
  1319. package/lib/mjs/components/columns/fixtures/comp3.d.ts +0 -45
  1320. package/lib/mjs/components/columns/fixtures/comp3.js +0 -51
  1321. package/lib/mjs/components/columns/fixtures/index.d.ts +0 -4
  1322. package/lib/mjs/components/columns/fixtures/index.js +0 -4
  1323. package/lib/mjs/components/container/Container.d.ts +0 -15
  1324. package/lib/mjs/components/container/Container.form.d.ts +0 -3
  1325. package/lib/mjs/components/container/Container.form.js +0 -15
  1326. package/lib/mjs/components/container/Container.js +0 -76
  1327. package/lib/mjs/components/container/editForm/Container.edit.data.d.ts +0 -5
  1328. package/lib/mjs/components/container/editForm/Container.edit.data.js +0 -14
  1329. package/lib/mjs/components/container/editForm/Container.edit.display.d.ts +0 -5
  1330. package/lib/mjs/components/container/editForm/Container.edit.display.js +0 -18
  1331. package/lib/mjs/components/container/fixtures/comp1.d.ts +0 -49
  1332. package/lib/mjs/components/container/fixtures/comp1.js +0 -80
  1333. package/lib/mjs/components/container/fixtures/comp2.d.ts +0 -30
  1334. package/lib/mjs/components/container/fixtures/comp2.js +0 -32
  1335. package/lib/mjs/components/container/fixtures/comp3.d.ts +0 -77
  1336. package/lib/mjs/components/container/fixtures/comp3.js +0 -55
  1337. package/lib/mjs/components/container/fixtures/index.d.ts +0 -4
  1338. package/lib/mjs/components/container/fixtures/index.js +0 -4
  1339. package/lib/mjs/components/content/Content.d.ts +0 -17
  1340. package/lib/mjs/components/content/Content.form.d.ts +0 -3
  1341. package/lib/mjs/components/content/Content.form.js +0 -37
  1342. package/lib/mjs/components/content/Content.js +0 -71
  1343. package/lib/mjs/components/content/editForm/Content.edit.display.d.ts +0 -18
  1344. package/lib/mjs/components/content/editForm/Content.edit.display.js +0 -46
  1345. package/lib/mjs/components/content/editForm/Content.edit.logic.d.ts +0 -48
  1346. package/lib/mjs/components/content/editForm/Content.edit.logic.js +0 -98
  1347. package/lib/mjs/components/content/fixtures/comp1.d.ts +0 -13
  1348. package/lib/mjs/components/content/fixtures/comp1.js +0 -12
  1349. package/lib/mjs/components/content/fixtures/index.d.ts +0 -2
  1350. package/lib/mjs/components/content/fixtures/index.js +0 -2
  1351. package/lib/mjs/components/currency/Currency.d.ts +0 -8
  1352. package/lib/mjs/components/currency/Currency.form.d.ts +0 -3
  1353. package/lib/mjs/components/currency/Currency.form.js +0 -40
  1354. package/lib/mjs/components/currency/Currency.js +0 -174
  1355. package/lib/mjs/components/currency/editForm/Currency.edit.data.d.ts +0 -29
  1356. package/lib/mjs/components/currency/editForm/Currency.edit.data.js +0 -190
  1357. package/lib/mjs/components/currency/editForm/Currency.edit.display.d.ts +0 -18
  1358. package/lib/mjs/components/currency/editForm/Currency.edit.display.js +0 -38
  1359. package/lib/mjs/components/currency/fixtures/comp1.d.ts +0 -31
  1360. package/lib/mjs/components/currency/fixtures/comp1.js +0 -29
  1361. package/lib/mjs/components/currency/fixtures/comp2.d.ts +0 -20
  1362. package/lib/mjs/components/currency/fixtures/comp2.js +0 -18
  1363. package/lib/mjs/components/currency/fixtures/comp3.d.ts +0 -13
  1364. package/lib/mjs/components/currency/fixtures/comp3.js +0 -12
  1365. package/lib/mjs/components/currency/fixtures/comp4.d.ts +0 -17
  1366. package/lib/mjs/components/currency/fixtures/comp4.js +0 -18
  1367. package/lib/mjs/components/currency/fixtures/index.d.ts +0 -5
  1368. package/lib/mjs/components/currency/fixtures/index.js +0 -5
  1369. package/lib/mjs/components/currency/fixtures/values.d.ts +0 -2
  1370. package/lib/mjs/components/currency/fixtures/values.js +0 -6
  1371. package/lib/mjs/components/datagrid/DataGrid.d.ts +0 -88
  1372. package/lib/mjs/components/datagrid/DataGrid.form.d.ts +0 -3
  1373. package/lib/mjs/components/datagrid/DataGrid.form.js +0 -20
  1374. package/lib/mjs/components/datagrid/DataGrid.js +0 -644
  1375. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.d.ts +0 -5
  1376. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.data.js +0 -6
  1377. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.d.ts +0 -283
  1378. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.display.js +0 -147
  1379. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.d.ts +0 -20
  1380. package/lib/mjs/components/datagrid/editForm/DataGrid.edit.validation.js +0 -24
  1381. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.d.ts +0 -37
  1382. package/lib/mjs/components/datagrid/fixtures/comp-modal-with-required-fields.js +0 -40
  1383. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.d.ts +0 -0
  1384. package/lib/mjs/components/datagrid/fixtures/comp-on-blur-validation.js +0 -1
  1385. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.d.ts +0 -63
  1386. package/lib/mjs/components/datagrid/fixtures/comp-row-groups-with-def-value.js +0 -79
  1387. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.d.ts +0 -76
  1388. package/lib/mjs/components/datagrid/fixtures/comp-with-collapsible-groups.js +0 -73
  1389. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.d.ts +0 -197
  1390. package/lib/mjs/components/datagrid/fixtures/comp-with-conditional-components-and-validations.js +0 -176
  1391. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.d.ts +0 -61
  1392. package/lib/mjs/components/datagrid/fixtures/comp-with-def-value.js +0 -67
  1393. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.d.ts +0 -165
  1394. package/lib/mjs/components/datagrid/fixtures/comp-with-logic.js +0 -178
  1395. package/lib/mjs/components/datagrid/fixtures/comp1.d.ts +0 -93
  1396. package/lib/mjs/components/datagrid/fixtures/comp1.js +0 -113
  1397. package/lib/mjs/components/datagrid/fixtures/comp2.d.ts +0 -18
  1398. package/lib/mjs/components/datagrid/fixtures/comp2.js +0 -27
  1399. package/lib/mjs/components/datagrid/fixtures/comp3.d.ts +0 -14
  1400. package/lib/mjs/components/datagrid/fixtures/comp3.js +0 -21
  1401. package/lib/mjs/components/datagrid/fixtures/comp4.d.ts +0 -27
  1402. package/lib/mjs/components/datagrid/fixtures/comp4.js +0 -26
  1403. package/lib/mjs/components/datagrid/fixtures/comp5.d.ts +0 -67
  1404. package/lib/mjs/components/datagrid/fixtures/comp5.js +0 -75
  1405. package/lib/mjs/components/datagrid/fixtures/comp6.d.ts +0 -567
  1406. package/lib/mjs/components/datagrid/fixtures/comp6.js +0 -294
  1407. package/lib/mjs/components/datagrid/fixtures/comp7.d.ts +0 -28
  1408. package/lib/mjs/components/datagrid/fixtures/comp7.js +0 -33
  1409. package/lib/mjs/components/datagrid/fixtures/comp8.d.ts +0 -35
  1410. package/lib/mjs/components/datagrid/fixtures/comp8.js +0 -35
  1411. package/lib/mjs/components/datagrid/fixtures/index.d.ts +0 -15
  1412. package/lib/mjs/components/datagrid/fixtures/index.js +0 -15
  1413. package/lib/mjs/components/datamap/DataMap.d.ts +0 -36
  1414. package/lib/mjs/components/datamap/DataMap.form.d.ts +0 -3
  1415. package/lib/mjs/components/datamap/DataMap.form.js +0 -15
  1416. package/lib/mjs/components/datamap/DataMap.js +0 -295
  1417. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.d.ts +0 -5
  1418. package/lib/mjs/components/datamap/editForm/DataMap.edit.data.js +0 -10
  1419. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.d.ts +0 -30
  1420. package/lib/mjs/components/datamap/editForm/DataMap.edit.display.js +0 -46
  1421. package/lib/mjs/components/datamap/fixtures/comp1.d.ts +0 -18
  1422. package/lib/mjs/components/datamap/fixtures/comp1.js +0 -13
  1423. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.d.ts +0 -87
  1424. package/lib/mjs/components/datamap/fixtures/formWithConditionalPanel.js +0 -83
  1425. package/lib/mjs/components/datamap/fixtures/index.d.ts +0 -3
  1426. package/lib/mjs/components/datamap/fixtures/index.js +0 -3
  1427. package/lib/mjs/components/datetime/DateTime.d.ts +0 -39
  1428. package/lib/mjs/components/datetime/DateTime.form.d.ts +0 -3
  1429. package/lib/mjs/components/datetime/DateTime.form.js +0 -34
  1430. package/lib/mjs/components/datetime/DateTime.js +0 -187
  1431. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.d.ts +0 -24
  1432. package/lib/mjs/components/datetime/editForm/DateTime.edit.data.js +0 -21
  1433. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.d.ts +0 -61
  1434. package/lib/mjs/components/datetime/editForm/DateTime.edit.date.js +0 -70
  1435. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.d.ts +0 -128
  1436. package/lib/mjs/components/datetime/editForm/DateTime.edit.display.js +0 -98
  1437. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.d.ts +0 -9
  1438. package/lib/mjs/components/datetime/editForm/DateTime.edit.time.js +0 -34
  1439. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.d.ts +0 -40
  1440. package/lib/mjs/components/datetime/editForm/DateTime.edit.validation.js +0 -82
  1441. package/lib/mjs/components/datetime/fixtures/comp1.d.ts +0 -45
  1442. package/lib/mjs/components/datetime/fixtures/comp1.js +0 -42
  1443. package/lib/mjs/components/datetime/fixtures/comp10.d.ts +0 -102
  1444. package/lib/mjs/components/datetime/fixtures/comp10.js +0 -84
  1445. package/lib/mjs/components/datetime/fixtures/comp11.d.ts +0 -58
  1446. package/lib/mjs/components/datetime/fixtures/comp11.js +0 -53
  1447. package/lib/mjs/components/datetime/fixtures/comp12.d.ts +0 -57
  1448. package/lib/mjs/components/datetime/fixtures/comp12.js +0 -53
  1449. package/lib/mjs/components/datetime/fixtures/comp2.d.ts +0 -42
  1450. package/lib/mjs/components/datetime/fixtures/comp2.js +0 -41
  1451. package/lib/mjs/components/datetime/fixtures/comp3.d.ts +0 -51
  1452. package/lib/mjs/components/datetime/fixtures/comp3.js +0 -38
  1453. package/lib/mjs/components/datetime/fixtures/comp5.d.ts +0 -57
  1454. package/lib/mjs/components/datetime/fixtures/comp5.js +0 -46
  1455. package/lib/mjs/components/datetime/fixtures/comp6.d.ts +0 -55
  1456. package/lib/mjs/components/datetime/fixtures/comp6.js +0 -47
  1457. package/lib/mjs/components/datetime/fixtures/comp7.d.ts +0 -59
  1458. package/lib/mjs/components/datetime/fixtures/comp7.js +0 -51
  1459. package/lib/mjs/components/datetime/fixtures/comp8.d.ts +0 -59
  1460. package/lib/mjs/components/datetime/fixtures/comp8.js +0 -50
  1461. package/lib/mjs/components/datetime/fixtures/comp9.d.ts +0 -64
  1462. package/lib/mjs/components/datetime/fixtures/comp9.js +0 -93
  1463. package/lib/mjs/components/datetime/fixtures/index.d.ts +0 -12
  1464. package/lib/mjs/components/datetime/fixtures/index.js +0 -12
  1465. package/lib/mjs/components/datetime/fixtures/values.d.ts +0 -2
  1466. package/lib/mjs/components/datetime/fixtures/values.js +0 -4
  1467. package/lib/mjs/components/day/Day.d.ts +0 -163
  1468. package/lib/mjs/components/day/Day.form.d.ts +0 -3
  1469. package/lib/mjs/components/day/Day.form.js +0 -41
  1470. package/lib/mjs/components/day/Day.js +0 -568
  1471. package/lib/mjs/components/day/editForm/Day.edit.data.d.ts +0 -5
  1472. package/lib/mjs/components/day/editForm/Day.edit.data.js +0 -6
  1473. package/lib/mjs/components/day/editForm/Day.edit.day.d.ts +0 -40
  1474. package/lib/mjs/components/day/editForm/Day.edit.day.js +0 -46
  1475. package/lib/mjs/components/day/editForm/Day.edit.display.d.ts +0 -40
  1476. package/lib/mjs/components/day/editForm/Day.edit.display.js +0 -44
  1477. package/lib/mjs/components/day/editForm/Day.edit.month.d.ts +0 -40
  1478. package/lib/mjs/components/day/editForm/Day.edit.month.js +0 -38
  1479. package/lib/mjs/components/day/editForm/Day.edit.validation.d.ts +0 -29
  1480. package/lib/mjs/components/day/editForm/Day.edit.validation.js +0 -52
  1481. package/lib/mjs/components/day/editForm/Day.edit.year.d.ts +0 -40
  1482. package/lib/mjs/components/day/editForm/Day.edit.year.js +0 -56
  1483. package/lib/mjs/components/day/fixtures/comp1.d.ts +0 -46
  1484. package/lib/mjs/components/day/fixtures/comp1.js +0 -37
  1485. package/lib/mjs/components/day/fixtures/comp2.d.ts +0 -46
  1486. package/lib/mjs/components/day/fixtures/comp2.js +0 -37
  1487. package/lib/mjs/components/day/fixtures/comp3.d.ts +0 -48
  1488. package/lib/mjs/components/day/fixtures/comp3.js +0 -39
  1489. package/lib/mjs/components/day/fixtures/comp4.d.ts +0 -53
  1490. package/lib/mjs/components/day/fixtures/comp4.js +0 -54
  1491. package/lib/mjs/components/day/fixtures/comp5.d.ts +0 -29
  1492. package/lib/mjs/components/day/fixtures/comp5.js +0 -30
  1493. package/lib/mjs/components/day/fixtures/comp6.d.ts +0 -81
  1494. package/lib/mjs/components/day/fixtures/comp6.js +0 -74
  1495. package/lib/mjs/components/day/fixtures/index.d.ts +0 -7
  1496. package/lib/mjs/components/day/fixtures/index.js +0 -7
  1497. package/lib/mjs/components/day/fixtures/values.d.ts +0 -2
  1498. package/lib/mjs/components/day/fixtures/values.js +0 -4
  1499. package/lib/mjs/components/editgrid/EditGrid.d.ts +0 -99
  1500. package/lib/mjs/components/editgrid/EditGrid.form.d.ts +0 -3
  1501. package/lib/mjs/components/editgrid/EditGrid.form.js +0 -27
  1502. package/lib/mjs/components/editgrid/EditGrid.js +0 -1156
  1503. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.d.ts +0 -18
  1504. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.data.js +0 -18
  1505. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.d.ts +0 -82
  1506. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.display.js +0 -53
  1507. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.d.ts +0 -58
  1508. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.templates.js +0 -126
  1509. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.d.ts +0 -29
  1510. package/lib/mjs/components/editgrid/editForm/EditGrid.edit.validation.js +0 -32
  1511. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.d.ts +0 -34
  1512. package/lib/mjs/components/editgrid/fixtures/comp-openWhenEmpty.js +0 -34
  1513. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.d.ts +0 -327
  1514. package/lib/mjs/components/editgrid/fixtures/comp-with-basic-components.js +0 -218
  1515. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.d.ts +0 -77
  1516. package/lib/mjs/components/editgrid/fixtures/comp-with-conditions-and-openWhenEmpty.js +0 -82
  1517. package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.d.ts +0 -190
  1518. package/lib/mjs/components/editgrid/fixtures/comp-with-custom-default-value.js +0 -225
  1519. package/lib/mjs/components/editgrid/fixtures/comp1.d.ts +0 -89
  1520. package/lib/mjs/components/editgrid/fixtures/comp1.js +0 -126
  1521. package/lib/mjs/components/editgrid/fixtures/comp10.d.ts +0 -49
  1522. package/lib/mjs/components/editgrid/fixtures/comp10.js +0 -46
  1523. package/lib/mjs/components/editgrid/fixtures/comp11.d.ts +0 -53
  1524. package/lib/mjs/components/editgrid/fixtures/comp11.js +0 -48
  1525. package/lib/mjs/components/editgrid/fixtures/comp12.d.ts +0 -57
  1526. package/lib/mjs/components/editgrid/fixtures/comp12.js +0 -48
  1527. package/lib/mjs/components/editgrid/fixtures/comp13.d.ts +0 -64
  1528. package/lib/mjs/components/editgrid/fixtures/comp13.js +0 -62
  1529. package/lib/mjs/components/editgrid/fixtures/comp14.d.ts +0 -88
  1530. package/lib/mjs/components/editgrid/fixtures/comp14.js +0 -82
  1531. package/lib/mjs/components/editgrid/fixtures/comp15.d.ts +0 -54
  1532. package/lib/mjs/components/editgrid/fixtures/comp15.js +0 -49
  1533. package/lib/mjs/components/editgrid/fixtures/comp2.d.ts +0 -112
  1534. package/lib/mjs/components/editgrid/fixtures/comp2.js +0 -112
  1535. package/lib/mjs/components/editgrid/fixtures/comp3.d.ts +0 -27
  1536. package/lib/mjs/components/editgrid/fixtures/comp3.js +0 -26
  1537. package/lib/mjs/components/editgrid/fixtures/comp4.d.ts +0 -23
  1538. package/lib/mjs/components/editgrid/fixtures/comp4.js +0 -22
  1539. package/lib/mjs/components/editgrid/fixtures/comp5.d.ts +0 -19
  1540. package/lib/mjs/components/editgrid/fixtures/comp5.js +0 -20
  1541. package/lib/mjs/components/editgrid/fixtures/comp6.d.ts +0 -50
  1542. package/lib/mjs/components/editgrid/fixtures/comp6.js +0 -56
  1543. package/lib/mjs/components/editgrid/fixtures/comp7.d.ts +0 -129
  1544. package/lib/mjs/components/editgrid/fixtures/comp7.js +0 -121
  1545. package/lib/mjs/components/editgrid/fixtures/comp8.d.ts +0 -148
  1546. package/lib/mjs/components/editgrid/fixtures/comp8.js +0 -154
  1547. package/lib/mjs/components/editgrid/fixtures/comp9.d.ts +0 -86
  1548. package/lib/mjs/components/editgrid/fixtures/comp9.js +0 -60
  1549. package/lib/mjs/components/editgrid/fixtures/index.d.ts +0 -19
  1550. package/lib/mjs/components/editgrid/fixtures/index.js +0 -19
  1551. package/lib/mjs/components/email/Email.d.ts +0 -4
  1552. package/lib/mjs/components/email/Email.form.d.ts +0 -3
  1553. package/lib/mjs/components/email/Email.form.js +0 -15
  1554. package/lib/mjs/components/email/Email.js +0 -48
  1555. package/lib/mjs/components/email/editForm/Email.edit.display.d.ts +0 -5
  1556. package/lib/mjs/components/email/editForm/Email.edit.display.js +0 -18
  1557. package/lib/mjs/components/email/editForm/Email.edit.validation.d.ts +0 -24
  1558. package/lib/mjs/components/email/editForm/Email.edit.validation.js +0 -26
  1559. package/lib/mjs/components/email/fixtures/comp1.d.ts +0 -26
  1560. package/lib/mjs/components/email/fixtures/comp1.js +0 -24
  1561. package/lib/mjs/components/email/fixtures/comp2.d.ts +0 -23
  1562. package/lib/mjs/components/email/fixtures/comp2.js +0 -11
  1563. package/lib/mjs/components/email/fixtures/index.d.ts +0 -3
  1564. package/lib/mjs/components/email/fixtures/index.js +0 -3
  1565. package/lib/mjs/components/email/fixtures/values.d.ts +0 -2
  1566. package/lib/mjs/components/email/fixtures/values.js +0 -4
  1567. package/lib/mjs/components/fieldset/Fieldset.d.ts +0 -15
  1568. package/lib/mjs/components/fieldset/Fieldset.form.d.ts +0 -3
  1569. package/lib/mjs/components/fieldset/Fieldset.form.js +0 -10
  1570. package/lib/mjs/components/fieldset/Fieldset.js +0 -41
  1571. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.d.ts +0 -33
  1572. package/lib/mjs/components/fieldset/editForm/Fieldset.edit.display.js +0 -42
  1573. package/lib/mjs/components/fieldset/fixtures/comp1.d.ts +0 -46
  1574. package/lib/mjs/components/fieldset/fixtures/comp1.js +0 -79
  1575. package/lib/mjs/components/fieldset/fixtures/index.d.ts +0 -2
  1576. package/lib/mjs/components/fieldset/fixtures/index.js +0 -2
  1577. package/lib/mjs/components/file/File.d.ts +0 -81
  1578. package/lib/mjs/components/file/File.form.d.ts +0 -3
  1579. package/lib/mjs/components/file/File.form.js +0 -27
  1580. package/lib/mjs/components/file/File.js +0 -774
  1581. package/lib/mjs/components/file/editForm/File.edit.data.d.ts +0 -5
  1582. package/lib/mjs/components/file/editForm/File.edit.data.js +0 -6
  1583. package/lib/mjs/components/file/editForm/File.edit.display.d.ts +0 -5
  1584. package/lib/mjs/components/file/editForm/File.edit.display.js +0 -6
  1585. package/lib/mjs/components/file/editForm/File.edit.file.d.ts +0 -275
  1586. package/lib/mjs/components/file/editForm/File.edit.file.js +0 -283
  1587. package/lib/mjs/components/file/editForm/File.edit.validation.d.ts +0 -5
  1588. package/lib/mjs/components/file/editForm/File.edit.validation.js +0 -10
  1589. package/lib/mjs/components/file/fixtures/comp1.d.ts +0 -15
  1590. package/lib/mjs/components/file/fixtures/comp1.js +0 -16
  1591. package/lib/mjs/components/file/fixtures/comp2.d.ts +0 -35
  1592. package/lib/mjs/components/file/fixtures/comp2.js +0 -29
  1593. package/lib/mjs/components/file/fixtures/index.d.ts +0 -3
  1594. package/lib/mjs/components/file/fixtures/index.js +0 -3
  1595. package/lib/mjs/components/file/fixtures/values.d.ts +0 -10
  1596. package/lib/mjs/components/file/fixtures/values.js +0 -13
  1597. package/lib/mjs/components/form/Form.d.ts +0 -98
  1598. package/lib/mjs/components/form/Form.form.d.ts +0 -3
  1599. package/lib/mjs/components/form/Form.form.js +0 -24
  1600. package/lib/mjs/components/form/Form.js +0 -717
  1601. package/lib/mjs/components/form/editForm/Form.edit.data.d.ts +0 -82
  1602. package/lib/mjs/components/form/editForm/Form.edit.data.js +0 -16
  1603. package/lib/mjs/components/form/editForm/Form.edit.display.d.ts +0 -5
  1604. package/lib/mjs/components/form/editForm/Form.edit.display.js +0 -27
  1605. package/lib/mjs/components/form/editForm/Form.edit.form.d.ts +0 -89
  1606. package/lib/mjs/components/form/editForm/Form.edit.form.js +0 -72
  1607. package/lib/mjs/components/form/fixtures/comp1.d.ts +0 -45
  1608. package/lib/mjs/components/form/fixtures/comp1.js +0 -78
  1609. package/lib/mjs/components/form/fixtures/comp2.d.ts +0 -14
  1610. package/lib/mjs/components/form/fixtures/comp2.js +0 -13
  1611. package/lib/mjs/components/form/fixtures/comp3.d.ts +0 -187
  1612. package/lib/mjs/components/form/fixtures/comp3.js +0 -168
  1613. package/lib/mjs/components/form/fixtures/comp4.d.ts +0 -107
  1614. package/lib/mjs/components/form/fixtures/comp4.js +0 -89
  1615. package/lib/mjs/components/form/fixtures/comp5.d.ts +0 -42
  1616. package/lib/mjs/components/form/fixtures/comp5.js +0 -43
  1617. package/lib/mjs/components/form/fixtures/comp6.d.ts +0 -74
  1618. package/lib/mjs/components/form/fixtures/comp6.js +0 -92
  1619. package/lib/mjs/components/form/fixtures/formModalEdit.d.ts +0 -42
  1620. package/lib/mjs/components/form/fixtures/formModalEdit.js +0 -49
  1621. package/lib/mjs/components/form/fixtures/index.d.ts +0 -8
  1622. package/lib/mjs/components/form/fixtures/index.js +0 -8
  1623. package/lib/mjs/components/form/fixtures/values.d.ts +0 -6
  1624. package/lib/mjs/components/form/fixtures/values.js +0 -7
  1625. package/lib/mjs/components/hidden/Hidden.d.ts +0 -26
  1626. package/lib/mjs/components/hidden/Hidden.form.d.ts +0 -3
  1627. package/lib/mjs/components/hidden/Hidden.form.js +0 -23
  1628. package/lib/mjs/components/hidden/Hidden.js +0 -55
  1629. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.d.ts +0 -5
  1630. package/lib/mjs/components/hidden/editForm/Hidden.edit.data.js +0 -14
  1631. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.d.ts +0 -5
  1632. package/lib/mjs/components/hidden/editForm/Hidden.edit.display.js +0 -42
  1633. package/lib/mjs/components/hidden/fixtures/comp1.d.ts +0 -18
  1634. package/lib/mjs/components/hidden/fixtures/comp1.js +0 -16
  1635. package/lib/mjs/components/hidden/fixtures/index.d.ts +0 -2
  1636. package/lib/mjs/components/hidden/fixtures/index.js +0 -2
  1637. package/lib/mjs/components/hidden/fixtures/values.d.ts +0 -2
  1638. package/lib/mjs/components/hidden/fixtures/values.js +0 -4
  1639. package/lib/mjs/components/html/HTML.d.ts +0 -18
  1640. package/lib/mjs/components/html/HTML.form.d.ts +0 -3
  1641. package/lib/mjs/components/html/HTML.form.js +0 -23
  1642. package/lib/mjs/components/html/HTML.js +0 -87
  1643. package/lib/mjs/components/html/editForm/HTML.edit.display.d.ts +0 -77
  1644. package/lib/mjs/components/html/editForm/HTML.edit.display.js +0 -98
  1645. package/lib/mjs/components/html/editForm/HTML.edit.logic.d.ts +0 -48
  1646. package/lib/mjs/components/html/editForm/HTML.edit.logic.js +0 -98
  1647. package/lib/mjs/components/html/fixtures/comp1.d.ts +0 -19
  1648. package/lib/mjs/components/html/fixtures/comp1.js +0 -20
  1649. package/lib/mjs/components/html/fixtures/comp2.d.ts +0 -21
  1650. package/lib/mjs/components/html/fixtures/comp2.js +0 -22
  1651. package/lib/mjs/components/html/fixtures/index.d.ts +0 -3
  1652. package/lib/mjs/components/html/fixtures/index.js +0 -3
  1653. package/lib/mjs/components/index.d.ts +0 -100
  1654. package/lib/mjs/components/index.js +0 -99
  1655. package/lib/mjs/components/number/Number.d.ts +0 -54
  1656. package/lib/mjs/components/number/Number.form.d.ts +0 -3
  1657. package/lib/mjs/components/number/Number.form.js +0 -20
  1658. package/lib/mjs/components/number/Number.js +0 -201
  1659. package/lib/mjs/components/number/editForm/Number.edit.data.d.ts +0 -18
  1660. package/lib/mjs/components/number/editForm/Number.edit.data.js +0 -30
  1661. package/lib/mjs/components/number/editForm/Number.edit.display.d.ts +0 -5
  1662. package/lib/mjs/components/number/editForm/Number.edit.display.js +0 -22
  1663. package/lib/mjs/components/number/editForm/Number.edit.validation.d.ts +0 -20
  1664. package/lib/mjs/components/number/editForm/Number.edit.validation.js +0 -44
  1665. package/lib/mjs/components/number/fixtures/comp1.d.ts +0 -33
  1666. package/lib/mjs/components/number/fixtures/comp1.js +0 -30
  1667. package/lib/mjs/components/number/fixtures/comp2.d.ts +0 -32
  1668. package/lib/mjs/components/number/fixtures/comp2.js +0 -29
  1669. package/lib/mjs/components/number/fixtures/comp3.d.ts +0 -14
  1670. package/lib/mjs/components/number/fixtures/comp3.js +0 -13
  1671. package/lib/mjs/components/number/fixtures/comp4.d.ts +0 -14
  1672. package/lib/mjs/components/number/fixtures/comp4.js +0 -13
  1673. package/lib/mjs/components/number/fixtures/comp5.d.ts +0 -20
  1674. package/lib/mjs/components/number/fixtures/comp5.js +0 -18
  1675. package/lib/mjs/components/number/fixtures/comp6.d.ts +0 -40
  1676. package/lib/mjs/components/number/fixtures/comp6.js +0 -25
  1677. package/lib/mjs/components/number/fixtures/comp7.d.ts +0 -15
  1678. package/lib/mjs/components/number/fixtures/comp7.js +0 -14
  1679. package/lib/mjs/components/number/fixtures/index.d.ts +0 -8
  1680. package/lib/mjs/components/number/fixtures/index.js +0 -8
  1681. package/lib/mjs/components/number/fixtures/values.d.ts +0 -2
  1682. package/lib/mjs/components/number/fixtures/values.js +0 -9
  1683. package/lib/mjs/components/panel/Panel.d.ts +0 -15
  1684. package/lib/mjs/components/panel/Panel.form.d.ts +0 -3
  1685. package/lib/mjs/components/panel/Panel.form.js +0 -15
  1686. package/lib/mjs/components/panel/Panel.js +0 -55
  1687. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.d.ts +0 -75
  1688. package/lib/mjs/components/panel/editForm/Panel.edit.conditional.js +0 -40
  1689. package/lib/mjs/components/panel/editForm/Panel.edit.display.d.ts +0 -228
  1690. package/lib/mjs/components/panel/editForm/Panel.edit.display.js +0 -208
  1691. package/lib/mjs/components/panel/fixtures/comp1.d.ts +0 -46
  1692. package/lib/mjs/components/panel/fixtures/comp1.js +0 -78
  1693. package/lib/mjs/components/panel/fixtures/comp2.d.ts +0 -80
  1694. package/lib/mjs/components/panel/fixtures/comp2.js +0 -67
  1695. package/lib/mjs/components/panel/fixtures/index.d.ts +0 -3
  1696. package/lib/mjs/components/panel/fixtures/index.js +0 -3
  1697. package/lib/mjs/components/password/Password.d.ts +0 -3
  1698. package/lib/mjs/components/password/Password.form.d.ts +0 -3
  1699. package/lib/mjs/components/password/Password.form.js +0 -20
  1700. package/lib/mjs/components/password/Password.js +0 -34
  1701. package/lib/mjs/components/password/editForm/Password.edit.data.d.ts +0 -18
  1702. package/lib/mjs/components/password/editForm/Password.edit.data.js +0 -46
  1703. package/lib/mjs/components/password/editForm/Password.edit.display.d.ts +0 -5
  1704. package/lib/mjs/components/password/editForm/Password.edit.display.js +0 -14
  1705. package/lib/mjs/components/password/editForm/Password.edit.validation.d.ts +0 -5
  1706. package/lib/mjs/components/password/editForm/Password.edit.validation.js +0 -14
  1707. package/lib/mjs/components/password/fixtures/comp1.d.ts +0 -22
  1708. package/lib/mjs/components/password/fixtures/comp1.js +0 -20
  1709. package/lib/mjs/components/password/fixtures/comp2.d.ts +0 -27
  1710. package/lib/mjs/components/password/fixtures/comp2.js +0 -27
  1711. package/lib/mjs/components/password/fixtures/index.d.ts +0 -3
  1712. package/lib/mjs/components/password/fixtures/index.js +0 -3
  1713. package/lib/mjs/components/password/fixtures/values.d.ts +0 -2
  1714. package/lib/mjs/components/password/fixtures/values.js +0 -4
  1715. package/lib/mjs/components/phonenumber/PhoneNumber.d.ts +0 -3
  1716. package/lib/mjs/components/phonenumber/PhoneNumber.form.d.ts +0 -3
  1717. package/lib/mjs/components/phonenumber/PhoneNumber.form.js +0 -32
  1718. package/lib/mjs/components/phonenumber/PhoneNumber.js +0 -27
  1719. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.d.ts +0 -5
  1720. package/lib/mjs/components/phonenumber/editForm/PhoneNumber.edit.validation.js +0 -22
  1721. package/lib/mjs/components/phonenumber/fixtures/comp1.d.ts +0 -27
  1722. package/lib/mjs/components/phonenumber/fixtures/comp1.js +0 -25
  1723. package/lib/mjs/components/phonenumber/fixtures/index.d.ts +0 -2
  1724. package/lib/mjs/components/phonenumber/fixtures/index.js +0 -2
  1725. package/lib/mjs/components/phonenumber/fixtures/values.d.ts +0 -2
  1726. package/lib/mjs/components/phonenumber/fixtures/values.js +0 -4
  1727. package/lib/mjs/components/radio/Radio.d.ts +0 -65
  1728. package/lib/mjs/components/radio/Radio.form.d.ts +0 -3
  1729. package/lib/mjs/components/radio/Radio.form.js +0 -20
  1730. package/lib/mjs/components/radio/Radio.js +0 -372
  1731. package/lib/mjs/components/radio/editForm/Radio.edit.data.d.ts +0 -134
  1732. package/lib/mjs/components/radio/editForm/Radio.edit.data.js +0 -80
  1733. package/lib/mjs/components/radio/editForm/Radio.edit.display.d.ts +0 -40
  1734. package/lib/mjs/components/radio/editForm/Radio.edit.display.js +0 -32
  1735. package/lib/mjs/components/radio/editForm/Radio.edit.validation.d.ts +0 -18
  1736. package/lib/mjs/components/radio/editForm/Radio.edit.validation.js +0 -18
  1737. package/lib/mjs/components/radio/fixtures/comp1.d.ts +0 -28
  1738. package/lib/mjs/components/radio/fixtures/comp1.js +0 -40
  1739. package/lib/mjs/components/radio/fixtures/comp2.d.ts +0 -85
  1740. package/lib/mjs/components/radio/fixtures/comp2.js +0 -84
  1741. package/lib/mjs/components/radio/fixtures/comp3.d.ts +0 -85
  1742. package/lib/mjs/components/radio/fixtures/comp3.js +0 -88
  1743. package/lib/mjs/components/radio/fixtures/comp4.d.ts +0 -19
  1744. package/lib/mjs/components/radio/fixtures/comp4.js +0 -25
  1745. package/lib/mjs/components/radio/fixtures/comp5.d.ts +0 -39
  1746. package/lib/mjs/components/radio/fixtures/comp5.js +0 -33
  1747. package/lib/mjs/components/radio/fixtures/comp6.d.ts +0 -38
  1748. package/lib/mjs/components/radio/fixtures/comp6.js +0 -31
  1749. package/lib/mjs/components/radio/fixtures/comp7.d.ts +0 -23
  1750. package/lib/mjs/components/radio/fixtures/comp7.js +0 -19
  1751. package/lib/mjs/components/radio/fixtures/comp8.d.ts +0 -118
  1752. package/lib/mjs/components/radio/fixtures/comp8.js +0 -111
  1753. package/lib/mjs/components/radio/fixtures/comp9.d.ts +0 -35
  1754. package/lib/mjs/components/radio/fixtures/comp9.js +0 -30
  1755. package/lib/mjs/components/radio/fixtures/index.d.ts +0 -10
  1756. package/lib/mjs/components/radio/fixtures/index.js +0 -10
  1757. package/lib/mjs/components/radio/fixtures/values.d.ts +0 -2
  1758. package/lib/mjs/components/radio/fixtures/values.js +0 -5
  1759. package/lib/mjs/components/recaptcha/ReCaptcha.d.ts +0 -23
  1760. package/lib/mjs/components/recaptcha/ReCaptcha.form.d.ts +0 -3
  1761. package/lib/mjs/components/recaptcha/ReCaptcha.form.js +0 -26
  1762. package/lib/mjs/components/recaptcha/ReCaptcha.js +0 -139
  1763. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.d.ts +0 -44
  1764. package/lib/mjs/components/recaptcha/editForm/ReCaptcha.edit.display.js +0 -106
  1765. package/lib/mjs/components/recaptcha/fixtures/comp1.d.ts +0 -8
  1766. package/lib/mjs/components/recaptcha/fixtures/comp1.js +0 -7
  1767. package/lib/mjs/components/recaptcha/fixtures/index.d.ts +0 -2
  1768. package/lib/mjs/components/recaptcha/fixtures/index.js +0 -2
  1769. package/lib/mjs/components/resource/Resource.d.ts +0 -10
  1770. package/lib/mjs/components/resource/Resource.form.d.ts +0 -3
  1771. package/lib/mjs/components/resource/Resource.form.js +0 -10
  1772. package/lib/mjs/components/resource/Resource.js +0 -33
  1773. package/lib/mjs/components/resource/editForm/Resource.edit.display.d.ts +0 -173
  1774. package/lib/mjs/components/resource/editForm/Resource.edit.display.js +0 -100
  1775. package/lib/mjs/components/resource/fixtures/comp1.d.ts +0 -30
  1776. package/lib/mjs/components/resource/fixtures/comp1.js +0 -28
  1777. package/lib/mjs/components/resource/fixtures/comp2.d.ts +0 -35
  1778. package/lib/mjs/components/resource/fixtures/comp2.js +0 -29
  1779. package/lib/mjs/components/resource/fixtures/index.d.ts +0 -3
  1780. package/lib/mjs/components/resource/fixtures/index.js +0 -3
  1781. package/lib/mjs/components/select/Select.d.ts +0 -145
  1782. package/lib/mjs/components/select/Select.form.d.ts +0 -3
  1783. package/lib/mjs/components/select/Select.form.js +0 -20
  1784. package/lib/mjs/components/select/Select.js +0 -1491
  1785. package/lib/mjs/components/select/editForm/Select.edit.data.d.ts +0 -1039
  1786. package/lib/mjs/components/select/editForm/Select.edit.data.js +0 -627
  1787. package/lib/mjs/components/select/editForm/Select.edit.display.d.ts +0 -27
  1788. package/lib/mjs/components/select/editForm/Select.edit.display.js +0 -26
  1789. package/lib/mjs/components/select/editForm/Select.edit.validation.d.ts +0 -30
  1790. package/lib/mjs/components/select/editForm/Select.edit.validation.js +0 -33
  1791. package/lib/mjs/components/select/fixtures/comp1.d.ts +0 -40
  1792. package/lib/mjs/components/select/fixtures/comp1.js +0 -64
  1793. package/lib/mjs/components/select/fixtures/comp10.d.ts +0 -41
  1794. package/lib/mjs/components/select/fixtures/comp10.js +0 -30
  1795. package/lib/mjs/components/select/fixtures/comp11.d.ts +0 -28
  1796. package/lib/mjs/components/select/fixtures/comp11.js +0 -22
  1797. package/lib/mjs/components/select/fixtures/comp12.d.ts +0 -53
  1798. package/lib/mjs/components/select/fixtures/comp12.js +0 -27
  1799. package/lib/mjs/components/select/fixtures/comp13.d.ts +0 -28
  1800. package/lib/mjs/components/select/fixtures/comp13.js +0 -29
  1801. package/lib/mjs/components/select/fixtures/comp14.d.ts +0 -40
  1802. package/lib/mjs/components/select/fixtures/comp14.js +0 -25
  1803. package/lib/mjs/components/select/fixtures/comp15.d.ts +0 -50
  1804. package/lib/mjs/components/select/fixtures/comp15.js +0 -39
  1805. package/lib/mjs/components/select/fixtures/comp16.d.ts +0 -34
  1806. package/lib/mjs/components/select/fixtures/comp16.js +0 -31
  1807. package/lib/mjs/components/select/fixtures/comp17.d.ts +0 -51
  1808. package/lib/mjs/components/select/fixtures/comp17.js +0 -41
  1809. package/lib/mjs/components/select/fixtures/comp18.d.ts +0 -49
  1810. package/lib/mjs/components/select/fixtures/comp18.js +0 -40
  1811. package/lib/mjs/components/select/fixtures/comp19.d.ts +0 -23
  1812. package/lib/mjs/components/select/fixtures/comp19.js +0 -34
  1813. package/lib/mjs/components/select/fixtures/comp2.d.ts +0 -41
  1814. package/lib/mjs/components/select/fixtures/comp2.js +0 -65
  1815. package/lib/mjs/components/select/fixtures/comp3.d.ts +0 -35
  1816. package/lib/mjs/components/select/fixtures/comp3.js +0 -206
  1817. package/lib/mjs/components/select/fixtures/comp4.d.ts +0 -103
  1818. package/lib/mjs/components/select/fixtures/comp4.js +0 -104
  1819. package/lib/mjs/components/select/fixtures/comp5.d.ts +0 -21
  1820. package/lib/mjs/components/select/fixtures/comp5.js +0 -26
  1821. package/lib/mjs/components/select/fixtures/comp6.d.ts +0 -20
  1822. package/lib/mjs/components/select/fixtures/comp6.js +0 -28
  1823. package/lib/mjs/components/select/fixtures/comp7.d.ts +0 -63
  1824. package/lib/mjs/components/select/fixtures/comp7.js +0 -44
  1825. package/lib/mjs/components/select/fixtures/comp8.d.ts +0 -72
  1826. package/lib/mjs/components/select/fixtures/comp8.js +0 -35
  1827. package/lib/mjs/components/select/fixtures/comp9.d.ts +0 -88
  1828. package/lib/mjs/components/select/fixtures/comp9.js +0 -65
  1829. package/lib/mjs/components/select/fixtures/index.d.ts +0 -20
  1830. package/lib/mjs/components/select/fixtures/index.js +0 -20
  1831. package/lib/mjs/components/select/fixtures/values.d.ts +0 -2
  1832. package/lib/mjs/components/select/fixtures/values.js +0 -5
  1833. package/lib/mjs/components/selectboxes/SelectBoxes.d.ts +0 -52
  1834. package/lib/mjs/components/selectboxes/SelectBoxes.form.d.ts +0 -3
  1835. package/lib/mjs/components/selectboxes/SelectBoxes.form.js +0 -19
  1836. package/lib/mjs/components/selectboxes/SelectBoxes.js +0 -255
  1837. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.d.ts +0 -9
  1838. package/lib/mjs/components/selectboxes/editForm/SelectBoxes.edit.validation.js +0 -34
  1839. package/lib/mjs/components/selectboxes/fixtures/comp1.d.ts +0 -24
  1840. package/lib/mjs/components/selectboxes/fixtures/comp1.js +0 -52
  1841. package/lib/mjs/components/selectboxes/fixtures/comp2.d.ts +0 -24
  1842. package/lib/mjs/components/selectboxes/fixtures/comp2.js +0 -52
  1843. package/lib/mjs/components/selectboxes/fixtures/comp3.d.ts +0 -23
  1844. package/lib/mjs/components/selectboxes/fixtures/comp3.js +0 -19
  1845. package/lib/mjs/components/selectboxes/fixtures/comp4.d.ts +0 -66
  1846. package/lib/mjs/components/selectboxes/fixtures/comp4.js +0 -79
  1847. package/lib/mjs/components/selectboxes/fixtures/comp5.d.ts +0 -37
  1848. package/lib/mjs/components/selectboxes/fixtures/comp5.js +0 -31
  1849. package/lib/mjs/components/selectboxes/fixtures/comp6.d.ts +0 -14
  1850. package/lib/mjs/components/selectboxes/fixtures/comp6.js +0 -13
  1851. package/lib/mjs/components/selectboxes/fixtures/comp7.d.ts +0 -18
  1852. package/lib/mjs/components/selectboxes/fixtures/comp7.js +0 -29
  1853. package/lib/mjs/components/selectboxes/fixtures/index.d.ts +0 -8
  1854. package/lib/mjs/components/selectboxes/fixtures/index.js +0 -8
  1855. package/lib/mjs/components/selectboxes/fixtures/values.d.ts +0 -6
  1856. package/lib/mjs/components/selectboxes/fixtures/values.js +0 -22
  1857. package/lib/mjs/components/signature/Signature.d.ts +0 -46
  1858. package/lib/mjs/components/signature/Signature.form.d.ts +0 -3
  1859. package/lib/mjs/components/signature/Signature.form.js +0 -20
  1860. package/lib/mjs/components/signature/Signature.js +0 -255
  1861. package/lib/mjs/components/signature/editForm/Signature.edit.data.d.ts +0 -5
  1862. package/lib/mjs/components/signature/editForm/Signature.edit.data.js +0 -14
  1863. package/lib/mjs/components/signature/editForm/Signature.edit.display.d.ts +0 -51
  1864. package/lib/mjs/components/signature/editForm/Signature.edit.display.js +0 -69
  1865. package/lib/mjs/components/signature/editForm/Signature.edit.validation.d.ts +0 -5
  1866. package/lib/mjs/components/signature/editForm/Signature.edit.validation.js +0 -10
  1867. package/lib/mjs/components/signature/fixtures/comp1.d.ts +0 -30
  1868. package/lib/mjs/components/signature/fixtures/comp1.js +0 -28
  1869. package/lib/mjs/components/signature/fixtures/index.d.ts +0 -2
  1870. package/lib/mjs/components/signature/fixtures/index.js +0 -2
  1871. package/lib/mjs/components/signature/fixtures/values.d.ts +0 -2
  1872. package/lib/mjs/components/signature/fixtures/values.js +0 -5
  1873. package/lib/mjs/components/survey/Survey.d.ts +0 -37
  1874. package/lib/mjs/components/survey/Survey.form.d.ts +0 -3
  1875. package/lib/mjs/components/survey/Survey.form.js +0 -20
  1876. package/lib/mjs/components/survey/Survey.js +0 -153
  1877. package/lib/mjs/components/survey/editForm/Survey.edit.data.d.ts +0 -44
  1878. package/lib/mjs/components/survey/editForm/Survey.edit.data.js +0 -70
  1879. package/lib/mjs/components/survey/editForm/Survey.edit.display.d.ts +0 -5
  1880. package/lib/mjs/components/survey/editForm/Survey.edit.display.js +0 -6
  1881. package/lib/mjs/components/survey/editForm/Survey.edit.validation.d.ts +0 -5
  1882. package/lib/mjs/components/survey/editForm/Survey.edit.validation.js +0 -6
  1883. package/lib/mjs/components/survey/fixtures/comp1.d.ts +0 -31
  1884. package/lib/mjs/components/survey/fixtures/comp1.js +0 -53
  1885. package/lib/mjs/components/survey/fixtures/comp2.d.ts +0 -31
  1886. package/lib/mjs/components/survey/fixtures/comp2.js +0 -53
  1887. package/lib/mjs/components/survey/fixtures/index.d.ts +0 -3
  1888. package/lib/mjs/components/survey/fixtures/index.js +0 -3
  1889. package/lib/mjs/components/survey/fixtures/values.d.ts +0 -5
  1890. package/lib/mjs/components/survey/fixtures/values.js +0 -10
  1891. package/lib/mjs/components/table/Table.d.ts +0 -23
  1892. package/lib/mjs/components/table/Table.form.d.ts +0 -3
  1893. package/lib/mjs/components/table/Table.form.js +0 -10
  1894. package/lib/mjs/components/table/Table.js +0 -169
  1895. package/lib/mjs/components/table/editForm/Table.edit.display.d.ts +0 -55
  1896. package/lib/mjs/components/table/editForm/Table.edit.display.js +0 -109
  1897. package/lib/mjs/components/table/fixtures/comp1.d.ts +0 -53
  1898. package/lib/mjs/components/table/fixtures/comp1.js +0 -235
  1899. package/lib/mjs/components/table/fixtures/index.d.ts +0 -2
  1900. package/lib/mjs/components/table/fixtures/index.js +0 -2
  1901. package/lib/mjs/components/tabs/Tabs.d.ts +0 -30
  1902. package/lib/mjs/components/tabs/Tabs.form.d.ts +0 -3
  1903. package/lib/mjs/components/tabs/Tabs.form.js +0 -10
  1904. package/lib/mjs/components/tabs/Tabs.js +0 -201
  1905. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.d.ts +0 -49
  1906. package/lib/mjs/components/tabs/editForm/Tabs.edit.display.js +0 -66
  1907. package/lib/mjs/components/tabs/fixtures/comp1.d.ts +0 -23
  1908. package/lib/mjs/components/tabs/fixtures/comp1.js +0 -31
  1909. package/lib/mjs/components/tabs/fixtures/index.d.ts +0 -2
  1910. package/lib/mjs/components/tabs/fixtures/index.js +0 -2
  1911. package/lib/mjs/components/tags/Tags.d.ts +0 -41
  1912. package/lib/mjs/components/tags/Tags.form.d.ts +0 -3
  1913. package/lib/mjs/components/tags/Tags.form.js +0 -10
  1914. package/lib/mjs/components/tags/Tags.js +0 -171
  1915. package/lib/mjs/components/tags/editForm/Tags.edit.data.d.ts +0 -51
  1916. package/lib/mjs/components/tags/editForm/Tags.edit.data.js +0 -37
  1917. package/lib/mjs/components/tags/fixtures/comp1.d.ts +0 -20
  1918. package/lib/mjs/components/tags/fixtures/comp1.js +0 -18
  1919. package/lib/mjs/components/tags/fixtures/comp2.d.ts +0 -10
  1920. package/lib/mjs/components/tags/fixtures/comp2.js +0 -9
  1921. package/lib/mjs/components/tags/fixtures/comp3.d.ts +0 -23
  1922. package/lib/mjs/components/tags/fixtures/comp3.js +0 -18
  1923. package/lib/mjs/components/tags/fixtures/comp4.d.ts +0 -9
  1924. package/lib/mjs/components/tags/fixtures/comp4.js +0 -8
  1925. package/lib/mjs/components/tags/fixtures/comp5.d.ts +0 -24
  1926. package/lib/mjs/components/tags/fixtures/comp5.js +0 -22
  1927. package/lib/mjs/components/tags/fixtures/comp6.d.ts +0 -17
  1928. package/lib/mjs/components/tags/fixtures/comp6.js +0 -18
  1929. package/lib/mjs/components/tags/fixtures/index.d.ts +0 -7
  1930. package/lib/mjs/components/tags/fixtures/index.js +0 -7
  1931. package/lib/mjs/components/tags/fixtures/values.d.ts +0 -2
  1932. package/lib/mjs/components/tags/fixtures/values.js +0 -4
  1933. package/lib/mjs/components/textarea/TextArea.d.ts +0 -37
  1934. package/lib/mjs/components/textarea/TextArea.form.d.ts +0 -3
  1935. package/lib/mjs/components/textarea/TextArea.form.js +0 -15
  1936. package/lib/mjs/components/textarea/TextArea.js +0 -529
  1937. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.d.ts +0 -355
  1938. package/lib/mjs/components/textarea/editForm/TextArea.edit.display.js +0 -258
  1939. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.d.ts +0 -10
  1940. package/lib/mjs/components/textarea/editForm/TextArea.edit.validation.js +0 -20
  1941. package/lib/mjs/components/textarea/fixtures/comp1.d.ts +0 -31
  1942. package/lib/mjs/components/textarea/fixtures/comp1.js +0 -29
  1943. package/lib/mjs/components/textarea/fixtures/comp2.d.ts +0 -29
  1944. package/lib/mjs/components/textarea/fixtures/comp2.js +0 -27
  1945. package/lib/mjs/components/textarea/fixtures/comp3.d.ts +0 -27
  1946. package/lib/mjs/components/textarea/fixtures/comp3.js +0 -27
  1947. package/lib/mjs/components/textarea/fixtures/comp4.d.ts +0 -30
  1948. package/lib/mjs/components/textarea/fixtures/comp4.js +0 -25
  1949. package/lib/mjs/components/textarea/fixtures/index.d.ts +0 -5
  1950. package/lib/mjs/components/textarea/fixtures/index.js +0 -5
  1951. package/lib/mjs/components/textarea/fixtures/values.d.ts +0 -2
  1952. package/lib/mjs/components/textarea/fixtures/values.js +0 -4
  1953. package/lib/mjs/components/textfield/TextField.d.ts +0 -60
  1954. package/lib/mjs/components/textfield/TextField.form.d.ts +0 -3
  1955. package/lib/mjs/components/textfield/TextField.form.js +0 -20
  1956. package/lib/mjs/components/textfield/TextField.js +0 -229
  1957. package/lib/mjs/components/textfield/editForm/TextField.edit.data.d.ts +0 -46
  1958. package/lib/mjs/components/textfield/editForm/TextField.edit.data.js +0 -56
  1959. package/lib/mjs/components/textfield/editForm/TextField.edit.display.d.ts +0 -248
  1960. package/lib/mjs/components/textfield/editForm/TextField.edit.display.js +0 -203
  1961. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.d.ts +0 -10
  1962. package/lib/mjs/components/textfield/editForm/TextField.edit.validation.js +0 -47
  1963. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.d.ts +0 -47
  1964. package/lib/mjs/components/textfield/fixtures/comp-with-display-and-value-masks.js +0 -46
  1965. package/lib/mjs/components/textfield/fixtures/comp1.d.ts +0 -33
  1966. package/lib/mjs/components/textfield/fixtures/comp1.js +0 -31
  1967. package/lib/mjs/components/textfield/fixtures/comp2.d.ts +0 -33
  1968. package/lib/mjs/components/textfield/fixtures/comp2.js +0 -31
  1969. package/lib/mjs/components/textfield/fixtures/comp3.d.ts +0 -33
  1970. package/lib/mjs/components/textfield/fixtures/comp3.js +0 -31
  1971. package/lib/mjs/components/textfield/fixtures/comp4.d.ts +0 -23
  1972. package/lib/mjs/components/textfield/fixtures/comp4.js +0 -25
  1973. package/lib/mjs/components/textfield/fixtures/comp5.d.ts +0 -12
  1974. package/lib/mjs/components/textfield/fixtures/comp5.js +0 -11
  1975. package/lib/mjs/components/textfield/fixtures/comp6.d.ts +0 -25
  1976. package/lib/mjs/components/textfield/fixtures/comp6.js +0 -19
  1977. package/lib/mjs/components/textfield/fixtures/comp7.d.ts +0 -37
  1978. package/lib/mjs/components/textfield/fixtures/comp7.js +0 -36
  1979. package/lib/mjs/components/textfield/fixtures/index.d.ts +0 -9
  1980. package/lib/mjs/components/textfield/fixtures/index.js +0 -9
  1981. package/lib/mjs/components/textfield/fixtures/values.d.ts +0 -2
  1982. package/lib/mjs/components/textfield/fixtures/values.js +0 -5
  1983. package/lib/mjs/components/time/Time.d.ts +0 -27
  1984. package/lib/mjs/components/time/Time.form.d.ts +0 -3
  1985. package/lib/mjs/components/time/Time.form.js +0 -15
  1986. package/lib/mjs/components/time/Time.js +0 -153
  1987. package/lib/mjs/components/time/editForm/Time.edit.data.d.ts +0 -10
  1988. package/lib/mjs/components/time/editForm/Time.edit.data.js +0 -11
  1989. package/lib/mjs/components/time/editForm/Time.edit.display.d.ts +0 -52
  1990. package/lib/mjs/components/time/editForm/Time.edit.display.js +0 -40
  1991. package/lib/mjs/components/time/fixtures/comp1.d.ts +0 -24
  1992. package/lib/mjs/components/time/fixtures/comp1.js +0 -22
  1993. package/lib/mjs/components/time/fixtures/comp2.d.ts +0 -10
  1994. package/lib/mjs/components/time/fixtures/comp2.js +0 -9
  1995. package/lib/mjs/components/time/fixtures/comp3.d.ts +0 -15
  1996. package/lib/mjs/components/time/fixtures/comp3.js +0 -16
  1997. package/lib/mjs/components/time/fixtures/index.d.ts +0 -6
  1998. package/lib/mjs/components/time/fixtures/index.js +0 -6
  1999. package/lib/mjs/components/time/fixtures/timeForm.d.ts +0 -47
  2000. package/lib/mjs/components/time/fixtures/timeForm.js +0 -50
  2001. package/lib/mjs/components/time/fixtures/timeForm2.d.ts +0 -38
  2002. package/lib/mjs/components/time/fixtures/timeForm2.js +0 -42
  2003. package/lib/mjs/components/time/fixtures/values.d.ts +0 -2
  2004. package/lib/mjs/components/time/fixtures/values.js +0 -5
  2005. package/lib/mjs/components/tree/Node.d.ts +0 -55
  2006. package/lib/mjs/components/tree/Node.js +0 -179
  2007. package/lib/mjs/components/tree/Tree.d.ts +0 -48
  2008. package/lib/mjs/components/tree/Tree.form.d.ts +0 -3
  2009. package/lib/mjs/components/tree/Tree.form.js +0 -15
  2010. package/lib/mjs/components/tree/Tree.js +0 -384
  2011. package/lib/mjs/components/tree/editForm/Tree.edit.data.d.ts +0 -5
  2012. package/lib/mjs/components/tree/editForm/Tree.edit.data.js +0 -7
  2013. package/lib/mjs/components/tree/editForm/Tree.edit.display.d.ts +0 -9
  2014. package/lib/mjs/components/tree/editForm/Tree.edit.display.js +0 -10
  2015. package/lib/mjs/components/tree/fixtures/comp1.d.ts +0 -23
  2016. package/lib/mjs/components/tree/fixtures/comp1.js +0 -22
  2017. package/lib/mjs/components/tree/fixtures/comp2.d.ts +0 -116
  2018. package/lib/mjs/components/tree/fixtures/comp2.js +0 -80
  2019. package/lib/mjs/components/tree/fixtures/comp3.d.ts +0 -24
  2020. package/lib/mjs/components/tree/fixtures/comp3.js +0 -23
  2021. package/lib/mjs/components/tree/fixtures/comp4.d.ts +0 -42
  2022. package/lib/mjs/components/tree/fixtures/comp4.js +0 -45
  2023. package/lib/mjs/components/tree/fixtures/index.d.ts +0 -5
  2024. package/lib/mjs/components/tree/fixtures/index.js +0 -5
  2025. package/lib/mjs/components/unknown/Unknown.d.ts +0 -28
  2026. package/lib/mjs/components/unknown/Unknown.form.d.ts +0 -34
  2027. package/lib/mjs/components/unknown/Unknown.form.js +0 -19
  2028. package/lib/mjs/components/unknown/Unknown.js +0 -24
  2029. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.d.ts +0 -24
  2030. package/lib/mjs/components/unknown/editForm/Unknown.edit.display.js +0 -25
  2031. package/lib/mjs/components/unknown/fixtures/comp1.d.ts +0 -7
  2032. package/lib/mjs/components/unknown/fixtures/comp1.js +0 -6
  2033. package/lib/mjs/components/unknown/fixtures/index.d.ts +0 -2
  2034. package/lib/mjs/components/unknown/fixtures/index.js +0 -2
  2035. package/lib/mjs/components/url/Url.d.ts +0 -3
  2036. package/lib/mjs/components/url/Url.form.d.ts +0 -3
  2037. package/lib/mjs/components/url/Url.form.js +0 -20
  2038. package/lib/mjs/components/url/Url.js +0 -33
  2039. package/lib/mjs/components/url/editForm/Url.edit.data.d.ts +0 -5
  2040. package/lib/mjs/components/url/editForm/Url.edit.data.js +0 -6
  2041. package/lib/mjs/components/url/editForm/Url.edit.display.d.ts +0 -5
  2042. package/lib/mjs/components/url/editForm/Url.edit.display.js +0 -18
  2043. package/lib/mjs/components/url/editForm/Url.edit.validation.d.ts +0 -5
  2044. package/lib/mjs/components/url/editForm/Url.edit.validation.js +0 -10
  2045. package/lib/mjs/components/url/fixtures/comp1.d.ts +0 -26
  2046. package/lib/mjs/components/url/fixtures/comp1.js +0 -24
  2047. package/lib/mjs/components/url/fixtures/comp2.d.ts +0 -26
  2048. package/lib/mjs/components/url/fixtures/comp2.js +0 -21
  2049. package/lib/mjs/components/url/fixtures/index.d.ts +0 -3
  2050. package/lib/mjs/components/url/fixtures/index.js +0 -3
  2051. package/lib/mjs/components/url/fixtures/values.d.ts +0 -2
  2052. package/lib/mjs/components/url/fixtures/values.js +0 -4
  2053. package/lib/mjs/components/well/Well.d.ts +0 -15
  2054. package/lib/mjs/components/well/Well.form.d.ts +0 -3
  2055. package/lib/mjs/components/well/Well.form.js +0 -10
  2056. package/lib/mjs/components/well/Well.js +0 -39
  2057. package/lib/mjs/components/well/editForm/Well.edit.display.d.ts +0 -5
  2058. package/lib/mjs/components/well/editForm/Well.edit.display.js +0 -30
  2059. package/lib/mjs/components/well/fixtures/comp1.d.ts +0 -43
  2060. package/lib/mjs/components/well/fixtures/comp1.js +0 -75
  2061. package/lib/mjs/components/well/fixtures/index.d.ts +0 -2
  2062. package/lib/mjs/components/well/fixtures/index.js +0 -2
  2063. package/lib/mjs/displays/Displays.d.ts +0 -18
  2064. package/lib/mjs/displays/Displays.js +0 -24
  2065. package/lib/mjs/displays/index.d.ts +0 -2
  2066. package/lib/mjs/displays/index.js +0 -2
  2067. package/lib/mjs/formio.embed.d.ts +0 -2
  2068. package/lib/mjs/formio.embed.js +0 -97
  2069. package/lib/mjs/formio.form.d.ts +0 -23
  2070. package/lib/mjs/formio.form.js +0 -146
  2071. package/lib/mjs/i18n.d.ts +0 -13
  2072. package/lib/mjs/i18n.js +0 -14
  2073. package/lib/mjs/index.d.ts +0 -4
  2074. package/lib/mjs/index.js +0 -13
  2075. package/lib/mjs/licenses/Licenses.d.ts +0 -7
  2076. package/lib/mjs/licenses/Licenses.js +0 -17
  2077. package/lib/mjs/licenses/index.d.ts +0 -2
  2078. package/lib/mjs/licenses/index.js +0 -2
  2079. package/lib/mjs/package.json +0 -3
  2080. package/lib/mjs/pdf.image.d.ts +0 -2
  2081. package/lib/mjs/pdf.image.js +0 -94
  2082. package/lib/mjs/providers/Providers.d.ts +0 -84
  2083. package/lib/mjs/providers/Providers.js +0 -29
  2084. package/lib/mjs/providers/address/AddressProvider.d.ts +0 -17
  2085. package/lib/mjs/providers/address/AddressProvider.js +0 -54
  2086. package/lib/mjs/providers/address/AzureAddressProvider.d.ts +0 -12
  2087. package/lib/mjs/providers/address/AzureAddressProvider.js +0 -27
  2088. package/lib/mjs/providers/address/CustomAddressProvider.d.ts +0 -7
  2089. package/lib/mjs/providers/address/CustomAddressProvider.js +0 -22
  2090. package/lib/mjs/providers/address/GoogleAddressProvider.d.ts +0 -18
  2091. package/lib/mjs/providers/address/GoogleAddressProvider.js +0 -109
  2092. package/lib/mjs/providers/address/NominatimAddressProvider.d.ts +0 -11
  2093. package/lib/mjs/providers/address/NominatimAddressProvider.js +0 -27
  2094. package/lib/mjs/providers/address/index.d.ts +0 -6
  2095. package/lib/mjs/providers/address/index.js +0 -10
  2096. package/lib/mjs/providers/auth/index.d.ts +0 -2
  2097. package/lib/mjs/providers/auth/index.js +0 -1
  2098. package/lib/mjs/providers/index.d.ts +0 -2
  2099. package/lib/mjs/providers/index.js +0 -2
  2100. package/lib/mjs/providers/processor/fileProcessor.d.ts +0 -2
  2101. package/lib/mjs/providers/processor/fileProcessor.js +0 -38
  2102. package/lib/mjs/providers/storage/azure.d.ts +0 -17
  2103. package/lib/mjs/providers/storage/azure.js +0 -30
  2104. package/lib/mjs/providers/storage/base64.d.ts +0 -10
  2105. package/lib/mjs/providers/storage/base64.js +0 -29
  2106. package/lib/mjs/providers/storage/dropbox.d.ts +0 -8
  2107. package/lib/mjs/providers/storage/dropbox.js +0 -55
  2108. package/lib/mjs/providers/storage/googleDrive.d.ts +0 -9
  2109. package/lib/mjs/providers/storage/googleDrive.js +0 -58
  2110. package/lib/mjs/providers/storage/index.d.ts +0 -15
  2111. package/lib/mjs/providers/storage/index.js +0 -14
  2112. package/lib/mjs/providers/storage/indexeddb.d.ts +0 -11
  2113. package/lib/mjs/providers/storage/indexeddb.js +0 -118
  2114. package/lib/mjs/providers/storage/s3.d.ts +0 -18
  2115. package/lib/mjs/providers/storage/s3.js +0 -48
  2116. package/lib/mjs/providers/storage/uploadAdapter.d.ts +0 -1
  2117. package/lib/mjs/providers/storage/uploadAdapter.js +0 -54
  2118. package/lib/mjs/providers/storage/url.d.ts +0 -11
  2119. package/lib/mjs/providers/storage/url.js +0 -140
  2120. package/lib/mjs/providers/storage/xhr.d.ts +0 -7
  2121. package/lib/mjs/providers/storage/xhr.js +0 -93
  2122. package/lib/mjs/templates/Templates.d.ts +0 -11
  2123. package/lib/mjs/templates/Templates.js +0 -41
  2124. package/lib/mjs/templates/index.d.ts +0 -229
  2125. package/lib/mjs/templates/index.js +0 -4
  2126. package/lib/mjs/translations/en.d.ts +0 -66
  2127. package/lib/mjs/translations/en.js +0 -65
  2128. package/lib/mjs/utils/ChoicesWrapper.d.ts +0 -38
  2129. package/lib/mjs/utils/ChoicesWrapper.js +0 -188
  2130. package/lib/mjs/utils/Evaluator.d.ts +0 -4
  2131. package/lib/mjs/utils/Evaluator.js +0 -64
  2132. package/lib/mjs/utils/builder.d.ts +0 -22
  2133. package/lib/mjs/utils/builder.js +0 -79
  2134. package/lib/mjs/utils/calendarUtils.d.ts +0 -41
  2135. package/lib/mjs/utils/calendarUtils.js +0 -128
  2136. package/lib/mjs/utils/conditionOperators/ConditionOperator.d.ts +0 -7
  2137. package/lib/mjs/utils/conditionOperators/ConditionOperator.js +0 -23
  2138. package/lib/mjs/utils/conditionOperators/DateGreaterThan.d.ts +0 -13
  2139. package/lib/mjs/utils/conditionOperators/DateGreaterThan.js +0 -31
  2140. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.d.ts +0 -4
  2141. package/lib/mjs/utils/conditionOperators/DateGreaterThanOrEqual.js +0 -12
  2142. package/lib/mjs/utils/conditionOperators/DateLessThan.d.ts +0 -4
  2143. package/lib/mjs/utils/conditionOperators/DateLessThan.js +0 -12
  2144. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.d.ts +0 -4
  2145. package/lib/mjs/utils/conditionOperators/DateLessThanOrEqual.js +0 -12
  2146. package/lib/mjs/utils/conditionOperators/EndsWith.d.ts +0 -7
  2147. package/lib/mjs/utils/conditionOperators/EndsWith.js +0 -13
  2148. package/lib/mjs/utils/conditionOperators/GreaterThan.d.ts +0 -7
  2149. package/lib/mjs/utils/conditionOperators/GreaterThan.js +0 -13
  2150. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.d.ts +0 -7
  2151. package/lib/mjs/utils/conditionOperators/GreaterThanOrEqual.js +0 -13
  2152. package/lib/mjs/utils/conditionOperators/Includes.d.ts +0 -7
  2153. package/lib/mjs/utils/conditionOperators/Includes.js +0 -13
  2154. package/lib/mjs/utils/conditionOperators/IsDateEqual.d.ts +0 -4
  2155. package/lib/mjs/utils/conditionOperators/IsDateEqual.js +0 -12
  2156. package/lib/mjs/utils/conditionOperators/IsEmptyValue.d.ts +0 -9
  2157. package/lib/mjs/utils/conditionOperators/IsEmptyValue.js +0 -24
  2158. package/lib/mjs/utils/conditionOperators/IsEqualTo.d.ts +0 -7
  2159. package/lib/mjs/utils/conditionOperators/IsEqualTo.js +0 -24
  2160. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.d.ts +0 -4
  2161. package/lib/mjs/utils/conditionOperators/IsNotDateEqual.js +0 -12
  2162. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.d.ts +0 -4
  2163. package/lib/mjs/utils/conditionOperators/IsNotEmptyValue.js +0 -12
  2164. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.d.ts +0 -7
  2165. package/lib/mjs/utils/conditionOperators/IsNotEqualTo.js +0 -13
  2166. package/lib/mjs/utils/conditionOperators/LessThan.d.ts +0 -7
  2167. package/lib/mjs/utils/conditionOperators/LessThan.js +0 -13
  2168. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.d.ts +0 -7
  2169. package/lib/mjs/utils/conditionOperators/LessThanOrEqual.js +0 -13
  2170. package/lib/mjs/utils/conditionOperators/NotIncludes.d.ts +0 -4
  2171. package/lib/mjs/utils/conditionOperators/NotIncludes.js +0 -12
  2172. package/lib/mjs/utils/conditionOperators/StartsWith.d.ts +0 -7
  2173. package/lib/mjs/utils/conditionOperators/StartsWith.js +0 -13
  2174. package/lib/mjs/utils/conditionOperators/index.d.ts +0 -7
  2175. package/lib/mjs/utils/conditionOperators/index.js +0 -39
  2176. package/lib/mjs/utils/formUtils.d.ts +0 -173
  2177. package/lib/mjs/utils/formUtils.js +0 -560
  2178. package/lib/mjs/utils/i18n.d.ts +0 -16
  2179. package/lib/mjs/utils/i18n.js +0 -81
  2180. package/lib/mjs/utils/index.d.ts +0 -2
  2181. package/lib/mjs/utils/index.js +0 -5
  2182. package/lib/mjs/utils/jsonlogic/operators.d.ts +0 -1
  2183. package/lib/mjs/utils/jsonlogic/operators.js +0 -262
  2184. package/lib/mjs/utils/utils.d.ts +0 -374
  2185. package/lib/mjs/utils/utils.js +0 -1386
  2186. package/lib/mjs/validator/Rules.d.ts +0 -53
  2187. package/lib/mjs/validator/Rules.js +0 -17
  2188. package/lib/mjs/validator/Validator.d.ts +0 -228
  2189. package/lib/mjs/validator/Validator.js +0 -1103
  2190. package/lib/mjs/validator/conjunctions/index.d.ts +0 -7
  2191. package/lib/mjs/validator/conjunctions/index.js +0 -16
  2192. package/lib/mjs/validator/operators/index.d.ts +0 -7
  2193. package/lib/mjs/validator/operators/index.js +0 -16
  2194. package/lib/mjs/validator/quickRules/index.d.ts +0 -7
  2195. package/lib/mjs/validator/quickRules/index.js +0 -16
  2196. package/lib/mjs/validator/rules/Custom.d.ts +0 -5
  2197. package/lib/mjs/validator/rules/Custom.js +0 -21
  2198. package/lib/mjs/validator/rules/Date.d.ts +0 -5
  2199. package/lib/mjs/validator/rules/Date.js +0 -16
  2200. package/lib/mjs/validator/rules/Day.d.ts +0 -5
  2201. package/lib/mjs/validator/rules/Day.js +0 -49
  2202. package/lib/mjs/validator/rules/Email.d.ts +0 -5
  2203. package/lib/mjs/validator/rules/Email.js +0 -15
  2204. package/lib/mjs/validator/rules/JSON.d.ts +0 -5
  2205. package/lib/mjs/validator/rules/JSON.js +0 -20
  2206. package/lib/mjs/validator/rules/Mask.d.ts +0 -5
  2207. package/lib/mjs/validator/rules/Mask.js +0 -23
  2208. package/lib/mjs/validator/rules/Max.d.ts +0 -5
  2209. package/lib/mjs/validator/rules/Max.js +0 -12
  2210. package/lib/mjs/validator/rules/MaxDate.d.ts +0 -5
  2211. package/lib/mjs/validator/rules/MaxDate.js +0 -25
  2212. package/lib/mjs/validator/rules/MaxLength.d.ts +0 -5
  2213. package/lib/mjs/validator/rules/MaxLength.js +0 -11
  2214. package/lib/mjs/validator/rules/MaxWords.d.ts +0 -5
  2215. package/lib/mjs/validator/rules/MaxWords.js +0 -11
  2216. package/lib/mjs/validator/rules/MaxYear.d.ts +0 -5
  2217. package/lib/mjs/validator/rules/MaxYear.js +0 -13
  2218. package/lib/mjs/validator/rules/Min.d.ts +0 -5
  2219. package/lib/mjs/validator/rules/Min.js +0 -12
  2220. package/lib/mjs/validator/rules/MinDate.d.ts +0 -5
  2221. package/lib/mjs/validator/rules/MinDate.js +0 -21
  2222. package/lib/mjs/validator/rules/MinLength.d.ts +0 -5
  2223. package/lib/mjs/validator/rules/MinLength.js +0 -11
  2224. package/lib/mjs/validator/rules/MinWords.d.ts +0 -5
  2225. package/lib/mjs/validator/rules/MinWords.js +0 -11
  2226. package/lib/mjs/validator/rules/MinYear.d.ts +0 -5
  2227. package/lib/mjs/validator/rules/MinYear.js +0 -13
  2228. package/lib/mjs/validator/rules/Pattern.d.ts +0 -5
  2229. package/lib/mjs/validator/rules/Pattern.js +0 -11
  2230. package/lib/mjs/validator/rules/Required.d.ts +0 -5
  2231. package/lib/mjs/validator/rules/Required.js +0 -8
  2232. package/lib/mjs/validator/rules/Rule.d.ts +0 -7
  2233. package/lib/mjs/validator/rules/Rule.js +0 -9
  2234. package/lib/mjs/validator/rules/Select.d.ts +0 -5
  2235. package/lib/mjs/validator/rules/Select.js +0 -86
  2236. package/lib/mjs/validator/rules/Time.d.ts +0 -5
  2237. package/lib/mjs/validator/rules/Time.js +0 -10
  2238. package/lib/mjs/validator/rules/Unique.d.ts +0 -5
  2239. package/lib/mjs/validator/rules/Unique.js +0 -60
  2240. package/lib/mjs/validator/rules/Url.d.ts +0 -5
  2241. package/lib/mjs/validator/rules/Url.js +0 -14
  2242. package/lib/mjs/validator/rules/index.d.ts +0 -47
  2243. package/lib/mjs/validator/rules/index.js +0 -46
  2244. package/lib/mjs/validator/transformers/index.d.ts +0 -7
  2245. package/lib/mjs/validator/transformers/index.js +0 -16
  2246. package/lib/mjs/validator/valueSources/index.d.ts +0 -7
  2247. package/lib/mjs/validator/valueSources/index.js +0 -16
  2248. package/lib/mjs/widgets/CalendarWidget.d.ts +0 -97
  2249. package/lib/mjs/widgets/CalendarWidget.js +0 -457
  2250. package/lib/mjs/widgets/InputWidget.d.ts +0 -24
  2251. package/lib/mjs/widgets/InputWidget.js +0 -68
  2252. package/lib/mjs/widgets/index.d.ts +0 -7
  2253. package/lib/mjs/widgets/index.js +0 -6
@@ -1,3200 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- /* globals Quill, ClassicEditor, CKEDITOR */
30
- const vanilla_text_mask_1 = require("@formio/vanilla-text-mask");
31
- const tippy_js_1 = __importDefault(require("tippy.js"));
32
- const lodash_1 = __importDefault(require("lodash"));
33
- const ismobilejs_1 = __importDefault(require("ismobilejs"));
34
- const Formio_1 = require("../../../Formio");
35
- const FormioUtils = __importStar(require("../../../utils/utils"));
36
- const Validator_1 = __importDefault(require("../../../validator/Validator"));
37
- const utils_1 = require("../../../utils/utils");
38
- const Element_1 = __importDefault(require("../../../Element"));
39
- const ComponentModal_1 = __importDefault(require("../componentModal/ComponentModal"));
40
- const widgets_1 = __importDefault(require("../../../widgets"));
41
- const addons_1 = __importDefault(require("../../../addons"));
42
- const uploadAdapter_1 = require("../../../providers/storage/uploadAdapter");
43
- const en_1 = __importDefault(require("../../../translations/en"));
44
- const Templates_1 = __importDefault(require("../../../templates/Templates"));
45
- const isIEBrowser = FormioUtils.getBrowserInfo().ie;
46
- /**
47
- * This is the Component class
48
- which all elements within the FormioForm derive from.
49
- */
50
- class Component extends Element_1.default {
51
- static schema(...sources) {
52
- return lodash_1.default.merge({
53
- /**
54
- * Determines if this component provides an input.
55
- */
56
- input: true,
57
- /**
58
- * The data key for this component (how the data is stored in the database).
59
- */
60
- key: '',
61
- /**
62
- * The input placeholder for this component.
63
- */
64
- placeholder: '',
65
- /**
66
- * The input prefix
67
- */
68
- prefix: '',
69
- /**
70
- * The custom CSS class to provide to this component.
71
- */
72
- customClass: '',
73
- /**
74
- * The input suffix.
75
- */
76
- suffix: '',
77
- /**
78
- * If this component should allow an array of values to be captured.
79
- */
80
- multiple: false,
81
- /**
82
- * The default value of this component.
83
- */
84
- defaultValue: null,
85
- /**
86
- * If the data of this component should be protected (no GET api requests can see the data)
87
- */
88
- protected: false,
89
- /**
90
- * Validate if the value of this component should be unique within the form.
91
- */
92
- unique: false,
93
- /**
94
- * If the value of this component should be persisted within the backend api database.
95
- */
96
- persistent: true,
97
- /**
98
- * Determines if the component should be within the form, but not visible.
99
- */
100
- hidden: false,
101
- /**
102
- * If the component should be cleared when hidden.
103
- */
104
- clearOnHide: true,
105
- /**
106
- * This will refresh this component options when this field changes.
107
- */
108
- refreshOn: '',
109
- /**
110
- * This will redraw the component when this field changes.
111
- */
112
- redrawOn: '',
113
- /**
114
- * If this component should be included as a column within a submission table.
115
- */
116
- tableView: false,
117
- /**
118
- * If this component should be rendering in modal.
119
- */
120
- modalEdit: false,
121
- /**
122
- * The input label provided to this component.
123
- */
124
- label: '',
125
- dataGridLabel: false,
126
- labelPosition: 'top',
127
- description: '',
128
- errorLabel: '',
129
- tooltip: '',
130
- hideLabel: false,
131
- tabindex: '',
132
- disabled: false,
133
- autofocus: false,
134
- dbIndex: false,
135
- customDefaultValue: '',
136
- calculateValue: '',
137
- calculateServer: false,
138
- widget: null,
139
- /**
140
- * Attributes that will be assigned to the input elements of this component.
141
- */
142
- attributes: {},
143
- /**
144
- * This will perform the validation on either "change" or "blur" of the input element.
145
- */
146
- validateOn: 'change',
147
- /**
148
- * The validation criteria for this component.
149
- */
150
- validate: {
151
- /**
152
- * If this component is required.
153
- */
154
- required: false,
155
- /**
156
- * Custom JavaScript validation.
157
- */
158
- custom: '',
159
- /**
160
- * If the custom validation should remain private (only the backend will see it and execute it).
161
- */
162
- customPrivate: false,
163
- /**
164
- * If this component should implement a strict date validation if the Calendar widget is implemented.
165
- */
166
- strictDateValidation: false,
167
- multiple: false,
168
- unique: false
169
- },
170
- /**
171
- * The simple conditional settings for a component.
172
- */
173
- conditional: {
174
- show: null,
175
- when: null,
176
- eq: ''
177
- },
178
- overlay: {
179
- style: '',
180
- left: '',
181
- top: '',
182
- width: '',
183
- height: '',
184
- },
185
- allowCalculateOverride: false,
186
- encrypted: false,
187
- showCharCount: false,
188
- showWordCount: false,
189
- properties: {},
190
- allowMultipleMasks: false,
191
- addons: [],
192
- }, ...sources);
193
- }
194
- /**
195
- * Return the validator as part of the component.
196
- *
197
- * @return {ValidationChecker}
198
- * @constructor
199
- */
200
- static get Validator() {
201
- return Validator_1.default;
202
- }
203
- /**
204
- * Return the simple condition settings as part of the component.
205
- *
206
- * @return {Object}
207
- *
208
- */
209
- static get conditionOperatorsSettings() {
210
- return {
211
- operators: ['isEqual', 'isNotEqual', 'isEmpty', 'isNotEmpty'],
212
- valueComponent() {
213
- return { type: 'textfield' };
214
- }
215
- };
216
- }
217
- /**
218
- * Return the array of possible types of component value absed on its schema.
219
- *
220
- * @param schema
221
- * @return {Array}
222
- *
223
- */
224
- static savedValueTypes(schema) {
225
- schema = schema || {};
226
- return FormioUtils.getComponentSavedTypes(schema) || [FormioUtils.componentValueTypes.any];
227
- }
228
- /**
229
- * Provides a table view for this component. Override if you wish to do something different than using getView
230
- * method of your instance.
231
- *
232
- * @param value
233
- * @param options
234
- */
235
- /* eslint-disable no-unused-vars */
236
- static tableView(value, options) { }
237
- /* eslint-enable no-unused-vars */
238
- /**
239
- * Initialize a new Component.
240
- *
241
- * @param {Object} component - The component JSON you wish to initialize.
242
- * @param {Object} options - The options for this component.
243
- * @param {Object} data - The global data submission object this component will belong.
244
- */
245
- /* eslint-disable max-statements */
246
- constructor(component, options, data) {
247
- super(Object.assign({
248
- renderMode: 'form',
249
- attachMode: 'full',
250
- noDefaults: false
251
- }, options || {}));
252
- // Restore the component id.
253
- if (component && component.id) {
254
- this.id = component.id;
255
- }
256
- /**
257
- * Determines if this component has a condition assigned to it.
258
- * @type {null}
259
- * @private
260
- */
261
- this._hasCondition = null;
262
- /**
263
- * References to dom elements
264
- */
265
- this.refs = {};
266
- // Allow global override for any component JSON.
267
- if (component &&
268
- this.options.components &&
269
- this.options.components[component.type]) {
270
- lodash_1.default.merge(component, this.options.components[component.type]);
271
- }
272
- /**
273
- * Set the validator instance.
274
- */
275
- this.validator = Validator_1.default;
276
- /**
277
- * The data path to this specific component instance.
278
- *
279
- * @type {string}
280
- */
281
- this.path = '';
282
- /**
283
- * The Form.io component JSON schema.
284
- * @type {*}
285
- */
286
- this.component = this.mergeSchema(component || {});
287
- // Add the id to the component.
288
- this.component.id = this.id;
289
- this.afterComponentAssign();
290
- // Save off the original component to be used in logic.
291
- this.originalComponent = (0, utils_1.fastCloneDeep)(this.component);
292
- /**
293
- * If the component has been attached
294
- */
295
- this.attached = false;
296
- /**
297
- * If the component has been rendered
298
- */
299
- this.rendered = false;
300
- /**
301
- * The data object in which this component resides.
302
- * @type {*}
303
- */
304
- this._data = data || {};
305
- /**
306
- * The existing error that this component has.
307
- * @type {string}
308
- */
309
- this.error = '';
310
- /**
311
- * Tool tip text after processing
312
- * @type {string}
313
- */
314
- this.tooltip = '';
315
- /**
316
- * The row path of this component.
317
- * @type {number}
318
- */
319
- this.row = this.options.row;
320
- /**
321
- * Determines if this component is disabled, or not.
322
- *
323
- * @type {boolean}
324
- */
325
- this._disabled = (0, utils_1.boolValue)(this.component.disabled) ? this.component.disabled : false;
326
- /**
327
- * Points to the root component, usually the FormComponent.
328
- *
329
- * @type {Component}
330
- */
331
- this.root = this.options.root;
332
- this.localRoot = this.options.localRoot;
333
- /**
334
- * If this input has been input and provided value.
335
- *
336
- * @type {boolean}
337
- */
338
- this.pristine = true;
339
- /**
340
- * Points to the parent component.
341
- *
342
- * @type {Component}
343
- */
344
- this.parent = this.options.parent;
345
- this.options.name = this.options.name || 'data';
346
- /**
347
- * The validators that are assigned to this component.
348
- * @type {[string]}
349
- */
350
- this.validators = ['required', 'minLength', 'maxLength', 'minWords', 'maxWords', 'custom', 'pattern', 'json', 'mask'];
351
- this._path = '';
352
- // Nested forms don't have parents so we need to pass their path in.
353
- this._parentPath = this.options.parentPath || '';
354
- // Needs for Nextgen Rules Engine
355
- this.resetCaches();
356
- /**
357
- * Determines if this component is visible, or not.
358
- */
359
- this._parentVisible = this.options.hasOwnProperty('parentVisible') ? this.options.parentVisible : true;
360
- this._visible = this._parentVisible && this.conditionallyVisible(null, data);
361
- this._parentDisabled = false;
362
- /**
363
- * Used to trigger a new change in this component.
364
- * @type {function} - Call to trigger a change in this component.
365
- */
366
- let changes = [];
367
- let lastChanged = null;
368
- let triggerArgs = [];
369
- const _triggerChange = lodash_1.default.debounce((...args) => {
370
- if (this.root) {
371
- this.root.changing = false;
372
- }
373
- triggerArgs = [];
374
- if (!args[1] && lastChanged) {
375
- // Set the changed component if one isn't provided.
376
- args[1] = lastChanged;
377
- }
378
- if (lodash_1.default.isEmpty(args[0]) && lastChanged) {
379
- // Set the flags if it is empty and lastChanged exists.
380
- args[0] = lastChanged.flags;
381
- }
382
- lastChanged = null;
383
- args[3] = changes;
384
- const retVal = this.onChange(...args);
385
- changes = [];
386
- return retVal;
387
- }, 100);
388
- this.triggerChange = (...args) => {
389
- if (args[1]) {
390
- // Make sure that during the debounce that we always track lastChanged component, even if they
391
- // don't provide one later.
392
- lastChanged = args[1];
393
- changes.push(lastChanged);
394
- }
395
- if (this.root) {
396
- this.root.changing = true;
397
- }
398
- if (args.length) {
399
- triggerArgs = args;
400
- }
401
- return _triggerChange(...triggerArgs);
402
- };
403
- /**
404
- * Used to trigger a redraw event within this component.
405
- *
406
- * @type {Function}
407
- */
408
- this.triggerRedraw = lodash_1.default.debounce(this.redraw.bind(this), 100);
409
- /**
410
- * list of attached tooltips
411
- * @type {Array}
412
- */
413
- this.tooltips = [];
414
- /**
415
- * List of attached addons
416
- * @type {Array}
417
- */
418
- this.addons = [];
419
- // To force this component to be invalid.
420
- this.invalid = false;
421
- if (this.component) {
422
- this.type = this.component.type;
423
- if (this.allowData && this.key) {
424
- this.options.name += `[${this.key}]`;
425
- // If component is visible or not set to clear on hide, set the default value.
426
- if (this.visible || !this.component.clearOnHide) {
427
- if (!this.hasValue()) {
428
- if (this.shouldAddDefaultValue) {
429
- this.dataValue = this.defaultValue;
430
- }
431
- }
432
- else {
433
- // Ensure the dataValue is set.
434
- /* eslint-disable no-self-assign */
435
- this.dataValue = this.dataValue;
436
- /* eslint-enable no-self-assign */
437
- }
438
- }
439
- }
440
- /**
441
- * The element information for creating the input element.
442
- * @type {*}
443
- */
444
- this.info = this.elementInfo();
445
- }
446
- // Allow anyone to hook into the component creation.
447
- this.hook('component');
448
- if (!this.options.skipInit) {
449
- this.init();
450
- }
451
- }
452
- /* eslint-enable max-statements */
453
- get data() {
454
- return this._data;
455
- }
456
- set data(value) {
457
- this._data = value;
458
- }
459
- mergeSchema(component = {}) {
460
- return lodash_1.default.defaultsDeep(component, this.defaultSchema);
461
- }
462
- // Allow componets to notify when ready.
463
- get ready() {
464
- return Promise.resolve(this);
465
- }
466
- get isPDFReadOnlyMode() {
467
- return this.parent &&
468
- this.parent.form &&
469
- (this.parent.form.display === 'pdf') &&
470
- this.options.readOnly;
471
- }
472
- get labelInfo() {
473
- const label = {};
474
- label.hidden = this.labelIsHidden();
475
- label.className = '';
476
- label.labelPosition = this.component.labelPosition;
477
- label.tooltipClass = `${this.iconClass('question-sign')} text-muted`;
478
- const isPDFReadOnlyMode = this.isPDFReadOnlyMode;
479
- if (this.hasInput && this.component.validate && (0, utils_1.boolValue)(this.component.validate.required) && !isPDFReadOnlyMode) {
480
- label.className += ' field-required';
481
- }
482
- if (label.hidden) {
483
- label.className += ' control-label--hidden';
484
- }
485
- if (this.info.attr.id) {
486
- label.for = this.info.attr.id;
487
- }
488
- return label;
489
- }
490
- init() {
491
- var _a;
492
- this.disabled = this.shouldDisabled;
493
- this._visible = this.conditionallyVisible(null, null);
494
- if ((_a = this.component.addons) === null || _a === void 0 ? void 0 : _a.length) {
495
- this.component.addons.forEach((addon) => this.createAddon(addon));
496
- }
497
- }
498
- afterComponentAssign() {
499
- //implement in extended classes
500
- }
501
- createAddon(addonConfiguration) {
502
- var _a;
503
- const name = addonConfiguration.name;
504
- if (!name) {
505
- return;
506
- }
507
- const settings = ((_a = addonConfiguration.settings) === null || _a === void 0 ? void 0 : _a.data) || {};
508
- const Addon = addons_1.default[name.value];
509
- let addon = null;
510
- if (Addon) {
511
- const supportedComponents = Addon.info.supportedComponents;
512
- const supportsThisComponentType = !(supportedComponents === null || supportedComponents === void 0 ? void 0 : supportedComponents.length) ||
513
- supportedComponents.indexOf(this.component.type) !== -1;
514
- if (supportsThisComponentType) {
515
- addon = new Addon(settings, this);
516
- this.addons.push(addon);
517
- }
518
- else {
519
- console.warn(`Addon ${name.label} does not support component of type ${this.component.type}.`);
520
- }
521
- }
522
- return addon;
523
- }
524
- teardown() {
525
- if (this.element) {
526
- delete this.element.component;
527
- delete this.element;
528
- }
529
- delete this._currentForm;
530
- delete this.parent;
531
- delete this.root;
532
- delete this.triggerChange;
533
- delete this.triggerRedraw;
534
- if (this.options) {
535
- delete this.options.root;
536
- delete this.options.parent;
537
- delete this.options.i18next;
538
- }
539
- super.teardown();
540
- }
541
- destroy(all = false) {
542
- super.destroy(all);
543
- this.detach();
544
- this.addons.forEach((addon) => addon.destroy());
545
- if (all) {
546
- this.teardown();
547
- }
548
- }
549
- get shouldDisabled() {
550
- return this.options.readOnly || this.component.disabled || (this.options.hasOwnProperty('disabled') && this.options.disabled[this.key]);
551
- }
552
- get isInputComponent() {
553
- return !this.component.hasOwnProperty('input') || this.component.input;
554
- }
555
- get allowData() {
556
- return this.hasInput;
557
- }
558
- get hasInput() {
559
- return this.isInputComponent || (this.refs.input && this.refs.input.length);
560
- }
561
- get defaultSchema() {
562
- return Component.schema();
563
- }
564
- get key() {
565
- return lodash_1.default.get(this.component, 'key', '');
566
- }
567
- set parentVisible(value) {
568
- this._parentVisible = value;
569
- }
570
- get parentVisible() {
571
- return this._parentVisible;
572
- }
573
- set parentDisabled(value) {
574
- this._parentDisabled = value;
575
- }
576
- get parentDisabled() {
577
- return this._parentDisabled;
578
- }
579
- shouldForceVisibility(component, visibility) {
580
- if (!this.options[visibility]) {
581
- return false;
582
- }
583
- if (!component) {
584
- component = this.component;
585
- }
586
- if (lodash_1.default.isArray(this.options[visibility])) {
587
- return this.options[visibility].includes(component.key);
588
- }
589
- return this.options[visibility][component.key];
590
- }
591
- shouldForceHide(component) {
592
- return this.shouldForceVisibility(component, 'hide');
593
- }
594
- shouldForceShow(component) {
595
- return this.shouldForceVisibility(component, 'show');
596
- }
597
- /**
598
- *
599
- * @param value {boolean}
600
- */
601
- set visible(value) {
602
- if (this._visible !== value) {
603
- // Skip if this component is set to visible and is supposed to be hidden.
604
- if (value && this.shouldForceHide()) {
605
- return;
606
- }
607
- // Skip if this component is set to hidden and is supposed to be shown.
608
- if (!value && this.shouldForceShow()) {
609
- return;
610
- }
611
- this._visible = value;
612
- this.clearOnHide();
613
- this.redraw();
614
- }
615
- }
616
- /**
617
- *
618
- * @returns {boolean}
619
- */
620
- get visible() {
621
- // Show only if visibility changes or if we are in builder mode or if hidden fields should be shown.
622
- if (this.builderMode || this.previewMode || this.options.showHiddenFields) {
623
- return true;
624
- }
625
- if (this.shouldForceHide()) {
626
- return false;
627
- }
628
- if (this.shouldForceShow()) {
629
- return true;
630
- }
631
- return this._visible && this._parentVisible;
632
- }
633
- get currentForm() {
634
- return this._currentForm;
635
- }
636
- set currentForm(instance) {
637
- this._currentForm = instance;
638
- }
639
- get fullMode() {
640
- return this.options.attachMode === 'full';
641
- }
642
- get builderMode() {
643
- return this.options.attachMode === 'builder';
644
- }
645
- get calculatedPath() {
646
- console.error('component.calculatedPath was deprecated, use component.path instead.');
647
- return this.path;
648
- }
649
- get labelPosition() {
650
- return this.component.labelPosition;
651
- }
652
- get labelWidth() {
653
- const width = this.component.labelWidth;
654
- return width >= 0 ? width : 30;
655
- }
656
- get labelMargin() {
657
- const margin = this.component.labelMargin;
658
- return margin >= 0 ? margin : 3;
659
- }
660
- get isAdvancedLabel() {
661
- return [
662
- 'left-left',
663
- 'left-right',
664
- 'right-left',
665
- 'right-right'
666
- ].includes(this.labelPosition);
667
- }
668
- get labelPositions() {
669
- return this.labelPosition.split('-');
670
- }
671
- get skipInEmail() {
672
- return false;
673
- }
674
- rightDirection(direction) {
675
- if (this.options.condensedMode) {
676
- return false;
677
- }
678
- return direction === 'right';
679
- }
680
- getLabelInfo(isCondensed = false) {
681
- const isRightPosition = this.rightDirection(this.labelPositions[0]);
682
- const isLeftPosition = this.labelPositions[0] === 'left' || isCondensed;
683
- const isRightAlign = this.rightDirection(this.labelPositions[1]);
684
- let contentMargin = '';
685
- if (this.component.hideLabel) {
686
- const margin = this.labelWidth + this.labelMargin;
687
- contentMargin = isRightPosition ? `margin-right: ${margin}%` : '';
688
- contentMargin = isLeftPosition ? `margin-left: ${margin}%` : '';
689
- }
690
- const labelStyles = `
691
- flex: ${this.labelWidth};
692
- ${isRightPosition ? 'margin-left' : 'margin-right'}: ${this.labelMargin}%;
693
- `;
694
- const contentStyles = `
695
- flex: ${100 - this.labelWidth - this.labelMargin};
696
- ${contentMargin};
697
- ${this.component.hideLabel ? `max-width: ${100 - this.labelWidth - this.labelMargin}` : ''};
698
- `;
699
- return {
700
- isRightPosition,
701
- isRightAlign,
702
- labelStyles,
703
- contentStyles
704
- };
705
- }
706
- /**
707
- * Returns only the schema that is different from the default.
708
- *
709
- * @param schema
710
- * @param defaultSchema
711
- */
712
- getModifiedSchema(schema, defaultSchema, recursion) {
713
- const modified = {};
714
- if (!defaultSchema) {
715
- return schema;
716
- }
717
- lodash_1.default.each(schema, (val, key) => {
718
- if (!lodash_1.default.isArray(val) && lodash_1.default.isObject(val) && defaultSchema.hasOwnProperty(key)) {
719
- const subModified = this.getModifiedSchema(val, defaultSchema[key], true);
720
- if (!lodash_1.default.isEmpty(subModified)) {
721
- modified[key] = subModified;
722
- }
723
- }
724
- else if (lodash_1.default.isArray(val)) {
725
- if (val.length !== 0 && !lodash_1.default.isEqual(val, defaultSchema[key])) {
726
- modified[key] = val;
727
- }
728
- }
729
- else if ((!recursion && (key === 'type')) ||
730
- (!recursion && (key === 'key')) ||
731
- (!recursion && (key === 'label')) ||
732
- (!recursion && (key === 'input')) ||
733
- (!recursion && (key === 'tableView')) ||
734
- (val !== '' && !defaultSchema.hasOwnProperty(key)) ||
735
- (val !== '' && val !== defaultSchema[key]) ||
736
- (defaultSchema[key] && val !== defaultSchema[key])) {
737
- modified[key] = val;
738
- }
739
- });
740
- return modified;
741
- }
742
- /**
743
- * Returns the JSON schema for this component.
744
- */
745
- get schema() {
746
- return (0, utils_1.fastCloneDeep)(this.getModifiedSchema(lodash_1.default.omit(this.component, 'id'), this.defaultSchema));
747
- }
748
- /**
749
- * Returns true if component is inside DataGrid
750
- */
751
- get isInDataGrid() {
752
- return this.inDataGrid;
753
- }
754
- /**
755
- * Translate a text using the i18n system.
756
- *
757
- * @param {string} text - The i18n identifier.
758
- * @param {Object} params - The i18n parameters to use for translation.
759
- */
760
- t(text, params = {}, ...args) {
761
- if (!text) {
762
- return '';
763
- }
764
- // Use _userInput: true to ignore translations from defaults
765
- if (text in en_1.default && params._userInput) {
766
- return text;
767
- }
768
- params.data = this.rootValue;
769
- params.row = this.data;
770
- params.component = this.component;
771
- return super.t(text, params, ...args);
772
- }
773
- labelIsHidden() {
774
- return !this.component.label ||
775
- ((!this.isInDataGrid && this.component.hideLabel) ||
776
- (this.isInDataGrid && !this.component.dataGridLabel) ||
777
- this.options.inputsOnly) && !this.builderMode;
778
- }
779
- transform(type, value) {
780
- const frameworkTemplates = this.options.template ? Templates_1.default.templates[this.options.template] : Templates_1.default.current;
781
- return frameworkTemplates.hasOwnProperty('transform')
782
- ? frameworkTemplates.transform(type, value, this)
783
- : (type, value) => value;
784
- }
785
- getTemplate(names, modes) {
786
- modes = Array.isArray(modes) ? modes : [modes];
787
- names = Array.isArray(names) ? names : [names];
788
- if (!modes.includes('form')) {
789
- modes.push('form');
790
- }
791
- let result = null;
792
- if (this.options.templates) {
793
- result = this.checkTemplate(this.options.templates, names, modes);
794
- if (result) {
795
- return result;
796
- }
797
- }
798
- const frameworkTemplates = this.options.template ? Templates_1.default.templates[this.options.template] : Templates_1.default.current;
799
- result = this.checkTemplate(frameworkTemplates, names, modes);
800
- if (result) {
801
- return result;
802
- }
803
- // Default back to bootstrap if not defined.
804
- const name = names[names.length - 1];
805
- const templatesByName = Templates_1.default.defaultTemplates[name];
806
- if (!templatesByName) {
807
- return `Unknown template: ${name}`;
808
- }
809
- const templateByMode = this.checkTemplateMode(templatesByName, modes);
810
- if (templateByMode) {
811
- return templateByMode;
812
- }
813
- return templatesByName.form;
814
- }
815
- checkTemplate(templates, names, modes) {
816
- for (const name of names) {
817
- const templatesByName = templates[name];
818
- if (templatesByName) {
819
- const templateByMode = this.checkTemplateMode(templatesByName, modes);
820
- if (templateByMode) {
821
- return templateByMode;
822
- }
823
- }
824
- }
825
- return null;
826
- }
827
- checkTemplateMode(templatesByName, modes) {
828
- for (const mode of modes) {
829
- const templateByMode = templatesByName[mode];
830
- if (templateByMode) {
831
- return templateByMode;
832
- }
833
- }
834
- return null;
835
- }
836
- getFormattedAttribute(attr) {
837
- return attr ? this.t(attr, { _userInput: true }).replace(/"/g, '"') : '';
838
- }
839
- getFormattedTooltip(tooltipValue) {
840
- const tooltip = this.interpolate(tooltipValue || '').replace(/(?:\r\n|\r|\n)/g, '<br />');
841
- return this.getFormattedAttribute(tooltip);
842
- }
843
- isHtmlRenderMode() {
844
- return this.options.renderMode === 'html';
845
- }
846
- renderTemplate(name, data = {}, modeOption) {
847
- // Need to make this fall back to form if renderMode is not found similar to how we search templates.
848
- const mode = modeOption || this.options.renderMode || 'form';
849
- data.component = this.component;
850
- data.self = this;
851
- data.options = this.options;
852
- data.readOnly = this.options.readOnly;
853
- data.iconClass = this.iconClass.bind(this);
854
- data.size = this.size.bind(this);
855
- data.t = this.t.bind(this);
856
- data.transform = this.transform.bind(this);
857
- data.id = data.id || this.id;
858
- data.key = data.key || this.key;
859
- data.value = data.value || this.dataValue;
860
- data.disabled = this.disabled;
861
- data.builder = this.builderMode;
862
- data.render = (...args) => {
863
- console.warn(`Form.io 'render' template function is deprecated.
864
- If you need to render template (template A) inside of another template (template B),
865
- pass pre-compiled template A (use this.renderTemplate('template_A_name') as template context variable for template B`);
866
- return this.renderTemplate(...args);
867
- };
868
- data.label = data.labelInfo || this.labelInfo;
869
- data.tooltip = this.getFormattedTooltip(this.component.tooltip);
870
- // Allow more specific template names
871
- const names = [
872
- `${name}-${this.component.type}-${this.key}`,
873
- `${name}-${this.component.type}`,
874
- `${name}-${this.key}`,
875
- `${name}`,
876
- ];
877
- // Allow template alters.
878
- return this.hook(`render${name.charAt(0).toUpperCase() + name.substring(1, name.length)}`, this.interpolate(this.getTemplate(names, mode), data), data, mode);
879
- }
880
- /**
881
- * Sanitize an html string.
882
- *
883
- * @param string
884
- * @returns {*}
885
- */
886
- sanitize(dirty, forceSanitize, options) {
887
- var _a;
888
- // No need to sanitize when generating PDF'S since no users interact with the form.
889
- if ((!this.shouldSanitizeValue && !forceSanitize) || ((this.options.pdf) && !forceSanitize)) {
890
- return dirty;
891
- }
892
- return FormioUtils.sanitize(dirty, {
893
- sanitizeConfig: lodash_1.default.merge(((_a = this.options) === null || _a === void 0 ? void 0 : _a.sanitizeConfig) || {}, options || {}),
894
- });
895
- }
896
- /**
897
- * Render a template string into html.
898
- *
899
- * @param template
900
- * @param data
901
- * @param actions
902
- *
903
- * @return {HTMLElement|String} - The created element or an empty string if template is not specified.
904
- */
905
- renderString(template, data) {
906
- if (!template) {
907
- return '';
908
- }
909
- // Interpolate the template and populate
910
- return this.interpolate(template, data);
911
- }
912
- performInputMapping(input) {
913
- return input;
914
- }
915
- get widget() {
916
- var _a;
917
- const settings = this.component.widget;
918
- if (settings && ((_a = this.root) === null || _a === void 0 ? void 0 : _a.shadowRoot)) {
919
- settings.shadowRoot = this.root.shadowRoot;
920
- }
921
- const widget = settings && widgets_1.default[settings.type] ? new widgets_1.default[settings.type](settings, this.component, this) : null;
922
- return widget;
923
- }
924
- getBrowserLanguage() {
925
- const nav = window.navigator;
926
- const browserLanguagePropertyKeys = ['language', 'browserLanguage', 'systemLanguage', 'userLanguage'];
927
- let language;
928
- // support for HTML 5.1 "navigator.languages"
929
- if (Array.isArray(nav.languages)) {
930
- for (let i = 0; i < nav.languages.length; i++) {
931
- language = nav.languages[i];
932
- if (language && language.length) {
933
- return language.split(';')[0];
934
- }
935
- }
936
- }
937
- // support for other well known properties in browsers
938
- for (let i = 0; i < browserLanguagePropertyKeys.length; i++) {
939
- language = nav[browserLanguagePropertyKeys[i]];
940
- if (language && language.length) {
941
- return language.split(';')[0];
942
- }
943
- }
944
- return null;
945
- }
946
- /**
947
- * Called before a next and previous page is triggered allowing the components
948
- * to perform special functions.
949
- *
950
- * @return {*}
951
- */
952
- beforePage() {
953
- return Promise.resolve(true);
954
- }
955
- beforeNext() {
956
- return this.beforePage(true);
957
- }
958
- /**
959
- * Called before a submission is triggered allowing the components
960
- * to perform special async functions.
961
- *
962
- * @return {*}
963
- */
964
- beforeSubmit() {
965
- return Promise.resolve(true);
966
- }
967
- /**
968
- * Return the submission timezone.
969
- *
970
- * @return {*}
971
- */
972
- get submissionTimezone() {
973
- this.options.submissionTimezone = this.options.submissionTimezone || lodash_1.default.get(this.root, 'options.submissionTimezone');
974
- return this.options.submissionTimezone;
975
- }
976
- get timezone() {
977
- return this.getTimezone(this.component);
978
- }
979
- getTimezone(settings) {
980
- if (settings.timezone) {
981
- return settings.timezone;
982
- }
983
- if (settings.displayInTimezone === 'utc') {
984
- return 'UTC';
985
- }
986
- const submissionTimezone = this.submissionTimezone;
987
- if (submissionTimezone &&
988
- ((settings.displayInTimezone === 'submission') ||
989
- ((this.options.pdf || this.options.server) && (settings.displayInTimezone === 'viewer')))) {
990
- return submissionTimezone;
991
- }
992
- // Return current timezone if none are provided.
993
- return (0, utils_1.currentTimezone)();
994
- }
995
- loadRefs(element, refs) {
996
- for (const ref in refs) {
997
- const refType = refs[ref];
998
- const isString = typeof refType === 'string';
999
- const selector = isString && refType.includes('scope') ? `:scope > [ref="${ref}"]` : `[ref="${ref}"]`;
1000
- if (isString && refType.startsWith('single')) {
1001
- this.refs[ref] = element.querySelector(selector);
1002
- }
1003
- else {
1004
- this.refs[ref] = element.querySelectorAll(selector);
1005
- }
1006
- }
1007
- }
1008
- setOpenModalElement(template) {
1009
- this.componentModal.setOpenModalElement(template || this.getModalPreviewTemplate());
1010
- }
1011
- getModalPreviewTemplate() {
1012
- var _a;
1013
- const dataValue = this.component.type === 'password' ? this.dataValue.replace(/./g, '•') : this.dataValue;
1014
- const message = this.error ? {
1015
- level: 'error',
1016
- message: this.error.message,
1017
- } : '';
1018
- let modalLabel;
1019
- if (this.hasInput && ((_a = this.component.validate) === null || _a === void 0 ? void 0 : _a.required) && !this.isPDFReadOnlyMode) {
1020
- modalLabel = { className: 'field-required' };
1021
- }
1022
- return this.renderTemplate('modalPreview', {
1023
- previewText: this.getValueAsString(dataValue, { modalPreview: true }) || this.t('Click to set value'),
1024
- messages: message && this.renderTemplate('message', message),
1025
- labelInfo: modalLabel,
1026
- });
1027
- }
1028
- build(element) {
1029
- element = element || this.element;
1030
- this.empty(element);
1031
- this.setContent(element, this.render());
1032
- return this.attach(element);
1033
- }
1034
- get hasModalSaveButton() {
1035
- return true;
1036
- }
1037
- render(children = `Unknown component: ${this.component.type}`, topLevel = false) {
1038
- const isVisible = this.visible;
1039
- this.rendered = true;
1040
- if (!this.builderMode && !this.previewMode && this.component.modalEdit) {
1041
- return ComponentModal_1.default.render(this, {
1042
- visible: isVisible,
1043
- showSaveButton: this.hasModalSaveButton,
1044
- id: this.id,
1045
- classes: this.className,
1046
- styles: this.customStyle,
1047
- children
1048
- }, topLevel);
1049
- }
1050
- else {
1051
- return this.renderTemplate('component', {
1052
- visible: isVisible,
1053
- id: this.id,
1054
- classes: this.className,
1055
- styles: this.customStyle,
1056
- children
1057
- }, topLevel);
1058
- }
1059
- }
1060
- attachTooltips(toolTipsRefs) {
1061
- toolTipsRefs === null || toolTipsRefs === void 0 ? void 0 : toolTipsRefs.forEach((tooltip, index) => {
1062
- if (tooltip) {
1063
- const tooltipAttribute = tooltip.getAttribute('data-tooltip');
1064
- const tooltipDataTitle = tooltip.getAttribute('data-title');
1065
- const tooltipText = this.interpolate(tooltipDataTitle || tooltipAttribute)
1066
- .replace(/(?:\r\n|\r|\n)/g, '<br />');
1067
- this.tooltips[index] = (0, tippy_js_1.default)(tooltip, {
1068
- allowHTML: true,
1069
- trigger: 'mouseenter click focus',
1070
- placement: 'right',
1071
- zIndex: 10000,
1072
- interactive: true,
1073
- content: this.t(tooltipText, { _userInput: true }),
1074
- });
1075
- }
1076
- });
1077
- }
1078
- createComponentModal(element, modalShouldBeOpened, currentValue) {
1079
- return new ComponentModal_1.default(this, element, modalShouldBeOpened, currentValue);
1080
- }
1081
- attach(element) {
1082
- if (!this.builderMode && !this.previewMode && this.component.modalEdit) {
1083
- const modalShouldBeOpened = this.componentModal ? this.componentModal.isOpened : false;
1084
- const currentValue = modalShouldBeOpened ? this.componentModal.currentValue : this.dataValue;
1085
- const openModalTemplate = this.componentModal && modalShouldBeOpened
1086
- ? this.componentModal.openModalTemplate
1087
- : null;
1088
- this.componentModal = this.createComponentModal(element, modalShouldBeOpened, currentValue);
1089
- this.setOpenModalElement(openModalTemplate);
1090
- }
1091
- this.attached = true;
1092
- this.setElement(element);
1093
- element.component = this;
1094
- // If this already has an id, get it from the dom. If SSR, it could be different from the initiated id.
1095
- if (this.element.id) {
1096
- this.id = this.element.id;
1097
- this.component.id = this.id;
1098
- }
1099
- this.loadRefs(element, {
1100
- messageContainer: 'single',
1101
- tooltip: 'multiple'
1102
- });
1103
- this.attachTooltips(this.refs.tooltip);
1104
- // Attach logic.
1105
- this.attachLogic();
1106
- this.autofocus();
1107
- // Allow global attach.
1108
- this.hook('attachComponent', element, this);
1109
- // Allow attach per component type.
1110
- const type = this.component.type;
1111
- if (type) {
1112
- this.hook(`attach${type.charAt(0).toUpperCase() + type.substring(1, type.length)}`, element, this);
1113
- }
1114
- this.restoreFocus();
1115
- this.addons.forEach((addon) => addon.attach(element));
1116
- return Promise.resolve();
1117
- }
1118
- restoreFocus() {
1119
- var _a, _b, _c;
1120
- const isFocused = ((_b = (_a = this.root) === null || _a === void 0 ? void 0 : _a.focusedComponent) === null || _b === void 0 ? void 0 : _b.path) === this.path;
1121
- if (isFocused) {
1122
- this.loadRefs(this.element, { input: 'multiple' });
1123
- this.focus((_c = this.root.currentSelection) === null || _c === void 0 ? void 0 : _c.index);
1124
- this.restoreCaretPosition();
1125
- }
1126
- }
1127
- addShortcut(element, shortcut) {
1128
- // Avoid infinite recursion.
1129
- if (!element || !this.root || (this.root === this)) {
1130
- return;
1131
- }
1132
- if (!shortcut) {
1133
- shortcut = this.component.shortcut;
1134
- }
1135
- this.root.addShortcut(element, shortcut);
1136
- }
1137
- removeShortcut(element, shortcut) {
1138
- // Avoid infinite recursion.
1139
- if (!element || (this.root === this)) {
1140
- return;
1141
- }
1142
- if (!shortcut) {
1143
- shortcut = this.component.shortcut;
1144
- }
1145
- this.root.removeShortcut(element, shortcut);
1146
- }
1147
- /**
1148
- * Remove all event handlers.
1149
- */
1150
- detach() {
1151
- // First iterate through each ref and delete the component so there are no dangling component references.
1152
- lodash_1.default.each(this.refs, (ref) => {
1153
- if (typeof ref === NodeList) {
1154
- ref.forEach((elem) => {
1155
- delete elem.component;
1156
- });
1157
- }
1158
- else if (ref) {
1159
- delete ref.component;
1160
- }
1161
- });
1162
- this.refs = {};
1163
- this.removeEventListeners();
1164
- this.detachLogic();
1165
- if (this.tooltip) {
1166
- this.tooltip.destroy();
1167
- }
1168
- }
1169
- checkRefresh(refreshData, changed, flags) {
1170
- const changePath = lodash_1.default.get(changed, 'instance.path', false);
1171
- // Don't let components change themselves.
1172
- if (changePath && this.path === changePath) {
1173
- return;
1174
- }
1175
- if (refreshData === 'data') {
1176
- this.refresh(this.data, changed, flags);
1177
- }
1178
- else if ((changePath && (0, utils_1.getComponentPath)(changed.instance) === refreshData) && changed && changed.instance &&
1179
- // Make sure the changed component is not in a different "context". Solves issues where refreshOn being set
1180
- // in fields inside EditGrids could alter their state from other rows (which is bad).
1181
- this.inContext(changed.instance)) {
1182
- this.refresh(changed.value, changed, flags);
1183
- }
1184
- }
1185
- checkRefreshOn(changes, flags = {}) {
1186
- changes = changes || [];
1187
- if (flags.noRefresh) {
1188
- return;
1189
- }
1190
- if (!changes.length && flags.changed) {
1191
- changes = [flags.changed];
1192
- }
1193
- const refreshOn = flags.fromBlur ? this.component.refreshOnBlur : this.component.refreshOn || this.component.redrawOn;
1194
- // If they wish to refresh on a value, then add that here.
1195
- if (refreshOn) {
1196
- if (Array.isArray(refreshOn)) {
1197
- refreshOn.forEach(refreshData => changes.forEach(changed => this.checkRefresh(refreshData, changed, flags)));
1198
- }
1199
- else {
1200
- changes.forEach(changed => this.checkRefresh(refreshOn, changed, flags));
1201
- }
1202
- }
1203
- }
1204
- /**
1205
- * Refreshes the component with a new value.
1206
- *
1207
- * @param value
1208
- */
1209
- refresh(value) {
1210
- if (this.hasOwnProperty('refreshOnValue')) {
1211
- this.refreshOnChanged = !lodash_1.default.isEqual(value, this.refreshOnValue);
1212
- }
1213
- else {
1214
- this.refreshOnChanged = true;
1215
- }
1216
- this.refreshOnValue = (0, utils_1.fastCloneDeep)(value);
1217
- if (this.refreshOnChanged) {
1218
- if (this.component.clearOnRefresh) {
1219
- this.setValue(null);
1220
- }
1221
- this.triggerRedraw();
1222
- }
1223
- }
1224
- /**
1225
- * Checks to see if a separate component is in the "context" of this component. This is determined by first checking
1226
- * if they share the same "data" object. It will then walk up the parent tree and compare its parents data objects
1227
- * with the components data and returns true if they are in the same context.
1228
- *
1229
- * Different rows of the same EditGrid, for example, are in different contexts.
1230
- *
1231
- * @param component
1232
- */
1233
- inContext(component) {
1234
- if (component.data === this.data) {
1235
- return true;
1236
- }
1237
- let parent = this.parent;
1238
- while (parent) {
1239
- if (parent.data === component.data) {
1240
- return true;
1241
- }
1242
- parent = parent.parent;
1243
- }
1244
- return false;
1245
- }
1246
- get viewOnly() {
1247
- return this.options.readOnly && this.options.viewAsHtml;
1248
- }
1249
- setElement(element) {
1250
- if (this.element) {
1251
- delete this.element.component;
1252
- delete this.element;
1253
- }
1254
- this.element = element;
1255
- }
1256
- createViewOnlyElement() {
1257
- this.setElement(this.ce('dl', {
1258
- id: this.id
1259
- }));
1260
- if (this.element) {
1261
- // Ensure you can get the component info from the element.
1262
- this.element.component = this;
1263
- }
1264
- return this.element;
1265
- }
1266
- get defaultViewOnlyValue() {
1267
- return '-';
1268
- }
1269
- /**
1270
- * Uses the widget to determine the output string.
1271
- *
1272
- * @param value
1273
- * @return {*}
1274
- */
1275
- getWidgetValueAsString(value, options) {
1276
- const noInputWidget = !this.refs.input || !this.refs.input[0] || !this.refs.input[0].widget;
1277
- if (!value || noInputWidget) {
1278
- if (!this.widget || !value) {
1279
- return value;
1280
- }
1281
- else {
1282
- return this.widget.getValueAsString(value);
1283
- }
1284
- }
1285
- if (Array.isArray(value)) {
1286
- const values = [];
1287
- value.forEach((val, index) => {
1288
- const widget = this.refs.input[index] && this.refs.input[index].widget;
1289
- if (widget) {
1290
- values.push(widget.getValueAsString(val, options));
1291
- }
1292
- });
1293
- return values;
1294
- }
1295
- const widget = this.refs.input[0].widget;
1296
- return widget.getValueAsString(value, options);
1297
- }
1298
- getValueAsString(value, options) {
1299
- if (!value) {
1300
- return '';
1301
- }
1302
- value = this.getWidgetValueAsString(value, options);
1303
- if (Array.isArray(value)) {
1304
- return value.join(', ');
1305
- }
1306
- if (lodash_1.default.isPlainObject(value)) {
1307
- return JSON.stringify(value);
1308
- }
1309
- if (value === null || value === undefined) {
1310
- return '';
1311
- }
1312
- const stringValue = value.toString();
1313
- return this.sanitize(stringValue);
1314
- }
1315
- getView(value, options) {
1316
- if (this.component.protected) {
1317
- return '--- PROTECTED ---';
1318
- }
1319
- return this.getValueAsString(value, options);
1320
- }
1321
- updateItems(...args) {
1322
- this.restoreValue();
1323
- this.onChange(...args);
1324
- }
1325
- /**
1326
- * @param {*} data
1327
- * @param {boolean} [forceUseValue=false] - if true, return 'value' property of the data
1328
- * @return {*}
1329
- */
1330
- itemValue(data, forceUseValue = false) {
1331
- if (lodash_1.default.isObject(data) && !lodash_1.default.isArray(data)) {
1332
- if (this.valueProperty) {
1333
- return lodash_1.default.get(data, this.valueProperty);
1334
- }
1335
- if (forceUseValue) {
1336
- return data.value;
1337
- }
1338
- }
1339
- return data;
1340
- }
1341
- itemValueForHTMLMode(value) {
1342
- if (Array.isArray(value)) {
1343
- const values = value.map(item => Array.isArray(item) ? this.itemValueForHTMLMode(item) : this.itemValue(item));
1344
- return values.join(', ');
1345
- }
1346
- return this.itemValue(value);
1347
- }
1348
- createModal(element, attr, confirm) {
1349
- const dialog = this.ce('div', attr || {});
1350
- this.setContent(dialog, this.renderTemplate('dialog'));
1351
- // Add refs to dialog, not "this".
1352
- dialog.refs = {};
1353
- this.loadRefs.call(dialog, dialog, {
1354
- dialogOverlay: 'single',
1355
- dialogContents: 'single',
1356
- dialogClose: 'single',
1357
- });
1358
- dialog.refs.dialogContents.appendChild(element);
1359
- document.body.appendChild(dialog);
1360
- document.body.classList.add('modal-open');
1361
- dialog.close = () => {
1362
- document.body.classList.remove('modal-open');
1363
- dialog.dispatchEvent(new CustomEvent('close'));
1364
- };
1365
- this.addEventListener(dialog, 'close', () => this.removeChildFrom(dialog, document.body));
1366
- const close = (event) => {
1367
- event.preventDefault();
1368
- dialog.close();
1369
- };
1370
- const handleCloseClick = (e) => {
1371
- if (confirm) {
1372
- confirm().then(() => close(e))
1373
- .catch(() => { });
1374
- }
1375
- else {
1376
- close(e);
1377
- }
1378
- };
1379
- this.addEventListener(dialog.refs.dialogOverlay, 'click', handleCloseClick);
1380
- this.addEventListener(dialog.refs.dialogClose, 'click', handleCloseClick);
1381
- return dialog;
1382
- }
1383
- get optimizeRedraw() {
1384
- if (this.options.optimizeRedraw && this.element && !this.visible) {
1385
- this.addClass(this.element, 'formio-removed');
1386
- return true;
1387
- }
1388
- return false;
1389
- }
1390
- /**
1391
- * Retrieves the CSS class name of this component.
1392
- * @returns {string} - The class name of this component.
1393
- */
1394
- get className() {
1395
- let className = this.hasInput ? `${this.transform('class', 'form-group')} has-feedback ` : '';
1396
- className += `formio-component formio-component-${this.component.type} `;
1397
- // TODO: find proper way to avoid overriding of default type-based component styles
1398
- if (this.key && this.key !== 'form') {
1399
- className += `formio-component-${this.key} `;
1400
- }
1401
- if (this.component.multiple) {
1402
- className += 'formio-component-multiple ';
1403
- }
1404
- if (this.component.customClass) {
1405
- className += this.component.customClass;
1406
- }
1407
- if (this.hasInput && this.component.validate && (0, utils_1.boolValue)(this.component.validate.required)) {
1408
- className += ' required';
1409
- }
1410
- if (this.labelIsHidden()) {
1411
- className += ' formio-component-label-hidden';
1412
- }
1413
- if (!this.visible) {
1414
- className += ' formio-hidden';
1415
- }
1416
- return className;
1417
- }
1418
- /**
1419
- * Build the custom style from the layout values
1420
- * @return {string} - The custom style
1421
- */
1422
- get customStyle() {
1423
- let customCSS = '';
1424
- lodash_1.default.each(this.component.style, (value, key) => {
1425
- if (value !== '') {
1426
- customCSS += `${key}:${value};`;
1427
- }
1428
- });
1429
- return customCSS;
1430
- }
1431
- static get serverConditionSettings() {
1432
- return Component.conditionOperatorsSettings;
1433
- }
1434
- get isMobile() {
1435
- return (0, ismobilejs_1.default)();
1436
- }
1437
- /**
1438
- * Returns the outside wrapping element of this component.
1439
- * @returns {HTMLElement}
1440
- */
1441
- getElement() {
1442
- return this.element;
1443
- }
1444
- /**
1445
- * Create an evaluation context for all script executions and interpolations.
1446
- *
1447
- * @param additional
1448
- * @return {*}
1449
- */
1450
- evalContext(additional) {
1451
- return super.evalContext(Object.assign({
1452
- component: this.component,
1453
- row: this.data,
1454
- rowIndex: this.rowIndex,
1455
- data: this.rootValue,
1456
- iconClass: this.iconClass.bind(this),
1457
- // Bind the translate function to the data context of any interpolated string.
1458
- // It is useful to translate strings in different scenarions (eg: custom edit grid templates, custom error messages etc.)
1459
- // and desirable to be publicly available rather than calling the internal {instance.t} function in the template string.
1460
- t: this.t.bind(this),
1461
- submission: (this.root ? this.root._submission : {
1462
- data: this.rootValue
1463
- }),
1464
- form: this.root ? this.root._form : {},
1465
- options: this.options,
1466
- }, additional));
1467
- }
1468
- /**
1469
- * Sets the pristine flag for this component.
1470
- *
1471
- * @param pristine {boolean} - TRUE to make pristine, FALSE not pristine.
1472
- */
1473
- setPristine(pristine) {
1474
- this.pristine = pristine;
1475
- }
1476
- get isPristine() {
1477
- return this.pristine;
1478
- }
1479
- setDirty(dirty) {
1480
- this.dirty = dirty;
1481
- }
1482
- get isDirty() {
1483
- return this.dirty;
1484
- }
1485
- /**
1486
- * Removes a value out of the data array and rebuild the rows.
1487
- * @param {number} index - The index of the data element to remove.
1488
- */
1489
- removeValue(index) {
1490
- this.splice(index);
1491
- this.redraw();
1492
- this.restoreValue();
1493
- this.triggerRootChange();
1494
- }
1495
- iconClass(name, spinning) {
1496
- const iconset = this.options.iconset || Templates_1.default.current.defaultIconset || 'fa';
1497
- return Templates_1.default.current.hasOwnProperty('iconClass')
1498
- ? Templates_1.default.current.iconClass(iconset, name, spinning)
1499
- : this.options.iconset === 'fa' ? Templates_1.default.defaultTemplates.iconClass(iconset, name, spinning) : name;
1500
- }
1501
- size(size) {
1502
- return Templates_1.default.current.hasOwnProperty('size')
1503
- ? Templates_1.default.current.size(size)
1504
- : size;
1505
- }
1506
- /**
1507
- * The readible name for this component.
1508
- * @returns {string} - The name of the component.
1509
- */
1510
- get name() {
1511
- return this.t(this.component.label || this.component.placeholder || this.key, { _userInput: true });
1512
- }
1513
- /**
1514
- * Returns the error label for this component.
1515
- * @return {*}
1516
- */
1517
- get errorLabel() {
1518
- return this.t(this.component.errorLabel
1519
- || this.component.label
1520
- || this.component.placeholder
1521
- || this.key);
1522
- }
1523
- /**
1524
- * Get the error message provided a certain type of error.
1525
- * @param type
1526
- * @return {*}
1527
- */
1528
- errorMessage(type) {
1529
- return (this.component.errors && this.component.errors[type]) ? this.component.errors[type] : type;
1530
- }
1531
- setContent(element, content, forceSanitize, sanitizeOptions) {
1532
- if (element instanceof HTMLElement) {
1533
- element.innerHTML = this.sanitize(content, forceSanitize, sanitizeOptions);
1534
- return true;
1535
- }
1536
- return false;
1537
- }
1538
- restoreCaretPosition() {
1539
- var _a, _b, _c;
1540
- if ((_a = this.root) === null || _a === void 0 ? void 0 : _a.currentSelection) {
1541
- if ((_b = this.refs.input) === null || _b === void 0 ? void 0 : _b.length) {
1542
- const { selection, index } = this.root.currentSelection;
1543
- let input = this.refs.input[index];
1544
- const isInputRangeSelectable = (i) => /text|search|password|tel|url/i.test((i === null || i === void 0 ? void 0 : i.type) || '');
1545
- if (input) {
1546
- if (isInputRangeSelectable(input)) {
1547
- input.setSelectionRange(...selection);
1548
- }
1549
- }
1550
- else {
1551
- input = this.refs.input[this.refs.input.length];
1552
- const lastCharacter = ((_c = input.value) === null || _c === void 0 ? void 0 : _c.length) || 0;
1553
- if (isInputRangeSelectable(input)) {
1554
- input.setSelectionRange(lastCharacter, lastCharacter);
1555
- }
1556
- }
1557
- }
1558
- }
1559
- }
1560
- redraw() {
1561
- // Don't bother if we have not built yet.
1562
- if (!this.element || !this.element.parentNode || this.optimizeRedraw) {
1563
- // Return a non-resolving promise.
1564
- return Promise.resolve();
1565
- }
1566
- this.detach();
1567
- this.emit('redraw');
1568
- // Since we are going to replace the element, we need to know it's position so we can find it in the parent's children.
1569
- const parent = this.element.parentNode;
1570
- const index = Array.prototype.indexOf.call(parent.children, this.element);
1571
- this.element.outerHTML = this.sanitize(this.render());
1572
- this.setElement(parent.children[index]);
1573
- return this.attach(this.element);
1574
- }
1575
- rebuild() {
1576
- this.destroy();
1577
- this.init();
1578
- this.visible = this.conditionallyVisible(null, null);
1579
- return this.redraw();
1580
- }
1581
- removeEventListeners() {
1582
- super.removeEventListeners();
1583
- this.tooltips.forEach(tooltip => tooltip.destroy());
1584
- this.tooltips = [];
1585
- }
1586
- hasClass(element, className) {
1587
- if (!element) {
1588
- return;
1589
- }
1590
- return super.hasClass(element, this.transform('class', className));
1591
- }
1592
- addClass(element, className) {
1593
- if (!element) {
1594
- return;
1595
- }
1596
- return super.addClass(element, this.transform('class', className));
1597
- }
1598
- removeClass(element, className) {
1599
- if (!element) {
1600
- return;
1601
- }
1602
- return super.removeClass(element, this.transform('class', className));
1603
- }
1604
- /**
1605
- * Determines if this component has a condition defined.
1606
- *
1607
- * @return {null}
1608
- */
1609
- hasCondition() {
1610
- if (this._hasCondition !== null) {
1611
- return this._hasCondition;
1612
- }
1613
- this._hasCondition = FormioUtils.hasCondition(this.component);
1614
- return this._hasCondition;
1615
- }
1616
- /**
1617
- * Check if this component is conditionally visible.
1618
- *
1619
- * @param data
1620
- * @return {boolean}
1621
- */
1622
- conditionallyVisible(data, row) {
1623
- data = data || this.rootValue;
1624
- row = row || this.data;
1625
- if (this.builderMode || this.previewMode || !this.hasCondition()) {
1626
- return !this.component.hidden;
1627
- }
1628
- data = data || (this.root ? this.root.data : {});
1629
- return this.checkCondition(row, data);
1630
- }
1631
- /**
1632
- * Checks the condition of this component.
1633
- *
1634
- * TODO: Switch row and data parameters to be consistent with other methods.
1635
- *
1636
- * @param row - The row contextual data.
1637
- * @param data - The global data object.
1638
- * @return {boolean} - True if the condition applies to this component.
1639
- */
1640
- checkCondition(row, data) {
1641
- return FormioUtils.checkCondition(this.component, row || this.data, data || this.rootValue, this.root ? this.root._form : {}, this);
1642
- }
1643
- /**
1644
- * Check for conditionals and hide/show the element based on those conditions.
1645
- */
1646
- checkComponentConditions(data, flags, row) {
1647
- data = data || this.rootValue;
1648
- flags = flags || {};
1649
- row = row || this.data;
1650
- if (!this.builderMode & !this.previewMode && this.fieldLogic(data, row)) {
1651
- this.redraw();
1652
- }
1653
- // Check advanced conditions
1654
- const visible = this.conditionallyVisible(data, row);
1655
- if (this.visible !== visible) {
1656
- this.visible = visible;
1657
- }
1658
- return visible;
1659
- }
1660
- /**
1661
- * Checks conditions for this component and any sub components.
1662
- * @param args
1663
- * @return {boolean}
1664
- */
1665
- checkConditions(data, flags, row) {
1666
- data = data || this.rootValue;
1667
- flags = flags || {};
1668
- row = row || this.data;
1669
- return this.checkComponentConditions(data, flags, row);
1670
- }
1671
- get logic() {
1672
- return this.component.logic || [];
1673
- }
1674
- /**
1675
- * Check all triggers and apply necessary actions.
1676
- *
1677
- * @param data
1678
- */
1679
- fieldLogic(data, row) {
1680
- data = data || this.rootValue;
1681
- row = row || this.data;
1682
- const logics = this.logic;
1683
- // If there aren't logic, don't go further.
1684
- if (logics.length === 0) {
1685
- return;
1686
- }
1687
- const newComponent = (0, utils_1.fastCloneDeep)(this.originalComponent);
1688
- let changed = logics.reduce((changed, logic) => {
1689
- const result = FormioUtils.checkTrigger(newComponent, logic.trigger, row, data, this.root ? this.root._form : {}, this);
1690
- return (result ? this.applyActions(newComponent, logic.actions, result, row, data) : false) || changed;
1691
- }, false);
1692
- // If component definition changed, replace and mark as changed.
1693
- if (!lodash_1.default.isEqual(this.component, newComponent)) {
1694
- this.component = newComponent;
1695
- changed = true;
1696
- const disabled = this.shouldDisabled;
1697
- // Change disabled state if it has changed
1698
- if (this.disabled !== disabled) {
1699
- this.disabled = disabled;
1700
- }
1701
- }
1702
- return changed;
1703
- }
1704
- isIE() {
1705
- if (typeof window === 'undefined') {
1706
- return false;
1707
- }
1708
- const userAgent = window.navigator.userAgent;
1709
- const msie = userAgent.indexOf('MSIE ');
1710
- if (msie > 0) {
1711
- // IE 10 or older => return version number
1712
- return parseInt(userAgent.substring(msie + 5, userAgent.indexOf('.', msie)), 10);
1713
- }
1714
- const trident = userAgent.indexOf('Trident/');
1715
- if (trident > 0) {
1716
- // IE 11 => return version number
1717
- const rv = userAgent.indexOf('rv:');
1718
- return parseInt(userAgent.substring(rv + 3, userAgent.indexOf('.', rv)), 10);
1719
- }
1720
- const edge = userAgent.indexOf('Edge/');
1721
- if (edge > 0) {
1722
- // IE 12 (aka Edge) => return version number
1723
- return parseInt(userAgent.substring(edge + 5, userAgent.indexOf('.', edge)), 10);
1724
- }
1725
- // other browser
1726
- return false;
1727
- }
1728
- defineActionValue(action, argsObject) {
1729
- return this.evaluate(action.value, argsObject, 'value');
1730
- }
1731
- applyActions(newComponent, actions, result, row, data) {
1732
- data = data || this.rootValue;
1733
- row = row || this.data;
1734
- return actions.reduce((changed, action) => {
1735
- switch (action.type) {
1736
- case 'property': {
1737
- FormioUtils.setActionProperty(newComponent, action, result, row, data, this);
1738
- const property = action.property.value;
1739
- if (!lodash_1.default.isEqual(lodash_1.default.get(this.component, property), lodash_1.default.get(newComponent, property))) {
1740
- changed = true;
1741
- }
1742
- break;
1743
- }
1744
- case 'value': {
1745
- const oldValue = this.getValue();
1746
- const newValue = this.defineActionValue(action, {
1747
- value: lodash_1.default.clone(oldValue),
1748
- data,
1749
- row,
1750
- component: newComponent,
1751
- result,
1752
- });
1753
- if (!lodash_1.default.isEqual(oldValue, newValue) && !(this.component.clearOnHide && !this.visible)) {
1754
- this.setValue(newValue);
1755
- if (this.viewOnly) {
1756
- this.dataValue = newValue;
1757
- }
1758
- changed = true;
1759
- }
1760
- break;
1761
- }
1762
- case 'mergeComponentSchema': {
1763
- const schema = this.evaluate(action.schemaDefinition, {
1764
- value: lodash_1.default.clone(this.getValue()),
1765
- data,
1766
- row,
1767
- component: newComponent,
1768
- result,
1769
- }, 'schema');
1770
- lodash_1.default.assign(newComponent, schema);
1771
- if (!lodash_1.default.isEqual(this.component, newComponent)) {
1772
- changed = true;
1773
- }
1774
- break;
1775
- }
1776
- case 'customAction': {
1777
- const oldValue = this.getValue();
1778
- const newValue = this.evaluate(action.customAction, {
1779
- value: lodash_1.default.clone(oldValue),
1780
- data,
1781
- row,
1782
- input: oldValue,
1783
- component: newComponent,
1784
- result,
1785
- }, 'value');
1786
- if (!lodash_1.default.isEqual(oldValue, newValue) && !(this.component.clearOnHide && !this.visible)) {
1787
- this.setValue(newValue);
1788
- if (this.viewOnly) {
1789
- this.dataValue = newValue;
1790
- }
1791
- changed = true;
1792
- }
1793
- break;
1794
- }
1795
- }
1796
- return changed;
1797
- }, false);
1798
- }
1799
- // Deprecated
1800
- addInputError(message, dirty, elements) {
1801
- this.addMessages(message);
1802
- this.setErrorClasses(elements, dirty, !!message);
1803
- }
1804
- // Deprecated
1805
- removeInputError(elements) {
1806
- this.setErrorClasses(elements, true, false);
1807
- }
1808
- /**
1809
- * Add a new input error to this element.
1810
- *
1811
- * @param message
1812
- * @param dirty
1813
- */
1814
- addMessages(messages) {
1815
- if (!messages) {
1816
- return;
1817
- }
1818
- // Standardize on array of objects for message.
1819
- if (typeof messages === 'string') {
1820
- messages = {
1821
- messages,
1822
- level: 'error',
1823
- };
1824
- }
1825
- if (!Array.isArray(messages)) {
1826
- messages = [messages];
1827
- }
1828
- messages = lodash_1.default.uniqBy(messages, message => message.message);
1829
- if (this.refs.messageContainer) {
1830
- this.setContent(this.refs.messageContainer, messages.map((message) => {
1831
- if (message.message && typeof message.message === 'string') {
1832
- message.message = message.message.replaceAll('<', '&lt;').replaceAll('>', '&gt;');
1833
- }
1834
- return this.renderTemplate('message', message);
1835
- }).join(''));
1836
- }
1837
- }
1838
- setErrorClasses(elements, dirty, hasErrors, hasMessages, element = this.element) {
1839
- this.clearErrorClasses();
1840
- elements.forEach((element) => {
1841
- this.setElementInvalid(this.performInputMapping(element), false);
1842
- });
1843
- this.setInputWidgetErrorClasses(elements, hasErrors);
1844
- if (hasErrors) {
1845
- // Add error classes
1846
- elements.forEach((input) => {
1847
- this.setElementInvalid(this.performInputMapping(input), true);
1848
- });
1849
- if (dirty && this.options.highlightErrors) {
1850
- this.addClass(element, this.options.componentErrorClass);
1851
- }
1852
- else {
1853
- this.addClass(element, 'has-error');
1854
- }
1855
- }
1856
- if (hasMessages) {
1857
- this.addClass(element, 'has-message');
1858
- }
1859
- }
1860
- setElementInvalid(element, invalid) {
1861
- if (!element)
1862
- return;
1863
- if (invalid) {
1864
- this.addClass(element, 'is-invalid');
1865
- }
1866
- else {
1867
- this.removeClass(element, 'is-invalid');
1868
- }
1869
- element.setAttribute('aria-invalid', invalid ? 'true' : 'false');
1870
- }
1871
- clearOnHide() {
1872
- // clearOnHide defaults to true for old forms (without the value set) so only trigger if the value is false.
1873
- if (
1874
- // if change happens inside EditGrid's row, it doesn't trigger change on the root level, so rootPristine will be true
1875
- (!this.rootPristine || this.options.server || (0, utils_1.isInsideScopingComponent)(this)) &&
1876
- this.component.clearOnHide !== false &&
1877
- !this.options.readOnly &&
1878
- !this.options.showHiddenFields) {
1879
- if (!this.visible) {
1880
- this.deleteValue();
1881
- }
1882
- else if (!this.hasValue() && this.shouldAddDefaultValue) {
1883
- // If shown, ensure the default is set.
1884
- this.setValue(this.defaultValue, {
1885
- noUpdateEvent: true
1886
- });
1887
- }
1888
- }
1889
- }
1890
- triggerRootChange(...args) {
1891
- if (this.options.onChange) {
1892
- this.options.onChange(...args);
1893
- }
1894
- else if (this.root) {
1895
- this.root.triggerChange(...args);
1896
- }
1897
- }
1898
- onChange(flags, fromRoot) {
1899
- flags = flags || {};
1900
- if (flags.modified) {
1901
- if (!flags.noPristineChangeOnModified) {
1902
- this.pristine = false;
1903
- }
1904
- this.addClass(this.getElement(), 'formio-modified');
1905
- }
1906
- // If we are supposed to validate on blur, then don't trigger validation yet.
1907
- if (this.component.validateOn === 'blur' && !this.errors.length) {
1908
- flags.noValidate = true;
1909
- }
1910
- if (this.component.onChange) {
1911
- this.evaluate(this.component.onChange, {
1912
- flags
1913
- });
1914
- }
1915
- // Set the changed variable.
1916
- const changed = {
1917
- instance: this,
1918
- component: this.component,
1919
- value: this.dataValue,
1920
- flags: flags
1921
- };
1922
- // Emit the change.
1923
- this.emit('componentChange', changed);
1924
- // Do not propogate the modified flag.
1925
- let modified = false;
1926
- if (flags.modified) {
1927
- modified = true;
1928
- delete flags.modified;
1929
- }
1930
- // Bubble this change up to the top.
1931
- if (!fromRoot) {
1932
- this.triggerRootChange(flags, changed, modified);
1933
- }
1934
- return changed;
1935
- }
1936
- get wysiwygDefault() {
1937
- return {
1938
- quill: {
1939
- theme: 'snow',
1940
- placeholder: this.t(this.component.placeholder, { _userInput: true }),
1941
- modules: {
1942
- toolbar: [
1943
- [{ 'size': ['small', false, 'large', 'huge'] }],
1944
- [{ 'header': [1, 2, 3, 4, 5, 6, false] }],
1945
- [{ 'font': [] }],
1946
- ['bold', 'italic', 'underline', 'strike', { 'script': 'sub' }, { 'script': 'super' }, 'clean'],
1947
- [{ 'color': [] }, { 'background': [] }],
1948
- [{ 'list': 'ordered' }, { 'list': 'bullet' }, { 'indent': '-1' }, { 'indent': '+1' }, { 'align': [] }],
1949
- ['blockquote', 'code-block'],
1950
- ['link', 'image', 'video', 'formula', 'source']
1951
- ]
1952
- }
1953
- },
1954
- ace: {
1955
- theme: 'ace/theme/xcode',
1956
- maxLines: 12,
1957
- minLines: 12,
1958
- tabSize: 2,
1959
- mode: 'ace/mode/javascript',
1960
- placeholder: this.t(this.component.placeholder, { _userInput: true })
1961
- },
1962
- ckeditor: {
1963
- image: {
1964
- toolbar: [
1965
- 'imageTextAlternative',
1966
- '|',
1967
- 'imageStyle:full',
1968
- 'imageStyle:alignLeft',
1969
- 'imageStyle:alignCenter',
1970
- 'imageStyle:alignRight'
1971
- ],
1972
- styles: [
1973
- 'full',
1974
- 'alignLeft',
1975
- 'alignCenter',
1976
- 'alignRight'
1977
- ]
1978
- },
1979
- extraPlugins: []
1980
- },
1981
- default: {}
1982
- };
1983
- }
1984
- addCKE(element, settings, onChange) {
1985
- settings = lodash_1.default.isEmpty(settings) ? {} : settings;
1986
- settings.base64Upload = this.component.isUploadEnabled ? false : true;
1987
- settings.mediaEmbed = { previewsInData: true };
1988
- settings = lodash_1.default.merge(this.wysiwygDefault.ckeditor, lodash_1.default.get(this.options, 'editors.ckeditor.settings', {}), settings);
1989
- if (this.component.isUploadEnabled) {
1990
- settings.extraPlugins.push((0, uploadAdapter_1.getFormioUploadAdapterPlugin)(this.fileService, this));
1991
- }
1992
- return Formio_1.Formio.requireLibrary('ckeditor', isIEBrowser ? 'CKEDITOR' : 'ClassicEditor', lodash_1.default.get(this.options, 'editors.ckeditor.src', `${Formio_1.Formio.cdn.ckeditor}/ckeditor.js`), true)
1993
- .then(() => {
1994
- if (!element.parentNode) {
1995
- return Promise.reject();
1996
- }
1997
- if (isIEBrowser) {
1998
- const editor = CKEDITOR.replace(element);
1999
- editor.on('change', () => onChange(editor.getData()));
2000
- return Promise.resolve(editor);
2001
- }
2002
- else {
2003
- return ClassicEditor.create(element, settings).then(editor => {
2004
- editor.model.document.on('change', () => onChange(editor.data.get()));
2005
- return editor;
2006
- });
2007
- }
2008
- });
2009
- }
2010
- addQuill(element, settings, onChange) {
2011
- settings = lodash_1.default.isEmpty(settings) ? this.wysiwygDefault.quill : settings;
2012
- settings = lodash_1.default.merge(this.wysiwygDefault.quill, lodash_1.default.get(this.options, 'editors.quill.settings', {}), settings);
2013
- settings = Object.assign(Object.assign({}, settings), { modules: Object.assign({ table: true }, settings.modules) });
2014
- // Lazy load the quill css.
2015
- Formio_1.Formio.requireLibrary(`quill-css-${settings.theme}`, 'Quill', [
2016
- { type: 'styles', src: `${Formio_1.Formio.cdn.quill}/quill.${settings.theme}.css` }
2017
- ], true);
2018
- // Lazy load the quill library.
2019
- return Formio_1.Formio.requireLibrary('quill', 'Quill', lodash_1.default.get(this.options, 'editors.quill.src', `${Formio_1.Formio.cdn.quill}/quill.min.js`), true)
2020
- .then(() => {
2021
- return Formio_1.Formio.requireLibrary('quill-table', 'Quill', `${Formio_1.Formio.cdn.baseUrl}/quill/quill-table.js`, true)
2022
- .then(() => {
2023
- if (!element.parentNode) {
2024
- return Promise.reject();
2025
- }
2026
- this.quill = new Quill(element, isIEBrowser ? Object.assign(Object.assign({}, settings), { modules: {} }) : settings);
2027
- /** This block of code adds the [source] capabilities. See https://codepen.io/anon/pen/ZyEjrQ **/
2028
- const txtArea = document.createElement('textarea');
2029
- txtArea.setAttribute('class', 'quill-source-code');
2030
- this.quill.addContainer('ql-custom').appendChild(txtArea);
2031
- const qlSource = element.parentNode.querySelector('.ql-source');
2032
- if (qlSource) {
2033
- this.addEventListener(qlSource, 'click', (event) => {
2034
- event.preventDefault();
2035
- if (txtArea.style.display === 'inherit') {
2036
- this.quill.setContents(this.quill.clipboard.convert({ html: txtArea.value }));
2037
- }
2038
- txtArea.style.display = (txtArea.style.display === 'none') ? 'inherit' : 'none';
2039
- });
2040
- }
2041
- /** END CODEBLOCK **/
2042
- // Make sure to select cursor when they click on the element.
2043
- this.addEventListener(element, 'click', () => this.quill.focus());
2044
- // Allows users to skip toolbar items when tabbing though form
2045
- const elm = document.querySelectorAll('.ql-formats > button');
2046
- for (let i = 0; i < elm.length; i++) {
2047
- elm[i].setAttribute('tabindex', '-1');
2048
- }
2049
- this.quill.on('text-change', () => {
2050
- txtArea.value = this.quill.root.innerHTML;
2051
- onChange(txtArea);
2052
- });
2053
- return this.quill;
2054
- });
2055
- });
2056
- }
2057
- get shouldSanitizeValue() {
2058
- var _a;
2059
- // Sanitize value if sanitizing for thw whole content is turned off
2060
- return (((_a = this.options) === null || _a === void 0 ? void 0 : _a.sanitize) !== false);
2061
- }
2062
- addAce(element, settings, onChange) {
2063
- if (!settings || (settings.theme === 'snow')) {
2064
- const mode = settings ? settings.mode : '';
2065
- settings = {};
2066
- if (mode) {
2067
- settings.mode = mode;
2068
- }
2069
- }
2070
- settings = lodash_1.default.merge(this.wysiwygDefault.ace, lodash_1.default.get(this.options, 'editors.ace.settings', {}), settings || {});
2071
- return Formio_1.Formio.requireLibrary('ace', 'ace', lodash_1.default.get(this.options, 'editors.ace.src', `${Formio_1.Formio.cdn.ace}/ace.js`), true)
2072
- .then((editor) => {
2073
- editor = editor.edit(element);
2074
- editor.removeAllListeners('change');
2075
- editor.setOptions(settings);
2076
- editor.getSession().setMode(settings.mode);
2077
- editor.on('change', () => onChange(editor.getValue()));
2078
- if (settings.isUseWorkerDisabled) {
2079
- editor.session.setUseWorker(false);
2080
- }
2081
- return editor;
2082
- });
2083
- }
2084
- get tree() {
2085
- return this.component.tree || false;
2086
- }
2087
- /**
2088
- * The empty value for this component.
2089
- *
2090
- * @return {null}
2091
- */
2092
- get emptyValue() {
2093
- return null;
2094
- }
2095
- /**
2096
- * Returns if this component has a value set.
2097
- *
2098
- */
2099
- hasValue(data) {
2100
- return !lodash_1.default.isUndefined(lodash_1.default.get(data || this.data, this.key));
2101
- }
2102
- /**
2103
- * Get the data value at the root level.
2104
- *
2105
- * @return {*}
2106
- */
2107
- get rootValue() {
2108
- return this.root ? this.root.data : this.data;
2109
- }
2110
- get rootPristine() {
2111
- return lodash_1.default.get(this, 'root.pristine', false);
2112
- }
2113
- /**
2114
- * Get the static value of this component.
2115
- * @return {*}
2116
- */
2117
- get dataValue() {
2118
- if (!this.key ||
2119
- (!this.visible && this.component.clearOnHide && !this.rootPristine)) {
2120
- return this.emptyValue;
2121
- }
2122
- if (!this.hasValue() && this.shouldAddDefaultValue) {
2123
- const empty = this.component.multiple ? [] : this.emptyValue;
2124
- if (!this.rootPristine) {
2125
- this.dataValue = empty;
2126
- }
2127
- return empty;
2128
- }
2129
- return lodash_1.default.get(this._data, this.key);
2130
- }
2131
- /**
2132
- * Sets the static value of this component.
2133
- *
2134
- * @param value
2135
- */
2136
- set dataValue(value) {
2137
- if (!this.allowData ||
2138
- !this.key ||
2139
- (!this.visible && this.component.clearOnHide && !this.rootPristine)) {
2140
- return;
2141
- }
2142
- if ((value !== null) && (value !== undefined)) {
2143
- value = this.hook('setDataValue', value, this.key, this._data);
2144
- }
2145
- if ((value === null) || (value === undefined)) {
2146
- this.unset();
2147
- return;
2148
- }
2149
- lodash_1.default.set(this._data, this.key, value);
2150
- return;
2151
- }
2152
- /**
2153
- * Splice a value from the dataValue.
2154
- *
2155
- * @param index
2156
- */
2157
- splice(index, flags = {}) {
2158
- if (this.hasValue()) {
2159
- const dataValue = this.dataValue || [];
2160
- if (lodash_1.default.isArray(dataValue) && dataValue.hasOwnProperty(index)) {
2161
- dataValue.splice(index, 1);
2162
- this.dataValue = dataValue;
2163
- this.triggerChange(flags);
2164
- }
2165
- }
2166
- }
2167
- unset() {
2168
- lodash_1.default.unset(this._data, this.key);
2169
- }
2170
- /**
2171
- * Deletes the value of the component.
2172
- */
2173
- deleteValue() {
2174
- this.setValue(null, {
2175
- noUpdateEvent: true,
2176
- noDefault: true
2177
- });
2178
- this.unset();
2179
- }
2180
- getCustomDefaultValue(defaultValue) {
2181
- if (this.component.customDefaultValue && !this.options.preview) {
2182
- defaultValue = this.evaluate(this.component.customDefaultValue, { value: '' }, 'value');
2183
- }
2184
- return defaultValue;
2185
- }
2186
- get shouldAddDefaultValue() {
2187
- return !this.options.noDefaults || (this.component.defaultValue && !this.isEmpty(this.component.defaultValue)) || this.component.customDefaultValue;
2188
- }
2189
- get defaultValue() {
2190
- let defaultValue = this.emptyValue;
2191
- if (this.component.defaultValue) {
2192
- defaultValue = this.component.defaultValue;
2193
- }
2194
- defaultValue = this.getCustomDefaultValue(defaultValue);
2195
- const checkMask = (value) => {
2196
- if (typeof value === 'string') {
2197
- const placeholderChar = this.placeholderChar;
2198
- value = (0, vanilla_text_mask_1.conformToMask)(value, this.defaultMask, { placeholderChar }).conformedValue;
2199
- if (!FormioUtils.matchInputMask(value, this.defaultMask)) {
2200
- value = '';
2201
- }
2202
- }
2203
- else {
2204
- value = '';
2205
- }
2206
- return value;
2207
- };
2208
- if (this.defaultMask) {
2209
- if (Array.isArray(defaultValue)) {
2210
- defaultValue = defaultValue.map(checkMask);
2211
- }
2212
- else {
2213
- defaultValue = checkMask(defaultValue);
2214
- }
2215
- }
2216
- // Clone so that it creates a new instance.
2217
- return lodash_1.default.cloneDeep(defaultValue);
2218
- }
2219
- /**
2220
- * Get the input value of this component.
2221
- *
2222
- * @return {*}
2223
- */
2224
- getValue() {
2225
- if (!this.hasInput || this.viewOnly || !this.refs.input || !this.refs.input.length) {
2226
- return this.dataValue;
2227
- }
2228
- const values = [];
2229
- for (const i in this.refs.input) {
2230
- if (this.refs.input.hasOwnProperty(i)) {
2231
- if (!this.component.multiple) {
2232
- return this.getValueAt(i);
2233
- }
2234
- values.push(this.getValueAt(i));
2235
- }
2236
- }
2237
- if (values.length === 0 && !this.component.multiple) {
2238
- return '';
2239
- }
2240
- return values;
2241
- }
2242
- /**
2243
- * Get the value at a specific index.
2244
- *
2245
- * @param index
2246
- * @returns {*}
2247
- */
2248
- getValueAt(index) {
2249
- const input = this.performInputMapping(this.refs.input[index]);
2250
- return input ? input.value : undefined;
2251
- }
2252
- /**
2253
- * Set the value of this component.
2254
- *
2255
- * @param value
2256
- * @param flags
2257
- *
2258
- * @return {boolean} - If the value changed.
2259
- */
2260
- setValue(value, flags = {}) {
2261
- const changed = this.updateValue(value, flags);
2262
- value = this.dataValue;
2263
- if (!this.hasInput) {
2264
- return changed;
2265
- }
2266
- const isArray = Array.isArray(value);
2267
- const valueInput = this.refs.fileLink || this.refs.input;
2268
- if (isArray &&
2269
- Array.isArray(this.defaultValue) &&
2270
- this.refs.hasOwnProperty('input') &&
2271
- valueInput &&
2272
- (valueInput.length !== value.length) &&
2273
- this.visible) {
2274
- this.redraw();
2275
- }
2276
- if (this.isHtmlRenderMode() && flags && flags.fromSubmission && changed) {
2277
- this.redraw();
2278
- return changed;
2279
- }
2280
- for (const i in this.refs.input) {
2281
- if (this.refs.input.hasOwnProperty(i)) {
2282
- this.setValueAt(i, isArray ? value[i] : value, flags);
2283
- }
2284
- }
2285
- return changed;
2286
- }
2287
- /**
2288
- * Set the value at a specific index.
2289
- *
2290
- * @param index
2291
- * @param value
2292
- */
2293
- setValueAt(index, value, flags = {}) {
2294
- if (!flags.noDefault && (value === null || value === undefined) && !this.component.multiple) {
2295
- value = this.defaultValue;
2296
- }
2297
- const input = this.performInputMapping(this.refs.input[index]);
2298
- const valueMaskInput = this.refs.valueMaskInput;
2299
- if (valueMaskInput === null || valueMaskInput === void 0 ? void 0 : valueMaskInput.mask) {
2300
- valueMaskInput.mask.textMaskInputElement.update(value);
2301
- }
2302
- if (input.mask) {
2303
- input.mask.textMaskInputElement.update(value);
2304
- }
2305
- else if (input.widget && input.widget.setValue) {
2306
- input.widget.setValue(value);
2307
- }
2308
- else {
2309
- input.value = value;
2310
- }
2311
- }
2312
- get hasSetValue() {
2313
- return this.hasValue() && !this.isEmpty(this.dataValue);
2314
- }
2315
- setDefaultValue() {
2316
- if (this.defaultValue && this.shouldAddDefaultValue) {
2317
- const defaultValue = (this.component.multiple && !this.dataValue.length) ? [] : this.defaultValue;
2318
- this.setValue(defaultValue, {
2319
- noUpdateEvent: true
2320
- });
2321
- }
2322
- }
2323
- /**
2324
- * Restore the value of a control.
2325
- */
2326
- restoreValue() {
2327
- if (this.hasSetValue) {
2328
- this.setValue(this.dataValue, {
2329
- noUpdateEvent: true
2330
- });
2331
- }
2332
- else {
2333
- this.setDefaultValue();
2334
- }
2335
- }
2336
- /**
2337
- * Normalize values coming into updateValue.
2338
- *
2339
- * @param value
2340
- * @return {*}
2341
- */
2342
- normalizeValue(value) {
2343
- if (this.component.multiple && !Array.isArray(value)) {
2344
- value = value ? [value] : [];
2345
- }
2346
- return value;
2347
- }
2348
- /**
2349
- * Update a value of this component.
2350
- *
2351
- * @param flags
2352
- */
2353
- updateComponentValue(value, flags = {}) {
2354
- let newValue = (!flags.resetValue && (value === undefined || value === null)) ? this.getValue() : value;
2355
- newValue = this.normalizeValue(newValue, flags);
2356
- const oldValue = this.dataValue;
2357
- let changed = ((newValue !== undefined) ? this.hasChanged(newValue, oldValue) : false);
2358
- if (changed) {
2359
- this.dataValue = newValue;
2360
- changed = this.dataValue !== oldValue;
2361
- this.updateOnChange(flags, changed);
2362
- }
2363
- if (this.componentModal && flags && flags.fromSubmission) {
2364
- this.componentModal.setValue(value);
2365
- }
2366
- return changed;
2367
- }
2368
- /**
2369
- * Updates the value of this component plus all sub-components.
2370
- *
2371
- * @param args
2372
- * @return {boolean}
2373
- */
2374
- updateValue(...args) {
2375
- return this.updateComponentValue(...args);
2376
- }
2377
- getIcon(name, content, styles, ref = 'icon') {
2378
- return this.renderTemplate('icon', {
2379
- className: this.iconClass(name),
2380
- ref,
2381
- styles,
2382
- content
2383
- });
2384
- }
2385
- /**
2386
- * Resets the value of this component.
2387
- */
2388
- resetValue() {
2389
- this.unset();
2390
- this.setValue(this.emptyValue, {
2391
- noUpdateEvent: true,
2392
- noValidate: true,
2393
- resetValue: true
2394
- });
2395
- }
2396
- /**
2397
- * Determine if the value of this component has changed.
2398
- *
2399
- * @param newValue
2400
- * @param oldValue
2401
- * @return {boolean}
2402
- */
2403
- hasChanged(newValue, oldValue) {
2404
- if (((newValue === undefined) || (newValue === null)) &&
2405
- ((oldValue === undefined) || (oldValue === null) || this.isEmpty(oldValue))) {
2406
- return false;
2407
- }
2408
- // If we do not have a value and are getting set to anything other than undefined or null, then we changed.
2409
- if (newValue !== undefined &&
2410
- newValue !== null &&
2411
- this.allowData &&
2412
- !this.hasValue()) {
2413
- return true;
2414
- }
2415
- return !lodash_1.default.isEqual(newValue, oldValue);
2416
- }
2417
- /**
2418
- * Update the value on change.
2419
- *
2420
- * @param flags
2421
- */
2422
- updateOnChange(flags = {}, changed = false) {
2423
- if (!flags.noUpdateEvent && changed) {
2424
- this.triggerChange(flags);
2425
- return true;
2426
- }
2427
- return false;
2428
- }
2429
- /**
2430
- * Perform a calculated value operation.
2431
- *
2432
- * @param data - The global data object.
2433
- *
2434
- * @return {boolean} - If the value changed during calculation.
2435
- */
2436
- convertNumberOrBoolToString(value) {
2437
- if (typeof value === 'number' || typeof value === 'boolean') {
2438
- return value.toString();
2439
- }
2440
- return value;
2441
- }
2442
- doValueCalculation(dataValue, data, row) {
2443
- var _a;
2444
- return this.evaluate(this.component.calculateValue, {
2445
- value: dataValue,
2446
- data,
2447
- row: row || this.data,
2448
- submission: ((_a = this.root) === null || _a === void 0 ? void 0 : _a._submission) || {
2449
- data: this.rootValue
2450
- }
2451
- }, 'value');
2452
- }
2453
- /* eslint-disable max-statements */
2454
- calculateComponentValue(data, flags, row) {
2455
- // Skip value calculation for the component if we don't have entire form data set
2456
- if (lodash_1.default.isUndefined(lodash_1.default.get(this, 'root.data'))) {
2457
- return false;
2458
- }
2459
- // If no calculated value or
2460
- // hidden and set to clearOnHide (Don't calculate a value for a hidden field set to clear when hidden)
2461
- const { clearOnHide } = this.component;
2462
- const shouldBeCleared = !this.visible && clearOnHide;
2463
- const allowOverride = lodash_1.default.get(this.component, 'allowCalculateOverride', false);
2464
- // Handle all cases when calculated values should not fire.
2465
- if ((this.options.readOnly && !this.options.pdf && !this.component.calculateValue) ||
2466
- !(this.component.calculateValue || this.component.calculateValueVariable) ||
2467
- shouldBeCleared ||
2468
- (this.options.server && !this.component.calculateServer) ||
2469
- (flags.dataSourceInitialLoading && allowOverride)) {
2470
- return false;
2471
- }
2472
- const dataValue = this.dataValue;
2473
- // Calculate the new value.
2474
- let calculatedValue = this.doValueCalculation(dataValue, data, row, flags);
2475
- if (this.options.readOnly && dataValue && !calculatedValue) {
2476
- return false;
2477
- }
2478
- if (lodash_1.default.isNil(calculatedValue)) {
2479
- calculatedValue = this.emptyValue;
2480
- }
2481
- const changed = !lodash_1.default.isEqual(dataValue, calculatedValue);
2482
- // Do not override calculations on server if they have calculateServer set.
2483
- if (allowOverride) {
2484
- // The value is considered locked if it is not empty and comes from a submission value.
2485
- const fromSubmission = (flags.fromSubmission && this.component.persistent === true);
2486
- if (this.isEmpty(dataValue)) {
2487
- // Reset the calculation lock if ever the data is cleared.
2488
- this.calculationLocked = false;
2489
- }
2490
- else if (this.calculationLocked || fromSubmission) {
2491
- this.calculationLocked = true;
2492
- return false;
2493
- }
2494
- const firstPass = (this.calculatedValue === undefined);
2495
- if (firstPass) {
2496
- this.calculatedValue = null;
2497
- }
2498
- const newCalculatedValue = this.normalizeValue(this.convertNumberOrBoolToString(calculatedValue));
2499
- const previousCalculatedValue = this.normalizeValue(this.convertNumberOrBoolToString(this.calculatedValue));
2500
- const normalizedDataValue = this.normalizeValue(this.convertNumberOrBoolToString(dataValue));
2501
- const calculationChanged = !lodash_1.default.isEqual(previousCalculatedValue, newCalculatedValue);
2502
- const previousChanged = !lodash_1.default.isEqual(normalizedDataValue, previousCalculatedValue);
2503
- if (calculationChanged && previousChanged && !firstPass) {
2504
- return false;
2505
- }
2506
- // Check to ensure that the calculated value is different than the previously calculated value.
2507
- if (previousCalculatedValue && previousChanged && !calculationChanged) {
2508
- return false;
2509
- }
2510
- if (flags.isReordered || !calculationChanged) {
2511
- return false;
2512
- }
2513
- if (fromSubmission) {
2514
- // If we set value from submission and it differs from calculated one, set the calculated value to prevent overriding dataValue in the next pass
2515
- this.calculatedValue = calculatedValue;
2516
- return false;
2517
- }
2518
- // If this is the firstPass, and the dataValue is different than to the calculatedValue.
2519
- if (firstPass && !this.isEmpty(dataValue) && changed && calculationChanged) {
2520
- // Return that we have a change so it will perform another pass.
2521
- return true;
2522
- }
2523
- }
2524
- this.calculatedValue = calculatedValue;
2525
- if (changed) {
2526
- if (!flags.noPristineChangeOnModified) {
2527
- this.pristine = false;
2528
- }
2529
- flags.triggeredComponentId = this.id;
2530
- return this.setValue(calculatedValue, flags);
2531
- }
2532
- return false;
2533
- }
2534
- /* eslint-enable max-statements */
2535
- /**
2536
- * Performs calculations in this component plus any child components.
2537
- *
2538
- * @param args
2539
- * @return {boolean}
2540
- */
2541
- calculateValue(data, flags, row) {
2542
- data = data || this.rootValue;
2543
- flags = flags || {};
2544
- row = row || this.data;
2545
- return this.calculateComponentValue(data, flags, row);
2546
- }
2547
- /**
2548
- * Get this component's label text.
2549
- *
2550
- */
2551
- get label() {
2552
- return this.component.label;
2553
- }
2554
- /**
2555
- * Set this component's label text and render it.
2556
- *
2557
- * @param value - The new label text.
2558
- */
2559
- set label(value) {
2560
- this.component.label = value;
2561
- if (this.labelElement) {
2562
- this.labelElement.innerText = value;
2563
- }
2564
- }
2565
- /**
2566
- * Get FormioForm element at the root of this component tree.
2567
- *
2568
- */
2569
- getRoot() {
2570
- return this.root;
2571
- }
2572
- /**
2573
- * Returns the invalid message, or empty string if the component is valid.
2574
- *
2575
- * @param data
2576
- * @param dirty
2577
- * @return {*}
2578
- */
2579
- invalidMessage(data, dirty, ignoreCondition, row) {
2580
- if (!ignoreCondition && !this.checkCondition(row, data)) {
2581
- return '';
2582
- }
2583
- // See if this is forced invalid.
2584
- if (this.invalid) {
2585
- return this.invalid;
2586
- }
2587
- // No need to check for errors if there is no input or if it is pristine.
2588
- if (!this.hasInput || (!dirty && this.pristine)) {
2589
- return '';
2590
- }
2591
- return lodash_1.default.map(Validator_1.default.checkComponent(this, data), 'message').join('\n\n');
2592
- }
2593
- /**
2594
- * Returns if the component is valid or not.
2595
- *
2596
- * @param data
2597
- * @param dirty
2598
- * @return {boolean}
2599
- */
2600
- isValid(data, dirty) {
2601
- return !this.invalidMessage(data, dirty);
2602
- }
2603
- setComponentValidity(messages, dirty, silentCheck) {
2604
- const hasErrors = !!messages.filter(message => message.level === 'error' && !message.fromServer).length;
2605
- if (messages.length && (!silentCheck || this.error) && (!this.isEmpty(this.defaultValue) || dirty || !this.pristine)) {
2606
- this.setCustomValidity(messages, dirty);
2607
- }
2608
- else if (!silentCheck) {
2609
- this.setCustomValidity('');
2610
- }
2611
- return !hasErrors;
2612
- }
2613
- /**
2614
- * Checks the validity of this component and sets the error message if it is invalid.
2615
- *
2616
- * @param data
2617
- * @param dirty
2618
- * @param row
2619
- * @return {boolean}
2620
- */
2621
- checkComponentValidity(data, dirty, row, options = {}) {
2622
- var _a;
2623
- data = data || this.rootValue;
2624
- row = row || this.data;
2625
- const { async = false, silentCheck = false } = options;
2626
- if (this.shouldSkipValidation(data, dirty, row)) {
2627
- this.setCustomValidity('');
2628
- return async ? Promise.resolve(true) : true;
2629
- }
2630
- const check = Validator_1.default.checkComponent(this, data, row, true, async);
2631
- let validations = check;
2632
- if ((_a = this.serverErrors) === null || _a === void 0 ? void 0 : _a.length) {
2633
- validations = check.concat(this.serverErrors);
2634
- }
2635
- return async ?
2636
- validations.then((messages) => this.setComponentValidity(messages, dirty, silentCheck)) :
2637
- this.setComponentValidity(validations, dirty, silentCheck);
2638
- }
2639
- checkValidity(data, dirty, row, silentCheck) {
2640
- data = data || this.rootValue;
2641
- row = row || this.data;
2642
- const isValid = this.checkComponentValidity(data, dirty, row, { silentCheck });
2643
- this.checkModal();
2644
- return isValid;
2645
- }
2646
- checkAsyncValidity(data, dirty, row, silentCheck) {
2647
- return Promise.resolve(this.checkComponentValidity(data, dirty, row, { async: true, silentCheck }));
2648
- }
2649
- /**
2650
- * Check the conditions, calculations, and validity of a single component and triggers an update if
2651
- * something changed.
2652
- *
2653
- * @param data - The root data of the change event.
2654
- * @param flags - The flags from this change event.
2655
- *
2656
- * @return boolean - If component is valid or not.
2657
- */
2658
- checkData(data, flags, row) {
2659
- data = data || this.rootValue;
2660
- flags = flags || {};
2661
- row = row || this.data;
2662
- // Needs for Nextgen Rules Engine
2663
- this.resetCaches();
2664
- // Do not trigger refresh if change was triggered on blur event since components with Refresh on Blur have their own listeners
2665
- if (!flags.fromBlur) {
2666
- this.checkRefreshOn(flags.changes, flags);
2667
- }
2668
- if (flags.noCheck) {
2669
- return true;
2670
- }
2671
- this.checkComponentConditions(data, flags, row);
2672
- if (this.id !== flags.triggeredComponentId) {
2673
- this.calculateComponentValue(data, flags, row);
2674
- }
2675
- if (flags.noValidate && !flags.validateOnInit && !flags.fromIframe) {
2676
- if (flags.fromSubmission && this.rootPristine && this.pristine && this.error && flags.changed) {
2677
- this.checkComponentValidity(data, !!this.options.alwaysDirty, row, true);
2678
- }
2679
- return true;
2680
- }
2681
- let isDirty = false;
2682
- // We need to set dirty if they explicitly set noValidate to false.
2683
- if (this.options.alwaysDirty || flags.dirty) {
2684
- isDirty = true;
2685
- }
2686
- // See if they explicitely set the values with setSubmission.
2687
- if (flags.fromSubmission && this.hasValue(data)) {
2688
- isDirty = true;
2689
- }
2690
- this.setDirty(isDirty);
2691
- if (this.component.validateOn === 'blur' && flags.fromSubmission) {
2692
- return true;
2693
- }
2694
- const isValid = this.checkComponentValidity(data, isDirty, row, flags);
2695
- this.checkModal();
2696
- return isValid;
2697
- }
2698
- checkModal(isValid = true, dirty = false) {
2699
- if (!this.component.modalEdit || !this.componentModal) {
2700
- return;
2701
- }
2702
- if (dirty && !isValid) {
2703
- this.setErrorClasses([this.refs.openModal], dirty, !isValid, !!this.errors.length, this.refs.openModalWrapper);
2704
- }
2705
- else {
2706
- this.clearErrorClasses(this.refs.openModalWrapper);
2707
- }
2708
- }
2709
- get validationValue() {
2710
- return this.dataValue;
2711
- }
2712
- isEmpty(value = this.dataValue) {
2713
- const isEmptyArray = (lodash_1.default.isArray(value) && value.length === 1) ? lodash_1.default.isEqual(value[0], this.emptyValue) : false;
2714
- return value == null || value.length === 0 || lodash_1.default.isEqual(value, this.emptyValue) || isEmptyArray;
2715
- }
2716
- isEqual(valueA, valueB = this.dataValue) {
2717
- return (this.isEmpty(valueA) && this.isEmpty(valueB)) || lodash_1.default.isEqual(valueA, valueB);
2718
- }
2719
- /**
2720
- * Check if a component is eligible for multiple validation
2721
- *
2722
- * @return {boolean}
2723
- */
2724
- validateMultiple() {
2725
- return true;
2726
- }
2727
- get errors() {
2728
- return this.error ? [this.error] : [];
2729
- }
2730
- clearErrorClasses(element = this.element) {
2731
- this.removeClass(element, this.options.componentErrorClass);
2732
- this.removeClass(element, 'alert alert-danger');
2733
- this.removeClass(element, 'has-error');
2734
- this.removeClass(element, 'has-message');
2735
- }
2736
- setInputWidgetErrorClasses(inputRefs, hasErrors) {
2737
- if (!this.isInputComponent || !this.component.widget || !(inputRefs === null || inputRefs === void 0 ? void 0 : inputRefs.length)) {
2738
- return;
2739
- }
2740
- inputRefs.forEach((input) => {
2741
- if ((input === null || input === void 0 ? void 0 : input.widget) && input.widget.setErrorClasses) {
2742
- input.widget.setErrorClasses(hasErrors);
2743
- }
2744
- });
2745
- }
2746
- addFocusBlurEvents(element) {
2747
- this.addEventListener(element, 'focus', () => {
2748
- if (this.root.focusedComponent !== this) {
2749
- if (this.root.pendingBlur) {
2750
- this.root.pendingBlur();
2751
- }
2752
- this.root.focusedComponent = this;
2753
- this.emit('focus', this);
2754
- }
2755
- else if (this.root.focusedComponent === this && this.root.pendingBlur) {
2756
- this.root.pendingBlur.cancel();
2757
- this.root.pendingBlur = null;
2758
- }
2759
- });
2760
- this.addEventListener(element, 'blur', () => {
2761
- this.root.pendingBlur = FormioUtils.delay(() => {
2762
- this.emit('blur', this);
2763
- if (this.component.validateOn === 'blur') {
2764
- this.root.triggerChange({ fromBlur: true }, {
2765
- instance: this,
2766
- component: this.component,
2767
- value: this.dataValue,
2768
- flags: { fromBlur: true }
2769
- });
2770
- }
2771
- this.root.focusedComponent = null;
2772
- this.root.pendingBlur = null;
2773
- });
2774
- });
2775
- }
2776
- setCustomValidity(messages, dirty, external) {
2777
- const inputRefs = this.isInputComponent ? this.refs.input || [] : null;
2778
- if (typeof messages === 'string' && messages) {
2779
- messages = {
2780
- level: 'error',
2781
- message: messages,
2782
- };
2783
- }
2784
- if (!Array.isArray(messages)) {
2785
- if (messages) {
2786
- messages = [messages];
2787
- }
2788
- else {
2789
- messages = [];
2790
- }
2791
- }
2792
- const hasErrors = !!messages.filter(message => message.level === 'error').length;
2793
- let invalidInputRefs = inputRefs;
2794
- if (this.component.multiple) {
2795
- const inputRefsArray = Array.from(inputRefs);
2796
- inputRefsArray.forEach((input) => {
2797
- this.setElementInvalid(this.performInputMapping(input), false);
2798
- });
2799
- this.setInputWidgetErrorClasses(inputRefsArray, false);
2800
- invalidInputRefs = inputRefsArray.filter((ref) => {
2801
- var _a;
2802
- return (_a = messages.some) === null || _a === void 0 ? void 0 : _a.call(messages, (msg) => {
2803
- var _a;
2804
- return ((_a = msg === null || msg === void 0 ? void 0 : msg.context) === null || _a === void 0 ? void 0 : _a.input) === ref;
2805
- });
2806
- });
2807
- }
2808
- if (messages.length) {
2809
- if (this.refs.messageContainer) {
2810
- this.empty(this.refs.messageContainer);
2811
- }
2812
- this.error = {
2813
- component: this.component,
2814
- message: messages[0].message,
2815
- messages,
2816
- external: !!external,
2817
- };
2818
- this.emit('componentError', this.error);
2819
- this.addMessages(messages, dirty, invalidInputRefs);
2820
- if (invalidInputRefs) {
2821
- this.setErrorClasses(invalidInputRefs, dirty, hasErrors, !!messages.length);
2822
- }
2823
- }
2824
- else if (!this.error || (this.error && this.error.external === !!external)) {
2825
- if (this.refs.messageContainer) {
2826
- this.empty(this.refs.messageContainer);
2827
- }
2828
- if (this.refs.modalMessageContainer) {
2829
- this.empty(this.refs.modalMessageContainer);
2830
- }
2831
- this.error = null;
2832
- if (invalidInputRefs) {
2833
- this.setErrorClasses(invalidInputRefs, dirty, hasErrors, !!messages.length);
2834
- }
2835
- this.clearErrorClasses();
2836
- }
2837
- // if (!this.refs.input) {
2838
- // return;
2839
- // }
2840
- // this.refs.input.forEach(input => {
2841
- // input = this.performInputMapping(input);
2842
- // if (typeof input.setCustomValidity === 'function') {
2843
- // input.setCustomValidity(message, dirty);
2844
- // }
2845
- // });
2846
- }
2847
- /**
2848
- * Determines if the value of this component is hidden from the user as if it is coming from the server, but is
2849
- * protected.
2850
- *
2851
- * @return {boolean|*}
2852
- */
2853
- isValueHidden() {
2854
- if (this.component.protected && this.root.editing) {
2855
- return false;
2856
- }
2857
- if (!this.root || !this.root.hasOwnProperty('editing')) {
2858
- return false;
2859
- }
2860
- if (!this.root || !this.root.editing) {
2861
- return false;
2862
- }
2863
- return (this.component.protected || !this.component.persistent || (this.component.persistent === 'client-only'));
2864
- }
2865
- shouldSkipValidation(data, dirty, row) {
2866
- const rules = [
2867
- // Do not check custom validation for empty data if it is not required
2868
- () => this.component.validate.custom && !this.dataValue && !this.component.validate.required,
2869
- // Force valid if component is read-only
2870
- () => this.options.readOnly,
2871
- // Do not check validations if component is not an input component.
2872
- () => !this.hasInput,
2873
- // Check to see if we are editing and if so, check component persistence.
2874
- () => this.isValueHidden(),
2875
- // Force valid if component is hidden.
2876
- () => !this.visible,
2877
- // Force valid if component is conditionally hidden.
2878
- () => !this.checkCondition(row, data)
2879
- ];
2880
- return rules.some(pred => pred());
2881
- }
2882
- // Maintain reverse compatibility.
2883
- whenReady() {
2884
- console.warn('The whenReady() method has been deprecated. Please use the dataReady property instead.');
2885
- return this.dataReady;
2886
- }
2887
- get dataReady() {
2888
- return Promise.resolve();
2889
- }
2890
- /**
2891
- * Prints out the value of this component as a string value.
2892
- */
2893
- asString(value) {
2894
- value = value || this.getValue();
2895
- return (Array.isArray(value) ? value : [value]).map(lodash_1.default.toString).join(', ');
2896
- }
2897
- /**
2898
- * Return if the component is disabled.
2899
- * @return {boolean}
2900
- */
2901
- get disabled() {
2902
- return this._disabled || this.parentDisabled;
2903
- }
2904
- /**
2905
- * Disable this component.
2906
- *
2907
- * @param {boolean} disabled
2908
- */
2909
- set disabled(disabled) {
2910
- this._disabled = disabled;
2911
- }
2912
- setDisabled(element, disabled) {
2913
- if (!element) {
2914
- return;
2915
- }
2916
- element.disabled = disabled;
2917
- if (disabled) {
2918
- element.setAttribute('disabled', 'disabled');
2919
- }
2920
- else {
2921
- element.removeAttribute('disabled');
2922
- }
2923
- }
2924
- setLoading(element, loading) {
2925
- if (!element || (element.loading === loading)) {
2926
- return;
2927
- }
2928
- element.loading = loading;
2929
- if (!element.loader && loading) {
2930
- element.loader = this.ce('i', {
2931
- class: `${this.iconClass('refresh', true)} button-icon-right`
2932
- });
2933
- }
2934
- if (element.loader) {
2935
- if (loading) {
2936
- this.appendTo(element.loader, element);
2937
- }
2938
- else {
2939
- this.removeChildFrom(element.loader, element);
2940
- }
2941
- }
2942
- }
2943
- selectOptions(select, tag, options, defaultValue) {
2944
- lodash_1.default.each(options, (option) => {
2945
- const attrs = {
2946
- value: option.value
2947
- };
2948
- if (defaultValue !== undefined && (option.value === defaultValue)) {
2949
- attrs.selected = 'selected';
2950
- }
2951
- const optionElement = this.ce('option', attrs);
2952
- optionElement.appendChild(this.text(option.label));
2953
- select.appendChild(optionElement);
2954
- });
2955
- }
2956
- setSelectValue(select, value) {
2957
- const options = select.querySelectorAll('option');
2958
- lodash_1.default.each(options, (option) => {
2959
- if (option.value === value) {
2960
- option.setAttribute('selected', 'selected');
2961
- }
2962
- else {
2963
- option.removeAttribute('selected');
2964
- }
2965
- });
2966
- if (select.onchange) {
2967
- select.onchange();
2968
- }
2969
- if (select.onselect) {
2970
- select.onselect();
2971
- }
2972
- }
2973
- getRelativePath(path) {
2974
- const keyPart = `.${this.key}`;
2975
- const thisPath = this.isInputComponent ? this.path
2976
- : this.path.slice(0).replace(keyPart, '');
2977
- return path.replace(thisPath, '');
2978
- }
2979
- clear() {
2980
- this.detach();
2981
- this.empty(this.getElement());
2982
- }
2983
- append(element) {
2984
- this.appendTo(element, this.element);
2985
- }
2986
- prepend(element) {
2987
- this.prependTo(element, this.element);
2988
- }
2989
- removeChild(element) {
2990
- this.removeChildFrom(element, this.element);
2991
- }
2992
- detachLogic() {
2993
- this.logic.forEach(logic => {
2994
- if (logic.trigger.type === 'event') {
2995
- const event = this.interpolate(logic.trigger.event);
2996
- this.off(event); // only applies to callbacks on this component
2997
- }
2998
- });
2999
- }
3000
- attachLogic() {
3001
- // Do not attach logic during builder mode.
3002
- if (this.builderMode) {
3003
- return;
3004
- }
3005
- this.logic.forEach((logic) => {
3006
- if (logic.trigger.type === 'event') {
3007
- const event = this.interpolate(logic.trigger.event);
3008
- this.on(event, (...args) => {
3009
- const newComponent = (0, utils_1.fastCloneDeep)(this.originalComponent);
3010
- if (this.applyActions(newComponent, logic.actions, args)) {
3011
- // If component definition changed, replace it.
3012
- if (!lodash_1.default.isEqual(this.component, newComponent)) {
3013
- this.component = newComponent;
3014
- const visible = this.conditionallyVisible(null, null);
3015
- const disabled = this.shouldDisabled;
3016
- // Change states which won't be recalculated during redrawing
3017
- if (this.visible !== visible) {
3018
- this.visible = visible;
3019
- }
3020
- if (this.disabled !== disabled) {
3021
- this.disabled = disabled;
3022
- }
3023
- this.redraw();
3024
- }
3025
- }
3026
- }, true);
3027
- }
3028
- });
3029
- }
3030
- /**
3031
- * Get the element information.
3032
- */
3033
- elementInfo() {
3034
- const attributes = {
3035
- name: this.options.name,
3036
- type: this.component.inputType || 'text',
3037
- class: 'form-control',
3038
- lang: this.options.language
3039
- };
3040
- if (this.component.placeholder) {
3041
- attributes.placeholder = this.t(this.component.placeholder, { _userInput: true });
3042
- }
3043
- if (this.component.tabindex) {
3044
- attributes.tabindex = this.component.tabindex;
3045
- }
3046
- if (this.disabled) {
3047
- attributes.disabled = 'disabled';
3048
- }
3049
- lodash_1.default.defaults(attributes, this.component.attributes);
3050
- return {
3051
- type: 'input',
3052
- component: this.component,
3053
- changeEvent: 'change',
3054
- attr: attributes
3055
- };
3056
- }
3057
- autofocus() {
3058
- const hasAutofocus = this.component.autofocus && !this.builderMode && !this.options.preview;
3059
- if (hasAutofocus) {
3060
- this.on('render', () => this.focus(), true);
3061
- }
3062
- }
3063
- scrollIntoView(element = this.element) {
3064
- if (!element) {
3065
- return;
3066
- }
3067
- const { left, top } = element.getBoundingClientRect();
3068
- window.scrollTo(left + window.scrollX, top + window.scrollY);
3069
- }
3070
- focus(index) {
3071
- var _a, _b;
3072
- if ('beforeFocus' in this.parent) {
3073
- this.parent.beforeFocus(this);
3074
- }
3075
- if ((_a = this.refs.input) === null || _a === void 0 ? void 0 : _a.length) {
3076
- const focusingInput = typeof index === 'number' && this.refs.input[index]
3077
- ? this.refs.input[index]
3078
- : this.refs.input[this.refs.input.length - 1];
3079
- if (((_b = this.component.widget) === null || _b === void 0 ? void 0 : _b.type) === 'calendar') {
3080
- const sibling = focusingInput.nextSibling;
3081
- if (sibling) {
3082
- sibling.focus();
3083
- }
3084
- }
3085
- else {
3086
- focusingInput.focus();
3087
- }
3088
- }
3089
- if (this.refs.openModal) {
3090
- this.refs.openModal.focus();
3091
- }
3092
- if (this.parent.refs.openModal) {
3093
- this.parent.refs.openModal.focus();
3094
- }
3095
- }
3096
- /**
3097
- * Get `Formio` instance for working with files
3098
- */
3099
- get fileService() {
3100
- if (this.options.fileService) {
3101
- return this.options.fileService;
3102
- }
3103
- if (this.options.formio) {
3104
- return this.options.formio;
3105
- }
3106
- if (this.root && this.root.formio) {
3107
- return this.root.formio;
3108
- }
3109
- const formio = new Formio_1.Formio();
3110
- // If a form is loaded, then make sure to set the correct formUrl.
3111
- if (this.root && this.root._form && this.root._form._id) {
3112
- formio.formUrl = `${formio.projectUrl}/form/${this.root._form._id}`;
3113
- }
3114
- return formio;
3115
- }
3116
- resetCaches() { }
3117
- get previewMode() {
3118
- return false;
3119
- }
3120
- }
3121
- exports.default = Component;
3122
- Component.externalLibraries = {};
3123
- Component.requireLibrary = function (name, property, src, polling) {
3124
- if (!Component.externalLibraries.hasOwnProperty(name)) {
3125
- Component.externalLibraries[name] = {};
3126
- Component.externalLibraries[name].ready = new Promise((resolve, reject) => {
3127
- Component.externalLibraries[name].resolve = resolve;
3128
- Component.externalLibraries[name].reject = reject;
3129
- });
3130
- const callbackName = `${name}Callback`;
3131
- if (!polling && !window[callbackName]) {
3132
- window[callbackName] = function () {
3133
- this.resolve();
3134
- }.bind(Component.externalLibraries[name]);
3135
- }
3136
- // See if the plugin already exists.
3137
- const plugin = lodash_1.default.get(window, property);
3138
- if (plugin) {
3139
- Component.externalLibraries[name].resolve(plugin);
3140
- }
3141
- else {
3142
- src = Array.isArray(src) ? src : [src];
3143
- src.forEach((lib) => {
3144
- let attrs = {};
3145
- let elementType = '';
3146
- if (typeof lib === 'string') {
3147
- lib = {
3148
- type: 'script',
3149
- src: lib
3150
- };
3151
- }
3152
- switch (lib.type) {
3153
- case 'script':
3154
- elementType = 'script';
3155
- attrs = {
3156
- src: lib.src,
3157
- type: 'text/javascript',
3158
- defer: true,
3159
- async: true
3160
- };
3161
- break;
3162
- case 'styles':
3163
- elementType = 'link';
3164
- attrs = {
3165
- href: lib.src,
3166
- rel: 'stylesheet'
3167
- };
3168
- break;
3169
- }
3170
- // Add the script to the top page.
3171
- const script = document.createElement(elementType);
3172
- for (const attr in attrs) {
3173
- script.setAttribute(attr, attrs[attr]);
3174
- }
3175
- document.getElementsByTagName('head')[0].appendChild(script);
3176
- });
3177
- // if no callback is provided, then check periodically for the script.
3178
- if (polling) {
3179
- setTimeout(function checkLibrary() {
3180
- const plugin = lodash_1.default.get(window, property);
3181
- if (plugin) {
3182
- Component.externalLibraries[name].resolve(plugin);
3183
- }
3184
- else {
3185
- // check again after 200 ms.
3186
- setTimeout(checkLibrary, 200);
3187
- }
3188
- }, 200);
3189
- }
3190
- }
3191
- }
3192
- return Component.externalLibraries[name].ready;
3193
- };
3194
- Component.libraryReady = function (name) {
3195
- if (Component.externalLibraries.hasOwnProperty(name) &&
3196
- Component.externalLibraries[name].ready) {
3197
- return Component.externalLibraries[name].ready;
3198
- }
3199
- return Promise.reject(`${name} library was not required.`);
3200
- };