@formio/angular 5.2.0 → 5.2.1-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 (601) hide show
  1. package/.dockerignore +5 -0
  2. package/.editorconfig +13 -0
  3. package/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  4. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +15 -0
  5. package/.github/ISSUE_TEMPLATE/question.md +8 -0
  6. package/.travis.yml +4 -0
  7. package/.yo-rc.json +7 -0
  8. package/CHANGELOG.md +1004 -0
  9. package/Dockerfile +20 -0
  10. package/LICENSE +21 -0
  11. package/README.md +170 -13
  12. package/angular.json +51 -0
  13. package/bs-config.json +11 -0
  14. package/{FormioBaseComponent.d.ts → dist/angular-formio/FormioBaseComponent.d.ts} +4 -1
  15. package/dist/angular-formio/FormioBaseComponent.d.ts.map +1 -0
  16. package/dist/angular-formio/README.md +24 -0
  17. package/dist/angular-formio/auth/auth.component.d.ts +6 -0
  18. package/{auth → dist/angular-formio/auth}/auth.component.d.ts.map +1 -1
  19. package/{auth → dist/angular-formio/auth}/auth.config.d.ts +3 -0
  20. package/dist/angular-formio/auth/auth.config.d.ts.map +1 -0
  21. package/dist/angular-formio/auth/auth.module.d.ts +17 -0
  22. package/dist/angular-formio/auth/auth.module.d.ts.map +1 -0
  23. package/{auth → dist/angular-formio/auth}/auth.routes.d.ts +0 -0
  24. package/{auth → dist/angular-formio/auth}/auth.routes.d.ts.map +0 -0
  25. package/{auth → dist/angular-formio/auth}/auth.service.d.ts +3 -0
  26. package/dist/angular-formio/auth/auth.service.d.ts.map +1 -0
  27. package/dist/angular-formio/auth/formio-angular-auth.d.ts +6 -0
  28. package/{auth → dist/angular-formio/auth}/formio-angular-auth.d.ts.map +1 -1
  29. package/{auth → dist/angular-formio/auth}/index.d.ts +0 -0
  30. package/{auth → dist/angular-formio/auth}/index.d.ts.map +0 -0
  31. package/dist/angular-formio/auth/login/login.component.d.ts +9 -0
  32. package/{auth → dist/angular-formio/auth}/login/login.component.d.ts.map +1 -1
  33. package/{auth → dist/angular-formio/auth}/package.json +0 -1
  34. package/{auth → dist/angular-formio/auth}/public_api.d.ts +0 -0
  35. package/{auth → dist/angular-formio/auth}/public_api.d.ts.map +0 -0
  36. package/dist/angular-formio/auth/register/register.component.d.ts +9 -0
  37. package/{auth → dist/angular-formio/auth}/register/register.component.d.ts.map +1 -1
  38. package/dist/angular-formio/auth/resetpass/resetpass.component.d.ts +9 -0
  39. package/{auth → dist/angular-formio/auth}/resetpass/resetpass.component.d.ts.map +1 -1
  40. package/dist/angular-formio/bundles/formio-angular-auth.umd.js +421 -0
  41. package/dist/angular-formio/bundles/formio-angular-auth.umd.js.map +1 -0
  42. package/dist/angular-formio/bundles/formio-angular-grid.umd.js +1725 -0
  43. package/dist/angular-formio/bundles/formio-angular-grid.umd.js.map +1 -0
  44. package/dist/angular-formio/bundles/formio-angular-manager.umd.js +1648 -0
  45. package/dist/angular-formio/bundles/formio-angular-manager.umd.js.map +1 -0
  46. package/dist/angular-formio/bundles/formio-angular-resource.umd.js +720 -0
  47. package/dist/angular-formio/bundles/formio-angular-resource.umd.js.map +1 -0
  48. package/dist/angular-formio/bundles/formio-angular.umd.js +1729 -0
  49. package/dist/angular-formio/bundles/formio-angular.umd.js.map +1 -0
  50. package/dist/angular-formio/components/alerts/formio.alerts.component.d.ts +12 -0
  51. package/{components → dist/angular-formio/components}/alerts/formio.alerts.component.d.ts.map +1 -1
  52. package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts +0 -0
  53. package/{components → dist/angular-formio/components}/alerts/formio.alerts.d.ts.map +0 -0
  54. package/dist/angular-formio/components/alerts/parse-html-content.pipe.d.ts +8 -0
  55. package/{components → dist/angular-formio/components}/alerts/parse-html-content.pipe.d.ts.map +1 -1
  56. package/{components → dist/angular-formio/components}/formbuilder/formbuilder.component.d.ts +3 -0
  57. package/dist/angular-formio/components/formbuilder/formbuilder.component.d.ts.map +1 -0
  58. package/{components → dist/angular-formio/components}/formio/formio.component.d.ts +3 -0
  59. package/{components → dist/angular-formio/components}/formio/formio.component.d.ts.map +1 -1
  60. package/dist/angular-formio/components/loader/formio.loader.component.d.ts +7 -0
  61. package/dist/angular-formio/components/loader/formio.loader.component.d.ts.map +1 -0
  62. package/{core.d.ts → dist/angular-formio/core.d.ts} +0 -0
  63. package/{core.d.ts.map → dist/angular-formio/core.d.ts.map} +0 -0
  64. package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts +0 -0
  65. package/{custom-component → dist/angular-formio/custom-component}/create-custom-component.d.ts.map +0 -0
  66. package/dist/angular-formio/custom-component/custom-tags.service.d.ts +8 -0
  67. package/dist/angular-formio/custom-component/custom-tags.service.d.ts.map +1 -0
  68. package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts +0 -0
  69. package/{custom-component → dist/angular-formio/custom-component}/register-custom-component.d.ts.map +0 -0
  70. package/{elements.common.d.ts → dist/angular-formio/elements.common.d.ts} +0 -0
  71. package/{elements.common.d.ts.map → dist/angular-formio/elements.common.d.ts.map} +0 -0
  72. package/dist/angular-formio/esm2015/FormioBaseComponent.js +497 -0
  73. package/dist/angular-formio/esm2015/auth/auth.component.js +39 -0
  74. package/dist/angular-formio/esm2015/auth/auth.config.js +15 -0
  75. package/dist/angular-formio/esm2015/auth/auth.module.js +49 -0
  76. package/{esm2015 → dist/angular-formio/esm2015}/auth/auth.routes.js +0 -0
  77. package/dist/angular-formio/esm2015/auth/auth.service.js +159 -0
  78. package/{esm2015 → dist/angular-formio/esm2015}/auth/formio-angular-auth.js +0 -0
  79. package/{esm2015 → dist/angular-formio/esm2015}/auth/index.js +0 -0
  80. package/dist/angular-formio/esm2015/auth/login/login.component.js +24 -0
  81. package/{esm2015 → dist/angular-formio/esm2015}/auth/public_api.js +0 -0
  82. package/dist/angular-formio/esm2015/auth/register/register.component.js +24 -0
  83. package/dist/angular-formio/esm2015/auth/resetpass/resetpass.component.js +24 -0
  84. package/dist/angular-formio/esm2015/components/alerts/formio.alerts.component.js +49 -0
  85. package/{esm2015 → dist/angular-formio/esm2015}/components/alerts/formio.alerts.js +0 -0
  86. package/dist/angular-formio/esm2015/components/alerts/parse-html-content.pipe.js +19 -0
  87. package/dist/angular-formio/esm2015/components/formbuilder/formbuilder.component.js +203 -0
  88. package/dist/angular-formio/esm2015/components/formio/formio.component.js +87 -0
  89. package/dist/angular-formio/esm2015/components/loader/formio.loader.component.js +27 -0
  90. package/{esm2015 → dist/angular-formio/esm2015}/core.js +0 -0
  91. package/{esm2015 → dist/angular-formio/esm2015}/custom-component/create-custom-component.js +0 -0
  92. package/dist/angular-formio/esm2015/custom-component/custom-tags.service.js +16 -0
  93. package/{esm2015 → dist/angular-formio/esm2015}/custom-component/register-custom-component.js +0 -0
  94. package/{esm2015 → dist/angular-formio/esm2015}/elements.common.js +0 -0
  95. package/dist/angular-formio/esm2015/formio-angular.js +5 -0
  96. package/{esm2015 → dist/angular-formio/esm2015}/formio-promise.service.js +0 -0
  97. package/{esm2015 → dist/angular-formio/esm2015}/formio.common.js +0 -0
  98. package/dist/angular-formio/esm2015/formio.config.js +14 -0
  99. package/dist/angular-formio/esm2015/formio.module.js +61 -0
  100. package/{esm2015 → dist/angular-formio/esm2015}/formio.service.js +0 -0
  101. package/{esm2015 → dist/angular-formio/esm2015}/formio.utils.js +0 -0
  102. package/dist/angular-formio/esm2015/grid/GridBodyComponent.js +86 -0
  103. package/dist/angular-formio/esm2015/grid/GridFooterComponent.js +41 -0
  104. package/dist/angular-formio/esm2015/grid/GridHeaderComponent.js +35 -0
  105. package/dist/angular-formio/esm2015/grid/form/FormGridBody.component.js +130 -0
  106. package/dist/angular-formio/esm2015/grid/form/FormGridFooter.component.js +118 -0
  107. package/dist/angular-formio/esm2015/grid/form/FormGridHeader.component.js +65 -0
  108. package/{esm2015 → dist/angular-formio/esm2015}/grid/form/index.js +0 -0
  109. package/dist/angular-formio/esm2015/grid/form/time-since.pipe.js +37 -0
  110. package/dist/angular-formio/esm2015/grid/formio-angular-grid.js +5 -0
  111. package/dist/angular-formio/esm2015/grid/grid.component.js +302 -0
  112. package/dist/angular-formio/esm2015/grid/grid.module.js +90 -0
  113. package/dist/angular-formio/esm2015/grid/grid.service.js +18 -0
  114. package/{esm2015 → dist/angular-formio/esm2015}/grid/index.js +0 -0
  115. package/{esm2015 → dist/angular-formio/esm2015}/grid/public_api.js +0 -0
  116. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridBody.component.js +75 -0
  117. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridFooter.component.js +107 -0
  118. package/dist/angular-formio/esm2015/grid/submission/SubmissionGridHeader.component.js +99 -0
  119. package/{esm2015 → dist/angular-formio/esm2015}/grid/submission/index.js +0 -0
  120. package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-column.js +0 -0
  121. package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-footer-positions.js +0 -0
  122. package/{esm2015 → dist/angular-formio/esm2015}/grid/types/grid-header.js +0 -0
  123. package/{esm2015 → dist/angular-formio/esm2015}/index.js +0 -0
  124. package/dist/angular-formio/esm2015/manager/create/create.component.js +68 -0
  125. package/dist/angular-formio/esm2015/manager/delete/delete.component.js +56 -0
  126. package/dist/angular-formio/esm2015/manager/edit/edit.component.js +170 -0
  127. package/dist/angular-formio/esm2015/manager/form/form.component.js +192 -0
  128. package/dist/angular-formio/esm2015/manager/form-manager.config.js +15 -0
  129. package/dist/angular-formio/esm2015/manager/form-manager.module.js +86 -0
  130. package/{esm2015 → dist/angular-formio/esm2015}/manager/form-manager.routes.js +0 -0
  131. package/dist/angular-formio/esm2015/manager/form-manager.service.js +178 -0
  132. package/{esm2015 → dist/angular-formio/esm2015}/manager/formio-angular-manager.js +0 -0
  133. package/dist/angular-formio/esm2015/manager/index/index.component.js +130 -0
  134. package/{esm2015 → dist/angular-formio/esm2015}/manager/index.js +0 -0
  135. package/{esm2015 → dist/angular-formio/esm2015}/manager/public_api.js +0 -0
  136. package/dist/angular-formio/esm2015/manager/submission/delete/delete.component.js +47 -0
  137. package/dist/angular-formio/esm2015/manager/submission/edit/edit.component.js +30 -0
  138. package/dist/angular-formio/esm2015/manager/submission/index/index.component.js +30 -0
  139. package/dist/angular-formio/esm2015/manager/submission/submission/submission.component.js +75 -0
  140. package/dist/angular-formio/esm2015/manager/submission/view/view.component.js +24 -0
  141. package/dist/angular-formio/esm2015/manager/view/view.component.js +57 -0
  142. package/{esm2015 → dist/angular-formio/esm2015}/public-api.js +0 -0
  143. package/dist/angular-formio/esm2015/resource/create/create.component.js +61 -0
  144. package/dist/angular-formio/esm2015/resource/delete/delete.component.js +42 -0
  145. package/dist/angular-formio/esm2015/resource/edit/edit.component.js +44 -0
  146. package/{esm2015 → dist/angular-formio/esm2015}/resource/formio-angular-resource.js +0 -0
  147. package/dist/angular-formio/esm2015/resource/index/index.component.js +72 -0
  148. package/{esm2015 → dist/angular-formio/esm2015}/resource/index.js +0 -0
  149. package/{esm2015 → dist/angular-formio/esm2015}/resource/public_api.js +0 -0
  150. package/dist/angular-formio/esm2015/resource/resource.component.js +83 -0
  151. package/dist/angular-formio/esm2015/resource/resource.config.js +15 -0
  152. package/dist/angular-formio/esm2015/resource/resource.module.js +65 -0
  153. package/{esm2015 → dist/angular-formio/esm2015}/resource/resource.routes.js +0 -0
  154. package/dist/angular-formio/esm2015/resource/resource.service.js +186 -0
  155. package/dist/angular-formio/esm2015/resource/resources.service.js +22 -0
  156. package/dist/angular-formio/esm2015/resource/view/view.component.js +29 -0
  157. package/{esm2015 → dist/angular-formio/esm2015}/types/alerts-position.js +0 -0
  158. package/{esm2015 → dist/angular-formio/esm2015}/types/formio-metadata.js +0 -0
  159. package/{esm2015 → dist/angular-formio/esm2015}/types/formio-submission.js +0 -0
  160. package/{fesm2015 → dist/angular-formio/fesm2015}/formio-angular-auth.js +108 -45
  161. package/dist/angular-formio/fesm2015/formio-angular-auth.js.map +1 -0
  162. package/dist/angular-formio/fesm2015/formio-angular-grid.js +1175 -0
  163. package/dist/angular-formio/fesm2015/formio-angular-grid.js.map +1 -0
  164. package/dist/angular-formio/fesm2015/formio-angular-manager.js +1145 -0
  165. package/dist/angular-formio/fesm2015/formio-angular-manager.js.map +1 -0
  166. package/dist/angular-formio/fesm2015/formio-angular-resource.js +612 -0
  167. package/dist/angular-formio/fesm2015/formio-angular-resource.js.map +1 -0
  168. package/dist/angular-formio/fesm2015/formio-angular.js +1232 -0
  169. package/dist/angular-formio/fesm2015/formio-angular.js.map +1 -0
  170. package/dist/angular-formio/formio-angular.d.ts +6 -0
  171. package/dist/angular-formio/formio-angular.d.ts.map +1 -0
  172. package/{formio-promise.service.d.ts → dist/angular-formio/formio-promise.service.d.ts} +0 -0
  173. package/{formio-promise.service.d.ts.map → dist/angular-formio/formio-promise.service.d.ts.map} +0 -0
  174. package/{formio.common.d.ts → dist/angular-formio/formio.common.d.ts} +0 -0
  175. package/{formio.common.d.ts.map → dist/angular-formio/formio.common.d.ts.map} +0 -0
  176. package/dist/angular-formio/formio.config.d.ts +10 -0
  177. package/dist/angular-formio/formio.config.d.ts.map +1 -0
  178. package/dist/angular-formio/formio.module.d.ts +14 -0
  179. package/{formio.module.d.ts.map → dist/angular-formio/formio.module.d.ts.map} +1 -1
  180. package/{formio.service.d.ts → dist/angular-formio/formio.service.d.ts} +0 -0
  181. package/{formio.service.d.ts.map → dist/angular-formio/formio.service.d.ts.map} +0 -0
  182. package/{formio.utils.d.ts → dist/angular-formio/formio.utils.d.ts} +0 -0
  183. package/{formio.utils.d.ts.map → dist/angular-formio/formio.utils.d.ts.map} +0 -0
  184. package/{grid → dist/angular-formio/grid}/GridBodyComponent.d.ts +3 -0
  185. package/dist/angular-formio/grid/GridBodyComponent.d.ts.map +1 -0
  186. package/{grid → dist/angular-formio/grid}/GridFooterComponent.d.ts +3 -0
  187. package/dist/angular-formio/grid/GridFooterComponent.d.ts.map +1 -0
  188. package/{grid → dist/angular-formio/grid}/GridHeaderComponent.d.ts +3 -0
  189. package/dist/angular-formio/grid/GridHeaderComponent.d.ts.map +1 -0
  190. package/dist/angular-formio/grid/form/FormGridBody.component.d.ts +9 -0
  191. package/{grid → dist/angular-formio/grid}/form/FormGridBody.component.d.ts.map +1 -1
  192. package/dist/angular-formio/grid/form/FormGridFooter.component.d.ts +10 -0
  193. package/{grid → dist/angular-formio/grid}/form/FormGridFooter.component.d.ts.map +1 -1
  194. package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts +3 -0
  195. package/{grid → dist/angular-formio/grid}/form/FormGridHeader.component.d.ts.map +1 -1
  196. package/{grid → dist/angular-formio/grid}/form/index.d.ts +0 -0
  197. package/{grid → dist/angular-formio/grid}/form/index.d.ts.map +0 -0
  198. package/dist/angular-formio/grid/form/time-since.pipe.d.ts +8 -0
  199. package/{grid → dist/angular-formio/grid}/form/time-since.pipe.d.ts.map +1 -1
  200. package/dist/angular-formio/grid/formio-angular-grid.d.ts +6 -0
  201. package/{grid → dist/angular-formio/grid}/formio-angular-grid.d.ts.map +1 -1
  202. package/{grid → dist/angular-formio/grid}/grid.component.d.ts +3 -0
  203. package/dist/angular-formio/grid/grid.component.d.ts.map +1 -0
  204. package/dist/angular-formio/grid/grid.module.d.ts +23 -0
  205. package/{grid → dist/angular-formio/grid}/grid.module.d.ts.map +1 -1
  206. package/dist/angular-formio/grid/grid.service.d.ts +10 -0
  207. package/dist/angular-formio/grid/grid.service.d.ts.map +1 -0
  208. package/{grid → dist/angular-formio/grid}/index.d.ts +0 -0
  209. package/{grid → dist/angular-formio/grid}/index.d.ts.map +0 -0
  210. package/{grid → dist/angular-formio/grid}/package.json +0 -1
  211. package/{grid → dist/angular-formio/grid}/public_api.d.ts +0 -0
  212. package/{grid → dist/angular-formio/grid}/public_api.d.ts.map +0 -0
  213. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts +3 -0
  214. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridBody.component.d.ts.map +1 -1
  215. package/dist/angular-formio/grid/submission/SubmissionGridFooter.component.d.ts +10 -0
  216. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridFooter.component.d.ts.map +1 -1
  217. package/{grid → dist/angular-formio/grid}/submission/SubmissionGridHeader.component.d.ts +3 -0
  218. package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  219. package/{grid → dist/angular-formio/grid}/submission/index.d.ts +0 -0
  220. package/{grid → dist/angular-formio/grid}/submission/index.d.ts.map +0 -0
  221. package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts +0 -0
  222. package/{grid → dist/angular-formio/grid}/types/grid-column.d.ts.map +0 -0
  223. package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts +0 -0
  224. package/{grid → dist/angular-formio/grid}/types/grid-footer-positions.d.ts.map +0 -0
  225. package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts +0 -0
  226. package/{grid → dist/angular-formio/grid}/types/grid-header.d.ts.map +0 -0
  227. package/{index.d.ts → dist/angular-formio/index.d.ts} +0 -0
  228. package/{index.d.ts.map → dist/angular-formio/index.d.ts.map} +0 -0
  229. package/dist/angular-formio/manager/create/create.component.d.ts +9 -0
  230. package/{manager → dist/angular-formio/manager}/create/create.component.d.ts.map +1 -1
  231. package/{manager → dist/angular-formio/manager}/delete/delete.component.d.ts +3 -0
  232. package/dist/angular-formio/manager/delete/delete.component.d.ts.map +1 -0
  233. package/{manager → dist/angular-formio/manager}/edit/edit.component.d.ts +3 -0
  234. package/dist/angular-formio/manager/edit/edit.component.d.ts.map +1 -0
  235. package/{manager → dist/angular-formio/manager}/form/form.component.d.ts +3 -0
  236. package/dist/angular-formio/manager/form/form.component.d.ts.map +1 -0
  237. package/{manager → dist/angular-formio/manager}/form-manager.config.d.ts +3 -0
  238. package/dist/angular-formio/manager/form-manager.config.d.ts.map +1 -0
  239. package/dist/angular-formio/manager/form-manager.module.d.ts +28 -0
  240. package/dist/angular-formio/manager/form-manager.module.d.ts.map +1 -0
  241. package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts +0 -0
  242. package/{manager → dist/angular-formio/manager}/form-manager.routes.d.ts.map +0 -0
  243. package/{manager → dist/angular-formio/manager}/form-manager.service.d.ts +3 -0
  244. package/dist/angular-formio/manager/form-manager.service.d.ts.map +1 -0
  245. package/dist/angular-formio/manager/formio-angular-manager.d.ts +6 -0
  246. package/{manager → dist/angular-formio/manager}/formio-angular-manager.d.ts.map +1 -1
  247. package/{manager → dist/angular-formio/manager}/index/index.component.d.ts +3 -0
  248. package/dist/angular-formio/manager/index/index.component.d.ts.map +1 -0
  249. package/{manager → dist/angular-formio/manager}/index.d.ts +0 -0
  250. package/{manager → dist/angular-formio/manager}/index.d.ts.map +0 -0
  251. package/{manager → dist/angular-formio/manager}/package.json +0 -1
  252. package/{manager → dist/angular-formio/manager}/public_api.d.ts +0 -0
  253. package/{manager → dist/angular-formio/manager}/public_api.d.ts.map +0 -0
  254. package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts +3 -0
  255. package/{manager → dist/angular-formio/manager}/submission/delete/delete.component.d.ts.map +1 -1
  256. package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts +3 -0
  257. package/{manager → dist/angular-formio/manager}/submission/edit/edit.component.d.ts.map +1 -1
  258. package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts +3 -0
  259. package/{manager → dist/angular-formio/manager}/submission/index/index.component.d.ts.map +1 -1
  260. package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts +3 -0
  261. package/{manager → dist/angular-formio/manager}/submission/submission/submission.component.d.ts.map +1 -1
  262. package/dist/angular-formio/manager/submission/view/view.component.d.ts +9 -0
  263. package/{manager → dist/angular-formio/manager}/submission/view/view.component.d.ts.map +1 -1
  264. package/{manager → dist/angular-formio/manager}/view/view.component.d.ts +3 -0
  265. package/dist/angular-formio/manager/view/view.component.d.ts.map +1 -0
  266. package/dist/angular-formio/package.json +49 -0
  267. package/{public-api.d.ts → dist/angular-formio/public-api.d.ts} +0 -0
  268. package/{public-api.d.ts.map → dist/angular-formio/public-api.d.ts.map} +0 -0
  269. package/{resource → dist/angular-formio/resource}/create/create.component.d.ts +3 -0
  270. package/dist/angular-formio/resource/create/create.component.d.ts.map +1 -0
  271. package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts +3 -0
  272. package/{resource → dist/angular-formio/resource}/delete/delete.component.d.ts.map +1 -1
  273. package/{resource → dist/angular-formio/resource}/edit/edit.component.d.ts +3 -0
  274. package/dist/angular-formio/resource/edit/edit.component.d.ts.map +1 -0
  275. package/dist/angular-formio/resource/formio-angular-resource.d.ts +6 -0
  276. package/{resource → dist/angular-formio/resource}/formio-angular-resource.d.ts.map +1 -1
  277. package/{resource → dist/angular-formio/resource}/index/index.component.d.ts +3 -0
  278. package/dist/angular-formio/resource/index/index.component.d.ts.map +1 -0
  279. package/{resource → dist/angular-formio/resource}/index.d.ts +0 -0
  280. package/{resource → dist/angular-formio/resource}/index.d.ts.map +0 -0
  281. package/{resource → dist/angular-formio/resource}/package.json +0 -1
  282. package/{resource → dist/angular-formio/resource}/public_api.d.ts +0 -0
  283. package/{resource → dist/angular-formio/resource}/public_api.d.ts.map +0 -0
  284. package/{resource → dist/angular-formio/resource}/resource.component.d.ts +3 -0
  285. package/{resource → dist/angular-formio/resource}/resource.component.d.ts.map +1 -1
  286. package/{resource → dist/angular-formio/resource}/resource.config.d.ts +3 -0
  287. package/dist/angular-formio/resource/resource.config.d.ts.map +1 -0
  288. package/dist/angular-formio/resource/resource.module.d.ts +20 -0
  289. package/dist/angular-formio/resource/resource.module.d.ts.map +1 -0
  290. package/{resource → dist/angular-formio/resource}/resource.routes.d.ts +0 -0
  291. package/{resource → dist/angular-formio/resource}/resource.routes.d.ts.map +0 -0
  292. package/{resource → dist/angular-formio/resource}/resource.service.d.ts +3 -0
  293. package/dist/angular-formio/resource/resource.service.d.ts.map +1 -0
  294. package/{resource → dist/angular-formio/resource}/resources.service.d.ts +3 -0
  295. package/dist/angular-formio/resource/resources.service.d.ts.map +1 -0
  296. package/{resource → dist/angular-formio/resource}/view/view.component.d.ts +3 -0
  297. package/{resource → dist/angular-formio/resource}/view/view.component.d.ts.map +1 -1
  298. package/{types → dist/angular-formio/types}/alerts-position.d.ts +0 -0
  299. package/{types → dist/angular-formio/types}/alerts-position.d.ts.map +0 -0
  300. package/{types → dist/angular-formio/types}/formio-metadata.d.ts +0 -0
  301. package/{types → dist/angular-formio/types}/formio-metadata.d.ts.map +0 -0
  302. package/{types → dist/angular-formio/types}/formio-submission.d.ts +0 -0
  303. package/{types → dist/angular-formio/types}/formio-submission.d.ts.map +0 -0
  304. package/package.json +51 -27
  305. package/projects/angular-formio/README.md +24 -0
  306. package/projects/angular-formio/auth/package.json +10 -0
  307. package/projects/angular-formio/auth/src/auth.component.html +12 -0
  308. package/projects/angular-formio/auth/src/auth.component.ts +5 -0
  309. package/projects/angular-formio/auth/src/auth.config.ts +72 -0
  310. package/projects/angular-formio/auth/src/auth.module.ts +33 -0
  311. package/projects/angular-formio/auth/src/auth.routes.ts +34 -0
  312. package/projects/angular-formio/auth/src/auth.service.ts +201 -0
  313. package/projects/angular-formio/auth/src/index.ts +8 -0
  314. package/projects/angular-formio/auth/src/login/login.component.html +1 -0
  315. package/projects/angular-formio/auth/src/login/login.component.ts +8 -0
  316. package/projects/angular-formio/auth/src/public_api.ts +5 -0
  317. package/projects/angular-formio/auth/src/register/register.component.html +1 -0
  318. package/projects/angular-formio/auth/src/register/register.component.ts +8 -0
  319. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +1 -0
  320. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +8 -0
  321. package/projects/angular-formio/grid/package.json +11 -0
  322. package/projects/angular-formio/grid/src/GridBodyComponent.ts +80 -0
  323. package/projects/angular-formio/grid/src/GridFooterComponent.ts +25 -0
  324. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +25 -0
  325. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +23 -0
  326. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +4 -0
  327. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +15 -0
  328. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +21 -0
  329. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +23 -0
  330. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +18 -0
  331. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +24 -0
  332. package/projects/angular-formio/grid/src/form/index.ts +8 -0
  333. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +31 -0
  334. package/projects/angular-formio/grid/src/grid.component.html +18 -0
  335. package/projects/angular-formio/grid/src/grid.component.scss +9 -0
  336. package/projects/angular-formio/grid/src/grid.component.ts +242 -0
  337. package/projects/angular-formio/grid/src/grid.footer.scss +14 -0
  338. package/projects/angular-formio/grid/src/grid.module.ts +57 -0
  339. package/projects/angular-formio/grid/src/grid.service.ts +16 -0
  340. package/projects/angular-formio/grid/src/index.ts +12 -0
  341. package/projects/angular-formio/grid/src/public_api.ts +5 -0
  342. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +7 -0
  343. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +39 -0
  344. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +18 -0
  345. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +20 -0
  346. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +11 -0
  347. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +72 -0
  348. package/projects/angular-formio/grid/src/submission/index.ts +8 -0
  349. package/projects/angular-formio/grid/src/types/grid-column.ts +7 -0
  350. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +5 -0
  351. package/projects/angular-formio/grid/src/types/grid-header.ts +14 -0
  352. package/projects/angular-formio/karma.conf.js +32 -0
  353. package/projects/angular-formio/manager/package.json +15 -0
  354. package/projects/angular-formio/manager/src/create/create.component.ts +11 -0
  355. package/projects/angular-formio/manager/src/delete/delete.component.html +6 -0
  356. package/projects/angular-formio/manager/src/delete/delete.component.ts +37 -0
  357. package/projects/angular-formio/manager/src/edit/edit.component.html +19 -0
  358. package/projects/angular-formio/manager/src/edit/edit.component.ts +107 -0
  359. package/projects/angular-formio/manager/src/form/form.component.html +32 -0
  360. package/projects/angular-formio/manager/src/form/form.component.ts +73 -0
  361. package/projects/angular-formio/manager/src/form-manager.config.ts +26 -0
  362. package/projects/angular-formio/manager/src/form-manager.module.ts +54 -0
  363. package/projects/angular-formio/manager/src/form-manager.routes.ts +75 -0
  364. package/projects/angular-formio/manager/src/form-manager.service.ts +195 -0
  365. package/projects/angular-formio/manager/src/index/index.component.html +14 -0
  366. package/projects/angular-formio/manager/src/index/index.component.scss +22 -0
  367. package/projects/angular-formio/manager/src/index/index.component.ts +84 -0
  368. package/projects/angular-formio/manager/src/index.ts +16 -0
  369. package/projects/angular-formio/manager/src/public_api.ts +5 -0
  370. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +6 -0
  371. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +26 -0
  372. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +7 -0
  373. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +18 -0
  374. package/projects/angular-formio/manager/src/submission/index/index.component.html +1 -0
  375. package/projects/angular-formio/manager/src/submission/index/index.component.ts +18 -0
  376. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +8 -0
  377. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +24 -0
  378. package/projects/angular-formio/manager/src/submission/view/view.component.html +7 -0
  379. package/projects/angular-formio/manager/src/submission/view/view.component.ts +9 -0
  380. package/projects/angular-formio/manager/src/view/view.component.html +10 -0
  381. package/projects/angular-formio/manager/src/view/view.component.ts +41 -0
  382. package/projects/angular-formio/ng-package.json +14 -0
  383. package/projects/angular-formio/package.json +39 -0
  384. package/projects/angular-formio/resource/package.json +11 -0
  385. package/projects/angular-formio/resource/src/create/create.component.html +13 -0
  386. package/projects/angular-formio/resource/src/create/create.component.scss +3 -0
  387. package/projects/angular-formio/resource/src/create/create.component.ts +37 -0
  388. package/projects/angular-formio/resource/src/delete/delete.component.html +5 -0
  389. package/projects/angular-formio/resource/src/delete/delete.component.ts +24 -0
  390. package/projects/angular-formio/resource/src/edit/edit.component.html +6 -0
  391. package/projects/angular-formio/resource/src/edit/edit.component.ts +33 -0
  392. package/projects/angular-formio/resource/src/index/index.component.html +10 -0
  393. package/projects/angular-formio/resource/src/index/index.component.ts +66 -0
  394. package/projects/angular-formio/resource/src/index.js +24 -0
  395. package/projects/angular-formio/resource/src/index.ts +11 -0
  396. package/projects/angular-formio/resource/src/public_api.ts +5 -0
  397. package/projects/angular-formio/resource/src/resource.component.html +7 -0
  398. package/projects/angular-formio/resource/src/resource.component.ts +48 -0
  399. package/projects/angular-formio/resource/src/resource.config.ts +17 -0
  400. package/projects/angular-formio/resource/src/resource.module.ts +43 -0
  401. package/projects/angular-formio/resource/src/resource.routes.ts +43 -0
  402. package/projects/angular-formio/resource/src/resource.service.ts +232 -0
  403. package/projects/angular-formio/resource/src/resources.service.ts +24 -0
  404. package/projects/angular-formio/resource/src/view/view.component.html +6 -0
  405. package/projects/angular-formio/resource/src/view/view.component.ts +19 -0
  406. package/projects/angular-formio/src/FormioBaseComponent.ts +507 -0
  407. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +3 -0
  408. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +19 -0
  409. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +21 -0
  410. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +15 -0
  411. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +1 -0
  412. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +216 -0
  413. package/projects/angular-formio/src/components/formio/formio.component.html +8 -0
  414. package/projects/angular-formio/src/components/formio/formio.component.ts +33 -0
  415. package/projects/angular-formio/src/components/loader/formio.loader.component.html +3 -0
  416. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +26 -0
  417. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +10 -0
  418. package/projects/angular-formio/src/core.ts +21 -0
  419. package/projects/angular-formio/src/custom-component/create-custom-component.ts +173 -0
  420. package/projects/angular-formio/src/custom-component/custom-tags.service.ts +10 -0
  421. package/projects/angular-formio/src/custom-component/register-custom-component.ts +41 -0
  422. package/projects/angular-formio/src/elements.common.ts +31 -0
  423. package/projects/angular-formio/src/formio-promise.service.ts +36 -0
  424. package/projects/angular-formio/src/formio.common.ts +81 -0
  425. package/projects/angular-formio/src/formio.config.ts +9 -0
  426. package/projects/angular-formio/src/formio.module.ts +39 -0
  427. package/projects/angular-formio/src/formio.service.ts +57 -0
  428. package/projects/angular-formio/src/formio.utils.ts +23 -0
  429. package/projects/angular-formio/src/index.ts +5 -0
  430. package/projects/angular-formio/src/public-api.ts +5 -0
  431. package/projects/angular-formio/src/test.ts +26 -0
  432. package/projects/angular-formio/src/types/alerts-position.ts +6 -0
  433. package/projects/angular-formio/src/types/formio-metadata.ts +10 -0
  434. package/projects/angular-formio/src/types/formio-submission.ts +20 -0
  435. package/projects/angular-formio/tsconfig.lib.json +27 -0
  436. package/projects/angular-formio/tsconfig.lib.prod.json +8 -0
  437. package/projects/angular-formio/tsconfig.spec.json +17 -0
  438. package/projects/angular-formio/tslint.json +17 -0
  439. package/tsconfig.json +28 -0
  440. package/tslint.json +140 -0
  441. package/FormioBaseComponent.d.ts.map +0 -1
  442. package/FormioBaseComponent.ngfactory.d.ts.map +0 -1
  443. package/auth/auth.component.d.ts +0 -3
  444. package/auth/auth.config.d.ts.map +0 -1
  445. package/auth/auth.module.d.ts +0 -6
  446. package/auth/auth.module.d.ts.map +0 -1
  447. package/auth/auth.service.d.ts.map +0 -1
  448. package/auth/formio-angular-auth.d.ts +0 -5
  449. package/auth/formio-angular-auth.metadata.json +0 -1
  450. package/auth/login/login.component.d.ts +0 -6
  451. package/auth/register/register.component.d.ts +0 -6
  452. package/auth/resetpass/resetpass.component.d.ts +0 -6
  453. package/bundles/formio-angular-auth.umd.js +0 -312
  454. package/bundles/formio-angular-auth.umd.js.map +0 -1
  455. package/bundles/formio-angular-grid.umd.js +0 -1010
  456. package/bundles/formio-angular-grid.umd.js.map +0 -1
  457. package/bundles/formio-angular-manager.umd.js +0 -1122
  458. package/bundles/formio-angular-manager.umd.js.map +0 -1
  459. package/bundles/formio-angular-resource.umd.js +0 -556
  460. package/bundles/formio-angular-resource.umd.js.map +0 -1
  461. package/bundles/formio-angular.umd.js +0 -1497
  462. package/bundles/formio-angular.umd.js.map +0 -1
  463. package/components/alerts/formio.alerts.component.d.ts +0 -9
  464. package/components/alerts/formio.alerts.component.ngfactory.d.ts.map +0 -1
  465. package/components/alerts/parse-html-content.pipe.d.ts +0 -5
  466. package/components/alerts/parse-html-content.pipe.ngfactory.d.ts.map +0 -1
  467. package/components/formbuilder/formbuilder.component.d.ts.map +0 -1
  468. package/components/formbuilder/formbuilder.component.ngfactory.d.ts.map +0 -1
  469. package/components/formio/formio.component.ngfactory.d.ts.map +0 -1
  470. package/components/loader/formio.loader.component.d.ts +0 -4
  471. package/components/loader/formio.loader.component.d.ts.map +0 -1
  472. package/components/loader/formio.loader.component.ngfactory.d.ts.map +0 -1
  473. package/components/loader/formio.loader.component.scss.shim.ngstyle.d.ts.map +0 -1
  474. package/custom-component/custom-tags.service.d.ts +0 -5
  475. package/custom-component/custom-tags.service.d.ts.map +0 -1
  476. package/custom-component/custom-tags.service.ngfactory.d.ts.map +0 -1
  477. package/esm2015/FormioBaseComponent.js +0 -456
  478. package/esm2015/auth/auth.component.js +0 -9
  479. package/esm2015/auth/auth.config.js +0 -12
  480. package/esm2015/auth/auth.module.js +0 -34
  481. package/esm2015/auth/auth.service.js +0 -160
  482. package/esm2015/auth/login/login.component.js +0 -16
  483. package/esm2015/auth/register/register.component.js +0 -16
  484. package/esm2015/auth/resetpass/resetpass.component.js +0 -16
  485. package/esm2015/components/alerts/formio.alerts.component.js +0 -26
  486. package/esm2015/components/alerts/parse-html-content.pipe.js +0 -15
  487. package/esm2015/components/formbuilder/formbuilder.component.js +0 -185
  488. package/esm2015/components/formio/formio.component.js +0 -39
  489. package/esm2015/components/loader/formio.loader.component.js +0 -14
  490. package/esm2015/custom-component/custom-tags.service.js +0 -13
  491. package/esm2015/formio-angular.js +0 -7
  492. package/esm2015/formio.config.js +0 -11
  493. package/esm2015/formio.module.js +0 -42
  494. package/esm2015/grid/GridBodyComponent.js +0 -76
  495. package/esm2015/grid/GridFooterComponent.js +0 -26
  496. package/esm2015/grid/GridHeaderComponent.js +0 -25
  497. package/esm2015/grid/form/FormGridBody.component.js +0 -16
  498. package/esm2015/grid/form/FormGridFooter.component.js +0 -24
  499. package/esm2015/grid/form/FormGridHeader.component.js +0 -24
  500. package/esm2015/grid/form/time-since.pipe.js +0 -33
  501. package/esm2015/grid/formio-angular-grid.js +0 -6
  502. package/esm2015/grid/grid.component.js +0 -211
  503. package/esm2015/grid/grid.module.js +0 -61
  504. package/esm2015/grid/grid.service.js +0 -16
  505. package/esm2015/grid/submission/SubmissionGridBody.component.js +0 -40
  506. package/esm2015/grid/submission/SubmissionGridFooter.component.js +0 -21
  507. package/esm2015/grid/submission/SubmissionGridHeader.component.js +0 -58
  508. package/esm2015/manager/create/create.component.js +0 -13
  509. package/esm2015/manager/delete/delete.component.js +0 -42
  510. package/esm2015/manager/edit/edit.component.js +0 -109
  511. package/esm2015/manager/form/form.component.js +0 -73
  512. package/esm2015/manager/form-manager.config.js +0 -12
  513. package/esm2015/manager/form-manager.module.js +0 -56
  514. package/esm2015/manager/form-manager.service.js +0 -180
  515. package/esm2015/manager/index/index.component.js +0 -86
  516. package/esm2015/manager/submission/delete/delete.component.js +0 -32
  517. package/esm2015/manager/submission/edit/edit.component.js +0 -24
  518. package/esm2015/manager/submission/index/index.component.js +0 -24
  519. package/esm2015/manager/submission/submission/submission.component.js +0 -27
  520. package/esm2015/manager/submission/view/view.component.js +0 -16
  521. package/esm2015/manager/view/view.component.js +0 -45
  522. package/esm2015/resource/create/create.component.js +0 -40
  523. package/esm2015/resource/delete/delete.component.js +0 -29
  524. package/esm2015/resource/edit/edit.component.js +0 -39
  525. package/esm2015/resource/index/index.component.js +0 -65
  526. package/esm2015/resource/resource.component.js +0 -48
  527. package/esm2015/resource/resource.config.js +0 -12
  528. package/esm2015/resource/resource.module.js +0 -44
  529. package/esm2015/resource/resource.service.js +0 -187
  530. package/esm2015/resource/resources.service.js +0 -22
  531. package/esm2015/resource/view/view.component.js +0 -24
  532. package/fesm2015/formio-angular-auth.js.map +0 -1
  533. package/fesm2015/formio-angular-grid.js +0 -624
  534. package/fesm2015/formio-angular-grid.js.map +0 -1
  535. package/fesm2015/formio-angular-manager.js +0 -750
  536. package/fesm2015/formio-angular-manager.js.map +0 -1
  537. package/fesm2015/formio-angular-resource.js +0 -515
  538. package/fesm2015/formio-angular-resource.js.map +0 -1
  539. package/fesm2015/formio-angular.js +0 -1073
  540. package/fesm2015/formio-angular.js.map +0 -1
  541. package/formio-angular.d.ts +0 -7
  542. package/formio-angular.d.ts.map +0 -1
  543. package/formio-angular.metadata.json +0 -1
  544. package/formio.config.d.ts +0 -7
  545. package/formio.config.d.ts.map +0 -1
  546. package/formio.config.ngfactory.d.ts.map +0 -1
  547. package/formio.module.d.ts +0 -3
  548. package/formio.module.ngfactory.d.ts.map +0 -1
  549. package/grid/GridBodyComponent.d.ts.map +0 -1
  550. package/grid/GridBodyComponent.ngfactory.d.ts.map +0 -1
  551. package/grid/GridFooterComponent.d.ts.map +0 -1
  552. package/grid/GridFooterComponent.ngfactory.d.ts.map +0 -1
  553. package/grid/GridHeaderComponent.d.ts.map +0 -1
  554. package/grid/GridHeaderComponent.ngfactory.d.ts.map +0 -1
  555. package/grid/form/FormGridBody.component.d.ts +0 -6
  556. package/grid/form/FormGridBody.component.ngfactory.d.ts.map +0 -1
  557. package/grid/form/FormGridBody.component.scss.shim.ngstyle.d.ts.map +0 -1
  558. package/grid/form/FormGridFooter.component.d.ts +0 -7
  559. package/grid/form/FormGridFooter.component.ngfactory.d.ts.map +0 -1
  560. package/grid/form/FormGridHeader.component.ngfactory.d.ts.map +0 -1
  561. package/grid/form/time-since.pipe.d.ts +0 -5
  562. package/grid/form/time-since.pipe.ngfactory.d.ts.map +0 -1
  563. package/grid/formio-angular-grid.d.ts +0 -6
  564. package/grid/formio-angular-grid.metadata.json +0 -1
  565. package/grid/grid.component.d.ts.map +0 -1
  566. package/grid/grid.component.ngfactory.d.ts.map +0 -1
  567. package/grid/grid.component.scss.shim.ngstyle.d.ts.map +0 -1
  568. package/grid/grid.footer.scss.ngstyle.d.ts.map +0 -1
  569. package/grid/grid.module.d.ts +0 -3
  570. package/grid/grid.module.ngfactory.d.ts.map +0 -1
  571. package/grid/grid.service.d.ts +0 -7
  572. package/grid/grid.service.d.ts.map +0 -1
  573. package/grid/grid.service.ngfactory.d.ts.map +0 -1
  574. package/grid/submission/SubmissionGridBody.component.ngfactory.d.ts.map +0 -1
  575. package/grid/submission/SubmissionGridFooter.component.d.ts +0 -7
  576. package/grid/submission/SubmissionGridFooter.component.ngfactory.d.ts.map +0 -1
  577. package/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
  578. package/grid/submission/SubmissionGridHeader.component.ngfactory.d.ts.map +0 -1
  579. package/manager/create/create.component.d.ts +0 -6
  580. package/manager/delete/delete.component.d.ts.map +0 -1
  581. package/manager/edit/edit.component.d.ts.map +0 -1
  582. package/manager/form/form.component.d.ts.map +0 -1
  583. package/manager/form-manager.config.d.ts.map +0 -1
  584. package/manager/form-manager.module.d.ts +0 -6
  585. package/manager/form-manager.module.d.ts.map +0 -1
  586. package/manager/form-manager.service.d.ts.map +0 -1
  587. package/manager/formio-angular-manager.d.ts +0 -5
  588. package/manager/formio-angular-manager.metadata.json +0 -1
  589. package/manager/index/index.component.d.ts.map +0 -1
  590. package/manager/submission/view/view.component.d.ts +0 -6
  591. package/manager/view/view.component.d.ts.map +0 -1
  592. package/resource/create/create.component.d.ts.map +0 -1
  593. package/resource/edit/edit.component.d.ts.map +0 -1
  594. package/resource/formio-angular-resource.d.ts +0 -5
  595. package/resource/formio-angular-resource.metadata.json +0 -1
  596. package/resource/index/index.component.d.ts.map +0 -1
  597. package/resource/resource.config.d.ts.map +0 -1
  598. package/resource/resource.module.d.ts +0 -6
  599. package/resource/resource.module.d.ts.map +0 -1
  600. package/resource/resource.service.d.ts.map +0 -1
  601. package/resource/resources.service.d.ts.map +0 -1
@@ -0,0 +1,61 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybWlvLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL3NyYy9mb3JtaW8ubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxzQ0FBc0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFDakUsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDbkYsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkNBQTZDLENBQUM7QUFDc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WxlcnRzQ29tcG9uZW50LFxuICAgIFBhcnNlSHRtbENvbnRlbnRQaXBlXG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGVcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIEZvcm1pb0NvbXBvbmVudCxcbiAgICBGb3JtQnVpbGRlckNvbXBvbmVudCxcbiAgICBGb3JtaW9Mb2FkZXJDb21wb25lbnQsXG4gICAgRm9ybWlvQWxlcnRzQ29tcG9uZW50XG4gIF0sXG4gIHByb3ZpZGVyczogW1xuICAgIEZvcm1pb0FsZXJ0cyxcbiAgICBDdXN0b21UYWdzU2VydmljZVxuICBdLFxuICBlbnRyeUNvbXBvbmVudHM6IFtcbiAgICBGb3JtaW9Db21wb25lbnQsXG4gICAgRm9ybUJ1aWxkZXJDb21wb25lbnRcbiAgXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtaW9Nb2R1bGUge31cbiJdfQ==
@@ -0,0 +1,86 @@
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/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ucm93cztcbiAgICB9XG5cbiAgICB0aGlzLmZpcnN0SXRlbSA9IHF1ZXJ5LnNraXAgKyAxO1xuICAgIHRoaXMubGFzdEl0ZW0gPSB0aGlzLmZpcnN0SXRlbSArIGl0ZW1zLmxlbmd0aCAtIDE7XG4gICAgaWYgKHRoaXMubGFzdEl0ZW0gPT09IDApIHtcbiAgICAgIHRoaXMuZmlyc3RJdGVtID0gMDtcbiAgICB9XG4gICAgdGhpcy50b3RhbCA9IGl0ZW1zLnNlcnZlckNvdW50O1xuICAgIHRoaXMubGltaXQgPSBxdWVyeS5saW1pdDtcbiAgICB0aGlzLnNraXAgPSBNYXRoLmZsb29yKGl0ZW1zLnNraXAgLyBxdWVyeS5saW1pdCkgKyAxO1xuICAgIHRoaXMubG9hZGluZyA9IGZhbHNlO1xuICAgIGVhY2goaXRlbXMsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgIHRoaXMucm93cy5wdXNoKGNsb25lKGl0ZW0pKTtcbiAgICB9KTtcbiAgICB0aGlzLnNlcnZpY2Uuc2V0Um93cyh0aGlzLnJvd3MpO1xuXG4gICAgcmV0dXJuIHRoaXMucm93cztcbiAgfVxufVxuIl19
@@ -0,0 +1,41 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEZvb3RlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRGb290ZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sK0JBQStCLENBQUM7QUFDcEUsT0FBTyxFQUFFLEtBQUssRUFBRSxNQUFNLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBWTlCO1FBRk8sb0JBQWUsR0FBRyxtQkFBbUIsQ0FBQztRQUczQyxJQUFJLENBQUMsV0FBVyxHQUFHLElBQUksWU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29tcG9uZW50O1xuICBASW5wdXQoKSBib2R5OiBHcmlkQm9keUNvbXBvbmVudDtcbiAgQElucHV0KCkgY3JlYXRlVGV4dDogU3RyaW5nO1xuICBASW5wdXQoKSBzaXplOiBudW1iZXI7XG4gIEBJbnB1dCgpIGFjdGlvbkFsbG93ZWQ6IGFueTtcbiAgQE91dHB1dCgpIHBhZ2VDaGFuZ2VkOiBFdmVudEVtaXR0ZXI8YW55PjtcbiAgQE91dHB1dCgpIGNyZWF0ZUl0ZW06IEV2ZW50RW1pdHRlcjxhbnk+O1xuICBAVmlld0NoaWxkKFRlbXBsYXRlUmVmLCB7c3RhdGljOiB0cnVlfSkgdGVtcGxhdGU6IFRlbXBsYXRlUmVmPGFueT47XG5cbiAgcHVibGljIGZvb3RlclBvc2l0aW9ucyA9IEdyaWRGb290ZXJQb3NpdGlvbnM7XG5cbiAgY29uc3RydWN0b3IoKSB7XG4gICAgdGhpcy5wYWdlQ2hhbmdlZCA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbiAgICB0aGlzLmNyZWF0ZUl0ZW0gPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cbn1cbiJdfQ==
@@ -0,0 +1,35 @@
1
+ import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class GridHeaderComponent {
4
+ constructor() {
5
+ this.headers = [];
6
+ this.sort = new EventEmitter();
7
+ }
8
+ get numHeaders() {
9
+ return this.headers.length;
10
+ }
11
+ load(formio, query, columns) {
12
+ return Promise.resolve([]);
13
+ }
14
+ }
15
+ GridHeaderComponent.ɵfac = function GridHeaderComponent_Factory(t) { return new (t || GridHeaderComponent)(); };
16
+ GridHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridHeaderComponent, selectors: [["ng-component"]], viewQuery: function GridHeaderComponent_Query(rf, ctx) { if (rf & 1) {
17
+ i0.ɵɵviewQuery(TemplateRef, 7);
18
+ } if (rf & 2) {
19
+ let _t;
20
+ i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);
21
+ } }, inputs: { actionAllowed: "actionAllowed" }, outputs: { sort: "sort" }, decls: 0, vars: 0, template: function GridHeaderComponent_Template(rf, ctx) { }, encapsulation: 2 });
22
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GridHeaderComponent, [{
23
+ type: Component,
24
+ args: [{
25
+ template: ''
26
+ }]
27
+ }], function () { return []; }, { actionAllowed: [{
28
+ type: Input
29
+ }], sort: [{
30
+ type: Output
31
+ }], template: [{
32
+ type: ViewChild,
33
+ args: [TemplateRef, { static: true }]
34
+ }] }); })();
35
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR3JpZEhlYWRlckNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL0dyaWRIZWFkZXJDb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRixNQUFNLE9BQU8sbUJBQW1CO0lBSzlCO1FBQ0UsSUFBSSxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUM7UUFDbEIsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDO0lBQ2pDLENBQUM7SUFFRCxJQUFJLFVBQVU7UUFDWixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDO0lBQzdCLENBQUM7SUFFRCxJQUFJLENBQUMsTUFBNEIsRUFBRSxLQUFXLEVBQUUsT0FBb0I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AgICB0aGlzLnNvcnQgPSBuZXcgRXZlbnRFbWl0dGVyKCk7XG4gIH1cblxuICBnZXQgbnVtSGVhZGVycygpIHtcbiAgICByZXR1cm4gdGhpcy5oZWFkZXJzLmxlbmd0aDtcbiAgfVxuXG4gIGxvYWQoZm9ybWlvOiBGb3JtaW9Qcm9taXNlU2VydmljZSwgcXVlcnk/OiBhbnksIGNvbHVtbnM/OiBBcnJheTxhbnk+KTogUHJvbWlzZTxhbnk+IHtcbiAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKFtdKTtcbiAgfVxufVxuIl19
@@ -0,0 +1,130 @@
1
+ import { Component } from '@angular/core';
2
+ import { GridBodyComponent } from '../GridBodyComponent';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "@angular/router";
6
+ import * as i3 from "./time-since.pipe";
7
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template(rf, ctx) { if (rf & 1) {
8
+ const _r11 = i0.ɵɵgetCurrentView();
9
+ i0.ɵɵelementStart(0, "button", 10);
10
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r11); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r9 = i0.ɵɵnextContext(3); return ctx_r9.onRowAction($event, form_r3, "view"); });
11
+ i0.ɵɵelement(1, "span", 11);
12
+ i0.ɵɵtext(2, " Enter Data");
13
+ i0.ɵɵelementEnd();
14
+ } }
15
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template(rf, ctx) { if (rf & 1) {
16
+ const _r14 = i0.ɵɵgetCurrentView();
17
+ i0.ɵɵelementStart(0, "button", 12);
18
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r14); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r12 = i0.ɵɵnextContext(3); return ctx_r12.onRowAction($event, form_r3, "submission"); });
19
+ i0.ɵɵelement(1, "span", 13);
20
+ i0.ɵɵtext(2, " View Data");
21
+ i0.ɵɵelementEnd();
22
+ } }
23
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template(rf, ctx) { if (rf & 1) {
24
+ const _r17 = i0.ɵɵgetCurrentView();
25
+ i0.ɵɵelementStart(0, "button", 12);
26
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r17); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r15 = i0.ɵɵnextContext(3); return ctx_r15.onRowAction($event, form_r3, "edit"); });
27
+ i0.ɵɵelement(1, "span", 14);
28
+ i0.ɵɵtext(2, " Edit Form");
29
+ i0.ɵɵelementEnd();
30
+ } }
31
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template(rf, ctx) { if (rf & 1) {
32
+ const _r20 = i0.ɵɵgetCurrentView();
33
+ i0.ɵɵelementStart(0, "button", 12);
34
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r20); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r18 = i0.ɵɵnextContext(3); return ctx_r18.onRowAction($event, form_r3, "permissions"); });
35
+ i0.ɵɵelement(1, "span", 15);
36
+ i0.ɵɵtext(2, " Permissions");
37
+ i0.ɵɵelementEnd();
38
+ } }
39
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template(rf, ctx) { if (rf & 1) {
40
+ const _r23 = i0.ɵɵgetCurrentView();
41
+ i0.ɵɵelementStart(0, "button", 16);
42
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r23); const form_r3 = i0.ɵɵnextContext().$implicit; const ctx_r21 = i0.ɵɵnextContext(3); return ctx_r21.onRowAction($event, form_r3, "delete"); });
43
+ i0.ɵɵelement(1, "span", 17);
44
+ i0.ɵɵelementEnd();
45
+ } }
46
+ function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template(rf, ctx) { if (rf & 1) {
47
+ const _r25 = i0.ɵɵgetCurrentView();
48
+ i0.ɵɵelementStart(0, "tr");
49
+ i0.ɵɵelementStart(1, "td");
50
+ i0.ɵɵelementStart(2, "div", 2);
51
+ i0.ɵɵelementStart(3, "div", 3);
52
+ i0.ɵɵelementStart(4, "a", 4);
53
+ i0.ɵɵlistener("click", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template_a_click_4_listener($event) { const restoredCtx = i0.ɵɵrestoreView(_r25); const form_r3 = restoredCtx.$implicit; const ctx_r24 = i0.ɵɵnextContext(3); return ctx_r24.onRowSelect($event, form_r3); });
54
+ i0.ɵɵelementStart(5, "h5");
55
+ i0.ɵɵtext(6);
56
+ i0.ɵɵelementEnd();
57
+ i0.ɵɵelementEnd();
58
+ i0.ɵɵelementStart(7, "div", 5);
59
+ i0.ɵɵtext(8);
60
+ i0.ɵɵpipe(9, "timeSince");
61
+ i0.ɵɵelementEnd();
62
+ i0.ɵɵelementEnd();
63
+ i0.ɵɵelementStart(10, "div", 6);
64
+ i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, "button", 7);
65
+ i0.ɵɵtext(12, "\u00A0 ");
66
+ i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, "button", 8);
67
+ i0.ɵɵtext(14, "\u00A0 ");
68
+ i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, "button", 8);
69
+ i0.ɵɵtext(16, "\u00A0 ");
70
+ i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, "button", 8);
71
+ i0.ɵɵtext(18, "\u00A0 ");
72
+ i0.ɵɵtemplate(19, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_19_Template, 2, 0, "button", 9);
73
+ i0.ɵɵelementEnd();
74
+ i0.ɵɵelementEnd();
75
+ i0.ɵɵelementEnd();
76
+ i0.ɵɵelementEnd();
77
+ } if (rf & 2) {
78
+ const form_r3 = ctx.$implicit;
79
+ const ctx_r2 = i0.ɵɵnextContext(3);
80
+ i0.ɵɵadvance(4);
81
+ i0.ɵɵpropertyInterpolate1("routerLink", "", form_r3._id, "/view");
82
+ i0.ɵɵadvance(2);
83
+ i0.ɵɵtextInterpolate(form_r3.title);
84
+ i0.ɵɵadvance(2);
85
+ i0.ɵɵtextInterpolate1(" Updated ", i0.ɵɵpipeBind1(9, 8, form_r3.modified), " ago ");
86
+ i0.ɵɵadvance(3);
87
+ i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formView"));
88
+ i0.ɵɵadvance(2);
89
+ i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formSubmission"));
90
+ i0.ɵɵadvance(2);
91
+ i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formEdit"));
92
+ i0.ɵɵadvance(2);
93
+ i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formPermission"));
94
+ i0.ɵɵadvance(2);
95
+ i0.ɵɵproperty("ngIf", ctx_r2.actionAllowed("formDelete"));
96
+ } }
97
+ function FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {
98
+ i0.ɵɵelementStart(0, "tbody");
99
+ i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 20, 10, "tr", 1);
100
+ i0.ɵɵelementEnd();
101
+ } if (rf & 2) {
102
+ const ctx_r1 = i0.ɵɵnextContext(2);
103
+ i0.ɵɵadvance(1);
104
+ i0.ɵɵproperty("ngForOf", ctx_r1.rows);
105
+ } }
106
+ function FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
107
+ i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, "tbody", 0);
108
+ } if (rf & 2) {
109
+ const ctx_r0 = i0.ɵɵnextContext();
110
+ i0.ɵɵproperty("ngIf", ctx_r0.rows);
111
+ } }
112
+ export class FormGridBodyComponent extends GridBodyComponent {
113
+ load(formio, query) {
114
+ query = query || {};
115
+ return formio.loadForms({ params: query }).then((forms) => this.setRows(query, forms));
116
+ }
117
+ }
118
+ FormGridBodyComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; }();
119
+ FormGridBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridBodyComponent, selectors: [["form-grid-body"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[4, "ngIf"], [4, "ngFor", "ngForOf"], [1, "row"], [1, "col-sm-8"], [3, "routerLink", "click"], [1, "form-updated", "small", "text-muted"], [1, "col-sm-4"], ["class", "btn btn-outline-secondary btn-sm form-btn form-btn-use", 3, "click", 4, "ngIf"], ["class", "btn btn-outline-secondary btn-sm form-btn", 3, "click", 4, "ngIf"], ["class", "btn btn-danger btn-sm form-btn form-btn-delete", "title", "Delete form", 3, "click", 4, "ngIf"], [1, "btn", "btn-outline-secondary", "btn-sm", "form-btn", "form-btn-use", 3, "click"], [1, "fa", "fa-pencil"], [1, "btn", "btn-outline-secondary", "btn-sm", "form-btn", 3, "click"], [1, "fa", "fa-list-alt"], [1, "fa", "fa-edit"], [1, "fa", "fa-lock"], ["title", "Delete form", 1, "btn", "btn-danger", "btn-sm", "form-btn", "form-btn-delete", 3, "click"], [1, "fa", "fa-trash"]], template: function FormGridBodyComponent_Template(rf, ctx) { if (rf & 1) {
120
+ i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, "ng-template");
121
+ } }, directives: [i1.NgIf, i1.NgForOf, i2.RouterLinkWithHref], pipes: [i3.TimeSince], styles: [".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}"] });
122
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{
123
+ type: Component,
124
+ args: [{
125
+ selector: 'form-grid-body',
126
+ styleUrls: ['./FormGridBody.component.scss'],
127
+ templateUrl: './FormGridBody.component.html'
128
+ }]
129
+ }], null, null); })();
130
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItZm9ybWlvL2dyaWQvc3JjL2Zvcm0vRm9ybUdyaWRCb2R5LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sc0JBQXNCLENBQUM7Ozs7Ozs7SUNXN0Msa0NBQXFKO0lBQTVDLDJSQUFtQyxNQUFNLEtBQUU7SUFBQywyQkFBa0M7SUFBQywyQkFBVTtJQUFBLGlCQUFTOzs7O0lBQzNNLGtDQUFvSjtJQUFsRCw2UkFBbUMsWUFBWSxLQUFFO0lBQUMsMkJBQW9DO0lBQUMsMEJBQVM7SUFBQSxpQkFBU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NzaW9uczwvYnV0dG9uPiZuYnNwO1xuICAgICAgICAgICAgPGJ1dHRvbiAqbmdJZj1cImFjdGlvbkFsbG93ZWQoJ2Zvcm1EZWxldGUnKVwiIGNsYXNzPVwiYnRuIGJ0bi1kYW5nZXIgYnRuLXNtIGZvcm0tYnRuIGZvcm0tYnRuLWRlbGV0ZVwiIChjbGljayk9XCJvblJvd0FjdGlvbigkZXZlbnQsIGZvcm0sICdkZWxldGUnKVwiIHRpdGxlPVwiRGVsZXRlIGZvcm1cIj48c3BhbiBjbGFzcz1cImZhIGZhLXRyYXNoXCI+PC9zcGFuPjwvYnV0dG9uPlxuICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICAgIDwvdGQ+XG4gICAgPC90cj5cbiAgPC90Ym9keT5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
@@ -0,0 +1,118 @@
1
+ import { Component, ViewEncapsulation } from '@angular/core';
2
+ import { GridFooterComponent } from '../GridFooterComponent';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "ngx-bootstrap/pagination";
6
+ import * as i3 from "@angular/forms";
7
+ const _c0 = function (a0) { return { label: a0 }; };
8
+ function FormGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {
9
+ i0.ɵɵelementStart(0, "thead", 3);
10
+ i0.ɵɵelementContainer(1, 4);
11
+ i0.ɵɵelementEnd();
12
+ } if (rf & 2) {
13
+ const label_r5 = i0.ɵɵnextContext().label;
14
+ i0.ɵɵnextContext();
15
+ const _r2 = i0.ɵɵreference(3);
16
+ i0.ɵɵadvance(1);
17
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r5));
18
+ } }
19
+ function FormGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {
20
+ i0.ɵɵelementStart(0, "tfoot", 3);
21
+ i0.ɵɵelementContainer(1, 4);
22
+ i0.ɵɵelementEnd();
23
+ } if (rf & 2) {
24
+ const label_r5 = i0.ɵɵnextContext().label;
25
+ i0.ɵɵnextContext();
26
+ const _r2 = i0.ɵɵreference(3);
27
+ i0.ɵɵadvance(1);
28
+ i0.ɵɵproperty("ngTemplateOutlet", _r2)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c0, label_r5));
29
+ } }
30
+ function FormGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
31
+ i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_thead_0_Template, 2, 4, "thead", 2);
32
+ i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 4, "tfoot", 2);
33
+ } if (rf & 2) {
34
+ const position_r4 = ctx.position;
35
+ const ctx_r1 = i0.ɵɵnextContext();
36
+ i0.ɵɵproperty("ngIf", position_r4 === ctx_r1.footerPositions.top);
37
+ i0.ɵɵadvance(1);
38
+ i0.ɵɵproperty("ngIf", position_r4 === ctx_r1.footerPositions.bottom);
39
+ } }
40
+ function FormGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {
41
+ const _r14 = i0.ɵɵgetCurrentView();
42
+ i0.ɵɵelementStart(0, "button", 12);
43
+ i0.ɵɵlistener("click", function FormGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r14); const ctx_r13 = i0.ɵɵnextContext(3); return ctx_r13.createItem.emit("form"); });
44
+ i0.ɵɵelement(1, "i", 13);
45
+ i0.ɵɵtext(2);
46
+ i0.ɵɵelementEnd();
47
+ } if (rf & 2) {
48
+ const ctx_r12 = i0.ɵɵnextContext(3);
49
+ i0.ɵɵadvance(2);
50
+ i0.ɵɵtextInterpolate1(" ", ctx_r12.createText, "");
51
+ } }
52
+ function FormGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {
53
+ const _r16 = i0.ɵɵgetCurrentView();
54
+ i0.ɵɵelementStart(0, "td", 6);
55
+ i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, "button", 7);
56
+ i0.ɵɵelementStart(2, "span", 8);
57
+ i0.ɵɵelementStart(3, "span", 9);
58
+ i0.ɵɵtext(4);
59
+ i0.ɵɵelementEnd();
60
+ i0.ɵɵtext(5);
61
+ i0.ɵɵelementEnd();
62
+ i0.ɵɵelementStart(6, "span", 10);
63
+ i0.ɵɵelementStart(7, "pagination", 11);
64
+ i0.ɵɵlistener("ngModelChange", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r15 = i0.ɵɵnextContext(2); return ctx_r15.body.skip = $event; })("pageChanged", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_7_listener($event) { i0.ɵɵrestoreView(_r16); const ctx_r17 = i0.ɵɵnextContext(2); return ctx_r17.pageChanged.emit($event); });
65
+ i0.ɵɵelementEnd();
66
+ i0.ɵɵelementEnd();
67
+ i0.ɵɵelementEnd();
68
+ } if (rf & 2) {
69
+ const label_r10 = i0.ɵɵnextContext().label;
70
+ const ctx_r11 = i0.ɵɵnextContext();
71
+ i0.ɵɵproperty("colSpan", ctx_r11.header.numHeaders);
72
+ i0.ɵɵadvance(1);
73
+ i0.ɵɵproperty("ngIf", ctx_r11.actionAllowed("formCreate"));
74
+ i0.ɵɵadvance(3);
75
+ i0.ɵɵtextInterpolate2("", ctx_r11.body.firstItem, " - ", ctx_r11.body.lastItem, "");
76
+ i0.ɵɵadvance(1);
77
+ i0.ɵɵtextInterpolate1(" / ", ctx_r11.body.total, " total");
78
+ i0.ɵɵadvance(1);
79
+ i0.ɵɵattribute("aria-label", label_r10);
80
+ i0.ɵɵadvance(1);
81
+ i0.ɵɵproperty("totalItems", ctx_r11.body.total)("itemsPerPage", ctx_r11.body.limit)("ngModel", ctx_r11.body.skip)("maxSize", ctx_r11.size);
82
+ } }
83
+ function FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
84
+ i0.ɵɵelementStart(0, "tr");
85
+ i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, "td", 5);
86
+ i0.ɵɵelementEnd();
87
+ } if (rf & 2) {
88
+ const ctx_r3 = i0.ɵɵnextContext();
89
+ i0.ɵɵadvance(1);
90
+ i0.ɵɵproperty("ngIf", ctx_r3.header);
91
+ } }
92
+ export class FormGridFooterComponent extends GridFooterComponent {
93
+ constructor() {
94
+ super();
95
+ }
96
+ ngOnInit() {
97
+ if (!this.createText) {
98
+ this.createText = 'Create Form';
99
+ }
100
+ if (!this.size) {
101
+ this.size = 7;
102
+ }
103
+ }
104
+ }
105
+ FormGridFooterComponent.ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };
106
+ FormGridFooterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridFooterComponent, selectors: [["ng-component"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 4, vars: 0, consts: [["footer", ""], ["defaultFooterTemplate", ""], ["class", "formio-grid-footer", 4, "ngIf"], [1, "formio-grid-footer"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [3, "colSpan", 4, "ngIf"], [3, "colSpan"], ["class", "btn btn-primary form-btn-use pull-left float-left", 3, "click", 4, "ngIf"], [1, "pull-right", "float-right", "item-counter"], [1, "page-num"], ["role", "navigation"], [1, "justify-content-center", "pagination-sm", 3, "totalItems", "itemsPerPage", "ngModel", "maxSize", "ngModelChange", "pageChanged"], [1, "btn", "btn-primary", "form-btn-use", "pull-left", "float-left", 3, "click"], [1, "glyphicon", "glyphicon-plus", "fa", "fa-plus"]], template: function FormGridFooterComponent_Template(rf, ctx) { if (rf & 1) {
107
+ i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor);
108
+ i0.ɵɵtemplate(2, FormGridFooterComponent_ng_template_2_Template, 2, 1, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
109
+ } }, directives: [i1.NgIf, i1.NgTemplateOutlet, i2.PaginationComponent, i3.NgControlStatus, i3.NgModel], styles: ["tfoot.formio-grid-footer td{padding:.3rem}tfoot.formio-grid-footer .page-num{font-size:1.4em}tfoot.formio-grid-footer ul.pagination{margin-top:5px;margin-bottom:0}\n"], encapsulation: 2 });
110
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{
111
+ type: Component,
112
+ args: [{
113
+ templateUrl: './FormGridFooter.component.html',
114
+ styleUrls: ['../grid.footer.scss'],
115
+ encapsulation: ViewEncapsulation.None
116
+ }]
117
+ }], function () { return []; }, null); })();
118
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRGb290ZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEZvb3Rlci5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9hbmd1bGFyLWZvcm1pby9ncmlkL3NyYy9mb3JtL0Zvcm1HcmlkRm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxTQUFTLEVBQUUsaUJBQWlCLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDcEUsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sd0JBQXdCLENBQUM7Ozs7Ozs7SUNBM0QsZ0NBQTJFO0lBQ3pFLDJCQUFxSDtJQUN2SCxpQkFBUTs7Ozs7SUFEUSxlQUEwQztJQUExQyxzQ0FBMEMsaUVBQUE7OztJQUUxRCxnQ0FBOE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idG4tcHJpbWFyeSBmb3JtLWJ0bi11c2UgcHVsbC1sZWZ0IGZsb2F0LWxlZnRcIiAoY2xpY2spPVwiY3JlYXRlSXRlbS5lbWl0KCdmb3JtJylcIj48aSBjbGFzcz1cImdseXBoaWNvbiBnbHlwaGljb24tcGx1cyBmYSBmYS1wbHVzXCI+PC9pPiB7eyBjcmVhdGVUZXh0IH19PC9idXR0b24+XG4gICAgICA8c3BhbiBjbGFzcz1cInB1bGwtcmlnaHQgZmxvYXQtcmlnaHQgaXRlbS1jb3VudGVyXCI+PHNwYW4gY2xhc3M9XCJwYWdlLW51bVwiPnt7IGJvZHkuZmlyc3RJdGVtIH19IC0ge3sgYm9keS5sYXN0SXRlbSB9fTwvc3Bhbj4gLyB7eyBib2R5LnRvdGFsIH19IHRvdGFsPC9zcGFuPlxuICAgICAgPHNwYW4gW2F0dHIuYXJpYS1sYWJlbF09XCJsYWJlbFwiIHJvbGU9XCJuYXZpZ2F0aW9uXCI+XG4gICAgICAgIDxwYWdpbmF0aW9uIFt0b3RhbEl0ZW1zXT1cImJvZHkudG90YWxcIiBbaXRlbXNQZXJQYWdlXT1cImJvZHkubGltaXRcIiBbKG5nTW9kZWwpXT1cImJvZHkuc2tpcFwiIChwYWdlQ2hhbmdlZCk9XCJwYWdlQ2hhbmdlZC5lbWl0KCRldmVudClcIiBbbWF4U2l6ZV09XCJzaXplXCIgY2xhc3M9XCJqdXN0aWZ5LWNvbnRlbnQtY2VudGVyIHBhZ2luYXRpb24tc21cIj5cbiAgICAgICAgPC9wYWdpbmF0aW9uPlxuICAgICAgPC9zcGFuPlxuICAgIDwvdGQ+XG4gIDwvdHI+XG48L25nLXRlbXBsYXRlPlxuIl19
@@ -0,0 +1,65 @@
1
+ import { Component } from '@angular/core';
2
+ import { GridHeaderComponent } from '../GridHeaderComponent';
3
+ import { SortType } from '../types/grid-header';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/common";
6
+ const _c0 = function (a0, a1) { return { "glyphicon-triangle-top fa-caret-up": a0, "glyphicon-triangle-bottom fa-caret-down": a1 }; };
7
+ function FormGridHeaderComponent_ng_template_0_span_7_Template(rf, ctx) { if (rf & 1) {
8
+ i0.ɵɵelement(0, "span", 5);
9
+ } if (rf & 2) {
10
+ const ctx_r1 = i0.ɵɵnextContext(2);
11
+ i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c0, ctx_r1.header.sort === "asc", ctx_r1.header.sort === "desc"));
12
+ } }
13
+ function FormGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {
14
+ const _r3 = i0.ɵɵgetCurrentView();
15
+ i0.ɵɵelementStart(0, "thead");
16
+ i0.ɵɵelementStart(1, "tr");
17
+ i0.ɵɵelementStart(2, "th");
18
+ i0.ɵɵelementStart(3, "div", 0);
19
+ i0.ɵɵelementStart(4, "div", 1);
20
+ i0.ɵɵelementStart(5, "a", 2);
21
+ i0.ɵɵlistener("click", function FormGridHeaderComponent_ng_template_0_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r3); const ctx_r2 = i0.ɵɵnextContext(); return ctx_r2.sort.emit(ctx_r2.header); });
22
+ i0.ɵɵtext(6);
23
+ i0.ɵɵtemplate(7, FormGridHeaderComponent_ng_template_0_span_7_Template, 1, 4, "span", 3);
24
+ i0.ɵɵelementEnd();
25
+ i0.ɵɵelementEnd();
26
+ i0.ɵɵelementStart(8, "div", 4);
27
+ i0.ɵɵtext(9, " Operations ");
28
+ i0.ɵɵelementEnd();
29
+ i0.ɵɵelementEnd();
30
+ i0.ɵɵelementEnd();
31
+ i0.ɵɵelementEnd();
32
+ i0.ɵɵelementEnd();
33
+ } if (rf & 2) {
34
+ const ctx_r0 = i0.ɵɵnextContext();
35
+ i0.ɵɵadvance(6);
36
+ i0.ɵɵtextInterpolate1(" ", ctx_r0.header.label, "\u00A0");
37
+ i0.ɵɵadvance(1);
38
+ i0.ɵɵproperty("ngIf", ctx_r0.header.sort);
39
+ } }
40
+ export class FormGridHeaderComponent extends GridHeaderComponent {
41
+ load(formio) {
42
+ this.header = {
43
+ label: 'Title',
44
+ key: 'title',
45
+ sort: SortType.ASC
46
+ };
47
+ this.headers = [this.header];
48
+ return Promise.resolve(this.headers);
49
+ }
50
+ get numHeaders() {
51
+ return 2;
52
+ }
53
+ }
54
+ FormGridHeaderComponent.ɵfac = /*@__PURE__*/ function () { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; }();
55
+ FormGridHeaderComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridHeaderComponent, selectors: [["form-grid-header"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[1, "row"], [1, "col-sm-8"], [3, "click"], ["class", "glyphicon fa", 3, "ngClass", 4, "ngIf"], [1, "col-sm-4"], [1, "glyphicon", "fa", 3, "ngClass"]], template: function FormGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {
56
+ i0.ɵɵtemplate(0, FormGridHeaderComponent_ng_template_0_Template, 10, 2, "ng-template");
57
+ } }, directives: [i1.NgIf, i1.NgClass], encapsulation: 2 });
58
+ (function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{
59
+ type: Component,
60
+ args: [{
61
+ selector: 'form-grid-header',
62
+ templateUrl: './FormGridHeader.component.html'
63
+ }]
64
+ }], null, null); })();
65
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRm9ybUdyaWRIZWFkZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1mb3JtaW8vZ3JpZC9zcmMvZm9ybS9Gb3JtR3JpZEhlYWR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