@formio/angular 5.2.4-rc.1 → 5.3.0-rc.3

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