@formio/angular 6.0.1 → 6.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (547) hide show
  1. package/{dist/angular-formio/FormioBaseComponent.d.ts → FormioBaseComponent.d.ts} +1 -1
  2. package/{dist/angular-formio/FormioBaseComponent.d.ts.map → FormioBaseComponent.d.ts.map} +1 -1
  3. package/README.md +13 -182
  4. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts +1 -1
  5. package/{dist/angular-formio/components → components}/formbuilder/formbuilder.component.d.ts.map +1 -1
  6. package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts +0 -1
  7. package/{dist/angular-formio/components → components}/formioreport/formioreport.component.d.ts.map +1 -1
  8. package/{dist/angular-formio/core.d.ts → core.d.ts} +1 -3
  9. package/{dist/angular-formio/core.d.ts.map → core.d.ts.map} +1 -1
  10. package/esm2022/FormioBaseComponent.mjs +584 -0
  11. package/esm2022/auth/auth.component.mjs +13 -0
  12. package/esm2022/auth/auth.config.mjs +22 -0
  13. package/esm2022/auth/auth.module.mjs +47 -0
  14. package/esm2022/auth/auth.service.mjs +200 -0
  15. package/esm2022/auth/login/login.component.mjs +21 -0
  16. package/esm2022/auth/register/register.component.mjs +21 -0
  17. package/esm2022/auth/resetpass/resetpass.component.mjs +18 -0
  18. package/esm2022/components/alerts/formio.alerts.component.mjs +29 -0
  19. package/esm2022/components/alerts/parse-html-content.pipe.mjs +20 -0
  20. package/esm2022/components/formbuilder/formbuilder.component.mjs +202 -0
  21. package/esm2022/components/formio/formio.component.mjs +43 -0
  22. package/esm2022/components/formioreport/formioreport.component.mjs +86 -0
  23. package/esm2022/components/loader/formio.loader.component.mjs +16 -0
  24. package/esm2022/core.mjs +18 -0
  25. package/esm2022/custom-tags.service.mjs +15 -0
  26. package/esm2022/formio.common.mjs +11 -0
  27. package/esm2022/formio.config.mjs +30 -0
  28. package/esm2022/formio.module.mjs +60 -0
  29. package/esm2022/formio.service.mjs +62 -0
  30. package/esm2022/formio.utils.mjs +21 -0
  31. package/esm2022/grid/GridBodyComponent.mjs +90 -0
  32. package/esm2022/grid/GridFooterComponent.mjs +45 -0
  33. package/esm2022/grid/GridHeaderComponent.mjs +35 -0
  34. package/esm2022/grid/form/FormGridBody.component.mjs +64 -0
  35. package/esm2022/grid/form/FormGridFooter.component.mjs +27 -0
  36. package/esm2022/grid/form/FormGridHeader.component.mjs +28 -0
  37. package/esm2022/grid/form/time-since.pipe.mjs +38 -0
  38. package/esm2022/grid/grid.component.mjs +258 -0
  39. package/esm2022/grid/grid.module.mjs +80 -0
  40. package/esm2022/grid/grid.service.mjs +19 -0
  41. package/esm2022/grid/submission/SubmissionGridBody.component.mjs +44 -0
  42. package/esm2022/grid/submission/SubmissionGridFooter.component.mjs +24 -0
  43. package/esm2022/grid/submission/SubmissionGridHeader.component.mjs +64 -0
  44. package/esm2022/manager/create/create.component.mjs +19 -0
  45. package/esm2022/manager/delete/delete.component.mjs +43 -0
  46. package/esm2022/manager/edit/edit.component.mjs +126 -0
  47. package/esm2022/manager/form/form.component.mjs +81 -0
  48. package/esm2022/manager/form-manager.config.mjs +19 -0
  49. package/esm2022/manager/form-manager.module.mjs +84 -0
  50. package/esm2022/manager/form-manager.service.mjs +186 -0
  51. package/esm2022/manager/index/index.component.mjs +109 -0
  52. package/esm2022/manager/submission/delete/delete.component.mjs +33 -0
  53. package/esm2022/manager/submission/edit/edit.component.mjs +26 -0
  54. package/esm2022/manager/submission/index/index.component.mjs +26 -0
  55. package/esm2022/manager/submission/submission/submission.component.mjs +30 -0
  56. package/esm2022/manager/submission/view/view.component.mjs +18 -0
  57. package/esm2022/manager/view/view.component.mjs +53 -0
  58. package/esm2022/resource/create/create.component.mjs +44 -0
  59. package/esm2022/resource/delete/delete.component.mjs +30 -0
  60. package/esm2022/resource/edit/edit.component.mjs +43 -0
  61. package/esm2022/resource/index/index.component.mjs +70 -0
  62. package/esm2022/resource/resource.component.mjs +47 -0
  63. package/esm2022/resource/resource.config.mjs +14 -0
  64. package/esm2022/resource/resource.module.mjs +63 -0
  65. package/esm2022/resource/resource.service.mjs +230 -0
  66. package/esm2022/resource/resources.service.mjs +26 -0
  67. package/esm2022/resource/view/view.component.mjs +26 -0
  68. package/{dist/angular-formio/fesm2022 → fesm2022}/formio-angular-auth.mjs +59 -92
  69. package/fesm2022/formio-angular-auth.mjs.map +1 -0
  70. package/fesm2022/formio-angular-grid.mjs +771 -0
  71. package/fesm2022/formio-angular-grid.mjs.map +1 -0
  72. package/fesm2022/formio-angular-manager.mjs +822 -0
  73. package/fesm2022/formio-angular-manager.mjs.map +1 -0
  74. package/fesm2022/formio-angular-resource.mjs +571 -0
  75. package/fesm2022/formio-angular-resource.mjs.map +1 -0
  76. package/fesm2022/formio-angular.mjs +1183 -0
  77. package/fesm2022/formio-angular.mjs.map +1 -0
  78. package/{dist/angular-formio/formio.common.d.ts → formio.common.d.ts} +2 -1
  79. package/formio.common.d.ts.map +1 -0
  80. package/{dist/angular-formio/formio.config.d.ts → formio.config.d.ts} +1 -2
  81. package/formio.config.d.ts.map +1 -0
  82. package/{dist/angular-formio/grid → grid}/submission/SubmissionGridHeader.component.d.ts +1 -1
  83. package/grid/submission/SubmissionGridHeader.component.d.ts.map +1 -0
  84. package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts.map +1 -1
  85. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts +1 -1
  86. package/{dist/angular-formio/manager → manager}/form-manager.service.d.ts.map +1 -1
  87. package/package.json +57 -54
  88. package/{dist/angular-formio/resource → resource}/resource.service.d.ts.map +1 -1
  89. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/03/c3/57d706b57a9bb2202b4c3f58dc4c59bd1fae8dc1d330b416b5c069a4217a2457f6c7cfef2f6d0dc5378bb43c95f62533a75cb34d09cfef47dc40e5756725 +0 -1
  90. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/0c/7a/916bd866cb386cc87b9ea07c40edc23df9d726d1865e6699b42dedfbfb2a8364ced191aa62680a9297d7644cdfa64753b8975cc254c7c581f28bba0acd15 +0 -1
  91. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/17/1b/bc3996ef483c464312f7c1acf66b2ce37039601d01d5faf114e615de6ae5001d009aa0a1410c1b4682dda0866d78d5f9c709ab4f6c8ba986a7936ab9f6ef +0 -1
  92. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/1e/04/481e2f3a5c2e9aed176acbf87c09f0320892cb02bbf8a95019c30ea33f77af28e8280057e4720a90506cb25c59ed33c0d60655446b75c3e25dfb4330ed43 +0 -1
  93. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/28/48/0149b4006ab8d4a2a7b42e75c125f3adab48568f4d85ee48176367ae60965807a3a72f81550645fe5a2ba83c16b33196f85c46107d859175847763b9bba7 +0 -1
  94. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/42/8d/7954e44606cfeaf1246358216f7f53bdccafbdbf7b99700ea6002d6e0dbe1c33f015d0cf59b833e5b4a36767cd94f29b9d77f86645e872bdc3013b403845 +0 -1
  95. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/43/05/c86feb68c6e6f17d2b1e7d4aadfbef2f8554b42c9e0b7516b22a7c34044b513c23987b00507d17cb8f89b9b762b5499483d4ec16708519940e00cee5863a +0 -1
  96. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/4c/77/763f1bb202f7b0d54e7b79b0a23fe956cf0827a5e988bceb7c59621c9ec07c8e7863531e5731dc334e90cf1d735a6e64dafa6d5bae486ab3b7b90dea3fe5 +0 -1
  97. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/5e/df/0706d1dfb3ed5b0c5a65b7b5e40996105b18800c157e8fb273040145aa011d9e60e28eb2112e2867a70052784727400f86d082d90d2c5841ec3abcbb6840 +0 -1
  98. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/6f/86/7209df36e306d669d7347d7ddb464798ace457218aa5f3be5b17145cdfd1385bbd48d133381fc31c082b5025575865b351f9bb0265508359fda378962d60 +0 -1
  99. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/71/55/241de4ea057eae7171b73fac62de144f35df7c4ec9be4fca9b08fa02f24f281e79717c76086a90b578d52963cd7cc78fc391ec813576d667ac3ad043e67d +0 -1
  100. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/89/26/e1b6ab1ce4c15c9175974d262c9baead1eea23bb80c6da1926a36513e9777f8d1be0948ec0cb33e875e41926682599a92ede1900400004ad1856529822bc +0 -1
  101. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9c/21/3b8af7b6ee09c29bf340610026191af56f9ba1cba1f5e4476424775d5e322f84d7e900c4d264d39804cebf3dcb5aaa5eb5e9d8fd143bc3a8aa76c3d5325e +0 -1
  102. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/9e/bc/eb0b9b19e56d5161114be0b4aa51d5e29527ddd9e8954a9977fdb80b1640d5ee535de8c5c7cc1348f12423d5c9ece8e6525290eed6d4259303c5e0dd9e54 +0 -1
  103. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/af/5c/97d9a08342685ee95844b54aed260370df0de7c2408ec7b14f7da3972c811ee5a4cae7be4f51de07dd039c8639ec4e9008733bcf0b6a438b29a83d7fabe3 +0 -1
  104. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/b3/9a/0f0721f954468df14c05be1e1ecf80808948d80accc676b22b2f42594e36fd848d7b6f3a494888778ced38819d64ac01619dadef02f5d064a07e422dc6e3 +0 -1
  105. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/ba/5d/d939f6c0890924d0234b6253e4c7baab7e285c4e9e3b838d4f223f5365ce00c421e48383fc21ecdf847e1592936f5be80b0d20ea3db471bfe39e181c091a +0 -1
  106. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/c2/ed/fa9f957c177066eb85345c4a12a5b966d0a8c9b13723ef0b97b9e97fd12d94dce317239ca3b04a085e837ac1254883fe308f6914c845b3ab905aee71104c +0 -1
  107. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e5/02/dea9a92e3e7a840bde12d10d7b4d9c19c7be587e568019a9aacd2f3be7a6a968ec214e3c6671def4874ff7e14de90b2b7f4742d40932e5772e85ed9e2e5c +0 -1
  108. package/.angular/cache/18.1.2/ng-packagr/content-v2/sha512/e9/ca/53ff813610ae5d57a25518e6546b659a092de2c929fd43130db59358947aa9aa5797289f7ca39fe550d2e41050a69cb26e6b5dd6ebbcae0207ab08474dc8 +0 -1
  109. package/.angular/cache/18.1.2/ng-packagr/index-v5/25/d3/52d51d20f0068267704af92a4b131f29e9318f247d503eb0ec23c1ed7188 +0 -2
  110. package/.angular/cache/18.1.2/ng-packagr/index-v5/32/2f/d5c320e973844b017f9df834dcf5f8a70b27c1c3b625602647fbe166617c +0 -2
  111. package/.angular/cache/18.1.2/ng-packagr/index-v5/38/53/3bd61bb2f286821c9ec46774147eb97de202bd306657efa7e8fb0a4343e8 +0 -2
  112. package/.angular/cache/18.1.2/ng-packagr/index-v5/4e/53/3b7731ca8fad27e6eaeb4c36c45bd95e9f08ffb7d050da8e33aa0c67f420 +0 -2
  113. package/.angular/cache/18.1.2/ng-packagr/index-v5/4f/b5/b4881a5f5a49b3873273918459bc33f4faa34e974e629f48a07d7a97c39c +0 -2
  114. package/.angular/cache/18.1.2/ng-packagr/index-v5/5b/e4/f6ef130cc3bbbf5aa958ce481e0b714d430a6a04f61381bc829296cde9a5 +0 -2
  115. package/.angular/cache/18.1.2/ng-packagr/index-v5/69/8c/55ebedfbeee3a23e43db1e5576ea5a06710fab809fc667ba3ce8583b8eea +0 -2
  116. package/.angular/cache/18.1.2/ng-packagr/index-v5/8a/38/489a51c20c3a372344dd5510758e23c1caffd6dfe1525c17dc3fbc231b76 +0 -2
  117. package/.angular/cache/18.1.2/ng-packagr/index-v5/8d/5d/26f10d893644ba75ac602bed8276ef0b4e1866d085754e032ee3833e95ab +0 -2
  118. package/.angular/cache/18.1.2/ng-packagr/index-v5/9a/0d/0056d732cfdfa97dfef099aa2189dcac3fae2f7c3c3560cd77a7c9567e74 +0 -2
  119. package/.angular/cache/18.1.2/ng-packagr/index-v5/9c/f5/9c5f48481303af30935226f6337a1e033ad35f0462f95da8a973b69aafb5 +0 -2
  120. package/.angular/cache/18.1.2/ng-packagr/index-v5/a3/17/80d2a0bcaac6af902db5f128a8f8ec58ec220b9d00d6825205749c2f418a +0 -2
  121. package/.angular/cache/18.1.2/ng-packagr/index-v5/aa/80/466e9b161643951f9a077066a20cd2d7ef6903a1fdcaadedcef9c0177747 +0 -2
  122. package/.angular/cache/18.1.2/ng-packagr/index-v5/b7/72/d9f00a872849a611fa73cb9ec575401ee6c838795bb102753b24d7d53ee3 +0 -2
  123. package/.angular/cache/18.1.2/ng-packagr/index-v5/c7/dd/eca0dfb0e1190fa828b47955c8f97ac1e7a5b24871fb9d8342cd7256e5f9 +0 -2
  124. package/.angular/cache/18.1.2/ng-packagr/index-v5/d9/03/3fd9ec2d0c37e7b3824ec5e7936928c4f6debbb6899a120a52cdba472f38 +0 -2
  125. package/.angular/cache/18.1.2/ng-packagr/index-v5/da/4e/570182d1f569903d2554c87334c0f7751dafcb6b683ddfbe4213614fd5be +0 -2
  126. package/.angular/cache/18.1.2/ng-packagr/index-v5/dc/4f/1a8db8af7d1e3f37160992ae5545e63460ab6e54a4d3981f234eb089d435 +0 -2
  127. package/.angular/cache/18.1.2/ng-packagr/index-v5/e8/e9/47b0d4126bcfabc2df9a4c4be0d197a805526dd04e2a48278501d62a85fd +0 -2
  128. package/.angular/cache/18.1.2/ng-packagr/index-v5/ed/de/db04689deebb1db3d7610a2bbca795b1180084d7985db7a993d4787f6d0e +0 -2
  129. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-auth.tsbuildinfo +0 -1
  130. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-embed.tsbuildinfo +0 -1
  131. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-grid.tsbuildinfo +0 -1
  132. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-manager.tsbuildinfo +0 -1
  133. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular-resource.tsbuildinfo +0 -1
  134. package/.angular/cache/18.1.2/ng-packagr/tsbuildinfo/formio-angular.tsbuildinfo +0 -1
  135. package/.dockerignore +0 -5
  136. package/.editorconfig +0 -13
  137. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
  138. package/.github/ISSUE_TEMPLATE/custom-components-support-request.md +0 -15
  139. package/.github/ISSUE_TEMPLATE/question.md +0 -8
  140. package/.travis.yml +0 -4
  141. package/.yo-rc.json +0 -7
  142. package/CHANGELOG.md +0 -1095
  143. package/Dockerfile +0 -20
  144. package/LICENSE +0 -21
  145. package/angular.json +0 -38
  146. package/bs-config.json +0 -11
  147. package/dist/angular-formio/README.md +0 -24
  148. package/dist/angular-formio/embed/app.service.d.ts +0 -28
  149. package/dist/angular-formio/embed/app.service.d.ts.map +0 -1
  150. package/dist/angular-formio/embed/builder.component.d.ts +0 -13
  151. package/dist/angular-formio/embed/builder.component.d.ts.map +0 -1
  152. package/dist/angular-formio/embed/embed.module.d.ts +0 -10
  153. package/dist/angular-formio/embed/embed.module.d.ts.map +0 -1
  154. package/dist/angular-formio/embed/formio-angular-embed.d.ts.map +0 -1
  155. package/dist/angular-formio/embed/formio.component.d.ts +0 -16
  156. package/dist/angular-formio/embed/formio.component.d.ts.map +0 -1
  157. package/dist/angular-formio/embed/index.d.ts +0 -7
  158. package/dist/angular-formio/embed/index.d.ts.map +0 -1
  159. package/dist/angular-formio/esm2022/FormioBaseComponent.mjs +0 -587
  160. package/dist/angular-formio/esm2022/auth/auth.component.mjs +0 -23
  161. package/dist/angular-formio/esm2022/auth/auth.config.mjs +0 -21
  162. package/dist/angular-formio/esm2022/auth/auth.module.mjs +0 -47
  163. package/dist/angular-formio/esm2022/auth/auth.service.mjs +0 -199
  164. package/dist/angular-formio/esm2022/auth/login/login.component.mjs +0 -27
  165. package/dist/angular-formio/esm2022/auth/register/register.component.mjs +0 -27
  166. package/dist/angular-formio/esm2022/auth/resetpass/resetpass.component.mjs +0 -24
  167. package/dist/angular-formio/esm2022/components/alerts/formio.alerts.component.mjs +0 -46
  168. package/dist/angular-formio/esm2022/components/alerts/parse-html-content.pipe.mjs +0 -19
  169. package/dist/angular-formio/esm2022/components/formbuilder/formbuilder.component.mjs +0 -211
  170. package/dist/angular-formio/esm2022/components/formio/formio.component.mjs +0 -85
  171. package/dist/angular-formio/esm2022/components/formioreport/formioreport.component.mjs +0 -137
  172. package/dist/angular-formio/esm2022/components/loader/formio.loader.component.mjs +0 -25
  173. package/dist/angular-formio/esm2022/core.mjs +0 -19
  174. package/dist/angular-formio/esm2022/custom-tags.service.mjs +0 -14
  175. package/dist/angular-formio/esm2022/embed/app.service.mjs +0 -58
  176. package/dist/angular-formio/esm2022/embed/builder.component.mjs +0 -45
  177. package/dist/angular-formio/esm2022/embed/embed.module.mjs +0 -36
  178. package/dist/angular-formio/esm2022/embed/formio-angular-embed.mjs +0 -5
  179. package/dist/angular-formio/esm2022/embed/formio.component.mjs +0 -59
  180. package/dist/angular-formio/esm2022/embed/index.mjs +0 -7
  181. package/dist/angular-formio/esm2022/formio.common.mjs +0 -11
  182. package/dist/angular-formio/esm2022/formio.config.mjs +0 -29
  183. package/dist/angular-formio/esm2022/formio.module.mjs +0 -60
  184. package/dist/angular-formio/esm2022/formio.service.mjs +0 -62
  185. package/dist/angular-formio/esm2022/formio.utils.mjs +0 -21
  186. package/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs +0 -95
  187. package/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs +0 -50
  188. package/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs +0 -40
  189. package/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs +0 -165
  190. package/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs +0 -112
  191. package/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs +0 -54
  192. package/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs +0 -37
  193. package/dist/angular-formio/esm2022/grid/grid.component.mjs +0 -321
  194. package/dist/angular-formio/esm2022/grid/grid.module.mjs +0 -80
  195. package/dist/angular-formio/esm2022/grid/grid.service.mjs +0 -18
  196. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs +0 -74
  197. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs +0 -103
  198. package/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs +0 -96
  199. package/dist/angular-formio/esm2022/manager/create/create.component.mjs +0 -62
  200. package/dist/angular-formio/esm2022/manager/delete/delete.component.mjs +0 -58
  201. package/dist/angular-formio/esm2022/manager/edit/edit.component.mjs +0 -181
  202. package/dist/angular-formio/esm2022/manager/form/form.component.mjs +0 -176
  203. package/dist/angular-formio/esm2022/manager/form-manager.config.mjs +0 -18
  204. package/dist/angular-formio/esm2022/manager/form-manager.module.mjs +0 -84
  205. package/dist/angular-formio/esm2022/manager/form-manager.service.mjs +0 -185
  206. package/dist/angular-formio/esm2022/manager/index/index.component.mjs +0 -151
  207. package/dist/angular-formio/esm2022/manager/submission/delete/delete.component.mjs +0 -48
  208. package/dist/angular-formio/esm2022/manager/submission/edit/edit.component.mjs +0 -32
  209. package/dist/angular-formio/esm2022/manager/submission/index/index.component.mjs +0 -32
  210. package/dist/angular-formio/esm2022/manager/submission/submission/submission.component.mjs +0 -67
  211. package/dist/angular-formio/esm2022/manager/submission/view/view.component.mjs +0 -24
  212. package/dist/angular-formio/esm2022/manager/view/view.component.mjs +0 -66
  213. package/dist/angular-formio/esm2022/resource/create/create.component.mjs +0 -64
  214. package/dist/angular-formio/esm2022/resource/delete/delete.component.mjs +0 -42
  215. package/dist/angular-formio/esm2022/resource/edit/edit.component.mjs +0 -49
  216. package/dist/angular-formio/esm2022/resource/index/index.component.mjs +0 -79
  217. package/dist/angular-formio/esm2022/resource/resource.component.mjs +0 -72
  218. package/dist/angular-formio/esm2022/resource/resource.config.mjs +0 -13
  219. package/dist/angular-formio/esm2022/resource/resource.module.mjs +0 -63
  220. package/dist/angular-formio/esm2022/resource/resource.service.mjs +0 -231
  221. package/dist/angular-formio/esm2022/resource/resources.service.mjs +0 -25
  222. package/dist/angular-formio/esm2022/resource/view/view.component.mjs +0 -30
  223. package/dist/angular-formio/fesm2022/formio-angular-auth.mjs.map +0 -1
  224. package/dist/angular-formio/fesm2022/formio-angular-embed.mjs +0 -195
  225. package/dist/angular-formio/fesm2022/formio-angular-embed.mjs.map +0 -1
  226. package/dist/angular-formio/fesm2022/formio-angular-grid.mjs +0 -1213
  227. package/dist/angular-formio/fesm2022/formio-angular-grid.mjs.map +0 -1
  228. package/dist/angular-formio/fesm2022/formio-angular-manager.mjs +0 -1167
  229. package/dist/angular-formio/fesm2022/formio-angular-manager.mjs.map +0 -1
  230. package/dist/angular-formio/fesm2022/formio-angular-resource.mjs +0 -656
  231. package/dist/angular-formio/fesm2022/formio-angular-resource.mjs.map +0 -1
  232. package/dist/angular-formio/fesm2022/formio-angular.mjs +0 -1321
  233. package/dist/angular-formio/fesm2022/formio-angular.mjs.map +0 -1
  234. package/dist/angular-formio/formio.common.d.ts.map +0 -1
  235. package/dist/angular-formio/formio.config.d.ts.map +0 -1
  236. package/dist/angular-formio/grid/submission/SubmissionGridHeader.component.d.ts.map +0 -1
  237. package/projects/angular-formio/README.md +0 -24
  238. package/projects/angular-formio/auth/ng-package.json +0 -5
  239. package/projects/angular-formio/auth/src/auth.component.html +0 -11
  240. package/projects/angular-formio/auth/src/auth.component.ts +0 -5
  241. package/projects/angular-formio/auth/src/auth.config.ts +0 -72
  242. package/projects/angular-formio/auth/src/auth.module.ts +0 -33
  243. package/projects/angular-formio/auth/src/auth.routes.ts +0 -34
  244. package/projects/angular-formio/auth/src/auth.service.ts +0 -221
  245. package/projects/angular-formio/auth/src/index.ts +0 -8
  246. package/projects/angular-formio/auth/src/login/login.component.html +0 -1
  247. package/projects/angular-formio/auth/src/login/login.component.ts +0 -11
  248. package/projects/angular-formio/auth/src/public_api.ts +0 -5
  249. package/projects/angular-formio/auth/src/register/register.component.html +0 -1
  250. package/projects/angular-formio/auth/src/register/register.component.ts +0 -11
  251. package/projects/angular-formio/auth/src/resetpass/resetpass.component.html +0 -1
  252. package/projects/angular-formio/auth/src/resetpass/resetpass.component.ts +0 -8
  253. package/projects/angular-formio/grid/ng-package.json +0 -5
  254. package/projects/angular-formio/grid/src/GridBodyComponent.ts +0 -80
  255. package/projects/angular-formio/grid/src/GridFooterComponent.ts +0 -25
  256. package/projects/angular-formio/grid/src/GridHeaderComponent.ts +0 -25
  257. package/projects/angular-formio/grid/src/form/FormGridBody.component.html +0 -22
  258. package/projects/angular-formio/grid/src/form/FormGridBody.component.scss +0 -4
  259. package/projects/angular-formio/grid/src/form/FormGridBody.component.ts +0 -46
  260. package/projects/angular-formio/grid/src/form/FormGridFooter.component.html +0 -21
  261. package/projects/angular-formio/grid/src/form/FormGridFooter.component.ts +0 -23
  262. package/projects/angular-formio/grid/src/form/FormGridHeader.component.html +0 -18
  263. package/projects/angular-formio/grid/src/form/FormGridHeader.component.ts +0 -24
  264. package/projects/angular-formio/grid/src/form/index.ts +0 -8
  265. package/projects/angular-formio/grid/src/form/time-since.pipe.ts +0 -31
  266. package/projects/angular-formio/grid/src/grid.component.html +0 -18
  267. package/projects/angular-formio/grid/src/grid.component.scss +0 -9
  268. package/projects/angular-formio/grid/src/grid.component.ts +0 -242
  269. package/projects/angular-formio/grid/src/grid.footer.scss +0 -14
  270. package/projects/angular-formio/grid/src/grid.module.ts +0 -49
  271. package/projects/angular-formio/grid/src/grid.service.ts +0 -16
  272. package/projects/angular-formio/grid/src/index.ts +0 -12
  273. package/projects/angular-formio/grid/src/public_api.ts +0 -5
  274. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html +0 -7
  275. package/projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts +0 -39
  276. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html +0 -18
  277. package/projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts +0 -20
  278. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html +0 -11
  279. package/projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts +0 -72
  280. package/projects/angular-formio/grid/src/submission/index.ts +0 -8
  281. package/projects/angular-formio/grid/src/types/grid-column.ts +0 -7
  282. package/projects/angular-formio/grid/src/types/grid-footer-positions.ts +0 -5
  283. package/projects/angular-formio/grid/src/types/grid-header.ts +0 -14
  284. package/projects/angular-formio/karma.conf.js +0 -32
  285. package/projects/angular-formio/manager/ng-package.json +0 -5
  286. package/projects/angular-formio/manager/src/create/create.component.ts +0 -11
  287. package/projects/angular-formio/manager/src/delete/delete.component.html +0 -6
  288. package/projects/angular-formio/manager/src/delete/delete.component.ts +0 -37
  289. package/projects/angular-formio/manager/src/edit/edit.component.html +0 -19
  290. package/projects/angular-formio/manager/src/edit/edit.component.ts +0 -110
  291. package/projects/angular-formio/manager/src/form/form.component.html +0 -32
  292. package/projects/angular-formio/manager/src/form/form.component.ts +0 -73
  293. package/projects/angular-formio/manager/src/form-manager.config.ts +0 -31
  294. package/projects/angular-formio/manager/src/form-manager.module.ts +0 -54
  295. package/projects/angular-formio/manager/src/form-manager.routes.ts +0 -75
  296. package/projects/angular-formio/manager/src/form-manager.service.ts +0 -190
  297. package/projects/angular-formio/manager/src/index/index.component.html +0 -14
  298. package/projects/angular-formio/manager/src/index/index.component.scss +0 -22
  299. package/projects/angular-formio/manager/src/index/index.component.ts +0 -100
  300. package/projects/angular-formio/manager/src/index.ts +0 -16
  301. package/projects/angular-formio/manager/src/public_api.ts +0 -5
  302. package/projects/angular-formio/manager/src/submission/delete/delete.component.html +0 -6
  303. package/projects/angular-formio/manager/src/submission/delete/delete.component.ts +0 -26
  304. package/projects/angular-formio/manager/src/submission/edit/edit.component.html +0 -7
  305. package/projects/angular-formio/manager/src/submission/edit/edit.component.ts +0 -18
  306. package/projects/angular-formio/manager/src/submission/index/index.component.html +0 -1
  307. package/projects/angular-formio/manager/src/submission/index/index.component.ts +0 -18
  308. package/projects/angular-formio/manager/src/submission/submission/submission.component.html +0 -8
  309. package/projects/angular-formio/manager/src/submission/submission/submission.component.ts +0 -24
  310. package/projects/angular-formio/manager/src/submission/view/view.component.html +0 -7
  311. package/projects/angular-formio/manager/src/submission/view/view.component.ts +0 -9
  312. package/projects/angular-formio/manager/src/view/view.component.html +0 -11
  313. package/projects/angular-formio/manager/src/view/view.component.ts +0 -44
  314. package/projects/angular-formio/ng-package.json +0 -7
  315. package/projects/angular-formio/node_modules/tslib/CopyrightNotice.txt +0 -15
  316. package/projects/angular-formio/node_modules/tslib/LICENSE.txt +0 -12
  317. package/projects/angular-formio/node_modules/tslib/README.md +0 -164
  318. package/projects/angular-formio/node_modules/tslib/SECURITY.md +0 -41
  319. package/projects/angular-formio/node_modules/tslib/modules/index.d.ts +0 -35
  320. package/projects/angular-formio/node_modules/tslib/modules/index.js +0 -64
  321. package/projects/angular-formio/node_modules/tslib/modules/package.json +0 -3
  322. package/projects/angular-formio/node_modules/tslib/package.json +0 -47
  323. package/projects/angular-formio/node_modules/tslib/tslib.d.ts +0 -430
  324. package/projects/angular-formio/node_modules/tslib/tslib.es6.html +0 -1
  325. package/projects/angular-formio/node_modules/tslib/tslib.es6.js +0 -321
  326. package/projects/angular-formio/node_modules/tslib/tslib.es6.mjs +0 -321
  327. package/projects/angular-formio/node_modules/tslib/tslib.html +0 -1
  328. package/projects/angular-formio/node_modules/tslib/tslib.js +0 -370
  329. package/projects/angular-formio/package.json +0 -39
  330. package/projects/angular-formio/resource/ng-package.json +0 -5
  331. package/projects/angular-formio/resource/src/create/create.component.html +0 -13
  332. package/projects/angular-formio/resource/src/create/create.component.scss +0 -3
  333. package/projects/angular-formio/resource/src/create/create.component.ts +0 -37
  334. package/projects/angular-formio/resource/src/delete/delete.component.html +0 -5
  335. package/projects/angular-formio/resource/src/delete/delete.component.ts +0 -24
  336. package/projects/angular-formio/resource/src/edit/edit.component.html +0 -7
  337. package/projects/angular-formio/resource/src/edit/edit.component.ts +0 -35
  338. package/projects/angular-formio/resource/src/index/index.component.html +0 -10
  339. package/projects/angular-formio/resource/src/index/index.component.ts +0 -64
  340. package/projects/angular-formio/resource/src/index.js +0 -24
  341. package/projects/angular-formio/resource/src/index.ts +0 -11
  342. package/projects/angular-formio/resource/src/public_api.ts +0 -5
  343. package/projects/angular-formio/resource/src/resource.component.html +0 -7
  344. package/projects/angular-formio/resource/src/resource.component.ts +0 -48
  345. package/projects/angular-formio/resource/src/resource.config.ts +0 -17
  346. package/projects/angular-formio/resource/src/resource.module.ts +0 -43
  347. package/projects/angular-formio/resource/src/resource.routes.ts +0 -43
  348. package/projects/angular-formio/resource/src/resource.service.ts +0 -258
  349. package/projects/angular-formio/resource/src/resources.service.ts +0 -24
  350. package/projects/angular-formio/resource/src/view/view.component.html +0 -6
  351. package/projects/angular-formio/resource/src/view/view.component.ts +0 -19
  352. package/projects/angular-formio/src/FormioBaseComponent.ts +0 -557
  353. package/projects/angular-formio/src/components/alerts/formio.alerts.component.html +0 -3
  354. package/projects/angular-formio/src/components/alerts/formio.alerts.component.ts +0 -19
  355. package/projects/angular-formio/src/components/alerts/formio.alerts.ts +0 -21
  356. package/projects/angular-formio/src/components/alerts/parse-html-content.pipe.ts +0 -15
  357. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.html +0 -1
  358. package/projects/angular-formio/src/components/formbuilder/formbuilder.component.ts +0 -213
  359. package/projects/angular-formio/src/components/formio/formio.component.html +0 -8
  360. package/projects/angular-formio/src/components/formio/formio.component.ts +0 -33
  361. package/projects/angular-formio/src/components/formioreport/formioreport.component.html +0 -8
  362. package/projects/angular-formio/src/components/formioreport/formioreport.component.ts +0 -91
  363. package/projects/angular-formio/src/components/loader/formio.loader.component.html +0 -3
  364. package/projects/angular-formio/src/components/loader/formio.loader.component.scss +0 -26
  365. package/projects/angular-formio/src/components/loader/formio.loader.component.ts +0 -10
  366. package/projects/angular-formio/src/core.ts +0 -25
  367. package/projects/angular-formio/src/custom-tags.service.ts +0 -9
  368. package/projects/angular-formio/src/formio-promise.service.ts +0 -36
  369. package/projects/angular-formio/src/formio.common.ts +0 -91
  370. package/projects/angular-formio/src/formio.config.ts +0 -26
  371. package/projects/angular-formio/src/formio.module.ts +0 -38
  372. package/projects/angular-formio/src/formio.service.ts +0 -57
  373. package/projects/angular-formio/src/formio.utils.ts +0 -23
  374. package/projects/angular-formio/src/index.ts +0 -3
  375. package/projects/angular-formio/src/public-api.ts +0 -5
  376. package/projects/angular-formio/src/test.ts +0 -28
  377. package/projects/angular-formio/src/types/alerts-position.ts +0 -6
  378. package/projects/angular-formio/src/types/formio-metadata.ts +0 -10
  379. package/projects/angular-formio/src/types/formio-submission.ts +0 -20
  380. package/projects/angular-formio/tsconfig.lib.json +0 -27
  381. package/projects/angular-formio/tsconfig.lib.prod.json +0 -8
  382. package/projects/angular-formio/tsconfig.spec.json +0 -17
  383. package/projects/angular-formio/tslint.json +0 -17
  384. package/tsconfig.json +0 -39
  385. package/tslint.json +0 -140
  386. /package/{dist/angular-formio/auth → auth}/auth.component.d.ts +0 -0
  387. /package/{dist/angular-formio/auth → auth}/auth.component.d.ts.map +0 -0
  388. /package/{dist/angular-formio/auth → auth}/auth.config.d.ts +0 -0
  389. /package/{dist/angular-formio/auth → auth}/auth.config.d.ts.map +0 -0
  390. /package/{dist/angular-formio/auth → auth}/auth.module.d.ts +0 -0
  391. /package/{dist/angular-formio/auth → auth}/auth.module.d.ts.map +0 -0
  392. /package/{dist/angular-formio/auth → auth}/auth.routes.d.ts +0 -0
  393. /package/{dist/angular-formio/auth → auth}/auth.routes.d.ts.map +0 -0
  394. /package/{dist/angular-formio/auth → auth}/auth.service.d.ts +0 -0
  395. /package/{dist/angular-formio/auth → auth}/auth.service.d.ts.map +0 -0
  396. /package/{dist/angular-formio/auth → auth}/formio-angular-auth.d.ts.map +0 -0
  397. /package/{dist/angular-formio/auth → auth}/index.d.ts +0 -0
  398. /package/{dist/angular-formio/auth → auth}/index.d.ts.map +0 -0
  399. /package/{dist/angular-formio/auth → auth}/login/login.component.d.ts +0 -0
  400. /package/{dist/angular-formio/auth → auth}/login/login.component.d.ts.map +0 -0
  401. /package/{dist/angular-formio/auth → auth}/register/register.component.d.ts +0 -0
  402. /package/{dist/angular-formio/auth → auth}/register/register.component.d.ts.map +0 -0
  403. /package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts +0 -0
  404. /package/{dist/angular-formio/auth → auth}/resetpass/resetpass.component.d.ts.map +0 -0
  405. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts +0 -0
  406. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.component.d.ts.map +0 -0
  407. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts +0 -0
  408. /package/{dist/angular-formio/components → components}/alerts/formio.alerts.d.ts.map +0 -0
  409. /package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts +0 -0
  410. /package/{dist/angular-formio/components → components}/alerts/parse-html-content.pipe.d.ts.map +0 -0
  411. /package/{dist/angular-formio/components → components}/formio/formio.component.d.ts +0 -0
  412. /package/{dist/angular-formio/components → components}/formio/formio.component.d.ts.map +0 -0
  413. /package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts +0 -0
  414. /package/{dist/angular-formio/components → components}/loader/formio.loader.component.d.ts.map +0 -0
  415. /package/{dist/angular-formio/custom-tags.service.d.ts → custom-tags.service.d.ts} +0 -0
  416. /package/{dist/angular-formio/custom-tags.service.d.ts.map → custom-tags.service.d.ts.map} +0 -0
  417. /package/{dist/angular-formio/esm2022 → esm2022}/auth/auth.routes.mjs +0 -0
  418. /package/{dist/angular-formio/esm2022 → esm2022}/auth/formio-angular-auth.mjs +0 -0
  419. /package/{dist/angular-formio/esm2022 → esm2022}/auth/index.mjs +0 -0
  420. /package/{dist/angular-formio/esm2022 → esm2022}/components/alerts/formio.alerts.mjs +0 -0
  421. /package/{dist/angular-formio/esm2022 → esm2022}/formio-angular.mjs +0 -0
  422. /package/{dist/angular-formio/esm2022 → esm2022}/formio-promise.service.mjs +0 -0
  423. /package/{dist/angular-formio/esm2022 → esm2022}/grid/form/index.mjs +0 -0
  424. /package/{dist/angular-formio/esm2022 → esm2022}/grid/formio-angular-grid.mjs +0 -0
  425. /package/{dist/angular-formio/esm2022 → esm2022}/grid/index.mjs +0 -0
  426. /package/{dist/angular-formio/esm2022 → esm2022}/grid/submission/index.mjs +0 -0
  427. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-column.mjs +0 -0
  428. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-footer-positions.mjs +0 -0
  429. /package/{dist/angular-formio/esm2022 → esm2022}/grid/types/grid-header.mjs +0 -0
  430. /package/{dist/angular-formio/esm2022 → esm2022}/index.mjs +0 -0
  431. /package/{dist/angular-formio/esm2022 → esm2022}/manager/form-manager.routes.mjs +0 -0
  432. /package/{dist/angular-formio/esm2022 → esm2022}/manager/formio-angular-manager.mjs +0 -0
  433. /package/{dist/angular-formio/esm2022 → esm2022}/manager/index.mjs +0 -0
  434. /package/{dist/angular-formio/esm2022 → esm2022}/resource/formio-angular-resource.mjs +0 -0
  435. /package/{dist/angular-formio/esm2022 → esm2022}/resource/index.mjs +0 -0
  436. /package/{dist/angular-formio/esm2022 → esm2022}/resource/resource.routes.mjs +0 -0
  437. /package/{dist/angular-formio/esm2022 → esm2022}/types/alerts-position.mjs +0 -0
  438. /package/{dist/angular-formio/esm2022 → esm2022}/types/formio-metadata.mjs +0 -0
  439. /package/{dist/angular-formio/esm2022 → esm2022}/types/formio-submission.mjs +0 -0
  440. /package/{dist/angular-formio/formio-angular.d.ts.map → formio-angular.d.ts.map} +0 -0
  441. /package/{dist/angular-formio/formio-promise.service.d.ts → formio-promise.service.d.ts} +0 -0
  442. /package/{dist/angular-formio/formio-promise.service.d.ts.map → formio-promise.service.d.ts.map} +0 -0
  443. /package/{dist/angular-formio/formio.module.d.ts → formio.module.d.ts} +0 -0
  444. /package/{dist/angular-formio/formio.module.d.ts.map → formio.module.d.ts.map} +0 -0
  445. /package/{dist/angular-formio/formio.service.d.ts → formio.service.d.ts} +0 -0
  446. /package/{dist/angular-formio/formio.service.d.ts.map → formio.service.d.ts.map} +0 -0
  447. /package/{dist/angular-formio/formio.utils.d.ts → formio.utils.d.ts} +0 -0
  448. /package/{dist/angular-formio/formio.utils.d.ts.map → formio.utils.d.ts.map} +0 -0
  449. /package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts +0 -0
  450. /package/{dist/angular-formio/grid → grid}/GridBodyComponent.d.ts.map +0 -0
  451. /package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts +0 -0
  452. /package/{dist/angular-formio/grid → grid}/GridFooterComponent.d.ts.map +0 -0
  453. /package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts +0 -0
  454. /package/{dist/angular-formio/grid → grid}/GridHeaderComponent.d.ts.map +0 -0
  455. /package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts +0 -0
  456. /package/{dist/angular-formio/grid → grid}/form/FormGridBody.component.d.ts.map +0 -0
  457. /package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts +0 -0
  458. /package/{dist/angular-formio/grid → grid}/form/FormGridFooter.component.d.ts.map +0 -0
  459. /package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts +0 -0
  460. /package/{dist/angular-formio/grid → grid}/form/FormGridHeader.component.d.ts.map +0 -0
  461. /package/{dist/angular-formio/grid → grid}/form/index.d.ts +0 -0
  462. /package/{dist/angular-formio/grid → grid}/form/index.d.ts.map +0 -0
  463. /package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts +0 -0
  464. /package/{dist/angular-formio/grid → grid}/form/time-since.pipe.d.ts.map +0 -0
  465. /package/{dist/angular-formio/grid → grid}/formio-angular-grid.d.ts.map +0 -0
  466. /package/{dist/angular-formio/grid → grid}/grid.component.d.ts +0 -0
  467. /package/{dist/angular-formio/grid → grid}/grid.component.d.ts.map +0 -0
  468. /package/{dist/angular-formio/grid → grid}/grid.module.d.ts +0 -0
  469. /package/{dist/angular-formio/grid → grid}/grid.module.d.ts.map +0 -0
  470. /package/{dist/angular-formio/grid → grid}/grid.service.d.ts +0 -0
  471. /package/{dist/angular-formio/grid → grid}/grid.service.d.ts.map +0 -0
  472. /package/{dist/angular-formio/grid → grid}/index.d.ts +0 -0
  473. /package/{dist/angular-formio/grid → grid}/index.d.ts.map +0 -0
  474. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts +0 -0
  475. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridBody.component.d.ts.map +0 -0
  476. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts +0 -0
  477. /package/{dist/angular-formio/grid → grid}/submission/SubmissionGridFooter.component.d.ts.map +0 -0
  478. /package/{dist/angular-formio/grid → grid}/submission/index.d.ts +0 -0
  479. /package/{dist/angular-formio/grid → grid}/submission/index.d.ts.map +0 -0
  480. /package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts +0 -0
  481. /package/{dist/angular-formio/grid → grid}/types/grid-column.d.ts.map +0 -0
  482. /package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts +0 -0
  483. /package/{dist/angular-formio/grid → grid}/types/grid-footer-positions.d.ts.map +0 -0
  484. /package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts +0 -0
  485. /package/{dist/angular-formio/grid → grid}/types/grid-header.d.ts.map +0 -0
  486. /package/{dist/angular-formio/index.d.ts → index.d.ts} +0 -0
  487. /package/{dist/angular-formio/index.d.ts.map → index.d.ts.map} +0 -0
  488. /package/{dist/angular-formio/manager → manager}/create/create.component.d.ts +0 -0
  489. /package/{dist/angular-formio/manager → manager}/create/create.component.d.ts.map +0 -0
  490. /package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts +0 -0
  491. /package/{dist/angular-formio/manager → manager}/delete/delete.component.d.ts.map +0 -0
  492. /package/{dist/angular-formio/manager → manager}/edit/edit.component.d.ts +0 -0
  493. /package/{dist/angular-formio/manager → manager}/form/form.component.d.ts +0 -0
  494. /package/{dist/angular-formio/manager → manager}/form/form.component.d.ts.map +0 -0
  495. /package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts +0 -0
  496. /package/{dist/angular-formio/manager → manager}/form-manager.config.d.ts.map +0 -0
  497. /package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts +0 -0
  498. /package/{dist/angular-formio/manager → manager}/form-manager.module.d.ts.map +0 -0
  499. /package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts +0 -0
  500. /package/{dist/angular-formio/manager → manager}/form-manager.routes.d.ts.map +0 -0
  501. /package/{dist/angular-formio/manager → manager}/formio-angular-manager.d.ts.map +0 -0
  502. /package/{dist/angular-formio/manager → manager}/index/index.component.d.ts +0 -0
  503. /package/{dist/angular-formio/manager → manager}/index/index.component.d.ts.map +0 -0
  504. /package/{dist/angular-formio/manager → manager}/index.d.ts +0 -0
  505. /package/{dist/angular-formio/manager → manager}/index.d.ts.map +0 -0
  506. /package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts +0 -0
  507. /package/{dist/angular-formio/manager → manager}/submission/delete/delete.component.d.ts.map +0 -0
  508. /package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts +0 -0
  509. /package/{dist/angular-formio/manager → manager}/submission/edit/edit.component.d.ts.map +0 -0
  510. /package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts +0 -0
  511. /package/{dist/angular-formio/manager → manager}/submission/index/index.component.d.ts.map +0 -0
  512. /package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts +0 -0
  513. /package/{dist/angular-formio/manager → manager}/submission/submission/submission.component.d.ts.map +0 -0
  514. /package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts +0 -0
  515. /package/{dist/angular-formio/manager → manager}/submission/view/view.component.d.ts.map +0 -0
  516. /package/{dist/angular-formio/manager → manager}/view/view.component.d.ts +0 -0
  517. /package/{dist/angular-formio/manager → manager}/view/view.component.d.ts.map +0 -0
  518. /package/{dist/angular-formio/resource → resource}/create/create.component.d.ts +0 -0
  519. /package/{dist/angular-formio/resource → resource}/create/create.component.d.ts.map +0 -0
  520. /package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts +0 -0
  521. /package/{dist/angular-formio/resource → resource}/delete/delete.component.d.ts.map +0 -0
  522. /package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts +0 -0
  523. /package/{dist/angular-formio/resource → resource}/edit/edit.component.d.ts.map +0 -0
  524. /package/{dist/angular-formio/resource → resource}/formio-angular-resource.d.ts.map +0 -0
  525. /package/{dist/angular-formio/resource → resource}/index/index.component.d.ts +0 -0
  526. /package/{dist/angular-formio/resource → resource}/index/index.component.d.ts.map +0 -0
  527. /package/{dist/angular-formio/resource → resource}/index.d.ts +0 -0
  528. /package/{dist/angular-formio/resource → resource}/index.d.ts.map +0 -0
  529. /package/{dist/angular-formio/resource → resource}/resource.component.d.ts +0 -0
  530. /package/{dist/angular-formio/resource → resource}/resource.component.d.ts.map +0 -0
  531. /package/{dist/angular-formio/resource → resource}/resource.config.d.ts +0 -0
  532. /package/{dist/angular-formio/resource → resource}/resource.config.d.ts.map +0 -0
  533. /package/{dist/angular-formio/resource → resource}/resource.module.d.ts +0 -0
  534. /package/{dist/angular-formio/resource → resource}/resource.module.d.ts.map +0 -0
  535. /package/{dist/angular-formio/resource → resource}/resource.routes.d.ts +0 -0
  536. /package/{dist/angular-formio/resource → resource}/resource.routes.d.ts.map +0 -0
  537. /package/{dist/angular-formio/resource → resource}/resource.service.d.ts +0 -0
  538. /package/{dist/angular-formio/resource → resource}/resources.service.d.ts +0 -0
  539. /package/{dist/angular-formio/resource → resource}/resources.service.d.ts.map +0 -0
  540. /package/{dist/angular-formio/resource → resource}/view/view.component.d.ts +0 -0
  541. /package/{dist/angular-formio/resource → resource}/view/view.component.d.ts.map +0 -0
  542. /package/{dist/angular-formio/types → types}/alerts-position.d.ts +0 -0
  543. /package/{dist/angular-formio/types → types}/alerts-position.d.ts.map +0 -0
  544. /package/{dist/angular-formio/types → types}/formio-metadata.d.ts +0 -0
  545. /package/{dist/angular-formio/types → types}/formio-metadata.d.ts.map +0 -0
  546. /package/{dist/angular-formio/types → types}/formio-submission.d.ts +0 -0
  547. /package/{dist/angular-formio/types → types}/formio-submission.d.ts.map +0 -0
@@ -1 +0,0 @@
1
- {"hash":"440f509bdc4c173a2754cba6103615d292e081b4","fesm2022":[{"exports":["FormGridBodyComponent","FormGridFooterComponent","FormGridHeaderComponent","FormioGrid","FormioGridComponent","GridBodyComponent","GridFooterComponent","GridHeaderComponent","GridService","SubmissionGridBodyComponent","SubmissionGridFooterComponent","SubmissionGridHeaderComponent"],"facadeModuleId":"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/formio-angular-grid.mjs","isDynamicEntry":false,"isEntry":true,"isImplicitEntry":false,"moduleIds":["/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/index.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/index.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.module.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/index.mjs","/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/formio-angular-grid.mjs"],"name":"formio-angular-grid","type":"chunk","dynamicImports":[],"fileName":"formio-angular-grid.mjs","implicitlyLoadedBefore":[],"importedBindings":{"@angular/core":["EventEmitter","*","TemplateRef","Component","Input","Output","ViewChild","Injectable","Pipe","ViewChildren","ViewEncapsulation","ViewContainerRef","NgModule"],"@angular/common":["*","CommonModule"],"@angular/forms":["*","FormsModule"],"@angular/router":["*","RouterModule"],"@formio/angular":["FormioPromiseService","*","FormioAlerts","FormioModule"],"lodash":["each","clone","get"],"@formio/js":["Components","Utils","FormioCore"],"bootstrap":["Tooltip"],"ngx-bootstrap/pagination":["*","PaginationModule"]},"imports":["@angular/core","@angular/common","@angular/forms","@angular/router","@formio/angular","lodash","@formio/js","bootstrap","ngx-bootstrap/pagination"],"modules":{"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/types/grid-footer-positions.mjs":{"code":"var GridFooterPositions;\n(function (GridFooterPositions) {\n GridFooterPositions[GridFooterPositions[\"bottom\"] = 0] = \"bottom\";\n GridFooterPositions[GridFooterPositions[\"top\"] = 1] = \"top\";\n GridFooterPositions[GridFooterPositions[\"both\"] = 2] = \"both\";\n})(GridFooterPositions || (GridFooterPositions = {}));","originalLength":910,"removedExports":[],"renderedExports":["GridFooterPositions"],"renderedLength":316},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridHeaderComponent.mjs":{"code":"class GridHeaderComponent {\n actionAllowed;\n sort;\n template;\n headers;\n constructor() {\n this.headers = [];\n this.sort = new EventEmitter();\n }\n get numHeaders() {\n return this.headers.length;\n }\n load(formio, query, columns) {\n return Promise.resolve([]);\n }\n static ɵfac = function GridHeaderComponent_Factory(t) { return new (t || GridHeaderComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridHeaderComponent, selectors: [[\"ng-component\"]], viewQuery: function GridHeaderComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, inputs: { actionAllowed: \"actionAllowed\" }, outputs: { sort: \"sort\" }, decls: 0, vars: 0, template: function GridHeaderComponent_Template(rf, ctx) { }, encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridHeaderComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [], { actionAllowed: [{\n type: Input\n }], sort: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridHeaderComponent, { className: \"GridHeaderComponent\", filePath: \"GridHeaderComponent.ts\", lineNumber: 8 }); })();","originalLength":3903,"removedExports":[],"renderedExports":["GridHeaderComponent"],"renderedLength":1588},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/types/grid-header.mjs":{"code":"var SortType;\n(function (SortType) {\n SortType[\"ASC\"] = \"asc\";\n SortType[\"DESC\"] = \"desc\";\n})(SortType || (SortType = {}));","originalLength":987,"removedExports":[],"renderedExports":["SortType"],"renderedLength":129},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridHeader.component.mjs":{"code":"const _c0$4 = (a0, a1) => ({ \"fa-caret-up bi-caret-up\": a0, \"fa-caret-down bi-caret-down\": a1 });\nfunction FormGridHeaderComponent_ng_template_0_span_7_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 5);\n} if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction2(1, _c0$4, ctx_r1.header.sort === \"asc\", ctx_r1.header.sort === \"desc\"));\n} }\nfunction FormGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"thead\")(1, \"tr\")(2, \"th\")(3, \"div\", 0)(4, \"div\", 1)(5, \"a\", 2);\n i0.ɵɵlistener(\"click\", function FormGridHeaderComponent_ng_template_0_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sort.emit(ctx_r1.header)); });\n i0.ɵɵtext(6);\n i0.ɵɵtemplate(7, FormGridHeaderComponent_ng_template_0_span_7_Template, 1, 4, \"span\", 3);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵtext(9, \" Operations \");\n i0.ɵɵelementEnd()()()()();\n} if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance(6);\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.header.label, \"\\u00A0\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.header.sort);\n} }\nclass FormGridHeaderComponent extends GridHeaderComponent {\n header;\n load(formio) {\n this.header = {\n label: 'Title',\n key: 'title',\n sort: SortType.ASC\n };\n this.headers = [this.header];\n return Promise.resolve(this.headers);\n }\n get numHeaders() {\n return 2;\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridHeaderComponent, selectors: [[\"form-grid-header\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[1, \"row\"], [1, \"col-sm-9\"], [2, \"cursor\", \"pointer\", 3, \"click\"], [\"class\", \"fa bi\", 3, \"ngClass\", 4, \"ngIf\"], [1, \"col-sm-3\", \"d-flex\", \"justify-content-end\"], [1, \"fa\", \"bi\", 3, \"ngClass\"]], template: function FormGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridHeaderComponent_ng_template_0_Template, 10, 2, \"ng-template\");\n } }, dependencies: [i1.NgClass, i1.NgIf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{\n type: Component,\n args: [{ selector: 'form-grid-header', template: \"<ng-template>\\n <thead>\\n <tr>\\n <th>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a (click)=\\\"sort.emit(header)\\\" style=\\\"cursor: pointer\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end\\\">\\n Operations\\n </div>\\n </div>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridHeaderComponent, { className: \"FormGridHeaderComponent\", filePath: \"form/FormGridHeader.component.ts\", lineNumber: 9 }); })();","originalLength":7111,"removedExports":[],"renderedExports":["FormGridHeaderComponent"],"renderedLength":3631},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.service.mjs":{"code":"class GridService {\n rows;\n constructor() { }\n setRows(rows) {\n this.rows = rows;\n }\n getFormsPerPage() {\n return this.rows?.length;\n }\n static ɵfac = function GridService_Factory(t) { return new (t || GridService)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GridService, factory: GridService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridService, [{\n type: Injectable\n }], () => [], null); })();","originalLength":1660,"removedExports":[],"renderedExports":["GridService"],"renderedLength":517},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridBodyComponent.mjs":{"code":"class GridBodyComponent {\n service;\n header;\n actionAllowed;\n rowSelect;\n rowAction;\n template;\n rows;\n loading;\n firstItem = 0;\n lastItem = 0;\n skip = 0;\n limit = 0;\n total = 0;\n constructor(service) {\n this.service = service;\n this.rowSelect = new EventEmitter();\n this.rowAction = new EventEmitter();\n this.loading = true;\n }\n load(formio, query) {\n return formio.loadForm(query);\n }\n onRowSelect(event, row) {\n event.preventDefault();\n this.rowSelect.emit(row);\n }\n onRowAction(event, row, action) {\n event.preventDefault();\n this.rowAction.emit({ row, action });\n }\n /**\n * Set the rows for this Grid body.\n *\n * @param query\n * @param items\n * @return any\n */\n setRows(query, items) {\n this.rows = [];\n if (typeof items !== 'object') {\n this.firstItem = 0;\n this.lastItem = 0;\n this.total = 0;\n this.skip = 0;\n this.loading = false;\n this.service.setRows(this.rows);\n return this.rows;\n }\n this.firstItem = query.skip + 1;\n this.lastItem = this.firstItem + items.length - 1;\n if (this.lastItem === 0) {\n this.firstItem = 0;\n }\n this.total = items.serverCount;\n this.limit = query.limit;\n this.skip = Math.floor(items.skip / query.limit) + 1;\n this.loading = false;\n each(items, (item) => {\n this.rows.push(clone(item));\n });\n this.service.setRows(this.rows);\n return this.rows;\n }\n static ɵfac = function GridBodyComponent_Factory(t) { return new (t || GridBodyComponent)(i0.ɵɵdirectiveInject(GridService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridBodyComponent, selectors: [[\"ng-component\"]], viewQuery: function GridBodyComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, inputs: { header: \"header\", actionAllowed: \"actionAllowed\" }, outputs: { rowSelect: \"rowSelect\", rowAction: \"rowAction\" }, decls: 0, vars: 0, template: function GridBodyComponent_Template(rf, ctx) { }, encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridBodyComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [{ type: GridService }], { header: [{\n type: Input\n }], actionAllowed: [{\n type: Input\n }], rowSelect: [{\n type: Output\n }], rowAction: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridBodyComponent, { className: \"GridBodyComponent\", filePath: \"GridBodyComponent.ts\", lineNumber: 10 }); })();","originalLength":9568,"removedExports":[],"renderedExports":["GridBodyComponent"],"renderedLength":3111},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/time-since.pipe.mjs":{"code":"class TimeSince {\n transform(date) {\n const elapsed = (new Date().getTime() - new Date(date).getTime()) / 1000;\n let interval;\n if (interval >= 1) {\n return interval + ' year' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 2592000);\n if (interval >= 1) {\n return interval + ' month' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 86400);\n if (interval >= 1) {\n return interval + ' day' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 3600);\n if (interval >= 1) {\n return interval + ' hour' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 60);\n if (interval >= 1) {\n return interval + ' minute' + (interval > 1 ? 's' : '');\n }\n return Math.floor(elapsed) + ' second' + (elapsed > 1 ? 's' : '');\n }\n static ɵfac = function TimeSince_Factory(t) { return new (t || TimeSince)(); };\n static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: \"timeSince\", type: TimeSince, pure: true });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(TimeSince, [{\n type: Pipe,\n args: [{\n name: 'timeSince'\n }]\n }], null, null); })();","originalLength":4963,"removedExports":[],"renderedExports":["TimeSince"],"renderedLength":1342},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridBody.component.mjs":{"code":"const _c0$3 = [\"create\"];\nconst _c1$1 = [\"view\"];\nconst _c2$1 = [\"edit\"];\nconst _c3$1 = [\"permissions\"];\nconst _c4$1 = [\"delete\"];\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template(rf, ctx) { if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 14, 0);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"view\")); });\n i0.ɵɵelement(2, \"span\", 15);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 16, 1);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"submission\")); });\n i0.ɵɵelement(2, \"span\", 17);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template(rf, ctx) { if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 16, 2);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"edit\")); });\n i0.ɵɵelement(2, \"span\", 18);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template(rf, ctx) { if (rf & 1) {\n const _r7 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 19, 3);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"delete\")); });\n i0.ɵɵelement(2, \"span\", 20);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"tr\")(1, \"td\")(2, \"div\", 6)(3, \"div\", 7)(4, \"a\", 8);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template_a_click_4_listener($event) { const form_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowSelect($event, form_r2)); });\n i0.ɵɵelementStart(5, \"h5\");\n i0.ɵɵtext(6);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(7, \"div\", 9);\n i0.ɵɵtext(8);\n i0.ɵɵpipe(9, \"timeSince\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(10, \"div\", 10);\n i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, \"button\", 11);\n i0.ɵɵtext(12, \"\\u00A0 \");\n i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, \"button\", 12);\n i0.ɵɵtext(14, \"\\u00A0 \");\n i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, \"button\", 12);\n i0.ɵɵtext(16, \"\\u00A0 \");\n i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, \"button\", 13);\n i0.ɵɵelementEnd()()()();\n} if (rf & 2) {\n const form_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(4);\n i0.ɵɵpropertyInterpolate1(\"routerLink\", \"\", form_r2._id, \"/view\");\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(form_r2.title);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" Updated \", i0.ɵɵpipeBind1(9, 8, form_r2.modified), \" ago \");\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formView\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formSubmission\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formEdit\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formDelete\"));\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tbody\");\n i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 18, 10, \"tr\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.rows);\n} }\nfunction FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, \"tbody\", 4);\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.rows);\n} }\nclass FormGridBodyComponent extends GridBodyComponent {\n createBtns;\n viewBtns;\n editBtns;\n permissionsBtns;\n deleteBtns;\n tooltips = [];\n load(formio, query) {\n query = query || {};\n return formio.loadForms({ params: query })\n .then((forms) => this.setRows(query, forms))\n .then(() => this.attachTooltips());\n }\n attachTooltips() {\n this.createBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Create' }));\n });\n this.editBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Edit' }));\n });\n this.viewBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'View' }));\n });\n this.permissionsBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Permissions' }));\n });\n this.deleteBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Delete' }));\n });\n }\n ngOnDestroy() {\n this.tooltips.forEach((tootip) => tootip.dispose());\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridBodyComponent, selectors: [[\"form-grid-body\"]], viewQuery: function FormGridBodyComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(_c0$3, 5);\n i0.ɵɵviewQuery(_c1$1, 5);\n i0.ɵɵviewQuery(_c2$1, 5);\n i0.ɵɵviewQuery(_c3$1, 5);\n i0.ɵɵviewQuery(_c4$1, 5);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.createBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.permissionsBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.deleteBtns = _t);\n } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[\"create\", \"\"], [\"view\", \"\"], [\"edit\", \"\"], [\"delete\", \"\"], [4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [1, \"row\"], [1, \"col-sm-9\"], [1, \"text-decoration-none\", 3, \"click\", \"routerLink\"], [1, \"form-updated\", \"small\", \"text-muted\"], [1, \"col-sm-3\", \"d-flex\", \"justify-content-end\", \"align-items-center\"], [\"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-secondary 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\", \"bi\", \"bi-pencil\"], [1, \"btn\", \"btn-outline-secondary\", \"btn-sm\", \"form-btn\", 3, \"click\"], [1, \"fa\", \"fa-list-alt\", \"bi\", \"bi-table\"], [1, \"fa\", \"fa-edit\", \"bi\", \"bi-pencil-square\"], [\"title\", \"Delete form\", 1, \"btn\", \"btn-secondary\", \"btn-sm\", \"form-btn\", \"form-btn-delete\", 3, \"click\"], [1, \"fa\", \"fa-trash\", \"bi\", \"bi-trash\"]], template: function FormGridBodyComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, \"ng-template\");\n } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, TimeSince], styles: [\".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}\"] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{\n type: Component,\n args: [{ selector: 'form-grid-body', template: \"<ng-template>\\n <tbody *ngIf=\\\"rows\\\">\\n <tr *ngFor=\\\"let form of rows\\\">\\n <td>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a routerLink=\\\"{{form._id}}/view\\\" (click)=\\\"onRowSelect($event, form)\\\" class=\\\"text-decoration-none\\\"><h5>{{ form.title }}</h5></a>\\n <div class=\\\"form-updated small text-muted\\\">\\n Updated {{ form.modified | timeSince }} ago\\n </div>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end align-items-center\\\">\\n <button #create *ngIf=\\\"actionAllowed('formView')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn form-btn-use\\\" (click)=\\\"onRowAction($event, form, 'view')\\\"><span class=\\\"fa fa-pencil bi bi-pencil\\\"></span></button>&nbsp;\\n <button #view *ngIf=\\\"actionAllowed('formSubmission')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'submission')\\\"><span class=\\\"fa fa-list-alt bi bi-table\\\"></span></button>&nbsp;\\n <button #edit *ngIf=\\\"actionAllowed('formEdit')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'edit')\\\"><span class=\\\"fa fa-edit bi bi-pencil-square\\\"></span></button>&nbsp;\\n <button #delete *ngIf=\\\"actionAllowed('formDelete')\\\" class=\\\"btn btn-secondary btn-sm form-btn form-btn-delete\\\" (click)=\\\"onRowAction($event, form, 'delete')\\\" title=\\\"Delete form\\\"><span class=\\\"fa fa-trash bi bi-trash\\\"></span></button>\\n </div>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\", styles: [\".form-btn{font-size:.75rem;margin:2px 0}\\n\"] }]\n }], null, { createBtns: [{\n type: ViewChildren,\n args: ['create']\n }], viewBtns: [{\n type: ViewChildren,\n args: ['view']\n }], editBtns: [{\n type: ViewChildren,\n args: ['edit']\n }], permissionsBtns: [{\n type: ViewChildren,\n args: ['permissions']\n }], deleteBtns: [{\n type: ViewChildren,\n args: ['delete']\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridBodyComponent, { className: \"FormGridBodyComponent\", filePath: \"form/FormGridBody.component.ts\", lineNumber: 10 }); })();","originalLength":20276,"removedExports":[],"renderedExports":["FormGridBodyComponent"],"renderedLength":11235},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/GridFooterComponent.mjs":{"code":"class GridFooterComponent {\n header;\n body;\n createText;\n size;\n actionAllowed;\n pageChanged;\n createItem;\n template;\n footerPositions = GridFooterPositions;\n constructor() {\n this.pageChanged = new EventEmitter();\n this.createItem = new EventEmitter();\n }\n static ɵfac = function GridFooterComponent_Factory(t) { return new (t || GridFooterComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridFooterComponent, selectors: [[\"ng-component\"]], viewQuery: function GridFooterComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridFooterComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [], { header: [{\n type: Input\n }], body: [{\n type: Input\n }], createText: [{\n type: Input\n }], size: [{\n type: Input\n }], actionAllowed: [{\n type: Input\n }], pageChanged: [{\n type: Output\n }], createItem: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridFooterComponent, { className: \"GridFooterComponent\", filePath: \"GridFooterComponent.ts\", lineNumber: 9 }); })();","originalLength":4592,"removedExports":[],"renderedExports":["GridFooterComponent"],"renderedLength":1932},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/FormGridFooter.component.mjs":{"code":"const _c0$2 = a0 => ({ label: a0 });\nfunction FormGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const label_r1 = i0.ɵɵnextContext().label;\n i0.ɵɵnextContext();\n const defaultFooterTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r2)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c0$2, label_r1));\n} }\nfunction FormGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tfoot\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const label_r1 = i0.ɵɵnextContext().label;\n i0.ɵɵnextContext();\n const defaultFooterTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r2)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c0$2, label_r1));\n} }\nfunction FormGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_thead_0_Template, 2, 4, \"thead\", 2)(1, FormGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 4, \"tfoot\", 2);\n} if (rf & 2) {\n const position_r3 = ctx.position;\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", position_r3 === ctx_r3.footerPositions.top);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", position_r3 === ctx_r3.footerPositions.bottom);\n} }\nfunction FormGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 12);\n i0.ɵɵlistener(\"click\", function FormGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.createItem.emit(\"form\")); });\n i0.ɵɵelement(1, \"em\", 13);\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", ctx_r3.createText, \"\");\n} }\nfunction FormGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"td\", 6);\n i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, \"button\", 7);\n i0.ɵɵelementStart(2, \"span\", 8)(3, \"span\", 9);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"span\", 10)(7, \"pagination\", 11);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r3.body.skip, $event) || (ctx_r3.body.skip = $event); return i0.ɵɵresetView($event); });\n i0.ɵɵlistener(\"pageChanged\", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.pageChanged.emit($event)); });\n i0.ɵɵelementEnd()()();\n} if (rf & 2) {\n const label_r7 = i0.ɵɵnextContext().label;\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"colSpan\", ctx_r3.header.numHeaders);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r3.actionAllowed(\"formCreate\"));\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate2(\"\", ctx_r3.body.firstItem, \" - \", ctx_r3.body.lastItem, \"\");\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" / \", ctx_r3.body.total, \" total\");\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"aria-label\", label_r7);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"totalItems\", ctx_r3.body.total)(\"itemsPerPage\", ctx_r3.body.limit);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r3.body.skip);\n i0.ɵɵproperty(\"maxSize\", ctx_r3.size);\n} }\nfunction FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tr\");\n i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, \"td\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r3.header);\n} }\nclass FormGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.createText) {\n this.createText = 'Create Form';\n }\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };\n static ɵ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 float-start\", 3, \"click\", 4, \"ngIf\"], [1, \"pull-right\", \"item-counter\"], [1, \"page-num\"], [\"role\", \"navigation\"], [1, \"justify-content-center\", \"pagination-sm\", 3, \"ngModelChange\", \"pageChanged\", \"totalItems\", \"itemsPerPage\", \"ngModel\", \"maxSize\"], [1, \"btn\", \"btn-primary\", \"form-btn-use\", \"float-start\", 3, \"click\"], [1, \"fa\", \"fa-plus\", \"bi\", \"bi-plus-lg\"]], template: function FormGridFooterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, FormGridFooterComponent_ng_template_2_Template, 2, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3.PaginationComponent], 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{\n type: Component,\n args: [{ encapsulation: ViewEncapsulation.None, template: \"<ng-template #footer let-position=\\\"position\\\" let-label=\\\"label\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template let-label=\\\"label\\\" #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('formCreate')\\\" class=\\\"btn btn-primary form-btn-use float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus-lg\\\"></em> {{ createText }}</button>\\n <span class=\\\"pull-right item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <span [attr.aria-label]=\\\"label\\\" role=\\\"navigation\\\">\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\">\\n </pagination>\\n </span>\\n </td>\\n </tr>\\n</ng-template>\\n\", 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\"] }]\n }], () => [], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridFooterComponent, { className: \"FormGridFooterComponent\", filePath: \"form/FormGridFooter.component.ts\", lineNumber: 9 }); })();","originalLength":13056,"removedExports":[],"renderedExports":["FormGridFooterComponent"],"renderedLength":8094},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/form/index.mjs":{"code":"var FormComponents = {\n header: FormGridHeaderComponent,\n body: FormGridBodyComponent,\n footer: FormGridFooterComponent\n};","originalLength":1354,"removedExports":[],"renderedExports":["default"],"renderedLength":131},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridHeader.component.mjs":{"code":"const _c0$1 = (a0, a1) => ({ \"fa-caret-up bi-caret-up\": a0, \"fa-caret-down bi-caret-down\": a1 });\nfunction SubmissionGridHeaderComponent_ng_template_0_th_2_span_3_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 3);\n} if (rf & 2) {\n const header_r2 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction2(1, _c0$1, header_r2.sort === \"asc\", header_r2.sort === \"desc\"));\n} }\nfunction SubmissionGridHeaderComponent_ng_template_0_th_2_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"th\")(1, \"a\", 1);\n i0.ɵɵlistener(\"click\", function SubmissionGridHeaderComponent_ng_template_0_th_2_Template_a_click_1_listener() { const header_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.sort.emit(header_r2)); });\n i0.ɵɵtext(2);\n i0.ɵɵtemplate(3, SubmissionGridHeaderComponent_ng_template_0_th_2_span_3_Template, 1, 4, \"span\", 2);\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const header_r2 = ctx.$implicit;\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", header_r2.label, \"\\u00A0\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", header_r2.sort);\n} }\nfunction SubmissionGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\")(1, \"tr\");\n i0.ɵɵtemplate(2, SubmissionGridHeaderComponent_ng_template_0_th_2_Template, 4, 2, \"th\", 0);\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.headers);\n} }\nclass SubmissionGridHeaderComponent extends GridHeaderComponent {\n // Map structure where the key is the path and the value is the component\n formComponents;\n load(formio, query, columns) {\n query = query || {};\n return formio.loadForm({ params: query }).then((form) => {\n this.headers = [];\n this.formComponents = new Map();\n this.setComponents(form.components);\n columns ? columns.forEach(column => {\n this.setHeader(this.getHeaderForColumn(column, this.formComponents.get(column.path)));\n }) : this.setComponentsHeaders(this.formComponents);\n return this.headers;\n });\n }\n setHeader(header) {\n this.headers.push(header);\n }\n getHeaderForColumn(column, component, sort) {\n return {\n label: column.label,\n key: column.path,\n sort: sort,\n component: component ? Components.create(component, null, null) : undefined,\n renderCell: column ? column.renderCell : undefined\n };\n }\n getHeaderForComponent(component, path, sort) {\n return {\n label: component.label,\n key: path,\n sort: sort,\n component: component ? Components.create(component, null, null) : undefined,\n };\n }\n // Set headers from components in case if columns are not provided\n setComponentsHeaders(components, sort) {\n components.forEach((component, path) => {\n if (component.input &&\n (!component.hasOwnProperty('tableView') || component.tableView)) {\n this.setHeader(this.getHeaderForComponent(component, path, sort));\n }\n });\n }\n // Map components\n setComponents(components) {\n Utils.eachComponent(components, (component, newPath) => {\n this.formComponents.set(`data.${newPath}`, component);\n });\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵSubmissionGridHeaderComponent_BaseFactory; return function SubmissionGridHeaderComponent_Factory(t) { return (ɵSubmissionGridHeaderComponent_BaseFactory || (ɵSubmissionGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SubmissionGridHeaderComponent)))(t || SubmissionGridHeaderComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridHeaderComponent, selectors: [[\"ng-component\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[4, \"ngFor\", \"ngForOf\"], [3, \"click\"], [\"class\", \"fa bi\", 3, \"ngClass\", 4, \"ngIf\"], [1, \"fa\", \"bi\", 3, \"ngClass\"]], template: function SubmissionGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridHeaderComponent_ng_template_0_Template, 3, 1, \"ng-template\");\n } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridHeaderComponent, [{\n type: Component,\n args: [{ template: \"<ng-template>\\n <thead>\\n <tr>\\n <th *ngFor=\\\"let header of headers\\\">\\n <a (click)=\\\"sort.emit(header)\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridHeaderComponent, { className: \"SubmissionGridHeaderComponent\", filePath: \"submission/SubmissionGridHeader.component.ts\", lineNumber: 13 }); })();","originalLength":13352,"removedExports":[],"renderedExports":["SubmissionGridHeaderComponent"],"renderedLength":5289},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridBody.component.mjs":{"code":"function SubmissionGridBodyComponent_ng_template_0_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"td\", 3);\n} if (rf & 2) {\n const rowHeader_r4 = ctx.$implicit;\n const row_r2 = i0.ɵɵnextContext().$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"innerHTML\", ctx_r2.view(row_r2, rowHeader_r4), i0.ɵɵsanitizeHtml);\n} }\nfunction SubmissionGridBodyComponent_ng_template_0_tr_1_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"tr\", 1);\n i0.ɵɵlistener(\"click\", function SubmissionGridBodyComponent_ng_template_0_tr_1_Template_tr_click_0_listener($event) { const row_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRowSelect($event, row_r2)); });\n i0.ɵɵtemplate(1, SubmissionGridBodyComponent_ng_template_0_tr_1_td_1_Template, 1, 1, \"td\", 2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.header.headers);\n} }\nfunction SubmissionGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tbody\");\n i0.ɵɵtemplate(1, SubmissionGridBodyComponent_ng_template_0_tr_1_Template, 2, 1, \"tr\", 0);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.rows);\n} }\nclass SubmissionGridBodyComponent extends GridBodyComponent {\n load(formio, query) {\n query = query || {};\n return formio.loadSubmissions({ params: query })\n .then((submissions) => this.setRows(query, submissions));\n }\n /**\n * Render the cell data.\n *\n * @param submission\n * @param header\n * @return any\n */\n view(submission, header) {\n const cellValue = get(submission, header.key);\n if (header.renderCell) {\n return header.renderCell(cellValue, header.component);\n }\n else {\n if (header.component) {\n if (header.component.getView) {\n return header.component.getView(cellValue);\n }\n return header.component.asString(cellValue);\n }\n else {\n return cellValue.toString();\n }\n }\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵSubmissionGridBodyComponent_BaseFactory; return function SubmissionGridBodyComponent_Factory(t) { return (ɵSubmissionGridBodyComponent_BaseFactory || (ɵSubmissionGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SubmissionGridBodyComponent)))(t || SubmissionGridBodyComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridBodyComponent, selectors: [[\"ng-component\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[3, \"click\", 4, \"ngFor\", \"ngForOf\"], [3, \"click\"], [3, \"innerHTML\", 4, \"ngFor\", \"ngForOf\"], [3, \"innerHTML\"]], template: function SubmissionGridBodyComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridBodyComponent_ng_template_0_Template, 2, 1, \"ng-template\");\n } }, dependencies: [i1.NgForOf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridBodyComponent, [{\n type: Component,\n args: [{ template: \"<ng-template>\\n <tbody>\\n <tr *ngFor=\\\"let row of rows\\\" (click)=\\\"onRowSelect($event, row)\\\">\\n <td *ngFor=\\\"let rowHeader of header.headers\\\" [innerHTML]=\\\"view(row, rowHeader)\\\"></td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridBodyComponent, { className: \"SubmissionGridBodyComponent\", filePath: \"submission/SubmissionGridBody.component.ts\", lineNumber: 10 }); })();","originalLength":8177,"removedExports":[],"renderedExports":["SubmissionGridBodyComponent"],"renderedLength":3880},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/SubmissionGridFooter.component.mjs":{"code":"function SubmissionGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n i0.ɵɵnextContext(2);\n const defaultFooterTemplate_r1 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r1);\n} }\nfunction SubmissionGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tfoot\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n i0.ɵɵnextContext(2);\n const defaultFooterTemplate_r1 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r1);\n} }\nfunction SubmissionGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridFooterComponent_ng_template_0_thead_0_Template, 2, 1, \"thead\", 2)(1, SubmissionGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 1, \"tfoot\", 2);\n} if (rf & 2) {\n const position_r2 = ctx.position;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", position_r2 === ctx_r2.footerPositions.top);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", position_r2 === ctx_r2.footerPositions.bottom);\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 11);\n i0.ɵɵlistener(\"click\", function SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.createItem.emit(\"form\")); });\n i0.ɵɵelement(1, \"em\", 12);\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.createText, \"\");\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"td\", 6);\n i0.ɵɵtemplate(1, SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, \"button\", 7);\n i0.ɵɵelementStart(2, \"span\", 8)(3, \"span\", 9);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"pagination\", 10);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function SubmissionGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.body.skip, $event) || (ctx_r2.body.skip = $event); return i0.ɵɵresetView($event); });\n i0.ɵɵlistener(\"pageChanged\", function SubmissionGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_6_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.pageChanged.emit($event)); });\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"colSpan\", ctx_r2.header.numHeaders);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"submissionCreate\") && ctx_r2.createText);\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate2(\"\", ctx_r2.body.firstItem, \" - \", ctx_r2.body.lastItem, \"\");\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" / \", ctx_r2.body.total, \" total\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"totalItems\", ctx_r2.body.total)(\"itemsPerPage\", ctx_r2.body.limit);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r2.body.skip);\n i0.ɵɵproperty(\"maxSize\", ctx_r2.size);\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tr\");\n i0.ɵɵtemplate(1, SubmissionGridFooterComponent_ng_template_2_td_1_Template, 7, 9, \"td\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.header);\n} }\nclass SubmissionGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = function SubmissionGridFooterComponent_Factory(t) { return new (t || SubmissionGridFooterComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridFooterComponent, 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\"], [3, \"colSpan\", 4, \"ngIf\"], [3, \"colSpan\"], [\"class\", \"btn btn-primary float-start\", 3, \"click\", 4, \"ngIf\"], [1, \"float-end\", \"item-counter\"], [1, \"page-num\"], [1, \"justify-content-center\", \"pagination-sm\", 3, \"ngModelChange\", \"pageChanged\", \"totalItems\", \"itemsPerPage\", \"ngModel\", \"maxSize\"], [1, \"btn\", \"btn-primary\", \"float-start\", 3, \"click\"], [1, \"fa\", \"fa-plus\", \"bi\", \"bi-plus\"]], template: function SubmissionGridFooterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridFooterComponent_ng_template_0_Template, 2, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, SubmissionGridFooterComponent_ng_template_2_Template, 2, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3.PaginationComponent], 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridFooterComponent, [{\n type: Component,\n args: [{ encapsulation: ViewEncapsulation.None, template: \"<ng-template #footer let-position=\\\"position\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('submissionCreate') && createText\\\" class=\\\"btn btn-primary float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus\\\"></em> {{ createText }}</button>\\n <span class=\\\"float-end item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\"></pagination>\\n </td>\\n </tr>\\n</ng-template>\\n\", 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\"] }]\n }], () => [], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridFooterComponent, { className: \"SubmissionGridFooterComponent\", filePath: \"submission/SubmissionGridFooter.component.ts\", lineNumber: 9 }); })();","originalLength":11917,"removedExports":[],"renderedExports":["SubmissionGridFooterComponent"],"renderedLength":7489},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/submission/index.mjs":{"code":"var SubmissionComponents = {\n header: SubmissionGridHeaderComponent,\n body: SubmissionGridBodyComponent,\n footer: SubmissionGridFooterComponent\n};","originalLength":1488,"removedExports":[],"renderedExports":["default"],"renderedLength":155},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.component.mjs":{"code":"const _c0 = [\"headerTemplate\"];\nconst _c1 = [\"bodyTemplate\"];\nconst _c2 = [\"footerTemplate\"];\nconst _c3 = (a0, a1) => [a0, a1];\nconst _c4 = (a0, a1) => ({ position: a0, label: a1 });\nfunction FormioGridComponent_ng_template_0_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_template_2_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_template_4_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 9);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.footer.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c4, ctx_r0.footerPositions.top, ctx_r0.label));\n} }\nfunction FormioGridComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 10);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.header.template);\n} }\nfunction FormioGridComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 10);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.body.template);\n} }\nfunction FormioGridComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 9);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.footer.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c4, ctx_r0.footerPositions.bottom, ctx_r0.label));\n} }\nclass FormioGridComponent {\n alerts;\n resolver;\n ref;\n footerPosition = GridFooterPositions.bottom;\n src;\n items;\n onForm;\n query;\n refresh;\n columns;\n gridType;\n size;\n components;\n formio;\n label;\n createText;\n isActionAllowed;\n select;\n rowSelect;\n rowAction;\n createItem;\n error;\n headerElement;\n bodyElement;\n footerElement;\n page = 0;\n isLoading = false;\n initialized = false;\n header;\n body;\n footer;\n footerPositions = GridFooterPositions;\n constructor(alerts, resolver, ref) {\n this.alerts = alerts;\n this.resolver = resolver;\n this.ref = ref;\n this.select = this.rowSelect = new EventEmitter();\n this.rowAction = new EventEmitter();\n this.createItem = new EventEmitter();\n this.error = new EventEmitter();\n this.isLoading = true;\n }\n createComponent(property, component) {\n const factory = this.resolver.resolveComponentFactory(component);\n const componentRef = property.createComponent(factory);\n return componentRef.instance;\n }\n loadGrid(src) {\n // If no source is provided, then skip.\n if (!src && !this.formio) {\n return;\n }\n // Do not double load.\n if (this.formio && this.src && (src === this.src)) {\n return;\n }\n if (src) {\n this.src = src;\n this.formio = new FormioPromiseService(this.src, { formOnly: true });\n }\n // Load the header.\n this.header.load(this.formio, {}, this.columns)\n .then(() => this.setPage(0))\n .catch(error => this.onError(error));\n }\n ngOnInit() {\n // Create our components.\n const comps = this.components || ((this.gridType === 'form') ? FormComponents : SubmissionComponents);\n this.header = this.createComponent(this.headerElement, comps.header);\n this.header.actionAllowed = this.actionAllowed.bind(this);\n this.header.sort.subscribe(header => this.sortColumn(header));\n this.body = this.createComponent(this.bodyElement, comps.body);\n this.body.header = this.header;\n this.body.actionAllowed = this.actionAllowed.bind(this);\n this.body.rowSelect.subscribe(row => this.rowSelect.emit(row));\n this.body.rowAction.subscribe(action => this.rowAction.emit(action));\n this.footer = this.createComponent(this.footerElement, comps.footer);\n this.footer.header = this.header;\n this.footer.body = this.body;\n this.footer.actionAllowed = this.actionAllowed.bind(this);\n this.footer.createText = this.createText;\n this.footer.size = this.size;\n this.footer.pageChanged.subscribe(page => this.pageChanged(page));\n this.footer.createItem.subscribe(item => this.createItem.emit(item));\n }\n ngOnChanges(changes) {\n if (this.initialized) {\n if ((changes.src && changes.src.currentValue) ||\n (changes.formio && changes.formio.currentValue)) {\n this.loadGrid(changes.src.currentValue);\n }\n if (changes.items && changes.items.currentValue) {\n this.refreshGrid();\n }\n }\n if (this.footer &&\n (changes.createText && changes.createText.currentValue)) {\n this.footer.createText = changes.createText.currentValue;\n }\n }\n ngAfterViewInit() {\n this.alerts.setAlerts([]);\n this.query = this.query || {};\n if (this.refresh) {\n this.refresh.subscribe((query) => this.refreshGrid(query));\n }\n this.loadGrid(this.src);\n this.initialized = true;\n this.ref.detectChanges();\n }\n actionAllowed(action) {\n if (this.isActionAllowed) {\n return this.isActionAllowed(action);\n }\n else {\n return true;\n }\n }\n onError(error) {\n this.isLoading = false;\n this.error.emit(error);\n if (typeof error === 'string' || error.message) {\n this.alerts.setAlert({\n type: 'danger',\n message: error.message || error\n });\n }\n }\n refreshGrid(query) {\n this.alerts.setAlerts([]);\n this.query = query || this.query;\n if (!this.query.hasOwnProperty('limit')) {\n this.query.limit = 10;\n }\n if (!this.query.hasOwnProperty('skip')) {\n this.query.skip = 0;\n }\n this.isLoading = true;\n this.ref.detectChanges();\n FormioCore.cache = {};\n let loader = null;\n if (this.items) {\n loader = Promise.resolve(this.body.setRows(this.query, this.items));\n }\n else {\n loader = this.body.load(this.formio, this.query);\n }\n return loader.then(info => {\n this.isLoading = false;\n this.initialized = true;\n this.ref.detectChanges();\n }).catch(error => this.onError(error));\n }\n setPage(num = -1) {\n this.page = num !== -1 ? num : this.page;\n if (!this.query.hasOwnProperty('limit')) {\n this.query.limit = 10;\n }\n if (!this.query.hasOwnProperty('skip')) {\n this.query.skip = 0;\n }\n this.query.skip = this.page * this.query.limit;\n this.refreshGrid();\n }\n sortColumn(header) {\n // Reset all other column sorts.\n each(this.header.headers, (col) => {\n if (col.key !== header.key) {\n col.sort = '';\n }\n });\n switch (header.sort) {\n case 'asc':\n header.sort = SortType.DESC;\n this.query.sort = '-' + header.key;\n break;\n case 'desc':\n header.sort = undefined;\n delete this.query.sort;\n break;\n case undefined:\n header.sort = SortType.ASC;\n this.query.sort = header.key;\n break;\n }\n this.refreshGrid();\n }\n pageChanged(page) {\n this.setPage(page.page - 1);\n }\n static ɵfac = function FormioGridComponent_Factory(t) { return new (t || FormioGridComponent)(i0.ɵɵdirectiveInject(i1$1.FormioAlerts), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioGridComponent, selectors: [[\"formio-grid\"]], viewQuery: function FormioGridComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 7, ViewContainerRef);\n i0.ɵɵviewQuery(_c1, 7, ViewContainerRef);\n i0.ɵɵviewQuery(_c2, 7, ViewContainerRef);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerElement = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyElement = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerElement = _t.first);\n } }, inputs: { footerPosition: \"footerPosition\", src: \"src\", items: \"items\", onForm: \"onForm\", query: \"query\", refresh: \"refresh\", columns: \"columns\", gridType: \"gridType\", size: \"size\", components: \"components\", formio: \"formio\", label: \"label\", createText: \"createText\", isActionAllowed: \"isActionAllowed\" }, outputs: { select: \"select\", rowSelect: \"rowSelect\", rowAction: \"rowAction\", createItem: \"createItem\", error: \"error\" }, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 12, consts: [[\"headerTemplate\", \"\"], [\"bodyTemplate\", \"\"], [\"footerTemplate\", \"\"], [1, \"formio-grid\"], [3, \"alerts\"], [1, \"table\", \"table-bordered\", \"table-striped\", \"table-hover\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [3, \"isLoading\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [3, \"ngTemplateOutlet\"]], template: function FormioGridComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormioGridComponent_ng_template_0_Template, 0, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, FormioGridComponent_ng_template_2_Template, 0, 0, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor)(4, FormioGridComponent_ng_template_4_Template, 0, 0, \"ng-template\", null, 2, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementStart(6, \"div\", 3);\n i0.ɵɵelement(7, \"formio-alerts\", 4);\n i0.ɵɵelementStart(8, \"table\", 5);\n i0.ɵɵtemplate(9, FormioGridComponent_ng_container_9_Template, 1, 5, \"ng-container\", 6)(10, FormioGridComponent_ng_container_10_Template, 1, 1, \"ng-container\", 7);\n i0.ɵɵelement(11, \"formio-loader\", 8);\n i0.ɵɵtemplate(12, FormioGridComponent_ng_container_12_Template, 1, 1, \"ng-container\", 7)(13, FormioGridComponent_ng_container_13_Template, 1, 5, \"ng-container\", 6);\n i0.ɵɵelementEnd()();\n } if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"alerts\", ctx.alerts);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx.initialized && i0.ɵɵpureFunction2(6, _c3, ctx.footerPositions.top, ctx.footerPositions.both).indexOf(ctx.footerPosition) !== -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"isLoading\", ctx.isLoading);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized && i0.ɵɵpureFunction2(9, _c3, ctx.footerPositions.bottom, ctx.footerPositions.both).indexOf(ctx.footerPosition) !== -1);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i1$1.FormioLoaderComponent, i1$1.FormioAlertsComponent], styles: [\".formio-grid[_ngcontent-%COMP%]{position:relative;width:100%}.grid-refresh[_ngcontent-%COMP%]{height:400px;width:100%}\"] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioGridComponent, [{\n type: Component,\n args: [{ selector: 'formio-grid', template: \"<ng-template #headerTemplate></ng-template>\\n<ng-template #bodyTemplate></ng-template>\\n<ng-template #footerTemplate></ng-template>\\n<div class=\\\"formio-grid\\\">\\n <formio-alerts [alerts]=\\\"alerts\\\"></formio-alerts>\\n <table class=\\\"table table-bordered table-striped table-hover\\\">\\n <ng-container *ngIf=\\\"initialized && [footerPositions.top, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.top, label: label }\\\">\\n </ng-container>\\n <ng-container *ngIf=\\\"initialized\\\"\\n [ngTemplateOutlet]=\\\"header.template\\\"></ng-container>\\n <formio-loader [isLoading]=\\\"isLoading\\\"></formio-loader>\\n <ng-container *ngIf=\\\"initialized\\\" [ngTemplateOutlet]=\\\"body.template\\\"></ng-container>\\n <ng-container *ngIf=\\\"initialized && [footerPositions.bottom, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.bottom, label: label }\\\">\\n </ng-container>\\n </table>\\n</div>\\n\", styles: [\".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\\n\"] }]\n }], () => [{ type: i1$1.FormioAlerts }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }], { footerPosition: [{\n type: Input\n }], src: [{\n type: Input\n }], items: [{\n type: Input\n }], onForm: [{\n type: Input\n }], query: [{\n type: Input\n }], refresh: [{\n type: Input\n }], columns: [{\n type: Input\n }], gridType: [{\n type: Input\n }], size: [{\n type: Input\n }], components: [{\n type: Input\n }], formio: [{\n type: Input\n }], label: [{\n type: Input\n }], createText: [{\n type: Input\n }], isActionAllowed: [{\n type: Input\n }], select: [{\n type: Output\n }], rowSelect: [{\n type: Output\n }], rowAction: [{\n type: Output\n }], createItem: [{\n type: Output\n }], error: [{\n type: Output\n }], headerElement: [{\n type: ViewChild,\n args: ['headerTemplate', { read: ViewContainerRef, static: true }]\n }], bodyElement: [{\n type: ViewChild,\n args: ['bodyTemplate', { read: ViewContainerRef, static: true }]\n }], footerElement: [{\n type: ViewChild,\n args: ['footerTemplate', { read: ViewContainerRef, static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioGridComponent, { className: \"FormioGridComponent\", filePath: \"grid.component.ts\", lineNumber: 32 }); })();","originalLength":38558,"removedExports":[],"renderedExports":["FormioGridComponent"],"renderedLength":14459},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/grid.module.mjs":{"code":"class FormioGrid {\n static ɵfac = function FormioGrid_Factory(t) { return new (t || FormioGrid)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioGrid });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [\n FormioAlerts,\n GridService\n ], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioGrid, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()\n ],\n declarations: [\n FormioGridComponent,\n FormGridHeaderComponent,\n FormGridBodyComponent,\n FormGridFooterComponent,\n SubmissionGridHeaderComponent,\n SubmissionGridBodyComponent,\n SubmissionGridFooterComponent,\n GridHeaderComponent,\n GridBodyComponent,\n GridFooterComponent,\n TimeSince\n ],\n exports: [\n FormioGridComponent\n ],\n providers: [\n FormioAlerts,\n GridService\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioGrid, { declarations: [FormioGridComponent,\n FormGridHeaderComponent,\n FormGridBodyComponent,\n FormGridFooterComponent,\n SubmissionGridHeaderComponent,\n SubmissionGridBodyComponent,\n SubmissionGridFooterComponent,\n GridHeaderComponent,\n GridBodyComponent,\n GridFooterComponent,\n TimeSince], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule, i3.PaginationModule], exports: [FormioGridComponent] }); })();","originalLength":8359,"removedExports":[],"renderedExports":["FormioGrid"],"renderedLength":2194},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/index.mjs":{"code":"","originalLength":2907,"removedExports":[],"renderedExports":[],"renderedLength":0},"/home/lanedoughtie/formio/angular/dist/angular-formio/esm2022/grid/formio-angular-grid.mjs":{"code":"/**\n * Generated bundle index. Do not edit.\n */","originalLength":523,"removedExports":[],"renderedExports":[],"renderedLength":47}},"referencedFiles":[],"code":"import * as i0 from '@angular/core';\nimport { EventEmitter, TemplateRef, Component, Input, Output, ViewChild, Injectable, Pipe, ViewChildren, ViewEncapsulation, ViewContainerRef, NgModule } from '@angular/core';\nimport * as i1 from '@angular/common';\nimport { CommonModule } from '@angular/common';\nimport * as i2$1 from '@angular/forms';\nimport { FormsModule } from '@angular/forms';\nimport * as i2 from '@angular/router';\nimport { RouterModule } from '@angular/router';\nimport * as i1$1 from '@formio/angular';\nimport { FormioPromiseService, FormioAlerts, FormioModule } from '@formio/angular';\nimport { each, clone, get } from 'lodash';\nimport { Components, Utils, FormioCore } from '@formio/js';\nimport { Tooltip } from 'bootstrap';\nimport * as i3 from 'ngx-bootstrap/pagination';\nimport { PaginationModule } from 'ngx-bootstrap/pagination';\n\nvar GridFooterPositions;\n(function (GridFooterPositions) {\n GridFooterPositions[GridFooterPositions[\"bottom\"] = 0] = \"bottom\";\n GridFooterPositions[GridFooterPositions[\"top\"] = 1] = \"top\";\n GridFooterPositions[GridFooterPositions[\"both\"] = 2] = \"both\";\n})(GridFooterPositions || (GridFooterPositions = {}));\n\nclass GridHeaderComponent {\n actionAllowed;\n sort;\n template;\n headers;\n constructor() {\n this.headers = [];\n this.sort = new EventEmitter();\n }\n get numHeaders() {\n return this.headers.length;\n }\n load(formio, query, columns) {\n return Promise.resolve([]);\n }\n static ɵfac = function GridHeaderComponent_Factory(t) { return new (t || GridHeaderComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridHeaderComponent, selectors: [[\"ng-component\"]], viewQuery: function GridHeaderComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, inputs: { actionAllowed: \"actionAllowed\" }, outputs: { sort: \"sort\" }, decls: 0, vars: 0, template: function GridHeaderComponent_Template(rf, ctx) { }, encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridHeaderComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [], { actionAllowed: [{\n type: Input\n }], sort: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridHeaderComponent, { className: \"GridHeaderComponent\", filePath: \"GridHeaderComponent.ts\", lineNumber: 8 }); })();\n\nvar SortType;\n(function (SortType) {\n SortType[\"ASC\"] = \"asc\";\n SortType[\"DESC\"] = \"desc\";\n})(SortType || (SortType = {}));\n\nconst _c0$4 = (a0, a1) => ({ \"fa-caret-up bi-caret-up\": a0, \"fa-caret-down bi-caret-down\": a1 });\nfunction FormGridHeaderComponent_ng_template_0_span_7_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 5);\n} if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction2(1, _c0$4, ctx_r1.header.sort === \"asc\", ctx_r1.header.sort === \"desc\"));\n} }\nfunction FormGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"thead\")(1, \"tr\")(2, \"th\")(3, \"div\", 0)(4, \"div\", 1)(5, \"a\", 2);\n i0.ɵɵlistener(\"click\", function FormGridHeaderComponent_ng_template_0_Template_a_click_5_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.sort.emit(ctx_r1.header)); });\n i0.ɵɵtext(6);\n i0.ɵɵtemplate(7, FormGridHeaderComponent_ng_template_0_span_7_Template, 1, 4, \"span\", 3);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(8, \"div\", 4);\n i0.ɵɵtext(9, \" Operations \");\n i0.ɵɵelementEnd()()()()();\n} if (rf & 2) {\n const ctx_r1 = i0.ɵɵnextContext();\n i0.ɵɵadvance(6);\n i0.ɵɵtextInterpolate1(\" \", ctx_r1.header.label, \"\\u00A0\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r1.header.sort);\n} }\nclass FormGridHeaderComponent extends GridHeaderComponent {\n header;\n load(formio) {\n this.header = {\n label: 'Title',\n key: 'title',\n sort: SortType.ASC\n };\n this.headers = [this.header];\n return Promise.resolve(this.headers);\n }\n get numHeaders() {\n return 2;\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridHeaderComponent_BaseFactory; return function FormGridHeaderComponent_Factory(t) { return (ɵFormGridHeaderComponent_BaseFactory || (ɵFormGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridHeaderComponent)))(t || FormGridHeaderComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridHeaderComponent, selectors: [[\"form-grid-header\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[1, \"row\"], [1, \"col-sm-9\"], [2, \"cursor\", \"pointer\", 3, \"click\"], [\"class\", \"fa bi\", 3, \"ngClass\", 4, \"ngIf\"], [1, \"col-sm-3\", \"d-flex\", \"justify-content-end\"], [1, \"fa\", \"bi\", 3, \"ngClass\"]], template: function FormGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridHeaderComponent_ng_template_0_Template, 10, 2, \"ng-template\");\n } }, dependencies: [i1.NgClass, i1.NgIf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridHeaderComponent, [{\n type: Component,\n args: [{ selector: 'form-grid-header', template: \"<ng-template>\\n <thead>\\n <tr>\\n <th>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a (click)=\\\"sort.emit(header)\\\" style=\\\"cursor: pointer\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end\\\">\\n Operations\\n </div>\\n </div>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridHeaderComponent, { className: \"FormGridHeaderComponent\", filePath: \"form/FormGridHeader.component.ts\", lineNumber: 9 }); })();\n\nclass GridService {\n rows;\n constructor() { }\n setRows(rows) {\n this.rows = rows;\n }\n getFormsPerPage() {\n return this.rows?.length;\n }\n static ɵfac = function GridService_Factory(t) { return new (t || GridService)(); };\n static ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: GridService, factory: GridService.ɵfac });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridService, [{\n type: Injectable\n }], () => [], null); })();\n\nclass GridBodyComponent {\n service;\n header;\n actionAllowed;\n rowSelect;\n rowAction;\n template;\n rows;\n loading;\n firstItem = 0;\n lastItem = 0;\n skip = 0;\n limit = 0;\n total = 0;\n constructor(service) {\n this.service = service;\n this.rowSelect = new EventEmitter();\n this.rowAction = new EventEmitter();\n this.loading = true;\n }\n load(formio, query) {\n return formio.loadForm(query);\n }\n onRowSelect(event, row) {\n event.preventDefault();\n this.rowSelect.emit(row);\n }\n onRowAction(event, row, action) {\n event.preventDefault();\n this.rowAction.emit({ row, action });\n }\n /**\n * Set the rows for this Grid body.\n *\n * @param query\n * @param items\n * @return any\n */\n setRows(query, items) {\n this.rows = [];\n if (typeof items !== 'object') {\n this.firstItem = 0;\n this.lastItem = 0;\n this.total = 0;\n this.skip = 0;\n this.loading = false;\n this.service.setRows(this.rows);\n return this.rows;\n }\n this.firstItem = query.skip + 1;\n this.lastItem = this.firstItem + items.length - 1;\n if (this.lastItem === 0) {\n this.firstItem = 0;\n }\n this.total = items.serverCount;\n this.limit = query.limit;\n this.skip = Math.floor(items.skip / query.limit) + 1;\n this.loading = false;\n each(items, (item) => {\n this.rows.push(clone(item));\n });\n this.service.setRows(this.rows);\n return this.rows;\n }\n static ɵfac = function GridBodyComponent_Factory(t) { return new (t || GridBodyComponent)(i0.ɵɵdirectiveInject(GridService)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridBodyComponent, selectors: [[\"ng-component\"]], viewQuery: function GridBodyComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, inputs: { header: \"header\", actionAllowed: \"actionAllowed\" }, outputs: { rowSelect: \"rowSelect\", rowAction: \"rowAction\" }, decls: 0, vars: 0, template: function GridBodyComponent_Template(rf, ctx) { }, encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridBodyComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [{ type: GridService }], { header: [{\n type: Input\n }], actionAllowed: [{\n type: Input\n }], rowSelect: [{\n type: Output\n }], rowAction: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridBodyComponent, { className: \"GridBodyComponent\", filePath: \"GridBodyComponent.ts\", lineNumber: 10 }); })();\n\nclass TimeSince {\n transform(date) {\n const elapsed = (new Date().getTime() - new Date(date).getTime()) / 1000;\n let interval;\n if (interval >= 1) {\n return interval + ' year' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 2592000);\n if (interval >= 1) {\n return interval + ' month' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 86400);\n if (interval >= 1) {\n return interval + ' day' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 3600);\n if (interval >= 1) {\n return interval + ' hour' + (interval > 1 ? 's' : '');\n }\n interval = Math.floor(elapsed / 60);\n if (interval >= 1) {\n return interval + ' minute' + (interval > 1 ? 's' : '');\n }\n return Math.floor(elapsed) + ' second' + (elapsed > 1 ? 's' : '');\n }\n static ɵfac = function TimeSince_Factory(t) { return new (t || TimeSince)(); };\n static ɵpipe = /*@__PURE__*/ i0.ɵɵdefinePipe({ name: \"timeSince\", type: TimeSince, pure: true });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(TimeSince, [{\n type: Pipe,\n args: [{\n name: 'timeSince'\n }]\n }], null, null); })();\n\nconst _c0$3 = [\"create\"];\nconst _c1$1 = [\"view\"];\nconst _c2$1 = [\"edit\"];\nconst _c3$1 = [\"permissions\"];\nconst _c4$1 = [\"delete\"];\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template(rf, ctx) { if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 14, 0);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r4); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"view\")); });\n i0.ɵɵelement(2, \"span\", 15);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 16, 1);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r5); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"submission\")); });\n i0.ɵɵelement(2, \"span\", 17);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template(rf, ctx) { if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 16, 2);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r6); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"edit\")); });\n i0.ɵɵelement(2, \"span\", 18);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template(rf, ctx) { if (rf & 1) {\n const _r7 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 19, 3);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template_button_click_0_listener($event) { i0.ɵɵrestoreView(_r7); const form_r2 = i0.ɵɵnextContext().$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowAction($event, form_r2, \"delete\")); });\n i0.ɵɵelement(2, \"span\", 20);\n i0.ɵɵelementEnd();\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"tr\")(1, \"td\")(2, \"div\", 6)(3, \"div\", 7)(4, \"a\", 8);\n i0.ɵɵlistener(\"click\", function FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template_a_click_4_listener($event) { const form_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.onRowSelect($event, form_r2)); });\n i0.ɵɵelementStart(5, \"h5\");\n i0.ɵɵtext(6);\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(7, \"div\", 9);\n i0.ɵɵtext(8);\n i0.ɵɵpipe(9, \"timeSince\");\n i0.ɵɵelementEnd()();\n i0.ɵɵelementStart(10, \"div\", 10);\n i0.ɵɵtemplate(11, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_11_Template, 3, 0, \"button\", 11);\n i0.ɵɵtext(12, \"\\u00A0 \");\n i0.ɵɵtemplate(13, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_13_Template, 3, 0, \"button\", 12);\n i0.ɵɵtext(14, \"\\u00A0 \");\n i0.ɵɵtemplate(15, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_15_Template, 3, 0, \"button\", 12);\n i0.ɵɵtext(16, \"\\u00A0 \");\n i0.ɵɵtemplate(17, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_button_17_Template, 3, 0, \"button\", 13);\n i0.ɵɵelementEnd()()()();\n} if (rf & 2) {\n const form_r2 = ctx.$implicit;\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(4);\n i0.ɵɵpropertyInterpolate1(\"routerLink\", \"\", form_r2._id, \"/view\");\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate(form_r2.title);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" Updated \", i0.ɵɵpipeBind1(9, 8, form_r2.modified), \" ago \");\n i0.ɵɵadvance(3);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formView\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formSubmission\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formEdit\"));\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"formDelete\"));\n} }\nfunction FormGridBodyComponent_ng_template_0_tbody_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tbody\");\n i0.ɵɵtemplate(1, FormGridBodyComponent_ng_template_0_tbody_0_tr_1_Template, 18, 10, \"tr\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.rows);\n} }\nfunction FormGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_tbody_0_Template, 2, 1, \"tbody\", 4);\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.rows);\n} }\nclass FormGridBodyComponent extends GridBodyComponent {\n createBtns;\n viewBtns;\n editBtns;\n permissionsBtns;\n deleteBtns;\n tooltips = [];\n load(formio, query) {\n query = query || {};\n return formio.loadForms({ params: query })\n .then((forms) => this.setRows(query, forms))\n .then(() => this.attachTooltips());\n }\n attachTooltips() {\n this.createBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Create' }));\n });\n this.editBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Edit' }));\n });\n this.viewBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'View' }));\n });\n this.permissionsBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Permissions' }));\n });\n this.deleteBtns.forEach((el) => {\n this.tooltips.push(new Tooltip(el.nativeElement, { title: 'Delete' }));\n });\n }\n ngOnDestroy() {\n this.tooltips.forEach((tootip) => tootip.dispose());\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵFormGridBodyComponent_BaseFactory; return function FormGridBodyComponent_Factory(t) { return (ɵFormGridBodyComponent_BaseFactory || (ɵFormGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(FormGridBodyComponent)))(t || FormGridBodyComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormGridBodyComponent, selectors: [[\"form-grid-body\"]], viewQuery: function FormGridBodyComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(_c0$3, 5);\n i0.ɵɵviewQuery(_c1$1, 5);\n i0.ɵɵviewQuery(_c2$1, 5);\n i0.ɵɵviewQuery(_c3$1, 5);\n i0.ɵɵviewQuery(_c4$1, 5);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.createBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.viewBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.editBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.permissionsBtns = _t);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.deleteBtns = _t);\n } }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[\"create\", \"\"], [\"view\", \"\"], [\"edit\", \"\"], [\"delete\", \"\"], [4, \"ngIf\"], [4, \"ngFor\", \"ngForOf\"], [1, \"row\"], [1, \"col-sm-9\"], [1, \"text-decoration-none\", 3, \"click\", \"routerLink\"], [1, \"form-updated\", \"small\", \"text-muted\"], [1, \"col-sm-3\", \"d-flex\", \"justify-content-end\", \"align-items-center\"], [\"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-secondary 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\", \"bi\", \"bi-pencil\"], [1, \"btn\", \"btn-outline-secondary\", \"btn-sm\", \"form-btn\", 3, \"click\"], [1, \"fa\", \"fa-list-alt\", \"bi\", \"bi-table\"], [1, \"fa\", \"fa-edit\", \"bi\", \"bi-pencil-square\"], [\"title\", \"Delete form\", 1, \"btn\", \"btn-secondary\", \"btn-sm\", \"form-btn\", \"form-btn-delete\", 3, \"click\"], [1, \"fa\", \"fa-trash\", \"bi\", \"bi-trash\"]], template: function FormGridBodyComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridBodyComponent_ng_template_0_Template, 1, 1, \"ng-template\");\n } }, dependencies: [i1.NgForOf, i1.NgIf, i2.RouterLink, TimeSince], styles: [\".form-btn[_ngcontent-%COMP%]{font-size:.75rem;margin:2px 0}\"] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridBodyComponent, [{\n type: Component,\n args: [{ selector: 'form-grid-body', template: \"<ng-template>\\n <tbody *ngIf=\\\"rows\\\">\\n <tr *ngFor=\\\"let form of rows\\\">\\n <td>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a routerLink=\\\"{{form._id}}/view\\\" (click)=\\\"onRowSelect($event, form)\\\" class=\\\"text-decoration-none\\\"><h5>{{ form.title }}</h5></a>\\n <div class=\\\"form-updated small text-muted\\\">\\n Updated {{ form.modified | timeSince }} ago\\n </div>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end align-items-center\\\">\\n <button #create *ngIf=\\\"actionAllowed('formView')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn form-btn-use\\\" (click)=\\\"onRowAction($event, form, 'view')\\\"><span class=\\\"fa fa-pencil bi bi-pencil\\\"></span></button>&nbsp;\\n <button #view *ngIf=\\\"actionAllowed('formSubmission')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'submission')\\\"><span class=\\\"fa fa-list-alt bi bi-table\\\"></span></button>&nbsp;\\n <button #edit *ngIf=\\\"actionAllowed('formEdit')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'edit')\\\"><span class=\\\"fa fa-edit bi bi-pencil-square\\\"></span></button>&nbsp;\\n <button #delete *ngIf=\\\"actionAllowed('formDelete')\\\" class=\\\"btn btn-secondary btn-sm form-btn form-btn-delete\\\" (click)=\\\"onRowAction($event, form, 'delete')\\\" title=\\\"Delete form\\\"><span class=\\\"fa fa-trash bi bi-trash\\\"></span></button>\\n </div>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\", styles: [\".form-btn{font-size:.75rem;margin:2px 0}\\n\"] }]\n }], null, { createBtns: [{\n type: ViewChildren,\n args: ['create']\n }], viewBtns: [{\n type: ViewChildren,\n args: ['view']\n }], editBtns: [{\n type: ViewChildren,\n args: ['edit']\n }], permissionsBtns: [{\n type: ViewChildren,\n args: ['permissions']\n }], deleteBtns: [{\n type: ViewChildren,\n args: ['delete']\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridBodyComponent, { className: \"FormGridBodyComponent\", filePath: \"form/FormGridBody.component.ts\", lineNumber: 10 }); })();\n\nclass GridFooterComponent {\n header;\n body;\n createText;\n size;\n actionAllowed;\n pageChanged;\n createItem;\n template;\n footerPositions = GridFooterPositions;\n constructor() {\n this.pageChanged = new EventEmitter();\n this.createItem = new EventEmitter();\n }\n static ɵfac = function GridFooterComponent_Factory(t) { return new (t || GridFooterComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: GridFooterComponent, selectors: [[\"ng-component\"]], viewQuery: function GridFooterComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(TemplateRef, 7);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.template = _t.first);\n } }, 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(GridFooterComponent, [{\n type: Component,\n args: [{\n template: ''\n }]\n }], () => [], { header: [{\n type: Input\n }], body: [{\n type: Input\n }], createText: [{\n type: Input\n }], size: [{\n type: Input\n }], actionAllowed: [{\n type: Input\n }], pageChanged: [{\n type: Output\n }], createItem: [{\n type: Output\n }], template: [{\n type: ViewChild,\n args: [TemplateRef, { static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(GridFooterComponent, { className: \"GridFooterComponent\", filePath: \"GridFooterComponent.ts\", lineNumber: 9 }); })();\n\nconst _c0$2 = a0 => ({ label: a0 });\nfunction FormGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const label_r1 = i0.ɵɵnextContext().label;\n i0.ɵɵnextContext();\n const defaultFooterTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r2)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c0$2, label_r1));\n} }\nfunction FormGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tfoot\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const label_r1 = i0.ɵɵnextContext().label;\n i0.ɵɵnextContext();\n const defaultFooterTemplate_r2 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r2)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction1(2, _c0$2, label_r1));\n} }\nfunction FormGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_thead_0_Template, 2, 4, \"thead\", 2)(1, FormGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 4, \"tfoot\", 2);\n} if (rf & 2) {\n const position_r3 = ctx.position;\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", position_r3 === ctx_r3.footerPositions.top);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", position_r3 === ctx_r3.footerPositions.bottom);\n} }\nfunction FormGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {\n const _r6 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 12);\n i0.ɵɵlistener(\"click\", function FormGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r6); const ctx_r3 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r3.createItem.emit(\"form\")); });\n i0.ɵɵelement(1, \"em\", 13);\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", ctx_r3.createText, \"\");\n} }\nfunction FormGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"td\", 6);\n i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, \"button\", 7);\n i0.ɵɵelementStart(2, \"span\", 8)(3, \"span\", 9);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"span\", 10)(7, \"pagination\", 11);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r3.body.skip, $event) || (ctx_r3.body.skip = $event); return i0.ɵɵresetView($event); });\n i0.ɵɵlistener(\"pageChanged\", function FormGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_7_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r3 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r3.pageChanged.emit($event)); });\n i0.ɵɵelementEnd()()();\n} if (rf & 2) {\n const label_r7 = i0.ɵɵnextContext().label;\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"colSpan\", ctx_r3.header.numHeaders);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r3.actionAllowed(\"formCreate\"));\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate2(\"\", ctx_r3.body.firstItem, \" - \", ctx_r3.body.lastItem, \"\");\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" / \", ctx_r3.body.total, \" total\");\n i0.ɵɵadvance();\n i0.ɵɵattribute(\"aria-label\", label_r7);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"totalItems\", ctx_r3.body.total)(\"itemsPerPage\", ctx_r3.body.limit);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r3.body.skip);\n i0.ɵɵproperty(\"maxSize\", ctx_r3.size);\n} }\nfunction FormGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tr\");\n i0.ɵɵtemplate(1, FormGridFooterComponent_ng_template_2_td_1_Template, 8, 10, \"td\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r3 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r3.header);\n} }\nclass FormGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.createText) {\n this.createText = 'Create Form';\n }\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = function FormGridFooterComponent_Factory(t) { return new (t || FormGridFooterComponent)(); };\n static ɵ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 float-start\", 3, \"click\", 4, \"ngIf\"], [1, \"pull-right\", \"item-counter\"], [1, \"page-num\"], [\"role\", \"navigation\"], [1, \"justify-content-center\", \"pagination-sm\", 3, \"ngModelChange\", \"pageChanged\", \"totalItems\", \"itemsPerPage\", \"ngModel\", \"maxSize\"], [1, \"btn\", \"btn-primary\", \"form-btn-use\", \"float-start\", 3, \"click\"], [1, \"fa\", \"fa-plus\", \"bi\", \"bi-plus-lg\"]], template: function FormGridFooterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormGridFooterComponent_ng_template_0_Template, 2, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, FormGridFooterComponent_ng_template_2_Template, 2, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3.PaginationComponent], 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormGridFooterComponent, [{\n type: Component,\n args: [{ encapsulation: ViewEncapsulation.None, template: \"<ng-template #footer let-position=\\\"position\\\" let-label=\\\"label\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template let-label=\\\"label\\\" #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('formCreate')\\\" class=\\\"btn btn-primary form-btn-use float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus-lg\\\"></em> {{ createText }}</button>\\n <span class=\\\"pull-right item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <span [attr.aria-label]=\\\"label\\\" role=\\\"navigation\\\">\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\">\\n </pagination>\\n </span>\\n </td>\\n </tr>\\n</ng-template>\\n\", 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\"] }]\n }], () => [], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormGridFooterComponent, { className: \"FormGridFooterComponent\", filePath: \"form/FormGridFooter.component.ts\", lineNumber: 9 }); })();\n\nvar FormComponents = {\n header: FormGridHeaderComponent,\n body: FormGridBodyComponent,\n footer: FormGridFooterComponent\n};\n\nconst _c0$1 = (a0, a1) => ({ \"fa-caret-up bi-caret-up\": a0, \"fa-caret-down bi-caret-down\": a1 });\nfunction SubmissionGridHeaderComponent_ng_template_0_th_2_span_3_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"span\", 3);\n} if (rf & 2) {\n const header_r2 = i0.ɵɵnextContext().$implicit;\n i0.ɵɵproperty(\"ngClass\", i0.ɵɵpureFunction2(1, _c0$1, header_r2.sort === \"asc\", header_r2.sort === \"desc\"));\n} }\nfunction SubmissionGridHeaderComponent_ng_template_0_th_2_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"th\")(1, \"a\", 1);\n i0.ɵɵlistener(\"click\", function SubmissionGridHeaderComponent_ng_template_0_th_2_Template_a_click_1_listener() { const header_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.sort.emit(header_r2)); });\n i0.ɵɵtext(2);\n i0.ɵɵtemplate(3, SubmissionGridHeaderComponent_ng_template_0_th_2_span_3_Template, 1, 4, \"span\", 2);\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const header_r2 = ctx.$implicit;\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", header_r2.label, \"\\u00A0\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", header_r2.sort);\n} }\nfunction SubmissionGridHeaderComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\")(1, \"tr\");\n i0.ɵɵtemplate(2, SubmissionGridHeaderComponent_ng_template_0_th_2_Template, 4, 2, \"th\", 0);\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.headers);\n} }\nclass SubmissionGridHeaderComponent extends GridHeaderComponent {\n // Map structure where the key is the path and the value is the component\n formComponents;\n load(formio, query, columns) {\n query = query || {};\n return formio.loadForm({ params: query }).then((form) => {\n this.headers = [];\n this.formComponents = new Map();\n this.setComponents(form.components);\n columns ? columns.forEach(column => {\n this.setHeader(this.getHeaderForColumn(column, this.formComponents.get(column.path)));\n }) : this.setComponentsHeaders(this.formComponents);\n return this.headers;\n });\n }\n setHeader(header) {\n this.headers.push(header);\n }\n getHeaderForColumn(column, component, sort) {\n return {\n label: column.label,\n key: column.path,\n sort: sort,\n component: component ? Components.create(component, null, null) : undefined,\n renderCell: column ? column.renderCell : undefined\n };\n }\n getHeaderForComponent(component, path, sort) {\n return {\n label: component.label,\n key: path,\n sort: sort,\n component: component ? Components.create(component, null, null) : undefined,\n };\n }\n // Set headers from components in case if columns are not provided\n setComponentsHeaders(components, sort) {\n components.forEach((component, path) => {\n if (component.input &&\n (!component.hasOwnProperty('tableView') || component.tableView)) {\n this.setHeader(this.getHeaderForComponent(component, path, sort));\n }\n });\n }\n // Map components\n setComponents(components) {\n Utils.eachComponent(components, (component, newPath) => {\n this.formComponents.set(`data.${newPath}`, component);\n });\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵSubmissionGridHeaderComponent_BaseFactory; return function SubmissionGridHeaderComponent_Factory(t) { return (ɵSubmissionGridHeaderComponent_BaseFactory || (ɵSubmissionGridHeaderComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SubmissionGridHeaderComponent)))(t || SubmissionGridHeaderComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridHeaderComponent, selectors: [[\"ng-component\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[4, \"ngFor\", \"ngForOf\"], [3, \"click\"], [\"class\", \"fa bi\", 3, \"ngClass\", 4, \"ngIf\"], [1, \"fa\", \"bi\", 3, \"ngClass\"]], template: function SubmissionGridHeaderComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridHeaderComponent_ng_template_0_Template, 3, 1, \"ng-template\");\n } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridHeaderComponent, [{\n type: Component,\n args: [{ template: \"<ng-template>\\n <thead>\\n <tr>\\n <th *ngFor=\\\"let header of headers\\\">\\n <a (click)=\\\"sort.emit(header)\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridHeaderComponent, { className: \"SubmissionGridHeaderComponent\", filePath: \"submission/SubmissionGridHeader.component.ts\", lineNumber: 13 }); })();\n\nfunction SubmissionGridBodyComponent_ng_template_0_tr_1_td_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelement(0, \"td\", 3);\n} if (rf & 2) {\n const rowHeader_r4 = ctx.$implicit;\n const row_r2 = i0.ɵɵnextContext().$implicit;\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"innerHTML\", ctx_r2.view(row_r2, rowHeader_r4), i0.ɵɵsanitizeHtml);\n} }\nfunction SubmissionGridBodyComponent_ng_template_0_tr_1_Template(rf, ctx) { if (rf & 1) {\n const _r1 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"tr\", 1);\n i0.ɵɵlistener(\"click\", function SubmissionGridBodyComponent_ng_template_0_tr_1_Template_tr_click_0_listener($event) { const row_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.onRowSelect($event, row_r2)); });\n i0.ɵɵtemplate(1, SubmissionGridBodyComponent_ng_template_0_tr_1_td_1_Template, 1, 1, \"td\", 2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.header.headers);\n} }\nfunction SubmissionGridBodyComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tbody\");\n i0.ɵɵtemplate(1, SubmissionGridBodyComponent_ng_template_0_tr_1_Template, 2, 1, \"tr\", 0);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngForOf\", ctx_r2.rows);\n} }\nclass SubmissionGridBodyComponent extends GridBodyComponent {\n load(formio, query) {\n query = query || {};\n return formio.loadSubmissions({ params: query })\n .then((submissions) => this.setRows(query, submissions));\n }\n /**\n * Render the cell data.\n *\n * @param submission\n * @param header\n * @return any\n */\n view(submission, header) {\n const cellValue = get(submission, header.key);\n if (header.renderCell) {\n return header.renderCell(cellValue, header.component);\n }\n else {\n if (header.component) {\n if (header.component.getView) {\n return header.component.getView(cellValue);\n }\n return header.component.asString(cellValue);\n }\n else {\n return cellValue.toString();\n }\n }\n }\n static ɵfac = /*@__PURE__*/ (() => { let ɵSubmissionGridBodyComponent_BaseFactory; return function SubmissionGridBodyComponent_Factory(t) { return (ɵSubmissionGridBodyComponent_BaseFactory || (ɵSubmissionGridBodyComponent_BaseFactory = i0.ɵɵgetInheritedFactory(SubmissionGridBodyComponent)))(t || SubmissionGridBodyComponent); }; })();\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridBodyComponent, selectors: [[\"ng-component\"]], features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 0, consts: [[3, \"click\", 4, \"ngFor\", \"ngForOf\"], [3, \"click\"], [3, \"innerHTML\", 4, \"ngFor\", \"ngForOf\"], [3, \"innerHTML\"]], template: function SubmissionGridBodyComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridBodyComponent_ng_template_0_Template, 2, 1, \"ng-template\");\n } }, dependencies: [i1.NgForOf], encapsulation: 2 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridBodyComponent, [{\n type: Component,\n args: [{ template: \"<ng-template>\\n <tbody>\\n <tr *ngFor=\\\"let row of rows\\\" (click)=\\\"onRowSelect($event, row)\\\">\\n <td *ngFor=\\\"let rowHeader of header.headers\\\" [innerHTML]=\\\"view(row, rowHeader)\\\"></td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\" }]\n }], null, null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridBodyComponent, { className: \"SubmissionGridBodyComponent\", filePath: \"submission/SubmissionGridBody.component.ts\", lineNumber: 10 }); })();\n\nfunction SubmissionGridFooterComponent_ng_template_0_thead_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"thead\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n i0.ɵɵnextContext(2);\n const defaultFooterTemplate_r1 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r1);\n} }\nfunction SubmissionGridFooterComponent_ng_template_0_tfoot_1_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tfoot\", 3);\n i0.ɵɵelementContainer(1, 4);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n i0.ɵɵnextContext(2);\n const defaultFooterTemplate_r1 = i0.ɵɵreference(3);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngTemplateOutlet\", defaultFooterTemplate_r1);\n} }\nfunction SubmissionGridFooterComponent_ng_template_0_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridFooterComponent_ng_template_0_thead_0_Template, 2, 1, \"thead\", 2)(1, SubmissionGridFooterComponent_ng_template_0_tfoot_1_Template, 2, 1, \"tfoot\", 2);\n} if (rf & 2) {\n const position_r2 = ctx.position;\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngIf\", position_r2 === ctx_r2.footerPositions.top);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", position_r2 === ctx_r2.footerPositions.bottom);\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template(rf, ctx) { if (rf & 1) {\n const _r5 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"button\", 11);\n i0.ɵɵlistener(\"click\", function SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r2 = i0.ɵɵnextContext(3); return i0.ɵɵresetView(ctx_r2.createItem.emit(\"form\")); });\n i0.ɵɵelement(1, \"em\", 12);\n i0.ɵɵtext(2);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(3);\n i0.ɵɵadvance(2);\n i0.ɵɵtextInterpolate1(\" \", ctx_r2.createText, \"\");\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_td_1_Template(rf, ctx) { if (rf & 1) {\n const _r4 = i0.ɵɵgetCurrentView();\n i0.ɵɵelementStart(0, \"td\", 6);\n i0.ɵɵtemplate(1, SubmissionGridFooterComponent_ng_template_2_td_1_button_1_Template, 3, 1, \"button\", 7);\n i0.ɵɵelementStart(2, \"span\", 8)(3, \"span\", 9);\n i0.ɵɵtext(4);\n i0.ɵɵelementEnd();\n i0.ɵɵtext(5);\n i0.ɵɵelementEnd();\n i0.ɵɵelementStart(6, \"pagination\", 10);\n i0.ɵɵtwoWayListener(\"ngModelChange\", function SubmissionGridFooterComponent_ng_template_2_td_1_Template_pagination_ngModelChange_6_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); i0.ɵɵtwoWayBindingSet(ctx_r2.body.skip, $event) || (ctx_r2.body.skip = $event); return i0.ɵɵresetView($event); });\n i0.ɵɵlistener(\"pageChanged\", function SubmissionGridFooterComponent_ng_template_2_td_1_Template_pagination_pageChanged_6_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r2 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r2.pageChanged.emit($event)); });\n i0.ɵɵelementEnd()();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext(2);\n i0.ɵɵproperty(\"colSpan\", ctx_r2.header.numHeaders);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.actionAllowed(\"submissionCreate\") && ctx_r2.createText);\n i0.ɵɵadvance(3);\n i0.ɵɵtextInterpolate2(\"\", ctx_r2.body.firstItem, \" - \", ctx_r2.body.lastItem, \"\");\n i0.ɵɵadvance();\n i0.ɵɵtextInterpolate1(\" / \", ctx_r2.body.total, \" total\");\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"totalItems\", ctx_r2.body.total)(\"itemsPerPage\", ctx_r2.body.limit);\n i0.ɵɵtwoWayProperty(\"ngModel\", ctx_r2.body.skip);\n i0.ɵɵproperty(\"maxSize\", ctx_r2.size);\n} }\nfunction SubmissionGridFooterComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementStart(0, \"tr\");\n i0.ɵɵtemplate(1, SubmissionGridFooterComponent_ng_template_2_td_1_Template, 7, 9, \"td\", 5);\n i0.ɵɵelementEnd();\n} if (rf & 2) {\n const ctx_r2 = i0.ɵɵnextContext();\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx_r2.header);\n} }\nclass SubmissionGridFooterComponent extends GridFooterComponent {\n constructor() {\n super();\n }\n ngOnInit() {\n if (!this.size) {\n this.size = 7;\n }\n }\n static ɵfac = function SubmissionGridFooterComponent_Factory(t) { return new (t || SubmissionGridFooterComponent)(); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubmissionGridFooterComponent, 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\"], [3, \"colSpan\", 4, \"ngIf\"], [3, \"colSpan\"], [\"class\", \"btn btn-primary float-start\", 3, \"click\", 4, \"ngIf\"], [1, \"float-end\", \"item-counter\"], [1, \"page-num\"], [1, \"justify-content-center\", \"pagination-sm\", 3, \"ngModelChange\", \"pageChanged\", \"totalItems\", \"itemsPerPage\", \"ngModel\", \"maxSize\"], [1, \"btn\", \"btn-primary\", \"float-start\", 3, \"click\"], [1, \"fa\", \"fa-plus\", \"bi\", \"bi-plus\"]], template: function SubmissionGridFooterComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, SubmissionGridFooterComponent_ng_template_0_Template, 2, 2, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, SubmissionGridFooterComponent_ng_template_2_Template, 2, 1, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i2$1.NgControlStatus, i2$1.NgModel, i3.PaginationComponent], 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 });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(SubmissionGridFooterComponent, [{\n type: Component,\n args: [{ encapsulation: ViewEncapsulation.None, template: \"<ng-template #footer let-position=\\\"position\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('submissionCreate') && createText\\\" class=\\\"btn btn-primary float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus\\\"></em> {{ createText }}</button>\\n <span class=\\\"float-end item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\"></pagination>\\n </td>\\n </tr>\\n</ng-template>\\n\", 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\"] }]\n }], () => [], null); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(SubmissionGridFooterComponent, { className: \"SubmissionGridFooterComponent\", filePath: \"submission/SubmissionGridFooter.component.ts\", lineNumber: 9 }); })();\n\nvar SubmissionComponents = {\n header: SubmissionGridHeaderComponent,\n body: SubmissionGridBodyComponent,\n footer: SubmissionGridFooterComponent\n};\n\nconst _c0 = [\"headerTemplate\"];\nconst _c1 = [\"bodyTemplate\"];\nconst _c2 = [\"footerTemplate\"];\nconst _c3 = (a0, a1) => [a0, a1];\nconst _c4 = (a0, a1) => ({ position: a0, label: a1 });\nfunction FormioGridComponent_ng_template_0_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_template_2_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_template_4_Template(rf, ctx) { }\nfunction FormioGridComponent_ng_container_9_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 9);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.footer.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c4, ctx_r0.footerPositions.top, ctx_r0.label));\n} }\nfunction FormioGridComponent_ng_container_10_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 10);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.header.template);\n} }\nfunction FormioGridComponent_ng_container_12_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 10);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.body.template);\n} }\nfunction FormioGridComponent_ng_container_13_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵelementContainer(0, 9);\n} if (rf & 2) {\n const ctx_r0 = i0.ɵɵnextContext();\n i0.ɵɵproperty(\"ngTemplateOutlet\", ctx_r0.footer.template)(\"ngTemplateOutletContext\", i0.ɵɵpureFunction2(2, _c4, ctx_r0.footerPositions.bottom, ctx_r0.label));\n} }\nclass FormioGridComponent {\n alerts;\n resolver;\n ref;\n footerPosition = GridFooterPositions.bottom;\n src;\n items;\n onForm;\n query;\n refresh;\n columns;\n gridType;\n size;\n components;\n formio;\n label;\n createText;\n isActionAllowed;\n select;\n rowSelect;\n rowAction;\n createItem;\n error;\n headerElement;\n bodyElement;\n footerElement;\n page = 0;\n isLoading = false;\n initialized = false;\n header;\n body;\n footer;\n footerPositions = GridFooterPositions;\n constructor(alerts, resolver, ref) {\n this.alerts = alerts;\n this.resolver = resolver;\n this.ref = ref;\n this.select = this.rowSelect = new EventEmitter();\n this.rowAction = new EventEmitter();\n this.createItem = new EventEmitter();\n this.error = new EventEmitter();\n this.isLoading = true;\n }\n createComponent(property, component) {\n const factory = this.resolver.resolveComponentFactory(component);\n const componentRef = property.createComponent(factory);\n return componentRef.instance;\n }\n loadGrid(src) {\n // If no source is provided, then skip.\n if (!src && !this.formio) {\n return;\n }\n // Do not double load.\n if (this.formio && this.src && (src === this.src)) {\n return;\n }\n if (src) {\n this.src = src;\n this.formio = new FormioPromiseService(this.src, { formOnly: true });\n }\n // Load the header.\n this.header.load(this.formio, {}, this.columns)\n .then(() => this.setPage(0))\n .catch(error => this.onError(error));\n }\n ngOnInit() {\n // Create our components.\n const comps = this.components || ((this.gridType === 'form') ? FormComponents : SubmissionComponents);\n this.header = this.createComponent(this.headerElement, comps.header);\n this.header.actionAllowed = this.actionAllowed.bind(this);\n this.header.sort.subscribe(header => this.sortColumn(header));\n this.body = this.createComponent(this.bodyElement, comps.body);\n this.body.header = this.header;\n this.body.actionAllowed = this.actionAllowed.bind(this);\n this.body.rowSelect.subscribe(row => this.rowSelect.emit(row));\n this.body.rowAction.subscribe(action => this.rowAction.emit(action));\n this.footer = this.createComponent(this.footerElement, comps.footer);\n this.footer.header = this.header;\n this.footer.body = this.body;\n this.footer.actionAllowed = this.actionAllowed.bind(this);\n this.footer.createText = this.createText;\n this.footer.size = this.size;\n this.footer.pageChanged.subscribe(page => this.pageChanged(page));\n this.footer.createItem.subscribe(item => this.createItem.emit(item));\n }\n ngOnChanges(changes) {\n if (this.initialized) {\n if ((changes.src && changes.src.currentValue) ||\n (changes.formio && changes.formio.currentValue)) {\n this.loadGrid(changes.src.currentValue);\n }\n if (changes.items && changes.items.currentValue) {\n this.refreshGrid();\n }\n }\n if (this.footer &&\n (changes.createText && changes.createText.currentValue)) {\n this.footer.createText = changes.createText.currentValue;\n }\n }\n ngAfterViewInit() {\n this.alerts.setAlerts([]);\n this.query = this.query || {};\n if (this.refresh) {\n this.refresh.subscribe((query) => this.refreshGrid(query));\n }\n this.loadGrid(this.src);\n this.initialized = true;\n this.ref.detectChanges();\n }\n actionAllowed(action) {\n if (this.isActionAllowed) {\n return this.isActionAllowed(action);\n }\n else {\n return true;\n }\n }\n onError(error) {\n this.isLoading = false;\n this.error.emit(error);\n if (typeof error === 'string' || error.message) {\n this.alerts.setAlert({\n type: 'danger',\n message: error.message || error\n });\n }\n }\n refreshGrid(query) {\n this.alerts.setAlerts([]);\n this.query = query || this.query;\n if (!this.query.hasOwnProperty('limit')) {\n this.query.limit = 10;\n }\n if (!this.query.hasOwnProperty('skip')) {\n this.query.skip = 0;\n }\n this.isLoading = true;\n this.ref.detectChanges();\n FormioCore.cache = {};\n let loader = null;\n if (this.items) {\n loader = Promise.resolve(this.body.setRows(this.query, this.items));\n }\n else {\n loader = this.body.load(this.formio, this.query);\n }\n return loader.then(info => {\n this.isLoading = false;\n this.initialized = true;\n this.ref.detectChanges();\n }).catch(error => this.onError(error));\n }\n setPage(num = -1) {\n this.page = num !== -1 ? num : this.page;\n if (!this.query.hasOwnProperty('limit')) {\n this.query.limit = 10;\n }\n if (!this.query.hasOwnProperty('skip')) {\n this.query.skip = 0;\n }\n this.query.skip = this.page * this.query.limit;\n this.refreshGrid();\n }\n sortColumn(header) {\n // Reset all other column sorts.\n each(this.header.headers, (col) => {\n if (col.key !== header.key) {\n col.sort = '';\n }\n });\n switch (header.sort) {\n case 'asc':\n header.sort = SortType.DESC;\n this.query.sort = '-' + header.key;\n break;\n case 'desc':\n header.sort = undefined;\n delete this.query.sort;\n break;\n case undefined:\n header.sort = SortType.ASC;\n this.query.sort = header.key;\n break;\n }\n this.refreshGrid();\n }\n pageChanged(page) {\n this.setPage(page.page - 1);\n }\n static ɵfac = function FormioGridComponent_Factory(t) { return new (t || FormioGridComponent)(i0.ɵɵdirectiveInject(i1$1.FormioAlerts), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };\n static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: FormioGridComponent, selectors: [[\"formio-grid\"]], viewQuery: function FormioGridComponent_Query(rf, ctx) { if (rf & 1) {\n i0.ɵɵviewQuery(_c0, 7, ViewContainerRef);\n i0.ɵɵviewQuery(_c1, 7, ViewContainerRef);\n i0.ɵɵviewQuery(_c2, 7, ViewContainerRef);\n } if (rf & 2) {\n let _t;\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.headerElement = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.bodyElement = _t.first);\n i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.footerElement = _t.first);\n } }, inputs: { footerPosition: \"footerPosition\", src: \"src\", items: \"items\", onForm: \"onForm\", query: \"query\", refresh: \"refresh\", columns: \"columns\", gridType: \"gridType\", size: \"size\", components: \"components\", formio: \"formio\", label: \"label\", createText: \"createText\", isActionAllowed: \"isActionAllowed\" }, outputs: { select: \"select\", rowSelect: \"rowSelect\", rowAction: \"rowAction\", createItem: \"createItem\", error: \"error\" }, features: [i0.ɵɵNgOnChangesFeature], decls: 14, vars: 12, consts: [[\"headerTemplate\", \"\"], [\"bodyTemplate\", \"\"], [\"footerTemplate\", \"\"], [1, \"formio-grid\"], [3, \"alerts\"], [1, \"table\", \"table-bordered\", \"table-striped\", \"table-hover\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\", 4, \"ngIf\"], [3, \"ngTemplateOutlet\", 4, \"ngIf\"], [3, \"isLoading\"], [3, \"ngTemplateOutlet\", \"ngTemplateOutletContext\"], [3, \"ngTemplateOutlet\"]], template: function FormioGridComponent_Template(rf, ctx) { if (rf & 1) {\n i0.ɵɵtemplate(0, FormioGridComponent_ng_template_0_Template, 0, 0, \"ng-template\", null, 0, i0.ɵɵtemplateRefExtractor)(2, FormioGridComponent_ng_template_2_Template, 0, 0, \"ng-template\", null, 1, i0.ɵɵtemplateRefExtractor)(4, FormioGridComponent_ng_template_4_Template, 0, 0, \"ng-template\", null, 2, i0.ɵɵtemplateRefExtractor);\n i0.ɵɵelementStart(6, \"div\", 3);\n i0.ɵɵelement(7, \"formio-alerts\", 4);\n i0.ɵɵelementStart(8, \"table\", 5);\n i0.ɵɵtemplate(9, FormioGridComponent_ng_container_9_Template, 1, 5, \"ng-container\", 6)(10, FormioGridComponent_ng_container_10_Template, 1, 1, \"ng-container\", 7);\n i0.ɵɵelement(11, \"formio-loader\", 8);\n i0.ɵɵtemplate(12, FormioGridComponent_ng_container_12_Template, 1, 1, \"ng-container\", 7)(13, FormioGridComponent_ng_container_13_Template, 1, 5, \"ng-container\", 6);\n i0.ɵɵelementEnd()();\n } if (rf & 2) {\n i0.ɵɵadvance(7);\n i0.ɵɵproperty(\"alerts\", ctx.alerts);\n i0.ɵɵadvance(2);\n i0.ɵɵproperty(\"ngIf\", ctx.initialized && i0.ɵɵpureFunction2(6, _c3, ctx.footerPositions.top, ctx.footerPositions.both).indexOf(ctx.footerPosition) !== -1);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"isLoading\", ctx.isLoading);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized);\n i0.ɵɵadvance();\n i0.ɵɵproperty(\"ngIf\", ctx.initialized && i0.ɵɵpureFunction2(9, _c3, ctx.footerPositions.bottom, ctx.footerPositions.both).indexOf(ctx.footerPosition) !== -1);\n } }, dependencies: [i1.NgIf, i1.NgTemplateOutlet, i1$1.FormioLoaderComponent, i1$1.FormioAlertsComponent], styles: [\".formio-grid[_ngcontent-%COMP%]{position:relative;width:100%}.grid-refresh[_ngcontent-%COMP%]{height:400px;width:100%}\"] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioGridComponent, [{\n type: Component,\n args: [{ selector: 'formio-grid', template: \"<ng-template #headerTemplate></ng-template>\\n<ng-template #bodyTemplate></ng-template>\\n<ng-template #footerTemplate></ng-template>\\n<div class=\\\"formio-grid\\\">\\n <formio-alerts [alerts]=\\\"alerts\\\"></formio-alerts>\\n <table class=\\\"table table-bordered table-striped table-hover\\\">\\n <ng-container *ngIf=\\\"initialized && [footerPositions.top, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.top, label: label }\\\">\\n </ng-container>\\n <ng-container *ngIf=\\\"initialized\\\"\\n [ngTemplateOutlet]=\\\"header.template\\\"></ng-container>\\n <formio-loader [isLoading]=\\\"isLoading\\\"></formio-loader>\\n <ng-container *ngIf=\\\"initialized\\\" [ngTemplateOutlet]=\\\"body.template\\\"></ng-container>\\n <ng-container *ngIf=\\\"initialized && [footerPositions.bottom, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.bottom, label: label }\\\">\\n </ng-container>\\n </table>\\n</div>\\n\", styles: [\".formio-grid{position:relative;width:100%}.grid-refresh{height:400px;width:100%}\\n\"] }]\n }], () => [{ type: i1$1.FormioAlerts }, { type: i0.ComponentFactoryResolver }, { type: i0.ChangeDetectorRef }], { footerPosition: [{\n type: Input\n }], src: [{\n type: Input\n }], items: [{\n type: Input\n }], onForm: [{\n type: Input\n }], query: [{\n type: Input\n }], refresh: [{\n type: Input\n }], columns: [{\n type: Input\n }], gridType: [{\n type: Input\n }], size: [{\n type: Input\n }], components: [{\n type: Input\n }], formio: [{\n type: Input\n }], label: [{\n type: Input\n }], createText: [{\n type: Input\n }], isActionAllowed: [{\n type: Input\n }], select: [{\n type: Output\n }], rowSelect: [{\n type: Output\n }], rowAction: [{\n type: Output\n }], createItem: [{\n type: Output\n }], error: [{\n type: Output\n }], headerElement: [{\n type: ViewChild,\n args: ['headerTemplate', { read: ViewContainerRef, static: true }]\n }], bodyElement: [{\n type: ViewChild,\n args: ['bodyTemplate', { read: ViewContainerRef, static: true }]\n }], footerElement: [{\n type: ViewChild,\n args: ['footerTemplate', { read: ViewContainerRef, static: true }]\n }] }); })();\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassDebugInfo(FormioGridComponent, { className: \"FormioGridComponent\", filePath: \"grid.component.ts\", lineNumber: 32 }); })();\n\nclass FormioGrid {\n static ɵfac = function FormioGrid_Factory(t) { return new (t || FormioGrid)(); };\n static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FormioGrid });\n static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ providers: [\n FormioAlerts,\n GridService\n ], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()] });\n}\n(() => { (typeof ngDevMode === \"undefined\" || ngDevMode) && i0.ɵsetClassMetadata(FormioGrid, [{\n type: NgModule,\n args: [{\n imports: [\n CommonModule,\n FormsModule,\n FormioModule,\n RouterModule,\n PaginationModule.forRoot()\n ],\n declarations: [\n FormioGridComponent,\n FormGridHeaderComponent,\n FormGridBodyComponent,\n FormGridFooterComponent,\n SubmissionGridHeaderComponent,\n SubmissionGridBodyComponent,\n SubmissionGridFooterComponent,\n GridHeaderComponent,\n GridBodyComponent,\n GridFooterComponent,\n TimeSince\n ],\n exports: [\n FormioGridComponent\n ],\n providers: [\n FormioAlerts,\n GridService\n ]\n }]\n }], null, null); })();\n(function () { (typeof ngJitMode === \"undefined\" || ngJitMode) && i0.ɵɵsetNgModuleScope(FormioGrid, { declarations: [FormioGridComponent,\n FormGridHeaderComponent,\n FormGridBodyComponent,\n FormGridFooterComponent,\n SubmissionGridHeaderComponent,\n SubmissionGridBodyComponent,\n SubmissionGridFooterComponent,\n GridHeaderComponent,\n GridBodyComponent,\n GridFooterComponent,\n TimeSince], imports: [CommonModule,\n FormsModule,\n FormioModule,\n RouterModule, i3.PaginationModule], exports: [FormioGridComponent] }); })();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { FormGridBodyComponent, FormGridFooterComponent, FormGridHeaderComponent, FormioGrid, FormioGridComponent, GridBodyComponent, GridFooterComponent, GridHeaderComponent, GridService, SubmissionGridBodyComponent, SubmissionGridFooterComponent, SubmissionGridHeaderComponent };\n//# sourceMappingURL=formio-angular-grid.mjs.map\n","map":null,"preliminaryFileName":"formio-angular-grid.mjs","sourcemapFileName":"formio-angular-grid.mjs.map"},{"fileName":"formio-angular-grid.mjs.map","needsCodeReference":false,"source":"{\"version\":3,\"file\":\"formio-angular-grid.mjs\",\"sources\":[\"../../../projects/angular-formio/grid/src/types/grid-footer-positions.ts\",\"../../../projects/angular-formio/grid/src/GridHeaderComponent.ts\",\"../../../projects/angular-formio/grid/src/types/grid-header.ts\",\"../../../projects/angular-formio/grid/src/form/FormGridHeader.component.html\",\"../../../projects/angular-formio/grid/src/form/FormGridHeader.component.ts\",\"../../../projects/angular-formio/grid/src/grid.service.ts\",\"../../../projects/angular-formio/grid/src/GridBodyComponent.ts\",\"../../../projects/angular-formio/grid/src/form/time-since.pipe.ts\",\"../../../projects/angular-formio/grid/src/form/FormGridBody.component.html\",\"../../../projects/angular-formio/grid/src/form/FormGridBody.component.ts\",\"../../../projects/angular-formio/grid/src/GridFooterComponent.ts\",\"../../../projects/angular-formio/grid/src/form/FormGridFooter.component.html\",\"../../../projects/angular-formio/grid/src/form/FormGridFooter.component.ts\",\"../../../projects/angular-formio/grid/src/form/index.ts\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.html\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridHeader.component.ts\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.html\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridBody.component.ts\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.html\",\"../../../projects/angular-formio/grid/src/submission/SubmissionGridFooter.component.ts\",\"../../../projects/angular-formio/grid/src/submission/index.ts\",\"../../../projects/angular-formio/grid/src/grid.component.html\",\"../../../projects/angular-formio/grid/src/grid.component.ts\",\"../../../projects/angular-formio/grid/src/grid.module.ts\",\"../../../projects/angular-formio/grid/src/formio-angular-grid.ts\"],\"sourcesContent\":[\"export enum GridFooterPositions {\\n bottom,\\n top,\\n both\\n}\\n\",\"import { Output, EventEmitter, ViewChild, TemplateRef, Input, Component } from '@angular/core';\\nimport {FormioPromiseService} from '@formio/angular';\\nimport {GridHeader} from './types/grid-header';\\n\\n@Component({\\n template: ''\\n})\\nexport class GridHeaderComponent {\\n @Input() actionAllowed: any;\\n @Output() sort: EventEmitter<GridHeader>;\\n @ViewChild(TemplateRef, {static: true}) template: TemplateRef<any>;\\n public headers: Array<GridHeader>;\\n constructor() {\\n this.headers = [];\\n this.sort = new EventEmitter();\\n }\\n\\n get numHeaders() {\\n return this.headers.length;\\n }\\n\\n load(formio: FormioPromiseService, query?: any, columns?: Array<any>): Promise<any> {\\n return Promise.resolve([]);\\n }\\n}\\n\",\"import {ComponentInstance} from '@formio/angular';\\n\\nexport interface GridHeader {\\n component?: ComponentInstance;\\n key: string;\\n sort?: SortType;\\n label: string;\\n renderCell?(cellValue: any, component?: ComponentInstance): string;\\n}\\n\\nexport enum SortType {\\n ASC = 'asc',\\n DESC = 'desc'\\n}\\n\",\"<ng-template>\\n <thead>\\n <tr>\\n <th>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a (click)=\\\"sort.emit(header)\\\" style=\\\"cursor: pointer\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end\\\">\\n Operations\\n </div>\\n </div>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\",\"import {Component} from '@angular/core';\\nimport {GridHeaderComponent} from '../GridHeaderComponent';\\nimport {GridHeader, SortType} from '../types/grid-header';\\n\\n@Component({\\n selector: 'form-grid-header',\\n templateUrl: './FormGridHeader.component.html'\\n})\\nexport class FormGridHeaderComponent extends GridHeaderComponent {\\n public header: GridHeader;\\n load(formio?: any) {\\n this.header = {\\n label: 'Title',\\n key: 'title',\\n sort: SortType.ASC\\n };\\n this.headers = [this.header];\\n return Promise.resolve(this.headers);\\n }\\n\\n get numHeaders() {\\n return 2;\\n }\\n}\\n\",\"import { Injectable } from '@angular/core';\\nimport _intersection from 'lodash/intersection';\\n\\n@Injectable()\\nexport class GridService {\\n public rows: Array<any>;\\n constructor() {}\\n\\n setRows(rows) {\\n this.rows = rows;\\n }\\n\\n getFormsPerPage() {\\n return this.rows?.length;\\n }\\n}\\n\",\"import { Input, Output, EventEmitter, ViewChild, TemplateRef, Component } from '@angular/core';\\nimport { each, clone } from 'lodash';\\nimport { GridHeaderComponent } from './GridHeaderComponent';\\nimport { GridService } from './grid.service';\\nimport {FormioPromiseService} from '@formio/angular';\\n\\n@Component({\\n template: ''\\n})\\nexport class GridBodyComponent {\\n @Input() header: GridHeaderComponent;\\n @Input() actionAllowed: any;\\n @Output() rowSelect: EventEmitter<any>;\\n @Output() rowAction: EventEmitter<any>;\\n @ViewChild(TemplateRef, {static: true}) template: TemplateRef<any>;\\n public rows: Array<any>;\\n public loading: Boolean;\\n public firstItem = 0;\\n public lastItem = 0;\\n public skip = 0;\\n public limit = 0;\\n public total = 0;\\n constructor(public service: GridService) {\\n this.rowSelect = new EventEmitter();\\n this.rowAction = new EventEmitter();\\n this.loading = true;\\n }\\n\\n load(formio: FormioPromiseService, query?: any): Promise<any> {\\n return formio.loadForm(query);\\n }\\n\\n onRowSelect(event, row) {\\n event.preventDefault();\\n this.rowSelect.emit(row);\\n }\\n\\n onRowAction(event, row, action) {\\n event.preventDefault();\\n this.rowAction.emit({ row, action });\\n }\\n\\n /**\\n * Set the rows for this Grid body.\\n *\\n * @param query\\n * @param items\\n * @return any\\n */\\n setRows(query: any, items: any) {\\n this.rows = [];\\n\\n if (typeof items !== 'object') {\\n this.firstItem = 0;\\n this.lastItem = 0;\\n this.total = 0;\\n this.skip = 0;\\n this.loading = false;\\n this.service.setRows(this.rows);\\n \\n return this.rows;\\n }\\n\\n this.firstItem = query.skip + 1;\\n this.lastItem = this.firstItem + items.length - 1;\\n if (this.lastItem === 0) {\\n this.firstItem = 0;\\n }\\n this.total = items.serverCount;\\n this.limit = query.limit;\\n this.skip = Math.floor(items.skip / query.limit) + 1;\\n this.loading = false;\\n each(items, (item: any) => {\\n this.rows.push(clone(item));\\n });\\n this.service.setRows(this.rows);\\n\\n return this.rows;\\n }\\n}\\n\",\"import { Pipe, PipeTransform } from '@angular/core';\\n\\n@Pipe({\\n name: 'timeSince'\\n})\\nexport class TimeSince implements PipeTransform {\\n transform(date: Date): string {\\n const elapsed = (new Date().getTime() - new Date(date).getTime()) / 1000;\\n let interval;\\n if (interval >= 1) {\\n return interval + ' year' + (interval > 1 ? 's' : '');\\n }\\n interval = Math.floor(elapsed / 2592000);\\n if (interval >= 1){\\n return interval + ' month' + (interval > 1 ? 's' : '');\\n }\\n interval = Math.floor(elapsed / 86400);\\n if (interval >= 1) {\\n return interval + ' day' + (interval > 1 ? 's' : '');\\n }\\n interval = Math.floor(elapsed / 3600);\\n if (interval >= 1) {\\n return interval + ' hour' + (interval > 1 ? 's' : '');\\n }\\n interval = Math.floor(elapsed / 60);\\n if (interval >= 1) {\\n return interval + ' minute' + (interval > 1 ? 's' : '');\\n }\\n return Math.floor(elapsed) + ' second' + (elapsed > 1 ? 's' : '');\\n }\\n}\",\"<ng-template>\\n <tbody *ngIf=\\\"rows\\\">\\n <tr *ngFor=\\\"let form of rows\\\">\\n <td>\\n <div class=\\\"row\\\">\\n <div class=\\\"col-sm-9\\\">\\n <a routerLink=\\\"{{form._id}}/view\\\" (click)=\\\"onRowSelect($event, form)\\\" class=\\\"text-decoration-none\\\"><h5>{{ form.title }}</h5></a>\\n <div class=\\\"form-updated small text-muted\\\">\\n Updated {{ form.modified | timeSince }} ago\\n </div>\\n </div>\\n <div class=\\\"col-sm-3 d-flex justify-content-end align-items-center\\\">\\n <button #create *ngIf=\\\"actionAllowed('formView')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn form-btn-use\\\" (click)=\\\"onRowAction($event, form, 'view')\\\"><span class=\\\"fa fa-pencil bi bi-pencil\\\"></span></button>&nbsp;\\n <button #view *ngIf=\\\"actionAllowed('formSubmission')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'submission')\\\"><span class=\\\"fa fa-list-alt bi bi-table\\\"></span></button>&nbsp;\\n <button #edit *ngIf=\\\"actionAllowed('formEdit')\\\" class=\\\"btn btn-outline-secondary btn-sm form-btn\\\" (click)=\\\"onRowAction($event, form, 'edit')\\\"><span class=\\\"fa fa-edit bi bi-pencil-square\\\"></span></button>&nbsp;\\n <button #delete *ngIf=\\\"actionAllowed('formDelete')\\\" class=\\\"btn btn-secondary btn-sm form-btn form-btn-delete\\\" (click)=\\\"onRowAction($event, form, 'delete')\\\" title=\\\"Delete form\\\"><span class=\\\"fa fa-trash bi bi-trash\\\"></span></button>\\n </div>\\n </div>\\n </td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\",\"import { Component, ElementRef, OnDestroy, ViewChild, ViewChildren } from '@angular/core';\\nimport { GridBodyComponent } from '../GridBodyComponent';\\nimport { FormioPromiseService } from '@formio/angular';\\nimport { Tooltip } from 'bootstrap';\\n@Component({\\n selector: 'form-grid-body',\\n styleUrls: ['./FormGridBody.component.scss'],\\n templateUrl: './FormGridBody.component.html'\\n})\\nexport class FormGridBodyComponent extends GridBodyComponent implements OnDestroy {\\n @ViewChildren('create') createBtns: ElementRef[];\\n @ViewChildren('view') viewBtns: ElementRef[];\\n @ViewChildren('edit') editBtns: ElementRef[];\\n @ViewChildren('permissions') permissionsBtns: ElementRef[];\\n @ViewChildren('delete') deleteBtns: ElementRef[];\\n public tooltips: Array<Tooltip> = [];\\n\\n load(formio: FormioPromiseService, query?: any) {\\n query = query || {};\\n return formio.loadForms({ params: query })\\n .then((forms: any) => this.setRows(query, forms))\\n .then(() => this.attachTooltips());\\n }\\n\\n attachTooltips() {\\n this.createBtns.forEach((el: ElementRef) => {\\n this.tooltips.push(new Tooltip(el.nativeElement, {title: 'Create'}));\\n });\\n this.editBtns.forEach((el: ElementRef) => {\\n this.tooltips.push(new Tooltip(el.nativeElement, {title: 'Edit'}));\\n });\\n this.viewBtns.forEach((el: ElementRef) => {\\n this.tooltips.push(new Tooltip(el.nativeElement, {title: 'View'}));\\n })\\n this.permissionsBtns.forEach((el: ElementRef) => {\\n this.tooltips.push(new Tooltip(el.nativeElement, {title: 'Permissions'}));\\n });\\n this.deleteBtns.forEach((el: ElementRef) => {\\n this.tooltips.push(new Tooltip(el.nativeElement, {title: 'Delete'}));\\n });\\n }\\n\\n ngOnDestroy(): void {\\n this.tooltips.forEach((tootip: Tooltip) => tootip.dispose());\\n }\\n}\\n\",\"import { GridFooterPositions } from './types/grid-footer-positions';\\nimport { Input, Output, ViewChild, TemplateRef, EventEmitter, Component } from '@angular/core';\\nimport { GridHeaderComponent } from './GridHeaderComponent';\\nimport { GridBodyComponent } from './GridBodyComponent';\\n\\n@Component({\\n template: ''\\n})\\nexport class GridFooterComponent {\\n @Input() header: GridHeaderComponent;\\n @Input() body: GridBodyComponent;\\n @Input() createText: String;\\n @Input() size: number;\\n @Input() actionAllowed: any;\\n @Output() pageChanged: EventEmitter<any>;\\n @Output() createItem: EventEmitter<any>;\\n @ViewChild(TemplateRef, {static: true}) template: TemplateRef<any>;\\n\\n public footerPositions = GridFooterPositions;\\n\\n constructor() {\\n this.pageChanged = new EventEmitter();\\n this.createItem = new EventEmitter();\\n }\\n}\\n\",\"<ng-template #footer let-position=\\\"position\\\" let-label=\\\"label\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\" [ngTemplateOutletContext]=\\\"{ label: label }\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template let-label=\\\"label\\\" #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('formCreate')\\\" class=\\\"btn btn-primary form-btn-use float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus-lg\\\"></em> {{ createText }}</button>\\n <span class=\\\"pull-right item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <span [attr.aria-label]=\\\"label\\\" role=\\\"navigation\\\">\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\">\\n </pagination>\\n </span>\\n </td>\\n </tr>\\n</ng-template>\\n\",\"import {Component, ViewEncapsulation, OnInit } from '@angular/core';\\nimport { GridFooterComponent } from '../GridFooterComponent';\\n\\n@Component({\\n templateUrl: './FormGridFooter.component.html',\\n styleUrls: ['../grid.footer.scss'],\\n encapsulation: ViewEncapsulation.None\\n})\\nexport class FormGridFooterComponent extends GridFooterComponent implements OnInit {\\n\\n constructor() {\\n super();\\n }\\n\\n ngOnInit() {\\n if (!this.createText) {\\n this.createText = 'Create Form';\\n }\\n if (!this.size) {\\n this.size = 7;\\n }\\n }\\n}\\n\",\"import { FormGridHeaderComponent } from './FormGridHeader.component';\\nimport { FormGridBodyComponent } from './FormGridBody.component';\\nimport { FormGridFooterComponent } from './FormGridFooter.component';\\nexport default {\\n header: FormGridHeaderComponent,\\n body: FormGridBodyComponent,\\n footer: FormGridFooterComponent\\n};\\n\",\"<ng-template>\\n <thead>\\n <tr>\\n <th *ngFor=\\\"let header of headers\\\">\\n <a (click)=\\\"sort.emit(header)\\\">\\n {{ header.label }}&nbsp;<span [ngClass]=\\\"{'fa-caret-up bi-caret-up': (header.sort === 'asc'), 'fa-caret-down bi-caret-down': (header.sort === 'desc')}\\\" class=\\\"fa bi\\\" *ngIf=\\\"header.sort\\\"></span>\\n </a>\\n </th>\\n </tr>\\n </thead>\\n</ng-template>\\n\",\"import {Component} from '@angular/core';\\nimport {Utils, Components} from '@formio/js';\\nimport {ExtendedComponentSchema} from '@formio/deprecated-types';\\nimport {GridHeaderComponent} from '../GridHeaderComponent';\\nimport {FormioPromiseService} from '@formio/angular';\\nimport {ComponentInstance, FormioForm} from '@formio/angular';\\nimport {GridColumn} from '../types/grid-column';\\nimport {GridHeader, SortType} from '../types/grid-header';\\n\\n@Component({\\n templateUrl: './SubmissionGridHeader.component.html'\\n})\\nexport class SubmissionGridHeaderComponent extends GridHeaderComponent {\\n\\n // Map structure where the key is the path and the value is the component\\n formComponents: Map<string, ExtendedComponentSchema>;\\n\\n load(formio: FormioPromiseService, query?: any, columns?: Array<GridColumn>) {\\n query = query || {};\\n return formio.loadForm({params: query}).then((form: FormioForm) => {\\n this.headers = [];\\n this.formComponents = new Map<string, ExtendedComponentSchema>();\\n this.setComponents(form.components);\\n columns ? columns.forEach(column => {\\n this.setHeader(this.getHeaderForColumn(column, this.formComponents.get(column.path)));\\n }) : this.setComponentsHeaders(this.formComponents);\\n\\n return this.headers;\\n });\\n }\\n\\n setHeader(header: GridHeader) {\\n this.headers.push(header);\\n }\\n\\n getHeaderForColumn(column: GridColumn, component?: ExtendedComponentSchema, sort?: SortType) {\\n return {\\n label: column.label,\\n key: column.path,\\n sort: sort,\\n component: component ? Components.create(component, null, null) as ComponentInstance : undefined,\\n renderCell: column ? column.renderCell : undefined\\n };\\n }\\n\\n getHeaderForComponent(component: ExtendedComponentSchema, path: string, sort?: SortType) {\\n return {\\n label: component.label,\\n key: path,\\n sort: sort,\\n component: component ? Components.create(component, null, null) as ComponentInstance : undefined,\\n };\\n }\\n // Set headers from components in case if columns are not provided\\n setComponentsHeaders(components: Map<string, ExtendedComponentSchema>, sort?: SortType) {\\n components.forEach((component, path) => {\\n if (\\n component.input &&\\n (!component.hasOwnProperty('tableView') || component.tableView)\\n ) {\\n this.setHeader(this.getHeaderForComponent(component, path, sort));\\n }\\n });\\n }\\n\\n // Map components\\n setComponents(components) {\\n Utils.eachComponent(components, (component: ExtendedComponentSchema, newPath: string) => {\\n this.formComponents.set(`data.${newPath}`, component);\\n });\\n }\\n}\\n\\n\",\"<ng-template>\\n <tbody>\\n <tr *ngFor=\\\"let row of rows\\\" (click)=\\\"onRowSelect($event, row)\\\">\\n <td *ngFor=\\\"let rowHeader of header.headers\\\" [innerHTML]=\\\"view(row, rowHeader)\\\"></td>\\n </tr>\\n </tbody>\\n</ng-template>\\n\",\"import { Component } from '@angular/core';\\nimport { each, get } from 'lodash';\\nimport { GridBodyComponent } from '../GridBodyComponent';\\nimport {FormioPromiseService} from '@formio/angular';\\nimport { GridHeader } from '../types/grid-header';\\nimport {FormioSubmission} from '@formio/angular';\\n@Component({\\n templateUrl: './SubmissionGridBody.component.html'\\n})\\nexport class SubmissionGridBodyComponent extends GridBodyComponent {\\n load(formio: FormioPromiseService, query?: any) {\\n query = query || {};\\n return formio.loadSubmissions({ params: query })\\n .then((submissions: any) => this.setRows(query, submissions));\\n }\\n\\n /**\\n * Render the cell data.\\n *\\n * @param submission\\n * @param header\\n * @return any\\n */\\n view(submission: FormioSubmission, header: GridHeader): string {\\n const cellValue: any = get(submission, header.key);\\n if (header.renderCell) {\\n return header.renderCell(cellValue, header.component);\\n } else {\\n if (header.component) {\\n if (header.component.getView) {\\n return header.component.getView(cellValue);\\n }\\n return header.component.asString(cellValue);\\n } else {\\n return cellValue.toString();\\n }\\n }\\n }\\n}\\n\",\"<ng-template #footer let-position=\\\"position\\\">\\n <thead class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.top\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </thead>\\n <tfoot class=\\\"formio-grid-footer\\\" *ngIf=\\\"position === footerPositions.bottom\\\">\\n <ng-container [ngTemplateOutlet]=\\\"defaultFooterTemplate\\\"></ng-container>\\n </tfoot>\\n</ng-template>\\n\\n<ng-template #defaultFooterTemplate>\\n <tr>\\n <td *ngIf=\\\"header\\\" [colSpan]=\\\"header.numHeaders\\\">\\n <button *ngIf=\\\"actionAllowed('submissionCreate') && createText\\\" class=\\\"btn btn-primary float-start\\\" (click)=\\\"createItem.emit('form')\\\"><em class=\\\"fa fa-plus bi bi-plus\\\"></em> {{ createText }}</button>\\n <span class=\\\"float-end item-counter\\\"><span class=\\\"page-num\\\">{{ body.firstItem }} - {{ body.lastItem }}</span> / {{ body.total }} total</span>\\n <pagination [totalItems]=\\\"body.total\\\" [itemsPerPage]=\\\"body.limit\\\" [(ngModel)]=\\\"body.skip\\\" (pageChanged)=\\\"pageChanged.emit($event)\\\" [maxSize]=\\\"size\\\" class=\\\"justify-content-center pagination-sm\\\"></pagination>\\n </td>\\n </tr>\\n</ng-template>\\n\",\"import {Component, OnInit, ViewEncapsulation} from '@angular/core';\\nimport { GridFooterComponent } from '../GridFooterComponent';\\n\\n@Component({\\n templateUrl: './SubmissionGridFooter.component.html',\\n styleUrls: ['../grid.footer.scss'],\\n encapsulation: ViewEncapsulation.None\\n})\\nexport class SubmissionGridFooterComponent extends GridFooterComponent implements OnInit {\\n\\n constructor() {\\n super();\\n }\\n\\n ngOnInit() {\\n if (!this.size) {\\n this.size = 7;\\n }\\n }\\n}\\n\",\"import { SubmissionGridHeaderComponent } from './SubmissionGridHeader.component';\\nimport { SubmissionGridBodyComponent } from './SubmissionGridBody.component';\\nimport { SubmissionGridFooterComponent } from './SubmissionGridFooter.component';\\nexport default {\\n header: SubmissionGridHeaderComponent,\\n body: SubmissionGridBodyComponent,\\n footer: SubmissionGridFooterComponent\\n};\\n\",\"<ng-template #headerTemplate></ng-template>\\n<ng-template #bodyTemplate></ng-template>\\n<ng-template #footerTemplate></ng-template>\\n<div class=\\\"formio-grid\\\">\\n <formio-alerts [alerts]=\\\"alerts\\\"></formio-alerts>\\n <table class=\\\"table table-bordered table-striped table-hover\\\">\\n <ng-container *ngIf=\\\"initialized && [footerPositions.top, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.top, label: label }\\\">\\n </ng-container>\\n <ng-container *ngIf=\\\"initialized\\\"\\n [ngTemplateOutlet]=\\\"header.template\\\"></ng-container>\\n <formio-loader [isLoading]=\\\"isLoading\\\"></formio-loader>\\n <ng-container *ngIf=\\\"initialized\\\" [ngTemplateOutlet]=\\\"body.template\\\"></ng-container>\\n <ng-container *ngIf=\\\"initialized && [footerPositions.bottom, footerPositions.both].indexOf(footerPosition) !== -1\\\"\\n [ngTemplateOutlet]=\\\"footer.template\\\" [ngTemplateOutletContext]=\\\"{ position: footerPositions.bottom, label: label }\\\">\\n </ng-container>\\n </table>\\n</div>\\n\",\"import { GridFooterPositions } from './types/grid-footer-positions';\\nimport {\\n AfterViewInit,\\n ChangeDetectorRef,\\n Component,\\n ComponentFactoryResolver,\\n EventEmitter,\\n Input,\\n OnChanges,\\n OnInit,\\n Output,\\n ViewChild,\\n ViewContainerRef\\n} from '@angular/core';\\nimport {FormioAlerts} from '@formio/angular';\\nimport {each} from 'lodash';\\nimport {FormioCore as Formio} from '@formio/js';\\nimport {GridHeaderComponent} from './GridHeaderComponent';\\nimport {GridBodyComponent} from './GridBodyComponent';\\nimport {GridFooterComponent} from './GridFooterComponent';\\nimport FormComponents from './form/index';\\nimport SubmissionComponents from './submission/index';\\nimport {FormioPromiseService} from '@formio/angular';\\nimport {GridColumn} from './types/grid-column';\\nimport {GridHeader, SortType} from './types/grid-header';\\n\\n@Component({\\n selector: 'formio-grid',\\n styleUrls: ['./grid.component.scss'],\\n templateUrl: './grid.component.html'\\n})\\nexport class FormioGridComponent implements OnChanges, OnInit, AfterViewInit {\\n @Input() footerPosition = GridFooterPositions.bottom;\\n @Input() src?: string;\\n @Input() items?: Array<any>;\\n @Input() onForm?: Promise<any>;\\n @Input() query?: any;\\n @Input() refresh?: EventEmitter<object>;\\n @Input() columns?: Array<GridColumn>;\\n @Input() gridType?: string;\\n @Input() size?: number;\\n @Input() components?: any;\\n @Input() formio?: FormioPromiseService;\\n @Input() label?: string;\\n @Input() createText: String;\\n @Input() isActionAllowed: any;\\n @Output() select: EventEmitter<object>;\\n @Output() rowSelect: EventEmitter<object>;\\n @Output() rowAction: EventEmitter<object>;\\n @Output() createItem: EventEmitter<any>;\\n @Output() error: EventEmitter<any>;\\n @ViewChild('headerTemplate', {read: ViewContainerRef, static: true}) headerElement: ViewContainerRef;\\n @ViewChild('bodyTemplate', {read: ViewContainerRef, static: true}) bodyElement: ViewContainerRef;\\n @ViewChild('footerTemplate', {read: ViewContainerRef, static: true}) footerElement: ViewContainerRef;\\n\\n public page = 0;\\n public isLoading = false;\\n public initialized = false;\\n public header: GridHeaderComponent;\\n public body: GridBodyComponent;\\n public footer: GridFooterComponent;\\n public footerPositions = GridFooterPositions;\\n\\n constructor(\\n public alerts: FormioAlerts,\\n private resolver: ComponentFactoryResolver,\\n private ref: ChangeDetectorRef\\n ) {\\n this.select = this.rowSelect = new EventEmitter();\\n this.rowAction = new EventEmitter();\\n this.createItem = new EventEmitter();\\n this.error = new EventEmitter();\\n this.isLoading = true;\\n }\\n\\n createComponent(property, component) {\\n const factory = this.resolver.resolveComponentFactory(component);\\n const componentRef = property.createComponent(factory);\\n return componentRef.instance;\\n }\\n\\n loadGrid(src?: string) {\\n // If no source is provided, then skip.\\n if (!src && !this.formio) {\\n return;\\n }\\n // Do not double load.\\n if (this.formio && this.src && (src === this.src)) {\\n return;\\n }\\n\\n if (src) {\\n this.src = src;\\n this.formio = new FormioPromiseService(this.src, { formOnly: true });\\n }\\n\\n // Load the header.\\n this.header.load(this.formio, {}, this.columns)\\n .then(() => this.setPage(0))\\n .catch(error => this.onError(error));\\n }\\n\\n ngOnInit() {\\n // Create our components.\\n const comps = this.components || ((this.gridType === 'form') ? FormComponents : SubmissionComponents);\\n\\n this.header = this.createComponent(this.headerElement, comps.header);\\n this.header.actionAllowed = this.actionAllowed.bind(this);\\n this.header.sort.subscribe(header => this.sortColumn(header));\\n\\n this.body = this.createComponent(this.bodyElement, comps.body);\\n this.body.header = this.header;\\n this.body.actionAllowed = this.actionAllowed.bind(this);\\n this.body.rowSelect.subscribe(row => this.rowSelect.emit(row));\\n this.body.rowAction.subscribe(action => this.rowAction.emit(action));\\n\\n this.footer = this.createComponent(this.footerElement, comps.footer);\\n this.footer.header = this.header;\\n this.footer.body = this.body;\\n this.footer.actionAllowed = this.actionAllowed.bind(this);\\n this.footer.createText = this.createText;\\n this.footer.size = this.size;\\n this.footer.pageChanged.subscribe(page => this.pageChanged(page));\\n this.footer.createItem.subscribe(item => this.createItem.emit(item));\\n }\\n\\n ngOnChanges(changes: any) {\\n if (this.initialized) {\\n if (\\n (changes.src && changes.src.currentValue) ||\\n (changes.formio && changes.formio.currentValue)\\n ) {\\n this.loadGrid(changes.src.currentValue);\\n }\\n\\n if (changes.items && changes.items.currentValue) {\\n this.refreshGrid();\\n }\\n }\\n\\n if (this.footer &&\\n (changes.createText && changes.createText.currentValue)) {\\n this.footer.createText = changes.createText.currentValue;\\n }\\n }\\n\\n ngAfterViewInit() {\\n this.alerts.setAlerts([]);\\n this.query = this.query || {};\\n if (this.refresh) {\\n this.refresh.subscribe((query: object) => this.refreshGrid(query));\\n }\\n this.loadGrid(this.src);\\n this.initialized = true;\\n this.ref.detectChanges();\\n }\\n\\n actionAllowed(action) {\\n if (this.isActionAllowed) {\\n return this.isActionAllowed(action);\\n } else {\\n return true;\\n }\\n }\\n\\n onError(error: any) {\\n this.isLoading = false;\\n this.error.emit(error);\\n if (typeof error === 'string' || error.message) {\\n this.alerts.setAlert({\\n type: 'danger',\\n message: error.message || error\\n });\\n }\\n }\\n\\n refreshGrid(query?: any) {\\n this.alerts.setAlerts([]);\\n this.query = query || this.query;\\n if (!this.query.hasOwnProperty('limit')) {\\n this.query.limit = 10;\\n }\\n if (!this.query.hasOwnProperty('skip')) {\\n this.query.skip = 0;\\n }\\n this.isLoading = true;\\n this.ref.detectChanges();\\n Formio.cache = {};\\n let loader = null;\\n if (this.items) {\\n loader = Promise.resolve(this.body.setRows(this.query, this.items));\\n } else {\\n loader = this.body.load(this.formio, this.query);\\n }\\n\\n return loader.then(info => {\\n this.isLoading = false;\\n this.initialized = true;\\n this.ref.detectChanges();\\n }).catch(error => this.onError(error));\\n }\\n\\n setPage(num = -1) {\\n this.page = num !== -1 ? num : this.page;\\n if (!this.query.hasOwnProperty('limit')) {\\n this.query.limit = 10;\\n }\\n if (!this.query.hasOwnProperty('skip')) {\\n this.query.skip = 0;\\n }\\n this.query.skip = this.page * this.query.limit;\\n this.refreshGrid();\\n }\\n\\n sortColumn(header: GridHeader) {\\n // Reset all other column sorts.\\n each(this.header.headers, (col: any) => {\\n if (col.key !== header.key) {\\n col.sort = '';\\n }\\n });\\n switch (header.sort) {\\n case 'asc':\\n header.sort = SortType.DESC;\\n this.query.sort = '-' + header.key;\\n break;\\n case 'desc':\\n header.sort = undefined;\\n delete this.query.sort;\\n break;\\n case undefined:\\n header.sort = SortType.ASC;\\n this.query.sort = header.key;\\n break;\\n }\\n this.refreshGrid();\\n }\\n\\n pageChanged(page: any) {\\n this.setPage(page.page - 1);\\n }\\n}\\n\",\"import { NgModule } from '@angular/core';\\nimport { CommonModule } from '@angular/common';\\nimport { FormsModule } from '@angular/forms';\\nimport { RouterModule } from '@angular/router';\\nimport { FormioModule } from '@formio/angular';\\nimport { FormioAlerts } from '@formio/angular';\\nimport { FormioGridComponent } from './grid.component';\\nimport { PaginationModule } from 'ngx-bootstrap/pagination';\\nimport { FormGridHeaderComponent } from './form/FormGridHeader.component';\\nimport { FormGridBodyComponent } from './form/FormGridBody.component';\\nimport { FormGridFooterComponent } from './form/FormGridFooter.component';\\nimport { SubmissionGridHeaderComponent } from './submission/SubmissionGridHeader.component';\\nimport { SubmissionGridBodyComponent } from './submission/SubmissionGridBody.component';\\nimport { SubmissionGridFooterComponent } from './submission/SubmissionGridFooter.component';\\nimport { GridHeaderComponent } from './GridHeaderComponent';\\nimport { GridBodyComponent } from './GridBodyComponent';\\nimport { GridFooterComponent } from './GridFooterComponent';\\nimport { GridService } from './grid.service';\\nimport { TimeSince } from './form/time-since.pipe'\\n@NgModule({\\n imports: [\\n CommonModule,\\n FormsModule,\\n FormioModule,\\n RouterModule,\\n PaginationModule.forRoot()\\n ],\\n declarations: [\\n FormioGridComponent,\\n FormGridHeaderComponent,\\n FormGridBodyComponent,\\n FormGridFooterComponent,\\n SubmissionGridHeaderComponent,\\n SubmissionGridBodyComponent,\\n SubmissionGridFooterComponent,\\n GridHeaderComponent,\\n GridBodyComponent,\\n GridFooterComponent,\\n TimeSince\\n ],\\n exports: [\\n FormioGridComponent\\n ],\\n providers: [\\n FormioAlerts,\\n GridService\\n ]\\n})\\nexport class FormioGrid {}\\n\",\"/**\\n * Generated bundle index. Do not edit.\\n */\\n\\nexport * from './index';\\n\"],\"names\":[\"_c0\",\"i1.GridService\",\"Formio\",\"i1\"],\"mappings\":\";;;;;;;;;;;;;;;;AAAA,IAAY,mBAIX,CAAA;AAJD,CAAA,UAAY,mBAAmB,EAAA;AAC7B,IAAA,mBAAA,CAAA,mBAAA,CAAA,QAAA,CAAA,GAAA,CAAA,CAAA,GAAA,QAAM,CAAA;AACN,IAAA,mBAAA,CAAA,mBAAA,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAG,CAAA;AACH,IAAA,mBAAA,CAAA,mBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACN,CAAC,EAJW,mBAAmB,KAAnB,mBAAmB,GAI9B,EAAA,CAAA,CAAA;;MCG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