@formio/angular 5.2.1-rc.1 → 5.2.2

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 -1004
  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
@@ -1,1232 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Injectable, EventEmitter, Component, Optional, Input, Output, ViewChild, Pipe, ViewEncapsulation, NgModule } from '@angular/core';
3
- import { Observable } from 'rxjs';
4
- import { Formio, Form, Utils, FormBuilder, Components } from 'formiojs';
5
- export { Components, Formio, Utils as FormioUtils, Templates } from 'formiojs';
6
- import { RouterModule } from '@angular/router';
7
- import { each, assign, get, isEmpty, isArray, isNil, clone } from 'lodash';
8
- import Evaluator from 'formiojs/utils/Evaluator';
9
- import { fastCloneDeep } from 'formiojs/utils/utils';
10
- import * as i1 from '@angular/common';
11
- import { CommonModule } from '@angular/common';
12
- import { createCustomElement } from '@angular/elements';
13
-
14
- class FormioAppConfig {
15
- constructor() {
16
- this.appUrl = '';
17
- this.apiUrl = '';
18
- }
19
- }
20
- FormioAppConfig.ɵfac = function FormioAppConfig_Factory(t) { return new (t || FormioAppConfig)(); };
21
- FormioAppConfig.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAppConfig, factory: FormioAppConfig.ɵfac });
22
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAppConfig, [{
23
- type: Injectable
24
- }], null, null); })();
25
-
26
- class FormioError {
27
- constructor(message, component, silent) {
28
- this.message = message;
29
- this.component = component;
30
- this.silent = silent;
31
- }
32
- }
33
-
34
- class FormioService {
35
- constructor(url, options) {
36
- this.url = url;
37
- this.options = options;
38
- this.formio = new Formio(this.url, this.options);
39
- }
40
- requestWrapper(fn) {
41
- let record;
42
- let called = false;
43
- return Observable.create((observer) => {
44
- try {
45
- if (!called) {
46
- called = true;
47
- fn()
48
- .then((_record) => {
49
- record = _record;
50
- observer.next(record);
51
- observer.complete();
52
- })
53
- .catch((err) => observer.error(err));
54
- }
55
- else if (record) {
56
- observer.next(record);
57
- observer.complete();
58
- }
59
- }
60
- catch (err) {
61
- observer.error(err);
62
- }
63
- });
64
- }
65
- saveForm(form, options) {
66
- return this.requestWrapper(() => this.formio.saveForm(form, options));
67
- }
68
- loadForm(query, options) {
69
- return this.requestWrapper(() => this.formio.loadForm(query, options));
70
- }
71
- loadForms(query, options) {
72
- return this.requestWrapper(() => this.formio.loadForms(query, options));
73
- }
74
- loadSubmission(query, options) {
75
- return this.requestWrapper(() => this.formio.loadSubmission(query, options));
76
- }
77
- userPermissions(user, form, submission) {
78
- return this.requestWrapper(() => this.formio.userPermissions(user, form, submission));
79
- }
80
- deleteSubmission(data, options) {
81
- return this.requestWrapper(() => this.formio.deleteSubmission(data, options));
82
- }
83
- saveSubmission(submission, options) {
84
- return this.requestWrapper(() => this.formio.saveSubmission(submission, options));
85
- }
86
- loadSubmissions(query, options) {
87
- return this.requestWrapper(() => this.formio.loadSubmissions(query, options));
88
- }
89
- }
90
-
91
- class FormioPromiseService {
92
- constructor(url, options) {
93
- this.url = url;
94
- this.options = options;
95
- this.formioService = new FormioService(url, options);
96
- }
97
- saveForm(form, options) {
98
- return this.formioService.saveForm(form, options).toPromise();
99
- }
100
- loadForm(query, options) {
101
- return this.formioService.loadForm(query, options).toPromise();
102
- }
103
- loadSubmission(query, options) {
104
- return this.formioService.loadSubmission(query, options).toPromise();
105
- }
106
- userPermissions(user, form, submission) {
107
- return this.formioService.userPermissions(user, form, submission).toPromise();
108
- }
109
- deleteSubmission(data, options) {
110
- return this.formioService.deleteSubmission(data, options).toPromise();
111
- }
112
- loadForms(query, options) {
113
- return this.formioService.loadForms(query, options).toPromise();
114
- }
115
- saveSubmission(submission, options) {
116
- return this.formioService.saveSubmission(submission, options).toPromise();
117
- }
118
- loadSubmissions(query, options) {
119
- return this.formioService.loadSubmissions(query, options).toPromise();
120
- }
121
- }
122
-
123
- function extendRouter(Class, config, ClassRoutes) {
124
- each(Class.decorators, decorator => {
125
- each(decorator.args, arg => {
126
- if (arg.declarations) {
127
- each(config, component => arg.declarations.push(component));
128
- }
129
- if (arg.imports) {
130
- each(arg.imports, (_import, index) => {
131
- if ((_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||
132
- (_import.name === 'RouterModule')) {
133
- arg.imports[index] = RouterModule.forChild(ClassRoutes(config));
134
- }
135
- });
136
- }
137
- });
138
- });
139
- return Class;
140
- }
141
-
142
- class FormioAlerts {
143
- constructor() {
144
- this.alerts = [];
145
- }
146
- setAlert(alert) {
147
- this.alerts = [alert];
148
- }
149
- addAlert(alert) {
150
- this.alerts.push(alert);
151
- }
152
- setAlerts(alerts) {
153
- this.alerts = alerts;
154
- }
155
- }
156
-
157
- var AlertsPosition;
158
- (function (AlertsPosition) {
159
- AlertsPosition[AlertsPosition["none"] = 0] = "none";
160
- AlertsPosition[AlertsPosition["top"] = 1] = "top";
161
- AlertsPosition[AlertsPosition["bottom"] = 2] = "bottom";
162
- AlertsPosition[AlertsPosition["both"] = 3] = "both";
163
- })(AlertsPosition || (AlertsPosition = {}));
164
-
165
- class CustomTagsService {
166
- constructor() {
167
- this.tags = [];
168
- }
169
- addCustomTag(tag) {
170
- this.tags.push(tag);
171
- }
172
- }
173
- CustomTagsService.ɵfac = function CustomTagsService_Factory(t) { return new (t || CustomTagsService)(); };
174
- CustomTagsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CustomTagsService, factory: CustomTagsService.ɵfac });
175
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTagsService, [{
176
- type: Injectable
177
- }], null, null); })();
178
-
179
- const _c0$1 = ["formio"];
180
- class FormioBaseComponent {
181
- constructor(ngZone, config, customTags) {
182
- this.ngZone = ngZone;
183
- this.config = config;
184
- this.customTags = customTags;
185
- this.submission = {};
186
- this.noeval = Evaluator.noeval;
187
- this.readOnly = false;
188
- this.viewOnly = false;
189
- this.hooks = {};
190
- this.watchSubmissionErrors = false;
191
- this.render = new EventEmitter();
192
- this.customEvent = new EventEmitter();
193
- this.fileUploadingStatus = new EventEmitter();
194
- this.submit = new EventEmitter();
195
- this.prevPage = new EventEmitter();
196
- this.nextPage = new EventEmitter();
197
- this.beforeSubmit = new EventEmitter();
198
- this.change = new EventEmitter();
199
- this.invalid = new EventEmitter();
200
- this.errorChange = new EventEmitter();
201
- this.formLoad = new EventEmitter();
202
- this.submissionLoad = new EventEmitter();
203
- this.ready = new EventEmitter();
204
- this.AlertsPosition = AlertsPosition;
205
- this.initialized = false;
206
- this.alerts = new FormioAlerts();
207
- this.submitting = false;
208
- this.submissionSuccess = false;
209
- this.isLoading = true;
210
- this.formioReady = new Promise((ready) => {
211
- this.formioReadyResolve = ready;
212
- });
213
- }
214
- getRenderer() {
215
- return this.renderer;
216
- }
217
- getRendererOptions() {
218
- const extraTags = this.customTags ? this.customTags.tags : [];
219
- return assign({}, {
220
- icons: get(this.config, 'icons', 'fontawesome'),
221
- noAlerts: get(this.options, 'noAlerts', true),
222
- readOnly: this.readOnly,
223
- viewAsHtml: this.viewOnly,
224
- i18n: get(this.options, 'i18n', null),
225
- fileService: get(this.options, 'fileService', null),
226
- hooks: this.hooks,
227
- sanitizeConfig: {
228
- addTags: extraTags
229
- }
230
- }, this.renderOptions || {});
231
- }
232
- createRenderer() {
233
- const Renderer = this.getRenderer();
234
- const form = (new Renderer(this.formioElement ? this.formioElement.nativeElement : null, this.form, this.getRendererOptions()));
235
- return form.instance;
236
- }
237
- setForm(form) {
238
- this.form = form;
239
- if (this.formio) {
240
- this.formio.destroy();
241
- }
242
- if (this.form.title) {
243
- this.label = this.form.title;
244
- }
245
- else if (this.form.components && this.form.components[0]) {
246
- this.label = this.form.components[0].label;
247
- }
248
- // Clear out the element to render the new form.
249
- if (this.formioElement && this.formioElement.nativeElement) {
250
- this.formioElement.nativeElement.innerHTML = '';
251
- }
252
- this.formio = this.createRenderer();
253
- this.formio.submission = this.submission;
254
- if (this.renderOptions && this.renderOptions.validateOnInit) {
255
- this.formio.setValue(this.submission, { validateOnInit: true });
256
- }
257
- if (this.url) {
258
- this.formio.setUrl(this.url, this.formioOptions || {});
259
- }
260
- if (this.src) {
261
- this.formio.setUrl(this.src, this.formioOptions || {});
262
- }
263
- this.formio.nosubmit = true;
264
- this.formio.on('prevPage', (data) => this.ngZone.run(() => this.onPrevPage(data)));
265
- this.formio.on('nextPage', (data) => this.ngZone.run(() => this.onNextPage(data)));
266
- this.formio.on('change', (value, flags, isModified) => this.ngZone.run(() => this.onChange(value, flags, isModified)));
267
- this.formio.on('customEvent', (event) => this.ngZone.run(() => this.customEvent.emit(event)));
268
- ['fileUploadingStart', 'fileUploadingEnd'].forEach((eventName, index) => {
269
- const status = !!index ? 'end' : 'start';
270
- this.formio.on(eventName, () => this.ngZone.run(() => this.fileUploadingStatus.emit(status)));
271
- });
272
- this.formio.on('submit', (submission, saved) => this.ngZone.run(() => this.submitForm(submission, saved)));
273
- this.formio.on('error', (err) => this.ngZone.run(() => {
274
- this.submissionSuccess = false;
275
- return this.onError(err);
276
- }));
277
- this.formio.on('render', () => this.ngZone.run(() => this.render.emit()));
278
- this.formio.on('formLoad', (loadedForm) => this.ngZone.run(() => this.formLoad.emit(loadedForm)));
279
- return this.formio.ready.then(() => {
280
- this.ngZone.run(() => {
281
- this.isLoading = false;
282
- this.ready.emit(this);
283
- this.formioReadyResolve(this.formio);
284
- if (this.formio.submissionReady) {
285
- this.formio.submissionReady.then((submission) => {
286
- this.submissionLoad.emit(submission);
287
- });
288
- }
289
- });
290
- return this.formio;
291
- });
292
- }
293
- initialize() {
294
- if (this.initialized) {
295
- return;
296
- }
297
- const extraTags = this.customTags ? this.customTags.tags : [];
298
- const defaultOptions = {
299
- errors: {
300
- message: 'Please fix the following errors before submitting.'
301
- },
302
- alerts: {
303
- submitMessage: 'Submission Complete.'
304
- },
305
- disableAlerts: false,
306
- hooks: {
307
- beforeSubmit: null
308
- },
309
- sanitizeConfig: {
310
- addTags: extraTags
311
- },
312
- alertsPosition: AlertsPosition.top,
313
- };
314
- this.options = Object.assign(defaultOptions, this.options);
315
- if (this.options.disableAlerts) {
316
- this.options.alertsPosition = AlertsPosition.none;
317
- }
318
- this.initialized = true;
319
- }
320
- ngOnInit() {
321
- Evaluator.noeval = this.noeval;
322
- this.initialize();
323
- if (this.language) {
324
- if (typeof this.language === 'string') {
325
- this.formio.language = this.language;
326
- }
327
- else {
328
- this.language.subscribe((lang) => {
329
- this.formio.language = lang;
330
- });
331
- }
332
- }
333
- if (this.refresh) {
334
- this.refresh.subscribe((refresh) => this.onRefresh(refresh));
335
- }
336
- if (this.error) {
337
- this.error.subscribe((err) => this.onError(err));
338
- }
339
- if (this.success) {
340
- this.success.subscribe((message) => {
341
- this.alerts.setAlert({
342
- type: 'success',
343
- message: message || get(this.options, 'alerts.submitMessage')
344
- });
345
- });
346
- }
347
- if (this.src) {
348
- if (!this.service) {
349
- this.service = new FormioService(this.src);
350
- }
351
- this.isLoading = true;
352
- this.service.loadForm({ params: { live: 1 } }).subscribe((form) => {
353
- if (form && form.components) {
354
- this.ngZone.runOutsideAngular(() => {
355
- this.setForm(form);
356
- });
357
- }
358
- // if a submission is also provided.
359
- if (isEmpty(this.submission) &&
360
- this.service &&
361
- this.service.formio.submissionId) {
362
- this.service.loadSubmission().subscribe((submission) => {
363
- if (this.readOnly) {
364
- this.formio.options.readOnly = true;
365
- }
366
- this.submission = this.formio.submission = submission;
367
- }, err => this.onError(err));
368
- }
369
- }, err => this.onError(err));
370
- }
371
- if (this.url && !this.service) {
372
- this.service = new FormioService(this.url);
373
- }
374
- }
375
- ngOnDestroy() {
376
- if (this.formio) {
377
- this.formio.destroy();
378
- }
379
- }
380
- onRefresh(refresh) {
381
- this.formioReady.then(() => {
382
- if (refresh.form) {
383
- this.formio.setForm(refresh.form).then(() => {
384
- if (refresh.submission) {
385
- this.formio.setSubmission(refresh.submission);
386
- }
387
- });
388
- }
389
- else if (refresh.submission) {
390
- this.formio.setSubmission(refresh.submission);
391
- }
392
- else {
393
- switch (refresh.property) {
394
- case 'submission':
395
- this.formio.submission = refresh.value;
396
- break;
397
- case 'form':
398
- this.formio.form = refresh.value;
399
- break;
400
- }
401
- }
402
- });
403
- }
404
- ngOnChanges(changes) {
405
- Evaluator.noeval = this.noeval;
406
- this.initialize();
407
- if (changes.form && changes.form.currentValue) {
408
- this.ngZone.runOutsideAngular(() => {
409
- this.setForm(changes.form.currentValue);
410
- });
411
- }
412
- this.formioReady.then(() => {
413
- if (changes.submission && changes.submission.currentValue) {
414
- this.formio.setSubmission(changes.submission.currentValue, {
415
- fromSubmission: false,
416
- });
417
- }
418
- if (changes.hideComponents && changes.hideComponents.currentValue) {
419
- const hiddenComponents = changes.hideComponents.currentValue;
420
- this.formio.options.hide = hiddenComponents;
421
- this.formio.everyComponent((component) => {
422
- component.options.hide = hiddenComponents;
423
- if (hiddenComponents.includes(component.component.key)) {
424
- component.visible = false;
425
- }
426
- });
427
- }
428
- });
429
- }
430
- onPrevPage(data) {
431
- this.alerts.setAlerts([]);
432
- this.prevPage.emit(data);
433
- }
434
- onNextPage(data) {
435
- this.alerts.setAlerts([]);
436
- this.nextPage.emit(data);
437
- }
438
- onSubmit(submission, saved, noemit) {
439
- this.submitting = false;
440
- this.submissionSuccess = true;
441
- this.formio.setValue(fastCloneDeep(submission), {
442
- noValidate: true,
443
- noCheck: true
444
- });
445
- if (saved) {
446
- this.formio.emit('submitDone', submission);
447
- }
448
- if (!noemit) {
449
- this.submit.emit(submission);
450
- }
451
- if (!this.success) {
452
- this.alerts.setAlert({
453
- type: 'success',
454
- message: get(this.options, 'alerts.submitMessage')
455
- });
456
- }
457
- }
458
- onError(err) {
459
- this.alerts.setAlerts([]);
460
- this.submitting = false;
461
- this.isLoading = false;
462
- if (!err) {
463
- return;
464
- }
465
- // Make sure it is an array.
466
- const errors = Array.isArray(err) ? err : [err];
467
- // Emit these errors again.
468
- this.errorChange.emit(errors);
469
- if (err.silent) {
470
- return;
471
- }
472
- if (this.formio && errors.length) {
473
- this.formio.emit('submitError', errors);
474
- }
475
- // Iterate through each one and set the alerts array.
476
- errors.forEach((error) => {
477
- const { message, paths, } = error
478
- ? error.details
479
- ? {
480
- message: error.details.map((detail) => detail.message),
481
- paths: error.details.map((detail) => detail.path),
482
- }
483
- : {
484
- message: error.message || error.toString(),
485
- paths: error.path ? [error.path] : [],
486
- }
487
- : {
488
- message: '',
489
- paths: [],
490
- };
491
- let shouldErrorDisplay = true;
492
- if (this.formio) {
493
- paths.forEach((path, index) => {
494
- const component = this.formio.getComponent(path);
495
- if (component) {
496
- const components = Array.isArray(component) ? component : [component];
497
- const messageText = Array.isArray(message) ? message[index] : message;
498
- components.forEach((comp) => comp.setCustomValidity(messageText, true));
499
- this.alerts.addAlert({
500
- type: 'danger',
501
- message: message[index],
502
- component,
503
- });
504
- shouldErrorDisplay = false;
505
- }
506
- });
507
- if (window.VPAT_ENABLED) {
508
- if (typeof error === 'string' && this.formio.components) {
509
- this.formio.components.forEach((comp) => {
510
- if (comp && comp.type !== 'button') {
511
- comp.setCustomValidity(message, true);
512
- }
513
- });
514
- }
515
- }
516
- if (!this.noAlerts) {
517
- this.formio.showErrors();
518
- }
519
- }
520
- if (shouldErrorDisplay) {
521
- this.alerts.addAlert({
522
- type: 'danger',
523
- message,
524
- component: error.component,
525
- });
526
- }
527
- });
528
- }
529
- focusOnComponet(key) {
530
- if (this.formio) {
531
- this.formio.focusOnComponent(key);
532
- }
533
- }
534
- submitExecute(submission, saved = false) {
535
- if (this.service && !this.url && !saved) {
536
- this.service
537
- .saveSubmission(submission)
538
- .subscribe((sub) => this.onSubmit(sub, true), err => this.onError(err));
539
- }
540
- else {
541
- this.onSubmit(submission, false);
542
- }
543
- }
544
- submitForm(submission, saved = false) {
545
- // Keep double submits from occurring...
546
- if (this.submitting) {
547
- return;
548
- }
549
- this.formio.setMetadata(submission);
550
- this.submissionSuccess = false;
551
- this.submitting = true;
552
- this.beforeSubmit.emit(submission);
553
- // if they provide a beforeSubmit hook, then allow them to alter the submission asynchronously
554
- // or even provide a custom Error method.
555
- const beforeSubmit = get(this.options, 'hooks.beforeSubmit');
556
- if (beforeSubmit) {
557
- beforeSubmit(submission, (err, sub) => {
558
- if (err) {
559
- this.onError(err);
560
- return;
561
- }
562
- this.submitExecute(sub, saved);
563
- });
564
- }
565
- else {
566
- this.submitExecute(submission, saved);
567
- }
568
- }
569
- onChange(value, flags, isModified) {
570
- if (this.watchSubmissionErrors && !this.submissionSuccess) {
571
- const errors = get(this, 'formio.errors', []);
572
- const alerts = get(this, 'alerts.alerts', []);
573
- const submitted = get(this, 'formio.submitted', false);
574
- if (submitted && (errors.length || alerts.length)) {
575
- this.onError(errors);
576
- }
577
- }
578
- return this.change.emit(Object.assign(Object.assign({}, value), { flags, isModified }));
579
- }
580
- }
581
- FormioBaseComponent.ɵfac = function FormioBaseComponent_Factory(t) { return new (t || FormioBaseComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(FormioAppConfig, 8), i0.ɵɵdirectiveInject(CustomTagsService, 8)); };
582
- FormioBaseComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioBaseComponent, selectors: [["ng-component"]], viewQuery: function FormioBaseComponent_Query(rf, ctx) { if (rf & 1) {
583
- i0.ɵɵviewQuery(_c0$1, 7);
584
- } if (rf & 2) {
585
- let _t;
586
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.formioElement = _t.first);
587
- } }, inputs: { form: "form", submission: "submission", src: "src", url: "url", service: "service", options: "options", noeval: "noeval", formioOptions: "formioOptions", renderOptions: "renderOptions", readOnly: "readOnly", viewOnly: "viewOnly", hideComponents: "hideComponents", refresh: "refresh", error: "error", success: "success", language: "language", hooks: "hooks", renderer: "renderer", watchSubmissionErrors: "watchSubmissionErrors" }, outputs: { render: "render", customEvent: "customEvent", fileUploadingStatus: "fileUploadingStatus", submit: "submit", prevPage: "prevPage", nextPage: "nextPage", beforeSubmit: "beforeSubmit", change: "change", invalid: "invalid", errorChange: "errorChange", formLoad: "formLoad", submissionLoad: "submissionLoad", ready: "ready" }, features: [i0.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function FormioBaseComponent_Template(rf, ctx) { }, encapsulation: 2 });
588
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioBaseComponent, [{
589
- type: Component,
590
- args: [{
591
- template: ''
592
- }]
593
- }], function () { return [{ type: i0.NgZone }, { type: FormioAppConfig, decorators: [{
594
- type: Optional
595
- }] }, { type: CustomTagsService, decorators: [{
596
- type: Optional
597
- }] }]; }, { form: [{
598
- type: Input
599
- }], submission: [{
600
- type: Input
601
- }], src: [{
602
- type: Input
603
- }], url: [{
604
- type: Input
605
- }], service: [{
606
- type: Input
607
- }], options: [{
608
- type: Input
609
- }], noeval: [{
610
- type: Input
611
- }], formioOptions: [{
612
- type: Input
613
- }], renderOptions: [{
614
- type: Input
615
- }], readOnly: [{
616
- type: Input
617
- }], viewOnly: [{
618
- type: Input
619
- }], hideComponents: [{
620
- type: Input
621
- }], refresh: [{
622
- type: Input
623
- }], error: [{
624
- type: Input
625
- }], success: [{
626
- type: Input
627
- }], language: [{
628
- type: Input
629
- }], hooks: [{
630
- type: Input
631
- }], renderer: [{
632
- type: Input
633
- }], watchSubmissionErrors: [{
634
- type: Input
635
- }], render: [{
636
- type: Output
637
- }], customEvent: [{
638
- type: Output
639
- }], fileUploadingStatus: [{
640
- type: Output
641
- }], submit: [{
642
- type: Output
643
- }], prevPage: [{
644
- type: Output
645
- }], nextPage: [{
646
- type: Output
647
- }], beforeSubmit: [{
648
- type: Output
649
- }], change: [{
650
- type: Output
651
- }], invalid: [{
652
- type: Output
653
- }], errorChange: [{
654
- type: Output
655
- }], formLoad: [{
656
- type: Output
657
- }], submissionLoad: [{
658
- type: Output
659
- }], ready: [{
660
- type: Output
661
- }], formioElement: [{
662
- type: ViewChild,
663
- args: ['formio', { static: true }]
664
- }] }); })();
665
-
666
- function FormioLoaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
667
- i0.ɵɵelementStart(0, "div", 1);
668
- i0.ɵɵelement(1, "div", 2);
669
- i0.ɵɵelementEnd();
670
- } }
671
- class FormioLoaderComponent {
672
- }
673
- FormioLoaderComponent.ɵfac = function FormioLoaderComponent_Factory(t) { return new (t || FormioLoaderComponent)(); };
674
- FormioLoaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioLoaderComponent, selectors: [["formio-loader"]], inputs: { isLoading: "isLoading" }, decls: 1, vars: 1, consts: [["class", "formio-loader-wrapper", 4, "ngIf"], [1, "formio-loader-wrapper"], [1, "formio-loader"]], template: function FormioLoaderComponent_Template(rf, ctx) { if (rf & 1) {
675
- i0.ɵɵtemplate(0, FormioLoaderComponent_div_0_Template, 2, 0, "div", 0);
676
- } if (rf & 2) {
677
- i0.ɵɵproperty("ngIf", ctx.isLoading);
678
- } }, directives: [i1.NgIf], styles: [".formio-loader-wrapper[_ngcontent-%COMP%]{position:absolute;top:0px;bottom:0px;left:0px;right:0px;z-index:1000}.formio-loader[_ngcontent-%COMP%]{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)}}"] });
679
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioLoaderComponent, [{
680
- type: Component,
681
- args: [{
682
- selector: 'formio-loader',
683
- styleUrls: ['./formio.loader.component.scss'],
684
- templateUrl: './formio.loader.component.html'
685
- }]
686
- }], null, { isLoading: [{
687
- type: Input
688
- }] }); })();
689
-
690
- class ParseHtmlContentPipe {
691
- /*
692
- Some messages that are come from formiojs have hex codes. So the main aim of this pipe is transform this messages to html.
693
- And then render in template.
694
- */
695
- transform(content) {
696
- const parsedContent = new DOMParser().parseFromString(content, 'text/html').body.childNodes[0];
697
- return parsedContent === null || parsedContent === void 0 ? void 0 : parsedContent.textContent;
698
- }
699
- }
700
- ParseHtmlContentPipe.ɵfac = function ParseHtmlContentPipe_Factory(t) { return new (t || ParseHtmlContentPipe)(); };
701
- ParseHtmlContentPipe.ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: "parseHtmlContent", type: ParseHtmlContentPipe, pure: false });
702
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ParseHtmlContentPipe, [{
703
- type: Pipe,
704
- args: [{ name: 'parseHtmlContent', pure: false }]
705
- }], null, null); })();
706
-
707
- function FormioAlertsComponent_div_0_Template(rf, ctx) { if (rf & 1) {
708
- const _r3 = i0.ɵɵgetCurrentView();
709
- i0.ɵɵelementStart(0, "div", 1);
710
- i0.ɵɵlistener("click", function FormioAlertsComponent_div_0_Template_div_click_0_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r3); const alert_r1 = restoredCtx.$implicit; const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.getComponent($event, alert_r1); });
711
- i0.ɵɵtext(1);
712
- i0.ɵɵpipe(2, "parseHtmlContent");
713
- i0.ɵɵelementEnd();
714
- } if (rf & 2) {
715
- const alert_r1 = ctx.$implicit;
716
- i0.ɵɵclassMapInterpolate1("alert alert-", alert_r1.type, "");
717
- i0.ɵɵadvance(1);
718
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 4, alert_r1.message), "\n");
719
- } }
720
- class FormioAlertsComponent {
721
- constructor() {
722
- this.focusComponent = new EventEmitter();
723
- }
724
- ngOnInit() {
725
- if (!this.alerts) {
726
- this.alerts = new FormioAlerts();
727
- }
728
- }
729
- getComponent(event, alert) {
730
- this.focusComponent.emit(alert.component.key);
731
- }
732
- }
733
- FormioAlertsComponent.ɵfac = function FormioAlertsComponent_Factory(t) { return new (t || FormioAlertsComponent)(); };
734
- FormioAlertsComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioAlertsComponent, selectors: [["formio-alerts"]], inputs: { alerts: "alerts" }, outputs: { focusComponent: "focusComponent" }, decls: 1, vars: 1, consts: [["role", "alert", 3, "class", "click", 4, "ngFor", "ngForOf"], ["role", "alert", 3, "click"]], template: function FormioAlertsComponent_Template(rf, ctx) { if (rf & 1) {
735
- i0.ɵɵtemplate(0, FormioAlertsComponent_div_0_Template, 3, 6, "div", 0);
736
- } if (rf & 2) {
737
- i0.ɵɵproperty("ngForOf", ctx.alerts.alerts);
738
- } }, directives: [i1.NgForOf], pipes: [ParseHtmlContentPipe], encapsulation: 2 });
739
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAlertsComponent, [{
740
- type: Component,
741
- args: [{
742
- selector: 'formio-alerts',
743
- templateUrl: './formio.alerts.component.html'
744
- }]
745
- }], null, { alerts: [{
746
- type: Input
747
- }], focusComponent: [{
748
- type: Output
749
- }] }); })();
750
-
751
- function FormioComponent_div_1_Template(rf, ctx) { if (rf & 1) {
752
- i0.ɵɵelementStart(0, "div", 4);
753
- i0.ɵɵelement(1, "formio-loader", 5);
754
- i0.ɵɵelementEnd();
755
- } if (rf & 2) {
756
- const ctx_r0 = i0.ɵɵnextContext();
757
- i0.ɵɵadvance(1);
758
- i0.ɵɵproperty("isLoading", ctx_r0.isLoading);
759
- } }
760
- function FormioComponent_formio_alerts_2_Template(rf, ctx) { if (rf & 1) {
761
- const _r5 = i0.ɵɵgetCurrentView();
762
- i0.ɵɵelementStart(0, "formio-alerts", 6);
763
- i0.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_2_Template_formio_alerts_focusComponent_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.focusOnComponet($event); });
764
- i0.ɵɵelementEnd();
765
- } if (rf & 2) {
766
- const ctx_r1 = i0.ɵɵnextContext();
767
- i0.ɵɵproperty("alerts", ctx_r1.alerts);
768
- } }
769
- function FormioComponent_formio_alerts_5_Template(rf, ctx) { if (rf & 1) {
770
- const _r7 = i0.ɵɵgetCurrentView();
771
- i0.ɵɵelementStart(0, "formio-alerts", 6);
772
- i0.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_5_Template_formio_alerts_focusComponent_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.focusOnComponet($event); });
773
- i0.ɵɵelementEnd();
774
- } if (rf & 2) {
775
- const ctx_r3 = i0.ɵɵnextContext();
776
- i0.ɵɵproperty("alerts", ctx_r3.alerts);
777
- } }
778
- /* tslint:disable */
779
- /* tslint:enable */
780
- class FormioComponent extends FormioBaseComponent {
781
- constructor(ngZone, config, customTags) {
782
- super(ngZone, config, customTags);
783
- this.ngZone = ngZone;
784
- this.config = config;
785
- this.customTags = customTags;
786
- if (this.config) {
787
- Formio.setBaseUrl(this.config.apiUrl);
788
- Formio.setProjectUrl(this.config.appUrl);
789
- }
790
- else {
791
- console.warn('You must provide an AppConfig within your application!');
792
- }
793
- }
794
- getRenderer() {
795
- return this.renderer || Form;
796
- }
797
- }
798
- FormioComponent.ɵfac = function FormioComponent_Factory(t) { return new (t || FormioComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(FormioAppConfig, 8), i0.ɵɵdirectiveInject(CustomTagsService, 8)); };
799
- FormioComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioComponent, selectors: [["formio"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 4, consts: [["role", "form"], ["style", "position:relative;height:200px", 4, "ngIf"], [3, "alerts", "focusComponent", 4, "ngIf"], ["formio", ""], [2, "position", "relative", "height", "200px"], [3, "isLoading"], [3, "alerts", "focusComponent"]], template: function FormioComponent_Template(rf, ctx) { if (rf & 1) {
800
- i0.ɵɵelementStart(0, "div", 0);
801
- i0.ɵɵtemplate(1, FormioComponent_div_1_Template, 2, 1, "div", 1);
802
- i0.ɵɵtemplate(2, FormioComponent_formio_alerts_2_Template, 1, 1, "formio-alerts", 2);
803
- i0.ɵɵelement(3, "div", null, 3);
804
- i0.ɵɵtemplate(5, FormioComponent_formio_alerts_5_Template, 1, 1, "formio-alerts", 2);
805
- i0.ɵɵelementEnd();
806
- } if (rf & 2) {
807
- i0.ɵɵattribute("aria-label", ctx.label);
808
- i0.ɵɵadvance(1);
809
- i0.ɵɵproperty("ngIf", ctx.isLoading);
810
- i0.ɵɵadvance(1);
811
- i0.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.top || ctx.options.alertsPosition === ctx.AlertsPosition.both);
812
- i0.ɵɵadvance(3);
813
- i0.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.bottom || ctx.options.alertsPosition === ctx.AlertsPosition.both);
814
- } }, directives: [i1.NgIf, FormioLoaderComponent, FormioAlertsComponent], 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"], encapsulation: 2 });
815
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioComponent, [{
816
- type: Component,
817
- args: [{
818
- selector: 'formio',
819
- templateUrl: './formio.component.html',
820
- styleUrls: ['../../../../../node_modules/formiojs/dist/formio.form.min.css'],
821
- encapsulation: ViewEncapsulation.None,
822
- }]
823
- }], function () { return [{ type: i0.NgZone }, { type: FormioAppConfig, decorators: [{
824
- type: Optional
825
- }] }, { type: CustomTagsService, decorators: [{
826
- type: Optional
827
- }] }]; }, null); })();
828
-
829
- const _c0 = ["builder"];
830
- /* tslint:disable */
831
- /* tslint:enable */
832
- class FormBuilderComponent {
833
- constructor(ngZone, config, customTags) {
834
- this.ngZone = ngZone;
835
- this.config = config;
836
- this.customTags = customTags;
837
- this.componentAdding = false;
838
- this.noeval = false;
839
- if (this.config) {
840
- Formio.setBaseUrl(this.config.apiUrl);
841
- Formio.setProjectUrl(this.config.appUrl);
842
- }
843
- else {
844
- console.warn('You must provide an AppConfig within your application!');
845
- }
846
- this.change = new EventEmitter();
847
- this.ready = new Promise((resolve) => {
848
- this.readyResolve = resolve;
849
- });
850
- }
851
- ngOnInit() {
852
- Utils.Evaluator.noeval = this.noeval;
853
- if (this.refresh) {
854
- this.refreshSubscription = this.refresh.subscribe(() => {
855
- this.ngZone.runOutsideAngular(() => {
856
- this.buildForm(this.form);
857
- });
858
- });
859
- }
860
- if (this.rebuild) {
861
- this.rebuild.subscribe((options) => {
862
- this.ngZone.runOutsideAngular(() => {
863
- this.rebuildForm(this.form, options);
864
- });
865
- });
866
- }
867
- }
868
- setInstance(instance) {
869
- this.formio = instance;
870
- instance.off('addComponent');
871
- instance.off('saveComponent');
872
- instance.off('updateComponent');
873
- instance.off('removeComponent');
874
- instance.on('addComponent', (component, parent, path, index, isNew) => {
875
- this.ngZone.run(() => {
876
- if (isNew) {
877
- this.componentAdding = true;
878
- }
879
- else {
880
- this.change.emit({
881
- type: 'addComponent',
882
- builder: instance,
883
- form: instance.schema,
884
- component: component,
885
- parent: parent,
886
- path: path,
887
- index: index
888
- });
889
- this.componentAdding = false;
890
- }
891
- });
892
- });
893
- instance.on('saveComponent', (component, original, parent, path, index, isNew) => {
894
- this.ngZone.run(() => {
895
- this.change.emit({
896
- type: this.componentAdding ? 'addComponent' : 'saveComponent',
897
- builder: instance,
898
- form: instance.schema,
899
- component: component,
900
- originalComponent: original,
901
- parent: parent,
902
- path: path,
903
- index: index,
904
- isNew: isNew || false
905
- });
906
- this.componentAdding = false;
907
- });
908
- });
909
- instance.on('updateComponent', (component) => {
910
- this.ngZone.run(() => {
911
- this.change.emit({
912
- type: 'updateComponent',
913
- builder: instance,
914
- form: instance.schema,
915
- component: component
916
- });
917
- });
918
- });
919
- instance.on('removeComponent', (component, parent, path, index) => {
920
- this.ngZone.run(() => {
921
- this.change.emit({
922
- type: 'deleteComponent',
923
- builder: instance,
924
- form: instance.schema,
925
- component: component,
926
- parent: parent,
927
- path: path,
928
- index: index
929
- });
930
- });
931
- });
932
- this.ngZone.run(() => {
933
- this.readyResolve(instance);
934
- });
935
- return instance;
936
- }
937
- setDisplay(display, prevDisplay) {
938
- if (display && display !== prevDisplay) {
939
- return this.builder.setDisplay(display).then(instance => this.setInstance(instance));
940
- }
941
- else {
942
- return Promise.resolve();
943
- }
944
- }
945
- buildForm(form, prevForm) {
946
- if (!form || !this.builderElement || !this.builderElement.nativeElement) {
947
- return;
948
- }
949
- if (this.builder) {
950
- return this.setDisplay(form.display, prevForm === null || prevForm === void 0 ? void 0 : prevForm.display).then(() => {
951
- this.builder.form = form;
952
- this.builder.instance.form = form;
953
- return this.builder.instance;
954
- });
955
- }
956
- return this.rebuildForm(form);
957
- }
958
- rebuildForm(form, options) {
959
- const Builder = this.formbuilder || FormBuilder;
960
- const extraTags = this.customTags ? this.customTags.tags : [];
961
- this.builder = new Builder(this.builderElement.nativeElement, form, assign({
962
- icons: 'fontawesome',
963
- sanitizeConfig: {
964
- addTags: extraTags
965
- }
966
- }, options || this.options || {}));
967
- return this.builder.ready.then(instance => this.setInstance(instance));
968
- }
969
- ngOnChanges(changes) {
970
- Utils.Evaluator.noeval = this.noeval;
971
- if (changes.form && changes.form.currentValue) {
972
- this.ngZone.runOutsideAngular(() => {
973
- this.buildForm(changes.form.currentValue || { components: [] }, changes.form.previousValue);
974
- });
975
- }
976
- }
977
- ngOnDestroy() {
978
- if (this.refreshSubscription) {
979
- this.refreshSubscription.unsubscribe();
980
- }
981
- if (this.formio) {
982
- this.formio.destroy();
983
- }
984
- }
985
- }
986
- FormBuilderComponent.ɵfac = function FormBuilderComponent_Factory(t) { return new (t || FormBuilderComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(FormioAppConfig, 8), i0.ɵɵdirectiveInject(CustomTagsService, 8)); };
987
- FormBuilderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormBuilderComponent, selectors: [["form-builder"]], viewQuery: function FormBuilderComponent_Query(rf, ctx) { if (rf & 1) {
988
- i0.ɵɵviewQuery(_c0, 7);
989
- } if (rf & 2) {
990
- let _t;
991
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.builderElement = _t.first);
992
- } }, inputs: { form: "form", options: "options", formbuilder: "formbuilder", noeval: "noeval", refresh: "refresh", rebuild: "rebuild" }, outputs: { change: "change" }, features: [i0.ɵɵNgOnChangesFeature], decls: 2, vars: 0, consts: [["builder", ""]], template: function FormBuilderComponent_Template(rf, ctx) { if (rf & 1) {
993
- i0.ɵɵelement(0, "div", null, 0);
994
- } }, 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"], encapsulation: 2 });
995
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormBuilderComponent, [{
996
- type: Component,
997
- args: [{
998
- selector: 'form-builder',
999
- templateUrl: './formbuilder.component.html',
1000
- styleUrls: ['../../../../../node_modules/formiojs/dist/formio.builder.min.css'],
1001
- encapsulation: ViewEncapsulation.None
1002
- }]
1003
- }], function () { return [{ type: i0.NgZone }, { type: FormioAppConfig, decorators: [{
1004
- type: Optional
1005
- }] }, { type: CustomTagsService, decorators: [{
1006
- type: Optional
1007
- }] }]; }, { form: [{
1008
- type: Input
1009
- }], options: [{
1010
- type: Input
1011
- }], formbuilder: [{
1012
- type: Input
1013
- }], noeval: [{
1014
- type: Input
1015
- }], refresh: [{
1016
- type: Input
1017
- }], rebuild: [{
1018
- type: Input
1019
- }], change: [{
1020
- type: Output
1021
- }], builderElement: [{
1022
- type: ViewChild,
1023
- args: ['builder', { static: true }]
1024
- }] }); })();
1025
-
1026
- class FormioModule {
1027
- }
1028
- FormioModule.ɵfac = function FormioModule_Factory(t) { return new (t || FormioModule)(); };
1029
- FormioModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioModule });
1030
- FormioModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
1031
- FormioAlerts,
1032
- CustomTagsService
1033
- ], imports: [[
1034
- CommonModule
1035
- ]] });
1036
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioModule, [{
1037
- type: NgModule,
1038
- args: [{
1039
- declarations: [
1040
- FormioComponent,
1041
- FormioBaseComponent,
1042
- FormBuilderComponent,
1043
- FormioLoaderComponent,
1044
- FormioAlertsComponent,
1045
- ParseHtmlContentPipe
1046
- ],
1047
- imports: [
1048
- CommonModule
1049
- ],
1050
- exports: [
1051
- FormioComponent,
1052
- FormBuilderComponent,
1053
- FormioLoaderComponent,
1054
- FormioAlertsComponent
1055
- ],
1056
- providers: [
1057
- FormioAlerts,
1058
- CustomTagsService
1059
- ],
1060
- entryComponents: [
1061
- FormioComponent,
1062
- FormBuilderComponent
1063
- ]
1064
- }]
1065
- }], null, null); })();
1066
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioModule, { declarations: [FormioComponent,
1067
- FormioBaseComponent,
1068
- FormBuilderComponent,
1069
- FormioLoaderComponent,
1070
- FormioAlertsComponent,
1071
- ParseHtmlContentPipe], imports: [CommonModule], exports: [FormioComponent,
1072
- FormBuilderComponent,
1073
- FormioLoaderComponent,
1074
- FormioAlertsComponent] }); })();
1075
-
1076
- // @ts-nocheck
1077
- const BaseInputComponent = Components.components.input;
1078
- const TextfieldComponent = Components.components.textfield;
1079
- function createCustomFormioComponent(customComponentOptions) {
1080
- var _a;
1081
- return _a = class CustomComponent extends BaseInputComponent {
1082
- constructor(component, options, data) {
1083
- super(component, Object.assign(Object.assign({}, options), { sanitizeConfig: {
1084
- addTags: [customComponentOptions.selector],
1085
- } }), data);
1086
- this.component = component;
1087
- this.id = Utils.getRandomComponentId();
1088
- this.type = customComponentOptions.type;
1089
- if (customComponentOptions.extraValidators) {
1090
- this.validators = this.validators.concat(customComponentOptions.extraValidators);
1091
- }
1092
- }
1093
- static schema() {
1094
- return BaseInputComponent.schema(Object.assign(Object.assign({}, customComponentOptions.schema), { type: customComponentOptions.type }));
1095
- }
1096
- get defaultSchema() {
1097
- return CustomComponent.schema();
1098
- }
1099
- get emptyValue() {
1100
- return customComponentOptions.emptyValue || null;
1101
- }
1102
- static get builderInfo() {
1103
- return {
1104
- title: customComponentOptions.title,
1105
- group: customComponentOptions.group,
1106
- icon: customComponentOptions.icon,
1107
- weight: customComponentOptions.weight,
1108
- documentation: customComponentOptions.documentation,
1109
- schema: CustomComponent.schema(),
1110
- };
1111
- }
1112
- elementInfo() {
1113
- const info = super.elementInfo();
1114
- info.type = customComponentOptions.selector;
1115
- info.changeEvent = customComponentOptions.changeEvent || 'valueChange';
1116
- 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
1117
- });
1118
- return info;
1119
- }
1120
- get inputInfo() {
1121
- const info = Object.assign({ id: this.key }, this.elementInfo());
1122
- return info;
1123
- }
1124
- renderElement(value, index) {
1125
- const info = this.inputInfo;
1126
- return this.renderTemplate(customComponentOptions.template || 'input', {
1127
- input: info,
1128
- value,
1129
- index
1130
- });
1131
- }
1132
- attach(element) {
1133
- let superAttach = super.attach(element);
1134
- this._customAngularElement = element.querySelector(customComponentOptions.selector);
1135
- // Bind the custom options and the validations to the Angular component's inputs (flattened)
1136
- if (this._customAngularElement) {
1137
- // To make sure we have working input in IE...
1138
- // IE doesn't render it properly if it's not visible on the screen
1139
- // due to the whole structure applied via innerHTML to the parent
1140
- // so we need to use appendChild
1141
- if (!this._customAngularElement.getAttribute('ng-version')) {
1142
- this._customAngularElement.removeAttribute('ref');
1143
- const newCustomElement = document.createElement(customComponentOptions.selector);
1144
- newCustomElement.setAttribute('ref', 'input');
1145
- Object.keys(this.inputInfo.attr).forEach((attr) => {
1146
- newCustomElement.setAttribute(attr, this.inputInfo.attr[attr]);
1147
- });
1148
- this._customAngularElement.appendChild(newCustomElement);
1149
- this._customAngularElement = newCustomElement;
1150
- superAttach = super.attach(element);
1151
- }
1152
- // Bind customOptions
1153
- for (const key in this.component.customOptions) {
1154
- if (this.component.customOptions.hasOwnProperty(key)) {
1155
- this._customAngularElement[key] = this.component.customOptions[key];
1156
- }
1157
- }
1158
- // Bind validate options
1159
- for (const key in this.component.validate) {
1160
- if (this.component.validate.hasOwnProperty(key)) {
1161
- this._customAngularElement[key] = this.component.validate[key];
1162
- }
1163
- }
1164
- // Bind options explicitly set
1165
- const fieldOptions = customComponentOptions.fieldOptions;
1166
- if (isArray(fieldOptions) && fieldOptions.length > 0) {
1167
- for (const key in fieldOptions) {
1168
- if (fieldOptions.hasOwnProperty(key)) {
1169
- this._customAngularElement[fieldOptions[key]] = this.component[fieldOptions[key]];
1170
- }
1171
- }
1172
- }
1173
- // Attach event listener for emit event
1174
- this._customAngularElement.addEventListener('formioEvent', (event) => {
1175
- this.emit(event.detail.eventName, Object.assign(Object.assign({}, event.detail.data), { component: this.component }));
1176
- });
1177
- // Ensure we bind the value (if it isn't a multiple-value component with no wrapper)
1178
- if (!this._customAngularElement.value && !this.component.disableMultiValueWrapper) {
1179
- this.restoreValue();
1180
- }
1181
- }
1182
- return superAttach;
1183
- }
1184
- // Add extra option to support multiple value (e.g. datagrid) with single angular component (disableMultiValueWrapper)
1185
- useWrapper() {
1186
- return this.component.hasOwnProperty('multiple') && this.component.multiple && !this.component.disableMultiValueWrapper;
1187
- }
1188
- get defaultValue() {
1189
- let defaultValue = this.emptyValue;
1190
- // handle falsy default value
1191
- if (!isNil(this.component.defaultValue)) {
1192
- defaultValue = this.component.defaultValue;
1193
- }
1194
- if (this.component.customDefaultValue && !this.options.preview) {
1195
- defaultValue = this.evaluate(this.component.customDefaultValue, { value: '' }, 'value');
1196
- }
1197
- return clone(defaultValue);
1198
- }
1199
- },
1200
- _a.editForm = customComponentOptions.editForm || TextfieldComponent.editForm,
1201
- _a;
1202
- }
1203
-
1204
- function registerCustomTag(tag, injector) {
1205
- injector.get(CustomTagsService).addCustomTag(tag);
1206
- }
1207
- function registerCustomTags(tags, injector) {
1208
- tags.forEach(tag => registerCustomTag(tag, injector));
1209
- }
1210
- function registerCustomFormioComponent(options, angularComponent, injector) {
1211
- registerCustomTag(options.selector, injector);
1212
- const complexCustomComponent = createCustomElement(angularComponent, { injector });
1213
- customElements.define(options.selector, complexCustomComponent);
1214
- Components.setComponent(options.type, createCustomFormioComponent(options));
1215
- }
1216
- function registerCustomFormioComponentWithClass(options, angularComponent, formioClass, injector) {
1217
- registerCustomTag(options.selector, injector);
1218
- const complexCustomComponent = createCustomElement(angularComponent, { injector });
1219
- customElements.define(options.selector, complexCustomComponent);
1220
- Components.setComponent(options.type, formioClass);
1221
- }
1222
-
1223
- /*
1224
- * Public API Surface of angular-formio
1225
- */
1226
-
1227
- /**
1228
- * Generated bundle index. Do not edit.
1229
- */
1230
-
1231
- export { FormBuilderComponent, FormioAlerts, FormioAlertsComponent, FormioAppConfig, FormioBaseComponent, FormioComponent, FormioError, FormioLoaderComponent, FormioModule, FormioPromiseService, FormioService, createCustomFormioComponent, extendRouter, registerCustomFormioComponent, registerCustomFormioComponentWithClass, registerCustomTag, registerCustomTags };
1232
- //# sourceMappingURL=formio-angular.js.map