@formio/angular 5.2.1 → 5.2.3-rc.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} +4 -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 +1507 -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 +466 -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 +1083 -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 -1012
  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,1729 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('formiojs'), require('@angular/router'), require('lodash'), require('formiojs/utils/Evaluator'), require('formiojs/utils/utils'), require('@angular/common'), require('@angular/elements')) :
3
- typeof define === 'function' && define.amd ? define('@formio/angular', ['exports', '@angular/core', 'rxjs', 'formiojs', '@angular/router', 'lodash', 'formiojs/utils/Evaluator', 'formiojs/utils/utils', '@angular/common', '@angular/elements'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.formio = global.formio || {}, global.formio.angular = {}), global.ng.core, global.rxjs, global.formiojs, global.ng.router, global._, global.Evaluator, global.utils, global.ng.common, global.ng.elements));
5
- })(this, (function (exports, i0, rxjs, formiojs, router, lodash, Evaluator, utils, i1, elements) { 'use strict';
6
-
7
- function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
-
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) return e;
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () { return e[k]; }
19
- });
20
- }
21
- });
22
- }
23
- n["default"] = e;
24
- return Object.freeze(n);
25
- }
26
-
27
- var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
28
- var Evaluator__default = /*#__PURE__*/_interopDefaultLegacy(Evaluator);
29
- var i1__namespace = /*#__PURE__*/_interopNamespace(i1);
30
-
31
- var FormioAppConfig = /** @class */ (function () {
32
- function FormioAppConfig() {
33
- this.appUrl = '';
34
- this.apiUrl = '';
35
- }
36
- return FormioAppConfig;
37
- }());
38
- FormioAppConfig.ɵfac = function FormioAppConfig_Factory(t) { return new (t || FormioAppConfig)(); };
39
- FormioAppConfig.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: FormioAppConfig, factory: FormioAppConfig.ɵfac });
40
- (function () {
41
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioAppConfig, [{
42
- type: i0.Injectable
43
- }], null, null);
44
- })();
45
-
46
- var FormioError = /** @class */ (function () {
47
- function FormioError(message, component, silent) {
48
- this.message = message;
49
- this.component = component;
50
- this.silent = silent;
51
- }
52
- return FormioError;
53
- }());
54
-
55
- var FormioService = /** @class */ (function () {
56
- function FormioService(url, options) {
57
- this.url = url;
58
- this.options = options;
59
- this.formio = new formiojs.Formio(this.url, this.options);
60
- }
61
- FormioService.prototype.requestWrapper = function (fn) {
62
- var record;
63
- var called = false;
64
- return rxjs.Observable.create(function (observer) {
65
- try {
66
- if (!called) {
67
- called = true;
68
- fn()
69
- .then(function (_record) {
70
- record = _record;
71
- observer.next(record);
72
- observer.complete();
73
- })
74
- .catch(function (err) { return observer.error(err); });
75
- }
76
- else if (record) {
77
- observer.next(record);
78
- observer.complete();
79
- }
80
- }
81
- catch (err) {
82
- observer.error(err);
83
- }
84
- });
85
- };
86
- FormioService.prototype.saveForm = function (form, options) {
87
- var _this = this;
88
- return this.requestWrapper(function () { return _this.formio.saveForm(form, options); });
89
- };
90
- FormioService.prototype.loadForm = function (query, options) {
91
- var _this = this;
92
- return this.requestWrapper(function () { return _this.formio.loadForm(query, options); });
93
- };
94
- FormioService.prototype.loadForms = function (query, options) {
95
- var _this = this;
96
- return this.requestWrapper(function () { return _this.formio.loadForms(query, options); });
97
- };
98
- FormioService.prototype.loadSubmission = function (query, options) {
99
- var _this = this;
100
- return this.requestWrapper(function () { return _this.formio.loadSubmission(query, options); });
101
- };
102
- FormioService.prototype.userPermissions = function (user, form, submission) {
103
- var _this = this;
104
- return this.requestWrapper(function () { return _this.formio.userPermissions(user, form, submission); });
105
- };
106
- FormioService.prototype.deleteSubmission = function (data, options) {
107
- var _this = this;
108
- return this.requestWrapper(function () { return _this.formio.deleteSubmission(data, options); });
109
- };
110
- FormioService.prototype.saveSubmission = function (submission, options) {
111
- var _this = this;
112
- return this.requestWrapper(function () { return _this.formio.saveSubmission(submission, options); });
113
- };
114
- FormioService.prototype.loadSubmissions = function (query, options) {
115
- var _this = this;
116
- return this.requestWrapper(function () { return _this.formio.loadSubmissions(query, options); });
117
- };
118
- return FormioService;
119
- }());
120
-
121
- var FormioPromiseService = /** @class */ (function () {
122
- function FormioPromiseService(url, options) {
123
- this.url = url;
124
- this.options = options;
125
- this.formioService = new FormioService(url, options);
126
- }
127
- FormioPromiseService.prototype.saveForm = function (form, options) {
128
- return this.formioService.saveForm(form, options).toPromise();
129
- };
130
- FormioPromiseService.prototype.loadForm = function (query, options) {
131
- return this.formioService.loadForm(query, options).toPromise();
132
- };
133
- FormioPromiseService.prototype.loadSubmission = function (query, options) {
134
- return this.formioService.loadSubmission(query, options).toPromise();
135
- };
136
- FormioPromiseService.prototype.userPermissions = function (user, form, submission) {
137
- return this.formioService.userPermissions(user, form, submission).toPromise();
138
- };
139
- FormioPromiseService.prototype.deleteSubmission = function (data, options) {
140
- return this.formioService.deleteSubmission(data, options).toPromise();
141
- };
142
- FormioPromiseService.prototype.loadForms = function (query, options) {
143
- return this.formioService.loadForms(query, options).toPromise();
144
- };
145
- FormioPromiseService.prototype.saveSubmission = function (submission, options) {
146
- return this.formioService.saveSubmission(submission, options).toPromise();
147
- };
148
- FormioPromiseService.prototype.loadSubmissions = function (query, options) {
149
- return this.formioService.loadSubmissions(query, options).toPromise();
150
- };
151
- return FormioPromiseService;
152
- }());
153
-
154
- function extendRouter(Class, config, ClassRoutes) {
155
- lodash.each(Class.decorators, function (decorator) {
156
- lodash.each(decorator.args, function (arg) {
157
- if (arg.declarations) {
158
- lodash.each(config, function (component) { return arg.declarations.push(component); });
159
- }
160
- if (arg.imports) {
161
- lodash.each(arg.imports, function (_import, index) {
162
- if ((_import.ngModule && (_import.ngModule.name === 'RouterModule')) ||
163
- (_import.name === 'RouterModule')) {
164
- arg.imports[index] = router.RouterModule.forChild(ClassRoutes(config));
165
- }
166
- });
167
- }
168
- });
169
- });
170
- return Class;
171
- }
172
-
173
- var FormioAlerts = /** @class */ (function () {
174
- function FormioAlerts() {
175
- this.alerts = [];
176
- }
177
- FormioAlerts.prototype.setAlert = function (alert) {
178
- this.alerts = [alert];
179
- };
180
- FormioAlerts.prototype.addAlert = function (alert) {
181
- this.alerts.push(alert);
182
- };
183
- FormioAlerts.prototype.setAlerts = function (alerts) {
184
- this.alerts = alerts;
185
- };
186
- return FormioAlerts;
187
- }());
188
-
189
- var AlertsPosition;
190
- (function (AlertsPosition) {
191
- AlertsPosition[AlertsPosition["none"] = 0] = "none";
192
- AlertsPosition[AlertsPosition["top"] = 1] = "top";
193
- AlertsPosition[AlertsPosition["bottom"] = 2] = "bottom";
194
- AlertsPosition[AlertsPosition["both"] = 3] = "both";
195
- })(AlertsPosition || (AlertsPosition = {}));
196
-
197
- var CustomTagsService = /** @class */ (function () {
198
- function CustomTagsService() {
199
- this.tags = [];
200
- }
201
- CustomTagsService.prototype.addCustomTag = function (tag) {
202
- this.tags.push(tag);
203
- };
204
- return CustomTagsService;
205
- }());
206
- CustomTagsService.ɵfac = function CustomTagsService_Factory(t) { return new (t || CustomTagsService)(); };
207
- CustomTagsService.ɵprov = /*@__PURE__*/ i0__namespace.ɵɵdefineInjectable({ token: CustomTagsService, factory: CustomTagsService.ɵfac });
208
- (function () {
209
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(CustomTagsService, [{
210
- type: i0.Injectable
211
- }], null, null);
212
- })();
213
-
214
- var _c0$1 = ["formio"];
215
- var FormioBaseComponent = /** @class */ (function () {
216
- function FormioBaseComponent(ngZone, config, customTags) {
217
- var _this = this;
218
- this.ngZone = ngZone;
219
- this.config = config;
220
- this.customTags = customTags;
221
- this.submission = {};
222
- this.noeval = Evaluator__default["default"].noeval;
223
- this.readOnly = false;
224
- this.viewOnly = false;
225
- this.hooks = {};
226
- this.watchSubmissionErrors = false;
227
- this.render = new i0.EventEmitter();
228
- this.customEvent = new i0.EventEmitter();
229
- this.fileUploadingStatus = new i0.EventEmitter();
230
- this.submit = new i0.EventEmitter();
231
- this.prevPage = new i0.EventEmitter();
232
- this.nextPage = new i0.EventEmitter();
233
- this.beforeSubmit = new i0.EventEmitter();
234
- this.change = new i0.EventEmitter();
235
- this.invalid = new i0.EventEmitter();
236
- this.errorChange = new i0.EventEmitter();
237
- this.formLoad = new i0.EventEmitter();
238
- this.submissionLoad = new i0.EventEmitter();
239
- this.ready = new i0.EventEmitter();
240
- this.AlertsPosition = AlertsPosition;
241
- this.initialized = false;
242
- this.alerts = new FormioAlerts();
243
- this.submitting = false;
244
- this.submissionSuccess = false;
245
- this.isLoading = true;
246
- this.formioReady = new Promise(function (ready) {
247
- _this.formioReadyResolve = ready;
248
- });
249
- }
250
- FormioBaseComponent.prototype.getRenderer = function () {
251
- return this.renderer;
252
- };
253
- FormioBaseComponent.prototype.getRendererOptions = function () {
254
- var extraTags = this.customTags ? this.customTags.tags : [];
255
- return lodash.assign({}, {
256
- icons: lodash.get(this.config, 'icons', 'fontawesome'),
257
- noAlerts: lodash.get(this.options, 'noAlerts', true),
258
- readOnly: this.readOnly,
259
- viewAsHtml: this.viewOnly,
260
- i18n: lodash.get(this.options, 'i18n', null),
261
- fileService: lodash.get(this.options, 'fileService', null),
262
- hooks: this.hooks,
263
- sanitizeConfig: {
264
- addTags: extraTags
265
- }
266
- }, this.renderOptions || {});
267
- };
268
- FormioBaseComponent.prototype.createRenderer = function () {
269
- var Renderer = this.getRenderer();
270
- var form = (new Renderer(this.formioElement ? this.formioElement.nativeElement : null, this.form, this.getRendererOptions()));
271
- return form.instance;
272
- };
273
- FormioBaseComponent.prototype.setForm = function (form) {
274
- var _this = this;
275
- this.form = form;
276
- if (this.formio) {
277
- this.formio.destroy();
278
- }
279
- if (this.form.title) {
280
- this.label = this.form.title;
281
- }
282
- else if (this.form.components && this.form.components[0]) {
283
- this.label = this.form.components[0].label;
284
- }
285
- // Clear out the element to render the new form.
286
- if (this.formioElement && this.formioElement.nativeElement) {
287
- this.formioElement.nativeElement.innerHTML = '';
288
- }
289
- this.formio = this.createRenderer();
290
- this.formio.submission = this.submission;
291
- if (this.renderOptions && this.renderOptions.validateOnInit) {
292
- this.formio.setValue(this.submission, { validateOnInit: true });
293
- }
294
- if (this.url) {
295
- this.formio.setUrl(this.url, this.formioOptions || {});
296
- }
297
- if (this.src) {
298
- this.formio.setUrl(this.src, this.formioOptions || {});
299
- }
300
- this.formio.nosubmit = true;
301
- this.formio.on('prevPage', function (data) { return _this.ngZone.run(function () { return _this.onPrevPage(data); }); });
302
- this.formio.on('nextPage', function (data) { return _this.ngZone.run(function () { return _this.onNextPage(data); }); });
303
- this.formio.on('change', function (value, flags, isModified) { return _this.ngZone.run(function () { return _this.onChange(value, flags, isModified); }); });
304
- this.formio.on('customEvent', function (event) { return _this.ngZone.run(function () { return _this.customEvent.emit(event); }); });
305
- ['fileUploadingStart', 'fileUploadingEnd'].forEach(function (eventName, index) {
306
- var status = !!index ? 'end' : 'start';
307
- _this.formio.on(eventName, function () { return _this.ngZone.run(function () { return _this.fileUploadingStatus.emit(status); }); });
308
- });
309
- this.formio.on('submit', function (submission, saved) { return _this.ngZone.run(function () { return _this.submitForm(submission, saved); }); });
310
- this.formio.on('error', function (err) { return _this.ngZone.run(function () {
311
- _this.submissionSuccess = false;
312
- return _this.onError(err);
313
- }); });
314
- this.formio.on('render', function () { return _this.ngZone.run(function () { return _this.render.emit(); }); });
315
- this.formio.on('formLoad', function (loadedForm) { return _this.ngZone.run(function () { return _this.formLoad.emit(loadedForm); }); });
316
- return this.formio.ready.then(function () {
317
- _this.ngZone.run(function () {
318
- _this.isLoading = false;
319
- _this.ready.emit(_this);
320
- _this.formioReadyResolve(_this.formio);
321
- if (_this.formio.submissionReady) {
322
- _this.formio.submissionReady.then(function (submission) {
323
- _this.submissionLoad.emit(submission);
324
- });
325
- }
326
- });
327
- return _this.formio;
328
- });
329
- };
330
- FormioBaseComponent.prototype.initialize = function () {
331
- if (this.initialized) {
332
- return;
333
- }
334
- var extraTags = this.customTags ? this.customTags.tags : [];
335
- var defaultOptions = {
336
- errors: {
337
- message: 'Please fix the following errors before submitting.'
338
- },
339
- alerts: {
340
- submitMessage: 'Submission Complete.'
341
- },
342
- disableAlerts: false,
343
- hooks: {
344
- beforeSubmit: null
345
- },
346
- sanitizeConfig: {
347
- addTags: extraTags
348
- },
349
- alertsPosition: AlertsPosition.top,
350
- };
351
- this.options = Object.assign(defaultOptions, this.options);
352
- if (this.options.disableAlerts) {
353
- this.options.alertsPosition = AlertsPosition.none;
354
- }
355
- this.initialized = true;
356
- };
357
- FormioBaseComponent.prototype.ngOnInit = function () {
358
- var _this = this;
359
- Evaluator__default["default"].noeval = this.noeval;
360
- this.initialize();
361
- if (this.language) {
362
- if (typeof this.language === 'string') {
363
- this.formio.language = this.language;
364
- }
365
- else {
366
- this.language.subscribe(function (lang) {
367
- _this.formio.language = lang;
368
- });
369
- }
370
- }
371
- if (this.refresh) {
372
- this.refresh.subscribe(function (refresh) { return _this.onRefresh(refresh); });
373
- }
374
- if (this.error) {
375
- this.error.subscribe(function (err) { return _this.onError(err); });
376
- }
377
- if (this.success) {
378
- this.success.subscribe(function (message) {
379
- _this.alerts.setAlert({
380
- type: 'success',
381
- message: message || lodash.get(_this.options, 'alerts.submitMessage')
382
- });
383
- });
384
- }
385
- if (this.src) {
386
- if (!this.service) {
387
- this.service = new FormioService(this.src);
388
- }
389
- this.isLoading = true;
390
- this.service.loadForm({ params: { live: 1 } }).subscribe(function (form) {
391
- if (form && form.components) {
392
- _this.ngZone.runOutsideAngular(function () {
393
- _this.setForm(form);
394
- });
395
- }
396
- // if a submission is also provided.
397
- if (lodash.isEmpty(_this.submission) &&
398
- _this.service &&
399
- _this.service.formio.submissionId) {
400
- _this.service.loadSubmission().subscribe(function (submission) {
401
- if (_this.readOnly) {
402
- _this.formio.options.readOnly = true;
403
- }
404
- _this.submission = _this.formio.submission = submission;
405
- }, function (err) { return _this.onError(err); });
406
- }
407
- }, function (err) { return _this.onError(err); });
408
- }
409
- if (this.url && !this.service) {
410
- this.service = new FormioService(this.url);
411
- }
412
- };
413
- FormioBaseComponent.prototype.ngOnDestroy = function () {
414
- if (this.formio) {
415
- this.formio.destroy();
416
- }
417
- };
418
- FormioBaseComponent.prototype.onRefresh = function (refresh) {
419
- var _this = this;
420
- this.formioReady.then(function () {
421
- if (refresh.form) {
422
- _this.formio.setForm(refresh.form).then(function () {
423
- if (refresh.submission) {
424
- _this.formio.setSubmission(refresh.submission);
425
- }
426
- });
427
- }
428
- else if (refresh.submission) {
429
- _this.formio.setSubmission(refresh.submission);
430
- }
431
- else {
432
- switch (refresh.property) {
433
- case 'submission':
434
- _this.formio.submission = refresh.value;
435
- break;
436
- case 'form':
437
- _this.formio.form = refresh.value;
438
- break;
439
- }
440
- }
441
- });
442
- };
443
- FormioBaseComponent.prototype.ngOnChanges = function (changes) {
444
- var _this = this;
445
- Evaluator__default["default"].noeval = this.noeval;
446
- this.initialize();
447
- if (changes.form && changes.form.currentValue) {
448
- this.ngZone.runOutsideAngular(function () {
449
- _this.setForm(changes.form.currentValue);
450
- });
451
- }
452
- this.formioReady.then(function () {
453
- if (changes.submission && changes.submission.currentValue) {
454
- _this.formio.setSubmission(changes.submission.currentValue, {
455
- fromSubmission: false,
456
- });
457
- }
458
- if (changes.hideComponents && changes.hideComponents.currentValue) {
459
- var hiddenComponents_1 = changes.hideComponents.currentValue;
460
- _this.formio.options.hide = hiddenComponents_1;
461
- _this.formio.everyComponent(function (component) {
462
- component.options.hide = hiddenComponents_1;
463
- if (hiddenComponents_1.includes(component.component.key)) {
464
- component.visible = false;
465
- }
466
- });
467
- }
468
- });
469
- };
470
- FormioBaseComponent.prototype.onPrevPage = function (data) {
471
- this.alerts.setAlerts([]);
472
- this.prevPage.emit(data);
473
- };
474
- FormioBaseComponent.prototype.onNextPage = function (data) {
475
- this.alerts.setAlerts([]);
476
- this.nextPage.emit(data);
477
- };
478
- FormioBaseComponent.prototype.onSubmit = function (submission, saved, noemit) {
479
- this.submitting = false;
480
- this.submissionSuccess = true;
481
- this.formio.setValue(utils.fastCloneDeep(submission), {
482
- noValidate: true,
483
- noCheck: true
484
- });
485
- if (saved) {
486
- this.formio.emit('submitDone', submission);
487
- }
488
- if (!noemit) {
489
- this.submit.emit(submission);
490
- }
491
- if (!this.success) {
492
- this.alerts.setAlert({
493
- type: 'success',
494
- message: lodash.get(this.options, 'alerts.submitMessage')
495
- });
496
- }
497
- };
498
- FormioBaseComponent.prototype.onError = function (err) {
499
- var _this = this;
500
- this.alerts.setAlerts([]);
501
- this.submitting = false;
502
- this.isLoading = false;
503
- if (!err) {
504
- return;
505
- }
506
- // Make sure it is an array.
507
- var errors = Array.isArray(err) ? err : [err];
508
- // Emit these errors again.
509
- this.errorChange.emit(errors);
510
- if (err.silent) {
511
- return;
512
- }
513
- if (this.formio && errors.length) {
514
- this.formio.emit('submitError', errors);
515
- }
516
- // Iterate through each one and set the alerts array.
517
- errors.forEach(function (error) {
518
- var _a = error
519
- ? error.details
520
- ? {
521
- message: error.details.map(function (detail) { return detail.message; }),
522
- paths: error.details.map(function (detail) { return detail.path; }),
523
- }
524
- : {
525
- message: error.message || error.toString(),
526
- paths: error.path ? [error.path] : [],
527
- }
528
- : {
529
- message: '',
530
- paths: [],
531
- }, message = _a.message, paths = _a.paths;
532
- var shouldErrorDisplay = true;
533
- if (_this.formio) {
534
- paths.forEach(function (path, index) {
535
- var component = _this.formio.getComponent(path);
536
- if (component) {
537
- var components = Array.isArray(component) ? component : [component];
538
- var messageText_1 = Array.isArray(message) ? message[index] : message;
539
- components.forEach(function (comp) { return comp.setCustomValidity(messageText_1, true); });
540
- _this.alerts.addAlert({
541
- type: 'danger',
542
- message: message[index],
543
- component: component,
544
- });
545
- shouldErrorDisplay = false;
546
- }
547
- });
548
- if (window.VPAT_ENABLED) {
549
- if (typeof error === 'string' && _this.formio.components) {
550
- _this.formio.components.forEach(function (comp) {
551
- if (comp && comp.type !== 'button') {
552
- comp.setCustomValidity(message, true);
553
- }
554
- });
555
- }
556
- }
557
- if (!_this.noAlerts) {
558
- _this.formio.showErrors();
559
- }
560
- }
561
- if (shouldErrorDisplay) {
562
- _this.alerts.addAlert({
563
- type: 'danger',
564
- message: message,
565
- component: error.component,
566
- });
567
- }
568
- });
569
- };
570
- FormioBaseComponent.prototype.focusOnComponet = function (key) {
571
- if (this.formio) {
572
- this.formio.focusOnComponent(key);
573
- }
574
- };
575
- FormioBaseComponent.prototype.submitExecute = function (submission, saved) {
576
- var _this = this;
577
- if (saved === void 0) { saved = false; }
578
- if (this.service && !this.url && !saved) {
579
- this.service
580
- .saveSubmission(submission)
581
- .subscribe(function (sub) { return _this.onSubmit(sub, true); }, function (err) { return _this.onError(err); });
582
- }
583
- else {
584
- this.onSubmit(submission, false);
585
- }
586
- };
587
- FormioBaseComponent.prototype.submitForm = function (submission, saved) {
588
- var _this = this;
589
- if (saved === void 0) { saved = false; }
590
- // Keep double submits from occurring...
591
- if (this.submitting) {
592
- return;
593
- }
594
- this.formio.setMetadata(submission);
595
- this.submissionSuccess = false;
596
- this.submitting = true;
597
- this.beforeSubmit.emit(submission);
598
- // if they provide a beforeSubmit hook, then allow them to alter the submission asynchronously
599
- // or even provide a custom Error method.
600
- var beforeSubmit = lodash.get(this.options, 'hooks.beforeSubmit');
601
- if (beforeSubmit) {
602
- beforeSubmit(submission, function (err, sub) {
603
- if (err) {
604
- _this.onError(err);
605
- return;
606
- }
607
- _this.submitExecute(sub, saved);
608
- });
609
- }
610
- else {
611
- this.submitExecute(submission, saved);
612
- }
613
- };
614
- FormioBaseComponent.prototype.onChange = function (value, flags, isModified) {
615
- if (this.watchSubmissionErrors && !this.submissionSuccess) {
616
- var errors = lodash.get(this, 'formio.errors', []);
617
- var alerts = lodash.get(this, 'alerts.alerts', []);
618
- var submitted = lodash.get(this, 'formio.submitted', false);
619
- if (submitted && (errors.length || alerts.length)) {
620
- this.onError(errors);
621
- }
622
- }
623
- return this.change.emit(Object.assign(Object.assign({}, value), { flags: flags, isModified: isModified }));
624
- };
625
- return FormioBaseComponent;
626
- }());
627
- FormioBaseComponent.ɵfac = function FormioBaseComponent_Factory(t) { return new (t || FormioBaseComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(FormioAppConfig, 8), i0__namespace.ɵɵdirectiveInject(CustomTagsService, 8)); };
628
- FormioBaseComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FormioBaseComponent, selectors: [["ng-component"]], viewQuery: function FormioBaseComponent_Query(rf, ctx) {
629
- if (rf & 1) {
630
- i0__namespace.ɵɵviewQuery(_c0$1, 7);
631
- }
632
- if (rf & 2) {
633
- var _t = void 0;
634
- i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.formioElement = _t.first);
635
- }
636
- }, 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__namespace.ɵɵNgOnChangesFeature], decls: 0, vars: 0, template: function FormioBaseComponent_Template(rf, ctx) { }, encapsulation: 2 });
637
- (function () {
638
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioBaseComponent, [{
639
- type: i0.Component,
640
- args: [{
641
- template: ''
642
- }]
643
- }], function () {
644
- return [{ type: i0__namespace.NgZone }, { type: FormioAppConfig, decorators: [{
645
- type: i0.Optional
646
- }] }, { type: CustomTagsService, decorators: [{
647
- type: i0.Optional
648
- }] }];
649
- }, { form: [{
650
- type: i0.Input
651
- }], submission: [{
652
- type: i0.Input
653
- }], src: [{
654
- type: i0.Input
655
- }], url: [{
656
- type: i0.Input
657
- }], service: [{
658
- type: i0.Input
659
- }], options: [{
660
- type: i0.Input
661
- }], noeval: [{
662
- type: i0.Input
663
- }], formioOptions: [{
664
- type: i0.Input
665
- }], renderOptions: [{
666
- type: i0.Input
667
- }], readOnly: [{
668
- type: i0.Input
669
- }], viewOnly: [{
670
- type: i0.Input
671
- }], hideComponents: [{
672
- type: i0.Input
673
- }], refresh: [{
674
- type: i0.Input
675
- }], error: [{
676
- type: i0.Input
677
- }], success: [{
678
- type: i0.Input
679
- }], language: [{
680
- type: i0.Input
681
- }], hooks: [{
682
- type: i0.Input
683
- }], renderer: [{
684
- type: i0.Input
685
- }], watchSubmissionErrors: [{
686
- type: i0.Input
687
- }], render: [{
688
- type: i0.Output
689
- }], customEvent: [{
690
- type: i0.Output
691
- }], fileUploadingStatus: [{
692
- type: i0.Output
693
- }], submit: [{
694
- type: i0.Output
695
- }], prevPage: [{
696
- type: i0.Output
697
- }], nextPage: [{
698
- type: i0.Output
699
- }], beforeSubmit: [{
700
- type: i0.Output
701
- }], change: [{
702
- type: i0.Output
703
- }], invalid: [{
704
- type: i0.Output
705
- }], errorChange: [{
706
- type: i0.Output
707
- }], formLoad: [{
708
- type: i0.Output
709
- }], submissionLoad: [{
710
- type: i0.Output
711
- }], ready: [{
712
- type: i0.Output
713
- }], formioElement: [{
714
- type: i0.ViewChild,
715
- args: ['formio', { static: true }]
716
- }] });
717
- })();
718
-
719
- /*! *****************************************************************************
720
- Copyright (c) Microsoft Corporation.
721
-
722
- Permission to use, copy, modify, and/or distribute this software for any
723
- purpose with or without fee is hereby granted.
724
-
725
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
726
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
727
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
728
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
729
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
730
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
731
- PERFORMANCE OF THIS SOFTWARE.
732
- ***************************************************************************** */
733
- /* global Reflect, Promise */
734
- var extendStatics = function (d, b) {
735
- extendStatics = Object.setPrototypeOf ||
736
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
737
- function (d, b) { for (var p in b)
738
- if (Object.prototype.hasOwnProperty.call(b, p))
739
- d[p] = b[p]; };
740
- return extendStatics(d, b);
741
- };
742
- function __extends(d, b) {
743
- if (typeof b !== "function" && b !== null)
744
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
745
- extendStatics(d, b);
746
- function __() { this.constructor = d; }
747
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
748
- }
749
- var __assign = function () {
750
- __assign = Object.assign || function __assign(t) {
751
- for (var s, i = 1, n = arguments.length; i < n; i++) {
752
- s = arguments[i];
753
- for (var p in s)
754
- if (Object.prototype.hasOwnProperty.call(s, p))
755
- t[p] = s[p];
756
- }
757
- return t;
758
- };
759
- return __assign.apply(this, arguments);
760
- };
761
- function __rest(s, e) {
762
- var t = {};
763
- for (var p in s)
764
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
765
- t[p] = s[p];
766
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
767
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
768
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
769
- t[p[i]] = s[p[i]];
770
- }
771
- return t;
772
- }
773
- function __decorate(decorators, target, key, desc) {
774
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
775
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
776
- r = Reflect.decorate(decorators, target, key, desc);
777
- else
778
- for (var i = decorators.length - 1; i >= 0; i--)
779
- if (d = decorators[i])
780
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
781
- return c > 3 && r && Object.defineProperty(target, key, r), r;
782
- }
783
- function __param(paramIndex, decorator) {
784
- return function (target, key) { decorator(target, key, paramIndex); };
785
- }
786
- function __metadata(metadataKey, metadataValue) {
787
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
788
- return Reflect.metadata(metadataKey, metadataValue);
789
- }
790
- function __awaiter(thisArg, _arguments, P, generator) {
791
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
792
- return new (P || (P = Promise))(function (resolve, reject) {
793
- function fulfilled(value) { try {
794
- step(generator.next(value));
795
- }
796
- catch (e) {
797
- reject(e);
798
- } }
799
- function rejected(value) { try {
800
- step(generator["throw"](value));
801
- }
802
- catch (e) {
803
- reject(e);
804
- } }
805
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
806
- step((generator = generator.apply(thisArg, _arguments || [])).next());
807
- });
808
- }
809
- function __generator(thisArg, body) {
810
- var _ = { label: 0, sent: function () { if (t[0] & 1)
811
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
812
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
813
- function verb(n) { return function (v) { return step([n, v]); }; }
814
- function step(op) {
815
- if (f)
816
- throw new TypeError("Generator is already executing.");
817
- while (_)
818
- try {
819
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
820
- return t;
821
- if (y = 0, t)
822
- op = [op[0] & 2, t.value];
823
- switch (op[0]) {
824
- case 0:
825
- case 1:
826
- t = op;
827
- break;
828
- case 4:
829
- _.label++;
830
- return { value: op[1], done: false };
831
- case 5:
832
- _.label++;
833
- y = op[1];
834
- op = [0];
835
- continue;
836
- case 7:
837
- op = _.ops.pop();
838
- _.trys.pop();
839
- continue;
840
- default:
841
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
842
- _ = 0;
843
- continue;
844
- }
845
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
846
- _.label = op[1];
847
- break;
848
- }
849
- if (op[0] === 6 && _.label < t[1]) {
850
- _.label = t[1];
851
- t = op;
852
- break;
853
- }
854
- if (t && _.label < t[2]) {
855
- _.label = t[2];
856
- _.ops.push(op);
857
- break;
858
- }
859
- if (t[2])
860
- _.ops.pop();
861
- _.trys.pop();
862
- continue;
863
- }
864
- op = body.call(thisArg, _);
865
- }
866
- catch (e) {
867
- op = [6, e];
868
- y = 0;
869
- }
870
- finally {
871
- f = t = 0;
872
- }
873
- if (op[0] & 5)
874
- throw op[1];
875
- return { value: op[0] ? op[1] : void 0, done: true };
876
- }
877
- }
878
- var __createBinding = Object.create ? (function (o, m, k, k2) {
879
- if (k2 === undefined)
880
- k2 = k;
881
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
882
- }) : (function (o, m, k, k2) {
883
- if (k2 === undefined)
884
- k2 = k;
885
- o[k2] = m[k];
886
- });
887
- function __exportStar(m, o) {
888
- for (var p in m)
889
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
890
- __createBinding(o, m, p);
891
- }
892
- function __values(o) {
893
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
894
- if (m)
895
- return m.call(o);
896
- if (o && typeof o.length === "number")
897
- return {
898
- next: function () {
899
- if (o && i >= o.length)
900
- o = void 0;
901
- return { value: o && o[i++], done: !o };
902
- }
903
- };
904
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
905
- }
906
- function __read(o, n) {
907
- var m = typeof Symbol === "function" && o[Symbol.iterator];
908
- if (!m)
909
- return o;
910
- var i = m.call(o), r, ar = [], e;
911
- try {
912
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
913
- ar.push(r.value);
914
- }
915
- catch (error) {
916
- e = { error: error };
917
- }
918
- finally {
919
- try {
920
- if (r && !r.done && (m = i["return"]))
921
- m.call(i);
922
- }
923
- finally {
924
- if (e)
925
- throw e.error;
926
- }
927
- }
928
- return ar;
929
- }
930
- /** @deprecated */
931
- function __spread() {
932
- for (var ar = [], i = 0; i < arguments.length; i++)
933
- ar = ar.concat(__read(arguments[i]));
934
- return ar;
935
- }
936
- /** @deprecated */
937
- function __spreadArrays() {
938
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
939
- s += arguments[i].length;
940
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
941
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
942
- r[k] = a[j];
943
- return r;
944
- }
945
- function __spreadArray(to, from, pack) {
946
- if (pack || arguments.length === 2)
947
- for (var i = 0, l = from.length, ar; i < l; i++) {
948
- if (ar || !(i in from)) {
949
- if (!ar)
950
- ar = Array.prototype.slice.call(from, 0, i);
951
- ar[i] = from[i];
952
- }
953
- }
954
- return to.concat(ar || Array.prototype.slice.call(from));
955
- }
956
- function __await(v) {
957
- return this instanceof __await ? (this.v = v, this) : new __await(v);
958
- }
959
- function __asyncGenerator(thisArg, _arguments, generator) {
960
- if (!Symbol.asyncIterator)
961
- throw new TypeError("Symbol.asyncIterator is not defined.");
962
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
963
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
964
- function verb(n) { if (g[n])
965
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
966
- function resume(n, v) { try {
967
- step(g[n](v));
968
- }
969
- catch (e) {
970
- settle(q[0][3], e);
971
- } }
972
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
973
- function fulfill(value) { resume("next", value); }
974
- function reject(value) { resume("throw", value); }
975
- function settle(f, v) { if (f(v), q.shift(), q.length)
976
- resume(q[0][0], q[0][1]); }
977
- }
978
- function __asyncDelegator(o) {
979
- var i, p;
980
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
981
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
982
- }
983
- function __asyncValues(o) {
984
- if (!Symbol.asyncIterator)
985
- throw new TypeError("Symbol.asyncIterator is not defined.");
986
- var m = o[Symbol.asyncIterator], i;
987
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
988
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
989
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
990
- }
991
- function __makeTemplateObject(cooked, raw) {
992
- if (Object.defineProperty) {
993
- Object.defineProperty(cooked, "raw", { value: raw });
994
- }
995
- else {
996
- cooked.raw = raw;
997
- }
998
- return cooked;
999
- }
1000
- ;
1001
- var __setModuleDefault = Object.create ? (function (o, v) {
1002
- Object.defineProperty(o, "default", { enumerable: true, value: v });
1003
- }) : function (o, v) {
1004
- o["default"] = v;
1005
- };
1006
- function __importStar(mod) {
1007
- if (mod && mod.__esModule)
1008
- return mod;
1009
- var result = {};
1010
- if (mod != null)
1011
- for (var k in mod)
1012
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
1013
- __createBinding(result, mod, k);
1014
- __setModuleDefault(result, mod);
1015
- return result;
1016
- }
1017
- function __importDefault(mod) {
1018
- return (mod && mod.__esModule) ? mod : { default: mod };
1019
- }
1020
- function __classPrivateFieldGet(receiver, state, kind, f) {
1021
- if (kind === "a" && !f)
1022
- throw new TypeError("Private accessor was defined without a getter");
1023
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1024
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
1025
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1026
- }
1027
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
1028
- if (kind === "m")
1029
- throw new TypeError("Private method is not writable");
1030
- if (kind === "a" && !f)
1031
- throw new TypeError("Private accessor was defined without a setter");
1032
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
1033
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
1034
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
1035
- }
1036
-
1037
- function FormioLoaderComponent_div_0_Template(rf, ctx) {
1038
- if (rf & 1) {
1039
- i0__namespace.ɵɵelementStart(0, "div", 1);
1040
- i0__namespace.ɵɵelement(1, "div", 2);
1041
- i0__namespace.ɵɵelementEnd();
1042
- }
1043
- }
1044
- var FormioLoaderComponent = /** @class */ (function () {
1045
- function FormioLoaderComponent() {
1046
- }
1047
- return FormioLoaderComponent;
1048
- }());
1049
- FormioLoaderComponent.ɵfac = function FormioLoaderComponent_Factory(t) { return new (t || FormioLoaderComponent)(); };
1050
- FormioLoaderComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵ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) {
1051
- if (rf & 1) {
1052
- i0__namespace.ɵɵtemplate(0, FormioLoaderComponent_div_0_Template, 2, 0, "div", 0);
1053
- }
1054
- if (rf & 2) {
1055
- i0__namespace.ɵɵproperty("ngIf", ctx.isLoading);
1056
- }
1057
- }, directives: [i1__namespace.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)}}"] });
1058
- (function () {
1059
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioLoaderComponent, [{
1060
- type: i0.Component,
1061
- args: [{
1062
- selector: 'formio-loader',
1063
- styleUrls: ['./formio.loader.component.scss'],
1064
- templateUrl: './formio.loader.component.html'
1065
- }]
1066
- }], null, { isLoading: [{
1067
- type: i0.Input
1068
- }] });
1069
- })();
1070
-
1071
- var ParseHtmlContentPipe = /** @class */ (function () {
1072
- function ParseHtmlContentPipe() {
1073
- }
1074
- /*
1075
- Some messages that are come from formiojs have hex codes. So the main aim of this pipe is transform this messages to html.
1076
- And then render in template.
1077
- */
1078
- ParseHtmlContentPipe.prototype.transform = function (content) {
1079
- var parsedContent = new DOMParser().parseFromString(content, 'text/html').body.childNodes[0];
1080
- return parsedContent === null || parsedContent === void 0 ? void 0 : parsedContent.textContent;
1081
- };
1082
- return ParseHtmlContentPipe;
1083
- }());
1084
- ParseHtmlContentPipe.ɵfac = function ParseHtmlContentPipe_Factory(t) { return new (t || ParseHtmlContentPipe)(); };
1085
- ParseHtmlContentPipe.ɵpipe = /*@__PURE__*/ i0__namespace.ɵɵdefinePipe({ name: "parseHtmlContent", type: ParseHtmlContentPipe, pure: false });
1086
- (function () {
1087
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(ParseHtmlContentPipe, [{
1088
- type: i0.Pipe,
1089
- args: [{ name: 'parseHtmlContent', pure: false }]
1090
- }], null, null);
1091
- })();
1092
-
1093
- function FormioAlertsComponent_div_0_Template(rf, ctx) {
1094
- if (rf & 1) {
1095
- var _r3_1 = i0__namespace.ɵɵgetCurrentView();
1096
- i0__namespace.ɵɵelementStart(0, "div", 1);
1097
- i0__namespace.ɵɵlistener("click", function FormioAlertsComponent_div_0_Template_div_click_0_listener($event) { var restoredCtx = i0__namespace.ɵɵrestoreView(_r3_1); var alert_r1 = restoredCtx.$implicit; var ctx_r2 = i0__namespace.ɵɵnextContext(); return ctx_r2.getComponent($event, alert_r1); });
1098
- i0__namespace.ɵɵtext(1);
1099
- i0__namespace.ɵɵpipe(2, "parseHtmlContent");
1100
- i0__namespace.ɵɵelementEnd();
1101
- }
1102
- if (rf & 2) {
1103
- var alert_r1 = ctx.$implicit;
1104
- i0__namespace.ɵɵclassMapInterpolate1("alert alert-", alert_r1.type, "");
1105
- i0__namespace.ɵɵadvance(1);
1106
- i0__namespace.ɵɵtextInterpolate1(" ", i0__namespace.ɵɵpipeBind1(2, 4, alert_r1.message), "\n");
1107
- }
1108
- }
1109
- var FormioAlertsComponent = /** @class */ (function () {
1110
- function FormioAlertsComponent() {
1111
- this.focusComponent = new i0.EventEmitter();
1112
- }
1113
- FormioAlertsComponent.prototype.ngOnInit = function () {
1114
- if (!this.alerts) {
1115
- this.alerts = new FormioAlerts();
1116
- }
1117
- };
1118
- FormioAlertsComponent.prototype.getComponent = function (event, alert) {
1119
- this.focusComponent.emit(alert.component.key);
1120
- };
1121
- return FormioAlertsComponent;
1122
- }());
1123
- FormioAlertsComponent.ɵfac = function FormioAlertsComponent_Factory(t) { return new (t || FormioAlertsComponent)(); };
1124
- FormioAlertsComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵ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) {
1125
- if (rf & 1) {
1126
- i0__namespace.ɵɵtemplate(0, FormioAlertsComponent_div_0_Template, 3, 6, "div", 0);
1127
- }
1128
- if (rf & 2) {
1129
- i0__namespace.ɵɵproperty("ngForOf", ctx.alerts.alerts);
1130
- }
1131
- }, directives: [i1__namespace.NgForOf], pipes: [ParseHtmlContentPipe], encapsulation: 2 });
1132
- (function () {
1133
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioAlertsComponent, [{
1134
- type: i0.Component,
1135
- args: [{
1136
- selector: 'formio-alerts',
1137
- templateUrl: './formio.alerts.component.html'
1138
- }]
1139
- }], null, { alerts: [{
1140
- type: i0.Input
1141
- }], focusComponent: [{
1142
- type: i0.Output
1143
- }] });
1144
- })();
1145
-
1146
- function FormioComponent_div_1_Template(rf, ctx) {
1147
- if (rf & 1) {
1148
- i0__namespace.ɵɵelementStart(0, "div", 4);
1149
- i0__namespace.ɵɵelement(1, "formio-loader", 5);
1150
- i0__namespace.ɵɵelementEnd();
1151
- }
1152
- if (rf & 2) {
1153
- var ctx_r0 = i0__namespace.ɵɵnextContext();
1154
- i0__namespace.ɵɵadvance(1);
1155
- i0__namespace.ɵɵproperty("isLoading", ctx_r0.isLoading);
1156
- }
1157
- }
1158
- function FormioComponent_formio_alerts_2_Template(rf, ctx) {
1159
- if (rf & 1) {
1160
- var _r5_1 = i0__namespace.ɵɵgetCurrentView();
1161
- i0__namespace.ɵɵelementStart(0, "formio-alerts", 6);
1162
- i0__namespace.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_2_Template_formio_alerts_focusComponent_0_listener($event) { i0__namespace.ɵɵrestoreView(_r5_1); var ctx_r4 = i0__namespace.ɵɵnextContext(); return ctx_r4.focusOnComponet($event); });
1163
- i0__namespace.ɵɵelementEnd();
1164
- }
1165
- if (rf & 2) {
1166
- var ctx_r1 = i0__namespace.ɵɵnextContext();
1167
- i0__namespace.ɵɵproperty("alerts", ctx_r1.alerts);
1168
- }
1169
- }
1170
- function FormioComponent_formio_alerts_5_Template(rf, ctx) {
1171
- if (rf & 1) {
1172
- var _r7_1 = i0__namespace.ɵɵgetCurrentView();
1173
- i0__namespace.ɵɵelementStart(0, "formio-alerts", 6);
1174
- i0__namespace.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_5_Template_formio_alerts_focusComponent_0_listener($event) { i0__namespace.ɵɵrestoreView(_r7_1); var ctx_r6 = i0__namespace.ɵɵnextContext(); return ctx_r6.focusOnComponet($event); });
1175
- i0__namespace.ɵɵelementEnd();
1176
- }
1177
- if (rf & 2) {
1178
- var ctx_r3 = i0__namespace.ɵɵnextContext();
1179
- i0__namespace.ɵɵproperty("alerts", ctx_r3.alerts);
1180
- }
1181
- }
1182
- /* tslint:disable */
1183
- /* tslint:enable */
1184
- var FormioComponent = /** @class */ (function (_super) {
1185
- __extends(FormioComponent, _super);
1186
- function FormioComponent(ngZone, config, customTags) {
1187
- var _this = _super.call(this, ngZone, config, customTags) || this;
1188
- _this.ngZone = ngZone;
1189
- _this.config = config;
1190
- _this.customTags = customTags;
1191
- if (_this.config) {
1192
- formiojs.Formio.setBaseUrl(_this.config.apiUrl);
1193
- formiojs.Formio.setProjectUrl(_this.config.appUrl);
1194
- }
1195
- else {
1196
- console.warn('You must provide an AppConfig within your application!');
1197
- }
1198
- return _this;
1199
- }
1200
- FormioComponent.prototype.getRenderer = function () {
1201
- return this.renderer || formiojs.Form;
1202
- };
1203
- return FormioComponent;
1204
- }(FormioBaseComponent));
1205
- FormioComponent.ɵfac = function FormioComponent_Factory(t) { return new (t || FormioComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(FormioAppConfig, 8), i0__namespace.ɵɵdirectiveInject(CustomTagsService, 8)); };
1206
- FormioComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FormioComponent, selectors: [["formio"]], features: [i0__namespace.ɵɵ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) {
1207
- if (rf & 1) {
1208
- i0__namespace.ɵɵelementStart(0, "div", 0);
1209
- i0__namespace.ɵɵtemplate(1, FormioComponent_div_1_Template, 2, 1, "div", 1);
1210
- i0__namespace.ɵɵtemplate(2, FormioComponent_formio_alerts_2_Template, 1, 1, "formio-alerts", 2);
1211
- i0__namespace.ɵɵelement(3, "div", null, 3);
1212
- i0__namespace.ɵɵtemplate(5, FormioComponent_formio_alerts_5_Template, 1, 1, "formio-alerts", 2);
1213
- i0__namespace.ɵɵelementEnd();
1214
- }
1215
- if (rf & 2) {
1216
- i0__namespace.ɵɵattribute("aria-label", ctx.label);
1217
- i0__namespace.ɵɵadvance(1);
1218
- i0__namespace.ɵɵproperty("ngIf", ctx.isLoading);
1219
- i0__namespace.ɵɵadvance(1);
1220
- i0__namespace.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.top || ctx.options.alertsPosition === ctx.AlertsPosition.both);
1221
- i0__namespace.ɵɵadvance(3);
1222
- i0__namespace.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.bottom || ctx.options.alertsPosition === ctx.AlertsPosition.both);
1223
- }
1224
- }, directives: [i1__namespace.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 });
1225
- (function () {
1226
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioComponent, [{
1227
- type: i0.Component,
1228
- args: [{
1229
- selector: 'formio',
1230
- templateUrl: './formio.component.html',
1231
- styleUrls: ['../../../../../node_modules/formiojs/dist/formio.form.min.css'],
1232
- encapsulation: i0.ViewEncapsulation.None,
1233
- }]
1234
- }], function () {
1235
- return [{ type: i0__namespace.NgZone }, { type: FormioAppConfig, decorators: [{
1236
- type: i0.Optional
1237
- }] }, { type: CustomTagsService, decorators: [{
1238
- type: i0.Optional
1239
- }] }];
1240
- }, null);
1241
- })();
1242
-
1243
- var _c0 = ["builder"];
1244
- /* tslint:disable */
1245
- /* tslint:enable */
1246
- var FormBuilderComponent = /** @class */ (function () {
1247
- function FormBuilderComponent(ngZone, config, customTags) {
1248
- var _this = this;
1249
- this.ngZone = ngZone;
1250
- this.config = config;
1251
- this.customTags = customTags;
1252
- this.componentAdding = false;
1253
- this.noeval = false;
1254
- if (this.config) {
1255
- formiojs.Formio.setBaseUrl(this.config.apiUrl);
1256
- formiojs.Formio.setProjectUrl(this.config.appUrl);
1257
- }
1258
- else {
1259
- console.warn('You must provide an AppConfig within your application!');
1260
- }
1261
- this.change = new i0.EventEmitter();
1262
- this.ready = new Promise(function (resolve) {
1263
- _this.readyResolve = resolve;
1264
- });
1265
- }
1266
- FormBuilderComponent.prototype.ngOnInit = function () {
1267
- var _this = this;
1268
- formiojs.Utils.Evaluator.noeval = this.noeval;
1269
- if (this.refresh) {
1270
- this.refreshSubscription = this.refresh.subscribe(function () {
1271
- _this.ngZone.runOutsideAngular(function () {
1272
- _this.buildForm(_this.form);
1273
- });
1274
- });
1275
- }
1276
- if (this.rebuild) {
1277
- this.rebuild.subscribe(function (options) {
1278
- _this.ngZone.runOutsideAngular(function () {
1279
- _this.rebuildForm(_this.form, options);
1280
- });
1281
- });
1282
- }
1283
- };
1284
- FormBuilderComponent.prototype.setInstance = function (instance) {
1285
- var _this = this;
1286
- this.formio = instance;
1287
- instance.off('addComponent');
1288
- instance.off('saveComponent');
1289
- instance.off('updateComponent');
1290
- instance.off('removeComponent');
1291
- instance.on('addComponent', function (component, parent, path, index, isNew) {
1292
- _this.ngZone.run(function () {
1293
- if (isNew) {
1294
- _this.componentAdding = true;
1295
- }
1296
- else {
1297
- _this.change.emit({
1298
- type: 'addComponent',
1299
- builder: instance,
1300
- form: instance.schema,
1301
- component: component,
1302
- parent: parent,
1303
- path: path,
1304
- index: index
1305
- });
1306
- _this.componentAdding = false;
1307
- }
1308
- });
1309
- });
1310
- instance.on('saveComponent', function (component, original, parent, path, index, isNew) {
1311
- _this.ngZone.run(function () {
1312
- _this.change.emit({
1313
- type: _this.componentAdding ? 'addComponent' : 'saveComponent',
1314
- builder: instance,
1315
- form: instance.schema,
1316
- component: component,
1317
- originalComponent: original,
1318
- parent: parent,
1319
- path: path,
1320
- index: index,
1321
- isNew: isNew || false
1322
- });
1323
- _this.componentAdding = false;
1324
- });
1325
- });
1326
- instance.on('updateComponent', function (component) {
1327
- _this.ngZone.run(function () {
1328
- _this.change.emit({
1329
- type: 'updateComponent',
1330
- builder: instance,
1331
- form: instance.schema,
1332
- component: component
1333
- });
1334
- });
1335
- });
1336
- instance.on('removeComponent', function (component, parent, path, index) {
1337
- _this.ngZone.run(function () {
1338
- _this.change.emit({
1339
- type: 'deleteComponent',
1340
- builder: instance,
1341
- form: instance.schema,
1342
- component: component,
1343
- parent: parent,
1344
- path: path,
1345
- index: index
1346
- });
1347
- });
1348
- });
1349
- this.ngZone.run(function () {
1350
- _this.readyResolve(instance);
1351
- });
1352
- return instance;
1353
- };
1354
- FormBuilderComponent.prototype.setDisplay = function (display, prevDisplay) {
1355
- var _this = this;
1356
- if (display && display !== prevDisplay) {
1357
- return this.builder.setDisplay(display).then(function (instance) { return _this.setInstance(instance); });
1358
- }
1359
- else {
1360
- return Promise.resolve();
1361
- }
1362
- };
1363
- FormBuilderComponent.prototype.buildForm = function (form, prevForm) {
1364
- var _this = this;
1365
- if (!form || !this.builderElement || !this.builderElement.nativeElement) {
1366
- return;
1367
- }
1368
- if (this.builder) {
1369
- return this.setDisplay(form.display, prevForm === null || prevForm === void 0 ? void 0 : prevForm.display).then(function () {
1370
- _this.builder.form = form;
1371
- _this.builder.instance.form = form;
1372
- return _this.builder.instance;
1373
- });
1374
- }
1375
- return this.rebuildForm(form);
1376
- };
1377
- FormBuilderComponent.prototype.rebuildForm = function (form, options) {
1378
- var _this = this;
1379
- var Builder = this.formbuilder || formiojs.FormBuilder;
1380
- var extraTags = this.customTags ? this.customTags.tags : [];
1381
- this.builder = new Builder(this.builderElement.nativeElement, form, lodash.assign({
1382
- icons: 'fontawesome',
1383
- sanitizeConfig: {
1384
- addTags: extraTags
1385
- }
1386
- }, options || this.options || {}));
1387
- return this.builder.ready.then(function (instance) { return _this.setInstance(instance); });
1388
- };
1389
- FormBuilderComponent.prototype.ngOnChanges = function (changes) {
1390
- var _this = this;
1391
- formiojs.Utils.Evaluator.noeval = this.noeval;
1392
- if (changes.form && changes.form.currentValue) {
1393
- this.ngZone.runOutsideAngular(function () {
1394
- _this.buildForm(changes.form.currentValue || { components: [] }, changes.form.previousValue);
1395
- });
1396
- }
1397
- };
1398
- FormBuilderComponent.prototype.ngOnDestroy = function () {
1399
- if (this.refreshSubscription) {
1400
- this.refreshSubscription.unsubscribe();
1401
- }
1402
- if (this.formio) {
1403
- this.formio.destroy();
1404
- }
1405
- };
1406
- return FormBuilderComponent;
1407
- }());
1408
- FormBuilderComponent.ɵfac = function FormBuilderComponent_Factory(t) { return new (t || FormBuilderComponent)(i0__namespace.ɵɵdirectiveInject(i0__namespace.NgZone), i0__namespace.ɵɵdirectiveInject(FormioAppConfig, 8), i0__namespace.ɵɵdirectiveInject(CustomTagsService, 8)); };
1409
- FormBuilderComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: FormBuilderComponent, selectors: [["form-builder"]], viewQuery: function FormBuilderComponent_Query(rf, ctx) {
1410
- if (rf & 1) {
1411
- i0__namespace.ɵɵviewQuery(_c0, 7);
1412
- }
1413
- if (rf & 2) {
1414
- var _t = void 0;
1415
- i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.builderElement = _t.first);
1416
- }
1417
- }, inputs: { form: "form", options: "options", formbuilder: "formbuilder", noeval: "noeval", refresh: "refresh", rebuild: "rebuild" }, outputs: { change: "change" }, features: [i0__namespace.ɵɵNgOnChangesFeature], decls: 2, vars: 0, consts: [["builder", ""]], template: function FormBuilderComponent_Template(rf, ctx) {
1418
- if (rf & 1) {
1419
- i0__namespace.ɵɵelement(0, "div", null, 0);
1420
- }
1421
- }, 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 });
1422
- (function () {
1423
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormBuilderComponent, [{
1424
- type: i0.Component,
1425
- args: [{
1426
- selector: 'form-builder',
1427
- templateUrl: './formbuilder.component.html',
1428
- styleUrls: ['../../../../../node_modules/formiojs/dist/formio.builder.min.css'],
1429
- encapsulation: i0.ViewEncapsulation.None
1430
- }]
1431
- }], function () {
1432
- return [{ type: i0__namespace.NgZone }, { type: FormioAppConfig, decorators: [{
1433
- type: i0.Optional
1434
- }] }, { type: CustomTagsService, decorators: [{
1435
- type: i0.Optional
1436
- }] }];
1437
- }, { form: [{
1438
- type: i0.Input
1439
- }], options: [{
1440
- type: i0.Input
1441
- }], formbuilder: [{
1442
- type: i0.Input
1443
- }], noeval: [{
1444
- type: i0.Input
1445
- }], refresh: [{
1446
- type: i0.Input
1447
- }], rebuild: [{
1448
- type: i0.Input
1449
- }], change: [{
1450
- type: i0.Output
1451
- }], builderElement: [{
1452
- type: i0.ViewChild,
1453
- args: ['builder', { static: true }]
1454
- }] });
1455
- })();
1456
-
1457
- var FormioModule = /** @class */ (function () {
1458
- function FormioModule() {
1459
- }
1460
- return FormioModule;
1461
- }());
1462
- FormioModule.ɵfac = function FormioModule_Factory(t) { return new (t || FormioModule)(); };
1463
- FormioModule.ɵmod = /*@__PURE__*/ i0__namespace.ɵɵdefineNgModule({ type: FormioModule });
1464
- FormioModule.ɵinj = /*@__PURE__*/ i0__namespace.ɵɵdefineInjector({ providers: [
1465
- FormioAlerts,
1466
- CustomTagsService
1467
- ], imports: [[
1468
- i1.CommonModule
1469
- ]] });
1470
- (function () {
1471
- (typeof ngDevMode === "undefined" || ngDevMode) && i0__namespace.ɵsetClassMetadata(FormioModule, [{
1472
- type: i0.NgModule,
1473
- args: [{
1474
- declarations: [
1475
- FormioComponent,
1476
- FormioBaseComponent,
1477
- FormBuilderComponent,
1478
- FormioLoaderComponent,
1479
- FormioAlertsComponent,
1480
- ParseHtmlContentPipe
1481
- ],
1482
- imports: [
1483
- i1.CommonModule
1484
- ],
1485
- exports: [
1486
- FormioComponent,
1487
- FormBuilderComponent,
1488
- FormioLoaderComponent,
1489
- FormioAlertsComponent
1490
- ],
1491
- providers: [
1492
- FormioAlerts,
1493
- CustomTagsService
1494
- ],
1495
- entryComponents: [
1496
- FormioComponent,
1497
- FormBuilderComponent
1498
- ]
1499
- }]
1500
- }], null, null);
1501
- })();
1502
- (function () {
1503
- (typeof ngJitMode === "undefined" || ngJitMode) && i0__namespace.ɵɵsetNgModuleScope(FormioModule, { declarations: [FormioComponent,
1504
- FormioBaseComponent,
1505
- FormBuilderComponent,
1506
- FormioLoaderComponent,
1507
- FormioAlertsComponent,
1508
- ParseHtmlContentPipe], imports: [i1.CommonModule], exports: [FormioComponent,
1509
- FormBuilderComponent,
1510
- FormioLoaderComponent,
1511
- FormioAlertsComponent] });
1512
- })();
1513
-
1514
- var BaseInputComponent = formiojs.Components.components.input;
1515
- var TextfieldComponent = formiojs.Components.components.textfield;
1516
- function createCustomFormioComponent(customComponentOptions) {
1517
- var _a;
1518
- return _a = /** @class */ (function (_super) {
1519
- __extends(CustomComponent, _super);
1520
- function CustomComponent(component, options, data) {
1521
- var _this = _super.call(this, component, Object.assign(Object.assign({}, options), { sanitizeConfig: {
1522
- addTags: [customComponentOptions.selector],
1523
- } }), data) || this;
1524
- _this.component = component;
1525
- _this.id = formiojs.Utils.getRandomComponentId();
1526
- _this.type = customComponentOptions.type;
1527
- if (customComponentOptions.extraValidators) {
1528
- _this.validators = _this.validators.concat(customComponentOptions.extraValidators);
1529
- }
1530
- return _this;
1531
- }
1532
- CustomComponent.schema = function () {
1533
- return BaseInputComponent.schema(Object.assign(Object.assign({}, customComponentOptions.schema), { type: customComponentOptions.type }));
1534
- };
1535
- Object.defineProperty(CustomComponent.prototype, "defaultSchema", {
1536
- get: function () {
1537
- return CustomComponent.schema();
1538
- },
1539
- enumerable: false,
1540
- configurable: true
1541
- });
1542
- Object.defineProperty(CustomComponent.prototype, "emptyValue", {
1543
- get: function () {
1544
- return customComponentOptions.emptyValue || null;
1545
- },
1546
- enumerable: false,
1547
- configurable: true
1548
- });
1549
- Object.defineProperty(CustomComponent, "builderInfo", {
1550
- get: function () {
1551
- return {
1552
- title: customComponentOptions.title,
1553
- group: customComponentOptions.group,
1554
- icon: customComponentOptions.icon,
1555
- weight: customComponentOptions.weight,
1556
- documentation: customComponentOptions.documentation,
1557
- schema: CustomComponent.schema(),
1558
- };
1559
- },
1560
- enumerable: false,
1561
- configurable: true
1562
- });
1563
- CustomComponent.prototype.elementInfo = function () {
1564
- var info = _super.prototype.elementInfo.call(this);
1565
- info.type = customComponentOptions.selector;
1566
- info.changeEvent = customComponentOptions.changeEvent || 'valueChange';
1567
- 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
1568
- });
1569
- return info;
1570
- };
1571
- Object.defineProperty(CustomComponent.prototype, "inputInfo", {
1572
- get: function () {
1573
- var info = Object.assign({ id: this.key }, this.elementInfo());
1574
- return info;
1575
- },
1576
- enumerable: false,
1577
- configurable: true
1578
- });
1579
- CustomComponent.prototype.renderElement = function (value, index) {
1580
- var info = this.inputInfo;
1581
- return this.renderTemplate(customComponentOptions.template || 'input', {
1582
- input: info,
1583
- value: value,
1584
- index: index
1585
- });
1586
- };
1587
- CustomComponent.prototype.attach = function (element) {
1588
- var _this = this;
1589
- var superAttach = _super.prototype.attach.call(this, element);
1590
- this._customAngularElement = element.querySelector(customComponentOptions.selector);
1591
- // Bind the custom options and the validations to the Angular component's inputs (flattened)
1592
- if (this._customAngularElement) {
1593
- // To make sure we have working input in IE...
1594
- // IE doesn't render it properly if it's not visible on the screen
1595
- // due to the whole structure applied via innerHTML to the parent
1596
- // so we need to use appendChild
1597
- if (!this._customAngularElement.getAttribute('ng-version')) {
1598
- this._customAngularElement.removeAttribute('ref');
1599
- var newCustomElement_1 = document.createElement(customComponentOptions.selector);
1600
- newCustomElement_1.setAttribute('ref', 'input');
1601
- Object.keys(this.inputInfo.attr).forEach(function (attr) {
1602
- newCustomElement_1.setAttribute(attr, _this.inputInfo.attr[attr]);
1603
- });
1604
- this._customAngularElement.appendChild(newCustomElement_1);
1605
- this._customAngularElement = newCustomElement_1;
1606
- superAttach = _super.prototype.attach.call(this, element);
1607
- }
1608
- // Bind customOptions
1609
- for (var key in this.component.customOptions) {
1610
- if (this.component.customOptions.hasOwnProperty(key)) {
1611
- this._customAngularElement[key] = this.component.customOptions[key];
1612
- }
1613
- }
1614
- // Bind validate options
1615
- for (var key in this.component.validate) {
1616
- if (this.component.validate.hasOwnProperty(key)) {
1617
- this._customAngularElement[key] = this.component.validate[key];
1618
- }
1619
- }
1620
- // Bind options explicitly set
1621
- var fieldOptions = customComponentOptions.fieldOptions;
1622
- if (lodash.isArray(fieldOptions) && fieldOptions.length > 0) {
1623
- for (var key in fieldOptions) {
1624
- if (fieldOptions.hasOwnProperty(key)) {
1625
- this._customAngularElement[fieldOptions[key]] = this.component[fieldOptions[key]];
1626
- }
1627
- }
1628
- }
1629
- // Attach event listener for emit event
1630
- this._customAngularElement.addEventListener('formioEvent', function (event) {
1631
- _this.emit(event.detail.eventName, Object.assign(Object.assign({}, event.detail.data), { component: _this.component }));
1632
- });
1633
- // Ensure we bind the value (if it isn't a multiple-value component with no wrapper)
1634
- if (!this._customAngularElement.value && !this.component.disableMultiValueWrapper) {
1635
- this.restoreValue();
1636
- }
1637
- }
1638
- return superAttach;
1639
- };
1640
- // Add extra option to support multiple value (e.g. datagrid) with single angular component (disableMultiValueWrapper)
1641
- CustomComponent.prototype.useWrapper = function () {
1642
- return this.component.hasOwnProperty('multiple') && this.component.multiple && !this.component.disableMultiValueWrapper;
1643
- };
1644
- Object.defineProperty(CustomComponent.prototype, "defaultValue", {
1645
- get: function () {
1646
- var defaultValue = this.emptyValue;
1647
- // handle falsy default value
1648
- if (!lodash.isNil(this.component.defaultValue)) {
1649
- defaultValue = this.component.defaultValue;
1650
- }
1651
- if (this.component.customDefaultValue && !this.options.preview) {
1652
- defaultValue = this.evaluate(this.component.customDefaultValue, { value: '' }, 'value');
1653
- }
1654
- return lodash.clone(defaultValue);
1655
- },
1656
- enumerable: false,
1657
- configurable: true
1658
- });
1659
- return CustomComponent;
1660
- }(BaseInputComponent)),
1661
- _a.editForm = customComponentOptions.editForm || TextfieldComponent.editForm,
1662
- _a;
1663
- }
1664
-
1665
- function registerCustomTag(tag, injector) {
1666
- injector.get(CustomTagsService).addCustomTag(tag);
1667
- }
1668
- function registerCustomTags(tags, injector) {
1669
- tags.forEach(function (tag) { return registerCustomTag(tag, injector); });
1670
- }
1671
- function registerCustomFormioComponent(options, angularComponent, injector) {
1672
- registerCustomTag(options.selector, injector);
1673
- var complexCustomComponent = elements.createCustomElement(angularComponent, { injector: injector });
1674
- customElements.define(options.selector, complexCustomComponent);
1675
- formiojs.Components.setComponent(options.type, createCustomFormioComponent(options));
1676
- }
1677
- function registerCustomFormioComponentWithClass(options, angularComponent, formioClass, injector) {
1678
- registerCustomTag(options.selector, injector);
1679
- var complexCustomComponent = elements.createCustomElement(angularComponent, { injector: injector });
1680
- customElements.define(options.selector, complexCustomComponent);
1681
- formiojs.Components.setComponent(options.type, formioClass);
1682
- }
1683
-
1684
- /*
1685
- * Public API Surface of angular-formio
1686
- */
1687
-
1688
- /**
1689
- * Generated bundle index. Do not edit.
1690
- */
1691
-
1692
- Object.defineProperty(exports, 'Components', {
1693
- enumerable: true,
1694
- get: function () { return formiojs.Components; }
1695
- });
1696
- Object.defineProperty(exports, 'Formio', {
1697
- enumerable: true,
1698
- get: function () { return formiojs.Formio; }
1699
- });
1700
- Object.defineProperty(exports, 'FormioUtils', {
1701
- enumerable: true,
1702
- get: function () { return formiojs.Utils; }
1703
- });
1704
- Object.defineProperty(exports, 'Templates', {
1705
- enumerable: true,
1706
- get: function () { return formiojs.Templates; }
1707
- });
1708
- exports.FormBuilderComponent = FormBuilderComponent;
1709
- exports.FormioAlerts = FormioAlerts;
1710
- exports.FormioAlertsComponent = FormioAlertsComponent;
1711
- exports.FormioAppConfig = FormioAppConfig;
1712
- exports.FormioBaseComponent = FormioBaseComponent;
1713
- exports.FormioComponent = FormioComponent;
1714
- exports.FormioError = FormioError;
1715
- exports.FormioLoaderComponent = FormioLoaderComponent;
1716
- exports.FormioModule = FormioModule;
1717
- exports.FormioPromiseService = FormioPromiseService;
1718
- exports.FormioService = FormioService;
1719
- exports.createCustomFormioComponent = createCustomFormioComponent;
1720
- exports.extendRouter = extendRouter;
1721
- exports.registerCustomFormioComponent = registerCustomFormioComponent;
1722
- exports.registerCustomFormioComponentWithClass = registerCustomFormioComponentWithClass;
1723
- exports.registerCustomTag = registerCustomTag;
1724
- exports.registerCustomTags = registerCustomTags;
1725
-
1726
- Object.defineProperty(exports, '__esModule', { value: true });
1727
-
1728
- }));
1729
- //# sourceMappingURL=formio-angular.umd.js.map