@formio/angular 5.2.1-rc.2 → 5.2.1-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (601) hide show
  1. package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +0 -3
  2. package/FormioBaseComponent.d.ts.map +1 -0
  3. package/FormioBaseComponent.ngfactory.d.ts.map +1 -0
  4. package/README.md +13 -170
  5. package/auth/auth.component.d.ts +3 -0
  6. package/{dist/angular-formio/auth → auth}/auth.component.d.ts.map +1 -1
  7. package/{dist/angular-formio/auth → auth}/auth.config.d.ts +0 -3
  8. package/auth/auth.config.d.ts.map +1 -0
  9. package/auth/auth.module.d.ts +6 -0
  10. package/auth/auth.module.d.ts.map +1 -0
  11. package/{dist/angular-formio/auth → auth}/auth.routes.d.ts +0 -0
  12. package/{dist/angular-formio/auth → auth}/auth.routes.d.ts.map +0 -0
  13. package/{dist/angular-formio/auth → auth}/auth.service.d.ts +0 -3
  14. package/auth/auth.service.d.ts.map +1 -0
  15. package/auth/formio-angular-auth.d.ts +5 -0
  16. package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts.map +1 -1
  17. package/auth/formio-angular-auth.metadata.json +1 -0
  18. package/{dist/angular-formio/auth → auth}/index.d.ts +0 -0
  19. package/{dist/angular-formio/auth → auth}/index.d.ts.map +0 -0
  20. package/auth/login/login.component.d.ts +6 -0
  21. package/{dist/angular-formio/auth → auth}/login/login.component.d.ts.map +1 -1
  22. package/{dist/angular-formio/auth → auth}/package.json +1 -0
  23. package/{dist/angular-formio/auth → auth}/public_api.d.ts +0 -0
  24. package/{dist/angular-formio/auth → auth}/public_api.d.ts.map +0 -0
  25. package/auth/register/register.component.d.ts +6 -0
  26. package/{dist/angular-formio/auth → auth}/register/register.component.d.ts.map +1 -1
  27. package/auth/resetpass/resetpass.component.d.ts +6 -0
  28. package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts.map +1 -1
  29. package/bundles/formio-angular-auth.umd.js +312 -0
  30. package/bundles/formio-angular-auth.umd.js.map +1 -0
  31. package/bundles/formio-angular-grid.umd.js +1010 -0
  32. package/bundles/formio-angular-grid.umd.js.map +1 -0
  33. package/bundles/formio-angular-manager.umd.js +1122 -0
  34. package/bundles/formio-angular-manager.umd.js.map +1 -0
  35. package/bundles/formio-angular-resource.umd.js +556 -0
  36. package/bundles/formio-angular-resource.umd.js.map +1 -0
  37. package/bundles/formio-angular.umd.js +1497 -0
  38. package/bundles/formio-angular.umd.js.map +1 -0
  39. package/components/alerts/formio.alerts.component.d.ts +9 -0
  40. package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts.map +1 -1
  41. package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +1 -0
  42. package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts +0 -0
  43. package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts.map +0 -0
  44. package/components/alerts/parse-html-content.pipe.d.ts +5 -0
  45. package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts.map +1 -1
  46. package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +1 -0
  47. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +0 -3
  48. package/components/formbuilder/formbuilder.component.d.ts.map +1 -0
  49. package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +1 -0
  50. package/{dist/angular-formio/components → components}/formio/formio.component.d.ts +0 -3
  51. package/{dist/angular-formio/components → components}/formio/formio.component.d.ts.map +1 -1
  52. package/components/formio/formio.component.ngfactory.d.ts.map +1 -0
  53. package/components/loader/formio.loader.component.d.ts +4 -0
  54. package/components/loader/formio.loader.component.d.ts.map +1 -0
  55. package/components/loader/formio.loader.component.ngfactory.d.ts.map +1 -0
  56. package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +1 -0
  57. package/{dist/angular-formio/core.d.ts → core.d.ts} +0 -0
  58. package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +0 -0
  59. package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts +0 -0
  60. package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts.map +0 -0
  61. package/custom-component/custom-tags.service.d.ts +5 -0
  62. package/custom-component/custom-tags.service.d.ts.map +1 -0
  63. package/custom-component/custom-tags.service.ngfactory.d.ts.map +1 -0
  64. package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts +0 -0
  65. package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts.map +0 -0
  66. package/{dist/angular-formio/elements.common.d.ts → elements.common.d.ts} +0 -0
  67. package/{dist/angular-formio/elements.common.d.ts.map → elements.common.d.ts.map} +0 -0
  68. package/esm2015/FormioBaseComponent.js +456 -0
  69. package/esm2015/auth/auth.component.js +9 -0
  70. package/esm2015/auth/auth.config.js +12 -0
  71. package/esm2015/auth/auth.module.js +34 -0
  72. package/{dist/angular-formio/esm2015 → esm2015}/auth/auth.routes.js +0 -0
  73. package/esm2015/auth/auth.service.js +160 -0
  74. package/{dist/angular-formio/esm2015 → esm2015}/auth/formio-angular-auth.js +0 -0
  75. package/{dist/angular-formio/esm2015 → esm2015}/auth/index.js +0 -0
  76. package/esm2015/auth/login/login.component.js +16 -0
  77. package/{dist/angular-formio/esm2015 → esm2015}/auth/public_api.js +0 -0
  78. package/esm2015/auth/register/register.component.js +16 -0
  79. package/esm2015/auth/resetpass/resetpass.component.js +16 -0
  80. package/esm2015/components/alerts/formio.alerts.component.js +26 -0
  81. package/{dist/angular-formio/esm2015 → esm2015}/components/alerts/formio.alerts.js +0 -0
  82. package/esm2015/components/alerts/parse-html-content.pipe.js +15 -0
  83. package/esm2015/components/formbuilder/formbuilder.component.js +185 -0
  84. package/esm2015/components/formio/formio.component.js +39 -0
  85. package/esm2015/components/loader/formio.loader.component.js +14 -0
  86. package/{dist/angular-formio/esm2015 → esm2015}/core.js +0 -0
  87. package/{dist/angular-formio/esm2015 → esm2015}/custom-component/create-custom-component.js +0 -0
  88. package/esm2015/custom-component/custom-tags.service.js +13 -0
  89. package/{dist/angular-formio/esm2015 → esm2015}/custom-component/register-custom-component.js +0 -0
  90. package/{dist/angular-formio/esm2015 → esm2015}/elements.common.js +0 -0
  91. package/esm2015/formio-angular.js +7 -0
  92. package/{dist/angular-formio/esm2015 → esm2015}/formio-promise.service.js +0 -0
  93. package/{dist/angular-formio/esm2015 → esm2015}/formio.common.js +0 -0
  94. package/esm2015/formio.config.js +11 -0
  95. package/esm2015/formio.module.js +42 -0
  96. package/{dist/angular-formio/esm2015 → esm2015}/formio.service.js +0 -0
  97. package/{dist/angular-formio/esm2015 → esm2015}/formio.utils.js +0 -0
  98. package/esm2015/grid/GridBodyComponent.js +76 -0
  99. package/esm2015/grid/GridFooterComponent.js +26 -0
  100. package/esm2015/grid/GridHeaderComponent.js +25 -0
  101. package/esm2015/grid/form/FormGridBody.component.js +16 -0
  102. package/esm2015/grid/form/FormGridFooter.component.js +24 -0
  103. package/esm2015/grid/form/FormGridHeader.component.js +24 -0
  104. package/{dist/angular-formio/esm2015 → esm2015}/grid/form/index.js +0 -0
  105. package/esm2015/grid/form/time-since.pipe.js +33 -0
  106. package/esm2015/grid/formio-angular-grid.js +6 -0
  107. package/esm2015/grid/grid.component.js +211 -0
  108. package/esm2015/grid/grid.module.js +61 -0
  109. package/esm2015/grid/grid.service.js +16 -0
  110. package/{dist/angular-formio/esm2015 → esm2015}/grid/index.js +0 -0
  111. package/{dist/angular-formio/esm2015 → esm2015}/grid/public_api.js +0 -0
  112. package/esm2015/grid/submission/SubmissionGridBody.component.js +40 -0
  113. package/esm2015/grid/submission/SubmissionGridFooter.component.js +21 -0
  114. package/esm2015/grid/submission/SubmissionGridHeader.component.js +58 -0
  115. package/{dist/angular-formio/esm2015 → esm2015}/grid/submission/index.js +0 -0
  116. package/{dist/angular-formio/esm2015 → esm2015}/grid/types/grid-column.js +0 -0
  117. package/{dist/angular-formio/esm2015 → esm2015}/grid/types/grid-footer-positions.js +0 -0
  118. package/{dist/angular-formio/esm2015 → esm2015}/grid/types/grid-header.js +0 -0
  119. package/{dist/angular-formio/esm2015 → esm2015}/index.js +0 -0
  120. package/esm2015/manager/create/create.component.js +13 -0
  121. package/esm2015/manager/delete/delete.component.js +42 -0
  122. package/esm2015/manager/edit/edit.component.js +109 -0
  123. package/esm2015/manager/form/form.component.js +73 -0
  124. package/esm2015/manager/form-manager.config.js +12 -0
  125. package/esm2015/manager/form-manager.module.js +56 -0
  126. package/{dist/angular-formio/esm2015 → esm2015}/manager/form-manager.routes.js +0 -0
  127. package/esm2015/manager/form-manager.service.js +180 -0
  128. package/{dist/angular-formio/esm2015 → esm2015}/manager/formio-angular-manager.js +0 -0
  129. package/esm2015/manager/index/index.component.js +86 -0
  130. package/{dist/angular-formio/esm2015 → esm2015}/manager/index.js +0 -0
  131. package/{dist/angular-formio/esm2015 → esm2015}/manager/public_api.js +0 -0
  132. package/esm2015/manager/submission/delete/delete.component.js +32 -0
  133. package/esm2015/manager/submission/edit/edit.component.js +24 -0
  134. package/esm2015/manager/submission/index/index.component.js +24 -0
  135. package/esm2015/manager/submission/submission/submission.component.js +27 -0
  136. package/esm2015/manager/submission/view/view.component.js +16 -0
  137. package/esm2015/manager/view/view.component.js +45 -0
  138. package/{dist/angular-formio/esm2015 → esm2015}/public-api.js +0 -0
  139. package/esm2015/resource/create/create.component.js +40 -0
  140. package/esm2015/resource/delete/delete.component.js +29 -0
  141. package/esm2015/resource/edit/edit.component.js +39 -0
  142. package/{dist/angular-formio/esm2015 → esm2015}/resource/formio-angular-resource.js +0 -0
  143. package/esm2015/resource/index/index.component.js +65 -0
  144. package/{dist/angular-formio/esm2015 → esm2015}/resource/index.js +0 -0
  145. package/{dist/angular-formio/esm2015 → esm2015}/resource/public_api.js +0 -0
  146. package/esm2015/resource/resource.component.js +48 -0
  147. package/esm2015/resource/resource.config.js +12 -0
  148. package/esm2015/resource/resource.module.js +44 -0
  149. package/{dist/angular-formio/esm2015 → esm2015}/resource/resource.routes.js +0 -0
  150. package/esm2015/resource/resource.service.js +187 -0
  151. package/esm2015/resource/resources.service.js +22 -0
  152. package/esm2015/resource/view/view.component.js +24 -0
  153. package/{dist/angular-formio/esm2015 → esm2015}/types/alerts-position.js +0 -0
  154. package/{dist/angular-formio/esm2015 → esm2015}/types/formio-metadata.js +0 -0
  155. package/{dist/angular-formio/esm2015 → esm2015}/types/formio-submission.js +0 -0
  156. package/{dist/angular-formio/fesm2015 → fesm2015}/formio-angular-auth.js +45 -108
  157. package/fesm2015/formio-angular-auth.js.map +1 -0
  158. package/fesm2015/formio-angular-grid.js +624 -0
  159. package/fesm2015/formio-angular-grid.js.map +1 -0
  160. package/fesm2015/formio-angular-manager.js +750 -0
  161. package/fesm2015/formio-angular-manager.js.map +1 -0
  162. package/fesm2015/formio-angular-resource.js +515 -0
  163. package/fesm2015/formio-angular-resource.js.map +1 -0
  164. package/fesm2015/formio-angular.js +1073 -0
  165. package/fesm2015/formio-angular.js.map +1 -0
  166. package/formio-angular.d.ts +7 -0
  167. package/formio-angular.d.ts.map +1 -0
  168. package/formio-angular.metadata.json +1 -0
  169. package/{dist/angular-formio/formio-promise.service.d.ts → formio-promise.service.d.ts} +0 -0
  170. package/{dist/angular-formio/formio-promise.service.d.ts.map → formio-promise.service.d.ts.map} +0 -0
  171. package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +0 -0
  172. package/{dist/angular-formio/formio.common.d.ts.map → formio.common.d.ts.map} +0 -0
  173. package/formio.config.d.ts +7 -0
  174. package/formio.config.d.ts.map +1 -0
  175. package/formio.config.ngfactory.d.ts.map +1 -0
  176. package/formio.module.d.ts +3 -0
  177. package/{dist/angular-formio/formio.module.d.ts.map → formio.module.d.ts.map} +1 -1
  178. package/formio.module.ngfactory.d.ts.map +1 -0
  179. package/{dist/angular-formio/formio.service.d.ts → formio.service.d.ts} +0 -0
  180. package/{dist/angular-formio/formio.service.d.ts.map → formio.service.d.ts.map} +0 -0
  181. package/{dist/angular-formio/formio.utils.d.ts → formio.utils.d.ts} +0 -0
  182. package/{dist/angular-formio/formio.utils.d.ts.map → formio.utils.d.ts.map} +0 -0
  183. package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts +0 -3
  184. package/grid/GridBodyComponent.d.ts.map +1 -0
  185. package/grid/GridBodyComponent.ngfactory.d.ts.map +1 -0
  186. package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts +0 -3
  187. package/grid/GridFooterComponent.d.ts.map +1 -0
  188. package/grid/GridFooterComponent.ngfactory.d.ts.map +1 -0
  189. package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts +0 -3
  190. package/grid/GridHeaderComponent.d.ts.map +1 -0
  191. package/grid/GridHeaderComponent.ngfactory.d.ts.map +1 -0
  192. package/grid/form/FormGridBody.component.d.ts +6 -0
  193. package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts.map +1 -1
  194. package/grid/form/FormGridBody.component.ngfactory.d.ts.map +1 -0
  195. package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +1 -0
  196. package/grid/form/FormGridFooter.component.d.ts +7 -0
  197. package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts.map +1 -1
  198. package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +1 -0
  199. package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts +0 -3
  200. package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts.map +1 -1
  201. package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +1 -0
  202. package/{dist/angular-formio/grid → grid}/form/index.d.ts +0 -0
  203. package/{dist/angular-formio/grid → grid}/form/index.d.ts.map +0 -0
  204. package/grid/form/time-since.pipe.d.ts +5 -0
  205. package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts.map +1 -1
  206. package/grid/form/time-since.pipe.ngfactory.d.ts.map +1 -0
  207. package/grid/formio-angular-grid.d.ts +6 -0
  208. package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts.map +1 -1
  209. package/grid/formio-angular-grid.metadata.json +1 -0
  210. package/{dist/angular-formio/grid → grid}/grid.component.d.ts +0 -3
  211. package/grid/grid.component.d.ts.map +1 -0
  212. package/grid/grid.component.ngfactory.d.ts.map +1 -0
  213. package/grid/grid.component.scss.shim.ngstyle.d.ts.map +1 -0
  214. package/grid/grid.footer.scss.ngstyle.d.ts.map +1 -0
  215. package/grid/grid.module.d.ts +3 -0
  216. package/{dist/angular-formio/grid → grid}/grid.module.d.ts.map +1 -1
  217. package/grid/grid.module.ngfactory.d.ts.map +1 -0
  218. package/grid/grid.service.d.ts +7 -0
  219. package/grid/grid.service.d.ts.map +1 -0
  220. package/grid/grid.service.ngfactory.d.ts.map +1 -0
  221. package/{dist/angular-formio/grid → grid}/index.d.ts +0 -0
  222. package/{dist/angular-formio/grid → grid}/index.d.ts.map +0 -0
  223. package/{dist/angular-formio/grid → grid}/package.json +1 -0
  224. package/{dist/angular-formio/grid → grid}/public_api.d.ts +0 -0
  225. package/{dist/angular-formio/grid → grid}/public_api.d.ts.map +0 -0
  226. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts +0 -3
  227. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts.map +1 -1
  228. package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +1 -0
  229. package/grid/submission/SubmissionGridFooter.component.d.ts +7 -0
  230. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts.map +1 -1
  231. package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +1 -0
  232. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +0 -3
  233. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  234. package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +1 -0
  235. package/{dist/angular-formio/grid → grid}/submission/index.d.ts +0 -0
  236. package/{dist/angular-formio/grid → grid}/submission/index.d.ts.map +0 -0
  237. package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts +0 -0
  238. package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts.map +0 -0
  239. package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts +0 -0
  240. package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts.map +0 -0
  241. package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts +0 -0
  242. package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts.map +0 -0
  243. package/{dist/angular-formio/index.d.ts → index.d.ts} +0 -0
  244. package/{dist/angular-formio/index.d.ts.map → index.d.ts.map} +0 -0
  245. package/manager/create/create.component.d.ts +6 -0
  246. package/{dist/angular-formio/manager → manager}/create/create.component.d.ts.map +1 -1
  247. package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts +0 -3
  248. package/manager/delete/delete.component.d.ts.map +1 -0
  249. package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts +0 -3
  250. package/manager/edit/edit.component.d.ts.map +1 -0
  251. package/{dist/angular-formio/manager → manager}/form/form.component.d.ts +0 -3
  252. package/manager/form/form.component.d.ts.map +1 -0
  253. package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +0 -3
  254. package/manager/form-manager.config.d.ts.map +1 -0
  255. package/manager/form-manager.module.d.ts +6 -0
  256. package/manager/form-manager.module.d.ts.map +1 -0
  257. package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts +0 -0
  258. package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts.map +0 -0
  259. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +0 -3
  260. package/manager/form-manager.service.d.ts.map +1 -0
  261. package/manager/formio-angular-manager.d.ts +5 -0
  262. package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts.map +1 -1
  263. package/manager/formio-angular-manager.metadata.json +1 -0
  264. package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +0 -3
  265. package/manager/index/index.component.d.ts.map +1 -0
  266. package/{dist/angular-formio/manager → manager}/index.d.ts +0 -0
  267. package/{dist/angular-formio/manager → manager}/index.d.ts.map +0 -0
  268. package/{dist/angular-formio/manager → manager}/package.json +1 -0
  269. package/{dist/angular-formio/manager → manager}/public_api.d.ts +0 -0
  270. package/{dist/angular-formio/manager → manager}/public_api.d.ts.map +0 -0
  271. package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts +0 -3
  272. package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts.map +1 -1
  273. package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts +0 -3
  274. package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts.map +1 -1
  275. package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts +0 -3
  276. package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts.map +1 -1
  277. package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts +0 -3
  278. package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts.map +1 -1
  279. package/manager/submission/view/view.component.d.ts +6 -0
  280. package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts.map +1 -1
  281. package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +0 -3
  282. package/manager/view/view.component.d.ts.map +1 -0
  283. package/package.json +27 -51
  284. package/{dist/angular-formio/public-api.d.ts → public-api.d.ts} +0 -0
  285. package/{dist/angular-formio/public-api.d.ts.map → public-api.d.ts.map} +0 -0
  286. package/{dist/angular-formio/resource → resource}/create/create.component.d.ts +0 -3
  287. package/resource/create/create.component.d.ts.map +1 -0
  288. package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts +0 -3
  289. package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts.map +1 -1
  290. package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +0 -3
  291. package/resource/edit/edit.component.d.ts.map +1 -0
  292. package/resource/formio-angular-resource.d.ts +5 -0
  293. package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts.map +1 -1
  294. package/resource/formio-angular-resource.metadata.json +1 -0
  295. package/{dist/angular-formio/resource → resource}/index/index.component.d.ts +0 -3
  296. package/resource/index/index.component.d.ts.map +1 -0
  297. package/{dist/angular-formio/resource → resource}/index.d.ts +0 -0
  298. package/{dist/angular-formio/resource → resource}/index.d.ts.map +0 -0
  299. package/{dist/angular-formio/resource → resource}/package.json +1 -0
  300. package/{dist/angular-formio/resource → resource}/public_api.d.ts +0 -0
  301. package/{dist/angular-formio/resource → resource}/public_api.d.ts.map +0 -0
  302. package/{dist/angular-formio/resource → resource}/resource.component.d.ts +0 -3
  303. package/{dist/angular-formio/resource → resource}/resource.component.d.ts.map +1 -1
  304. package/{dist/angular-formio/resource → resource}/resource.config.d.ts +0 -3
  305. package/resource/resource.config.d.ts.map +1 -0
  306. package/resource/resource.module.d.ts +6 -0
  307. package/resource/resource.module.d.ts.map +1 -0
  308. package/{dist/angular-formio/resource → resource}/resource.routes.d.ts +0 -0
  309. package/{dist/angular-formio/resource → resource}/resource.routes.d.ts.map +0 -0
  310. package/{dist/angular-formio/resource → resource}/resource.service.d.ts +0 -3
  311. package/resource/resource.service.d.ts.map +1 -0
  312. package/{dist/angular-formio/resource → resource}/resources.service.d.ts +0 -3
  313. package/resource/resources.service.d.ts.map +1 -0
  314. package/{dist/angular-formio/resource → resource}/view/view.component.d.ts +0 -3
  315. package/{dist/angular-formio/resource → resource}/view/view.component.d.ts.map +1 -1
  316. package/{dist/angular-formio/types → types}/alerts-position.d.ts +0 -0
  317. package/{dist/angular-formio/types → types}/alerts-position.d.ts.map +0 -0
  318. package/{dist/angular-formio/types → types}/formio-metadata.d.ts +0 -0
  319. package/{dist/angular-formio/types → types}/formio-metadata.d.ts.map +0 -0
  320. package/{dist/angular-formio/types → types}/formio-submission.d.ts +0 -0
  321. package/{dist/angular-formio/types → types}/formio-submission.d.ts.map +0 -0
  322. package/.dockerignore +0 -5
  323. package/.editorconfig +0 -13
  324. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  325. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +0 -15
  326. package/.github/ISSUE_TEMPLATE/question.md +0 -8
  327. package/.travis.yml +0 -4
  328. package/.yo-rc.json +0 -7
  329. package/CHANGELOG.md +0 -1008
  330. package/Dockerfile +0 -20
  331. package/LICENSE +0 -21
  332. package/angular.json +0 -51
  333. package/bs-config.json +0 -11
  334. package/dist/angular-formio/FormioBaseComponent.d.ts.map +0 -1
  335. package/dist/angular-formio/README.md +0 -24
  336. package/dist/angular-formio/auth/auth.component.d.ts +0 -6
  337. package/dist/angular-formio/auth/auth.config.d.ts.map +0 -1
  338. package/dist/angular-formio/auth/auth.module.d.ts +0 -17
  339. package/dist/angular-formio/auth/auth.module.d.ts.map +0 -1
  340. package/dist/angular-formio/auth/auth.service.d.ts.map +0 -1
  341. package/dist/angular-formio/auth/formio-angular-auth.d.ts +0 -6
  342. package/dist/angular-formio/auth/login/login.component.d.ts +0 -9
  343. package/dist/angular-formio/auth/register/register.component.d.ts +0 -9
  344. package/dist/angular-formio/auth/resetpass/resetpass.component.d.ts +0 -9
  345. package/dist/angular-formio/bundles/formio-angular-auth.umd.js +0 -421
  346. package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +0 -1
  347. package/dist/angular-formio/bundles/formio-angular-grid.umd.js +0 -1725
  348. package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +0 -1
  349. package/dist/angular-formio/bundles/formio-angular-manager.umd.js +0 -1648
  350. package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +0 -1
  351. package/dist/angular-formio/bundles/formio-angular-resource.umd.js +0 -720
  352. package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +0 -1
  353. package/dist/angular-formio/bundles/formio-angular.umd.js +0 -1729
  354. package/dist/angular-formio/bundles/formio-angular.umd.js.map +0 -1
  355. package/dist/angular-formio/components/alerts/formio.alerts.component.d.ts +0 -12
  356. package/dist/angular-formio/components/alerts/parse-html-content.pipe.d.ts +0 -8
  357. package/dist/angular-formio/components/formbuilder/formbuilder.component.d.ts.map +0 -1
  358. package/dist/angular-formio/components/loader/formio.loader.component.d.ts +0 -7
  359. package/dist/angular-formio/components/loader/formio.loader.component.d.ts.map +0 -1
  360. package/dist/angular-formio/custom-component/custom-tags.service.d.ts +0 -8
  361. package/dist/angular-formio/custom-component/custom-tags.service.d.ts.map +0 -1
  362. package/dist/angular-formio/esm2015/FormioBaseComponent.js +0 -497
  363. package/dist/angular-formio/esm2015/auth/auth.component.js +0 -39
  364. package/dist/angular-formio/esm2015/auth/auth.config.js +0 -15
  365. package/dist/angular-formio/esm2015/auth/auth.module.js +0 -49
  366. package/dist/angular-formio/esm2015/auth/auth.service.js +0 -159
  367. package/dist/angular-formio/esm2015/auth/login/login.component.js +0 -24
  368. package/dist/angular-formio/esm2015/auth/register/register.component.js +0 -24
  369. package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +0 -24
  370. package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +0 -49
  371. package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +0 -19
  372. package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +0 -203
  373. package/dist/angular-formio/esm2015/components/formio/formio.component.js +0 -87
  374. package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +0 -27
  375. package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +0 -16
  376. package/dist/angular-formio/esm2015/formio-angular.js +0 -5
  377. package/dist/angular-formio/esm2015/formio.config.js +0 -14
  378. package/dist/angular-formio/esm2015/formio.module.js +0 -61
  379. package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +0 -86
  380. package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +0 -41
  381. package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +0 -35
  382. package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +0 -130
  383. package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +0 -118
  384. package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +0 -65
  385. package/dist/angular-formio/esm2015/grid/form/time-since.pipe.js +0 -37
  386. package/dist/angular-formio/esm2015/grid/formio-angular-grid.js +0 -5
  387. package/dist/angular-formio/esm2015/grid/grid.component.js +0 -302
  388. package/dist/angular-formio/esm2015/grid/grid.module.js +0 -90
  389. package/dist/angular-formio/esm2015/grid/grid.service.js +0 -18
  390. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +0 -75
  391. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -107
  392. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -99
  393. package/dist/angular-formio/esm2015/manager/create/create.component.js +0 -68
  394. package/dist/angular-formio/esm2015/manager/delete/delete.component.js +0 -56
  395. package/dist/angular-formio/esm2015/manager/edit/edit.component.js +0 -170
  396. package/dist/angular-formio/esm2015/manager/form/form.component.js +0 -192
  397. package/dist/angular-formio/esm2015/manager/form-manager.config.js +0 -15
  398. package/dist/angular-formio/esm2015/manager/form-manager.module.js +0 -86
  399. package/dist/angular-formio/esm2015/manager/form-manager.service.js +0 -178
  400. package/dist/angular-formio/esm2015/manager/index/index.component.js +0 -130
  401. package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +0 -47
  402. package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +0 -30
  403. package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +0 -30
  404. package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +0 -75
  405. package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +0 -24
  406. package/dist/angular-formio/esm2015/manager/view/view.component.js +0 -57
  407. package/dist/angular-formio/esm2015/resource/create/create.component.js +0 -61
  408. package/dist/angular-formio/esm2015/resource/delete/delete.component.js +0 -42
  409. package/dist/angular-formio/esm2015/resource/edit/edit.component.js +0 -44
  410. package/dist/angular-formio/esm2015/resource/index/index.component.js +0 -72
  411. package/dist/angular-formio/esm2015/resource/resource.component.js +0 -83
  412. package/dist/angular-formio/esm2015/resource/resource.config.js +0 -15
  413. package/dist/angular-formio/esm2015/resource/resource.module.js +0 -65
  414. package/dist/angular-formio/esm2015/resource/resource.service.js +0 -186
  415. package/dist/angular-formio/esm2015/resource/resources.service.js +0 -22
  416. package/dist/angular-formio/esm2015/resource/view/view.component.js +0 -29
  417. package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +0 -1
  418. package/dist/angular-formio/fesm2015/formio-angular-grid.js +0 -1175
  419. package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +0 -1
  420. package/dist/angular-formio/fesm2015/formio-angular-manager.js +0 -1145
  421. package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +0 -1
  422. package/dist/angular-formio/fesm2015/formio-angular-resource.js +0 -612
  423. package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +0 -1
  424. package/dist/angular-formio/fesm2015/formio-angular.js +0 -1232
  425. package/dist/angular-formio/fesm2015/formio-angular.js.map +0 -1
  426. package/dist/angular-formio/formio-angular.d.ts +0 -6
  427. package/dist/angular-formio/formio-angular.d.ts.map +0 -1
  428. package/dist/angular-formio/formio.config.d.ts +0 -10
  429. package/dist/angular-formio/formio.config.d.ts.map +0 -1
  430. package/dist/angular-formio/formio.module.d.ts +0 -14
  431. package/dist/angular-formio/grid/GridBodyComponent.d.ts.map +0 -1
  432. package/dist/angular-formio/grid/GridFooterComponent.d.ts.map +0 -1
  433. package/dist/angular-formio/grid/GridHeaderComponent.d.ts.map +0 -1
  434. package/dist/angular-formio/grid/form/FormGridBody.component.d.ts +0 -9
  435. package/dist/angular-formio/grid/form/FormGridFooter.component.d.ts +0 -10
  436. package/dist/angular-formio/grid/form/time-since.pipe.d.ts +0 -8
  437. package/dist/angular-formio/grid/formio-angular-grid.d.ts +0 -6
  438. package/dist/angular-formio/grid/grid.component.d.ts.map +0 -1
  439. package/dist/angular-formio/grid/grid.module.d.ts +0 -23
  440. package/dist/angular-formio/grid/grid.service.d.ts +0 -10
  441. package/dist/angular-formio/grid/grid.service.d.ts.map +0 -1
  442. package/dist/angular-formio/grid/submission/SubmissionGridFooter.component.d.ts +0 -10
  443. package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
  444. package/dist/angular-formio/manager/create/create.component.d.ts +0 -9
  445. package/dist/angular-formio/manager/delete/delete.component.d.ts.map +0 -1
  446. package/dist/angular-formio/manager/edit/edit.component.d.ts.map +0 -1
  447. package/dist/angular-formio/manager/form/form.component.d.ts.map +0 -1
  448. package/dist/angular-formio/manager/form-manager.config.d.ts.map +0 -1
  449. package/dist/angular-formio/manager/form-manager.module.d.ts +0 -28
  450. package/dist/angular-formio/manager/form-manager.module.d.ts.map +0 -1
  451. package/dist/angular-formio/manager/form-manager.service.d.ts.map +0 -1
  452. package/dist/angular-formio/manager/formio-angular-manager.d.ts +0 -6
  453. package/dist/angular-formio/manager/index/index.component.d.ts.map +0 -1
  454. package/dist/angular-formio/manager/submission/view/view.component.d.ts +0 -9
  455. package/dist/angular-formio/manager/view/view.component.d.ts.map +0 -1
  456. package/dist/angular-formio/package.json +0 -49
  457. package/dist/angular-formio/resource/create/create.component.d.ts.map +0 -1
  458. package/dist/angular-formio/resource/edit/edit.component.d.ts.map +0 -1
  459. package/dist/angular-formio/resource/formio-angular-resource.d.ts +0 -6
  460. package/dist/angular-formio/resource/index/index.component.d.ts.map +0 -1
  461. package/dist/angular-formio/resource/resource.config.d.ts.map +0 -1
  462. package/dist/angular-formio/resource/resource.module.d.ts +0 -20
  463. package/dist/angular-formio/resource/resource.module.d.ts.map +0 -1
  464. package/dist/angular-formio/resource/resource.service.d.ts.map +0 -1
  465. package/dist/angular-formio/resource/resources.service.d.ts.map +0 -1
  466. package/projects/angular-formio/README.md +0 -24
  467. package/projects/angular-formio/auth/package.json +0 -10
  468. package/projects/angular-formio/auth/src/auth.component.html +0 -12
  469. package/projects/angular-formio/auth/src/auth.component.ts +0 -5
  470. package/projects/angular-formio/auth/src/auth.config.ts +0 -72
  471. package/projects/angular-formio/auth/src/auth.module.ts +0 -33
  472. package/projects/angular-formio/auth/src/auth.routes.ts +0 -34
  473. package/projects/angular-formio/auth/src/auth.service.ts +0 -201
  474. package/projects/angular-formio/auth/src/index.ts +0 -8
  475. package/projects/angular-formio/auth/src/login/login.component.html +0 -1
  476. package/projects/angular-formio/auth/src/login/login.component.ts +0 -8
  477. package/projects/angular-formio/auth/src/public_api.ts +0 -5
  478. package/projects/angular-formio/auth/src/register/register.component.html +0 -1
  479. package/projects/angular-formio/auth/src/register/register.component.ts +0 -8
  480. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +0 -1
  481. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +0 -8
  482. package/projects/angular-formio/grid/package.json +0 -11
  483. package/projects/angular-formio/grid/src/GridBodyComponent.ts +0 -80
  484. package/projects/angular-formio/grid/src/GridFooterComponent.ts +0 -25
  485. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +0 -25
  486. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +0 -23
  487. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
  488. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -15
  489. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +0 -21
  490. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +0 -23
  491. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +0 -18
  492. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +0 -24
  493. package/projects/angular-formio/grid/src/form/index.ts +0 -8
  494. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +0 -31
  495. package/projects/angular-formio/grid/src/grid.component.html +0 -18
  496. package/projects/angular-formio/grid/src/grid.component.scss +0 -9
  497. package/projects/angular-formio/grid/src/grid.component.ts +0 -242
  498. package/projects/angular-formio/grid/src/grid.footer.scss +0 -14
  499. package/projects/angular-formio/grid/src/grid.module.ts +0 -57
  500. package/projects/angular-formio/grid/src/grid.service.ts +0 -16
  501. package/projects/angular-formio/grid/src/index.ts +0 -12
  502. package/projects/angular-formio/grid/src/public_api.ts +0 -5
  503. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +0 -7
  504. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +0 -39
  505. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +0 -18
  506. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +0 -20
  507. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +0 -11
  508. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +0 -72
  509. package/projects/angular-formio/grid/src/submission/index.ts +0 -8
  510. package/projects/angular-formio/grid/src/types/grid-column.ts +0 -7
  511. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +0 -5
  512. package/projects/angular-formio/grid/src/types/grid-header.ts +0 -14
  513. package/projects/angular-formio/karma.conf.js +0 -32
  514. package/projects/angular-formio/manager/package.json +0 -15
  515. package/projects/angular-formio/manager/src/create/create.component.ts +0 -11
  516. package/projects/angular-formio/manager/src/delete/delete.component.html +0 -6
  517. package/projects/angular-formio/manager/src/delete/delete.component.ts +0 -37
  518. package/projects/angular-formio/manager/src/edit/edit.component.html +0 -19
  519. package/projects/angular-formio/manager/src/edit/edit.component.ts +0 -107
  520. package/projects/angular-formio/manager/src/form/form.component.html +0 -32
  521. package/projects/angular-formio/manager/src/form/form.component.ts +0 -73
  522. package/projects/angular-formio/manager/src/form-manager.config.ts +0 -26
  523. package/projects/angular-formio/manager/src/form-manager.module.ts +0 -54
  524. package/projects/angular-formio/manager/src/form-manager.routes.ts +0 -75
  525. package/projects/angular-formio/manager/src/form-manager.service.ts +0 -195
  526. package/projects/angular-formio/manager/src/index/index.component.html +0 -14
  527. package/projects/angular-formio/manager/src/index/index.component.scss +0 -22
  528. package/projects/angular-formio/manager/src/index/index.component.ts +0 -84
  529. package/projects/angular-formio/manager/src/index.ts +0 -16
  530. package/projects/angular-formio/manager/src/public_api.ts +0 -5
  531. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +0 -6
  532. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +0 -26
  533. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +0 -7
  534. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +0 -18
  535. package/projects/angular-formio/manager/src/submission/index/index.component.html +0 -1
  536. package/projects/angular-formio/manager/src/submission/index/index.component.ts +0 -18
  537. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +0 -8
  538. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +0 -24
  539. package/projects/angular-formio/manager/src/submission/view/view.component.html +0 -7
  540. package/projects/angular-formio/manager/src/submission/view/view.component.ts +0 -9
  541. package/projects/angular-formio/manager/src/view/view.component.html +0 -10
  542. package/projects/angular-formio/manager/src/view/view.component.ts +0 -41
  543. package/projects/angular-formio/ng-package.json +0 -14
  544. package/projects/angular-formio/package.json +0 -39
  545. package/projects/angular-formio/resource/package.json +0 -11
  546. package/projects/angular-formio/resource/src/create/create.component.html +0 -13
  547. package/projects/angular-formio/resource/src/create/create.component.scss +0 -3
  548. package/projects/angular-formio/resource/src/create/create.component.ts +0 -37
  549. package/projects/angular-formio/resource/src/delete/delete.component.html +0 -5
  550. package/projects/angular-formio/resource/src/delete/delete.component.ts +0 -24
  551. package/projects/angular-formio/resource/src/edit/edit.component.html +0 -6
  552. package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -33
  553. package/projects/angular-formio/resource/src/index/index.component.html +0 -10
  554. package/projects/angular-formio/resource/src/index/index.component.ts +0 -66
  555. package/projects/angular-formio/resource/src/index.js +0 -24
  556. package/projects/angular-formio/resource/src/index.ts +0 -11
  557. package/projects/angular-formio/resource/src/public_api.ts +0 -5
  558. package/projects/angular-formio/resource/src/resource.component.html +0 -7
  559. package/projects/angular-formio/resource/src/resource.component.ts +0 -48
  560. package/projects/angular-formio/resource/src/resource.config.ts +0 -17
  561. package/projects/angular-formio/resource/src/resource.module.ts +0 -43
  562. package/projects/angular-formio/resource/src/resource.routes.ts +0 -43
  563. package/projects/angular-formio/resource/src/resource.service.ts +0 -232
  564. package/projects/angular-formio/resource/src/resources.service.ts +0 -24
  565. package/projects/angular-formio/resource/src/view/view.component.html +0 -6
  566. package/projects/angular-formio/resource/src/view/view.component.ts +0 -19
  567. package/projects/angular-formio/src/FormioBaseComponent.ts +0 -507
  568. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +0 -3
  569. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +0 -19
  570. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +0 -21
  571. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +0 -15
  572. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +0 -1
  573. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +0 -216
  574. package/projects/angular-formio/src/components/formio/formio.component.html +0 -8
  575. package/projects/angular-formio/src/components/formio/formio.component.ts +0 -33
  576. package/projects/angular-formio/src/components/loader/formio.loader.component.html +0 -3
  577. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +0 -26
  578. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +0 -10
  579. package/projects/angular-formio/src/core.ts +0 -21
  580. package/projects/angular-formio/src/custom-component/create-custom-component.ts +0 -173
  581. package/projects/angular-formio/src/custom-component/custom-tags.service.ts +0 -10
  582. package/projects/angular-formio/src/custom-component/register-custom-component.ts +0 -41
  583. package/projects/angular-formio/src/elements.common.ts +0 -31
  584. package/projects/angular-formio/src/formio-promise.service.ts +0 -36
  585. package/projects/angular-formio/src/formio.common.ts +0 -81
  586. package/projects/angular-formio/src/formio.config.ts +0 -9
  587. package/projects/angular-formio/src/formio.module.ts +0 -39
  588. package/projects/angular-formio/src/formio.service.ts +0 -57
  589. package/projects/angular-formio/src/formio.utils.ts +0 -23
  590. package/projects/angular-formio/src/index.ts +0 -5
  591. package/projects/angular-formio/src/public-api.ts +0 -5
  592. package/projects/angular-formio/src/test.ts +0 -26
  593. package/projects/angular-formio/src/types/alerts-position.ts +0 -6
  594. package/projects/angular-formio/src/types/formio-metadata.ts +0 -10
  595. package/projects/angular-formio/src/types/formio-submission.ts +0 -20
  596. package/projects/angular-formio/tsconfig.lib.json +0 -27
  597. package/projects/angular-formio/tsconfig.lib.prod.json +0 -8
  598. package/projects/angular-formio/tsconfig.spec.json +0 -17
  599. package/projects/angular-formio/tslint.json +0 -17
  600. package/tsconfig.json +0 -28
  601. package/tslint.json +0 -140
@@ -0,0 +1,1497 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('formiojs'), require('@angular/router'), require('lodash'), require('formiojs/utils/Evaluator'), require('formiojs/utils/utils'), require('@angular/common'), require('@angular/elements')) :
3
+ typeof define === 'function' && define.amd ? define('@formio/angular', ['exports', '@angular/core', 'rxjs', 'formiojs', '@angular/router', 'lodash', 'formiojs/utils/Evaluator', 'formiojs/utils/utils', '@angular/common', '@angular/elements'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.formio = global.formio || {}, global.formio.angular = {}), global.ng.core, global.rxjs, global.formiojs, global.ng.router, global._, global.Evaluator, global.utils, global.ng.common, global.ng.elements));
5
+ })(this, (function (exports, core, rxjs, formiojs, router, lodash, Evaluator, utils, common, elements) { 'use strict';
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var Evaluator__default = /*#__PURE__*/_interopDefaultLegacy(Evaluator);
10
+
11
+ var FormioAppConfig = /** @class */ (function () {
12
+ function FormioAppConfig() {
13
+ this.appUrl = '';
14
+ this.apiUrl = '';
15
+ }
16
+ return FormioAppConfig;
17
+ }());
18
+ FormioAppConfig.decorators = [
19
+ { type: core.Injectable }
20
+ ];
21
+
22
+ var FormioError = /** @class */ (function () {
23
+ function FormioError(message, component, silent) {
24
+ this.message = message;
25
+ this.component = component;
26
+ this.silent = silent;
27
+ }
28
+ return FormioError;
29
+ }());
30
+
31
+ var FormioService = /** @class */ (function () {
32
+ function FormioService(url, options) {
33
+ this.url = url;
34
+ this.options = options;
35
+ this.formio = new formiojs.Formio(this.url, this.options);
36
+ }
37
+ FormioService.prototype.requestWrapper = function (fn) {
38
+ var record;
39
+ var called = false;
40
+ return rxjs.Observable.create(function (observer) {
41
+ try {
42
+ if (!called) {
43
+ called = true;
44
+ fn()
45
+ .then(function (_record) {
46
+ record = _record;
47
+ observer.next(record);
48
+ observer.complete();
49
+ })
50
+ .catch(function (err) { return observer.error(err); });
51
+ }
52
+ else if (record) {
53
+ observer.next(record);
54
+ observer.complete();
55
+ }
56
+ }
57
+ catch (err) {
58
+ observer.error(err);
59
+ }
60
+ });
61
+ };
62
+ FormioService.prototype.saveForm = function (form, options) {
63
+ var _this = this;
64
+ return this.requestWrapper(function () { return _this.formio.saveForm(form, options); });
65
+ };
66
+ FormioService.prototype.loadForm = function (query, options) {
67
+ var _this = this;
68
+ return this.requestWrapper(function () { return _this.formio.loadForm(query, options); });
69
+ };
70
+ FormioService.prototype.loadForms = function (query, options) {
71
+ var _this = this;
72
+ return this.requestWrapper(function () { return _this.formio.loadForms(query, options); });
73
+ };
74
+ FormioService.prototype.loadSubmission = function (query, options) {
75
+ var _this = this;
76
+ return this.requestWrapper(function () { return _this.formio.loadSubmission(query, options); });
77
+ };
78
+ FormioService.prototype.userPermissions = function (user, form, submission) {
79
+ var _this = this;
80
+ return this.requestWrapper(function () { return _this.formio.userPermissions(user, form, submission); });
81
+ };
82
+ FormioService.prototype.deleteSubmission = function (data, options) {
83
+ var _this = this;
84
+ return this.requestWrapper(function () { return _this.formio.deleteSubmission(data, options); });
85
+ };
86
+ FormioService.prototype.saveSubmission = function (submission, options) {
87
+ var _this = this;
88
+ return this.requestWrapper(function () { return _this.formio.saveSubmission(submission, options); });
89
+ };
90
+ FormioService.prototype.loadSubmissions = function (query, options) {
91
+ var _this = this;
92
+ return this.requestWrapper(function () { return _this.formio.loadSubmissions(query, options); });
93
+ };
94
+ return FormioService;
95
+ }());
96
+
97
+ var FormioPromiseService = /** @class */ (function () {
98
+ function FormioPromiseService(url, options) {
99
+ this.url = url;
100
+ this.options = options;
101
+ this.formioService = new FormioService(url, options);
102
+ }
103
+ FormioPromiseService.prototype.saveForm = function (form, options) {
104
+ return this.formioService.saveForm(form, options).toPromise();
105
+ };
106
+ FormioPromiseService.prototype.loadForm = function (query, options) {
107
+ return this.formioService.loadForm(query, options).toPromise();
108
+ };
109
+ FormioPromiseService.prototype.loadSubmission = function (query, options) {
110
+ return this.formioService.loadSubmission(query, options).toPromise();
111
+ };
112
+ FormioPromiseService.prototype.userPermissions = function (user, form, submission) {
113
+ return this.formioService.userPermissions(user, form, submission).toPromise();
114
+ };
115
+ FormioPromiseService.prototype.deleteSubmission = function (data, options) {
116
+ return this.formioService.deleteSubmission(data, options).toPromise();
117
+ };
118
+ FormioPromiseService.prototype.loadForms = function (query, options) {
119
+ return this.formioService.loadForms(query, options).toPromise();
120
+ };
121
+ FormioPromiseService.prototype.saveSubmission = function (submission, options) {
122
+ return this.formioService.saveSubmission(submission, options).toPromise();
123
+ };
124
+ FormioPromiseService.prototype.loadSubmissions = function (query, options) {
125
+ return this.formioService.loadSubmissions(query, options).toPromise();
126
+ };
127
+ return FormioPromiseService;
128
+ }());
129
+
130
+ function extendRouter(Class, config, ClassRoutes) {
131
+ lodash.each(Class.decorators, function (decorator) {
132
+ lodash.each(decorator.args, function (arg) {
133
+ if (arg.declarations) {
134
+ lodash.each(config, function (component) { return arg.declarations.push(component); });
135
+ }
136
+ if (arg.imports) {
137
+ lodash.each(arg.imports, function (_import, index) {
138
+ if ((_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||
139
+ (_import.name === 'RouterModule')) {
140
+ arg.imports[index] = router.RouterModule.forChild(ClassRoutes(config));
141
+ }
142
+ });
143
+ }
144
+ });
145
+ });
146
+ return Class;
147
+ }
148
+
149
+ var FormioAlerts = /** @class */ (function () {
150
+ function FormioAlerts() {
151
+ this.alerts = [];
152
+ }
153
+ FormioAlerts.prototype.setAlert = function (alert) {
154
+ this.alerts = [alert];
155
+ };
156
+ FormioAlerts.prototype.addAlert = function (alert) {
157
+ this.alerts.push(alert);
158
+ };
159
+ FormioAlerts.prototype.setAlerts = function (alerts) {
160
+ this.alerts = alerts;
161
+ };
162
+ return FormioAlerts;
163
+ }());
164
+
165
+ var CustomTagsService = /** @class */ (function () {
166
+ function CustomTagsService() {
167
+ this.tags = [];
168
+ }
169
+ CustomTagsService.prototype.addCustomTag = function (tag) {
170
+ this.tags.push(tag);
171
+ };
172
+ return CustomTagsService;
173
+ }());
174
+ CustomTagsService.decorators = [
175
+ { type: core.Injectable }
176
+ ];
177
+
178
+ var AlertsPosition;
179
+ (function (AlertsPosition) {
180
+ AlertsPosition[AlertsPosition["none"] = 0] = "none";
181
+ AlertsPosition[AlertsPosition["top"] = 1] = "top";
182
+ AlertsPosition[AlertsPosition["bottom"] = 2] = "bottom";
183
+ AlertsPosition[AlertsPosition["both"] = 3] = "both";
184
+ })(AlertsPosition || (AlertsPosition = {}));
185
+
186
+ var FormioBaseComponent = /** @class */ (function () {
187
+ function FormioBaseComponent(ngZone, config, customTags) {
188
+ var _this = this;
189
+ this.ngZone = ngZone;
190
+ this.config = config;
191
+ this.customTags = customTags;
192
+ this.submission = {};
193
+ this.noeval = Evaluator__default["default"].noeval;
194
+ this.readOnly = false;
195
+ this.viewOnly = false;
196
+ this.hooks = {};
197
+ this.watchSubmissionErrors = false;
198
+ this.render = new core.EventEmitter();
199
+ this.customEvent = new core.EventEmitter();
200
+ this.fileUploadingStatus = new core.EventEmitter();
201
+ this.submit = new core.EventEmitter();
202
+ this.prevPage = new core.EventEmitter();
203
+ this.nextPage = new core.EventEmitter();
204
+ this.beforeSubmit = new core.EventEmitter();
205
+ this.change = new core.EventEmitter();
206
+ this.invalid = new core.EventEmitter();
207
+ this.errorChange = new core.EventEmitter();
208
+ this.formLoad = new core.EventEmitter();
209
+ this.submissionLoad = new core.EventEmitter();
210
+ this.ready = new core.EventEmitter();
211
+ this.AlertsPosition = AlertsPosition;
212
+ this.initialized = false;
213
+ this.alerts = new FormioAlerts();
214
+ this.submitting = false;
215
+ this.submissionSuccess = false;
216
+ this.isLoading = true;
217
+ this.formioReady = new Promise(function (ready) {
218
+ _this.formioReadyResolve = ready;
219
+ });
220
+ }
221
+ FormioBaseComponent.prototype.getRenderer = function () {
222
+ return this.renderer;
223
+ };
224
+ FormioBaseComponent.prototype.getRendererOptions = function () {
225
+ var extraTags = this.customTags ? this.customTags.tags : [];
226
+ return lodash.assign({}, {
227
+ icons: lodash.get(this.config, 'icons', 'fontawesome'),
228
+ noAlerts: lodash.get(this.options, 'noAlerts', true),
229
+ readOnly: this.readOnly,
230
+ viewAsHtml: this.viewOnly,
231
+ i18n: lodash.get(this.options, 'i18n', null),
232
+ fileService: lodash.get(this.options, 'fileService', null),
233
+ hooks: this.hooks,
234
+ sanitizeConfig: {
235
+ addTags: extraTags
236
+ }
237
+ }, this.renderOptions || {});
238
+ };
239
+ FormioBaseComponent.prototype.createRenderer = function () {
240
+ var Renderer = this.getRenderer();
241
+ var form = (new Renderer(this.formioElement ? this.formioElement.nativeElement : null, this.form, this.getRendererOptions()));
242
+ return form.instance;
243
+ };
244
+ FormioBaseComponent.prototype.setForm = function (form) {
245
+ var _this = this;
246
+ this.form = form;
247
+ if (this.formio) {
248
+ this.formio.destroy();
249
+ }
250
+ if (this.form.title) {
251
+ this.label = this.form.title;
252
+ }
253
+ else if (this.form.components && this.form.components[0]) {
254
+ this.label = this.form.components[0].label;
255
+ }
256
+ // Clear out the element to render the new form.
257
+ if (this.formioElement && this.formioElement.nativeElement) {
258
+ this.formioElement.nativeElement.innerHTML = '';
259
+ }
260
+ this.formio = this.createRenderer();
261
+ this.formio.submission = this.submission;
262
+ if (this.renderOptions && this.renderOptions.validateOnInit) {
263
+ this.formio.setValue(this.submission, { validateOnInit: true });
264
+ }
265
+ if (this.url) {
266
+ this.formio.setUrl(this.url, this.formioOptions || {});
267
+ }
268
+ if (this.src) {
269
+ this.formio.setUrl(this.src, this.formioOptions || {});
270
+ }
271
+ this.formio.nosubmit = true;
272
+ this.formio.on('prevPage', function (data) { return _this.ngZone.run(function () { return _this.onPrevPage(data); }); });
273
+ this.formio.on('nextPage', function (data) { return _this.ngZone.run(function () { return _this.onNextPage(data); }); });
274
+ this.formio.on('change', function (value, flags, isModified) { return _this.ngZone.run(function () { return _this.onChange(value, flags, isModified); }); });
275
+ this.formio.on('customEvent', function (event) { return _this.ngZone.run(function () { return _this.customEvent.emit(event); }); });
276
+ ['fileUploadingStart', 'fileUploadingEnd'].forEach(function (eventName, index) {
277
+ var status = !!index ? 'end' : 'start';
278
+ _this.formio.on(eventName, function () { return _this.ngZone.run(function () { return _this.fileUploadingStatus.emit(status); }); });
279
+ });
280
+ this.formio.on('submit', function (submission, saved) { return _this.ngZone.run(function () { return _this.submitForm(submission, saved); }); });
281
+ this.formio.on('error', function (err) { return _this.ngZone.run(function () {
282
+ _this.submissionSuccess = false;
283
+ return _this.onError(err);
284
+ }); });
285
+ this.formio.on('render', function () { return _this.ngZone.run(function () { return _this.render.emit(); }); });
286
+ this.formio.on('formLoad', function (loadedForm) { return _this.ngZone.run(function () { return _this.formLoad.emit(loadedForm); }); });
287
+ return this.formio.ready.then(function () {
288
+ _this.ngZone.run(function () {
289
+ _this.isLoading = false;
290
+ _this.ready.emit(_this);
291
+ _this.formioReadyResolve(_this.formio);
292
+ if (_this.formio.submissionReady) {
293
+ _this.formio.submissionReady.then(function (submission) {
294
+ _this.submissionLoad.emit(submission);
295
+ });
296
+ }
297
+ });
298
+ return _this.formio;
299
+ });
300
+ };
301
+ FormioBaseComponent.prototype.initialize = function () {
302
+ if (this.initialized) {
303
+ return;
304
+ }
305
+ var extraTags = this.customTags ? this.customTags.tags : [];
306
+ var defaultOptions = {
307
+ errors: {
308
+ message: 'Please fix the following errors before submitting.'
309
+ },
310
+ alerts: {
311
+ submitMessage: 'Submission Complete.'
312
+ },
313
+ disableAlerts: false,
314
+ hooks: {
315
+ beforeSubmit: null
316
+ },
317
+ sanitizeConfig: {
318
+ addTags: extraTags
319
+ },
320
+ alertsPosition: AlertsPosition.top,
321
+ };
322
+ this.options = Object.assign(defaultOptions, this.options);
323
+ if (this.options.disableAlerts) {
324
+ this.options.alertsPosition = AlertsPosition.none;
325
+ }
326
+ this.initialized = true;
327
+ };
328
+ FormioBaseComponent.prototype.ngOnInit = function () {
329
+ var _this = this;
330
+ Evaluator__default["default"].noeval = this.noeval;
331
+ this.initialize();
332
+ if (this.language) {
333
+ if (typeof this.language === 'string') {
334
+ this.formio.language = this.language;
335
+ }
336
+ else {
337
+ this.language.subscribe(function (lang) {
338
+ _this.formio.language = lang;
339
+ });
340
+ }
341
+ }
342
+ if (this.refresh) {
343
+ this.refresh.subscribe(function (refresh) { return _this.onRefresh(refresh); });
344
+ }
345
+ if (this.error) {
346
+ this.error.subscribe(function (err) { return _this.onError(err); });
347
+ }
348
+ if (this.success) {
349
+ this.success.subscribe(function (message) {
350
+ _this.alerts.setAlert({
351
+ type: 'success',
352
+ message: message || lodash.get(_this.options, 'alerts.submitMessage')
353
+ });
354
+ });
355
+ }
356
+ if (this.src) {
357
+ if (!this.service) {
358
+ this.service = new FormioService(this.src);
359
+ }
360
+ this.isLoading = true;
361
+ this.service.loadForm({ params: { live: 1 } }).subscribe(function (form) {
362
+ if (form && form.components) {
363
+ _this.ngZone.runOutsideAngular(function () {
364
+ _this.setForm(form);
365
+ });
366
+ }
367
+ // if a submission is also provided.
368
+ if (lodash.isEmpty(_this.submission) &&
369
+ _this.service &&
370
+ _this.service.formio.submissionId) {
371
+ _this.service.loadSubmission().subscribe(function (submission) {
372
+ if (_this.readOnly) {
373
+ _this.formio.options.readOnly = true;
374
+ }
375
+ _this.submission = _this.formio.submission = submission;
376
+ }, function (err) { return _this.onError(err); });
377
+ }
378
+ }, function (err) { return _this.onError(err); });
379
+ }
380
+ if (this.url && !this.service) {
381
+ this.service = new FormioService(this.url);
382
+ }
383
+ };
384
+ FormioBaseComponent.prototype.ngOnDestroy = function () {
385
+ if (this.formio) {
386
+ this.formio.destroy();
387
+ }
388
+ };
389
+ FormioBaseComponent.prototype.onRefresh = function (refresh) {
390
+ var _this = this;
391
+ this.formioReady.then(function () {
392
+ if (refresh.form) {
393
+ _this.formio.setForm(refresh.form).then(function () {
394
+ if (refresh.submission) {
395
+ _this.formio.setSubmission(refresh.submission);
396
+ }
397
+ });
398
+ }
399
+ else if (refresh.submission) {
400
+ _this.formio.setSubmission(refresh.submission);
401
+ }
402
+ else {
403
+ switch (refresh.property) {
404
+ case 'submission':
405
+ _this.formio.submission = refresh.value;
406
+ break;
407
+ case 'form':
408
+ _this.formio.form = refresh.value;
409
+ break;
410
+ }
411
+ }
412
+ });
413
+ };
414
+ FormioBaseComponent.prototype.ngOnChanges = function (changes) {
415
+ var _this = this;
416
+ Evaluator__default["default"].noeval = this.noeval;
417
+ this.initialize();
418
+ if (changes.form && changes.form.currentValue) {
419
+ this.ngZone.runOutsideAngular(function () {
420
+ _this.setForm(changes.form.currentValue);
421
+ });
422
+ }
423
+ this.formioReady.then(function () {
424
+ if (changes.submission && changes.submission.currentValue) {
425
+ _this.formio.setSubmission(changes.submission.currentValue, {
426
+ fromSubmission: false,
427
+ });
428
+ }
429
+ if (changes.hideComponents && changes.hideComponents.currentValue) {
430
+ var hiddenComponents_1 = changes.hideComponents.currentValue;
431
+ _this.formio.options.hide = hiddenComponents_1;
432
+ _this.formio.everyComponent(function (component) {
433
+ component.options.hide = hiddenComponents_1;
434
+ if (hiddenComponents_1.includes(component.component.key)) {
435
+ component.visible = false;
436
+ }
437
+ });
438
+ }
439
+ });
440
+ };
441
+ FormioBaseComponent.prototype.onPrevPage = function (data) {
442
+ this.alerts.setAlerts([]);
443
+ this.prevPage.emit(data);
444
+ };
445
+ FormioBaseComponent.prototype.onNextPage = function (data) {
446
+ this.alerts.setAlerts([]);
447
+ this.nextPage.emit(data);
448
+ };
449
+ FormioBaseComponent.prototype.onSubmit = function (submission, saved, noemit) {
450
+ this.submitting = false;
451
+ this.submissionSuccess = true;
452
+ this.formio.setValue(utils.fastCloneDeep(submission), {
453
+ noValidate: true,
454
+ noCheck: true
455
+ });
456
+ if (saved) {
457
+ this.formio.emit('submitDone', submission);
458
+ }
459
+ if (!noemit) {
460
+ this.submit.emit(submission);
461
+ }
462
+ if (!this.success) {
463
+ this.alerts.setAlert({
464
+ type: 'success',
465
+ message: lodash.get(this.options, 'alerts.submitMessage')
466
+ });
467
+ }
468
+ };
469
+ FormioBaseComponent.prototype.onError = function (err) {
470
+ var _this = this;
471
+ this.alerts.setAlerts([]);
472
+ this.submitting = false;
473
+ this.isLoading = false;
474
+ if (!err) {
475
+ return;
476
+ }
477
+ // Make sure it is an array.
478
+ var errors = Array.isArray(err) ? err : [err];
479
+ // Emit these errors again.
480
+ this.errorChange.emit(errors);
481
+ if (err.silent) {
482
+ return;
483
+ }
484
+ if (this.formio && errors.length) {
485
+ this.formio.emit('submitError', errors);
486
+ }
487
+ // Iterate through each one and set the alerts array.
488
+ errors.forEach(function (error) {
489
+ var _a = error
490
+ ? error.details
491
+ ? {
492
+ message: error.details.map(function (detail) { return detail.message; }),
493
+ paths: error.details.map(function (detail) { return detail.path; }),
494
+ }
495
+ : {
496
+ message: error.message || error.toString(),
497
+ paths: error.path ? [error.path] : [],
498
+ }
499
+ : {
500
+ message: '',
501
+ paths: [],
502
+ }, message = _a.message, paths = _a.paths;
503
+ var shouldErrorDisplay = true;
504
+ if (_this.formio) {
505
+ paths.forEach(function (path, index) {
506
+ var component = _this.formio.getComponent(path);
507
+ if (component) {
508
+ var components = Array.isArray(component) ? component : [component];
509
+ var messageText_1 = Array.isArray(message) ? message[index] : message;
510
+ components.forEach(function (comp) { return comp.setCustomValidity(messageText_1, true); });
511
+ _this.alerts.addAlert({
512
+ type: 'danger',
513
+ message: message[index],
514
+ component: component,
515
+ });
516
+ shouldErrorDisplay = false;
517
+ }
518
+ });
519
+ if (window.VPAT_ENABLED) {
520
+ if (typeof error === 'string' && _this.formio.components) {
521
+ _this.formio.components.forEach(function (comp) {
522
+ if (comp && comp.type !== 'button') {
523
+ comp.setCustomValidity(message, true);
524
+ }
525
+ });
526
+ }
527
+ }
528
+ if (!_this.noAlerts) {
529
+ _this.formio.showErrors();
530
+ }
531
+ }
532
+ if (shouldErrorDisplay) {
533
+ _this.alerts.addAlert({
534
+ type: 'danger',
535
+ message: message,
536
+ component: error.component,
537
+ });
538
+ }
539
+ });
540
+ };
541
+ FormioBaseComponent.prototype.focusOnComponet = function (key) {
542
+ if (this.formio) {
543
+ this.formio.focusOnComponent(key);
544
+ }
545
+ };
546
+ FormioBaseComponent.prototype.submitExecute = function (submission, saved) {
547
+ var _this = this;
548
+ if (saved === void 0) { saved = false; }
549
+ if (this.service && !this.url && !saved) {
550
+ this.service
551
+ .saveSubmission(submission)
552
+ .subscribe(function (sub) { return _this.onSubmit(sub, true); }, function (err) { return _this.onError(err); });
553
+ }
554
+ else {
555
+ this.onSubmit(submission, false);
556
+ }
557
+ };
558
+ FormioBaseComponent.prototype.submitForm = function (submission, saved) {
559
+ var _this = this;
560
+ if (saved === void 0) { saved = false; }
561
+ // Keep double submits from occurring...
562
+ if (this.submitting) {
563
+ return;
564
+ }
565
+ this.formio.setMetadata(submission);
566
+ this.submissionSuccess = false;
567
+ this.submitting = true;
568
+ this.beforeSubmit.emit(submission);
569
+ // if they provide a beforeSubmit hook, then allow them to alter the submission asynchronously
570
+ // or even provide a custom Error method.
571
+ var beforeSubmit = lodash.get(this.options, 'hooks.beforeSubmit');
572
+ if (beforeSubmit) {
573
+ beforeSubmit(submission, function (err, sub) {
574
+ if (err) {
575
+ _this.onError(err);
576
+ return;
577
+ }
578
+ _this.submitExecute(sub, saved);
579
+ });
580
+ }
581
+ else {
582
+ this.submitExecute(submission, saved);
583
+ }
584
+ };
585
+ FormioBaseComponent.prototype.onChange = function (value, flags, isModified) {
586
+ if (this.watchSubmissionErrors && !this.submissionSuccess) {
587
+ var errors = lodash.get(this, 'formio.errors', []);
588
+ var alerts = lodash.get(this, 'alerts.alerts', []);
589
+ var submitted = lodash.get(this, 'formio.submitted', false);
590
+ if (submitted && (errors.length || alerts.length)) {
591
+ this.onError(errors);
592
+ }
593
+ }
594
+ return this.change.emit(Object.assign(Object.assign({}, value), { flags: flags, isModified: isModified }));
595
+ };
596
+ return FormioBaseComponent;
597
+ }());
598
+ FormioBaseComponent.decorators = [
599
+ { type: core.Component, args: [{
600
+ template: ''
601
+ },] }
602
+ ];
603
+ FormioBaseComponent.ctorParameters = function () { return [
604
+ { type: core.NgZone },
605
+ { type: FormioAppConfig, decorators: [{ type: core.Optional }] },
606
+ { type: CustomTagsService, decorators: [{ type: core.Optional }] }
607
+ ]; };
608
+ FormioBaseComponent.propDecorators = {
609
+ form: [{ type: core.Input }],
610
+ submission: [{ type: core.Input }],
611
+ src: [{ type: core.Input }],
612
+ url: [{ type: core.Input }],
613
+ service: [{ type: core.Input }],
614
+ options: [{ type: core.Input }],
615
+ noeval: [{ type: core.Input }],
616
+ formioOptions: [{ type: core.Input }],
617
+ renderOptions: [{ type: core.Input }],
618
+ readOnly: [{ type: core.Input }],
619
+ viewOnly: [{ type: core.Input }],
620
+ hideComponents: [{ type: core.Input }],
621
+ refresh: [{ type: core.Input }],
622
+ error: [{ type: core.Input }],
623
+ success: [{ type: core.Input }],
624
+ language: [{ type: core.Input }],
625
+ hooks: [{ type: core.Input }],
626
+ renderer: [{ type: core.Input }],
627
+ watchSubmissionErrors: [{ type: core.Input }],
628
+ render: [{ type: core.Output }],
629
+ customEvent: [{ type: core.Output }],
630
+ fileUploadingStatus: [{ type: core.Output }],
631
+ submit: [{ type: core.Output }],
632
+ prevPage: [{ type: core.Output }],
633
+ nextPage: [{ type: core.Output }],
634
+ beforeSubmit: [{ type: core.Output }],
635
+ change: [{ type: core.Output }],
636
+ invalid: [{ type: core.Output }],
637
+ errorChange: [{ type: core.Output }],
638
+ formLoad: [{ type: core.Output }],
639
+ submissionLoad: [{ type: core.Output }],
640
+ ready: [{ type: core.Output }],
641
+ formioElement: [{ type: core.ViewChild, args: ['formio', { static: true },] }]
642
+ };
643
+
644
+ /*! *****************************************************************************
645
+ Copyright (c) Microsoft Corporation.
646
+
647
+ Permission to use, copy, modify, and/or distribute this software for any
648
+ purpose with or without fee is hereby granted.
649
+
650
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
651
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
652
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
653
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
654
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
655
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
656
+ PERFORMANCE OF THIS SOFTWARE.
657
+ ***************************************************************************** */
658
+ /* global Reflect, Promise */
659
+ var extendStatics = function (d, b) {
660
+ extendStatics = Object.setPrototypeOf ||
661
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
662
+ function (d, b) { for (var p in b)
663
+ if (Object.prototype.hasOwnProperty.call(b, p))
664
+ d[p] = b[p]; };
665
+ return extendStatics(d, b);
666
+ };
667
+ function __extends(d, b) {
668
+ if (typeof b !== "function" && b !== null)
669
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
670
+ extendStatics(d, b);
671
+ function __() { this.constructor = d; }
672
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
673
+ }
674
+ var __assign = function () {
675
+ __assign = Object.assign || function __assign(t) {
676
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
677
+ s = arguments[i];
678
+ for (var p in s)
679
+ if (Object.prototype.hasOwnProperty.call(s, p))
680
+ t[p] = s[p];
681
+ }
682
+ return t;
683
+ };
684
+ return __assign.apply(this, arguments);
685
+ };
686
+ function __rest(s, e) {
687
+ var t = {};
688
+ for (var p in s)
689
+ if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
690
+ t[p] = s[p];
691
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
692
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
693
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
694
+ t[p[i]] = s[p[i]];
695
+ }
696
+ return t;
697
+ }
698
+ function __decorate(decorators, target, key, desc) {
699
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
700
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
701
+ r = Reflect.decorate(decorators, target, key, desc);
702
+ else
703
+ for (var i = decorators.length - 1; i >= 0; i--)
704
+ if (d = decorators[i])
705
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
706
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
707
+ }
708
+ function __param(paramIndex, decorator) {
709
+ return function (target, key) { decorator(target, key, paramIndex); };
710
+ }
711
+ function __metadata(metadataKey, metadataValue) {
712
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
713
+ return Reflect.metadata(metadataKey, metadataValue);
714
+ }
715
+ function __awaiter(thisArg, _arguments, P, generator) {
716
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
717
+ return new (P || (P = Promise))(function (resolve, reject) {
718
+ function fulfilled(value) { try {
719
+ step(generator.next(value));
720
+ }
721
+ catch (e) {
722
+ reject(e);
723
+ } }
724
+ function rejected(value) { try {
725
+ step(generator["throw"](value));
726
+ }
727
+ catch (e) {
728
+ reject(e);
729
+ } }
730
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
731
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
732
+ });
733
+ }
734
+ function __generator(thisArg, body) {
735
+ var _ = { label: 0, sent: function () { if (t[0] & 1)
736
+ throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
737
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
738
+ function verb(n) { return function (v) { return step([n, v]); }; }
739
+ function step(op) {
740
+ if (f)
741
+ throw new TypeError("Generator is already executing.");
742
+ while (_)
743
+ try {
744
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
745
+ return t;
746
+ if (y = 0, t)
747
+ op = [op[0] & 2, t.value];
748
+ switch (op[0]) {
749
+ case 0:
750
+ case 1:
751
+ t = op;
752
+ break;
753
+ case 4:
754
+ _.label++;
755
+ return { value: op[1], done: false };
756
+ case 5:
757
+ _.label++;
758
+ y = op[1];
759
+ op = [0];
760
+ continue;
761
+ case 7:
762
+ op = _.ops.pop();
763
+ _.trys.pop();
764
+ continue;
765
+ default:
766
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
767
+ _ = 0;
768
+ continue;
769
+ }
770
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
771
+ _.label = op[1];
772
+ break;
773
+ }
774
+ if (op[0] === 6 && _.label < t[1]) {
775
+ _.label = t[1];
776
+ t = op;
777
+ break;
778
+ }
779
+ if (t && _.label < t[2]) {
780
+ _.label = t[2];
781
+ _.ops.push(op);
782
+ break;
783
+ }
784
+ if (t[2])
785
+ _.ops.pop();
786
+ _.trys.pop();
787
+ continue;
788
+ }
789
+ op = body.call(thisArg, _);
790
+ }
791
+ catch (e) {
792
+ op = [6, e];
793
+ y = 0;
794
+ }
795
+ finally {
796
+ f = t = 0;
797
+ }
798
+ if (op[0] & 5)
799
+ throw op[1];
800
+ return { value: op[0] ? op[1] : void 0, done: true };
801
+ }
802
+ }
803
+ var __createBinding = Object.create ? (function (o, m, k, k2) {
804
+ if (k2 === undefined)
805
+ k2 = k;
806
+ Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
807
+ }) : (function (o, m, k, k2) {
808
+ if (k2 === undefined)
809
+ k2 = k;
810
+ o[k2] = m[k];
811
+ });
812
+ function __exportStar(m, o) {
813
+ for (var p in m)
814
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
815
+ __createBinding(o, m, p);
816
+ }
817
+ function __values(o) {
818
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
819
+ if (m)
820
+ return m.call(o);
821
+ if (o && typeof o.length === "number")
822
+ return {
823
+ next: function () {
824
+ if (o && i >= o.length)
825
+ o = void 0;
826
+ return { value: o && o[i++], done: !o };
827
+ }
828
+ };
829
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
830
+ }
831
+ function __read(o, n) {
832
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
833
+ if (!m)
834
+ return o;
835
+ var i = m.call(o), r, ar = [], e;
836
+ try {
837
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
838
+ ar.push(r.value);
839
+ }
840
+ catch (error) {
841
+ e = { error: error };
842
+ }
843
+ finally {
844
+ try {
845
+ if (r && !r.done && (m = i["return"]))
846
+ m.call(i);
847
+ }
848
+ finally {
849
+ if (e)
850
+ throw e.error;
851
+ }
852
+ }
853
+ return ar;
854
+ }
855
+ /** @deprecated */
856
+ function __spread() {
857
+ for (var ar = [], i = 0; i < arguments.length; i++)
858
+ ar = ar.concat(__read(arguments[i]));
859
+ return ar;
860
+ }
861
+ /** @deprecated */
862
+ function __spreadArrays() {
863
+ for (var s = 0, i = 0, il = arguments.length; i < il; i++)
864
+ s += arguments[i].length;
865
+ for (var r = Array(s), k = 0, i = 0; i < il; i++)
866
+ for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
867
+ r[k] = a[j];
868
+ return r;
869
+ }
870
+ function __spreadArray(to, from, pack) {
871
+ if (pack || arguments.length === 2)
872
+ for (var i = 0, l = from.length, ar; i < l; i++) {
873
+ if (ar || !(i in from)) {
874
+ if (!ar)
875
+ ar = Array.prototype.slice.call(from, 0, i);
876
+ ar[i] = from[i];
877
+ }
878
+ }
879
+ return to.concat(ar || Array.prototype.slice.call(from));
880
+ }
881
+ function __await(v) {
882
+ return this instanceof __await ? (this.v = v, this) : new __await(v);
883
+ }
884
+ function __asyncGenerator(thisArg, _arguments, generator) {
885
+ if (!Symbol.asyncIterator)
886
+ throw new TypeError("Symbol.asyncIterator is not defined.");
887
+ var g = generator.apply(thisArg, _arguments || []), i, q = [];
888
+ return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
889
+ function verb(n) { if (g[n])
890
+ i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
891
+ function resume(n, v) { try {
892
+ step(g[n](v));
893
+ }
894
+ catch (e) {
895
+ settle(q[0][3], e);
896
+ } }
897
+ function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
898
+ function fulfill(value) { resume("next", value); }
899
+ function reject(value) { resume("throw", value); }
900
+ function settle(f, v) { if (f(v), q.shift(), q.length)
901
+ resume(q[0][0], q[0][1]); }
902
+ }
903
+ function __asyncDelegator(o) {
904
+ var i, p;
905
+ return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
906
+ function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
907
+ }
908
+ function __asyncValues(o) {
909
+ if (!Symbol.asyncIterator)
910
+ throw new TypeError("Symbol.asyncIterator is not defined.");
911
+ var m = o[Symbol.asyncIterator], i;
912
+ return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
913
+ function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
914
+ function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
915
+ }
916
+ function __makeTemplateObject(cooked, raw) {
917
+ if (Object.defineProperty) {
918
+ Object.defineProperty(cooked, "raw", { value: raw });
919
+ }
920
+ else {
921
+ cooked.raw = raw;
922
+ }
923
+ return cooked;
924
+ }
925
+ ;
926
+ var __setModuleDefault = Object.create ? (function (o, v) {
927
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
928
+ }) : function (o, v) {
929
+ o["default"] = v;
930
+ };
931
+ function __importStar(mod) {
932
+ if (mod && mod.__esModule)
933
+ return mod;
934
+ var result = {};
935
+ if (mod != null)
936
+ for (var k in mod)
937
+ if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
938
+ __createBinding(result, mod, k);
939
+ __setModuleDefault(result, mod);
940
+ return result;
941
+ }
942
+ function __importDefault(mod) {
943
+ return (mod && mod.__esModule) ? mod : { default: mod };
944
+ }
945
+ function __classPrivateFieldGet(receiver, state, kind, f) {
946
+ if (kind === "a" && !f)
947
+ throw new TypeError("Private accessor was defined without a getter");
948
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
949
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
950
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
951
+ }
952
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
953
+ if (kind === "m")
954
+ throw new TypeError("Private method is not writable");
955
+ if (kind === "a" && !f)
956
+ throw new TypeError("Private accessor was defined without a setter");
957
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
958
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
959
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
960
+ }
961
+
962
+ /* tslint:disable */
963
+ /* tslint:enable */
964
+ var FormioComponent = /** @class */ (function (_super) {
965
+ __extends(FormioComponent, _super);
966
+ function FormioComponent(ngZone, config, customTags) {
967
+ var _this = _super.call(this, ngZone, config, customTags) || this;
968
+ _this.ngZone = ngZone;
969
+ _this.config = config;
970
+ _this.customTags = customTags;
971
+ if (_this.config) {
972
+ formiojs.Formio.setBaseUrl(_this.config.apiUrl);
973
+ formiojs.Formio.setProjectUrl(_this.config.appUrl);
974
+ }
975
+ else {
976
+ console.warn('You must provide an AppConfig within your application!');
977
+ }
978
+ return _this;
979
+ }
980
+ FormioComponent.prototype.getRenderer = function () {
981
+ return this.renderer || formiojs.Form;
982
+ };
983
+ return FormioComponent;
984
+ }(FormioBaseComponent));
985
+ FormioComponent.decorators = [
986
+ { type: core.Component, args: [{
987
+ selector: 'formio',
988
+ template: "<div role=\"form\" [attr.aria-label]=\"label\">\n <div *ngIf=\"isLoading\" style=\"position:relative;height:200px\">\n <formio-loader [isLoading]=\"isLoading\"></formio-loader>\n </div>\n <formio-alerts *ngIf=\"this.options.alertsPosition === AlertsPosition.top || this.options.alertsPosition === AlertsPosition.both\" (focusComponent)=\"focusOnComponet($event)\" [alerts]=\"alerts\"></formio-alerts>\n <div #formio></div>\n <formio-alerts *ngIf=\"this.options.alertsPosition === AlertsPosition.bottom || this.options.alertsPosition === AlertsPosition.both\" (focusComponent)=\"focusOnComponet($event)\" [alerts]=\"alerts\"></formio-alerts>\n</div>\n",
989
+ encapsulation: core.ViewEncapsulation.None,
990
+ styles: ["@charset \"UTF-8\";.choices{position:relative;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:7.5px}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.5}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__button{display:none}.choices[data-type*=select-one]:after{content:\"\";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.choices[data-type*=select-one].is-open:after{border-color:transparent transparent #333;margin-top:-7.5px}.choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.choices[data-type*=select-one][dir=rtl] .choices__button{right:auto;left:0;margin-left:25px;margin-right:0}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin:0 -4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:#b7b7b7}.is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.choices__list{margin:0;padding-left:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .choices__list--single{padding-right:4px;padding-left:16px}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.choices__list--multiple .choices__item[data-deletable]{padding-right:5px}[dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.choices__list--multiple .choices__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .choices__list--multiple .choices__item{background-color:#aaa;border:1px solid #919191}.choices__list--dropdown{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.choices__list--dropdown.is-active{visibility:visible}.is-open .choices__list--dropdown{border-color:#b7b7b7}.is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable{padding-right:100px}.choices__list--dropdown .choices__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#f2f2f2}.choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:.5}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus,.choices__input:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}[dir=rtl] .choices__input{padding-right:2px;padding-left:0}.choices__placeholder{opacity:.5}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.1)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.formio-loader{position:relative;min-height:60px}.loader-wrapper{z-index:1000;position:absolute;top:0;left:0;bottom:0;right:0;height:120px;background-color:#0000}.loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.formio-form{position:relative;min-height:80px}.formio-error-wrapper,.formio-warning-wrapper{padding:1em}.formio-error-wrapper{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.formio-warning-wrapper{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.formio-disabled-input .form-control.flatpickr-input{background-color:#eee}.builder-component.has-error .invalid-feedback,.formio-component.alert-danger .invalid-feedback,.formio-component.has-error .invalid-feedback,.formio-component.has-message .invalid-feedback{display:block;color:inherit;margin-top:4px}.formio-errors .error{color:#dc3545}.formio-errors .warning{color:#856404}.formio-errors .info{color:#004085}.formio-wysiwyg-editor{min-height:200px;background-color:#fff}.has-feedback .form-control{padding-right:10px}.has-feedback .form-control[type=hidden]{padding-right:0}.has-error.bg-danger{padding:4px}.ql-source:after{content:\"[source]\";white-space:nowrap}.quill-source-code{width:100%;margin:0;background:#1d1d1d;box-sizing:border-box;color:#ccc;font-size:15px;outline:0;padding:20px;line-height:24px;font-family:Consolas,Menlo,Monaco,\"Courier New\",monospace;position:absolute;top:0;bottom:0;border:none;display:none}.formio-component-tags tags{background-color:#fff}.field-required:after,.tab-error:after{content:\" *\";color:red}.field-required:after{position:relative;z-index:10}.glyphicon-spin{-webkit-animation:formio-spin 1s infinite linear;animation:formio-spin 1s infinite linear}@-webkit-keyframes formio-spin{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes formio-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button-icon-right{margin-left:5px}.formio-component-submit .submit-success:after{content:\"\\2713\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail:after{content:\"\\2717\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail[disabled]{opacity:1}.form-control.flatpickr-input{background-color:#fff}td>.form-group{margin-bottom:0}.signature-pad-body{overflow:hidden;position:relative}.signature-pad-canvas{border-radius:4px;box-shadow:0 0 5px #00000005 inset;border:1px solid #f4f4f4}.btn.signature-pad-refresh{position:absolute;left:0;top:0;z-index:1000;padding:3px;line-height:0}[dir=rtl] .btn.signature-pad-refresh{left:unset;right:0}.formio-component-multiple .choices__input{width:100%}.choices__list--dropdown .choices__item--selectable{padding-right:0}.signature-pad-refresh img{height:1.2em}.signature-pad-footer{text-align:center;color:#c3c3c3}.choices__list--dropdown{z-index:100}.choices__list--multiple .choices__item{border-radius:0;padding:2px 8px;line-height:1em;margin-bottom:6px}.choices__list--single{padding:0}.choices__item.choices__item--selectable{white-space:nowrap;overflow:hidden;padding-right:25px;text-overflow:ellipsis}.choices__input{padding:2px}.choices[dir=rtl]>*{text-align:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable]{padding-left:5px;float:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable] .choices__button{float:left;margin:0 8px 0 -4px;padding-left:unset;padding-right:16px;border-left:unset;border-right:1px solid #008fa1;overflow:hidden}.formio-component-file .fileSelector{position:relative;padding:15px;border:2px dashed #ddd;text-align:center}.formio-component-file .fileSelector .loader-wrapper{display:none;width:100%;height:100%;background-color:#0000001a}.formio-component-file .fileSelector .loader-wrapper .loader{height:45px;width:45px;margin-top:-23px;margin-left:-23px}.formio-component-file .fileSelector.fileDragOver{border-color:#127abe}.formio-component-file .fileSelector .fa,.formio-component-file .fileSelector .glyphicon{font-size:20px;margin-right:5px}[dir=rtl] .formio-component-file .fileSelector .fa,[dir=rtl] .formio-component-file .fileSelector .glyphicon{margin-right:unset;margin-left:5px}.formio-component-file .fileSelector .browse{cursor:pointer}@-webkit-keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}@keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}.formio-dialog{box-sizing:border-box;font-size:.8em;color:#666}.formio-dialog.formio-modaledit-dialog{font-size:inherit}.formio-dialog *,.formio-dialog :after,.formio-dialog :before{box-sizing:inherit}.formio-dialog{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:10000;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s}.formio-dialog.formio-dialog-disabled-animation,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-content,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-overlay{-webkit-animation:none!important;animation:none!important}.formio-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;margin-right:15px;background:0 0}.formio-dialog-no-overlay{pointer-events:none}.formio-dialog.formio-dialog-closing .formio-dialog-overlay{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-content{background:#fff;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;pointer-events:all;overflow:auto}.formio-component-modal-wrapper-select .formio-dialog-content{overflow:visible;overflow:initial}.formio-dialog.formio-dialog-closing .formio-dialog-content{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-close:before{font-family:Helvetica,Arial,sans-serif;content:\"\\d7\";cursor:pointer}body.formio-dialog-open,html.formio-dialog-open{overflow:hidden}.formio-dialog .tab-content{padding-top:12px}.formio-dialog-close{z-index:1000}@-webkit-keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}.formio-dialog.formio-dialog-theme-default{padding-bottom:160px;padding-top:160px}.formio-dialog.formio-dialog-theme-default.formio-dialog-closing .formio-dialog-content{-webkit-animation:formio-dialog-flyout .5s;animation:formio-dialog-flyout .5s}.formio-dialog.formio-dialog-theme-default .formio-dialog-content{-webkit-animation:formio-dialog-flyin .5s;animation:formio-dialog-flyin .5s;background:#f0f0f0;border-radius:5px;font-family:Helvetica,sans-serif;font-size:1.1em;line-height:1.5em;margin:0 auto;max-width:100%;padding:1em;position:relative;width:80%}.formio-dialog.formio-dialog-theme-default .formio-dialog-close{border:none;background:0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:100}.formio-clickable{cursor:pointer}.component-settings .nav>li>a{padding:8px 10px}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:before{display:block;padding:3px;background:0 0;color:#bbb;content:\"\\d7\";font-size:26px;font-weight:400;line-height:26px;text-align:center}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-close:hover:before{color:#777}.formio-dialog.formio-dialog-theme-default .formio-dialog-message{margin-bottom:.5em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input{margin-bottom:1em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url],.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea{background:#fff;border:0;border-radius:3px;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0 0 .25em;min-height:2.5em;padding:.25em .67em;width:100%}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea:focus{box-shadow:inset 0 0 0 2px #8dbdf1;outline:0}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons{*zoom:1}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons:after{content:\"\";display:table;clear:both}.formio-dialog.formio-dialog-theme-default .formio-dialog-button{border:0;border-radius:3px;cursor:pointer;float:right;font-family:inherit;font-size:.8em;letter-spacing:.1em;line-height:1em;margin:0 0 0 .5em;padding:.75em 2em;text-transform:uppercase}.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:formio-dialog-pulse 1.1s infinite;animation:formio-dialog-pulse 1.1s infinite;outline:0}@media (max-width:568px){.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:none;animation:none}}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-primary{background:#3288e6;color:#fff}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-secondary{background:#e0e0e0;color:#777}.formio-dialog-content .panel{margin:0}.formio-placeholder{position:absolute;color:#999}.formio-dialog .formio-dialog-close{cursor:pointer}.formio-iframe{border:none;width:100%;height:1000px}.inline-form-button{margin-right:10px}.tooltip{opacity:1}.tooltip[x-placement=right] .tooltip-arrow{border-right:5px solid #000}.tooltip[x-placement=right] .tooltip-inner{margin-left:8px}.control-label--bottom{margin-bottom:0;margin-top:5px}.formio-component-label-hidden{position:relative}.formio-hidden{margin:0}.control-label--hidden{position:absolute;top:6px;right:5px;font-size:1.5em}.formio-component-datetime .control-label--hidden.field-required{right:45px;z-index:3}.formio-component-selectboxes .control-label--hidden.field-required,.formio-component-survey .control-label--hidden.field-required{top:0}.formio-component-resource .control-label--hidden.field-required,.formio-component-select .control-label--hidden.field-required{right:40px;z-index:2}.formio-component-datasource,.formio-component-hidden:not(.formio-component-checkbox){margin-bottom:0}.checkbox-inline label,.radio-inline label{font-weight:400;cursor:pointer}.editgrid-listgroup{margin-bottom:10px}.tree-listgroup{flex-direction:row}.formio-component-submit button[disabled]+.has-error{display:block}.formio-choices.form-group{margin-bottom:0}.formio-choices[data-type=select-multiple] .form-control{height:auto}.form-control.formio-multiple-mask-select{width:15%;z-index:4}.form-control.formio-multiple-mask-input{width:85%}.input-group.formio-multiple-mask-container{width:100%}.formio-component .table{margin-bottom:0}.formio-hide-label-panel-tooltip{margin-top:-10px;margin-left:-10px}.is-disabled .choices__list--multiple .choices__item{padding:5px 10px}.is-disabled .choices__list--multiple .choices__item .choices__button{display:none}.formio-collapse-icon{cursor:pointer;margin-right:4px}[dir=rtl] .formio-collapse-icon{margin-right:unset;margin-left:4px}.formio-component-dateTime .form-control[type=datetime-local]~.input-group-addon,.formio-component-datetime .form-control[type=datetime-local]~.input-group-addon{width:auto}.formio-component-datagrid .formio-datagrid-remove{position:absolute;top:0;right:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-datagrid .datagrid-table>tbody>tr>td:last-child{position:relative}.formio-component-datagrid .datagrid-table>tbody>tr:hover>td:last-child .formio-datagrid-remove{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-component-modaledit .formio-modaledit-view-container{position:relative;border:1px solid #ddd;min-height:34px;padding:6px 12px;cursor:text}td .formio-component-modaledit .formio-modaledit-view-container{padding:0;border-style:none}.formio-component-modaledit .formio-modaledit-edit{position:absolute;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-modaledit .formio-modaledit-view-container:hover .formio-modaledit-edit{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-modaledit-dialog .formio-modaledit-close{position:absolute;top:100%;right:0;border-radius:0}.reset-margins a,.reset-margins abbr,.reset-margins acronym,.reset-margins address,.reset-margins applet,.reset-margins article,.reset-margins aside,.reset-margins audio,.reset-margins b,.reset-margins big,.reset-margins blockquote,.reset-margins body,.reset-margins canvas,.reset-margins caption,.reset-margins center,.reset-margins cite,.reset-margins code,.reset-margins dd,.reset-margins del,.reset-margins details,.reset-margins dfn,.reset-margins div,.reset-margins dl,.reset-margins dt,.reset-margins em,.reset-margins embed,.reset-margins fieldset,.reset-margins figcaption,.reset-margins figure,.reset-margins footer,.reset-margins form,.reset-margins h1,.reset-margins h2,.reset-margins h3,.reset-margins h4,.reset-margins h5,.reset-margins h6,.reset-margins header,.reset-margins hgroup,.reset-margins html,.reset-margins i,.reset-margins iframe,.reset-margins img,.reset-margins ins,.reset-margins kbd,.reset-margins label,.reset-margins legend,.reset-margins li,.reset-margins mark,.reset-margins menu,.reset-margins nav,.reset-margins object,.reset-margins ol,.reset-margins output,.reset-margins p,.reset-margins pre,.reset-margins q,.reset-margins ruby,.reset-margins s,.reset-margins samp,.reset-margins section,.reset-margins small,.reset-margins span,.reset-margins strike,.reset-margins strong,.reset-margins sub,.reset-margins summary,.reset-margins sup,.reset-margins table,.reset-margins tbody,.reset-margins td,.reset-margins tfoot,.reset-margins th,.reset-margins thead,.reset-margins time,.reset-margins tr,.reset-margins tt,.reset-margins u,.reset-margins ul,.reset-margins var,.reset-margins video{margin:0}.ck-body .ck.ck-balloon-panel{z-index:101000}.formio-component-select select[disabled=disabled]{-webkit-appearance:none;-moz-appearance:none;text-indent:1px;text-overflow:\"\"}.formio-component-select .choices.is-disabled[data-type*=select-one]:after,.formio-component-select div[disabled=disabled] button{display:none}.datagrid-group-label.collapsed>td{display:none}.datagrid-group-header.clickable{cursor:pointer}.datagrid-group-header.clickable .datagrid-group-label:before{display:inline-block;vertical-align:middle;content:\"\\25be\";margin:0 5px}.datagrid-group-header.clickable.collapsed .datagrid-group-label:before{content:\"\\25b8\"}.formio-component.alert-danger .help-block,.formio-component.alert-warning .help-block{color:inherit}.tree__level_even{background-color:#f6f6f6}.tree__node-content{margin-bottom:10px}.tree__node-children{margin:0}.formio-select-autocomplete-input{opacity:0;position:absolute;z-index:-1}.has-error>.help-block{margin-top:5px;margin-bottom:10px}.no-top-border-table>.table>tbody>tr:first-child>td{border-top:none}.table>tbody>tr>td.cell-align-left{text-align:left}.table>tbody>tr>td.cell-align-center{text-align:center}.table>tbody>tr>td.cell-align-center>div{margin-left:auto;margin-right:auto}.table>tbody>tr>td.cell-align-right{text-align:right}.table>tbody>tr>td.cell-align-right>div{margin-left:auto}.table-responsive[ref=component]{overflow-x:visible}.formio-component-textarea .alert .ck-editor__editable{color:inherit}.formio-component-textarea .ck.ck-editor__editable .image .ck-progress-bar{height:4px}div[data-oembed-url]{width:100%}.checkbox label.label-position-bottom,.checkbox label.label-position-left,.checkbox label.label-position-top,.radio label.label-position-bottom,.radio label.label-position-left,.radio label.label-position-top{padding-left:0}.checkbox label.label-position-bottom span,.checkbox label.label-position-top span,.radio label.label-position-bottom span,.radio label.label-position-top span{display:block}.checkbox label.label-position-bottom input[type=checkbox],.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-bottom input[type=radio],.radio label.label-position-top input[type=radio]{position:relative;margin-left:0}.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-top input[type=radio]{margin-top:4px}.checkbox label.label-position-bottom input[type=checkbox],.radio label.label-position-bottom input[type=radio]{margin-bottom:8px}.checkbox label.label-position-left input[type=checkbox],.radio label.label-position-left input[type=radio]{margin-left:10px}.open-modal-button{width:100%;text-align:left;white-space:normal;height:auto}.formio-component-modal-wrapper-signature .open-modal-button{text-align:center;height:100%;font-size:1.4em;padding:0;margin:0}.formio-component-content .image{display:table;clear:both;text-align:center;margin:1em auto}.formio-component-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}.formio-component-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}.formio-component-content .image.image_resized{max-width:100%;display:block;box-sizing:border-box}.formio-component-content .image.image_resized img{width:100%}.formio-component-content .image.image_resized>figcaption{display:block}.formio-component-content .media{clear:both;margin:1em 0;display:block;min-width:15em}.formio-component-content .image-style-align-center:not(.image_resized),.formio-component-content .image-style-align-left:not(.image_resized),.formio-component-content .image-style-align-right:not(.image_resized),.formio-component-content .image-style-side:not(.image_resized){max-width:50%}.formio-component-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-center{margin-left:auto;margin-right:auto}.formio-component-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:solid 5px #ccc}.formio-component-content[dir=rtl] blockquote{border-left:0;border-right:solid 5px #ccc}.formio-component-content .text-tiny{font-size:.7em}.formio-component-content .text-small{font-size:.85em}.formio-component-content .text-big{font-size:1.4em}.formio-component-content .text-huge{font-size:1.8em}.formio-component-address.formio-component-label-hidden>label.field-required{z-index:1}.formio-component-address.formio-component-label-hidden>label.field-required~.address-autocomplete-container .address-autocomplete-remove-value-icon{right:20px}.address-autocomplete-container{position:relative}.address-autocomplete-container .address-autocomplete-remove-value-icon{cursor:pointer;position:absolute;margin-top:-9px;right:10px;top:50%}.address-autocomplete-container .address-autocomplete-remove-value-icon--hidden{display:none}.autocomplete{background:#fff;font:14px/22px \"-apple-system\",BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;overflow:auto;box-sizing:border-box;border:1px solid rgba(50,50,50,.6);z-index:11000}.autocomplete>div{cursor:pointer;padding:6px 10px}.autocomplete>div.selected,.autocomplete>div:hover:not(.group){background:#1e90ff;color:#fff}.field-wrapper{display:flex}.field-wrapper--reverse{flex-direction:row-reverse}.field-wrapper .field-label--right{text-align:right}.formio-component-modal-wrapper{margin-bottom:10px}.formio-component-modal-wrapper .open-modal-button{height:auto}.formio-component-modal-wrapper .component-rendering-hidden{visibility:hidden}.formio-component-textarea div.formio-editor-read-only-content[ref=input]{white-space:pre-wrap}.formio-editor-read-only-content img{max-width:100%}.formio-editor-read-only-content li[data-list=bullet]{list-style-type:none}.formio-editor-read-only-content li[data-list=bullet] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=bullet] .ql-ui:before{content:\"\\2022\"}.formio-editor-read-only-content li[data-list=ordered]{list-style-type:none;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.formio-editor-read-only-content li[data-list=ordered] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=ordered] .ql-ui:before{content:counter(list-0,decimal) \". \"}.formio-editor-read-only-content figure.table table{border-collapse:collapse;border-spacing:0;width:100%;height:100%;border:1px double #b3b3b3}.formio-editor-read-only-content figure.table table td,.formio-editor-read-only-content figure.table table th{min-width:2em;padding:.4em;border:1px solid #bfbfbf}.formio-component-password .pull-right:not(:last-child),.formio-component-textarea .pull-right:not(:last-child),.formio-component-textfield .pull-right:not(:last-child){padding-left:12px}.formio-form>div>nav>ul.pagination{flex-flow:wrap row}.formio-form>div>nav>ul.pagination .page-link{cursor:pointer}.pac-container{z-index:11000}[ref=buttonMessageContainer].has-error{cursor:pointer}.formio-component-textarea .formio-editor-read-only-content .text-big{font-size:1.4em}.formio-component-textarea .formio-editor-read-only-content .text-huge{font-size:1.8em}.formio-component-textarea .formio-editor-read-only-content .text-small{font-size:.85em}.formio-component-textarea .formio-editor-read-only-content .text-tiny{font-size:.7em}\n"]
991
+ },] }
992
+ ];
993
+ FormioComponent.ctorParameters = function () { return [
994
+ { type: core.NgZone },
995
+ { type: FormioAppConfig, decorators: [{ type: core.Optional }] },
996
+ { type: CustomTagsService, decorators: [{ type: core.Optional }] }
997
+ ]; };
998
+
999
+ /* tslint:disable */
1000
+ /* tslint:enable */
1001
+ var FormBuilderComponent = /** @class */ (function () {
1002
+ function FormBuilderComponent(ngZone, config, customTags) {
1003
+ var _this = this;
1004
+ this.ngZone = ngZone;
1005
+ this.config = config;
1006
+ this.customTags = customTags;
1007
+ this.componentAdding = false;
1008
+ this.noeval = false;
1009
+ if (this.config) {
1010
+ formiojs.Formio.setBaseUrl(this.config.apiUrl);
1011
+ formiojs.Formio.setProjectUrl(this.config.appUrl);
1012
+ }
1013
+ else {
1014
+ console.warn('You must provide an AppConfig within your application!');
1015
+ }
1016
+ this.change = new core.EventEmitter();
1017
+ this.ready = new Promise(function (resolve) {
1018
+ _this.readyResolve = resolve;
1019
+ });
1020
+ }
1021
+ FormBuilderComponent.prototype.ngOnInit = function () {
1022
+ var _this = this;
1023
+ formiojs.Utils.Evaluator.noeval = this.noeval;
1024
+ if (this.refresh) {
1025
+ this.refreshSubscription = this.refresh.subscribe(function () {
1026
+ _this.ngZone.runOutsideAngular(function () {
1027
+ _this.buildForm(_this.form);
1028
+ });
1029
+ });
1030
+ }
1031
+ if (this.rebuild) {
1032
+ this.rebuild.subscribe(function (options) {
1033
+ _this.ngZone.runOutsideAngular(function () {
1034
+ _this.rebuildForm(_this.form, options);
1035
+ });
1036
+ });
1037
+ }
1038
+ };
1039
+ FormBuilderComponent.prototype.setInstance = function (instance) {
1040
+ var _this = this;
1041
+ this.formio = instance;
1042
+ instance.off('addComponent');
1043
+ instance.off('saveComponent');
1044
+ instance.off('updateComponent');
1045
+ instance.off('removeComponent');
1046
+ instance.on('addComponent', function (component, parent, path, index, isNew) {
1047
+ _this.ngZone.run(function () {
1048
+ if (isNew) {
1049
+ _this.componentAdding = true;
1050
+ }
1051
+ else {
1052
+ _this.change.emit({
1053
+ type: 'addComponent',
1054
+ builder: instance,
1055
+ form: instance.schema,
1056
+ component: component,
1057
+ parent: parent,
1058
+ path: path,
1059
+ index: index
1060
+ });
1061
+ _this.componentAdding = false;
1062
+ }
1063
+ });
1064
+ });
1065
+ instance.on('saveComponent', function (component, original, parent, path, index, isNew) {
1066
+ _this.ngZone.run(function () {
1067
+ _this.change.emit({
1068
+ type: _this.componentAdding ? 'addComponent' : 'saveComponent',
1069
+ builder: instance,
1070
+ form: instance.schema,
1071
+ component: component,
1072
+ originalComponent: original,
1073
+ parent: parent,
1074
+ path: path,
1075
+ index: index,
1076
+ isNew: isNew || false
1077
+ });
1078
+ _this.componentAdding = false;
1079
+ });
1080
+ });
1081
+ instance.on('updateComponent', function (component) {
1082
+ _this.ngZone.run(function () {
1083
+ _this.change.emit({
1084
+ type: 'updateComponent',
1085
+ builder: instance,
1086
+ form: instance.schema,
1087
+ component: component
1088
+ });
1089
+ });
1090
+ });
1091
+ instance.on('removeComponent', function (component, parent, path, index) {
1092
+ _this.ngZone.run(function () {
1093
+ _this.change.emit({
1094
+ type: 'deleteComponent',
1095
+ builder: instance,
1096
+ form: instance.schema,
1097
+ component: component,
1098
+ parent: parent,
1099
+ path: path,
1100
+ index: index
1101
+ });
1102
+ });
1103
+ });
1104
+ this.ngZone.run(function () {
1105
+ _this.readyResolve(instance);
1106
+ });
1107
+ return instance;
1108
+ };
1109
+ FormBuilderComponent.prototype.setDisplay = function (display, prevDisplay) {
1110
+ var _this = this;
1111
+ if (display && display !== prevDisplay) {
1112
+ return this.builder.setDisplay(display).then(function (instance) { return _this.setInstance(instance); });
1113
+ }
1114
+ else {
1115
+ return Promise.resolve();
1116
+ }
1117
+ };
1118
+ FormBuilderComponent.prototype.buildForm = function (form, prevForm) {
1119
+ var _this = this;
1120
+ if (!form || !this.builderElement || !this.builderElement.nativeElement) {
1121
+ return;
1122
+ }
1123
+ if (this.builder) {
1124
+ return this.setDisplay(form.display, prevForm === null || prevForm === void 0 ? void 0 : prevForm.display).then(function () {
1125
+ _this.builder.form = form;
1126
+ _this.builder.instance.form = form;
1127
+ return _this.builder.instance;
1128
+ });
1129
+ }
1130
+ return this.rebuildForm(form);
1131
+ };
1132
+ FormBuilderComponent.prototype.rebuildForm = function (form, options) {
1133
+ var _this = this;
1134
+ var Builder = this.formbuilder || formiojs.FormBuilder;
1135
+ var extraTags = this.customTags ? this.customTags.tags : [];
1136
+ this.builder = new Builder(this.builderElement.nativeElement, form, lodash.assign({
1137
+ icons: 'fontawesome',
1138
+ sanitizeConfig: {
1139
+ addTags: extraTags
1140
+ }
1141
+ }, options || this.options || {}));
1142
+ return this.builder.ready.then(function (instance) { return _this.setInstance(instance); });
1143
+ };
1144
+ FormBuilderComponent.prototype.ngOnChanges = function (changes) {
1145
+ var _this = this;
1146
+ formiojs.Utils.Evaluator.noeval = this.noeval;
1147
+ if (changes.form && changes.form.currentValue) {
1148
+ this.ngZone.runOutsideAngular(function () {
1149
+ _this.buildForm(changes.form.currentValue || { components: [] }, changes.form.previousValue);
1150
+ });
1151
+ }
1152
+ };
1153
+ FormBuilderComponent.prototype.ngOnDestroy = function () {
1154
+ if (this.refreshSubscription) {
1155
+ this.refreshSubscription.unsubscribe();
1156
+ }
1157
+ if (this.formio) {
1158
+ this.formio.destroy();
1159
+ }
1160
+ };
1161
+ return FormBuilderComponent;
1162
+ }());
1163
+ FormBuilderComponent.decorators = [
1164
+ { type: core.Component, args: [{
1165
+ selector: 'form-builder',
1166
+ template: "<div #builder></div>\n",
1167
+ encapsulation: core.ViewEncapsulation.None,
1168
+ styles: ["@charset \"UTF-8\";.choices{position:relative;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:7.5px}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.5}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__button{display:none}.choices[data-type*=select-one]:after{content:\"\";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.choices[data-type*=select-one].is-open:after{border-color:transparent transparent #333;margin-top:-7.5px}.choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.choices[data-type*=select-one][dir=rtl] .choices__button{right:auto;left:0;margin-left:25px;margin-right:0}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin:0 -4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:#b7b7b7}.is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.choices__list{margin:0;padding-left:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .choices__list--single{padding-right:4px;padding-left:16px}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.choices__list--multiple .choices__item[data-deletable]{padding-right:5px}[dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.choices__list--multiple .choices__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .choices__list--multiple .choices__item{background-color:#aaa;border:1px solid #919191}.choices__list--dropdown{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.choices__list--dropdown.is-active{visibility:visible}.is-open .choices__list--dropdown{border-color:#b7b7b7}.is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable{padding-right:100px}.choices__list--dropdown .choices__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#f2f2f2}.choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:.5}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus,.choices__input:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}[dir=rtl] .choices__input{padding-right:2px;padding-left:0}.choices__placeholder{opacity:.5}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.1)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.gu-mirror{position:fixed!important;margin:0!important;z-index:9999!important;opacity:.8;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)\";filter:alpha(opacity=80)}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{opacity:.2;-ms-filter:\"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)\";filter:alpha(opacity=20)}.formio-loader{position:relative;min-height:60px}.loader-wrapper{z-index:1000;position:absolute;top:0;left:0;bottom:0;right:0;height:120px;background-color:#0000}.loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.formio-form{position:relative;min-height:80px}.formio-error-wrapper,.formio-warning-wrapper{padding:1em}.formio-error-wrapper{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.formio-warning-wrapper{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.formio-disabled-input .form-control.flatpickr-input{background-color:#eee}.builder-component.has-error .invalid-feedback,.formio-component.alert-danger .invalid-feedback,.formio-component.has-error .invalid-feedback,.formio-component.has-message .invalid-feedback{display:block;color:inherit;margin-top:4px}.formio-errors .error{color:#dc3545}.formio-errors .warning{color:#856404}.formio-errors .info{color:#004085}.formio-wysiwyg-editor{min-height:200px;background-color:#fff}.has-feedback .form-control{padding-right:10px}.has-feedback .form-control[type=hidden]{padding-right:0}.has-error.bg-danger{padding:4px}.ql-source:after{content:\"[source]\";white-space:nowrap}.quill-source-code{width:100%;margin:0;background:#1d1d1d;box-sizing:border-box;color:#ccc;font-size:15px;outline:0;padding:20px;line-height:24px;font-family:Consolas,Menlo,Monaco,\"Courier New\",monospace;position:absolute;top:0;bottom:0;border:none;display:none}.formio-component-tags tags{background-color:#fff}.field-required:after,.tab-error:after{content:\" *\";color:red}.field-required:after{position:relative;z-index:10}.glyphicon-spin{-webkit-animation:formio-spin 1s infinite linear;animation:formio-spin 1s infinite linear}@-webkit-keyframes formio-spin{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes formio-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button-icon-right{margin-left:5px}.formio-component-submit .submit-success:after{content:\"\\2713\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail:after{content:\"\\2717\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail[disabled]{opacity:1}.form-control.flatpickr-input{background-color:#fff}td>.form-group{margin-bottom:0}.signature-pad-body{overflow:hidden;position:relative}.signature-pad-canvas{border-radius:4px;box-shadow:0 0 5px #00000005 inset;border:1px solid #f4f4f4}.btn.signature-pad-refresh{position:absolute;left:0;top:0;z-index:1000;padding:3px;line-height:0}[dir=rtl] .btn.signature-pad-refresh{left:unset;right:0}.formio-component-multiple .choices__input{width:100%}.choices__list--dropdown .choices__item--selectable{padding-right:0}.signature-pad-refresh img{height:1.2em}.signature-pad-footer{text-align:center;color:#c3c3c3}.choices__list--dropdown{z-index:100}.choices__list--multiple .choices__item{border-radius:0;padding:2px 8px;line-height:1em;margin-bottom:6px}.choices__list--single{padding:0}.choices__item.choices__item--selectable{white-space:nowrap;overflow:hidden;padding-right:25px;text-overflow:ellipsis}.choices__input{padding:2px}.choices[dir=rtl]>*{text-align:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable]{padding-left:5px;float:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable] .choices__button{float:left;margin:0 8px 0 -4px;padding-left:unset;padding-right:16px;border-left:unset;border-right:1px solid #008fa1;overflow:hidden}.formio-component-file .fileSelector{position:relative;padding:15px;border:2px dashed #ddd;text-align:center}.formio-component-file .fileSelector .loader-wrapper{display:none;width:100%;height:100%;background-color:#0000001a}.formio-component-file .fileSelector .loader-wrapper .loader{height:45px;width:45px;margin-top:-23px;margin-left:-23px}.formio-component-file .fileSelector.fileDragOver{border-color:#127abe}.formio-component-file .fileSelector .fa,.formio-component-file .fileSelector .glyphicon{font-size:20px;margin-right:5px}[dir=rtl] .formio-component-file .fileSelector .fa,[dir=rtl] .formio-component-file .fileSelector .glyphicon{margin-right:unset;margin-left:5px}.formio-component-file .fileSelector .browse{cursor:pointer}@-webkit-keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}@keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}.formio-dialog{box-sizing:border-box;font-size:.8em;color:#666}.formio-dialog.formio-modaledit-dialog{font-size:inherit}.formio-dialog *,.formio-dialog :after,.formio-dialog :before{box-sizing:inherit}.formio-dialog{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:10000;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s}.formio-dialog.formio-dialog-disabled-animation,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-content,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-overlay{-webkit-animation:none!important;animation:none!important}.formio-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;margin-right:15px;background:0 0}.formio-dialog-no-overlay{pointer-events:none}.formio-dialog.formio-dialog-closing .formio-dialog-overlay{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-content{background:#fff;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;pointer-events:all;overflow:auto}.formio-component-modal-wrapper-select .formio-dialog-content{overflow:visible;overflow:initial}.formio-dialog.formio-dialog-closing .formio-dialog-content{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-close:before{font-family:Helvetica,Arial,sans-serif;content:\"\\d7\";cursor:pointer}body.formio-dialog-open,html.formio-dialog-open{overflow:hidden}.formio-dialog .tab-content{padding-top:12px}.formio-dialog-close{z-index:1000}@-webkit-keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}.formio-dialog.formio-dialog-theme-default{padding-bottom:160px;padding-top:160px}.formio-dialog.formio-dialog-theme-default.formio-dialog-closing .formio-dialog-content{-webkit-animation:formio-dialog-flyout .5s;animation:formio-dialog-flyout .5s}.formio-dialog.formio-dialog-theme-default .formio-dialog-content{-webkit-animation:formio-dialog-flyin .5s;animation:formio-dialog-flyin .5s;background:#f0f0f0;border-radius:5px;font-family:Helvetica,sans-serif;font-size:1.1em;line-height:1.5em;margin:0 auto;max-width:100%;padding:1em;position:relative;width:80%}.formio-dialog.formio-dialog-theme-default .formio-dialog-close{border:none;background:0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:100}.formio-clickable{cursor:pointer}.component-settings .nav>li>a{padding:8px 10px}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:before{display:block;padding:3px;background:0 0;color:#bbb;content:\"\\d7\";font-size:26px;font-weight:400;line-height:26px;text-align:center}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-close:hover:before{color:#777}.formio-dialog.formio-dialog-theme-default .formio-dialog-message{margin-bottom:.5em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input{margin-bottom:1em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url],.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea{background:#fff;border:0;border-radius:3px;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0 0 .25em;min-height:2.5em;padding:.25em .67em;width:100%}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea:focus{box-shadow:inset 0 0 0 2px #8dbdf1;outline:0}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons{*zoom:1}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons:after{content:\"\";display:table;clear:both}.formio-dialog.formio-dialog-theme-default .formio-dialog-button{border:0;border-radius:3px;cursor:pointer;float:right;font-family:inherit;font-size:.8em;letter-spacing:.1em;line-height:1em;margin:0 0 0 .5em;padding:.75em 2em;text-transform:uppercase}.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:formio-dialog-pulse 1.1s infinite;animation:formio-dialog-pulse 1.1s infinite;outline:0}@media (max-width:568px){.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:none;animation:none}}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-primary{background:#3288e6;color:#fff}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-secondary{background:#e0e0e0;color:#777}.formio-dialog-content .panel{margin:0}.formio-placeholder{position:absolute;color:#999}.formio-dialog .formio-dialog-close{cursor:pointer}.formio-iframe{border:none;width:100%;height:1000px}.inline-form-button{margin-right:10px}.tooltip{opacity:1}.tooltip[x-placement=right] .tooltip-arrow{border-right:5px solid #000}.tooltip[x-placement=right] .tooltip-inner{margin-left:8px}.control-label--bottom{margin-bottom:0;margin-top:5px}.formio-component-label-hidden{position:relative}.formio-hidden{margin:0}.control-label--hidden{position:absolute;top:6px;right:5px;font-size:1.5em}.formio-component-datetime .control-label--hidden.field-required{right:45px;z-index:3}.formio-component-selectboxes .control-label--hidden.field-required,.formio-component-survey .control-label--hidden.field-required{top:0}.formio-component-resource .control-label--hidden.field-required,.formio-component-select .control-label--hidden.field-required{right:40px;z-index:2}.formio-component-datasource,.formio-component-hidden:not(.formio-component-checkbox){margin-bottom:0}.checkbox-inline label,.radio-inline label{font-weight:400;cursor:pointer}.editgrid-listgroup{margin-bottom:10px}.tree-listgroup{flex-direction:row}.formio-component-submit button[disabled]+.has-error{display:block}.formio-choices.form-group{margin-bottom:0}.formio-choices[data-type=select-multiple] .form-control{height:auto}.form-control.formio-multiple-mask-select{width:15%;z-index:4}.form-control.formio-multiple-mask-input{width:85%}.input-group.formio-multiple-mask-container{width:100%}.formio-component .table{margin-bottom:0}.formio-hide-label-panel-tooltip{margin-top:-10px;margin-left:-10px}.is-disabled .choices__list--multiple .choices__item{padding:5px 10px}.is-disabled .choices__list--multiple .choices__item .choices__button{display:none}.formio-collapse-icon{cursor:pointer;margin-right:4px}[dir=rtl] .formio-collapse-icon{margin-right:unset;margin-left:4px}.formio-component-dateTime .form-control[type=datetime-local]~.input-group-addon,.formio-component-datetime .form-control[type=datetime-local]~.input-group-addon{width:auto}.formio-component-datagrid .formio-datagrid-remove{position:absolute;top:0;right:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-datagrid .datagrid-table>tbody>tr>td:last-child{position:relative}.formio-component-datagrid .datagrid-table>tbody>tr:hover>td:last-child .formio-datagrid-remove{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-component-modaledit .formio-modaledit-view-container{position:relative;border:1px solid #ddd;min-height:34px;padding:6px 12px;cursor:text}td .formio-component-modaledit .formio-modaledit-view-container{padding:0;border-style:none}.formio-component-modaledit .formio-modaledit-edit{position:absolute;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-modaledit .formio-modaledit-view-container:hover .formio-modaledit-edit{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-modaledit-dialog .formio-modaledit-close{position:absolute;top:100%;right:0;border-radius:0}.reset-margins a,.reset-margins abbr,.reset-margins acronym,.reset-margins address,.reset-margins applet,.reset-margins article,.reset-margins aside,.reset-margins audio,.reset-margins b,.reset-margins big,.reset-margins blockquote,.reset-margins body,.reset-margins canvas,.reset-margins caption,.reset-margins center,.reset-margins cite,.reset-margins code,.reset-margins dd,.reset-margins del,.reset-margins details,.reset-margins dfn,.reset-margins div,.reset-margins dl,.reset-margins dt,.reset-margins em,.reset-margins embed,.reset-margins fieldset,.reset-margins figcaption,.reset-margins figure,.reset-margins footer,.reset-margins form,.reset-margins h1,.reset-margins h2,.reset-margins h3,.reset-margins h4,.reset-margins h5,.reset-margins h6,.reset-margins header,.reset-margins hgroup,.reset-margins html,.reset-margins i,.reset-margins iframe,.reset-margins img,.reset-margins ins,.reset-margins kbd,.reset-margins label,.reset-margins legend,.reset-margins li,.reset-margins mark,.reset-margins menu,.reset-margins nav,.reset-margins object,.reset-margins ol,.reset-margins output,.reset-margins p,.reset-margins pre,.reset-margins q,.reset-margins ruby,.reset-margins s,.reset-margins samp,.reset-margins section,.reset-margins small,.reset-margins span,.reset-margins strike,.reset-margins strong,.reset-margins sub,.reset-margins summary,.reset-margins sup,.reset-margins table,.reset-margins tbody,.reset-margins td,.reset-margins tfoot,.reset-margins th,.reset-margins thead,.reset-margins time,.reset-margins tr,.reset-margins tt,.reset-margins u,.reset-margins ul,.reset-margins var,.reset-margins video{margin:0}.ck-body .ck.ck-balloon-panel{z-index:101000}.formio-component-select select[disabled=disabled]{-webkit-appearance:none;-moz-appearance:none;text-indent:1px;text-overflow:\"\"}.formio-component-select .choices.is-disabled[data-type*=select-one]:after,.formio-component-select div[disabled=disabled] button{display:none}.datagrid-group-label.collapsed>td{display:none}.datagrid-group-header.clickable{cursor:pointer}.datagrid-group-header.clickable .datagrid-group-label:before{display:inline-block;vertical-align:middle;content:\"\\25be\";margin:0 5px}.datagrid-group-header.clickable.collapsed .datagrid-group-label:before{content:\"\\25b8\"}.formio-component.alert-danger .help-block,.formio-component.alert-warning .help-block{color:inherit}.tree__level_even{background-color:#f6f6f6}.tree__node-content{margin-bottom:10px}.tree__node-children{margin:0}.formio-select-autocomplete-input{opacity:0;position:absolute;z-index:-1}.has-error>.help-block{margin-top:5px;margin-bottom:10px}.no-top-border-table>.table>tbody>tr:first-child>td{border-top:none}.table>tbody>tr>td.cell-align-left{text-align:left}.table>tbody>tr>td.cell-align-center{text-align:center}.table>tbody>tr>td.cell-align-center>div{margin-left:auto;margin-right:auto}.table>tbody>tr>td.cell-align-right{text-align:right}.table>tbody>tr>td.cell-align-right>div{margin-left:auto}.table-responsive[ref=component]{overflow-x:visible}.formio-component-textarea .alert .ck-editor__editable{color:inherit}.formio-component-textarea .ck.ck-editor__editable .image .ck-progress-bar{height:4px}div[data-oembed-url]{width:100%}.checkbox label.label-position-bottom,.checkbox label.label-position-left,.checkbox label.label-position-top,.radio label.label-position-bottom,.radio label.label-position-left,.radio label.label-position-top{padding-left:0}.checkbox label.label-position-bottom span,.checkbox label.label-position-top span,.radio label.label-position-bottom span,.radio label.label-position-top span{display:block}.checkbox label.label-position-bottom input[type=checkbox],.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-bottom input[type=radio],.radio label.label-position-top input[type=radio]{position:relative;margin-left:0}.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-top input[type=radio]{margin-top:4px}.checkbox label.label-position-bottom input[type=checkbox],.radio label.label-position-bottom input[type=radio]{margin-bottom:8px}.checkbox label.label-position-left input[type=checkbox],.radio label.label-position-left input[type=radio]{margin-left:10px}.open-modal-button{width:100%;text-align:left;white-space:normal;height:auto}.formio-component-modal-wrapper-signature .open-modal-button{text-align:center;height:100%;font-size:1.4em;padding:0;margin:0}.formio-component-content .image{display:table;clear:both;text-align:center;margin:1em auto}.formio-component-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}.formio-component-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}.formio-component-content .image.image_resized{max-width:100%;display:block;box-sizing:border-box}.formio-component-content .image.image_resized img{width:100%}.formio-component-content .image.image_resized>figcaption{display:block}.formio-component-content .media{clear:both;margin:1em 0;display:block;min-width:15em}.formio-component-content .image-style-align-center:not(.image_resized),.formio-component-content .image-style-align-left:not(.image_resized),.formio-component-content .image-style-align-right:not(.image_resized),.formio-component-content .image-style-side:not(.image_resized){max-width:50%}.formio-component-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-center{margin-left:auto;margin-right:auto}.formio-component-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:solid 5px #ccc}.formio-component-content[dir=rtl] blockquote{border-left:0;border-right:solid 5px #ccc}.formio-component-content .text-tiny{font-size:.7em}.formio-component-content .text-small{font-size:.85em}.formio-component-content .text-big{font-size:1.4em}.formio-component-content .text-huge{font-size:1.8em}.formio-component-address.formio-component-label-hidden>label.field-required{z-index:1}.formio-component-address.formio-component-label-hidden>label.field-required~.address-autocomplete-container .address-autocomplete-remove-value-icon{right:20px}.address-autocomplete-container{position:relative}.address-autocomplete-container .address-autocomplete-remove-value-icon{cursor:pointer;position:absolute;margin-top:-9px;right:10px;top:50%}.address-autocomplete-container .address-autocomplete-remove-value-icon--hidden{display:none}.autocomplete{background:#fff;font:14px/22px \"-apple-system\",BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;overflow:auto;box-sizing:border-box;border:1px solid rgba(50,50,50,.6);z-index:11000}.autocomplete>div{cursor:pointer;padding:6px 10px}.autocomplete>div.selected,.autocomplete>div:hover:not(.group){background:#1e90ff;color:#fff}.field-wrapper{display:flex}.field-wrapper--reverse{flex-direction:row-reverse}.field-wrapper .field-label--right{text-align:right}.formio-component-modal-wrapper{margin-bottom:10px}.formio-component-modal-wrapper .open-modal-button{height:auto}.formio-component-modal-wrapper .component-rendering-hidden{visibility:hidden}.formio-component-textarea div.formio-editor-read-only-content[ref=input]{white-space:pre-wrap}.formio-editor-read-only-content img{max-width:100%}.formio-editor-read-only-content li[data-list=bullet]{list-style-type:none}.formio-editor-read-only-content li[data-list=bullet] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=bullet] .ql-ui:before{content:\"\\2022\"}.formio-editor-read-only-content li[data-list=ordered]{list-style-type:none;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.formio-editor-read-only-content li[data-list=ordered] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=ordered] .ql-ui:before{content:counter(list-0,decimal) \". \"}.formio-editor-read-only-content figure.table table{border-collapse:collapse;border-spacing:0;width:100%;height:100%;border:1px double #b3b3b3}.formio-editor-read-only-content figure.table table td,.formio-editor-read-only-content figure.table table th{min-width:2em;padding:.4em;border:1px solid #bfbfbf}.formio-component-password .pull-right:not(:last-child),.formio-component-textarea .pull-right:not(:last-child),.formio-component-textfield .pull-right:not(:last-child){padding-left:12px}.formio-form>div>nav>ul.pagination{flex-flow:wrap row}.formio-form>div>nav>ul.pagination .page-link{cursor:pointer}.pac-container{z-index:11000}[ref=buttonMessageContainer].has-error{cursor:pointer}.formio-component-textarea .formio-editor-read-only-content .text-big{font-size:1.4em}.formio-component-textarea .formio-editor-read-only-content .text-huge{font-size:1.8em}.formio-component-textarea .formio-editor-read-only-content .text-small{font-size:.85em}.formio-component-textarea .formio-editor-read-only-content .text-tiny{font-size:.7em}.formbuilder{position:relative}.drag-container{padding:10px;border:dotted 2px #e8e8e8}.drag-container:hover{cursor:move;border:dotted 2px #ccc}.drag-container.formio-builder-form,.drag-container.formio-builder-form:hover,.panel-body>.drag-container.formio-builder-components,.panel-body>.drag-container.formio-builder-components:hover,.tab-pane>.drag-container.formio-builder-components,.tab-pane>.drag-container.formio-builder-components:hover{padding:0 0 1rem;border:none}.component-btn-group{position:absolute;right:0;z-index:1000;margin-top:-2px}.builder-component{position:relative;min-height:15px}.builder-component .formio-component-htmlelement{border:dotted 2px #e8e8e8}.builder-component .formio-component-htmlelement [ref=html]:empty:before{content:\"HTML Content\";color:#aaa}.builder-component:not(:hover) .component-btn-group{display:none}.builder-group-button{background-color:transparent;white-space:normal;text-align:left}.form-builder-group-header{padding:0}.component-btn-group .component-settings-button{float:right;margin:4px 4px 0 0;z-index:1001;box-shadow:0 0 10px 1px #3071a999}.formbuilder .formio-component-content,.formbuilder .formio-component-datasource,.formbuilder .formio-component-form,.formbuilder .formio-component-hidden{border:2px dashed #ddd}.formbuilder .formio-component-datasource,.formbuilder .formio-component-form,.formbuilder .formio-component-hidden{height:3em;text-align:center;color:#aaa;padding-top:.5em}.btn-group-xxs>.btn,.btn-xxs,.component-btn-group .component-settings-button{padding:2px;font-size:10px;line-height:1.2em;border-radius:0;width:18px;height:18px}.formcomponents .formcomponent{text-align:left;padding:5px 5px 5px 8px;margin-top:.2rem;font-size:.8em;line-height:1.2;border-radius:.3em}.form-builder-panel .panel-body{padding:5px}.formio-component-tabs .ui.tabular.menu .item{padding:.8em}.formio-pdf-builder{position:relative}.formio-drop-zone{display:none;position:absolute;z-index:10;background-color:#0d87e9;opacity:.1}.formio-drop-zone.enabled{display:inherit}.component-settings .formio-dialog-content{max-height:100%}.component-btn-group .btn.component-settings-button-paste{display:none}.builder-paste-mode .component-settings-button-paste{display:inherit!important}.wizard-page-label{cursor:pointer;border-radius:0}.panel-body .drag-and-drop-alert{margin-bottom:0}.builder-sidebar_scroll{position:sticky;top:15px}.builder-sidebar_search{margin-bottom:10px;-webkit-appearance:auto;-moz-appearance:auto;appearance:auto}.formio-wizard-builder-component-title{color:#6c757d;text-align:center;padding:.5rem}.formio-wizard-position{position:relative}.formio-settings-help{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc;margin-top:10px}.help-block{margin:0}.builder-sidebar .btn{white-space:normal}.component-settings{padding-top:20px!important;padding-bottom:20px!important}.component-edit-container{height:auto;overflow:hidden}.component-edit-content{height:calc(100% - 4em)}.component-edit-tabs.col-sm-6{height:100%;overflow-y:auto}.component-edit-tabs.col-sm-12{height:calc(100% - 4em);overflow-y:auto}.component-edit-tabs.col-sm-12 .editForm{height:calc(100% - 4em);overflow-y:auto}.progress.pdf-progress{height:2rem}.progress.pdf-progress .progress-bar{font-size:1rem;line-height:2rem}.builder-sidebar.disabled .formcomponent{cursor:not-allowed;opacity:.65;box-shadow:none}\n"]
1169
+ },] }
1170
+ ];
1171
+ FormBuilderComponent.ctorParameters = function () { return [
1172
+ { type: core.NgZone },
1173
+ { type: FormioAppConfig, decorators: [{ type: core.Optional }] },
1174
+ { type: CustomTagsService, decorators: [{ type: core.Optional }] }
1175
+ ]; };
1176
+ FormBuilderComponent.propDecorators = {
1177
+ form: [{ type: core.Input }],
1178
+ options: [{ type: core.Input }],
1179
+ formbuilder: [{ type: core.Input }],
1180
+ noeval: [{ type: core.Input }],
1181
+ refresh: [{ type: core.Input }],
1182
+ rebuild: [{ type: core.Input }],
1183
+ change: [{ type: core.Output }],
1184
+ builderElement: [{ type: core.ViewChild, args: ['builder', { static: true },] }]
1185
+ };
1186
+
1187
+ var FormioLoaderComponent = /** @class */ (function () {
1188
+ function FormioLoaderComponent() {
1189
+ }
1190
+ return FormioLoaderComponent;
1191
+ }());
1192
+ FormioLoaderComponent.decorators = [
1193
+ { type: core.Component, args: [{
1194
+ selector: 'formio-loader',
1195
+ template: "<div class=\"formio-loader-wrapper\" *ngIf=\"isLoading\">\n <div class=\"formio-loader\"></div>\n</div>\n",
1196
+ styles: [".formio-loader-wrapper{position:absolute;top:0px;bottom:0px;left:0px;right:0px;z-index:1000}.formio-loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"]
1197
+ },] }
1198
+ ];
1199
+ FormioLoaderComponent.propDecorators = {
1200
+ isLoading: [{ type: core.Input }]
1201
+ };
1202
+
1203
+ var FormioAlertsComponent = /** @class */ (function () {
1204
+ function FormioAlertsComponent() {
1205
+ this.focusComponent = new core.EventEmitter();
1206
+ }
1207
+ FormioAlertsComponent.prototype.ngOnInit = function () {
1208
+ if (!this.alerts) {
1209
+ this.alerts = new FormioAlerts();
1210
+ }
1211
+ };
1212
+ FormioAlertsComponent.prototype.getComponent = function (event, alert) {
1213
+ this.focusComponent.emit(alert.component.key);
1214
+ };
1215
+ return FormioAlertsComponent;
1216
+ }());
1217
+ FormioAlertsComponent.decorators = [
1218
+ { type: core.Component, args: [{
1219
+ selector: 'formio-alerts',
1220
+ template: "<div *ngFor=\"let alert of alerts.alerts\" class=\"alert alert-{{ alert.type }}\" role=\"alert\" (click)=\"getComponent($event, alert)\">\n {{alert.message | parseHtmlContent}}\n</div>\n"
1221
+ },] }
1222
+ ];
1223
+ FormioAlertsComponent.propDecorators = {
1224
+ alerts: [{ type: core.Input }],
1225
+ focusComponent: [{ type: core.Output }]
1226
+ };
1227
+
1228
+ var ParseHtmlContentPipe = /** @class */ (function () {
1229
+ function ParseHtmlContentPipe() {
1230
+ }
1231
+ /*
1232
+ Some messages that are come from formiojs have hex codes. So the main aim of this pipe is transform this messages to html.
1233
+ And then render in template.
1234
+ */
1235
+ ParseHtmlContentPipe.prototype.transform = function (content) {
1236
+ var parsedContent = new DOMParser().parseFromString(content, 'text/html').body.childNodes[0];
1237
+ return parsedContent === null || parsedContent === void 0 ? void 0 : parsedContent.textContent;
1238
+ };
1239
+ return ParseHtmlContentPipe;
1240
+ }());
1241
+ ParseHtmlContentPipe.decorators = [
1242
+ { type: core.Pipe, args: [{ name: 'parseHtmlContent', pure: false },] }
1243
+ ];
1244
+
1245
+ var FormioModule = /** @class */ (function () {
1246
+ function FormioModule() {
1247
+ }
1248
+ return FormioModule;
1249
+ }());
1250
+ FormioModule.decorators = [
1251
+ { type: core.NgModule, args: [{
1252
+ declarations: [
1253
+ FormioComponent,
1254
+ FormioBaseComponent,
1255
+ FormBuilderComponent,
1256
+ FormioLoaderComponent,
1257
+ FormioAlertsComponent,
1258
+ ParseHtmlContentPipe
1259
+ ],
1260
+ imports: [
1261
+ common.CommonModule
1262
+ ],
1263
+ exports: [
1264
+ FormioComponent,
1265
+ FormBuilderComponent,
1266
+ FormioLoaderComponent,
1267
+ FormioAlertsComponent
1268
+ ],
1269
+ providers: [
1270
+ FormioAlerts,
1271
+ CustomTagsService
1272
+ ],
1273
+ entryComponents: [
1274
+ FormioComponent,
1275
+ FormBuilderComponent
1276
+ ]
1277
+ },] }
1278
+ ];
1279
+
1280
+ var BaseInputComponent = formiojs.Components.components.input;
1281
+ var TextfieldComponent = formiojs.Components.components.textfield;
1282
+ function createCustomFormioComponent(customComponentOptions) {
1283
+ var _a;
1284
+ return _a = /** @class */ (function (_super) {
1285
+ __extends(CustomComponent, _super);
1286
+ function CustomComponent(component, options, data) {
1287
+ var _this = _super.call(this, component, Object.assign(Object.assign({}, options), { sanitizeConfig: {
1288
+ addTags: [customComponentOptions.selector],
1289
+ } }), data) || this;
1290
+ _this.component = component;
1291
+ _this.id = formiojs.Utils.getRandomComponentId();
1292
+ _this.type = customComponentOptions.type;
1293
+ if (customComponentOptions.extraValidators) {
1294
+ _this.validators = _this.validators.concat(customComponentOptions.extraValidators);
1295
+ }
1296
+ return _this;
1297
+ }
1298
+ CustomComponent.schema = function () {
1299
+ return BaseInputComponent.schema(Object.assign(Object.assign({}, customComponentOptions.schema), { type: customComponentOptions.type }));
1300
+ };
1301
+ Object.defineProperty(CustomComponent.prototype, "defaultSchema", {
1302
+ get: function () {
1303
+ return CustomComponent.schema();
1304
+ },
1305
+ enumerable: false,
1306
+ configurable: true
1307
+ });
1308
+ Object.defineProperty(CustomComponent.prototype, "emptyValue", {
1309
+ get: function () {
1310
+ return customComponentOptions.emptyValue || null;
1311
+ },
1312
+ enumerable: false,
1313
+ configurable: true
1314
+ });
1315
+ Object.defineProperty(CustomComponent, "builderInfo", {
1316
+ get: function () {
1317
+ return {
1318
+ title: customComponentOptions.title,
1319
+ group: customComponentOptions.group,
1320
+ icon: customComponentOptions.icon,
1321
+ weight: customComponentOptions.weight,
1322
+ documentation: customComponentOptions.documentation,
1323
+ schema: CustomComponent.schema(),
1324
+ };
1325
+ },
1326
+ enumerable: false,
1327
+ configurable: true
1328
+ });
1329
+ CustomComponent.prototype.elementInfo = function () {
1330
+ var info = _super.prototype.elementInfo.call(this);
1331
+ info.type = customComponentOptions.selector;
1332
+ info.changeEvent = customComponentOptions.changeEvent || 'valueChange';
1333
+ info.attr = Object.assign(Object.assign({}, info.attr), { class: info.attr.class.replace('form-control', 'form-control-custom-field') // remove the form-control class as the custom angular component may look different
1334
+ });
1335
+ return info;
1336
+ };
1337
+ Object.defineProperty(CustomComponent.prototype, "inputInfo", {
1338
+ get: function () {
1339
+ var info = Object.assign({ id: this.key }, this.elementInfo());
1340
+ return info;
1341
+ },
1342
+ enumerable: false,
1343
+ configurable: true
1344
+ });
1345
+ CustomComponent.prototype.renderElement = function (value, index) {
1346
+ var info = this.inputInfo;
1347
+ return this.renderTemplate(customComponentOptions.template || 'input', {
1348
+ input: info,
1349
+ value: value,
1350
+ index: index
1351
+ });
1352
+ };
1353
+ CustomComponent.prototype.attach = function (element) {
1354
+ var _this = this;
1355
+ var superAttach = _super.prototype.attach.call(this, element);
1356
+ this._customAngularElement = element.querySelector(customComponentOptions.selector);
1357
+ // Bind the custom options and the validations to the Angular component's inputs (flattened)
1358
+ if (this._customAngularElement) {
1359
+ // To make sure we have working input in IE...
1360
+ // IE doesn't render it properly if it's not visible on the screen
1361
+ // due to the whole structure applied via innerHTML to the parent
1362
+ // so we need to use appendChild
1363
+ if (!this._customAngularElement.getAttribute('ng-version')) {
1364
+ this._customAngularElement.removeAttribute('ref');
1365
+ var newCustomElement_1 = document.createElement(customComponentOptions.selector);
1366
+ newCustomElement_1.setAttribute('ref', 'input');
1367
+ Object.keys(this.inputInfo.attr).forEach(function (attr) {
1368
+ newCustomElement_1.setAttribute(attr, _this.inputInfo.attr[attr]);
1369
+ });
1370
+ this._customAngularElement.appendChild(newCustomElement_1);
1371
+ this._customAngularElement = newCustomElement_1;
1372
+ superAttach = _super.prototype.attach.call(this, element);
1373
+ }
1374
+ // Bind customOptions
1375
+ for (var key in this.component.customOptions) {
1376
+ if (this.component.customOptions.hasOwnProperty(key)) {
1377
+ this._customAngularElement[key] = this.component.customOptions[key];
1378
+ }
1379
+ }
1380
+ // Bind validate options
1381
+ for (var key in this.component.validate) {
1382
+ if (this.component.validate.hasOwnProperty(key)) {
1383
+ this._customAngularElement[key] = this.component.validate[key];
1384
+ }
1385
+ }
1386
+ // Bind options explicitly set
1387
+ var fieldOptions = customComponentOptions.fieldOptions;
1388
+ if (lodash.isArray(fieldOptions) && fieldOptions.length > 0) {
1389
+ for (var key in fieldOptions) {
1390
+ if (fieldOptions.hasOwnProperty(key)) {
1391
+ this._customAngularElement[fieldOptions[key]] = this.component[fieldOptions[key]];
1392
+ }
1393
+ }
1394
+ }
1395
+ // Attach event listener for emit event
1396
+ this._customAngularElement.addEventListener('formioEvent', function (event) {
1397
+ _this.emit(event.detail.eventName, Object.assign(Object.assign({}, event.detail.data), { component: _this.component }));
1398
+ });
1399
+ // Ensure we bind the value (if it isn't a multiple-value component with no wrapper)
1400
+ if (!this._customAngularElement.value && !this.component.disableMultiValueWrapper) {
1401
+ this.restoreValue();
1402
+ }
1403
+ }
1404
+ return superAttach;
1405
+ };
1406
+ // Add extra option to support multiple value (e.g. datagrid) with single angular component (disableMultiValueWrapper)
1407
+ CustomComponent.prototype.useWrapper = function () {
1408
+ return this.component.hasOwnProperty('multiple') && this.component.multiple && !this.component.disableMultiValueWrapper;
1409
+ };
1410
+ Object.defineProperty(CustomComponent.prototype, "defaultValue", {
1411
+ get: function () {
1412
+ var defaultValue = this.emptyValue;
1413
+ // handle falsy default value
1414
+ if (!lodash.isNil(this.component.defaultValue)) {
1415
+ defaultValue = this.component.defaultValue;
1416
+ }
1417
+ if (this.component.customDefaultValue && !this.options.preview) {
1418
+ defaultValue = this.evaluate(this.component.customDefaultValue, { value: '' }, 'value');
1419
+ }
1420
+ return lodash.clone(defaultValue);
1421
+ },
1422
+ enumerable: false,
1423
+ configurable: true
1424
+ });
1425
+ return CustomComponent;
1426
+ }(BaseInputComponent)),
1427
+ _a.editForm = customComponentOptions.editForm || TextfieldComponent.editForm,
1428
+ _a;
1429
+ }
1430
+
1431
+ function registerCustomTag(tag, injector) {
1432
+ injector.get(CustomTagsService).addCustomTag(tag);
1433
+ }
1434
+ function registerCustomTags(tags, injector) {
1435
+ tags.forEach(function (tag) { return registerCustomTag(tag, injector); });
1436
+ }
1437
+ function registerCustomFormioComponent(options, angularComponent, injector) {
1438
+ registerCustomTag(options.selector, injector);
1439
+ var complexCustomComponent = elements.createCustomElement(angularComponent, { injector: injector });
1440
+ customElements.define(options.selector, complexCustomComponent);
1441
+ formiojs.Components.setComponent(options.type, createCustomFormioComponent(options));
1442
+ }
1443
+ function registerCustomFormioComponentWithClass(options, angularComponent, formioClass, injector) {
1444
+ registerCustomTag(options.selector, injector);
1445
+ var complexCustomComponent = elements.createCustomElement(angularComponent, { injector: injector });
1446
+ customElements.define(options.selector, complexCustomComponent);
1447
+ formiojs.Components.setComponent(options.type, formioClass);
1448
+ }
1449
+
1450
+ /*
1451
+ * Public API Surface of angular-formio
1452
+ */
1453
+
1454
+ /**
1455
+ * Generated bundle index. Do not edit.
1456
+ */
1457
+
1458
+ Object.defineProperty(exports, 'Components', {
1459
+ enumerable: true,
1460
+ get: function () { return formiojs.Components; }
1461
+ });
1462
+ Object.defineProperty(exports, 'Formio', {
1463
+ enumerable: true,
1464
+ get: function () { return formiojs.Formio; }
1465
+ });
1466
+ Object.defineProperty(exports, 'FormioUtils', {
1467
+ enumerable: true,
1468
+ get: function () { return formiojs.Utils; }
1469
+ });
1470
+ Object.defineProperty(exports, 'Templates', {
1471
+ enumerable: true,
1472
+ get: function () { return formiojs.Templates; }
1473
+ });
1474
+ exports.FormBuilderComponent = FormBuilderComponent;
1475
+ exports.FormioAlerts = FormioAlerts;
1476
+ exports.FormioAlertsComponent = FormioAlertsComponent;
1477
+ exports.FormioAppConfig = FormioAppConfig;
1478
+ exports.FormioBaseComponent = FormioBaseComponent;
1479
+ exports.FormioComponent = FormioComponent;
1480
+ exports.FormioError = FormioError;
1481
+ exports.FormioLoaderComponent = FormioLoaderComponent;
1482
+ exports.FormioModule = FormioModule;
1483
+ exports.FormioPromiseService = FormioPromiseService;
1484
+ exports.FormioService = FormioService;
1485
+ exports.createCustomFormioComponent = createCustomFormioComponent;
1486
+ exports.extendRouter = extendRouter;
1487
+ exports.registerCustomFormioComponent = registerCustomFormioComponent;
1488
+ exports.registerCustomFormioComponentWithClass = registerCustomFormioComponentWithClass;
1489
+ exports.registerCustomTag = registerCustomTag;
1490
+ exports.registerCustomTags = registerCustomTags;
1491
+ exports["ɵa"] = CustomTagsService;
1492
+ exports["ɵb"] = ParseHtmlContentPipe;
1493
+
1494
+ Object.defineProperty(exports, '__esModule', { value: true });
1495
+
1496
+ }));
1497
+ //# sourceMappingURL=formio-angular.umd.js.map