@formio/angular 5.2.1-rc.2 → 5.3.0-rc.1

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 (513) hide show
  1. package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +0 -0
  2. package/{dist/angular-formio/FormioBaseComponent.d.ts.map → FormioBaseComponent.d.ts.map} +0 -0
  3. package/README.md +13 -170
  4. package/{dist/angular-formio/auth → auth}/auth.component.d.ts +0 -0
  5. package/{dist/angular-formio/auth → auth}/auth.component.d.ts.map +0 -0
  6. package/{dist/angular-formio/auth → auth}/auth.config.d.ts +0 -0
  7. package/{dist/angular-formio/auth → auth}/auth.config.d.ts.map +0 -0
  8. package/{dist/angular-formio/auth → auth}/auth.module.d.ts +0 -0
  9. package/{dist/angular-formio/auth → auth}/auth.module.d.ts.map +0 -0
  10. package/{dist/angular-formio/auth → auth}/auth.routes.d.ts +0 -0
  11. package/{dist/angular-formio/auth → auth}/auth.routes.d.ts.map +0 -0
  12. package/{dist/angular-formio/auth → auth}/auth.service.d.ts +0 -0
  13. package/{dist/angular-formio/auth → auth}/auth.service.d.ts.map +0 -0
  14. package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts +0 -0
  15. package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts.map +0 -0
  16. package/{dist/angular-formio/auth → auth}/index.d.ts +0 -0
  17. package/{dist/angular-formio/auth → auth}/index.d.ts.map +0 -0
  18. package/{dist/angular-formio/auth → auth}/login/login.component.d.ts +0 -0
  19. package/{dist/angular-formio/auth → auth}/login/login.component.d.ts.map +0 -0
  20. package/auth/package.json +10 -0
  21. package/{dist/angular-formio/auth → auth}/public_api.d.ts +0 -0
  22. package/{dist/angular-formio/auth → auth}/public_api.d.ts.map +0 -0
  23. package/{dist/angular-formio/auth → auth}/register/register.component.d.ts +0 -0
  24. package/{dist/angular-formio/auth → auth}/register/register.component.d.ts.map +0 -0
  25. package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts +0 -0
  26. package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts.map +0 -0
  27. package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts +0 -0
  28. package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts.map +0 -0
  29. package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts +0 -0
  30. package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts.map +0 -0
  31. package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts +0 -0
  32. package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  33. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +0 -0
  34. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts.map +0 -0
  35. package/{dist/angular-formio/components → components}/formio/formio.component.d.ts +0 -0
  36. package/{dist/angular-formio/components → components}/formio/formio.component.d.ts.map +0 -0
  37. package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts +0 -0
  38. package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts.map +0 -0
  39. package/{dist/angular-formio/core.d.ts → core.d.ts} +0 -0
  40. package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +0 -0
  41. package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts +0 -0
  42. package/{dist/angular-formio/custom-component → custom-component}/create-custom-component.d.ts.map +0 -0
  43. package/{dist/angular-formio/custom-component → custom-component}/custom-tags.service.d.ts +0 -0
  44. package/{dist/angular-formio/custom-component → custom-component}/custom-tags.service.d.ts.map +0 -0
  45. package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts +0 -0
  46. package/{dist/angular-formio/custom-component → custom-component}/register-custom-component.d.ts.map +0 -0
  47. package/{dist/angular-formio/elements.common.d.ts → elements.common.d.ts} +0 -0
  48. package/{dist/angular-formio/elements.common.d.ts.map → elements.common.d.ts.map} +0 -0
  49. package/esm2020/FormioBaseComponent.mjs +491 -0
  50. package/esm2020/auth/auth.component.mjs +12 -0
  51. package/esm2020/auth/auth.config.mjs +15 -0
  52. package/esm2020/auth/auth.module.mjs +48 -0
  53. package/{dist/angular-formio/esm2015/auth/auth.routes.js → esm2020/auth/auth.routes.mjs} +0 -0
  54. package/{dist/angular-formio/esm2015/auth/auth.service.js → esm2020/auth/auth.service.mjs} +6 -6
  55. package/{dist/angular-formio/esm2015/auth/formio-angular-auth.js → esm2020/auth/formio-angular-auth.mjs} +0 -0
  56. package/{dist/angular-formio/esm2015/auth/index.js → esm2020/auth/index.mjs} +0 -0
  57. package/esm2020/auth/login/login.component.mjs +16 -0
  58. package/{dist/angular-formio/esm2015/auth/public_api.js → esm2020/auth/public_api.mjs} +0 -0
  59. package/esm2020/auth/register/register.component.mjs +16 -0
  60. package/esm2020/auth/resetpass/resetpass.component.mjs +16 -0
  61. package/esm2020/components/alerts/formio.alerts.component.mjs +29 -0
  62. package/{dist/angular-formio/esm2015/components/alerts/formio.alerts.js → esm2020/components/alerts/formio.alerts.mjs} +0 -0
  63. package/esm2020/components/alerts/parse-html-content.pipe.mjs +19 -0
  64. package/esm2020/components/formbuilder/formbuilder.component.mjs +190 -0
  65. package/esm2020/components/formio/formio.component.mjs +40 -0
  66. package/esm2020/components/loader/formio.loader.component.mjs +14 -0
  67. package/{dist/angular-formio/esm2015/core.js → esm2020/core.mjs} +0 -0
  68. package/esm2020/custom-component/create-custom-component.mjs +144 -0
  69. package/esm2020/custom-component/custom-tags.service.mjs +16 -0
  70. package/{dist/angular-formio/esm2015/custom-component/register-custom-component.js → esm2020/custom-component/register-custom-component.mjs} +0 -0
  71. package/{dist/angular-formio/esm2015/elements.common.js → esm2020/elements.common.mjs} +0 -0
  72. package/{dist/angular-formio/esm2015/formio-angular.js → esm2020/formio-angular.mjs} +0 -0
  73. package/{dist/angular-formio/esm2015/formio-promise.service.js → esm2020/formio-promise.service.mjs} +0 -0
  74. package/{dist/angular-formio/esm2015/formio.common.js → esm2020/formio.common.mjs} +0 -0
  75. package/esm2020/formio.config.mjs +14 -0
  76. package/esm2020/formio.module.mjs +60 -0
  77. package/{dist/angular-formio/esm2015/formio.service.js → esm2020/formio.service.mjs} +0 -0
  78. package/{dist/angular-formio/esm2015/formio.utils.js → esm2020/formio.utils.mjs} +0 -0
  79. package/esm2020/grid/GridBodyComponent.mjs +81 -0
  80. package/esm2020/grid/GridFooterComponent.mjs +36 -0
  81. package/esm2020/grid/GridHeaderComponent.mjs +30 -0
  82. package/esm2020/grid/form/FormGridBody.component.mjs +19 -0
  83. package/esm2020/grid/form/FormGridFooter.component.mjs +26 -0
  84. package/esm2020/grid/form/FormGridHeader.component.mjs +26 -0
  85. package/{dist/angular-formio/esm2015/grid/form/index.js → esm2020/grid/form/index.mjs} +0 -0
  86. package/{dist/angular-formio/esm2015/grid/form/time-since.pipe.js → esm2020/grid/form/time-since.pipe.mjs} +9 -9
  87. package/{dist/angular-formio/esm2015/grid/formio-angular-grid.js → esm2020/grid/formio-angular-grid.mjs} +0 -0
  88. package/esm2020/grid/grid.component.mjs +230 -0
  89. package/esm2020/grid/grid.module.mjs +89 -0
  90. package/esm2020/grid/grid.service.mjs +17 -0
  91. package/{dist/angular-formio/esm2015/grid/index.js → esm2020/grid/index.mjs} +0 -0
  92. package/{dist/angular-formio/esm2015/grid/public_api.js → esm2020/grid/public_api.mjs} +0 -0
  93. package/esm2020/grid/submission/SubmissionGridBody.component.mjs +43 -0
  94. package/esm2020/grid/submission/SubmissionGridFooter.component.mjs +23 -0
  95. package/esm2020/grid/submission/SubmissionGridHeader.component.mjs +61 -0
  96. package/{dist/angular-formio/esm2015/grid/submission/index.js → esm2020/grid/submission/index.mjs} +0 -0
  97. package/{dist/angular-formio/esm2015/grid/types/grid-column.js → esm2020/grid/types/grid-column.mjs} +0 -0
  98. package/{dist/angular-formio/esm2015/grid/types/grid-footer-positions.js → esm2020/grid/types/grid-footer-positions.mjs} +0 -0
  99. package/{dist/angular-formio/esm2015/grid/types/grid-header.js → esm2020/grid/types/grid-header.mjs} +0 -0
  100. package/{dist/angular-formio/esm2015/index.js → esm2020/index.mjs} +0 -0
  101. package/esm2020/manager/create/create.component.mjs +18 -0
  102. package/esm2020/manager/delete/delete.component.mjs +37 -0
  103. package/esm2020/manager/edit/edit.component.mjs +109 -0
  104. package/esm2020/manager/form/form.component.mjs +70 -0
  105. package/esm2020/manager/form-manager.config.mjs +15 -0
  106. package/esm2020/manager/form-manager.module.mjs +85 -0
  107. package/{dist/angular-formio/esm2015/manager/form-manager.routes.js → esm2020/manager/form-manager.routes.mjs} +0 -0
  108. package/{dist/angular-formio/esm2015/manager/form-manager.service.js → esm2020/manager/form-manager.service.mjs} +6 -6
  109. package/{dist/angular-formio/esm2015/manager/formio-angular-manager.js → esm2020/manager/formio-angular-manager.mjs} +0 -0
  110. package/esm2020/manager/index/index.component.mjs +84 -0
  111. package/{dist/angular-formio/esm2015/manager/index.js → esm2020/manager/index.mjs} +0 -0
  112. package/{dist/angular-formio/esm2015/manager/public_api.js → esm2020/manager/public_api.mjs} +0 -0
  113. package/esm2020/manager/submission/delete/delete.component.mjs +28 -0
  114. package/esm2020/manager/submission/edit/edit.component.mjs +22 -0
  115. package/esm2020/manager/submission/index/index.component.mjs +22 -0
  116. package/esm2020/manager/submission/submission/submission.component.mjs +26 -0
  117. package/esm2020/manager/submission/view/view.component.mjs +16 -0
  118. package/esm2020/manager/view/view.component.mjs +42 -0
  119. package/{dist/angular-formio/esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
  120. package/esm2020/resource/create/create.component.mjs +37 -0
  121. package/esm2020/resource/delete/delete.component.mjs +26 -0
  122. package/esm2020/resource/edit/edit.component.mjs +36 -0
  123. package/{dist/angular-formio/esm2015/resource/formio-angular-resource.js → esm2020/resource/formio-angular-resource.mjs} +0 -0
  124. package/esm2020/resource/index/index.component.mjs +61 -0
  125. package/{dist/angular-formio/esm2015/resource/index.js → esm2020/resource/index.mjs} +0 -0
  126. package/{dist/angular-formio/esm2015/resource/public_api.js → esm2020/resource/public_api.mjs} +0 -0
  127. package/esm2020/resource/resource.component.mjs +46 -0
  128. package/esm2020/resource/resource.config.mjs +15 -0
  129. package/esm2020/resource/resource.module.mjs +64 -0
  130. package/{dist/angular-formio/esm2015/resource/resource.routes.js → esm2020/resource/resource.routes.mjs} +0 -0
  131. package/{dist/angular-formio/esm2015/resource/resource.service.js → esm2020/resource/resource.service.mjs} +8 -8
  132. package/esm2020/resource/resources.service.mjs +22 -0
  133. package/esm2020/resource/view/view.component.mjs +23 -0
  134. package/{dist/angular-formio/esm2015/types/alerts-position.js → esm2020/types/alerts-position.mjs} +0 -0
  135. package/{dist/angular-formio/esm2015/types/formio-metadata.js → esm2020/types/formio-metadata.mjs} +0 -0
  136. package/{dist/angular-formio/esm2015/types/formio-submission.js → esm2020/types/formio-submission.mjs} +0 -0
  137. package/{dist/angular-formio/fesm2015/formio-angular-auth.js → fesm2015/formio-angular-auth.mjs} +59 -111
  138. package/fesm2015/formio-angular-auth.mjs.map +1 -0
  139. package/fesm2015/formio-angular-grid.mjs +691 -0
  140. package/fesm2015/formio-angular-grid.mjs.map +1 -0
  141. package/fesm2015/formio-angular-manager.mjs +739 -0
  142. package/fesm2015/formio-angular-manager.mjs.map +1 -0
  143. package/fesm2015/formio-angular-resource.mjs +511 -0
  144. package/fesm2015/formio-angular-resource.mjs.map +1 -0
  145. package/fesm2015/formio-angular.mjs +1138 -0
  146. package/fesm2015/formio-angular.mjs.map +1 -0
  147. package/fesm2020/formio-angular-auth.mjs +296 -0
  148. package/fesm2020/formio-angular-auth.mjs.map +1 -0
  149. package/fesm2020/formio-angular-grid.mjs +690 -0
  150. package/fesm2020/formio-angular-grid.mjs.map +1 -0
  151. package/fesm2020/formio-angular-manager.mjs +739 -0
  152. package/fesm2020/formio-angular-manager.mjs.map +1 -0
  153. package/fesm2020/formio-angular-resource.mjs +509 -0
  154. package/fesm2020/formio-angular-resource.mjs.map +1 -0
  155. package/fesm2020/formio-angular.mjs +1146 -0
  156. package/fesm2020/formio-angular.mjs.map +1 -0
  157. package/{dist/angular-formio/formio-angular.d.ts → formio-angular.d.ts} +0 -0
  158. package/{dist/angular-formio/formio-angular.d.ts.map → formio-angular.d.ts.map} +0 -0
  159. package/{dist/angular-formio/formio-promise.service.d.ts → formio-promise.service.d.ts} +0 -0
  160. package/{dist/angular-formio/formio-promise.service.d.ts.map → formio-promise.service.d.ts.map} +0 -0
  161. package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +0 -0
  162. package/{dist/angular-formio/formio.common.d.ts.map → formio.common.d.ts.map} +0 -0
  163. package/{dist/angular-formio/formio.config.d.ts → formio.config.d.ts} +0 -0
  164. package/{dist/angular-formio/formio.config.d.ts.map → formio.config.d.ts.map} +0 -0
  165. package/{dist/angular-formio/formio.module.d.ts → formio.module.d.ts} +0 -0
  166. package/{dist/angular-formio/formio.module.d.ts.map → formio.module.d.ts.map} +0 -0
  167. package/{dist/angular-formio/formio.service.d.ts → formio.service.d.ts} +0 -0
  168. package/{dist/angular-formio/formio.service.d.ts.map → formio.service.d.ts.map} +0 -0
  169. package/{dist/angular-formio/formio.utils.d.ts → formio.utils.d.ts} +0 -0
  170. package/{dist/angular-formio/formio.utils.d.ts.map → formio.utils.d.ts.map} +0 -0
  171. package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts +0 -0
  172. package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts.map +0 -0
  173. package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts +0 -0
  174. package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts.map +0 -0
  175. package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts +0 -0
  176. package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts.map +0 -0
  177. package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts +0 -0
  178. package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts.map +0 -0
  179. package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts +0 -0
  180. package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts.map +0 -0
  181. package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts +0 -0
  182. package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts.map +0 -0
  183. package/{dist/angular-formio/grid → grid}/form/index.d.ts +0 -0
  184. package/{dist/angular-formio/grid → grid}/form/index.d.ts.map +0 -0
  185. package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts +0 -0
  186. package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts.map +0 -0
  187. package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts +0 -0
  188. package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts.map +0 -0
  189. package/{dist/angular-formio/grid → grid}/grid.component.d.ts +0 -0
  190. package/{dist/angular-formio/grid → grid}/grid.component.d.ts.map +0 -0
  191. package/{dist/angular-formio/grid → grid}/grid.module.d.ts +0 -0
  192. package/{dist/angular-formio/grid → grid}/grid.module.d.ts.map +0 -0
  193. package/{dist/angular-formio/grid → grid}/grid.service.d.ts +0 -0
  194. package/{dist/angular-formio/grid → grid}/grid.service.d.ts.map +0 -0
  195. package/{dist/angular-formio/grid → grid}/index.d.ts +0 -0
  196. package/{dist/angular-formio/grid → grid}/index.d.ts.map +0 -0
  197. package/grid/package.json +10 -0
  198. package/{dist/angular-formio/grid → grid}/public_api.d.ts +0 -0
  199. package/{dist/angular-formio/grid → grid}/public_api.d.ts.map +0 -0
  200. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts +0 -0
  201. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  202. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
  203. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  204. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +0 -0
  205. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts.map +0 -0
  206. package/{dist/angular-formio/grid → grid}/submission/index.d.ts +0 -0
  207. package/{dist/angular-formio/grid → grid}/submission/index.d.ts.map +0 -0
  208. package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts +0 -0
  209. package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts.map +0 -0
  210. package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts +0 -0
  211. package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts.map +0 -0
  212. package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts +0 -0
  213. package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts.map +0 -0
  214. package/{dist/angular-formio/index.d.ts → index.d.ts} +0 -0
  215. package/{dist/angular-formio/index.d.ts.map → index.d.ts.map} +0 -0
  216. package/{dist/angular-formio/manager → manager}/create/create.component.d.ts +0 -0
  217. package/{dist/angular-formio/manager → manager}/create/create.component.d.ts.map +0 -0
  218. package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts +0 -0
  219. package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts.map +0 -0
  220. package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts +0 -0
  221. package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts.map +0 -0
  222. package/{dist/angular-formio/manager → manager}/form/form.component.d.ts +0 -0
  223. package/{dist/angular-formio/manager → manager}/form/form.component.d.ts.map +0 -0
  224. package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +0 -0
  225. package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts.map +0 -0
  226. package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts +0 -0
  227. package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts.map +0 -0
  228. package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts +0 -0
  229. package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts.map +0 -0
  230. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +0 -0
  231. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts.map +0 -0
  232. package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts +0 -0
  233. package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts.map +0 -0
  234. package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +0 -0
  235. package/{dist/angular-formio/manager → manager}/index/index.component.d.ts.map +0 -0
  236. package/{dist/angular-formio/manager → manager}/index.d.ts +0 -0
  237. package/{dist/angular-formio/manager → manager}/index.d.ts.map +0 -0
  238. package/manager/package.json +10 -0
  239. package/{dist/angular-formio/manager → manager}/public_api.d.ts +0 -0
  240. package/{dist/angular-formio/manager → manager}/public_api.d.ts.map +0 -0
  241. package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts +0 -0
  242. package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts.map +0 -0
  243. package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts +0 -0
  244. package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts.map +0 -0
  245. package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts +0 -0
  246. package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts.map +0 -0
  247. package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts +0 -0
  248. package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts.map +0 -0
  249. package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts +0 -0
  250. package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts.map +0 -0
  251. package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +0 -0
  252. package/{dist/angular-formio/manager → manager}/view/view.component.d.ts.map +0 -0
  253. package/package.json +71 -51
  254. package/{dist/angular-formio/public-api.d.ts → public-api.d.ts} +0 -0
  255. package/{dist/angular-formio/public-api.d.ts.map → public-api.d.ts.map} +0 -0
  256. package/{dist/angular-formio/resource → resource}/create/create.component.d.ts +0 -0
  257. package/{dist/angular-formio/resource → resource}/create/create.component.d.ts.map +0 -0
  258. package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts +0 -0
  259. package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts.map +0 -0
  260. package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +0 -0
  261. package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts.map +0 -0
  262. package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts +0 -0
  263. package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts.map +0 -0
  264. package/{dist/angular-formio/resource → resource}/index/index.component.d.ts +0 -0
  265. package/{dist/angular-formio/resource → resource}/index/index.component.d.ts.map +0 -0
  266. package/{dist/angular-formio/resource → resource}/index.d.ts +0 -0
  267. package/{dist/angular-formio/resource → resource}/index.d.ts.map +0 -0
  268. package/resource/package.json +10 -0
  269. package/{dist/angular-formio/resource → resource}/public_api.d.ts +0 -0
  270. package/{dist/angular-formio/resource → resource}/public_api.d.ts.map +0 -0
  271. package/{dist/angular-formio/resource → resource}/resource.component.d.ts +0 -0
  272. package/{dist/angular-formio/resource → resource}/resource.component.d.ts.map +0 -0
  273. package/{dist/angular-formio/resource → resource}/resource.config.d.ts +0 -0
  274. package/{dist/angular-formio/resource → resource}/resource.config.d.ts.map +0 -0
  275. package/{dist/angular-formio/resource → resource}/resource.module.d.ts +0 -0
  276. package/{dist/angular-formio/resource → resource}/resource.module.d.ts.map +0 -0
  277. package/{dist/angular-formio/resource → resource}/resource.routes.d.ts +0 -0
  278. package/{dist/angular-formio/resource → resource}/resource.routes.d.ts.map +0 -0
  279. package/{dist/angular-formio/resource → resource}/resource.service.d.ts +0 -0
  280. package/{dist/angular-formio/resource → resource}/resource.service.d.ts.map +0 -0
  281. package/{dist/angular-formio/resource → resource}/resources.service.d.ts +0 -0
  282. package/{dist/angular-formio/resource → resource}/resources.service.d.ts.map +0 -0
  283. package/{dist/angular-formio/resource → resource}/view/view.component.d.ts +0 -0
  284. package/{dist/angular-formio/resource → resource}/view/view.component.d.ts.map +0 -0
  285. package/{dist/angular-formio/types → types}/alerts-position.d.ts +0 -0
  286. package/{dist/angular-formio/types → types}/alerts-position.d.ts.map +0 -0
  287. package/{dist/angular-formio/types → types}/formio-metadata.d.ts +0 -0
  288. package/{dist/angular-formio/types → types}/formio-metadata.d.ts.map +0 -0
  289. package/{dist/angular-formio/types → types}/formio-submission.d.ts +0 -0
  290. package/{dist/angular-formio/types → types}/formio-submission.d.ts.map +0 -0
  291. package/.dockerignore +0 -5
  292. package/.editorconfig +0 -13
  293. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  294. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +0 -15
  295. package/.github/ISSUE_TEMPLATE/question.md +0 -8
  296. package/.travis.yml +0 -4
  297. package/.yo-rc.json +0 -7
  298. package/CHANGELOG.md +0 -1008
  299. package/Dockerfile +0 -20
  300. package/LICENSE +0 -21
  301. package/angular.json +0 -51
  302. package/bs-config.json +0 -11
  303. package/dist/angular-formio/README.md +0 -24
  304. package/dist/angular-formio/auth/package.json +0 -10
  305. package/dist/angular-formio/bundles/formio-angular-auth.umd.js +0 -421
  306. package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +0 -1
  307. package/dist/angular-formio/bundles/formio-angular-grid.umd.js +0 -1725
  308. package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +0 -1
  309. package/dist/angular-formio/bundles/formio-angular-manager.umd.js +0 -1648
  310. package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +0 -1
  311. package/dist/angular-formio/bundles/formio-angular-resource.umd.js +0 -720
  312. package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +0 -1
  313. package/dist/angular-formio/bundles/formio-angular.umd.js +0 -1729
  314. package/dist/angular-formio/bundles/formio-angular.umd.js.map +0 -1
  315. package/dist/angular-formio/esm2015/FormioBaseComponent.js +0 -497
  316. package/dist/angular-formio/esm2015/auth/auth.component.js +0 -39
  317. package/dist/angular-formio/esm2015/auth/auth.config.js +0 -15
  318. package/dist/angular-formio/esm2015/auth/auth.module.js +0 -49
  319. package/dist/angular-formio/esm2015/auth/login/login.component.js +0 -24
  320. package/dist/angular-formio/esm2015/auth/register/register.component.js +0 -24
  321. package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +0 -24
  322. package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +0 -49
  323. package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +0 -19
  324. package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +0 -203
  325. package/dist/angular-formio/esm2015/components/formio/formio.component.js +0 -87
  326. package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +0 -27
  327. package/dist/angular-formio/esm2015/custom-component/create-custom-component.js +0 -130
  328. package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +0 -16
  329. package/dist/angular-formio/esm2015/formio.config.js +0 -14
  330. package/dist/angular-formio/esm2015/formio.module.js +0 -61
  331. package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +0 -86
  332. package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +0 -41
  333. package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +0 -35
  334. package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +0 -130
  335. package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +0 -118
  336. package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +0 -65
  337. package/dist/angular-formio/esm2015/grid/grid.component.js +0 -302
  338. package/dist/angular-formio/esm2015/grid/grid.module.js +0 -90
  339. package/dist/angular-formio/esm2015/grid/grid.service.js +0 -18
  340. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +0 -75
  341. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -107
  342. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -99
  343. package/dist/angular-formio/esm2015/manager/create/create.component.js +0 -68
  344. package/dist/angular-formio/esm2015/manager/delete/delete.component.js +0 -56
  345. package/dist/angular-formio/esm2015/manager/edit/edit.component.js +0 -170
  346. package/dist/angular-formio/esm2015/manager/form/form.component.js +0 -192
  347. package/dist/angular-formio/esm2015/manager/form-manager.config.js +0 -15
  348. package/dist/angular-formio/esm2015/manager/form-manager.module.js +0 -86
  349. package/dist/angular-formio/esm2015/manager/index/index.component.js +0 -130
  350. package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +0 -47
  351. package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +0 -30
  352. package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +0 -30
  353. package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +0 -75
  354. package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +0 -24
  355. package/dist/angular-formio/esm2015/manager/view/view.component.js +0 -57
  356. package/dist/angular-formio/esm2015/resource/create/create.component.js +0 -61
  357. package/dist/angular-formio/esm2015/resource/delete/delete.component.js +0 -42
  358. package/dist/angular-formio/esm2015/resource/edit/edit.component.js +0 -44
  359. package/dist/angular-formio/esm2015/resource/index/index.component.js +0 -72
  360. package/dist/angular-formio/esm2015/resource/resource.component.js +0 -83
  361. package/dist/angular-formio/esm2015/resource/resource.config.js +0 -15
  362. package/dist/angular-formio/esm2015/resource/resource.module.js +0 -65
  363. package/dist/angular-formio/esm2015/resource/resources.service.js +0 -22
  364. package/dist/angular-formio/esm2015/resource/view/view.component.js +0 -29
  365. package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +0 -1
  366. package/dist/angular-formio/fesm2015/formio-angular-grid.js +0 -1175
  367. package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +0 -1
  368. package/dist/angular-formio/fesm2015/formio-angular-manager.js +0 -1145
  369. package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +0 -1
  370. package/dist/angular-formio/fesm2015/formio-angular-resource.js +0 -612
  371. package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +0 -1
  372. package/dist/angular-formio/fesm2015/formio-angular.js +0 -1232
  373. package/dist/angular-formio/fesm2015/formio-angular.js.map +0 -1
  374. package/dist/angular-formio/grid/package.json +0 -10
  375. package/dist/angular-formio/manager/package.json +0 -10
  376. package/dist/angular-formio/package.json +0 -49
  377. package/dist/angular-formio/resource/package.json +0 -10
  378. package/projects/angular-formio/README.md +0 -24
  379. package/projects/angular-formio/auth/package.json +0 -10
  380. package/projects/angular-formio/auth/src/auth.component.html +0 -12
  381. package/projects/angular-formio/auth/src/auth.component.ts +0 -5
  382. package/projects/angular-formio/auth/src/auth.config.ts +0 -72
  383. package/projects/angular-formio/auth/src/auth.module.ts +0 -33
  384. package/projects/angular-formio/auth/src/auth.routes.ts +0 -34
  385. package/projects/angular-formio/auth/src/auth.service.ts +0 -201
  386. package/projects/angular-formio/auth/src/index.ts +0 -8
  387. package/projects/angular-formio/auth/src/login/login.component.html +0 -1
  388. package/projects/angular-formio/auth/src/login/login.component.ts +0 -8
  389. package/projects/angular-formio/auth/src/public_api.ts +0 -5
  390. package/projects/angular-formio/auth/src/register/register.component.html +0 -1
  391. package/projects/angular-formio/auth/src/register/register.component.ts +0 -8
  392. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +0 -1
  393. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +0 -8
  394. package/projects/angular-formio/grid/package.json +0 -11
  395. package/projects/angular-formio/grid/src/GridBodyComponent.ts +0 -80
  396. package/projects/angular-formio/grid/src/GridFooterComponent.ts +0 -25
  397. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +0 -25
  398. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +0 -23
  399. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
  400. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -15
  401. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +0 -21
  402. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +0 -23
  403. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +0 -18
  404. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +0 -24
  405. package/projects/angular-formio/grid/src/form/index.ts +0 -8
  406. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +0 -31
  407. package/projects/angular-formio/grid/src/grid.component.html +0 -18
  408. package/projects/angular-formio/grid/src/grid.component.scss +0 -9
  409. package/projects/angular-formio/grid/src/grid.component.ts +0 -242
  410. package/projects/angular-formio/grid/src/grid.footer.scss +0 -14
  411. package/projects/angular-formio/grid/src/grid.module.ts +0 -57
  412. package/projects/angular-formio/grid/src/grid.service.ts +0 -16
  413. package/projects/angular-formio/grid/src/index.ts +0 -12
  414. package/projects/angular-formio/grid/src/public_api.ts +0 -5
  415. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +0 -7
  416. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +0 -39
  417. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +0 -18
  418. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +0 -20
  419. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +0 -11
  420. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +0 -72
  421. package/projects/angular-formio/grid/src/submission/index.ts +0 -8
  422. package/projects/angular-formio/grid/src/types/grid-column.ts +0 -7
  423. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +0 -5
  424. package/projects/angular-formio/grid/src/types/grid-header.ts +0 -14
  425. package/projects/angular-formio/karma.conf.js +0 -32
  426. package/projects/angular-formio/manager/package.json +0 -15
  427. package/projects/angular-formio/manager/src/create/create.component.ts +0 -11
  428. package/projects/angular-formio/manager/src/delete/delete.component.html +0 -6
  429. package/projects/angular-formio/manager/src/delete/delete.component.ts +0 -37
  430. package/projects/angular-formio/manager/src/edit/edit.component.html +0 -19
  431. package/projects/angular-formio/manager/src/edit/edit.component.ts +0 -107
  432. package/projects/angular-formio/manager/src/form/form.component.html +0 -32
  433. package/projects/angular-formio/manager/src/form/form.component.ts +0 -73
  434. package/projects/angular-formio/manager/src/form-manager.config.ts +0 -26
  435. package/projects/angular-formio/manager/src/form-manager.module.ts +0 -54
  436. package/projects/angular-formio/manager/src/form-manager.routes.ts +0 -75
  437. package/projects/angular-formio/manager/src/form-manager.service.ts +0 -195
  438. package/projects/angular-formio/manager/src/index/index.component.html +0 -14
  439. package/projects/angular-formio/manager/src/index/index.component.scss +0 -22
  440. package/projects/angular-formio/manager/src/index/index.component.ts +0 -84
  441. package/projects/angular-formio/manager/src/index.ts +0 -16
  442. package/projects/angular-formio/manager/src/public_api.ts +0 -5
  443. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +0 -6
  444. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +0 -26
  445. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +0 -7
  446. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +0 -18
  447. package/projects/angular-formio/manager/src/submission/index/index.component.html +0 -1
  448. package/projects/angular-formio/manager/src/submission/index/index.component.ts +0 -18
  449. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +0 -8
  450. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +0 -24
  451. package/projects/angular-formio/manager/src/submission/view/view.component.html +0 -7
  452. package/projects/angular-formio/manager/src/submission/view/view.component.ts +0 -9
  453. package/projects/angular-formio/manager/src/view/view.component.html +0 -10
  454. package/projects/angular-formio/manager/src/view/view.component.ts +0 -41
  455. package/projects/angular-formio/ng-package.json +0 -14
  456. package/projects/angular-formio/package.json +0 -39
  457. package/projects/angular-formio/resource/package.json +0 -11
  458. package/projects/angular-formio/resource/src/create/create.component.html +0 -13
  459. package/projects/angular-formio/resource/src/create/create.component.scss +0 -3
  460. package/projects/angular-formio/resource/src/create/create.component.ts +0 -37
  461. package/projects/angular-formio/resource/src/delete/delete.component.html +0 -5
  462. package/projects/angular-formio/resource/src/delete/delete.component.ts +0 -24
  463. package/projects/angular-formio/resource/src/edit/edit.component.html +0 -6
  464. package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -33
  465. package/projects/angular-formio/resource/src/index/index.component.html +0 -10
  466. package/projects/angular-formio/resource/src/index/index.component.ts +0 -66
  467. package/projects/angular-formio/resource/src/index.js +0 -24
  468. package/projects/angular-formio/resource/src/index.ts +0 -11
  469. package/projects/angular-formio/resource/src/public_api.ts +0 -5
  470. package/projects/angular-formio/resource/src/resource.component.html +0 -7
  471. package/projects/angular-formio/resource/src/resource.component.ts +0 -48
  472. package/projects/angular-formio/resource/src/resource.config.ts +0 -17
  473. package/projects/angular-formio/resource/src/resource.module.ts +0 -43
  474. package/projects/angular-formio/resource/src/resource.routes.ts +0 -43
  475. package/projects/angular-formio/resource/src/resource.service.ts +0 -232
  476. package/projects/angular-formio/resource/src/resources.service.ts +0 -24
  477. package/projects/angular-formio/resource/src/view/view.component.html +0 -6
  478. package/projects/angular-formio/resource/src/view/view.component.ts +0 -19
  479. package/projects/angular-formio/src/FormioBaseComponent.ts +0 -507
  480. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +0 -3
  481. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +0 -19
  482. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +0 -21
  483. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +0 -15
  484. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +0 -1
  485. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +0 -216
  486. package/projects/angular-formio/src/components/formio/formio.component.html +0 -8
  487. package/projects/angular-formio/src/components/formio/formio.component.ts +0 -33
  488. package/projects/angular-formio/src/components/loader/formio.loader.component.html +0 -3
  489. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +0 -26
  490. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +0 -10
  491. package/projects/angular-formio/src/core.ts +0 -21
  492. package/projects/angular-formio/src/custom-component/create-custom-component.ts +0 -173
  493. package/projects/angular-formio/src/custom-component/custom-tags.service.ts +0 -10
  494. package/projects/angular-formio/src/custom-component/register-custom-component.ts +0 -41
  495. package/projects/angular-formio/src/elements.common.ts +0 -31
  496. package/projects/angular-formio/src/formio-promise.service.ts +0 -36
  497. package/projects/angular-formio/src/formio.common.ts +0 -81
  498. package/projects/angular-formio/src/formio.config.ts +0 -9
  499. package/projects/angular-formio/src/formio.module.ts +0 -39
  500. package/projects/angular-formio/src/formio.service.ts +0 -57
  501. package/projects/angular-formio/src/formio.utils.ts +0 -23
  502. package/projects/angular-formio/src/index.ts +0 -5
  503. package/projects/angular-formio/src/public-api.ts +0 -5
  504. package/projects/angular-formio/src/test.ts +0 -26
  505. package/projects/angular-formio/src/types/alerts-position.ts +0 -6
  506. package/projects/angular-formio/src/types/formio-metadata.ts +0 -10
  507. package/projects/angular-formio/src/types/formio-submission.ts +0 -20
  508. package/projects/angular-formio/tsconfig.lib.json +0 -27
  509. package/projects/angular-formio/tsconfig.lib.prod.json +0 -8
  510. package/projects/angular-formio/tsconfig.spec.json +0 -17
  511. package/projects/angular-formio/tslint.json +0 -17
  512. package/tsconfig.json +0 -28
  513. package/tslint.json +0 -140
@@ -1,87 +0,0 @@
1
- import { Component, Optional, ViewEncapsulation } from '@angular/core';
2
- import { Formio, Form } from 'formiojs';
3
- import { FormioBaseComponent } from '../../FormioBaseComponent';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../../formio.config";
6
- import * as i2 from "../../custom-component/custom-tags.service";
7
- import * as i3 from "@angular/common";
8
- import * as i4 from "../loader/formio.loader.component";
9
- import * as i5 from "../alerts/formio.alerts.component";
10
- function FormioComponent_div_1_Template(rf, ctx) { if (rf & 1) {
11
- i0.ɵɵelementStart(0, "div", 4);
12
- i0.ɵɵelement(1, "formio-loader", 5);
13
- i0.ɵɵelementEnd();
14
- } if (rf & 2) {
15
- const ctx_r0 = i0.ɵɵnextContext();
16
- i0.ɵɵadvance(1);
17
- i0.ɵɵproperty("isLoading", ctx_r0.isLoading);
18
- } }
19
- function FormioComponent_formio_alerts_2_Template(rf, ctx) { if (rf & 1) {
20
- const _r5 = i0.ɵɵgetCurrentView();
21
- i0.ɵɵelementStart(0, "formio-alerts", 6);
22
- i0.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_2_Template_formio_alerts_focusComponent_0_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r4 = i0.ɵɵnextContext(); return ctx_r4.focusOnComponet($event); });
23
- i0.ɵɵelementEnd();
24
- } if (rf & 2) {
25
- const ctx_r1 = i0.ɵɵnextContext();
26
- i0.ɵɵproperty("alerts", ctx_r1.alerts);
27
- } }
28
- function FormioComponent_formio_alerts_5_Template(rf, ctx) { if (rf & 1) {
29
- const _r7 = i0.ɵɵgetCurrentView();
30
- i0.ɵɵelementStart(0, "formio-alerts", 6);
31
- i0.ɵɵlistener("focusComponent", function FormioComponent_formio_alerts_5_Template_formio_alerts_focusComponent_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return ctx_r6.focusOnComponet($event); });
32
- i0.ɵɵelementEnd();
33
- } if (rf & 2) {
34
- const ctx_r3 = i0.ɵɵnextContext();
35
- i0.ɵɵproperty("alerts", ctx_r3.alerts);
36
- } }
37
- /* tslint:disable */
38
- /* tslint:enable */
39
- export class FormioComponent extends FormioBaseComponent {
40
- constructor(ngZone, config, customTags) {
41
- super(ngZone, config, customTags);
42
- this.ngZone = ngZone;
43
- this.config = config;
44
- this.customTags = customTags;
45
- if (this.config) {
46
- Formio.setBaseUrl(this.config.apiUrl);
47
- Formio.setProjectUrl(this.config.appUrl);
48
- }
49
- else {
50
- console.warn('You must provide an AppConfig within your application!');
51
- }
52
- }
53
- getRenderer() {
54
- return this.renderer || Form;
55
- }
56
- }
57
- FormioComponent.ɵfac = function FormioComponent_Factory(t) { return new (t || FormioComponent)(i0.ɵɵdirectiveInject(i0.NgZone), i0.ɵɵdirectiveInject(i1.FormioAppConfig, 8), i0.ɵɵdirectiveInject(i2.CustomTagsService, 8)); };
58
- FormioComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioComponent, selectors: [["formio"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 6, vars: 4, consts: [["role", "form"], ["style", "position:relative;height:200px", 4, "ngIf"], [3, "alerts", "focusComponent", 4, "ngIf"], ["formio", ""], [2, "position", "relative", "height", "200px"], [3, "isLoading"], [3, "alerts", "focusComponent"]], template: function FormioComponent_Template(rf, ctx) { if (rf & 1) {
59
- i0.ɵɵelementStart(0, "div", 0);
60
- i0.ɵɵtemplate(1, FormioComponent_div_1_Template, 2, 1, "div", 1);
61
- i0.ɵɵtemplate(2, FormioComponent_formio_alerts_2_Template, 1, 1, "formio-alerts", 2);
62
- i0.ɵɵelement(3, "div", null, 3);
63
- i0.ɵɵtemplate(5, FormioComponent_formio_alerts_5_Template, 1, 1, "formio-alerts", 2);
64
- i0.ɵɵelementEnd();
65
- } if (rf & 2) {
66
- i0.ɵɵattribute("aria-label", ctx.label);
67
- i0.ɵɵadvance(1);
68
- i0.ɵɵproperty("ngIf", ctx.isLoading);
69
- i0.ɵɵadvance(1);
70
- i0.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.top || ctx.options.alertsPosition === ctx.AlertsPosition.both);
71
- i0.ɵɵadvance(3);
72
- i0.ɵɵproperty("ngIf", ctx.options.alertsPosition === ctx.AlertsPosition.bottom || ctx.options.alertsPosition === ctx.AlertsPosition.both);
73
- } }, directives: [i3.NgIf, i4.FormioLoaderComponent, i5.FormioAlertsComponent], styles: ["@charset \"UTF-8\";.choices{position:relative;margin-bottom:24px;font-size:16px}.choices:focus{outline:0}.choices:last-child{margin-bottom:0}.choices.is-disabled .choices__inner,.choices.is-disabled .choices__input{background-color:#eaeaea;cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none}.choices.is-disabled .choices__item{cursor:not-allowed}.choices [hidden]{display:none!important}.choices[data-type*=select-one]{cursor:pointer}.choices[data-type*=select-one] .choices__inner{padding-bottom:7.5px}.choices[data-type*=select-one] .choices__input{display:block;width:100%;padding:10px;border-bottom:1px solid #ddd;background-color:#fff;margin:0}.choices[data-type*=select-one] .choices__button{background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);padding:0;background-size:8px;position:absolute;top:50%;right:0;margin-top:-10px;margin-right:25px;height:20px;width:20px;border-radius:10em;opacity:.5}.choices[data-type*=select-one] .choices__button:focus,.choices[data-type*=select-one] .choices__button:hover{opacity:1}.choices[data-type*=select-one] .choices__button:focus{box-shadow:0 0 0 2px #00bcd4}.choices[data-type*=select-one] .choices__item[data-value=\"\"] .choices__button{display:none}.choices[data-type*=select-one]:after{content:\"\";height:0;width:0;border-style:solid;border-color:#333 transparent transparent;border-width:5px;position:absolute;right:11.5px;top:50%;margin-top:-2.5px;pointer-events:none}.choices[data-type*=select-one].is-open:after{border-color:transparent transparent #333;margin-top:-7.5px}.choices[data-type*=select-one][dir=rtl]:after{left:11.5px;right:auto}.choices[data-type*=select-one][dir=rtl] .choices__button{right:auto;left:0;margin-left:25px;margin-right:0}.choices[data-type*=select-multiple] .choices__inner,.choices[data-type*=text] .choices__inner{cursor:text}.choices[data-type*=select-multiple] .choices__button,.choices[data-type*=text] .choices__button{position:relative;display:inline-block;margin:0 -4px 0 8px;padding-left:16px;border-left:1px solid #008fa1;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);background-size:8px;width:8px;line-height:1;opacity:.75;border-radius:0}.choices[data-type*=select-multiple] .choices__button:focus,.choices[data-type*=select-multiple] .choices__button:hover,.choices[data-type*=text] .choices__button:focus,.choices[data-type*=text] .choices__button:hover{opacity:1}.choices__inner{display:inline-block;vertical-align:top;width:100%;background-color:#f9f9f9;padding:7.5px 7.5px 3.75px;border:1px solid #ddd;border-radius:2.5px;font-size:14px;min-height:44px;overflow:hidden}.is-focused .choices__inner,.is-open .choices__inner{border-color:#b7b7b7}.is-open .choices__inner{border-radius:2.5px 2.5px 0 0}.is-flipped.is-open .choices__inner{border-radius:0 0 2.5px 2.5px}.choices__list{margin:0;padding-left:0;list-style:none}.choices__list--single{display:inline-block;padding:4px 16px 4px 4px;width:100%}[dir=rtl] .choices__list--single{padding-right:4px;padding-left:16px}.choices__list--single .choices__item{width:100%}.choices__list--multiple{display:inline}.choices__list--multiple .choices__item{display:inline-block;vertical-align:middle;border-radius:20px;padding:4px 10px;font-size:12px;font-weight:500;margin-right:3.75px;margin-bottom:3.75px;background-color:#00bcd4;border:1px solid #00a5bb;color:#fff;word-break:break-all;box-sizing:border-box}.choices__list--multiple .choices__item[data-deletable]{padding-right:5px}[dir=rtl] .choices__list--multiple .choices__item{margin-right:0;margin-left:3.75px}.choices__list--multiple .choices__item.is-highlighted{background-color:#00a5bb;border:1px solid #008fa1}.is-disabled .choices__list--multiple .choices__item{background-color:#aaa;border:1px solid #919191}.choices__list--dropdown{visibility:hidden;z-index:1;position:absolute;width:100%;background-color:#fff;border:1px solid #ddd;top:100%;margin-top:-1px;border-bottom-left-radius:2.5px;border-bottom-right-radius:2.5px;overflow:hidden;word-break:break-all;will-change:visibility}.choices__list--dropdown.is-active{visibility:visible}.is-open .choices__list--dropdown{border-color:#b7b7b7}.is-flipped .choices__list--dropdown{top:auto;bottom:100%;margin-top:0;margin-bottom:-1px;border-radius:.25rem .25rem 0 0}.choices__list--dropdown .choices__list{position:relative;max-height:300px;overflow:auto;-webkit-overflow-scrolling:touch;will-change:scroll-position}.choices__list--dropdown .choices__item{position:relative;padding:10px;font-size:14px}[dir=rtl] .choices__list--dropdown .choices__item{text-align:right}@media (min-width:640px){.choices__list--dropdown .choices__item--selectable{padding-right:100px}.choices__list--dropdown .choices__item--selectable:after{content:attr(data-select-text);font-size:12px;opacity:0;position:absolute;right:10px;top:50%;transform:translateY(-50%)}[dir=rtl] .choices__list--dropdown .choices__item--selectable{text-align:right;padding-left:100px;padding-right:10px}[dir=rtl] .choices__list--dropdown .choices__item--selectable:after{right:auto;left:10px}}.choices__list--dropdown .choices__item--selectable.is-highlighted{background-color:#f2f2f2}.choices__list--dropdown .choices__item--selectable.is-highlighted:after{opacity:.5}.choices__item{cursor:default}.choices__item--selectable{cursor:pointer}.choices__item--disabled{cursor:not-allowed;-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.choices__heading{font-weight:600;font-size:12px;padding:10px;border-bottom:1px solid #f7f7f7;color:gray}.choices__button{text-indent:-9999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background-color:transparent;background-repeat:no-repeat;background-position:center;cursor:pointer}.choices__button:focus,.choices__input:focus{outline:0}.choices__input{display:inline-block;vertical-align:baseline;background-color:#f9f9f9;font-size:14px;margin-bottom:5px;border:0;border-radius:0;max-width:100%;padding:4px 0 4px 2px}[dir=rtl] .choices__input{padding-right:2px;padding-left:0}.choices__placeholder{opacity:.5}dialog{position:absolute;left:0;right:0;width:-moz-fit-content;width:-webkit-fit-content;width:fit-content;height:-moz-fit-content;height:-webkit-fit-content;height:fit-content;margin:auto;border:solid;padding:1em;background:#fff;color:#000;display:block}dialog:not([open]){display:none}dialog+.backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.1)}._dialog_overlay{position:fixed;top:0;right:0;bottom:0;left:0}dialog.fixed{position:fixed;top:50%;transform:translateY(-50%)}.formio-loader{position:relative;min-height:60px}.loader-wrapper{z-index:1000;position:absolute;top:0;left:0;bottom:0;right:0;height:120px;background-color:#0000}.loader{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.formio-form{position:relative;min-height:80px}.formio-error-wrapper,.formio-warning-wrapper{padding:1em}.formio-error-wrapper{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.formio-warning-wrapper{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.formio-disabled-input .form-control.flatpickr-input{background-color:#eee}.builder-component.has-error .invalid-feedback,.formio-component.alert-danger .invalid-feedback,.formio-component.has-error .invalid-feedback,.formio-component.has-message .invalid-feedback{display:block;color:inherit;margin-top:4px}.formio-errors .error{color:#dc3545}.formio-errors .warning{color:#856404}.formio-errors .info{color:#004085}.formio-wysiwyg-editor{min-height:200px;background-color:#fff}.has-feedback .form-control{padding-right:10px}.has-feedback .form-control[type=hidden]{padding-right:0}.has-error.bg-danger{padding:4px}.ql-source:after{content:\"[source]\";white-space:nowrap}.quill-source-code{width:100%;margin:0;background:#1d1d1d;box-sizing:border-box;color:#ccc;font-size:15px;outline:0;padding:20px;line-height:24px;font-family:Consolas,Menlo,Monaco,\"Courier New\",monospace;position:absolute;top:0;bottom:0;border:none;display:none}.formio-component-tags tags{background-color:#fff}.field-required:after,.tab-error:after{content:\" *\";color:red}.field-required:after{position:relative;z-index:10}.glyphicon-spin{-webkit-animation:formio-spin 1s infinite linear;animation:formio-spin 1s infinite linear}@-webkit-keyframes formio-spin{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes formio-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.button-icon-right{margin-left:5px}.formio-component-submit .submit-success:after{content:\"\\2713\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail:after{content:\"\\2717\";position:relative;right:-4px;top:1px;line-height:1}.formio-component-submit .submit-fail[disabled]{opacity:1}.form-control.flatpickr-input{background-color:#fff}td>.form-group{margin-bottom:0}.signature-pad-body{overflow:hidden;position:relative}.signature-pad-canvas{border-radius:4px;box-shadow:0 0 5px #00000005 inset;border:1px solid #f4f4f4}.btn.signature-pad-refresh{position:absolute;left:0;top:0;z-index:1000;padding:3px;line-height:0}[dir=rtl] .btn.signature-pad-refresh{left:unset;right:0}.formio-component-multiple .choices__input{width:100%}.choices__list--dropdown .choices__item--selectable{padding-right:0}.signature-pad-refresh img{height:1.2em}.signature-pad-footer{text-align:center;color:#c3c3c3}.choices__list--dropdown{z-index:100}.choices__list--multiple .choices__item{border-radius:0;padding:2px 8px;line-height:1em;margin-bottom:6px}.choices__list--single{padding:0}.choices__item.choices__item--selectable{white-space:nowrap;overflow:hidden;padding-right:25px;text-overflow:ellipsis}.choices__input{padding:2px}.choices[dir=rtl]>*{text-align:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable]{padding-left:5px;float:right}.choices[dir=rtl] .choices__list--multiple .choices__item[data-deletable] .choices__button{float:left;margin:0 8px 0 -4px;padding-left:unset;padding-right:16px;border-left:unset;border-right:1px solid #008fa1;overflow:hidden}.formio-component-file .fileSelector{position:relative;padding:15px;border:2px dashed #ddd;text-align:center}.formio-component-file .fileSelector .loader-wrapper{display:none;width:100%;height:100%;background-color:#0000001a}.formio-component-file .fileSelector .loader-wrapper .loader{height:45px;width:45px;margin-top:-23px;margin-left:-23px}.formio-component-file .fileSelector.fileDragOver{border-color:#127abe}.formio-component-file .fileSelector .fa,.formio-component-file .fileSelector .glyphicon{font-size:20px;margin-right:5px}[dir=rtl] .formio-component-file .fileSelector .fa,[dir=rtl] .formio-component-file .fileSelector .glyphicon{margin-right:unset;margin-left:5px}.formio-component-file .fileSelector .browse{cursor:pointer}@-webkit-keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@keyframes formio-dialog-fadeout{0%{opacity:1}to{opacity:0}}@-webkit-keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}@keyframes formio-dialog-fadein{0%{opacity:0}to{opacity:1}}.formio-dialog{box-sizing:border-box;font-size:.8em;color:#666}.formio-dialog.formio-modaledit-dialog{font-size:inherit}.formio-dialog *,.formio-dialog :after,.formio-dialog :before{box-sizing:inherit}.formio-dialog{position:fixed;overflow:auto;-webkit-overflow-scrolling:touch;z-index:10000;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.4);-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s}.formio-dialog.formio-dialog-disabled-animation,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-content,.formio-dialog.formio-dialog-disabled-animation .formio-dialog-overlay{-webkit-animation:none!important;animation:none!important}.formio-dialog-overlay{position:fixed;top:0;right:0;bottom:0;left:0;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;margin-right:15px;background:0 0}.formio-dialog-no-overlay{pointer-events:none}.formio-dialog.formio-dialog-closing .formio-dialog-overlay{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-content{background:#fff;-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadein .5s;animation:formio-dialog-fadein .5s;pointer-events:all;overflow:auto}.formio-component-modal-wrapper-select .formio-dialog-content{overflow:visible;overflow:initial}.formio-dialog.formio-dialog-closing .formio-dialog-content{-webkit-backface-visibility:hidden;-webkit-animation:formio-dialog-fadeout .5s;animation:formio-dialog-fadeout .5s}.formio-dialog-close:before{font-family:Helvetica,Arial,sans-serif;content:\"\\d7\";cursor:pointer}body.formio-dialog-open,html.formio-dialog-open{overflow:hidden}.formio-dialog .tab-content{padding-top:12px}.formio-dialog-close{z-index:1000}@-webkit-keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@keyframes formio-dialog-flyin{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes formio-dialog-flyout{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}.formio-dialog.formio-dialog-theme-default{padding-bottom:160px;padding-top:160px}.formio-dialog.formio-dialog-theme-default.formio-dialog-closing .formio-dialog-content{-webkit-animation:formio-dialog-flyout .5s;animation:formio-dialog-flyout .5s}.formio-dialog.formio-dialog-theme-default .formio-dialog-content{-webkit-animation:formio-dialog-flyin .5s;animation:formio-dialog-flyin .5s;background:#f0f0f0;border-radius:5px;font-family:Helvetica,sans-serif;font-size:1.1em;line-height:1.5em;margin:0 auto;max-width:100%;padding:1em;position:relative;width:80%}.formio-dialog.formio-dialog-theme-default .formio-dialog-close{border:none;background:0 0;cursor:pointer;position:absolute;right:0;top:0;z-index:100}.formio-clickable{cursor:pointer}.component-settings .nav>li>a{padding:8px 10px}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:before{display:block;padding:3px;background:0 0;color:#bbb;content:\"\\d7\";font-size:26px;font-weight:400;line-height:26px;text-align:center}.formio-dialog.formio-dialog-theme-default .formio-dialog-close:active:before,.formio-dialog.formio-dialog-theme-default .formio-dialog-close:hover:before{color:#777}.formio-dialog.formio-dialog-theme-default .formio-dialog-message{margin-bottom:.5em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input{margin-bottom:1em}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text],.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url],.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea{background:#fff;border:0;border-radius:3px;font-family:inherit;font-size:inherit;font-weight:inherit;margin:0 0 .25em;min-height:2.5em;padding:.25em .67em;width:100%}.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=email]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=password]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=text]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input input[type=url]:focus,.formio-dialog.formio-dialog-theme-default .formio-dialog-input textarea:focus{box-shadow:inset 0 0 0 2px #8dbdf1;outline:0}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons{*zoom:1}.formio-dialog.formio-dialog-theme-default .formio-dialog-buttons:after{content:\"\";display:table;clear:both}.formio-dialog.formio-dialog-theme-default .formio-dialog-button{border:0;border-radius:3px;cursor:pointer;float:right;font-family:inherit;font-size:.8em;letter-spacing:.1em;line-height:1em;margin:0 0 0 .5em;padding:.75em 2em;text-transform:uppercase}.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:formio-dialog-pulse 1.1s infinite;animation:formio-dialog-pulse 1.1s infinite;outline:0}@media (max-width:568px){.formio-dialog.formio-dialog-theme-default .formio-dialog-button:focus{-webkit-animation:none;animation:none}}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-primary{background:#3288e6;color:#fff}.formio-dialog.formio-dialog-theme-default .formio-dialog-button.formio-dialog-button-secondary{background:#e0e0e0;color:#777}.formio-dialog-content .panel{margin:0}.formio-placeholder{position:absolute;color:#999}.formio-dialog .formio-dialog-close{cursor:pointer}.formio-iframe{border:none;width:100%;height:1000px}.inline-form-button{margin-right:10px}.tooltip{opacity:1}.tooltip[x-placement=right] .tooltip-arrow{border-right:5px solid #000}.tooltip[x-placement=right] .tooltip-inner{margin-left:8px}.control-label--bottom{margin-bottom:0;margin-top:5px}.formio-component-label-hidden{position:relative}.formio-hidden{margin:0}.control-label--hidden{position:absolute;top:6px;right:5px;font-size:1.5em}.formio-component-datetime .control-label--hidden.field-required{right:45px;z-index:3}.formio-component-selectboxes .control-label--hidden.field-required,.formio-component-survey .control-label--hidden.field-required{top:0}.formio-component-resource .control-label--hidden.field-required,.formio-component-select .control-label--hidden.field-required{right:40px;z-index:2}.formio-component-datasource,.formio-component-hidden:not(.formio-component-checkbox){margin-bottom:0}.checkbox-inline label,.radio-inline label{font-weight:400;cursor:pointer}.editgrid-listgroup{margin-bottom:10px}.tree-listgroup{flex-direction:row}.formio-component-submit button[disabled]+.has-error{display:block}.formio-choices.form-group{margin-bottom:0}.formio-choices[data-type=select-multiple] .form-control{height:auto}.form-control.formio-multiple-mask-select{width:15%;z-index:4}.form-control.formio-multiple-mask-input{width:85%}.input-group.formio-multiple-mask-container{width:100%}.formio-component .table{margin-bottom:0}.formio-hide-label-panel-tooltip{margin-top:-10px;margin-left:-10px}.is-disabled .choices__list--multiple .choices__item{padding:5px 10px}.is-disabled .choices__list--multiple .choices__item .choices__button{display:none}.formio-collapse-icon{cursor:pointer;margin-right:4px}[dir=rtl] .formio-collapse-icon{margin-right:unset;margin-left:4px}.formio-component-dateTime .form-control[type=datetime-local]~.input-group-addon,.formio-component-datetime .form-control[type=datetime-local]~.input-group-addon{width:auto}.formio-component-datagrid .formio-datagrid-remove{position:absolute;top:0;right:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-datagrid .datagrid-table>tbody>tr>td:last-child{position:relative}.formio-component-datagrid .datagrid-table>tbody>tr:hover>td:last-child .formio-datagrid-remove{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-component-modaledit .formio-modaledit-view-container{position:relative;border:1px solid #ddd;min-height:34px;padding:6px 12px;cursor:text}td .formio-component-modaledit .formio-modaledit-view-container{padding:0;border-style:none}.formio-component-modaledit .formio-modaledit-edit{position:absolute;top:0;left:0;visibility:hidden;opacity:0;transition:opacity .2s linear,visibility 0s .2s}.formio-component-modaledit .formio-modaledit-view-container:hover .formio-modaledit-edit{visibility:visible;opacity:1;transition:visibility 0s,opacity .2s linear}.formio-modaledit-dialog .formio-modaledit-close{position:absolute;top:100%;right:0;border-radius:0}.reset-margins a,.reset-margins abbr,.reset-margins acronym,.reset-margins address,.reset-margins applet,.reset-margins article,.reset-margins aside,.reset-margins audio,.reset-margins b,.reset-margins big,.reset-margins blockquote,.reset-margins body,.reset-margins canvas,.reset-margins caption,.reset-margins center,.reset-margins cite,.reset-margins code,.reset-margins dd,.reset-margins del,.reset-margins details,.reset-margins dfn,.reset-margins div,.reset-margins dl,.reset-margins dt,.reset-margins em,.reset-margins embed,.reset-margins fieldset,.reset-margins figcaption,.reset-margins figure,.reset-margins footer,.reset-margins form,.reset-margins h1,.reset-margins h2,.reset-margins h3,.reset-margins h4,.reset-margins h5,.reset-margins h6,.reset-margins header,.reset-margins hgroup,.reset-margins html,.reset-margins i,.reset-margins iframe,.reset-margins img,.reset-margins ins,.reset-margins kbd,.reset-margins label,.reset-margins legend,.reset-margins li,.reset-margins mark,.reset-margins menu,.reset-margins nav,.reset-margins object,.reset-margins ol,.reset-margins output,.reset-margins p,.reset-margins pre,.reset-margins q,.reset-margins ruby,.reset-margins s,.reset-margins samp,.reset-margins section,.reset-margins small,.reset-margins span,.reset-margins strike,.reset-margins strong,.reset-margins sub,.reset-margins summary,.reset-margins sup,.reset-margins table,.reset-margins tbody,.reset-margins td,.reset-margins tfoot,.reset-margins th,.reset-margins thead,.reset-margins time,.reset-margins tr,.reset-margins tt,.reset-margins u,.reset-margins ul,.reset-margins var,.reset-margins video{margin:0}.ck-body .ck.ck-balloon-panel{z-index:101000}.formio-component-select select[disabled=disabled]{-webkit-appearance:none;-moz-appearance:none;text-indent:1px;text-overflow:\"\"}.formio-component-select .choices.is-disabled[data-type*=select-one]:after,.formio-component-select div[disabled=disabled] button{display:none}.datagrid-group-label.collapsed>td{display:none}.datagrid-group-header.clickable{cursor:pointer}.datagrid-group-header.clickable .datagrid-group-label:before{display:inline-block;vertical-align:middle;content:\"\\25be\";margin:0 5px}.datagrid-group-header.clickable.collapsed .datagrid-group-label:before{content:\"\\25b8\"}.formio-component.alert-danger .help-block,.formio-component.alert-warning .help-block{color:inherit}.tree__level_even{background-color:#f6f6f6}.tree__node-content{margin-bottom:10px}.tree__node-children{margin:0}.formio-select-autocomplete-input{opacity:0;position:absolute;z-index:-1}.has-error>.help-block{margin-top:5px;margin-bottom:10px}.no-top-border-table>.table>tbody>tr:first-child>td{border-top:none}.table>tbody>tr>td.cell-align-left{text-align:left}.table>tbody>tr>td.cell-align-center{text-align:center}.table>tbody>tr>td.cell-align-center>div{margin-left:auto;margin-right:auto}.table>tbody>tr>td.cell-align-right{text-align:right}.table>tbody>tr>td.cell-align-right>div{margin-left:auto}.table-responsive[ref=component]{overflow-x:visible}.formio-component-textarea .alert .ck-editor__editable{color:inherit}.formio-component-textarea .ck.ck-editor__editable .image .ck-progress-bar{height:4px}div[data-oembed-url]{width:100%}.checkbox label.label-position-bottom,.checkbox label.label-position-left,.checkbox label.label-position-top,.radio label.label-position-bottom,.radio label.label-position-left,.radio label.label-position-top{padding-left:0}.checkbox label.label-position-bottom span,.checkbox label.label-position-top span,.radio label.label-position-bottom span,.radio label.label-position-top span{display:block}.checkbox label.label-position-bottom input[type=checkbox],.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-bottom input[type=radio],.radio label.label-position-top input[type=radio]{position:relative;margin-left:0}.checkbox label.label-position-top input[type=checkbox],.radio label.label-position-top input[type=radio]{margin-top:4px}.checkbox label.label-position-bottom input[type=checkbox],.radio label.label-position-bottom input[type=radio]{margin-bottom:8px}.checkbox label.label-position-left input[type=checkbox],.radio label.label-position-left input[type=radio]{margin-left:10px}.open-modal-button{width:100%;text-align:left;white-space:normal;height:auto}.formio-component-modal-wrapper-signature .open-modal-button{text-align:center;height:100%;font-size:1.4em;padding:0;margin:0}.formio-component-content .image{display:table;clear:both;text-align:center;margin:1em auto}.formio-component-content .image>img{display:block;margin:0 auto;max-width:100%;min-width:50px}.formio-component-content .image>figcaption{display:table-caption;caption-side:bottom;word-break:break-word;color:#333;background-color:#f7f7f7;padding:.6em;font-size:.75em;outline-offset:-1px}.formio-component-content .image.image_resized{max-width:100%;display:block;box-sizing:border-box}.formio-component-content .image.image_resized img{width:100%}.formio-component-content .image.image_resized>figcaption{display:block}.formio-component-content .media{clear:both;margin:1em 0;display:block;min-width:15em}.formio-component-content .image-style-align-center:not(.image_resized),.formio-component-content .image-style-align-left:not(.image_resized),.formio-component-content .image-style-align-right:not(.image_resized),.formio-component-content .image-style-side:not(.image_resized){max-width:50%}.formio-component-content .image-style-side{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-left{float:left;margin-right:var(--ck-image-style-spacing)}.formio-component-content .image-style-align-center{margin-left:auto;margin-right:auto}.formio-component-content .image-style-align-right{float:right;margin-left:var(--ck-image-style-spacing)}.formio-component-content blockquote{overflow:hidden;padding-right:1.5em;padding-left:1.5em;margin-left:0;margin-right:0;font-style:italic;border-left:solid 5px #ccc}.formio-component-content[dir=rtl] blockquote{border-left:0;border-right:solid 5px #ccc}.formio-component-content .text-tiny{font-size:.7em}.formio-component-content .text-small{font-size:.85em}.formio-component-content .text-big{font-size:1.4em}.formio-component-content .text-huge{font-size:1.8em}.formio-component-address.formio-component-label-hidden>label.field-required{z-index:1}.formio-component-address.formio-component-label-hidden>label.field-required~.address-autocomplete-container .address-autocomplete-remove-value-icon{right:20px}.address-autocomplete-container{position:relative}.address-autocomplete-container .address-autocomplete-remove-value-icon{cursor:pointer;position:absolute;margin-top:-9px;right:10px;top:50%}.address-autocomplete-container .address-autocomplete-remove-value-icon--hidden{display:none}.autocomplete{background:#fff;font:14px/22px \"-apple-system\",BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,sans-serif;overflow:auto;box-sizing:border-box;border:1px solid rgba(50,50,50,.6);z-index:11000}.autocomplete>div{cursor:pointer;padding:6px 10px}.autocomplete>div.selected,.autocomplete>div:hover:not(.group){background:#1e90ff;color:#fff}.field-wrapper{display:flex}.field-wrapper--reverse{flex-direction:row-reverse}.field-wrapper .field-label--right{text-align:right}.formio-component-modal-wrapper{margin-bottom:10px}.formio-component-modal-wrapper .open-modal-button{height:auto}.formio-component-modal-wrapper .component-rendering-hidden{visibility:hidden}.formio-component-textarea div.formio-editor-read-only-content[ref=input]{white-space:pre-wrap}.formio-editor-read-only-content img{max-width:100%}.formio-editor-read-only-content li[data-list=bullet]{list-style-type:none}.formio-editor-read-only-content li[data-list=bullet] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=bullet] .ql-ui:before{content:\"\\2022\"}.formio-editor-read-only-content li[data-list=ordered]{list-style-type:none;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.formio-editor-read-only-content li[data-list=ordered] .ql-ui{padding-right:.5rem}.formio-editor-read-only-content li[data-list=ordered] .ql-ui:before{content:counter(list-0,decimal) \". \"}.formio-editor-read-only-content figure.table table{border-collapse:collapse;border-spacing:0;width:100%;height:100%;border:1px double #b3b3b3}.formio-editor-read-only-content figure.table table td,.formio-editor-read-only-content figure.table table th{min-width:2em;padding:.4em;border:1px solid #bfbfbf}.formio-component-password .pull-right:not(:last-child),.formio-component-textarea .pull-right:not(:last-child),.formio-component-textfield .pull-right:not(:last-child){padding-left:12px}.formio-form>div>nav>ul.pagination{flex-flow:wrap row}.formio-form>div>nav>ul.pagination .page-link{cursor:pointer}.pac-container{z-index:11000}[ref=buttonMessageContainer].has-error{cursor:pointer}.formio-component-textarea .formio-editor-read-only-content .text-big{font-size:1.4em}.formio-component-textarea .formio-editor-read-only-content .text-huge{font-size:1.8em}.formio-component-textarea .formio-editor-read-only-content .text-small{font-size:.85em}.formio-component-textarea .formio-editor-read-only-content .text-tiny{font-size:.7em}\n"], encapsulation: 2 });
74
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioComponent, [{
75
- type: Component,
76
- args: [{
77
- selector: 'formio',
78
- templateUrl: './formio.component.html',
79
- styleUrls: ['../../../../../node_modules/formiojs/dist/formio.form.min.css'],
80
- encapsulation: ViewEncapsulation.None,
81
- }]
82
- }], function () { return [{ type: i0.NgZone }, { type: i1.FormioAppConfig, decorators: [{
83
- type: Optional
84
- }] }, { type: i2.CustomTagsService, decorators: [{
85
- type: Optional
86
- }] }]; }, null); })();
87
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9jb21wb25lbnRzL2Zvcm1pby9mb3JtaW8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vc3JjL2NvbXBvbmVudHMvZm9ybWlvL2Zvcm1pby5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLFFBQVEsRUFBRSxpQkFBaUIsRUFBNEIsTUFBTSxlQUFlLENBQUM7QUFFekcsT0FBTyxFQUFFLE1BQU0sRUFBRSxJQUFJLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFDeEMsT0FBTyxF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dGl2ZTtoZWlnaHQ6MjAwcHhcIj5cbiAgICA8Zm9ybWlvLWxvYWRlciBbaXNMb2FkaW5nXT1cImlzTG9hZGluZ1wiPjwvZm9ybWlvLWxvYWRlcj5cbiAgPC9kaXY+XG4gIDxmb3JtaW8tYWxlcnRzICpuZ0lmPVwidGhpcy5vcHRpb25zLmFsZXJ0c1Bvc2l0aW9uID09PSBBbGVydHNQb3NpdGlvbi50b3AgfHwgdGhpcy5vcHRpb25zLmFsZXJ0c1Bvc2l0aW9uID09PSBBbGVydHNQb3NpdGlvbi5ib3RoXCIgKGZvY3VzQ29tcG9uZW50KT1cImZvY3VzT25Db21wb25ldCgkZXZlbnQpXCIgW2FsZXJ0c109XCJhbGVydHNcIj48L2Zvcm1pby1hbGVydHM+XG4gIDxkaXYgI2Zvcm1pbz48L2Rpdj5cbiAgPGZvcm1pby1hbGVydHMgKm5nSWY9XCJ0aGlzLm9wdGlvbnMuYWxlcnRzUG9zaXRpb24gPT09IEFsZXJ0c1Bvc2l0aW9uLmJvdHRvbSB8fCB0aGlzLm9wdGlvbnMuYWxlcnRzUG9zaXRpb24gPT09IEFsZXJ0c1Bvc2l0aW9uLmJvdGhcIiAoZm9jdXNDb21wb25lbnQpPVwiZm9jdXNPbkNvbXBvbmV0KCRldmVudClcIiBbYWxlcnRzXT1cImFsZXJ0c1wiPjwvZm9ybWlvLWFsZXJ0cz5cbjwvZGl2PlxuIl19
@@ -1,27 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- function FormioLoaderComponent_div_0_Template(rf, ctx) { if (rf & 1) {
5
- i0.ɵɵelementStart(0, "div", 1);
6
- i0.ɵɵelement(1, "div", 2);
7
- i0.ɵɵelementEnd();
8
- } }
9
- export class FormioLoaderComponent {
10
- }
11
- FormioLoaderComponent.ɵfac = function FormioLoaderComponent_Factory(t) { return new (t || FormioLoaderComponent)(); };
12
- FormioLoaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioLoaderComponent, selectors: [["formio-loader"]], inputs: { isLoading: "isLoading" }, decls: 1, vars: 1, consts: [["class", "formio-loader-wrapper", 4, "ngIf"], [1, "formio-loader-wrapper"], [1, "formio-loader"]], template: function FormioLoaderComponent_Template(rf, ctx) { if (rf & 1) {
13
- i0.ɵɵtemplate(0, FormioLoaderComponent_div_0_Template, 2, 0, "div", 0);
14
- } if (rf & 2) {
15
- i0.ɵɵproperty("ngIf", ctx.isLoading);
16
- } }, directives: [i1.NgIf], styles: [".formio-loader-wrapper[_ngcontent-%COMP%]{position:absolute;top:0px;bottom:0px;left:0px;right:0px;z-index:1000}.formio-loader[_ngcontent-%COMP%]{position:absolute;left:50%;top:50%;margin-left:-30px;margin-top:-30px;z-index:10000;display:inline-block;border:6px solid #f3f3f3;border-top:6px solid #3498db;border-radius:50%;width:60px;height:60px;-webkit-animation:spin 2s linear infinite;animation:spin 2s linear infinite}@-webkit-keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}"] });
17
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioLoaderComponent, [{
18
- type: Component,
19
- args: [{
20
- selector: 'formio-loader',
21
- styleUrls: ['./formio.loader.component.scss'],
22
- templateUrl: './formio.loader.component.html'
23
- }]
24
- }], null, { isLoading: [{
25
- type: Input
26
- }] }); })();
27
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmxvYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY29tcG9uZW50cy9sb2FkZXIvZm9ybWlvLmxvYWRlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bG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@ -1,130 +0,0 @@
1
- // @ts-nocheck
2
- import { Components, Utils as FormioUtils } from 'formiojs';
3
- import { clone, isNil, isArray } from 'lodash';
4
- const BaseInputComponent = Components.components.input;
5
- const TextfieldComponent = Components.components.textfield;
6
- export function createCustomFormioComponent(customComponentOptions) {
7
- var _a;
8
- return _a = class CustomComponent extends BaseInputComponent {
9
- constructor(component, options, data) {
10
- super(component, Object.assign(Object.assign({}, options), { sanitizeConfig: {
11
- addTags: [customComponentOptions.selector],
12
- } }), data);
13
- this.component = component;
14
- this.id = FormioUtils.getRandomComponentId();
15
- this.type = customComponentOptions.type;
16
- if (customComponentOptions.extraValidators) {
17
- this.validators = this.validators.concat(customComponentOptions.extraValidators);
18
- }
19
- }
20
- static schema() {
21
- return BaseInputComponent.schema(Object.assign(Object.assign({}, customComponentOptions.schema), { type: customComponentOptions.type }));
22
- }
23
- get defaultSchema() {
24
- return CustomComponent.schema();
25
- }
26
- get emptyValue() {
27
- return customComponentOptions.emptyValue || null;
28
- }
29
- static get builderInfo() {
30
- return {
31
- title: customComponentOptions.title,
32
- group: customComponentOptions.group,
33
- icon: customComponentOptions.icon,
34
- weight: customComponentOptions.weight,
35
- documentation: customComponentOptions.documentation,
36
- schema: CustomComponent.schema(),
37
- };
38
- }
39
- elementInfo() {
40
- const info = super.elementInfo();
41
- info.type = customComponentOptions.selector;
42
- info.changeEvent = customComponentOptions.changeEvent || 'valueChange';
43
- 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
44
- });
45
- return info;
46
- }
47
- get inputInfo() {
48
- const info = Object.assign({ id: this.key }, this.elementInfo());
49
- return info;
50
- }
51
- renderElement(value, index) {
52
- const info = this.inputInfo;
53
- return this.renderTemplate(customComponentOptions.template || 'input', {
54
- input: info,
55
- value,
56
- index
57
- });
58
- }
59
- attach(element) {
60
- let superAttach = super.attach(element);
61
- this._customAngularElement = element.querySelector(customComponentOptions.selector);
62
- // Bind the custom options and the validations to the Angular component's inputs (flattened)
63
- if (this._customAngularElement) {
64
- // To make sure we have working input in IE...
65
- // IE doesn't render it properly if it's not visible on the screen
66
- // due to the whole structure applied via innerHTML to the parent
67
- // so we need to use appendChild
68
- if (!this._customAngularElement.getAttribute('ng-version')) {
69
- this._customAngularElement.removeAttribute('ref');
70
- const newCustomElement = document.createElement(customComponentOptions.selector);
71
- newCustomElement.setAttribute('ref', 'input');
72
- Object.keys(this.inputInfo.attr).forEach((attr) => {
73
- newCustomElement.setAttribute(attr, this.inputInfo.attr[attr]);
74
- });
75
- this._customAngularElement.appendChild(newCustomElement);
76
- this._customAngularElement = newCustomElement;
77
- superAttach = super.attach(element);
78
- }
79
- // Bind customOptions
80
- for (const key in this.component.customOptions) {
81
- if (this.component.customOptions.hasOwnProperty(key)) {
82
- this._customAngularElement[key] = this.component.customOptions[key];
83
- }
84
- }
85
- // Bind validate options
86
- for (const key in this.component.validate) {
87
- if (this.component.validate.hasOwnProperty(key)) {
88
- this._customAngularElement[key] = this.component.validate[key];
89
- }
90
- }
91
- // Bind options explicitly set
92
- const fieldOptions = customComponentOptions.fieldOptions;
93
- if (isArray(fieldOptions) && fieldOptions.length > 0) {
94
- for (const key in fieldOptions) {
95
- if (fieldOptions.hasOwnProperty(key)) {
96
- this._customAngularElement[fieldOptions[key]] = this.component[fieldOptions[key]];
97
- }
98
- }
99
- }
100
- // Attach event listener for emit event
101
- this._customAngularElement.addEventListener('formioEvent', (event) => {
102
- this.emit(event.detail.eventName, Object.assign(Object.assign({}, event.detail.data), { component: this.component }));
103
- });
104
- // Ensure we bind the value (if it isn't a multiple-value component with no wrapper)
105
- if (!this._customAngularElement.value && !this.component.disableMultiValueWrapper) {
106
- this.restoreValue();
107
- }
108
- }
109
- return superAttach;
110
- }
111
- // Add extra option to support multiple value (e.g. datagrid) with single angular component (disableMultiValueWrapper)
112
- useWrapper() {
113
- return this.component.hasOwnProperty('multiple') && this.component.multiple && !this.component.disableMultiValueWrapper;
114
- }
115
- get defaultValue() {
116
- let defaultValue = this.emptyValue;
117
- // handle falsy default value
118
- if (!isNil(this.component.defaultValue)) {
119
- defaultValue = this.component.defaultValue;
120
- }
121
- if (this.component.customDefaultValue && !this.options.preview) {
122
- defaultValue = this.evaluate(this.component.customDefaultValue, { value: '' }, 'value');
123
- }
124
- return clone(defaultValue);
125
- }
126
- },
127
- _a.editForm = customComponentOptions.editForm || TextfieldComponent.editForm,
128
- _a;
129
- }
130
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3JlYXRlLWN1c3RvbS1jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9zcmMvY3VzdG9tLWNvbXBvbmVudC9jcmVhdGUtY3VzdG9tLWNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjO0FBQ2QsT0FBTyxFQUFlLFVBQVUsRUFBMkIsS0FBSyxJQUFJLFdBQVcsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUVsRyxPQUFPLEVBQUUsS0FBSyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsTUFBTSxRQUFRLENBQUM7QUFFL0MsTUFBTSxrQkFBa0IsR0FBRyxVQUFVLENBQUMsVUFBVSxDQUFDLEtBQUssQ0FBQztBQUN2RCxNQUFNLGtCQUFrQixHQUFHLFVBQVUsQ0FBQyxVQUFVLENBQUMsU0FBUyxDQUFDO0FBRTNELE1BQU0sVUFBVSwyQkFBMkIsQ0FBQyxzQkFBaUQ7O0lBQzNGLFlBQU8sTUFBTSxlQUFnQixTQUFRLGtCQUFrQjtZQWdDckQsWUFBbUIsU0FBa0MsRUFBRSxPQUFZLEVBQUUsSUFBUztnQkFDNUUsS0FBSyxDQUFDLFNBQVMsa0NBQ1YsT0FBTyxLQUNWLGNBQWMsRUFBRTt3Qk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1cbiJdfQ==
@@ -1,16 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class CustomTagsService {
4
- constructor() {
5
- this.tags = [];
6
- }
7
- addCustomTag(tag) {
8
- this.tags.push(tag);
9
- }
10
- }
11
- CustomTagsService.ɵfac = function CustomTagsService_Factory(t) { return new (t || CustomTagsService)(); };
12
- CustomTagsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CustomTagsService, factory: CustomTagsService.ɵfac });
13
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTagsService, [{
14
- type: Injectable
15
- }], null, null); })();
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLXRhZ3Muc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9jdXN0b20tY29tcG9uZW50L2N1c3RvbS10YWdzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFHM0MsTUFBTSxPQUFPLGlCQUFpQjtJQUQ5QjtRQUVFLFNBQUksR0FBYSxFQUFFLENBQUM7S0FLckI7SUFIQyxZQUFZLENBQUMsR0FBVztRQUN0QixJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUN0QixDQUFDOztrRkFMVSxpQkFBaUI7dUVBQWpCLGlCQUFpQixXQUFqQixpQkFBaUI7dUZBQWpCLGlCQUFpQjtjQUQ3QixVQUFVIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ASW5qZWN0YWJsZSgpXG5leHBvcnQgY2xhc3MgQ3VzdG9tVGFnc1NlcnZpY2Uge1xuICB0YWdzOiBzdHJpbmdbXSA9IFtdO1xuXG4gIGFkZEN1c3RvbVRhZyh0YWc6IHN0cmluZykge1xuICAgIHRoaXMudGFncy5wdXNoKHRhZyk7XG4gIH1cbn1cbiJdfQ==
@@ -1,14 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class FormioAppConfig {
4
- constructor() {
5
- this.appUrl = '';
6
- this.apiUrl = '';
7
- }
8
- }
9
- FormioAppConfig.ɵfac = function FormioAppConfig_Factory(t) { return new (t || FormioAppConfig)(); };
10
- FormioAppConfig.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: FormioAppConfig, factory: FormioAppConfig.ɵfac });
11
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioAppConfig, [{
12
- type: Injectable
13
- }], null, null); })();
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9mb3JtaW8uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRzNDLE1BQU0sT0FBTyxlQUFlO0lBRDVCO1FBRUUsV0FBTSxHQUFHLEVBQUUsQ0FBQztRQUNaLFdBQU0sR0FBRyxFQUFFLENBQUM7S0FHYjs7OEVBTFksZUFBZTtxRUFBZixlQUFlLFdBQWYsZUFBZTt1RkFBZixlQUFlO2NBRDNCLFVBQVUiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3RhYmxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKClcbmV4cG9ydCBjbGFzcyBGb3JtaW9BcHBDb25maWcge1xuICBhcHBVcmwgPSAnJztcbiAgYXBpVXJsID0gJyc7XG4gIGljb25zPzogc3RyaW5nO1xuICBmb3JtT25seT86IGJvb2xlYW47XG59XG4iXX0=
@@ -1,61 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormioComponent } from './components/formio/formio.component';
4
- import { FormBuilderComponent } from './components/formbuilder/formbuilder.component';
5
- import { FormioAlerts } from './components/alerts/formio.alerts';
6
- import { ParseHtmlContentPipe } from './components/alerts/parse-html-content.pipe';
7
- import { FormioAlertsComponent } from './components/alerts/formio.alerts.component';
8
- import { FormioLoaderComponent } from './components/loader/formio.loader.component';
9
- import { CustomTagsService } from './custom-component/custom-tags.service';
10
- import { FormioBaseComponent } from './FormioBaseComponent';
11
- import * as i0 from "@angular/core";
12
- export class FormioModule {
13
- }
14
- FormioModule.ɵfac = function FormioModule_Factory(t) { return new (t || FormioModule)(); };
15
- FormioModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioModule });
16
- FormioModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [
17
- FormioAlerts,
18
- CustomTagsService
19
- ], imports: [[
20
- CommonModule
21
- ]] });
22
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormioModule, [{
23
- type: NgModule,
24
- args: [{
25
- declarations: [
26
- FormioComponent,
27
- FormioBaseComponent,
28
- FormBuilderComponent,
29
- FormioLoaderComponent,
30
- FormioAlertsComponent,
31
- ParseHtmlContentPipe
32
- ],
33
- imports: [
34
- CommonModule
35
- ],
36
- exports: [
37
- FormioComponent,
38
- FormBuilderComponent,
39
- FormioLoaderComponent,
40
- FormioAlertsComponent
41
- ],
42
- providers: [
43
- FormioAlerts,
44
- CustomTagsService
45
- ],
46
- entryComponents: [
47
- FormioComponent,
48
- FormBuilderComponent
49
- ]
50
- }]
51
- }], null, null); })();
52
- (function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioModule, { declarations: [FormioComponent,
53
- FormioBaseComponent,
54
- FormBuilderComponent,
55
- FormioLoaderComponent,
56
- FormioAlertsComponent,
57
- ParseHtmlContentPipe], imports: [CommonModule], exports: [FormioComponent,
58
- FormBuilderComponent,
59
- FormioLoaderComponent,
60
- FormioAlertsComponent] }); })();
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9mb3JtaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDbkYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDcEYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDcEYsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sd0NBQXdDLENBQUM7QUFDM0UsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sdUJBQXVCLENBQU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pbGRlckNvbXBvbmVudCxcbiAgICBGb3JtaW9Mb2FkZXJDb21wb25lbnQsXG4gICAgRm9ybWlvQWxlcnRzQ29tcG9uZW50XG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIEZvcm1pb0FsZXJ0cyxcbiAgICBDdXN0b21UYWdzU2VydmljZVxuICBdLFxuICBlbnRyeUNvbXBvbmVudHM6IFtcbiAgICBGb3JtaW9Db21wb25lbnQsXG4gICAgRm9ybUJ1aWxkZXJDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9Nb2R1bGUge31cbiJdfQ==
@@ -1,86 +0,0 @@
1
- import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';
2
- import { each, clone } from 'lodash';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "./grid.service";
5
- export class GridBodyComponent {
6
- constructor(service) {
7
- this.service = service;
8
- this.firstItem = 0;
9
- this.lastItem = 0;
10
- this.skip = 0;
11
- this.limit = 0;
12
- this.total = 0;
13
- this.rowSelect = new EventEmitter();
14
- this.rowAction = new EventEmitter();
15
- this.loading = true;
16
- }
17
- load(formio, query) {
18
- return formio.loadForm(query);
19
- }
20
- onRowSelect(event, row) {
21
- event.preventDefault();
22
- this.rowSelect.emit(row);
23
- }
24
- onRowAction(event, row, action) {
25
- event.preventDefault();
26
- this.rowAction.emit({ row, action });
27
- }
28
- /**
29
- * Set the rows for this Grid body.
30
- *
31
- * @param query
32
- * @param items
33
- * @return any
34
- */
35
- setRows(query, items) {
36
- this.rows = [];
37
- if (typeof items !== 'object') {
38
- this.firstItem = 0;
39
- this.lastItem = 0;
40
- this.total = 0;
41
- this.skip = 0;
42
- this.loading = false;
43
- this.service.setRows(this.rows);
44
- return this.rows;
45
- }
46
- this.firstItem = query.skip + 1;
47
- this.lastItem = this.firstItem + items.length - 1;
48
- if (this.lastItem === 0) {
49
- this.firstItem = 0;
50
- }
51
- this.total = items.serverCount;
52
- this.limit = query.limit;
53
- this.skip = Math.floor(items.skip / query.limit) + 1;
54
- this.loading = false;
55
- each(items, (item) => {
56
- this.rows.push(clone(item));
57
- });
58
- this.service.setRows(this.rows);
59
- return this.rows;
60
- }
61
- }
62
- GridBodyComponent.ɵfac = function GridBodyComponent_Factory(t) { return new (t || GridBodyComponent)(i0.ɵɵdirectiveInject(i1.GridService)); };
63
- GridBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridBodyComponent, selectors: [["ng-component"]], viewQuery: function GridBodyComponent_Query(rf, ctx) { if (rf & 1) {
64
- i0.ɵɵviewQuery(TemplateRef, 7);
65
- } if (rf & 2) {
66
- let _t;
67
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
68
- } }, inputs: { header: "header", actionAllowed: "actionAllowed" }, outputs: { rowSelect: "rowSelect", rowAction: "rowAction" }, decls: 0, vars: 0, template: function GridBodyComponent_Template(rf, ctx) { }, encapsulation: 2 });
69
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridBodyComponent, [{
70
- type: Component,
71
- args: [{
72
- template: ''
73
- }]
74
- }], function () { return [{ type: i1.GridService }]; }, { header: [{
75
- type: Input
76
- }], actionAllowed: [{
77
- type: Input
78
- }], rowSelect: [{
79
- type: Output
80
- }], rowAction: [{
81
- type: Output
82
- }], template: [{
83
- type: ViewChild,
84
- args: [TemplateRef, { static: true }]
85
- }] }); })();
86
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEJvZHlDb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9HcmlkQm9keUNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFB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LnNlcnZlckNvdW50O1xuICAgIHRoaXMubGltaXQgPSBxdWVyeS5saW1pdDtcbiAgICB0aGlzLnNraXAgPSBNYXRoLmZsb29yKGl0ZW1zLnNraXAgLyBxdWVyeS5saW1pdCkgKyAxO1xuICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgIGVhY2goaXRlbXMsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgIHRoaXMucm93cy5wdXNoKGNsb25lKGl0ZW0pKTtcbiAgICB9KTtcbiAgICB0aGlzLnNlcnZpY2Uuc2V0Um93cyh0aGlzLnJvd3MpO1xuXG4gICAgcmV0dXJuIHRoaXMucm93cztcbiAgfVxufVxuIl19
@@ -1,41 +0,0 @@
1
- import { GridFooterPositions } from './types/grid-footer-positions';
2
- import { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';
3
- import * as i0 from "@angular/core";
4
- export class GridFooterComponent {
5
- constructor() {
6
- this.footerPositions = GridFooterPositions;
7
- this.pageChanged = new EventEmitter();
8
- this.createItem = new EventEmitter();
9
- }
10
- }
11
- GridFooterComponent.ɵfac = function GridFooterComponent_Factory(t) { return new (t || GridFooterComponent)(); };
12
- GridFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridFooterComponent, selectors: [["ng-component"]], viewQuery: function GridFooterComponent_Query(rf, ctx) { if (rf & 1) {
13
- i0.ɵɵviewQuery(TemplateRef, 7);
14
- } if (rf & 2) {
15
- let _t;
16
- i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
17
- } }, inputs: { header: "header", body: "body", createText: "createText", size: "size", actionAllowed: "actionAllowed" }, outputs: { pageChanged: "pageChanged", createItem: "createItem" }, decls: 0, vars: 0, template: function GridFooterComponent_Template(rf, ctx) { }, encapsulation: 2 });
18
- (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridFooterComponent, [{
19
- type: Component,
20
- args: [{
21
- template: ''
22
- }]
23
- }], function () { return []; }, { header: [{
24
- type: Input
25
- }], body: [{
26
- type: Input
27
- }], createText: [{
28
- type: Input
29
- }], size: [{
30
- type: Input
31
- }], actionAllowed: [{
32
- type: Input
33
- }], pageChanged: [{
34
- type: Output
35
- }], createItem: [{
36
- type: Output
37
- }], template: [{
38
- type: ViewChild,
39
- args: [TemplateRef, { static: true }]
40
- }] }); })();
41
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEZvb3RlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRGb290ZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDcEUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBWTlCO1FBRk8sb0JBQWUsR0FBRyxtQkFBbUIsQ0FBQztRQUczQyxJQUFJLENBQUMsV0FBVyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7UUFDdEMsSUFBSSxDQUFDLFVBQVUsR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0lBQ3ZDLENBQUM7O3NGQWZVLG1CQUFtQjtzRUFBbkIsbUJBQW1CO3VCQVFuQixXQUFXOzs7Ozt1RkFSWCxtQkFBbUI7Y0FIL0IsU0FBUztlQUFDO2dCQUNULFFBQVEsRUFBRSxFQUFFO2FBQ2I7c0NBRVUsTUFBTTtrQkFBZCxLQUFLO1lBQ0csSUFBSTtrQkFBWixLQUFLO1lBQ0csVUFBVT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